@lynx-js/genui 0.0.1-rc.0 → 0.0.2

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.
Files changed (134) hide show
  1. package/a2ui/README.md +777 -100
  2. package/a2ui/dist/catalog/Button/{index.js → index.jsx} +12 -8
  3. package/a2ui/dist/catalog/Button/index.jsx.map +1 -0
  4. package/a2ui/dist/catalog/Card/{index.js → index.jsx} +5 -4
  5. package/a2ui/dist/catalog/Card/index.jsx.map +1 -0
  6. package/a2ui/dist/catalog/CheckBox/{index.js → index.jsx} +11 -6
  7. package/a2ui/dist/catalog/CheckBox/index.jsx.map +1 -0
  8. package/a2ui/dist/catalog/ChoicePicker/catalog.json +265 -0
  9. package/a2ui/dist/catalog/ChoicePicker/index.d.ts +56 -0
  10. package/a2ui/dist/catalog/ChoicePicker/index.jsx +98 -0
  11. package/a2ui/dist/catalog/ChoicePicker/index.jsx.map +1 -0
  12. package/a2ui/dist/catalog/ChoicePicker/utils.d.ts +13 -0
  13. package/a2ui/dist/catalog/ChoicePicker/utils.js +80 -0
  14. package/a2ui/dist/catalog/ChoicePicker/utils.js.map +1 -0
  15. package/a2ui/dist/catalog/Column/{index.js → index.jsx} +13 -14
  16. package/a2ui/dist/catalog/Column/index.jsx.map +1 -0
  17. package/a2ui/dist/catalog/DateTimeInput/catalog.json +165 -0
  18. package/a2ui/dist/catalog/DateTimeInput/index.d.ts +43 -0
  19. package/a2ui/dist/catalog/DateTimeInput/index.jsx +258 -0
  20. package/a2ui/dist/catalog/DateTimeInput/index.jsx.map +1 -0
  21. package/a2ui/dist/catalog/DateTimeInput/utils.d.ts +53 -0
  22. package/a2ui/dist/catalog/DateTimeInput/utils.js +248 -0
  23. package/a2ui/dist/catalog/DateTimeInput/utils.js.map +1 -0
  24. package/a2ui/dist/catalog/Divider/index.jsx +7 -0
  25. package/a2ui/dist/catalog/Divider/index.jsx.map +1 -0
  26. package/a2ui/dist/catalog/Icon/catalog.json +173 -2
  27. package/a2ui/dist/catalog/Icon/index.d.ts +2 -2
  28. package/a2ui/dist/catalog/Icon/{index.js → index.jsx} +4 -3
  29. package/a2ui/dist/catalog/Icon/index.jsx.map +1 -0
  30. package/a2ui/dist/catalog/Image/catalog.json +1 -17
  31. package/a2ui/dist/catalog/Image/index.d.ts +1 -3
  32. package/a2ui/dist/catalog/Image/index.jsx +21 -0
  33. package/a2ui/dist/catalog/Image/index.jsx.map +1 -0
  34. package/a2ui/dist/catalog/LineChart/{index.js → index.jsx} +53 -16
  35. package/a2ui/dist/catalog/LineChart/{index.js.map → index.jsx.map} +1 -1
  36. package/a2ui/dist/catalog/List/{index.js → index.jsx} +9 -6
  37. package/a2ui/dist/catalog/List/{index.js.map → index.jsx.map} +1 -1
  38. package/a2ui/dist/catalog/Modal/{index.js → index.jsx} +18 -9
  39. package/a2ui/dist/catalog/Modal/index.jsx.map +1 -0
  40. package/a2ui/dist/catalog/PieChart/{index.js → index.jsx} +41 -15
  41. package/a2ui/dist/catalog/PieChart/{index.js.map → index.jsx.map} +1 -1
  42. package/a2ui/dist/catalog/RadioGroup/{index.js → index.jsx} +18 -5
  43. package/a2ui/dist/catalog/RadioGroup/index.jsx.map +1 -0
  44. package/a2ui/dist/catalog/Row/{index.js → index.jsx} +10 -7
  45. package/a2ui/dist/catalog/Row/index.jsx.map +1 -0
  46. package/a2ui/dist/catalog/Slider/{index.js → index.jsx} +22 -7
  47. package/a2ui/dist/catalog/Slider/{index.js.map → index.jsx.map} +1 -1
  48. package/a2ui/dist/catalog/Tabs/index.jsx +40 -0
  49. package/a2ui/dist/catalog/Tabs/index.jsx.map +1 -0
  50. package/a2ui/dist/catalog/Text/catalog.json +6 -2
  51. package/a2ui/dist/catalog/Text/index.d.ts +1 -1
  52. package/a2ui/dist/catalog/Text/index.jsx +16 -0
  53. package/a2ui/dist/catalog/Text/index.jsx.map +1 -0
  54. package/a2ui/dist/catalog/TextField/{index.js → index.jsx} +8 -5
  55. package/a2ui/dist/catalog/TextField/{index.js.map → index.jsx.map} +1 -1
  56. package/a2ui/dist/catalog/index.d.ts +21 -17
  57. package/a2ui/dist/catalog/index.js +2067 -20
  58. package/a2ui/dist/catalog/index.js.map +1 -1
  59. package/a2ui/dist/index.d.ts +1 -1
  60. package/a2ui/dist/index.js +1 -1
  61. package/a2ui/dist/index.js.map +1 -1
  62. package/a2ui/dist/react/A2UI.d.ts +1 -1
  63. package/a2ui/dist/react/{A2UI.js → A2UI.jsx} +6 -5
  64. package/a2ui/dist/react/{A2UI.js.map → A2UI.jsx.map} +1 -1
  65. package/a2ui/dist/react/{A2UIProvider.js → A2UIProvider.jsx} +2 -3
  66. package/a2ui/dist/react/{A2UIProvider.js.map → A2UIProvider.jsx.map} +1 -1
  67. package/a2ui/dist/react/A2UIRenderer.d.ts +1 -0
  68. package/a2ui/dist/react/{A2UIRenderer.js → A2UIRenderer.jsx} +36 -24
  69. package/a2ui/dist/react/A2UIRenderer.jsx.map +1 -0
  70. package/a2ui/dist/react/index.d.ts +3 -3
  71. package/a2ui/dist/react/index.js +2 -2
  72. package/a2ui/dist/react/index.js.map +1 -1
  73. package/a2ui/dist/react/useA2UIContext.d.ts +1 -1
  74. package/a2ui/dist/react/useA2UIContext.js +1 -1
  75. package/a2ui/dist/react/useA2UIContext.js.map +1 -1
  76. package/a2ui/dist/react/useAction.js +2 -1
  77. package/a2ui/dist/react/useAction.js.map +1 -1
  78. package/a2ui/dist/react/useChecks.js +7 -2
  79. package/a2ui/dist/react/useChecks.js.map +1 -1
  80. package/a2ui/dist/react/useDataBinding.d.ts +1 -1
  81. package/a2ui/dist/react/useDataBinding.js +24 -48
  82. package/a2ui/dist/react/useDataBinding.js.map +1 -1
  83. package/a2ui/dist/store/MessageProcessor.js +7 -19
  84. package/a2ui/dist/store/MessageProcessor.js.map +1 -1
  85. package/a2ui/dist/store/SignalStore.d.ts +2 -0
  86. package/a2ui/dist/store/SignalStore.js +5 -0
  87. package/a2ui/dist/store/SignalStore.js.map +1 -1
  88. package/a2ui/dist/store/index.d.ts +3 -1
  89. package/a2ui/dist/store/index.js +3 -1
  90. package/a2ui/dist/store/index.js.map +1 -1
  91. package/a2ui/dist/store/resolveDynamic.d.ts +9 -0
  92. package/a2ui/dist/store/resolveDynamic.js +88 -0
  93. package/a2ui/dist/store/resolveDynamic.js.map +1 -0
  94. package/a2ui/dist/store/resolveFunctionCall.d.ts +2 -4
  95. package/a2ui/dist/store/resolveFunctionCall.js +24 -82
  96. package/a2ui/dist/store/resolveFunctionCall.js.map +1 -1
  97. package/a2ui/dist/store/signalResolution.d.ts +4 -0
  98. package/a2ui/dist/store/signalResolution.js +25 -0
  99. package/a2ui/dist/store/signalResolution.js.map +1 -0
  100. package/a2ui/dist/store/utils.d.ts +7 -0
  101. package/a2ui/dist/store/utils.js +24 -0
  102. package/a2ui/dist/store/utils.js.map +1 -0
  103. package/a2ui/dist/tsconfig.build.tsbuildinfo +1 -1
  104. package/a2ui/styles/catalog/ChoicePicker.css +157 -0
  105. package/a2ui/styles/catalog/DateTimeInput.css +375 -0
  106. package/a2ui/styles/catalog/Icon.css +1 -1
  107. package/a2ui/styles/catalog/Modal.css +1 -0
  108. package/a2ui/styles/catalog/Text.css +13 -17
  109. package/a2ui/styles/theme.css +2 -1
  110. package/a2ui-catalog-extractor/README.md +23 -15
  111. package/a2ui-catalog-extractor/bin/a2ui-catalog-extractor.js +0 -1
  112. package/a2ui-catalog-extractor/dist/tsconfig.build.tsbuildinfo +1 -1
  113. package/a2ui-prompt/README.md +1 -2
  114. package/a2ui-prompt/dist/index.js +138 -104
  115. package/cli/bin/cli.js +5 -2
  116. package/dist/tsconfig.build.tsbuildinfo +1 -1
  117. package/package.json +8 -1
  118. package/a2ui/dist/catalog/Button/index.js.map +0 -1
  119. package/a2ui/dist/catalog/Card/index.js.map +0 -1
  120. package/a2ui/dist/catalog/CheckBox/index.js.map +0 -1
  121. package/a2ui/dist/catalog/Column/index.js.map +0 -1
  122. package/a2ui/dist/catalog/Divider/index.js +0 -8
  123. package/a2ui/dist/catalog/Divider/index.js.map +0 -1
  124. package/a2ui/dist/catalog/Icon/index.js.map +0 -1
  125. package/a2ui/dist/catalog/Image/index.js +0 -30
  126. package/a2ui/dist/catalog/Image/index.js.map +0 -1
  127. package/a2ui/dist/catalog/Modal/index.js.map +0 -1
  128. package/a2ui/dist/catalog/RadioGroup/index.js.map +0 -1
  129. package/a2ui/dist/catalog/Row/index.js.map +0 -1
  130. package/a2ui/dist/catalog/Tabs/index.js +0 -32
  131. package/a2ui/dist/catalog/Tabs/index.js.map +0 -1
  132. package/a2ui/dist/catalog/Text/index.js +0 -27
  133. package/a2ui/dist/catalog/Text/index.js.map +0 -1
  134. package/a2ui/dist/react/A2UIRenderer.js.map +0 -1
@@ -1,26 +1,2073 @@
1
- // Copyright 2026 The Lynx Authors. All rights reserved.
2
- // Licensed under the Apache License Version 2.0 that can be found in the
3
- // LICENSE file in the root directory of this source tree.
4
1
  export { defineCatalog, defineFunction, mergeCatalogs, resolveCatalog, serializeCatalog, } from './defineCatalog.js';
2
+ export const catalogManifests = {
3
+ "Button": {
4
+ "Button": {
5
+ "properties": {
6
+ "child": {
7
+ "type": "string"
8
+ },
9
+ "variant": {
10
+ "type": "string",
11
+ "enum": [
12
+ "primary",
13
+ "borderless"
14
+ ]
15
+ },
16
+ "isValid": {
17
+ "type": "boolean"
18
+ },
19
+ "action": {
20
+ "oneOf": [
21
+ {
22
+ "type": "object",
23
+ "properties": {
24
+ "event": {
25
+ "type": "object",
26
+ "properties": {
27
+ "name": {
28
+ "type": "string"
29
+ },
30
+ "context": {
31
+ "type": "object",
32
+ "additionalProperties": true,
33
+ "description": "Context is a JSON object map in v0.9."
34
+ }
35
+ },
36
+ "required": [
37
+ "name"
38
+ ],
39
+ "additionalProperties": false
40
+ }
41
+ },
42
+ "required": [
43
+ "event"
44
+ ],
45
+ "additionalProperties": false
46
+ },
47
+ {
48
+ "type": "object",
49
+ "properties": {
50
+ "functionCall": {
51
+ "type": "object",
52
+ "properties": {
53
+ "call": {
54
+ "type": "string"
55
+ },
56
+ "args": {
57
+ "type": "object",
58
+ "additionalProperties": true
59
+ },
60
+ "returnType": {
61
+ "type": "string",
62
+ "enum": [
63
+ "string",
64
+ "number",
65
+ "boolean",
66
+ "object",
67
+ "array",
68
+ "any",
69
+ "void"
70
+ ]
71
+ }
72
+ },
73
+ "required": [
74
+ "call",
75
+ "args"
76
+ ],
77
+ "additionalProperties": false
78
+ }
79
+ },
80
+ "required": [
81
+ "functionCall"
82
+ ],
83
+ "additionalProperties": false
84
+ }
85
+ ],
86
+ "description": "v0.9 actions should use the `event` wrapper for server-dispatched clicks."
87
+ },
88
+ "checks": {
89
+ "type": "array",
90
+ "items": {
91
+ "type": "object",
92
+ "properties": {
93
+ "condition": {
94
+ "oneOf": [
95
+ {
96
+ "type": "boolean"
97
+ },
98
+ {
99
+ "type": "object",
100
+ "properties": {
101
+ "path": {
102
+ "type": "string"
103
+ }
104
+ },
105
+ "required": [
106
+ "path"
107
+ ],
108
+ "additionalProperties": false
109
+ },
110
+ {
111
+ "type": "object",
112
+ "properties": {
113
+ "call": {
114
+ "type": "string"
115
+ },
116
+ "args": {
117
+ "type": "object",
118
+ "additionalProperties": true
119
+ },
120
+ "returnType": {
121
+ "type": "string",
122
+ "enum": [
123
+ "string",
124
+ "number",
125
+ "boolean",
126
+ "object",
127
+ "array",
128
+ "any",
129
+ "void"
130
+ ]
131
+ }
132
+ },
133
+ "required": [
134
+ "call",
135
+ "args"
136
+ ],
137
+ "additionalProperties": false
138
+ }
139
+ ]
140
+ },
141
+ "message": {
142
+ "type": "string"
143
+ }
144
+ },
145
+ "required": [
146
+ "condition",
147
+ "message"
148
+ ],
149
+ "additionalProperties": false
150
+ }
151
+ }
152
+ },
153
+ "required": [
154
+ "child",
155
+ "action"
156
+ ]
157
+ }
158
+ },
159
+ "Card": {
160
+ "Card": {
161
+ "properties": {
162
+ "child": {
163
+ "type": "string"
164
+ },
165
+ "variant": {
166
+ "type": "string",
167
+ "enum": [
168
+ "elevated",
169
+ "outlined",
170
+ "filled",
171
+ "ghost"
172
+ ]
173
+ },
174
+ "weight": {
175
+ "type": "number"
176
+ }
177
+ },
178
+ "required": [
179
+ "child"
180
+ ]
181
+ }
182
+ },
183
+ "CheckBox": {
184
+ "CheckBox": {
185
+ "properties": {
186
+ "label": {
187
+ "oneOf": [
188
+ {
189
+ "type": "string"
190
+ },
191
+ {
192
+ "type": "object",
193
+ "properties": {
194
+ "path": {
195
+ "type": "string"
196
+ }
197
+ },
198
+ "required": [
199
+ "path"
200
+ ],
201
+ "additionalProperties": false
202
+ },
203
+ {
204
+ "type": "object",
205
+ "properties": {
206
+ "call": {
207
+ "type": "string"
208
+ },
209
+ "args": {
210
+ "type": "object",
211
+ "additionalProperties": true
212
+ },
213
+ "returnType": {
214
+ "type": "string",
215
+ "enum": [
216
+ "string",
217
+ "number",
218
+ "boolean",
219
+ "object",
220
+ "array",
221
+ "any",
222
+ "void"
223
+ ]
224
+ }
225
+ },
226
+ "required": [
227
+ "call",
228
+ "args"
229
+ ],
230
+ "additionalProperties": false
231
+ }
232
+ ]
233
+ },
234
+ "value": {
235
+ "oneOf": [
236
+ {
237
+ "type": "boolean"
238
+ },
239
+ {
240
+ "type": "object",
241
+ "properties": {
242
+ "path": {
243
+ "type": "string"
244
+ }
245
+ },
246
+ "required": [
247
+ "path"
248
+ ],
249
+ "additionalProperties": false
250
+ },
251
+ {
252
+ "type": "object",
253
+ "properties": {
254
+ "call": {
255
+ "type": "string"
256
+ },
257
+ "args": {
258
+ "type": "object",
259
+ "additionalProperties": true
260
+ },
261
+ "returnType": {
262
+ "type": "string",
263
+ "enum": [
264
+ "string",
265
+ "number",
266
+ "boolean",
267
+ "object",
268
+ "array",
269
+ "any",
270
+ "void"
271
+ ]
272
+ }
273
+ },
274
+ "required": [
275
+ "call",
276
+ "args"
277
+ ],
278
+ "additionalProperties": false
279
+ }
280
+ ]
281
+ },
282
+ "checks": {
283
+ "type": "array",
284
+ "items": {
285
+ "type": "object",
286
+ "properties": {
287
+ "condition": {
288
+ "oneOf": [
289
+ {
290
+ "type": "boolean"
291
+ },
292
+ {
293
+ "type": "object",
294
+ "properties": {
295
+ "path": {
296
+ "type": "string"
297
+ }
298
+ },
299
+ "required": [
300
+ "path"
301
+ ],
302
+ "additionalProperties": false
303
+ },
304
+ {
305
+ "type": "object",
306
+ "properties": {
307
+ "call": {
308
+ "type": "string"
309
+ },
310
+ "args": {
311
+ "type": "object",
312
+ "additionalProperties": true
313
+ },
314
+ "returnType": {
315
+ "type": "string",
316
+ "enum": [
317
+ "string",
318
+ "number",
319
+ "boolean",
320
+ "object",
321
+ "array",
322
+ "any",
323
+ "void"
324
+ ]
325
+ }
326
+ },
327
+ "required": [
328
+ "call",
329
+ "args"
330
+ ],
331
+ "additionalProperties": false
332
+ }
333
+ ]
334
+ },
335
+ "message": {
336
+ "type": "string"
337
+ }
338
+ },
339
+ "required": [
340
+ "condition",
341
+ "message"
342
+ ],
343
+ "additionalProperties": false
344
+ }
345
+ }
346
+ },
347
+ "required": [
348
+ "label",
349
+ "value"
350
+ ]
351
+ }
352
+ },
353
+ "ChoicePicker": {
354
+ "ChoicePicker": {
355
+ "properties": {
356
+ "label": {
357
+ "oneOf": [
358
+ {
359
+ "type": "string"
360
+ },
361
+ {
362
+ "type": "object",
363
+ "properties": {
364
+ "path": {
365
+ "type": "string"
366
+ }
367
+ },
368
+ "required": [
369
+ "path"
370
+ ],
371
+ "additionalProperties": false
372
+ },
373
+ {
374
+ "type": "object",
375
+ "properties": {
376
+ "call": {
377
+ "type": "string"
378
+ },
379
+ "args": {
380
+ "type": "object",
381
+ "additionalProperties": true
382
+ },
383
+ "returnType": {
384
+ "type": "string",
385
+ "enum": [
386
+ "string",
387
+ "number",
388
+ "boolean",
389
+ "object",
390
+ "array",
391
+ "any",
392
+ "void"
393
+ ]
394
+ }
395
+ },
396
+ "required": [
397
+ "call",
398
+ "args"
399
+ ],
400
+ "additionalProperties": false
401
+ }
402
+ ],
403
+ "description": "The label for the group of options."
404
+ },
405
+ "variant": {
406
+ "type": "string",
407
+ "enum": [
408
+ "multipleSelection",
409
+ "mutuallyExclusive"
410
+ ],
411
+ "description": "A hint for how the choice picker should be displayed and behave."
412
+ },
413
+ "options": {
414
+ "type": "array",
415
+ "items": {
416
+ "type": "object",
417
+ "properties": {
418
+ "label": {
419
+ "oneOf": [
420
+ {
421
+ "type": "string"
422
+ },
423
+ {
424
+ "type": "object",
425
+ "properties": {
426
+ "path": {
427
+ "type": "string"
428
+ }
429
+ },
430
+ "required": [
431
+ "path"
432
+ ],
433
+ "additionalProperties": false
434
+ },
435
+ {
436
+ "type": "object",
437
+ "properties": {
438
+ "call": {
439
+ "type": "string"
440
+ },
441
+ "args": {
442
+ "type": "object",
443
+ "additionalProperties": true
444
+ },
445
+ "returnType": {
446
+ "type": "string",
447
+ "enum": [
448
+ "string",
449
+ "number",
450
+ "boolean",
451
+ "object",
452
+ "array",
453
+ "any",
454
+ "void"
455
+ ]
456
+ }
457
+ },
458
+ "required": [
459
+ "call",
460
+ "args"
461
+ ],
462
+ "additionalProperties": false
463
+ }
464
+ ],
465
+ "description": "The text to display for this option."
466
+ },
467
+ "value": {
468
+ "type": "string",
469
+ "description": "The stable value associated with this option."
470
+ }
471
+ },
472
+ "required": [
473
+ "label",
474
+ "value"
475
+ ],
476
+ "additionalProperties": false
477
+ },
478
+ "description": "The list of available options to choose from."
479
+ },
480
+ "value": {
481
+ "oneOf": [
482
+ {
483
+ "type": "array",
484
+ "items": {
485
+ "type": "string"
486
+ }
487
+ },
488
+ {
489
+ "type": "object",
490
+ "properties": {
491
+ "path": {
492
+ "type": "string"
493
+ }
494
+ },
495
+ "required": [
496
+ "path"
497
+ ],
498
+ "additionalProperties": false
499
+ },
500
+ {
501
+ "type": "object",
502
+ "properties": {
503
+ "call": {
504
+ "type": "string"
505
+ },
506
+ "args": {
507
+ "type": "object",
508
+ "additionalProperties": true
509
+ },
510
+ "returnType": {
511
+ "type": "string",
512
+ "enum": [
513
+ "string",
514
+ "number",
515
+ "boolean",
516
+ "object",
517
+ "array",
518
+ "any",
519
+ "void"
520
+ ]
521
+ }
522
+ },
523
+ "required": [
524
+ "call",
525
+ "args"
526
+ ],
527
+ "additionalProperties": false
528
+ }
529
+ ],
530
+ "description": "The list of currently selected values."
531
+ },
532
+ "displayStyle": {
533
+ "type": "string",
534
+ "enum": [
535
+ "checkbox",
536
+ "chips"
537
+ ],
538
+ "description": "The display style of the component."
539
+ },
540
+ "filterable": {
541
+ "type": "boolean",
542
+ "description": "If true, displays a search input to filter the options."
543
+ },
544
+ "checks": {
545
+ "type": "array",
546
+ "items": {
547
+ "type": "object",
548
+ "properties": {
549
+ "condition": {
550
+ "oneOf": [
551
+ {
552
+ "type": "boolean"
553
+ },
554
+ {
555
+ "type": "object",
556
+ "properties": {
557
+ "path": {
558
+ "type": "string"
559
+ }
560
+ },
561
+ "required": [
562
+ "path"
563
+ ],
564
+ "additionalProperties": false
565
+ },
566
+ {
567
+ "type": "object",
568
+ "properties": {
569
+ "call": {
570
+ "type": "string"
571
+ },
572
+ "args": {
573
+ "type": "object",
574
+ "additionalProperties": true
575
+ },
576
+ "returnType": {
577
+ "type": "string",
578
+ "enum": [
579
+ "string",
580
+ "number",
581
+ "boolean",
582
+ "object",
583
+ "array",
584
+ "any",
585
+ "void"
586
+ ]
587
+ }
588
+ },
589
+ "required": [
590
+ "call",
591
+ "args"
592
+ ],
593
+ "additionalProperties": false
594
+ }
595
+ ],
596
+ "description": "The condition that indicates whether the check passes."
597
+ },
598
+ "message": {
599
+ "type": "string",
600
+ "description": "The error message to display if the check fails."
601
+ }
602
+ },
603
+ "required": [
604
+ "condition",
605
+ "message"
606
+ ],
607
+ "additionalProperties": false
608
+ },
609
+ "description": "A list of checks to perform."
610
+ }
611
+ },
612
+ "required": [
613
+ "options",
614
+ "value"
615
+ ]
616
+ }
617
+ },
618
+ "Column": {
619
+ "Column": {
620
+ "properties": {
621
+ "children": {
622
+ "oneOf": [
623
+ {
624
+ "type": "array",
625
+ "items": {
626
+ "type": "string"
627
+ }
628
+ },
629
+ {
630
+ "type": "object",
631
+ "properties": {
632
+ "componentId": {
633
+ "type": "string"
634
+ },
635
+ "path": {
636
+ "type": "string"
637
+ }
638
+ },
639
+ "required": [
640
+ "componentId",
641
+ "path"
642
+ ],
643
+ "additionalProperties": false
644
+ }
645
+ ],
646
+ "description": "Static child IDs array or template object."
647
+ },
648
+ "align": {
649
+ "type": "string",
650
+ "enum": [
651
+ "start",
652
+ "center",
653
+ "end",
654
+ "stretch"
655
+ ]
656
+ },
657
+ "justify": {
658
+ "type": "string",
659
+ "enum": [
660
+ "start",
661
+ "center",
662
+ "end",
663
+ "stretch",
664
+ "spaceBetween",
665
+ "spaceAround",
666
+ "spaceEvenly"
667
+ ]
668
+ }
669
+ },
670
+ "required": [
671
+ "children"
672
+ ]
673
+ }
674
+ },
675
+ "DateTimeInput": {
676
+ "DateTimeInput": {
677
+ "properties": {
678
+ "value": {
679
+ "oneOf": [
680
+ {
681
+ "type": "string"
682
+ },
683
+ {
684
+ "type": "object",
685
+ "properties": {
686
+ "path": {
687
+ "type": "string"
688
+ }
689
+ },
690
+ "required": [
691
+ "path"
692
+ ],
693
+ "additionalProperties": false
694
+ }
695
+ ],
696
+ "description": "The current date/time value. Typically bound to a data path."
697
+ },
698
+ "label": {
699
+ "oneOf": [
700
+ {
701
+ "type": "string"
702
+ },
703
+ {
704
+ "type": "object",
705
+ "properties": {
706
+ "path": {
707
+ "type": "string"
708
+ }
709
+ },
710
+ "required": [
711
+ "path"
712
+ ],
713
+ "additionalProperties": false
714
+ },
715
+ {
716
+ "type": "object",
717
+ "properties": {
718
+ "call": {
719
+ "type": "string"
720
+ },
721
+ "args": {
722
+ "type": "object",
723
+ "additionalProperties": true
724
+ },
725
+ "returnType": {
726
+ "type": "string",
727
+ "enum": [
728
+ "string",
729
+ "number",
730
+ "boolean",
731
+ "object",
732
+ "array",
733
+ "any",
734
+ "void"
735
+ ]
736
+ }
737
+ },
738
+ "required": [
739
+ "call",
740
+ "args"
741
+ ],
742
+ "additionalProperties": false
743
+ }
744
+ ],
745
+ "description": "The text label for the input field."
746
+ },
747
+ "enableDate": {
748
+ "type": "boolean",
749
+ "description": "Whether to show the date picker."
750
+ },
751
+ "enableTime": {
752
+ "type": "boolean",
753
+ "description": "Whether to show the time picker."
754
+ },
755
+ "outputFormat": {
756
+ "type": "string",
757
+ "description": "Format string for the output value. Supports YYYY, MM, DD, HH, and mm."
758
+ },
759
+ "min": {
760
+ "type": "string",
761
+ "description": "Minimum allowed date/time value."
762
+ },
763
+ "max": {
764
+ "type": "string",
765
+ "description": "Maximum allowed date/time value."
766
+ },
767
+ "checks": {
768
+ "type": "array",
769
+ "items": {
770
+ "type": "object",
771
+ "properties": {
772
+ "condition": {
773
+ "oneOf": [
774
+ {
775
+ "type": "boolean"
776
+ },
777
+ {
778
+ "type": "object",
779
+ "properties": {
780
+ "path": {
781
+ "type": "string"
782
+ }
783
+ },
784
+ "required": [
785
+ "path"
786
+ ],
787
+ "additionalProperties": false
788
+ },
789
+ {
790
+ "type": "object",
791
+ "properties": {
792
+ "call": {
793
+ "type": "string"
794
+ },
795
+ "args": {
796
+ "type": "object",
797
+ "additionalProperties": true
798
+ },
799
+ "returnType": {
800
+ "type": "string",
801
+ "enum": [
802
+ "string",
803
+ "number",
804
+ "boolean",
805
+ "object",
806
+ "array",
807
+ "any",
808
+ "void"
809
+ ]
810
+ }
811
+ },
812
+ "required": [
813
+ "call",
814
+ "args"
815
+ ],
816
+ "additionalProperties": false
817
+ }
818
+ ],
819
+ "description": "The condition that indicates whether the check passes."
820
+ },
821
+ "message": {
822
+ "type": "string",
823
+ "description": "The error message to display if the check fails."
824
+ }
825
+ },
826
+ "required": [
827
+ "condition",
828
+ "message"
829
+ ],
830
+ "additionalProperties": false
831
+ },
832
+ "description": "A list of checks to perform."
833
+ }
834
+ },
835
+ "required": [
836
+ "value"
837
+ ]
838
+ }
839
+ },
840
+ "Divider": {
841
+ "Divider": {
842
+ "properties": {
843
+ "axis": {
844
+ "type": "string",
845
+ "enum": [
846
+ "horizontal",
847
+ "vertical"
848
+ ]
849
+ }
850
+ },
851
+ "required": []
852
+ }
853
+ },
854
+ "Icon": {
855
+ "Icon": {
856
+ "properties": {
857
+ "name": {
858
+ "oneOf": [
859
+ {
860
+ "type": "string",
861
+ "enum": [
862
+ "account_circle"
863
+ ]
864
+ },
865
+ {
866
+ "type": "string",
867
+ "enum": [
868
+ "add"
869
+ ]
870
+ },
871
+ {
872
+ "type": "string",
873
+ "enum": [
874
+ "arrow_back"
875
+ ]
876
+ },
877
+ {
878
+ "type": "string",
879
+ "enum": [
880
+ "arrow_forward"
881
+ ]
882
+ },
883
+ {
884
+ "type": "string",
885
+ "enum": [
886
+ "camera"
887
+ ]
888
+ },
889
+ {
890
+ "type": "string",
891
+ "enum": [
892
+ "check"
893
+ ]
894
+ },
895
+ {
896
+ "type": "string",
897
+ "enum": [
898
+ "close"
899
+ ]
900
+ },
901
+ {
902
+ "type": "string",
903
+ "enum": [
904
+ "delete"
905
+ ]
906
+ },
907
+ {
908
+ "type": "string",
909
+ "enum": [
910
+ "edit"
911
+ ]
912
+ },
913
+ {
914
+ "type": "string",
915
+ "enum": [
916
+ "error"
917
+ ]
918
+ },
919
+ {
920
+ "type": "string",
921
+ "enum": [
922
+ "favorite"
923
+ ]
924
+ },
925
+ {
926
+ "type": "string",
927
+ "enum": [
928
+ "help"
929
+ ]
930
+ },
931
+ {
932
+ "type": "string",
933
+ "enum": [
934
+ "home"
935
+ ]
936
+ },
937
+ {
938
+ "type": "string",
939
+ "enum": [
940
+ "info"
941
+ ]
942
+ },
943
+ {
944
+ "type": "string",
945
+ "enum": [
946
+ "location_on"
947
+ ]
948
+ },
949
+ {
950
+ "type": "string",
951
+ "enum": [
952
+ "lock"
953
+ ]
954
+ },
955
+ {
956
+ "type": "string",
957
+ "enum": [
958
+ "mail"
959
+ ]
960
+ },
961
+ {
962
+ "type": "string",
963
+ "enum": [
964
+ "menu"
965
+ ]
966
+ },
967
+ {
968
+ "type": "string",
969
+ "enum": [
970
+ "more_vert"
971
+ ]
972
+ },
973
+ {
974
+ "type": "string",
975
+ "enum": [
976
+ "pause"
977
+ ]
978
+ },
979
+ {
980
+ "type": "string",
981
+ "enum": [
982
+ "person"
983
+ ]
984
+ },
985
+ {
986
+ "type": "string",
987
+ "enum": [
988
+ "play_arrow"
989
+ ]
990
+ },
991
+ {
992
+ "type": "string",
993
+ "enum": [
994
+ "refresh"
995
+ ]
996
+ },
997
+ {
998
+ "type": "string",
999
+ "enum": [
1000
+ "search"
1001
+ ]
1002
+ },
1003
+ {
1004
+ "type": "string",
1005
+ "enum": [
1006
+ "send"
1007
+ ]
1008
+ },
1009
+ {
1010
+ "type": "string",
1011
+ "enum": [
1012
+ "settings"
1013
+ ]
1014
+ },
1015
+ {
1016
+ "type": "string",
1017
+ "enum": [
1018
+ "share"
1019
+ ]
1020
+ },
1021
+ {
1022
+ "type": "string",
1023
+ "enum": [
1024
+ "star"
1025
+ ]
1026
+ },
1027
+ {
1028
+ "type": "string",
1029
+ "enum": [
1030
+ "warning"
1031
+ ]
1032
+ },
1033
+ {
1034
+ "type": "object",
1035
+ "properties": {
1036
+ "path": {
1037
+ "type": "string"
1038
+ }
1039
+ },
1040
+ "required": [
1041
+ "path"
1042
+ ],
1043
+ "additionalProperties": false
1044
+ }
1045
+ ],
1046
+ "description": "Google Material icon ligature name, e.g. \"info\", \"account_circle\", \"arrow_back\"."
1047
+ },
1048
+ "size": {
1049
+ "type": "string",
1050
+ "enum": [
1051
+ "sm",
1052
+ "md",
1053
+ "lg"
1054
+ ]
1055
+ },
1056
+ "color": {
1057
+ "type": "string",
1058
+ "enum": [
1059
+ "primary",
1060
+ "muted",
1061
+ "inherit"
1062
+ ]
1063
+ }
1064
+ },
1065
+ "required": [
1066
+ "name"
1067
+ ]
1068
+ }
1069
+ },
1070
+ "Image": {
1071
+ "Image": {
1072
+ "properties": {
1073
+ "url": {
1074
+ "type": "string",
1075
+ "description": "Image URL or path binding."
1076
+ },
1077
+ "fit": {
1078
+ "type": "string",
1079
+ "enum": [
1080
+ "contain",
1081
+ "cover",
1082
+ "fill",
1083
+ "none",
1084
+ "scale-down"
1085
+ ]
1086
+ },
1087
+ "mode": {
1088
+ "type": "string",
1089
+ "enum": [
1090
+ "center",
1091
+ "scaleToFill",
1092
+ "aspectFit",
1093
+ "aspectFill"
1094
+ ]
1095
+ },
1096
+ "variant": {
1097
+ "type": "string",
1098
+ "enum": [
1099
+ "icon",
1100
+ "avatar",
1101
+ "smallFeature",
1102
+ "mediumFeature",
1103
+ "largeFeature",
1104
+ "header"
1105
+ ]
1106
+ },
1107
+ "weight": {
1108
+ "type": "number"
1109
+ }
1110
+ },
1111
+ "required": [
1112
+ "url"
1113
+ ]
1114
+ }
1115
+ },
1116
+ "LineChart": {
1117
+ "LineChart": {
1118
+ "properties": {
1119
+ "labels": {
1120
+ "oneOf": [
1121
+ {
1122
+ "type": "array",
1123
+ "items": {
1124
+ "type": "string"
1125
+ }
1126
+ },
1127
+ {
1128
+ "type": "object",
1129
+ "properties": {
1130
+ "path": {
1131
+ "type": "string"
1132
+ }
1133
+ },
1134
+ "required": [
1135
+ "path"
1136
+ ],
1137
+ "additionalProperties": false
1138
+ }
1139
+ ],
1140
+ "description": "Category labels shown along the x axis."
1141
+ },
1142
+ "series": {
1143
+ "oneOf": [
1144
+ {
1145
+ "type": "array",
1146
+ "items": {
1147
+ "type": "object",
1148
+ "properties": {
1149
+ "name": {
1150
+ "type": "string"
1151
+ },
1152
+ "values": {
1153
+ "type": "array",
1154
+ "items": {
1155
+ "type": "number"
1156
+ }
1157
+ },
1158
+ "color": {
1159
+ "type": "string"
1160
+ }
1161
+ },
1162
+ "required": [
1163
+ "name",
1164
+ "values"
1165
+ ],
1166
+ "additionalProperties": false
1167
+ }
1168
+ },
1169
+ {
1170
+ "type": "object",
1171
+ "properties": {
1172
+ "path": {
1173
+ "type": "string"
1174
+ }
1175
+ },
1176
+ "required": [
1177
+ "path"
1178
+ ],
1179
+ "additionalProperties": false
1180
+ }
1181
+ ],
1182
+ "description": "One or more line series to render over the shared labels."
1183
+ },
1184
+ "variant": {
1185
+ "type": "string",
1186
+ "enum": [
1187
+ "linear",
1188
+ "natural",
1189
+ "step"
1190
+ ]
1191
+ },
1192
+ "xLabel": {
1193
+ "type": "string"
1194
+ },
1195
+ "yLabel": {
1196
+ "type": "string"
1197
+ },
1198
+ "showGrid": {
1199
+ "type": "boolean"
1200
+ },
1201
+ "showLegend": {
1202
+ "type": "boolean"
1203
+ },
1204
+ "height": {
1205
+ "type": "number"
1206
+ }
1207
+ },
1208
+ "required": [
1209
+ "labels",
1210
+ "series"
1211
+ ]
1212
+ }
1213
+ },
1214
+ "List": {
1215
+ "List": {
1216
+ "properties": {
1217
+ "children": {
1218
+ "oneOf": [
1219
+ {
1220
+ "type": "array",
1221
+ "items": {
1222
+ "type": "string"
1223
+ }
1224
+ },
1225
+ {
1226
+ "type": "object",
1227
+ "properties": {
1228
+ "componentId": {
1229
+ "type": "string"
1230
+ },
1231
+ "path": {
1232
+ "type": "string"
1233
+ }
1234
+ },
1235
+ "required": [
1236
+ "componentId",
1237
+ "path"
1238
+ ],
1239
+ "additionalProperties": false
1240
+ }
1241
+ ],
1242
+ "description": "Static child IDs array or template object."
1243
+ },
1244
+ "direction": {
1245
+ "type": "string",
1246
+ "enum": [
1247
+ "horizontal",
1248
+ "vertical"
1249
+ ]
1250
+ },
1251
+ "align": {
1252
+ "type": "string",
1253
+ "enum": [
1254
+ "start",
1255
+ "center",
1256
+ "end",
1257
+ "stretch"
1258
+ ]
1259
+ }
1260
+ },
1261
+ "required": [
1262
+ "children"
1263
+ ]
1264
+ }
1265
+ },
1266
+ "Modal": {
1267
+ "Modal": {
1268
+ "properties": {
1269
+ "trigger": {
1270
+ "type": "string",
1271
+ "description": "The ID of the component that opens the modal when interacted with."
1272
+ },
1273
+ "content": {
1274
+ "type": "string",
1275
+ "description": "The ID of the component to display inside the modal."
1276
+ }
1277
+ },
1278
+ "required": [
1279
+ "trigger",
1280
+ "content"
1281
+ ]
1282
+ }
1283
+ },
1284
+ "PieChart": {
1285
+ "PieChart": {
1286
+ "properties": {
1287
+ "data": {
1288
+ "oneOf": [
1289
+ {
1290
+ "type": "array",
1291
+ "items": {
1292
+ "type": "object",
1293
+ "properties": {
1294
+ "name": {
1295
+ "type": "string"
1296
+ },
1297
+ "value": {
1298
+ "type": "number"
1299
+ },
1300
+ "color": {
1301
+ "type": "string"
1302
+ }
1303
+ },
1304
+ "required": [
1305
+ "name",
1306
+ "value"
1307
+ ],
1308
+ "additionalProperties": false
1309
+ }
1310
+ },
1311
+ {
1312
+ "type": "object",
1313
+ "properties": {
1314
+ "path": {
1315
+ "type": "string"
1316
+ }
1317
+ },
1318
+ "required": [
1319
+ "path"
1320
+ ],
1321
+ "additionalProperties": false
1322
+ }
1323
+ ],
1324
+ "description": "Pie slices to render."
1325
+ },
1326
+ "variant": {
1327
+ "type": "string",
1328
+ "enum": [
1329
+ "pie",
1330
+ "donut"
1331
+ ],
1332
+ "description": "Render the chart as a flat pie or a donut."
1333
+ },
1334
+ "title": {
1335
+ "type": "string",
1336
+ "description": "Optional title shown above the chart."
1337
+ },
1338
+ "subtitle": {
1339
+ "type": "string",
1340
+ "description": "Optional subtitle shown under the title."
1341
+ },
1342
+ "showLegend": {
1343
+ "type": "boolean",
1344
+ "description": "Show the legend below the chart."
1345
+ },
1346
+ "showPercentages": {
1347
+ "type": "boolean",
1348
+ "description": "Show percentage values in the legend."
1349
+ },
1350
+ "height": {
1351
+ "type": "number",
1352
+ "description": "Chart height in pixels."
1353
+ },
1354
+ "paddingAngle": {
1355
+ "type": "number",
1356
+ "description": "Padding angle between slices, in degrees."
1357
+ },
1358
+ "colors": {
1359
+ "type": "array",
1360
+ "items": {
1361
+ "type": "string"
1362
+ },
1363
+ "description": "Custom color palette for the slices."
1364
+ }
1365
+ },
1366
+ "required": [
1367
+ "data"
1368
+ ]
1369
+ }
1370
+ },
1371
+ "RadioGroup": {
1372
+ "RadioGroup": {
1373
+ "properties": {
1374
+ "items": {
1375
+ "oneOf": [
1376
+ {
1377
+ "type": "array",
1378
+ "items": {
1379
+ "type": "string"
1380
+ }
1381
+ },
1382
+ {
1383
+ "type": "object",
1384
+ "properties": {
1385
+ "path": {
1386
+ "type": "string"
1387
+ }
1388
+ },
1389
+ "required": [
1390
+ "path"
1391
+ ],
1392
+ "additionalProperties": false
1393
+ },
1394
+ {
1395
+ "type": "object",
1396
+ "properties": {
1397
+ "call": {
1398
+ "type": "string"
1399
+ },
1400
+ "args": {
1401
+ "type": "object",
1402
+ "additionalProperties": true
1403
+ },
1404
+ "returnType": {
1405
+ "type": "string",
1406
+ "enum": [
1407
+ "string",
1408
+ "number",
1409
+ "boolean",
1410
+ "object",
1411
+ "array",
1412
+ "any",
1413
+ "void"
1414
+ ]
1415
+ }
1416
+ },
1417
+ "required": [
1418
+ "call",
1419
+ "args"
1420
+ ],
1421
+ "additionalProperties": false
1422
+ }
1423
+ ],
1424
+ "description": "The list of string options to display."
1425
+ },
1426
+ "value": {
1427
+ "oneOf": [
1428
+ {
1429
+ "type": "string"
1430
+ },
1431
+ {
1432
+ "type": "object",
1433
+ "properties": {
1434
+ "path": {
1435
+ "type": "string"
1436
+ }
1437
+ },
1438
+ "required": [
1439
+ "path"
1440
+ ],
1441
+ "additionalProperties": false
1442
+ },
1443
+ {
1444
+ "type": "object",
1445
+ "properties": {
1446
+ "call": {
1447
+ "type": "string"
1448
+ },
1449
+ "args": {
1450
+ "type": "object",
1451
+ "additionalProperties": true
1452
+ },
1453
+ "returnType": {
1454
+ "type": "string",
1455
+ "enum": [
1456
+ "string",
1457
+ "number",
1458
+ "boolean",
1459
+ "object",
1460
+ "array",
1461
+ "any",
1462
+ "void"
1463
+ ]
1464
+ }
1465
+ },
1466
+ "required": [
1467
+ "call",
1468
+ "args"
1469
+ ],
1470
+ "additionalProperties": false
1471
+ }
1472
+ ],
1473
+ "description": "The currently selected value."
1474
+ },
1475
+ "usageHint": {
1476
+ "type": "string",
1477
+ "enum": [
1478
+ "default",
1479
+ "card",
1480
+ "row"
1481
+ ],
1482
+ "description": "A hint for the visual style of the radio group."
1483
+ },
1484
+ "checks": {
1485
+ "type": "array",
1486
+ "items": {
1487
+ "type": "object",
1488
+ "properties": {
1489
+ "condition": {
1490
+ "oneOf": [
1491
+ {
1492
+ "type": "boolean"
1493
+ },
1494
+ {
1495
+ "type": "object",
1496
+ "properties": {
1497
+ "path": {
1498
+ "type": "string"
1499
+ }
1500
+ },
1501
+ "required": [
1502
+ "path"
1503
+ ],
1504
+ "additionalProperties": false
1505
+ },
1506
+ {
1507
+ "type": "object",
1508
+ "properties": {
1509
+ "call": {
1510
+ "type": "string"
1511
+ },
1512
+ "args": {
1513
+ "type": "object",
1514
+ "additionalProperties": true
1515
+ },
1516
+ "returnType": {
1517
+ "type": "string",
1518
+ "enum": [
1519
+ "string",
1520
+ "number",
1521
+ "boolean",
1522
+ "object",
1523
+ "array",
1524
+ "any",
1525
+ "void"
1526
+ ]
1527
+ }
1528
+ },
1529
+ "required": [
1530
+ "call",
1531
+ "args"
1532
+ ],
1533
+ "additionalProperties": false
1534
+ }
1535
+ ]
1536
+ },
1537
+ "message": {
1538
+ "type": "string"
1539
+ }
1540
+ },
1541
+ "required": [
1542
+ "condition",
1543
+ "message"
1544
+ ],
1545
+ "additionalProperties": false
1546
+ }
1547
+ }
1548
+ },
1549
+ "required": [
1550
+ "items",
1551
+ "value"
1552
+ ]
1553
+ }
1554
+ },
1555
+ "Row": {
1556
+ "Row": {
1557
+ "properties": {
1558
+ "children": {
1559
+ "oneOf": [
1560
+ {
1561
+ "type": "array",
1562
+ "items": {
1563
+ "type": "string"
1564
+ }
1565
+ },
1566
+ {
1567
+ "type": "object",
1568
+ "properties": {
1569
+ "componentId": {
1570
+ "type": "string"
1571
+ },
1572
+ "path": {
1573
+ "type": "string"
1574
+ }
1575
+ },
1576
+ "required": [
1577
+ "componentId",
1578
+ "path"
1579
+ ],
1580
+ "additionalProperties": false
1581
+ }
1582
+ ],
1583
+ "description": "Static child IDs array or template object."
1584
+ },
1585
+ "justify": {
1586
+ "type": "string",
1587
+ "enum": [
1588
+ "start",
1589
+ "center",
1590
+ "end",
1591
+ "stretch",
1592
+ "spaceBetween",
1593
+ "spaceAround",
1594
+ "spaceEvenly"
1595
+ ]
1596
+ },
1597
+ "align": {
1598
+ "type": "string",
1599
+ "enum": [
1600
+ "start",
1601
+ "center",
1602
+ "end",
1603
+ "stretch"
1604
+ ]
1605
+ }
1606
+ },
1607
+ "required": [
1608
+ "children"
1609
+ ]
1610
+ }
1611
+ },
1612
+ "Slider": {
1613
+ "Slider": {
1614
+ "properties": {
1615
+ "label": {
1616
+ "oneOf": [
1617
+ {
1618
+ "type": "string"
1619
+ },
1620
+ {
1621
+ "type": "object",
1622
+ "properties": {
1623
+ "path": {
1624
+ "type": "string"
1625
+ }
1626
+ },
1627
+ "required": [
1628
+ "path"
1629
+ ],
1630
+ "additionalProperties": false
1631
+ },
1632
+ {
1633
+ "type": "object",
1634
+ "properties": {
1635
+ "call": {
1636
+ "type": "string"
1637
+ },
1638
+ "args": {
1639
+ "type": "object",
1640
+ "additionalProperties": true
1641
+ },
1642
+ "returnType": {
1643
+ "type": "string",
1644
+ "enum": [
1645
+ "string",
1646
+ "number",
1647
+ "boolean",
1648
+ "object",
1649
+ "array",
1650
+ "any",
1651
+ "void"
1652
+ ]
1653
+ }
1654
+ },
1655
+ "required": [
1656
+ "call",
1657
+ "args"
1658
+ ],
1659
+ "additionalProperties": false
1660
+ }
1661
+ ],
1662
+ "description": "The label for the slider."
1663
+ },
1664
+ "min": {
1665
+ "type": "number",
1666
+ "description": "The minimum value of the slider."
1667
+ },
1668
+ "max": {
1669
+ "type": "number",
1670
+ "description": "The maximum value of the slider."
1671
+ },
1672
+ "value": {
1673
+ "oneOf": [
1674
+ {
1675
+ "type": "number"
1676
+ },
1677
+ {
1678
+ "type": "object",
1679
+ "properties": {
1680
+ "path": {
1681
+ "type": "string"
1682
+ }
1683
+ },
1684
+ "required": [
1685
+ "path"
1686
+ ],
1687
+ "additionalProperties": false
1688
+ },
1689
+ {
1690
+ "type": "object",
1691
+ "properties": {
1692
+ "call": {
1693
+ "type": "string"
1694
+ },
1695
+ "args": {
1696
+ "type": "object",
1697
+ "additionalProperties": true
1698
+ },
1699
+ "returnType": {
1700
+ "type": "string",
1701
+ "enum": [
1702
+ "string",
1703
+ "number",
1704
+ "boolean",
1705
+ "object",
1706
+ "array",
1707
+ "any",
1708
+ "void"
1709
+ ]
1710
+ }
1711
+ },
1712
+ "required": [
1713
+ "call",
1714
+ "args"
1715
+ ],
1716
+ "additionalProperties": false
1717
+ }
1718
+ ],
1719
+ "description": "The current value of the slider."
1720
+ },
1721
+ "checks": {
1722
+ "type": "array",
1723
+ "items": {
1724
+ "type": "object",
1725
+ "properties": {
1726
+ "condition": {
1727
+ "oneOf": [
1728
+ {
1729
+ "type": "boolean"
1730
+ },
1731
+ {
1732
+ "type": "object",
1733
+ "properties": {
1734
+ "path": {
1735
+ "type": "string"
1736
+ }
1737
+ },
1738
+ "required": [
1739
+ "path"
1740
+ ],
1741
+ "additionalProperties": false
1742
+ },
1743
+ {
1744
+ "type": "object",
1745
+ "properties": {
1746
+ "call": {
1747
+ "type": "string"
1748
+ },
1749
+ "args": {
1750
+ "type": "object",
1751
+ "additionalProperties": true
1752
+ },
1753
+ "returnType": {
1754
+ "type": "string",
1755
+ "enum": [
1756
+ "string",
1757
+ "number",
1758
+ "boolean",
1759
+ "object",
1760
+ "array",
1761
+ "any",
1762
+ "void"
1763
+ ]
1764
+ }
1765
+ },
1766
+ "required": [
1767
+ "call",
1768
+ "args"
1769
+ ],
1770
+ "additionalProperties": false
1771
+ }
1772
+ ],
1773
+ "description": "The condition that indicates whether the check passes."
1774
+ },
1775
+ "message": {
1776
+ "type": "string",
1777
+ "description": "The error message to display if the check fails."
1778
+ }
1779
+ },
1780
+ "required": [
1781
+ "condition",
1782
+ "message"
1783
+ ],
1784
+ "additionalProperties": false
1785
+ },
1786
+ "description": "A list of checks to perform."
1787
+ }
1788
+ },
1789
+ "required": [
1790
+ "max",
1791
+ "value"
1792
+ ]
1793
+ }
1794
+ },
1795
+ "Tabs": {
1796
+ "Tabs": {
1797
+ "properties": {
1798
+ "tabs": {
1799
+ "type": "array",
1800
+ "items": {
1801
+ "type": "object",
1802
+ "properties": {
1803
+ "title": {
1804
+ "type": "string"
1805
+ },
1806
+ "child": {
1807
+ "type": "string"
1808
+ }
1809
+ },
1810
+ "required": [
1811
+ "title",
1812
+ "child"
1813
+ ],
1814
+ "additionalProperties": false
1815
+ }
1816
+ }
1817
+ },
1818
+ "required": [
1819
+ "tabs"
1820
+ ]
1821
+ }
1822
+ },
1823
+ "Text": {
1824
+ "Text": {
1825
+ "properties": {
1826
+ "text": {
1827
+ "oneOf": [
1828
+ {
1829
+ "type": "string"
1830
+ },
1831
+ {
1832
+ "type": "object",
1833
+ "properties": {
1834
+ "path": {
1835
+ "type": "string"
1836
+ }
1837
+ },
1838
+ "required": [
1839
+ "path"
1840
+ ],
1841
+ "additionalProperties": false
1842
+ },
1843
+ {
1844
+ "type": "object",
1845
+ "properties": {
1846
+ "call": {
1847
+ "type": "string"
1848
+ },
1849
+ "args": {
1850
+ "type": "object",
1851
+ "additionalProperties": true
1852
+ },
1853
+ "returnType": {
1854
+ "type": "string",
1855
+ "enum": [
1856
+ "string",
1857
+ "number",
1858
+ "boolean",
1859
+ "object",
1860
+ "array",
1861
+ "any",
1862
+ "void"
1863
+ ]
1864
+ }
1865
+ },
1866
+ "required": [
1867
+ "call",
1868
+ "args"
1869
+ ],
1870
+ "additionalProperties": false
1871
+ }
1872
+ ],
1873
+ "description": "Literal text, path binding, or function call."
1874
+ },
1875
+ "variant": {
1876
+ "type": "string",
1877
+ "enum": [
1878
+ "h1",
1879
+ "h2",
1880
+ "h3",
1881
+ "h4",
1882
+ "h5",
1883
+ "caption",
1884
+ "body",
1885
+ "markdown"
1886
+ ]
1887
+ },
1888
+ "emphasis": {
1889
+ "type": "string",
1890
+ "enum": [
1891
+ "medium",
1892
+ "strong"
1893
+ ]
1894
+ }
1895
+ },
1896
+ "required": [
1897
+ "text"
1898
+ ]
1899
+ }
1900
+ },
1901
+ "TextField": {
1902
+ "TextField": {
1903
+ "properties": {
1904
+ "label": {
1905
+ "oneOf": [
1906
+ {
1907
+ "type": "string"
1908
+ },
1909
+ {
1910
+ "type": "object",
1911
+ "properties": {
1912
+ "path": {
1913
+ "type": "string"
1914
+ }
1915
+ },
1916
+ "required": [
1917
+ "path"
1918
+ ],
1919
+ "additionalProperties": false
1920
+ }
1921
+ ],
1922
+ "description": "The text label for the input field."
1923
+ },
1924
+ "value": {
1925
+ "oneOf": [
1926
+ {
1927
+ "type": "string"
1928
+ },
1929
+ {
1930
+ "type": "object",
1931
+ "properties": {
1932
+ "path": {
1933
+ "type": "string"
1934
+ }
1935
+ },
1936
+ "required": [
1937
+ "path"
1938
+ ],
1939
+ "additionalProperties": false
1940
+ }
1941
+ ],
1942
+ "description": "The value of the text field."
1943
+ },
1944
+ "variant": {
1945
+ "type": "string",
1946
+ "enum": [
1947
+ "number",
1948
+ "longText",
1949
+ "shortText",
1950
+ "obscured"
1951
+ ],
1952
+ "description": "The type of input field to display."
1953
+ },
1954
+ "validationRegexp": {
1955
+ "type": "string",
1956
+ "description": "A regular expression used for client-side validation of the input."
1957
+ },
1958
+ "checks": {
1959
+ "type": "array",
1960
+ "items": {
1961
+ "type": "object",
1962
+ "properties": {
1963
+ "condition": {
1964
+ "oneOf": [
1965
+ {
1966
+ "type": "boolean"
1967
+ },
1968
+ {
1969
+ "type": "object",
1970
+ "properties": {
1971
+ "path": {
1972
+ "type": "string"
1973
+ }
1974
+ },
1975
+ "required": [
1976
+ "path"
1977
+ ],
1978
+ "additionalProperties": false
1979
+ },
1980
+ {
1981
+ "type": "object",
1982
+ "properties": {
1983
+ "call": {
1984
+ "type": "string"
1985
+ },
1986
+ "args": {
1987
+ "type": "object",
1988
+ "additionalProperties": {
1989
+ "oneOf": [
1990
+ {
1991
+ "type": "string"
1992
+ },
1993
+ {
1994
+ "type": "number"
1995
+ },
1996
+ {
1997
+ "type": "boolean"
1998
+ },
1999
+ {
2000
+ "type": "object",
2001
+ "properties": {
2002
+ "path": {
2003
+ "type": "string"
2004
+ }
2005
+ },
2006
+ "required": [
2007
+ "path"
2008
+ ],
2009
+ "additionalProperties": false
2010
+ }
2011
+ ]
2012
+ }
2013
+ },
2014
+ "returnType": {
2015
+ "type": "string",
2016
+ "enum": [
2017
+ "boolean"
2018
+ ]
2019
+ }
2020
+ },
2021
+ "required": [
2022
+ "call"
2023
+ ],
2024
+ "additionalProperties": false
2025
+ }
2026
+ ],
2027
+ "description": "The condition that indicates whether the check passes."
2028
+ },
2029
+ "message": {
2030
+ "type": "string",
2031
+ "description": "The error message to display if the check fails."
2032
+ }
2033
+ },
2034
+ "required": [
2035
+ "condition",
2036
+ "message"
2037
+ ],
2038
+ "additionalProperties": false
2039
+ },
2040
+ "description": "A list of checks to perform."
2041
+ }
2042
+ },
2043
+ "required": [
2044
+ "label"
2045
+ ]
2046
+ }
2047
+ }
2048
+ };
2049
+
5
2050
  // Per-component re-exports so consumers can pick exactly what they need.
6
2051
  // Each is an independently tree-shakeable ESM re-export — pulling `Text`
7
2052
  // does not drag `Button` into the bundle.
8
- export { Button } from './Button/index.js';
9
- export { Card } from './Card/index.js';
10
- export { CheckBox } from './CheckBox/index.js';
11
- export { LineChart } from './LineChart/index.js';
12
- export { PieChart } from './PieChart/index.js';
13
- export { Column } from './Column/index.js';
14
- export { Divider } from './Divider/index.js';
15
- export { Icon } from './Icon/index.js';
16
- export { Image } from './Image/index.js';
17
- export { List } from './List/index.js';
18
- export { Modal } from './Modal/index.js';
19
- export { RadioGroup } from './RadioGroup/index.js';
20
- export { Row } from './Row/index.js';
21
- export { Slider } from './Slider/index.js';
22
- export { Tabs } from './Tabs/index.js';
23
- export { Text } from './Text/index.js';
24
- export { TextField } from './TextField/index.js';
2053
+ export { Button } from './Button/index.jsx';
2054
+ export { Card } from './Card/index.jsx';
2055
+ export { CheckBox } from './CheckBox/index.jsx';
2056
+ export { ChoicePicker } from './ChoicePicker/index.jsx';
2057
+ export { DateTimeInput } from './DateTimeInput/index.jsx';
2058
+ export { LineChart } from './LineChart/index.jsx';
2059
+ export { PieChart } from './PieChart/index.jsx';
2060
+ export { Column } from './Column/index.jsx';
2061
+ export { Divider } from './Divider/index.jsx';
2062
+ export { Icon } from './Icon/index.jsx';
2063
+ export { Image } from './Image/index.jsx';
2064
+ export { List } from './List/index.jsx';
2065
+ export { Modal } from './Modal/index.jsx';
2066
+ export { RadioGroup } from './RadioGroup/index.jsx';
2067
+ export { Row } from './Row/index.jsx';
2068
+ export { Slider } from './Slider/index.jsx';
2069
+ export { Tabs } from './Tabs/index.jsx';
2070
+ export { Text } from './Text/index.jsx';
2071
+ export { TextField } from './TextField/index.jsx';
25
2072
  export { DEFAULT_CHART_COLORS, escapeXml, formatValue } from './utils/chart.js';
26
2073
  //# sourceMappingURL=index.js.map