@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-donor",
3
3
  "version": "1.0.0",
4
- "description": "std-donor — donor primitive: person or organization that has donated to a nonprofit, with lifetime giving total and contact info.",
4
+ "description": "std-donor — nonprofit donor primitive (person or org with lifetime giving total). Lists donors in `browsing`; opens donor detail in `viewing_single` with Thank / Solicit actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "DonorOrbital",
@@ -75,7 +75,7 @@
75
75
  "linkedEntity": "Donor",
76
76
  "emits": [
77
77
  {
78
- "event": "THANK_DONOR",
78
+ "event": "OPEN_DONOR",
79
79
  "payloadSchema": [
80
80
  {
81
81
  "name": "id",
@@ -127,54 +127,25 @@
127
127
  ]
128
128
  },
129
129
  {
130
- "event": "SOLICIT_DONOR",
130
+ "event": "CLOSE_VIEW"
131
+ },
132
+ {
133
+ "event": "THANK_DONOR",
131
134
  "payloadSchema": [
132
135
  {
133
136
  "name": "id",
134
137
  "type": "string",
135
138
  "required": true
136
- },
137
- {
138
- "name": "row.id",
139
- "type": "string",
140
- "required": true
141
- },
139
+ }
140
+ ]
141
+ },
142
+ {
143
+ "event": "SOLICIT_DONOR",
144
+ "payloadSchema": [
142
145
  {
143
- "name": "row.name",
146
+ "name": "id",
144
147
  "type": "string",
145
148
  "required": true
146
- },
147
- {
148
- "name": "row.email",
149
- "type": "string"
150
- },
151
- {
152
- "name": "row.phone",
153
- "type": "string"
154
- },
155
- {
156
- "name": "row.donorType",
157
- "type": "string"
158
- },
159
- {
160
- "name": "row.lifetimeAmount",
161
- "type": "number"
162
- },
163
- {
164
- "name": "row.firstDonationAt",
165
- "type": "string"
166
- },
167
- {
168
- "name": "row.lastDonationAt",
169
- "type": "string"
170
- },
171
- {
172
- "name": "row.preferredCampaign",
173
- "type": "string"
174
- },
175
- {
176
- "name": "row.isRecurring",
177
- "type": "boolean"
178
149
  }
179
150
  ]
180
151
  },
@@ -210,6 +181,9 @@
210
181
  {
211
182
  "name": "browsing"
212
183
  },
184
+ {
185
+ "name": "viewing_single"
186
+ },
213
187
  {
214
188
  "name": "error"
215
189
  }
@@ -243,6 +217,21 @@
243
217
  }
244
218
  ]
245
219
  },
220
+ {
221
+ "key": "OPEN_DONOR",
222
+ "name": "Open Donor",
223
+ "payloadSchema": [
224
+ {
225
+ "name": "id",
226
+ "type": "string",
227
+ "required": true
228
+ },
229
+ {
230
+ "name": "row",
231
+ "type": "Donor"
232
+ }
233
+ ]
234
+ },
246
235
  {
247
236
  "key": "THANK_DONOR",
248
237
  "name": "Thank Donor",
@@ -254,6 +243,10 @@
254
243
  }
255
244
  ]
256
245
  },
246
+ {
247
+ "key": "CLOSE_VIEW",
248
+ "name": "Close View"
249
+ },
257
250
  {
258
251
  "key": "SOLICIT_DONOR",
259
252
  "name": "Solicit Donor",
@@ -286,22 +279,22 @@
286
279
  "render-ui",
287
280
  "main",
288
281
  {
282
+ "align": "center",
283
+ "gap": "md",
284
+ "type": "stack",
285
+ "direction": "vertical",
286
+ "className": "py-12",
289
287
  "children": [
290
288
  {
291
289
  "type": "spinner"
292
290
  },
293
291
  {
294
- "color": "muted",
295
292
  "type": "typography",
293
+ "color": "muted",
296
294
  "variant": "caption",
297
295
  "content": "Loading donors…"
298
296
  }
299
- ],
300
- "direction": "vertical",
301
- "align": "center",
302
- "type": "stack",
303
- "gap": "md",
304
- "className": "py-12"
297
+ ]
305
298
  }
306
299
  ]
307
300
  ]
@@ -315,146 +308,103 @@
315
308
  "render-ui",
316
309
  "main",
317
310
  {
311
+ "type": "stack",
318
312
  "direction": "vertical",
319
313
  "gap": "md",
320
- "type": "stack",
321
314
  "children": [
322
315
  {
323
316
  "type": "stack",
324
- "align": "center",
325
- "gap": "sm",
326
317
  "direction": "horizontal",
327
318
  "children": [
328
319
  {
329
- "name": "heart-handshake",
330
- "type": "icon"
320
+ "type": "icon",
321
+ "name": "heart"
331
322
  },
332
323
  {
333
- "content": "@config.title",
334
324
  "variant": "h3",
335
- "type": "typography"
336
- },
337
- {
338
- "type": "avatar",
339
- "name": "Top donor",
340
- "src": "https://i.pravatar.cc/64?u=top-donor"
325
+ "type": "typography",
326
+ "content": "@config.title"
341
327
  }
342
- ]
328
+ ],
329
+ "gap": "sm",
330
+ "align": "center"
343
331
  },
344
332
  {
345
- "direction": "horizontal",
346
- "gap": "md",
347
- "type": "stack",
333
+ "cols": 4.0,
348
334
  "children": [
349
335
  {
350
- "front": {
351
- "type": "team-card",
352
- "bio": "Gives monthly since 2020",
353
- "name": "Sarah Johnson",
354
- "avatar": "https://i.pravatar.cc/120?u=sarah",
355
- "role": "Top recurring donor"
356
- },
357
- "back": {
358
- "direction": "vertical",
359
- "children": [
360
- {
361
- "variant": "h4",
362
- "content": "Lifetime giving",
363
- "type": "typography"
364
- },
365
- {
366
- "variant": "body",
367
- "content": "$24,500 across 48 gifts",
368
- "type": "typography"
369
- }
370
- ],
371
- "type": "stack",
372
- "gap": "sm"
373
- },
374
- "type": "flip-card"
336
+ "value": "@payload.data.length",
337
+ "icon": "heart",
338
+ "label": "Total donors",
339
+ "type": "stat-display"
375
340
  },
376
341
  {
377
- "bio": "Leads our regional volunteer corps",
378
- "role": "Field coordinator",
379
- "type": "team-card",
380
- "avatar": "https://i.pravatar.cc/120?u=lead",
381
- "name": "Volunteer Team Lead"
382
- }
383
- ]
384
- },
385
- {
386
- "type": "team-organism",
387
- "data": [
388
- {
389
- "id": "t1",
390
- "role": "Recurring donor",
391
- "bio": "Monthly gifts since 2020",
392
- "avatar": "https://i.pravatar.cc/120?u=sarah",
393
- "name": "Sarah Johnson"
342
+ "type": "stat-display",
343
+ "label": "Recurring",
344
+ "value": "184",
345
+ "icon": "refresh-cw"
394
346
  },
395
347
  {
396
- "id": "t2",
397
- "role": "Major gift donor",
398
- "name": "Daniel Park",
399
- "bio": "Capital campaign supporter",
400
- "avatar": "https://i.pravatar.cc/120?u=daniel"
348
+ "type": "stat-display",
349
+ "icon": "dollar-sign",
350
+ "value": "$2.4M",
351
+ "label": "Total lifetime"
401
352
  },
402
353
  {
403
- "id": "t3",
404
- "avatar": "https://i.pravatar.cc/120?u=aisha",
405
- "name": "Aisha Rahman",
406
- "role": "Volunteer",
407
- "bio": "Event volunteer + board advisor"
354
+ "label": "Avg gift",
355
+ "icon": "trending-up",
356
+ "value": "$148",
357
+ "type": "stat-display"
408
358
  }
409
- ]
359
+ ],
360
+ "type": "simple-grid"
410
361
  },
411
362
  {
412
363
  "type": "divider"
413
364
  },
414
365
  {
415
- "gap": "sm",
416
366
  "itemActions": [
417
367
  {
418
- "event": "THANK_DONOR",
419
- "label": "Thank",
420
- "variant": "primary"
368
+ "variant": "primary",
369
+ "event": "OPEN_DONOR",
370
+ "label": "Open",
371
+ "icon": "arrow-right"
421
372
  },
422
373
  {
423
- "variant": "ghost",
424
- "event": "SOLICIT_DONOR",
425
- "label": "Solicit"
374
+ "event": "THANK_DONOR",
375
+ "label": "Thank",
376
+ "variant": "secondary"
426
377
  }
427
378
  ],
379
+ "entity": "@payload.data",
428
380
  "type": "data-grid",
429
381
  "fields": [
430
382
  {
431
- "variant": "caption",
432
383
  "label": "Name",
384
+ "variant": "h4",
433
385
  "name": "name"
434
386
  },
435
387
  {
436
- "name": "email",
437
- "variant": "caption",
438
- "label": "Email"
439
- },
440
- {
441
- "label": "Type",
442
388
  "variant": "badge",
389
+ "label": "Type",
443
390
  "name": "donorType"
444
391
  },
445
392
  {
393
+ "variant": "body",
394
+ "name": "email",
395
+ "label": "Email"
396
+ },
397
+ {
398
+ "variant": "caption",
446
399
  "label": "Lifetime",
447
- "name": "lifetimeAmount",
448
- "variant": "caption"
400
+ "name": "lifetimeAmount"
449
401
  },
450
402
  {
451
403
  "variant": "caption",
452
- "name": "lastDonationAt",
453
- "label": "Last Gift"
404
+ "label": "Last gift",
405
+ "name": "lastDonationAt"
454
406
  }
455
- ],
456
- "cols": 1.0,
457
- "entity": "@payload.data"
407
+ ]
458
408
  }
459
409
  ]
460
410
  }
@@ -471,15 +421,223 @@
471
421
  "main",
472
422
  {
473
423
  "type": "alert",
474
- "message": "@payload.error",
475
- "variant": "error"
424
+ "variant": "error",
425
+ "message": "@payload.error"
476
426
  }
477
427
  ]
478
428
  ]
479
429
  },
480
430
  {
481
431
  "from": "browsing",
482
- "to": "browsing",
432
+ "to": "viewing_single",
433
+ "event": "OPEN_DONOR",
434
+ "effects": [
435
+ [
436
+ "set",
437
+ "@entity.id",
438
+ "@payload.row.id"
439
+ ],
440
+ [
441
+ "set",
442
+ "@entity.name",
443
+ "@payload.row.name"
444
+ ],
445
+ [
446
+ "set",
447
+ "@entity.email",
448
+ "@payload.row.email"
449
+ ],
450
+ [
451
+ "set",
452
+ "@entity.phone",
453
+ "@payload.row.phone"
454
+ ],
455
+ [
456
+ "set",
457
+ "@entity.donorType",
458
+ "@payload.row.donorType"
459
+ ],
460
+ [
461
+ "set",
462
+ "@entity.lifetimeAmount",
463
+ "@payload.row.lifetimeAmount"
464
+ ],
465
+ [
466
+ "set",
467
+ "@entity.firstDonationAt",
468
+ "@payload.row.firstDonationAt"
469
+ ],
470
+ [
471
+ "set",
472
+ "@entity.lastDonationAt",
473
+ "@payload.row.lastDonationAt"
474
+ ],
475
+ [
476
+ "set",
477
+ "@entity.preferredCampaign",
478
+ "@payload.row.preferredCampaign"
479
+ ],
480
+ [
481
+ "render-ui",
482
+ "main",
483
+ {
484
+ "direction": "vertical",
485
+ "type": "stack",
486
+ "gap": "md",
487
+ "children": [
488
+ {
489
+ "gap": "sm",
490
+ "children": [
491
+ {
492
+ "action": "CLOSE_VIEW",
493
+ "variant": "ghost",
494
+ "label": "Back",
495
+ "type": "button"
496
+ },
497
+ {
498
+ "type": "icon",
499
+ "name": "heart"
500
+ },
501
+ {
502
+ "variant": "h3",
503
+ "type": "typography",
504
+ "content": "@entity.name"
505
+ },
506
+ {
507
+ "label": "@entity.donorType",
508
+ "variant": "default",
509
+ "type": "badge"
510
+ }
511
+ ],
512
+ "type": "stack",
513
+ "align": "center",
514
+ "direction": "horizontal"
515
+ },
516
+ {
517
+ "type": "divider"
518
+ },
519
+ {
520
+ "type": "stack",
521
+ "direction": "vertical",
522
+ "children": [
523
+ {
524
+ "children": [
525
+ {
526
+ "content": "Email",
527
+ "color": "muted",
528
+ "type": "typography",
529
+ "variant": "caption"
530
+ },
531
+ {
532
+ "variant": "body",
533
+ "content": "@entity.email",
534
+ "type": "typography"
535
+ }
536
+ ],
537
+ "gap": "md",
538
+ "type": "stack",
539
+ "direction": "horizontal"
540
+ },
541
+ {
542
+ "gap": "md",
543
+ "children": [
544
+ {
545
+ "variant": "caption",
546
+ "type": "typography",
547
+ "content": "Phone",
548
+ "color": "muted"
549
+ },
550
+ {
551
+ "type": "typography",
552
+ "variant": "body",
553
+ "content": "@entity.phone"
554
+ }
555
+ ],
556
+ "type": "stack",
557
+ "direction": "horizontal"
558
+ },
559
+ {
560
+ "children": [
561
+ {
562
+ "variant": "caption",
563
+ "content": "Preferred campaign",
564
+ "color": "muted",
565
+ "type": "typography"
566
+ },
567
+ {
568
+ "variant": "body",
569
+ "type": "typography",
570
+ "content": "@entity.preferredCampaign"
571
+ }
572
+ ],
573
+ "type": "stack",
574
+ "gap": "md",
575
+ "direction": "horizontal"
576
+ }
577
+ ],
578
+ "gap": "sm"
579
+ },
580
+ {
581
+ "type": "divider"
582
+ },
583
+ {
584
+ "type": "simple-grid",
585
+ "children": [
586
+ {
587
+ "type": "stat-display",
588
+ "value": "@entity.lifetimeAmount",
589
+ "icon": "dollar-sign",
590
+ "label": "Lifetime amount"
591
+ },
592
+ {
593
+ "type": "stat-display",
594
+ "label": "First donation",
595
+ "icon": "calendar",
596
+ "value": "@entity.firstDonationAt"
597
+ },
598
+ {
599
+ "value": "@entity.lastDonationAt",
600
+ "type": "stat-display",
601
+ "label": "Last donation",
602
+ "icon": "calendar-check"
603
+ }
604
+ ],
605
+ "cols": 3.0
606
+ },
607
+ {
608
+ "align": "center",
609
+ "type": "stack",
610
+ "direction": "horizontal",
611
+ "children": [
612
+ {
613
+ "action": "THANK_DONOR",
614
+ "label": "Thank Donor",
615
+ "type": "button",
616
+ "actionPayload": {
617
+ "id": "@entity.id"
618
+ },
619
+ "variant": "primary"
620
+ },
621
+ {
622
+ "label": "Solicit",
623
+ "action": "SOLICIT_DONOR",
624
+ "actionPayload": {
625
+ "id": "@entity.id"
626
+ },
627
+ "type": "button",
628
+ "variant": "secondary"
629
+ }
630
+ ],
631
+ "gap": "sm"
632
+ }
633
+ ]
634
+ }
635
+ ]
636
+ ]
637
+ },
638
+ {
639
+ "from": "browsing",
640
+ "to": "loading",
483
641
  "event": "THANK_DONOR",
484
642
  "effects": [
485
643
  [
@@ -487,20 +645,126 @@
487
645
  "@entity.id",
488
646
  "@payload.id"
489
647
  ],
648
+ [
649
+ "fetch",
650
+ "Donor",
651
+ {
652
+ "emit": {
653
+ "failure": "DonorLoadFailed",
654
+ "success": "DonorLoaded"
655
+ }
656
+ }
657
+ ],
490
658
  [
491
659
  "render-ui",
492
660
  "main",
493
661
  {
494
- "message": "Thank-you sent",
495
- "type": "alert",
496
- "variant": "success"
662
+ "children": [
663
+ {
664
+ "type": "spinner"
665
+ },
666
+ {
667
+ "variant": "caption",
668
+ "type": "typography",
669
+ "content": "Sending thanks…",
670
+ "color": "muted"
671
+ }
672
+ ],
673
+ "direction": "vertical",
674
+ "gap": "md",
675
+ "align": "center",
676
+ "type": "stack",
677
+ "className": "py-12"
497
678
  }
498
679
  ]
499
680
  ]
500
681
  },
501
682
  {
502
- "from": "browsing",
503
- "to": "browsing",
683
+ "from": "viewing_single",
684
+ "to": "loading",
685
+ "event": "CLOSE_VIEW",
686
+ "effects": [
687
+ [
688
+ "fetch",
689
+ "Donor",
690
+ {
691
+ "emit": {
692
+ "failure": "DonorLoadFailed",
693
+ "success": "DonorLoaded"
694
+ }
695
+ }
696
+ ],
697
+ [
698
+ "render-ui",
699
+ "main",
700
+ {
701
+ "type": "stack",
702
+ "children": [
703
+ {
704
+ "type": "spinner"
705
+ },
706
+ {
707
+ "type": "typography",
708
+ "variant": "caption",
709
+ "content": "Loading donors…",
710
+ "color": "muted"
711
+ }
712
+ ],
713
+ "direction": "vertical",
714
+ "gap": "md",
715
+ "align": "center",
716
+ "className": "py-12"
717
+ }
718
+ ]
719
+ ]
720
+ },
721
+ {
722
+ "from": "viewing_single",
723
+ "to": "loading",
724
+ "event": "THANK_DONOR",
725
+ "effects": [
726
+ [
727
+ "set",
728
+ "@entity.id",
729
+ "@payload.id"
730
+ ],
731
+ [
732
+ "fetch",
733
+ "Donor",
734
+ {
735
+ "emit": {
736
+ "success": "DonorLoaded",
737
+ "failure": "DonorLoadFailed"
738
+ }
739
+ }
740
+ ],
741
+ [
742
+ "render-ui",
743
+ "main",
744
+ {
745
+ "align": "center",
746
+ "children": [
747
+ {
748
+ "type": "spinner"
749
+ },
750
+ {
751
+ "variant": "caption",
752
+ "type": "typography",
753
+ "color": "muted",
754
+ "content": "Sending thanks…"
755
+ }
756
+ ],
757
+ "type": "stack",
758
+ "direction": "vertical",
759
+ "gap": "md",
760
+ "className": "py-12"
761
+ }
762
+ ]
763
+ ]
764
+ },
765
+ {
766
+ "from": "viewing_single",
767
+ "to": "loading",
504
768
  "event": "SOLICIT_DONOR",
505
769
  "effects": [
506
770
  [
@@ -508,13 +772,36 @@
508
772
  "@entity.id",
509
773
  "@payload.id"
510
774
  ],
775
+ [
776
+ "fetch",
777
+ "Donor",
778
+ {
779
+ "emit": {
780
+ "failure": "DonorLoadFailed",
781
+ "success": "DonorLoaded"
782
+ }
783
+ }
784
+ ],
511
785
  [
512
786
  "render-ui",
513
787
  "main",
514
788
  {
515
- "variant": "info",
516
- "type": "alert",
517
- "message": "Solicitation queued"
789
+ "children": [
790
+ {
791
+ "type": "spinner"
792
+ },
793
+ {
794
+ "color": "muted",
795
+ "variant": "caption",
796
+ "type": "typography",
797
+ "content": "Soliciting donor…"
798
+ }
799
+ ],
800
+ "align": "center",
801
+ "className": "py-12",
802
+ "direction": "vertical",
803
+ "gap": "md",
804
+ "type": "stack"
518
805
  }
519
806
  ]
520
807
  ]
@@ -538,8 +825,8 @@
538
825
  "render-ui",
539
826
  "main",
540
827
  {
541
- "type": "spinner",
542
- "size": "sm"
828
+ "size": "sm",
829
+ "type": "spinner"
543
830
  }
544
831
  ]
545
832
  ]
@@ -568,4 +855,4 @@
568
855
  ]
569
856
  }
570
857
  ]
571
- }
858
+ }