@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
@@ -231,8 +231,8 @@
231
231
  "QuestLog",
232
232
  {
233
233
  "emit": {
234
- "success": "QuestLogLoaded",
235
- "failure": "QuestLogLoadFailed"
234
+ "failure": "QuestLogLoadFailed",
235
+ "success": "QuestLogLoaded"
236
236
  }
237
237
  }
238
238
  ],
@@ -240,22 +240,22 @@
240
240
  "render-ui",
241
241
  "main",
242
242
  {
243
- "direction": "vertical",
244
243
  "type": "stack",
245
- "align": "center",
244
+ "direction": "vertical",
245
+ "gap": "md",
246
246
  "children": [
247
247
  {
248
248
  "type": "spinner"
249
249
  },
250
250
  {
251
+ "type": "typography",
251
252
  "variant": "caption",
252
- "content": "Loading quests…",
253
253
  "color": "muted",
254
- "type": "typography"
254
+ "content": "Loading quests…"
255
255
  }
256
256
  ],
257
- "className": "py-12",
258
- "gap": "md"
257
+ "align": "center",
258
+ "className": "py-12"
259
259
  }
260
260
  ]
261
261
  ]
@@ -269,95 +269,95 @@
269
269
  "render-ui",
270
270
  "main",
271
271
  {
272
- "gap": "lg",
272
+ "direction": "vertical",
273
273
  "children": [
274
274
  {
275
275
  "type": "stack",
276
- "justify": "between",
277
276
  "children": [
278
277
  {
279
- "gap": "md",
280
- "type": "stack",
281
278
  "children": [
282
279
  {
283
280
  "type": "icon",
284
281
  "name": "flag"
285
282
  },
286
283
  {
287
- "type": "typography",
284
+ "variant": "h2",
288
285
  "content": "QuestLogs Board",
289
- "variant": "h2"
286
+ "type": "typography"
290
287
  }
291
288
  ],
292
- "direction": "horizontal"
289
+ "direction": "horizontal",
290
+ "gap": "md",
291
+ "type": "stack"
293
292
  }
294
293
  ],
294
+ "gap": "md",
295
295
  "direction": "horizontal",
296
- "gap": "md"
296
+ "justify": "between"
297
297
  },
298
298
  {
299
299
  "type": "divider"
300
300
  },
301
301
  {
302
+ "type": "data-list",
303
+ "fields": [],
302
304
  "groupBy": "status",
305
+ "entity": "@payload.data",
306
+ "itemActions": [
307
+ {
308
+ "label": "Accept",
309
+ "event": "ACCEPT"
310
+ }
311
+ ],
303
312
  "renderItem": [
304
313
  "fn",
305
314
  "item",
306
315
  {
307
316
  "type": "stack",
317
+ "direction": "vertical",
308
318
  "children": [
309
319
  {
310
- "justify": "between",
320
+ "type": "stack",
311
321
  "direction": "horizontal",
322
+ "align": "center",
312
323
  "children": [
313
324
  {
314
- "direction": "horizontal",
325
+ "gap": "sm",
315
326
  "align": "center",
327
+ "direction": "horizontal",
316
328
  "children": [
317
329
  {
318
330
  "type": "icon",
319
331
  "name": "flag"
320
332
  },
321
333
  {
322
- "variant": "h4",
334
+ "content": "@item.name",
323
335
  "type": "typography",
324
- "content": "@item.name"
336
+ "variant": "h4"
325
337
  }
326
338
  ],
327
- "type": "stack",
328
- "gap": "sm"
339
+ "type": "stack"
329
340
  },
330
341
  {
331
- "type": "badge",
332
- "label": "@item.description"
342
+ "label": "@item.description",
343
+ "type": "badge"
333
344
  }
334
345
  ],
335
- "align": "center",
336
- "type": "stack"
346
+ "justify": "between"
337
347
  },
338
348
  {
339
- "content": "@item.status",
349
+ "variant": "caption",
340
350
  "type": "typography",
341
- "variant": "caption"
351
+ "content": "@item.status"
342
352
  }
343
353
  ],
344
- "gap": "sm",
345
- "direction": "vertical"
346
- }
347
- ],
348
- "entity": "@payload.data",
349
- "type": "data-list",
350
- "fields": [],
351
- "itemActions": [
352
- {
353
- "label": "Accept",
354
- "event": "ACCEPT"
354
+ "gap": "sm"
355
355
  }
356
356
  ]
357
357
  }
358
358
  ],
359
359
  "type": "stack",
360
- "direction": "vertical"
360
+ "gap": "lg"
361
361
  }
362
362
  ]
363
363
  ]
@@ -372,35 +372,35 @@
372
372
  "main",
373
373
  {
374
374
  "align": "center",
375
- "type": "stack",
375
+ "className": "py-12",
376
376
  "children": [
377
377
  {
378
- "type": "icon",
378
+ "color": "destructive",
379
379
  "name": "alert-triangle",
380
- "color": "destructive"
380
+ "type": "icon"
381
381
  },
382
382
  {
383
- "content": "Failed to load quests",
384
383
  "variant": "h3",
384
+ "content": "Failed to load quests",
385
385
  "type": "typography"
386
386
  },
387
387
  {
388
- "type": "typography",
389
388
  "variant": "body",
390
389
  "content": "@payload.error",
390
+ "type": "typography",
391
391
  "color": "muted"
392
392
  },
393
393
  {
394
- "variant": "primary",
395
- "label": "Retry",
396
- "type": "button",
397
394
  "icon": "rotate-ccw",
398
- "action": "INIT"
395
+ "label": "Retry",
396
+ "action": "INIT",
397
+ "variant": "primary",
398
+ "type": "button"
399
399
  }
400
400
  ],
401
- "direction": "vertical",
402
401
  "gap": "md",
403
- "className": "py-12"
402
+ "type": "stack",
403
+ "direction": "vertical"
404
404
  }
405
405
  ]
406
406
  ]
@@ -424,47 +424,47 @@
424
424
  "render-ui",
425
425
  "main",
426
426
  {
427
- "align": "center",
428
427
  "children": [
429
428
  {
430
429
  "type": "typography",
431
- "content": "@entity.activeName",
432
- "variant": "h2"
430
+ "variant": "h2",
431
+ "content": "@entity.activeName"
433
432
  },
434
433
  {
434
+ "value": 50.0,
435
435
  "showPercentage": true,
436
- "type": "progress-bar",
437
- "value": 50.0
436
+ "type": "progress-bar"
438
437
  },
439
438
  {
440
439
  "children": [
441
440
  {
442
441
  "variant": "primary",
443
- "action": "PROGRESS",
444
442
  "type": "button",
443
+ "action": "PROGRESS",
445
444
  "label": "Progress"
446
445
  },
447
446
  {
448
- "action": "COMPLETE",
449
- "label": "Complete",
450
447
  "type": "button",
451
- "variant": "success"
448
+ "variant": "success",
449
+ "label": "Complete",
450
+ "action": "COMPLETE"
452
451
  },
453
452
  {
454
- "variant": "danger",
455
- "label": "Fail",
453
+ "type": "button",
456
454
  "action": "FAIL",
457
- "type": "button"
455
+ "label": "Fail",
456
+ "variant": "danger"
458
457
  }
459
458
  ],
459
+ "direction": "horizontal",
460
460
  "type": "stack",
461
- "gap": "sm",
462
- "direction": "horizontal"
461
+ "gap": "sm"
463
462
  }
464
463
  ],
465
- "type": "stack",
466
464
  "direction": "vertical",
467
- "gap": "lg"
465
+ "type": "stack",
466
+ "gap": "lg",
467
+ "align": "center"
468
468
  }
469
469
  ]
470
470
  ]
@@ -479,13 +479,13 @@
479
479
  "update",
480
480
  "QuestLog",
481
481
  {
482
- "id": "@entity.activeId",
483
- "status": "active"
482
+ "status": "active",
483
+ "id": "@entity.activeId"
484
484
  },
485
485
  {
486
486
  "emit": {
487
- "success": "QuestLogUpdated",
488
- "failure": "QuestLogUpdateFailed"
487
+ "failure": "QuestLogUpdateFailed",
488
+ "success": "QuestLogUpdated"
489
489
  }
490
490
  }
491
491
  ],
@@ -493,25 +493,28 @@
493
493
  "render-ui",
494
494
  "main",
495
495
  {
496
+ "gap": "lg",
497
+ "direction": "vertical",
496
498
  "children": [
497
499
  {
498
- "content": "@entity.activeName",
499
500
  "type": "typography",
500
- "variant": "h2"
501
+ "variant": "h2",
502
+ "content": "@entity.activeName"
501
503
  },
502
504
  {
503
- "showPercentage": true,
504
505
  "type": "progress-bar",
505
- "value": 75.0
506
+ "value": 75.0,
507
+ "showPercentage": true
506
508
  },
507
509
  {
508
510
  "type": "stack",
511
+ "direction": "horizontal",
509
512
  "children": [
510
513
  {
511
- "variant": "success",
512
514
  "type": "button",
513
- "action": "COMPLETE",
514
- "label": "Complete"
515
+ "label": "Complete",
516
+ "variant": "success",
517
+ "action": "COMPLETE"
515
518
  },
516
519
  {
517
520
  "action": "FAIL",
@@ -520,13 +523,10 @@
520
523
  "label": "Fail"
521
524
  }
522
525
  ],
523
- "gap": "sm",
524
- "direction": "horizontal"
526
+ "gap": "sm"
525
527
  }
526
528
  ],
527
- "gap": "lg",
528
529
  "type": "stack",
529
- "direction": "vertical",
530
530
  "align": "center"
531
531
  }
532
532
  ]
@@ -547,8 +547,8 @@
547
547
  },
548
548
  {
549
549
  "emit": {
550
- "failure": "QuestLogUpdateFailed",
551
- "success": "QuestLogUpdated"
550
+ "success": "QuestLogUpdated",
551
+ "failure": "QuestLogUpdateFailed"
552
552
  }
553
553
  }
554
554
  ],
@@ -557,6 +557,7 @@
557
557
  "main",
558
558
  {
559
559
  "gap": "lg",
560
+ "align": "center",
560
561
  "children": [
561
562
  {
562
563
  "type": "icon",
@@ -568,21 +569,20 @@
568
569
  "variant": "h2"
569
570
  },
570
571
  {
571
- "message": "Congratulations! The quest has been completed.",
572
+ "type": "alert",
572
573
  "variant": "success",
573
- "type": "alert"
574
+ "message": "Congratulations! The quest has been completed."
574
575
  },
575
576
  {
576
- "type": "button",
577
- "label": "View Quests",
578
577
  "action": "RESET",
578
+ "type": "button",
579
579
  "variant": "primary",
580
- "icon": "arrow-left"
580
+ "icon": "arrow-left",
581
+ "label": "View Quests"
581
582
  }
582
583
  ],
583
- "direction": "vertical",
584
- "align": "center",
585
- "type": "stack"
584
+ "type": "stack",
585
+ "direction": "vertical"
586
586
  }
587
587
  ]
588
588
  ]
@@ -597,13 +597,13 @@
597
597
  "update",
598
598
  "QuestLog",
599
599
  {
600
- "status": "failed",
601
- "id": "@entity.activeId"
600
+ "id": "@entity.activeId",
601
+ "status": "failed"
602
602
  },
603
603
  {
604
604
  "emit": {
605
- "failure": "QuestLogUpdateFailed",
606
- "success": "QuestLogUpdated"
605
+ "success": "QuestLogUpdated",
606
+ "failure": "QuestLogUpdateFailed"
607
607
  }
608
608
  }
609
609
  ],
@@ -611,18 +611,19 @@
611
611
  "render-ui",
612
612
  "main",
613
613
  {
614
+ "type": "stack",
614
615
  "align": "center",
616
+ "gap": "lg",
615
617
  "direction": "vertical",
616
- "type": "stack",
617
618
  "children": [
618
619
  {
619
- "type": "icon",
620
- "name": "x-circle"
620
+ "name": "x-circle",
621
+ "type": "icon"
621
622
  },
622
623
  {
623
624
  "type": "typography",
624
- "content": "Quest Failed",
625
- "variant": "h2"
625
+ "variant": "h2",
626
+ "content": "Quest Failed"
626
627
  },
627
628
  {
628
629
  "variant": "error",
@@ -630,14 +631,13 @@
630
631
  "type": "alert"
631
632
  },
632
633
  {
634
+ "action": "RESET",
633
635
  "type": "button",
634
636
  "label": "View Quests",
635
637
  "variant": "primary",
636
- "icon": "arrow-left",
637
- "action": "RESET"
638
+ "icon": "arrow-left"
638
639
  }
639
- ],
640
- "gap": "lg"
640
+ ]
641
641
  }
642
642
  ]
643
643
  ]
@@ -657,8 +657,8 @@
657
657
  },
658
658
  {
659
659
  "emit": {
660
- "failure": "QuestLogUpdateFailed",
661
- "success": "QuestLogUpdated"
660
+ "success": "QuestLogUpdated",
661
+ "failure": "QuestLogUpdateFailed"
662
662
  }
663
663
  }
664
664
  ],
@@ -666,33 +666,33 @@
666
666
  "render-ui",
667
667
  "main",
668
668
  {
669
+ "direction": "vertical",
670
+ "gap": "lg",
671
+ "type": "stack",
672
+ "align": "center",
669
673
  "children": [
670
674
  {
671
675
  "type": "icon",
672
676
  "name": "check-circle"
673
677
  },
674
678
  {
675
- "type": "typography",
679
+ "content": "Quest Complete",
676
680
  "variant": "h2",
677
- "content": "Quest Complete"
681
+ "type": "typography"
678
682
  },
679
683
  {
680
- "message": "Congratulations! The quest has been completed.",
681
684
  "type": "alert",
682
- "variant": "success"
685
+ "variant": "success",
686
+ "message": "Congratulations! The quest has been completed."
683
687
  },
684
688
  {
685
- "action": "RESET",
686
689
  "type": "button",
687
690
  "label": "View Quests",
688
- "icon": "arrow-left",
689
- "variant": "primary"
691
+ "variant": "primary",
692
+ "action": "RESET",
693
+ "icon": "arrow-left"
690
694
  }
691
- ],
692
- "direction": "vertical",
693
- "type": "stack",
694
- "gap": "lg",
695
- "align": "center"
695
+ ]
696
696
  }
697
697
  ]
698
698
  ]
@@ -707,13 +707,13 @@
707
707
  "update",
708
708
  "QuestLog",
709
709
  {
710
- "status": "failed",
711
- "id": "@entity.activeId"
710
+ "id": "@entity.activeId",
711
+ "status": "failed"
712
712
  },
713
713
  {
714
714
  "emit": {
715
- "failure": "QuestLogUpdateFailed",
716
- "success": "QuestLogUpdated"
715
+ "success": "QuestLogUpdated",
716
+ "failure": "QuestLogUpdateFailed"
717
717
  }
718
718
  }
719
719
  ],
@@ -721,10 +721,10 @@
721
721
  "render-ui",
722
722
  "main",
723
723
  {
724
- "direction": "vertical",
725
724
  "align": "center",
726
- "type": "stack",
725
+ "direction": "vertical",
727
726
  "gap": "lg",
727
+ "type": "stack",
728
728
  "children": [
729
729
  {
730
730
  "type": "icon",
@@ -736,16 +736,16 @@
736
736
  "content": "Quest Failed"
737
737
  },
738
738
  {
739
- "message": "The quest was not completed. You can try again.",
740
739
  "type": "alert",
741
- "variant": "error"
740
+ "variant": "error",
741
+ "message": "The quest was not completed. You can try again."
742
742
  },
743
743
  {
744
- "action": "RESET",
745
- "label": "View Quests",
746
744
  "type": "button",
747
745
  "variant": "primary",
748
- "icon": "arrow-left"
746
+ "icon": "arrow-left",
747
+ "label": "View Quests",
748
+ "action": "RESET"
749
749
  }
750
750
  ]
751
751
  }
@@ -786,8 +786,8 @@
786
786
  "QuestLog",
787
787
  {
788
788
  "emit": {
789
- "failure": "QuestLogLoadFailed",
790
- "success": "QuestLogLoaded"
789
+ "success": "QuestLogLoaded",
790
+ "failure": "QuestLogLoadFailed"
791
791
  }
792
792
  }
793
793
  ],
@@ -842,4 +842,4 @@
842
842
  ]
843
843
  }
844
844
  ]
845
- }
845
+ }