@almadar/std 14.25.0 → 14.27.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 +497 -43
  26. package/behaviors/registry/app/atoms/std-approval-request.orb +451 -625
  27. package/behaviors/registry/app/atoms/std-campaign-goal.orb +443 -238
  28. package/behaviors/registry/app/atoms/std-change-order.orb +563 -305
  29. package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +435 -98
  30. package/behaviors/registry/app/atoms/std-checkin.orb +436 -272
  31. package/behaviors/registry/app/atoms/std-checkout-terminal.orb +458 -260
  32. package/behaviors/registry/app/atoms/std-class-roster.orb +508 -74
  33. package/behaviors/registry/app/atoms/std-class-session.orb +488 -101
  34. package/behaviors/registry/app/atoms/std-court-deadline.orb +525 -94
  35. package/behaviors/registry/app/atoms/std-customer-account.orb +576 -96
  36. package/behaviors/registry/app/atoms/std-donation-receipt.orb +497 -54
  37. package/behaviors/registry/app/atoms/std-donor.orb +440 -153
  38. package/behaviors/registry/app/atoms/std-drip-sequence.orb +453 -70
  39. package/behaviors/registry/app/atoms/std-driver.orb +477 -492
  40. package/behaviors/registry/app/atoms/std-dunning.orb +442 -515
  41. package/behaviors/registry/app/atoms/std-email-broadcast.orb +518 -65
  42. package/behaviors/registry/app/atoms/std-event.orb +467 -669
  43. package/behaviors/registry/app/atoms/std-health-score.orb +371 -436
  44. package/behaviors/registry/app/atoms/std-help-article.orb +374 -532
  45. package/behaviors/registry/app/atoms/std-help-category.orb +347 -369
  46. package/behaviors/registry/app/atoms/std-interview-slot.orb +491 -49
  47. package/behaviors/registry/app/atoms/std-invoice.orb +488 -303
  48. package/behaviors/registry/app/atoms/std-kitchen-display.orb +632 -140
  49. package/behaviors/registry/app/atoms/std-lease.orb +508 -184
  50. package/behaviors/registry/app/atoms/std-ledger-entry.orb +474 -150
  51. package/behaviors/registry/app/atoms/std-maintenance-request.orb +653 -203
  52. package/behaviors/registry/app/atoms/std-matter.orb +482 -336
  53. package/behaviors/registry/app/atoms/std-membership.orb +521 -113
  54. package/behaviors/registry/app/atoms/std-menu.orb +766 -174
  55. package/behaviors/registry/app/atoms/std-modifier-group.orb +518 -100
  56. package/behaviors/registry/app/atoms/std-nps-survey.orb +330 -338
  57. package/behaviors/registry/app/atoms/std-offer-letter.orb +493 -43
  58. package/behaviors/registry/app/atoms/std-payout-ledger.orb +376 -360
  59. package/behaviors/registry/app/atoms/std-question-bank.orb +364 -331
  60. package/behaviors/registry/app/atoms/std-receipt.orb +566 -57
  61. package/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -842
  62. package/behaviors/registry/app/atoms/std-renewal-risk.orb +373 -436
  63. package/behaviors/registry/app/atoms/std-rent-charge.orb +659 -57
  64. package/behaviors/registry/app/atoms/std-reorder-rule.orb +497 -46
  65. package/behaviors/registry/app/atoms/std-response-collector.orb +456 -149
  66. package/behaviors/registry/app/atoms/std-rfi.orb +507 -466
  67. package/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  68. package/behaviors/registry/app/atoms/std-segment.orb +367 -113
  69. package/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  70. package/behaviors/registry/app/atoms/std-submittal.orb +538 -510
  71. package/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  72. package/behaviors/registry/app/atoms/std-technician-dispatch.orb +649 -67
  73. package/behaviors/registry/app/atoms/std-telematics-event.orb +324 -229
  74. package/behaviors/registry/app/atoms/std-template-editor.orb +527 -104
  75. package/behaviors/registry/app/atoms/std-tenant.orb +522 -63
  76. package/behaviors/registry/app/atoms/std-ticket-tier.orb +469 -457
  77. package/behaviors/registry/app/atoms/std-time-entry.orb +338 -301
  78. package/behaviors/registry/app/atoms/std-timesheet.orb +542 -298
  79. package/behaviors/registry/app/atoms/std-trial.orb +423 -337
  80. package/behaviors/registry/app/atoms/std-vehicle.orb +406 -571
  81. package/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  82. package/behaviors/registry/app/atoms/std-warehouse.orb +268 -214
  83. package/behaviors/registry/app/atoms/std-work-order.orb +629 -241
  84. package/behaviors/registry/app/molecules/std-applicant-form.orb +81 -75
  85. package/behaviors/registry/app/molecules/std-application.orb +168 -253
  86. package/behaviors/registry/app/molecules/std-broadcast-builder.orb +74 -200
  87. package/behaviors/registry/app/molecules/std-cart.orb +82 -76
  88. package/behaviors/registry/app/molecules/std-form-builder.orb +422 -161
  89. package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +622 -154
  90. package/behaviors/registry/app/molecules/std-stock-adjustment.orb +512 -113
  91. package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +390 -476
  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 +505 -101
  136. package/behaviors/registry/core/atoms/std-branching-logic.orb +265 -594
  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 +541 -159
  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 +119 -102
  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 +93 -63
  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 +341 -459
  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 +298 -433
  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 +462 -438
  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 +227 -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 +497 -43
  241. package/dist/behaviors/registry/app/atoms/std-approval-request.orb +451 -625
  242. package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +443 -238
  243. package/dist/behaviors/registry/app/atoms/std-change-order.orb +563 -305
  244. package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +435 -98
  245. package/dist/behaviors/registry/app/atoms/std-checkin.orb +436 -272
  246. package/dist/behaviors/registry/app/atoms/std-checkout-terminal.orb +458 -260
  247. package/dist/behaviors/registry/app/atoms/std-class-roster.orb +508 -74
  248. package/dist/behaviors/registry/app/atoms/std-class-session.orb +488 -101
  249. package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +525 -94
  250. package/dist/behaviors/registry/app/atoms/std-customer-account.orb +576 -96
  251. package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +497 -54
  252. package/dist/behaviors/registry/app/atoms/std-donor.orb +440 -153
  253. package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +453 -70
  254. package/dist/behaviors/registry/app/atoms/std-driver.orb +477 -492
  255. package/dist/behaviors/registry/app/atoms/std-dunning.orb +442 -515
  256. package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +518 -65
  257. package/dist/behaviors/registry/app/atoms/std-event.orb +467 -669
  258. package/dist/behaviors/registry/app/atoms/std-health-score.orb +371 -436
  259. package/dist/behaviors/registry/app/atoms/std-help-article.orb +374 -532
  260. package/dist/behaviors/registry/app/atoms/std-help-category.orb +347 -369
  261. package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +491 -49
  262. package/dist/behaviors/registry/app/atoms/std-invoice.orb +488 -303
  263. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +632 -140
  264. package/dist/behaviors/registry/app/atoms/std-lease.orb +508 -184
  265. package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +474 -150
  266. package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +653 -203
  267. package/dist/behaviors/registry/app/atoms/std-matter.orb +482 -336
  268. package/dist/behaviors/registry/app/atoms/std-membership.orb +521 -113
  269. package/dist/behaviors/registry/app/atoms/std-menu.orb +766 -174
  270. package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +518 -100
  271. package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +330 -338
  272. package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +493 -43
  273. package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +376 -360
  274. package/dist/behaviors/registry/app/atoms/std-question-bank.orb +364 -331
  275. package/dist/behaviors/registry/app/atoms/std-receipt.orb +566 -57
  276. package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -842
  277. package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +373 -436
  278. package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +659 -57
  279. package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +497 -46
  280. package/dist/behaviors/registry/app/atoms/std-response-collector.orb +456 -149
  281. package/dist/behaviors/registry/app/atoms/std-rfi.orb +507 -466
  282. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
  283. package/dist/behaviors/registry/app/atoms/std-segment.orb +367 -113
  284. package/dist/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
  285. package/dist/behaviors/registry/app/atoms/std-submittal.orb +538 -510
  286. package/dist/behaviors/registry/app/atoms/std-table-map.orb +88 -51
  287. package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +649 -67
  288. package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +324 -229
  289. package/dist/behaviors/registry/app/atoms/std-template-editor.orb +527 -104
  290. package/dist/behaviors/registry/app/atoms/std-tenant.orb +522 -63
  291. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +469 -457
  292. package/dist/behaviors/registry/app/atoms/std-time-entry.orb +338 -301
  293. package/dist/behaviors/registry/app/atoms/std-timesheet.orb +542 -298
  294. package/dist/behaviors/registry/app/atoms/std-trial.orb +423 -337
  295. package/dist/behaviors/registry/app/atoms/std-vehicle.orb +406 -571
  296. package/dist/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
  297. package/dist/behaviors/registry/app/atoms/std-warehouse.orb +268 -214
  298. package/dist/behaviors/registry/app/atoms/std-work-order.orb +629 -241
  299. package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +81 -75
  300. package/dist/behaviors/registry/app/molecules/std-application.orb +168 -253
  301. package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +74 -200
  302. package/dist/behaviors/registry/app/molecules/std-cart.orb +82 -76
  303. package/dist/behaviors/registry/app/molecules/std-form-builder.orb +422 -161
  304. package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +622 -154
  305. package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +512 -113
  306. package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +390 -476
  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 +505 -101
  351. package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +265 -594
  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 +541 -159
  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 +119 -102
  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 +93 -63
  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 +341 -459
  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 +298 -433
  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 +462 -438
  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 +227 -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
@@ -74,6 +74,61 @@
74
74
  "category": "interaction",
75
75
  "linkedEntity": "KitchenTicket",
76
76
  "emits": [
77
+ {
78
+ "event": "OPEN_TICKET",
79
+ "payloadSchema": [
80
+ {
81
+ "name": "id",
82
+ "type": "string",
83
+ "required": true
84
+ },
85
+ {
86
+ "name": "row.id",
87
+ "type": "string",
88
+ "required": true
89
+ },
90
+ {
91
+ "name": "row.orderId",
92
+ "type": "string",
93
+ "required": true
94
+ },
95
+ {
96
+ "name": "row.tableLabel",
97
+ "type": "string"
98
+ },
99
+ {
100
+ "name": "row.serverName",
101
+ "type": "string"
102
+ },
103
+ {
104
+ "name": "row.itemsJson",
105
+ "type": "string"
106
+ },
107
+ {
108
+ "name": "row.status",
109
+ "type": "string"
110
+ },
111
+ {
112
+ "name": "row.aging",
113
+ "type": "string"
114
+ },
115
+ {
116
+ "name": "row.receivedAt",
117
+ "type": "string"
118
+ },
119
+ {
120
+ "name": "row.readyAt",
121
+ "type": "string"
122
+ },
123
+ {
124
+ "name": "row.servedAt",
125
+ "type": "string"
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "event": "CLOSE_VIEW"
131
+ },
77
132
  {
78
133
  "event": "MARK_PREPARING",
79
134
  "payloadSchema": [
@@ -332,6 +387,9 @@
332
387
  {
333
388
  "name": "browsing"
334
389
  },
390
+ {
391
+ "name": "viewing_single"
392
+ },
335
393
  {
336
394
  "name": "error"
337
395
  }
@@ -366,31 +424,11 @@
366
424
  ]
367
425
  },
368
426
  {
369
- "key": "MARK_PREPARING",
370
- "name": "Mark Preparing",
371
- "payloadSchema": [
372
- {
373
- "name": "ticketId",
374
- "type": "string",
375
- "required": true
376
- },
377
- {
378
- "name": "row",
379
- "type": "KitchenTicket"
380
- }
381
- ]
382
- },
383
- {
384
- "key": "MARK_READY",
385
- "name": "Mark Ready",
427
+ "key": "OPEN_TICKET",
428
+ "name": "Open Ticket",
386
429
  "payloadSchema": [
387
430
  {
388
- "name": "ticketId",
389
- "type": "string",
390
- "required": true
391
- },
392
- {
393
- "name": "readyAt",
431
+ "name": "id",
394
432
  "type": "string",
395
433
  "required": true
396
434
  },
@@ -443,6 +481,45 @@
443
481
  "type": "string"
444
482
  }
445
483
  ]
484
+ },
485
+ {
486
+ "key": "CLOSE_VIEW",
487
+ "name": "Close View"
488
+ },
489
+ {
490
+ "key": "MARK_PREPARING",
491
+ "name": "Mark Preparing",
492
+ "payloadSchema": [
493
+ {
494
+ "name": "ticketId",
495
+ "type": "string",
496
+ "required": true
497
+ },
498
+ {
499
+ "name": "row",
500
+ "type": "KitchenTicket"
501
+ }
502
+ ]
503
+ },
504
+ {
505
+ "key": "MARK_READY",
506
+ "name": "Mark Ready",
507
+ "payloadSchema": [
508
+ {
509
+ "name": "ticketId",
510
+ "type": "string",
511
+ "required": true
512
+ },
513
+ {
514
+ "name": "readyAt",
515
+ "type": "string",
516
+ "required": true
517
+ },
518
+ {
519
+ "name": "row",
520
+ "type": "KitchenTicket"
521
+ }
522
+ ]
446
523
  }
447
524
  ],
448
525
  "transitions": [
@@ -456,8 +533,8 @@
456
533
  "KitchenTicket",
457
534
  {
458
535
  "emit": {
459
- "success": "KitchenTicketLoaded",
460
- "failure": "KitchenTicketLoadFailed"
536
+ "failure": "KitchenTicketLoadFailed",
537
+ "success": "KitchenTicketLoaded"
461
538
  }
462
539
  }
463
540
  ],
@@ -465,22 +542,22 @@
465
542
  "render-ui",
466
543
  "main",
467
544
  {
468
- "type": "stack",
469
- "gap": "md",
470
545
  "align": "center",
471
- "className": "py-12",
472
- "direction": "vertical",
473
546
  "children": [
474
547
  {
475
548
  "type": "spinner"
476
549
  },
477
550
  {
478
- "variant": "caption",
551
+ "color": "muted",
479
552
  "type": "typography",
480
553
  "content": "Loading kitchen tickets…",
481
- "color": "muted"
554
+ "variant": "caption"
482
555
  }
483
- ]
556
+ ],
557
+ "className": "py-12",
558
+ "gap": "md",
559
+ "type": "stack",
560
+ "direction": "vertical"
484
561
  }
485
562
  ]
486
563
  ]
@@ -494,45 +571,90 @@
494
571
  "render-ui",
495
572
  "main",
496
573
  {
497
- "gap": "md",
498
- "direction": "vertical",
499
574
  "children": [
500
575
  {
501
576
  "children": [
502
577
  {
503
- "type": "icon",
504
- "name": "chef-hat"
578
+ "name": "chef-hat",
579
+ "type": "icon"
505
580
  },
506
581
  {
507
- "content": "@config.title",
508
582
  "variant": "h3",
583
+ "content": "@config.title",
509
584
  "type": "typography"
510
585
  }
511
586
  ],
587
+ "direction": "horizontal",
512
588
  "type": "stack",
513
- "gap": "sm",
514
- "direction": "horizontal"
589
+ "align": "center",
590
+ "gap": "sm"
591
+ },
592
+ {
593
+ "type": "simple-grid",
594
+ "cols": 4.0,
595
+ "children": [
596
+ {
597
+ "label": "Open tickets",
598
+ "value": "@payload.data.length",
599
+ "icon": "chef-hat",
600
+ "type": "stat-display"
601
+ },
602
+ {
603
+ "type": "stat-display",
604
+ "icon": "flame",
605
+ "value": "8",
606
+ "label": "Preparing"
607
+ },
608
+ {
609
+ "icon": "check-circle",
610
+ "value": "3",
611
+ "label": "Ready",
612
+ "type": "stat-display"
613
+ },
614
+ {
615
+ "value": "14",
616
+ "label": "Avg prep (min)",
617
+ "icon": "clock",
618
+ "type": "stat-display"
619
+ }
620
+ ]
515
621
  },
516
622
  {
517
623
  "type": "divider"
518
624
  },
519
625
  {
626
+ "cols": 1.0,
627
+ "itemActions": [
628
+ {
629
+ "label": "Open",
630
+ "variant": "primary",
631
+ "event": "OPEN_TICKET",
632
+ "icon": "arrow-right"
633
+ },
634
+ {
635
+ "icon": "utensils",
636
+ "label": "Mark Served",
637
+ "variant": "danger",
638
+ "event": "MARK_SERVED"
639
+ }
640
+ ],
520
641
  "type": "data-grid",
642
+ "entity": "@payload.data",
521
643
  "fields": [
522
644
  {
523
- "name": "orderId",
524
645
  "label": "Order",
646
+ "name": "orderId",
525
647
  "variant": "caption"
526
648
  },
527
649
  {
650
+ "variant": "caption",
528
651
  "name": "tableLabel",
529
- "label": "Table",
530
- "variant": "caption"
652
+ "label": "Table"
531
653
  },
532
654
  {
533
- "variant": "caption",
655
+ "label": "Server",
534
656
  "name": "serverName",
535
- "label": "Server"
657
+ "variant": "caption"
536
658
  },
537
659
  {
538
660
  "label": "Status",
@@ -545,37 +667,17 @@
545
667
  "label": "Aging"
546
668
  },
547
669
  {
548
- "name": "receivedAt",
670
+ "label": "Received",
549
671
  "variant": "caption",
550
- "label": "Received"
672
+ "name": "receivedAt"
551
673
  }
552
674
  ],
553
- "cols": 1.0,
554
- "entity": "@payload.data",
555
- "gap": "sm",
556
- "itemActions": [
557
- {
558
- "variant": "secondary",
559
- "label": "Mark Preparing",
560
- "icon": "flame",
561
- "event": "MARK_PREPARING"
562
- },
563
- {
564
- "event": "MARK_READY",
565
- "variant": "primary",
566
- "icon": "check",
567
- "label": "Mark Ready"
568
- },
569
- {
570
- "icon": "utensils",
571
- "variant": "primary",
572
- "label": "Mark Served",
573
- "event": "MARK_SERVED"
574
- }
575
- ]
675
+ "gap": "sm"
576
676
  }
577
677
  ],
578
- "type": "stack"
678
+ "type": "stack",
679
+ "direction": "vertical",
680
+ "gap": "md"
579
681
  }
580
682
  ]
581
683
  ]
@@ -589,107 +691,295 @@
589
691
  "render-ui",
590
692
  "main",
591
693
  {
592
- "variant": "error",
694
+ "type": "alert",
593
695
  "message": "@payload.error",
594
- "type": "alert"
696
+ "variant": "error"
595
697
  }
596
698
  ]
597
699
  ]
598
700
  },
599
701
  {
600
702
  "from": "browsing",
601
- "to": "browsing",
602
- "event": "MARK_PREPARING",
703
+ "to": "viewing_single",
704
+ "event": "OPEN_TICKET",
603
705
  "effects": [
604
706
  [
605
707
  "set",
606
708
  "@entity.id",
607
- "@payload.ticketId"
709
+ "@payload.row.id"
608
710
  ],
609
711
  [
610
712
  "set",
611
- "@entity.status",
612
- "preparing"
713
+ "@entity.orderId",
714
+ "@payload.row.orderId"
613
715
  ],
614
716
  [
615
- "persist",
616
- "update",
617
- "KitchenTicket",
618
- "@entity",
619
- {
620
- "emit": {
621
- "success": "KitchenTicketUpdated",
622
- "failure": "KitchenTicketUpdateFailed"
623
- }
624
- }
625
- ]
626
- ]
627
- },
628
- {
629
- "from": "browsing",
630
- "to": "browsing",
631
- "event": "MARK_READY",
632
- "effects": [
717
+ "set",
718
+ "@entity.tableLabel",
719
+ "@payload.row.tableLabel"
720
+ ],
633
721
  [
634
722
  "set",
635
- "@entity.id",
636
- "@payload.ticketId"
723
+ "@entity.serverName",
724
+ "@payload.row.serverName"
637
725
  ],
638
726
  [
639
727
  "set",
640
- "@entity.status",
641
- "ready"
728
+ "@entity.itemsJson",
729
+ "@payload.row.itemsJson"
642
730
  ],
643
731
  [
644
732
  "set",
645
- "@entity.readyAt",
646
- "@payload.readyAt"
733
+ "@entity.status",
734
+ "@payload.row.status"
647
735
  ],
648
736
  [
649
- "persist",
650
- "update",
651
- "KitchenTicket",
652
- "@entity",
653
- {
654
- "emit": {
655
- "failure": "KitchenTicketUpdateFailed",
656
- "success": "KitchenTicketUpdated"
657
- }
658
- }
659
- ]
660
- ]
661
- },
662
- {
663
- "from": "browsing",
664
- "to": "browsing",
665
- "event": "MARK_SERVED",
666
- "effects": [
737
+ "set",
738
+ "@entity.aging",
739
+ "@payload.row.aging"
740
+ ],
667
741
  [
668
742
  "set",
669
- "@entity.id",
670
- "@payload.ticketId"
743
+ "@entity.receivedAt",
744
+ "@payload.row.receivedAt"
671
745
  ],
672
746
  [
673
747
  "set",
674
- "@entity.status",
675
- "served"
748
+ "@entity.readyAt",
749
+ "@payload.row.readyAt"
676
750
  ],
677
751
  [
678
752
  "set",
679
753
  "@entity.servedAt",
680
- "@payload.servedAt"
754
+ "@payload.row.servedAt"
681
755
  ],
682
756
  [
683
- "persist",
684
- "update",
685
- "KitchenTicket",
686
- "@entity",
757
+ "render-ui",
758
+ "main",
687
759
  {
688
- "emit": {
760
+ "direction": "vertical",
761
+ "gap": "md",
762
+ "children": [
763
+ {
764
+ "direction": "horizontal",
765
+ "type": "stack",
766
+ "gap": "sm",
767
+ "align": "center",
768
+ "children": [
769
+ {
770
+ "type": "button",
771
+ "variant": "ghost",
772
+ "action": "CLOSE_VIEW",
773
+ "label": "Back"
774
+ },
775
+ {
776
+ "type": "icon",
777
+ "name": "chef-hat"
778
+ },
779
+ {
780
+ "type": "typography",
781
+ "variant": "h3",
782
+ "content": "@entity.orderId"
783
+ },
784
+ {
785
+ "variant": "primary",
786
+ "label": "@entity.status",
787
+ "type": "badge"
788
+ },
789
+ {
790
+ "variant": "default",
791
+ "label": "@entity.aging",
792
+ "type": "badge"
793
+ }
794
+ ]
795
+ },
796
+ {
797
+ "type": "divider"
798
+ },
799
+ {
800
+ "children": [
801
+ {
802
+ "gap": "md",
803
+ "type": "stack",
804
+ "direction": "horizontal",
805
+ "children": [
806
+ {
807
+ "content": "Table",
808
+ "color": "muted",
809
+ "variant": "caption",
810
+ "type": "typography"
811
+ },
812
+ {
813
+ "type": "typography",
814
+ "variant": "body",
815
+ "content": "@entity.tableLabel"
816
+ }
817
+ ]
818
+ },
819
+ {
820
+ "gap": "md",
821
+ "type": "stack",
822
+ "direction": "horizontal",
823
+ "children": [
824
+ {
825
+ "color": "muted",
826
+ "variant": "caption",
827
+ "type": "typography",
828
+ "content": "Server"
829
+ },
830
+ {
831
+ "content": "@entity.serverName",
832
+ "variant": "body",
833
+ "type": "typography"
834
+ }
835
+ ]
836
+ },
837
+ {
838
+ "children": [
839
+ {
840
+ "type": "typography",
841
+ "variant": "caption",
842
+ "color": "muted",
843
+ "content": "Items"
844
+ },
845
+ {
846
+ "type": "typography",
847
+ "variant": "body",
848
+ "content": "@entity.itemsJson"
849
+ }
850
+ ],
851
+ "gap": "md",
852
+ "type": "stack",
853
+ "direction": "horizontal"
854
+ }
855
+ ],
856
+ "type": "stack",
857
+ "gap": "sm",
858
+ "direction": "vertical"
859
+ },
860
+ {
861
+ "type": "divider"
862
+ },
863
+ {
864
+ "type": "simple-grid",
865
+ "children": [
866
+ {
867
+ "icon": "clock",
868
+ "label": "Received",
869
+ "type": "stat-display",
870
+ "value": "@entity.receivedAt"
871
+ },
872
+ {
873
+ "value": "@entity.readyAt",
874
+ "icon": "check-circle",
875
+ "type": "stat-display",
876
+ "label": "Ready at"
877
+ },
878
+ {
879
+ "type": "stat-display",
880
+ "value": "@entity.servedAt",
881
+ "icon": "utensils",
882
+ "label": "Served at"
883
+ }
884
+ ],
885
+ "cols": 3.0
886
+ },
887
+ {
888
+ "gap": "sm",
889
+ "type": "stack",
890
+ "align": "center",
891
+ "children": [
892
+ {
893
+ "actionPayload": {
894
+ "ticketId": "@entity.id"
895
+ },
896
+ "type": "button",
897
+ "variant": "secondary",
898
+ "action": "MARK_PREPARING",
899
+ "label": "Mark Preparing"
900
+ },
901
+ {
902
+ "actionPayload": {
903
+ "readyAt": "now",
904
+ "ticketId": "@entity.id"
905
+ },
906
+ "variant": "primary",
907
+ "type": "button",
908
+ "action": "MARK_READY",
909
+ "label": "Mark Ready"
910
+ },
911
+ {
912
+ "action": "MARK_SERVED",
913
+ "label": "Mark Served",
914
+ "type": "button",
915
+ "variant": "primary",
916
+ "actionPayload": {
917
+ "servedAt": "now",
918
+ "ticketId": "@entity.id"
919
+ }
920
+ }
921
+ ],
922
+ "direction": "horizontal"
923
+ }
924
+ ],
925
+ "type": "stack"
926
+ }
927
+ ]
928
+ ]
929
+ },
930
+ {
931
+ "from": "browsing",
932
+ "to": "loading",
933
+ "event": "MARK_SERVED",
934
+ "effects": [
935
+ [
936
+ "set",
937
+ "@entity.id",
938
+ "@payload.ticketId"
939
+ ],
940
+ [
941
+ "set",
942
+ "@entity.status",
943
+ "served"
944
+ ],
945
+ [
946
+ "set",
947
+ "@entity.servedAt",
948
+ "@payload.servedAt"
949
+ ],
950
+ [
951
+ "persist",
952
+ "update",
953
+ "KitchenTicket",
954
+ "@entity",
955
+ {
956
+ "emit": {
689
957
  "failure": "KitchenTicketUpdateFailed",
690
958
  "success": "KitchenTicketUpdated"
691
959
  }
692
960
  }
961
+ ],
962
+ [
963
+ "render-ui",
964
+ "main",
965
+ {
966
+ "align": "center",
967
+ "type": "stack",
968
+ "className": "py-12",
969
+ "children": [
970
+ {
971
+ "type": "spinner"
972
+ },
973
+ {
974
+ "variant": "caption",
975
+ "color": "muted",
976
+ "content": "Marking ticket served…",
977
+ "type": "typography"
978
+ }
979
+ ],
980
+ "direction": "vertical",
981
+ "gap": "md"
982
+ }
693
983
  ]
694
984
  ]
695
985
  },
@@ -703,8 +993,8 @@
703
993
  "KitchenTicket",
704
994
  {
705
995
  "emit": {
706
- "failure": "KitchenTicketLoadFailed",
707
- "success": "KitchenTicketLoaded"
996
+ "success": "KitchenTicketLoaded",
997
+ "failure": "KitchenTicketLoadFailed"
708
998
  }
709
999
  }
710
1000
  ]
@@ -719,9 +1009,211 @@
719
1009
  "render-ui",
720
1010
  "main",
721
1011
  {
722
- "variant": "error",
723
1012
  "type": "alert",
724
- "message": "@payload.error"
1013
+ "message": "@payload.error",
1014
+ "variant": "error"
1015
+ }
1016
+ ]
1017
+ ]
1018
+ },
1019
+ {
1020
+ "from": "viewing_single",
1021
+ "to": "loading",
1022
+ "event": "CLOSE_VIEW",
1023
+ "effects": [
1024
+ [
1025
+ "fetch",
1026
+ "KitchenTicket",
1027
+ {
1028
+ "emit": {
1029
+ "failure": "KitchenTicketLoadFailed",
1030
+ "success": "KitchenTicketLoaded"
1031
+ }
1032
+ }
1033
+ ],
1034
+ [
1035
+ "render-ui",
1036
+ "main",
1037
+ {
1038
+ "type": "stack",
1039
+ "gap": "md",
1040
+ "className": "py-12",
1041
+ "align": "center",
1042
+ "direction": "vertical",
1043
+ "children": [
1044
+ {
1045
+ "type": "spinner"
1046
+ },
1047
+ {
1048
+ "color": "muted",
1049
+ "type": "typography",
1050
+ "variant": "caption",
1051
+ "content": "Loading kitchen tickets…"
1052
+ }
1053
+ ]
1054
+ }
1055
+ ]
1056
+ ]
1057
+ },
1058
+ {
1059
+ "from": "viewing_single",
1060
+ "to": "loading",
1061
+ "event": "MARK_PREPARING",
1062
+ "effects": [
1063
+ [
1064
+ "set",
1065
+ "@entity.id",
1066
+ "@payload.ticketId"
1067
+ ],
1068
+ [
1069
+ "set",
1070
+ "@entity.status",
1071
+ "preparing"
1072
+ ],
1073
+ [
1074
+ "persist",
1075
+ "update",
1076
+ "KitchenTicket",
1077
+ "@entity",
1078
+ {
1079
+ "emit": {
1080
+ "failure": "KitchenTicketUpdateFailed",
1081
+ "success": "KitchenTicketUpdated"
1082
+ }
1083
+ }
1084
+ ],
1085
+ [
1086
+ "render-ui",
1087
+ "main",
1088
+ {
1089
+ "gap": "md",
1090
+ "children": [
1091
+ {
1092
+ "type": "spinner"
1093
+ },
1094
+ {
1095
+ "variant": "caption",
1096
+ "color": "muted",
1097
+ "type": "typography",
1098
+ "content": "Marking ticket preparing…"
1099
+ }
1100
+ ],
1101
+ "type": "stack",
1102
+ "direction": "vertical",
1103
+ "align": "center",
1104
+ "className": "py-12"
1105
+ }
1106
+ ]
1107
+ ]
1108
+ },
1109
+ {
1110
+ "from": "viewing_single",
1111
+ "to": "loading",
1112
+ "event": "MARK_READY",
1113
+ "effects": [
1114
+ [
1115
+ "set",
1116
+ "@entity.id",
1117
+ "@payload.ticketId"
1118
+ ],
1119
+ [
1120
+ "set",
1121
+ "@entity.status",
1122
+ "ready"
1123
+ ],
1124
+ [
1125
+ "set",
1126
+ "@entity.readyAt",
1127
+ "@payload.readyAt"
1128
+ ],
1129
+ [
1130
+ "persist",
1131
+ "update",
1132
+ "KitchenTicket",
1133
+ "@entity",
1134
+ {
1135
+ "emit": {
1136
+ "success": "KitchenTicketUpdated",
1137
+ "failure": "KitchenTicketUpdateFailed"
1138
+ }
1139
+ }
1140
+ ],
1141
+ [
1142
+ "render-ui",
1143
+ "main",
1144
+ {
1145
+ "type": "stack",
1146
+ "align": "center",
1147
+ "className": "py-12",
1148
+ "direction": "vertical",
1149
+ "children": [
1150
+ {
1151
+ "type": "spinner"
1152
+ },
1153
+ {
1154
+ "variant": "caption",
1155
+ "content": "Marking ticket ready…",
1156
+ "type": "typography",
1157
+ "color": "muted"
1158
+ }
1159
+ ],
1160
+ "gap": "md"
1161
+ }
1162
+ ]
1163
+ ]
1164
+ },
1165
+ {
1166
+ "from": "viewing_single",
1167
+ "to": "loading",
1168
+ "event": "MARK_SERVED",
1169
+ "effects": [
1170
+ [
1171
+ "set",
1172
+ "@entity.id",
1173
+ "@payload.ticketId"
1174
+ ],
1175
+ [
1176
+ "set",
1177
+ "@entity.status",
1178
+ "served"
1179
+ ],
1180
+ [
1181
+ "set",
1182
+ "@entity.servedAt",
1183
+ "@payload.servedAt"
1184
+ ],
1185
+ [
1186
+ "persist",
1187
+ "update",
1188
+ "KitchenTicket",
1189
+ "@entity",
1190
+ {
1191
+ "emit": {
1192
+ "success": "KitchenTicketUpdated",
1193
+ "failure": "KitchenTicketUpdateFailed"
1194
+ }
1195
+ }
1196
+ ],
1197
+ [
1198
+ "render-ui",
1199
+ "main",
1200
+ {
1201
+ "align": "center",
1202
+ "className": "py-12",
1203
+ "children": [
1204
+ {
1205
+ "type": "spinner"
1206
+ },
1207
+ {
1208
+ "type": "typography",
1209
+ "variant": "caption",
1210
+ "content": "Marking ticket served…",
1211
+ "color": "muted"
1212
+ }
1213
+ ],
1214
+ "direction": "vertical",
1215
+ "gap": "md",
1216
+ "type": "stack"
725
1217
  }
726
1218
  ]
727
1219
  ]
@@ -745,8 +1237,8 @@
745
1237
  "render-ui",
746
1238
  "main",
747
1239
  {
748
- "size": "sm",
749
- "type": "spinner"
1240
+ "type": "spinner",
1241
+ "size": "sm"
750
1242
  }
751
1243
  ]
752
1244
  ]
@@ -754,13 +1246,13 @@
754
1246
  ]
755
1247
  },
756
1248
  "config": {
757
- "title": {
758
- "type": "string",
759
- "default": "Kitchen Display"
760
- },
761
1249
  "overdueMinutes": {
762
1250
  "type": "number",
763
1251
  "default": 20.0
1252
+ },
1253
+ "title": {
1254
+ "type": "string",
1255
+ "default": "Kitchen Display"
764
1256
  }
765
1257
  },
766
1258
  "scope": "collection"
@@ -779,4 +1271,4 @@
779
1271
  ]
780
1272
  }
781
1273
  ]
782
- }
1274
+ }