domma-js 0.58.1 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/types/catalogue.json +4276 -0
- package/assets/types/generated/src/components/command-palette.d.ts +7 -0
- package/assets/types/generated/src/config.d.ts +20 -6
- package/package.json +3 -2
- package/public/dist/bundles/domma-complete.css +14 -14
- package/public/dist/bundles/domma-data-focused.css +14 -14
- package/public/dist/bundles/domma-essentials.css +14 -14
- package/public/dist/bundles/domma-full.css +14 -14
- package/public/dist/bundles/domma-minimal.css +8 -8
- package/public/dist/domma-flags.esm.js +3 -3
- package/public/dist/domma-flags.min.js +3 -3
- package/public/dist/domma-syntax.min.js +3 -3
- package/public/dist/domma.css +3 -3
- package/public/dist/domma.esm.js +5 -5
- package/public/dist/domma.esm.js.map +1 -1
- package/public/dist/domma.min.js +5 -5
- package/public/dist/domma.min.js.map +1 -1
- package/public/dist/elements.css +3 -3
- package/public/dist/grid.css +3 -3
- package/public/dist/syntax.css +3 -3
- package/public/dist/themes/domma-themes.css +3 -3
|
@@ -0,0 +1,4276 @@
|
|
|
1
|
+
{
|
|
2
|
+
"components": {
|
|
3
|
+
"accordion": {
|
|
4
|
+
"factory": "E.accordion",
|
|
5
|
+
"options": "AccordionOptions"
|
|
6
|
+
},
|
|
7
|
+
"alarm": {
|
|
8
|
+
"factory": "E.alarm",
|
|
9
|
+
"options": "AlarmOptions"
|
|
10
|
+
},
|
|
11
|
+
"autocomplete": {
|
|
12
|
+
"factory": "E.autocomplete",
|
|
13
|
+
"options": "AutocompleteOptions"
|
|
14
|
+
},
|
|
15
|
+
"avatar": {
|
|
16
|
+
"factory": "E.avatar",
|
|
17
|
+
"options": "AvatarOptions"
|
|
18
|
+
},
|
|
19
|
+
"avatarGroup": {
|
|
20
|
+
"factory": "E.avatarGroup",
|
|
21
|
+
"options": "AvatarGroupOptions"
|
|
22
|
+
},
|
|
23
|
+
"backToTop": {
|
|
24
|
+
"factory": "E.backToTop",
|
|
25
|
+
"options": "BackToTopOptions"
|
|
26
|
+
},
|
|
27
|
+
"badge": {
|
|
28
|
+
"factory": "E.badge",
|
|
29
|
+
"options": "BadgeOptions"
|
|
30
|
+
},
|
|
31
|
+
"breadcrumbs": {
|
|
32
|
+
"factory": "E.breadcrumbs",
|
|
33
|
+
"options": "BreadcrumbsOptions"
|
|
34
|
+
},
|
|
35
|
+
"breathe": {
|
|
36
|
+
"factory": "Domma.effects.breathe",
|
|
37
|
+
"options": "BreatheOptions"
|
|
38
|
+
},
|
|
39
|
+
"buttonGroup": {
|
|
40
|
+
"factory": "E.buttonGroup",
|
|
41
|
+
"options": "ButtonGroupOptions"
|
|
42
|
+
},
|
|
43
|
+
"card": {
|
|
44
|
+
"factory": "E.card",
|
|
45
|
+
"options": "CardOptions"
|
|
46
|
+
},
|
|
47
|
+
"carousel": {
|
|
48
|
+
"factory": "E.carousel",
|
|
49
|
+
"options": "CarouselOptions"
|
|
50
|
+
},
|
|
51
|
+
"contextMenu": {
|
|
52
|
+
"factory": "E.contextMenu",
|
|
53
|
+
"options": "ContextMenuOptions"
|
|
54
|
+
},
|
|
55
|
+
"cookieConsent": {
|
|
56
|
+
"factory": "E.cookieConsent",
|
|
57
|
+
"options": "CookieConsentOptions"
|
|
58
|
+
},
|
|
59
|
+
"dropdown": {
|
|
60
|
+
"factory": "E.dropdown",
|
|
61
|
+
"options": "DropdownOptions"
|
|
62
|
+
},
|
|
63
|
+
"footer": {
|
|
64
|
+
"factory": "E.footer",
|
|
65
|
+
"options": "FooterOptions"
|
|
66
|
+
},
|
|
67
|
+
"form": {
|
|
68
|
+
"factory": "F.create",
|
|
69
|
+
"options": "FormSetupOptions"
|
|
70
|
+
},
|
|
71
|
+
"inputGroup": {
|
|
72
|
+
"factory": "E.inputGroup",
|
|
73
|
+
"options": "InputGroupOptions"
|
|
74
|
+
},
|
|
75
|
+
"listGroup": {
|
|
76
|
+
"factory": "E.listGroup",
|
|
77
|
+
"options": "ListGroupOptions"
|
|
78
|
+
},
|
|
79
|
+
"loader": {
|
|
80
|
+
"factory": "E.loader",
|
|
81
|
+
"options": "LoaderOptions"
|
|
82
|
+
},
|
|
83
|
+
"modal": {
|
|
84
|
+
"factory": "E.modal",
|
|
85
|
+
"options": "ModalOptions"
|
|
86
|
+
},
|
|
87
|
+
"navbar": {
|
|
88
|
+
"factory": "E.navbar",
|
|
89
|
+
"options": "NavbarOptions"
|
|
90
|
+
},
|
|
91
|
+
"notification": {
|
|
92
|
+
"factory": "E.notification",
|
|
93
|
+
"options": "DesktopNotificationOptions"
|
|
94
|
+
},
|
|
95
|
+
"numberBadge": {
|
|
96
|
+
"factory": "E.numberBadge",
|
|
97
|
+
"options": "NumberBadgeOptions"
|
|
98
|
+
},
|
|
99
|
+
"pillbox": {
|
|
100
|
+
"factory": "E.pillbox",
|
|
101
|
+
"options": "PillboxOptions"
|
|
102
|
+
},
|
|
103
|
+
"popover": {
|
|
104
|
+
"factory": "E.popover",
|
|
105
|
+
"options": "PopoverOptions"
|
|
106
|
+
},
|
|
107
|
+
"pulse": {
|
|
108
|
+
"factory": "Domma.effects.pulse",
|
|
109
|
+
"options": "PulseOptions"
|
|
110
|
+
},
|
|
111
|
+
"scribe": {
|
|
112
|
+
"factory": "Domma.effects.scribe",
|
|
113
|
+
"options": "ScribeOptions"
|
|
114
|
+
},
|
|
115
|
+
"sidebar": {
|
|
116
|
+
"factory": "E.sidebar",
|
|
117
|
+
"options": "SidebarOptions"
|
|
118
|
+
},
|
|
119
|
+
"signature": {
|
|
120
|
+
"factory": "E.signature",
|
|
121
|
+
"options": "SignatureOptions"
|
|
122
|
+
},
|
|
123
|
+
"skeleton": {
|
|
124
|
+
"factory": "E.skeleton",
|
|
125
|
+
"options": "SkeletonOptions"
|
|
126
|
+
},
|
|
127
|
+
"sortable": {
|
|
128
|
+
"factory": "E.sortable",
|
|
129
|
+
"options": "SortableOptions"
|
|
130
|
+
},
|
|
131
|
+
"tabs": {
|
|
132
|
+
"factory": "E.tabs",
|
|
133
|
+
"options": "TabsOptions"
|
|
134
|
+
},
|
|
135
|
+
"timer": {
|
|
136
|
+
"factory": "E.timer",
|
|
137
|
+
"options": "TimerOptions"
|
|
138
|
+
},
|
|
139
|
+
"tooltip": {
|
|
140
|
+
"factory": "E.tooltip",
|
|
141
|
+
"options": "TooltipOptions"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"setup": [
|
|
145
|
+
"SelectorConfig",
|
|
146
|
+
"InitialProperties",
|
|
147
|
+
"EventAction"
|
|
148
|
+
],
|
|
149
|
+
"types": {
|
|
150
|
+
"AccordionOptions": {
|
|
151
|
+
"allowMultiple": {
|
|
152
|
+
"kind": "boolean",
|
|
153
|
+
"doc": "Allow several panels open at once"
|
|
154
|
+
},
|
|
155
|
+
"multiExpand": {
|
|
156
|
+
"kind": "boolean",
|
|
157
|
+
"nullable": true,
|
|
158
|
+
"doc": "Alias of allowMultiple (wins when set)"
|
|
159
|
+
},
|
|
160
|
+
"activeIndex": {
|
|
161
|
+
"kind": "number",
|
|
162
|
+
"kinds": [
|
|
163
|
+
"number",
|
|
164
|
+
"array"
|
|
165
|
+
],
|
|
166
|
+
"of": {
|
|
167
|
+
"kind": "number"
|
|
168
|
+
},
|
|
169
|
+
"nullable": true,
|
|
170
|
+
"doc": "Initially open panel index(es); null keeps the markup's active class"
|
|
171
|
+
},
|
|
172
|
+
"animation": {
|
|
173
|
+
"kind": "boolean",
|
|
174
|
+
"doc": "Animate the height"
|
|
175
|
+
},
|
|
176
|
+
"animationDuration": {
|
|
177
|
+
"kind": "number",
|
|
178
|
+
"doc": "Animation duration in ms"
|
|
179
|
+
},
|
|
180
|
+
"headerSelector": {
|
|
181
|
+
"kind": "string",
|
|
182
|
+
"doc": "Selector for headers"
|
|
183
|
+
},
|
|
184
|
+
"contentSelector": {
|
|
185
|
+
"kind": "string",
|
|
186
|
+
"doc": "Selector for panels (outermost matches only)"
|
|
187
|
+
},
|
|
188
|
+
"activeClass": {
|
|
189
|
+
"kind": "string",
|
|
190
|
+
"doc": "Class put on the open item (the header's parent)"
|
|
191
|
+
},
|
|
192
|
+
"onChange": {
|
|
193
|
+
"kind": "function",
|
|
194
|
+
"nullable": true,
|
|
195
|
+
"doc": "Called when toggle() opens or closes a panel"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"AlarmItem": {
|
|
199
|
+
"id": {
|
|
200
|
+
"kind": "string",
|
|
201
|
+
"doc": "Assigned by add() ('alarm-<n>')"
|
|
202
|
+
},
|
|
203
|
+
"time": {
|
|
204
|
+
"kind": "string",
|
|
205
|
+
"doc": "Time of day, 'HH:MM'"
|
|
206
|
+
},
|
|
207
|
+
"label": {
|
|
208
|
+
"kind": "string",
|
|
209
|
+
"doc": "Shown in the notification"
|
|
210
|
+
},
|
|
211
|
+
"enabled": {
|
|
212
|
+
"kind": "boolean"
|
|
213
|
+
},
|
|
214
|
+
"repeat": {
|
|
215
|
+
"kind": "enum",
|
|
216
|
+
"kinds": [
|
|
217
|
+
"enum",
|
|
218
|
+
"array"
|
|
219
|
+
],
|
|
220
|
+
"values": [
|
|
221
|
+
"daily",
|
|
222
|
+
"weekdays",
|
|
223
|
+
"weekends"
|
|
224
|
+
],
|
|
225
|
+
"of": {
|
|
226
|
+
"kind": "string"
|
|
227
|
+
},
|
|
228
|
+
"nullable": true,
|
|
229
|
+
"doc": "null = once; an array of day names ('monday', ...)"
|
|
230
|
+
},
|
|
231
|
+
"notification": {
|
|
232
|
+
"kind": "boolean",
|
|
233
|
+
"doc": "Desktop notification when it goes off"
|
|
234
|
+
},
|
|
235
|
+
"notificationOptions": {
|
|
236
|
+
"kind": "object",
|
|
237
|
+
"type": "DesktopNotificationOptions",
|
|
238
|
+
"doc": "Options for that notification"
|
|
239
|
+
},
|
|
240
|
+
"sound": {
|
|
241
|
+
"kind": "boolean",
|
|
242
|
+
"doc": "Play soundUrl"
|
|
243
|
+
},
|
|
244
|
+
"soundUrl": {
|
|
245
|
+
"kind": "string",
|
|
246
|
+
"nullable": true
|
|
247
|
+
},
|
|
248
|
+
"lastTriggered": {
|
|
249
|
+
"kind": "number",
|
|
250
|
+
"nullable": true,
|
|
251
|
+
"doc": "Timestamp (ms) it last went off"
|
|
252
|
+
},
|
|
253
|
+
"snoozedUntil": {
|
|
254
|
+
"kind": "number",
|
|
255
|
+
"nullable": true,
|
|
256
|
+
"doc": "Timestamp (ms) a snooze ends"
|
|
257
|
+
},
|
|
258
|
+
"nextTrigger": {
|
|
259
|
+
"kind": "object",
|
|
260
|
+
"doc": "Set on the copy getNextAlarm() returns"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"AlarmOptions": {
|
|
264
|
+
"alarms": {
|
|
265
|
+
"kind": "array",
|
|
266
|
+
"of": {
|
|
267
|
+
"kind": "object",
|
|
268
|
+
"type": "AlarmItem"
|
|
269
|
+
},
|
|
270
|
+
"doc": "Initial alarms, used when storage holds none"
|
|
271
|
+
},
|
|
272
|
+
"timezone": {
|
|
273
|
+
"kind": "string",
|
|
274
|
+
"doc": "Not read: times are local"
|
|
275
|
+
},
|
|
276
|
+
"checkInterval": {
|
|
277
|
+
"kind": "number",
|
|
278
|
+
"doc": "How often alarms are checked, in ms"
|
|
279
|
+
},
|
|
280
|
+
"storageKey": {
|
|
281
|
+
"kind": "string",
|
|
282
|
+
"doc": "localStorage key"
|
|
283
|
+
},
|
|
284
|
+
"onTrigger": {
|
|
285
|
+
"kind": "function",
|
|
286
|
+
"nullable": true,
|
|
287
|
+
"doc": "An alarm went off"
|
|
288
|
+
},
|
|
289
|
+
"onSnooze": {
|
|
290
|
+
"kind": "function",
|
|
291
|
+
"nullable": true,
|
|
292
|
+
"doc": "An alarm was snoozed"
|
|
293
|
+
},
|
|
294
|
+
"onDismiss": {
|
|
295
|
+
"kind": "function",
|
|
296
|
+
"nullable": true,
|
|
297
|
+
"doc": "Not called by the current code"
|
|
298
|
+
},
|
|
299
|
+
"onAlarmAdd": {
|
|
300
|
+
"kind": "function",
|
|
301
|
+
"nullable": true,
|
|
302
|
+
"doc": "add() added one"
|
|
303
|
+
},
|
|
304
|
+
"onAlarmRemove": {
|
|
305
|
+
"kind": "function",
|
|
306
|
+
"nullable": true,
|
|
307
|
+
"doc": "removeAlarm() removed one"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
"AutocompleteOptions": {
|
|
311
|
+
"data": {
|
|
312
|
+
"kind": "array",
|
|
313
|
+
"of": {
|
|
314
|
+
"kind": "string",
|
|
315
|
+
"kinds": [
|
|
316
|
+
"string",
|
|
317
|
+
"object"
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
"doc": "Suggestions to filter"
|
|
321
|
+
},
|
|
322
|
+
"dataSource": {
|
|
323
|
+
"kind": "function",
|
|
324
|
+
"nullable": true,
|
|
325
|
+
"doc": "Fetch suggestions instead of filtering data"
|
|
326
|
+
},
|
|
327
|
+
"minChars": {
|
|
328
|
+
"kind": "number",
|
|
329
|
+
"doc": "Characters typed before suggesting"
|
|
330
|
+
},
|
|
331
|
+
"maxResults": {
|
|
332
|
+
"kind": "number"
|
|
333
|
+
},
|
|
334
|
+
"debounce": {
|
|
335
|
+
"kind": "number",
|
|
336
|
+
"doc": "ms"
|
|
337
|
+
},
|
|
338
|
+
"filterFn": {
|
|
339
|
+
"kind": "function",
|
|
340
|
+
"nullable": true,
|
|
341
|
+
"doc": "Replaces the default contains-match"
|
|
342
|
+
},
|
|
343
|
+
"renderItem": {
|
|
344
|
+
"kind": "function",
|
|
345
|
+
"nullable": true,
|
|
346
|
+
"doc": "Suggestion HTML or a node"
|
|
347
|
+
},
|
|
348
|
+
"highlightMatches": {
|
|
349
|
+
"kind": "boolean"
|
|
350
|
+
},
|
|
351
|
+
"position": {
|
|
352
|
+
"kind": "enum",
|
|
353
|
+
"values": [
|
|
354
|
+
"auto",
|
|
355
|
+
"above",
|
|
356
|
+
"below"
|
|
357
|
+
],
|
|
358
|
+
"doc": "Where the list opens; 'auto' picks the side with room"
|
|
359
|
+
},
|
|
360
|
+
"placeholder": {
|
|
361
|
+
"kind": "string"
|
|
362
|
+
},
|
|
363
|
+
"emptyMessage": {
|
|
364
|
+
"kind": "string"
|
|
365
|
+
},
|
|
366
|
+
"loadingMessage": {
|
|
367
|
+
"kind": "string"
|
|
368
|
+
},
|
|
369
|
+
"caseSensitive": {
|
|
370
|
+
"kind": "boolean"
|
|
371
|
+
},
|
|
372
|
+
"selectOnEnter": {
|
|
373
|
+
"kind": "boolean"
|
|
374
|
+
},
|
|
375
|
+
"clearOnSelect": {
|
|
376
|
+
"kind": "boolean",
|
|
377
|
+
"doc": "Empty the input after a choice"
|
|
378
|
+
},
|
|
379
|
+
"model": {
|
|
380
|
+
"kind": "any",
|
|
381
|
+
"doc": "A Domma Model the typed value is written to (with modelKey)"
|
|
382
|
+
},
|
|
383
|
+
"modelKey": {
|
|
384
|
+
"kind": "string"
|
|
385
|
+
},
|
|
386
|
+
"onSelect": {
|
|
387
|
+
"kind": "function",
|
|
388
|
+
"nullable": true,
|
|
389
|
+
"doc": "A suggestion was chosen"
|
|
390
|
+
},
|
|
391
|
+
"onChange": {
|
|
392
|
+
"kind": "function",
|
|
393
|
+
"nullable": true,
|
|
394
|
+
"doc": "The input's value changed"
|
|
395
|
+
},
|
|
396
|
+
"onBeforeOpen": {
|
|
397
|
+
"kind": "function",
|
|
398
|
+
"nullable": true,
|
|
399
|
+
"doc": "Return false to keep it closed"
|
|
400
|
+
},
|
|
401
|
+
"onOpen": {
|
|
402
|
+
"kind": "function",
|
|
403
|
+
"nullable": true
|
|
404
|
+
},
|
|
405
|
+
"onBeforeClose": {
|
|
406
|
+
"kind": "function",
|
|
407
|
+
"nullable": true,
|
|
408
|
+
"doc": "Return false to keep it open"
|
|
409
|
+
},
|
|
410
|
+
"onClose": {
|
|
411
|
+
"kind": "function",
|
|
412
|
+
"nullable": true
|
|
413
|
+
},
|
|
414
|
+
"onFilter": {
|
|
415
|
+
"kind": "function",
|
|
416
|
+
"nullable": true,
|
|
417
|
+
"doc": "May return a replacement result list"
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"AvatarGroupOptions": {
|
|
421
|
+
"people": {
|
|
422
|
+
"kind": "array",
|
|
423
|
+
"of": {
|
|
424
|
+
"kind": "string",
|
|
425
|
+
"kinds": [
|
|
426
|
+
"string",
|
|
427
|
+
"object"
|
|
428
|
+
],
|
|
429
|
+
"type": "AvatarPerson"
|
|
430
|
+
},
|
|
431
|
+
"doc": "People, or plain names"
|
|
432
|
+
},
|
|
433
|
+
"max": {
|
|
434
|
+
"kind": "number",
|
|
435
|
+
"nullable": true,
|
|
436
|
+
"doc": "Show this many, then \"+N\"; null = everyone"
|
|
437
|
+
},
|
|
438
|
+
"size": {
|
|
439
|
+
"kind": "enum",
|
|
440
|
+
"values": [
|
|
441
|
+
"xs",
|
|
442
|
+
"sm",
|
|
443
|
+
"md",
|
|
444
|
+
"lg",
|
|
445
|
+
"xl"
|
|
446
|
+
],
|
|
447
|
+
"doc": "Size (default 'md')"
|
|
448
|
+
},
|
|
449
|
+
"shape": {
|
|
450
|
+
"kind": "enum",
|
|
451
|
+
"values": [
|
|
452
|
+
"circle",
|
|
453
|
+
"rounded",
|
|
454
|
+
"square"
|
|
455
|
+
],
|
|
456
|
+
"doc": "Shape (default 'circle')"
|
|
457
|
+
},
|
|
458
|
+
"overlap": {
|
|
459
|
+
"kind": "string",
|
|
460
|
+
"kinds": [
|
|
461
|
+
"string",
|
|
462
|
+
"number"
|
|
463
|
+
],
|
|
464
|
+
"nullable": true,
|
|
465
|
+
"doc": "'none' | 'sm' | 'md' | 'lg', pixels, or any CSS length; null = the stylesheet's 25%"
|
|
466
|
+
},
|
|
467
|
+
"label": {
|
|
468
|
+
"kind": "string",
|
|
469
|
+
"nullable": true,
|
|
470
|
+
"doc": "Accessible name for the list"
|
|
471
|
+
},
|
|
472
|
+
"statusLabels": {
|
|
473
|
+
"kind": "object",
|
|
474
|
+
"nullable": true
|
|
475
|
+
},
|
|
476
|
+
"onMore": {
|
|
477
|
+
"kind": "function",
|
|
478
|
+
"nullable": true,
|
|
479
|
+
"doc": "Called when \"+N\" is pressed, instead of the popover"
|
|
480
|
+
},
|
|
481
|
+
"popover": {
|
|
482
|
+
"kind": "boolean",
|
|
483
|
+
"doc": "false: no popover, the hidden names go in the button's title (default true)"
|
|
484
|
+
},
|
|
485
|
+
"moreLabel": {
|
|
486
|
+
"kind": "function",
|
|
487
|
+
"nullable": true,
|
|
488
|
+
"doc": "The \"+N\" button's accessible name (default '3 more: A, B and C')"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
"AvatarOptions": {
|
|
492
|
+
"name": {
|
|
493
|
+
"kind": "string",
|
|
494
|
+
"nullable": true,
|
|
495
|
+
"doc": "The person: initials, tone and accessible name come from it"
|
|
496
|
+
},
|
|
497
|
+
"src": {
|
|
498
|
+
"kind": "string",
|
|
499
|
+
"nullable": true,
|
|
500
|
+
"doc": "Picture URL; falls back to the initials (or icon) if it fails to load"
|
|
501
|
+
},
|
|
502
|
+
"alt": {
|
|
503
|
+
"kind": "string",
|
|
504
|
+
"nullable": true,
|
|
505
|
+
"doc": "Accessible name when it should differ from name"
|
|
506
|
+
},
|
|
507
|
+
"size": {
|
|
508
|
+
"kind": "enum",
|
|
509
|
+
"values": [
|
|
510
|
+
"xs",
|
|
511
|
+
"sm",
|
|
512
|
+
"md",
|
|
513
|
+
"lg",
|
|
514
|
+
"xl"
|
|
515
|
+
],
|
|
516
|
+
"doc": "Size (default 'md')"
|
|
517
|
+
},
|
|
518
|
+
"shape": {
|
|
519
|
+
"kind": "enum",
|
|
520
|
+
"values": [
|
|
521
|
+
"circle",
|
|
522
|
+
"rounded",
|
|
523
|
+
"square"
|
|
524
|
+
],
|
|
525
|
+
"doc": "Shape (default 'circle')"
|
|
526
|
+
},
|
|
527
|
+
"status": {
|
|
528
|
+
"kind": "enum",
|
|
529
|
+
"values": [
|
|
530
|
+
"online",
|
|
531
|
+
"away",
|
|
532
|
+
"busy",
|
|
533
|
+
"offline"
|
|
534
|
+
],
|
|
535
|
+
"nullable": true,
|
|
536
|
+
"doc": "Status dot; the word goes into the accessible name"
|
|
537
|
+
},
|
|
538
|
+
"statusLabels": {
|
|
539
|
+
"kind": "object",
|
|
540
|
+
"nullable": true,
|
|
541
|
+
"doc": "Words for the statuses in the accessible name, e.g. {busy: 'in a meeting'}"
|
|
542
|
+
},
|
|
543
|
+
"icon": {
|
|
544
|
+
"kind": "string",
|
|
545
|
+
"nullable": true,
|
|
546
|
+
"doc": "Icon name shown instead of initials ('user' when there is no name)"
|
|
547
|
+
},
|
|
548
|
+
"title": {
|
|
549
|
+
"kind": "string",
|
|
550
|
+
"kinds": [
|
|
551
|
+
"string",
|
|
552
|
+
"boolean"
|
|
553
|
+
],
|
|
554
|
+
"nullable": true,
|
|
555
|
+
"doc": "Hover text; true = the accessible name"
|
|
556
|
+
},
|
|
557
|
+
"ring": {
|
|
558
|
+
"kind": "boolean",
|
|
559
|
+
"doc": "A primary-coloured ring (default false)"
|
|
560
|
+
},
|
|
561
|
+
"tone": {
|
|
562
|
+
"kind": "number",
|
|
563
|
+
"nullable": true,
|
|
564
|
+
"doc": "0-7 to choose the tint; default is a hash of the name"
|
|
565
|
+
},
|
|
566
|
+
"decorative": {
|
|
567
|
+
"kind": "boolean",
|
|
568
|
+
"doc": "aria-hidden: the name is written next to it (default false)"
|
|
569
|
+
}
|
|
570
|
+
},
|
|
571
|
+
"AvatarPerson": {
|
|
572
|
+
"name": {
|
|
573
|
+
"kind": "string"
|
|
574
|
+
},
|
|
575
|
+
"src": {
|
|
576
|
+
"kind": "string"
|
|
577
|
+
},
|
|
578
|
+
"status": {
|
|
579
|
+
"kind": "enum",
|
|
580
|
+
"values": [
|
|
581
|
+
"online",
|
|
582
|
+
"away",
|
|
583
|
+
"busy",
|
|
584
|
+
"offline"
|
|
585
|
+
]
|
|
586
|
+
},
|
|
587
|
+
"href": {
|
|
588
|
+
"kind": "string",
|
|
589
|
+
"doc": "Makes the avatar a link"
|
|
590
|
+
},
|
|
591
|
+
"alt": {
|
|
592
|
+
"kind": "string"
|
|
593
|
+
},
|
|
594
|
+
"icon": {
|
|
595
|
+
"kind": "string"
|
|
596
|
+
},
|
|
597
|
+
"tone": {
|
|
598
|
+
"kind": "number"
|
|
599
|
+
},
|
|
600
|
+
"title": {
|
|
601
|
+
"kind": "string",
|
|
602
|
+
"kinds": [
|
|
603
|
+
"string",
|
|
604
|
+
"boolean"
|
|
605
|
+
],
|
|
606
|
+
"doc": "Hover text (default: the accessible name)"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
"BackToTopOptions": {
|
|
610
|
+
"showAfter": {
|
|
611
|
+
"kind": "number",
|
|
612
|
+
"nullable": true,
|
|
613
|
+
"doc": "Px scrolled before it shows (null: one viewport / container height)"
|
|
614
|
+
},
|
|
615
|
+
"duration": {
|
|
616
|
+
"kind": "number",
|
|
617
|
+
"doc": "Scroll animation duration in ms (0 under reduced motion)"
|
|
618
|
+
},
|
|
619
|
+
"position": {
|
|
620
|
+
"kind": "enum",
|
|
621
|
+
"values": [
|
|
622
|
+
"bottom-right",
|
|
623
|
+
"bottom-left"
|
|
624
|
+
],
|
|
625
|
+
"doc": "Button position"
|
|
626
|
+
},
|
|
627
|
+
"offset": {
|
|
628
|
+
"kind": "number",
|
|
629
|
+
"kinds": [
|
|
630
|
+
"number",
|
|
631
|
+
"object"
|
|
632
|
+
],
|
|
633
|
+
"nullable": true,
|
|
634
|
+
"doc": "Px from the edges (null: the stylesheet's)"
|
|
635
|
+
},
|
|
636
|
+
"target": {
|
|
637
|
+
"kind": "string",
|
|
638
|
+
"kinds": [
|
|
639
|
+
"string",
|
|
640
|
+
"object"
|
|
641
|
+
],
|
|
642
|
+
"nullable": true,
|
|
643
|
+
"doc": "Scroll container to watch (null: the window)"
|
|
644
|
+
},
|
|
645
|
+
"zIndex": {
|
|
646
|
+
"kind": "number",
|
|
647
|
+
"nullable": true,
|
|
648
|
+
"doc": "z-index for the button"
|
|
649
|
+
},
|
|
650
|
+
"label": {
|
|
651
|
+
"kind": "string",
|
|
652
|
+
"doc": "aria-label when the button has none"
|
|
653
|
+
},
|
|
654
|
+
"onShow": {
|
|
655
|
+
"kind": "function",
|
|
656
|
+
"nullable": true,
|
|
657
|
+
"doc": "When the button shows"
|
|
658
|
+
},
|
|
659
|
+
"onHide": {
|
|
660
|
+
"kind": "function",
|
|
661
|
+
"nullable": true,
|
|
662
|
+
"doc": "When the button hides"
|
|
663
|
+
},
|
|
664
|
+
"onScroll": {
|
|
665
|
+
"kind": "function",
|
|
666
|
+
"nullable": true,
|
|
667
|
+
"doc": "When a scroll to the top starts"
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
"BadgeOptions": {
|
|
671
|
+
"variant": {
|
|
672
|
+
"kind": "enum",
|
|
673
|
+
"values": [
|
|
674
|
+
"primary",
|
|
675
|
+
"secondary",
|
|
676
|
+
"success",
|
|
677
|
+
"danger",
|
|
678
|
+
"warning",
|
|
679
|
+
"info",
|
|
680
|
+
"light",
|
|
681
|
+
"dark"
|
|
682
|
+
],
|
|
683
|
+
"doc": "Badge variant/colour"
|
|
684
|
+
},
|
|
685
|
+
"size": {
|
|
686
|
+
"kind": "enum",
|
|
687
|
+
"values": [
|
|
688
|
+
"sm",
|
|
689
|
+
"lg",
|
|
690
|
+
"small",
|
|
691
|
+
"medium",
|
|
692
|
+
"large"
|
|
693
|
+
],
|
|
694
|
+
"doc": "Badge size"
|
|
695
|
+
},
|
|
696
|
+
"pill": {
|
|
697
|
+
"kind": "boolean",
|
|
698
|
+
"doc": "Use pill/rounded style"
|
|
699
|
+
},
|
|
700
|
+
"outline": {
|
|
701
|
+
"kind": "boolean",
|
|
702
|
+
"doc": "Use outline style"
|
|
703
|
+
},
|
|
704
|
+
"removable": {
|
|
705
|
+
"kind": "boolean",
|
|
706
|
+
"doc": "Show remove button"
|
|
707
|
+
},
|
|
708
|
+
"pulse": {
|
|
709
|
+
"kind": "boolean",
|
|
710
|
+
"doc": "Pulse animation"
|
|
711
|
+
},
|
|
712
|
+
"onClick": {
|
|
713
|
+
"kind": "function",
|
|
714
|
+
"nullable": true,
|
|
715
|
+
"doc": "Callback on click (not the remove button)"
|
|
716
|
+
},
|
|
717
|
+
"onRemove": {
|
|
718
|
+
"kind": "function",
|
|
719
|
+
"nullable": true,
|
|
720
|
+
"doc": "Callback on remove; return false to keep the badge"
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
"BreadcrumbItem": {
|
|
724
|
+
"text": {
|
|
725
|
+
"kind": "string",
|
|
726
|
+
"doc": "Label (HTML)"
|
|
727
|
+
},
|
|
728
|
+
"url": {
|
|
729
|
+
"kind": "string",
|
|
730
|
+
"doc": "Link (default '#'); the last item is never a link"
|
|
731
|
+
},
|
|
732
|
+
"active": {
|
|
733
|
+
"kind": "boolean",
|
|
734
|
+
"doc": "Render as the current page"
|
|
735
|
+
}
|
|
736
|
+
},
|
|
737
|
+
"BreadcrumbsOptions": {
|
|
738
|
+
"items": {
|
|
739
|
+
"kind": "array",
|
|
740
|
+
"of": {
|
|
741
|
+
"kind": "string",
|
|
742
|
+
"kinds": [
|
|
743
|
+
"string",
|
|
744
|
+
"object"
|
|
745
|
+
],
|
|
746
|
+
"type": "BreadcrumbItem"
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
"separator": {
|
|
750
|
+
"kind": "string",
|
|
751
|
+
"doc": "A preset, or custom HTML"
|
|
752
|
+
},
|
|
753
|
+
"homeIcon": {
|
|
754
|
+
"kind": "boolean",
|
|
755
|
+
"doc": "Home icon on the first item"
|
|
756
|
+
},
|
|
757
|
+
"responsive": {
|
|
758
|
+
"kind": "boolean",
|
|
759
|
+
"doc": "Collapse on small screens"
|
|
760
|
+
},
|
|
761
|
+
"onChange": {
|
|
762
|
+
"kind": "function",
|
|
763
|
+
"nullable": true,
|
|
764
|
+
"doc": "A crumb link was clicked (setting it prevents navigation)"
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
"BreatheOptions": {
|
|
768
|
+
"amplitude": {
|
|
769
|
+
"kind": "number",
|
|
770
|
+
"doc": "Vertical movement distance in pixels (default: 6)"
|
|
771
|
+
},
|
|
772
|
+
"duration": {
|
|
773
|
+
"kind": "number",
|
|
774
|
+
"doc": "Complete animation cycle time in milliseconds (default: 3000)"
|
|
775
|
+
},
|
|
776
|
+
"easing": {
|
|
777
|
+
"kind": "string",
|
|
778
|
+
"doc": "CSS easing function (default: 'ease-in-out')"
|
|
779
|
+
},
|
|
780
|
+
"delay": {
|
|
781
|
+
"kind": "number",
|
|
782
|
+
"doc": "Initial delay before animation starts in milliseconds (default: 0)"
|
|
783
|
+
},
|
|
784
|
+
"stagger": {
|
|
785
|
+
"kind": "number",
|
|
786
|
+
"doc": "Delay between multiple elements in milliseconds (default: 0)"
|
|
787
|
+
},
|
|
788
|
+
"iterations": {
|
|
789
|
+
"kind": "number",
|
|
790
|
+
"kinds": [
|
|
791
|
+
"number",
|
|
792
|
+
"enum"
|
|
793
|
+
],
|
|
794
|
+
"values": [
|
|
795
|
+
"infinite"
|
|
796
|
+
],
|
|
797
|
+
"doc": "Number of cycles or 'infinite' (default: 'infinite')"
|
|
798
|
+
},
|
|
799
|
+
"pauseOnHover": {
|
|
800
|
+
"kind": "boolean",
|
|
801
|
+
"doc": "Pause animation when hovering (default: false)"
|
|
802
|
+
},
|
|
803
|
+
"autoStart": {
|
|
804
|
+
"kind": "boolean",
|
|
805
|
+
"doc": "Start animation immediately (default: true)"
|
|
806
|
+
},
|
|
807
|
+
"respectMotionPreference": {
|
|
808
|
+
"kind": "boolean",
|
|
809
|
+
"doc": "Honor prefers-reduced-motion (default: true)"
|
|
810
|
+
},
|
|
811
|
+
"onStart": {
|
|
812
|
+
"kind": "function",
|
|
813
|
+
"doc": "Callback when animation starts"
|
|
814
|
+
},
|
|
815
|
+
"onComplete": {
|
|
816
|
+
"kind": "function",
|
|
817
|
+
"doc": "Callback when animation completes"
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
"ButtonGroupOptions": {
|
|
821
|
+
"mode": {
|
|
822
|
+
"kind": "enum",
|
|
823
|
+
"values": [
|
|
824
|
+
"single",
|
|
825
|
+
"multiple"
|
|
826
|
+
],
|
|
827
|
+
"doc": "'single' behaves like radios, 'multiple' like checkboxes"
|
|
828
|
+
},
|
|
829
|
+
"activeClass": {
|
|
830
|
+
"kind": "string",
|
|
831
|
+
"doc": "Class on active buttons"
|
|
832
|
+
},
|
|
833
|
+
"allowEmpty": {
|
|
834
|
+
"kind": "boolean",
|
|
835
|
+
"doc": "Single mode: clicking the active button deselects it"
|
|
836
|
+
},
|
|
837
|
+
"onChange": {
|
|
838
|
+
"kind": "function",
|
|
839
|
+
"nullable": true,
|
|
840
|
+
"doc": "Selection changed (index -1 from selectAll/deselectAll)"
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
"CardOptions": {
|
|
844
|
+
"hoverable": {
|
|
845
|
+
"kind": "boolean",
|
|
846
|
+
"doc": "Enable hover effects (`hover` is accepted as an alias)"
|
|
847
|
+
},
|
|
848
|
+
"hover": {
|
|
849
|
+
"kind": "boolean",
|
|
850
|
+
"doc": "Alias of `hoverable`"
|
|
851
|
+
},
|
|
852
|
+
"shadow": {
|
|
853
|
+
"kind": "enum",
|
|
854
|
+
"values": [
|
|
855
|
+
"sm",
|
|
856
|
+
"lg",
|
|
857
|
+
"none",
|
|
858
|
+
"small",
|
|
859
|
+
"medium",
|
|
860
|
+
"large"
|
|
861
|
+
],
|
|
862
|
+
"doc": "Shadow size"
|
|
863
|
+
},
|
|
864
|
+
"rounded": {
|
|
865
|
+
"kind": "boolean",
|
|
866
|
+
"doc": "Apply border radius (false gives square corners)"
|
|
867
|
+
},
|
|
868
|
+
"animation": {
|
|
869
|
+
"kind": "boolean",
|
|
870
|
+
"doc": "Enable animations"
|
|
871
|
+
},
|
|
872
|
+
"animationDuration": {
|
|
873
|
+
"kind": "number",
|
|
874
|
+
"doc": "Animation duration in ms"
|
|
875
|
+
},
|
|
876
|
+
"collapsible": {
|
|
877
|
+
"kind": "boolean",
|
|
878
|
+
"doc": "Clicking the header collapses/expands the body"
|
|
879
|
+
},
|
|
880
|
+
"collapsed": {
|
|
881
|
+
"kind": "boolean",
|
|
882
|
+
"doc": "Start collapsed (a saved state wins)"
|
|
883
|
+
},
|
|
884
|
+
"persistKey": {
|
|
885
|
+
"kind": "string",
|
|
886
|
+
"nullable": true,
|
|
887
|
+
"doc": "Storage key for the collapsed state (default `domma-card-<id>` when the card has an id)"
|
|
888
|
+
},
|
|
889
|
+
"title": {
|
|
890
|
+
"kind": "string",
|
|
891
|
+
"doc": "Adds a `.card-header` with this title when the card has none"
|
|
892
|
+
},
|
|
893
|
+
"icon": {
|
|
894
|
+
"kind": "string",
|
|
895
|
+
"doc": "Icon name shown before the title"
|
|
896
|
+
},
|
|
897
|
+
"content": {
|
|
898
|
+
"kind": "string",
|
|
899
|
+
"kinds": [
|
|
900
|
+
"string",
|
|
901
|
+
"object"
|
|
902
|
+
],
|
|
903
|
+
"doc": "Body content: HTML (sanitised unless `safe: false`) or a Node"
|
|
904
|
+
},
|
|
905
|
+
"safe": {
|
|
906
|
+
"kind": "boolean",
|
|
907
|
+
"doc": "Sanitise string content"
|
|
908
|
+
},
|
|
909
|
+
"clickable": {
|
|
910
|
+
"kind": "boolean",
|
|
911
|
+
"doc": "Clickable style (also on when `onClick` is given)"
|
|
912
|
+
},
|
|
913
|
+
"color": {
|
|
914
|
+
"kind": "string",
|
|
915
|
+
"nullable": true,
|
|
916
|
+
"doc": "Colour variant, e.g. 'primary' adds `.card-primary`"
|
|
917
|
+
},
|
|
918
|
+
"onCollapse": {
|
|
919
|
+
"kind": "function",
|
|
920
|
+
"nullable": true,
|
|
921
|
+
"doc": "After the body collapses"
|
|
922
|
+
},
|
|
923
|
+
"onExpand": {
|
|
924
|
+
"kind": "function",
|
|
925
|
+
"nullable": true,
|
|
926
|
+
"doc": "After the body expands"
|
|
927
|
+
},
|
|
928
|
+
"onClick": {
|
|
929
|
+
"kind": "function",
|
|
930
|
+
"nullable": true,
|
|
931
|
+
"doc": "Click on the card (not a collapsing header click)"
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
"CarouselOptions": {
|
|
935
|
+
"autoplay": {
|
|
936
|
+
"kind": "boolean",
|
|
937
|
+
"doc": "Advance on a timer"
|
|
938
|
+
},
|
|
939
|
+
"interval": {
|
|
940
|
+
"kind": "number",
|
|
941
|
+
"doc": "Autoplay interval in ms"
|
|
942
|
+
},
|
|
943
|
+
"pauseOnHover": {
|
|
944
|
+
"kind": "boolean",
|
|
945
|
+
"doc": "Pause autoplay on hover"
|
|
946
|
+
},
|
|
947
|
+
"loop": {
|
|
948
|
+
"kind": "boolean",
|
|
949
|
+
"doc": "Wrap from the last slide to the first"
|
|
950
|
+
},
|
|
951
|
+
"animation": {
|
|
952
|
+
"kind": "enum",
|
|
953
|
+
"values": [
|
|
954
|
+
"slide",
|
|
955
|
+
"fade",
|
|
956
|
+
"crossfade"
|
|
957
|
+
],
|
|
958
|
+
"doc": "'slide' (track translate), 'fade' (clean swap), or 'crossfade' (overlapping opacity)"
|
|
959
|
+
},
|
|
960
|
+
"animationDuration": {
|
|
961
|
+
"kind": "number",
|
|
962
|
+
"doc": "Animation duration in ms"
|
|
963
|
+
},
|
|
964
|
+
"animationEasing": {
|
|
965
|
+
"kind": "string",
|
|
966
|
+
"doc": "Any CSS timing function ('ease', 'linear', 'ease-in-out', 'cubic-bezier(...)' etc.)"
|
|
967
|
+
},
|
|
968
|
+
"heightMode": {
|
|
969
|
+
"kind": "enum",
|
|
970
|
+
"values": [
|
|
971
|
+
"crop",
|
|
972
|
+
"average"
|
|
973
|
+
],
|
|
974
|
+
"doc": "Image carousels: 'crop' = the shortest image, 'average' = halfway between shortest and tallest"
|
|
975
|
+
},
|
|
976
|
+
"height": {
|
|
977
|
+
"kind": "number",
|
|
978
|
+
"nullable": true,
|
|
979
|
+
"doc": "Fixed viewport height in px"
|
|
980
|
+
},
|
|
981
|
+
"showArrows": {
|
|
982
|
+
"kind": "boolean",
|
|
983
|
+
"doc": "Previous / next arrows"
|
|
984
|
+
},
|
|
985
|
+
"showIndicators": {
|
|
986
|
+
"kind": "boolean",
|
|
987
|
+
"doc": "Indicator dots"
|
|
988
|
+
},
|
|
989
|
+
"slideSelector": {
|
|
990
|
+
"kind": "string",
|
|
991
|
+
"doc": "Selector for slides"
|
|
992
|
+
},
|
|
993
|
+
"activeClass": {
|
|
994
|
+
"kind": "string",
|
|
995
|
+
"doc": "Class on the active slide"
|
|
996
|
+
},
|
|
997
|
+
"onChange": {
|
|
998
|
+
"kind": "function",
|
|
999
|
+
"nullable": true,
|
|
1000
|
+
"doc": "The slide changed"
|
|
1001
|
+
}
|
|
1002
|
+
},
|
|
1003
|
+
"ContextMenuItem": {
|
|
1004
|
+
"label": {
|
|
1005
|
+
"kind": "string",
|
|
1006
|
+
"doc": "Item text"
|
|
1007
|
+
},
|
|
1008
|
+
"text": {
|
|
1009
|
+
"kind": "string",
|
|
1010
|
+
"doc": "Item text, when there is no label"
|
|
1011
|
+
},
|
|
1012
|
+
"name": {
|
|
1013
|
+
"kind": "string",
|
|
1014
|
+
"doc": "Item text, when there is no label or text"
|
|
1015
|
+
},
|
|
1016
|
+
"icon": {
|
|
1017
|
+
"kind": "string",
|
|
1018
|
+
"doc": "Domma icon name, rendered through data-icon"
|
|
1019
|
+
},
|
|
1020
|
+
"value": {
|
|
1021
|
+
"kind": "any",
|
|
1022
|
+
"doc": "Arbitrary value carried to onSelect (with the item)"
|
|
1023
|
+
},
|
|
1024
|
+
"action": {
|
|
1025
|
+
"kind": "function",
|
|
1026
|
+
"doc": "Invoked with the delegated target and the open context"
|
|
1027
|
+
},
|
|
1028
|
+
"disabled": {
|
|
1029
|
+
"kind": "boolean",
|
|
1030
|
+
"kinds": [
|
|
1031
|
+
"boolean",
|
|
1032
|
+
"function"
|
|
1033
|
+
],
|
|
1034
|
+
"doc": "Greyed but still shown; a function is resolved per target"
|
|
1035
|
+
},
|
|
1036
|
+
"visible": {
|
|
1037
|
+
"kind": "boolean",
|
|
1038
|
+
"kinds": [
|
|
1039
|
+
"boolean",
|
|
1040
|
+
"function"
|
|
1041
|
+
],
|
|
1042
|
+
"doc": "Omitted entirely when false; a function is resolved per target"
|
|
1043
|
+
},
|
|
1044
|
+
"danger": {
|
|
1045
|
+
"kind": "boolean",
|
|
1046
|
+
"doc": "Destructive styling"
|
|
1047
|
+
},
|
|
1048
|
+
"className": {
|
|
1049
|
+
"kind": "string",
|
|
1050
|
+
"kinds": [
|
|
1051
|
+
"string",
|
|
1052
|
+
"array"
|
|
1053
|
+
],
|
|
1054
|
+
"of": {
|
|
1055
|
+
"kind": "string"
|
|
1056
|
+
},
|
|
1057
|
+
"doc": "Extra classes on the item"
|
|
1058
|
+
},
|
|
1059
|
+
"shortcut": {
|
|
1060
|
+
"kind": "string",
|
|
1061
|
+
"doc": "Right-aligned hint text - display only, no key is bound"
|
|
1062
|
+
},
|
|
1063
|
+
"submenu": {
|
|
1064
|
+
"kind": "array",
|
|
1065
|
+
"kinds": [
|
|
1066
|
+
"array",
|
|
1067
|
+
"function"
|
|
1068
|
+
],
|
|
1069
|
+
"of": {
|
|
1070
|
+
"kind": "object",
|
|
1071
|
+
"type": "ContextMenuItem"
|
|
1072
|
+
},
|
|
1073
|
+
"doc": "Nested items, to unlimited depth"
|
|
1074
|
+
},
|
|
1075
|
+
"type": {
|
|
1076
|
+
"kind": "enum",
|
|
1077
|
+
"values": [
|
|
1078
|
+
"item",
|
|
1079
|
+
"divider",
|
|
1080
|
+
"header",
|
|
1081
|
+
"checkbox",
|
|
1082
|
+
"radio"
|
|
1083
|
+
],
|
|
1084
|
+
"doc": "Item kind (default 'item')"
|
|
1085
|
+
},
|
|
1086
|
+
"checked": {
|
|
1087
|
+
"kind": "boolean",
|
|
1088
|
+
"kinds": [
|
|
1089
|
+
"boolean",
|
|
1090
|
+
"function"
|
|
1091
|
+
],
|
|
1092
|
+
"doc": "Checked state for checkbox/radio types"
|
|
1093
|
+
},
|
|
1094
|
+
"divider": {
|
|
1095
|
+
"kind": "boolean",
|
|
1096
|
+
"doc": "Shorthand for type: 'divider'"
|
|
1097
|
+
},
|
|
1098
|
+
"header": {
|
|
1099
|
+
"kind": "string",
|
|
1100
|
+
"doc": "Shorthand for type: 'header'"
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
"ContextMenuOptions": {
|
|
1104
|
+
"items": {
|
|
1105
|
+
"kind": "array",
|
|
1106
|
+
"kinds": [
|
|
1107
|
+
"array",
|
|
1108
|
+
"function",
|
|
1109
|
+
"object"
|
|
1110
|
+
],
|
|
1111
|
+
"of": {
|
|
1112
|
+
"kind": "object",
|
|
1113
|
+
"type": "ContextMenuItem"
|
|
1114
|
+
},
|
|
1115
|
+
"doc": "Items, or a resolver called with the delegated target. Accepts a Domma Reactive observable."
|
|
1116
|
+
},
|
|
1117
|
+
"match": {
|
|
1118
|
+
"kind": "string",
|
|
1119
|
+
"nullable": true,
|
|
1120
|
+
"doc": "Delegation selector - the menu claims only descendants matching it (default: the whole container)"
|
|
1121
|
+
},
|
|
1122
|
+
"exclude": {
|
|
1123
|
+
"kind": "string",
|
|
1124
|
+
"nullable": true,
|
|
1125
|
+
"doc": "Regions inside the container that decline and fall through outward"
|
|
1126
|
+
},
|
|
1127
|
+
"enabled": {
|
|
1128
|
+
"kind": "boolean",
|
|
1129
|
+
"kinds": [
|
|
1130
|
+
"boolean",
|
|
1131
|
+
"function"
|
|
1132
|
+
],
|
|
1133
|
+
"doc": "False declines the gesture and falls through to the next menu outward"
|
|
1134
|
+
},
|
|
1135
|
+
"inherit": {
|
|
1136
|
+
"kind": "boolean",
|
|
1137
|
+
"kinds": [
|
|
1138
|
+
"boolean",
|
|
1139
|
+
"enum"
|
|
1140
|
+
],
|
|
1141
|
+
"values": [
|
|
1142
|
+
"append",
|
|
1143
|
+
"prepend"
|
|
1144
|
+
],
|
|
1145
|
+
"doc": "Merge ancestor menus' items rather than replacing them (default 'append')"
|
|
1146
|
+
},
|
|
1147
|
+
"priority": {
|
|
1148
|
+
"kind": "number",
|
|
1149
|
+
"doc": "Tie-break only when two menus bind the SAME element; depth wins otherwise"
|
|
1150
|
+
},
|
|
1151
|
+
"exclusive": {
|
|
1152
|
+
"kind": "boolean",
|
|
1153
|
+
"doc": "This menu owns its region: once it encloses the click and accepts it, nothing bound deeper is offered the gesture. Not a veto - an exclusive menu that declines steps aside."
|
|
1154
|
+
},
|
|
1155
|
+
"nativeOnShift": {
|
|
1156
|
+
"kind": "boolean",
|
|
1157
|
+
"doc": "Shift+right-click passes through to the browser's own menu (default true)"
|
|
1158
|
+
},
|
|
1159
|
+
"closeOnSelect": {
|
|
1160
|
+
"kind": "boolean",
|
|
1161
|
+
"doc": "Close after an item is chosen (default true)"
|
|
1162
|
+
},
|
|
1163
|
+
"closeOnEscape": {
|
|
1164
|
+
"kind": "boolean",
|
|
1165
|
+
"doc": "Close on Esc (default true)"
|
|
1166
|
+
},
|
|
1167
|
+
"closeOnClickOutside": {
|
|
1168
|
+
"kind": "boolean",
|
|
1169
|
+
"doc": "Close on outside mousedown (default true)"
|
|
1170
|
+
},
|
|
1171
|
+
"closeOnScroll": {
|
|
1172
|
+
"kind": "boolean",
|
|
1173
|
+
"doc": "Close on scroll - the anchoring point has moved (default true)"
|
|
1174
|
+
},
|
|
1175
|
+
"longPress": {
|
|
1176
|
+
"kind": "number",
|
|
1177
|
+
"kinds": [
|
|
1178
|
+
"number",
|
|
1179
|
+
"boolean"
|
|
1180
|
+
],
|
|
1181
|
+
"doc": "Long-press duration in ms for touch, or false to disable (default 500)"
|
|
1182
|
+
},
|
|
1183
|
+
"cursor": {
|
|
1184
|
+
"kind": "any",
|
|
1185
|
+
"kinds": [
|
|
1186
|
+
"boolean",
|
|
1187
|
+
"enum",
|
|
1188
|
+
"any"
|
|
1189
|
+
],
|
|
1190
|
+
"values": [
|
|
1191
|
+
"auto",
|
|
1192
|
+
"glyph"
|
|
1193
|
+
],
|
|
1194
|
+
"doc": "Pointer over a claimed region: 'auto' (the CSS `context-menu` keyword, default), 'glyph' (a generated themed cursor), false (leave it alone) or any CSS cursor value"
|
|
1195
|
+
},
|
|
1196
|
+
"cursorSize": {
|
|
1197
|
+
"kind": "number",
|
|
1198
|
+
"doc": "Glyph cursor size in px, clamped to 32 - browsers ignore anything larger (default 26)"
|
|
1199
|
+
},
|
|
1200
|
+
"className": {
|
|
1201
|
+
"kind": "string",
|
|
1202
|
+
"doc": "Extra class on the menu root"
|
|
1203
|
+
},
|
|
1204
|
+
"minWidth": {
|
|
1205
|
+
"kind": "string",
|
|
1206
|
+
"doc": "Minimum menu width (default '200px')"
|
|
1207
|
+
},
|
|
1208
|
+
"maxWidth": {
|
|
1209
|
+
"kind": "string",
|
|
1210
|
+
"doc": "Maximum menu width (default '320px')"
|
|
1211
|
+
},
|
|
1212
|
+
"maxHeight": {
|
|
1213
|
+
"kind": "string",
|
|
1214
|
+
"doc": "Maximum menu height before it scrolls (default '60vh')"
|
|
1215
|
+
},
|
|
1216
|
+
"offset": {
|
|
1217
|
+
"kind": "array",
|
|
1218
|
+
"doc": "Offset [x, y] from the cursor point (default [2, 2])"
|
|
1219
|
+
},
|
|
1220
|
+
"flip": {
|
|
1221
|
+
"kind": "boolean",
|
|
1222
|
+
"doc": "Flip across the cursor and clamp to the viewport (default true)"
|
|
1223
|
+
},
|
|
1224
|
+
"animation": {
|
|
1225
|
+
"kind": "boolean",
|
|
1226
|
+
"doc": "Whether to transition on open and close (default true)"
|
|
1227
|
+
},
|
|
1228
|
+
"animationDuration": {
|
|
1229
|
+
"kind": "number",
|
|
1230
|
+
"doc": "Transition duration in ms (default 120)"
|
|
1231
|
+
},
|
|
1232
|
+
"transition": {
|
|
1233
|
+
"kind": "enum",
|
|
1234
|
+
"values": [
|
|
1235
|
+
"none",
|
|
1236
|
+
"slide",
|
|
1237
|
+
"fade",
|
|
1238
|
+
"scale"
|
|
1239
|
+
],
|
|
1240
|
+
"doc": "How the panel enters (default 'scale')"
|
|
1241
|
+
},
|
|
1242
|
+
"easing": {
|
|
1243
|
+
"kind": "string",
|
|
1244
|
+
"doc": "Any CSS easing (default cubic-bezier(0.16, 1, 0.3, 1))"
|
|
1245
|
+
},
|
|
1246
|
+
"accent": {
|
|
1247
|
+
"kind": "string",
|
|
1248
|
+
"nullable": true,
|
|
1249
|
+
"doc": "Preset key ('primary'|'success'|'danger'|'warning'|'info') or any CSS colour"
|
|
1250
|
+
},
|
|
1251
|
+
"surface": {
|
|
1252
|
+
"kind": "string",
|
|
1253
|
+
"nullable": true,
|
|
1254
|
+
"doc": "Overrides the panel background"
|
|
1255
|
+
},
|
|
1256
|
+
"radius": {
|
|
1257
|
+
"kind": "string",
|
|
1258
|
+
"nullable": true,
|
|
1259
|
+
"doc": "'none'|'sm'|'md'|'lg'|'xl', or any CSS length"
|
|
1260
|
+
},
|
|
1261
|
+
"shadow": {
|
|
1262
|
+
"kind": "string",
|
|
1263
|
+
"nullable": true,
|
|
1264
|
+
"doc": "'none'|'sm'|'md'|'lg'|'xl'"
|
|
1265
|
+
},
|
|
1266
|
+
"opacity": {
|
|
1267
|
+
"kind": "number",
|
|
1268
|
+
"nullable": true,
|
|
1269
|
+
"doc": "20-100; translucent panel with a blurred backdrop. Clamped."
|
|
1270
|
+
},
|
|
1271
|
+
"density": {
|
|
1272
|
+
"kind": "enum",
|
|
1273
|
+
"values": [
|
|
1274
|
+
"comfortable",
|
|
1275
|
+
"compact"
|
|
1276
|
+
],
|
|
1277
|
+
"doc": "Row height and font size (default 'comfortable')"
|
|
1278
|
+
},
|
|
1279
|
+
"itemTemplate": {
|
|
1280
|
+
"kind": "function",
|
|
1281
|
+
"nullable": true,
|
|
1282
|
+
"doc": "Custom item renderer returning HTML"
|
|
1283
|
+
},
|
|
1284
|
+
"submenuDelay": {
|
|
1285
|
+
"kind": "number",
|
|
1286
|
+
"doc": "Hover grace before a submenu opens, in ms (default 150)"
|
|
1287
|
+
},
|
|
1288
|
+
"render": {
|
|
1289
|
+
"kind": "function",
|
|
1290
|
+
"nullable": true,
|
|
1291
|
+
"doc": "Render your own panel instead of an item list. Called only once this menu has claimed the gesture. Return an element for Domma to position and dismiss, or nothing to manage it yourself."
|
|
1292
|
+
},
|
|
1293
|
+
"keyboardTrigger": {
|
|
1294
|
+
"kind": "boolean",
|
|
1295
|
+
"doc": "Open on Shift+F10 and the Menu key against the focused element (default true)"
|
|
1296
|
+
},
|
|
1297
|
+
"typeahead": {
|
|
1298
|
+
"kind": "boolean",
|
|
1299
|
+
"doc": "Jump to an item by typing (default true)"
|
|
1300
|
+
},
|
|
1301
|
+
"ariaLabel": {
|
|
1302
|
+
"kind": "string",
|
|
1303
|
+
"doc": "aria-label for the menu"
|
|
1304
|
+
},
|
|
1305
|
+
"model": {
|
|
1306
|
+
"kind": "object",
|
|
1307
|
+
"nullable": true,
|
|
1308
|
+
"doc": "Bind items to a Domma Model"
|
|
1309
|
+
},
|
|
1310
|
+
"modelKey": {
|
|
1311
|
+
"kind": "string",
|
|
1312
|
+
"nullable": true,
|
|
1313
|
+
"doc": "Model key holding the items array"
|
|
1314
|
+
},
|
|
1315
|
+
"onBeforeOpen": {
|
|
1316
|
+
"kind": "function",
|
|
1317
|
+
"nullable": true,
|
|
1318
|
+
"doc": "Return false to decline and fall through to the next menu outward"
|
|
1319
|
+
},
|
|
1320
|
+
"onOpen": {
|
|
1321
|
+
"kind": "function",
|
|
1322
|
+
"nullable": true,
|
|
1323
|
+
"doc": "Fired once the menu is on screen"
|
|
1324
|
+
},
|
|
1325
|
+
"onBeforeClose": {
|
|
1326
|
+
"kind": "function",
|
|
1327
|
+
"nullable": true,
|
|
1328
|
+
"doc": "Return false to keep it open"
|
|
1329
|
+
},
|
|
1330
|
+
"onClose": {
|
|
1331
|
+
"kind": "function",
|
|
1332
|
+
"nullable": true,
|
|
1333
|
+
"doc": "Fired after the menu is dismissed"
|
|
1334
|
+
},
|
|
1335
|
+
"onSelect": {
|
|
1336
|
+
"kind": "function",
|
|
1337
|
+
"nullable": true,
|
|
1338
|
+
"doc": "Fired before the item's own action"
|
|
1339
|
+
}
|
|
1340
|
+
},
|
|
1341
|
+
"CookieCategory": {
|
|
1342
|
+
"label": {
|
|
1343
|
+
"kind": "string"
|
|
1344
|
+
},
|
|
1345
|
+
"description": {
|
|
1346
|
+
"kind": "string"
|
|
1347
|
+
},
|
|
1348
|
+
"required": {
|
|
1349
|
+
"kind": "boolean",
|
|
1350
|
+
"doc": "Always on; cannot be switched off"
|
|
1351
|
+
}
|
|
1352
|
+
},
|
|
1353
|
+
"CookieConsentOptions": {
|
|
1354
|
+
"message": {
|
|
1355
|
+
"kind": "string",
|
|
1356
|
+
"doc": "Banner text"
|
|
1357
|
+
},
|
|
1358
|
+
"acceptAllText": {
|
|
1359
|
+
"kind": "string"
|
|
1360
|
+
},
|
|
1361
|
+
"rejectAllText": {
|
|
1362
|
+
"kind": "string"
|
|
1363
|
+
},
|
|
1364
|
+
"customizeText": {
|
|
1365
|
+
"kind": "string"
|
|
1366
|
+
},
|
|
1367
|
+
"savePreferencesText": {
|
|
1368
|
+
"kind": "string"
|
|
1369
|
+
},
|
|
1370
|
+
"privacyPolicyText": {
|
|
1371
|
+
"kind": "string"
|
|
1372
|
+
},
|
|
1373
|
+
"privacyPolicyUrl": {
|
|
1374
|
+
"kind": "string",
|
|
1375
|
+
"nullable": true
|
|
1376
|
+
},
|
|
1377
|
+
"cookiePolicyText": {
|
|
1378
|
+
"kind": "string"
|
|
1379
|
+
},
|
|
1380
|
+
"cookiePolicyUrl": {
|
|
1381
|
+
"kind": "string",
|
|
1382
|
+
"nullable": true
|
|
1383
|
+
},
|
|
1384
|
+
"categories": {
|
|
1385
|
+
"kind": "object",
|
|
1386
|
+
"each": {
|
|
1387
|
+
"kind": "object",
|
|
1388
|
+
"type": "CookieCategory"
|
|
1389
|
+
},
|
|
1390
|
+
"doc": "Default: necessary, functional, analytics, marketing"
|
|
1391
|
+
},
|
|
1392
|
+
"position": {
|
|
1393
|
+
"kind": "enum",
|
|
1394
|
+
"values": [
|
|
1395
|
+
"bottom-right",
|
|
1396
|
+
"bottom-left",
|
|
1397
|
+
"bottom",
|
|
1398
|
+
"top",
|
|
1399
|
+
"center-modal"
|
|
1400
|
+
]
|
|
1401
|
+
},
|
|
1402
|
+
"theme": {
|
|
1403
|
+
"kind": "enum",
|
|
1404
|
+
"values": [
|
|
1405
|
+
"auto",
|
|
1406
|
+
"light",
|
|
1407
|
+
"dark"
|
|
1408
|
+
],
|
|
1409
|
+
"doc": "'auto' follows the system"
|
|
1410
|
+
},
|
|
1411
|
+
"layout": {
|
|
1412
|
+
"kind": "enum",
|
|
1413
|
+
"values": [
|
|
1414
|
+
"modal",
|
|
1415
|
+
"bar",
|
|
1416
|
+
"box"
|
|
1417
|
+
]
|
|
1418
|
+
},
|
|
1419
|
+
"animation": {
|
|
1420
|
+
"kind": "boolean"
|
|
1421
|
+
},
|
|
1422
|
+
"backdrop": {
|
|
1423
|
+
"kind": "boolean",
|
|
1424
|
+
"doc": "Backdrop behind the modal layout"
|
|
1425
|
+
},
|
|
1426
|
+
"autoShow": {
|
|
1427
|
+
"kind": "boolean",
|
|
1428
|
+
"doc": "Show on a first visit"
|
|
1429
|
+
},
|
|
1430
|
+
"hideAfterAction": {
|
|
1431
|
+
"kind": "boolean",
|
|
1432
|
+
"doc": "Hide once a choice is made"
|
|
1433
|
+
},
|
|
1434
|
+
"reopenSelector": {
|
|
1435
|
+
"kind": "string",
|
|
1436
|
+
"doc": "Elements that reopen the banner"
|
|
1437
|
+
},
|
|
1438
|
+
"storageKey": {
|
|
1439
|
+
"kind": "string"
|
|
1440
|
+
},
|
|
1441
|
+
"storageDuration": {
|
|
1442
|
+
"kind": "number",
|
|
1443
|
+
"doc": "Days the choice is remembered"
|
|
1444
|
+
},
|
|
1445
|
+
"defaultState": {
|
|
1446
|
+
"kind": "enum",
|
|
1447
|
+
"values": [
|
|
1448
|
+
"accepted",
|
|
1449
|
+
"rejected",
|
|
1450
|
+
"customized",
|
|
1451
|
+
"undecided"
|
|
1452
|
+
]
|
|
1453
|
+
},
|
|
1454
|
+
"requireExplicitConsent": {
|
|
1455
|
+
"kind": "boolean",
|
|
1456
|
+
"doc": "GDPR mode: optional categories start off"
|
|
1457
|
+
},
|
|
1458
|
+
"consentVersion": {
|
|
1459
|
+
"kind": "string",
|
|
1460
|
+
"doc": "Bump when the policy changes to ask again"
|
|
1461
|
+
},
|
|
1462
|
+
"onVersionMismatch": {
|
|
1463
|
+
"kind": "function",
|
|
1464
|
+
"nullable": true,
|
|
1465
|
+
"doc": "The stored choice was for another version"
|
|
1466
|
+
},
|
|
1467
|
+
"onAccept": {
|
|
1468
|
+
"kind": "function",
|
|
1469
|
+
"nullable": true,
|
|
1470
|
+
"doc": "Accept all, or saved custom preferences"
|
|
1471
|
+
},
|
|
1472
|
+
"onReject": {
|
|
1473
|
+
"kind": "function",
|
|
1474
|
+
"nullable": true
|
|
1475
|
+
},
|
|
1476
|
+
"onCustomize": {
|
|
1477
|
+
"kind": "function",
|
|
1478
|
+
"nullable": true,
|
|
1479
|
+
"doc": "The customise panel opened"
|
|
1480
|
+
},
|
|
1481
|
+
"onChange": {
|
|
1482
|
+
"kind": "function",
|
|
1483
|
+
"nullable": true
|
|
1484
|
+
},
|
|
1485
|
+
"onShow": {
|
|
1486
|
+
"kind": "function",
|
|
1487
|
+
"nullable": true
|
|
1488
|
+
},
|
|
1489
|
+
"onHide": {
|
|
1490
|
+
"kind": "function",
|
|
1491
|
+
"nullable": true
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
"DesktopNotificationOptions": {
|
|
1495
|
+
"title": {
|
|
1496
|
+
"kind": "string",
|
|
1497
|
+
"doc": "Notification title"
|
|
1498
|
+
},
|
|
1499
|
+
"body": {
|
|
1500
|
+
"kind": "string",
|
|
1501
|
+
"doc": "Body text"
|
|
1502
|
+
},
|
|
1503
|
+
"icon": {
|
|
1504
|
+
"kind": "string",
|
|
1505
|
+
"nullable": true,
|
|
1506
|
+
"doc": "Icon URL"
|
|
1507
|
+
},
|
|
1508
|
+
"badge": {
|
|
1509
|
+
"kind": "string",
|
|
1510
|
+
"nullable": true,
|
|
1511
|
+
"doc": "Badge URL"
|
|
1512
|
+
},
|
|
1513
|
+
"tag": {
|
|
1514
|
+
"kind": "string",
|
|
1515
|
+
"nullable": true,
|
|
1516
|
+
"doc": "Tag: a new notification with the same tag replaces the old one"
|
|
1517
|
+
},
|
|
1518
|
+
"requireInteraction": {
|
|
1519
|
+
"kind": "boolean",
|
|
1520
|
+
"doc": "Stay until the user dismisses it"
|
|
1521
|
+
},
|
|
1522
|
+
"silent": {
|
|
1523
|
+
"kind": "boolean",
|
|
1524
|
+
"doc": "No sound or vibration"
|
|
1525
|
+
},
|
|
1526
|
+
"data": {
|
|
1527
|
+
"kind": "any",
|
|
1528
|
+
"doc": "Data kept on the native notification"
|
|
1529
|
+
},
|
|
1530
|
+
"onClick": {
|
|
1531
|
+
"kind": "function",
|
|
1532
|
+
"nullable": true,
|
|
1533
|
+
"doc": "Notification clicked"
|
|
1534
|
+
},
|
|
1535
|
+
"onClose": {
|
|
1536
|
+
"kind": "function",
|
|
1537
|
+
"nullable": true,
|
|
1538
|
+
"doc": "Notification closed"
|
|
1539
|
+
},
|
|
1540
|
+
"onError": {
|
|
1541
|
+
"kind": "function",
|
|
1542
|
+
"nullable": true,
|
|
1543
|
+
"doc": "Unsupported, permission denied, or the native notification failed"
|
|
1544
|
+
},
|
|
1545
|
+
"onShow": {
|
|
1546
|
+
"kind": "function",
|
|
1547
|
+
"nullable": true,
|
|
1548
|
+
"doc": "Notification shown"
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1551
|
+
"DropdownItem": {
|
|
1552
|
+
"label": {
|
|
1553
|
+
"kind": "string",
|
|
1554
|
+
"doc": "Display text"
|
|
1555
|
+
},
|
|
1556
|
+
"text": {
|
|
1557
|
+
"kind": "string",
|
|
1558
|
+
"doc": "Alternative to label"
|
|
1559
|
+
},
|
|
1560
|
+
"name": {
|
|
1561
|
+
"kind": "string",
|
|
1562
|
+
"doc": "Alternative to label"
|
|
1563
|
+
},
|
|
1564
|
+
"value": {
|
|
1565
|
+
"kind": "any",
|
|
1566
|
+
"doc": "Value when selected (default: the item's index)"
|
|
1567
|
+
},
|
|
1568
|
+
"icon": {
|
|
1569
|
+
"kind": "string",
|
|
1570
|
+
"doc": "Icon HTML"
|
|
1571
|
+
},
|
|
1572
|
+
"disabled": {
|
|
1573
|
+
"kind": "boolean",
|
|
1574
|
+
"doc": "Shown greyed, not selectable"
|
|
1575
|
+
},
|
|
1576
|
+
"divider": {
|
|
1577
|
+
"kind": "boolean",
|
|
1578
|
+
"doc": "Render as a divider"
|
|
1579
|
+
},
|
|
1580
|
+
"header": {
|
|
1581
|
+
"kind": "string",
|
|
1582
|
+
"doc": "Render as a header with this text"
|
|
1583
|
+
}
|
|
1584
|
+
},
|
|
1585
|
+
"DropdownOptions": {
|
|
1586
|
+
"trigger": {
|
|
1587
|
+
"kind": "enum",
|
|
1588
|
+
"values": [
|
|
1589
|
+
"click",
|
|
1590
|
+
"hover"
|
|
1591
|
+
],
|
|
1592
|
+
"doc": "'hover' also opens on click (touch has no hover)"
|
|
1593
|
+
},
|
|
1594
|
+
"position": {
|
|
1595
|
+
"kind": "enum",
|
|
1596
|
+
"values": [
|
|
1597
|
+
"bottom-start",
|
|
1598
|
+
"bottom-end",
|
|
1599
|
+
"top-start",
|
|
1600
|
+
"top-end",
|
|
1601
|
+
"left-start",
|
|
1602
|
+
"left-end",
|
|
1603
|
+
"right-start",
|
|
1604
|
+
"right-end"
|
|
1605
|
+
],
|
|
1606
|
+
"doc": "Preferred menu position - flipped or clamped if it would open off screen"
|
|
1607
|
+
},
|
|
1608
|
+
"offset": {
|
|
1609
|
+
"kind": "array",
|
|
1610
|
+
"doc": "Position offset [x, y]"
|
|
1611
|
+
},
|
|
1612
|
+
"flip": {
|
|
1613
|
+
"kind": "boolean",
|
|
1614
|
+
"doc": "Flip to the opposite side and clamp to the viewport rather than open off screen"
|
|
1615
|
+
},
|
|
1616
|
+
"animation": {
|
|
1617
|
+
"kind": "boolean",
|
|
1618
|
+
"doc": "Fade the menu"
|
|
1619
|
+
},
|
|
1620
|
+
"animationDuration": {
|
|
1621
|
+
"kind": "number",
|
|
1622
|
+
"doc": "Animation duration in ms"
|
|
1623
|
+
},
|
|
1624
|
+
"hoverOpenDelay": {
|
|
1625
|
+
"kind": "number",
|
|
1626
|
+
"doc": "ms before a hover opens the menu"
|
|
1627
|
+
},
|
|
1628
|
+
"hoverCloseDelay": {
|
|
1629
|
+
"kind": "number",
|
|
1630
|
+
"doc": "ms of grace before a hover menu closes once the pointer has left trigger, menu and the gap between"
|
|
1631
|
+
},
|
|
1632
|
+
"closeOnSelect": {
|
|
1633
|
+
"kind": "boolean",
|
|
1634
|
+
"doc": "Close after an item is chosen"
|
|
1635
|
+
},
|
|
1636
|
+
"closeOnClickOutside": {
|
|
1637
|
+
"kind": "boolean",
|
|
1638
|
+
"doc": "Close on a click outside"
|
|
1639
|
+
},
|
|
1640
|
+
"closeOnEscape": {
|
|
1641
|
+
"kind": "boolean",
|
|
1642
|
+
"doc": "Close on Esc and restore focus to the trigger"
|
|
1643
|
+
},
|
|
1644
|
+
"closeOthers": {
|
|
1645
|
+
"kind": "boolean",
|
|
1646
|
+
"doc": "Opening this dropdown closes any other open one"
|
|
1647
|
+
},
|
|
1648
|
+
"items": {
|
|
1649
|
+
"kind": "array",
|
|
1650
|
+
"of": {
|
|
1651
|
+
"kind": "string",
|
|
1652
|
+
"kinds": [
|
|
1653
|
+
"string",
|
|
1654
|
+
"object"
|
|
1655
|
+
],
|
|
1656
|
+
"type": "DropdownItem"
|
|
1657
|
+
},
|
|
1658
|
+
"doc": "Menu items"
|
|
1659
|
+
},
|
|
1660
|
+
"model": {
|
|
1661
|
+
"kind": "any",
|
|
1662
|
+
"doc": "A Domma Model holding the items array (with modelKey)"
|
|
1663
|
+
},
|
|
1664
|
+
"modelKey": {
|
|
1665
|
+
"kind": "string",
|
|
1666
|
+
"nullable": true,
|
|
1667
|
+
"doc": "Model key for the items array"
|
|
1668
|
+
},
|
|
1669
|
+
"selectedKey": {
|
|
1670
|
+
"kind": "string",
|
|
1671
|
+
"doc": "Model key the selected value is written to (default `<modelKey>_selected`)"
|
|
1672
|
+
},
|
|
1673
|
+
"itemTemplate": {
|
|
1674
|
+
"kind": "function",
|
|
1675
|
+
"nullable": true,
|
|
1676
|
+
"doc": "Item HTML for object items"
|
|
1677
|
+
},
|
|
1678
|
+
"onBeforeOpen": {
|
|
1679
|
+
"kind": "function",
|
|
1680
|
+
"nullable": true,
|
|
1681
|
+
"doc": "Return false to keep it closed"
|
|
1682
|
+
},
|
|
1683
|
+
"onOpen": {
|
|
1684
|
+
"kind": "function",
|
|
1685
|
+
"nullable": true,
|
|
1686
|
+
"doc": "Menu opened"
|
|
1687
|
+
},
|
|
1688
|
+
"onBeforeClose": {
|
|
1689
|
+
"kind": "function",
|
|
1690
|
+
"nullable": true,
|
|
1691
|
+
"doc": "Return false to keep it open"
|
|
1692
|
+
},
|
|
1693
|
+
"onClose": {
|
|
1694
|
+
"kind": "function",
|
|
1695
|
+
"nullable": true,
|
|
1696
|
+
"doc": "Menu closed"
|
|
1697
|
+
},
|
|
1698
|
+
"onSelect": {
|
|
1699
|
+
"kind": "function",
|
|
1700
|
+
"nullable": true,
|
|
1701
|
+
"doc": "An item was chosen"
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1704
|
+
"DropzoneUploadOptions": {
|
|
1705
|
+
"url": {
|
|
1706
|
+
"kind": "string",
|
|
1707
|
+
"kinds": [
|
|
1708
|
+
"string",
|
|
1709
|
+
"function"
|
|
1710
|
+
]
|
|
1711
|
+
},
|
|
1712
|
+
"method": {
|
|
1713
|
+
"kind": "string",
|
|
1714
|
+
"doc": "Default 'POST'"
|
|
1715
|
+
},
|
|
1716
|
+
"field": {
|
|
1717
|
+
"kind": "string",
|
|
1718
|
+
"doc": "FormData field for the file. Default 'file'"
|
|
1719
|
+
},
|
|
1720
|
+
"headers": {
|
|
1721
|
+
"kind": "object",
|
|
1722
|
+
"kinds": [
|
|
1723
|
+
"object",
|
|
1724
|
+
"function"
|
|
1725
|
+
],
|
|
1726
|
+
"each": {
|
|
1727
|
+
"kind": "string"
|
|
1728
|
+
}
|
|
1729
|
+
},
|
|
1730
|
+
"withCredentials": {
|
|
1731
|
+
"kind": "boolean"
|
|
1732
|
+
},
|
|
1733
|
+
"concurrency": {
|
|
1734
|
+
"kind": "number",
|
|
1735
|
+
"doc": "Files sent at once. Default 2"
|
|
1736
|
+
},
|
|
1737
|
+
"data": {
|
|
1738
|
+
"kind": "object",
|
|
1739
|
+
"kinds": [
|
|
1740
|
+
"object",
|
|
1741
|
+
"function"
|
|
1742
|
+
],
|
|
1743
|
+
"each": {
|
|
1744
|
+
"kind": "string",
|
|
1745
|
+
"kinds": [
|
|
1746
|
+
"string",
|
|
1747
|
+
"object"
|
|
1748
|
+
]
|
|
1749
|
+
},
|
|
1750
|
+
"doc": "Extra FormData fields"
|
|
1751
|
+
},
|
|
1752
|
+
"xhr": {
|
|
1753
|
+
"kind": "function",
|
|
1754
|
+
"doc": "Make the request object (tests, pages without a server). Default: new XMLHttpRequest()"
|
|
1755
|
+
}
|
|
1756
|
+
},
|
|
1757
|
+
"EventAction": {
|
|
1758
|
+
"target": {
|
|
1759
|
+
"kind": "string",
|
|
1760
|
+
"doc": "Selector of the elements to change (default: the event target)"
|
|
1761
|
+
},
|
|
1762
|
+
"css": {
|
|
1763
|
+
"kind": "object",
|
|
1764
|
+
"each": {
|
|
1765
|
+
"kind": "string",
|
|
1766
|
+
"kinds": [
|
|
1767
|
+
"string",
|
|
1768
|
+
"number"
|
|
1769
|
+
]
|
|
1770
|
+
}
|
|
1771
|
+
},
|
|
1772
|
+
"text": {
|
|
1773
|
+
"kind": "string",
|
|
1774
|
+
"kinds": [
|
|
1775
|
+
"string",
|
|
1776
|
+
"number",
|
|
1777
|
+
"boolean"
|
|
1778
|
+
],
|
|
1779
|
+
"doc": "Converted to text, as textContent does"
|
|
1780
|
+
},
|
|
1781
|
+
"html": {
|
|
1782
|
+
"kind": "string",
|
|
1783
|
+
"kinds": [
|
|
1784
|
+
"string",
|
|
1785
|
+
"number",
|
|
1786
|
+
"boolean"
|
|
1787
|
+
]
|
|
1788
|
+
},
|
|
1789
|
+
"addClass": {
|
|
1790
|
+
"kind": "string"
|
|
1791
|
+
},
|
|
1792
|
+
"removeClass": {
|
|
1793
|
+
"kind": "string"
|
|
1794
|
+
},
|
|
1795
|
+
"toggleClass": {
|
|
1796
|
+
"kind": "string"
|
|
1797
|
+
},
|
|
1798
|
+
"log": {
|
|
1799
|
+
"kind": "string",
|
|
1800
|
+
"doc": "Written to the console"
|
|
1801
|
+
}
|
|
1802
|
+
},
|
|
1803
|
+
"FooterBrand": {
|
|
1804
|
+
"text": {
|
|
1805
|
+
"kind": "string"
|
|
1806
|
+
},
|
|
1807
|
+
"logo": {
|
|
1808
|
+
"kind": "string",
|
|
1809
|
+
"doc": "Logo image URL"
|
|
1810
|
+
},
|
|
1811
|
+
"url": {
|
|
1812
|
+
"kind": "string"
|
|
1813
|
+
},
|
|
1814
|
+
"description": {
|
|
1815
|
+
"kind": "string"
|
|
1816
|
+
}
|
|
1817
|
+
},
|
|
1818
|
+
"FooterColumn": {
|
|
1819
|
+
"title": {
|
|
1820
|
+
"kind": "string"
|
|
1821
|
+
},
|
|
1822
|
+
"links": {
|
|
1823
|
+
"kind": "array",
|
|
1824
|
+
"of": {
|
|
1825
|
+
"kind": "object",
|
|
1826
|
+
"type": "FooterLink"
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
},
|
|
1830
|
+
"FooterLink": {
|
|
1831
|
+
"text": {
|
|
1832
|
+
"kind": "string"
|
|
1833
|
+
},
|
|
1834
|
+
"url": {
|
|
1835
|
+
"kind": "string"
|
|
1836
|
+
},
|
|
1837
|
+
"icon": {
|
|
1838
|
+
"kind": "string",
|
|
1839
|
+
"doc": "Domma icon name"
|
|
1840
|
+
}
|
|
1841
|
+
},
|
|
1842
|
+
"FooterOptions": {
|
|
1843
|
+
"variant": {
|
|
1844
|
+
"kind": "string"
|
|
1845
|
+
},
|
|
1846
|
+
"layout": {
|
|
1847
|
+
"kind": "enum",
|
|
1848
|
+
"values": [
|
|
1849
|
+
"simple",
|
|
1850
|
+
"columns",
|
|
1851
|
+
"minimal"
|
|
1852
|
+
]
|
|
1853
|
+
},
|
|
1854
|
+
"brand": {
|
|
1855
|
+
"kind": "object",
|
|
1856
|
+
"type": "FooterBrand",
|
|
1857
|
+
"nullable": true
|
|
1858
|
+
},
|
|
1859
|
+
"columns": {
|
|
1860
|
+
"kind": "array",
|
|
1861
|
+
"of": {
|
|
1862
|
+
"kind": "object",
|
|
1863
|
+
"type": "FooterColumn"
|
|
1864
|
+
},
|
|
1865
|
+
"doc": "For the 'columns' layout"
|
|
1866
|
+
},
|
|
1867
|
+
"links": {
|
|
1868
|
+
"kind": "array",
|
|
1869
|
+
"of": {
|
|
1870
|
+
"kind": "object",
|
|
1871
|
+
"type": "FooterLink"
|
|
1872
|
+
},
|
|
1873
|
+
"doc": "Simple link list"
|
|
1874
|
+
},
|
|
1875
|
+
"social": {
|
|
1876
|
+
"kind": "array",
|
|
1877
|
+
"of": {
|
|
1878
|
+
"kind": "object",
|
|
1879
|
+
"type": "FooterSocial"
|
|
1880
|
+
},
|
|
1881
|
+
"doc": "Social icons"
|
|
1882
|
+
},
|
|
1883
|
+
"copyright": {
|
|
1884
|
+
"kind": "string",
|
|
1885
|
+
"kinds": [
|
|
1886
|
+
"string",
|
|
1887
|
+
"object"
|
|
1888
|
+
],
|
|
1889
|
+
"nullable": true,
|
|
1890
|
+
"doc": "Text, or the year for '© <year> All rights reserved'"
|
|
1891
|
+
},
|
|
1892
|
+
"className": {
|
|
1893
|
+
"kind": "string",
|
|
1894
|
+
"doc": "Extra classes"
|
|
1895
|
+
},
|
|
1896
|
+
"position": {
|
|
1897
|
+
"kind": "enum",
|
|
1898
|
+
"values": [
|
|
1899
|
+
"static",
|
|
1900
|
+
"fixed",
|
|
1901
|
+
"sticky"
|
|
1902
|
+
]
|
|
1903
|
+
}
|
|
1904
|
+
},
|
|
1905
|
+
"FooterSocial": {
|
|
1906
|
+
"icon": {
|
|
1907
|
+
"kind": "string",
|
|
1908
|
+
"doc": "Domma icon name"
|
|
1909
|
+
},
|
|
1910
|
+
"url": {
|
|
1911
|
+
"kind": "string"
|
|
1912
|
+
},
|
|
1913
|
+
"label": {
|
|
1914
|
+
"kind": "string",
|
|
1915
|
+
"doc": "Accessible name (default: the icon name)"
|
|
1916
|
+
}
|
|
1917
|
+
},
|
|
1918
|
+
"FormFieldConfig": {
|
|
1919
|
+
"placeholder": {
|
|
1920
|
+
"kind": "string"
|
|
1921
|
+
},
|
|
1922
|
+
"hint": {
|
|
1923
|
+
"kind": "string",
|
|
1924
|
+
"doc": "Small text beside the label; also the message when `pattern` fails"
|
|
1925
|
+
},
|
|
1926
|
+
"helperText": {
|
|
1927
|
+
"kind": "string",
|
|
1928
|
+
"doc": "Text under the control (HTML)"
|
|
1929
|
+
},
|
|
1930
|
+
"tooltip": {
|
|
1931
|
+
"kind": "string",
|
|
1932
|
+
"doc": "Tooltip on the label (a slider field also passes it to E.rangeSlider)"
|
|
1933
|
+
},
|
|
1934
|
+
"span": {
|
|
1935
|
+
"kind": "number",
|
|
1936
|
+
"doc": "Columns the field spans in a grid layout"
|
|
1937
|
+
},
|
|
1938
|
+
"disabled": {
|
|
1939
|
+
"kind": "boolean"
|
|
1940
|
+
},
|
|
1941
|
+
"rows": {
|
|
1942
|
+
"kind": "number",
|
|
1943
|
+
"doc": "textarea rows (default 3)"
|
|
1944
|
+
},
|
|
1945
|
+
"step": {
|
|
1946
|
+
"kind": "number",
|
|
1947
|
+
"kinds": [
|
|
1948
|
+
"number",
|
|
1949
|
+
"enum"
|
|
1950
|
+
],
|
|
1951
|
+
"values": [
|
|
1952
|
+
"any"
|
|
1953
|
+
],
|
|
1954
|
+
"doc": "Used when the field definition has no `step`"
|
|
1955
|
+
},
|
|
1956
|
+
"autocomplete": {
|
|
1957
|
+
"kind": "string"
|
|
1958
|
+
},
|
|
1959
|
+
"prefix": {
|
|
1960
|
+
"kind": "string",
|
|
1961
|
+
"kinds": [
|
|
1962
|
+
"string",
|
|
1963
|
+
"object"
|
|
1964
|
+
]
|
|
1965
|
+
},
|
|
1966
|
+
"suffix": {
|
|
1967
|
+
"kind": "string",
|
|
1968
|
+
"kinds": [
|
|
1969
|
+
"string",
|
|
1970
|
+
"object"
|
|
1971
|
+
]
|
|
1972
|
+
},
|
|
1973
|
+
"reveal": {
|
|
1974
|
+
"kind": "boolean",
|
|
1975
|
+
"doc": "password: show / hide toggle"
|
|
1976
|
+
},
|
|
1977
|
+
"clear": {
|
|
1978
|
+
"kind": "boolean",
|
|
1979
|
+
"doc": "text-like inputs and textareas: a clear button"
|
|
1980
|
+
},
|
|
1981
|
+
"stepper": {
|
|
1982
|
+
"kind": "boolean",
|
|
1983
|
+
"doc": "number / integer / float: - and + buttons"
|
|
1984
|
+
},
|
|
1985
|
+
"counter": {
|
|
1986
|
+
"kind": "number",
|
|
1987
|
+
"kinds": [
|
|
1988
|
+
"number",
|
|
1989
|
+
"boolean"
|
|
1990
|
+
],
|
|
1991
|
+
"doc": "text-like inputs and textareas: a character counter; true reads `maxLength`"
|
|
1992
|
+
},
|
|
1993
|
+
"labels": {
|
|
1994
|
+
"kind": "object",
|
|
1995
|
+
"kinds": [
|
|
1996
|
+
"object",
|
|
1997
|
+
"function"
|
|
1998
|
+
],
|
|
1999
|
+
"each": {
|
|
2000
|
+
"kind": "string"
|
|
2001
|
+
},
|
|
2002
|
+
"doc": "Text for the input extras or the dropzone; a slider's value formatter"
|
|
2003
|
+
},
|
|
2004
|
+
"accept": {
|
|
2005
|
+
"kind": "string",
|
|
2006
|
+
"kinds": [
|
|
2007
|
+
"string",
|
|
2008
|
+
"array"
|
|
2009
|
+
],
|
|
2010
|
+
"of": {
|
|
2011
|
+
"kind": "string"
|
|
2012
|
+
},
|
|
2013
|
+
"doc": "file / dropzone"
|
|
2014
|
+
},
|
|
2015
|
+
"multiple": {
|
|
2016
|
+
"kind": "boolean",
|
|
2017
|
+
"doc": "file / dropzone (a dropzone allows several unless false)"
|
|
2018
|
+
},
|
|
2019
|
+
"slider": {
|
|
2020
|
+
"kind": "boolean",
|
|
2021
|
+
"doc": "Render a `range` field as E.rangeSlider"
|
|
2022
|
+
},
|
|
2023
|
+
"range": {
|
|
2024
|
+
"kind": "boolean",
|
|
2025
|
+
"doc": "slider: two thumbs, value [low, high]"
|
|
2026
|
+
},
|
|
2027
|
+
"ticks": {
|
|
2028
|
+
"kind": "number",
|
|
2029
|
+
"kinds": [
|
|
2030
|
+
"number",
|
|
2031
|
+
"boolean",
|
|
2032
|
+
"array"
|
|
2033
|
+
],
|
|
2034
|
+
"of": {
|
|
2035
|
+
"kind": "number"
|
|
2036
|
+
}
|
|
2037
|
+
},
|
|
2038
|
+
"tickLabels": {
|
|
2039
|
+
"kind": "boolean"
|
|
2040
|
+
},
|
|
2041
|
+
"format": {
|
|
2042
|
+
"kind": "function",
|
|
2043
|
+
"nullable": true
|
|
2044
|
+
},
|
|
2045
|
+
"marks": {
|
|
2046
|
+
"kind": "array",
|
|
2047
|
+
"of": {
|
|
2048
|
+
"kind": "object",
|
|
2049
|
+
"type": "RangeSliderMark"
|
|
2050
|
+
},
|
|
2051
|
+
"nullable": true
|
|
2052
|
+
},
|
|
2053
|
+
"minDistance": {
|
|
2054
|
+
"kind": "number"
|
|
2055
|
+
},
|
|
2056
|
+
"orientation": {
|
|
2057
|
+
"kind": "enum",
|
|
2058
|
+
"values": [
|
|
2059
|
+
"horizontal",
|
|
2060
|
+
"vertical"
|
|
2061
|
+
]
|
|
2062
|
+
},
|
|
2063
|
+
"rtl": {
|
|
2064
|
+
"kind": "boolean",
|
|
2065
|
+
"nullable": true
|
|
2066
|
+
},
|
|
2067
|
+
"names": {
|
|
2068
|
+
"kind": "array",
|
|
2069
|
+
"nullable": true
|
|
2070
|
+
},
|
|
2071
|
+
"ariaLabels": {
|
|
2072
|
+
"kind": "array",
|
|
2073
|
+
"nullable": true
|
|
2074
|
+
},
|
|
2075
|
+
"className": {
|
|
2076
|
+
"kind": "string"
|
|
2077
|
+
},
|
|
2078
|
+
"maxFiles": {
|
|
2079
|
+
"kind": "number",
|
|
2080
|
+
"nullable": true
|
|
2081
|
+
},
|
|
2082
|
+
"maxSize": {
|
|
2083
|
+
"kind": "number",
|
|
2084
|
+
"nullable": true,
|
|
2085
|
+
"doc": "Bytes"
|
|
2086
|
+
},
|
|
2087
|
+
"minSize": {
|
|
2088
|
+
"kind": "number",
|
|
2089
|
+
"nullable": true,
|
|
2090
|
+
"doc": "Bytes"
|
|
2091
|
+
},
|
|
2092
|
+
"previews": {
|
|
2093
|
+
"kind": "boolean"
|
|
2094
|
+
},
|
|
2095
|
+
"upload": {
|
|
2096
|
+
"kind": "object",
|
|
2097
|
+
"type": "DropzoneUploadOptions",
|
|
2098
|
+
"nullable": true
|
|
2099
|
+
},
|
|
2100
|
+
"autoUpload": {
|
|
2101
|
+
"kind": "boolean"
|
|
2102
|
+
},
|
|
2103
|
+
"retry": {
|
|
2104
|
+
"kind": "number"
|
|
2105
|
+
},
|
|
2106
|
+
"list": {
|
|
2107
|
+
"kind": "string",
|
|
2108
|
+
"kinds": [
|
|
2109
|
+
"string",
|
|
2110
|
+
"boolean",
|
|
2111
|
+
"object"
|
|
2112
|
+
]
|
|
2113
|
+
}
|
|
2114
|
+
},
|
|
2115
|
+
"FormFieldDefinition": {
|
|
2116
|
+
"type": {
|
|
2117
|
+
"kind": "any",
|
|
2118
|
+
"kinds": [
|
|
2119
|
+
"enum",
|
|
2120
|
+
"any"
|
|
2121
|
+
],
|
|
2122
|
+
"values": [
|
|
2123
|
+
"string",
|
|
2124
|
+
"number",
|
|
2125
|
+
"boolean",
|
|
2126
|
+
"signature",
|
|
2127
|
+
"checkbox",
|
|
2128
|
+
"radio",
|
|
2129
|
+
"email",
|
|
2130
|
+
"password",
|
|
2131
|
+
"integer",
|
|
2132
|
+
"float",
|
|
2133
|
+
"date",
|
|
2134
|
+
"datetime",
|
|
2135
|
+
"time",
|
|
2136
|
+
"url",
|
|
2137
|
+
"tel",
|
|
2138
|
+
"color",
|
|
2139
|
+
"range",
|
|
2140
|
+
"file",
|
|
2141
|
+
"hidden",
|
|
2142
|
+
"select",
|
|
2143
|
+
"multiselect",
|
|
2144
|
+
"textarea",
|
|
2145
|
+
"checkbox-group",
|
|
2146
|
+
"chooser",
|
|
2147
|
+
"slider",
|
|
2148
|
+
"dropzone"
|
|
2149
|
+
],
|
|
2150
|
+
"doc": "default 'string'"
|
|
2151
|
+
},
|
|
2152
|
+
"label": {
|
|
2153
|
+
"kind": "string",
|
|
2154
|
+
"doc": "default: the capitalised field name"
|
|
2155
|
+
},
|
|
2156
|
+
"default": {
|
|
2157
|
+
"kind": "any"
|
|
2158
|
+
},
|
|
2159
|
+
"required": {
|
|
2160
|
+
"kind": "boolean"
|
|
2161
|
+
},
|
|
2162
|
+
"readonly": {
|
|
2163
|
+
"kind": "boolean",
|
|
2164
|
+
"doc": "Renders the control disabled"
|
|
2165
|
+
},
|
|
2166
|
+
"min": {
|
|
2167
|
+
"kind": "number"
|
|
2168
|
+
},
|
|
2169
|
+
"max": {
|
|
2170
|
+
"kind": "number"
|
|
2171
|
+
},
|
|
2172
|
+
"step": {
|
|
2173
|
+
"kind": "number",
|
|
2174
|
+
"kinds": [
|
|
2175
|
+
"number",
|
|
2176
|
+
"enum"
|
|
2177
|
+
],
|
|
2178
|
+
"values": [
|
|
2179
|
+
"any"
|
|
2180
|
+
]
|
|
2181
|
+
},
|
|
2182
|
+
"minLength": {
|
|
2183
|
+
"kind": "number"
|
|
2184
|
+
},
|
|
2185
|
+
"maxLength": {
|
|
2186
|
+
"kind": "number"
|
|
2187
|
+
},
|
|
2188
|
+
"pattern": {
|
|
2189
|
+
"kind": "object"
|
|
2190
|
+
},
|
|
2191
|
+
"validate": {
|
|
2192
|
+
"kind": "function",
|
|
2193
|
+
"doc": "true passes; a string (or anything else) fails with that message"
|
|
2194
|
+
},
|
|
2195
|
+
"options": {
|
|
2196
|
+
"kind": "array",
|
|
2197
|
+
"of": {
|
|
2198
|
+
"kind": "string",
|
|
2199
|
+
"kinds": [
|
|
2200
|
+
"string",
|
|
2201
|
+
"object"
|
|
2202
|
+
]
|
|
2203
|
+
},
|
|
2204
|
+
"doc": "Choices for select / radio / checkbox-group / multiselect / chooser"
|
|
2205
|
+
},
|
|
2206
|
+
"formConfig": {
|
|
2207
|
+
"kind": "object",
|
|
2208
|
+
"type": "FormFieldConfig"
|
|
2209
|
+
},
|
|
2210
|
+
"tableRender": {
|
|
2211
|
+
"kind": "function",
|
|
2212
|
+
"doc": "`F.crud` table cell renderer"
|
|
2213
|
+
},
|
|
2214
|
+
"variant": {
|
|
2215
|
+
"kind": "enum",
|
|
2216
|
+
"values": [
|
|
2217
|
+
"card",
|
|
2218
|
+
"chip"
|
|
2219
|
+
],
|
|
2220
|
+
"doc": "chooser (default 'card')"
|
|
2221
|
+
},
|
|
2222
|
+
"multiple": {
|
|
2223
|
+
"kind": "boolean",
|
|
2224
|
+
"doc": "chooser: several choices (value is an array)"
|
|
2225
|
+
},
|
|
2226
|
+
"density": {
|
|
2227
|
+
"kind": "enum",
|
|
2228
|
+
"values": [
|
|
2229
|
+
"comfortable",
|
|
2230
|
+
"compact"
|
|
2231
|
+
],
|
|
2232
|
+
"doc": "chooser"
|
|
2233
|
+
},
|
|
2234
|
+
"columns": {
|
|
2235
|
+
"kind": "number",
|
|
2236
|
+
"doc": "chooser (default 3)"
|
|
2237
|
+
},
|
|
2238
|
+
"accent": {
|
|
2239
|
+
"kind": "string",
|
|
2240
|
+
"doc": "chooser: semantic name or CSS colour (default 'primary')"
|
|
2241
|
+
},
|
|
2242
|
+
"accentStyle": {
|
|
2243
|
+
"kind": "enum",
|
|
2244
|
+
"values": [
|
|
2245
|
+
"border",
|
|
2246
|
+
"solid",
|
|
2247
|
+
"glow",
|
|
2248
|
+
"overlay",
|
|
2249
|
+
"underline"
|
|
2250
|
+
],
|
|
2251
|
+
"doc": "chooser"
|
|
2252
|
+
},
|
|
2253
|
+
"glow": {
|
|
2254
|
+
"kind": "boolean",
|
|
2255
|
+
"doc": "chooser"
|
|
2256
|
+
},
|
|
2257
|
+
"glowColour": {
|
|
2258
|
+
"kind": "string",
|
|
2259
|
+
"nullable": true,
|
|
2260
|
+
"doc": "chooser"
|
|
2261
|
+
},
|
|
2262
|
+
"shadow": {
|
|
2263
|
+
"kind": "string",
|
|
2264
|
+
"doc": "chooser (default 'none')"
|
|
2265
|
+
},
|
|
2266
|
+
"shadowColour": {
|
|
2267
|
+
"kind": "string",
|
|
2268
|
+
"nullable": true,
|
|
2269
|
+
"doc": "chooser"
|
|
2270
|
+
}
|
|
2271
|
+
},
|
|
2272
|
+
"FormSection": {
|
|
2273
|
+
"title": {
|
|
2274
|
+
"kind": "string"
|
|
2275
|
+
},
|
|
2276
|
+
"fields": {
|
|
2277
|
+
"kind": "array",
|
|
2278
|
+
"of": {
|
|
2279
|
+
"kind": "string"
|
|
2280
|
+
},
|
|
2281
|
+
"doc": "Blueprint keys, in order"
|
|
2282
|
+
},
|
|
2283
|
+
"layout": {
|
|
2284
|
+
"kind": "enum",
|
|
2285
|
+
"values": [
|
|
2286
|
+
"stacked",
|
|
2287
|
+
"grid"
|
|
2288
|
+
]
|
|
2289
|
+
},
|
|
2290
|
+
"columns": {
|
|
2291
|
+
"kind": "number",
|
|
2292
|
+
"doc": "grid columns (default 2)"
|
|
2293
|
+
}
|
|
2294
|
+
},
|
|
2295
|
+
"FormSetupOptions": {
|
|
2296
|
+
"layout": {
|
|
2297
|
+
"kind": "enum",
|
|
2298
|
+
"values": [
|
|
2299
|
+
"stacked",
|
|
2300
|
+
"grid",
|
|
2301
|
+
"inline"
|
|
2302
|
+
],
|
|
2303
|
+
"doc": "default 'stacked'"
|
|
2304
|
+
},
|
|
2305
|
+
"columns": {
|
|
2306
|
+
"kind": "number",
|
|
2307
|
+
"doc": "grid layout columns (2 or 3, default 2)"
|
|
2308
|
+
},
|
|
2309
|
+
"labelPosition": {
|
|
2310
|
+
"kind": "enum",
|
|
2311
|
+
"values": [
|
|
2312
|
+
"top",
|
|
2313
|
+
"left",
|
|
2314
|
+
"floating"
|
|
2315
|
+
],
|
|
2316
|
+
"doc": "default 'top'"
|
|
2317
|
+
},
|
|
2318
|
+
"showLabels": {
|
|
2319
|
+
"kind": "boolean",
|
|
2320
|
+
"doc": "default true"
|
|
2321
|
+
},
|
|
2322
|
+
"showHelperText": {
|
|
2323
|
+
"kind": "boolean",
|
|
2324
|
+
"doc": "default true"
|
|
2325
|
+
},
|
|
2326
|
+
"showHints": {
|
|
2327
|
+
"kind": "boolean",
|
|
2328
|
+
"doc": "default true"
|
|
2329
|
+
},
|
|
2330
|
+
"validationMode": {
|
|
2331
|
+
"kind": "enum",
|
|
2332
|
+
"values": [
|
|
2333
|
+
"blur",
|
|
2334
|
+
"change",
|
|
2335
|
+
"submit"
|
|
2336
|
+
],
|
|
2337
|
+
"doc": "default 'blur'"
|
|
2338
|
+
},
|
|
2339
|
+
"cssFramework": {
|
|
2340
|
+
"kind": "enum",
|
|
2341
|
+
"values": [
|
|
2342
|
+
"domma",
|
|
2343
|
+
"bootstrap",
|
|
2344
|
+
"tailwind"
|
|
2345
|
+
],
|
|
2346
|
+
"doc": "default 'domma'"
|
|
2347
|
+
},
|
|
2348
|
+
"className": {
|
|
2349
|
+
"kind": "string",
|
|
2350
|
+
"doc": "default 'domma-form'"
|
|
2351
|
+
},
|
|
2352
|
+
"fieldClassName": {
|
|
2353
|
+
"kind": "string",
|
|
2354
|
+
"doc": "default 'domma-form-field'"
|
|
2355
|
+
},
|
|
2356
|
+
"labelClassName": {
|
|
2357
|
+
"kind": "string",
|
|
2358
|
+
"doc": "default 'form-label'"
|
|
2359
|
+
},
|
|
2360
|
+
"inputClassName": {
|
|
2361
|
+
"kind": "string",
|
|
2362
|
+
"doc": "default 'form-input'"
|
|
2363
|
+
},
|
|
2364
|
+
"errorClassName": {
|
|
2365
|
+
"kind": "string",
|
|
2366
|
+
"doc": "default 'form-error'"
|
|
2367
|
+
},
|
|
2368
|
+
"helperClassName": {
|
|
2369
|
+
"kind": "string",
|
|
2370
|
+
"doc": "default 'form-helper-text'"
|
|
2371
|
+
},
|
|
2372
|
+
"hintClassName": {
|
|
2373
|
+
"kind": "string",
|
|
2374
|
+
"doc": "default 'form-hint'"
|
|
2375
|
+
},
|
|
2376
|
+
"cardWrapper": {
|
|
2377
|
+
"kind": "boolean",
|
|
2378
|
+
"doc": "Wrap the form in a card (default false)"
|
|
2379
|
+
},
|
|
2380
|
+
"sections": {
|
|
2381
|
+
"kind": "array",
|
|
2382
|
+
"of": {
|
|
2383
|
+
"kind": "object",
|
|
2384
|
+
"type": "FormSection"
|
|
2385
|
+
}
|
|
2386
|
+
},
|
|
2387
|
+
"showSubmitButton": {
|
|
2388
|
+
"kind": "boolean",
|
|
2389
|
+
"doc": "default true"
|
|
2390
|
+
},
|
|
2391
|
+
"submitText": {
|
|
2392
|
+
"kind": "string",
|
|
2393
|
+
"doc": "default 'Submit'"
|
|
2394
|
+
},
|
|
2395
|
+
"resetText": {
|
|
2396
|
+
"kind": "string",
|
|
2397
|
+
"doc": "Adds a reset button with this text"
|
|
2398
|
+
},
|
|
2399
|
+
"buttonAlignment": {
|
|
2400
|
+
"kind": "enum",
|
|
2401
|
+
"values": [
|
|
2402
|
+
"left",
|
|
2403
|
+
"center",
|
|
2404
|
+
"right"
|
|
2405
|
+
],
|
|
2406
|
+
"doc": "default 'right'"
|
|
2407
|
+
},
|
|
2408
|
+
"onSubmit": {
|
|
2409
|
+
"kind": "function",
|
|
2410
|
+
"doc": "A valid submit"
|
|
2411
|
+
},
|
|
2412
|
+
"onValidationError": {
|
|
2413
|
+
"kind": "function",
|
|
2414
|
+
"doc": "An invalid submit"
|
|
2415
|
+
},
|
|
2416
|
+
"persist": {
|
|
2417
|
+
"kind": "string",
|
|
2418
|
+
"doc": "Passed to the model: a storage key to keep the values under"
|
|
2419
|
+
},
|
|
2420
|
+
"autoSave": {
|
|
2421
|
+
"kind": "boolean",
|
|
2422
|
+
"doc": "Passed to the model"
|
|
2423
|
+
},
|
|
2424
|
+
"schema": {
|
|
2425
|
+
"kind": "object",
|
|
2426
|
+
"each": {
|
|
2427
|
+
"kind": "object",
|
|
2428
|
+
"type": "FormFieldDefinition"
|
|
2429
|
+
}
|
|
2430
|
+
},
|
|
2431
|
+
"data": {
|
|
2432
|
+
"kind": "object"
|
|
2433
|
+
}
|
|
2434
|
+
},
|
|
2435
|
+
"InitialProperties": {
|
|
2436
|
+
"css": {
|
|
2437
|
+
"kind": "object",
|
|
2438
|
+
"each": {
|
|
2439
|
+
"kind": "string",
|
|
2440
|
+
"kinds": [
|
|
2441
|
+
"string",
|
|
2442
|
+
"number"
|
|
2443
|
+
]
|
|
2444
|
+
}
|
|
2445
|
+
},
|
|
2446
|
+
"text": {
|
|
2447
|
+
"kind": "string",
|
|
2448
|
+
"kinds": [
|
|
2449
|
+
"string",
|
|
2450
|
+
"number",
|
|
2451
|
+
"boolean"
|
|
2452
|
+
],
|
|
2453
|
+
"doc": "Converted to text, as textContent does"
|
|
2454
|
+
},
|
|
2455
|
+
"html": {
|
|
2456
|
+
"kind": "string",
|
|
2457
|
+
"kinds": [
|
|
2458
|
+
"string",
|
|
2459
|
+
"number",
|
|
2460
|
+
"boolean"
|
|
2461
|
+
]
|
|
2462
|
+
},
|
|
2463
|
+
"addClass": {
|
|
2464
|
+
"kind": "string"
|
|
2465
|
+
},
|
|
2466
|
+
"removeClass": {
|
|
2467
|
+
"kind": "string"
|
|
2468
|
+
},
|
|
2469
|
+
"toggleClass": {
|
|
2470
|
+
"kind": "string"
|
|
2471
|
+
},
|
|
2472
|
+
"attr": {
|
|
2473
|
+
"kind": "object",
|
|
2474
|
+
"each": {
|
|
2475
|
+
"kind": "string",
|
|
2476
|
+
"kinds": [
|
|
2477
|
+
"string",
|
|
2478
|
+
"number",
|
|
2479
|
+
"boolean"
|
|
2480
|
+
]
|
|
2481
|
+
},
|
|
2482
|
+
"doc": "Attribute name -> value (converted to text)"
|
|
2483
|
+
}
|
|
2484
|
+
},
|
|
2485
|
+
"InputGroupOptions": {
|
|
2486
|
+
"prefix": {
|
|
2487
|
+
"kind": "string",
|
|
2488
|
+
"kinds": [
|
|
2489
|
+
"string",
|
|
2490
|
+
"number",
|
|
2491
|
+
"boolean",
|
|
2492
|
+
"object"
|
|
2493
|
+
],
|
|
2494
|
+
"nullable": true,
|
|
2495
|
+
"doc": "Addon joined to the start of the input"
|
|
2496
|
+
},
|
|
2497
|
+
"suffix": {
|
|
2498
|
+
"kind": "string",
|
|
2499
|
+
"kinds": [
|
|
2500
|
+
"string",
|
|
2501
|
+
"number",
|
|
2502
|
+
"boolean",
|
|
2503
|
+
"object"
|
|
2504
|
+
],
|
|
2505
|
+
"nullable": true,
|
|
2506
|
+
"doc": "Addon joined to the end of the input"
|
|
2507
|
+
},
|
|
2508
|
+
"reveal": {
|
|
2509
|
+
"kind": "boolean",
|
|
2510
|
+
"doc": "Password inputs: show / hide toggle button (aria-pressed, eye / eye-off)"
|
|
2511
|
+
},
|
|
2512
|
+
"clear": {
|
|
2513
|
+
"kind": "boolean",
|
|
2514
|
+
"doc": "Text-like inputs and textareas: clear button shown while there is a\nvalue; clearing fires input + change and refocuses the input"
|
|
2515
|
+
},
|
|
2516
|
+
"stepper": {
|
|
2517
|
+
"kind": "boolean",
|
|
2518
|
+
"doc": "Number inputs: - and + buttons honouring min / max / step, disabled at\nthe limits, input + change per step, hold to repeat"
|
|
2519
|
+
},
|
|
2520
|
+
"counter": {
|
|
2521
|
+
"kind": "number",
|
|
2522
|
+
"kinds": [
|
|
2523
|
+
"number",
|
|
2524
|
+
"boolean"
|
|
2525
|
+
],
|
|
2526
|
+
"doc": "Text-like inputs and textareas: live \"12 / 200\" counter after the group\n(aria-live polite, added to aria-describedby). `true` reads maxLength;\na number is the limit. `.is-warning` from 90%, `.is-over` past it"
|
|
2527
|
+
},
|
|
2528
|
+
"labels": {
|
|
2529
|
+
"kind": "object",
|
|
2530
|
+
"doc": "Accessible names for the buttons"
|
|
2531
|
+
}
|
|
2532
|
+
},
|
|
2533
|
+
"ListGroupOptions": {
|
|
2534
|
+
"selectable": {
|
|
2535
|
+
"kind": "boolean",
|
|
2536
|
+
"doc": "Items can be selected (role=\"listbox\")"
|
|
2537
|
+
},
|
|
2538
|
+
"multiSelect": {
|
|
2539
|
+
"kind": "boolean",
|
|
2540
|
+
"doc": "Allow several selected items at once"
|
|
2541
|
+
},
|
|
2542
|
+
"activeClass": {
|
|
2543
|
+
"kind": "string",
|
|
2544
|
+
"doc": "Class on selected items"
|
|
2545
|
+
},
|
|
2546
|
+
"disabledClass": {
|
|
2547
|
+
"kind": "string",
|
|
2548
|
+
"doc": "Class marking disabled items"
|
|
2549
|
+
},
|
|
2550
|
+
"itemSelector": {
|
|
2551
|
+
"kind": "string",
|
|
2552
|
+
"doc": "Selector for the items"
|
|
2553
|
+
},
|
|
2554
|
+
"keyboard": {
|
|
2555
|
+
"kind": "boolean",
|
|
2556
|
+
"doc": "Arrow keys, Home/End, Enter/Space"
|
|
2557
|
+
},
|
|
2558
|
+
"loop": {
|
|
2559
|
+
"kind": "boolean",
|
|
2560
|
+
"doc": "Keyboard navigation wraps from last to first"
|
|
2561
|
+
},
|
|
2562
|
+
"focusOnInit": {
|
|
2563
|
+
"kind": "boolean",
|
|
2564
|
+
"doc": "Focus the first enabled item on init"
|
|
2565
|
+
},
|
|
2566
|
+
"onChange": {
|
|
2567
|
+
"kind": "function",
|
|
2568
|
+
"nullable": true,
|
|
2569
|
+
"doc": "Selection changed; the selected items"
|
|
2570
|
+
},
|
|
2571
|
+
"onSelect": {
|
|
2572
|
+
"kind": "function",
|
|
2573
|
+
"nullable": true,
|
|
2574
|
+
"doc": "An item was selected"
|
|
2575
|
+
},
|
|
2576
|
+
"onDeselect": {
|
|
2577
|
+
"kind": "function",
|
|
2578
|
+
"nullable": true,
|
|
2579
|
+
"doc": "An item was deselected"
|
|
2580
|
+
}
|
|
2581
|
+
},
|
|
2582
|
+
"LoaderOptions": {
|
|
2583
|
+
"type": {
|
|
2584
|
+
"kind": "enum",
|
|
2585
|
+
"values": [
|
|
2586
|
+
"pulse",
|
|
2587
|
+
"spinner",
|
|
2588
|
+
"dots",
|
|
2589
|
+
"bars"
|
|
2590
|
+
],
|
|
2591
|
+
"doc": "Animation"
|
|
2592
|
+
},
|
|
2593
|
+
"size": {
|
|
2594
|
+
"kind": "number",
|
|
2595
|
+
"kinds": [
|
|
2596
|
+
"number",
|
|
2597
|
+
"enum"
|
|
2598
|
+
],
|
|
2599
|
+
"values": [
|
|
2600
|
+
"sm",
|
|
2601
|
+
"md",
|
|
2602
|
+
"lg",
|
|
2603
|
+
"small",
|
|
2604
|
+
"medium",
|
|
2605
|
+
"large"
|
|
2606
|
+
],
|
|
2607
|
+
"doc": "Named size or px"
|
|
2608
|
+
},
|
|
2609
|
+
"color": {
|
|
2610
|
+
"kind": "string",
|
|
2611
|
+
"doc": "Theme colour name, 'white', 'dark', or any CSS colour"
|
|
2612
|
+
},
|
|
2613
|
+
"overlay": {
|
|
2614
|
+
"kind": "boolean",
|
|
2615
|
+
"doc": "Cover the container with a backdrop"
|
|
2616
|
+
},
|
|
2617
|
+
"text": {
|
|
2618
|
+
"kind": "string",
|
|
2619
|
+
"doc": "Text under the indicator (also its accessible name)"
|
|
2620
|
+
},
|
|
2621
|
+
"centered": {
|
|
2622
|
+
"kind": "boolean",
|
|
2623
|
+
"doc": "Centre in the container"
|
|
2624
|
+
},
|
|
2625
|
+
"visible": {
|
|
2626
|
+
"kind": "boolean",
|
|
2627
|
+
"doc": "Show at once"
|
|
2628
|
+
},
|
|
2629
|
+
"fullscreen": {
|
|
2630
|
+
"kind": "boolean",
|
|
2631
|
+
"doc": "(fullscreenLoader) the container is shown and hidden with it"
|
|
2632
|
+
},
|
|
2633
|
+
"label": {
|
|
2634
|
+
"kind": "string",
|
|
2635
|
+
"doc": "Accessible name when there is no text"
|
|
2636
|
+
},
|
|
2637
|
+
"onShow": {
|
|
2638
|
+
"kind": "function",
|
|
2639
|
+
"nullable": true,
|
|
2640
|
+
"doc": "When the loader shows"
|
|
2641
|
+
},
|
|
2642
|
+
"onHide": {
|
|
2643
|
+
"kind": "function",
|
|
2644
|
+
"nullable": true,
|
|
2645
|
+
"doc": "When the loader hides"
|
|
2646
|
+
}
|
|
2647
|
+
},
|
|
2648
|
+
"ModalButton": {
|
|
2649
|
+
"id": {
|
|
2650
|
+
"kind": "string",
|
|
2651
|
+
"doc": "Passed to onButtonClick (default `btn-<index>`)"
|
|
2652
|
+
},
|
|
2653
|
+
"text": {
|
|
2654
|
+
"kind": "string",
|
|
2655
|
+
"doc": "Label"
|
|
2656
|
+
},
|
|
2657
|
+
"variant": {
|
|
2658
|
+
"kind": "string",
|
|
2659
|
+
"doc": "Adds `btn-<variant>`"
|
|
2660
|
+
},
|
|
2661
|
+
"className": {
|
|
2662
|
+
"kind": "string",
|
|
2663
|
+
"doc": "Extra classes"
|
|
2664
|
+
},
|
|
2665
|
+
"close": {
|
|
2666
|
+
"kind": "boolean",
|
|
2667
|
+
"doc": "false keeps the modal open after the click"
|
|
2668
|
+
},
|
|
2669
|
+
"onClick": {
|
|
2670
|
+
"kind": "function"
|
|
2671
|
+
}
|
|
2672
|
+
},
|
|
2673
|
+
"ModalOptions": {
|
|
2674
|
+
"backdrop": {
|
|
2675
|
+
"kind": "boolean",
|
|
2676
|
+
"doc": "Show backdrop overlay"
|
|
2677
|
+
},
|
|
2678
|
+
"backdropClose": {
|
|
2679
|
+
"kind": "boolean",
|
|
2680
|
+
"doc": "Close modal when clicking backdrop"
|
|
2681
|
+
},
|
|
2682
|
+
"keyboard": {
|
|
2683
|
+
"kind": "boolean",
|
|
2684
|
+
"doc": "Close modal on Escape key"
|
|
2685
|
+
},
|
|
2686
|
+
"closeOnEscape": {
|
|
2687
|
+
"kind": "boolean",
|
|
2688
|
+
"doc": "Same as `keyboard`; either false keeps Escape from closing"
|
|
2689
|
+
},
|
|
2690
|
+
"animation": {
|
|
2691
|
+
"kind": "boolean",
|
|
2692
|
+
"kinds": [
|
|
2693
|
+
"boolean",
|
|
2694
|
+
"enum"
|
|
2695
|
+
],
|
|
2696
|
+
"values": [
|
|
2697
|
+
"none",
|
|
2698
|
+
"slide",
|
|
2699
|
+
"fade",
|
|
2700
|
+
"zoom"
|
|
2701
|
+
],
|
|
2702
|
+
"doc": "Animation type"
|
|
2703
|
+
},
|
|
2704
|
+
"animationDuration": {
|
|
2705
|
+
"kind": "number",
|
|
2706
|
+
"doc": "Animation duration in ms"
|
|
2707
|
+
},
|
|
2708
|
+
"closeButton": {
|
|
2709
|
+
"kind": "boolean",
|
|
2710
|
+
"doc": "Show close button"
|
|
2711
|
+
},
|
|
2712
|
+
"size": {
|
|
2713
|
+
"kind": "any",
|
|
2714
|
+
"kinds": [
|
|
2715
|
+
"enum",
|
|
2716
|
+
"any"
|
|
2717
|
+
],
|
|
2718
|
+
"values": [
|
|
2719
|
+
"sm",
|
|
2720
|
+
"md",
|
|
2721
|
+
"lg",
|
|
2722
|
+
"xl",
|
|
2723
|
+
"small",
|
|
2724
|
+
"medium",
|
|
2725
|
+
"large",
|
|
2726
|
+
"xlarge",
|
|
2727
|
+
"full"
|
|
2728
|
+
],
|
|
2729
|
+
"doc": "A named size or any CSS width (the factory's default is 'large')"
|
|
2730
|
+
},
|
|
2731
|
+
"centered": {
|
|
2732
|
+
"kind": "boolean",
|
|
2733
|
+
"doc": "Centre vertically (false: near the top)"
|
|
2734
|
+
},
|
|
2735
|
+
"scrollable": {
|
|
2736
|
+
"kind": "boolean",
|
|
2737
|
+
"doc": "Scroll the body inside a capped height"
|
|
2738
|
+
},
|
|
2739
|
+
"title": {
|
|
2740
|
+
"kind": "string",
|
|
2741
|
+
"doc": "Title text"
|
|
2742
|
+
},
|
|
2743
|
+
"content": {
|
|
2744
|
+
"kind": "string",
|
|
2745
|
+
"kinds": [
|
|
2746
|
+
"string",
|
|
2747
|
+
"object"
|
|
2748
|
+
],
|
|
2749
|
+
"doc": "Body content (factory mode): HTML (sanitised unless `safe: false`) or a Node"
|
|
2750
|
+
},
|
|
2751
|
+
"footer": {
|
|
2752
|
+
"kind": "string",
|
|
2753
|
+
"doc": "Footer text"
|
|
2754
|
+
},
|
|
2755
|
+
"buttons": {
|
|
2756
|
+
"kind": "array",
|
|
2757
|
+
"of": {
|
|
2758
|
+
"kind": "object",
|
|
2759
|
+
"type": "ModalButton"
|
|
2760
|
+
},
|
|
2761
|
+
"doc": "Footer buttons (the factory's default is one Close button)"
|
|
2762
|
+
},
|
|
2763
|
+
"safe": {
|
|
2764
|
+
"kind": "boolean",
|
|
2765
|
+
"doc": "false: content is trusted HTML (not sanitised)"
|
|
2766
|
+
},
|
|
2767
|
+
"className": {
|
|
2768
|
+
"kind": "string",
|
|
2769
|
+
"doc": "Extra classes on the dialog"
|
|
2770
|
+
},
|
|
2771
|
+
"headerClass": {
|
|
2772
|
+
"kind": "string",
|
|
2773
|
+
"doc": "Extra classes on the header"
|
|
2774
|
+
},
|
|
2775
|
+
"bodyClass": {
|
|
2776
|
+
"kind": "string",
|
|
2777
|
+
"doc": "Extra classes on the body"
|
|
2778
|
+
},
|
|
2779
|
+
"footerClass": {
|
|
2780
|
+
"kind": "string",
|
|
2781
|
+
"doc": "Extra classes on the footer"
|
|
2782
|
+
},
|
|
2783
|
+
"focus": {
|
|
2784
|
+
"kind": "boolean",
|
|
2785
|
+
"doc": "Focus the dialog on open"
|
|
2786
|
+
},
|
|
2787
|
+
"trapFocus": {
|
|
2788
|
+
"kind": "boolean",
|
|
2789
|
+
"doc": "Keep Tab inside while open (default true; false without a backdrop unless given)"
|
|
2790
|
+
},
|
|
2791
|
+
"returnFocus": {
|
|
2792
|
+
"kind": "boolean",
|
|
2793
|
+
"doc": "Put focus back where it was on close"
|
|
2794
|
+
},
|
|
2795
|
+
"visible": {
|
|
2796
|
+
"kind": "boolean",
|
|
2797
|
+
"doc": "Open at once"
|
|
2798
|
+
},
|
|
2799
|
+
"onOpen": {
|
|
2800
|
+
"kind": "function",
|
|
2801
|
+
"nullable": true,
|
|
2802
|
+
"doc": "When opening starts"
|
|
2803
|
+
},
|
|
2804
|
+
"onOpened": {
|
|
2805
|
+
"kind": "function",
|
|
2806
|
+
"nullable": true,
|
|
2807
|
+
"doc": "After open animation completes"
|
|
2808
|
+
},
|
|
2809
|
+
"onClose": {
|
|
2810
|
+
"kind": "function",
|
|
2811
|
+
"nullable": true,
|
|
2812
|
+
"doc": "When closing starts"
|
|
2813
|
+
},
|
|
2814
|
+
"onClosed": {
|
|
2815
|
+
"kind": "function",
|
|
2816
|
+
"nullable": true,
|
|
2817
|
+
"doc": "After close animation completes"
|
|
2818
|
+
},
|
|
2819
|
+
"onBeforeOpen": {
|
|
2820
|
+
"kind": "function",
|
|
2821
|
+
"nullable": true,
|
|
2822
|
+
"doc": "Return false to refuse the open"
|
|
2823
|
+
},
|
|
2824
|
+
"onBeforeClose": {
|
|
2825
|
+
"kind": "function",
|
|
2826
|
+
"nullable": true,
|
|
2827
|
+
"doc": "Return false to refuse the close"
|
|
2828
|
+
},
|
|
2829
|
+
"onButtonClick": {
|
|
2830
|
+
"kind": "function",
|
|
2831
|
+
"nullable": true,
|
|
2832
|
+
"doc": "A footer button was clicked"
|
|
2833
|
+
}
|
|
2834
|
+
},
|
|
2835
|
+
"NavbarAction": {
|
|
2836
|
+
"text": {
|
|
2837
|
+
"kind": "string"
|
|
2838
|
+
},
|
|
2839
|
+
"url": {
|
|
2840
|
+
"kind": "string"
|
|
2841
|
+
},
|
|
2842
|
+
"icon": {
|
|
2843
|
+
"kind": "string",
|
|
2844
|
+
"doc": "Domma icon name"
|
|
2845
|
+
},
|
|
2846
|
+
"variant": {
|
|
2847
|
+
"kind": "string",
|
|
2848
|
+
"doc": "Button variant ('primary', 'outline', ...)"
|
|
2849
|
+
}
|
|
2850
|
+
},
|
|
2851
|
+
"NavbarBrand": {
|
|
2852
|
+
"text": {
|
|
2853
|
+
"kind": "string"
|
|
2854
|
+
},
|
|
2855
|
+
"logo": {
|
|
2856
|
+
"kind": "string",
|
|
2857
|
+
"doc": "Logo image URL"
|
|
2858
|
+
},
|
|
2859
|
+
"url": {
|
|
2860
|
+
"kind": "string",
|
|
2861
|
+
"doc": "Brand link"
|
|
2862
|
+
},
|
|
2863
|
+
"html": {
|
|
2864
|
+
"kind": "string",
|
|
2865
|
+
"doc": "Brand markup instead of text/logo"
|
|
2866
|
+
}
|
|
2867
|
+
},
|
|
2868
|
+
"NavbarItem": {
|
|
2869
|
+
"text": {
|
|
2870
|
+
"kind": "string",
|
|
2871
|
+
"doc": "Label"
|
|
2872
|
+
},
|
|
2873
|
+
"url": {
|
|
2874
|
+
"kind": "string",
|
|
2875
|
+
"doc": "Link"
|
|
2876
|
+
},
|
|
2877
|
+
"icon": {
|
|
2878
|
+
"kind": "string",
|
|
2879
|
+
"doc": "Domma icon name"
|
|
2880
|
+
},
|
|
2881
|
+
"active": {
|
|
2882
|
+
"kind": "boolean",
|
|
2883
|
+
"doc": "Highlighted as the current page"
|
|
2884
|
+
},
|
|
2885
|
+
"external": {
|
|
2886
|
+
"kind": "boolean",
|
|
2887
|
+
"doc": "Opens in a new tab"
|
|
2888
|
+
},
|
|
2889
|
+
"divider": {
|
|
2890
|
+
"kind": "boolean",
|
|
2891
|
+
"doc": "Inside a dropdown: a divider"
|
|
2892
|
+
},
|
|
2893
|
+
"items": {
|
|
2894
|
+
"kind": "array",
|
|
2895
|
+
"of": {
|
|
2896
|
+
"kind": "object",
|
|
2897
|
+
"type": "NavbarItem"
|
|
2898
|
+
},
|
|
2899
|
+
"doc": "Dropdown entries"
|
|
2900
|
+
}
|
|
2901
|
+
},
|
|
2902
|
+
"NavbarOptions": {
|
|
2903
|
+
"brand": {
|
|
2904
|
+
"kind": "object",
|
|
2905
|
+
"type": "NavbarBrand",
|
|
2906
|
+
"nullable": true
|
|
2907
|
+
},
|
|
2908
|
+
"items": {
|
|
2909
|
+
"kind": "array",
|
|
2910
|
+
"of": {
|
|
2911
|
+
"kind": "object",
|
|
2912
|
+
"type": "NavbarItem"
|
|
2913
|
+
}
|
|
2914
|
+
},
|
|
2915
|
+
"position": {
|
|
2916
|
+
"kind": "enum",
|
|
2917
|
+
"values": [
|
|
2918
|
+
"static",
|
|
2919
|
+
"fixed",
|
|
2920
|
+
"sticky"
|
|
2921
|
+
]
|
|
2922
|
+
},
|
|
2923
|
+
"variant": {
|
|
2924
|
+
"kind": "string"
|
|
2925
|
+
},
|
|
2926
|
+
"collapsible": {
|
|
2927
|
+
"kind": "boolean",
|
|
2928
|
+
"doc": "Hamburger menu on small screens"
|
|
2929
|
+
},
|
|
2930
|
+
"collapseAt": {
|
|
2931
|
+
"kind": "number",
|
|
2932
|
+
"doc": "Below this width (px) the bar is collapsed"
|
|
2933
|
+
},
|
|
2934
|
+
"appearOnHover": {
|
|
2935
|
+
"kind": "boolean",
|
|
2936
|
+
"doc": "Desktop: open dropdowns/flyouts on hover (click still works)"
|
|
2937
|
+
},
|
|
2938
|
+
"hoverCloseDelay": {
|
|
2939
|
+
"kind": "number",
|
|
2940
|
+
"doc": "ms of grace when the pointer leaves the bar"
|
|
2941
|
+
},
|
|
2942
|
+
"actions": {
|
|
2943
|
+
"kind": "array",
|
|
2944
|
+
"of": {
|
|
2945
|
+
"kind": "object",
|
|
2946
|
+
"type": "NavbarAction"
|
|
2947
|
+
},
|
|
2948
|
+
"doc": "Right-side buttons"
|
|
2949
|
+
},
|
|
2950
|
+
"onItemClick": {
|
|
2951
|
+
"kind": "function",
|
|
2952
|
+
"nullable": true,
|
|
2953
|
+
"doc": "A link was clicked (sub-items also get the parent)"
|
|
2954
|
+
}
|
|
2955
|
+
},
|
|
2956
|
+
"NumberBadgeOptions": {
|
|
2957
|
+
"count": {
|
|
2958
|
+
"kind": "number",
|
|
2959
|
+
"doc": "Initial count to display (0 hides the counter unless `dot`)"
|
|
2960
|
+
},
|
|
2961
|
+
"max": {
|
|
2962
|
+
"kind": "number",
|
|
2963
|
+
"nullable": true,
|
|
2964
|
+
"doc": "Cap, e.g. 99 shows \"99+\""
|
|
2965
|
+
},
|
|
2966
|
+
"variant": {
|
|
2967
|
+
"kind": "enum",
|
|
2968
|
+
"values": [
|
|
2969
|
+
"primary",
|
|
2970
|
+
"secondary",
|
|
2971
|
+
"success",
|
|
2972
|
+
"danger",
|
|
2973
|
+
"warning",
|
|
2974
|
+
"info",
|
|
2975
|
+
"light",
|
|
2976
|
+
"dark"
|
|
2977
|
+
],
|
|
2978
|
+
"doc": "Colour variant"
|
|
2979
|
+
},
|
|
2980
|
+
"dot": {
|
|
2981
|
+
"kind": "boolean",
|
|
2982
|
+
"doc": "Show as dot indicator instead of number"
|
|
2983
|
+
},
|
|
2984
|
+
"pulse": {
|
|
2985
|
+
"kind": "boolean",
|
|
2986
|
+
"doc": "Enable pulse animation"
|
|
2987
|
+
},
|
|
2988
|
+
"borderColor": {
|
|
2989
|
+
"kind": "string",
|
|
2990
|
+
"nullable": true,
|
|
2991
|
+
"doc": "Custom border ring colour"
|
|
2992
|
+
},
|
|
2993
|
+
"label": {
|
|
2994
|
+
"kind": "string",
|
|
2995
|
+
"nullable": true,
|
|
2996
|
+
"doc": "Accessible name (default: the count, or \"New\" for a dot)"
|
|
2997
|
+
},
|
|
2998
|
+
"onChange": {
|
|
2999
|
+
"kind": "function",
|
|
3000
|
+
"nullable": true,
|
|
3001
|
+
"doc": "The count changed"
|
|
3002
|
+
}
|
|
3003
|
+
},
|
|
3004
|
+
"PillboxOptions": {
|
|
3005
|
+
"data": {
|
|
3006
|
+
"kind": "array",
|
|
3007
|
+
"of": {
|
|
3008
|
+
"kind": "string",
|
|
3009
|
+
"kinds": [
|
|
3010
|
+
"string",
|
|
3011
|
+
"object"
|
|
3012
|
+
]
|
|
3013
|
+
},
|
|
3014
|
+
"doc": "Options to choose from"
|
|
3015
|
+
},
|
|
3016
|
+
"value": {
|
|
3017
|
+
"kind": "array",
|
|
3018
|
+
"of": {
|
|
3019
|
+
"kind": "string"
|
|
3020
|
+
},
|
|
3021
|
+
"doc": "Initial values"
|
|
3022
|
+
},
|
|
3023
|
+
"placeholder": {
|
|
3024
|
+
"kind": "string"
|
|
3025
|
+
},
|
|
3026
|
+
"searchable": {
|
|
3027
|
+
"kind": "boolean",
|
|
3028
|
+
"doc": "Filter the options while typing"
|
|
3029
|
+
},
|
|
3030
|
+
"creatable": {
|
|
3031
|
+
"kind": "boolean",
|
|
3032
|
+
"doc": "Enter adds typed text that is not an option"
|
|
3033
|
+
},
|
|
3034
|
+
"maxItems": {
|
|
3035
|
+
"kind": "number",
|
|
3036
|
+
"nullable": true
|
|
3037
|
+
},
|
|
3038
|
+
"duplicates": {
|
|
3039
|
+
"kind": "boolean"
|
|
3040
|
+
},
|
|
3041
|
+
"clearable": {
|
|
3042
|
+
"kind": "boolean",
|
|
3043
|
+
"doc": "Clear-all button"
|
|
3044
|
+
},
|
|
3045
|
+
"size": {
|
|
3046
|
+
"kind": "string"
|
|
3047
|
+
},
|
|
3048
|
+
"renderPill": {
|
|
3049
|
+
"kind": "function",
|
|
3050
|
+
"nullable": true,
|
|
3051
|
+
"doc": "Pill HTML or a node"
|
|
3052
|
+
},
|
|
3053
|
+
"renderOption": {
|
|
3054
|
+
"kind": "function",
|
|
3055
|
+
"nullable": true,
|
|
3056
|
+
"doc": "Option HTML or a node"
|
|
3057
|
+
},
|
|
3058
|
+
"pillTemplate": {
|
|
3059
|
+
"kind": "string",
|
|
3060
|
+
"doc": "Pill HTML when there is no renderPill"
|
|
3061
|
+
},
|
|
3062
|
+
"validatePill": {
|
|
3063
|
+
"kind": "function",
|
|
3064
|
+
"nullable": true,
|
|
3065
|
+
"doc": "true/undefined accepts; a string is the error message"
|
|
3066
|
+
},
|
|
3067
|
+
"maxItemsMessage": {
|
|
3068
|
+
"kind": "string"
|
|
3069
|
+
},
|
|
3070
|
+
"duplicateMessage": {
|
|
3071
|
+
"kind": "string"
|
|
3072
|
+
},
|
|
3073
|
+
"noResultsMessage": {
|
|
3074
|
+
"kind": "string"
|
|
3075
|
+
},
|
|
3076
|
+
"model": {
|
|
3077
|
+
"kind": "any",
|
|
3078
|
+
"doc": "A Domma Model the values are kept in (with modelKey)"
|
|
3079
|
+
},
|
|
3080
|
+
"modelKey": {
|
|
3081
|
+
"kind": "string"
|
|
3082
|
+
},
|
|
3083
|
+
"onBeforeOpen": {
|
|
3084
|
+
"kind": "function",
|
|
3085
|
+
"nullable": true,
|
|
3086
|
+
"doc": "Return false to keep it closed"
|
|
3087
|
+
},
|
|
3088
|
+
"onOpen": {
|
|
3089
|
+
"kind": "function",
|
|
3090
|
+
"nullable": true
|
|
3091
|
+
},
|
|
3092
|
+
"onBeforeClose": {
|
|
3093
|
+
"kind": "function",
|
|
3094
|
+
"nullable": true,
|
|
3095
|
+
"doc": "Return false to keep it open"
|
|
3096
|
+
},
|
|
3097
|
+
"onClose": {
|
|
3098
|
+
"kind": "function",
|
|
3099
|
+
"nullable": true
|
|
3100
|
+
},
|
|
3101
|
+
"onAdd": {
|
|
3102
|
+
"kind": "function",
|
|
3103
|
+
"nullable": true
|
|
3104
|
+
},
|
|
3105
|
+
"onRemove": {
|
|
3106
|
+
"kind": "function",
|
|
3107
|
+
"nullable": true
|
|
3108
|
+
},
|
|
3109
|
+
"onChange": {
|
|
3110
|
+
"kind": "function",
|
|
3111
|
+
"nullable": true
|
|
3112
|
+
},
|
|
3113
|
+
"onCreate": {
|
|
3114
|
+
"kind": "function",
|
|
3115
|
+
"nullable": true,
|
|
3116
|
+
"doc": "Typed text was added (creatable)"
|
|
3117
|
+
},
|
|
3118
|
+
"onMaxReached": {
|
|
3119
|
+
"kind": "function",
|
|
3120
|
+
"nullable": true
|
|
3121
|
+
},
|
|
3122
|
+
"onValidationError": {
|
|
3123
|
+
"kind": "function",
|
|
3124
|
+
"nullable": true
|
|
3125
|
+
}
|
|
3126
|
+
},
|
|
3127
|
+
"PopoverOptions": {
|
|
3128
|
+
"content": {
|
|
3129
|
+
"kind": "string",
|
|
3130
|
+
"kinds": [
|
|
3131
|
+
"string",
|
|
3132
|
+
"object",
|
|
3133
|
+
"function"
|
|
3134
|
+
],
|
|
3135
|
+
"each": {
|
|
3136
|
+
"kind": "object"
|
|
3137
|
+
},
|
|
3138
|
+
"nullable": true,
|
|
3139
|
+
"doc": "Text (default), a Node, or a function returning either; see `html`"
|
|
3140
|
+
},
|
|
3141
|
+
"title": {
|
|
3142
|
+
"kind": "string",
|
|
3143
|
+
"kinds": [
|
|
3144
|
+
"string",
|
|
3145
|
+
"object",
|
|
3146
|
+
"function"
|
|
3147
|
+
],
|
|
3148
|
+
"each": {
|
|
3149
|
+
"kind": "object"
|
|
3150
|
+
},
|
|
3151
|
+
"nullable": true,
|
|
3152
|
+
"doc": "Heading; empty for none"
|
|
3153
|
+
},
|
|
3154
|
+
"html": {
|
|
3155
|
+
"kind": "boolean",
|
|
3156
|
+
"doc": "Treat string content/title as HTML, passed through Domma's sanitiser (default: false)"
|
|
3157
|
+
},
|
|
3158
|
+
"trigger": {
|
|
3159
|
+
"kind": "any",
|
|
3160
|
+
"kinds": [
|
|
3161
|
+
"any",
|
|
3162
|
+
"enum"
|
|
3163
|
+
],
|
|
3164
|
+
"values": [
|
|
3165
|
+
"click",
|
|
3166
|
+
"hover",
|
|
3167
|
+
"focus",
|
|
3168
|
+
"manual"
|
|
3169
|
+
],
|
|
3170
|
+
"doc": "'click' (default), 'hover', 'focus', 'manual', or several separated by spaces"
|
|
3171
|
+
},
|
|
3172
|
+
"placement": {
|
|
3173
|
+
"kind": "enum",
|
|
3174
|
+
"values": [
|
|
3175
|
+
"auto",
|
|
3176
|
+
"bottom",
|
|
3177
|
+
"top",
|
|
3178
|
+
"bottom-start",
|
|
3179
|
+
"bottom-end",
|
|
3180
|
+
"top-start",
|
|
3181
|
+
"top-end",
|
|
3182
|
+
"left-start",
|
|
3183
|
+
"left-end",
|
|
3184
|
+
"right-start",
|
|
3185
|
+
"right-end",
|
|
3186
|
+
"left",
|
|
3187
|
+
"right",
|
|
3188
|
+
"auto-start",
|
|
3189
|
+
"auto-end"
|
|
3190
|
+
],
|
|
3191
|
+
"doc": "Preferred side and alignment (default: 'bottom')"
|
|
3192
|
+
},
|
|
3193
|
+
"flip": {
|
|
3194
|
+
"kind": "boolean",
|
|
3195
|
+
"doc": "Try the other sides when the preferred one has no room (default: true)"
|
|
3196
|
+
},
|
|
3197
|
+
"offset": {
|
|
3198
|
+
"kind": "number",
|
|
3199
|
+
"kinds": [
|
|
3200
|
+
"number",
|
|
3201
|
+
"array"
|
|
3202
|
+
],
|
|
3203
|
+
"doc": "Gap in px, or [crossAxis, mainAxis] (default: 10)"
|
|
3204
|
+
},
|
|
3205
|
+
"arrow": {
|
|
3206
|
+
"kind": "boolean",
|
|
3207
|
+
"doc": "Show the arrow (default: true)"
|
|
3208
|
+
},
|
|
3209
|
+
"dismissible": {
|
|
3210
|
+
"kind": "boolean",
|
|
3211
|
+
"doc": "Show a close (x) button (default: false)"
|
|
3212
|
+
},
|
|
3213
|
+
"closeOnOutside": {
|
|
3214
|
+
"kind": "boolean",
|
|
3215
|
+
"doc": "Close on a pointer press or focus outside (default: true)"
|
|
3216
|
+
},
|
|
3217
|
+
"closeOnEscape": {
|
|
3218
|
+
"kind": "boolean",
|
|
3219
|
+
"doc": "Close on Escape (default: true)"
|
|
3220
|
+
},
|
|
3221
|
+
"group": {
|
|
3222
|
+
"kind": "string",
|
|
3223
|
+
"nullable": true,
|
|
3224
|
+
"doc": "One open at a time per group; null = independent (default: 'default')"
|
|
3225
|
+
},
|
|
3226
|
+
"width": {
|
|
3227
|
+
"kind": "string",
|
|
3228
|
+
"kinds": [
|
|
3229
|
+
"string",
|
|
3230
|
+
"number"
|
|
3231
|
+
],
|
|
3232
|
+
"nullable": true,
|
|
3233
|
+
"doc": "Any CSS width; numbers are px"
|
|
3234
|
+
},
|
|
3235
|
+
"maxWidth": {
|
|
3236
|
+
"kind": "string",
|
|
3237
|
+
"kinds": [
|
|
3238
|
+
"string",
|
|
3239
|
+
"number"
|
|
3240
|
+
],
|
|
3241
|
+
"nullable": true,
|
|
3242
|
+
"doc": "Any CSS width; the stylesheet default is 20rem"
|
|
3243
|
+
},
|
|
3244
|
+
"className": {
|
|
3245
|
+
"kind": "string",
|
|
3246
|
+
"doc": "Extra classes on the panel"
|
|
3247
|
+
},
|
|
3248
|
+
"id": {
|
|
3249
|
+
"kind": "string",
|
|
3250
|
+
"nullable": true,
|
|
3251
|
+
"doc": "Panel id (generated when omitted)"
|
|
3252
|
+
},
|
|
3253
|
+
"role": {
|
|
3254
|
+
"kind": "any",
|
|
3255
|
+
"kinds": [
|
|
3256
|
+
"enum",
|
|
3257
|
+
"any"
|
|
3258
|
+
],
|
|
3259
|
+
"values": [
|
|
3260
|
+
"tooltip",
|
|
3261
|
+
"dialog"
|
|
3262
|
+
],
|
|
3263
|
+
"nullable": true,
|
|
3264
|
+
"doc": "'dialog', or 'tooltip' for hover/focus-only triggers (default: auto)"
|
|
3265
|
+
},
|
|
3266
|
+
"ariaLabel": {
|
|
3267
|
+
"kind": "string",
|
|
3268
|
+
"nullable": true,
|
|
3269
|
+
"doc": "Accessible name when there is no title"
|
|
3270
|
+
},
|
|
3271
|
+
"autoFocus": {
|
|
3272
|
+
"kind": "boolean",
|
|
3273
|
+
"nullable": true,
|
|
3274
|
+
"doc": "Move focus into the panel on open; null = for click popovers"
|
|
3275
|
+
},
|
|
3276
|
+
"trapFocus": {
|
|
3277
|
+
"kind": "boolean",
|
|
3278
|
+
"doc": "Tab cycles inside the panel instead of leaving it, with a focus trap while focus is in it (default: false)"
|
|
3279
|
+
},
|
|
3280
|
+
"delay": {
|
|
3281
|
+
"kind": "number",
|
|
3282
|
+
"kinds": [
|
|
3283
|
+
"number",
|
|
3284
|
+
"object"
|
|
3285
|
+
],
|
|
3286
|
+
"doc": "Hover delays in ms (default: {show: 80, hide: 120})"
|
|
3287
|
+
},
|
|
3288
|
+
"animation": {
|
|
3289
|
+
"kind": "boolean",
|
|
3290
|
+
"doc": "Fade and scale (default: true; skipped under reduced motion)"
|
|
3291
|
+
},
|
|
3292
|
+
"animationDuration": {
|
|
3293
|
+
"kind": "number",
|
|
3294
|
+
"doc": "ms (default: 150)"
|
|
3295
|
+
},
|
|
3296
|
+
"container": {
|
|
3297
|
+
"kind": "string",
|
|
3298
|
+
"kinds": [
|
|
3299
|
+
"string",
|
|
3300
|
+
"object"
|
|
3301
|
+
],
|
|
3302
|
+
"nullable": true,
|
|
3303
|
+
"doc": "Where the panel is placed (default: document.body)"
|
|
3304
|
+
},
|
|
3305
|
+
"zIndex": {
|
|
3306
|
+
"kind": "number",
|
|
3307
|
+
"nullable": true,
|
|
3308
|
+
"doc": "Override the stylesheet's z-index (10045)"
|
|
3309
|
+
},
|
|
3310
|
+
"onShow": {
|
|
3311
|
+
"kind": "function",
|
|
3312
|
+
"nullable": true,
|
|
3313
|
+
"doc": "Before opening; return false to cancel"
|
|
3314
|
+
},
|
|
3315
|
+
"onShown": {
|
|
3316
|
+
"kind": "function",
|
|
3317
|
+
"nullable": true,
|
|
3318
|
+
"doc": "After the open transition"
|
|
3319
|
+
},
|
|
3320
|
+
"onHide": {
|
|
3321
|
+
"kind": "function",
|
|
3322
|
+
"nullable": true,
|
|
3323
|
+
"doc": "Before closing; return false to cancel"
|
|
3324
|
+
},
|
|
3325
|
+
"onHidden": {
|
|
3326
|
+
"kind": "function",
|
|
3327
|
+
"nullable": true,
|
|
3328
|
+
"doc": "After the panel has been removed"
|
|
3329
|
+
}
|
|
3330
|
+
},
|
|
3331
|
+
"PulseOptions": {
|
|
3332
|
+
"scale": {
|
|
3333
|
+
"kind": "number",
|
|
3334
|
+
"doc": "Scale factor (e.g., 1.05 = 5% larger) (default: 1.05)"
|
|
3335
|
+
},
|
|
3336
|
+
"duration": {
|
|
3337
|
+
"kind": "number",
|
|
3338
|
+
"doc": "Complete animation cycle time in milliseconds (default: 2000)"
|
|
3339
|
+
},
|
|
3340
|
+
"easing": {
|
|
3341
|
+
"kind": "string",
|
|
3342
|
+
"doc": "CSS easing function (default: 'ease-in-out')"
|
|
3343
|
+
},
|
|
3344
|
+
"delay": {
|
|
3345
|
+
"kind": "number",
|
|
3346
|
+
"doc": "Initial delay before animation starts (default: 0)"
|
|
3347
|
+
},
|
|
3348
|
+
"stagger": {
|
|
3349
|
+
"kind": "number",
|
|
3350
|
+
"doc": "Delay between multiple elements (default: 0)"
|
|
3351
|
+
},
|
|
3352
|
+
"iterations": {
|
|
3353
|
+
"kind": "number",
|
|
3354
|
+
"kinds": [
|
|
3355
|
+
"number",
|
|
3356
|
+
"enum"
|
|
3357
|
+
],
|
|
3358
|
+
"values": [
|
|
3359
|
+
"infinite"
|
|
3360
|
+
],
|
|
3361
|
+
"doc": "Number of cycles or 'infinite' (default: 'infinite')"
|
|
3362
|
+
},
|
|
3363
|
+
"pauseOnHover": {
|
|
3364
|
+
"kind": "boolean",
|
|
3365
|
+
"doc": "Pause animation when hovering (default: false)"
|
|
3366
|
+
},
|
|
3367
|
+
"respectMotionPreference": {
|
|
3368
|
+
"kind": "boolean",
|
|
3369
|
+
"doc": "Honor prefers-reduced-motion (default: true)"
|
|
3370
|
+
}
|
|
3371
|
+
},
|
|
3372
|
+
"RangeSliderMark": {
|
|
3373
|
+
"value": {
|
|
3374
|
+
"kind": "number"
|
|
3375
|
+
},
|
|
3376
|
+
"label": {
|
|
3377
|
+
"kind": "string"
|
|
3378
|
+
}
|
|
3379
|
+
},
|
|
3380
|
+
"ScribeAction": {
|
|
3381
|
+
"render": {
|
|
3382
|
+
"kind": "string",
|
|
3383
|
+
"doc": "Text to type"
|
|
3384
|
+
},
|
|
3385
|
+
"effect": {
|
|
3386
|
+
"kind": "enum",
|
|
3387
|
+
"values": [
|
|
3388
|
+
"none",
|
|
3389
|
+
"fade",
|
|
3390
|
+
"glow",
|
|
3391
|
+
"bounce"
|
|
3392
|
+
],
|
|
3393
|
+
"doc": "Entrance effect for each rendered unit (default: 'none')"
|
|
3394
|
+
},
|
|
3395
|
+
"wait": {
|
|
3396
|
+
"kind": "string",
|
|
3397
|
+
"kinds": [
|
|
3398
|
+
"string",
|
|
3399
|
+
"number"
|
|
3400
|
+
],
|
|
3401
|
+
"doc": "Pause: '2s', '500ms' or a number of milliseconds"
|
|
3402
|
+
},
|
|
3403
|
+
"undoRender": {
|
|
3404
|
+
"kind": "number",
|
|
3405
|
+
"kinds": [
|
|
3406
|
+
"number",
|
|
3407
|
+
"boolean",
|
|
3408
|
+
"enum"
|
|
3409
|
+
],
|
|
3410
|
+
"values": [
|
|
3411
|
+
"all"
|
|
3412
|
+
],
|
|
3413
|
+
"doc": "Delete text: true = the last render, a number = that many units, 'all' = everything"
|
|
3414
|
+
}
|
|
3415
|
+
},
|
|
3416
|
+
"ScribeOptions": {
|
|
3417
|
+
"mode": {
|
|
3418
|
+
"kind": "enum",
|
|
3419
|
+
"values": [
|
|
3420
|
+
"typewriter",
|
|
3421
|
+
"word",
|
|
3422
|
+
"sentence"
|
|
3423
|
+
],
|
|
3424
|
+
"doc": "Rendering granularity: 'typewriter' (char-by-char), 'word', or 'sentence' (default: 'typewriter')"
|
|
3425
|
+
},
|
|
3426
|
+
"speed": {
|
|
3427
|
+
"kind": "number",
|
|
3428
|
+
"doc": "Milliseconds per unit when typing (default: 50)"
|
|
3429
|
+
},
|
|
3430
|
+
"deleteSpeed": {
|
|
3431
|
+
"kind": "number",
|
|
3432
|
+
"doc": "Milliseconds per unit when deleting (default: 30)"
|
|
3433
|
+
},
|
|
3434
|
+
"cursor": {
|
|
3435
|
+
"kind": "boolean",
|
|
3436
|
+
"doc": "Show blinking cursor (default: true)"
|
|
3437
|
+
},
|
|
3438
|
+
"cursorChar": {
|
|
3439
|
+
"kind": "string",
|
|
3440
|
+
"doc": "Cursor character (default: '|')"
|
|
3441
|
+
},
|
|
3442
|
+
"cursorBlink": {
|
|
3443
|
+
"kind": "boolean",
|
|
3444
|
+
"doc": "Animate cursor blink (default: true)"
|
|
3445
|
+
},
|
|
3446
|
+
"cursorType": {
|
|
3447
|
+
"kind": "enum",
|
|
3448
|
+
"values": [
|
|
3449
|
+
"underline",
|
|
3450
|
+
"caret",
|
|
3451
|
+
"block"
|
|
3452
|
+
],
|
|
3453
|
+
"doc": "Cursor style (default: 'caret')"
|
|
3454
|
+
},
|
|
3455
|
+
"loop": {
|
|
3456
|
+
"kind": "number",
|
|
3457
|
+
"kinds": [
|
|
3458
|
+
"number",
|
|
3459
|
+
"boolean"
|
|
3460
|
+
],
|
|
3461
|
+
"doc": "Loop count: true = infinite, number = specific count (default: false)"
|
|
3462
|
+
},
|
|
3463
|
+
"loopDelay": {
|
|
3464
|
+
"kind": "number",
|
|
3465
|
+
"doc": "Delay between loops in milliseconds (default: 1000)"
|
|
3466
|
+
},
|
|
3467
|
+
"pauseOnHover": {
|
|
3468
|
+
"kind": "boolean",
|
|
3469
|
+
"doc": "Pause animation when hovering (default: false)"
|
|
3470
|
+
},
|
|
3471
|
+
"autoStart": {
|
|
3472
|
+
"kind": "boolean",
|
|
3473
|
+
"doc": "Start animation immediately (default: true)"
|
|
3474
|
+
},
|
|
3475
|
+
"respectMotionPreference": {
|
|
3476
|
+
"kind": "boolean",
|
|
3477
|
+
"doc": "Honor prefers-reduced-motion (default: true)"
|
|
3478
|
+
},
|
|
3479
|
+
"actions": {
|
|
3480
|
+
"kind": "array",
|
|
3481
|
+
"of": {
|
|
3482
|
+
"kind": "object",
|
|
3483
|
+
"type": "ScribeAction"
|
|
3484
|
+
},
|
|
3485
|
+
"doc": "Action queue to execute"
|
|
3486
|
+
},
|
|
3487
|
+
"onStart": {
|
|
3488
|
+
"kind": "function",
|
|
3489
|
+
"doc": "Callback when animation starts"
|
|
3490
|
+
},
|
|
3491
|
+
"onComplete": {
|
|
3492
|
+
"kind": "function",
|
|
3493
|
+
"doc": "Callback when animation completes"
|
|
3494
|
+
},
|
|
3495
|
+
"onCharacter": {
|
|
3496
|
+
"kind": "function",
|
|
3497
|
+
"doc": "Callback for each unit rendered (unit, index) - unit can be char/word/sentence depending on mode"
|
|
3498
|
+
},
|
|
3499
|
+
"onRender": {
|
|
3500
|
+
"kind": "function",
|
|
3501
|
+
"doc": "Callback when render action completes (text)"
|
|
3502
|
+
},
|
|
3503
|
+
"onUndoRender": {
|
|
3504
|
+
"kind": "function",
|
|
3505
|
+
"doc": "Callback when undoRender action completes (deletedText)"
|
|
3506
|
+
},
|
|
3507
|
+
"onLoop": {
|
|
3508
|
+
"kind": "function",
|
|
3509
|
+
"doc": "Callback on each loop iteration (loopCount)"
|
|
3510
|
+
}
|
|
3511
|
+
},
|
|
3512
|
+
"SelectorConfig": {
|
|
3513
|
+
"component": {
|
|
3514
|
+
"kind": "enum",
|
|
3515
|
+
"values": [
|
|
3516
|
+
"card",
|
|
3517
|
+
"modal",
|
|
3518
|
+
"tabs",
|
|
3519
|
+
"accordion",
|
|
3520
|
+
"tooltip",
|
|
3521
|
+
"carousel",
|
|
3522
|
+
"dropdown",
|
|
3523
|
+
"contextMenu",
|
|
3524
|
+
"sortable",
|
|
3525
|
+
"skeleton",
|
|
3526
|
+
"avatar",
|
|
3527
|
+
"avatarGroup",
|
|
3528
|
+
"inputGroup",
|
|
3529
|
+
"popover",
|
|
3530
|
+
"badge",
|
|
3531
|
+
"numberBadge",
|
|
3532
|
+
"listGroup",
|
|
3533
|
+
"cookieConsent",
|
|
3534
|
+
"backToTop",
|
|
3535
|
+
"buttonGroup",
|
|
3536
|
+
"loader",
|
|
3537
|
+
"breadcrumbs",
|
|
3538
|
+
"navbar",
|
|
3539
|
+
"sidebar",
|
|
3540
|
+
"footer",
|
|
3541
|
+
"notification",
|
|
3542
|
+
"timer",
|
|
3543
|
+
"alarm",
|
|
3544
|
+
"autocomplete",
|
|
3545
|
+
"pillbox",
|
|
3546
|
+
"signature",
|
|
3547
|
+
"form",
|
|
3548
|
+
"breathe",
|
|
3549
|
+
"pulse",
|
|
3550
|
+
"scribe"
|
|
3551
|
+
],
|
|
3552
|
+
"doc": "Component to create on the selector"
|
|
3553
|
+
},
|
|
3554
|
+
"options": {
|
|
3555
|
+
"kind": "object",
|
|
3556
|
+
"doc": "Options for that component (`schema` and `data` for `form`)"
|
|
3557
|
+
},
|
|
3558
|
+
"initial": {
|
|
3559
|
+
"kind": "object",
|
|
3560
|
+
"type": "InitialProperties",
|
|
3561
|
+
"doc": "Applied to the matched elements once"
|
|
3562
|
+
},
|
|
3563
|
+
"events": {
|
|
3564
|
+
"kind": "object",
|
|
3565
|
+
"each": {
|
|
3566
|
+
"kind": "object",
|
|
3567
|
+
"kinds": [
|
|
3568
|
+
"object",
|
|
3569
|
+
"function",
|
|
3570
|
+
"array"
|
|
3571
|
+
],
|
|
3572
|
+
"type": "EventAction",
|
|
3573
|
+
"of": {
|
|
3574
|
+
"kind": "object",
|
|
3575
|
+
"kinds": [
|
|
3576
|
+
"object",
|
|
3577
|
+
"function"
|
|
3578
|
+
],
|
|
3579
|
+
"type": "EventAction"
|
|
3580
|
+
}
|
|
3581
|
+
},
|
|
3582
|
+
"doc": "Event name -> what it runs"
|
|
3583
|
+
},
|
|
3584
|
+
"init": {
|
|
3585
|
+
"kind": "function",
|
|
3586
|
+
"doc": "Called first with the matched elements"
|
|
3587
|
+
}
|
|
3588
|
+
},
|
|
3589
|
+
"SidebarItem": {
|
|
3590
|
+
"text": {
|
|
3591
|
+
"kind": "string",
|
|
3592
|
+
"doc": "Label (HTML)"
|
|
3593
|
+
},
|
|
3594
|
+
"url": {
|
|
3595
|
+
"kind": "string",
|
|
3596
|
+
"doc": "Link"
|
|
3597
|
+
},
|
|
3598
|
+
"icon": {
|
|
3599
|
+
"kind": "string",
|
|
3600
|
+
"doc": "Domma icon name"
|
|
3601
|
+
},
|
|
3602
|
+
"section": {
|
|
3603
|
+
"kind": "string",
|
|
3604
|
+
"doc": "Section key; setActive(section) highlights it, and clicking it makes it active"
|
|
3605
|
+
},
|
|
3606
|
+
"badge": {
|
|
3607
|
+
"kind": "string",
|
|
3608
|
+
"kinds": [
|
|
3609
|
+
"string",
|
|
3610
|
+
"number"
|
|
3611
|
+
],
|
|
3612
|
+
"doc": "Badge text"
|
|
3613
|
+
},
|
|
3614
|
+
"heading": {
|
|
3615
|
+
"kind": "string",
|
|
3616
|
+
"doc": "Render as a heading with this text"
|
|
3617
|
+
},
|
|
3618
|
+
"divider": {
|
|
3619
|
+
"kind": "boolean",
|
|
3620
|
+
"doc": "Render as a divider"
|
|
3621
|
+
},
|
|
3622
|
+
"items": {
|
|
3623
|
+
"kind": "array",
|
|
3624
|
+
"of": {
|
|
3625
|
+
"kind": "object",
|
|
3626
|
+
"type": "SidebarItem"
|
|
3627
|
+
},
|
|
3628
|
+
"doc": "Children (an expandable group)"
|
|
3629
|
+
}
|
|
3630
|
+
},
|
|
3631
|
+
"SidebarOptions": {
|
|
3632
|
+
"position": {
|
|
3633
|
+
"kind": "enum",
|
|
3634
|
+
"values": [
|
|
3635
|
+
"left",
|
|
3636
|
+
"right"
|
|
3637
|
+
]
|
|
3638
|
+
},
|
|
3639
|
+
"fixed": {
|
|
3640
|
+
"kind": "boolean",
|
|
3641
|
+
"doc": "Fixed rather than static positioning"
|
|
3642
|
+
},
|
|
3643
|
+
"width": {
|
|
3644
|
+
"kind": "string"
|
|
3645
|
+
},
|
|
3646
|
+
"top": {
|
|
3647
|
+
"kind": "string",
|
|
3648
|
+
"doc": "Top offset, e.g. '60px' under a navbar"
|
|
3649
|
+
},
|
|
3650
|
+
"header": {
|
|
3651
|
+
"kind": "object",
|
|
3652
|
+
"nullable": true,
|
|
3653
|
+
"doc": "Header; `toggle: false` hides its close button"
|
|
3654
|
+
},
|
|
3655
|
+
"items": {
|
|
3656
|
+
"kind": "array",
|
|
3657
|
+
"of": {
|
|
3658
|
+
"kind": "object",
|
|
3659
|
+
"type": "SidebarItem"
|
|
3660
|
+
}
|
|
3661
|
+
},
|
|
3662
|
+
"footer": {
|
|
3663
|
+
"kind": "object",
|
|
3664
|
+
"nullable": true
|
|
3665
|
+
},
|
|
3666
|
+
"variant": {
|
|
3667
|
+
"kind": "enum",
|
|
3668
|
+
"values": [
|
|
3669
|
+
"light",
|
|
3670
|
+
"dark",
|
|
3671
|
+
"theme"
|
|
3672
|
+
],
|
|
3673
|
+
"doc": "'theme' follows the active theme"
|
|
3674
|
+
},
|
|
3675
|
+
"collapsible": {
|
|
3676
|
+
"kind": "boolean",
|
|
3677
|
+
"doc": "Toggle on small screens"
|
|
3678
|
+
},
|
|
3679
|
+
"collapseAt": {
|
|
3680
|
+
"kind": "number",
|
|
3681
|
+
"doc": "Breakpoint in px"
|
|
3682
|
+
},
|
|
3683
|
+
"activeSection": {
|
|
3684
|
+
"kind": "string",
|
|
3685
|
+
"nullable": true,
|
|
3686
|
+
"doc": "Initially active section"
|
|
3687
|
+
},
|
|
3688
|
+
"expandedSections": {
|
|
3689
|
+
"kind": "array",
|
|
3690
|
+
"of": {
|
|
3691
|
+
"kind": "string"
|
|
3692
|
+
},
|
|
3693
|
+
"doc": "Initially expanded groups (their paths)"
|
|
3694
|
+
},
|
|
3695
|
+
"persistExpanded": {
|
|
3696
|
+
"kind": "boolean",
|
|
3697
|
+
"doc": "Remember expanded groups in localStorage"
|
|
3698
|
+
},
|
|
3699
|
+
"persistKey": {
|
|
3700
|
+
"kind": "string",
|
|
3701
|
+
"nullable": true,
|
|
3702
|
+
"doc": "Storage key for that"
|
|
3703
|
+
},
|
|
3704
|
+
"animationDuration": {
|
|
3705
|
+
"kind": "number",
|
|
3706
|
+
"doc": "ms"
|
|
3707
|
+
},
|
|
3708
|
+
"push": {
|
|
3709
|
+
"kind": "boolean",
|
|
3710
|
+
"doc": "Push the content aside rather than overlay it"
|
|
3711
|
+
},
|
|
3712
|
+
"contentSelector": {
|
|
3713
|
+
"kind": "string",
|
|
3714
|
+
"doc": "The content pushed aside"
|
|
3715
|
+
},
|
|
3716
|
+
"scrollSpy": {
|
|
3717
|
+
"kind": "boolean",
|
|
3718
|
+
"doc": "Track the active section while scrolling"
|
|
3719
|
+
},
|
|
3720
|
+
"scrollSpyOffset": {
|
|
3721
|
+
"kind": "string",
|
|
3722
|
+
"doc": "IntersectionObserver rootMargin"
|
|
3723
|
+
},
|
|
3724
|
+
"scrollSpyThreshold": {
|
|
3725
|
+
"kind": "number",
|
|
3726
|
+
"doc": "IntersectionObserver threshold"
|
|
3727
|
+
},
|
|
3728
|
+
"floating": {
|
|
3729
|
+
"kind": "boolean",
|
|
3730
|
+
"doc": "Floating toggle at the bottom left"
|
|
3731
|
+
},
|
|
3732
|
+
"customContent": {
|
|
3733
|
+
"kind": "string",
|
|
3734
|
+
"nullable": true,
|
|
3735
|
+
"doc": "HTML to show instead of items"
|
|
3736
|
+
},
|
|
3737
|
+
"collapsibleDesktop": {
|
|
3738
|
+
"kind": "boolean",
|
|
3739
|
+
"doc": "Desktop collapse to icons only"
|
|
3740
|
+
},
|
|
3741
|
+
"collapsedWidth": {
|
|
3742
|
+
"kind": "string",
|
|
3743
|
+
"doc": "Width when collapsed"
|
|
3744
|
+
},
|
|
3745
|
+
"persistCollapsed": {
|
|
3746
|
+
"kind": "boolean",
|
|
3747
|
+
"doc": "Remember the collapsed state"
|
|
3748
|
+
},
|
|
3749
|
+
"persistCollapseKey": {
|
|
3750
|
+
"kind": "string",
|
|
3751
|
+
"nullable": true,
|
|
3752
|
+
"doc": "Storage key for that"
|
|
3753
|
+
},
|
|
3754
|
+
"onItemClick": {
|
|
3755
|
+
"kind": "function",
|
|
3756
|
+
"nullable": true,
|
|
3757
|
+
"doc": "A link was clicked; path is its index path ('2.0')"
|
|
3758
|
+
},
|
|
3759
|
+
"onBeforeOpen": {
|
|
3760
|
+
"kind": "function",
|
|
3761
|
+
"nullable": true,
|
|
3762
|
+
"doc": "Return false to keep it closed"
|
|
3763
|
+
},
|
|
3764
|
+
"onBeforeClose": {
|
|
3765
|
+
"kind": "function",
|
|
3766
|
+
"nullable": true,
|
|
3767
|
+
"doc": "Return false to keep it open"
|
|
3768
|
+
},
|
|
3769
|
+
"onToggle": {
|
|
3770
|
+
"kind": "function",
|
|
3771
|
+
"nullable": true,
|
|
3772
|
+
"doc": "Opened or closed"
|
|
3773
|
+
},
|
|
3774
|
+
"onExpand": {
|
|
3775
|
+
"kind": "function",
|
|
3776
|
+
"nullable": true,
|
|
3777
|
+
"doc": "A group expanded (no arguments: the desktop sidebar expanded)"
|
|
3778
|
+
},
|
|
3779
|
+
"onCollapse": {
|
|
3780
|
+
"kind": "function",
|
|
3781
|
+
"nullable": true,
|
|
3782
|
+
"doc": "A group collapsed (no arguments: the desktop sidebar collapsed)"
|
|
3783
|
+
}
|
|
3784
|
+
},
|
|
3785
|
+
"SignatureOptions": {
|
|
3786
|
+
"width": {
|
|
3787
|
+
"kind": "number",
|
|
3788
|
+
"nullable": true,
|
|
3789
|
+
"doc": "Not read: the pad fills its container"
|
|
3790
|
+
},
|
|
3791
|
+
"height": {
|
|
3792
|
+
"kind": "number",
|
|
3793
|
+
"doc": "Canvas height in px"
|
|
3794
|
+
},
|
|
3795
|
+
"penColour": {
|
|
3796
|
+
"kind": "string",
|
|
3797
|
+
"doc": "Default pen colour"
|
|
3798
|
+
},
|
|
3799
|
+
"penWidth": {
|
|
3800
|
+
"kind": "number",
|
|
3801
|
+
"doc": "Default pen width in px"
|
|
3802
|
+
},
|
|
3803
|
+
"format": {
|
|
3804
|
+
"kind": "enum",
|
|
3805
|
+
"values": [
|
|
3806
|
+
"png",
|
|
3807
|
+
"svg"
|
|
3808
|
+
],
|
|
3809
|
+
"doc": "Export format"
|
|
3810
|
+
},
|
|
3811
|
+
"label": {
|
|
3812
|
+
"kind": "string",
|
|
3813
|
+
"doc": "Toolbar label text"
|
|
3814
|
+
},
|
|
3815
|
+
"guideLine": {
|
|
3816
|
+
"kind": "boolean",
|
|
3817
|
+
"doc": "Dashed guide line"
|
|
3818
|
+
},
|
|
3819
|
+
"placeholder": {
|
|
3820
|
+
"kind": "string"
|
|
3821
|
+
},
|
|
3822
|
+
"colours": {
|
|
3823
|
+
"kind": "array",
|
|
3824
|
+
"of": {
|
|
3825
|
+
"kind": "string"
|
|
3826
|
+
},
|
|
3827
|
+
"doc": "Colour swatches in the toolbar"
|
|
3828
|
+
},
|
|
3829
|
+
"widths": {
|
|
3830
|
+
"kind": "array",
|
|
3831
|
+
"of": {
|
|
3832
|
+
"kind": "number"
|
|
3833
|
+
},
|
|
3834
|
+
"doc": "Pen widths in the toolbar"
|
|
3835
|
+
},
|
|
3836
|
+
"toolbar": {
|
|
3837
|
+
"kind": "boolean",
|
|
3838
|
+
"doc": "Show the toolbar"
|
|
3839
|
+
},
|
|
3840
|
+
"name": {
|
|
3841
|
+
"kind": "string",
|
|
3842
|
+
"doc": "Name of the hidden input"
|
|
3843
|
+
},
|
|
3844
|
+
"disabled": {
|
|
3845
|
+
"kind": "boolean"
|
|
3846
|
+
},
|
|
3847
|
+
"typeFallback": {
|
|
3848
|
+
"kind": "boolean",
|
|
3849
|
+
"doc": "Draw / Type toggle"
|
|
3850
|
+
},
|
|
3851
|
+
"minStrokeLength": {
|
|
3852
|
+
"kind": "number",
|
|
3853
|
+
"doc": "Points needed to keep a stroke"
|
|
3854
|
+
},
|
|
3855
|
+
"respectMotionPreference": {
|
|
3856
|
+
"kind": "boolean",
|
|
3857
|
+
"doc": "Honour prefers-reduced-motion"
|
|
3858
|
+
},
|
|
3859
|
+
"onChange": {
|
|
3860
|
+
"kind": "function",
|
|
3861
|
+
"nullable": true,
|
|
3862
|
+
"doc": "The signature changed - receives the data URL ('' when empty)"
|
|
3863
|
+
},
|
|
3864
|
+
"onClear": {
|
|
3865
|
+
"kind": "function",
|
|
3866
|
+
"nullable": true
|
|
3867
|
+
},
|
|
3868
|
+
"onBegin": {
|
|
3869
|
+
"kind": "function",
|
|
3870
|
+
"nullable": true,
|
|
3871
|
+
"doc": "A stroke began"
|
|
3872
|
+
},
|
|
3873
|
+
"onEnd": {
|
|
3874
|
+
"kind": "function",
|
|
3875
|
+
"nullable": true,
|
|
3876
|
+
"doc": "A stroke ended"
|
|
3877
|
+
}
|
|
3878
|
+
},
|
|
3879
|
+
"SkeletonOptions": {
|
|
3880
|
+
"type": {
|
|
3881
|
+
"kind": "enum",
|
|
3882
|
+
"values": [
|
|
3883
|
+
"card",
|
|
3884
|
+
"text",
|
|
3885
|
+
"list",
|
|
3886
|
+
"table",
|
|
3887
|
+
"custom"
|
|
3888
|
+
],
|
|
3889
|
+
"doc": "Shape to draw (default 'text')"
|
|
3890
|
+
},
|
|
3891
|
+
"lines": {
|
|
3892
|
+
"kind": "string",
|
|
3893
|
+
"kinds": [
|
|
3894
|
+
"string",
|
|
3895
|
+
"number"
|
|
3896
|
+
],
|
|
3897
|
+
"nullable": true,
|
|
3898
|
+
"doc": "Lines per paragraph, card or list item (default 3; list 2)"
|
|
3899
|
+
},
|
|
3900
|
+
"count": {
|
|
3901
|
+
"kind": "string",
|
|
3902
|
+
"kinds": [
|
|
3903
|
+
"string",
|
|
3904
|
+
"number"
|
|
3905
|
+
],
|
|
3906
|
+
"nullable": true,
|
|
3907
|
+
"doc": "Paragraphs, cards or list items (default 1; list 3)"
|
|
3908
|
+
},
|
|
3909
|
+
"rows": {
|
|
3910
|
+
"kind": "string",
|
|
3911
|
+
"kinds": [
|
|
3912
|
+
"string",
|
|
3913
|
+
"number"
|
|
3914
|
+
],
|
|
3915
|
+
"doc": "Table rows (default 5)"
|
|
3916
|
+
},
|
|
3917
|
+
"columns": {
|
|
3918
|
+
"kind": "string",
|
|
3919
|
+
"kinds": [
|
|
3920
|
+
"string",
|
|
3921
|
+
"number"
|
|
3922
|
+
],
|
|
3923
|
+
"doc": "Table columns (default 4)"
|
|
3924
|
+
},
|
|
3925
|
+
"header": {
|
|
3926
|
+
"kind": "boolean",
|
|
3927
|
+
"doc": "Table header row (default true)"
|
|
3928
|
+
},
|
|
3929
|
+
"avatar": {
|
|
3930
|
+
"kind": "boolean",
|
|
3931
|
+
"doc": "A circle at the start of each list item (default true)"
|
|
3932
|
+
},
|
|
3933
|
+
"image": {
|
|
3934
|
+
"kind": "boolean",
|
|
3935
|
+
"doc": "An image block at the top of each card (default true)"
|
|
3936
|
+
},
|
|
3937
|
+
"animate": {
|
|
3938
|
+
"kind": "boolean",
|
|
3939
|
+
"doc": "false = still tint, no sweep (default true)"
|
|
3940
|
+
},
|
|
3941
|
+
"template": {
|
|
3942
|
+
"kind": "string",
|
|
3943
|
+
"kinds": [
|
|
3944
|
+
"string",
|
|
3945
|
+
"function"
|
|
3946
|
+
],
|
|
3947
|
+
"nullable": true,
|
|
3948
|
+
"doc": "Markup for type 'custom', or a function returning it"
|
|
3949
|
+
},
|
|
3950
|
+
"label": {
|
|
3951
|
+
"kind": "string",
|
|
3952
|
+
"doc": "Screen-reader status text (default 'Loading...')"
|
|
3953
|
+
}
|
|
3954
|
+
},
|
|
3955
|
+
"SortableOptions": {
|
|
3956
|
+
"items": {
|
|
3957
|
+
"kind": "string",
|
|
3958
|
+
"nullable": true,
|
|
3959
|
+
"doc": "Selector for the sortable items; null = the container's direct children"
|
|
3960
|
+
},
|
|
3961
|
+
"handle": {
|
|
3962
|
+
"kind": "string",
|
|
3963
|
+
"nullable": true,
|
|
3964
|
+
"doc": "Selector inside an item that starts a drag; null = the whole item"
|
|
3965
|
+
},
|
|
3966
|
+
"nest": {
|
|
3967
|
+
"kind": "boolean",
|
|
3968
|
+
"doc": "Adds an \"into\" drop zone and switches to indicator mode (for trees)"
|
|
3969
|
+
},
|
|
3970
|
+
"live": {
|
|
3971
|
+
"kind": "boolean",
|
|
3972
|
+
"nullable": true,
|
|
3973
|
+
"doc": "null = !nest. true = siblings slide aside while you drag; false = indicator mode"
|
|
3974
|
+
},
|
|
3975
|
+
"axis": {
|
|
3976
|
+
"kind": "enum",
|
|
3977
|
+
"values": [
|
|
3978
|
+
"x",
|
|
3979
|
+
"y"
|
|
3980
|
+
],
|
|
3981
|
+
"doc": "'y' for a column, 'x' for a row"
|
|
3982
|
+
},
|
|
3983
|
+
"key": {
|
|
3984
|
+
"kind": "string",
|
|
3985
|
+
"doc": "Attribute that identifies an item across re-renders (default 'data-id')"
|
|
3986
|
+
},
|
|
3987
|
+
"animation": {
|
|
3988
|
+
"kind": "number",
|
|
3989
|
+
"doc": "Animation duration in ms; 0 turns it off. Reduced motion always does"
|
|
3990
|
+
},
|
|
3991
|
+
"easing": {
|
|
3992
|
+
"kind": "string",
|
|
3993
|
+
"doc": "CSS easing for every glide"
|
|
3994
|
+
},
|
|
3995
|
+
"threshold": {
|
|
3996
|
+
"kind": "number",
|
|
3997
|
+
"doc": "Pixels the pointer must travel before a press becomes a drag (default 4)"
|
|
3998
|
+
},
|
|
3999
|
+
"touchDelay": {
|
|
4000
|
+
"kind": "number",
|
|
4001
|
+
"doc": "Ms a finger must rest on an item with no handle before it drags (default 220)"
|
|
4002
|
+
},
|
|
4003
|
+
"nestZone": {
|
|
4004
|
+
"kind": "number",
|
|
4005
|
+
"doc": "Share of an item's height, centred, that means \"into\" (default 0.5)"
|
|
4006
|
+
},
|
|
4007
|
+
"accepts": {
|
|
4008
|
+
"kind": "function",
|
|
4009
|
+
"nullable": true,
|
|
4010
|
+
"doc": "Veto a drop. Live mode passes 'before' or 'after'"
|
|
4011
|
+
},
|
|
4012
|
+
"disabled": {
|
|
4013
|
+
"kind": "boolean",
|
|
4014
|
+
"doc": "Start disabled"
|
|
4015
|
+
},
|
|
4016
|
+
"keyboard": {
|
|
4017
|
+
"kind": "boolean",
|
|
4018
|
+
"doc": "Alt+Arrow moves the focused item (live mode). Default true"
|
|
4019
|
+
},
|
|
4020
|
+
"persist": {
|
|
4021
|
+
"kind": "string",
|
|
4022
|
+
"kinds": [
|
|
4023
|
+
"string",
|
|
4024
|
+
"boolean"
|
|
4025
|
+
],
|
|
4026
|
+
"doc": "Storage key (or true = the container's id): remember the order. Live mode"
|
|
4027
|
+
},
|
|
4028
|
+
"autoScroll": {
|
|
4029
|
+
"kind": "boolean",
|
|
4030
|
+
"doc": "Scroll the nearest scrolling ancestor (or the page) near its edges. Default true"
|
|
4031
|
+
},
|
|
4032
|
+
"ghostParent": {
|
|
4033
|
+
"kind": "object",
|
|
4034
|
+
"nullable": true,
|
|
4035
|
+
"doc": "Where the dragged copy is appended; null = the container"
|
|
4036
|
+
},
|
|
4037
|
+
"onStart": {
|
|
4038
|
+
"kind": "function",
|
|
4039
|
+
"nullable": true
|
|
4040
|
+
},
|
|
4041
|
+
"onMove": {
|
|
4042
|
+
"kind": "function",
|
|
4043
|
+
"nullable": true
|
|
4044
|
+
},
|
|
4045
|
+
"onSort": {
|
|
4046
|
+
"kind": "function",
|
|
4047
|
+
"nullable": true,
|
|
4048
|
+
"doc": "Live mode: the order changed"
|
|
4049
|
+
},
|
|
4050
|
+
"onDrop": {
|
|
4051
|
+
"kind": "function",
|
|
4052
|
+
"nullable": true,
|
|
4053
|
+
"doc": "Indicator mode: update your data and re-render here. Return false (or a promise that rejects) to refuse; a returned promise is awaited before animating."
|
|
4054
|
+
},
|
|
4055
|
+
"onCancel": {
|
|
4056
|
+
"kind": "function",
|
|
4057
|
+
"nullable": true,
|
|
4058
|
+
"doc": "Esc, a refused drop, or a drop over nothing"
|
|
4059
|
+
},
|
|
4060
|
+
"onEnd": {
|
|
4061
|
+
"kind": "function",
|
|
4062
|
+
"nullable": true,
|
|
4063
|
+
"doc": "Every drag, keyboard move and cancel ends here"
|
|
4064
|
+
}
|
|
4065
|
+
},
|
|
4066
|
+
"TabsOptions": {
|
|
4067
|
+
"active": {
|
|
4068
|
+
"kind": "number",
|
|
4069
|
+
"doc": "Initially active tab index"
|
|
4070
|
+
},
|
|
4071
|
+
"animation": {
|
|
4072
|
+
"kind": "enum",
|
|
4073
|
+
"values": [
|
|
4074
|
+
"none",
|
|
4075
|
+
"fade"
|
|
4076
|
+
],
|
|
4077
|
+
"doc": "Panel animation"
|
|
4078
|
+
},
|
|
4079
|
+
"animationDuration": {
|
|
4080
|
+
"kind": "number",
|
|
4081
|
+
"doc": "Animation duration in ms"
|
|
4082
|
+
},
|
|
4083
|
+
"tabSelector": {
|
|
4084
|
+
"kind": "string",
|
|
4085
|
+
"doc": "Selector for tab items"
|
|
4086
|
+
},
|
|
4087
|
+
"panelSelector": {
|
|
4088
|
+
"kind": "string",
|
|
4089
|
+
"doc": "Selector for tab panels"
|
|
4090
|
+
},
|
|
4091
|
+
"activeClass": {
|
|
4092
|
+
"kind": "string",
|
|
4093
|
+
"doc": "CSS class for the active tab"
|
|
4094
|
+
},
|
|
4095
|
+
"onChange": {
|
|
4096
|
+
"kind": "function",
|
|
4097
|
+
"nullable": true,
|
|
4098
|
+
"doc": "Called when the active tab changes"
|
|
4099
|
+
}
|
|
4100
|
+
},
|
|
4101
|
+
"TimerOptions": {
|
|
4102
|
+
"duration": {
|
|
4103
|
+
"kind": "number",
|
|
4104
|
+
"doc": "Countdown length in ms"
|
|
4105
|
+
},
|
|
4106
|
+
"autoStart": {
|
|
4107
|
+
"kind": "boolean",
|
|
4108
|
+
"doc": "Start at once"
|
|
4109
|
+
},
|
|
4110
|
+
"format": {
|
|
4111
|
+
"kind": "string",
|
|
4112
|
+
"doc": "Display format (case-insensitive)"
|
|
4113
|
+
},
|
|
4114
|
+
"showControls": {
|
|
4115
|
+
"kind": "boolean",
|
|
4116
|
+
"doc": "Show start/pause/reset buttons"
|
|
4117
|
+
},
|
|
4118
|
+
"updateInterval": {
|
|
4119
|
+
"kind": "number",
|
|
4120
|
+
"doc": "Tick interval in ms"
|
|
4121
|
+
},
|
|
4122
|
+
"notification": {
|
|
4123
|
+
"kind": "boolean",
|
|
4124
|
+
"doc": "Desktop notification on completion"
|
|
4125
|
+
},
|
|
4126
|
+
"notificationOptions": {
|
|
4127
|
+
"kind": "object",
|
|
4128
|
+
"type": "DesktopNotificationOptions",
|
|
4129
|
+
"doc": "Options for that notification"
|
|
4130
|
+
},
|
|
4131
|
+
"sound": {
|
|
4132
|
+
"kind": "boolean",
|
|
4133
|
+
"doc": "Play soundUrl on completion"
|
|
4134
|
+
},
|
|
4135
|
+
"soundUrl": {
|
|
4136
|
+
"kind": "string",
|
|
4137
|
+
"nullable": true,
|
|
4138
|
+
"doc": "Sound to play"
|
|
4139
|
+
},
|
|
4140
|
+
"onTick": {
|
|
4141
|
+
"kind": "function",
|
|
4142
|
+
"nullable": true,
|
|
4143
|
+
"doc": "Every tick, with the ms remaining"
|
|
4144
|
+
},
|
|
4145
|
+
"onComplete": {
|
|
4146
|
+
"kind": "function",
|
|
4147
|
+
"nullable": true,
|
|
4148
|
+
"doc": "Reached zero"
|
|
4149
|
+
},
|
|
4150
|
+
"onStart": {
|
|
4151
|
+
"kind": "function",
|
|
4152
|
+
"nullable": true,
|
|
4153
|
+
"doc": "Started"
|
|
4154
|
+
},
|
|
4155
|
+
"onPause": {
|
|
4156
|
+
"kind": "function",
|
|
4157
|
+
"nullable": true,
|
|
4158
|
+
"doc": "Paused"
|
|
4159
|
+
},
|
|
4160
|
+
"onReset": {
|
|
4161
|
+
"kind": "function",
|
|
4162
|
+
"nullable": true,
|
|
4163
|
+
"doc": "Reset"
|
|
4164
|
+
}
|
|
4165
|
+
},
|
|
4166
|
+
"TooltipDelay": {
|
|
4167
|
+
"show": {
|
|
4168
|
+
"kind": "number"
|
|
4169
|
+
},
|
|
4170
|
+
"hide": {
|
|
4171
|
+
"kind": "number"
|
|
4172
|
+
}
|
|
4173
|
+
},
|
|
4174
|
+
"TooltipOptions": {
|
|
4175
|
+
"content": {
|
|
4176
|
+
"kind": "string",
|
|
4177
|
+
"kinds": [
|
|
4178
|
+
"string",
|
|
4179
|
+
"object",
|
|
4180
|
+
"function"
|
|
4181
|
+
],
|
|
4182
|
+
"doc": "Tooltip content (falls back to data-tooltip, then title)"
|
|
4183
|
+
},
|
|
4184
|
+
"position": {
|
|
4185
|
+
"kind": "enum",
|
|
4186
|
+
"values": [
|
|
4187
|
+
"bottom",
|
|
4188
|
+
"top",
|
|
4189
|
+
"left",
|
|
4190
|
+
"right"
|
|
4191
|
+
],
|
|
4192
|
+
"doc": "Position relative to element (flips when there is no room)"
|
|
4193
|
+
},
|
|
4194
|
+
"placement": {
|
|
4195
|
+
"kind": "enum",
|
|
4196
|
+
"values": [
|
|
4197
|
+
"bottom",
|
|
4198
|
+
"top",
|
|
4199
|
+
"left",
|
|
4200
|
+
"right"
|
|
4201
|
+
],
|
|
4202
|
+
"doc": "Alias of `position`"
|
|
4203
|
+
},
|
|
4204
|
+
"trigger": {
|
|
4205
|
+
"kind": "any",
|
|
4206
|
+
"kinds": [
|
|
4207
|
+
"any",
|
|
4208
|
+
"enum"
|
|
4209
|
+
],
|
|
4210
|
+
"values": [
|
|
4211
|
+
"click",
|
|
4212
|
+
"hover",
|
|
4213
|
+
"focus",
|
|
4214
|
+
"manual"
|
|
4215
|
+
],
|
|
4216
|
+
"doc": "How to trigger; several separated by spaces ('hover focus')"
|
|
4217
|
+
},
|
|
4218
|
+
"delay": {
|
|
4219
|
+
"kind": "number",
|
|
4220
|
+
"kinds": [
|
|
4221
|
+
"number",
|
|
4222
|
+
"object"
|
|
4223
|
+
],
|
|
4224
|
+
"type": "TooltipDelay",
|
|
4225
|
+
"doc": "Show delay in ms, or {show, hide}"
|
|
4226
|
+
},
|
|
4227
|
+
"hideDelay": {
|
|
4228
|
+
"kind": "number",
|
|
4229
|
+
"doc": "Hide delay in ms"
|
|
4230
|
+
},
|
|
4231
|
+
"animation": {
|
|
4232
|
+
"kind": "boolean",
|
|
4233
|
+
"doc": "Fade in and out"
|
|
4234
|
+
},
|
|
4235
|
+
"offset": {
|
|
4236
|
+
"kind": "number",
|
|
4237
|
+
"doc": "Gap in px between target and bubble"
|
|
4238
|
+
},
|
|
4239
|
+
"html": {
|
|
4240
|
+
"kind": "boolean",
|
|
4241
|
+
"doc": "String content is HTML (sanitised unless `safe: false`), not text"
|
|
4242
|
+
},
|
|
4243
|
+
"safe": {
|
|
4244
|
+
"kind": "boolean",
|
|
4245
|
+
"doc": "Sanitise HTML content"
|
|
4246
|
+
},
|
|
4247
|
+
"visible": {
|
|
4248
|
+
"kind": "boolean",
|
|
4249
|
+
"doc": "Show at once"
|
|
4250
|
+
},
|
|
4251
|
+
"className": {
|
|
4252
|
+
"kind": "string",
|
|
4253
|
+
"doc": "Extra classes on the bubble"
|
|
4254
|
+
},
|
|
4255
|
+
"maxWidth": {
|
|
4256
|
+
"kind": "string",
|
|
4257
|
+
"kinds": [
|
|
4258
|
+
"string",
|
|
4259
|
+
"number"
|
|
4260
|
+
],
|
|
4261
|
+
"nullable": true,
|
|
4262
|
+
"doc": "Any CSS width; numbers are px"
|
|
4263
|
+
},
|
|
4264
|
+
"onShow": {
|
|
4265
|
+
"kind": "function",
|
|
4266
|
+
"nullable": true,
|
|
4267
|
+
"doc": "When the tooltip shows"
|
|
4268
|
+
},
|
|
4269
|
+
"onHide": {
|
|
4270
|
+
"kind": "function",
|
|
4271
|
+
"nullable": true,
|
|
4272
|
+
"doc": "When the tooltip hides"
|
|
4273
|
+
}
|
|
4274
|
+
}
|
|
4275
|
+
}
|
|
4276
|
+
}
|