@almadar/std 14.25.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 (431) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +82 -82
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +110 -110
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +112 -112
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +90 -90
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -406
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +83 -83
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +122 -122
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +51 -51
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +122 -122
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +214 -214
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +329 -329
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +67 -67
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +202 -202
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +185 -185
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +122 -122
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +114 -114
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +209 -209
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1039 -1039
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +2977 -2977
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2090 -2090
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +935 -935
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +760 -760
  24. package/behaviors/registry/app/atoms/std-ap-bill.orb +62 -62
  25. package/behaviors/registry/app/atoms/std-applicant.orb +35 -35
  26. package/behaviors/registry/app/atoms/std-approval-request.orb +152 -166
  27. package/behaviors/registry/app/atoms/std-campaign-goal.orb +120 -125
  28. package/behaviors/registry/app/atoms/std-change-order.orb +65 -65
  29. package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +58 -58
  30. package/behaviors/registry/app/atoms/std-checkin.orb +57 -57
  31. package/behaviors/registry/app/atoms/std-checkout-terminal.orb +458 -260
  32. package/behaviors/registry/app/atoms/std-class-roster.orb +46 -46
  33. package/behaviors/registry/app/atoms/std-class-session.orb +63 -57
  34. package/behaviors/registry/app/atoms/std-court-deadline.orb +60 -60
  35. package/behaviors/registry/app/atoms/std-customer-account.orb +49 -49
  36. package/behaviors/registry/app/atoms/std-donation-receipt.orb +40 -40
  37. package/behaviors/registry/app/atoms/std-donor.orb +52 -75
  38. package/behaviors/registry/app/atoms/std-drip-sequence.orb +46 -46
  39. package/behaviors/registry/app/atoms/std-driver.orb +101 -101
  40. package/behaviors/registry/app/atoms/std-dunning.orb +89 -100
  41. package/behaviors/registry/app/atoms/std-email-broadcast.orb +29 -29
  42. package/behaviors/registry/app/atoms/std-event.orb +59 -59
  43. package/behaviors/registry/app/atoms/std-health-score.orb +134 -196
  44. package/behaviors/registry/app/atoms/std-help-article.orb +110 -135
  45. package/behaviors/registry/app/atoms/std-help-category.orb +79 -86
  46. package/behaviors/registry/app/atoms/std-interview-slot.orb +34 -34
  47. package/behaviors/registry/app/atoms/std-invoice.orb +111 -129
  48. package/behaviors/registry/app/atoms/std-kitchen-display.orb +56 -56
  49. package/behaviors/registry/app/atoms/std-lease.orb +95 -87
  50. package/behaviors/registry/app/atoms/std-ledger-entry.orb +103 -108
  51. package/behaviors/registry/app/atoms/std-maintenance-request.orb +97 -97
  52. package/behaviors/registry/app/atoms/std-matter.orb +139 -161
  53. package/behaviors/registry/app/atoms/std-membership.orb +73 -75
  54. package/behaviors/registry/app/atoms/std-menu.orb +63 -63
  55. package/behaviors/registry/app/atoms/std-modifier-group.orb +52 -52
  56. package/behaviors/registry/app/atoms/std-nps-survey.orb +85 -85
  57. package/behaviors/registry/app/atoms/std-offer-letter.orb +41 -41
  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 +46 -46
  61. package/behaviors/registry/app/atoms/std-recurring-charge.orb +108 -118
  62. package/behaviors/registry/app/atoms/std-renewal-risk.orb +99 -111
  63. package/behaviors/registry/app/atoms/std-rent-charge.orb +27 -27
  64. package/behaviors/registry/app/atoms/std-reorder-rule.orb +53 -53
  65. package/behaviors/registry/app/atoms/std-response-collector.orb +45 -45
  66. package/behaviors/registry/app/atoms/std-rfi.orb +84 -84
  67. package/behaviors/registry/app/atoms/std-route-optimize.orb +43 -43
  68. package/behaviors/registry/app/atoms/std-segment.orb +43 -51
  69. package/behaviors/registry/app/atoms/std-stock-level.orb +58 -58
  70. package/behaviors/registry/app/atoms/std-submittal.orb +173 -157
  71. package/behaviors/registry/app/atoms/std-table-map.orb +43 -43
  72. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +37 -37
  73. package/behaviors/registry/app/atoms/std-telematics-event.orb +64 -64
  74. package/behaviors/registry/app/atoms/std-template-editor.orb +65 -65
  75. package/behaviors/registry/app/atoms/std-tenant.orb +38 -38
  76. package/behaviors/registry/app/atoms/std-ticket-tier.orb +63 -63
  77. package/behaviors/registry/app/atoms/std-time-entry.orb +114 -114
  78. package/behaviors/registry/app/atoms/std-timesheet.orb +79 -102
  79. package/behaviors/registry/app/atoms/std-trial.orb +78 -85
  80. package/behaviors/registry/app/atoms/std-vehicle.orb +149 -149
  81. package/behaviors/registry/app/atoms/std-waitlist.orb +49 -49
  82. package/behaviors/registry/app/atoms/std-warehouse.orb +125 -130
  83. package/behaviors/registry/app/atoms/std-work-order.orb +71 -71
  84. package/behaviors/registry/app/molecules/std-applicant-form.orb +52 -52
  85. package/behaviors/registry/app/molecules/std-application.orb +152 -152
  86. package/behaviors/registry/app/molecules/std-broadcast-builder.orb +91 -108
  87. package/behaviors/registry/app/molecules/std-cart.orb +62 -62
  88. package/behaviors/registry/app/molecules/std-form-builder.orb +102 -102
  89. package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +67 -118
  90. package/behaviors/registry/app/molecules/std-stock-adjustment.orb +73 -73
  91. package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +269 -269
  92. package/behaviors/registry/app/organisms/std-accounting.orb +120 -120
  93. package/behaviors/registry/app/organisms/std-api-gateway.orb +214 -214
  94. package/behaviors/registry/app/organisms/std-ats-recruiting.orb +143 -143
  95. package/behaviors/registry/app/organisms/std-booking-system.orb +698 -698
  96. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +282 -282
  97. package/behaviors/registry/app/organisms/std-cms.orb +315 -315
  98. package/behaviors/registry/app/organisms/std-coding-academy.orb +226 -226
  99. package/behaviors/registry/app/organisms/std-construction-pm.orb +159 -159
  100. package/behaviors/registry/app/organisms/std-crm.orb +265 -265
  101. package/behaviors/registry/app/organisms/std-customer-success.orb +106 -106
  102. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +384 -384
  103. package/behaviors/registry/app/organisms/std-document-mgmt.orb +101 -101
  104. package/behaviors/registry/app/organisms/std-ecommerce.orb +735 -735
  105. package/behaviors/registry/app/organisms/std-event-ticketing.orb +207 -207
  106. package/behaviors/registry/app/organisms/std-field-service.orb +181 -181
  107. package/behaviors/registry/app/organisms/std-finance-tracker.orb +227 -227
  108. package/behaviors/registry/app/organisms/std-fitness-studio.orb +145 -145
  109. package/behaviors/registry/app/organisms/std-fleet-mgmt.orb +149 -149
  110. package/behaviors/registry/app/organisms/std-forum.orb +150 -150
  111. package/behaviors/registry/app/organisms/std-healthcare.orb +531 -531
  112. package/behaviors/registry/app/organisms/std-helpdesk.orb +161 -161
  113. package/behaviors/registry/app/organisms/std-hr-portal.orb +455 -455
  114. package/behaviors/registry/app/organisms/std-inventory.orb +162 -162
  115. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +353 -353
  116. package/behaviors/registry/app/organisms/std-legal-case.orb +164 -164
  117. package/behaviors/registry/app/organisms/std-listings.orb +147 -147
  118. package/behaviors/registry/app/organisms/std-lms.orb +409 -409
  119. package/behaviors/registry/app/organisms/std-marketing-campaign.orb +123 -123
  120. package/behaviors/registry/app/organisms/std-marketplace.orb +251 -251
  121. package/behaviors/registry/app/organisms/std-nonprofit-donations.orb +105 -105
  122. package/behaviors/registry/app/organisms/std-notes.orb +112 -112
  123. package/behaviors/registry/app/organisms/std-project-manager.orb +200 -200
  124. package/behaviors/registry/app/organisms/std-property-mgmt.orb +178 -178
  125. package/behaviors/registry/app/organisms/std-public-help-center.orb +133 -133
  126. package/behaviors/registry/app/organisms/std-realtime-chat.orb +245 -245
  127. package/behaviors/registry/app/organisms/std-restaurant-pos.orb +131 -131
  128. package/behaviors/registry/app/organisms/std-retail-pos.orb +129 -129
  129. package/behaviors/registry/app/organisms/std-social-feed.orb +159 -159
  130. package/behaviors/registry/app/organisms/std-subscription-billing.orb +187 -187
  131. package/behaviors/registry/app/organisms/std-survey.orb +129 -129
  132. package/behaviors/registry/app/organisms/std-time-tracking.orb +167 -167
  133. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +263 -263
  134. package/behaviors/registry/app/organisms/std-wiki.orb +139 -139
  135. package/behaviors/registry/core/atoms/std-billable-hour.orb +65 -65
  136. package/behaviors/registry/core/atoms/std-branching-logic.orb +62 -62
  137. package/behaviors/registry/core/atoms/std-browse.orb +58 -58
  138. package/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  139. package/behaviors/registry/core/atoms/std-calendar.orb +50 -50
  140. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +184 -184
  141. package/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  142. package/behaviors/registry/core/atoms/std-display.orb +1 -1
  143. package/behaviors/registry/core/atoms/std-drawer.orb +14 -14
  144. package/behaviors/registry/core/atoms/std-esign-request.orb +29 -29
  145. package/behaviors/registry/core/atoms/std-file-store.orb +91 -79
  146. package/behaviors/registry/core/atoms/std-filter.orb +12 -12
  147. package/behaviors/registry/core/atoms/std-flag.orb +95 -95
  148. package/behaviors/registry/core/atoms/std-gallery.orb +48 -48
  149. package/behaviors/registry/core/atoms/std-geosearch.orb +26 -26
  150. package/behaviors/registry/core/atoms/std-graphs.orb +37 -37
  151. package/behaviors/registry/core/atoms/std-image-upload-multi.orb +56 -56
  152. package/behaviors/registry/core/atoms/std-mod-queue.orb +56 -56
  153. package/behaviors/registry/core/atoms/std-modal.orb +20 -20
  154. package/behaviors/registry/core/atoms/std-page-tree.orb +88 -64
  155. package/behaviors/registry/core/atoms/std-pagination.orb +17 -17
  156. package/behaviors/registry/core/atoms/std-push.orb +38 -38
  157. package/behaviors/registry/core/atoms/std-rate-limiter.orb +168 -168
  158. package/behaviors/registry/core/atoms/std-rating-review.orb +68 -68
  159. package/behaviors/registry/core/atoms/std-related.orb +34 -34
  160. package/behaviors/registry/core/atoms/std-rich-editor.orb +101 -108
  161. package/behaviors/registry/core/atoms/std-saved-search.orb +55 -55
  162. package/behaviors/registry/core/atoms/std-search.orb +9 -9
  163. package/behaviors/registry/core/atoms/std-selection.orb +77 -77
  164. package/behaviors/registry/core/atoms/std-signature-capture.orb +89 -89
  165. package/behaviors/registry/core/atoms/std-stats.orb +104 -104
  166. package/behaviors/registry/core/atoms/std-tabs.orb +27 -27
  167. package/behaviors/registry/core/atoms/std-tag-taxonomy.orb +69 -69
  168. package/behaviors/registry/core/atoms/std-thread.orb +56 -56
  169. package/behaviors/registry/core/atoms/std-version-history.orb +81 -81
  170. package/behaviors/registry/core/atoms/std-vote.orb +39 -39
  171. package/behaviors/registry/core/molecules/std-app-layout.orb +21 -21
  172. package/behaviors/registry/core/molecules/std-dashboard-grid-layout.orb +11 -11
  173. package/behaviors/registry/core/molecules/std-dashboard.orb +52 -52
  174. package/behaviors/registry/core/molecules/std-esign-flow.orb +86 -104
  175. package/behaviors/registry/core/molecules/std-filtered-list.orb +22 -22
  176. package/behaviors/registry/core/molecules/std-form-advanced.orb +133 -133
  177. package/behaviors/registry/core/molecules/std-list.orb +71 -71
  178. package/behaviors/registry/core/molecules/std-master-detail-layout.orb +13 -13
  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 +152 -152
  182. package/behaviors/registry/core/organisms/std-generic-app.orb +544 -544
  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 +27 -27
  186. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +40 -40
  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 +56 -56
  190. package/behaviors/registry/game/atoms/std-physics2d.orb +78 -78
  191. package/behaviors/registry/game/atoms/std-quest.orb +122 -122
  192. package/behaviors/registry/game/atoms/std-timer.orb +266 -266
  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 +32 -32
  201. package/behaviors/registry/service/atoms/std-service-calendar-ical.orb +51 -51
  202. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +69 -69
  203. package/behaviors/registry/service/atoms/std-service-email.orb +55 -55
  204. package/behaviors/registry/service/atoms/std-service-github.orb +70 -70
  205. package/behaviors/registry/service/atoms/std-service-llm.orb +70 -70
  206. package/behaviors/registry/service/atoms/std-service-maps.orb +83 -83
  207. package/behaviors/registry/service/atoms/std-service-oauth.orb +51 -51
  208. package/behaviors/registry/service/atoms/std-service-print.orb +114 -114
  209. package/behaviors/registry/service/atoms/std-service-redis.orb +61 -61
  210. package/behaviors/registry/service/atoms/std-service-storage.orb +51 -51
  211. package/behaviors/registry/service/atoms/std-service-stripe.orb +111 -111
  212. package/behaviors/registry/service/atoms/std-service-twilio.orb +48 -48
  213. package/behaviors/registry/service/atoms/std-service-youtube.orb +45 -45
  214. package/behaviors/registry/service/organisms/std-service-marketplace.orb +911 -911
  215. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +883 -883
  216. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +82 -82
  217. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +110 -110
  218. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +112 -112
  219. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +90 -90
  220. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +406 -406
  221. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +94 -94
  222. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +83 -83
  223. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +122 -122
  224. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +51 -51
  225. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +122 -122
  226. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +214 -214
  227. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +329 -329
  228. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +67 -67
  229. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +202 -202
  230. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +185 -185
  231. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +122 -122
  232. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +114 -114
  233. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +209 -209
  234. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1039 -1039
  235. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +2977 -2977
  236. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2090 -2090
  237. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +935 -935
  238. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +760 -760
  239. package/dist/behaviors/registry/app/atoms/std-ap-bill.orb +62 -62
  240. package/dist/behaviors/registry/app/atoms/std-applicant.orb +35 -35
  241. package/dist/behaviors/registry/app/atoms/std-approval-request.orb +152 -166
  242. package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +120 -125
  243. package/dist/behaviors/registry/app/atoms/std-change-order.orb +65 -65
  244. package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +58 -58
  245. package/dist/behaviors/registry/app/atoms/std-checkin.orb +57 -57
  246. package/dist/behaviors/registry/app/atoms/std-checkout-terminal.orb +458 -260
  247. package/dist/behaviors/registry/app/atoms/std-class-roster.orb +46 -46
  248. package/dist/behaviors/registry/app/atoms/std-class-session.orb +63 -57
  249. package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +60 -60
  250. package/dist/behaviors/registry/app/atoms/std-customer-account.orb +49 -49
  251. package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +40 -40
  252. package/dist/behaviors/registry/app/atoms/std-donor.orb +52 -75
  253. package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +46 -46
  254. package/dist/behaviors/registry/app/atoms/std-driver.orb +101 -101
  255. package/dist/behaviors/registry/app/atoms/std-dunning.orb +89 -100
  256. package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +29 -29
  257. package/dist/behaviors/registry/app/atoms/std-event.orb +59 -59
  258. package/dist/behaviors/registry/app/atoms/std-health-score.orb +134 -196
  259. package/dist/behaviors/registry/app/atoms/std-help-article.orb +110 -135
  260. package/dist/behaviors/registry/app/atoms/std-help-category.orb +79 -86
  261. package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +34 -34
  262. package/dist/behaviors/registry/app/atoms/std-invoice.orb +111 -129
  263. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +56 -56
  264. package/dist/behaviors/registry/app/atoms/std-lease.orb +95 -87
  265. package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +103 -108
  266. package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +97 -97
  267. package/dist/behaviors/registry/app/atoms/std-matter.orb +139 -161
  268. package/dist/behaviors/registry/app/atoms/std-membership.orb +73 -75
  269. package/dist/behaviors/registry/app/atoms/std-menu.orb +63 -63
  270. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +52 -52
  271. package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +85 -85
  272. package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +41 -41
  273. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +63 -63
  274. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +51 -51
  275. package/dist/behaviors/registry/app/atoms/std-receipt.orb +46 -46
  276. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +108 -118
  277. package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +99 -111
  278. package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +27 -27
  279. package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +53 -53
  280. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +45 -45
  281. package/dist/behaviors/registry/app/atoms/std-rfi.orb +84 -84
  282. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +43 -43
  283. package/dist/behaviors/registry/app/atoms/std-segment.orb +43 -51
  284. package/dist/behaviors/registry/app/atoms/std-stock-level.orb +58 -58
  285. package/dist/behaviors/registry/app/atoms/std-submittal.orb +173 -157
  286. package/dist/behaviors/registry/app/atoms/std-table-map.orb +43 -43
  287. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +37 -37
  288. package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +64 -64
  289. package/dist/behaviors/registry/app/atoms/std-template-editor.orb +65 -65
  290. package/dist/behaviors/registry/app/atoms/std-tenant.orb +38 -38
  291. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +63 -63
  292. package/dist/behaviors/registry/app/atoms/std-time-entry.orb +114 -114
  293. package/dist/behaviors/registry/app/atoms/std-timesheet.orb +79 -102
  294. package/dist/behaviors/registry/app/atoms/std-trial.orb +78 -85
  295. package/dist/behaviors/registry/app/atoms/std-vehicle.orb +149 -149
  296. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +49 -49
  297. package/dist/behaviors/registry/app/atoms/std-warehouse.orb +125 -130
  298. package/dist/behaviors/registry/app/atoms/std-work-order.orb +71 -71
  299. package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +52 -52
  300. package/dist/behaviors/registry/app/molecules/std-application.orb +152 -152
  301. package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +91 -108
  302. package/dist/behaviors/registry/app/molecules/std-cart.orb +62 -62
  303. package/dist/behaviors/registry/app/molecules/std-form-builder.orb +102 -102
  304. package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +67 -118
  305. package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +73 -73
  306. package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +269 -269
  307. package/dist/behaviors/registry/app/organisms/std-accounting.orb +120 -120
  308. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +214 -214
  309. package/dist/behaviors/registry/app/organisms/std-ats-recruiting.orb +143 -143
  310. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +698 -698
  311. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +282 -282
  312. package/dist/behaviors/registry/app/organisms/std-cms.orb +315 -315
  313. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +226 -226
  314. package/dist/behaviors/registry/app/organisms/std-construction-pm.orb +159 -159
  315. package/dist/behaviors/registry/app/organisms/std-crm.orb +265 -265
  316. package/dist/behaviors/registry/app/organisms/std-customer-success.orb +106 -106
  317. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +384 -384
  318. package/dist/behaviors/registry/app/organisms/std-document-mgmt.orb +101 -101
  319. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +735 -735
  320. package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +207 -207
  321. package/dist/behaviors/registry/app/organisms/std-field-service.orb +181 -181
  322. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +227 -227
  323. package/dist/behaviors/registry/app/organisms/std-fitness-studio.orb +145 -145
  324. package/dist/behaviors/registry/app/organisms/std-fleet-mgmt.orb +149 -149
  325. package/dist/behaviors/registry/app/organisms/std-forum.orb +150 -150
  326. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +531 -531
  327. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +161 -161
  328. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +455 -455
  329. package/dist/behaviors/registry/app/organisms/std-inventory.orb +162 -162
  330. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +353 -353
  331. package/dist/behaviors/registry/app/organisms/std-legal-case.orb +164 -164
  332. package/dist/behaviors/registry/app/organisms/std-listings.orb +147 -147
  333. package/dist/behaviors/registry/app/organisms/std-lms.orb +409 -409
  334. package/dist/behaviors/registry/app/organisms/std-marketing-campaign.orb +123 -123
  335. package/dist/behaviors/registry/app/organisms/std-marketplace.orb +251 -251
  336. package/dist/behaviors/registry/app/organisms/std-nonprofit-donations.orb +105 -105
  337. package/dist/behaviors/registry/app/organisms/std-notes.orb +112 -112
  338. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +200 -200
  339. package/dist/behaviors/registry/app/organisms/std-property-mgmt.orb +178 -178
  340. package/dist/behaviors/registry/app/organisms/std-public-help-center.orb +133 -133
  341. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +245 -245
  342. package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +131 -131
  343. package/dist/behaviors/registry/app/organisms/std-retail-pos.orb +129 -129
  344. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +159 -159
  345. package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +187 -187
  346. package/dist/behaviors/registry/app/organisms/std-survey.orb +129 -129
  347. package/dist/behaviors/registry/app/organisms/std-time-tracking.orb +167 -167
  348. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +263 -263
  349. package/dist/behaviors/registry/app/organisms/std-wiki.orb +139 -139
  350. package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +65 -65
  351. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +62 -62
  352. package/dist/behaviors/registry/core/atoms/std-browse.orb +58 -58
  353. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +97 -97
  354. package/dist/behaviors/registry/core/atoms/std-calendar.orb +50 -50
  355. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +184 -184
  356. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  357. package/dist/behaviors/registry/core/atoms/std-display.orb +1 -1
  358. package/dist/behaviors/registry/core/atoms/std-drawer.orb +14 -14
  359. package/dist/behaviors/registry/core/atoms/std-esign-request.orb +29 -29
  360. package/dist/behaviors/registry/core/atoms/std-file-store.orb +91 -79
  361. package/dist/behaviors/registry/core/atoms/std-filter.orb +12 -12
  362. package/dist/behaviors/registry/core/atoms/std-flag.orb +95 -95
  363. package/dist/behaviors/registry/core/atoms/std-gallery.orb +48 -48
  364. package/dist/behaviors/registry/core/atoms/std-geosearch.orb +26 -26
  365. package/dist/behaviors/registry/core/atoms/std-graphs.orb +37 -37
  366. package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +56 -56
  367. package/dist/behaviors/registry/core/atoms/std-mod-queue.orb +56 -56
  368. package/dist/behaviors/registry/core/atoms/std-modal.orb +20 -20
  369. package/dist/behaviors/registry/core/atoms/std-page-tree.orb +88 -64
  370. package/dist/behaviors/registry/core/atoms/std-pagination.orb +17 -17
  371. package/dist/behaviors/registry/core/atoms/std-push.orb +38 -38
  372. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +168 -168
  373. package/dist/behaviors/registry/core/atoms/std-rating-review.orb +68 -68
  374. package/dist/behaviors/registry/core/atoms/std-related.orb +34 -34
  375. package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +101 -108
  376. package/dist/behaviors/registry/core/atoms/std-saved-search.orb +55 -55
  377. package/dist/behaviors/registry/core/atoms/std-search.orb +9 -9
  378. package/dist/behaviors/registry/core/atoms/std-selection.orb +77 -77
  379. package/dist/behaviors/registry/core/atoms/std-signature-capture.orb +89 -89
  380. package/dist/behaviors/registry/core/atoms/std-stats.orb +104 -104
  381. package/dist/behaviors/registry/core/atoms/std-tabs.orb +27 -27
  382. package/dist/behaviors/registry/core/atoms/std-tag-taxonomy.orb +69 -69
  383. package/dist/behaviors/registry/core/atoms/std-thread.orb +56 -56
  384. package/dist/behaviors/registry/core/atoms/std-version-history.orb +81 -81
  385. package/dist/behaviors/registry/core/atoms/std-vote.orb +39 -39
  386. package/dist/behaviors/registry/core/molecules/std-app-layout.orb +21 -21
  387. package/dist/behaviors/registry/core/molecules/std-dashboard-grid-layout.orb +11 -11
  388. package/dist/behaviors/registry/core/molecules/std-dashboard.orb +52 -52
  389. package/dist/behaviors/registry/core/molecules/std-esign-flow.orb +86 -104
  390. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +22 -22
  391. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +133 -133
  392. package/dist/behaviors/registry/core/molecules/std-list.orb +71 -71
  393. package/dist/behaviors/registry/core/molecules/std-master-detail-layout.orb +13 -13
  394. package/dist/behaviors/registry/core/molecules/std-stack-layout.orb +12 -12
  395. package/dist/behaviors/registry/core/molecules/std-tabs-layout.orb +11 -11
  396. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +152 -152
  397. package/dist/behaviors/registry/core/organisms/std-generic-app.orb +544 -544
  398. package/dist/behaviors/registry/game/atoms/std-collision.orb +0 -595
  399. package/dist/behaviors/registry/game/atoms/std-combat.orb +0 -524
  400. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +27 -27
  401. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +40 -40
  402. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +0 -456
  403. package/dist/behaviors/registry/game/atoms/std-movement.orb +0 -1279
  404. package/dist/behaviors/registry/game/atoms/std-overworld.orb +56 -56
  405. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +78 -78
  406. package/dist/behaviors/registry/game/atoms/std-quest.orb +122 -122
  407. package/dist/behaviors/registry/game/atoms/std-timer.orb +266 -266
  408. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +0 -1446
  409. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +0 -1037
  410. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +0 -2567
  411. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +0 -1197
  412. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +0 -3509
  413. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +0 -2003
  414. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +0 -2686
  415. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +32 -32
  416. package/dist/behaviors/registry/service/atoms/std-service-calendar-ical.orb +51 -51
  417. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +69 -69
  418. package/dist/behaviors/registry/service/atoms/std-service-email.orb +55 -55
  419. package/dist/behaviors/registry/service/atoms/std-service-github.orb +70 -70
  420. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +70 -70
  421. package/dist/behaviors/registry/service/atoms/std-service-maps.orb +83 -83
  422. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +51 -51
  423. package/dist/behaviors/registry/service/atoms/std-service-print.orb +114 -114
  424. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +61 -61
  425. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +51 -51
  426. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +111 -111
  427. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +48 -48
  428. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +45 -45
  429. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +911 -911
  430. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +883 -883
  431. 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": [
@@ -218,23 +303,23 @@
218
303
  "render-ui",
219
304
  "main",
220
305
  {
221
- "direction": "vertical",
222
- "gap": "md",
223
- "className": "py-12",
224
- "type": "stack",
225
- "align": "center",
226
306
  "children": [
227
307
  {
228
- "type": "spinner",
229
- "size": "md"
308
+ "size": "md",
309
+ "type": "spinner"
230
310
  },
231
311
  {
232
- "type": "typography",
233
312
  "variant": "caption",
313
+ "content": "Loading terminals…",
234
314
  "color": "muted",
235
- "content": "Loading terminals…"
315
+ "type": "typography"
236
316
  }
237
- ]
317
+ ],
318
+ "className": "py-12",
319
+ "type": "stack",
320
+ "align": "center",
321
+ "direction": "vertical",
322
+ "gap": "md"
238
323
  }
239
324
  ]
240
325
  ]
@@ -248,338 +333,403 @@
248
333
  "render-ui",
249
334
  "main",
250
335
  {
336
+ "type": "stack",
337
+ "direction": "vertical",
338
+ "gap": "md",
251
339
  "children": [
252
340
  {
253
341
  "type": "stack",
342
+ "direction": "horizontal",
343
+ "gap": "sm",
344
+ "align": "center",
254
345
  "children": [
255
346
  {
256
347
  "type": "icon",
257
348
  "name": "credit-card"
258
349
  },
259
350
  {
260
- "variant": "h3",
261
351
  "type": "typography",
352
+ "variant": "h3",
262
353
  "content": "@config.title"
263
354
  }
264
- ],
265
- "direction": "horizontal",
266
- "gap": "sm"
355
+ ]
267
356
  },
268
357
  {
269
- "items": [
270
- {
271
- "src": "https://picsum.photos/seed/feat1/800/300",
272
- "alt": "Featured promo",
273
- "caption": "Buy 2 get 1 free"
274
- },
275
- {
276
- "alt": "Seasonal sale",
277
- "caption": "Holiday bundle 20% off",
278
- "src": "https://picsum.photos/seed/feat2/800/300"
279
- },
280
- {
281
- "caption": "Just landed in store",
282
- "alt": "New arrival",
283
- "src": "https://picsum.photos/seed/feat3/800/300"
284
- }
285
- ],
286
- "autoPlayInterval": 5000.0,
287
- "type": "carousel",
288
- "showDots": true,
289
- "autoPlay": true,
290
- "showArrows": true,
291
- "loop": true
358
+ "type": "divider"
292
359
  },
293
360
  {
294
- "plans": [
295
- {
296
- "action": {
297
- "href": "#tender",
298
- "label": "Add"
299
- },
300
- "price": "$4.99",
301
- "features": [
302
- "Standard pricing"
303
- ],
304
- "description": "One item",
305
- "name": "Single"
306
- },
361
+ "entity": "@payload.data",
362
+ "gap": "sm",
363
+ "itemActions": [
307
364
  {
308
- "action": {
309
- "href": "#tender",
310
- "label": "Add"
311
- },
312
- "features": [
313
- "10% off",
314
- "Free wrap"
315
- ],
316
- "highlighted": true,
317
- "price": "$12.99",
318
- "description": "Three items",
319
- "name": "Bundle"
365
+ "event": "OPEN_TERMINAL",
366
+ "variant": "primary",
367
+ "label": "Open"
320
368
  },
321
369
  {
322
- "name": "Family",
323
- "action": {
324
- "label": "Add",
325
- "href": "#tender"
326
- },
327
- "price": "$24.99",
328
- "description": "Six items",
329
- "features": [
330
- "20% off",
331
- "Free wrap",
332
- "Priority pickup"
333
- ]
370
+ "variant": "danger",
371
+ "label": "Void",
372
+ "event": "VOID_SESSION"
334
373
  }
335
374
  ],
336
- "type": "pricing-grid"
337
- },
338
- {
339
- "align": "center",
340
- "children": [
375
+ "type": "data-grid",
376
+ "fields": [
377
+ {
378
+ "label": "Terminal",
379
+ "name": "terminalId",
380
+ "variant": "caption"
381
+ },
341
382
  {
342
- "color": "muted",
343
383
  "variant": "caption",
344
- "type": "typography",
345
- "content": "Qty"
384
+ "label": "Cashier",
385
+ "name": "cashierName"
346
386
  },
347
387
  {
348
- "value": 1.0,
349
- "size": "md",
350
- "min": 1.0,
351
- "max": 99.0,
352
- "step": 1.0,
353
- "type": "number-stepper",
354
- "action": "TENDER_PAYMENT"
388
+ "label": "Status",
389
+ "name": "status",
390
+ "variant": "badge"
355
391
  },
356
392
  {
357
- "size": "md",
358
- "multiplier": 2.0,
359
- "combo": 3.0,
360
- "streak": 5.0,
361
- "type": "combo-counter"
393
+ "label": "Total",
394
+ "variant": "caption",
395
+ "name": "total"
362
396
  },
363
397
  {
364
- "size": "md",
365
- "type": "resource-bar",
366
- "resources": [
367
- {
368
- "value": 42.5,
369
- "id": "subtotal",
370
- "icon": "wallet",
371
- "label": "Subtotal"
372
- },
373
- {
374
- "value": 3.4,
375
- "id": "tax",
376
- "icon": "percent",
377
- "label": "Tax"
378
- },
379
- {
380
- "id": "total",
381
- "label": "Total",
382
- "icon": "credit-card",
383
- "value": 45.9
384
- }
385
- ]
398
+ "label": "Opened",
399
+ "variant": "caption",
400
+ "name": "openedAt"
386
401
  }
387
402
  ],
388
- "direction": "horizontal",
389
- "gap": "md",
390
- "type": "stack"
391
- },
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": [
392
482
  {
393
483
  "direction": "horizontal",
484
+ "gap": "sm",
485
+ "type": "stack",
394
486
  "align": "center",
395
487
  "children": [
396
488
  {
397
- "label": "Tender",
398
- "variant": "primary",
399
- "icon": "credit-card",
400
- "type": "action-button",
401
- "size": "md",
402
- "hotkey": "T"
403
- },
404
- {
405
- "index": 1.0,
406
- "text": "Cash",
407
- "type": "choice-button"
408
- },
409
- {
410
- "selected": true,
411
- "type": "choice-button",
412
- "index": 2.0,
413
- "text": "Card"
489
+ "label": "Back",
490
+ "type": "button",
491
+ "variant": "ghost",
492
+ "action": "CLOSE_TERMINAL"
414
493
  },
415
494
  {
416
- "text": "Gift",
417
- "type": "choice-button",
418
- "index": 3.0
419
- },
420
- {
421
- "variant": "secondary",
422
- "type": "control-button",
423
- "shape": "round",
424
- "label": "Hold",
425
- "icon": "pause",
426
- "size": "md"
495
+ "variant": "h3",
496
+ "type": "typography",
497
+ "content": "Session detail"
427
498
  },
428
499
  {
429
- "includeDiagonals": false,
430
- "size": "md",
431
- "type": "d-pad"
500
+ "variant": "default",
501
+ "type": "badge",
502
+ "label": "@entity.status"
432
503
  }
433
- ],
434
- "type": "stack",
435
- "gap": "sm"
504
+ ]
436
505
  },
437
506
  {
438
- "label": "Cashier actions",
439
- "type": "action-palette",
440
- "allowDuplicates": true,
441
- "size": "md",
442
- "actions": [
443
- {
444
- "category": "promo",
445
- "id": "discount",
446
- "label": "Discount"
447
- },
448
- {
449
- "label": "Refund",
450
- "category": "ops",
451
- "id": "refund"
452
- },
453
- {
454
- "id": "void",
455
- "label": "Void",
456
- "category": "ops"
457
- },
458
- {
459
- "id": "split",
460
- "category": "tender",
461
- "label": "Split"
462
- }
463
- ]
507
+ "type": "divider"
464
508
  },
465
509
  {
466
- "isOpen": true,
467
- "position": "right",
468
- "width": "w-96",
469
- "onClose": "VOID_SESSION",
470
- "closeEvent": "VOID_SESSION",
510
+ "type": "stack",
511
+ "gap": "sm",
471
512
  "children": [
472
513
  {
473
- "gap": "sm",
514
+ "direction": "horizontal",
515
+ "gap": "md",
474
516
  "type": "stack",
475
517
  "children": [
476
518
  {
477
519
  "type": "typography",
478
- "variant": "h4",
479
- "content": "Items in cart"
520
+ "variant": "caption",
521
+ "content": "Terminal",
522
+ "color": "muted"
480
523
  },
481
524
  {
482
525
  "type": "typography",
483
- "content": "Cart side panel preview",
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",
484
556
  "color": "muted",
485
- "variant": "caption"
557
+ "content": "Opened"
558
+ },
559
+ {
560
+ "type": "typography",
561
+ "variant": "body",
562
+ "content": "@entity.openedAt"
486
563
  }
487
564
  ],
488
- "direction": "vertical"
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
+ ]
489
584
  }
490
585
  ],
491
- "title": "Cart",
492
- "type": "side-panel"
493
- },
494
- {
495
- "variant": "success",
496
- "title": "Payment ready",
497
- "type": "toast-slot",
498
- "duration": 4000.0
499
- },
500
- {
501
- "variant": "primary",
502
- "position": "bottom-right",
503
- "type": "floating-action-button",
504
- "label": "Quick sale",
505
- "action": "TENDER_PAYMENT",
506
- "icon": "zap"
586
+ "direction": "vertical"
507
587
  },
508
588
  {
509
589
  "type": "divider"
510
590
  },
511
591
  {
512
- "gap": "sm",
513
- "type": "data-grid",
514
- "fields": [
515
- {
516
- "name": "terminalId",
517
- "label": "Terminal",
518
- "variant": "caption"
519
- },
520
- {
521
- "variant": "caption",
522
- "name": "cashierName",
523
- "label": "Cashier"
524
- },
592
+ "type": "resource-bar",
593
+ "size": "md",
594
+ "resources": [
525
595
  {
526
- "label": "Status",
527
- "name": "status",
528
- "variant": "badge"
596
+ "icon": "wallet",
597
+ "value": "@entity.subtotal",
598
+ "label": "Subtotal"
529
599
  },
530
600
  {
531
- "variant": "caption",
532
- "label": "Total",
533
- "name": "total"
601
+ "value": "@entity.tax",
602
+ "icon": "percent",
603
+ "label": "Tax"
534
604
  },
535
605
  {
536
- "label": "Opened",
537
- "variant": "caption",
538
- "name": "openedAt"
606
+ "value": "@entity.total",
607
+ "icon": "credit-card",
608
+ "label": "Total"
539
609
  }
540
- ],
541
- "entity": "@payload.data",
542
- "cols": 1.0,
543
- "itemActions": [
610
+ ]
611
+ },
612
+ {
613
+ "type": "stack",
614
+ "direction": "horizontal",
615
+ "children": [
544
616
  {
545
- "event": "TENDER_PAYMENT",
546
- "label": "Tender",
617
+ "type": "button",
618
+ "label": "Tender Payment",
619
+ "actionPayload": {
620
+ "id": "@entity.id"
621
+ },
622
+ "action": "TENDER_PAYMENT",
547
623
  "variant": "primary"
548
624
  },
549
625
  {
550
- "label": "Void",
551
- "event": "VOID_SESSION",
552
- "variant": "danger"
626
+ "action": "VOID_SESSION",
627
+ "actionPayload": {
628
+ "id": "@entity.id"
629
+ },
630
+ "type": "button",
631
+ "variant": "danger",
632
+ "label": "Void Session"
553
633
  }
554
- ]
634
+ ],
635
+ "gap": "sm",
636
+ "align": "center"
555
637
  }
556
638
  ],
639
+ "type": "stack",
640
+ "gap": "md"
641
+ }
642
+ ]
643
+ ]
644
+ },
645
+ {
646
+ "from": "browsing",
647
+ "to": "loading",
648
+ "event": "VOID_SESSION",
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
+ ],
665
+ [
666
+ "render-ui",
667
+ "main",
668
+ {
557
669
  "gap": "md",
558
670
  "type": "stack",
559
- "direction": "vertical"
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"
560
686
  }
561
687
  ]
562
688
  ]
563
689
  },
564
690
  {
565
- "from": "loading",
566
- "to": "error",
567
- "event": "CheckoutSessionLoadFailed",
691
+ "from": "viewing_single",
692
+ "to": "loading",
693
+ "event": "CLOSE_TERMINAL",
568
694
  "effects": [
695
+ [
696
+ "fetch",
697
+ "CheckoutSession",
698
+ {
699
+ "emit": {
700
+ "success": "CheckoutSessionLoaded",
701
+ "failure": "CheckoutSessionLoadFailed"
702
+ }
703
+ }
704
+ ],
569
705
  [
570
706
  "render-ui",
571
707
  "main",
572
708
  {
573
- "type": "alert",
574
- "variant": "error",
575
- "message": "@payload.error"
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"
576
726
  }
577
727
  ]
578
728
  ]
579
729
  },
580
730
  {
581
- "from": "browsing",
582
- "to": "browsing",
731
+ "from": "viewing_single",
732
+ "to": "loading",
583
733
  "event": "TENDER_PAYMENT",
584
734
  "effects": [
585
735
  [
@@ -587,20 +737,44 @@
587
737
  "@entity.id",
588
738
  "@payload.id"
589
739
  ],
740
+ [
741
+ "fetch",
742
+ "CheckoutSession",
743
+ {
744
+ "emit": {
745
+ "success": "CheckoutSessionLoaded",
746
+ "failure": "CheckoutSessionLoadFailed"
747
+ }
748
+ }
749
+ ],
590
750
  [
591
751
  "render-ui",
592
752
  "main",
593
753
  {
594
- "type": "alert",
595
- "message": "Payment tendered",
596
- "variant": "success"
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"
597
771
  }
598
772
  ]
599
773
  ]
600
774
  },
601
775
  {
602
- "from": "browsing",
603
- "to": "browsing",
776
+ "from": "viewing_single",
777
+ "to": "loading",
604
778
  "event": "VOID_SESSION",
605
779
  "effects": [
606
780
  [
@@ -608,13 +782,37 @@
608
782
  "@entity.id",
609
783
  "@payload.id"
610
784
  ],
785
+ [
786
+ "fetch",
787
+ "CheckoutSession",
788
+ {
789
+ "emit": {
790
+ "failure": "CheckoutSessionLoadFailed",
791
+ "success": "CheckoutSessionLoaded"
792
+ }
793
+ }
794
+ ],
611
795
  [
612
796
  "render-ui",
613
797
  "main",
614
798
  {
615
- "message": "Session voided",
616
- "variant": "info",
617
- "type": "alert"
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"
618
816
  }
619
817
  ]
620
818
  ]
@@ -668,4 +866,4 @@
668
866
  ]
669
867
  }
670
868
  ]
671
- }
869
+ }