@almadar/std 14.24.0 → 14.26.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 (433) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +126 -126
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +95 -95
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +113 -113
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -408
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +89 -89
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +76 -76
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +119 -119
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +112 -112
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +183 -183
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +339 -339
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +62 -62
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +193 -193
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +182 -182
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +115 -115
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +101 -101
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +179 -179
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1171 -1171
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +2944 -2944
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2105 -2105
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +939 -939
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +803 -803
  24. package/behaviors/registry/app/atoms/std-ap-bill.orb +79 -29
  25. package/behaviors/registry/app/atoms/std-applicant.orb +47 -47
  26. package/behaviors/registry/app/atoms/std-approval-request.orb +203 -100
  27. package/behaviors/registry/app/atoms/std-campaign-goal.orb +234 -32
  28. package/behaviors/registry/app/atoms/std-change-order.orb +106 -84
  29. package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +97 -40
  30. package/behaviors/registry/app/atoms/std-checkin.orb +70 -70
  31. package/behaviors/registry/app/atoms/std-checkout-terminal.orb +492 -54
  32. package/behaviors/registry/app/atoms/std-class-roster.orb +61 -36
  33. package/behaviors/registry/app/atoms/std-class-session.orb +111 -48
  34. package/behaviors/registry/app/atoms/std-court-deadline.orb +119 -43
  35. package/behaviors/registry/app/atoms/std-customer-account.orb +125 -48
  36. package/behaviors/registry/app/atoms/std-donation-receipt.orb +64 -42
  37. package/behaviors/registry/app/atoms/std-donor.orb +88 -38
  38. package/behaviors/registry/app/atoms/std-drip-sequence.orb +66 -40
  39. package/behaviors/registry/app/atoms/std-driver.orb +92 -80
  40. package/behaviors/registry/app/atoms/std-dunning.orb +177 -52
  41. package/behaviors/registry/app/atoms/std-email-broadcast.orb +41 -41
  42. package/behaviors/registry/app/atoms/std-event.orb +60 -60
  43. package/behaviors/registry/app/atoms/std-health-score.orb +224 -76
  44. package/behaviors/registry/app/atoms/std-help-article.orb +206 -89
  45. package/behaviors/registry/app/atoms/std-help-category.orb +113 -79
  46. package/behaviors/registry/app/atoms/std-interview-slot.orb +40 -40
  47. package/behaviors/registry/app/atoms/std-invoice.orb +135 -135
  48. package/behaviors/registry/app/atoms/std-kitchen-display.orb +53 -53
  49. package/behaviors/registry/app/atoms/std-lease.orb +174 -38
  50. package/behaviors/registry/app/atoms/std-ledger-entry.orb +165 -39
  51. package/behaviors/registry/app/atoms/std-maintenance-request.orb +130 -50
  52. package/behaviors/registry/app/atoms/std-matter.orb +237 -40
  53. package/behaviors/registry/app/atoms/std-membership.orb +93 -37
  54. package/behaviors/registry/app/atoms/std-menu.orb +44 -44
  55. package/behaviors/registry/app/atoms/std-modifier-group.orb +38 -38
  56. package/behaviors/registry/app/atoms/std-nps-survey.orb +115 -91
  57. package/behaviors/registry/app/atoms/std-offer-letter.orb +32 -32
  58. package/behaviors/registry/app/atoms/std-payout-ledger.orb +63 -63
  59. package/behaviors/registry/app/atoms/std-question-bank.orb +51 -51
  60. package/behaviors/registry/app/atoms/std-receipt.orb +34 -34
  61. package/behaviors/registry/app/atoms/std-recurring-charge.orb +152 -60
  62. package/behaviors/registry/app/atoms/std-renewal-risk.orb +153 -86
  63. package/behaviors/registry/app/atoms/std-rent-charge.orb +24 -24
  64. package/behaviors/registry/app/atoms/std-reorder-rule.orb +60 -54
  65. package/behaviors/registry/app/atoms/std-response-collector.orb +48 -48
  66. package/behaviors/registry/app/atoms/std-rfi.orb +174 -119
  67. package/behaviors/registry/app/atoms/std-route-optimize.orb +46 -46
  68. package/behaviors/registry/app/atoms/std-segment.orb +76 -33
  69. package/behaviors/registry/app/atoms/std-stock-level.orb +106 -32
  70. package/behaviors/registry/app/atoms/std-submittal.orb +259 -104
  71. package/behaviors/registry/app/atoms/std-table-map.orb +47 -47
  72. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +43 -43
  73. package/behaviors/registry/app/atoms/std-telematics-event.orb +111 -37
  74. package/behaviors/registry/app/atoms/std-template-editor.orb +85 -41
  75. package/behaviors/registry/app/atoms/std-tenant.orb +89 -39
  76. package/behaviors/registry/app/atoms/std-ticket-tier.orb +62 -62
  77. package/behaviors/registry/app/atoms/std-time-entry.orb +133 -80
  78. package/behaviors/registry/app/atoms/std-timesheet.orb +122 -102
  79. package/behaviors/registry/app/atoms/std-trial.orb +116 -47
  80. package/behaviors/registry/app/atoms/std-vehicle.orb +236 -111
  81. package/behaviors/registry/app/atoms/std-waitlist.orb +39 -39
  82. package/behaviors/registry/app/atoms/std-warehouse.orb +214 -30
  83. package/behaviors/registry/app/atoms/std-work-order.orb +61 -61
  84. package/behaviors/registry/app/molecules/std-applicant-form.orb +39 -39
  85. package/behaviors/registry/app/molecules/std-application.orb +159 -159
  86. package/behaviors/registry/app/molecules/std-broadcast-builder.orb +168 -53
  87. package/behaviors/registry/app/molecules/std-cart.orb +49 -49
  88. package/behaviors/registry/app/molecules/std-form-builder.orb +86 -86
  89. package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +84 -62
  90. package/behaviors/registry/app/molecules/std-stock-adjustment.orb +90 -57
  91. package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +256 -256
  92. package/behaviors/registry/app/organisms/std-accounting.orb +89 -89
  93. package/behaviors/registry/app/organisms/std-api-gateway.orb +213 -213
  94. package/behaviors/registry/app/organisms/std-ats-recruiting.orb +145 -145
  95. package/behaviors/registry/app/organisms/std-booking-system.orb +656 -656
  96. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +276 -276
  97. package/behaviors/registry/app/organisms/std-cms.orb +296 -296
  98. package/behaviors/registry/app/organisms/std-coding-academy.orb +196 -196
  99. package/behaviors/registry/app/organisms/std-construction-pm.orb +722 -89
  100. package/behaviors/registry/app/organisms/std-crm.orb +248 -248
  101. package/behaviors/registry/app/organisms/std-customer-success.orb +89 -89
  102. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +442 -442
  103. package/behaviors/registry/app/organisms/std-document-mgmt.orb +84 -84
  104. package/behaviors/registry/app/organisms/std-ecommerce.orb +709 -709
  105. package/behaviors/registry/app/organisms/std-event-ticketing.orb +206 -206
  106. package/behaviors/registry/app/organisms/std-field-service.orb +176 -176
  107. package/behaviors/registry/app/organisms/std-finance-tracker.orb +201 -201
  108. package/behaviors/registry/app/organisms/std-fitness-studio.orb +141 -141
  109. package/behaviors/registry/app/organisms/std-fleet-mgmt.orb +737 -88
  110. package/behaviors/registry/app/organisms/std-forum.orb +152 -152
  111. package/behaviors/registry/app/organisms/std-healthcare.orb +555 -555
  112. package/behaviors/registry/app/organisms/std-helpdesk.orb +194 -194
  113. package/behaviors/registry/app/organisms/std-hr-portal.orb +436 -436
  114. package/behaviors/registry/app/organisms/std-inventory.orb +904 -102
  115. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +380 -380
  116. package/behaviors/registry/app/organisms/std-legal-case.orb +361 -135
  117. package/behaviors/registry/app/organisms/std-listings.orb +129 -129
  118. package/behaviors/registry/app/organisms/std-lms.orb +381 -381
  119. package/behaviors/registry/app/organisms/std-marketing-campaign.orb +135 -135
  120. package/behaviors/registry/app/organisms/std-marketplace.orb +220 -220
  121. package/behaviors/registry/app/organisms/std-nonprofit-donations.orb +86 -86
  122. package/behaviors/registry/app/organisms/std-notes.orb +301 -90
  123. package/behaviors/registry/app/organisms/std-project-manager.orb +200 -200
  124. package/behaviors/registry/app/organisms/std-property-mgmt.orb +920 -94
  125. package/behaviors/registry/app/organisms/std-public-help-center.orb +516 -102
  126. package/behaviors/registry/app/organisms/std-realtime-chat.orb +235 -235
  127. package/behaviors/registry/app/organisms/std-restaurant-pos.orb +127 -127
  128. package/behaviors/registry/app/organisms/std-retail-pos.orb +136 -136
  129. package/behaviors/registry/app/organisms/std-social-feed.orb +158 -158
  130. package/behaviors/registry/app/organisms/std-subscription-billing.orb +200 -200
  131. package/behaviors/registry/app/organisms/std-survey.orb +123 -123
  132. package/behaviors/registry/app/organisms/std-time-tracking.orb +960 -84
  133. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +281 -281
  134. package/behaviors/registry/app/organisms/std-wiki.orb +141 -141
  135. package/behaviors/registry/core/atoms/std-billable-hour.orb +99 -42
  136. package/behaviors/registry/core/atoms/std-branching-logic.orb +84 -84
  137. package/behaviors/registry/core/atoms/std-browse.orb +55 -55
  138. package/behaviors/registry/core/atoms/std-cache-aside.orb +84 -84
  139. package/behaviors/registry/core/atoms/std-calendar.orb +47 -47
  140. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +170 -170
  141. package/behaviors/registry/core/atoms/std-confirmation.orb +32 -32
  142. package/behaviors/registry/core/atoms/std-display.orb +2 -2
  143. package/behaviors/registry/core/atoms/std-drawer.orb +11 -11
  144. package/behaviors/registry/core/atoms/std-esign-request.orb +60 -41
  145. package/behaviors/registry/core/atoms/std-file-store.orb +178 -31
  146. package/behaviors/registry/core/atoms/std-filter.orb +13 -13
  147. package/behaviors/registry/core/atoms/std-flag.orb +90 -90
  148. package/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  149. package/behaviors/registry/core/atoms/std-geosearch.orb +26 -26
  150. package/behaviors/registry/core/atoms/std-graphs.orb +40 -40
  151. package/behaviors/registry/core/atoms/std-image-upload-multi.orb +50 -50
  152. package/behaviors/registry/core/atoms/std-mod-queue.orb +47 -47
  153. package/behaviors/registry/core/atoms/std-modal.orb +12 -12
  154. package/behaviors/registry/core/atoms/std-page-tree.orb +144 -48
  155. package/behaviors/registry/core/atoms/std-pagination.orb +13 -13
  156. package/behaviors/registry/core/atoms/std-push.orb +35 -35
  157. package/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
  158. package/behaviors/registry/core/atoms/std-rating-review.orb +69 -69
  159. package/behaviors/registry/core/atoms/std-related.orb +36 -36
  160. package/behaviors/registry/core/atoms/std-rich-editor.orb +193 -55
  161. package/behaviors/registry/core/atoms/std-saved-search.orb +63 -63
  162. package/behaviors/registry/core/atoms/std-search.orb +8 -8
  163. package/behaviors/registry/core/atoms/std-selection.orb +93 -93
  164. package/behaviors/registry/core/atoms/std-signature-capture.orb +90 -90
  165. package/behaviors/registry/core/atoms/std-stats.orb +114 -114
  166. package/behaviors/registry/core/atoms/std-tabs.orb +26 -26
  167. package/behaviors/registry/core/atoms/std-tag-taxonomy.orb +61 -61
  168. package/behaviors/registry/core/atoms/std-thread.orb +46 -46
  169. package/behaviors/registry/core/atoms/std-version-history.orb +69 -69
  170. package/behaviors/registry/core/atoms/std-vote.orb +37 -37
  171. package/behaviors/registry/core/molecules/std-app-layout.orb +19 -19
  172. package/behaviors/registry/core/molecules/std-dashboard-grid-layout.orb +10 -10
  173. package/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  174. package/behaviors/registry/core/molecules/std-esign-flow.orb +139 -56
  175. package/behaviors/registry/core/molecules/std-filtered-list.orb +24 -24
  176. package/behaviors/registry/core/molecules/std-form-advanced.orb +121 -121
  177. package/behaviors/registry/core/molecules/std-list.orb +57 -57
  178. package/behaviors/registry/core/molecules/std-master-detail-layout.orb +16 -16
  179. package/behaviors/registry/core/molecules/std-stack-layout.orb +12 -12
  180. package/behaviors/registry/core/molecules/std-tabs-layout.orb +11 -11
  181. package/behaviors/registry/core/molecules/std-wizard-form.orb +141 -141
  182. package/behaviors/registry/core/organisms/std-generic-app.orb +554 -554
  183. package/behaviors/registry/game/atoms/std-collision.orb +0 -595
  184. package/behaviors/registry/game/atoms/std-combat.orb +0 -524
  185. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  186. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
  187. package/behaviors/registry/game/atoms/std-gameflow.orb +0 -456
  188. package/behaviors/registry/game/atoms/std-movement.orb +0 -1279
  189. package/behaviors/registry/game/atoms/std-overworld.orb +68 -68
  190. package/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  191. package/behaviors/registry/game/atoms/std-quest.orb +137 -137
  192. package/behaviors/registry/game/atoms/std-timer.orb +269 -269
  193. package/behaviors/registry/game/organisms/std-arcade-game.orb +0 -1446
  194. package/behaviors/registry/game/organisms/std-logic-training.orb +0 -1037
  195. package/behaviors/registry/game/organisms/std-platformer-app.orb +0 -2567
  196. package/behaviors/registry/game/organisms/std-puzzle-app.orb +0 -1197
  197. package/behaviors/registry/game/organisms/std-rpg-game.orb +0 -3509
  198. package/behaviors/registry/game/organisms/std-stem-lab.orb +0 -2003
  199. package/behaviors/registry/game/organisms/std-strategy-game.orb +0 -2686
  200. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +33 -33
  201. package/behaviors/registry/service/atoms/std-service-calendar-ical.orb +56 -56
  202. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +64 -64
  203. package/behaviors/registry/service/atoms/std-service-email.orb +62 -62
  204. package/behaviors/registry/service/atoms/std-service-github.orb +59 -59
  205. package/behaviors/registry/service/atoms/std-service-llm.orb +69 -69
  206. package/behaviors/registry/service/atoms/std-service-maps.orb +79 -79
  207. package/behaviors/registry/service/atoms/std-service-oauth.orb +56 -56
  208. package/behaviors/registry/service/atoms/std-service-print.orb +104 -104
  209. package/behaviors/registry/service/atoms/std-service-redis.orb +53 -53
  210. package/behaviors/registry/service/atoms/std-service-storage.orb +50 -50
  211. package/behaviors/registry/service/atoms/std-service-stripe.orb +99 -99
  212. package/behaviors/registry/service/atoms/std-service-twilio.orb +58 -58
  213. package/behaviors/registry/service/atoms/std-service-youtube.orb +30 -30
  214. package/behaviors/registry/service/organisms/std-service-marketplace.orb +871 -871
  215. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +802 -802
  216. package/dist/behaviors/behaviors-registry.json +4 -684
  217. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  218. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +126 -126
  219. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +95 -95
  220. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +113 -113
  221. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -408
  222. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +89 -89
  223. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +76 -76
  224. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +119 -119
  225. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  226. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +112 -112
  227. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +183 -183
  228. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +339 -339
  229. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +62 -62
  230. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +193 -193
  231. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +182 -182
  232. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +115 -115
  233. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +101 -101
  234. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +179 -179
  235. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1171 -1171
  236. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2944 -2944
  237. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2105 -2105
  238. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +939 -939
  239. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +803 -803
  240. package/dist/behaviors/registry/app/atoms/std-ap-bill.orb +79 -29
  241. package/dist/behaviors/registry/app/atoms/std-applicant.orb +47 -47
  242. package/dist/behaviors/registry/app/atoms/std-approval-request.orb +203 -100
  243. package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +234 -32
  244. package/dist/behaviors/registry/app/atoms/std-change-order.orb +106 -84
  245. package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +97 -40
  246. package/dist/behaviors/registry/app/atoms/std-checkin.orb +70 -70
  247. package/dist/behaviors/registry/app/atoms/std-checkout-terminal.orb +492 -54
  248. package/dist/behaviors/registry/app/atoms/std-class-roster.orb +61 -36
  249. package/dist/behaviors/registry/app/atoms/std-class-session.orb +111 -48
  250. package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +119 -43
  251. package/dist/behaviors/registry/app/atoms/std-customer-account.orb +125 -48
  252. package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +64 -42
  253. package/dist/behaviors/registry/app/atoms/std-donor.orb +88 -38
  254. package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +66 -40
  255. package/dist/behaviors/registry/app/atoms/std-driver.orb +92 -80
  256. package/dist/behaviors/registry/app/atoms/std-dunning.orb +177 -52
  257. package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +41 -41
  258. package/dist/behaviors/registry/app/atoms/std-event.orb +60 -60
  259. package/dist/behaviors/registry/app/atoms/std-health-score.orb +224 -76
  260. package/dist/behaviors/registry/app/atoms/std-help-article.orb +206 -89
  261. package/dist/behaviors/registry/app/atoms/std-help-category.orb +113 -79
  262. package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +40 -40
  263. package/dist/behaviors/registry/app/atoms/std-invoice.orb +135 -135
  264. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +53 -53
  265. package/dist/behaviors/registry/app/atoms/std-lease.orb +174 -38
  266. package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +165 -39
  267. package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +130 -50
  268. package/dist/behaviors/registry/app/atoms/std-matter.orb +237 -40
  269. package/dist/behaviors/registry/app/atoms/std-membership.orb +93 -37
  270. package/dist/behaviors/registry/app/atoms/std-menu.orb +44 -44
  271. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +38 -38
  272. package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +115 -91
  273. package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +32 -32
  274. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +63 -63
  275. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +51 -51
  276. package/dist/behaviors/registry/app/atoms/std-receipt.orb +34 -34
  277. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +152 -60
  278. package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +153 -86
  279. package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +24 -24
  280. package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +60 -54
  281. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +48 -48
  282. package/dist/behaviors/registry/app/atoms/std-rfi.orb +174 -119
  283. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +46 -46
  284. package/dist/behaviors/registry/app/atoms/std-segment.orb +76 -33
  285. package/dist/behaviors/registry/app/atoms/std-stock-level.orb +106 -32
  286. package/dist/behaviors/registry/app/atoms/std-submittal.orb +259 -104
  287. package/dist/behaviors/registry/app/atoms/std-table-map.orb +47 -47
  288. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +43 -43
  289. package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +111 -37
  290. package/dist/behaviors/registry/app/atoms/std-template-editor.orb +85 -41
  291. package/dist/behaviors/registry/app/atoms/std-tenant.orb +89 -39
  292. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +62 -62
  293. package/dist/behaviors/registry/app/atoms/std-time-entry.orb +133 -80
  294. package/dist/behaviors/registry/app/atoms/std-timesheet.orb +122 -102
  295. package/dist/behaviors/registry/app/atoms/std-trial.orb +116 -47
  296. package/dist/behaviors/registry/app/atoms/std-vehicle.orb +236 -111
  297. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +39 -39
  298. package/dist/behaviors/registry/app/atoms/std-warehouse.orb +214 -30
  299. package/dist/behaviors/registry/app/atoms/std-work-order.orb +61 -61
  300. package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +39 -39
  301. package/dist/behaviors/registry/app/molecules/std-application.orb +159 -159
  302. package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +168 -53
  303. package/dist/behaviors/registry/app/molecules/std-cart.orb +49 -49
  304. package/dist/behaviors/registry/app/molecules/std-form-builder.orb +86 -86
  305. package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +84 -62
  306. package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +90 -57
  307. package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +256 -256
  308. package/dist/behaviors/registry/app/organisms/std-accounting.orb +89 -89
  309. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +213 -213
  310. package/dist/behaviors/registry/app/organisms/std-ats-recruiting.orb +145 -145
  311. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +656 -656
  312. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +276 -276
  313. package/dist/behaviors/registry/app/organisms/std-cms.orb +296 -296
  314. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +196 -196
  315. package/dist/behaviors/registry/app/organisms/std-construction-pm.orb +722 -89
  316. package/dist/behaviors/registry/app/organisms/std-crm.orb +248 -248
  317. package/dist/behaviors/registry/app/organisms/std-customer-success.orb +89 -89
  318. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +442 -442
  319. package/dist/behaviors/registry/app/organisms/std-document-mgmt.orb +84 -84
  320. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +709 -709
  321. package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +206 -206
  322. package/dist/behaviors/registry/app/organisms/std-field-service.orb +176 -176
  323. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +201 -201
  324. package/dist/behaviors/registry/app/organisms/std-fitness-studio.orb +141 -141
  325. package/dist/behaviors/registry/app/organisms/std-fleet-mgmt.orb +737 -88
  326. package/dist/behaviors/registry/app/organisms/std-forum.orb +152 -152
  327. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +555 -555
  328. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +194 -194
  329. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +436 -436
  330. package/dist/behaviors/registry/app/organisms/std-inventory.orb +904 -102
  331. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +380 -380
  332. package/dist/behaviors/registry/app/organisms/std-legal-case.orb +361 -135
  333. package/dist/behaviors/registry/app/organisms/std-listings.orb +129 -129
  334. package/dist/behaviors/registry/app/organisms/std-lms.orb +381 -381
  335. package/dist/behaviors/registry/app/organisms/std-marketing-campaign.orb +135 -135
  336. package/dist/behaviors/registry/app/organisms/std-marketplace.orb +220 -220
  337. package/dist/behaviors/registry/app/organisms/std-nonprofit-donations.orb +86 -86
  338. package/dist/behaviors/registry/app/organisms/std-notes.orb +301 -90
  339. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +200 -200
  340. package/dist/behaviors/registry/app/organisms/std-property-mgmt.orb +920 -94
  341. package/dist/behaviors/registry/app/organisms/std-public-help-center.orb +516 -102
  342. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +235 -235
  343. package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +127 -127
  344. package/dist/behaviors/registry/app/organisms/std-retail-pos.orb +136 -136
  345. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +158 -158
  346. package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +200 -200
  347. package/dist/behaviors/registry/app/organisms/std-survey.orb +123 -123
  348. package/dist/behaviors/registry/app/organisms/std-time-tracking.orb +960 -84
  349. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +281 -281
  350. package/dist/behaviors/registry/app/organisms/std-wiki.orb +141 -141
  351. package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +99 -42
  352. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +84 -84
  353. package/dist/behaviors/registry/core/atoms/std-browse.orb +55 -55
  354. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +84 -84
  355. package/dist/behaviors/registry/core/atoms/std-calendar.orb +47 -47
  356. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +170 -170
  357. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +32 -32
  358. package/dist/behaviors/registry/core/atoms/std-display.orb +2 -2
  359. package/dist/behaviors/registry/core/atoms/std-drawer.orb +11 -11
  360. package/dist/behaviors/registry/core/atoms/std-esign-request.orb +60 -41
  361. package/dist/behaviors/registry/core/atoms/std-file-store.orb +178 -31
  362. package/dist/behaviors/registry/core/atoms/std-filter.orb +13 -13
  363. package/dist/behaviors/registry/core/atoms/std-flag.orb +90 -90
  364. package/dist/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  365. package/dist/behaviors/registry/core/atoms/std-geosearch.orb +26 -26
  366. package/dist/behaviors/registry/core/atoms/std-graphs.orb +40 -40
  367. package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +50 -50
  368. package/dist/behaviors/registry/core/atoms/std-mod-queue.orb +47 -47
  369. package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
  370. package/dist/behaviors/registry/core/atoms/std-page-tree.orb +144 -48
  371. package/dist/behaviors/registry/core/atoms/std-pagination.orb +13 -13
  372. package/dist/behaviors/registry/core/atoms/std-push.orb +35 -35
  373. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +179 -179
  374. package/dist/behaviors/registry/core/atoms/std-rating-review.orb +69 -69
  375. package/dist/behaviors/registry/core/atoms/std-related.orb +36 -36
  376. package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +193 -55
  377. package/dist/behaviors/registry/core/atoms/std-saved-search.orb +63 -63
  378. package/dist/behaviors/registry/core/atoms/std-search.orb +8 -8
  379. package/dist/behaviors/registry/core/atoms/std-selection.orb +93 -93
  380. package/dist/behaviors/registry/core/atoms/std-signature-capture.orb +90 -90
  381. package/dist/behaviors/registry/core/atoms/std-stats.orb +114 -114
  382. package/dist/behaviors/registry/core/atoms/std-tabs.orb +26 -26
  383. package/dist/behaviors/registry/core/atoms/std-tag-taxonomy.orb +61 -61
  384. package/dist/behaviors/registry/core/atoms/std-thread.orb +46 -46
  385. package/dist/behaviors/registry/core/atoms/std-version-history.orb +69 -69
  386. package/dist/behaviors/registry/core/atoms/std-vote.orb +37 -37
  387. package/dist/behaviors/registry/core/molecules/std-app-layout.orb +19 -19
  388. package/dist/behaviors/registry/core/molecules/std-dashboard-grid-layout.orb +10 -10
  389. package/dist/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  390. package/dist/behaviors/registry/core/molecules/std-esign-flow.orb +139 -56
  391. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +24 -24
  392. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +121 -121
  393. package/dist/behaviors/registry/core/molecules/std-list.orb +57 -57
  394. package/dist/behaviors/registry/core/molecules/std-master-detail-layout.orb +16 -16
  395. package/dist/behaviors/registry/core/molecules/std-stack-layout.orb +12 -12
  396. package/dist/behaviors/registry/core/molecules/std-tabs-layout.orb +11 -11
  397. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +141 -141
  398. package/dist/behaviors/registry/core/organisms/std-generic-app.orb +554 -554
  399. package/dist/behaviors/registry/game/atoms/std-collision.orb +0 -595
  400. package/dist/behaviors/registry/game/atoms/std-combat.orb +0 -524
  401. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  402. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +48 -48
  403. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +0 -456
  404. package/dist/behaviors/registry/game/atoms/std-movement.orb +0 -1279
  405. package/dist/behaviors/registry/game/atoms/std-overworld.orb +68 -68
  406. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +80 -80
  407. package/dist/behaviors/registry/game/atoms/std-quest.orb +137 -137
  408. package/dist/behaviors/registry/game/atoms/std-timer.orb +269 -269
  409. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +0 -1446
  410. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +0 -1037
  411. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +0 -2567
  412. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +0 -1197
  413. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +0 -3509
  414. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +0 -2003
  415. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +0 -2686
  416. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +33 -33
  417. package/dist/behaviors/registry/service/atoms/std-service-calendar-ical.orb +56 -56
  418. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +64 -64
  419. package/dist/behaviors/registry/service/atoms/std-service-email.orb +62 -62
  420. package/dist/behaviors/registry/service/atoms/std-service-github.orb +59 -59
  421. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +69 -69
  422. package/dist/behaviors/registry/service/atoms/std-service-maps.orb +79 -79
  423. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +56 -56
  424. package/dist/behaviors/registry/service/atoms/std-service-print.orb +104 -104
  425. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +53 -53
  426. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +50 -50
  427. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +99 -99
  428. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +58 -58
  429. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +30 -30
  430. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +871 -871
  431. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +802 -802
  432. package/dist/behaviors-registry.json +4 -684
  433. package/package.json +1 -1
@@ -69,11 +69,21 @@
69
69
  "ref": "AppShell.traits.AppLayout",
70
70
  "name": "ProductAppLayout",
71
71
  "config": {
72
+ "topBarActions": [
73
+ {
74
+ "label": "Cart",
75
+ "event": "CART_OPEN",
76
+ "icon": "shopping-cart"
77
+ }
78
+ ],
79
+ "notifications": [],
80
+ "contentTrait": "@trait.ProductCatalog",
81
+ "appName": "EcommerceApp",
72
82
  "navItems": [
73
83
  {
74
84
  "icon": "package",
75
- "label": "Products",
76
- "href": "/products"
85
+ "href": "/products",
86
+ "label": "Products"
77
87
  },
78
88
  {
79
89
  "label": "Cart",
@@ -82,27 +92,17 @@
82
92
  },
83
93
  {
84
94
  "label": "Checkout",
85
- "icon": "credit-card",
86
- "href": "/checkout"
95
+ "href": "/checkout",
96
+ "icon": "credit-card"
87
97
  },
88
98
  {
89
- "label": "Orders",
90
99
  "icon": "clipboard-list",
100
+ "label": "Orders",
91
101
  "href": "/orders"
92
102
  }
93
103
  ],
94
- "searchEvent": "PRODUCT_SEARCH",
95
- "contentTrait": "@trait.ProductCatalog",
96
- "appName": "EcommerceApp",
97
- "topBarActions": [
98
- {
99
- "label": "Cart",
100
- "icon": "shopping-cart",
101
- "event": "CART_OPEN"
102
- }
103
- ],
104
- "notifications": [],
105
- "notificationClickEvent": "PRODUCT_NOTIFICATIONS_OPEN"
104
+ "notificationClickEvent": "PRODUCT_NOTIFICATIONS_OPEN",
105
+ "searchEvent": "PRODUCT_SEARCH"
106
106
  },
107
107
  "events": {
108
108
  "NOTIFY_CLICK": "PRODUCT_NOTIFICATIONS_OPEN",
@@ -189,17 +189,17 @@
189
189
  "render-ui",
190
190
  "main",
191
191
  {
192
- "direction": "vertical",
192
+ "type": "stack",
193
193
  "gap": "lg",
194
+ "direction": "vertical",
194
195
  "children": [
195
196
  {
196
- "type": "stack",
197
197
  "direction": "horizontal",
198
+ "gap": "md",
198
199
  "justify": "between",
200
+ "align": "center",
199
201
  "children": [
200
202
  {
201
- "gap": "sm",
202
- "type": "stack",
203
203
  "align": "center",
204
204
  "children": [
205
205
  {
@@ -207,37 +207,37 @@
207
207
  "type": "icon"
208
208
  },
209
209
  {
210
- "variant": "h2",
210
+ "content": "Products",
211
211
  "type": "typography",
212
- "content": "Products"
212
+ "variant": "h2"
213
213
  }
214
214
  ],
215
- "direction": "horizontal"
215
+ "type": "stack",
216
+ "direction": "horizontal",
217
+ "gap": "sm"
216
218
  },
217
219
  {
218
- "gap": "sm",
220
+ "type": "stack",
219
221
  "direction": "horizontal",
220
222
  "children": [
221
223
  {
222
- "label": "Create Product",
223
- "type": "button",
224
- "action": "CREATE",
225
224
  "icon": "plus",
225
+ "action": "CREATE",
226
+ "type": "button",
227
+ "label": "Create Product",
226
228
  "variant": "primary"
227
229
  }
228
230
  ],
229
- "type": "stack"
231
+ "gap": "sm"
230
232
  }
231
233
  ],
232
- "gap": "md",
233
- "align": "center"
234
+ "type": "stack"
234
235
  },
235
236
  {
236
237
  "type": "divider"
237
238
  },
238
239
  "@trait.ProductBrowseList"
239
- ],
240
- "type": "stack"
240
+ ]
241
241
  }
242
242
  ]
243
243
  ]
@@ -256,34 +256,34 @@
256
256
  "render-ui",
257
257
  "main",
258
258
  {
259
- "align": "center",
260
- "direction": "vertical",
261
259
  "className": "py-8",
260
+ "type": "stack",
262
261
  "gap": "md",
262
+ "align": "center",
263
263
  "children": [
264
264
  {
265
265
  "name": "bell",
266
266
  "type": "icon"
267
267
  },
268
268
  {
269
- "type": "typography",
270
269
  "content": "No notifications",
270
+ "type": "typography",
271
271
  "variant": "h3"
272
272
  },
273
273
  {
274
- "type": "typography",
275
274
  "content": "You're all caught up.",
276
- "color": "muted",
277
- "variant": "caption"
275
+ "type": "typography",
276
+ "variant": "caption",
277
+ "color": "muted"
278
278
  },
279
279
  {
280
- "variant": "ghost",
281
- "action": "INIT",
280
+ "type": "button",
282
281
  "label": "Back to products",
283
- "type": "button"
282
+ "variant": "ghost",
283
+ "action": "INIT"
284
284
  }
285
285
  ],
286
- "type": "stack"
286
+ "direction": "vertical"
287
287
  }
288
288
  ]
289
289
  ]
@@ -298,12 +298,12 @@
298
298
  "linkedEntity": "Product",
299
299
  "config": {
300
300
  "gap": "md",
301
- "cols": 3.0,
301
+ "imageField": "imageUrl",
302
302
  "fields": [
303
303
  {
304
+ "variant": "h3",
304
305
  "icon": "package",
305
- "name": "name",
306
- "variant": "h3"
306
+ "name": "name"
307
307
  },
308
308
  {
309
309
  "name": "category",
@@ -311,38 +311,38 @@
311
311
  },
312
312
  {
313
313
  "name": "price",
314
- "variant": "h4",
315
- "format": "currency"
314
+ "format": "currency",
315
+ "variant": "h4"
316
316
  },
317
317
  {
318
- "variant": "caption",
319
- "name": "sku"
318
+ "name": "sku",
319
+ "variant": "caption"
320
320
  },
321
321
  {
322
- "format": "boolean",
323
- "label": "In Stock",
324
322
  "name": "inStock",
323
+ "label": "In Stock",
324
+ "format": "boolean",
325
325
  "variant": "body"
326
326
  }
327
327
  ],
328
328
  "itemActions": [
329
329
  {
330
- "label": "View",
331
330
  "event": "VIEW",
331
+ "label": "View",
332
332
  "variant": "ghost"
333
333
  },
334
334
  {
335
- "event": "EDIT",
336
335
  "variant": "ghost",
337
- "label": "Edit"
336
+ "label": "Edit",
337
+ "event": "EDIT"
338
338
  },
339
339
  {
340
+ "variant": "danger",
340
341
  "event": "DELETE",
341
- "label": "Delete",
342
- "variant": "danger"
342
+ "label": "Delete"
343
343
  }
344
344
  ],
345
- "imageField": "imageUrl"
345
+ "cols": 3.0
346
346
  },
347
347
  "listens": [
348
348
  {
@@ -571,23 +571,23 @@
571
571
  "render-ui",
572
572
  "modal",
573
573
  {
574
- "direction": "vertical",
575
574
  "gap": "md",
575
+ "direction": "vertical",
576
576
  "type": "stack",
577
577
  "children": [
578
578
  {
579
+ "direction": "horizontal",
579
580
  "children": [
580
581
  {
581
- "type": "icon",
582
- "name": "plus-circle"
582
+ "name": "plus-circle",
583
+ "type": "icon"
583
584
  },
584
585
  {
585
586
  "variant": "h3",
586
- "content": "Create Product",
587
- "type": "typography"
587
+ "type": "typography",
588
+ "content": "Create Product"
588
589
  }
589
590
  ],
590
- "direction": "horizontal",
591
591
  "gap": "sm",
592
592
  "type": "stack"
593
593
  },
@@ -595,8 +595,10 @@
595
595
  "type": "divider"
596
596
  },
597
597
  {
598
- "type": "form-section",
598
+ "mode": "create",
599
+ "submitEvent": "SAVE",
599
600
  "cancelEvent": "CLOSE",
601
+ "type": "form-section",
600
602
  "fields": [
601
603
  "name",
602
604
  "description",
@@ -604,9 +606,7 @@
604
606
  "category",
605
607
  "sku",
606
608
  "inStock"
607
- ],
608
- "mode": "create",
609
- "submitEvent": "SAVE"
609
+ ]
610
610
  }
611
611
  ]
612
612
  }
@@ -869,8 +869,8 @@
869
869
  "Product",
870
870
  {
871
871
  "emit": {
872
- "failure": "ProductLoadFailed",
873
- "success": "ProductLoaded"
872
+ "success": "ProductLoaded",
873
+ "failure": "ProductLoadFailed"
874
874
  }
875
875
  }
876
876
  ]
@@ -887,8 +887,8 @@
887
887
  {
888
888
  "id": "@payload.id",
889
889
  "emit": {
890
- "success": "ProductLoaded",
891
- "failure": "ProductLoadFailed"
890
+ "failure": "ProductLoadFailed",
891
+ "success": "ProductLoaded"
892
892
  }
893
893
  }
894
894
  ],
@@ -898,9 +898,8 @@
898
898
  {
899
899
  "children": [
900
900
  {
901
- "direction": "horizontal",
902
- "type": "stack",
903
901
  "gap": "sm",
902
+ "type": "stack",
904
903
  "children": [
905
904
  {
906
905
  "type": "icon",
@@ -908,16 +907,19 @@
908
907
  },
909
908
  {
910
909
  "variant": "h3",
911
- "content": "Edit Product",
912
- "type": "typography"
910
+ "type": "typography",
911
+ "content": "Edit Product"
913
912
  }
914
- ]
913
+ ],
914
+ "direction": "horizontal"
915
915
  },
916
916
  {
917
917
  "type": "divider"
918
918
  },
919
919
  {
920
920
  "cancelEvent": "CLOSE",
921
+ "type": "form-section",
922
+ "entity": "@payload.row",
921
923
  "fields": [
922
924
  "name",
923
925
  "description",
@@ -927,14 +929,12 @@
927
929
  "inStock"
928
930
  ],
929
931
  "mode": "edit",
930
- "submitEvent": "SAVE",
931
- "entity": "@payload.row",
932
- "type": "form-section"
932
+ "submitEvent": "SAVE"
933
933
  }
934
934
  ],
935
- "gap": "md",
936
935
  "direction": "vertical",
937
- "type": "stack"
936
+ "type": "stack",
937
+ "gap": "md"
938
938
  }
939
939
  ]
940
940
  ]
@@ -975,8 +975,8 @@
975
975
  "@payload.data",
976
976
  {
977
977
  "emit": {
978
- "success": "ProductUpdated",
979
- "failure": "ProductUpdateFailed"
978
+ "failure": "ProductUpdateFailed",
979
+ "success": "ProductUpdated"
980
980
  }
981
981
  }
982
982
  ],
@@ -1180,11 +1180,11 @@
1180
1180
  "fetch",
1181
1181
  "Product",
1182
1182
  {
1183
- "id": "@payload.id",
1184
1183
  "emit": {
1185
1184
  "success": "ProductLoaded",
1186
1185
  "failure": "ProductLoadFailed"
1187
- }
1186
+ },
1187
+ "id": "@payload.id"
1188
1188
  }
1189
1189
  ],
1190
1190
  [
@@ -1193,67 +1193,69 @@
1193
1193
  {
1194
1194
  "type": "stack",
1195
1195
  "direction": "vertical",
1196
+ "gap": "md",
1196
1197
  "children": [
1197
1198
  {
1199
+ "type": "stack",
1200
+ "align": "center",
1201
+ "direction": "horizontal",
1198
1202
  "children": [
1199
1203
  {
1200
1204
  "type": "icon",
1201
1205
  "name": "eye"
1202
1206
  },
1203
1207
  {
1204
- "variant": "h3",
1205
1208
  "type": "typography",
1206
- "content": "@entity.name"
1209
+ "content": "@entity.name",
1210
+ "variant": "h3"
1207
1211
  }
1208
1212
  ],
1209
- "direction": "horizontal",
1210
- "type": "stack",
1211
- "gap": "sm",
1212
- "align": "center"
1213
+ "gap": "sm"
1213
1214
  },
1214
1215
  {
1215
1216
  "type": "divider"
1216
1217
  },
1217
1218
  {
1218
- "gap": "md",
1219
- "direction": "horizontal",
1220
- "type": "stack",
1221
1219
  "children": [
1222
1220
  {
1223
- "content": "Name",
1221
+ "variant": "caption",
1224
1222
  "type": "typography",
1225
- "variant": "caption"
1223
+ "content": "Name"
1226
1224
  },
1227
1225
  {
1228
- "type": "typography",
1229
1226
  "variant": "body",
1230
- "content": "@entity.name"
1227
+ "content": "@entity.name",
1228
+ "type": "typography"
1231
1229
  }
1232
- ]
1230
+ ],
1231
+ "type": "stack",
1232
+ "direction": "horizontal",
1233
+ "gap": "md"
1233
1234
  },
1234
1235
  {
1235
- "gap": "md",
1236
1236
  "children": [
1237
1237
  {
1238
- "content": "Description",
1239
1238
  "type": "typography",
1239
+ "content": "Description",
1240
1240
  "variant": "caption"
1241
1241
  },
1242
1242
  {
1243
+ "type": "typography",
1243
1244
  "variant": "body",
1244
- "content": "@entity.description",
1245
- "type": "typography"
1245
+ "content": "@entity.description"
1246
1246
  }
1247
1247
  ],
1248
+ "gap": "md",
1248
1249
  "type": "stack",
1249
1250
  "direction": "horizontal"
1250
1251
  },
1251
1252
  {
1253
+ "type": "stack",
1252
1254
  "children": [
1253
1255
  {
1254
- "content": "Price",
1256
+ "type": "typography",
1255
1257
  "variant": "caption",
1256
- "type": "typography"
1258
+ "content": "Price"
1257
1259
  },
1258
1260
  {
1259
1261
  "variant": "body",
@@ -1261,48 +1263,44 @@
1261
1263
  "type": "typography"
1262
1264
  }
1263
1265
  ],
1264
- "type": "stack",
1265
- "direction": "horizontal",
1266
- "gap": "md"
1266
+ "gap": "md",
1267
+ "direction": "horizontal"
1267
1268
  },
1268
1269
  {
1270
+ "gap": "md",
1269
1271
  "direction": "horizontal",
1272
+ "type": "stack",
1270
1273
  "children": [
1271
1274
  {
1272
- "type": "typography",
1273
1275
  "variant": "caption",
1276
+ "type": "typography",
1274
1277
  "content": "Category"
1275
1278
  },
1276
1279
  {
1277
- "type": "typography",
1278
1280
  "variant": "body",
1281
+ "type": "typography",
1279
1282
  "content": "@entity.category"
1280
1283
  }
1281
- ],
1282
- "gap": "md",
1283
- "type": "stack"
1284
+ ]
1284
1285
  },
1285
1286
  {
1286
- "gap": "md",
1287
+ "direction": "horizontal",
1287
1288
  "children": [
1288
1289
  {
1290
+ "type": "typography",
1289
1291
  "variant": "caption",
1290
- "content": "Sku",
1291
- "type": "typography"
1292
+ "content": "Sku"
1292
1293
  },
1293
1294
  {
1295
+ "type": "typography",
1294
1296
  "content": "@entity.sku",
1295
- "variant": "body",
1296
- "type": "typography"
1297
+ "variant": "body"
1297
1298
  }
1298
1299
  ],
1299
- "type": "stack",
1300
- "direction": "horizontal"
1300
+ "gap": "md",
1301
+ "type": "stack"
1301
1302
  },
1302
1303
  {
1303
- "direction": "horizontal",
1304
- "gap": "md",
1305
- "type": "stack",
1306
1304
  "children": [
1307
1305
  {
1308
1306
  "content": "In Stock",
@@ -1310,38 +1308,40 @@
1310
1308
  "variant": "caption"
1311
1309
  },
1312
1310
  {
1313
- "variant": "body",
1314
1311
  "content": "@entity.inStock",
1315
- "type": "typography"
1312
+ "type": "typography",
1313
+ "variant": "body"
1316
1314
  }
1317
- ]
1315
+ ],
1316
+ "direction": "horizontal",
1317
+ "type": "stack",
1318
+ "gap": "md"
1318
1319
  },
1319
1320
  {
1320
1321
  "type": "divider"
1321
1322
  },
1322
1323
  {
1324
+ "gap": "sm",
1323
1325
  "justify": "end",
1324
- "direction": "horizontal",
1325
1326
  "type": "stack",
1326
- "gap": "sm",
1327
1327
  "children": [
1328
1328
  {
1329
1329
  "action": "EDIT",
1330
- "label": "Edit",
1331
1330
  "type": "button",
1331
+ "label": "Edit",
1332
1332
  "variant": "primary",
1333
1333
  "icon": "edit"
1334
1334
  },
1335
1335
  {
1336
+ "type": "button",
1336
1337
  "label": "Close",
1337
1338
  "action": "CLOSE",
1338
- "variant": "ghost",
1339
- "type": "button"
1339
+ "variant": "ghost"
1340
1340
  }
1341
- ]
1341
+ ],
1342
+ "direction": "horizontal"
1342
1343
  }
1343
- ],
1344
- "gap": "md"
1344
+ ]
1345
1345
  }
1346
1346
  ]
1347
1347
  ]
@@ -1571,8 +1571,8 @@
1571
1571
  "Product",
1572
1572
  {
1573
1573
  "emit": {
1574
- "failure": "ProductLoadFailed",
1575
- "success": "ProductLoaded"
1574
+ "success": "ProductLoaded",
1575
+ "failure": "ProductLoadFailed"
1576
1576
  }
1577
1577
  }
1578
1578
  ]
@@ -1594,8 +1594,8 @@
1594
1594
  {
1595
1595
  "id": "@payload.id",
1596
1596
  "emit": {
1597
- "failure": "ProductLoadFailed",
1598
- "success": "ProductLoaded"
1597
+ "success": "ProductLoaded",
1598
+ "failure": "ProductLoadFailed"
1599
1599
  }
1600
1600
  }
1601
1601
  ],
@@ -1603,57 +1603,57 @@
1603
1603
  "render-ui",
1604
1604
  "modal",
1605
1605
  {
1606
- "type": "stack",
1607
- "direction": "vertical",
1608
1606
  "gap": "md",
1609
1607
  "children": [
1610
1608
  {
1611
- "gap": "sm",
1612
1609
  "direction": "horizontal",
1610
+ "type": "stack",
1611
+ "align": "center",
1613
1612
  "children": [
1614
1613
  {
1615
- "type": "icon",
1616
- "name": "alert-triangle"
1614
+ "name": "alert-triangle",
1615
+ "type": "icon"
1617
1616
  },
1618
1617
  {
1619
- "type": "typography",
1620
1618
  "content": "Delete Product",
1619
+ "type": "typography",
1621
1620
  "variant": "h3"
1622
1621
  }
1623
1622
  ],
1624
- "align": "center",
1625
- "type": "stack"
1623
+ "gap": "sm"
1626
1624
  },
1627
1625
  {
1628
1626
  "type": "divider"
1629
1627
  },
1630
1628
  {
1631
- "variant": "error",
1629
+ "type": "alert",
1632
1630
  "message": "This action cannot be undone.",
1633
- "type": "alert"
1631
+ "variant": "error"
1634
1632
  },
1635
1633
  {
1634
+ "direction": "horizontal",
1636
1635
  "children": [
1637
1636
  {
1638
- "type": "button",
1637
+ "action": "CANCEL",
1639
1638
  "label": "Cancel",
1640
- "variant": "ghost",
1641
- "action": "CANCEL"
1639
+ "type": "button",
1640
+ "variant": "ghost"
1642
1641
  },
1643
1642
  {
1643
+ "variant": "danger",
1644
+ "type": "button",
1644
1645
  "icon": "check",
1645
1646
  "action": "CONFIRM_DELETE",
1646
- "variant": "danger",
1647
- "label": "Delete",
1648
- "type": "button"
1647
+ "label": "Delete"
1649
1648
  }
1650
1649
  ],
1651
- "type": "stack",
1652
1650
  "gap": "sm",
1653
- "justify": "end",
1654
- "direction": "horizontal"
1651
+ "type": "stack",
1652
+ "justify": "end"
1655
1653
  }
1656
- ]
1654
+ ],
1655
+ "type": "stack",
1656
+ "direction": "vertical"
1657
1657
  }
1658
1658
  ]
1659
1659
  ]
@@ -1692,8 +1692,8 @@
1692
1692
  "Product",
1693
1693
  {
1694
1694
  "emit": {
1695
- "failure": "ProductLoadFailed",
1696
- "success": "ProductLoaded"
1695
+ "success": "ProductLoaded",
1696
+ "failure": "ProductLoadFailed"
1697
1697
  }
1698
1698
  }
1699
1699
  ],
@@ -1725,9 +1725,9 @@
1725
1725
  "Product",
1726
1726
  {
1727
1727
  "emit": {
1728
- "success": "ProductLoaded",
1729
- "failure": "ProductLoadFailed"
1730
- }
1728
+ "failure": "ProductLoadFailed",
1729
+ "success": "ProductLoaded"
1730
+ }
1731
1731
  }
1732
1732
  ]
1733
1733
  ]
@@ -1754,8 +1754,8 @@
1754
1754
  "Product",
1755
1755
  {
1756
1756
  "emit": {
1757
- "failure": "ProductLoadFailed",
1758
- "success": "ProductLoaded"
1757
+ "success": "ProductLoaded",
1758
+ "failure": "ProductLoadFailed"
1759
1759
  }
1760
1760
  }
1761
1761
  ]
@@ -1993,8 +1993,8 @@
1993
1993
  "CartItem",
1994
1994
  {
1995
1995
  "emit": {
1996
- "failure": "CartItemLoadFailed",
1997
- "success": "CartItemLoaded"
1996
+ "success": "CartItemLoaded",
1997
+ "failure": "CartItemLoadFailed"
1998
1998
  }
1999
1999
  }
2000
2000
  ],
@@ -2002,21 +2002,21 @@
2002
2002
  "render-ui",
2003
2003
  "main",
2004
2004
  {
2005
+ "className": "py-12",
2006
+ "type": "stack",
2005
2007
  "align": "center",
2006
2008
  "gap": "md",
2007
- "className": "py-12",
2008
2009
  "children": [
2009
2010
  {
2010
2011
  "type": "spinner"
2011
2012
  },
2012
2013
  {
2013
- "content": "Loading…",
2014
2014
  "type": "typography",
2015
+ "content": "Loading…",
2015
2016
  "variant": "caption",
2016
2017
  "color": "muted"
2017
2018
  }
2018
2019
  ],
2019
- "type": "stack",
2020
2020
  "direction": "vertical"
2021
2021
  }
2022
2022
  ]
@@ -2032,134 +2032,134 @@
2032
2032
  "main",
2033
2033
  {
2034
2034
  "appName": "EcommerceApp",
2035
- "navItems": [
2036
- {
2037
- "href": "/products",
2038
- "icon": "package",
2039
- "label": "Products"
2040
- },
2041
- {
2042
- "label": "Cart",
2043
- "href": "/cart",
2044
- "icon": "shopping-cart"
2045
- },
2046
- {
2047
- "href": "/checkout",
2048
- "label": "Checkout",
2049
- "icon": "credit-card"
2050
- },
2051
- {
2052
- "label": "Orders",
2053
- "href": "/orders",
2054
- "icon": "clipboard-list"
2055
- }
2056
- ],
2057
2035
  "type": "dashboard-layout",
2058
2036
  "children": [
2059
2037
  {
2060
- "direction": "vertical",
2061
2038
  "type": "stack",
2062
2039
  "gap": "lg",
2063
2040
  "children": [
2064
2041
  {
2065
- "justify": "between",
2066
- "direction": "horizontal",
2042
+ "gap": "md",
2067
2043
  "type": "stack",
2044
+ "justify": "between",
2068
2045
  "children": [
2069
2046
  {
2070
2047
  "type": "stack",
2071
- "direction": "horizontal",
2072
- "gap": "md",
2073
2048
  "children": [
2074
2049
  {
2075
2050
  "name": "shopping-cart",
2076
2051
  "type": "icon"
2077
2052
  },
2078
2053
  {
2079
- "variant": "h2",
2080
2054
  "content": "Shopping Cart",
2081
- "type": "typography"
2055
+ "type": "typography",
2056
+ "variant": "h2"
2082
2057
  }
2083
- ]
2058
+ ],
2059
+ "gap": "md",
2060
+ "direction": "horizontal"
2084
2061
  },
2085
2062
  {
2063
+ "icon": "plus",
2086
2064
  "action": "ADD_ITEM",
2087
- "label": "Add Item",
2088
- "type": "button",
2089
2065
  "variant": "primary",
2090
- "icon": "plus"
2066
+ "type": "button",
2067
+ "label": "Add Item"
2091
2068
  }
2092
2069
  ],
2093
- "gap": "md"
2070
+ "direction": "horizontal"
2094
2071
  },
2095
2072
  {
2096
2073
  "type": "divider"
2097
2074
  },
2098
2075
  {
2099
2076
  "type": "simple-grid",
2077
+ "cols": 3.0,
2100
2078
  "children": [
2101
2079
  {
2102
- "label": "Items",
2103
2080
  "type": "stat-display",
2104
2081
  "value": "@payload.data.length",
2082
+ "label": "Items",
2105
2083
  "icon": "package"
2106
2084
  },
2107
2085
  {
2108
- "label": "Subtotal",
2109
2086
  "icon": "dollar-sign",
2087
+ "label": "Subtotal",
2110
2088
  "value": "@payload.data.length",
2111
2089
  "type": "stat-display"
2112
2090
  },
2113
2091
  {
2114
2092
  "label": "Total",
2115
- "icon": "receipt",
2116
2093
  "value": "@payload.data.length",
2117
- "type": "stat-display"
2094
+ "type": "stat-display",
2095
+ "icon": "receipt"
2118
2096
  }
2119
- ],
2120
- "cols": 3.0
2097
+ ]
2121
2098
  },
2122
2099
  {
2123
2100
  "type": "divider"
2124
2101
  },
2125
2102
  {
2103
+ "itemActions": [
2104
+ {
2105
+ "variant": "danger",
2106
+ "label": "Remove",
2107
+ "event": "REQUEST_REMOVE"
2108
+ }
2109
+ ],
2126
2110
  "type": "data-grid",
2111
+ "entity": "@payload.data",
2127
2112
  "fields": [
2128
2113
  {
2129
2114
  "label": "Product Name",
2130
2115
  "variant": "h4",
2131
- "name": "productName",
2132
- "icon": "shopping-cart"
2116
+ "icon": "shopping-cart",
2117
+ "name": "productName"
2133
2118
  },
2134
2119
  {
2135
- "variant": "caption",
2136
2120
  "label": "Quantity",
2137
2121
  "name": "quantity",
2138
- "format": "currency"
2122
+ "format": "currency",
2123
+ "variant": "caption"
2139
2124
  },
2140
2125
  {
2141
- "variant": "badge",
2126
+ "name": "unitPrice",
2142
2127
  "label": "Unit Price",
2143
- "name": "unitPrice"
2144
- }
2145
- ],
2146
- "itemActions": [
2147
- {
2148
- "event": "REQUEST_REMOVE",
2149
- "variant": "danger",
2150
- "label": "Remove"
2128
+ "variant": "badge"
2151
2129
  }
2152
- ],
2153
- "entity": "@payload.data"
2130
+ ]
2154
2131
  },
2155
2132
  {
2133
+ "type": "button",
2156
2134
  "label": "Proceed to Checkout",
2157
- "icon": "arrow-right",
2158
2135
  "variant": "primary",
2159
- "type": "button",
2136
+ "icon": "arrow-right",
2160
2137
  "action": "PROCEED_CHECKOUT"
2161
2138
  }
2162
- ]
2139
+ ],
2140
+ "direction": "vertical"
2141
+ }
2142
+ ],
2143
+ "navItems": [
2144
+ {
2145
+ "label": "Products",
2146
+ "href": "/products",
2147
+ "icon": "package"
2148
+ },
2149
+ {
2150
+ "icon": "shopping-cart",
2151
+ "href": "/cart",
2152
+ "label": "Cart"
2153
+ },
2154
+ {
2155
+ "label": "Checkout",
2156
+ "icon": "credit-card",
2157
+ "href": "/checkout"
2158
+ },
2159
+ {
2160
+ "label": "Orders",
2161
+ "href": "/orders",
2162
+ "icon": "clipboard-list"
2163
2163
  }
2164
2164
  ]
2165
2165
  }
@@ -2175,36 +2175,36 @@
2175
2175
  "render-ui",
2176
2176
  "main",
2177
2177
  {
2178
- "className": "py-12",
2178
+ "type": "stack",
2179
2179
  "direction": "vertical",
2180
- "gap": "md",
2180
+ "className": "py-12",
2181
+ "align": "center",
2181
2182
  "children": [
2182
2183
  {
2183
- "name": "alert-triangle",
2184
2184
  "type": "icon",
2185
+ "name": "alert-triangle",
2185
2186
  "color": "destructive"
2186
2187
  },
2187
2188
  {
2188
2189
  "content": "Failed to load cartitem",
2189
- "variant": "h3",
2190
- "type": "typography"
2190
+ "type": "typography",
2191
+ "variant": "h3"
2191
2192
  },
2192
2193
  {
2194
+ "content": "@payload.error",
2193
2195
  "type": "typography",
2194
- "variant": "body",
2195
2196
  "color": "muted",
2196
- "content": "@payload.error"
2197
+ "variant": "body"
2197
2198
  },
2198
2199
  {
2199
2200
  "icon": "rotate-ccw",
2200
- "type": "button",
2201
- "label": "Retry",
2202
2201
  "variant": "primary",
2203
- "action": "INIT"
2202
+ "type": "button",
2203
+ "action": "INIT",
2204
+ "label": "Retry"
2204
2205
  }
2205
2206
  ],
2206
- "type": "stack",
2207
- "align": "center"
2207
+ "gap": "md"
2208
2208
  }
2209
2209
  ]
2210
2210
  ]
@@ -2219,8 +2219,8 @@
2219
2219
  "CartItem",
2220
2220
  {
2221
2221
  "emit": {
2222
- "failure": "CartItemLoadFailed",
2223
- "success": "CartItemLoaded"
2222
+ "success": "CartItemLoaded",
2223
+ "failure": "CartItemLoadFailed"
2224
2224
  }
2225
2225
  }
2226
2226
  ],
@@ -2228,20 +2228,20 @@
2228
2228
  "render-ui",
2229
2229
  "main",
2230
2230
  {
2231
- "gap": "md",
2231
+ "className": "py-12",
2232
+ "align": "center",
2232
2233
  "direction": "vertical",
2233
2234
  "type": "stack",
2234
- "align": "center",
2235
- "className": "py-12",
2235
+ "gap": "md",
2236
2236
  "children": [
2237
2237
  {
2238
2238
  "type": "spinner"
2239
2239
  },
2240
2240
  {
2241
- "type": "typography",
2242
- "content": "Preparing checkout…",
2241
+ "variant": "caption",
2243
2242
  "color": "muted",
2244
- "variant": "caption"
2243
+ "type": "typography",
2244
+ "content": "Preparing checkout…"
2245
2245
  }
2246
2246
  ]
2247
2247
  }
@@ -2257,32 +2257,54 @@
2257
2257
  "render-ui",
2258
2258
  "main",
2259
2259
  {
2260
+ "type": "dashboard-layout",
2261
+ "navItems": [
2262
+ {
2263
+ "label": "Products",
2264
+ "icon": "package",
2265
+ "href": "/products"
2266
+ },
2267
+ {
2268
+ "href": "/cart",
2269
+ "label": "Cart",
2270
+ "icon": "shopping-cart"
2271
+ },
2272
+ {
2273
+ "href": "/checkout",
2274
+ "icon": "credit-card",
2275
+ "label": "Checkout"
2276
+ },
2277
+ {
2278
+ "label": "Orders",
2279
+ "href": "/orders",
2280
+ "icon": "clipboard-list"
2281
+ }
2282
+ ],
2260
2283
  "children": [
2261
2284
  {
2262
- "direction": "vertical",
2263
2285
  "children": [
2264
2286
  {
2265
2287
  "type": "stack",
2266
2288
  "direction": "horizontal",
2289
+ "gap": "sm",
2267
2290
  "children": [
2268
2291
  {
2269
2292
  "type": "icon",
2270
2293
  "name": "clipboard"
2271
2294
  },
2272
2295
  {
2296
+ "variant": "h2",
2273
2297
  "type": "typography",
2274
- "content": "Checkout",
2275
- "variant": "h2"
2298
+ "content": "Checkout"
2276
2299
  }
2277
- ],
2278
- "gap": "sm"
2300
+ ]
2279
2301
  },
2280
2302
  {
2281
2303
  "type": "divider"
2282
2304
  },
2283
2305
  {
2284
- "type": "data-grid",
2285
2306
  "entity": "@payload.data",
2307
+ "type": "data-grid",
2286
2308
  "itemActions": [
2287
2309
  {
2288
2310
  "label": "Remove",
@@ -2292,72 +2314,50 @@
2292
2314
  ],
2293
2315
  "fields": [
2294
2316
  {
2295
- "name": "productName",
2317
+ "label": "Product Name",
2296
2318
  "variant": "h4",
2297
- "icon": "shopping-cart",
2298
- "label": "Product Name"
2319
+ "name": "productName",
2320
+ "icon": "shopping-cart"
2299
2321
  },
2300
2322
  {
2301
- "name": "quantity",
2302
- "variant": "caption",
2303
2323
  "label": "Quantity",
2304
- "format": "currency"
2324
+ "name": "quantity",
2325
+ "format": "currency",
2326
+ "variant": "caption"
2305
2327
  },
2306
2328
  {
2329
+ "variant": "badge",
2307
2330
  "name": "unitPrice",
2308
- "label": "Unit Price",
2309
- "variant": "badge"
2331
+ "label": "Unit Price"
2310
2332
  }
2311
2333
  ]
2312
2334
  },
2313
2335
  {
2336
+ "gap": "sm",
2314
2337
  "children": [
2315
2338
  {
2316
- "variant": "ghost",
2317
- "label": "Back to Cart",
2339
+ "type": "button",
2318
2340
  "action": "BACK_TO_CART",
2319
2341
  "icon": "arrow-left",
2320
- "type": "button"
2342
+ "label": "Back to Cart",
2343
+ "variant": "ghost"
2321
2344
  },
2322
2345
  {
2323
- "icon": "check",
2324
- "label": "Confirm Order",
2325
2346
  "type": "button",
2326
2347
  "action": "CONFIRM_ORDER",
2348
+ "label": "Confirm Order",
2349
+ "icon": "check",
2327
2350
  "variant": "primary"
2328
2351
  }
2329
2352
  ],
2330
2353
  "type": "stack",
2331
- "gap": "sm",
2332
- "justify": "end",
2333
- "direction": "horizontal"
2354
+ "direction": "horizontal",
2355
+ "justify": "end"
2334
2356
  }
2335
2357
  ],
2336
- "gap": "lg",
2337
- "type": "stack"
2338
- }
2339
- ],
2340
- "type": "dashboard-layout",
2341
- "navItems": [
2342
- {
2343
- "label": "Products",
2344
- "href": "/products",
2345
- "icon": "package"
2346
- },
2347
- {
2348
- "label": "Cart",
2349
- "href": "/cart",
2350
- "icon": "shopping-cart"
2351
- },
2352
- {
2353
- "href": "/checkout",
2354
- "label": "Checkout",
2355
- "icon": "credit-card"
2356
- },
2357
- {
2358
- "icon": "clipboard-list",
2359
- "label": "Orders",
2360
- "href": "/orders"
2358
+ "type": "stack",
2359
+ "direction": "vertical",
2360
+ "gap": "lg"
2361
2361
  }
2362
2362
  ],
2363
2363
  "appName": "EcommerceApp"
@@ -2392,8 +2392,8 @@
2392
2392
  "CartItem",
2393
2393
  {
2394
2394
  "emit": {
2395
- "success": "CartItemLoaded",
2396
- "failure": "CartItemLoadFailed"
2395
+ "failure": "CartItemLoadFailed",
2396
+ "success": "CartItemLoaded"
2397
2397
  }
2398
2398
  }
2399
2399
  ],
@@ -2401,11 +2401,33 @@
2401
2401
  "render-ui",
2402
2402
  "main",
2403
2403
  {
2404
+ "appName": "EcommerceApp",
2404
2405
  "type": "dashboard-layout",
2406
+ "navItems": [
2407
+ {
2408
+ "icon": "package",
2409
+ "label": "Products",
2410
+ "href": "/products"
2411
+ },
2412
+ {
2413
+ "icon": "shopping-cart",
2414
+ "label": "Cart",
2415
+ "href": "/cart"
2416
+ },
2417
+ {
2418
+ "icon": "credit-card",
2419
+ "label": "Checkout",
2420
+ "href": "/checkout"
2421
+ },
2422
+ {
2423
+ "label": "Orders",
2424
+ "href": "/orders",
2425
+ "icon": "clipboard-list"
2426
+ }
2427
+ ],
2405
2428
  "children": [
2406
2429
  {
2407
2430
  "direction": "vertical",
2408
- "align": "center",
2409
2431
  "type": "stack",
2410
2432
  "children": [
2411
2433
  {
@@ -2413,47 +2435,25 @@
2413
2435
  "type": "icon"
2414
2436
  },
2415
2437
  {
2416
- "variant": "h2",
2417
2438
  "type": "typography",
2439
+ "variant": "h2",
2418
2440
  "content": "Order Confirmed"
2419
2441
  },
2420
2442
  {
2443
+ "type": "typography",
2421
2444
  "content": "Your order has been placed successfully.",
2422
- "variant": "body",
2423
- "type": "typography"
2445
+ "variant": "body"
2424
2446
  },
2425
2447
  {
2426
- "type": "button",
2448
+ "label": "Continue Shopping",
2427
2449
  "action": "INIT",
2428
- "variant": "primary",
2429
- "label": "Continue Shopping"
2450
+ "type": "button",
2451
+ "variant": "primary"
2430
2452
  }
2431
2453
  ],
2454
+ "align": "center",
2432
2455
  "gap": "lg"
2433
2456
  }
2434
- ],
2435
- "appName": "EcommerceApp",
2436
- "navItems": [
2437
- {
2438
- "label": "Products",
2439
- "href": "/products",
2440
- "icon": "package"
2441
- },
2442
- {
2443
- "label": "Cart",
2444
- "href": "/cart",
2445
- "icon": "shopping-cart"
2446
- },
2447
- {
2448
- "icon": "credit-card",
2449
- "label": "Checkout",
2450
- "href": "/checkout"
2451
- },
2452
- {
2453
- "href": "/orders",
2454
- "icon": "clipboard-list",
2455
- "label": "Orders"
2456
- }
2457
2457
  ]
2458
2458
  }
2459
2459
  ]
@@ -2622,8 +2622,8 @@
2622
2622
  "CartItem",
2623
2623
  {
2624
2624
  "emit": {
2625
- "failure": "CartItemLoadFailed",
2626
- "success": "CartItemLoaded"
2625
+ "success": "CartItemLoaded",
2626
+ "failure": "CartItemLoadFailed"
2627
2627
  }
2628
2628
  }
2629
2629
  ]
@@ -2639,8 +2639,8 @@
2639
2639
  "CartItem",
2640
2640
  {
2641
2641
  "emit": {
2642
- "success": "CartItemLoaded",
2643
- "failure": "CartItemLoadFailed"
2642
+ "failure": "CartItemLoadFailed",
2643
+ "success": "CartItemLoaded"
2644
2644
  }
2645
2645
  }
2646
2646
  ],
@@ -2648,27 +2648,31 @@
2648
2648
  "render-ui",
2649
2649
  "modal",
2650
2650
  {
2651
+ "type": "stack",
2652
+ "direction": "vertical",
2653
+ "gap": "md",
2651
2654
  "children": [
2652
2655
  {
2653
2656
  "direction": "horizontal",
2654
2657
  "type": "stack",
2655
- "gap": "sm",
2656
2658
  "children": [
2657
2659
  {
2658
2660
  "name": "plus-circle",
2659
2661
  "type": "icon"
2660
2662
  },
2661
2663
  {
2662
- "type": "typography",
2664
+ "variant": "h3",
2663
2665
  "content": "Add Item",
2664
- "variant": "h3"
2666
+ "type": "typography"
2665
2667
  }
2666
- ]
2668
+ ],
2669
+ "gap": "sm"
2667
2670
  },
2668
2671
  {
2669
2672
  "type": "divider"
2670
2673
  },
2671
2674
  {
2675
+ "cancelEvent": "CLOSE",
2672
2676
  "fields": [
2673
2677
  "productName",
2674
2678
  "quantity",
@@ -2677,13 +2681,9 @@
2677
2681
  ],
2678
2682
  "type": "form-section",
2679
2683
  "mode": "create",
2680
- "cancelEvent": "CLOSE",
2681
2684
  "submitEvent": "SAVE"
2682
2685
  }
2683
- ],
2684
- "type": "stack",
2685
- "direction": "vertical",
2686
- "gap": "md"
2686
+ ]
2687
2687
  }
2688
2688
  ]
2689
2689
  ]
@@ -2931,11 +2931,11 @@
2931
2931
  "fetch",
2932
2932
  "CartItem",
2933
2933
  {
2934
+ "id": "@payload.id",
2934
2935
  "emit": {
2935
- "failure": "CartItemLoadFailed",
2936
- "success": "CartItemLoaded"
2937
- },
2938
- "id": "@payload.id"
2936
+ "success": "CartItemLoaded",
2937
+ "failure": "CartItemLoadFailed"
2938
+ }
2939
2939
  }
2940
2940
  ],
2941
2941
  [
@@ -2944,55 +2944,55 @@
2944
2944
  {
2945
2945
  "direction": "vertical",
2946
2946
  "type": "stack",
2947
+ "gap": "md",
2947
2948
  "children": [
2948
2949
  {
2949
2950
  "children": [
2950
2951
  {
2951
- "name": "alert-triangle",
2952
- "type": "icon"
2952
+ "type": "icon",
2953
+ "name": "alert-triangle"
2953
2954
  },
2954
2955
  {
2955
- "content": "Remove Item",
2956
2956
  "type": "typography",
2957
- "variant": "h3"
2957
+ "variant": "h3",
2958
+ "content": "Remove Item"
2958
2959
  }
2959
2960
  ],
2961
+ "direction": "horizontal",
2960
2962
  "align": "center",
2961
2963
  "gap": "sm",
2962
- "type": "stack",
2963
- "direction": "horizontal"
2964
+ "type": "stack"
2964
2965
  },
2965
2966
  {
2966
2967
  "type": "divider"
2967
2968
  },
2968
2969
  {
2970
+ "variant": "error",
2969
2971
  "type": "alert",
2970
- "message": "Are you sure you want to remove this item from your cart?",
2971
- "variant": "error"
2972
+ "message": "Are you sure you want to remove this item from your cart?"
2972
2973
  },
2973
2974
  {
2974
2975
  "justify": "end",
2975
2976
  "direction": "horizontal",
2976
- "gap": "sm",
2977
+ "type": "stack",
2977
2978
  "children": [
2978
2979
  {
2979
- "variant": "ghost",
2980
- "type": "button",
2980
+ "action": "CANCEL",
2981
2981
  "label": "Cancel",
2982
- "action": "CANCEL"
2982
+ "type": "button",
2983
+ "variant": "ghost"
2983
2984
  },
2984
2985
  {
2986
+ "label": "Remove",
2985
2987
  "type": "button",
2986
- "action": "CONFIRM_REMOVE",
2987
2988
  "variant": "danger",
2988
- "label": "Remove",
2989
+ "action": "CONFIRM_REMOVE",
2989
2990
  "icon": "check"
2990
2991
  }
2991
2992
  ],
2992
- "type": "stack"
2993
+ "gap": "sm"
2993
2994
  }
2994
- ],
2995
- "gap": "md"
2995
+ ]
2996
2996
  }
2997
2997
  ]
2998
2998
  ]
@@ -3089,8 +3089,8 @@
3089
3089
  "CartItem",
3090
3090
  {
3091
3091
  "emit": {
3092
- "success": "CartItemLoaded",
3093
- "failure": "CartItemLoadFailed"
3092
+ "failure": "CartItemLoadFailed",
3093
+ "success": "CartItemLoaded"
3094
3094
  }
3095
3095
  }
3096
3096
  ]
@@ -3165,10 +3165,10 @@
3165
3165
  "ref": "Stripe.traits.ServiceStripeStripe",
3166
3166
  "name": "CheckoutPayment",
3167
3167
  "config": {
3168
- "uiTrait": "@trait.CheckoutPaymentForm",
3169
- "currency": "usd",
3168
+ "metadata": {},
3170
3169
  "amount": 0.0,
3171
- "metadata": {}
3170
+ "currency": "usd",
3171
+ "uiTrait": "@trait.CheckoutPaymentForm"
3172
3172
  },
3173
3173
  "listens": [
3174
3174
  {
@@ -3223,19 +3223,19 @@
3223
3223
  "render-ui",
3224
3224
  "main",
3225
3225
  {
3226
- "type": "stack",
3227
3226
  "children": [
3228
3227
  {
3229
- "variant": "info",
3230
3228
  "type": "alert",
3231
- "message": "Enter card details to complete your order."
3229
+ "message": "Enter card details to complete your order.",
3230
+ "variant": "info"
3232
3231
  },
3233
3232
  {
3234
- "placeholder": "Card number",
3235
3233
  "type": "input",
3234
+ "placeholder": "Card number",
3236
3235
  "inputType": "text"
3237
3236
  },
3238
3237
  {
3238
+ "gap": "sm",
3239
3239
  "direction": "horizontal",
3240
3240
  "children": [
3241
3241
  {
@@ -3245,22 +3245,22 @@
3245
3245
  },
3246
3246
  {
3247
3247
  "type": "input",
3248
- "placeholder": "CVC",
3249
- "inputType": "text"
3248
+ "inputType": "text",
3249
+ "placeholder": "CVC"
3250
3250
  }
3251
3251
  ],
3252
- "type": "stack",
3253
- "gap": "sm"
3252
+ "type": "stack"
3254
3253
  },
3255
3254
  {
3256
- "icon": "credit-card",
3257
- "label": "Pay now",
3258
3255
  "type": "button",
3259
- "variant": "primary",
3260
- "action": "CREATE_PAYMENT"
3256
+ "action": "CREATE_PAYMENT",
3257
+ "label": "Pay now",
3258
+ "icon": "credit-card",
3259
+ "variant": "primary"
3261
3260
  }
3262
3261
  ],
3263
3262
  "direction": "vertical",
3263
+ "type": "stack",
3264
3264
  "gap": "md"
3265
3265
  }
3266
3266
  ]
@@ -3502,21 +3502,23 @@
3502
3502
  "render-ui",
3503
3503
  "main",
3504
3504
  {
3505
+ "type": "stack",
3506
+ "direction": "vertical",
3505
3507
  "children": [
3506
3508
  {
3509
+ "content": "Checkout",
3507
3510
  "type": "typography",
3508
- "variant": "h2",
3509
- "content": "Checkout"
3511
+ "variant": "h2"
3510
3512
  },
3511
3513
  {
3514
+ "currentStep": 0.0,
3515
+ "type": "wizard-progress",
3512
3516
  "steps": [
3513
3517
  "Customer Info",
3514
3518
  "Shipping",
3515
3519
  "Payment",
3516
3520
  "Review"
3517
- ],
3518
- "type": "wizard-progress",
3519
- "currentStep": 0.0
3521
+ ]
3520
3522
  },
3521
3523
  {
3522
3524
  "type": "divider"
@@ -3527,29 +3529,27 @@
3527
3529
  "content": "Customer Info"
3528
3530
  },
3529
3531
  {
3530
- "type": "form-section",
3532
+ "submitLabel": "Continue",
3531
3533
  "fields": [
3532
3534
  {
3533
- "min": 2.0,
3534
3535
  "name": "customerName",
3535
- "required": true
3536
+ "required": true,
3537
+ "min": 2.0
3536
3538
  },
3537
3539
  {
3540
+ "name": "email",
3538
3541
  "type": "email",
3539
- "required": true,
3540
- "name": "email"
3542
+ "required": true
3541
3543
  }
3542
3544
  ],
3543
- "submitEvent": "NEXT",
3544
3545
  "showCancel": false,
3545
- "submitLabel": "Continue",
3546
+ "submitEvent": "NEXT",
3547
+ "type": "form-section",
3546
3548
  "mode": "create"
3547
3549
  }
3548
3550
  ],
3549
- "direction": "vertical",
3550
- "type": "stack",
3551
- "gap": "lg",
3552
- "className": "max-w-xl mx-auto w-full"
3551
+ "className": "max-w-xl mx-auto w-full",
3552
+ "gap": "lg"
3553
3553
  }
3554
3554
  ]
3555
3555
  ]
@@ -3578,7 +3578,8 @@
3578
3578
  "render-ui",
3579
3579
  "main",
3580
3580
  {
3581
- "direction": "vertical",
3581
+ "gap": "lg",
3582
+ "className": "max-w-xl mx-auto w-full",
3582
3583
  "children": [
3583
3584
  {
3584
3585
  "type": "typography",
@@ -3586,13 +3587,13 @@
3586
3587
  "content": "Checkout"
3587
3588
  },
3588
3589
  {
3590
+ "type": "wizard-progress",
3589
3591
  "steps": [
3590
3592
  "Customer Info",
3591
3593
  "Shipping",
3592
3594
  "Payment",
3593
3595
  "Review"
3594
3596
  ],
3595
- "type": "wizard-progress",
3596
3597
  "currentStep": 1.0
3597
3598
  },
3598
3599
  {
@@ -3604,25 +3605,24 @@
3604
3605
  "type": "typography"
3605
3606
  },
3606
3607
  {
3607
- "mode": "edit",
3608
- "type": "form-section",
3609
- "submitEvent": "NEXT",
3610
- "entity": "@entity",
3611
- "submitLabel": "Continue",
3612
- "cancelLabel": "Back",
3613
- "cancelEvent": "PREV",
3614
3608
  "fields": [
3615
3609
  {
3616
- "required": true,
3617
3610
  "name": "shippingAddress",
3618
- "min": 5.0
3611
+ "min": 5.0,
3612
+ "required": true
3619
3613
  }
3620
- ]
3614
+ ],
3615
+ "submitLabel": "Continue",
3616
+ "mode": "edit",
3617
+ "cancelLabel": "Back",
3618
+ "submitEvent": "NEXT",
3619
+ "type": "form-section",
3620
+ "cancelEvent": "PREV",
3621
+ "entity": "@entity"
3621
3622
  }
3622
3623
  ],
3623
- "gap": "lg",
3624
- "className": "max-w-xl mx-auto w-full",
3625
- "type": "stack"
3624
+ "type": "stack",
3625
+ "direction": "vertical"
3626
3626
  }
3627
3627
  ]
3628
3628
  ]
@@ -3647,15 +3647,13 @@
3647
3647
  "render-ui",
3648
3648
  "main",
3649
3649
  {
3650
- "type": "stack",
3651
3650
  "direction": "vertical",
3652
3651
  "gap": "lg",
3653
- "className": "max-w-xl mx-auto w-full",
3654
3652
  "children": [
3655
3653
  {
3656
- "type": "typography",
3654
+ "content": "Checkout",
3657
3655
  "variant": "h2",
3658
- "content": "Checkout"
3656
+ "type": "typography"
3659
3657
  },
3660
3658
  {
3661
3659
  "type": "wizard-progress",
@@ -3672,26 +3670,28 @@
3672
3670
  },
3673
3671
  {
3674
3672
  "variant": "h3",
3675
- "type": "typography",
3676
- "content": "Payment"
3673
+ "content": "Payment",
3674
+ "type": "typography"
3677
3675
  },
3678
3676
  "@trait.CheckoutPayment",
3679
3677
  {
3678
+ "justify": "start",
3680
3679
  "type": "stack",
3680
+ "direction": "horizontal",
3681
+ "gap": "sm",
3681
3682
  "children": [
3682
3683
  {
3684
+ "variant": "ghost",
3683
3685
  "action": "PREV",
3686
+ "icon": "arrow-left",
3684
3687
  "type": "button",
3685
- "label": "Back",
3686
- "variant": "ghost",
3687
- "icon": "arrow-left"
3688
+ "label": "Back"
3688
3689
  }
3689
- ],
3690
- "justify": "start",
3691
- "gap": "sm",
3692
- "direction": "horizontal"
3690
+ ]
3693
3691
  }
3694
- ]
3692
+ ],
3693
+ "type": "stack",
3694
+ "className": "max-w-xl mx-auto w-full"
3695
3695
  }
3696
3696
  ]
3697
3697
  ]
@@ -3705,55 +3705,55 @@
3705
3705
  "render-ui",
3706
3706
  "main",
3707
3707
  {
3708
+ "type": "stack",
3709
+ "direction": "vertical",
3710
+ "gap": "lg",
3711
+ "className": "max-w-xl mx-auto w-full",
3708
3712
  "children": [
3709
3713
  {
3710
- "type": "typography",
3711
3714
  "content": "Checkout",
3715
+ "type": "typography",
3712
3716
  "variant": "h2"
3713
3717
  },
3714
3718
  {
3715
- "currentStep": 0.0,
3716
- "type": "wizard-progress",
3717
3719
  "steps": [
3718
3720
  "Customer Info",
3719
3721
  "Shipping",
3720
3722
  "Payment",
3721
3723
  "Review"
3722
- ]
3724
+ ],
3725
+ "currentStep": 0.0,
3726
+ "type": "wizard-progress"
3723
3727
  },
3724
3728
  {
3725
3729
  "type": "divider"
3726
3730
  },
3727
3731
  {
3728
- "type": "typography",
3729
3732
  "variant": "h3",
3733
+ "type": "typography",
3730
3734
  "content": "Customer Info"
3731
3735
  },
3732
3736
  {
3737
+ "mode": "edit",
3733
3738
  "fields": [
3734
3739
  {
3735
- "required": true,
3740
+ "name": "customerName",
3736
3741
  "min": 2.0,
3737
- "name": "customerName"
3742
+ "required": true
3738
3743
  },
3739
3744
  {
3740
- "required": true,
3741
3745
  "name": "email",
3742
- "type": "email"
3746
+ "type": "email",
3747
+ "required": true
3743
3748
  }
3744
3749
  ],
3745
- "submitEvent": "NEXT",
3746
- "type": "form-section",
3747
3750
  "submitLabel": "Continue",
3748
- "mode": "edit",
3751
+ "submitEvent": "NEXT",
3749
3752
  "entity": "@entity",
3753
+ "type": "form-section",
3750
3754
  "showCancel": false
3751
3755
  }
3752
- ],
3753
- "direction": "vertical",
3754
- "className": "max-w-xl mx-auto w-full",
3755
- "type": "stack",
3756
- "gap": "lg"
3756
+ ]
3757
3757
  }
3758
3758
  ]
3759
3759
  ]
@@ -3773,43 +3773,42 @@
3773
3773
  "render-ui",
3774
3774
  "main",
3775
3775
  {
3776
- "type": "stack",
3777
3776
  "className": "max-w-xl mx-auto w-full",
3778
- "gap": "lg",
3779
3777
  "direction": "vertical",
3778
+ "type": "stack",
3779
+ "gap": "lg",
3780
3780
  "children": [
3781
3781
  {
3782
- "variant": "h2",
3783
3782
  "type": "typography",
3783
+ "variant": "h2",
3784
3784
  "content": "Review your order"
3785
3785
  },
3786
3786
  {
3787
+ "currentStep": 3.0,
3788
+ "type": "wizard-progress",
3787
3789
  "steps": [
3788
3790
  "Customer Info",
3789
3791
  "Shipping",
3790
3792
  "Payment",
3791
3793
  "Review"
3792
- ],
3793
- "currentStep": 3.0,
3794
- "type": "wizard-progress"
3794
+ ]
3795
3795
  },
3796
3796
  {
3797
3797
  "type": "divider"
3798
3798
  },
3799
3799
  {
3800
- "gap": "sm",
3801
3800
  "type": "stack",
3802
3801
  "children": [
3803
3802
  {
3803
+ "justify": "between",
3804
+ "gap": "md",
3804
3805
  "type": "stack",
3805
3806
  "direction": "horizontal",
3806
- "gap": "md",
3807
- "justify": "between",
3808
3807
  "children": [
3809
3808
  {
3810
- "variant": "caption",
3811
3809
  "content": "Customer",
3812
- "type": "typography"
3810
+ "type": "typography",
3811
+ "variant": "caption"
3813
3812
  },
3814
3813
  {
3815
3814
  "content": "@entity.customerName",
@@ -3819,86 +3818,87 @@
3819
3818
  ]
3820
3819
  },
3821
3820
  {
3821
+ "direction": "horizontal",
3822
+ "gap": "md",
3823
+ "type": "stack",
3822
3824
  "justify": "between",
3823
3825
  "children": [
3824
3826
  {
3827
+ "content": "Email",
3825
3828
  "type": "typography",
3826
- "variant": "caption",
3827
- "content": "Email"
3829
+ "variant": "caption"
3828
3830
  },
3829
3831
  {
3830
3832
  "variant": "body",
3831
- "content": "@entity.email",
3832
- "type": "typography"
3833
+ "type": "typography",
3834
+ "content": "@entity.email"
3833
3835
  }
3834
- ],
3835
- "type": "stack",
3836
- "direction": "horizontal",
3837
- "gap": "md"
3836
+ ]
3838
3837
  },
3839
3838
  {
3839
+ "direction": "horizontal",
3840
+ "gap": "md",
3840
3841
  "type": "stack",
3842
+ "justify": "between",
3841
3843
  "children": [
3842
3844
  {
3845
+ "content": "Shipping",
3843
3846
  "type": "typography",
3844
- "variant": "caption",
3845
- "content": "Shipping"
3847
+ "variant": "caption"
3846
3848
  },
3847
3849
  {
3848
- "variant": "body",
3849
3850
  "content": "@entity.shippingAddress",
3850
- "type": "typography"
3851
+ "type": "typography",
3852
+ "variant": "body"
3851
3853
  }
3852
- ],
3853
- "gap": "md",
3854
- "direction": "horizontal",
3855
- "justify": "between"
3854
+ ]
3856
3855
  },
3857
3856
  {
3857
+ "justify": "between",
3858
+ "type": "stack",
3858
3859
  "children": [
3859
3860
  {
3860
- "type": "typography",
3861
3861
  "variant": "caption",
3862
- "content": "Order total"
3862
+ "content": "Order total",
3863
+ "type": "typography"
3863
3864
  },
3864
3865
  {
3865
- "variant": "body",
3866
3866
  "type": "typography",
3867
- "content": "@entity.orderTotal"
3867
+ "content": "@entity.orderTotal",
3868
+ "variant": "body"
3868
3869
  }
3869
3870
  ],
3870
- "justify": "between",
3871
- "gap": "md",
3872
- "type": "stack",
3873
- "direction": "horizontal"
3871
+ "direction": "horizontal",
3872
+ "gap": "md"
3874
3873
  }
3875
3874
  ],
3875
+ "gap": "sm",
3876
3876
  "direction": "vertical"
3877
3877
  },
3878
3878
  {
3879
3879
  "type": "divider"
3880
3880
  },
3881
3881
  {
3882
+ "type": "stack",
3883
+ "justify": "between",
3882
3884
  "children": [
3883
3885
  {
3886
+ "action": "PREV",
3884
3887
  "variant": "ghost",
3885
- "label": "Back",
3886
- "type": "button",
3887
3888
  "icon": "arrow-left",
3888
- "action": "PREV"
3889
+ "type": "button",
3890
+ "label": "Back"
3889
3891
  },
3890
3892
  {
3893
+ "variant": "primary",
3894
+ "icon": "check",
3891
3895
  "type": "button",
3892
3896
  "label": "Place order",
3893
- "action": "COMPLETE",
3894
- "variant": "primary",
3895
- "icon": "check"
3897
+ "action": "COMPLETE"
3896
3898
  }
3897
3899
  ],
3898
- "direction": "horizontal",
3899
- "type": "stack",
3900
- "justify": "between",
3901
- "gap": "sm"
3900
+ "gap": "sm",
3901
+ "direction": "horizontal"
3902
3902
  }
3903
3903
  ]
3904
3904
  }
@@ -3914,24 +3914,25 @@
3914
3914
  "render-ui",
3915
3915
  "main",
3916
3916
  {
3917
- "type": "stack",
3918
3917
  "direction": "vertical",
3919
3918
  "className": "max-w-xl mx-auto w-full",
3919
+ "type": "stack",
3920
+ "gap": "lg",
3920
3921
  "children": [
3921
3922
  {
3923
+ "content": "Checkout",
3922
3924
  "type": "typography",
3923
- "variant": "h2",
3924
- "content": "Checkout"
3925
+ "variant": "h2"
3925
3926
  },
3926
3927
  {
3927
3928
  "currentStep": 1.0,
3928
- "type": "wizard-progress",
3929
3929
  "steps": [
3930
3930
  "Customer Info",
3931
3931
  "Shipping",
3932
3932
  "Payment",
3933
3933
  "Review"
3934
- ]
3934
+ ],
3935
+ "type": "wizard-progress"
3935
3936
  },
3936
3937
  {
3937
3938
  "type": "divider"
@@ -3942,23 +3943,22 @@
3942
3943
  "content": "Shipping Address"
3943
3944
  },
3944
3945
  {
3945
- "cancelLabel": "Back",
3946
- "cancelEvent": "PREV",
3946
+ "submitEvent": "NEXT",
3947
3947
  "submitLabel": "Continue",
3948
+ "cancelLabel": "Back",
3948
3949
  "type": "form-section",
3950
+ "mode": "edit",
3951
+ "entity": "@entity",
3949
3952
  "fields": [
3950
3953
  {
3954
+ "required": true,
3951
3955
  "min": 5.0,
3952
- "name": "shippingAddress",
3953
- "required": true
3956
+ "name": "shippingAddress"
3954
3957
  }
3955
3958
  ],
3956
- "submitEvent": "NEXT",
3957
- "entity": "@entity",
3958
- "mode": "edit"
3959
+ "cancelEvent": "PREV"
3959
3960
  }
3960
- ],
3961
- "gap": "lg"
3961
+ ]
3962
3962
  }
3963
3963
  ]
3964
3964
  ]
@@ -3986,8 +3986,8 @@
3986
3986
  "@entity",
3987
3987
  {
3988
3988
  "emit": {
3989
- "success": "CheckoutSaved",
3990
- "failure": "CheckoutSaveFailed"
3989
+ "failure": "CheckoutSaveFailed",
3990
+ "success": "CheckoutSaved"
3991
3991
  }
3992
3992
  }
3993
3993
  ],
@@ -4007,18 +4007,19 @@
4007
4007
  "render-ui",
4008
4008
  "main",
4009
4009
  {
4010
+ "gap": "lg",
4010
4011
  "type": "stack",
4011
- "direction": "vertical",
4012
4012
  "className": "max-w-xl mx-auto w-full py-12",
4013
+ "align": "center",
4013
4014
  "children": [
4014
4015
  {
4015
4016
  "name": "check-circle",
4016
4017
  "type": "icon"
4017
4018
  },
4018
4019
  {
4020
+ "type": "typography",
4019
4021
  "variant": "h2",
4020
- "content": "Order placed",
4021
- "type": "typography"
4022
+ "content": "Order placed"
4022
4023
  },
4023
4024
  {
4024
4025
  "type": "typography",
@@ -4027,15 +4028,14 @@
4027
4028
  "variant": "body"
4028
4029
  },
4029
4030
  {
4030
- "icon": "rotate-ccw",
4031
- "variant": "ghost",
4032
- "action": "RESTART",
4033
4031
  "type": "button",
4032
+ "action": "RESTART",
4033
+ "variant": "ghost",
4034
+ "icon": "rotate-ccw",
4034
4035
  "label": "Start new order"
4035
4036
  }
4036
4037
  ],
4037
- "align": "center",
4038
- "gap": "lg"
4038
+ "direction": "vertical"
4039
4039
  }
4040
4040
  ]
4041
4041
  ]
@@ -4049,51 +4049,51 @@
4049
4049
  "render-ui",
4050
4050
  "main",
4051
4051
  {
4052
- "gap": "lg",
4052
+ "type": "stack",
4053
4053
  "children": [
4054
4054
  {
4055
+ "content": "Checkout",
4055
4056
  "variant": "h2",
4056
- "type": "typography",
4057
- "content": "Checkout"
4057
+ "type": "typography"
4058
4058
  },
4059
4059
  {
4060
+ "currentStep": 2.0,
4061
+ "type": "wizard-progress",
4060
4062
  "steps": [
4061
4063
  "Customer Info",
4062
4064
  "Shipping",
4063
4065
  "Payment",
4064
4066
  "Review"
4065
- ],
4066
- "type": "wizard-progress",
4067
- "currentStep": 2.0
4067
+ ]
4068
4068
  },
4069
4069
  {
4070
4070
  "type": "divider"
4071
4071
  },
4072
4072
  {
4073
- "content": "Payment",
4074
4073
  "variant": "h3",
4074
+ "content": "Payment",
4075
4075
  "type": "typography"
4076
4076
  },
4077
4077
  "@trait.CheckoutPayment",
4078
4078
  {
4079
- "gap": "sm",
4080
4079
  "direction": "horizontal",
4081
- "type": "stack",
4082
4080
  "justify": "start",
4083
4081
  "children": [
4084
4082
  {
4085
- "variant": "ghost",
4086
- "type": "button",
4087
- "icon": "arrow-left",
4088
4083
  "action": "PREV",
4084
+ "icon": "arrow-left",
4085
+ "type": "button",
4086
+ "variant": "ghost",
4089
4087
  "label": "Back"
4090
4088
  }
4091
- ]
4089
+ ],
4090
+ "type": "stack",
4091
+ "gap": "sm"
4092
4092
  }
4093
4093
  ],
4094
4094
  "direction": "vertical",
4095
- "type": "stack",
4096
- "className": "max-w-xl mx-auto w-full"
4095
+ "className": "max-w-xl mx-auto w-full",
4096
+ "gap": "lg"
4097
4097
  }
4098
4098
  ]
4099
4099
  ]
@@ -4132,54 +4132,54 @@
4132
4132
  "render-ui",
4133
4133
  "main",
4134
4134
  {
4135
+ "direction": "vertical",
4135
4136
  "gap": "lg",
4136
- "className": "max-w-xl mx-auto w-full",
4137
4137
  "type": "stack",
4138
4138
  "children": [
4139
4139
  {
4140
- "content": "Checkout",
4141
4140
  "type": "typography",
4142
- "variant": "h2"
4141
+ "variant": "h2",
4142
+ "content": "Checkout"
4143
4143
  },
4144
4144
  {
4145
4145
  "type": "wizard-progress",
4146
+ "currentStep": 0.0,
4146
4147
  "steps": [
4147
4148
  "Customer Info",
4148
4149
  "Shipping",
4149
4150
  "Payment",
4150
4151
  "Review"
4151
- ],
4152
- "currentStep": 0.0
4152
+ ]
4153
4153
  },
4154
4154
  {
4155
4155
  "type": "divider"
4156
4156
  },
4157
4157
  {
4158
- "content": "Customer Info",
4158
+ "type": "typography",
4159
4159
  "variant": "h3",
4160
- "type": "typography"
4160
+ "content": "Customer Info"
4161
4161
  },
4162
4162
  {
4163
- "showCancel": false,
4163
+ "mode": "create",
4164
4164
  "type": "form-section",
4165
+ "showCancel": false,
4166
+ "submitEvent": "NEXT",
4165
4167
  "fields": [
4166
4168
  {
4167
- "name": "customerName",
4169
+ "min": 2.0,
4168
4170
  "required": true,
4169
- "min": 2.0
4171
+ "name": "customerName"
4170
4172
  },
4171
4173
  {
4172
- "name": "email",
4173
4174
  "type": "email",
4175
+ "name": "email",
4174
4176
  "required": true
4175
4177
  }
4176
4178
  ],
4177
- "submitEvent": "NEXT",
4178
- "mode": "create",
4179
4179
  "submitLabel": "Continue"
4180
4180
  }
4181
4181
  ],
4182
- "direction": "vertical"
4182
+ "className": "max-w-xl mx-auto w-full"
4183
4183
  }
4184
4184
  ]
4185
4185
  ]
@@ -4539,18 +4539,18 @@
4539
4539
  "render-ui",
4540
4540
  "main",
4541
4541
  {
4542
- "className": "py-12",
4542
+ "type": "stack",
4543
4543
  "gap": "md",
4544
4544
  "direction": "vertical",
4545
- "type": "stack",
4546
4545
  "align": "center",
4546
+ "className": "py-12",
4547
4547
  "children": [
4548
4548
  {
4549
4549
  "type": "spinner"
4550
4550
  },
4551
4551
  {
4552
- "color": "muted",
4553
4552
  "type": "typography",
4553
+ "color": "muted",
4554
4554
  "content": "Loading…",
4555
4555
  "variant": "caption"
4556
4556
  }
@@ -4568,45 +4568,22 @@
4568
4568
  "render-ui",
4569
4569
  "main",
4570
4570
  {
4571
- "navItems": [
4572
- {
4573
- "icon": "package",
4574
- "label": "Products",
4575
- "href": "/products"
4576
- },
4577
- {
4578
- "label": "Cart",
4579
- "href": "/cart",
4580
- "icon": "shopping-cart"
4581
- },
4582
- {
4583
- "href": "/checkout",
4584
- "icon": "credit-card",
4585
- "label": "Checkout"
4586
- },
4587
- {
4588
- "label": "Orders",
4589
- "icon": "clipboard-list",
4590
- "href": "/orders"
4591
- }
4592
- ],
4593
- "type": "dashboard-layout",
4594
- "appName": "EcommerceApp",
4595
4571
  "children": [
4596
4572
  {
4597
- "gap": "lg",
4573
+ "className": "max-w-5xl mx-auto w-full",
4598
4574
  "direction": "vertical",
4599
4575
  "type": "stack",
4600
- "className": "max-w-5xl mx-auto w-full",
4576
+ "gap": "lg",
4601
4577
  "children": [
4602
4578
  {
4579
+ "direction": "horizontal",
4580
+ "gap": "md",
4581
+ "align": "center",
4582
+ "justify": "between",
4603
4583
  "type": "stack",
4604
4584
  "children": [
4605
4585
  {
4606
- "gap": "sm",
4607
4586
  "direction": "horizontal",
4608
- "align": "center",
4609
- "type": "stack",
4610
4587
  "children": [
4611
4588
  {
4612
4589
  "type": "icon",
@@ -4617,27 +4594,26 @@
4617
4594
  "variant": "h2",
4618
4595
  "type": "typography"
4619
4596
  }
4620
- ]
4597
+ ],
4598
+ "align": "center",
4599
+ "gap": "sm",
4600
+ "type": "stack"
4621
4601
  },
4622
4602
  {
4603
+ "direction": "horizontal",
4623
4604
  "type": "stack",
4624
- "gap": "sm",
4625
4605
  "children": [
4626
4606
  {
4627
- "type": "button",
4628
4607
  "action": "CREATE",
4629
4608
  "variant": "primary",
4630
4609
  "label": "Create OrderRecord",
4631
- "icon": "plus"
4610
+ "icon": "plus",
4611
+ "type": "button"
4632
4612
  }
4633
4613
  ],
4634
- "direction": "horizontal"
4614
+ "gap": "sm"
4635
4615
  }
4636
- ],
4637
- "direction": "horizontal",
4638
- "justify": "between",
4639
- "gap": "md",
4640
- "align": "center"
4616
+ ]
4641
4617
  },
4642
4618
  {
4643
4619
  "type": "divider"
@@ -4645,9 +4621,9 @@
4645
4621
  {
4646
4622
  "itemActions": [
4647
4623
  {
4624
+ "variant": "ghost",
4648
4625
  "label": "View",
4649
- "event": "VIEW",
4650
- "variant": "ghost"
4626
+ "event": "VIEW"
4651
4627
  },
4652
4628
  {
4653
4629
  "event": "EDIT",
@@ -4655,18 +4631,17 @@
4655
4631
  "label": "Edit"
4656
4632
  },
4657
4633
  {
4658
- "label": "Delete",
4659
4634
  "event": "DELETE",
4660
- "variant": "danger"
4635
+ "variant": "danger",
4636
+ "label": "Delete"
4661
4637
  }
4662
4638
  ],
4663
- "type": "data-list",
4664
4639
  "entity": "@payload.data",
4665
- "gap": "sm",
4640
+ "type": "data-list",
4666
4641
  "fields": [
4667
4642
  {
4668
- "name": "customerName",
4669
4643
  "variant": "h3",
4644
+ "name": "customerName",
4670
4645
  "icon": "clipboard-list",
4671
4646
  "label": "Customer"
4672
4647
  },
@@ -4675,25 +4650,50 @@
4675
4650
  "variant": "badge"
4676
4651
  },
4677
4652
  {
4653
+ "label": "Total",
4678
4654
  "variant": "h4",
4679
4655
  "format": "currency",
4680
- "name": "orderTotal",
4681
- "label": "Total"
4656
+ "name": "orderTotal"
4682
4657
  },
4683
4658
  {
4684
4659
  "name": "email",
4685
4660
  "variant": "caption"
4686
4661
  },
4687
4662
  {
4663
+ "name": "shippingAddress",
4688
4664
  "label": "Address",
4689
- "variant": "caption",
4690
- "name": "shippingAddress"
4665
+ "variant": "caption"
4691
4666
  }
4692
4667
  ],
4693
- "variant": "card"
4668
+ "variant": "card",
4669
+ "gap": "sm"
4694
4670
  }
4695
4671
  ]
4696
4672
  }
4673
+ ],
4674
+ "appName": "EcommerceApp",
4675
+ "type": "dashboard-layout",
4676
+ "navItems": [
4677
+ {
4678
+ "label": "Products",
4679
+ "href": "/products",
4680
+ "icon": "package"
4681
+ },
4682
+ {
4683
+ "icon": "shopping-cart",
4684
+ "label": "Cart",
4685
+ "href": "/cart"
4686
+ },
4687
+ {
4688
+ "icon": "credit-card",
4689
+ "label": "Checkout",
4690
+ "href": "/checkout"
4691
+ },
4692
+ {
4693
+ "href": "/orders",
4694
+ "label": "Orders",
4695
+ "icon": "clipboard-list"
4696
+ }
4697
4697
  ]
4698
4698
  }
4699
4699
  ]
@@ -4709,35 +4709,35 @@
4709
4709
  "main",
4710
4710
  {
4711
4711
  "gap": "md",
4712
- "className": "py-12",
4713
4712
  "type": "stack",
4714
- "direction": "vertical",
4713
+ "align": "center",
4714
+ "className": "py-12",
4715
4715
  "children": [
4716
4716
  {
4717
- "name": "alert-triangle",
4718
4717
  "color": "destructive",
4719
- "type": "icon"
4718
+ "type": "icon",
4719
+ "name": "alert-triangle"
4720
4720
  },
4721
4721
  {
4722
- "variant": "h3",
4723
4722
  "content": "Failed to load orderrecord",
4724
- "type": "typography"
4723
+ "type": "typography",
4724
+ "variant": "h3"
4725
4725
  },
4726
4726
  {
4727
- "color": "muted",
4727
+ "content": "@payload.error",
4728
4728
  "variant": "body",
4729
4729
  "type": "typography",
4730
- "content": "@payload.error"
4730
+ "color": "muted"
4731
4731
  },
4732
4732
  {
4733
+ "type": "button",
4733
4734
  "action": "INIT",
4735
+ "label": "Retry",
4734
4736
  "variant": "primary",
4735
- "icon": "rotate-ccw",
4736
- "type": "button",
4737
- "label": "Retry"
4737
+ "icon": "rotate-ccw"
4738
4738
  }
4739
4739
  ],
4740
- "align": "center"
4740
+ "direction": "vertical"
4741
4741
  }
4742
4742
  ]
4743
4743
  ]
@@ -4912,8 +4912,8 @@
4912
4912
  "OrderRecord",
4913
4913
  {
4914
4914
  "emit": {
4915
- "failure": "OrderRecordLoadFailed",
4916
- "success": "OrderRecordLoaded"
4915
+ "success": "OrderRecordLoaded",
4916
+ "failure": "OrderRecordLoadFailed"
4917
4917
  }
4918
4918
  }
4919
4919
  ]
@@ -4939,10 +4939,10 @@
4939
4939
  "modal",
4940
4940
  {
4941
4941
  "direction": "vertical",
4942
- "type": "stack",
4943
4942
  "children": [
4944
4943
  {
4945
4944
  "gap": "sm",
4945
+ "type": "stack",
4946
4946
  "direction": "horizontal",
4947
4947
  "children": [
4948
4948
  {
@@ -4950,17 +4950,19 @@
4950
4950
  "name": "plus-circle"
4951
4951
  },
4952
4952
  {
4953
- "type": "typography",
4954
4953
  "variant": "h3",
4954
+ "type": "typography",
4955
4955
  "content": "Create OrderRecord"
4956
4956
  }
4957
- ],
4958
- "type": "stack"
4957
+ ]
4959
4958
  },
4960
4959
  {
4961
4960
  "type": "divider"
4962
4961
  },
4963
4962
  {
4963
+ "mode": "create",
4964
+ "type": "form-section",
4965
+ "submitEvent": "SAVE",
4964
4966
  "fields": [
4965
4967
  "customerName",
4966
4968
  "email",
@@ -4969,12 +4971,10 @@
4969
4971
  "orderTotal",
4970
4972
  "status"
4971
4973
  ],
4972
- "type": "form-section",
4973
- "submitEvent": "SAVE",
4974
- "mode": "create",
4975
4974
  "cancelEvent": "CLOSE"
4976
4975
  }
4977
4976
  ],
4977
+ "type": "stack",
4978
4978
  "gap": "md"
4979
4979
  }
4980
4980
  ]
@@ -5016,8 +5016,8 @@
5016
5016
  "@payload.data",
5017
5017
  {
5018
5018
  "emit": {
5019
- "failure": "OrderRecordSaveFailed",
5020
- "success": "OrderRecordSaved"
5019
+ "success": "OrderRecordSaved",
5020
+ "failure": "OrderRecordSaveFailed"
5021
5021
  }
5022
5022
  }
5023
5023
  ],
@@ -5227,8 +5227,8 @@
5227
5227
  "OrderRecord",
5228
5228
  {
5229
5229
  "emit": {
5230
- "failure": "OrderRecordLoadFailed",
5231
- "success": "OrderRecordLoaded"
5230
+ "success": "OrderRecordLoaded",
5231
+ "failure": "OrderRecordLoadFailed"
5232
5232
  }
5233
5233
  }
5234
5234
  ]
@@ -5243,34 +5243,31 @@
5243
5243
  "fetch",
5244
5244
  "OrderRecord",
5245
5245
  {
5246
+ "id": "@payload.id",
5246
5247
  "emit": {
5247
- "failure": "OrderRecordLoadFailed",
5248
- "success": "OrderRecordLoaded"
5249
- },
5250
- "id": "@payload.id"
5248
+ "success": "OrderRecordLoaded",
5249
+ "failure": "OrderRecordLoadFailed"
5250
+ }
5251
5251
  }
5252
5252
  ],
5253
5253
  [
5254
5254
  "render-ui",
5255
5255
  "modal",
5256
5256
  {
5257
- "gap": "md",
5258
- "direction": "vertical",
5259
- "type": "stack",
5260
5257
  "children": [
5261
5258
  {
5262
- "type": "stack",
5263
- "gap": "sm",
5264
5259
  "direction": "horizontal",
5260
+ "gap": "sm",
5261
+ "type": "stack",
5265
5262
  "children": [
5266
5263
  {
5267
5264
  "type": "icon",
5268
5265
  "name": "edit"
5269
5266
  },
5270
5267
  {
5271
- "content": "Edit OrderRecord",
5268
+ "variant": "h3",
5272
5269
  "type": "typography",
5273
- "variant": "h3"
5270
+ "content": "Edit OrderRecord"
5274
5271
  }
5275
5272
  ]
5276
5273
  },
@@ -5278,10 +5275,7 @@
5278
5275
  "type": "divider"
5279
5276
  },
5280
5277
  {
5281
- "mode": "edit",
5282
- "submitEvent": "SAVE",
5283
5278
  "entity": "@payload.row",
5284
- "type": "form-section",
5285
5279
  "cancelEvent": "CLOSE",
5286
5280
  "fields": [
5287
5281
  "customerName",
@@ -5290,9 +5284,15 @@
5290
5284
  "paymentMethod",
5291
5285
  "orderTotal",
5292
5286
  "status"
5293
- ]
5287
+ ],
5288
+ "submitEvent": "SAVE",
5289
+ "mode": "edit",
5290
+ "type": "form-section"
5294
5291
  }
5295
- ]
5292
+ ],
5293
+ "type": "stack",
5294
+ "direction": "vertical",
5295
+ "gap": "md"
5296
5296
  }
5297
5297
  ]
5298
5298
  ]
@@ -5333,8 +5333,8 @@
5333
5333
  "@payload.data",
5334
5334
  {
5335
5335
  "emit": {
5336
- "success": "OrderRecordUpdated",
5337
- "failure": "OrderRecordUpdateFailed"
5336
+ "failure": "OrderRecordUpdateFailed",
5337
+ "success": "OrderRecordUpdated"
5338
5338
  }
5339
5339
  }
5340
5340
  ],
@@ -5530,24 +5530,20 @@
5530
5530
  "fetch",
5531
5531
  "OrderRecord",
5532
5532
  {
5533
+ "id": "@payload.id",
5533
5534
  "emit": {
5534
5535
  "failure": "OrderRecordLoadFailed",
5535
5536
  "success": "OrderRecordLoaded"
5536
- },
5537
- "id": "@payload.id"
5537
+ }
5538
5538
  }
5539
5539
  ],
5540
5540
  [
5541
5541
  "render-ui",
5542
5542
  "modal",
5543
5543
  {
5544
- "direction": "vertical",
5544
+ "gap": "md",
5545
5545
  "children": [
5546
5546
  {
5547
- "type": "stack",
5548
- "align": "center",
5549
- "gap": "sm",
5550
- "direction": "horizontal",
5551
5547
  "children": [
5552
5548
  {
5553
5549
  "type": "icon",
@@ -5558,17 +5554,23 @@
5558
5554
  "variant": "h3",
5559
5555
  "content": "@entity.customerName"
5560
5556
  }
5561
- ]
5557
+ ],
5558
+ "type": "stack",
5559
+ "gap": "sm",
5560
+ "align": "center",
5561
+ "direction": "horizontal"
5562
5562
  },
5563
5563
  {
5564
5564
  "type": "divider"
5565
5565
  },
5566
5566
  {
5567
5567
  "direction": "horizontal",
5568
+ "type": "stack",
5569
+ "gap": "md",
5568
5570
  "children": [
5569
5571
  {
5570
- "variant": "caption",
5571
5572
  "type": "typography",
5573
+ "variant": "caption",
5572
5574
  "content": "Customer Name"
5573
5575
  },
5574
5576
  {
@@ -5576,35 +5578,31 @@
5576
5578
  "type": "typography",
5577
5579
  "content": "@entity.customerName"
5578
5580
  }
5579
- ],
5580
- "gap": "md",
5581
- "type": "stack"
5581
+ ]
5582
5582
  },
5583
5583
  {
5584
- "gap": "md",
5585
- "direction": "horizontal",
5586
5584
  "type": "stack",
5587
5585
  "children": [
5588
5586
  {
5589
- "content": "Email",
5590
5587
  "type": "typography",
5588
+ "content": "Email",
5591
5589
  "variant": "caption"
5592
5590
  },
5593
5591
  {
5594
- "variant": "body",
5595
5592
  "content": "@entity.email",
5593
+ "variant": "body",
5596
5594
  "type": "typography"
5597
5595
  }
5598
- ]
5596
+ ],
5597
+ "direction": "horizontal",
5598
+ "gap": "md"
5599
5599
  },
5600
5600
  {
5601
- "type": "stack",
5602
- "gap": "md",
5603
5601
  "children": [
5604
5602
  {
5603
+ "content": "Shipping Address",
5605
5604
  "type": "typography",
5606
- "variant": "caption",
5607
- "content": "Shipping Address"
5605
+ "variant": "caption"
5608
5606
  },
5609
5607
  {
5610
5608
  "variant": "body",
@@ -5612,86 +5610,88 @@
5612
5610
  "type": "typography"
5613
5611
  }
5614
5612
  ],
5615
- "direction": "horizontal"
5613
+ "type": "stack",
5614
+ "direction": "horizontal",
5615
+ "gap": "md"
5616
5616
  },
5617
5617
  {
5618
- "direction": "horizontal",
5619
5618
  "gap": "md",
5619
+ "direction": "horizontal",
5620
+ "type": "stack",
5620
5621
  "children": [
5621
5622
  {
5623
+ "type": "typography",
5622
5624
  "variant": "caption",
5623
- "content": "Payment Method",
5624
- "type": "typography"
5625
+ "content": "Payment Method"
5625
5626
  },
5626
5627
  {
5627
- "content": "@entity.paymentMethod",
5628
+ "type": "typography",
5628
5629
  "variant": "body",
5629
- "type": "typography"
5630
+ "content": "@entity.paymentMethod"
5630
5631
  }
5631
- ],
5632
- "type": "stack"
5632
+ ]
5633
5633
  },
5634
5634
  {
5635
5635
  "direction": "horizontal",
5636
- "gap": "md",
5636
+ "type": "stack",
5637
5637
  "children": [
5638
5638
  {
5639
5639
  "variant": "caption",
5640
- "type": "typography",
5641
- "content": "Order Total"
5640
+ "content": "Order Total",
5641
+ "type": "typography"
5642
5642
  },
5643
5643
  {
5644
- "type": "typography",
5644
+ "variant": "body",
5645
5645
  "content": "@entity.orderTotal",
5646
- "variant": "body"
5646
+ "type": "typography"
5647
5647
  }
5648
5648
  ],
5649
- "type": "stack"
5649
+ "gap": "md"
5650
5650
  },
5651
5651
  {
5652
5652
  "direction": "horizontal",
5653
- "type": "stack",
5654
5653
  "gap": "md",
5655
5654
  "children": [
5656
5655
  {
5657
- "content": "Status",
5656
+ "type": "typography",
5658
5657
  "variant": "caption",
5659
- "type": "typography"
5658
+ "content": "Status"
5660
5659
  },
5661
5660
  {
5662
- "variant": "body",
5663
5661
  "type": "typography",
5662
+ "variant": "body",
5664
5663
  "content": "@entity.status"
5665
5664
  }
5666
- ]
5665
+ ],
5666
+ "type": "stack"
5667
5667
  },
5668
5668
  {
5669
5669
  "type": "divider"
5670
5670
  },
5671
5671
  {
5672
5672
  "justify": "end",
5673
- "type": "stack",
5674
5673
  "gap": "sm",
5674
+ "direction": "horizontal",
5675
+ "type": "stack",
5675
5676
  "children": [
5676
5677
  {
5677
5678
  "type": "button",
5679
+ "action": "EDIT",
5678
5680
  "variant": "primary",
5679
- "label": "Edit",
5680
5681
  "icon": "edit",
5681
- "action": "EDIT"
5682
+ "label": "Edit"
5682
5683
  },
5683
5684
  {
5684
- "variant": "ghost",
5685
5685
  "action": "CLOSE",
5686
5686
  "type": "button",
5687
- "label": "Close"
5687
+ "label": "Close",
5688
+ "variant": "ghost"
5688
5689
  }
5689
- ],
5690
- "direction": "horizontal"
5690
+ ]
5691
5691
  }
5692
5692
  ],
5693
- "type": "stack",
5694
- "gap": "md"
5693
+ "direction": "vertical",
5694
+ "type": "stack"
5695
5695
  }
5696
5696
  ]
5697
5697
  ]
@@ -5934,68 +5934,68 @@
5934
5934
  "fetch",
5935
5935
  "OrderRecord",
5936
5936
  {
5937
+ "id": "@payload.id",
5937
5938
  "emit": {
5938
5939
  "success": "OrderRecordLoaded",
5939
5940
  "failure": "OrderRecordLoadFailed"
5940
- },
5941
- "id": "@payload.id"
5941
+ }
5942
5942
  }
5943
5943
  ],
5944
5944
  [
5945
5945
  "render-ui",
5946
5946
  "modal",
5947
5947
  {
5948
- "type": "stack",
5949
- "direction": "vertical",
5950
5948
  "children": [
5951
5949
  {
5952
- "align": "center",
5953
5950
  "type": "stack",
5951
+ "direction": "horizontal",
5952
+ "align": "center",
5953
+ "gap": "sm",
5954
5954
  "children": [
5955
5955
  {
5956
5956
  "name": "alert-triangle",
5957
5957
  "type": "icon"
5958
5958
  },
5959
5959
  {
5960
- "variant": "h3",
5961
5960
  "content": "Delete OrderRecord",
5961
+ "variant": "h3",
5962
5962
  "type": "typography"
5963
5963
  }
5964
- ],
5965
- "gap": "sm",
5966
- "direction": "horizontal"
5964
+ ]
5967
5965
  },
5968
5966
  {
5969
5967
  "type": "divider"
5970
5968
  },
5971
5969
  {
5972
- "type": "alert",
5973
5970
  "message": "This action cannot be undone.",
5974
- "variant": "error"
5971
+ "variant": "error",
5972
+ "type": "alert"
5975
5973
  },
5976
5974
  {
5977
5975
  "type": "stack",
5976
+ "direction": "horizontal",
5978
5977
  "gap": "sm",
5979
5978
  "justify": "end",
5980
5979
  "children": [
5981
5980
  {
5982
- "variant": "ghost",
5981
+ "label": "Cancel",
5983
5982
  "action": "CANCEL",
5984
- "type": "button",
5985
- "label": "Cancel"
5983
+ "variant": "ghost",
5984
+ "type": "button"
5986
5985
  },
5987
5986
  {
5988
- "action": "CONFIRM_DELETE",
5989
5987
  "type": "button",
5990
5988
  "label": "Delete",
5991
5989
  "variant": "danger",
5990
+ "action": "CONFIRM_DELETE",
5992
5991
  "icon": "check"
5993
5992
  }
5994
- ],
5995
- "direction": "horizontal"
5993
+ ]
5996
5994
  }
5997
5995
  ],
5998
- "gap": "md"
5996
+ "gap": "md",
5997
+ "type": "stack",
5998
+ "direction": "vertical"
5999
5999
  }
6000
6000
  ]
6001
6001
  ]
@@ -6034,8 +6034,8 @@
6034
6034
  "OrderRecord",
6035
6035
  {
6036
6036
  "emit": {
6037
- "failure": "OrderRecordLoadFailed",
6038
- "success": "OrderRecordLoaded"
6037
+ "success": "OrderRecordLoaded",
6038
+ "failure": "OrderRecordLoadFailed"
6039
6039
  }
6040
6040
  }
6041
6041
  ],
@@ -6067,8 +6067,8 @@
6067
6067
  "OrderRecord",
6068
6068
  {
6069
6069
  "emit": {
6070
- "failure": "OrderRecordLoadFailed",
6071
- "success": "OrderRecordLoaded"
6070
+ "success": "OrderRecordLoaded",
6071
+ "failure": "OrderRecordLoadFailed"
6072
6072
  }
6073
6073
  }
6074
6074
  ]
@@ -6096,8 +6096,8 @@
6096
6096
  "OrderRecord",
6097
6097
  {
6098
6098
  "emit": {
6099
- "failure": "OrderRecordLoadFailed",
6100
- "success": "OrderRecordLoaded"
6099
+ "success": "OrderRecordLoaded",
6100
+ "failure": "OrderRecordLoadFailed"
6101
6101
  }
6102
6102
  }
6103
6103
  ]