@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-campaign-goal",
3
3
  "version": "1.0.0",
4
- "description": "std-campaign-goal — nonprofit fundraising campaign primitive with a target dollar amount, running raised total, donor count, deadline, and status. Browses campaigns in a data-grid with Launch / End row actions.",
4
+ "description": "std-campaign-goal — nonprofit fundraising campaign with target / raised / donor count / deadline / status. Lists campaigns in `browsing`; opens campaign detail in `viewing_single` with Launch / End actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "CampaignGoalOrbital",
@@ -69,6 +69,57 @@
69
69
  "category": "interaction",
70
70
  "linkedEntity": "CampaignGoal",
71
71
  "emits": [
72
+ {
73
+ "event": "OPEN_CAMPAIGN",
74
+ "payloadSchema": [
75
+ {
76
+ "name": "id",
77
+ "type": "string",
78
+ "required": true
79
+ },
80
+ {
81
+ "name": "row.id",
82
+ "type": "string",
83
+ "required": true
84
+ },
85
+ {
86
+ "name": "row.name",
87
+ "type": "string",
88
+ "required": true
89
+ },
90
+ {
91
+ "name": "row.description",
92
+ "type": "string"
93
+ },
94
+ {
95
+ "name": "row.targetAmount",
96
+ "type": "number"
97
+ },
98
+ {
99
+ "name": "row.raisedAmount",
100
+ "type": "number"
101
+ },
102
+ {
103
+ "name": "row.donorCount",
104
+ "type": "number"
105
+ },
106
+ {
107
+ "name": "row.startDate",
108
+ "type": "string"
109
+ },
110
+ {
111
+ "name": "row.endDate",
112
+ "type": "string"
113
+ },
114
+ {
115
+ "name": "row.status",
116
+ "type": "string"
117
+ }
118
+ ]
119
+ },
120
+ {
121
+ "event": "CLOSE_VIEW"
122
+ },
72
123
  {
73
124
  "event": "LAUNCH_CAMPAIGN",
74
125
  "payloadSchema": [
@@ -121,6 +172,9 @@
121
172
  {
122
173
  "name": "browsing"
123
174
  },
175
+ {
176
+ "name": "viewing_single"
177
+ },
124
178
  {
125
179
  "name": "error"
126
180
  }
@@ -155,13 +209,17 @@
155
209
  ]
156
210
  },
157
211
  {
158
- "key": "LAUNCH_CAMPAIGN",
159
- "name": "Launch Campaign",
212
+ "key": "OPEN_CAMPAIGN",
213
+ "name": "Open Campaign",
160
214
  "payloadSchema": [
161
215
  {
162
216
  "name": "id",
163
217
  "type": "string",
164
218
  "required": true
219
+ },
220
+ {
221
+ "name": "row",
222
+ "type": "CampaignGoal"
165
223
  }
166
224
  ]
167
225
  },
@@ -175,6 +233,21 @@
175
233
  "required": true
176
234
  }
177
235
  ]
236
+ },
237
+ {
238
+ "key": "CLOSE_VIEW",
239
+ "name": "Close View"
240
+ },
241
+ {
242
+ "key": "LAUNCH_CAMPAIGN",
243
+ "name": "Launch Campaign",
244
+ "payloadSchema": [
245
+ {
246
+ "name": "id",
247
+ "type": "string",
248
+ "required": true
249
+ }
250
+ ]
178
251
  }
179
252
  ],
180
253
  "transitions": [
@@ -197,22 +270,22 @@
197
270
  "render-ui",
198
271
  "main",
199
272
  {
273
+ "type": "stack",
200
274
  "className": "py-12",
201
- "gap": "md",
275
+ "align": "center",
202
276
  "children": [
203
277
  {
204
278
  "type": "spinner"
205
279
  },
206
280
  {
207
- "type": "typography",
208
281
  "variant": "caption",
282
+ "color": "muted",
209
283
  "content": "Loading campaigns…",
210
- "color": "muted"
284
+ "type": "typography"
211
285
  }
212
286
  ],
213
- "align": "center",
214
- "direction": "vertical",
215
- "type": "stack"
287
+ "gap": "md",
288
+ "direction": "vertical"
216
289
  }
217
290
  ]
218
291
  ]
@@ -226,226 +299,206 @@
226
299
  "render-ui",
227
300
  "main",
228
301
  {
302
+ "direction": "vertical",
229
303
  "children": [
230
304
  {
231
- "tagVariant": "primary",
232
- "titleAccent": "@config.title",
233
- "subtitle": "Every gift moves the needle. Join thousands of donors making impact possible.",
234
- "primaryAction": {
235
- "action": "LAUNCH_CAMPAIGN",
236
- "variant": "primary",
237
- "label": "Donate Now"
238
- },
239
- "type": "hero-section",
240
- "tag": "Campaign",
241
- "title": "Help us reach our goal",
242
- "secondaryAction": {
243
- "action": "VIEW_STORY",
244
- "label": "Learn More",
245
- "variant": "ghost"
246
- }
247
- },
248
- {
249
- "justify": "around",
250
- "direction": "horizontal",
251
- "type": "stack",
252
- "gap": "lg",
305
+ "align": "center",
253
306
  "children": [
254
307
  {
255
- "duration": 1500.0,
256
- "type": "animated-counter",
257
- "prefix": "$",
258
- "suffix": " raised",
259
- "value": 482000.0
260
- },
261
- {
262
- "value": 1240.0,
263
- "duration": 1500.0,
264
- "suffix": " donors",
265
- "type": "animated-counter"
308
+ "type": "icon",
309
+ "name": "target"
266
310
  },
267
311
  {
268
- "duration": 1500.0,
269
- "type": "animated-counter",
270
- "value": 87.0,
271
- "suffix": "% of goal"
272
- }
273
- ]
274
- },
275
- {
276
- "value": 87.0,
277
- "color": "primary",
278
- "type": "progress-bar",
279
- "showPercentage": true,
280
- "max": 100.0
281
- },
282
- {
283
- "type": "animated-reveal",
284
- "animation": "fade-up",
285
- "trigger": "scroll",
286
- "children": [
287
- {
288
- "text": "Together, we change lives.",
289
- "type": "typewriter-text",
290
- "speed": 60.0
312
+ "type": "typography",
313
+ "variant": "h3",
314
+ "content": "@config.title"
291
315
  }
292
- ]
316
+ ],
317
+ "direction": "horizontal",
318
+ "type": "stack",
319
+ "gap": "sm"
293
320
  },
294
321
  {
295
- "type": "content-section",
296
- "background": "alt",
297
322
  "children": [
298
323
  {
299
- "content": "Choose your donation tier",
300
- "type": "typography",
301
- "variant": "h3"
324
+ "type": "stat-display",
325
+ "icon": "target",
326
+ "label": "Campaigns",
327
+ "value": "@payload.data.length"
302
328
  },
303
329
  {
304
- "plans": [
305
- {
306
- "cta": {
307
- "label": "Give $25",
308
- "action": "LAUNCH_CAMPAIGN"
309
- },
310
- "price": "$25",
311
- "description": "Provides one week of meals",
312
- "name": "Supporter",
313
- "features": [
314
- "Tax receipt",
315
- "Thank-you email"
316
- ]
317
- },
318
- {
319
- "price": "$100",
320
- "description": "Funds a child's school supplies for a year",
321
- "features": [
322
- "Tax receipt",
323
- "Personalized note",
324
- "Quarterly update"
325
- ],
326
- "cta": {
327
- "action": "LAUNCH_CAMPAIGN",
328
- "label": "Give $100"
329
- },
330
- "name": "Advocate",
331
- "highlighted": true
332
- },
333
- {
334
- "name": "Champion",
335
- "price": "$500",
336
- "cta": {
337
- "action": "LAUNCH_CAMPAIGN",
338
- "label": "Give $500"
339
- },
340
- "description": "Sponsors a community clean-water station",
341
- "features": [
342
- "Tax receipt",
343
- "Recognition in newsletter",
344
- "Site-visit invite"
345
- ]
346
- }
347
- ],
348
- "type": "pricing-grid"
349
- }
350
- ],
351
- "padding": "lg"
352
- },
353
- {
354
- "padding": "md",
355
- "children": [
330
+ "type": "stat-display",
331
+ "label": "Active",
332
+ "value": "6",
333
+ "icon": "play-circle"
334
+ },
356
335
  {
357
- "content": "Impact in pictures",
358
- "variant": "h3",
359
- "type": "typography"
336
+ "type": "stat-display",
337
+ "value": "$482K",
338
+ "icon": "dollar-sign",
339
+ "label": "Total raised"
360
340
  },
361
341
  {
362
- "type": "media-gallery",
363
- "data": [
364
- {
365
- "id": "i1",
366
- "name": "Clean water delivery",
367
- "imageUrl": "https://picsum.photos/seed/campaign1/800/600"
368
- },
369
- {
370
- "name": "School supplies handout",
371
- "imageUrl": "https://picsum.photos/seed/campaign2/800/600",
372
- "id": "i2"
373
- },
374
- {
375
- "imageUrl": "https://picsum.photos/seed/campaign3/800/600",
376
- "name": "Community meal program",
377
- "id": "i3"
378
- },
379
- {
380
- "name": "Volunteer team",
381
- "id": "i4",
382
- "imageUrl": "https://picsum.photos/seed/campaign4/800/600"
383
- }
384
- ]
342
+ "value": "1,240",
343
+ "icon": "users",
344
+ "label": "Donors",
345
+ "type": "stat-display"
385
346
  }
386
347
  ],
387
- "type": "content-section",
388
- "background": "default"
348
+ "type": "simple-grid",
349
+ "cols": 4.0
389
350
  },
390
351
  {
391
- "images": [
392
- {
393
- "caption": "Clean water",
394
- "src": "https://picsum.photos/seed/campaign1/1200/800",
395
- "alt": "Impact"
396
- }
397
- ],
398
- "currentIndex": 0.0,
399
- "showCounter": true,
400
- "isOpen": false,
401
- "type": "lightbox"
352
+ "type": "divider"
402
353
  },
403
354
  {
404
- "items": [
355
+ "cols": 1.0,
356
+ "type": "data-grid",
357
+ "entity": "@payload.data",
358
+ "gap": "sm",
359
+ "fields": [
360
+ {
361
+ "variant": "caption",
362
+ "label": "Name",
363
+ "name": "name"
364
+ },
365
+ {
366
+ "variant": "caption",
367
+ "name": "targetAmount",
368
+ "label": "Target"
369
+ },
405
370
  {
406
- "role": "Beneficiary",
407
- "author": "Maria S.",
408
- "quote": "This nonprofit changed my family's life."
371
+ "name": "raisedAmount",
372
+ "label": "Raised",
373
+ "variant": "caption"
409
374
  },
410
375
  {
411
- "author": "James W.",
412
- "role": "Recurring donor",
413
- "quote": "Every dollar I give I can see in the field."
376
+ "variant": "caption",
377
+ "name": "donorCount",
378
+ "label": "Donors"
414
379
  },
415
380
  {
416
- "role": "Volunteer",
417
- "quote": "Transparent, honest, and effective.",
418
- "author": "Lina P."
381
+ "label": "Status",
382
+ "name": "status",
383
+ "variant": "badge"
419
384
  }
420
385
  ],
421
- "type": "social-proof",
422
- "variant": "quotes"
423
- },
424
- {
425
- "github": {
426
- "url": "https://github.com/example"
427
- },
428
- "twitter": {
429
- "url": "https://twitter.com/example"
430
- },
431
- "discord": {
432
- "url": "https://discord.gg/example"
433
- },
434
- "type": "community-links",
435
- "heading": "Stay connected"
436
- },
386
+ "itemActions": [
387
+ {
388
+ "icon": "arrow-right",
389
+ "event": "OPEN_CAMPAIGN",
390
+ "label": "Open",
391
+ "variant": "primary"
392
+ },
393
+ {
394
+ "label": "End",
395
+ "variant": "danger",
396
+ "event": "END_CAMPAIGN"
397
+ }
398
+ ]
399
+ }
400
+ ],
401
+ "gap": "md",
402
+ "type": "stack"
403
+ }
404
+ ]
405
+ ]
406
+ },
407
+ {
408
+ "from": "loading",
409
+ "to": "error",
410
+ "event": "CampaignGoalLoadFailed",
411
+ "effects": [
412
+ [
413
+ "render-ui",
414
+ "main",
415
+ {
416
+ "message": "@payload.error",
417
+ "type": "alert",
418
+ "variant": "error"
419
+ }
420
+ ]
421
+ ]
422
+ },
423
+ {
424
+ "from": "browsing",
425
+ "to": "viewing_single",
426
+ "event": "OPEN_CAMPAIGN",
427
+ "effects": [
428
+ [
429
+ "set",
430
+ "@entity.id",
431
+ "@payload.row.id"
432
+ ],
433
+ [
434
+ "set",
435
+ "@entity.name",
436
+ "@payload.row.name"
437
+ ],
438
+ [
439
+ "set",
440
+ "@entity.description",
441
+ "@payload.row.description"
442
+ ],
443
+ [
444
+ "set",
445
+ "@entity.targetAmount",
446
+ "@payload.row.targetAmount"
447
+ ],
448
+ [
449
+ "set",
450
+ "@entity.raisedAmount",
451
+ "@payload.row.raisedAmount"
452
+ ],
453
+ [
454
+ "set",
455
+ "@entity.donorCount",
456
+ "@payload.row.donorCount"
457
+ ],
458
+ [
459
+ "set",
460
+ "@entity.startDate",
461
+ "@payload.row.startDate"
462
+ ],
463
+ [
464
+ "set",
465
+ "@entity.endDate",
466
+ "@payload.row.endDate"
467
+ ],
468
+ [
469
+ "set",
470
+ "@entity.status",
471
+ "@payload.row.status"
472
+ ],
473
+ [
474
+ "render-ui",
475
+ "main",
476
+ {
477
+ "children": [
437
478
  {
438
479
  "type": "stack",
480
+ "align": "center",
439
481
  "gap": "sm",
440
482
  "children": [
483
+ {
484
+ "label": "Back",
485
+ "action": "CLOSE_VIEW",
486
+ "type": "button",
487
+ "variant": "ghost"
488
+ },
441
489
  {
442
490
  "type": "icon",
443
491
  "name": "target"
444
492
  },
445
493
  {
446
494
  "type": "typography",
447
- "variant": "h3",
448
- "content": "@config.title"
495
+ "content": "@entity.name",
496
+ "variant": "h3"
497
+ },
498
+ {
499
+ "variant": "default",
500
+ "label": "@entity.status",
501
+ "type": "badge"
449
502
  }
450
503
  ],
451
504
  "direction": "horizontal"
@@ -454,77 +507,183 @@
454
507
  "type": "divider"
455
508
  },
456
509
  {
457
- "entity": "@payload.data",
458
- "itemActions": [
459
- {
460
- "variant": "primary",
461
- "label": "Launch",
462
- "event": "LAUNCH_CAMPAIGN"
463
- },
510
+ "children": [
464
511
  {
465
- "event": "END_CAMPAIGN",
466
- "variant": "danger",
467
- "label": "End"
512
+ "type": "stack",
513
+ "direction": "horizontal",
514
+ "children": [
515
+ {
516
+ "color": "muted",
517
+ "type": "typography",
518
+ "content": "Description",
519
+ "variant": "caption"
520
+ },
521
+ {
522
+ "type": "typography",
523
+ "content": "@entity.description",
524
+ "variant": "body"
525
+ }
526
+ ],
527
+ "gap": "md"
468
528
  }
469
529
  ],
470
- "type": "data-grid",
471
- "fields": [
472
- {
473
- "name": "name",
474
- "label": "Name",
475
- "variant": "caption"
476
- },
530
+ "direction": "vertical",
531
+ "gap": "sm",
532
+ "type": "stack"
533
+ },
534
+ {
535
+ "type": "divider"
536
+ },
537
+ {
538
+ "cols": 4.0,
539
+ "children": [
477
540
  {
541
+ "value": "@entity.targetAmount",
478
542
  "label": "Target",
479
- "name": "targetAmount",
480
- "variant": "caption"
543
+ "type": "stat-display",
544
+ "icon": "target"
481
545
  },
482
546
  {
483
- "name": "raisedAmount",
484
- "label": "Raised",
485
- "variant": "caption"
547
+ "value": "@entity.raisedAmount",
548
+ "icon": "dollar-sign",
549
+ "type": "stat-display",
550
+ "label": "Raised"
486
551
  },
487
552
  {
553
+ "icon": "users",
554
+ "value": "@entity.donorCount",
488
555
  "label": "Donors",
489
- "name": "donorCount",
490
- "variant": "caption"
556
+ "type": "stat-display"
491
557
  },
492
558
  {
493
- "label": "Status",
494
- "variant": "badge",
495
- "name": "status"
559
+ "icon": "calendar",
560
+ "type": "stat-display",
561
+ "value": "@entity.endDate",
562
+ "label": "Ends"
496
563
  }
497
564
  ],
498
- "cols": 1.0,
499
- "gap": "sm"
565
+ "type": "simple-grid"
566
+ },
567
+ {
568
+ "children": [
569
+ {
570
+ "type": "button",
571
+ "variant": "primary",
572
+ "label": "Launch",
573
+ "action": "LAUNCH_CAMPAIGN",
574
+ "actionPayload": {
575
+ "id": "@entity.id"
576
+ }
577
+ },
578
+ {
579
+ "action": "END_CAMPAIGN",
580
+ "actionPayload": {
581
+ "id": "@entity.id"
582
+ },
583
+ "type": "button",
584
+ "variant": "danger",
585
+ "label": "End"
586
+ }
587
+ ],
588
+ "direction": "horizontal",
589
+ "gap": "sm",
590
+ "align": "center",
591
+ "type": "stack"
500
592
  }
501
593
  ],
502
594
  "type": "stack",
503
- "gap": "lg",
504
- "direction": "vertical"
595
+ "direction": "vertical",
596
+ "gap": "md"
505
597
  }
506
598
  ]
507
599
  ]
508
600
  },
509
601
  {
510
- "from": "loading",
511
- "to": "error",
512
- "event": "CampaignGoalLoadFailed",
602
+ "from": "browsing",
603
+ "to": "loading",
604
+ "event": "END_CAMPAIGN",
513
605
  "effects": [
606
+ [
607
+ "set",
608
+ "@entity.id",
609
+ "@payload.id"
610
+ ],
611
+ [
612
+ "fetch",
613
+ "CampaignGoal",
614
+ {
615
+ "emit": {
616
+ "failure": "CampaignGoalLoadFailed",
617
+ "success": "CampaignGoalLoaded"
618
+ }
619
+ }
620
+ ],
514
621
  [
515
622
  "render-ui",
516
623
  "main",
517
624
  {
518
- "variant": "error",
519
- "message": "@payload.error",
520
- "type": "alert"
625
+ "gap": "md",
626
+ "children": [
627
+ {
628
+ "type": "spinner"
629
+ },
630
+ {
631
+ "variant": "caption",
632
+ "content": "Ending campaign…",
633
+ "color": "muted",
634
+ "type": "typography"
635
+ }
636
+ ],
637
+ "type": "stack",
638
+ "align": "center",
639
+ "direction": "vertical",
640
+ "className": "py-12"
521
641
  }
522
642
  ]
523
643
  ]
524
644
  },
525
645
  {
526
- "from": "browsing",
527
- "to": "browsing",
646
+ "from": "viewing_single",
647
+ "to": "loading",
648
+ "event": "CLOSE_VIEW",
649
+ "effects": [
650
+ [
651
+ "fetch",
652
+ "CampaignGoal",
653
+ {
654
+ "emit": {
655
+ "failure": "CampaignGoalLoadFailed",
656
+ "success": "CampaignGoalLoaded"
657
+ }
658
+ }
659
+ ],
660
+ [
661
+ "render-ui",
662
+ "main",
663
+ {
664
+ "direction": "vertical",
665
+ "type": "stack",
666
+ "align": "center",
667
+ "className": "py-12",
668
+ "gap": "md",
669
+ "children": [
670
+ {
671
+ "type": "spinner"
672
+ },
673
+ {
674
+ "content": "Loading campaigns…",
675
+ "type": "typography",
676
+ "variant": "caption",
677
+ "color": "muted"
678
+ }
679
+ ]
680
+ }
681
+ ]
682
+ ]
683
+ },
684
+ {
685
+ "from": "viewing_single",
686
+ "to": "loading",
528
687
  "event": "LAUNCH_CAMPAIGN",
529
688
  "effects": [
530
689
  [
@@ -532,20 +691,43 @@
532
691
  "@entity.id",
533
692
  "@payload.id"
534
693
  ],
694
+ [
695
+ "fetch",
696
+ "CampaignGoal",
697
+ {
698
+ "emit": {
699
+ "success": "CampaignGoalLoaded",
700
+ "failure": "CampaignGoalLoadFailed"
701
+ }
702
+ }
703
+ ],
535
704
  [
536
705
  "render-ui",
537
706
  "main",
538
707
  {
539
- "variant": "success",
540
- "type": "alert",
541
- "message": "Campaign launched"
708
+ "direction": "vertical",
709
+ "align": "center",
710
+ "className": "py-12",
711
+ "children": [
712
+ {
713
+ "type": "spinner"
714
+ },
715
+ {
716
+ "type": "typography",
717
+ "content": "Launching campaign…",
718
+ "color": "muted",
719
+ "variant": "caption"
720
+ }
721
+ ],
722
+ "gap": "md",
723
+ "type": "stack"
542
724
  }
543
725
  ]
544
726
  ]
545
727
  },
546
728
  {
547
- "from": "browsing",
548
- "to": "browsing",
729
+ "from": "viewing_single",
730
+ "to": "loading",
549
731
  "event": "END_CAMPAIGN",
550
732
  "effects": [
551
733
  [
@@ -553,13 +735,36 @@
553
735
  "@entity.id",
554
736
  "@payload.id"
555
737
  ],
738
+ [
739
+ "fetch",
740
+ "CampaignGoal",
741
+ {
742
+ "emit": {
743
+ "failure": "CampaignGoalLoadFailed",
744
+ "success": "CampaignGoalLoaded"
745
+ }
746
+ }
747
+ ],
556
748
  [
557
749
  "render-ui",
558
750
  "main",
559
751
  {
560
- "message": "Campaign ended",
561
- "variant": "info",
562
- "type": "alert"
752
+ "type": "stack",
753
+ "direction": "vertical",
754
+ "gap": "md",
755
+ "align": "center",
756
+ "children": [
757
+ {
758
+ "type": "spinner"
759
+ },
760
+ {
761
+ "content": "Ending campaign…",
762
+ "color": "muted",
763
+ "type": "typography",
764
+ "variant": "caption"
765
+ }
766
+ ],
767
+ "className": "py-12"
563
768
  }
564
769
  ]
565
770
  ]
@@ -613,4 +818,4 @@
613
818
  ]
614
819
  }
615
820
  ]
616
- }
821
+ }