@almadar/std 8.2.0 → 8.3.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.
Files changed (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
  27. package/behaviors/registry/app/organisms/std-cms.orb +445 -445
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
  29. package/behaviors/registry/app/organisms/std-crm.orb +781 -781
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
  37. package/behaviors/registry/app/organisms/std-lms.orb +863 -863
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
  42. package/behaviors/registry/core/atoms/std-browse.orb +60 -60
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
  44. package/behaviors/registry/core/atoms/std-calendar.orb +55 -55
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  47. package/behaviors/registry/core/atoms/std-display.orb +371 -371
  48. package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  49. package/behaviors/registry/core/atoms/std-filter.orb +46 -46
  50. package/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  51. package/behaviors/registry/core/atoms/std-modal.orb +14 -32
  52. package/behaviors/registry/core/atoms/std-pagination.orb +45 -45
  53. package/behaviors/registry/core/atoms/std-push.orb +42 -42
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
  55. package/behaviors/registry/core/atoms/std-related.orb +36 -36
  56. package/behaviors/registry/core/atoms/std-search.orb +71 -71
  57. package/behaviors/registry/core/atoms/std-selection.orb +89 -89
  58. package/behaviors/registry/core/atoms/std-tabs.orb +49 -49
  59. package/behaviors/registry/core/molecules/std-cart.orb +54 -54
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
  62. package/behaviors/registry/core/molecules/std-list.orb +60 -60
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
  64. package/behaviors/registry/game/atoms/std-collision.orb +143 -143
  65. package/behaviors/registry/game/atoms/std-combat.orb +80 -80
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
  69. package/behaviors/registry/game/atoms/std-movement.orb +300 -300
  70. package/behaviors/registry/game/atoms/std-overworld.orb +63 -63
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  72. package/behaviors/registry/game/atoms/std-quest.orb +124 -124
  73. package/behaviors/registry/game/atoms/std-timer.orb +251 -260
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
  83. package/behaviors/registry/service/atoms/std-service-email.orb +84 -84
  84. package/behaviors/registry/service/atoms/std-service-github.orb +99 -99
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +445 -445
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +781 -781
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +863 -863
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +60 -60
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +55 -55
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +371 -371
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +46 -46
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +14 -32
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +45 -45
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +42 -42
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +36 -36
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +71 -71
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +89 -89
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +49 -49
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +54 -54
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +60 -60
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +143 -143
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +80 -80
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +300 -300
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +63 -63
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +124 -124
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +251 -260
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +84 -84
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +99 -99
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
  187. package/package.json +1 -1
@@ -292,8 +292,8 @@
292
292
  "FormEntry",
293
293
  {
294
294
  "emit": {
295
- "success": "FormEntryLoaded",
296
- "failure": "FormEntryLoadFailed"
295
+ "failure": "FormEntryLoadFailed",
296
+ "success": "FormEntryLoaded"
297
297
  }
298
298
  }
299
299
  ],
@@ -302,8 +302,8 @@
302
302
  "FormEntry",
303
303
  {
304
304
  "emit": {
305
- "failure": "FormEntryLoadFailed",
306
- "success": "FormEntryLoaded"
305
+ "success": "FormEntryLoaded",
306
+ "failure": "FormEntryLoadFailed"
307
307
  }
308
308
  }
309
309
  ],
@@ -311,34 +311,38 @@
311
311
  "render-ui",
312
312
  "main",
313
313
  {
314
+ "direction": "vertical",
315
+ "gap": "lg",
314
316
  "children": [
315
317
  {
318
+ "gap": "sm",
316
319
  "children": [
317
320
  {
318
- "type": "icon",
319
- "name": "file-text"
321
+ "name": "file-text",
322
+ "type": "icon"
320
323
  },
321
324
  {
325
+ "content": "FormEntry Form",
322
326
  "variant": "h2",
323
- "type": "typography",
324
- "content": "FormEntry Form"
327
+ "type": "typography"
325
328
  }
326
329
  ],
327
- "direction": "horizontal",
328
330
  "type": "stack",
329
- "gap": "sm",
331
+ "direction": "horizontal",
330
332
  "align": "center"
331
333
  },
332
334
  {
333
335
  "type": "divider"
334
336
  },
335
337
  {
338
+ "type": "form-section",
339
+ "mode": "create",
336
340
  "submitEvent": "SUBMIT",
337
341
  "cancelEvent": "INIT",
338
342
  "fields": [
339
343
  {
340
- "name": "name",
341
- "label": "Name"
344
+ "label": "Name",
345
+ "name": "name"
342
346
  },
343
347
  {
344
348
  "name": "description",
@@ -346,17 +350,17 @@
346
350
  },
347
351
  {
348
352
  "type": "enum",
349
- "label": "Status",
350
353
  "values": [
351
354
  "active",
352
355
  "inactive",
353
356
  "pending"
354
357
  ],
355
- "name": "status"
358
+ "name": "status",
359
+ "label": "Status"
356
360
  },
357
361
  {
358
- "label": "Notes",
359
362
  "name": "notes",
363
+ "label": "Notes",
360
364
  "type": "textarea"
361
365
  },
362
366
  {
@@ -366,16 +370,15 @@
366
370
  },
367
371
  {
368
372
  "name": "isActive",
369
- "label": "Is Active",
370
- "type": "boolean"
373
+ "type": "boolean",
374
+ "label": "Is Active"
371
375
  },
372
376
  {
373
- "type": "date",
374
377
  "name": "birthDate",
375
- "label": "Birth Date"
378
+ "label": "Birth Date",
379
+ "type": "date"
376
380
  },
377
381
  {
378
- "label": "Priority",
379
382
  "type": "enum",
380
383
  "values": [
381
384
  "low",
@@ -383,6 +386,7 @@
383
386
  "high",
384
387
  "critical"
385
388
  ],
389
+ "label": "Priority",
386
390
  "name": "priority"
387
391
  },
388
392
  {
@@ -391,17 +395,13 @@
391
395
  "cardinality": "many-to-one"
392
396
  },
393
397
  "name": "categoryId",
394
- "label": "Category ID",
395
- "type": "relation"
398
+ "type": "relation",
399
+ "label": "Category ID"
396
400
  }
397
- ],
398
- "type": "form-section",
399
- "mode": "create"
401
+ ]
400
402
  }
401
403
  ],
402
- "type": "stack",
403
- "gap": "lg",
404
- "direction": "vertical"
404
+ "type": "stack"
405
405
  }
406
406
  ]
407
407
  ]
@@ -418,8 +418,8 @@
418
418
  "@payload.data",
419
419
  {
420
420
  "emit": {
421
- "failure": "FormEntrySaveFailed",
422
- "success": "FormEntrySaved"
421
+ "success": "FormEntrySaved",
422
+ "failure": "FormEntrySaveFailed"
423
423
  }
424
424
  }
425
425
  ],
@@ -427,14 +427,12 @@
427
427
  "render-ui",
428
428
  "main",
429
429
  {
430
- "align": "center",
431
430
  "direction": "vertical",
432
431
  "gap": "lg",
433
- "type": "stack",
434
432
  "children": [
435
433
  {
436
- "type": "icon",
437
- "name": "check-circle"
434
+ "name": "check-circle",
435
+ "type": "icon"
438
436
  },
439
437
  {
440
438
  "variant": "h2",
@@ -442,39 +440,39 @@
442
440
  "content": "Form Submitted"
443
441
  },
444
442
  {
445
- "variant": "success",
446
443
  "message": "Your form has been submitted successfully.",
444
+ "variant": "success",
447
445
  "type": "alert"
448
446
  },
449
447
  {
450
- "cols": 2.0,
451
448
  "children": [
452
449
  {
453
- "type": "stack",
454
- "direction": "vertical",
455
- "gap": "xs",
456
450
  "children": [
457
451
  {
458
452
  "content": "Name",
459
453
  "type": "typography",
460
- "variant": "caption",
461
- "color": "muted"
454
+ "color": "muted",
455
+ "variant": "caption"
462
456
  },
463
457
  {
464
458
  "content": "@entity.name",
465
- "type": "typography",
466
- "variant": "body"
459
+ "variant": "body",
460
+ "type": "typography"
467
461
  }
468
- ]
462
+ ],
463
+ "gap": "xs",
464
+ "type": "stack",
465
+ "direction": "vertical"
469
466
  },
470
467
  {
471
- "gap": "xs",
468
+ "type": "stack",
469
+ "direction": "vertical",
472
470
  "children": [
473
471
  {
474
- "color": "muted",
475
- "type": "typography",
476
472
  "variant": "caption",
477
- "content": "Description"
473
+ "color": "muted",
474
+ "content": "Description",
475
+ "type": "typography"
478
476
  },
479
477
  {
480
478
  "variant": "body",
@@ -482,49 +480,45 @@
482
480
  "type": "typography"
483
481
  }
484
482
  ],
485
- "type": "stack",
486
- "direction": "vertical"
483
+ "gap": "xs"
487
484
  },
488
485
  {
489
- "gap": "xs",
490
486
  "children": [
491
487
  {
488
+ "content": "Status",
492
489
  "color": "muted",
493
490
  "variant": "caption",
494
- "content": "Status",
495
491
  "type": "typography"
496
492
  },
497
493
  {
498
- "variant": "body",
499
494
  "content": "@entity.status",
495
+ "variant": "body",
500
496
  "type": "typography"
501
497
  }
502
498
  ],
503
- "direction": "vertical",
504
- "type": "stack"
499
+ "type": "stack",
500
+ "gap": "xs",
501
+ "direction": "vertical"
505
502
  },
506
503
  {
507
504
  "gap": "xs",
508
- "type": "stack",
509
505
  "children": [
510
506
  {
511
507
  "type": "typography",
512
- "content": "Notes",
508
+ "color": "muted",
513
509
  "variant": "caption",
514
- "color": "muted"
510
+ "content": "Notes"
515
511
  },
516
512
  {
513
+ "variant": "body",
517
514
  "content": "@entity.notes",
518
- "type": "typography",
519
- "variant": "body"
515
+ "type": "typography"
520
516
  }
521
517
  ],
518
+ "type": "stack",
522
519
  "direction": "vertical"
523
520
  },
524
521
  {
525
- "gap": "xs",
526
- "direction": "vertical",
527
- "type": "stack",
528
522
  "children": [
529
523
  {
530
524
  "content": "Age",
@@ -533,34 +527,34 @@
533
527
  "color": "muted"
534
528
  },
535
529
  {
536
- "content": "@entity.age",
537
530
  "variant": "body",
538
- "type": "typography"
531
+ "type": "typography",
532
+ "content": "@entity.age"
539
533
  }
540
- ]
534
+ ],
535
+ "type": "stack",
536
+ "gap": "xs",
537
+ "direction": "vertical"
541
538
  },
542
539
  {
540
+ "type": "stack",
541
+ "direction": "vertical",
542
+ "gap": "xs",
543
543
  "children": [
544
544
  {
545
- "variant": "caption",
546
- "content": "Is Active",
547
545
  "type": "typography",
548
- "color": "muted"
546
+ "content": "Is Active",
547
+ "color": "muted",
548
+ "variant": "caption"
549
549
  },
550
550
  {
551
- "content": "@entity.isActive",
552
551
  "type": "typography",
553
- "variant": "body"
552
+ "variant": "body",
553
+ "content": "@entity.isActive"
554
554
  }
555
- ],
556
- "type": "stack",
557
- "direction": "vertical",
558
- "gap": "xs"
555
+ ]
559
556
  },
560
557
  {
561
- "type": "stack",
562
- "direction": "vertical",
563
- "gap": "xs",
564
558
  "children": [
565
559
  {
566
560
  "type": "typography",
@@ -570,13 +564,15 @@
570
564
  },
571
565
  {
572
566
  "content": "@entity.birthDate",
573
- "variant": "body",
574
- "type": "typography"
567
+ "type": "typography",
568
+ "variant": "body"
575
569
  }
576
- ]
570
+ ],
571
+ "direction": "vertical",
572
+ "type": "stack",
573
+ "gap": "xs"
577
574
  },
578
575
  {
579
- "gap": "xs",
580
576
  "children": [
581
577
  {
582
578
  "type": "typography",
@@ -585,44 +581,48 @@
585
581
  "color": "muted"
586
582
  },
587
583
  {
588
- "variant": "body",
589
584
  "type": "typography",
585
+ "variant": "body",
590
586
  "content": "@entity.priority"
591
587
  }
592
588
  ],
593
- "type": "stack",
594
- "direction": "vertical"
589
+ "direction": "vertical",
590
+ "gap": "xs",
591
+ "type": "stack"
595
592
  },
596
593
  {
597
- "direction": "vertical",
598
594
  "gap": "xs",
599
- "type": "stack",
600
595
  "children": [
601
596
  {
602
- "type": "typography",
603
597
  "content": "Category ID",
604
598
  "color": "muted",
599
+ "type": "typography",
605
600
  "variant": "caption"
606
601
  },
607
602
  {
608
- "content": "@entity.categoryId",
603
+ "type": "typography",
609
604
  "variant": "body",
610
- "type": "typography"
605
+ "content": "@entity.categoryId"
611
606
  }
612
- ]
607
+ ],
608
+ "direction": "vertical",
609
+ "type": "stack"
613
610
  }
614
611
  ],
612
+ "gap": "md",
615
613
  "type": "grid",
616
- "gap": "md"
614
+ "cols": 2.0
617
615
  },
618
616
  {
619
- "icon": "plus",
620
617
  "action": "RESET",
621
618
  "type": "button",
619
+ "variant": "primary",
622
620
  "label": "New Entry",
623
- "variant": "primary"
621
+ "icon": "plus"
624
622
  }
625
- ]
623
+ ],
624
+ "type": "stack",
625
+ "align": "center"
626
626
  }
627
627
  ]
628
628
  ]
@@ -637,8 +637,8 @@
637
637
  "FormEntry",
638
638
  {
639
639
  "emit": {
640
- "failure": "FormEntryLoadFailed",
641
- "success": "FormEntryLoaded"
640
+ "success": "FormEntryLoaded",
641
+ "failure": "FormEntryLoadFailed"
642
642
  }
643
643
  }
644
644
  ],
@@ -656,23 +656,24 @@
656
656
  "render-ui",
657
657
  "main",
658
658
  {
659
- "direction": "vertical",
660
659
  "type": "stack",
660
+ "direction": "vertical",
661
+ "gap": "lg",
661
662
  "children": [
662
663
  {
663
- "gap": "sm",
664
664
  "align": "center",
665
- "type": "stack",
666
665
  "direction": "horizontal",
666
+ "type": "stack",
667
+ "gap": "sm",
667
668
  "children": [
668
669
  {
669
670
  "name": "file-text",
670
671
  "type": "icon"
671
672
  },
672
673
  {
673
- "variant": "h2",
674
674
  "type": "typography",
675
- "content": "FormEntry Form"
675
+ "content": "FormEntry Form",
676
+ "variant": "h2"
676
677
  }
677
678
  ]
678
679
  },
@@ -680,6 +681,7 @@
680
681
  "type": "divider"
681
682
  },
682
683
  {
684
+ "type": "form-section",
683
685
  "cancelEvent": "INIT",
684
686
  "fields": [
685
687
  {
@@ -691,28 +693,28 @@
691
693
  "label": "Description"
692
694
  },
693
695
  {
694
- "label": "Status",
695
- "type": "enum",
696
696
  "name": "status",
697
+ "label": "Status",
697
698
  "values": [
698
699
  "active",
699
700
  "inactive",
700
701
  "pending"
701
- ]
702
+ ],
703
+ "type": "enum"
702
704
  },
703
705
  {
704
- "name": "notes",
706
+ "type": "textarea",
705
707
  "label": "Notes",
706
- "type": "textarea"
708
+ "name": "notes"
707
709
  },
708
710
  {
709
- "name": "age",
710
711
  "type": "number",
712
+ "name": "age",
711
713
  "label": "Age"
712
714
  },
713
715
  {
714
- "label": "Is Active",
715
716
  "name": "isActive",
717
+ "label": "Is Active",
716
718
  "type": "boolean"
717
719
  },
718
720
  {
@@ -721,9 +723,9 @@
721
723
  "type": "date"
722
724
  },
723
725
  {
726
+ "name": "priority",
724
727
  "label": "Priority",
725
728
  "type": "enum",
726
- "name": "priority",
727
729
  "values": [
728
730
  "low",
729
731
  "medium",
@@ -732,8 +734,8 @@
732
734
  ]
733
735
  },
734
736
  {
735
- "type": "relation",
736
737
  "name": "categoryId",
738
+ "type": "relation",
737
739
  "relation": {
738
740
  "cardinality": "many-to-one",
739
741
  "entity": "FormEntry"
@@ -741,12 +743,10 @@
741
743
  "label": "Category ID"
742
744
  }
743
745
  ],
744
- "mode": "create",
745
746
  "submitEvent": "SUBMIT",
746
- "type": "form-section"
747
+ "mode": "create"
747
748
  }
748
- ],
749
- "gap": "lg"
749
+ ]
750
750
  }
751
751
  ]
752
752
  ]
@@ -769,4 +769,4 @@
769
769
  ]
770
770
  }
771
771
  ]
772
- }
772
+ }