@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-stock-level",
3
3
  "version": "1.0.0",
4
- "description": "std-stock-level — on-hand quantity primitive for a SKU at a location. Owns a StockLevel entity and a single ledger trait that loads current levels, renders them in a data-grid, and surfaces Adjust / Recount actions per row.",
4
+ "description": "std-stock-level — on-hand quantity primitive for a SKU at a location. Lists stock rows in `browsing`; opens row detail in `viewing_single` with Adjust / Recount actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "StockLevelOrbital",
@@ -58,6 +58,53 @@
58
58
  "category": "interaction",
59
59
  "linkedEntity": "StockLevel",
60
60
  "emits": [
61
+ {
62
+ "event": "OPEN_STOCK",
63
+ "payloadSchema": [
64
+ {
65
+ "name": "id",
66
+ "type": "string",
67
+ "required": true
68
+ },
69
+ {
70
+ "name": "row.id",
71
+ "type": "string",
72
+ "required": true
73
+ },
74
+ {
75
+ "name": "row.sku",
76
+ "type": "string",
77
+ "required": true
78
+ },
79
+ {
80
+ "name": "row.productName",
81
+ "type": "string"
82
+ },
83
+ {
84
+ "name": "row.locationId",
85
+ "type": "string"
86
+ },
87
+ {
88
+ "name": "row.onHand",
89
+ "type": "number"
90
+ },
91
+ {
92
+ "name": "row.reserved",
93
+ "type": "number"
94
+ },
95
+ {
96
+ "name": "row.reorderPoint",
97
+ "type": "number"
98
+ },
99
+ {
100
+ "name": "row.lastCounted",
101
+ "type": "string"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "event": "CLOSE_VIEW"
107
+ },
61
108
  {
62
109
  "event": "ADJUST_STOCK",
63
110
  "payloadSchema": [
@@ -110,6 +157,9 @@
110
157
  {
111
158
  "name": "browsing"
112
159
  },
160
+ {
161
+ "name": "viewing_single"
162
+ },
113
163
  {
114
164
  "name": "error"
115
165
  }
@@ -143,6 +193,21 @@
143
193
  }
144
194
  ]
145
195
  },
196
+ {
197
+ "key": "OPEN_STOCK",
198
+ "name": "Open Stock",
199
+ "payloadSchema": [
200
+ {
201
+ "name": "id",
202
+ "type": "string",
203
+ "required": true
204
+ },
205
+ {
206
+ "name": "row",
207
+ "type": "StockLevel"
208
+ }
209
+ ]
210
+ },
146
211
  {
147
212
  "key": "ADJUST_STOCK",
148
213
  "name": "Adjust Stock",
@@ -164,6 +229,10 @@
164
229
  "required": true
165
230
  }
166
231
  ]
232
+ },
233
+ {
234
+ "key": "CLOSE_VIEW",
235
+ "name": "Close View"
167
236
  }
168
237
  ],
169
238
  "transitions": [
@@ -186,20 +255,20 @@
186
255
  "render-ui",
187
256
  "main",
188
257
  {
189
- "align": "center",
190
258
  "direction": "vertical",
191
- "gap": "md",
259
+ "align": "center",
192
260
  "className": "py-12",
193
261
  "type": "stack",
262
+ "gap": "md",
194
263
  "children": [
195
264
  {
196
265
  "type": "spinner"
197
266
  },
198
267
  {
199
- "type": "typography",
200
- "color": "muted",
201
268
  "content": "Loading stock levels…",
202
- "variant": "caption"
269
+ "variant": "caption",
270
+ "color": "muted",
271
+ "type": "typography"
203
272
  }
204
273
  ]
205
274
  }
@@ -215,149 +284,350 @@
215
284
  "render-ui",
216
285
  "main",
217
286
  {
218
- "direction": "vertical",
219
287
  "type": "stack",
220
- "gap": "md",
288
+ "direction": "vertical",
221
289
  "children": [
222
290
  {
291
+ "direction": "horizontal",
292
+ "align": "center",
293
+ "type": "stack",
223
294
  "children": [
224
295
  {
225
296
  "type": "icon",
226
297
  "name": "package"
227
298
  },
228
299
  {
229
- "variant": "h3",
230
300
  "type": "typography",
231
- "content": "@config.title"
301
+ "content": "@config.title",
302
+ "variant": "h3"
232
303
  }
233
304
  ],
234
- "direction": "horizontal",
235
- "type": "stack",
236
305
  "gap": "sm"
237
306
  },
238
307
  {
239
- "items": [
308
+ "children": [
240
309
  {
241
- "src": "https://picsum.photos/seed/sku1/800/400",
242
- "alt": "Featured SKU 1"
310
+ "value": "@payload.data.length",
311
+ "type": "stat-display",
312
+ "icon": "package",
313
+ "label": "Total SKUs"
314
+ },
315
+ {
316
+ "type": "stat-display",
317
+ "value": "12",
318
+ "label": "Below reorder",
319
+ "icon": "alert-triangle"
243
320
  },
244
321
  {
245
- "src": "https://picsum.photos/seed/sku2/800/400",
246
- "alt": "Featured SKU 2"
322
+ "type": "stat-display",
323
+ "value": "8,420",
324
+ "icon": "boxes",
325
+ "label": "Total on hand"
247
326
  },
248
327
  {
249
- "alt": "Featured SKU 3",
250
- "src": "https://picsum.photos/seed/sku3/800/400"
328
+ "label": "Reserved",
329
+ "type": "stat-display",
330
+ "icon": "lock",
331
+ "value": "1,260"
251
332
  }
252
333
  ],
253
- "type": "carousel",
254
- "showDots": true,
255
- "showArrows": true,
256
- "autoPlayInterval": 5000.0,
257
- "autoPlay": true,
258
- "loop": true
334
+ "cols": 4.0,
335
+ "type": "simple-grid"
336
+ },
337
+ {
338
+ "type": "divider"
259
339
  },
260
340
  {
261
- "variant": "primary",
262
- "tags": [
341
+ "type": "data-grid",
342
+ "fields": [
263
343
  {
264
- "label": "Electronics"
344
+ "label": "SKU",
345
+ "name": "sku",
346
+ "variant": "caption"
265
347
  },
266
348
  {
267
- "label": "Apparel"
349
+ "variant": "caption",
350
+ "label": "Product",
351
+ "name": "productName"
268
352
  },
269
353
  {
270
- "label": "Home Goods"
354
+ "name": "locationId",
355
+ "label": "Location",
356
+ "variant": "caption"
271
357
  },
272
358
  {
273
- "label": "Grocery"
359
+ "label": "On Hand",
360
+ "name": "onHand",
361
+ "variant": "caption"
274
362
  },
275
363
  {
276
- "label": "Outdoor"
364
+ "variant": "caption",
365
+ "name": "reorderPoint",
366
+ "label": "Reorder At"
367
+ }
368
+ ],
369
+ "cols": 1.0,
370
+ "gap": "sm",
371
+ "entity": "@payload.data",
372
+ "itemActions": [
373
+ {
374
+ "icon": "arrow-right",
375
+ "event": "OPEN_STOCK",
376
+ "label": "Open",
377
+ "variant": "primary"
277
378
  },
278
379
  {
279
- "label": "Books"
380
+ "event": "ADJUST_STOCK",
381
+ "variant": "danger",
382
+ "label": "Adjust"
280
383
  }
281
- ],
282
- "type": "tag-cloud"
283
- },
284
- {
285
- "type": "divider"
286
- },
384
+ ]
385
+ }
386
+ ],
387
+ "gap": "md"
388
+ }
389
+ ]
390
+ ]
391
+ },
392
+ {
393
+ "from": "loading",
394
+ "to": "error",
395
+ "event": "StockLevelLoadFailed",
396
+ "effects": [
397
+ [
398
+ "render-ui",
399
+ "main",
400
+ {
401
+ "variant": "error",
402
+ "message": "@payload.error",
403
+ "type": "alert"
404
+ }
405
+ ]
406
+ ]
407
+ },
408
+ {
409
+ "from": "browsing",
410
+ "to": "viewing_single",
411
+ "event": "OPEN_STOCK",
412
+ "effects": [
413
+ [
414
+ "set",
415
+ "@entity.id",
416
+ "@payload.row.id"
417
+ ],
418
+ [
419
+ "set",
420
+ "@entity.sku",
421
+ "@payload.row.sku"
422
+ ],
423
+ [
424
+ "set",
425
+ "@entity.productName",
426
+ "@payload.row.productName"
427
+ ],
428
+ [
429
+ "set",
430
+ "@entity.locationId",
431
+ "@payload.row.locationId"
432
+ ],
433
+ [
434
+ "set",
435
+ "@entity.onHand",
436
+ "@payload.row.onHand"
437
+ ],
438
+ [
439
+ "set",
440
+ "@entity.reserved",
441
+ "@payload.row.reserved"
442
+ ],
443
+ [
444
+ "set",
445
+ "@entity.reorderPoint",
446
+ "@payload.row.reorderPoint"
447
+ ],
448
+ [
449
+ "set",
450
+ "@entity.lastCounted",
451
+ "@payload.row.lastCounted"
452
+ ],
453
+ [
454
+ "render-ui",
455
+ "main",
456
+ {
457
+ "children": [
287
458
  {
288
459
  "children": [
289
460
  {
290
- "type": "stat-display",
291
- "label": "Total SKUs",
292
- "value": "@payload.data.length"
461
+ "type": "button",
462
+ "action": "CLOSE_VIEW",
463
+ "variant": "ghost",
464
+ "label": "Back"
293
465
  },
294
466
  {
295
- "type": "stat-display",
296
- "label": "Reorder Threshold",
297
- "value": 0.0
467
+ "type": "icon",
468
+ "name": "package"
298
469
  },
299
470
  {
300
- "type": "stat-display",
301
- "label": "On Hand",
302
- "value": 0.0
471
+ "variant": "h3",
472
+ "type": "typography",
473
+ "content": "@entity.productName"
474
+ },
475
+ {
476
+ "type": "badge",
477
+ "label": "@entity.sku",
478
+ "variant": "primary"
303
479
  }
304
480
  ],
305
- "cols": 3.0,
306
- "type": "simple-grid"
481
+ "type": "stack",
482
+ "align": "center",
483
+ "direction": "horizontal",
484
+ "gap": "sm"
307
485
  },
308
486
  {
309
- "cols": 1.0,
310
- "entity": "@payload.data",
487
+ "type": "divider"
488
+ },
489
+ {
490
+ "type": "stack",
311
491
  "gap": "sm",
312
- "type": "data-grid",
313
- "fields": [
492
+ "children": [
314
493
  {
315
- "name": "sku",
316
- "variant": "caption",
317
- "label": "SKU"
494
+ "gap": "md",
495
+ "type": "stack",
496
+ "direction": "horizontal",
497
+ "children": [
498
+ {
499
+ "type": "typography",
500
+ "variant": "caption",
501
+ "color": "muted",
502
+ "content": "Location"
503
+ },
504
+ {
505
+ "content": "@entity.locationId",
506
+ "type": "typography",
507
+ "variant": "body"
508
+ }
509
+ ]
318
510
  },
319
511
  {
320
- "name": "productName",
321
- "label": "Product",
322
- "variant": "caption"
323
- },
512
+ "direction": "horizontal",
513
+ "type": "stack",
514
+ "gap": "md",
515
+ "children": [
516
+ {
517
+ "variant": "caption",
518
+ "type": "typography",
519
+ "content": "Last counted",
520
+ "color": "muted"
521
+ },
522
+ {
523
+ "type": "typography",
524
+ "variant": "body",
525
+ "content": "@entity.lastCounted"
526
+ }
527
+ ]
528
+ }
529
+ ],
530
+ "direction": "vertical"
531
+ },
532
+ {
533
+ "type": "divider"
534
+ },
535
+ {
536
+ "children": [
324
537
  {
325
- "variant": "caption",
326
- "name": "locationId",
327
- "label": "Location"
538
+ "type": "stat-display",
539
+ "label": "On hand",
540
+ "value": "@entity.onHand",
541
+ "icon": "boxes"
328
542
  },
329
543
  {
330
- "name": "onHand",
331
- "label": "On Hand",
332
- "variant": "caption"
544
+ "icon": "lock",
545
+ "label": "Reserved",
546
+ "value": "@entity.reserved",
547
+ "type": "stat-display"
333
548
  },
334
549
  {
335
- "name": "reorderPoint",
336
- "label": "Reorder At",
337
- "variant": "caption"
550
+ "type": "stat-display",
551
+ "label": "Reorder at",
552
+ "value": "@entity.reorderPoint",
553
+ "icon": "alert-triangle"
338
554
  }
339
555
  ],
340
- "itemActions": [
556
+ "cols": 3.0,
557
+ "type": "simple-grid"
558
+ },
559
+ {
560
+ "gap": "sm",
561
+ "direction": "horizontal",
562
+ "type": "stack",
563
+ "align": "center",
564
+ "children": [
341
565
  {
342
- "event": "ADJUST_STOCK",
343
- "icon": "sliders",
344
- "label": "Adjust",
345
- "variant": "primary"
566
+ "variant": "primary",
567
+ "action": "ADJUST_STOCK",
568
+ "type": "button",
569
+ "actionPayload": {
570
+ "id": "@entity.id"
571
+ },
572
+ "label": "Adjust"
346
573
  },
347
574
  {
348
- "variant": "ghost",
349
- "icon": "clipboard-check",
350
- "event": "RECOUNT",
351
- "label": "Recount"
575
+ "actionPayload": {
576
+ "id": "@entity.id"
577
+ },
578
+ "action": "RECOUNT",
579
+ "label": "Recount",
580
+ "variant": "secondary",
581
+ "type": "button"
352
582
  }
353
583
  ]
584
+ }
585
+ ],
586
+ "type": "stack",
587
+ "gap": "md",
588
+ "direction": "vertical"
589
+ }
590
+ ]
591
+ ]
592
+ },
593
+ {
594
+ "from": "browsing",
595
+ "to": "loading",
596
+ "event": "ADJUST_STOCK",
597
+ "effects": [
598
+ [
599
+ "set",
600
+ "@entity.id",
601
+ "@payload.id"
602
+ ],
603
+ [
604
+ "fetch",
605
+ "StockLevel",
606
+ {
607
+ "emit": {
608
+ "failure": "StockLevelLoadFailed",
609
+ "success": "StockLevelLoaded"
610
+ }
611
+ }
612
+ ],
613
+ [
614
+ "render-ui",
615
+ "main",
616
+ {
617
+ "align": "center",
618
+ "type": "stack",
619
+ "gap": "md",
620
+ "direction": "vertical",
621
+ "className": "py-12",
622
+ "children": [
623
+ {
624
+ "type": "spinner"
354
625
  },
355
626
  {
356
- "hasMore": true,
357
- "threshold": "200px",
358
- "isLoading": false,
359
- "type": "infinite-scroll-sentinel",
360
- "loadMoreEvent": "INIT"
627
+ "type": "typography",
628
+ "variant": "caption",
629
+ "content": "Adjusting stock…",
630
+ "color": "muted"
361
631
  }
362
632
  ]
363
633
  }
@@ -365,24 +635,91 @@
365
635
  ]
366
636
  },
367
637
  {
368
- "from": "loading",
369
- "to": "error",
370
- "event": "StockLevelLoadFailed",
638
+ "from": "browsing",
639
+ "to": "loading",
640
+ "event": "RECOUNT",
371
641
  "effects": [
642
+ [
643
+ "set",
644
+ "@entity.id",
645
+ "@payload.id"
646
+ ],
647
+ [
648
+ "fetch",
649
+ "StockLevel",
650
+ {
651
+ "emit": {
652
+ "success": "StockLevelLoaded",
653
+ "failure": "StockLevelLoadFailed"
654
+ }
655
+ }
656
+ ],
372
657
  [
373
658
  "render-ui",
374
659
  "main",
375
660
  {
376
- "message": "@payload.error",
377
- "type": "alert",
378
- "variant": "error"
661
+ "className": "py-12",
662
+ "type": "stack",
663
+ "direction": "vertical",
664
+ "align": "center",
665
+ "gap": "md",
666
+ "children": [
667
+ {
668
+ "type": "spinner"
669
+ },
670
+ {
671
+ "type": "typography",
672
+ "content": "Recounting stock…",
673
+ "color": "muted",
674
+ "variant": "caption"
675
+ }
676
+ ]
379
677
  }
380
678
  ]
381
679
  ]
382
680
  },
383
681
  {
384
- "from": "browsing",
385
- "to": "browsing",
682
+ "from": "viewing_single",
683
+ "to": "loading",
684
+ "event": "CLOSE_VIEW",
685
+ "effects": [
686
+ [
687
+ "fetch",
688
+ "StockLevel",
689
+ {
690
+ "emit": {
691
+ "failure": "StockLevelLoadFailed",
692
+ "success": "StockLevelLoaded"
693
+ }
694
+ }
695
+ ],
696
+ [
697
+ "render-ui",
698
+ "main",
699
+ {
700
+ "type": "stack",
701
+ "direction": "vertical",
702
+ "align": "center",
703
+ "children": [
704
+ {
705
+ "type": "spinner"
706
+ },
707
+ {
708
+ "type": "typography",
709
+ "content": "Loading stock levels…",
710
+ "variant": "caption",
711
+ "color": "muted"
712
+ }
713
+ ],
714
+ "gap": "md",
715
+ "className": "py-12"
716
+ }
717
+ ]
718
+ ]
719
+ },
720
+ {
721
+ "from": "viewing_single",
722
+ "to": "loading",
386
723
  "event": "ADJUST_STOCK",
387
724
  "effects": [
388
725
  [
@@ -390,20 +727,43 @@
390
727
  "@entity.id",
391
728
  "@payload.id"
392
729
  ],
730
+ [
731
+ "fetch",
732
+ "StockLevel",
733
+ {
734
+ "emit": {
735
+ "success": "StockLevelLoaded",
736
+ "failure": "StockLevelLoadFailed"
737
+ }
738
+ }
739
+ ],
393
740
  [
394
741
  "render-ui",
395
742
  "main",
396
743
  {
397
- "message": "Stock adjustment requested",
398
- "type": "alert",
399
- "variant": "success"
744
+ "type": "stack",
745
+ "direction": "vertical",
746
+ "align": "center",
747
+ "className": "py-12",
748
+ "children": [
749
+ {
750
+ "type": "spinner"
751
+ },
752
+ {
753
+ "variant": "caption",
754
+ "type": "typography",
755
+ "content": "Adjusting stock…",
756
+ "color": "muted"
757
+ }
758
+ ],
759
+ "gap": "md"
400
760
  }
401
761
  ]
402
762
  ]
403
763
  },
404
764
  {
405
- "from": "browsing",
406
- "to": "browsing",
765
+ "from": "viewing_single",
766
+ "to": "loading",
407
767
  "event": "RECOUNT",
408
768
  "effects": [
409
769
  [
@@ -411,13 +771,36 @@
411
771
  "@entity.id",
412
772
  "@payload.id"
413
773
  ],
774
+ [
775
+ "fetch",
776
+ "StockLevel",
777
+ {
778
+ "emit": {
779
+ "failure": "StockLevelLoadFailed",
780
+ "success": "StockLevelLoaded"
781
+ }
782
+ }
783
+ ],
414
784
  [
415
785
  "render-ui",
416
786
  "main",
417
787
  {
418
- "message": "Recount scheduled",
419
- "type": "alert",
420
- "variant": "info"
788
+ "gap": "md",
789
+ "direction": "vertical",
790
+ "type": "stack",
791
+ "className": "py-12",
792
+ "children": [
793
+ {
794
+ "type": "spinner"
795
+ },
796
+ {
797
+ "variant": "caption",
798
+ "color": "muted",
799
+ "content": "Recounting stock…",
800
+ "type": "typography"
801
+ }
802
+ ],
803
+ "align": "center"
421
804
  }
422
805
  ]
423
806
  ]
@@ -432,8 +815,8 @@
432
815
  "StockLevel",
433
816
  {
434
817
  "emit": {
435
- "failure": "StockLevelLoadFailed",
436
- "success": "StockLevelLoaded"
818
+ "success": "StockLevelLoaded",
819
+ "failure": "StockLevelLoadFailed"
437
820
  }
438
821
  }
439
822
  ],
@@ -471,4 +854,4 @@
471
854
  ]
472
855
  }
473
856
  ]
474
- }
857
+ }