@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-driver",
3
3
  "version": "1.0.0",
4
- "description": "std-driver — fleet driver primitive tracking license info, hire date, status, and currently-assigned vehicle.",
4
+ "description": "std-driver — fleet driver primitive tracking license info, hire date, status, assigned vehicle. Lists drivers in `browsing`; opens detail in `viewing_single` with Suspend / Reinstate / Terminate / Assign Vehicle actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "DriverOrbital",
@@ -88,58 +88,7 @@
88
88
  "linkedEntity": "Driver",
89
89
  "emits": [
90
90
  {
91
- "event": "VIEW",
92
- "payloadSchema": [
93
- {
94
- "name": "id",
95
- "type": "string",
96
- "required": true
97
- },
98
- {
99
- "name": "source",
100
- "type": "string"
101
- }
102
- ]
103
- },
104
- {
105
- "event": "EDIT",
106
- "payloadSchema": [
107
- {
108
- "name": "id",
109
- "type": "string",
110
- "required": true
111
- },
112
- {
113
- "name": "source",
114
- "type": "string"
115
- }
116
- ]
117
- },
118
- {
119
- "event": "CREATE",
120
- "payloadSchema": [
121
- {
122
- "name": "source",
123
- "type": "string"
124
- }
125
- ]
126
- },
127
- {
128
- "event": "REQUEST_DELETE",
129
- "payloadSchema": [
130
- {
131
- "name": "id",
132
- "type": "string",
133
- "required": true
134
- },
135
- {
136
- "name": "source",
137
- "type": "string"
138
- }
139
- ]
140
- },
141
- {
142
- "event": "SUSPEND",
91
+ "event": "OPEN_DRIVER",
143
92
  "payloadSchema": [
144
93
  {
145
94
  "name": "id",
@@ -196,173 +145,45 @@
196
145
  ]
197
146
  },
198
147
  {
199
- "event": "REINSTATE",
148
+ "event": "CLOSE_VIEW"
149
+ },
150
+ {
151
+ "event": "ASSIGN_VEHICLE",
200
152
  "payloadSchema": [
201
153
  {
202
154
  "name": "id",
203
155
  "type": "string",
204
156
  "required": true
205
- },
206
- {
207
- "name": "row.id",
208
- "type": "string",
209
- "required": true
210
- },
211
- {
212
- "name": "row.name",
213
- "type": "string",
214
- "required": true
215
- },
216
- {
217
- "name": "row.licenseNumber",
218
- "type": "string",
219
- "required": true
220
- },
221
- {
222
- "name": "row.licenseClass",
223
- "type": "string"
224
- },
225
- {
226
- "name": "row.licenseExpiresAt",
227
- "type": "string"
228
- },
229
- {
230
- "name": "row.hiredAt",
231
- "type": "string"
232
- },
233
- {
234
- "name": "row.phone",
235
- "type": "string"
236
- },
237
- {
238
- "name": "row.email",
239
- "type": "string"
240
- },
241
- {
242
- "name": "row.status",
243
- "type": "string"
244
- },
245
- {
246
- "name": "row.assignedVehicleId",
247
- "type": "string"
248
- },
249
- {
250
- "name": "row.pendingId",
251
- "type": "string"
252
157
  }
253
158
  ]
254
159
  },
255
160
  {
256
- "event": "TERMINATE",
161
+ "event": "SUSPEND",
257
162
  "payloadSchema": [
258
163
  {
259
164
  "name": "id",
260
165
  "type": "string",
261
166
  "required": true
262
- },
263
- {
264
- "name": "row.id",
265
- "type": "string",
266
- "required": true
267
- },
268
- {
269
- "name": "row.name",
270
- "type": "string",
271
- "required": true
272
- },
273
- {
274
- "name": "row.licenseNumber",
275
- "type": "string",
276
- "required": true
277
- },
278
- {
279
- "name": "row.licenseClass",
280
- "type": "string"
281
- },
282
- {
283
- "name": "row.licenseExpiresAt",
284
- "type": "string"
285
- },
286
- {
287
- "name": "row.hiredAt",
288
- "type": "string"
289
- },
290
- {
291
- "name": "row.phone",
292
- "type": "string"
293
- },
294
- {
295
- "name": "row.email",
296
- "type": "string"
297
- },
298
- {
299
- "name": "row.status",
300
- "type": "string"
301
- },
302
- {
303
- "name": "row.assignedVehicleId",
304
- "type": "string"
305
- },
306
- {
307
- "name": "row.pendingId",
308
- "type": "string"
309
167
  }
310
168
  ]
311
169
  },
312
170
  {
313
- "event": "ASSIGN_VEHICLE",
171
+ "event": "REINSTATE",
314
172
  "payloadSchema": [
315
173
  {
316
174
  "name": "id",
317
175
  "type": "string",
318
176
  "required": true
319
- },
320
- {
321
- "name": "row.id",
322
- "type": "string",
323
- "required": true
324
- },
325
- {
326
- "name": "row.name",
327
- "type": "string",
328
- "required": true
329
- },
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "event": "TERMINATE",
182
+ "payloadSchema": [
330
183
  {
331
- "name": "row.licenseNumber",
184
+ "name": "id",
332
185
  "type": "string",
333
186
  "required": true
334
- },
335
- {
336
- "name": "row.licenseClass",
337
- "type": "string"
338
- },
339
- {
340
- "name": "row.licenseExpiresAt",
341
- "type": "string"
342
- },
343
- {
344
- "name": "row.hiredAt",
345
- "type": "string"
346
- },
347
- {
348
- "name": "row.phone",
349
- "type": "string"
350
- },
351
- {
352
- "name": "row.email",
353
- "type": "string"
354
- },
355
- {
356
- "name": "row.status",
357
- "type": "string"
358
- },
359
- {
360
- "name": "row.assignedVehicleId",
361
- "type": "string"
362
- },
363
- {
364
- "name": "row.pendingId",
365
- "type": "string"
366
187
  }
367
188
  ]
368
189
  },
@@ -400,7 +221,10 @@
400
221
  "isInitial": true
401
222
  },
402
223
  {
403
- "name": "viewing"
224
+ "name": "browsing"
225
+ },
226
+ {
227
+ "name": "viewing_single"
404
228
  },
405
229
  {
406
230
  "name": "error"
@@ -440,49 +264,23 @@
440
264
  ]
441
265
  },
442
266
  {
443
- "key": "REFRESH",
444
- "name": "Refresh",
445
- "payloadSchema": [
446
- {
447
- "name": "source",
448
- "type": "string"
449
- }
450
- ]
451
- },
452
- {
453
- "key": "SEARCH",
454
- "name": "Search",
455
- "payloadSchema": [
456
- {
457
- "name": "query",
458
- "type": "string"
459
- }
460
- ]
461
- },
462
- {
463
- "key": "FILTER_STATUS",
464
- "name": "Filter Status",
465
- "payloadSchema": [
466
- {
467
- "name": "status",
468
- "type": "string"
469
- }
470
- ]
471
- },
472
- {
473
- "key": "SUSPEND",
474
- "name": "Suspend",
267
+ "key": "OPEN_DRIVER",
268
+ "name": "Open Driver",
475
269
  "payloadSchema": [
476
270
  {
477
271
  "name": "id",
478
272
  "type": "string",
479
273
  "required": true
274
+ },
275
+ {
276
+ "name": "row",
277
+ "type": "Driver"
480
278
  }
481
279
  ]
482
280
  },
483
281
  {
484
- "key": "REINSTATE",
485
- "name": "Reinstate",
282
+ "key": "SUSPEND",
283
+ "name": "Suspend",
486
284
  "payloadSchema": [
487
285
  {
488
286
  "name": "id",
@@ -492,15 +290,8 @@
492
290
  ]
493
291
  },
494
292
  {
495
- "key": "TERMINATE",
496
- "name": "Terminate",
497
- "payloadSchema": [
498
- {
499
- "name": "id",
500
- "type": "string",
501
- "required": true
502
- }
503
- ]
293
+ "key": "CLOSE_VIEW",
294
+ "name": "Close View"
504
295
  },
505
296
  {
506
297
  "key": "ASSIGN_VEHICLE",
@@ -514,29 +305,8 @@
514
305
  ]
515
306
  },
516
307
  {
517
- "key": "CREATE",
518
- "name": "Create",
519
- "payloadSchema": [
520
- {
521
- "name": "source",
522
- "type": "string"
523
- }
524
- ]
525
- },
526
- {
527
- "key": "VIEW",
528
- "name": "View",
529
- "payloadSchema": [
530
- {
531
- "name": "id",
532
- "type": "string",
533
- "required": true
534
- }
535
- ]
536
- },
537
- {
538
- "key": "EDIT",
539
- "name": "Edit",
308
+ "key": "REINSTATE",
309
+ "name": "Reinstate",
540
310
  "payloadSchema": [
541
311
  {
542
312
  "name": "id",
@@ -546,8 +316,8 @@
546
316
  ]
547
317
  },
548
318
  {
549
- "key": "REQUEST_DELETE",
550
- "name": "Request Delete",
319
+ "key": "TERMINATE",
320
+ "name": "Terminate",
551
321
  "payloadSchema": [
552
322
  {
553
323
  "name": "id",
@@ -568,8 +338,8 @@
568
338
  "Driver",
569
339
  {
570
340
  "emit": {
571
- "failure": "DriverLoadFailed",
572
- "success": "DriverLoaded"
341
+ "success": "DriverLoaded",
342
+ "failure": "DriverLoadFailed"
573
343
  }
574
344
  }
575
345
  ],
@@ -577,178 +347,419 @@
577
347
  "render-ui",
578
348
  "main",
579
349
  {
580
- "type": "stack",
581
350
  "gap": "md",
582
- "direction": "vertical",
351
+ "className": "py-12",
583
352
  "children": [
584
353
  {
585
354
  "type": "spinner"
586
355
  },
587
356
  {
588
357
  "color": "muted",
589
- "variant": "caption",
590
358
  "type": "typography",
359
+ "variant": "caption",
591
360
  "content": "Loading drivers…"
592
361
  }
593
362
  ],
594
- "align": "center",
595
- "className": "py-12"
363
+ "type": "stack",
364
+ "direction": "vertical",
365
+ "align": "center"
596
366
  }
597
367
  ]
598
368
  ]
599
369
  },
600
370
  {
601
371
  "from": "loading",
602
- "to": "viewing",
372
+ "to": "browsing",
603
373
  "event": "DriverLoaded",
604
374
  "effects": [
605
375
  [
606
376
  "render-ui",
607
377
  "main",
608
378
  {
379
+ "gap": "md",
609
380
  "type": "stack",
610
- "direction": "vertical",
381
+ "children": [
382
+ {
383
+ "direction": "horizontal",
384
+ "type": "stack",
385
+ "gap": "sm",
386
+ "align": "center",
387
+ "children": [
388
+ {
389
+ "type": "icon",
390
+ "name": "user"
391
+ },
392
+ {
393
+ "content": "@config.title",
394
+ "variant": "h3",
395
+ "type": "typography"
396
+ }
397
+ ]
398
+ },
399
+ {
400
+ "children": [
401
+ {
402
+ "icon": "users",
403
+ "value": "@payload.data.length",
404
+ "type": "stat-display",
405
+ "label": "Total drivers"
406
+ },
407
+ {
408
+ "type": "stat-display",
409
+ "icon": "check-circle",
410
+ "label": "Active",
411
+ "value": "24"
412
+ },
413
+ {
414
+ "label": "On leave",
415
+ "type": "stat-display",
416
+ "icon": "pause-circle",
417
+ "value": "3"
418
+ },
419
+ {
420
+ "type": "stat-display",
421
+ "value": "4",
422
+ "label": "License expiring 30d",
423
+ "icon": "alert-triangle"
424
+ }
425
+ ],
426
+ "cols": 4.0,
427
+ "type": "simple-grid"
428
+ },
429
+ {
430
+ "type": "divider"
431
+ },
432
+ {
433
+ "type": "data-grid",
434
+ "itemActions": [
435
+ {
436
+ "variant": "primary",
437
+ "label": "Open",
438
+ "event": "OPEN_DRIVER",
439
+ "icon": "arrow-right"
440
+ },
441
+ {
442
+ "event": "SUSPEND",
443
+ "label": "Suspend",
444
+ "variant": "danger"
445
+ }
446
+ ],
447
+ "cols": 1.0,
448
+ "gap": "sm",
449
+ "fields": [
450
+ {
451
+ "variant": "caption",
452
+ "name": "name",
453
+ "label": "Name"
454
+ },
455
+ {
456
+ "label": "License",
457
+ "variant": "caption",
458
+ "name": "licenseNumber"
459
+ },
460
+ {
461
+ "label": "Class",
462
+ "variant": "badge",
463
+ "name": "licenseClass"
464
+ },
465
+ {
466
+ "name": "licenseExpiresAt",
467
+ "label": "Expires",
468
+ "variant": "caption"
469
+ },
470
+ {
471
+ "variant": "badge",
472
+ "name": "status",
473
+ "label": "Status"
474
+ },
475
+ {
476
+ "name": "assignedVehicleId",
477
+ "variant": "caption",
478
+ "label": "Vehicle"
479
+ }
480
+ ],
481
+ "entity": "@payload.data"
482
+ }
483
+ ],
484
+ "direction": "vertical"
485
+ }
486
+ ]
487
+ ]
488
+ },
489
+ {
490
+ "from": "loading",
491
+ "to": "error",
492
+ "event": "DriverLoadFailed",
493
+ "effects": [
494
+ [
495
+ "render-ui",
496
+ "main",
497
+ {
498
+ "variant": "error",
499
+ "message": "@payload.error",
500
+ "type": "alert"
501
+ }
502
+ ]
503
+ ]
504
+ },
505
+ {
506
+ "from": "browsing",
507
+ "to": "viewing_single",
508
+ "event": "OPEN_DRIVER",
509
+ "effects": [
510
+ [
511
+ "set",
512
+ "@entity.id",
513
+ "@payload.row.id"
514
+ ],
515
+ [
516
+ "set",
517
+ "@entity.name",
518
+ "@payload.row.name"
519
+ ],
520
+ [
521
+ "set",
522
+ "@entity.licenseNumber",
523
+ "@payload.row.licenseNumber"
524
+ ],
525
+ [
526
+ "set",
527
+ "@entity.licenseClass",
528
+ "@payload.row.licenseClass"
529
+ ],
530
+ [
531
+ "set",
532
+ "@entity.licenseExpiresAt",
533
+ "@payload.row.licenseExpiresAt"
534
+ ],
535
+ [
536
+ "set",
537
+ "@entity.hiredAt",
538
+ "@payload.row.hiredAt"
539
+ ],
540
+ [
541
+ "set",
542
+ "@entity.phone",
543
+ "@payload.row.phone"
544
+ ],
545
+ [
546
+ "set",
547
+ "@entity.email",
548
+ "@payload.row.email"
549
+ ],
550
+ [
551
+ "set",
552
+ "@entity.status",
553
+ "@payload.row.status"
554
+ ],
555
+ [
556
+ "set",
557
+ "@entity.assignedVehicleId",
558
+ "@payload.row.assignedVehicleId"
559
+ ],
560
+ [
561
+ "render-ui",
562
+ "main",
563
+ {
611
564
  "gap": "md",
565
+ "direction": "vertical",
612
566
  "children": [
613
567
  {
614
568
  "gap": "sm",
569
+ "align": "center",
570
+ "direction": "horizontal",
615
571
  "children": [
616
572
  {
617
- "name": "truck",
573
+ "type": "button",
574
+ "action": "CLOSE_VIEW",
575
+ "variant": "ghost",
576
+ "label": "Back"
577
+ },
578
+ {
579
+ "name": "user",
618
580
  "type": "icon"
619
581
  },
620
582
  {
583
+ "content": "@entity.name",
621
584
  "type": "typography",
622
- "variant": "h3",
623
- "content": "@config.title"
585
+ "variant": "h3"
624
586
  },
625
587
  {
626
- "pulse": true,
627
- "type": "status-dot",
628
- "label": "On duty",
629
- "status": "online",
630
- "size": "md"
588
+ "label": "@entity.licenseClass",
589
+ "type": "badge",
590
+ "variant": "primary"
631
591
  },
632
592
  {
633
593
  "variant": "default",
634
594
  "type": "badge",
635
- "label": "On Duty"
636
- },
637
- {
638
- "action": "CREATE",
639
- "variant": "primary",
640
- "label": "New Driver",
641
- "type": "button"
595
+ "label": "@entity.status"
642
596
  }
643
597
  ],
644
- "type": "stack",
645
- "align": "center",
646
- "direction": "horizontal"
598
+ "type": "stack"
647
599
  },
648
600
  {
649
601
  "type": "divider"
650
602
  },
651
603
  {
652
- "type": "data-grid",
653
- "entity": "@payload.data",
654
- "cols": 1.0,
655
604
  "gap": "sm",
656
- "itemActions": [
657
- {
658
- "event": "VIEW",
659
- "variant": "secondary",
660
- "label": "View"
661
- },
662
- {
663
- "label": "Edit",
664
- "variant": "secondary",
665
- "event": "EDIT"
666
- },
667
- {
668
- "label": "Suspend",
669
- "event": "SUSPEND",
670
- "variant": "secondary"
671
- },
605
+ "children": [
672
606
  {
673
- "variant": "secondary",
674
- "event": "REINSTATE",
675
- "label": "Reinstate"
607
+ "type": "stack",
608
+ "children": [
609
+ {
610
+ "content": "License #",
611
+ "variant": "caption",
612
+ "type": "typography",
613
+ "color": "muted"
614
+ },
615
+ {
616
+ "content": "@entity.licenseNumber",
617
+ "type": "typography",
618
+ "variant": "body"
619
+ }
620
+ ],
621
+ "direction": "horizontal",
622
+ "gap": "md"
676
623
  },
677
624
  {
678
- "event": "TERMINATE",
679
- "variant": "danger",
680
- "label": "Terminate"
625
+ "children": [
626
+ {
627
+ "color": "muted",
628
+ "type": "typography",
629
+ "variant": "caption",
630
+ "content": "Phone"
631
+ },
632
+ {
633
+ "type": "typography",
634
+ "variant": "body",
635
+ "content": "@entity.phone"
636
+ }
637
+ ],
638
+ "type": "stack",
639
+ "direction": "horizontal",
640
+ "gap": "md"
681
641
  },
682
642
  {
683
- "event": "ASSIGN_VEHICLE",
684
- "variant": "primary",
685
- "label": "Assign Vehicle"
643
+ "type": "stack",
644
+ "children": [
645
+ {
646
+ "type": "typography",
647
+ "variant": "caption",
648
+ "color": "muted",
649
+ "content": "Email"
650
+ },
651
+ {
652
+ "content": "@entity.email",
653
+ "variant": "body",
654
+ "type": "typography"
655
+ }
656
+ ],
657
+ "gap": "md",
658
+ "direction": "horizontal"
686
659
  },
687
660
  {
688
- "event": "REQUEST_DELETE",
689
- "variant": "danger",
690
- "label": "Delete"
661
+ "children": [
662
+ {
663
+ "color": "muted",
664
+ "type": "typography",
665
+ "variant": "caption",
666
+ "content": "Vehicle"
667
+ },
668
+ {
669
+ "variant": "body",
670
+ "type": "typography",
671
+ "content": "@entity.assignedVehicleId"
672
+ }
673
+ ],
674
+ "direction": "horizontal",
675
+ "gap": "md",
676
+ "type": "stack"
691
677
  }
692
678
  ],
693
- "fields": [
679
+ "direction": "vertical",
680
+ "type": "stack"
681
+ },
682
+ {
683
+ "type": "divider"
684
+ },
685
+ {
686
+ "children": [
694
687
  {
695
- "variant": "caption",
696
- "label": "Name",
697
- "name": "name"
688
+ "value": "@entity.hiredAt",
689
+ "icon": "calendar",
690
+ "type": "stat-display",
691
+ "label": "Hired"
698
692
  },
699
693
  {
700
- "name": "licenseNumber",
701
- "label": "License #",
702
- "variant": "caption"
703
- },
694
+ "value": "@entity.licenseExpiresAt",
695
+ "icon": "calendar-x",
696
+ "type": "stat-display",
697
+ "label": "License expires"
698
+ }
699
+ ],
700
+ "type": "simple-grid",
701
+ "cols": 2.0
702
+ },
703
+ {
704
+ "direction": "horizontal",
705
+ "gap": "sm",
706
+ "type": "stack",
707
+ "children": [
704
708
  {
705
- "variant": "badge",
706
- "label": "Class",
707
- "name": "licenseClass"
709
+ "action": "ASSIGN_VEHICLE",
710
+ "label": "Assign Vehicle",
711
+ "actionPayload": {
712
+ "id": "@entity.id"
713
+ },
714
+ "variant": "primary",
715
+ "type": "button"
708
716
  },
709
717
  {
710
- "name": "licenseExpiresAt",
711
- "label": "Expires",
712
- "variant": "caption"
718
+ "type": "button",
719
+ "label": "Suspend",
720
+ "actionPayload": {
721
+ "id": "@entity.id"
722
+ },
723
+ "action": "SUSPEND",
724
+ "variant": "danger"
713
725
  },
714
726
  {
715
- "name": "status",
716
- "label": "Status",
717
- "variant": "badge"
727
+ "actionPayload": {
728
+ "id": "@entity.id"
729
+ },
730
+ "type": "button",
731
+ "variant": "secondary",
732
+ "label": "Reinstate",
733
+ "action": "REINSTATE"
718
734
  },
719
735
  {
720
- "label": "Vehicle",
721
- "name": "assignedVehicleId",
722
- "variant": "caption"
736
+ "type": "button",
737
+ "actionPayload": {
738
+ "id": "@entity.id"
739
+ },
740
+ "variant": "danger",
741
+ "action": "TERMINATE",
742
+ "label": "Terminate"
723
743
  }
724
- ]
744
+ ],
745
+ "align": "center"
725
746
  }
726
- ]
727
- }
728
- ]
729
- ]
730
- },
731
- {
732
- "from": "loading",
733
- "to": "error",
734
- "event": "DriverLoadFailed",
735
- "effects": [
736
- [
737
- "render-ui",
738
- "main",
739
- {
740
- "variant": "error",
741
- "type": "alert",
742
- "message": "@payload.error"
747
+ ],
748
+ "type": "stack"
743
749
  }
744
750
  ]
745
751
  ]
746
752
  },
747
753
  {
748
- "from": "viewing",
754
+ "from": "browsing",
749
755
  "to": "loading",
750
- "event": "REFRESH",
756
+ "event": "SUSPEND",
751
757
  "effects": [
758
+ [
759
+ "set",
760
+ "@entity.id",
761
+ "@payload.id"
762
+ ],
752
763
  [
753
764
  "fetch",
754
765
  "Driver",
@@ -763,18 +774,18 @@
763
774
  "render-ui",
764
775
  "main",
765
776
  {
766
- "type": "stack",
767
- "align": "center",
768
777
  "direction": "vertical",
769
778
  "className": "py-12",
779
+ "align": "center",
780
+ "type": "stack",
770
781
  "children": [
771
782
  {
772
783
  "type": "spinner"
773
784
  },
774
785
  {
775
- "color": "muted",
776
- "content": "Refreshing drivers…",
777
786
  "variant": "caption",
787
+ "color": "muted",
788
+ "content": "Suspending driver…",
778
789
  "type": "typography"
779
790
  }
780
791
  ],
@@ -784,17 +795,17 @@
784
795
  ]
785
796
  },
786
797
  {
787
- "from": "viewing",
798
+ "from": "viewing_single",
788
799
  "to": "loading",
789
- "event": "SEARCH",
800
+ "event": "CLOSE_VIEW",
790
801
  "effects": [
791
802
  [
792
803
  "fetch",
793
804
  "Driver",
794
805
  {
795
806
  "emit": {
796
- "success": "DriverLoaded",
797
- "failure": "DriverLoadFailed"
807
+ "failure": "DriverLoadFailed",
808
+ "success": "DriverLoaded"
798
809
  }
799
810
  }
800
811
  ],
@@ -802,20 +813,20 @@
802
813
  "render-ui",
803
814
  "main",
804
815
  {
805
- "type": "stack",
806
816
  "direction": "vertical",
807
- "gap": "md",
817
+ "type": "stack",
808
818
  "align": "center",
809
819
  "className": "py-12",
820
+ "gap": "md",
810
821
  "children": [
811
822
  {
812
823
  "type": "spinner"
813
824
  },
814
825
  {
815
- "color": "muted",
826
+ "content": "Loading drivers…",
827
+ "type": "typography",
816
828
  "variant": "caption",
817
- "content": "Searching drivers…",
818
- "type": "typography"
829
+ "color": "muted"
819
830
  }
820
831
  ]
821
832
  }
@@ -823,17 +834,22 @@
823
834
  ]
824
835
  },
825
836
  {
826
- "from": "viewing",
837
+ "from": "viewing_single",
827
838
  "to": "loading",
828
- "event": "FILTER_STATUS",
839
+ "event": "ASSIGN_VEHICLE",
829
840
  "effects": [
841
+ [
842
+ "set",
843
+ "@entity.id",
844
+ "@payload.id"
845
+ ],
830
846
  [
831
847
  "fetch",
832
848
  "Driver",
833
849
  {
834
850
  "emit": {
835
- "success": "DriverLoaded",
836
- "failure": "DriverLoadFailed"
851
+ "failure": "DriverLoadFailed",
852
+ "success": "DriverLoaded"
837
853
  }
838
854
  }
839
855
  ],
@@ -841,29 +857,29 @@
841
857
  "render-ui",
842
858
  "main",
843
859
  {
844
- "gap": "md",
860
+ "type": "stack",
845
861
  "direction": "vertical",
846
- "align": "center",
847
862
  "children": [
848
863
  {
849
864
  "type": "spinner"
850
865
  },
851
866
  {
852
- "color": "muted",
853
- "type": "typography",
854
867
  "variant": "caption",
855
- "content": "Filtering drivers…"
868
+ "content": "Assigning vehicle…",
869
+ "type": "typography",
870
+ "color": "muted"
856
871
  }
857
872
  ],
858
- "type": "stack",
873
+ "gap": "md",
874
+ "align": "center",
859
875
  "className": "py-12"
860
876
  }
861
877
  ]
862
878
  ]
863
879
  },
864
880
  {
865
- "from": "viewing",
866
- "to": "viewing",
881
+ "from": "viewing_single",
882
+ "to": "loading",
867
883
  "event": "SUSPEND",
868
884
  "effects": [
869
885
  [
@@ -872,62 +888,43 @@
872
888
  "@payload.id"
873
889
  ],
874
890
  [
875
- "render-ui",
876
- "main",
877
- {
878
- "type": "alert",
879
- "variant": "warning",
880
- "message": "Driver suspended"
881
- }
882
- ]
883
- ]
884
- },
885
- {
886
- "from": "viewing",
887
- "to": "viewing",
888
- "event": "REINSTATE",
889
- "effects": [
890
- [
891
- "set",
892
- "@entity.id",
893
- "@payload.id"
894
- ],
895
- [
896
- "render-ui",
897
- "main",
891
+ "fetch",
892
+ "Driver",
898
893
  {
899
- "variant": "success",
900
- "type": "alert",
901
- "message": "Driver reinstated"
894
+ "emit": {
895
+ "failure": "DriverLoadFailed",
896
+ "success": "DriverLoaded"
897
+ }
902
898
  }
903
- ]
904
- ]
905
- },
906
- {
907
- "from": "viewing",
908
- "to": "viewing",
909
- "event": "TERMINATE",
910
- "effects": [
911
- [
912
- "set",
913
- "@entity.id",
914
- "@payload.id"
915
899
  ],
916
900
  [
917
901
  "render-ui",
918
902
  "main",
919
903
  {
920
- "message": "Driver terminated",
921
- "type": "alert",
922
- "variant": "error"
904
+ "type": "stack",
905
+ "children": [
906
+ {
907
+ "type": "spinner"
908
+ },
909
+ {
910
+ "color": "muted",
911
+ "variant": "caption",
912
+ "type": "typography",
913
+ "content": "Suspending driver…"
914
+ }
915
+ ],
916
+ "direction": "vertical",
917
+ "align": "center",
918
+ "gap": "md",
919
+ "className": "py-12"
923
920
  }
924
921
  ]
925
922
  ]
926
923
  },
927
924
  {
928
- "from": "viewing",
929
- "to": "viewing",
930
- "event": "ASSIGN_VEHICLE",
925
+ "from": "viewing_single",
926
+ "to": "loading",
927
+ "event": "REINSTATE",
931
928
  "effects": [
932
929
  [
933
930
  "set",
@@ -935,57 +932,43 @@
935
932
  "@payload.id"
936
933
  ],
937
934
  [
938
- "render-ui",
939
- "main",
940
- {
941
- "message": "Vehicle assigned",
942
- "type": "alert",
943
- "variant": "info"
944
- }
945
- ]
946
- ]
947
- },
948
- {
949
- "from": "viewing",
950
- "to": "viewing",
951
- "event": "CREATE",
952
- "effects": [
953
- [
954
- "render-ui",
955
- "main",
935
+ "fetch",
936
+ "Driver",
956
937
  {
957
- "type": "alert",
958
- "message": "Creating new driver",
959
- "variant": "info"
938
+ "emit": {
939
+ "failure": "DriverLoadFailed",
940
+ "success": "DriverLoaded"
941
+ }
960
942
  }
961
- ]
962
- ]
963
- },
964
- {
965
- "from": "viewing",
966
- "to": "viewing",
967
- "event": "VIEW",
968
- "effects": [
969
- [
970
- "set",
971
- "@entity.id",
972
- "@payload.id"
973
943
  ],
974
944
  [
975
945
  "render-ui",
976
946
  "main",
977
947
  {
978
- "variant": "info",
979
- "message": "Viewing driver",
980
- "type": "alert"
948
+ "direction": "vertical",
949
+ "align": "center",
950
+ "gap": "md",
951
+ "className": "py-12",
952
+ "type": "stack",
953
+ "children": [
954
+ {
955
+ "type": "spinner"
956
+ },
957
+ {
958
+ "variant": "caption",
959
+ "content": "Reinstating driver…",
960
+ "type": "typography",
961
+ "color": "muted"
962
+ }
963
+ ]
981
964
  }
982
965
  ]
983
966
  ]
984
967
  },
985
968
  {
986
- "from": "viewing",
987
- "to": "viewing",
988
- "event": "EDIT",
969
+ "from": "viewing_single",
970
+ "to": "loading",
971
+ "event": "TERMINATE",
989
972
  "effects": [
990
973
  [
991
974
  "set",
@@ -993,33 +976,35 @@
993
976
  "@payload.id"
994
977
  ],
995
978
  [
996
- "render-ui",
997
- "main",
979
+ "fetch",
980
+ "Driver",
998
981
  {
999
- "message": "Editing driver",
1000
- "variant": "info",
1001
- "type": "alert"
982
+ "emit": {
983
+ "failure": "DriverLoadFailed",
984
+ "success": "DriverLoaded"
985
+ }
1002
986
  }
1003
- ]
1004
- ]
1005
- },
1006
- {
1007
- "from": "viewing",
1008
- "to": "viewing",
1009
- "event": "REQUEST_DELETE",
1010
- "effects": [
1011
- [
1012
- "set",
1013
- "@entity.id",
1014
- "@payload.id"
1015
987
  ],
1016
988
  [
1017
989
  "render-ui",
1018
990
  "main",
1019
991
  {
1020
- "variant": "warning",
1021
- "message": "Delete requested",
1022
- "type": "alert"
992
+ "gap": "md",
993
+ "type": "stack",
994
+ "align": "center",
995
+ "className": "py-12",
996
+ "children": [
997
+ {
998
+ "type": "spinner"
999
+ },
1000
+ {
1001
+ "variant": "caption",
1002
+ "content": "Terminating driver…",
1003
+ "type": "typography",
1004
+ "color": "muted"
1005
+ }
1006
+ ],
1007
+ "direction": "vertical"
1023
1008
  }
1024
1009
  ]
1025
1010
  ]
@@ -1034,8 +1019,8 @@
1034
1019
  "Driver",
1035
1020
  {
1036
1021
  "emit": {
1037
- "failure": "DriverLoadFailed",
1038
- "success": "DriverLoaded"
1022
+ "success": "DriverLoaded",
1023
+ "failure": "DriverLoadFailed"
1039
1024
  }
1040
1025
  }
1041
1026
  ],
@@ -1073,4 +1058,4 @@
1073
1058
  ]
1074
1059
  }
1075
1060
  ]
1076
- }
1061
+ }