@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-email-broadcast",
3
3
  "version": "1.0.0",
4
- "description": "std-email-broadcast — send an email blast to a segment of contacts using a chosen template; tracks send progress.",
4
+ "description": "std-email-broadcast — send an email blast to a segment of contacts using a chosen template. Lists broadcasts in `browsing`; opens detail in `viewing_single` with Send / Cancel actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "EmailBroadcastOrbital",
@@ -70,6 +70,57 @@
70
70
  "category": "interaction",
71
71
  "linkedEntity": "EmailBroadcast",
72
72
  "emits": [
73
+ {
74
+ "event": "OPEN_BROADCAST",
75
+ "payloadSchema": [
76
+ {
77
+ "name": "id",
78
+ "type": "string",
79
+ "required": true
80
+ },
81
+ {
82
+ "name": "row.id",
83
+ "type": "string",
84
+ "required": true
85
+ },
86
+ {
87
+ "name": "row.name",
88
+ "type": "string",
89
+ "required": true
90
+ },
91
+ {
92
+ "name": "row.subject",
93
+ "type": "string"
94
+ },
95
+ {
96
+ "name": "row.segmentId",
97
+ "type": "string"
98
+ },
99
+ {
100
+ "name": "row.templateId",
101
+ "type": "string"
102
+ },
103
+ {
104
+ "name": "row.status",
105
+ "type": "string"
106
+ },
107
+ {
108
+ "name": "row.scheduledAt",
109
+ "type": "string"
110
+ },
111
+ {
112
+ "name": "row.recipientCount",
113
+ "type": "number"
114
+ },
115
+ {
116
+ "name": "row.sentCount",
117
+ "type": "number"
118
+ }
119
+ ]
120
+ },
121
+ {
122
+ "event": "CLOSE_VIEW"
123
+ },
73
124
  {
74
125
  "event": "SEND",
75
126
  "payloadSchema": [
@@ -80,6 +131,16 @@
80
131
  }
81
132
  ]
82
133
  },
134
+ {
135
+ "event": "CANCEL_BROADCAST",
136
+ "payloadSchema": [
137
+ {
138
+ "name": "id",
139
+ "type": "string",
140
+ "required": true
141
+ }
142
+ ]
143
+ },
83
144
  {
84
145
  "event": "EmailBroadcastLoaded",
85
146
  "payloadSchema": [
@@ -101,15 +162,6 @@
101
162
  "type": "string"
102
163
  }
103
164
  ]
104
- },
105
- {
106
- "event": "BroadcastSent",
107
- "payloadSchema": [
108
- {
109
- "name": "id",
110
- "type": "string"
111
- }
112
- ]
113
165
  }
114
166
  ],
115
167
  "stateMachine": {
@@ -122,7 +174,7 @@
122
174
  "name": "browsing"
123
175
  },
124
176
  {
125
- "name": "sending"
177
+ "name": "viewing_single"
126
178
  },
127
179
  {
128
180
  "name": "error"
@@ -158,23 +210,43 @@
158
210
  ]
159
211
  },
160
212
  {
161
- "key": "SEND",
162
- "name": "Send",
213
+ "key": "OPEN_BROADCAST",
214
+ "name": "Open Broadcast",
163
215
  "payloadSchema": [
164
216
  {
165
- "name": "broadcastId",
217
+ "name": "id",
166
218
  "type": "string",
167
219
  "required": true
220
+ },
221
+ {
222
+ "name": "row",
223
+ "type": "EmailBroadcast"
168
224
  }
169
225
  ]
170
226
  },
171
227
  {
172
- "key": "BroadcastSent",
173
- "name": "Broadcast sent",
228
+ "key": "CANCEL_BROADCAST",
229
+ "name": "Cancel Broadcast",
174
230
  "payloadSchema": [
175
231
  {
176
232
  "name": "id",
177
- "type": "string"
233
+ "type": "string",
234
+ "required": true
235
+ }
236
+ ]
237
+ },
238
+ {
239
+ "key": "CLOSE_VIEW",
240
+ "name": "Close View"
241
+ },
242
+ {
243
+ "key": "SEND",
244
+ "name": "Send",
245
+ "payloadSchema": [
246
+ {
247
+ "name": "broadcastId",
248
+ "type": "string",
249
+ "required": true
178
250
  }
179
251
  ]
180
252
  }
@@ -199,22 +271,22 @@
199
271
  "render-ui",
200
272
  "main",
201
273
  {
202
- "type": "stack",
203
274
  "align": "center",
204
275
  "children": [
205
276
  {
206
277
  "type": "spinner"
207
278
  },
208
279
  {
209
- "color": "muted",
210
- "variant": "caption",
211
280
  "type": "typography",
281
+ "variant": "caption",
282
+ "color": "muted",
212
283
  "content": "Loading broadcasts…"
213
284
  }
214
285
  ],
215
- "direction": "vertical",
286
+ "gap": "md",
216
287
  "className": "py-12",
217
- "gap": "md"
288
+ "type": "stack",
289
+ "direction": "vertical"
218
290
  }
219
291
  ]
220
292
  ]
@@ -228,65 +300,87 @@
228
300
  "render-ui",
229
301
  "main",
230
302
  {
231
- "gap": "md",
232
303
  "type": "stack",
233
304
  "direction": "vertical",
234
305
  "children": [
235
306
  {
236
- "gap": "sm",
237
- "type": "stack",
238
- "direction": "horizontal",
239
307
  "children": [
240
308
  {
241
- "type": "icon",
242
- "name": "mail"
309
+ "name": "mail",
310
+ "type": "icon"
243
311
  },
244
312
  {
245
- "type": "typography",
246
313
  "content": "@config.title",
314
+ "type": "typography",
247
315
  "variant": "h3"
248
316
  }
317
+ ],
318
+ "direction": "horizontal",
319
+ "align": "center",
320
+ "gap": "sm",
321
+ "type": "stack"
322
+ },
323
+ {
324
+ "type": "simple-grid",
325
+ "cols": 4.0,
326
+ "children": [
327
+ {
328
+ "value": "@payload.data.length",
329
+ "icon": "mail",
330
+ "label": "Total broadcasts",
331
+ "type": "stat-display"
332
+ },
333
+ {
334
+ "icon": "send",
335
+ "type": "stat-display",
336
+ "label": "Sent this month",
337
+ "value": "23"
338
+ },
339
+ {
340
+ "value": "41%",
341
+ "label": "Open rate",
342
+ "icon": "eye",
343
+ "type": "stat-display"
344
+ },
345
+ {
346
+ "value": "12%",
347
+ "type": "stat-display",
348
+ "icon": "mouse-pointer",
349
+ "label": "Click rate"
350
+ }
249
351
  ]
250
352
  },
251
353
  {
252
354
  "type": "divider"
253
355
  },
254
356
  {
255
- "cols": 1.0,
256
- "gap": "sm",
257
- "itemActions": [
258
- {
259
- "label": "Send",
260
- "variant": "primary",
261
- "event": "SEND",
262
- "icon": "send"
263
- }
264
- ],
357
+ "entity": "@payload.data",
358
+ "type": "data-grid",
265
359
  "fields": [
266
360
  {
267
- "variant": "caption",
268
361
  "name": "name",
269
- "label": "Name"
362
+ "label": "Name",
363
+ "variant": "caption"
270
364
  },
271
365
  {
366
+ "variant": "caption",
272
367
  "name": "subject",
273
- "label": "Subject",
274
- "variant": "caption"
368
+ "label": "Subject"
275
369
  },
276
370
  {
277
- "variant": "badge",
278
371
  "name": "status",
279
- "label": "Status"
372
+ "label": "Status",
373
+ "variant": "badge"
280
374
  },
281
375
  {
376
+ "variant": "caption",
282
377
  "label": "Recipients",
283
- "variant": "badge",
284
378
  "name": "recipientCount"
285
379
  },
286
380
  {
287
- "variant": "badge",
288
- "name": "sentCount",
289
- "label": "Sent"
381
+ "label": "Sent",
382
+ "variant": "caption",
383
+ "name": "sentCount"
290
384
  },
291
385
  {
292
386
  "name": "scheduledAt",
@@ -294,10 +388,24 @@
294
388
  "variant": "caption"
295
389
  }
296
390
  ],
297
- "type": "data-grid",
298
- "entity": "@payload.data"
391
+ "cols": 1.0,
392
+ "gap": "sm",
393
+ "itemActions": [
394
+ {
395
+ "event": "OPEN_BROADCAST",
396
+ "label": "Open",
397
+ "variant": "primary",
398
+ "icon": "arrow-right"
399
+ },
400
+ {
401
+ "label": "Cancel",
402
+ "event": "CANCEL_BROADCAST",
403
+ "variant": "danger"
404
+ }
405
+ ]
299
406
  }
300
- ]
407
+ ],
408
+ "gap": "md"
301
409
  }
302
410
  ]
303
411
  ]
@@ -311,16 +419,308 @@
311
419
  "render-ui",
312
420
  "main",
313
421
  {
314
- "variant": "error",
315
422
  "type": "alert",
316
- "message": "@payload.error"
423
+ "message": "@payload.error",
424
+ "variant": "error"
425
+ }
426
+ ]
427
+ ]
428
+ },
429
+ {
430
+ "from": "browsing",
431
+ "to": "viewing_single",
432
+ "event": "OPEN_BROADCAST",
433
+ "effects": [
434
+ [
435
+ "set",
436
+ "@entity.id",
437
+ "@payload.row.id"
438
+ ],
439
+ [
440
+ "set",
441
+ "@entity.name",
442
+ "@payload.row.name"
443
+ ],
444
+ [
445
+ "set",
446
+ "@entity.subject",
447
+ "@payload.row.subject"
448
+ ],
449
+ [
450
+ "set",
451
+ "@entity.segmentId",
452
+ "@payload.row.segmentId"
453
+ ],
454
+ [
455
+ "set",
456
+ "@entity.templateId",
457
+ "@payload.row.templateId"
458
+ ],
459
+ [
460
+ "set",
461
+ "@entity.status",
462
+ "@payload.row.status"
463
+ ],
464
+ [
465
+ "set",
466
+ "@entity.scheduledAt",
467
+ "@payload.row.scheduledAt"
468
+ ],
469
+ [
470
+ "set",
471
+ "@entity.recipientCount",
472
+ "@payload.row.recipientCount"
473
+ ],
474
+ [
475
+ "set",
476
+ "@entity.sentCount",
477
+ "@payload.row.sentCount"
478
+ ],
479
+ [
480
+ "render-ui",
481
+ "main",
482
+ {
483
+ "children": [
484
+ {
485
+ "type": "stack",
486
+ "align": "center",
487
+ "gap": "sm",
488
+ "children": [
489
+ {
490
+ "label": "Back",
491
+ "type": "button",
492
+ "variant": "ghost",
493
+ "action": "CLOSE_VIEW"
494
+ },
495
+ {
496
+ "type": "icon",
497
+ "name": "mail"
498
+ },
499
+ {
500
+ "variant": "h3",
501
+ "content": "@entity.name",
502
+ "type": "typography"
503
+ },
504
+ {
505
+ "variant": "primary",
506
+ "type": "badge",
507
+ "label": "@entity.status"
508
+ }
509
+ ],
510
+ "direction": "horizontal"
511
+ },
512
+ {
513
+ "type": "divider"
514
+ },
515
+ {
516
+ "direction": "vertical",
517
+ "gap": "sm",
518
+ "children": [
519
+ {
520
+ "type": "stack",
521
+ "children": [
522
+ {
523
+ "type": "typography",
524
+ "color": "muted",
525
+ "content": "Subject",
526
+ "variant": "caption"
527
+ },
528
+ {
529
+ "content": "@entity.subject",
530
+ "type": "typography",
531
+ "variant": "body"
532
+ }
533
+ ],
534
+ "gap": "md",
535
+ "direction": "horizontal"
536
+ },
537
+ {
538
+ "type": "stack",
539
+ "children": [
540
+ {
541
+ "color": "muted",
542
+ "type": "typography",
543
+ "variant": "caption",
544
+ "content": "Segment"
545
+ },
546
+ {
547
+ "type": "typography",
548
+ "content": "@entity.segmentId",
549
+ "variant": "body"
550
+ }
551
+ ],
552
+ "direction": "horizontal",
553
+ "gap": "md"
554
+ },
555
+ {
556
+ "children": [
557
+ {
558
+ "type": "typography",
559
+ "content": "Template",
560
+ "color": "muted",
561
+ "variant": "caption"
562
+ },
563
+ {
564
+ "type": "typography",
565
+ "content": "@entity.templateId",
566
+ "variant": "body"
567
+ }
568
+ ],
569
+ "direction": "horizontal",
570
+ "gap": "md",
571
+ "type": "stack"
572
+ }
573
+ ],
574
+ "type": "stack"
575
+ },
576
+ {
577
+ "type": "divider"
578
+ },
579
+ {
580
+ "cols": 3.0,
581
+ "children": [
582
+ {
583
+ "value": "@entity.recipientCount",
584
+ "type": "stat-display",
585
+ "label": "Recipients",
586
+ "icon": "users"
587
+ },
588
+ {
589
+ "label": "Sent",
590
+ "icon": "send",
591
+ "value": "@entity.sentCount",
592
+ "type": "stat-display"
593
+ },
594
+ {
595
+ "icon": "calendar",
596
+ "label": "Scheduled",
597
+ "type": "stat-display",
598
+ "value": "@entity.scheduledAt"
599
+ }
600
+ ],
601
+ "type": "simple-grid"
602
+ },
603
+ {
604
+ "align": "center",
605
+ "direction": "horizontal",
606
+ "children": [
607
+ {
608
+ "variant": "primary",
609
+ "type": "button",
610
+ "label": "Send Now",
611
+ "action": "SEND",
612
+ "actionPayload": {
613
+ "broadcastId": "@entity.id",
614
+ "id": "@entity.id"
615
+ }
616
+ },
617
+ {
618
+ "action": "CANCEL_BROADCAST",
619
+ "label": "Cancel",
620
+ "actionPayload": {
621
+ "id": "@entity.id"
622
+ },
623
+ "type": "button",
624
+ "variant": "danger"
625
+ }
626
+ ],
627
+ "type": "stack",
628
+ "gap": "sm"
629
+ }
630
+ ],
631
+ "gap": "md",
632
+ "type": "stack",
633
+ "direction": "vertical"
317
634
  }
318
635
  ]
319
636
  ]
320
637
  },
321
638
  {
322
639
  "from": "browsing",
323
- "to": "sending",
640
+ "to": "loading",
641
+ "event": "CANCEL_BROADCAST",
642
+ "effects": [
643
+ [
644
+ "set",
645
+ "@entity.id",
646
+ "@payload.id"
647
+ ],
648
+ [
649
+ "fetch",
650
+ "EmailBroadcast",
651
+ {
652
+ "emit": {
653
+ "success": "EmailBroadcastLoaded",
654
+ "failure": "EmailBroadcastLoadFailed"
655
+ }
656
+ }
657
+ ],
658
+ [
659
+ "render-ui",
660
+ "main",
661
+ {
662
+ "align": "center",
663
+ "direction": "vertical",
664
+ "className": "py-12",
665
+ "children": [
666
+ {
667
+ "type": "spinner"
668
+ },
669
+ {
670
+ "content": "Cancelling broadcast…",
671
+ "variant": "caption",
672
+ "type": "typography",
673
+ "color": "muted"
674
+ }
675
+ ],
676
+ "gap": "md",
677
+ "type": "stack"
678
+ }
679
+ ]
680
+ ]
681
+ },
682
+ {
683
+ "from": "viewing_single",
684
+ "to": "loading",
685
+ "event": "CLOSE_VIEW",
686
+ "effects": [
687
+ [
688
+ "fetch",
689
+ "EmailBroadcast",
690
+ {
691
+ "emit": {
692
+ "success": "EmailBroadcastLoaded",
693
+ "failure": "EmailBroadcastLoadFailed"
694
+ }
695
+ }
696
+ ],
697
+ [
698
+ "render-ui",
699
+ "main",
700
+ {
701
+ "children": [
702
+ {
703
+ "type": "spinner"
704
+ },
705
+ {
706
+ "variant": "caption",
707
+ "color": "muted",
708
+ "type": "typography",
709
+ "content": "Loading broadcasts…"
710
+ }
711
+ ],
712
+ "className": "py-12",
713
+ "direction": "vertical",
714
+ "gap": "md",
715
+ "type": "stack",
716
+ "align": "center"
717
+ }
718
+ ]
719
+ ]
720
+ },
721
+ {
722
+ "from": "viewing_single",
723
+ "to": "loading",
324
724
  "event": "SEND",
325
725
  "effects": [
326
726
  [
@@ -329,26 +729,79 @@
329
729
  "@payload.broadcastId"
330
730
  ],
331
731
  [
332
- "emit",
333
- "BroadcastSent",
732
+ "fetch",
733
+ "EmailBroadcast",
734
+ {
735
+ "emit": {
736
+ "failure": "EmailBroadcastLoadFailed",
737
+ "success": "EmailBroadcastLoaded"
738
+ }
739
+ }
740
+ ],
741
+ [
742
+ "render-ui",
743
+ "main",
334
744
  {
335
- "id": "@payload.broadcastId"
745
+ "className": "py-12",
746
+ "children": [
747
+ {
748
+ "type": "spinner"
749
+ },
750
+ {
751
+ "type": "typography",
752
+ "variant": "caption",
753
+ "color": "muted",
754
+ "content": "Sending broadcast…"
755
+ }
756
+ ],
757
+ "type": "stack",
758
+ "gap": "md",
759
+ "align": "center",
760
+ "direction": "vertical"
336
761
  }
337
762
  ]
338
763
  ]
339
764
  },
340
765
  {
341
- "from": "sending",
342
- "to": "browsing",
343
- "event": "BroadcastSent",
766
+ "from": "viewing_single",
767
+ "to": "loading",
768
+ "event": "CANCEL_BROADCAST",
344
769
  "effects": [
770
+ [
771
+ "set",
772
+ "@entity.id",
773
+ "@payload.id"
774
+ ],
775
+ [
776
+ "fetch",
777
+ "EmailBroadcast",
778
+ {
779
+ "emit": {
780
+ "success": "EmailBroadcastLoaded",
781
+ "failure": "EmailBroadcastLoadFailed"
782
+ }
783
+ }
784
+ ],
345
785
  [
346
786
  "render-ui",
347
787
  "main",
348
788
  {
349
- "variant": "success",
350
- "type": "alert",
351
- "message": "Broadcast sent"
789
+ "gap": "md",
790
+ "type": "stack",
791
+ "direction": "vertical",
792
+ "align": "center",
793
+ "className": "py-12",
794
+ "children": [
795
+ {
796
+ "type": "spinner"
797
+ },
798
+ {
799
+ "type": "typography",
800
+ "variant": "caption",
801
+ "color": "muted",
802
+ "content": "Cancelling broadcast…"
803
+ }
804
+ ]
352
805
  }
353
806
  ]
354
807
  ]
@@ -402,4 +855,4 @@
402
855
  ]
403
856
  }
404
857
  ]
405
- }
858
+ }