@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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-work-order",
3
3
  "version": "1.0.0",
4
- "description": "std-work-order — field-service work order lifecycle (created → assigned → en-route → on-site → completed). Owns a WorkOrder entity and a single dispatch trait that loads the queue, renders it in a data-grid, and persists status transitions back to the row.",
4
+ "description": "std-work-order — field-service work order lifecycle (created → assigned → en-route → on-site → completed). Lists work orders in `browsing`; opens detail in `viewing_single` with Assign / Travel / Arrive / Complete / Cancel actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "WorkOrderOrbital",
@@ -83,18 +83,13 @@
83
83
  "linkedEntity": "WorkOrder",
84
84
  "emits": [
85
85
  {
86
- "event": "ASSIGN",
86
+ "event": "OPEN_ORDER",
87
87
  "payloadSchema": [
88
88
  {
89
89
  "name": "id",
90
90
  "type": "string",
91
91
  "required": true
92
92
  },
93
- {
94
- "name": "assignedTo",
95
- "type": "string",
96
- "required": true
97
- },
98
93
  {
99
94
  "name": "row.id",
100
95
  "type": "string",
@@ -146,7 +141,10 @@
146
141
  ]
147
142
  },
148
143
  {
149
- "event": "START_TRAVEL",
144
+ "event": "CLOSE_VIEW"
145
+ },
146
+ {
147
+ "event": "ASSIGN",
150
148
  "payloadSchema": [
151
149
  {
152
150
  "name": "id",
@@ -154,8 +152,8 @@
154
152
  "required": true
155
153
  },
156
154
  {
157
- "name": "etaMinutes",
158
- "type": "number",
155
+ "name": "assignedTo",
156
+ "type": "string",
159
157
  "required": true
160
158
  },
161
159
  {
@@ -209,13 +207,18 @@
209
207
  ]
210
208
  },
211
209
  {
212
- "event": "ARRIVE",
210
+ "event": "START_TRAVEL",
213
211
  "payloadSchema": [
214
212
  {
215
213
  "name": "id",
216
214
  "type": "string",
217
215
  "required": true
218
216
  },
217
+ {
218
+ "name": "etaMinutes",
219
+ "type": "number",
220
+ "required": true
221
+ },
219
222
  {
220
223
  "name": "row.id",
221
224
  "type": "string",
@@ -267,17 +270,13 @@
267
270
  ]
268
271
  },
269
272
  {
270
- "event": "COMPLETE",
273
+ "event": "ARRIVE",
271
274
  "payloadSchema": [
272
275
  {
273
276
  "name": "id",
274
277
  "type": "string",
275
278
  "required": true
276
279
  },
277
- {
278
- "name": "notes",
279
- "type": "string"
280
- },
281
280
  {
282
281
  "name": "row.id",
283
282
  "type": "string",
@@ -329,7 +328,7 @@
329
328
  ]
330
329
  },
331
330
  {
332
- "event": "CANCEL",
331
+ "event": "COMPLETE",
333
332
  "payloadSchema": [
334
333
  {
335
334
  "name": "id",
@@ -391,30 +390,17 @@
391
390
  ]
392
391
  },
393
392
  {
394
- "event": "WorkOrderLoaded",
395
- "payloadSchema": [
396
- {
397
- "name": "data",
398
- "type": "[WorkOrder]"
399
- }
400
- ]
401
- },
402
- {
403
- "event": "WorkOrderLoadFailed",
393
+ "event": "CANCEL",
404
394
  "payloadSchema": [
405
395
  {
406
- "name": "error",
407
- "type": "string"
396
+ "name": "id",
397
+ "type": "string",
398
+ "required": true
408
399
  },
409
400
  {
410
- "name": "code",
401
+ "name": "notes",
411
402
  "type": "string"
412
- }
413
- ]
414
- },
415
- {
416
- "event": "WorkOrderUpdated",
417
- "payloadSchema": [
403
+ },
418
404
  {
419
405
  "name": "row.id",
420
406
  "type": "string",
@@ -466,7 +452,16 @@
466
452
  ]
467
453
  },
468
454
  {
469
- "event": "WorkOrderUpdateFailed",
455
+ "event": "WorkOrderLoaded",
456
+ "payloadSchema": [
457
+ {
458
+ "name": "data",
459
+ "type": "[WorkOrder]"
460
+ }
461
+ ]
462
+ },
463
+ {
464
+ "event": "WorkOrderLoadFailed",
470
465
  "payloadSchema": [
471
466
  {
472
467
  "name": "error",
@@ -488,6 +483,9 @@
488
483
  {
489
484
  "name": "browsing"
490
485
  },
486
+ {
487
+ "name": "viewing_single"
488
+ },
491
489
  {
492
490
  "name": "error"
493
491
  }
@@ -522,19 +520,14 @@
522
520
  ]
523
521
  },
524
522
  {
525
- "key": "ASSIGN",
526
- "name": "Assign",
523
+ "key": "OPEN_ORDER",
524
+ "name": "Open Order",
527
525
  "payloadSchema": [
528
526
  {
529
527
  "name": "id",
530
528
  "type": "string",
531
529
  "required": true
532
530
  },
533
- {
534
- "name": "assignedTo",
535
- "type": "string",
536
- "required": true
537
- },
538
531
  {
539
532
  "name": "row",
540
533
  "type": "WorkOrder"
@@ -542,8 +535,8 @@
542
535
  ]
543
536
  },
544
537
  {
545
- "key": "START_TRAVEL",
546
- "name": "Start Travel",
538
+ "key": "CANCEL",
539
+ "name": "Cancel",
547
540
  "payloadSchema": [
548
541
  {
549
542
  "name": "id",
@@ -551,9 +544,8 @@
551
544
  "required": true
552
545
  },
553
546
  {
554
- "name": "etaMinutes",
555
- "type": "number",
556
- "required": true
547
+ "name": "notes",
548
+ "type": "string"
557
549
  },
558
550
  {
559
551
  "name": "row",
@@ -562,14 +554,23 @@
562
554
  ]
563
555
  },
564
556
  {
565
- "key": "ARRIVE",
566
- "name": "Arrive",
557
+ "key": "CLOSE_VIEW",
558
+ "name": "Close View"
559
+ },
560
+ {
561
+ "key": "ASSIGN",
562
+ "name": "Assign",
567
563
  "payloadSchema": [
568
564
  {
569
565
  "name": "id",
570
566
  "type": "string",
571
567
  "required": true
572
568
  },
569
+ {
570
+ "name": "assignedTo",
571
+ "type": "string",
572
+ "required": true
573
+ },
573
574
  {
574
575
  "name": "row",
575
576
  "type": "WorkOrder"
@@ -577,8 +578,8 @@
577
578
  ]
578
579
  },
579
580
  {
580
- "key": "COMPLETE",
581
- "name": "Complete",
581
+ "key": "START_TRAVEL",
582
+ "name": "Start Travel",
582
583
  "payloadSchema": [
583
584
  {
584
585
  "name": "id",
@@ -586,8 +587,9 @@
586
587
  "required": true
587
588
  },
588
589
  {
589
- "name": "notes",
590
- "type": "string"
590
+ "name": "etaMinutes",
591
+ "type": "number",
592
+ "required": true
591
593
  },
592
594
  {
593
595
  "name": "row",
@@ -596,18 +598,14 @@
596
598
  ]
597
599
  },
598
600
  {
599
- "key": "CANCEL",
600
- "name": "Cancel",
601
+ "key": "ARRIVE",
602
+ "name": "Arrive",
601
603
  "payloadSchema": [
602
604
  {
603
605
  "name": "id",
604
606
  "type": "string",
605
607
  "required": true
606
608
  },
607
- {
608
- "name": "notes",
609
- "type": "string"
610
- },
611
609
  {
612
610
  "name": "row",
613
611
  "type": "WorkOrder"
@@ -615,26 +613,21 @@
615
613
  ]
616
614
  },
617
615
  {
618
- "key": "WorkOrderUpdated",
619
- "name": "WorkOrder updated",
616
+ "key": "COMPLETE",
617
+ "name": "Complete",
620
618
  "payloadSchema": [
621
619
  {
622
- "name": "row",
623
- "type": "WorkOrder"
624
- }
625
- ]
626
- },
627
- {
628
- "key": "WorkOrderUpdateFailed",
629
- "name": "WorkOrder update failed",
630
- "payloadSchema": [
620
+ "name": "id",
621
+ "type": "string",
622
+ "required": true
623
+ },
631
624
  {
632
- "name": "error",
625
+ "name": "notes",
633
626
  "type": "string"
634
627
  },
635
628
  {
636
- "name": "code",
637
- "type": "string"
629
+ "name": "row",
630
+ "type": "WorkOrder"
638
631
  }
639
632
  ]
640
633
  }
@@ -659,22 +652,22 @@
659
652
  "render-ui",
660
653
  "main",
661
654
  {
655
+ "align": "center",
662
656
  "children": [
663
657
  {
664
658
  "type": "spinner"
665
659
  },
666
660
  {
667
- "color": "muted",
668
- "content": "Loading work orders…",
669
661
  "type": "typography",
670
- "variant": "caption"
662
+ "color": "muted",
663
+ "variant": "caption",
664
+ "content": "Loading work orders…"
671
665
  }
672
666
  ],
673
- "align": "center",
674
- "gap": "md",
675
- "className": "py-12",
676
667
  "type": "stack",
677
- "direction": "vertical"
668
+ "direction": "vertical",
669
+ "gap": "md",
670
+ "className": "py-12"
678
671
  }
679
672
  ]
680
673
  ]
@@ -688,78 +681,94 @@
688
681
  "render-ui",
689
682
  "main",
690
683
  {
684
+ "direction": "vertical",
685
+ "gap": "md",
686
+ "type": "stack",
691
687
  "children": [
692
688
  {
693
- "gap": "sm",
694
689
  "type": "stack",
695
690
  "direction": "horizontal",
696
691
  "children": [
697
692
  {
698
- "name": "clipboard-list",
699
- "type": "icon"
693
+ "type": "icon",
694
+ "name": "clipboard-list"
700
695
  },
701
696
  {
702
697
  "content": "@config.title",
703
698
  "type": "typography",
704
699
  "variant": "h3"
705
700
  }
706
- ]
707
- },
708
- {
709
- "type": "divider"
701
+ ],
702
+ "align": "center",
703
+ "gap": "sm"
710
704
  },
711
705
  {
712
- "cols": 1.0,
713
- "entity": "@payload.data",
714
- "type": "data-grid",
715
- "gap": "sm",
716
- "itemActions": [
706
+ "type": "simple-grid",
707
+ "children": [
717
708
  {
718
- "variant": "primary",
719
- "event": "ASSIGN",
720
- "label": "Assign",
721
- "icon": "user-plus"
709
+ "value": "@payload.data.length",
710
+ "label": "Total orders",
711
+ "icon": "clipboard-list",
712
+ "type": "stat-display"
722
713
  },
723
714
  {
724
- "icon": "navigation",
725
- "event": "START_TRAVEL",
726
- "variant": "secondary",
727
- "label": "Start Travel"
715
+ "type": "stat-display",
716
+ "value": "9",
717
+ "label": "Urgent open",
718
+ "icon": "alert-triangle"
728
719
  },
729
720
  {
730
- "label": "Arrive",
731
- "variant": "secondary",
732
- "icon": "map-pin",
733
- "event": "ARRIVE"
721
+ "value": "14",
722
+ "label": "En route",
723
+ "type": "stat-display",
724
+ "icon": "navigation"
734
725
  },
735
726
  {
736
- "event": "COMPLETE",
737
- "label": "Complete",
727
+ "type": "stat-display",
728
+ "value": "47",
729
+ "icon": "check-circle",
730
+ "label": "Completed today"
731
+ }
732
+ ],
733
+ "cols": 4.0
734
+ },
735
+ {
736
+ "type": "divider"
737
+ },
738
+ {
739
+ "itemActions": [
740
+ {
741
+ "event": "OPEN_ORDER",
738
742
  "variant": "primary",
739
- "icon": "check"
743
+ "label": "Open",
744
+ "icon": "arrow-right"
740
745
  },
741
746
  {
742
- "variant": "danger",
743
747
  "icon": "x",
744
- "label": "Cancel",
745
- "event": "CANCEL"
748
+ "variant": "danger",
749
+ "event": "CANCEL",
750
+ "label": "Cancel"
746
751
  }
747
752
  ],
753
+ "type": "data-grid",
754
+ "cols": 1.0,
755
+ "gap": "sm",
756
+ "entity": "@payload.data",
748
757
  "fields": [
749
758
  {
750
- "label": "Customer",
759
+ "variant": "caption",
751
760
  "name": "customerName",
752
- "variant": "caption"
761
+ "label": "Customer"
753
762
  },
754
763
  {
764
+ "label": "Service",
755
765
  "name": "serviceType",
756
- "variant": "caption",
757
- "label": "Service"
766
+ "variant": "caption"
758
767
  },
759
768
  {
760
769
  "label": "Address",
761
- "variant": "caption",
762
- "name": "address"
770
+ "name": "address",
771
+ "variant": "caption"
763
772
  },
764
773
  {
765
774
  "label": "Priority",
@@ -768,25 +777,22 @@
768
777
  },
769
778
  {
770
779
  "variant": "badge",
771
- "name": "status",
772
- "label": "Status"
780
+ "label": "Status",
781
+ "name": "status"
773
782
  },
774
783
  {
775
- "variant": "caption",
784
+ "label": "Assigned",
776
785
  "name": "assignedTo",
777
- "label": "Assigned"
786
+ "variant": "caption"
778
787
  },
779
788
  {
789
+ "variant": "caption",
780
790
  "label": "ETA (min)",
781
- "name": "etaMinutes",
782
- "variant": "caption"
791
+ "name": "etaMinutes"
783
792
  }
784
793
  ]
785
794
  }
786
- ],
787
- "gap": "md",
788
- "direction": "vertical",
789
- "type": "stack"
795
+ ]
790
796
  }
791
797
  ]
792
798
  ]
@@ -800,147 +806,293 @@
800
806
  "render-ui",
801
807
  "main",
802
808
  {
809
+ "message": "@payload.error",
803
810
  "variant": "error",
804
- "type": "alert",
805
- "message": "@payload.error"
811
+ "type": "alert"
806
812
  }
807
813
  ]
808
814
  ]
809
815
  },
810
816
  {
811
817
  "from": "browsing",
812
- "to": "browsing",
813
- "event": "ASSIGN",
818
+ "to": "viewing_single",
819
+ "event": "OPEN_ORDER",
814
820
  "effects": [
815
821
  [
816
822
  "set",
817
823
  "@entity.id",
818
- "@payload.id"
824
+ "@payload.row.id"
819
825
  ],
820
826
  [
821
827
  "set",
822
- "@entity.assignedTo",
823
- "@payload.assignedTo"
828
+ "@entity.customerName",
829
+ "@payload.row.customerName"
824
830
  ],
825
831
  [
826
832
  "set",
827
- "@entity.status",
828
- "assigned"
833
+ "@entity.serviceType",
834
+ "@payload.row.serviceType"
829
835
  ],
830
- [
831
- "persist",
832
- "update",
833
- "WorkOrder",
834
- "@entity",
835
- {
836
- "emit": {
837
- "success": "WorkOrderUpdated",
838
- "failure": "WorkOrderUpdateFailed"
839
- }
840
- }
841
- ]
842
- ]
843
- },
844
- {
845
- "from": "browsing",
846
- "to": "browsing",
847
- "event": "START_TRAVEL",
848
- "effects": [
849
836
  [
850
837
  "set",
851
- "@entity.id",
852
- "@payload.id"
838
+ "@entity.address",
839
+ "@payload.row.address"
853
840
  ],
854
841
  [
855
842
  "set",
856
- "@entity.etaMinutes",
857
- "@payload.etaMinutes"
843
+ "@entity.priority",
844
+ "@payload.row.priority"
858
845
  ],
859
846
  [
860
847
  "set",
861
848
  "@entity.status",
862
- "en-route"
849
+ "@payload.row.status"
863
850
  ],
864
- [
865
- "persist",
866
- "update",
867
- "WorkOrder",
868
- "@entity",
869
- {
870
- "emit": {
871
- "success": "WorkOrderUpdated",
872
- "failure": "WorkOrderUpdateFailed"
873
- }
874
- }
875
- ]
876
- ]
877
- },
878
- {
879
- "from": "browsing",
880
- "to": "browsing",
881
- "event": "ARRIVE",
882
- "effects": [
883
851
  [
884
852
  "set",
885
- "@entity.id",
886
- "@payload.id"
853
+ "@entity.assignedTo",
854
+ "@payload.row.assignedTo"
887
855
  ],
888
856
  [
889
857
  "set",
890
- "@entity.status",
891
- "on-site"
858
+ "@entity.scheduledAt",
859
+ "@payload.row.scheduledAt"
892
860
  ],
893
- [
894
- "persist",
895
- "update",
896
- "WorkOrder",
897
- "@entity",
898
- {
899
- "emit": {
900
- "failure": "WorkOrderUpdateFailed",
901
- "success": "WorkOrderUpdated"
902
- }
903
- }
904
- ]
905
- ]
906
- },
907
- {
908
- "from": "browsing",
909
- "to": "browsing",
910
- "event": "COMPLETE",
911
- "effects": [
912
861
  [
913
862
  "set",
914
- "@entity.id",
915
- "@payload.id"
863
+ "@entity.etaMinutes",
864
+ "@payload.row.etaMinutes"
916
865
  ],
917
866
  [
918
867
  "set",
919
868
  "@entity.notes",
920
- "@payload.notes"
869
+ "@payload.row.notes"
921
870
  ],
922
871
  [
923
872
  "set",
924
- "@entity.status",
925
- "completed"
873
+ "@entity.createdAt",
874
+ "@payload.row.createdAt"
926
875
  ],
927
876
  [
928
- "persist",
929
- "update",
930
- "WorkOrder",
931
- "@entity",
877
+ "render-ui",
878
+ "main",
932
879
  {
933
- "emit": {
934
- "success": "WorkOrderUpdated",
935
- "failure": "WorkOrderUpdateFailed"
936
- }
937
- }
938
- ]
939
- ]
940
- },
880
+ "direction": "vertical",
881
+ "children": [
882
+ {
883
+ "direction": "horizontal",
884
+ "align": "center",
885
+ "type": "stack",
886
+ "gap": "sm",
887
+ "children": [
888
+ {
889
+ "type": "button",
890
+ "label": "Back",
891
+ "action": "CLOSE_VIEW",
892
+ "variant": "ghost"
893
+ },
894
+ {
895
+ "type": "icon",
896
+ "name": "clipboard-list"
897
+ },
898
+ {
899
+ "content": "@entity.customerName",
900
+ "type": "typography",
901
+ "variant": "h3"
902
+ },
903
+ {
904
+ "variant": "primary",
905
+ "type": "badge",
906
+ "label": "@entity.priority"
907
+ },
908
+ {
909
+ "variant": "default",
910
+ "label": "@entity.status",
911
+ "type": "badge"
912
+ }
913
+ ]
914
+ },
915
+ {
916
+ "type": "divider"
917
+ },
918
+ {
919
+ "gap": "sm",
920
+ "direction": "vertical",
921
+ "type": "stack",
922
+ "children": [
923
+ {
924
+ "type": "stack",
925
+ "gap": "md",
926
+ "children": [
927
+ {
928
+ "content": "Service",
929
+ "color": "muted",
930
+ "type": "typography",
931
+ "variant": "caption"
932
+ },
933
+ {
934
+ "type": "typography",
935
+ "content": "@entity.serviceType",
936
+ "variant": "body"
937
+ }
938
+ ],
939
+ "direction": "horizontal"
940
+ },
941
+ {
942
+ "children": [
943
+ {
944
+ "type": "typography",
945
+ "color": "muted",
946
+ "variant": "caption",
947
+ "content": "Address"
948
+ },
949
+ {
950
+ "type": "typography",
951
+ "variant": "body",
952
+ "content": "@entity.address"
953
+ }
954
+ ],
955
+ "type": "stack",
956
+ "gap": "md",
957
+ "direction": "horizontal"
958
+ },
959
+ {
960
+ "direction": "horizontal",
961
+ "gap": "md",
962
+ "children": [
963
+ {
964
+ "type": "typography",
965
+ "variant": "caption",
966
+ "content": "Assigned to",
967
+ "color": "muted"
968
+ },
969
+ {
970
+ "type": "typography",
971
+ "variant": "body",
972
+ "content": "@entity.assignedTo"
973
+ }
974
+ ],
975
+ "type": "stack"
976
+ },
977
+ {
978
+ "type": "stack",
979
+ "direction": "horizontal",
980
+ "children": [
981
+ {
982
+ "variant": "caption",
983
+ "type": "typography",
984
+ "color": "muted",
985
+ "content": "Notes"
986
+ },
987
+ {
988
+ "variant": "body",
989
+ "content": "@entity.notes",
990
+ "type": "typography"
991
+ }
992
+ ],
993
+ "gap": "md"
994
+ }
995
+ ]
996
+ },
997
+ {
998
+ "type": "divider"
999
+ },
1000
+ {
1001
+ "children": [
1002
+ {
1003
+ "icon": "clock",
1004
+ "value": "@entity.etaMinutes",
1005
+ "type": "stat-display",
1006
+ "label": "ETA (min)"
1007
+ },
1008
+ {
1009
+ "icon": "calendar",
1010
+ "type": "stat-display",
1011
+ "label": "Scheduled",
1012
+ "value": "@entity.scheduledAt"
1013
+ },
1014
+ {
1015
+ "value": "@entity.createdAt",
1016
+ "icon": "calendar-plus",
1017
+ "type": "stat-display",
1018
+ "label": "Created"
1019
+ }
1020
+ ],
1021
+ "cols": 3.0,
1022
+ "type": "simple-grid"
1023
+ },
1024
+ {
1025
+ "gap": "sm",
1026
+ "type": "stack",
1027
+ "align": "center",
1028
+ "children": [
1029
+ {
1030
+ "actionPayload": {
1031
+ "assignedTo": "@entity.assignedTo",
1032
+ "id": "@entity.id",
1033
+ "row": "@entity"
1034
+ },
1035
+ "label": "Assign",
1036
+ "variant": "primary",
1037
+ "action": "ASSIGN",
1038
+ "type": "button"
1039
+ },
1040
+ {
1041
+ "actionPayload": {
1042
+ "etaMinutes": 0.0,
1043
+ "id": "@entity.id",
1044
+ "row": "@entity"
1045
+ },
1046
+ "label": "Start Travel",
1047
+ "type": "button",
1048
+ "action": "START_TRAVEL",
1049
+ "variant": "secondary"
1050
+ },
1051
+ {
1052
+ "label": "Arrive",
1053
+ "action": "ARRIVE",
1054
+ "actionPayload": {
1055
+ "row": "@entity",
1056
+ "id": "@entity.id"
1057
+ },
1058
+ "variant": "secondary",
1059
+ "type": "button"
1060
+ },
1061
+ {
1062
+ "action": "COMPLETE",
1063
+ "actionPayload": {
1064
+ "id": "@entity.id",
1065
+ "notes": "@entity.notes",
1066
+ "row": "@entity"
1067
+ },
1068
+ "type": "button",
1069
+ "label": "Complete",
1070
+ "variant": "primary"
1071
+ },
1072
+ {
1073
+ "action": "CANCEL",
1074
+ "actionPayload": {
1075
+ "notes": "@entity.notes",
1076
+ "row": "@entity",
1077
+ "id": "@entity.id"
1078
+ },
1079
+ "type": "button",
1080
+ "label": "Cancel",
1081
+ "variant": "danger"
1082
+ }
1083
+ ],
1084
+ "direction": "horizontal"
1085
+ }
1086
+ ],
1087
+ "type": "stack",
1088
+ "gap": "md"
1089
+ }
1090
+ ]
1091
+ ]
1092
+ },
941
1093
  {
942
1094
  "from": "browsing",
943
- "to": "browsing",
1095
+ "to": "loading",
944
1096
  "event": "CANCEL",
945
1097
  "effects": [
946
1098
  [
@@ -948,59 +1100,295 @@
948
1100
  "@entity.id",
949
1101
  "@payload.id"
950
1102
  ],
1103
+ [
1104
+ "fetch",
1105
+ "WorkOrder",
1106
+ {
1107
+ "emit": {
1108
+ "failure": "WorkOrderLoadFailed",
1109
+ "success": "WorkOrderLoaded"
1110
+ }
1111
+ }
1112
+ ],
1113
+ [
1114
+ "render-ui",
1115
+ "main",
1116
+ {
1117
+ "direction": "vertical",
1118
+ "type": "stack",
1119
+ "align": "center",
1120
+ "className": "py-12",
1121
+ "gap": "md",
1122
+ "children": [
1123
+ {
1124
+ "type": "spinner"
1125
+ },
1126
+ {
1127
+ "type": "typography",
1128
+ "color": "muted",
1129
+ "content": "Cancelling order…",
1130
+ "variant": "caption"
1131
+ }
1132
+ ]
1133
+ }
1134
+ ]
1135
+ ]
1136
+ },
1137
+ {
1138
+ "from": "viewing_single",
1139
+ "to": "loading",
1140
+ "event": "CLOSE_VIEW",
1141
+ "effects": [
1142
+ [
1143
+ "fetch",
1144
+ "WorkOrder",
1145
+ {
1146
+ "emit": {
1147
+ "failure": "WorkOrderLoadFailed",
1148
+ "success": "WorkOrderLoaded"
1149
+ }
1150
+ }
1151
+ ],
1152
+ [
1153
+ "render-ui",
1154
+ "main",
1155
+ {
1156
+ "gap": "md",
1157
+ "type": "stack",
1158
+ "align": "center",
1159
+ "className": "py-12",
1160
+ "children": [
1161
+ {
1162
+ "type": "spinner"
1163
+ },
1164
+ {
1165
+ "variant": "caption",
1166
+ "type": "typography",
1167
+ "color": "muted",
1168
+ "content": "Loading work orders…"
1169
+ }
1170
+ ],
1171
+ "direction": "vertical"
1172
+ }
1173
+ ]
1174
+ ]
1175
+ },
1176
+ {
1177
+ "from": "viewing_single",
1178
+ "to": "loading",
1179
+ "event": "ASSIGN",
1180
+ "effects": [
951
1181
  [
952
1182
  "set",
953
- "@entity.notes",
954
- "@payload.notes"
1183
+ "@entity.id",
1184
+ "@payload.id"
955
1185
  ],
1186
+ [
1187
+ "fetch",
1188
+ "WorkOrder",
1189
+ {
1190
+ "emit": {
1191
+ "failure": "WorkOrderLoadFailed",
1192
+ "success": "WorkOrderLoaded"
1193
+ }
1194
+ }
1195
+ ],
1196
+ [
1197
+ "render-ui",
1198
+ "main",
1199
+ {
1200
+ "direction": "vertical",
1201
+ "className": "py-12",
1202
+ "align": "center",
1203
+ "type": "stack",
1204
+ "gap": "md",
1205
+ "children": [
1206
+ {
1207
+ "type": "spinner"
1208
+ },
1209
+ {
1210
+ "content": "Assigning order…",
1211
+ "type": "typography",
1212
+ "color": "muted",
1213
+ "variant": "caption"
1214
+ }
1215
+ ]
1216
+ }
1217
+ ]
1218
+ ]
1219
+ },
1220
+ {
1221
+ "from": "viewing_single",
1222
+ "to": "loading",
1223
+ "event": "START_TRAVEL",
1224
+ "effects": [
956
1225
  [
957
1226
  "set",
958
- "@entity.status",
959
- "cancelled"
1227
+ "@entity.id",
1228
+ "@payload.id"
960
1229
  ],
961
1230
  [
962
- "persist",
963
- "update",
1231
+ "fetch",
964
1232
  "WorkOrder",
965
- "@entity",
966
1233
  {
967
1234
  "emit": {
968
- "failure": "WorkOrderUpdateFailed",
969
- "success": "WorkOrderUpdated"
1235
+ "failure": "WorkOrderLoadFailed",
1236
+ "success": "WorkOrderLoaded"
970
1237
  }
971
1238
  }
1239
+ ],
1240
+ [
1241
+ "render-ui",
1242
+ "main",
1243
+ {
1244
+ "className": "py-12",
1245
+ "direction": "vertical",
1246
+ "align": "center",
1247
+ "type": "stack",
1248
+ "gap": "md",
1249
+ "children": [
1250
+ {
1251
+ "type": "spinner"
1252
+ },
1253
+ {
1254
+ "type": "typography",
1255
+ "variant": "caption",
1256
+ "content": "Starting travel…",
1257
+ "color": "muted"
1258
+ }
1259
+ ]
1260
+ }
972
1261
  ]
973
1262
  ]
974
1263
  },
975
1264
  {
976
- "from": "browsing",
1265
+ "from": "viewing_single",
977
1266
  "to": "loading",
978
- "event": "WorkOrderUpdated",
1267
+ "event": "ARRIVE",
979
1268
  "effects": [
1269
+ [
1270
+ "set",
1271
+ "@entity.id",
1272
+ "@payload.id"
1273
+ ],
980
1274
  [
981
1275
  "fetch",
982
1276
  "WorkOrder",
983
1277
  {
984
1278
  "emit": {
985
- "success": "WorkOrderLoaded",
986
- "failure": "WorkOrderLoadFailed"
1279
+ "failure": "WorkOrderLoadFailed",
1280
+ "success": "WorkOrderLoaded"
987
1281
  }
988
1282
  }
1283
+ ],
1284
+ [
1285
+ "render-ui",
1286
+ "main",
1287
+ {
1288
+ "direction": "vertical",
1289
+ "children": [
1290
+ {
1291
+ "type": "spinner"
1292
+ },
1293
+ {
1294
+ "type": "typography",
1295
+ "content": "Arriving on site…",
1296
+ "variant": "caption",
1297
+ "color": "muted"
1298
+ }
1299
+ ],
1300
+ "gap": "md",
1301
+ "className": "py-12",
1302
+ "align": "center",
1303
+ "type": "stack"
1304
+ }
989
1305
  ]
990
1306
  ]
991
1307
  },
992
1308
  {
993
- "from": "browsing",
994
- "to": "browsing",
995
- "event": "WorkOrderUpdateFailed",
1309
+ "from": "viewing_single",
1310
+ "to": "loading",
1311
+ "event": "COMPLETE",
996
1312
  "effects": [
1313
+ [
1314
+ "set",
1315
+ "@entity.id",
1316
+ "@payload.id"
1317
+ ],
1318
+ [
1319
+ "fetch",
1320
+ "WorkOrder",
1321
+ {
1322
+ "emit": {
1323
+ "failure": "WorkOrderLoadFailed",
1324
+ "success": "WorkOrderLoaded"
1325
+ }
1326
+ }
1327
+ ],
997
1328
  [
998
1329
  "render-ui",
999
1330
  "main",
1000
1331
  {
1001
- "type": "alert",
1002
- "variant": "error",
1003
- "message": "@payload.error"
1332
+ "type": "stack",
1333
+ "align": "center",
1334
+ "className": "py-12",
1335
+ "children": [
1336
+ {
1337
+ "type": "spinner"
1338
+ },
1339
+ {
1340
+ "type": "typography",
1341
+ "content": "Completing order…",
1342
+ "variant": "caption",
1343
+ "color": "muted"
1344
+ }
1345
+ ],
1346
+ "gap": "md",
1347
+ "direction": "vertical"
1348
+ }
1349
+ ]
1350
+ ]
1351
+ },
1352
+ {
1353
+ "from": "viewing_single",
1354
+ "to": "loading",
1355
+ "event": "CANCEL",
1356
+ "effects": [
1357
+ [
1358
+ "set",
1359
+ "@entity.id",
1360
+ "@payload.id"
1361
+ ],
1362
+ [
1363
+ "fetch",
1364
+ "WorkOrder",
1365
+ {
1366
+ "emit": {
1367
+ "success": "WorkOrderLoaded",
1368
+ "failure": "WorkOrderLoadFailed"
1369
+ }
1370
+ }
1371
+ ],
1372
+ [
1373
+ "render-ui",
1374
+ "main",
1375
+ {
1376
+ "type": "stack",
1377
+ "align": "center",
1378
+ "children": [
1379
+ {
1380
+ "type": "spinner"
1381
+ },
1382
+ {
1383
+ "variant": "caption",
1384
+ "type": "typography",
1385
+ "color": "muted",
1386
+ "content": "Cancelling order…"
1387
+ }
1388
+ ],
1389
+ "className": "py-12",
1390
+ "direction": "vertical",
1391
+ "gap": "md"
1004
1392
  }
1005
1393
  ]
1006
1394
  ]
@@ -1054,4 +1442,4 @@
1054
1442
  ]
1055
1443
  }
1056
1444
  ]
1057
- }
1445
+ }