@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
@@ -99,6 +99,65 @@
99
99
  "category": "interaction",
100
100
  "linkedEntity": "StockAdjustment",
101
101
  "emits": [
102
+ {
103
+ "event": "OPEN_ADJUSTMENT",
104
+ "payloadSchema": [
105
+ {
106
+ "name": "id",
107
+ "type": "string",
108
+ "required": true
109
+ },
110
+ {
111
+ "name": "row.id",
112
+ "type": "string",
113
+ "required": true
114
+ },
115
+ {
116
+ "name": "row.stockLevelId",
117
+ "type": "string",
118
+ "required": true
119
+ },
120
+ {
121
+ "name": "row.sku",
122
+ "type": "string"
123
+ },
124
+ {
125
+ "name": "row.warehouseId",
126
+ "type": "string"
127
+ },
128
+ {
129
+ "name": "row.warehouseName",
130
+ "type": "string"
131
+ },
132
+ {
133
+ "name": "row.quantityDelta",
134
+ "type": "number"
135
+ },
136
+ {
137
+ "name": "row.reason",
138
+ "type": "string"
139
+ },
140
+ {
141
+ "name": "row.adjustedBy",
142
+ "type": "string"
143
+ },
144
+ {
145
+ "name": "row.adjustedAt",
146
+ "type": "string"
147
+ },
148
+ {
149
+ "name": "row.notes",
150
+ "type": "string"
151
+ },
152
+ {
153
+ "name": "row.pendingId",
154
+ "type": "string"
155
+ }
156
+ ]
157
+ },
158
+ {
159
+ "event": "CLOSE_VIEW"
160
+ },
102
161
  {
103
162
  "event": "CREATE"
104
163
  },
@@ -160,8 +219,6 @@
160
219
  },
161
220
  {
162
221
  "event": "StockAdjustmentLoaded",
163
- "description": "Fired when the stock-adjustment collection finishes loading",
164
- "scope": "internal",
165
222
  "payloadSchema": [
166
223
  {
167
224
  "name": "data",
@@ -171,8 +228,6 @@
171
228
  },
172
229
  {
173
230
  "event": "StockAdjustmentLoadFailed",
174
- "description": "Fired when the stock-adjustment collection fails to load",
175
- "scope": "internal",
176
231
  "payloadSchema": [
177
232
  {
178
233
  "name": "error",
@@ -212,6 +267,9 @@
212
267
  {
213
268
  "name": "browsing"
214
269
  },
270
+ {
271
+ "name": "viewing_single"
272
+ },
215
273
  {
216
274
  "name": "error"
217
275
  }
@@ -245,13 +303,43 @@
245
303
  }
246
304
  ]
247
305
  },
306
+ {
307
+ "key": "OPEN_ADJUSTMENT",
308
+ "name": "Open Adjustment",
309
+ "payloadSchema": [
310
+ {
311
+ "name": "id",
312
+ "type": "string",
313
+ "required": true
314
+ },
315
+ {
316
+ "name": "row",
317
+ "type": "StockAdjustment"
318
+ }
319
+ ]
320
+ },
248
321
  {
249
322
  "key": "CREATE",
250
323
  "name": "Create"
251
324
  },
252
325
  {
253
326
  "key": "REQUEST_DELETE",
254
- "name": "Request Delete"
327
+ "name": "Request Delete",
328
+ "payloadSchema": [
329
+ {
330
+ "name": "id",
331
+ "type": "string",
332
+ "required": true
333
+ },
334
+ {
335
+ "name": "row",
336
+ "type": "StockAdjustment"
337
+ }
338
+ ]
339
+ },
340
+ {
341
+ "key": "CLOSE_VIEW",
342
+ "name": "Close View"
255
343
  }
256
344
  ],
257
345
  "transitions": [
@@ -274,6 +362,11 @@
274
362
  "render-ui",
275
363
  "main",
276
364
  {
365
+ "direction": "vertical",
366
+ "type": "stack",
367
+ "align": "center",
368
+ "gap": "md",
369
+ "className": "py-12",
277
370
  "children": [
278
371
  {
279
372
  "type": "spinner"
@@ -281,15 +374,10 @@
281
374
  {
282
375
  "content": "Loading adjustments…",
283
376
  "type": "typography",
284
- "variant": "caption",
285
- "color": "muted"
377
+ "color": "muted",
378
+ "variant": "caption"
286
379
  }
287
- ],
288
- "type": "stack",
289
- "gap": "md",
290
- "align": "center",
291
- "className": "py-12",
292
- "direction": "vertical"
380
+ ]
293
381
  }
294
382
  ]
295
383
  ]
@@ -303,122 +391,112 @@
303
391
  "render-ui",
304
392
  "main",
305
393
  {
306
- "gap": "lg",
394
+ "gap": "md",
395
+ "direction": "vertical",
307
396
  "type": "stack",
308
397
  "children": [
309
398
  {
310
- "direction": "horizontal",
311
399
  "type": "stack",
312
- "gap": "md",
313
- "justify": "between",
400
+ "gap": "sm",
401
+ "align": "center",
402
+ "direction": "horizontal",
314
403
  "children": [
315
404
  {
316
- "direction": "horizontal",
317
- "gap": "md",
318
- "type": "stack",
319
- "children": [
320
- {
321
- "type": "icon",
322
- "name": "sliders"
323
- },
324
- {
325
- "content": "Stock Adjustments",
326
- "type": "typography",
327
- "variant": "h2"
328
- }
329
- ]
405
+ "name": "sliders",
406
+ "type": "icon"
330
407
  },
331
408
  {
332
- "label": "New Adjustment",
333
- "action": "CREATE",
334
- "icon": "plus",
335
- "variant": "primary",
336
- "type": "button"
409
+ "type": "typography",
410
+ "content": "Stock Adjustments",
411
+ "variant": "h3"
337
412
  }
338
413
  ]
339
414
  },
340
415
  {
341
- "icon": "file-spreadsheet",
342
- "maxSize": 10485760.0,
343
- "maxFiles": 1.0,
344
- "action": "CREATE",
345
- "label": "Drop CSV here for bulk import",
346
- "description": "or click to browse",
347
- "accept": ".csv,text/csv",
348
- "type": "upload-drop-zone"
349
- },
350
- {
351
- "direction": "horizontal",
352
- "align": "center",
416
+ "type": "simple-grid",
417
+ "cols": 4.0,
353
418
  "children": [
354
419
  {
355
- "variant": "caption",
356
- "color": "muted",
357
- "type": "typography",
358
- "content": "Quick quantity adjust"
420
+ "value": "@payload.data.length",
421
+ "icon": "sliders",
422
+ "label": "Total adjustments",
423
+ "type": "stat-display"
424
+ },
425
+ {
426
+ "value": "+184",
427
+ "label": "Net delta",
428
+ "type": "stat-display",
429
+ "icon": "trending-up"
430
+ },
431
+ {
432
+ "type": "stat-display",
433
+ "label": "This week",
434
+ "value": "26",
435
+ "icon": "calendar"
359
436
  },
360
437
  {
361
- "type": "number-stepper",
362
- "action": "CREATE",
363
- "min": -100.0,
364
- "size": "md",
365
- "step": 1.0,
366
- "max": 100.0,
367
- "value": 0.0
438
+ "type": "stat-display",
439
+ "label": "Shrinkage flags",
440
+ "value": "4",
441
+ "icon": "alert-triangle"
368
442
  }
369
- ],
370
- "type": "stack",
371
- "gap": "md"
443
+ ]
372
444
  },
373
445
  {
374
446
  "type": "divider"
375
447
  },
376
448
  {
377
- "itemActions": [
378
- {
379
- "label": "Delete",
380
- "event": "REQUEST_DELETE",
381
- "variant": "danger"
382
- }
383
- ],
449
+ "cols": 1.0,
450
+ "type": "data-grid",
451
+ "entity": "@payload.data",
452
+ "gap": "sm",
384
453
  "fields": [
385
454
  {
386
- "label": "SKU",
387
455
  "name": "sku",
388
- "variant": "h4",
389
- "icon": "tag"
456
+ "variant": "caption",
457
+ "label": "SKU"
390
458
  },
391
459
  {
392
- "name": "warehouseName",
393
460
  "label": "Warehouse",
394
- "variant": "body"
461
+ "variant": "caption",
462
+ "name": "warehouseName"
395
463
  },
396
464
  {
397
- "label": "Delta",
398
465
  "name": "quantityDelta",
399
- "variant": "badge"
466
+ "variant": "caption",
467
+ "label": "Delta"
400
468
  },
401
469
  {
402
- "variant": "badge",
470
+ "label": "Reason",
403
471
  "name": "reason",
404
- "label": "Reason"
472
+ "variant": "badge"
405
473
  },
406
474
  {
407
475
  "variant": "caption",
408
- "label": "Adjusted At",
409
- "name": "adjustedAt"
476
+ "name": "adjustedAt",
477
+ "label": "Adjusted At"
410
478
  },
411
479
  {
412
480
  "variant": "caption",
413
- "label": "Adjusted By",
481
+ "label": "By",
414
482
  "name": "adjustedBy"
415
483
  }
416
484
  ],
417
- "entity": "@payload.data",
418
- "type": "data-grid"
485
+ "itemActions": [
486
+ {
487
+ "icon": "arrow-right",
488
+ "event": "OPEN_ADJUSTMENT",
489
+ "variant": "primary",
490
+ "label": "Open"
491
+ },
492
+ {
493
+ "label": "Delete",
494
+ "event": "REQUEST_DELETE",
495
+ "variant": "danger"
496
+ }
497
+ ]
419
498
  }
420
- ],
421
- "direction": "vertical"
499
+ ]
422
500
  }
423
501
  ]
424
502
  ]
@@ -432,45 +510,350 @@
432
510
  "render-ui",
433
511
  "main",
434
512
  {
435
- "gap": "md",
513
+ "type": "alert",
514
+ "message": "@payload.error",
515
+ "variant": "error"
516
+ }
517
+ ]
518
+ ]
519
+ },
520
+ {
521
+ "from": "browsing",
522
+ "to": "viewing_single",
523
+ "event": "OPEN_ADJUSTMENT",
524
+ "effects": [
525
+ [
526
+ "set",
527
+ "@entity.id",
528
+ "@payload.row.id"
529
+ ],
530
+ [
531
+ "set",
532
+ "@entity.stockLevelId",
533
+ "@payload.row.stockLevelId"
534
+ ],
535
+ [
536
+ "set",
537
+ "@entity.sku",
538
+ "@payload.row.sku"
539
+ ],
540
+ [
541
+ "set",
542
+ "@entity.warehouseId",
543
+ "@payload.row.warehouseId"
544
+ ],
545
+ [
546
+ "set",
547
+ "@entity.warehouseName",
548
+ "@payload.row.warehouseName"
549
+ ],
550
+ [
551
+ "set",
552
+ "@entity.quantityDelta",
553
+ "@payload.row.quantityDelta"
554
+ ],
555
+ [
556
+ "set",
557
+ "@entity.reason",
558
+ "@payload.row.reason"
559
+ ],
560
+ [
561
+ "set",
562
+ "@entity.adjustedBy",
563
+ "@payload.row.adjustedBy"
564
+ ],
565
+ [
566
+ "set",
567
+ "@entity.adjustedAt",
568
+ "@payload.row.adjustedAt"
569
+ ],
570
+ [
571
+ "set",
572
+ "@entity.notes",
573
+ "@payload.row.notes"
574
+ ],
575
+ [
576
+ "render-ui",
577
+ "main",
578
+ {
579
+ "type": "stack",
436
580
  "direction": "vertical",
581
+ "children": [
582
+ {
583
+ "type": "stack",
584
+ "direction": "horizontal",
585
+ "gap": "sm",
586
+ "align": "center",
587
+ "children": [
588
+ {
589
+ "variant": "ghost",
590
+ "type": "button",
591
+ "label": "Back",
592
+ "action": "CLOSE_VIEW"
593
+ },
594
+ {
595
+ "name": "sliders",
596
+ "type": "icon"
597
+ },
598
+ {
599
+ "type": "typography",
600
+ "content": "@entity.sku",
601
+ "variant": "h3"
602
+ },
603
+ {
604
+ "type": "badge",
605
+ "label": "@entity.reason",
606
+ "variant": "primary"
607
+ }
608
+ ]
609
+ },
610
+ {
611
+ "type": "divider"
612
+ },
613
+ {
614
+ "type": "stack",
615
+ "gap": "sm",
616
+ "direction": "vertical",
617
+ "children": [
618
+ {
619
+ "direction": "horizontal",
620
+ "type": "stack",
621
+ "children": [
622
+ {
623
+ "variant": "caption",
624
+ "type": "typography",
625
+ "content": "Warehouse",
626
+ "color": "muted"
627
+ },
628
+ {
629
+ "variant": "body",
630
+ "type": "typography",
631
+ "content": "@entity.warehouseName"
632
+ }
633
+ ],
634
+ "gap": "md"
635
+ },
636
+ {
637
+ "direction": "horizontal",
638
+ "type": "stack",
639
+ "gap": "md",
640
+ "children": [
641
+ {
642
+ "content": "Adjusted by",
643
+ "color": "muted",
644
+ "type": "typography",
645
+ "variant": "caption"
646
+ },
647
+ {
648
+ "variant": "body",
649
+ "type": "typography",
650
+ "content": "@entity.adjustedBy"
651
+ }
652
+ ]
653
+ },
654
+ {
655
+ "type": "stack",
656
+ "gap": "md",
657
+ "direction": "horizontal",
658
+ "children": [
659
+ {
660
+ "color": "muted",
661
+ "content": "Notes",
662
+ "type": "typography",
663
+ "variant": "caption"
664
+ },
665
+ {
666
+ "type": "typography",
667
+ "content": "@entity.notes",
668
+ "variant": "body"
669
+ }
670
+ ]
671
+ }
672
+ ]
673
+ },
674
+ {
675
+ "type": "divider"
676
+ },
677
+ {
678
+ "cols": 3.0,
679
+ "type": "simple-grid",
680
+ "children": [
681
+ {
682
+ "type": "stat-display",
683
+ "label": "Delta",
684
+ "value": "@entity.quantityDelta",
685
+ "icon": "trending-up"
686
+ },
687
+ {
688
+ "icon": "calendar",
689
+ "value": "@entity.adjustedAt",
690
+ "type": "stat-display",
691
+ "label": "Adjusted at"
692
+ },
693
+ {
694
+ "type": "stat-display",
695
+ "label": "Reason",
696
+ "icon": "tag",
697
+ "value": "@entity.reason"
698
+ }
699
+ ]
700
+ },
701
+ {
702
+ "gap": "sm",
703
+ "type": "stack",
704
+ "direction": "horizontal",
705
+ "align": "center",
706
+ "children": [
707
+ {
708
+ "label": "Delete",
709
+ "actionPayload": {
710
+ "row": "@entity",
711
+ "id": "@entity.id"
712
+ },
713
+ "action": "REQUEST_DELETE",
714
+ "variant": "danger",
715
+ "type": "button"
716
+ }
717
+ ]
718
+ }
719
+ ],
720
+ "gap": "md"
721
+ }
722
+ ]
723
+ ]
724
+ },
725
+ {
726
+ "from": "browsing",
727
+ "to": "loading",
728
+ "event": "CREATE",
729
+ "effects": [
730
+ [
731
+ "fetch",
732
+ "StockAdjustment",
733
+ {
734
+ "emit": {
735
+ "success": "StockAdjustmentLoaded",
736
+ "failure": "StockAdjustmentLoadFailed"
737
+ }
738
+ }
739
+ ],
740
+ [
741
+ "render-ui",
742
+ "main",
743
+ {
744
+ "className": "py-12",
437
745
  "type": "stack",
746
+ "gap": "md",
438
747
  "align": "center",
748
+ "direction": "vertical",
439
749
  "children": [
440
750
  {
441
- "name": "alert-triangle",
442
- "color": "destructive",
443
- "type": "icon"
751
+ "type": "spinner"
444
752
  },
445
753
  {
754
+ "content": "Opening new adjustment…",
446
755
  "type": "typography",
447
- "variant": "h3",
448
- "content": "Failed to load adjustments"
756
+ "color": "muted",
757
+ "variant": "caption"
758
+ }
759
+ ]
760
+ }
761
+ ]
762
+ ]
763
+ },
764
+ {
765
+ "from": "browsing",
766
+ "to": "loading",
767
+ "event": "REQUEST_DELETE",
768
+ "effects": [
769
+ [
770
+ "set",
771
+ "@entity.id",
772
+ "@payload.id"
773
+ ],
774
+ [
775
+ "fetch",
776
+ "StockAdjustment",
777
+ {
778
+ "emit": {
779
+ "failure": "StockAdjustmentLoadFailed",
780
+ "success": "StockAdjustmentLoaded"
781
+ }
782
+ }
783
+ ],
784
+ [
785
+ "render-ui",
786
+ "main",
787
+ {
788
+ "align": "center",
789
+ "type": "stack",
790
+ "className": "py-12",
791
+ "direction": "vertical",
792
+ "gap": "md",
793
+ "children": [
794
+ {
795
+ "type": "spinner"
449
796
  },
450
797
  {
798
+ "variant": "caption",
799
+ "content": "Removing adjustment…",
451
800
  "type": "typography",
452
- "color": "muted",
453
- "variant": "body",
454
- "content": "@payload.error"
801
+ "color": "muted"
802
+ }
803
+ ]
804
+ }
805
+ ]
806
+ ]
807
+ },
808
+ {
809
+ "from": "viewing_single",
810
+ "to": "loading",
811
+ "event": "CLOSE_VIEW",
812
+ "effects": [
813
+ [
814
+ "fetch",
815
+ "StockAdjustment",
816
+ {
817
+ "emit": {
818
+ "failure": "StockAdjustmentLoadFailed",
819
+ "success": "StockAdjustmentLoaded"
820
+ }
821
+ }
822
+ ],
823
+ [
824
+ "render-ui",
825
+ "main",
826
+ {
827
+ "children": [
828
+ {
829
+ "type": "spinner"
455
830
  },
456
831
  {
457
- "label": "Retry",
458
- "variant": "primary",
459
- "icon": "rotate-ccw",
460
- "action": "INIT",
461
- "type": "button"
832
+ "content": "Loading adjustments…",
833
+ "type": "typography",
834
+ "color": "muted",
835
+ "variant": "caption"
462
836
  }
463
837
  ],
464
- "className": "py-12"
838
+ "gap": "md",
839
+ "align": "center",
840
+ "className": "py-12",
841
+ "direction": "vertical",
842
+ "type": "stack"
465
843
  }
466
844
  ]
467
845
  ]
468
846
  },
469
847
  {
470
- "from": "browsing",
848
+ "from": "viewing_single",
471
849
  "to": "loading",
472
- "event": "INIT",
850
+ "event": "REQUEST_DELETE",
473
851
  "effects": [
852
+ [
853
+ "set",
854
+ "@entity.id",
855
+ "@payload.id"
856
+ ],
474
857
  [
475
858
  "fetch",
476
859
  "StockAdjustment",
@@ -485,7 +868,22 @@
485
868
  "render-ui",
486
869
  "main",
487
870
  {
488
- "type": "spinner"
871
+ "align": "center",
872
+ "className": "py-12",
873
+ "direction": "vertical",
874
+ "type": "stack",
875
+ "children": [
876
+ {
877
+ "type": "spinner"
878
+ },
879
+ {
880
+ "variant": "caption",
881
+ "content": "Removing adjustment…",
882
+ "type": "typography",
883
+ "color": "muted"
884
+ }
885
+ ],
886
+ "gap": "md"
489
887
  }
490
888
  ]
491
889
  ]
@@ -500,8 +898,8 @@
500
898
  "StockAdjustment",
501
899
  {
502
900
  "emit": {
503
- "success": "StockAdjustmentLoaded",
504
- "failure": "StockAdjustmentLoadFailed"
901
+ "failure": "StockAdjustmentLoadFailed",
902
+ "success": "StockAdjustmentLoaded"
505
903
  }
506
904
  }
507
905
  ],
@@ -509,7 +907,8 @@
509
907
  "render-ui",
510
908
  "main",
511
909
  {
512
- "type": "spinner"
910
+ "type": "spinner",
911
+ "size": "sm"
513
912
  }
514
913
  ]
515
914
  ]
@@ -530,9 +929,9 @@
530
929
  "reason",
531
930
  "notes"
532
931
  ],
533
- "title": "New Adjustment",
534
932
  "icon": "plus-circle",
535
- "mode": "create"
933
+ "mode": "create",
934
+ "title": "New Adjustment"
536
935
  },
537
936
  "events": {
538
937
  "OPEN": "CREATE"
@@ -554,13 +953,13 @@
554
953
  "linkedEntity": "StockAdjustment",
555
954
  "config": {
556
955
  "icon": "alert-triangle",
956
+ "alertMessage": "This action cannot be undone.",
557
957
  "title": "Delete Adjustment",
558
- "confirmLabel": "Delete",
559
- "alertMessage": "This action cannot be undone."
958
+ "confirmLabel": "Delete"
560
959
  },
561
960
  "events": {
562
- "REQUEST": "DELETE",
563
- "CONFIRM": "CONFIRM_DELETE"
961
+ "CONFIRM": "CONFIRM_DELETE",
962
+ "REQUEST": "DELETE"
564
963
  },
565
964
  "listens": [
566
965
  {
@@ -728,4 +1127,4 @@
728
1127
  ]
729
1128
  }
730
1129
  ]
731
- }
1130
+ }