@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-payout-ledger",
3
3
  "version": "1.0.0",
4
- "description": "std-payout-ledger — marketplace vendor payout atom. Owns a Payout entity and a single trait that loads payout history into a data-grid alongside a balance-summary stat strip, requests stripe withdrawals, and marks rows paid.",
4
+ "description": "std-payout-ledger — marketplace vendor payout atom. Lists payouts in `browsing`; opens detail in `viewing_single` with Withdraw / Mark Paid actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "PayoutOrbital",
@@ -66,64 +66,10 @@
66
66
  "linkedEntity": "Payout",
67
67
  "emits": [
68
68
  {
69
- "event": "REQUEST_WITHDRAW",
70
- "payloadSchema": [
71
- {
72
- "name": "amount",
73
- "type": "number",
74
- "required": true
75
- },
76
- {
77
- "name": "vendorId",
78
- "type": "string",
79
- "required": true
80
- },
81
- {
82
- "name": "row.id",
83
- "type": "string",
84
- "required": true
85
- },
86
- {
87
- "name": "row.vendorId",
88
- "type": "string",
89
- "required": true
90
- },
91
- {
92
- "name": "row.amount",
93
- "type": "number",
94
- "required": true
95
- },
96
- {
97
- "name": "row.currency",
98
- "type": "string"
99
- },
100
- {
101
- "name": "row.status",
102
- "type": "string"
103
- },
104
- {
105
- "name": "row.bankAccountMasked",
106
- "type": "string"
107
- },
108
- {
109
- "name": "row.requestedAt",
110
- "type": "string"
111
- },
112
- {
113
- "name": "row.paidAt",
114
- "type": "string"
115
- },
116
- {
117
- "name": "row.notes",
118
- "type": "string"
119
- }
120
- ]
121
- },
122
- {
123
- "event": "MARK_PAID",
69
+ "event": "OPEN_PAYOUT",
124
70
  "payloadSchema": [
125
71
  {
126
- "name": "payoutId",
72
+ "name": "id",
127
73
  "type": "string",
128
74
  "required": true
129
75
  },
@@ -169,117 +115,39 @@
169
115
  ]
170
116
  },
171
117
  {
172
- "event": "PayoutLoaded",
173
- "payloadSchema": [
174
- {
175
- "name": "data",
176
- "type": "[Payout]"
177
- }
178
- ]
118
+ "event": "CLOSE_VIEW"
179
119
  },
180
120
  {
181
- "event": "PayoutLoadFailed",
121
+ "event": "REQUEST_WITHDRAW",
182
122
  "payloadSchema": [
183
123
  {
184
- "name": "error",
185
- "type": "string"
186
- },
187
- {
188
- "name": "code",
189
- "type": "string"
124
+ "name": "id",
125
+ "type": "string",
126
+ "required": true
190
127
  }
191
128
  ]
192
129
  },
193
130
  {
194
- "event": "PayoutUpdated",
131
+ "event": "MARK_PAID",
195
132
  "payloadSchema": [
196
133
  {
197
- "name": "row.id",
198
- "type": "string",
199
- "required": true
200
- },
201
- {
202
- "name": "row.vendorId",
134
+ "name": "id",
203
135
  "type": "string",
204
136
  "required": true
205
- },
206
- {
207
- "name": "row.amount",
208
- "type": "number",
209
- "required": true
210
- },
211
- {
212
- "name": "row.currency",
213
- "type": "string"
214
- },
215
- {
216
- "name": "row.status",
217
- "type": "string"
218
- },
219
- {
220
- "name": "row.bankAccountMasked",
221
- "type": "string"
222
- },
223
- {
224
- "name": "row.requestedAt",
225
- "type": "string"
226
- },
227
- {
228
- "name": "row.paidAt",
229
- "type": "string"
230
- },
231
- {
232
- "name": "row.notes",
233
- "type": "string"
234
137
  }
235
138
  ]
236
139
  },
237
140
  {
238
- "event": "PayoutWithdrawn",
141
+ "event": "PayoutLoaded",
239
142
  "payloadSchema": [
240
143
  {
241
- "name": "row.id",
242
- "type": "string",
243
- "required": true
244
- },
245
- {
246
- "name": "row.vendorId",
247
- "type": "string",
248
- "required": true
249
- },
250
- {
251
- "name": "row.amount",
252
- "type": "number",
253
- "required": true
254
- },
255
- {
256
- "name": "row.currency",
257
- "type": "string"
258
- },
259
- {
260
- "name": "row.status",
261
- "type": "string"
262
- },
263
- {
264
- "name": "row.bankAccountMasked",
265
- "type": "string"
266
- },
267
- {
268
- "name": "row.requestedAt",
269
- "type": "string"
270
- },
271
- {
272
- "name": "row.paidAt",
273
- "type": "string"
274
- },
275
- {
276
- "name": "row.notes",
277
- "type": "string"
144
+ "name": "data",
145
+ "type": "[Payout]"
278
146
  }
279
147
  ]
280
148
  },
281
149
  {
282
- "event": "PayoutWithdrawFailed",
150
+ "event": "PayoutLoadFailed",
283
151
  "payloadSchema": [
284
152
  {
285
153
  "name": "error",
@@ -302,7 +170,7 @@
302
170
  "name": "browsing"
303
171
  },
304
172
  {
305
- "name": "withdrawing"
173
+ "name": "viewing_single"
306
174
  },
307
175
  {
308
176
  "name": "error"
@@ -338,16 +206,11 @@
338
206
  ]
339
207
  },
340
208
  {
341
- "key": "REQUEST_WITHDRAW",
342
- "name": "Request Withdraw",
209
+ "key": "OPEN_PAYOUT",
210
+ "name": "Open Payout",
343
211
  "payloadSchema": [
344
212
  {
345
- "name": "amount",
346
- "type": "number",
347
- "required": true
348
- },
349
- {
350
- "name": "vendorId",
213
+ "name": "id",
351
214
  "type": "string",
352
215
  "required": true
353
216
  },
@@ -358,53 +221,30 @@
358
221
  ]
359
222
  },
360
223
  {
361
- "key": "MARK_PAID",
362
- "name": "Mark Paid",
224
+ "key": "REQUEST_WITHDRAW",
225
+ "name": "Request Withdraw",
363
226
  "payloadSchema": [
364
227
  {
365
- "name": "payoutId",
228
+ "name": "id",
366
229
  "type": "string",
367
230
  "required": true
368
- },
369
- {
370
- "name": "row",
371
- "type": "Payout"
372
231
  }
373
232
  ]
374
233
  },
375
234
  {
376
- "key": "PayoutUpdated",
377
- "name": "Payout updated",
378
- "payloadSchema": [
379
- {
380
- "name": "row",
381
- "type": "Payout"
382
- }
383
- ]
384
- },
385
- {
386
- "key": "PayoutWithdrawn",
387
- "name": "Payout withdrawn",
235
+ "key": "MARK_PAID",
236
+ "name": "Mark Paid",
388
237
  "payloadSchema": [
389
238
  {
390
- "name": "row",
391
- "type": "Payout"
239
+ "name": "id",
240
+ "type": "string",
241
+ "required": true
392
242
  }
393
243
  ]
394
244
  },
395
245
  {
396
- "key": "PayoutWithdrawFailed",
397
- "name": "Payout withdraw failed",
398
- "payloadSchema": [
399
- {
400
- "name": "error",
401
- "type": "string"
402
- },
403
- {
404
- "name": "code",
405
- "type": "string"
406
- }
407
- ]
246
+ "key": "CLOSE_VIEW",
247
+ "name": "Close View"
408
248
  }
409
249
  ],
410
250
  "transitions": [
@@ -418,8 +258,8 @@
418
258
  "Payout",
419
259
  {
420
260
  "emit": {
421
- "success": "PayoutLoaded",
422
- "failure": "PayoutLoadFailed"
261
+ "failure": "PayoutLoadFailed",
262
+ "success": "PayoutLoaded"
423
263
  }
424
264
  }
425
265
  ],
@@ -427,9 +267,10 @@
427
267
  "render-ui",
428
268
  "main",
429
269
  {
270
+ "gap": "md",
271
+ "direction": "vertical",
430
272
  "className": "py-12",
431
273
  "type": "stack",
432
- "direction": "vertical",
433
274
  "align": "center",
434
275
  "children": [
435
276
  {
@@ -437,12 +278,11 @@
437
278
  },
438
279
  {
439
280
  "type": "typography",
440
- "content": "Loading payouts…",
441
281
  "variant": "caption",
442
- "color": "muted"
282
+ "color": "muted",
283
+ "content": "Loading payouts…"
443
284
  }
444
- ],
445
- "gap": "md"
285
+ ]
446
286
  }
447
287
  ]
448
288
  ]
@@ -456,112 +296,112 @@
456
296
  "render-ui",
457
297
  "main",
458
298
  {
299
+ "direction": "vertical",
300
+ "type": "stack",
459
301
  "gap": "md",
460
302
  "children": [
461
303
  {
462
- "direction": "horizontal",
463
- "type": "stack",
304
+ "align": "center",
464
305
  "children": [
465
306
  {
466
307
  "type": "icon",
467
308
  "name": "wallet"
468
309
  },
469
310
  {
470
- "variant": "h3",
471
311
  "content": "@config.title",
312
+ "variant": "h3",
472
313
  "type": "typography"
473
314
  }
474
315
  ],
316
+ "type": "stack",
317
+ "direction": "horizontal",
475
318
  "gap": "sm"
476
319
  },
477
- {
478
- "type": "divider"
479
- },
480
320
  {
481
321
  "type": "simple-grid",
482
322
  "children": [
483
323
  {
484
- "format": "currency",
485
- "variant": "warning",
486
- "value": 0.0,
324
+ "type": "stat-display",
325
+ "value": "@payload.data.length",
326
+ "icon": "wallet",
327
+ "label": "Total payouts"
328
+ },
329
+ {
487
330
  "label": "Pending",
331
+ "value": "12",
488
332
  "type": "stat-display",
489
333
  "icon": "clock"
490
334
  },
491
335
  {
336
+ "label": "Paid this month",
492
337
  "type": "stat-display",
493
- "label": "Paid",
494
- "variant": "success",
495
- "icon": "check-circle",
496
- "format": "currency",
497
- "value": 0.0
338
+ "value": "$48,200",
339
+ "icon": "check-circle"
498
340
  },
499
341
  {
500
- "label": "Minimum Withdrawal",
501
- "variant": "info",
502
- "format": "currency",
503
- "type": "stat-display",
504
342
  "value": "@config.minimumWithdrawal",
505
- "icon": "dollar-sign"
343
+ "icon": "dollar-sign",
344
+ "label": "Minimum",
345
+ "type": "stat-display"
506
346
  }
507
347
  ],
508
- "cols": 3.0
348
+ "cols": 4.0
349
+ },
350
+ {
351
+ "type": "divider"
509
352
  },
510
353
  {
511
- "entity": "@payload.data",
354
+ "gap": "sm",
355
+ "cols": 1.0,
356
+ "itemActions": [
357
+ {
358
+ "event": "OPEN_PAYOUT",
359
+ "label": "Open",
360
+ "icon": "arrow-right",
361
+ "variant": "primary"
362
+ },
363
+ {
364
+ "variant": "danger",
365
+ "label": "Withdraw",
366
+ "event": "REQUEST_WITHDRAW"
367
+ }
368
+ ],
512
369
  "fields": [
513
370
  {
371
+ "name": "vendorId",
514
372
  "label": "Vendor",
515
- "variant": "caption",
516
- "name": "vendorId"
373
+ "variant": "caption"
517
374
  },
518
375
  {
519
- "variant": "caption",
376
+ "label": "Amount",
520
377
  "name": "amount",
521
- "label": "Amount"
378
+ "variant": "caption"
522
379
  },
523
380
  {
524
- "label": "Currency",
525
381
  "name": "currency",
382
+ "label": "Currency",
526
383
  "variant": "badge"
527
384
  },
528
385
  {
529
- "name": "status",
530
386
  "label": "Status",
387
+ "name": "status",
531
388
  "variant": "badge"
532
389
  },
533
390
  {
534
391
  "name": "bankAccountMasked",
535
- "variant": "caption",
536
- "label": "Bank"
392
+ "label": "Bank",
393
+ "variant": "caption"
537
394
  },
538
395
  {
396
+ "name": "requestedAt",
539
397
  "label": "Requested",
540
- "variant": "caption",
541
- "name": "requestedAt"
542
- }
543
- ],
544
- "gap": "sm",
545
- "itemActions": [
546
- {
547
- "event": "REQUEST_WITHDRAW",
548
- "label": "Withdraw",
549
- "icon": "send",
550
- "variant": "primary"
551
- },
552
- {
553
- "variant": "secondary",
554
- "event": "MARK_PAID",
555
- "label": "Mark Paid",
556
- "icon": "check"
398
+ "variant": "caption"
557
399
  }
558
400
  ],
559
401
  "type": "data-grid",
560
- "cols": 1.0
402
+ "entity": "@payload.data"
561
403
  }
562
- ],
563
- "direction": "vertical",
564
- "type": "stack"
404
+ ]
565
405
  }
566
406
  ]
567
407
  ]
@@ -575,17 +415,17 @@
575
415
  "render-ui",
576
416
  "main",
577
417
  {
578
- "type": "alert",
418
+ "message": "@payload.error",
579
419
  "variant": "error",
580
- "message": "@payload.error"
420
+ "type": "alert"
581
421
  }
582
422
  ]
583
423
  ]
584
424
  },
585
425
  {
586
426
  "from": "browsing",
587
- "to": "withdrawing",
588
- "event": "REQUEST_WITHDRAW",
427
+ "to": "viewing_single",
428
+ "event": "OPEN_PAYOUT",
589
429
  "effects": [
590
430
  [
591
431
  "set",
@@ -595,12 +435,12 @@
595
435
  [
596
436
  "set",
597
437
  "@entity.vendorId",
598
- "@payload.vendorId"
438
+ "@payload.row.vendorId"
599
439
  ],
600
440
  [
601
441
  "set",
602
442
  "@entity.amount",
603
- "@payload.amount"
443
+ "@payload.row.amount"
604
444
  ],
605
445
  [
606
446
  "set",
@@ -610,7 +450,7 @@
610
450
  [
611
451
  "set",
612
452
  "@entity.status",
613
- "processing"
453
+ "@payload.row.status"
614
454
  ],
615
455
  [
616
456
  "set",
@@ -620,102 +460,212 @@
620
460
  [
621
461
  "set",
622
462
  "@entity.requestedAt",
623
- "now"
463
+ "@payload.row.requestedAt"
624
464
  ],
625
465
  [
626
- "persist",
627
- "update",
628
- "Payout",
629
- "@entity",
630
- {
631
- "emit": {
632
- "success": "PayoutUpdated",
633
- "failure": "PayoutWithdrawFailed"
634
- }
635
- }
466
+ "set",
467
+ "@entity.paidAt",
468
+ "@payload.row.paidAt"
636
469
  ],
637
470
  [
638
- "call-service",
639
- "stripe-payout",
640
- "create",
641
- {
642
- "currency": "@entity.currency",
643
- "vendorId": "@payload.vendorId",
644
- "amount": "@payload.amount"
645
- },
471
+ "set",
472
+ "@entity.notes",
473
+ "@payload.row.notes"
474
+ ],
475
+ [
476
+ "render-ui",
477
+ "main",
646
478
  {
647
- "emit": {
648
- "success": "PayoutWithdrawn",
649
- "failure": "PayoutWithdrawFailed"
650
- }
479
+ "children": [
480
+ {
481
+ "align": "center",
482
+ "children": [
483
+ {
484
+ "label": "Back",
485
+ "variant": "ghost",
486
+ "type": "button",
487
+ "action": "CLOSE_VIEW"
488
+ },
489
+ {
490
+ "type": "icon",
491
+ "name": "wallet"
492
+ },
493
+ {
494
+ "content": "@entity.vendorId",
495
+ "variant": "h3",
496
+ "type": "typography"
497
+ },
498
+ {
499
+ "variant": "default",
500
+ "type": "badge",
501
+ "label": "@entity.status"
502
+ }
503
+ ],
504
+ "type": "stack",
505
+ "gap": "sm",
506
+ "direction": "horizontal"
507
+ },
508
+ {
509
+ "type": "divider"
510
+ },
511
+ {
512
+ "direction": "vertical",
513
+ "gap": "sm",
514
+ "children": [
515
+ {
516
+ "direction": "horizontal",
517
+ "type": "stack",
518
+ "gap": "md",
519
+ "children": [
520
+ {
521
+ "variant": "caption",
522
+ "content": "Bank",
523
+ "type": "typography",
524
+ "color": "muted"
525
+ },
526
+ {
527
+ "variant": "body",
528
+ "content": "@entity.bankAccountMasked",
529
+ "type": "typography"
530
+ }
531
+ ]
532
+ },
533
+ {
534
+ "children": [
535
+ {
536
+ "variant": "caption",
537
+ "type": "typography",
538
+ "color": "muted",
539
+ "content": "Notes"
540
+ },
541
+ {
542
+ "variant": "body",
543
+ "content": "@entity.notes",
544
+ "type": "typography"
545
+ }
546
+ ],
547
+ "direction": "horizontal",
548
+ "type": "stack",
549
+ "gap": "md"
550
+ }
551
+ ],
552
+ "type": "stack"
553
+ },
554
+ {
555
+ "type": "divider"
556
+ },
557
+ {
558
+ "type": "simple-grid",
559
+ "children": [
560
+ {
561
+ "type": "stat-display",
562
+ "value": "@entity.amount",
563
+ "icon": "dollar-sign",
564
+ "label": "Amount"
565
+ },
566
+ {
567
+ "label": "Requested",
568
+ "icon": "calendar",
569
+ "type": "stat-display",
570
+ "value": "@entity.requestedAt"
571
+ },
572
+ {
573
+ "label": "Paid",
574
+ "icon": "check-circle",
575
+ "value": "@entity.paidAt",
576
+ "type": "stat-display"
577
+ }
578
+ ],
579
+ "cols": 3.0
580
+ },
581
+ {
582
+ "type": "stack",
583
+ "direction": "horizontal",
584
+ "gap": "sm",
585
+ "align": "center",
586
+ "children": [
587
+ {
588
+ "type": "button",
589
+ "label": "Withdraw",
590
+ "action": "REQUEST_WITHDRAW",
591
+ "variant": "primary",
592
+ "actionPayload": {
593
+ "id": "@entity.id"
594
+ }
595
+ },
596
+ {
597
+ "action": "MARK_PAID",
598
+ "label": "Mark Paid",
599
+ "actionPayload": {
600
+ "id": "@entity.id"
601
+ },
602
+ "variant": "secondary",
603
+ "type": "button"
604
+ }
605
+ ]
606
+ }
607
+ ],
608
+ "direction": "vertical",
609
+ "type": "stack",
610
+ "gap": "md"
651
611
  }
652
612
  ]
653
613
  ]
654
614
  },
655
615
  {
656
616
  "from": "browsing",
657
- "to": "browsing",
658
- "event": "MARK_PAID",
617
+ "to": "loading",
618
+ "event": "REQUEST_WITHDRAW",
659
619
  "effects": [
660
620
  [
661
621
  "set",
662
622
  "@entity.id",
663
- "@payload.payoutId"
664
- ],
665
- [
666
- "set",
667
- "@entity.vendorId",
668
- "@payload.row.vendorId"
669
- ],
670
- [
671
- "set",
672
- "@entity.amount",
673
- "@payload.row.amount"
674
- ],
675
- [
676
- "set",
677
- "@entity.currency",
678
- "@payload.row.currency"
679
- ],
680
- [
681
- "set",
682
- "@entity.bankAccountMasked",
683
- "@payload.row.bankAccountMasked"
684
- ],
685
- [
686
- "set",
687
- "@entity.requestedAt",
688
- "@payload.row.requestedAt"
689
- ],
690
- [
691
- "set",
692
- "@entity.status",
693
- "paid"
694
- ],
695
- [
696
- "set",
697
- "@entity.paidAt",
698
- "now"
623
+ "@payload.id"
699
624
  ],
700
625
  [
701
- "persist",
702
- "update",
626
+ "fetch",
703
627
  "Payout",
704
- "@entity",
705
628
  {
706
629
  "emit": {
707
- "failure": "PayoutWithdrawFailed",
708
- "success": "PayoutUpdated"
630
+ "success": "PayoutLoaded",
631
+ "failure": "PayoutLoadFailed"
709
632
  }
710
633
  }
634
+ ],
635
+ [
636
+ "render-ui",
637
+ "main",
638
+ {
639
+ "children": [
640
+ {
641
+ "type": "spinner"
642
+ },
643
+ {
644
+ "variant": "caption",
645
+ "type": "typography",
646
+ "color": "muted",
647
+ "content": "Requesting withdrawal…"
648
+ }
649
+ ],
650
+ "gap": "md",
651
+ "align": "center",
652
+ "type": "stack",
653
+ "direction": "vertical",
654
+ "className": "py-12"
655
+ }
711
656
  ]
712
657
  ]
713
658
  },
714
659
  {
715
660
  "from": "browsing",
716
661
  "to": "loading",
717
- "event": "PayoutUpdated",
662
+ "event": "MARK_PAID",
718
663
  "effects": [
664
+ [
665
+ "set",
666
+ "@entity.id",
667
+ "@payload.id"
668
+ ],
719
669
  [
720
670
  "fetch",
721
671
  "Payout",
@@ -725,88 +675,154 @@
725
675
  "success": "PayoutLoaded"
726
676
  }
727
677
  }
678
+ ],
679
+ [
680
+ "render-ui",
681
+ "main",
682
+ {
683
+ "children": [
684
+ {
685
+ "type": "spinner"
686
+ },
687
+ {
688
+ "variant": "caption",
689
+ "color": "muted",
690
+ "type": "typography",
691
+ "content": "Marking paid…"
692
+ }
693
+ ],
694
+ "gap": "md",
695
+ "type": "stack",
696
+ "className": "py-12",
697
+ "direction": "vertical",
698
+ "align": "center"
699
+ }
728
700
  ]
729
701
  ]
730
702
  },
731
703
  {
732
- "from": "browsing",
704
+ "from": "viewing_single",
733
705
  "to": "loading",
734
- "event": "PayoutWithdrawn",
706
+ "event": "CLOSE_VIEW",
735
707
  "effects": [
736
708
  [
737
709
  "fetch",
738
710
  "Payout",
739
711
  {
740
712
  "emit": {
741
- "success": "PayoutLoaded",
742
- "failure": "PayoutLoadFailed"
713
+ "failure": "PayoutLoadFailed",
714
+ "success": "PayoutLoaded"
743
715
  }
744
716
  }
745
- ]
746
- ]
747
- },
748
- {
749
- "from": "browsing",
750
- "to": "browsing",
751
- "event": "PayoutWithdrawFailed",
752
- "effects": [
717
+ ],
753
718
  [
754
719
  "render-ui",
755
720
  "main",
756
721
  {
757
- "type": "alert",
758
- "variant": "error",
759
- "message": "@payload.error"
722
+ "align": "center",
723
+ "className": "py-12",
724
+ "children": [
725
+ {
726
+ "type": "spinner"
727
+ },
728
+ {
729
+ "content": "Loading payouts…",
730
+ "variant": "caption",
731
+ "color": "muted",
732
+ "type": "typography"
733
+ }
734
+ ],
735
+ "type": "stack",
736
+ "direction": "vertical",
737
+ "gap": "md"
760
738
  }
761
739
  ]
762
740
  ]
763
741
  },
764
742
  {
765
- "from": "withdrawing",
743
+ "from": "viewing_single",
766
744
  "to": "loading",
767
- "event": "PayoutWithdrawn",
745
+ "event": "REQUEST_WITHDRAW",
768
746
  "effects": [
747
+ [
748
+ "set",
749
+ "@entity.id",
750
+ "@payload.id"
751
+ ],
769
752
  [
770
753
  "fetch",
771
754
  "Payout",
772
755
  {
773
756
  "emit": {
774
- "success": "PayoutLoaded",
775
- "failure": "PayoutLoadFailed"
757
+ "failure": "PayoutLoadFailed",
758
+ "success": "PayoutLoaded"
776
759
  }
777
760
  }
761
+ ],
762
+ [
763
+ "render-ui",
764
+ "main",
765
+ {
766
+ "direction": "vertical",
767
+ "align": "center",
768
+ "children": [
769
+ {
770
+ "type": "spinner"
771
+ },
772
+ {
773
+ "type": "typography",
774
+ "content": "Requesting withdrawal…",
775
+ "variant": "caption",
776
+ "color": "muted"
777
+ }
778
+ ],
779
+ "gap": "md",
780
+ "type": "stack",
781
+ "className": "py-12"
782
+ }
778
783
  ]
779
784
  ]
780
785
  },
781
786
  {
782
- "from": "withdrawing",
787
+ "from": "viewing_single",
783
788
  "to": "loading",
784
- "event": "PayoutUpdated",
789
+ "event": "MARK_PAID",
785
790
  "effects": [
791
+ [
792
+ "set",
793
+ "@entity.id",
794
+ "@payload.id"
795
+ ],
786
796
  [
787
797
  "fetch",
788
798
  "Payout",
789
799
  {
790
800
  "emit": {
791
- "failure": "PayoutLoadFailed",
792
- "success": "PayoutLoaded"
801
+ "success": "PayoutLoaded",
802
+ "failure": "PayoutLoadFailed"
793
803
  }
794
804
  }
795
- ]
796
- ]
797
- },
798
- {
799
- "from": "withdrawing",
800
- "to": "browsing",
801
- "event": "PayoutWithdrawFailed",
802
- "effects": [
805
+ ],
803
806
  [
804
807
  "render-ui",
805
808
  "main",
806
809
  {
807
- "type": "alert",
808
- "message": "@payload.error",
809
- "variant": "error"
810
+ "align": "center",
811
+ "direction": "vertical",
812
+ "type": "stack",
813
+ "className": "py-12",
814
+ "gap": "md",
815
+ "children": [
816
+ {
817
+ "type": "spinner"
818
+ },
819
+ {
820
+ "variant": "caption",
821
+ "content": "Marking paid…",
822
+ "type": "typography",
823
+ "color": "muted"
824
+ }
825
+ ]
810
826
  }
811
827
  ]
812
828
  ]
@@ -830,8 +846,8 @@
830
846
  "render-ui",
831
847
  "main",
832
848
  {
833
- "type": "spinner",
834
- "size": "sm"
849
+ "size": "sm",
850
+ "type": "spinner"
835
851
  }
836
852
  ]
837
853
  ]
@@ -839,13 +855,13 @@
839
855
  ]
840
856
  },
841
857
  "config": {
842
- "title": {
843
- "type": "string",
844
- "default": "Payouts"
845
- },
846
858
  "minimumWithdrawal": {
847
859
  "type": "number",
848
860
  "default": 50.0
861
+ },
862
+ "title": {
863
+ "type": "string",
864
+ "default": "Payouts"
849
865
  }
850
866
  },
851
867
  "scope": "collection"
@@ -864,4 +880,4 @@
864
880
  ]
865
881
  }
866
882
  ]
867
- }
883
+ }