-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.xml
More file actions
396 lines (396 loc) · 22 KB
/
config.xml
File metadata and controls
396 lines (396 loc) · 22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
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
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
<?xml version="1.0" encoding="utf-8"?>
<control xmlns="http://www.askia.com/2.2.0/ADCSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.askia.com/2.2.0/ADCSchema https://raw.githubusercontent.com/AskiaADX/ADXSchema/2.2.0/ADCSchema.xsd"
version="2.2.0"
askiaCompat="5.5.2">
<info>
<name>Open</name>
<guid>8b1644fe-83cc-4a97-b946-be47f512aeba</guid>
<version>4.0.7</version>
<date>2025-09-23</date>
<description><![CDATA[]]></description>
<company>Askia</company>
<author><![CDATA[Jordan Grindle]]></author>
<site>www.askia.com</site>
<helpURL></helpURL>
<categories>
<category>Prompt</category>
<category>Features</category>
<category>Styling</category>
</categories>
<constraints>
<constraint on="questions" single="false" multiple="false" numeric="true" date="false" open="true" chapter="false" requireParentLoop="false" requireLoopDepth="0" />
<constraint on="controls" responseblock="true" checkbox="true" label="true" listbox="false" radiobutton="true" textbox="true" />
<constraint on="responses" max="*" min="*" />
</constraints>
</info>
<outputs defaultOutput="default">
<output id="default" manageLoopDepth="1">
<condition><![CDATA[Browser.support("Javascript")]]></condition>
<content fileName="open.js" type="javascript" mode="static" position="head" />
<content fileName="default.html" type="html" mode="dynamic" position="placeholder" />
<content fileName="open_loop.html" type="html" mode="dynamic" position="none" />
<content fileName="open.html" type="html" mode="dynamic" position="none" />
<content fileName="open.css" type="css" mode="static" position="head" />
<content fileName="open.css" type="css" mode="dynamic" position="head" />
<content fileName="default.js" type="javascript" mode="dynamic" position="foot" />
<content fileName="open_loop.js" type="javascript" mode="dynamic" position="none" />
<content fileName="prompt.js" type="javascript" mode="static" position="foot" />
<content fileName="prompt.css" type="css" mode="static" position="head" />
</output>
<output id="No_JS" manageLoopDepth="1">
<condition><![CDATA[Browser.support("Javascript")=0]]></condition>
<content fileName="open-no-js.html" type="html" mode="dynamic" position="placeholder" />
<content fileName="open.css" type="css" mode="dynamic" position="head" />
<content fileName="open.css" type="css" mode="static" position="head" />
</output>
</outputs>
<properties>
<category id="features" name="Features">
<property xsi:type="standardProperty" id="minChar" name="Minimum number of characters" type="number" mode="dynamic" require="false" visible="true" min="0">
<description><![CDATA[]]></description>
<value><![CDATA[0]]></value>
</property>
<property xsi:type="standardProperty" id="maxChar" name="Maximum number of characters" type="number" mode="dynamic" require="false" visible="true" min="1" decimal="0">
<description><![CDATA[]]></description>
<value><![CDATA[50]]></value>
</property>
<property xsi:type="standardProperty" id="inputType" name="Type of input" type="string" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[text]]></value>
<options>
<option value="textarea" text="Text area (multi line)" />
<option value="text" text="Text input (single line)" />
<option value="number" text="Number box" />
<option value="email" text="Email address" />
<option value="password" text="Password" />
</options>
</property>
<property xsi:type="standardProperty" id="useBrowserValidation" name="Use Browser Validation" type="number" require="false" visible="true" min="0" max="1">
<description><![CDATA[]]></description>
<value><![CDATA[1]]></value>
<options>
<option value="1" text="Yes" />
<option value="0" text="No" />
</options>
</property>
</category>
<category id="looped" name="Looped Questions">
<property xsi:type="standardProperty" id="isInLoop" name="Is in loop" type="string" mode="dynamic" require="true" visible="true">
<description><![CDATA[Turn this on to use the control in a loop]]></description>
<value><![CDATA[0]]></value>
<options>
<option value="1" text="Yes" />
<option value="0" text="No" />
</options>
</property>
</category>
<category id="ExclusiveResponses" name="Exclusive Responses">
<property xsi:type="standardProperty" id="useExclusive" name="Use Exclusive Question" type="string" mode="dynamic" require="true" visible="true">
<description><![CDATA[Select 'Yes' if the main question going to use an Exclusive question]]></description>
<value><![CDATA[no]]></value>
<options>
<option value="yes" text="Yes" />
<option value="no" text="No" />
</options>
</property>
<property xsi:type="standardProperty" id="exclusiveResponsesQuestion" name="Question with exclusive codes" type="question" require="false" visible="true">
<description><![CDATA[Select the question for set exclusive responses]]></description>
<value></value>
</property>
</category>
<category id="Counter" name="Character counter">
<property xsi:type="standardProperty" id="counter" name="Character counting" type="string" mode="dynamic" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[desc]]></value>
<options>
<option value="desc" text="descending" />
<option value="asc" text="ascending with target" />
<option value="none" text="none" />
<option value="asc-simple" text="ascending" />
</options>
</property>
<property xsi:type="standardProperty" id="counterPosition" name="Position of the counter" type="string" require="false" visible="true">
<description><![CDATA[Relatively to the text area]]></description>
<value><![CDATA[NE]]></value>
<options>
<option value="NW" text="North-West" />
<option value="NE" text="North-East" />
<option value="SW" text="South-West" />
<option value="SE" text="South-East" />
</options>
</property>
<property xsi:type="standardProperty" id="counterFontSize" name="Font size of the counter relatively to the input" type="number" require="false" visible="true" min="0.1" max="3">
<description><![CDATA[]]></description>
<value><![CDATA[0.75]]></value>
</property>
<property xsi:type="standardProperty" id="prefixText" name="Prefix text" type="string" mode="dynamic" require="true" visible="true">
<description><![CDATA[Prefix text when choosing text counter]]></description>
<value></value>
</property>
</category>
<category id="PlaceHolder" name="Placeholder style">
<property xsi:type="standardProperty" id="placeholder" name="Placeholder text" type="string" mode="dynamic" require="false" visible="true">
<description><![CDATA[Using HTML 5, in modern browser.
Helper text shows in the input when it's empty.]]></description>
<value></value>
</property>
<property xsi:type="standardProperty" id="floatingLabel" name="Floating Label" type="string" mode="dynamic" require="true" visible="true">
<description><![CDATA[Enable floating label styling]]></description>
<value><![CDATA[0]]></value>
<options>
<option value="1" text="Yes" />
<option value="0" text="No" />
</options>
</property>
<property xsi:type="standardProperty" id="floatingLabelTextColor" name="Color of the floating label" type="color" require="false" visible="true" colorFormat="rgb">
<description><![CDATA[]]></description>
<value><![CDATA[{%= Theme.SecondaryColor.ToRGB() %}]]></value>
</property>
</category>
<category id="Nudge" name="Nudge features">
<property xsi:type="standardProperty" id="suggestedChar" name="Suggested number of characters" type="number" mode="dynamic" require="true" visible="true" min="0" decimal="0">
<description><![CDATA[Suggested number of characters]]></description>
<value><![CDATA[0]]></value>
</property>
<property xsi:type="standardProperty" id="suggestedCharText" name="Text associated to suggested number of characters" type="string" require="true" visible="true">
<description><![CDATA[Text associated to suggested number of characters]]></description>
<value><![CDATA[Suggested :]]></value>
</property>
<property xsi:type="standardProperty" id="showCongrats" name="Show congratulations" type="boolean" require="true" visible="true">
<description><![CDATA[show congratulation message when suggestion is met]]></description>
<value><![CDATA[false]]></value>
</property>
<property xsi:type="standardProperty" id="congratsMessage" name="Congratulation message" type="string" require="true" visible="true">
<description><![CDATA[Congratulation message when suggestion is met]]></description>
<value><![CDATA[Thank you for your answer]]></value>
</property>
<property xsi:type="standardProperty" id="congratsMessageBGColor" name="Congratulation message background color" type="color" require="true" visible="true" colorFormat="rgba">
<description><![CDATA[Congratulation message background color]]></description>
<value><![CDATA[52,179,0,1]]></value>
</property>
</category>
<category id="prompt" name="Prompt">
<property xsi:type="standardProperty" id="useAI" name="Prompt Model" type="number" require="false" visible="true" min="0" max="2">
<description><![CDATA[]]></description>
<value><![CDATA[2]]></value>
<options>
<option value="2" text="None" />
<option value="1" text="AI Model" />
<option value="0" text="Survey Question" />
</options>
</property>
<property xsi:type="standardProperty" id="promptQuestion" name="Prompt question" type="question" require="false" visible="true">
<description><![CDATA[Select the question for the prompt messages]]></description>
<value></value>
</property>
<property xsi:type="standardProperty" id="aiQuestion" name="AI response question" type="question" require="false" visible="true">
<description><![CDATA[Select the question for the AI response]]></description>
<value></value>
</property>
<property xsi:type="standardProperty" id="maxPrompts" name="Number of prompts to return (0 = unlimited)" type="number" mode="dynamic" require="false" visible="true" min="0">
<description><![CDATA[]]></description>
<value><![CDATA[5]]></value>
</property>
<property xsi:type="standardProperty" id="timePrompts" name="Seconds between prompts (0 = disabled)" type="number" mode="dynamic" require="false" visible="true" min="0">
<description><![CDATA[]]></description>
<value><![CDATA[5]]></value>
</property>
<property xsi:type="standardProperty" id="minChars" name="Minimum number of characters" type="number" mode="dynamic" require="false" visible="true" min="0">
<description><![CDATA[]]></description>
<value><![CDATA[3]]></value>
</property>
<property xsi:type="standardProperty" id="useSpace" name="Trigger prompt on Space" type="number" require="false" visible="true" min="0" max="1">
<description><![CDATA[]]></description>
<value><![CDATA[1]]></value>
<options>
<option value="1" text="Yes" />
<option value="0" text="No" />
</options>
</property>
<property xsi:type="standardProperty" id="useEnd" name="Trigger prompt on Punctuation (.,!?;)" type="number" require="false" visible="true" min="0" max="1">
<description><![CDATA[]]></description>
<value><![CDATA[1]]></value>
<options>
<option value="1" text="Yes" />
<option value="0" text="No" />
</options>
</property>
<property xsi:type="standardProperty" id="timeDelay" name="Prompt Delay (in seconds)" type="number" mode="dynamic" require="false" visible="true" min="0">
<description><![CDATA[]]></description>
<value><![CDATA[5]]></value>
</property>
<property xsi:type="standardProperty" id="hideNext" name="Hide Next button until prompt is triggered" type="number" require="false" visible="true" min="0" max="1">
<description><![CDATA[]]></description>
<value><![CDATA[1]]></value>
<options>
<option value="1" text="Yes" />
<option value="0" text="No" />
</options>
</property>
</category>
<category id="styling" name="Styling">
<property xsi:type="standardProperty" id="fontSizeFactor" name="font size multiplicator" type="number" mode="dynamic" require="false" visible="false" min="5">
<description><![CDATA[]]></description>
<value><![CDATA[1]]></value>
</property>
<property xsi:type="standardProperty" id="textColor" name="Text color" type="color" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[0,0,0]]></value>
</property>
<property xsi:type="standardProperty" id="controlAlign" name="Control horizontal alignment" type="string" mode="dynamic" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[center]]></value>
<options>
<option value="left" text="left" />
<option value="center" text="center" />
<option value="right" text="right" />
</options>
</property>
<property xsi:type="standardProperty" id="controlWidth" name="Maximum width" type="string" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[500px]]></value>
<options>
<option value="100%" text="100%" />
<option value="600px" text="600px" />
<option value="500px" text="500px" />
<option value="400px" text="400px" />
<option value="300px" text="300px" />
<option value="200px" text="200px" />
<option value="100px" text="100px" />
</options>
</property>
<property xsi:type="standardProperty" id="areaTextAlign" name="Text alignment in the area" type="string" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[left]]></value>
<options>
<option value="left" text="left" />
<option value="center" text="center" />
<option value="right" text="right" />
</options>
</property>
<property xsi:type="standardProperty" id="paddingText" name="Text padding" type="string" require="false" visible="true">
<description><![CDATA[The padding of the text]]></description>
<value><![CDATA[10px 0 10px 10px]]></value>
</property>
<property xsi:type="standardProperty" id="opacity" name="Opacity" type="number" require="false" visible="true" min="0" max="1" decimal="2">
<description><![CDATA[]]></description>
<value><![CDATA[1]]></value>
</property>
<property xsi:type="standardProperty" id="areaRows" name="Number of rows" type="number" require="false" visible="true" min="1">
<description><![CDATA[]]></description>
<value><![CDATA[2]]></value>
</property>
<property xsi:type="standardProperty" id="areaColumns" name="Number of columns" type="number" require="false" visible="true" min="1">
<description><![CDATA[]]></description>
<value><![CDATA[25]]></value>
</property>
<property xsi:type="standardProperty" id="allowResize" name="allow respondent to resize" type="string" mode="dynamic" require="true" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[0]]></value>
<options>
<option value="1" text="Yes" />
<option value="0" text="No" />
</options>
</property>
<property xsi:type="standardProperty" id="lineHeight" name="Line Height" type="number" require="false" visible="false">
<description><![CDATA[]]></description>
<value><![CDATA[{%= Theme.LineHeight%}]]></value>
</property>
</category>
<category id="Styling_default" name="Styling default state">
<property xsi:type="standardProperty" id="borderColor" name="Border color" type="color" mode="dynamic" require="false" visible="true" colorFormat="rgb">
<description><![CDATA[]]></description>
<value><![CDATA[{%= Theme.NeutralDarkColor.ToRGB() %}]]></value>
</property>
<property xsi:type="standardProperty" id="bgColor" name="Background color" type="color" mode="dynamic" require="true" visible="false" colorFormat="rgb">
<description><![CDATA[]]></description>
<value><![CDATA[{%= Theme.NeutralLightColor.ToRGB() %}]]></value>
</property>
<property xsi:type="standardProperty" id="borderSize" name="Border thickness" type="string" require="false" visible="false" min="1">
<description><![CDATA[]]></description>
<value><![CDATA[{%= Theme.BorderWidth%}]]></value>
</property>
<property xsi:type="standardProperty" id="borderStyle" name="Border style" type="string" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[solid]]></value>
<options>
<option value="solid" text="solid" />
<option value="none" text="none" />
<option value="dashed" text="dashed" />
</options>
</property>
<property xsi:type="standardProperty" id="borderRadius" name="Border radius (in px)" type="string" require="false" visible="false">
<description><![CDATA[]]></description>
<value><![CDATA[{%= Theme.BorderRadius %}]]></value>
</property>
<property xsi:type="standardProperty" id="borderShadow" name="Border shadow (in px)" type="number" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[0]]></value>
</property>
</category>
<category id="Styling_Hover" name="Styling when mouse hovers">
<property xsi:type="standardProperty" id="hoverBorderColor" name="Border color on hover" type="color" mode="dynamic" require="false" visible="true" colorFormat="rgb">
<description><![CDATA[]]></description>
<value><![CDATA[{%= Theme.SecondaryColor.ToRGB() %}]]></value>
</property>
<property xsi:type="standardProperty" id="hoverBGColor" name="Background color on hover" type="color" require="false" visible="true" colorFormat="rgb">
<description><![CDATA[]]></description>
<value><![CDATA[{%= Theme.WhiteColor.ToRGB() %}]]></value>
</property>
<property xsi:type="standardProperty" id="hoverBorderSize" name="Border thickness on hover" type="string" require="false" visible="false">
<description><![CDATA[]]></description>
<value><![CDATA[{%= Theme.BorderWidth%}]]></value>
</property>
<property xsi:type="standardProperty" id="hoverBorderStyle" name="Border style on hover" type="string" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[solid]]></value>
<options>
<option value="solid" text="solid" />
<option value="none" text="none" />
<option value="dashed" text="dashed" />
</options>
</property>
<property xsi:type="standardProperty" id="hoverBorderRadius" name="Border radius on hover (in px)" type="number" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[3]]></value>
</property>
<property xsi:type="standardProperty" id="hoverBorderShadow" name="Border shadow on hover (in px)" type="number" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[5]]></value>
</property>
</category>
<category id="Styling_active" name="Styling when clicked">
<property xsi:type="standardProperty" id="activeBorderColor" name="Border color on active" type="color" mode="dynamic" require="false" visible="true" colorFormat="rgb">
<description><![CDATA[]]></description>
<value><![CDATA[{%= Theme.SecondaryColor.ToRGB() %}]]></value>
</property>
<property xsi:type="standardProperty" id="activeBGColor" name="Background color on active" type="color" require="false" visible="true" colorFormat="rgb">
<description><![CDATA[]]></description>
<value><![CDATA[{%= Theme.WhiteColor.ToRGB() %}]]></value>
</property>
<property xsi:type="standardProperty" id="activeBorderSize" name="Border thickness on active (in px)" type="string" require="false" visible="false">
<description><![CDATA[]]></description>
<value><![CDATA[{%= Theme.BorderWidth%}]]></value>
</property>
<property xsi:type="standardProperty" id="activeBorderStyle" name="Border style on active" type="string" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[solid]]></value>
<options>
<option value="solid" text="solid" />
<option value="none" text="none" />
<option value="dashed" text="dashed" />
</options>
</property>
<property xsi:type="standardProperty" id="activeBorderRadius" name="Border radius on active (in px)" type="number" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[3]]></value>
</property>
<property xsi:type="standardProperty" id="activeBorderShadow" name="Border shadow on active (in px)" type="number" require="false" visible="true">
<description><![CDATA[]]></description>
<value><![CDATA[5]]></value>
</property>
</category>
</properties>
</control>