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