@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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-checkout-terminal",
3
3
  "version": "1.0.0",
4
- "description": "std-checkout-terminal — retail POS checkout terminal. Owns a CheckoutSession entity (one row per active register session) and a single terminal trait that loads open sessions, renders cart + total + status in a data-grid, and supports tender / void session actions.",
4
+ "description": "std-checkout-terminal — retail POS checkout terminal sessions. Lists open sessions in `browsing`; opens a read-only session detail view (terminal, cashier, status, totals, payment method) in `viewing_single`. Tender / Void / Open are the only interactions; post-action transitions re-fetch the list.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "CheckoutSessionOrbital",
@@ -90,6 +90,69 @@
90
90
  "category": "interaction",
91
91
  "linkedEntity": "CheckoutSession",
92
92
  "emits": [
93
+ {
94
+ "event": "OPEN_TERMINAL",
95
+ "payloadSchema": [
96
+ {
97
+ "name": "id",
98
+ "type": "string",
99
+ "required": true
100
+ },
101
+ {
102
+ "name": "row.id",
103
+ "type": "string",
104
+ "required": true
105
+ },
106
+ {
107
+ "name": "row.terminalId",
108
+ "type": "string",
109
+ "required": true
110
+ },
111
+ {
112
+ "name": "row.cashierId",
113
+ "type": "string"
114
+ },
115
+ {
116
+ "name": "row.cashierName",
117
+ "type": "string"
118
+ },
119
+ {
120
+ "name": "row.cartItemsJson",
121
+ "type": "string"
122
+ },
123
+ {
124
+ "name": "row.subtotal",
125
+ "type": "number"
126
+ },
127
+ {
128
+ "name": "row.tax",
129
+ "type": "number"
130
+ },
131
+ {
132
+ "name": "row.total",
133
+ "type": "number"
134
+ },
135
+ {
136
+ "name": "row.paymentMethod",
137
+ "type": "string"
138
+ },
139
+ {
140
+ "name": "row.status",
141
+ "type": "string"
142
+ },
143
+ {
144
+ "name": "row.openedAt",
145
+ "type": "string"
146
+ },
147
+ {
148
+ "name": "row.completedAt",
149
+ "type": "string"
150
+ }
151
+ ]
152
+ },
153
+ {
154
+ "event": "CLOSE_TERMINAL"
155
+ },
93
156
  {
94
157
  "event": "TENDER_PAYMENT",
95
158
  "payloadSchema": [
@@ -142,6 +205,9 @@
142
205
  {
143
206
  "name": "browsing"
144
207
  },
208
+ {
209
+ "name": "viewing_single"
210
+ },
145
211
  {
146
212
  "name": "error"
147
213
  }
@@ -176,13 +242,17 @@
176
242
  ]
177
243
  },
178
244
  {
179
- "key": "TENDER_PAYMENT",
180
- "name": "Tender Payment",
245
+ "key": "OPEN_TERMINAL",
246
+ "name": "Open Terminal",
181
247
  "payloadSchema": [
182
248
  {
183
249
  "name": "id",
184
250
  "type": "string",
185
251
  "required": true
252
+ },
253
+ {
254
+ "name": "row",
255
+ "type": "CheckoutSession"
186
256
  }
187
257
  ]
188
258
  },
@@ -196,6 +266,21 @@
196
266
  "required": true
197
267
  }
198
268
  ]
269
+ },
270
+ {
271
+ "key": "CLOSE_TERMINAL",
272
+ "name": "Close Terminal"
273
+ },
274
+ {
275
+ "key": "TENDER_PAYMENT",
276
+ "name": "Tender Payment",
277
+ "payloadSchema": [
278
+ {
279
+ "name": "id",
280
+ "type": "string",
281
+ "required": true
282
+ }
283
+ ]
199
284
  }
200
285
  ],
201
286
  "transitions": [
@@ -209,8 +294,8 @@
209
294
  "CheckoutSession",
210
295
  {
211
296
  "emit": {
212
- "failure": "CheckoutSessionLoadFailed",
213
- "success": "CheckoutSessionLoaded"
297
+ "success": "CheckoutSessionLoaded",
298
+ "failure": "CheckoutSessionLoadFailed"
214
299
  }
215
300
  }
216
301
  ],
@@ -218,23 +303,23 @@
218
303
  "render-ui",
219
304
  "main",
220
305
  {
221
- "direction": "vertical",
222
- "gap": "md",
223
- "type": "stack",
224
306
  "children": [
225
307
  {
226
- "type": "spinner",
227
- "size": "md"
308
+ "size": "md",
309
+ "type": "spinner"
228
310
  },
229
311
  {
230
- "content": "Loading terminals…",
231
312
  "variant": "caption",
313
+ "content": "Loading terminals…",
232
314
  "color": "muted",
233
315
  "type": "typography"
234
316
  }
235
317
  ],
318
+ "className": "py-12",
319
+ "type": "stack",
236
320
  "align": "center",
237
- "className": "py-12"
321
+ "direction": "vertical",
322
+ "gap": "md"
238
323
  }
239
324
  ]
240
325
  ]
@@ -248,98 +333,403 @@
248
333
  "render-ui",
249
334
  "main",
250
335
  {
336
+ "type": "stack",
337
+ "direction": "vertical",
251
338
  "gap": "md",
252
339
  "children": [
253
340
  {
254
- "gap": "sm",
341
+ "type": "stack",
255
342
  "direction": "horizontal",
343
+ "gap": "sm",
344
+ "align": "center",
256
345
  "children": [
257
346
  {
258
347
  "type": "icon",
259
348
  "name": "credit-card"
260
349
  },
261
350
  {
262
- "content": "@config.title",
351
+ "type": "typography",
263
352
  "variant": "h3",
264
- "type": "typography"
353
+ "content": "@config.title"
265
354
  }
266
- ],
267
- "type": "stack"
355
+ ]
268
356
  },
269
357
  {
270
358
  "type": "divider"
271
359
  },
272
360
  {
273
- "gap": "sm",
274
- "cols": 1.0,
275
361
  "entity": "@payload.data",
362
+ "gap": "sm",
363
+ "itemActions": [
364
+ {
365
+ "event": "OPEN_TERMINAL",
366
+ "variant": "primary",
367
+ "label": "Open"
368
+ },
369
+ {
370
+ "variant": "danger",
371
+ "label": "Void",
372
+ "event": "VOID_SESSION"
373
+ }
374
+ ],
375
+ "type": "data-grid",
276
376
  "fields": [
277
377
  {
278
- "variant": "caption",
279
378
  "label": "Terminal",
280
- "name": "terminalId"
379
+ "name": "terminalId",
380
+ "variant": "caption"
281
381
  },
282
382
  {
283
- "name": "cashierName",
383
+ "variant": "caption",
284
384
  "label": "Cashier",
285
- "variant": "caption"
385
+ "name": "cashierName"
286
386
  },
287
387
  {
288
- "variant": "badge",
289
388
  "label": "Status",
290
- "name": "status"
389
+ "name": "status",
390
+ "variant": "badge"
291
391
  },
292
392
  {
293
393
  "label": "Total",
294
- "name": "total",
295
- "variant": "caption"
394
+ "variant": "caption",
395
+ "name": "total"
296
396
  },
297
397
  {
398
+ "label": "Opened",
298
399
  "variant": "caption",
299
- "name": "openedAt",
300
- "label": "Opened"
400
+ "name": "openedAt"
301
401
  }
302
402
  ],
303
- "type": "data-grid",
304
- "itemActions": [
403
+ "cols": 1.0
404
+ }
405
+ ]
406
+ }
407
+ ]
408
+ ]
409
+ },
410
+ {
411
+ "from": "loading",
412
+ "to": "error",
413
+ "event": "CheckoutSessionLoadFailed",
414
+ "effects": [
415
+ [
416
+ "render-ui",
417
+ "main",
418
+ {
419
+ "type": "alert",
420
+ "message": "@payload.error",
421
+ "variant": "error"
422
+ }
423
+ ]
424
+ ]
425
+ },
426
+ {
427
+ "from": "browsing",
428
+ "to": "viewing_single",
429
+ "event": "OPEN_TERMINAL",
430
+ "effects": [
431
+ [
432
+ "set",
433
+ "@entity.id",
434
+ "@payload.row.id"
435
+ ],
436
+ [
437
+ "set",
438
+ "@entity.terminalId",
439
+ "@payload.row.terminalId"
440
+ ],
441
+ [
442
+ "set",
443
+ "@entity.cashierName",
444
+ "@payload.row.cashierName"
445
+ ],
446
+ [
447
+ "set",
448
+ "@entity.subtotal",
449
+ "@payload.row.subtotal"
450
+ ],
451
+ [
452
+ "set",
453
+ "@entity.tax",
454
+ "@payload.row.tax"
455
+ ],
456
+ [
457
+ "set",
458
+ "@entity.total",
459
+ "@payload.row.total"
460
+ ],
461
+ [
462
+ "set",
463
+ "@entity.status",
464
+ "@payload.row.status"
465
+ ],
466
+ [
467
+ "set",
468
+ "@entity.paymentMethod",
469
+ "@payload.row.paymentMethod"
470
+ ],
471
+ [
472
+ "set",
473
+ "@entity.openedAt",
474
+ "@payload.row.openedAt"
475
+ ],
476
+ [
477
+ "render-ui",
478
+ "main",
479
+ {
480
+ "direction": "vertical",
481
+ "children": [
482
+ {
483
+ "direction": "horizontal",
484
+ "gap": "sm",
485
+ "type": "stack",
486
+ "align": "center",
487
+ "children": [
305
488
  {
306
- "event": "TENDER_PAYMENT",
307
- "variant": "primary",
308
- "label": "Tender"
489
+ "label": "Back",
490
+ "type": "button",
491
+ "variant": "ghost",
492
+ "action": "CLOSE_TERMINAL"
309
493
  },
310
494
  {
311
- "variant": "danger",
312
- "label": "Void",
313
- "event": "VOID_SESSION"
495
+ "variant": "h3",
496
+ "type": "typography",
497
+ "content": "Session detail"
498
+ },
499
+ {
500
+ "variant": "default",
501
+ "type": "badge",
502
+ "label": "@entity.status"
503
+ }
504
+ ]
505
+ },
506
+ {
507
+ "type": "divider"
508
+ },
509
+ {
510
+ "type": "stack",
511
+ "gap": "sm",
512
+ "children": [
513
+ {
514
+ "direction": "horizontal",
515
+ "gap": "md",
516
+ "type": "stack",
517
+ "children": [
518
+ {
519
+ "type": "typography",
520
+ "variant": "caption",
521
+ "content": "Terminal",
522
+ "color": "muted"
523
+ },
524
+ {
525
+ "type": "typography",
526
+ "variant": "body",
527
+ "content": "@entity.terminalId"
528
+ }
529
+ ]
530
+ },
531
+ {
532
+ "gap": "md",
533
+ "direction": "horizontal",
534
+ "children": [
535
+ {
536
+ "type": "typography",
537
+ "content": "Cashier",
538
+ "variant": "caption",
539
+ "color": "muted"
540
+ },
541
+ {
542
+ "content": "@entity.cashierName",
543
+ "variant": "body",
544
+ "type": "typography"
545
+ }
546
+ ],
547
+ "type": "stack"
548
+ },
549
+ {
550
+ "gap": "md",
551
+ "type": "stack",
552
+ "children": [
553
+ {
554
+ "type": "typography",
555
+ "variant": "caption",
556
+ "color": "muted",
557
+ "content": "Opened"
558
+ },
559
+ {
560
+ "type": "typography",
561
+ "variant": "body",
562
+ "content": "@entity.openedAt"
563
+ }
564
+ ],
565
+ "direction": "horizontal"
566
+ },
567
+ {
568
+ "type": "stack",
569
+ "direction": "horizontal",
570
+ "gap": "md",
571
+ "children": [
572
+ {
573
+ "type": "typography",
574
+ "color": "muted",
575
+ "variant": "caption",
576
+ "content": "Payment method"
577
+ },
578
+ {
579
+ "variant": "body",
580
+ "content": "@entity.paymentMethod",
581
+ "type": "typography"
582
+ }
583
+ ]
584
+ }
585
+ ],
586
+ "direction": "vertical"
587
+ },
588
+ {
589
+ "type": "divider"
590
+ },
591
+ {
592
+ "type": "resource-bar",
593
+ "size": "md",
594
+ "resources": [
595
+ {
596
+ "icon": "wallet",
597
+ "value": "@entity.subtotal",
598
+ "label": "Subtotal"
599
+ },
600
+ {
601
+ "value": "@entity.tax",
602
+ "icon": "percent",
603
+ "label": "Tax"
604
+ },
605
+ {
606
+ "value": "@entity.total",
607
+ "icon": "credit-card",
608
+ "label": "Total"
314
609
  }
315
610
  ]
611
+ },
612
+ {
613
+ "type": "stack",
614
+ "direction": "horizontal",
615
+ "children": [
616
+ {
617
+ "type": "button",
618
+ "label": "Tender Payment",
619
+ "actionPayload": {
620
+ "id": "@entity.id"
621
+ },
622
+ "action": "TENDER_PAYMENT",
623
+ "variant": "primary"
624
+ },
625
+ {
626
+ "action": "VOID_SESSION",
627
+ "actionPayload": {
628
+ "id": "@entity.id"
629
+ },
630
+ "type": "button",
631
+ "variant": "danger",
632
+ "label": "Void Session"
633
+ }
634
+ ],
635
+ "gap": "sm",
636
+ "align": "center"
316
637
  }
317
638
  ],
318
639
  "type": "stack",
319
- "direction": "vertical"
640
+ "gap": "md"
320
641
  }
321
642
  ]
322
643
  ]
323
644
  },
324
645
  {
325
- "from": "loading",
326
- "to": "error",
327
- "event": "CheckoutSessionLoadFailed",
646
+ "from": "browsing",
647
+ "to": "loading",
648
+ "event": "VOID_SESSION",
328
649
  "effects": [
650
+ [
651
+ "set",
652
+ "@entity.id",
653
+ "@payload.id"
654
+ ],
655
+ [
656
+ "fetch",
657
+ "CheckoutSession",
658
+ {
659
+ "emit": {
660
+ "success": "CheckoutSessionLoaded",
661
+ "failure": "CheckoutSessionLoadFailed"
662
+ }
663
+ }
664
+ ],
329
665
  [
330
666
  "render-ui",
331
667
  "main",
332
668
  {
333
- "message": "@payload.error",
334
- "type": "alert",
335
- "variant": "error"
669
+ "gap": "md",
670
+ "type": "stack",
671
+ "align": "center",
672
+ "direction": "vertical",
673
+ "children": [
674
+ {
675
+ "size": "md",
676
+ "type": "spinner"
677
+ },
678
+ {
679
+ "variant": "caption",
680
+ "type": "typography",
681
+ "content": "Voiding session…",
682
+ "color": "muted"
683
+ }
684
+ ],
685
+ "className": "py-12"
336
686
  }
337
687
  ]
338
688
  ]
339
689
  },
340
690
  {
341
- "from": "browsing",
342
- "to": "browsing",
691
+ "from": "viewing_single",
692
+ "to": "loading",
693
+ "event": "CLOSE_TERMINAL",
694
+ "effects": [
695
+ [
696
+ "fetch",
697
+ "CheckoutSession",
698
+ {
699
+ "emit": {
700
+ "success": "CheckoutSessionLoaded",
701
+ "failure": "CheckoutSessionLoadFailed"
702
+ }
703
+ }
704
+ ],
705
+ [
706
+ "render-ui",
707
+ "main",
708
+ {
709
+ "align": "center",
710
+ "children": [
711
+ {
712
+ "size": "md",
713
+ "type": "spinner"
714
+ },
715
+ {
716
+ "type": "typography",
717
+ "variant": "caption",
718
+ "color": "muted",
719
+ "content": "Loading terminals…"
720
+ }
721
+ ],
722
+ "type": "stack",
723
+ "className": "py-12",
724
+ "gap": "md",
725
+ "direction": "vertical"
726
+ }
727
+ ]
728
+ ]
729
+ },
730
+ {
731
+ "from": "viewing_single",
732
+ "to": "loading",
343
733
  "event": "TENDER_PAYMENT",
344
734
  "effects": [
345
735
  [
@@ -347,20 +737,44 @@
347
737
  "@entity.id",
348
738
  "@payload.id"
349
739
  ],
740
+ [
741
+ "fetch",
742
+ "CheckoutSession",
743
+ {
744
+ "emit": {
745
+ "success": "CheckoutSessionLoaded",
746
+ "failure": "CheckoutSessionLoadFailed"
747
+ }
748
+ }
749
+ ],
350
750
  [
351
751
  "render-ui",
352
752
  "main",
353
753
  {
354
- "type": "alert",
355
- "variant": "success",
356
- "message": "Payment tendered"
754
+ "align": "center",
755
+ "children": [
756
+ {
757
+ "type": "spinner",
758
+ "size": "md"
759
+ },
760
+ {
761
+ "color": "muted",
762
+ "type": "typography",
763
+ "variant": "caption",
764
+ "content": "Tendering payment…"
765
+ }
766
+ ],
767
+ "type": "stack",
768
+ "className": "py-12",
769
+ "direction": "vertical",
770
+ "gap": "md"
357
771
  }
358
772
  ]
359
773
  ]
360
774
  },
361
775
  {
362
- "from": "browsing",
363
- "to": "browsing",
776
+ "from": "viewing_single",
777
+ "to": "loading",
364
778
  "event": "VOID_SESSION",
365
779
  "effects": [
366
780
  [
@@ -368,13 +782,37 @@
368
782
  "@entity.id",
369
783
  "@payload.id"
370
784
  ],
785
+ [
786
+ "fetch",
787
+ "CheckoutSession",
788
+ {
789
+ "emit": {
790
+ "failure": "CheckoutSessionLoadFailed",
791
+ "success": "CheckoutSessionLoaded"
792
+ }
793
+ }
794
+ ],
371
795
  [
372
796
  "render-ui",
373
797
  "main",
374
798
  {
375
- "type": "alert",
376
- "message": "Session voided",
377
- "variant": "info"
799
+ "type": "stack",
800
+ "align": "center",
801
+ "className": "py-12",
802
+ "children": [
803
+ {
804
+ "type": "spinner",
805
+ "size": "md"
806
+ },
807
+ {
808
+ "content": "Voiding session…",
809
+ "type": "typography",
810
+ "variant": "caption",
811
+ "color": "muted"
812
+ }
813
+ ],
814
+ "direction": "vertical",
815
+ "gap": "md"
378
816
  }
379
817
  ]
380
818
  ]