@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
@@ -88,6 +88,79 @@
88
88
  "category": "interaction",
89
89
  "linkedEntity": "MenuItem",
90
90
  "emits": [
91
+ {
92
+ "event": "OPEN_ITEM",
93
+ "payloadSchema": [
94
+ {
95
+ "name": "id",
96
+ "type": "string",
97
+ "required": true
98
+ },
99
+ {
100
+ "name": "row.id",
101
+ "type": "string",
102
+ "required": true
103
+ },
104
+ {
105
+ "name": "row.name",
106
+ "type": "string",
107
+ "required": true
108
+ },
109
+ {
110
+ "name": "row.description",
111
+ "type": "string"
112
+ },
113
+ {
114
+ "name": "row.price",
115
+ "type": "number",
116
+ "required": true
117
+ },
118
+ {
119
+ "name": "row.currency",
120
+ "type": "string"
121
+ },
122
+ {
123
+ "name": "row.category",
124
+ "type": "string",
125
+ "required": true
126
+ },
127
+ {
128
+ "name": "row.imageUrl",
129
+ "type": "string"
130
+ },
131
+ {
132
+ "name": "row.available",
133
+ "type": "boolean"
134
+ },
135
+ {
136
+ "name": "row.availableFrom",
137
+ "type": "string"
138
+ },
139
+ {
140
+ "name": "row.availableUntil",
141
+ "type": "string"
142
+ },
143
+ {
144
+ "name": "row.tags",
145
+ "type": "[string]"
146
+ },
147
+ {
148
+ "name": "row.modifierGroupIds",
149
+ "type": "[string]"
150
+ },
151
+ {
152
+ "name": "row.prepTimeMinutes",
153
+ "type": "number"
154
+ },
155
+ {
156
+ "name": "row.order",
157
+ "type": "number"
158
+ }
159
+ ]
160
+ },
161
+ {
162
+ "event": "CLOSE_VIEW"
163
+ },
91
164
  {
92
165
  "event": "CREATE",
93
166
  "payloadSchema": [
@@ -553,6 +626,9 @@
553
626
  {
554
627
  "name": "browsing"
555
628
  },
629
+ {
630
+ "name": "viewing_single"
631
+ },
556
632
  {
557
633
  "name": "error"
558
634
  }
@@ -587,42 +663,11 @@
587
663
  ]
588
664
  },
589
665
  {
590
- "key": "CREATE",
591
- "name": "Create",
592
- "payloadSchema": [
593
- {
594
- "name": "data",
595
- "type": "object",
596
- "required": true
597
- }
598
- ]
599
- },
600
- {
601
- "key": "UPDATE",
602
- "name": "Update",
603
- "payloadSchema": [
604
- {
605
- "name": "itemId",
606
- "type": "string",
607
- "required": true
608
- },
609
- {
610
- "name": "row",
611
- "type": "MenuItem"
612
- },
613
- {
614
- "name": "data",
615
- "type": "object",
616
- "required": true
617
- }
618
- ]
619
- },
620
- {
621
- "key": "TOGGLE_AVAILABLE",
622
- "name": "Toggle Available",
666
+ "key": "OPEN_ITEM",
667
+ "name": "Open Item",
623
668
  "payloadSchema": [
624
669
  {
625
- "name": "itemId",
670
+ "name": "id",
626
671
  "type": "string",
627
672
  "required": true
628
673
  },
@@ -690,6 +735,56 @@
690
735
  "type": "string"
691
736
  }
692
737
  ]
738
+ },
739
+ {
740
+ "key": "CLOSE_VIEW",
741
+ "name": "Close View"
742
+ },
743
+ {
744
+ "key": "CREATE",
745
+ "name": "Create",
746
+ "payloadSchema": [
747
+ {
748
+ "name": "data",
749
+ "type": "object",
750
+ "required": true
751
+ }
752
+ ]
753
+ },
754
+ {
755
+ "key": "UPDATE",
756
+ "name": "Update",
757
+ "payloadSchema": [
758
+ {
759
+ "name": "itemId",
760
+ "type": "string",
761
+ "required": true
762
+ },
763
+ {
764
+ "name": "row",
765
+ "type": "MenuItem"
766
+ },
767
+ {
768
+ "name": "data",
769
+ "type": "object",
770
+ "required": true
771
+ }
772
+ ]
773
+ },
774
+ {
775
+ "key": "TOGGLE_AVAILABLE",
776
+ "name": "Toggle Available",
777
+ "payloadSchema": [
778
+ {
779
+ "name": "itemId",
780
+ "type": "string",
781
+ "required": true
782
+ },
783
+ {
784
+ "name": "row",
785
+ "type": "MenuItem"
786
+ }
787
+ ]
693
788
  }
694
789
  ],
695
790
  "transitions": [
@@ -712,22 +807,22 @@
712
807
  "render-ui",
713
808
  "main",
714
809
  {
715
- "type": "stack",
716
810
  "gap": "md",
717
811
  "align": "center",
812
+ "type": "stack",
718
813
  "className": "py-12",
719
- "direction": "vertical",
720
814
  "children": [
721
815
  {
722
816
  "type": "spinner"
723
817
  },
724
818
  {
725
- "type": "typography",
726
- "color": "muted",
727
819
  "variant": "caption",
728
- "content": "Loading menu…"
820
+ "content": "Loading menu…",
821
+ "type": "typography",
822
+ "color": "muted"
729
823
  }
730
- ]
824
+ ],
825
+ "direction": "vertical"
731
826
  }
732
827
  ]
733
828
  ]
@@ -742,15 +837,16 @@
742
837
  "main",
743
838
  {
744
839
  "gap": "md",
745
- "direction": "vertical",
840
+ "type": "stack",
746
841
  "children": [
747
842
  {
843
+ "type": "stack",
748
844
  "direction": "horizontal",
749
- "gap": "sm",
845
+ "align": "center",
750
846
  "children": [
751
847
  {
752
- "type": "icon",
753
- "name": "utensils"
848
+ "name": "utensils",
849
+ "type": "icon"
754
850
  },
755
851
  {
756
852
  "type": "typography",
@@ -758,78 +854,95 @@
758
854
  "variant": "h3"
759
855
  }
760
856
  ],
761
- "type": "stack"
857
+ "gap": "sm"
858
+ },
859
+ {
860
+ "cols": 4.0,
861
+ "type": "simple-grid",
862
+ "children": [
863
+ {
864
+ "label": "Menu items",
865
+ "type": "stat-display",
866
+ "icon": "utensils",
867
+ "value": "@payload.data.length"
868
+ },
869
+ {
870
+ "value": "62",
871
+ "icon": "check-circle",
872
+ "label": "Available",
873
+ "type": "stat-display"
874
+ },
875
+ {
876
+ "icon": "list",
877
+ "type": "stat-display",
878
+ "value": "8",
879
+ "label": "Categories"
880
+ },
881
+ {
882
+ "value": "$14.50",
883
+ "type": "stat-display",
884
+ "label": "Avg price",
885
+ "icon": "dollar-sign"
886
+ }
887
+ ]
762
888
  },
763
889
  {
764
890
  "type": "divider"
765
891
  },
766
892
  {
893
+ "itemActions": [
894
+ {
895
+ "variant": "primary",
896
+ "icon": "arrow-right",
897
+ "label": "Open",
898
+ "event": "OPEN_ITEM"
899
+ },
900
+ {
901
+ "event": "DELETE",
902
+ "variant": "danger",
903
+ "label": "Delete",
904
+ "icon": "trash"
905
+ }
906
+ ],
767
907
  "fields": [
768
908
  {
909
+ "variant": "caption",
769
910
  "label": "Item",
770
- "name": "name",
771
- "variant": "badge"
911
+ "name": "name"
772
912
  },
773
913
  {
774
- "variant": "badge",
914
+ "label": "Category",
775
915
  "name": "category",
776
- "label": "Category"
916
+ "variant": "badge"
777
917
  },
778
918
  {
779
- "variant": "caption",
780
919
  "name": "price",
781
- "label": "Price"
920
+ "label": "Price",
921
+ "variant": "caption"
782
922
  },
783
923
  {
924
+ "label": "Currency",
784
925
  "variant": "badge",
785
- "name": "currency",
786
- "label": "Currency"
926
+ "name": "currency"
787
927
  },
788
928
  {
929
+ "variant": "caption",
789
930
  "name": "prepTimeMinutes",
790
- "label": "Prep (min)",
791
- "variant": "caption"
931
+ "label": "Prep (min)"
792
932
  },
793
933
  {
794
- "name": "available",
795
934
  "label": "Available",
935
+ "name": "available",
796
936
  "variant": "badge"
797
937
  }
798
938
  ],
799
- "itemActions": [
800
- {
801
- "label": "Update",
802
- "variant": "secondary",
803
- "event": "UPDATE",
804
- "icon": "edit"
805
- },
806
- {
807
- "event": "TOGGLE_AVAILABLE",
808
- "variant": "primary",
809
- "label": "Toggle",
810
- "icon": "power"
811
- },
812
- {
813
- "label": "Delete",
814
- "icon": "trash",
815
- "variant": "danger",
816
- "event": "DELETE"
817
- }
818
- ],
939
+ "gap": "sm",
819
940
  "type": "data-grid",
820
- "entity": "@payload.data",
821
941
  "cols": 1.0,
822
- "gap": "sm"
823
- },
824
- {
825
- "action": "CREATE",
826
- "label": "New Item",
827
- "type": "button",
828
- "variant": "primary",
829
- "icon": "plus"
942
+ "entity": "@payload.data"
830
943
  }
831
944
  ],
832
- "type": "stack"
945
+ "direction": "vertical"
833
946
  }
834
947
  ]
835
948
  ]
@@ -843,8 +956,8 @@
843
956
  "render-ui",
844
957
  "main",
845
958
  {
846
- "variant": "error",
847
959
  "type": "alert",
960
+ "variant": "error",
848
961
  "message": "@payload.error"
849
962
  }
850
963
  ]
@@ -852,32 +965,13 @@
852
965
  },
853
966
  {
854
967
  "from": "browsing",
855
- "to": "loading",
856
- "event": "CREATE",
857
- "effects": [
858
- [
859
- "persist",
860
- "create",
861
- "MenuItem",
862
- "@payload.data",
863
- {
864
- "emit": {
865
- "success": "MenuItemCreated",
866
- "failure": "MenuItemWriteFailed"
867
- }
868
- }
869
- ]
870
- ]
871
- },
872
- {
873
- "from": "browsing",
874
- "to": "loading",
875
- "event": "UPDATE",
968
+ "to": "viewing_single",
969
+ "event": "OPEN_ITEM",
876
970
  "effects": [
877
971
  [
878
972
  "set",
879
973
  "@entity.id",
880
- "@payload.itemId"
974
+ "@payload.row.id"
881
975
  ],
882
976
  [
883
977
  "set",
@@ -945,23 +1039,175 @@
945
1039
  "@payload.row.order"
946
1040
  ],
947
1041
  [
948
- "persist",
949
- "update",
950
- "MenuItem",
951
- "@entity",
1042
+ "render-ui",
1043
+ "main",
952
1044
  {
953
- "emit": {
954
- "success": "MenuItemUpdated",
955
- "failure": "MenuItemWriteFailed"
956
- }
957
- }
958
- ]
959
- ]
960
- },
961
- {
962
- "from": "browsing",
963
- "to": "loading",
964
- "event": "TOGGLE_AVAILABLE",
1045
+ "gap": "md",
1046
+ "children": [
1047
+ {
1048
+ "type": "stack",
1049
+ "direction": "horizontal",
1050
+ "gap": "sm",
1051
+ "align": "center",
1052
+ "children": [
1053
+ {
1054
+ "type": "button",
1055
+ "action": "CLOSE_VIEW",
1056
+ "label": "Back",
1057
+ "variant": "ghost"
1058
+ },
1059
+ {
1060
+ "type": "icon",
1061
+ "name": "utensils"
1062
+ },
1063
+ {
1064
+ "variant": "h3",
1065
+ "type": "typography",
1066
+ "content": "@entity.name"
1067
+ },
1068
+ {
1069
+ "type": "badge",
1070
+ "label": "@entity.category",
1071
+ "variant": "primary"
1072
+ }
1073
+ ]
1074
+ },
1075
+ {
1076
+ "type": "divider"
1077
+ },
1078
+ {
1079
+ "gap": "sm",
1080
+ "children": [
1081
+ {
1082
+ "type": "stack",
1083
+ "direction": "horizontal",
1084
+ "gap": "md",
1085
+ "children": [
1086
+ {
1087
+ "color": "muted",
1088
+ "content": "Description",
1089
+ "type": "typography",
1090
+ "variant": "caption"
1091
+ },
1092
+ {
1093
+ "content": "@entity.description",
1094
+ "variant": "body",
1095
+ "type": "typography"
1096
+ }
1097
+ ]
1098
+ },
1099
+ {
1100
+ "gap": "md",
1101
+ "type": "stack",
1102
+ "direction": "horizontal",
1103
+ "children": [
1104
+ {
1105
+ "variant": "caption",
1106
+ "type": "typography",
1107
+ "color": "muted",
1108
+ "content": "Available from"
1109
+ },
1110
+ {
1111
+ "type": "typography",
1112
+ "variant": "body",
1113
+ "content": "@entity.availableFrom"
1114
+ }
1115
+ ]
1116
+ },
1117
+ {
1118
+ "children": [
1119
+ {
1120
+ "color": "muted",
1121
+ "variant": "caption",
1122
+ "type": "typography",
1123
+ "content": "Available until"
1124
+ },
1125
+ {
1126
+ "variant": "body",
1127
+ "type": "typography",
1128
+ "content": "@entity.availableUntil"
1129
+ }
1130
+ ],
1131
+ "type": "stack",
1132
+ "direction": "horizontal",
1133
+ "gap": "md"
1134
+ }
1135
+ ],
1136
+ "direction": "vertical",
1137
+ "type": "stack"
1138
+ },
1139
+ {
1140
+ "type": "divider"
1141
+ },
1142
+ {
1143
+ "children": [
1144
+ {
1145
+ "type": "stat-display",
1146
+ "icon": "dollar-sign",
1147
+ "value": "@entity.price",
1148
+ "label": "Price"
1149
+ },
1150
+ {
1151
+ "label": "Currency",
1152
+ "type": "stat-display",
1153
+ "value": "@entity.currency",
1154
+ "icon": "circle-dollar-sign"
1155
+ },
1156
+ {
1157
+ "value": "@entity.prepTimeMinutes",
1158
+ "icon": "clock",
1159
+ "type": "stat-display",
1160
+ "label": "Prep (min)"
1161
+ },
1162
+ {
1163
+ "label": "Order",
1164
+ "icon": "list-ordered",
1165
+ "value": "@entity.order",
1166
+ "type": "stat-display"
1167
+ }
1168
+ ],
1169
+ "type": "simple-grid",
1170
+ "cols": 4.0
1171
+ },
1172
+ {
1173
+ "align": "center",
1174
+ "type": "stack",
1175
+ "gap": "sm",
1176
+ "direction": "horizontal",
1177
+ "children": [
1178
+ {
1179
+ "label": "Toggle Available",
1180
+ "action": "TOGGLE_AVAILABLE",
1181
+ "type": "button",
1182
+ "actionPayload": {
1183
+ "itemId": "@entity.id",
1184
+ "row": "@entity"
1185
+ },
1186
+ "variant": "primary"
1187
+ },
1188
+ {
1189
+ "label": "Delete",
1190
+ "type": "button",
1191
+ "variant": "danger",
1192
+ "actionPayload": {
1193
+ "itemId": "@entity.id",
1194
+ "row": "@entity"
1195
+ },
1196
+ "action": "DELETE"
1197
+ }
1198
+ ]
1199
+ }
1200
+ ],
1201
+ "type": "stack",
1202
+ "direction": "vertical"
1203
+ }
1204
+ ]
1205
+ ]
1206
+ },
1207
+ {
1208
+ "from": "browsing",
1209
+ "to": "loading",
1210
+ "event": "DELETE",
965
1211
  "effects": [
966
1212
  [
967
1213
  "set",
@@ -1001,10 +1247,7 @@
1001
1247
  [
1002
1248
  "set",
1003
1249
  "@entity.available",
1004
- [
1005
- "not",
1006
- "@payload.row.available"
1007
- ]
1250
+ "@payload.row.available"
1008
1251
  ],
1009
1252
  [
1010
1253
  "set",
@@ -1038,22 +1281,191 @@
1038
1281
  ],
1039
1282
  [
1040
1283
  "persist",
1041
- "update",
1284
+ "delete",
1042
1285
  "MenuItem",
1043
1286
  "@entity",
1044
1287
  {
1045
1288
  "emit": {
1046
- "success": "MenuItemUpdated",
1289
+ "success": "MenuItemDeleted",
1047
1290
  "failure": "MenuItemWriteFailed"
1048
1291
  }
1049
1292
  }
1293
+ ],
1294
+ [
1295
+ "render-ui",
1296
+ "main",
1297
+ {
1298
+ "direction": "vertical",
1299
+ "className": "py-12",
1300
+ "type": "stack",
1301
+ "align": "center",
1302
+ "gap": "md",
1303
+ "children": [
1304
+ {
1305
+ "type": "spinner"
1306
+ },
1307
+ {
1308
+ "type": "typography",
1309
+ "color": "muted",
1310
+ "content": "Deleting menu item…",
1311
+ "variant": "caption"
1312
+ }
1313
+ ]
1314
+ }
1050
1315
  ]
1051
1316
  ]
1052
1317
  },
1053
1318
  {
1054
1319
  "from": "browsing",
1055
1320
  "to": "loading",
1056
- "event": "DELETE",
1321
+ "event": "MenuItemCreated",
1322
+ "effects": [
1323
+ [
1324
+ "fetch",
1325
+ "MenuItem",
1326
+ {
1327
+ "emit": {
1328
+ "failure": "MenuItemLoadFailed",
1329
+ "success": "MenuItemLoaded"
1330
+ }
1331
+ }
1332
+ ]
1333
+ ]
1334
+ },
1335
+ {
1336
+ "from": "browsing",
1337
+ "to": "loading",
1338
+ "event": "MenuItemUpdated",
1339
+ "effects": [
1340
+ [
1341
+ "fetch",
1342
+ "MenuItem",
1343
+ {
1344
+ "emit": {
1345
+ "failure": "MenuItemLoadFailed",
1346
+ "success": "MenuItemLoaded"
1347
+ }
1348
+ }
1349
+ ]
1350
+ ]
1351
+ },
1352
+ {
1353
+ "from": "browsing",
1354
+ "to": "loading",
1355
+ "event": "MenuItemDeleted",
1356
+ "effects": [
1357
+ [
1358
+ "fetch",
1359
+ "MenuItem",
1360
+ {
1361
+ "emit": {
1362
+ "failure": "MenuItemLoadFailed",
1363
+ "success": "MenuItemLoaded"
1364
+ }
1365
+ }
1366
+ ]
1367
+ ]
1368
+ },
1369
+ {
1370
+ "from": "browsing",
1371
+ "to": "browsing",
1372
+ "event": "MenuItemWriteFailed",
1373
+ "effects": [
1374
+ [
1375
+ "render-ui",
1376
+ "main",
1377
+ {
1378
+ "variant": "error",
1379
+ "message": "@payload.error",
1380
+ "type": "alert"
1381
+ }
1382
+ ]
1383
+ ]
1384
+ },
1385
+ {
1386
+ "from": "viewing_single",
1387
+ "to": "loading",
1388
+ "event": "CLOSE_VIEW",
1389
+ "effects": [
1390
+ [
1391
+ "fetch",
1392
+ "MenuItem",
1393
+ {
1394
+ "emit": {
1395
+ "failure": "MenuItemLoadFailed",
1396
+ "success": "MenuItemLoaded"
1397
+ }
1398
+ }
1399
+ ],
1400
+ [
1401
+ "render-ui",
1402
+ "main",
1403
+ {
1404
+ "type": "stack",
1405
+ "direction": "vertical",
1406
+ "gap": "md",
1407
+ "align": "center",
1408
+ "className": "py-12",
1409
+ "children": [
1410
+ {
1411
+ "type": "spinner"
1412
+ },
1413
+ {
1414
+ "type": "typography",
1415
+ "content": "Loading menu…",
1416
+ "color": "muted",
1417
+ "variant": "caption"
1418
+ }
1419
+ ]
1420
+ }
1421
+ ]
1422
+ ]
1423
+ },
1424
+ {
1425
+ "from": "viewing_single",
1426
+ "to": "loading",
1427
+ "event": "CREATE",
1428
+ "effects": [
1429
+ [
1430
+ "persist",
1431
+ "create",
1432
+ "MenuItem",
1433
+ "@payload.data",
1434
+ {
1435
+ "emit": {
1436
+ "failure": "MenuItemWriteFailed",
1437
+ "success": "MenuItemCreated"
1438
+ }
1439
+ }
1440
+ ],
1441
+ [
1442
+ "render-ui",
1443
+ "main",
1444
+ {
1445
+ "align": "center",
1446
+ "gap": "md",
1447
+ "className": "py-12",
1448
+ "direction": "vertical",
1449
+ "type": "stack",
1450
+ "children": [
1451
+ {
1452
+ "type": "spinner"
1453
+ },
1454
+ {
1455
+ "color": "muted",
1456
+ "content": "Creating menu item…",
1457
+ "variant": "caption",
1458
+ "type": "typography"
1459
+ }
1460
+ ]
1461
+ }
1462
+ ]
1463
+ ]
1464
+ },
1465
+ {
1466
+ "from": "viewing_single",
1467
+ "to": "loading",
1468
+ "event": "UPDATE",
1057
1469
  "effects": [
1058
1470
  [
1059
1471
  "set",
@@ -1127,81 +1539,261 @@
1127
1539
  ],
1128
1540
  [
1129
1541
  "persist",
1130
- "delete",
1542
+ "update",
1131
1543
  "MenuItem",
1132
1544
  "@entity",
1133
1545
  {
1134
1546
  "emit": {
1135
- "success": "MenuItemDeleted",
1547
+ "success": "MenuItemUpdated",
1136
1548
  "failure": "MenuItemWriteFailed"
1137
1549
  }
1138
1550
  }
1139
- ]
1140
- ]
1141
- },
1142
- {
1143
- "from": "browsing",
1144
- "to": "loading",
1145
- "event": "MenuItemCreated",
1146
- "effects": [
1551
+ ],
1147
1552
  [
1148
- "fetch",
1149
- "MenuItem",
1553
+ "render-ui",
1554
+ "main",
1150
1555
  {
1151
- "emit": {
1152
- "success": "MenuItemLoaded",
1153
- "failure": "MenuItemLoadFailed"
1154
- }
1556
+ "align": "center",
1557
+ "gap": "md",
1558
+ "type": "stack",
1559
+ "children": [
1560
+ {
1561
+ "type": "spinner"
1562
+ },
1563
+ {
1564
+ "variant": "caption",
1565
+ "content": "Updating menu item…",
1566
+ "color": "muted",
1567
+ "type": "typography"
1568
+ }
1569
+ ],
1570
+ "direction": "vertical",
1571
+ "className": "py-12"
1155
1572
  }
1156
1573
  ]
1157
1574
  ]
1158
1575
  },
1159
1576
  {
1160
- "from": "browsing",
1577
+ "from": "viewing_single",
1161
1578
  "to": "loading",
1162
- "event": "MenuItemUpdated",
1579
+ "event": "TOGGLE_AVAILABLE",
1163
1580
  "effects": [
1164
1581
  [
1165
- "fetch",
1582
+ "set",
1583
+ "@entity.id",
1584
+ "@payload.itemId"
1585
+ ],
1586
+ [
1587
+ "set",
1588
+ "@entity.name",
1589
+ "@payload.row.name"
1590
+ ],
1591
+ [
1592
+ "set",
1593
+ "@entity.description",
1594
+ "@payload.row.description"
1595
+ ],
1596
+ [
1597
+ "set",
1598
+ "@entity.price",
1599
+ "@payload.row.price"
1600
+ ],
1601
+ [
1602
+ "set",
1603
+ "@entity.currency",
1604
+ "@payload.row.currency"
1605
+ ],
1606
+ [
1607
+ "set",
1608
+ "@entity.category",
1609
+ "@payload.row.category"
1610
+ ],
1611
+ [
1612
+ "set",
1613
+ "@entity.imageUrl",
1614
+ "@payload.row.imageUrl"
1615
+ ],
1616
+ [
1617
+ "set",
1618
+ "@entity.available",
1619
+ [
1620
+ "not",
1621
+ "@payload.row.available"
1622
+ ]
1623
+ ],
1624
+ [
1625
+ "set",
1626
+ "@entity.availableFrom",
1627
+ "@payload.row.availableFrom"
1628
+ ],
1629
+ [
1630
+ "set",
1631
+ "@entity.availableUntil",
1632
+ "@payload.row.availableUntil"
1633
+ ],
1634
+ [
1635
+ "set",
1636
+ "@entity.tags",
1637
+ "@payload.row.tags"
1638
+ ],
1639
+ [
1640
+ "set",
1641
+ "@entity.modifierGroupIds",
1642
+ "@payload.row.modifierGroupIds"
1643
+ ],
1644
+ [
1645
+ "set",
1646
+ "@entity.prepTimeMinutes",
1647
+ "@payload.row.prepTimeMinutes"
1648
+ ],
1649
+ [
1650
+ "set",
1651
+ "@entity.order",
1652
+ "@payload.row.order"
1653
+ ],
1654
+ [
1655
+ "persist",
1656
+ "update",
1166
1657
  "MenuItem",
1658
+ "@entity",
1167
1659
  {
1168
1660
  "emit": {
1169
- "success": "MenuItemLoaded",
1170
- "failure": "MenuItemLoadFailed"
1661
+ "success": "MenuItemUpdated",
1662
+ "failure": "MenuItemWriteFailed"
1171
1663
  }
1172
1664
  }
1665
+ ],
1666
+ [
1667
+ "render-ui",
1668
+ "main",
1669
+ {
1670
+ "className": "py-12",
1671
+ "direction": "vertical",
1672
+ "type": "stack",
1673
+ "gap": "md",
1674
+ "align": "center",
1675
+ "children": [
1676
+ {
1677
+ "type": "spinner"
1678
+ },
1679
+ {
1680
+ "type": "typography",
1681
+ "color": "muted",
1682
+ "variant": "caption",
1683
+ "content": "Toggling availability…"
1684
+ }
1685
+ ]
1686
+ }
1173
1687
  ]
1174
1688
  ]
1175
1689
  },
1176
1690
  {
1177
- "from": "browsing",
1691
+ "from": "viewing_single",
1178
1692
  "to": "loading",
1179
- "event": "MenuItemDeleted",
1693
+ "event": "DELETE",
1180
1694
  "effects": [
1181
1695
  [
1182
- "fetch",
1696
+ "set",
1697
+ "@entity.id",
1698
+ "@payload.itemId"
1699
+ ],
1700
+ [
1701
+ "set",
1702
+ "@entity.name",
1703
+ "@payload.row.name"
1704
+ ],
1705
+ [
1706
+ "set",
1707
+ "@entity.description",
1708
+ "@payload.row.description"
1709
+ ],
1710
+ [
1711
+ "set",
1712
+ "@entity.price",
1713
+ "@payload.row.price"
1714
+ ],
1715
+ [
1716
+ "set",
1717
+ "@entity.currency",
1718
+ "@payload.row.currency"
1719
+ ],
1720
+ [
1721
+ "set",
1722
+ "@entity.category",
1723
+ "@payload.row.category"
1724
+ ],
1725
+ [
1726
+ "set",
1727
+ "@entity.imageUrl",
1728
+ "@payload.row.imageUrl"
1729
+ ],
1730
+ [
1731
+ "set",
1732
+ "@entity.available",
1733
+ "@payload.row.available"
1734
+ ],
1735
+ [
1736
+ "set",
1737
+ "@entity.availableFrom",
1738
+ "@payload.row.availableFrom"
1739
+ ],
1740
+ [
1741
+ "set",
1742
+ "@entity.availableUntil",
1743
+ "@payload.row.availableUntil"
1744
+ ],
1745
+ [
1746
+ "set",
1747
+ "@entity.tags",
1748
+ "@payload.row.tags"
1749
+ ],
1750
+ [
1751
+ "set",
1752
+ "@entity.modifierGroupIds",
1753
+ "@payload.row.modifierGroupIds"
1754
+ ],
1755
+ [
1756
+ "set",
1757
+ "@entity.prepTimeMinutes",
1758
+ "@payload.row.prepTimeMinutes"
1759
+ ],
1760
+ [
1761
+ "set",
1762
+ "@entity.order",
1763
+ "@payload.row.order"
1764
+ ],
1765
+ [
1766
+ "persist",
1767
+ "delete",
1183
1768
  "MenuItem",
1769
+ "@entity",
1184
1770
  {
1185
1771
  "emit": {
1186
- "failure": "MenuItemLoadFailed",
1187
- "success": "MenuItemLoaded"
1772
+ "success": "MenuItemDeleted",
1773
+ "failure": "MenuItemWriteFailed"
1188
1774
  }
1189
1775
  }
1190
- ]
1191
- ]
1192
- },
1193
- {
1194
- "from": "browsing",
1195
- "to": "browsing",
1196
- "event": "MenuItemWriteFailed",
1197
- "effects": [
1776
+ ],
1198
1777
  [
1199
1778
  "render-ui",
1200
1779
  "main",
1201
1780
  {
1202
- "type": "alert",
1203
- "message": "@payload.error",
1204
- "variant": "error"
1781
+ "children": [
1782
+ {
1783
+ "type": "spinner"
1784
+ },
1785
+ {
1786
+ "variant": "caption",
1787
+ "type": "typography",
1788
+ "color": "muted",
1789
+ "content": "Deleting menu item…"
1790
+ }
1791
+ ],
1792
+ "type": "stack",
1793
+ "align": "center",
1794
+ "gap": "md",
1795
+ "direction": "vertical",
1796
+ "className": "py-12"
1205
1797
  }
1206
1798
  ]
1207
1799
  ]
@@ -1216,8 +1808,8 @@
1216
1808
  "MenuItem",
1217
1809
  {
1218
1810
  "emit": {
1219
- "failure": "MenuItemLoadFailed",
1220
- "success": "MenuItemLoaded"
1811
+ "success": "MenuItemLoaded",
1812
+ "failure": "MenuItemLoadFailed"
1221
1813
  }
1222
1814
  }
1223
1815
  ],
@@ -1225,8 +1817,8 @@
1225
1817
  "render-ui",
1226
1818
  "main",
1227
1819
  {
1228
- "type": "spinner",
1229
- "size": "sm"
1820
+ "size": "sm",
1821
+ "type": "spinner"
1230
1822
  }
1231
1823
  ]
1232
1824
  ]
@@ -1255,4 +1847,4 @@
1255
1847
  ]
1256
1848
  }
1257
1849
  ]
1258
- }
1850
+ }