@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-segment",
3
3
  "version": "1.0.0",
4
- "description": "std-segment — contact segment primitive. Defines a filter criteria for grouping contacts (e.g. 'new signups in last 30 days'). Used by marketing campaigns for targeting.",
4
+ "description": "std-segment — contact segment primitive. Defines a filter criteria for grouping contacts. Lists segments in `browsing`; opens segment detail in `viewing_single` with Recalculate action.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "SegmentOrbital",
@@ -48,6 +48,45 @@
48
48
  "category": "interaction",
49
49
  "linkedEntity": "Segment",
50
50
  "emits": [
51
+ {
52
+ "event": "OPEN_SEGMENT",
53
+ "payloadSchema": [
54
+ {
55
+ "name": "id",
56
+ "type": "string",
57
+ "required": true
58
+ },
59
+ {
60
+ "name": "row.id",
61
+ "type": "string",
62
+ "required": true
63
+ },
64
+ {
65
+ "name": "row.name",
66
+ "type": "string",
67
+ "required": true
68
+ },
69
+ {
70
+ "name": "row.description",
71
+ "type": "string"
72
+ },
73
+ {
74
+ "name": "row.criteria",
75
+ "type": "string"
76
+ },
77
+ {
78
+ "name": "row.memberCount",
79
+ "type": "number"
80
+ },
81
+ {
82
+ "name": "row.lastUpdated",
83
+ "type": "string"
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "event": "CLOSE_VIEW"
89
+ },
51
90
  {
52
91
  "event": "RECALCULATE",
53
92
  "payloadSchema": [
@@ -79,19 +118,6 @@
79
118
  "type": "string"
80
119
  }
81
120
  ]
82
- },
83
- {
84
- "event": "SegmentRecalculated",
85
- "payloadSchema": [
86
- {
87
- "name": "id",
88
- "type": "string"
89
- },
90
- {
91
- "name": "memberCount",
92
- "type": "number"
93
- }
94
- ]
95
121
  }
96
122
  ],
97
123
  "stateMachine": {
@@ -104,7 +130,7 @@
104
130
  "name": "browsing"
105
131
  },
106
132
  {
107
- "name": "calculating"
133
+ "name": "viewing_single"
108
134
  },
109
135
  {
110
136
  "name": "error"
@@ -140,29 +166,34 @@
140
166
  ]
141
167
  },
142
168
  {
143
- "key": "RECALCULATE",
144
- "name": "Recalculate",
169
+ "key": "OPEN_SEGMENT",
170
+ "name": "Open Segment",
145
171
  "payloadSchema": [
146
172
  {
147
173
  "name": "id",
148
174
  "type": "string",
149
175
  "required": true
176
+ },
177
+ {
178
+ "name": "row",
179
+ "type": "Segment"
150
180
  }
151
181
  ]
152
182
  },
153
183
  {
154
- "key": "SegmentRecalculated",
155
- "name": "Segment recalculated",
184
+ "key": "RECALCULATE",
185
+ "name": "Recalculate",
156
186
  "payloadSchema": [
157
187
  {
158
188
  "name": "id",
159
- "type": "string"
160
- },
161
- {
162
- "name": "memberCount",
163
- "type": "number"
189
+ "type": "string",
190
+ "required": true
164
191
  }
165
192
  ]
193
+ },
194
+ {
195
+ "key": "CLOSE_VIEW",
196
+ "name": "Close View"
166
197
  }
167
198
  ],
168
199
  "transitions": [
@@ -176,8 +207,8 @@
176
207
  "Segment",
177
208
  {
178
209
  "emit": {
179
- "success": "SegmentLoaded",
180
- "failure": "SegmentLoadFailed"
210
+ "failure": "SegmentLoadFailed",
211
+ "success": "SegmentLoaded"
181
212
  }
182
213
  }
183
214
  ],
@@ -185,22 +216,22 @@
185
216
  "render-ui",
186
217
  "main",
187
218
  {
188
- "direction": "vertical",
219
+ "align": "center",
220
+ "type": "stack",
189
221
  "className": "py-12",
222
+ "direction": "vertical",
223
+ "gap": "md",
190
224
  "children": [
191
225
  {
192
226
  "type": "spinner"
193
227
  },
194
228
  {
195
229
  "type": "typography",
196
- "content": "Loading segments…",
230
+ "variant": "caption",
197
231
  "color": "muted",
198
- "variant": "caption"
232
+ "content": "Loading segments…"
199
233
  }
200
- ],
201
- "gap": "md",
202
- "type": "stack",
203
- "align": "center"
234
+ ]
204
235
  }
205
236
  ]
206
237
  ]
@@ -214,86 +245,81 @@
214
245
  "render-ui",
215
246
  "main",
216
247
  {
248
+ "direction": "vertical",
249
+ "type": "stack",
250
+ "gap": "md",
217
251
  "children": [
218
- {
219
- "type": "geometric-pattern",
220
- "variant": "khatam",
221
- "opacity": 0.12
222
- },
223
- {
224
- "opacity": 0.2,
225
- "side": "left",
226
- "type": "edge-decoration"
227
- },
228
252
  {
229
253
  "type": "stack",
230
- "gap": "sm",
231
- "direction": "horizontal",
232
254
  "children": [
233
255
  {
234
- "name": "users",
235
- "type": "icon"
256
+ "type": "icon",
257
+ "name": "users"
236
258
  },
237
259
  {
238
260
  "variant": "h3",
239
- "type": "typography",
240
- "content": "@config.title"
261
+ "content": "@config.title",
262
+ "type": "typography"
241
263
  }
242
- ]
243
- },
244
- {
245
- "color": "primary",
246
- "type": "gradient-divider"
264
+ ],
265
+ "direction": "horizontal",
266
+ "align": "center",
267
+ "gap": "sm"
247
268
  },
248
269
  {
249
- "type": "tag-cloud",
250
- "tags": [
251
- {
252
- "id": "new-signups",
253
- "label": "New Signups"
254
- },
255
- {
256
- "id": "high-value",
257
- "label": "High Value"
258
- },
259
- {
260
- "id": "churn-risk",
261
- "label": "Churn Risk"
262
- },
263
- {
264
- "id": "active-30d",
265
- "label": "Active 30d"
266
- },
270
+ "type": "simple-grid",
271
+ "children": [
267
272
  {
268
- "label": "Dormant",
269
- "id": "dormant"
273
+ "type": "stat-display",
274
+ "value": "@payload.data.length",
275
+ "label": "Total segments",
276
+ "icon": "users"
270
277
  },
271
278
  {
272
- "label": "VIP",
273
- "id": "vip"
279
+ "value": "12,480",
280
+ "type": "stat-display",
281
+ "icon": "user-check",
282
+ "label": "Active members"
274
283
  },
275
284
  {
276
- "id": "trial",
277
- "label": "Trial"
285
+ "icon": "bar-chart",
286
+ "type": "stat-display",
287
+ "label": "Avg size",
288
+ "value": "1,560"
278
289
  },
279
290
  {
280
- "id": "enterprise",
281
- "label": "Enterprise"
291
+ "label": "Updated 24h",
292
+ "type": "stat-display",
293
+ "value": "8",
294
+ "icon": "refresh-cw"
282
295
  }
283
- ]
296
+ ],
297
+ "cols": 4.0
284
298
  },
285
299
  {
286
300
  "type": "divider"
287
301
  },
288
302
  {
289
303
  "cols": 1.0,
290
- "gap": "sm",
291
- "entity": "@payload.data",
304
+ "itemActions": [
305
+ {
306
+ "label": "Open",
307
+ "event": "OPEN_SEGMENT",
308
+ "variant": "primary",
309
+ "icon": "arrow-right"
310
+ },
311
+ {
312
+ "event": "RECALCULATE",
313
+ "variant": "danger",
314
+ "label": "Recalculate"
315
+ }
316
+ ],
317
+ "type": "data-grid",
292
318
  "fields": [
293
319
  {
294
- "label": "Name",
295
320
  "name": "name",
296
- "variant": "caption"
321
+ "variant": "caption",
322
+ "label": "Name"
297
323
  },
298
324
  {
299
325
  "label": "Description",
@@ -306,24 +332,15 @@
306
332
  "label": "Members"
307
333
  },
308
334
  {
309
- "label": "Updated",
310
335
  "name": "lastUpdated",
336
+ "label": "Updated",
311
337
  "variant": "caption"
312
338
  }
313
339
  ],
314
- "itemActions": [
315
- {
316
- "variant": "ghost",
317
- "label": "Recalculate",
318
- "event": "RECALCULATE"
319
- }
320
- ],
321
- "type": "data-grid"
340
+ "entity": "@payload.data",
341
+ "gap": "sm"
322
342
  }
323
- ],
324
- "type": "stack",
325
- "direction": "vertical",
326
- "gap": "md"
343
+ ]
327
344
  }
328
345
  ]
329
346
  ]
@@ -338,15 +355,175 @@
338
355
  "main",
339
356
  {
340
357
  "variant": "error",
341
- "type": "alert",
342
- "message": "@payload.error"
358
+ "message": "@payload.error",
359
+ "type": "alert"
343
360
  }
344
361
  ]
345
362
  ]
346
363
  },
347
364
  {
348
365
  "from": "browsing",
349
- "to": "calculating",
366
+ "to": "viewing_single",
367
+ "event": "OPEN_SEGMENT",
368
+ "effects": [
369
+ [
370
+ "set",
371
+ "@entity.id",
372
+ "@payload.row.id"
373
+ ],
374
+ [
375
+ "set",
376
+ "@entity.name",
377
+ "@payload.row.name"
378
+ ],
379
+ [
380
+ "set",
381
+ "@entity.description",
382
+ "@payload.row.description"
383
+ ],
384
+ [
385
+ "set",
386
+ "@entity.criteria",
387
+ "@payload.row.criteria"
388
+ ],
389
+ [
390
+ "set",
391
+ "@entity.memberCount",
392
+ "@payload.row.memberCount"
393
+ ],
394
+ [
395
+ "set",
396
+ "@entity.lastUpdated",
397
+ "@payload.row.lastUpdated"
398
+ ],
399
+ [
400
+ "render-ui",
401
+ "main",
402
+ {
403
+ "gap": "md",
404
+ "children": [
405
+ {
406
+ "type": "stack",
407
+ "direction": "horizontal",
408
+ "gap": "sm",
409
+ "align": "center",
410
+ "children": [
411
+ {
412
+ "label": "Back",
413
+ "action": "CLOSE_VIEW",
414
+ "variant": "ghost",
415
+ "type": "button"
416
+ },
417
+ {
418
+ "type": "icon",
419
+ "name": "users"
420
+ },
421
+ {
422
+ "content": "@entity.name",
423
+ "type": "typography",
424
+ "variant": "h3"
425
+ },
426
+ {
427
+ "variant": "primary",
428
+ "label": "@entity.memberCount",
429
+ "type": "badge"
430
+ }
431
+ ]
432
+ },
433
+ {
434
+ "type": "divider"
435
+ },
436
+ {
437
+ "direction": "vertical",
438
+ "children": [
439
+ {
440
+ "type": "stack",
441
+ "direction": "horizontal",
442
+ "children": [
443
+ {
444
+ "type": "typography",
445
+ "color": "muted",
446
+ "variant": "caption",
447
+ "content": "Description"
448
+ },
449
+ {
450
+ "content": "@entity.description",
451
+ "variant": "body",
452
+ "type": "typography"
453
+ }
454
+ ],
455
+ "gap": "md"
456
+ },
457
+ {
458
+ "direction": "horizontal",
459
+ "gap": "md",
460
+ "children": [
461
+ {
462
+ "variant": "caption",
463
+ "content": "Criteria",
464
+ "type": "typography",
465
+ "color": "muted"
466
+ },
467
+ {
468
+ "variant": "body",
469
+ "content": "@entity.criteria",
470
+ "type": "typography"
471
+ }
472
+ ],
473
+ "type": "stack"
474
+ }
475
+ ],
476
+ "type": "stack",
477
+ "gap": "sm"
478
+ },
479
+ {
480
+ "type": "divider"
481
+ },
482
+ {
483
+ "type": "simple-grid",
484
+ "children": [
485
+ {
486
+ "icon": "users",
487
+ "label": "Members",
488
+ "value": "@entity.memberCount",
489
+ "type": "stat-display"
490
+ },
491
+ {
492
+ "label": "Last updated",
493
+ "icon": "calendar",
494
+ "type": "stat-display",
495
+ "value": "@entity.lastUpdated"
496
+ }
497
+ ],
498
+ "cols": 2.0
499
+ },
500
+ {
501
+ "children": [
502
+ {
503
+ "type": "button",
504
+ "actionPayload": {
505
+ "id": "@entity.id"
506
+ },
507
+ "label": "Recalculate",
508
+ "action": "RECALCULATE",
509
+ "variant": "primary"
510
+ }
511
+ ],
512
+ "direction": "horizontal",
513
+ "type": "stack",
514
+ "align": "center",
515
+ "gap": "sm"
516
+ }
517
+ ],
518
+ "direction": "vertical",
519
+ "type": "stack"
520
+ }
521
+ ]
522
+ ]
523
+ },
524
+ {
525
+ "from": "browsing",
526
+ "to": "loading",
350
527
  "event": "RECALCULATE",
351
528
  "effects": [
352
529
  [
@@ -354,42 +531,119 @@
354
531
  "@entity.id",
355
532
  "@payload.id"
356
533
  ],
534
+ [
535
+ "fetch",
536
+ "Segment",
537
+ {
538
+ "emit": {
539
+ "success": "SegmentLoaded",
540
+ "failure": "SegmentLoadFailed"
541
+ }
542
+ }
543
+ ],
357
544
  [
358
545
  "render-ui",
359
546
  "main",
360
547
  {
548
+ "align": "center",
549
+ "className": "py-12",
361
550
  "children": [
362
551
  {
363
552
  "type": "spinner"
364
553
  },
365
554
  {
366
- "type": "typography",
367
555
  "variant": "caption",
556
+ "type": "typography",
368
557
  "color": "muted",
369
558
  "content": "Recalculating segment…"
370
559
  }
371
560
  ],
561
+ "type": "stack",
562
+ "direction": "vertical",
563
+ "gap": "md"
564
+ }
565
+ ]
566
+ ]
567
+ },
568
+ {
569
+ "from": "viewing_single",
570
+ "to": "loading",
571
+ "event": "CLOSE_VIEW",
572
+ "effects": [
573
+ [
574
+ "fetch",
575
+ "Segment",
576
+ {
577
+ "emit": {
578
+ "failure": "SegmentLoadFailed",
579
+ "success": "SegmentLoaded"
580
+ }
581
+ }
582
+ ],
583
+ [
584
+ "render-ui",
585
+ "main",
586
+ {
372
587
  "direction": "vertical",
373
- "className": "py-12",
374
588
  "type": "stack",
375
589
  "gap": "md",
376
- "align": "center"
590
+ "children": [
591
+ {
592
+ "type": "spinner"
593
+ },
594
+ {
595
+ "color": "muted",
596
+ "variant": "caption",
597
+ "type": "typography",
598
+ "content": "Loading segments…"
599
+ }
600
+ ],
601
+ "align": "center",
602
+ "className": "py-12"
377
603
  }
378
604
  ]
379
605
  ]
380
606
  },
381
607
  {
382
- "from": "calculating",
383
- "to": "browsing",
384
- "event": "SegmentRecalculated",
608
+ "from": "viewing_single",
609
+ "to": "loading",
610
+ "event": "RECALCULATE",
385
611
  "effects": [
612
+ [
613
+ "set",
614
+ "@entity.id",
615
+ "@payload.id"
616
+ ],
617
+ [
618
+ "fetch",
619
+ "Segment",
620
+ {
621
+ "emit": {
622
+ "success": "SegmentLoaded",
623
+ "failure": "SegmentLoadFailed"
624
+ }
625
+ }
626
+ ],
386
627
  [
387
628
  "render-ui",
388
629
  "main",
389
630
  {
390
- "variant": "success",
391
- "message": "Segment recalculated",
392
- "type": "alert"
631
+ "gap": "md",
632
+ "direction": "vertical",
633
+ "className": "py-12",
634
+ "children": [
635
+ {
636
+ "type": "spinner"
637
+ },
638
+ {
639
+ "type": "typography",
640
+ "color": "muted",
641
+ "variant": "caption",
642
+ "content": "Recalculating segment…"
643
+ }
644
+ ],
645
+ "align": "center",
646
+ "type": "stack"
393
647
  }
394
648
  ]
395
649
  ]
@@ -413,8 +667,8 @@
413
667
  "render-ui",
414
668
  "main",
415
669
  {
416
- "size": "sm",
417
- "type": "spinner"
670
+ "type": "spinner",
671
+ "size": "sm"
418
672
  }
419
673
  ]
420
674
  ]
@@ -443,4 +697,4 @@
443
697
  ]
444
698
  }
445
699
  ]
446
- }
700
+ }