@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-ticket-tier",
3
3
  "version": "1.0.0",
4
- "description": "std-ticket-tier — event ticket pricing tiers (VIP, general, early-bird) with quantity tracking. Owns a TicketTier entity (price, quantityTotal, quantitySold, status) and a single manage trait that loads tiers, browses them in a data-grid with Create / Update / Sell / Close actions, and persists each verdict back to the row.",
4
+ "description": "std-ticket-tier — event ticket pricing tiers (VIP, general, early-bird) with quantity tracking. Lists tiers in `browsing`; opens detail in `viewing_single` with Update / Sell / Close actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "TicketTierOrbital",
@@ -73,20 +73,10 @@
73
73
  "linkedEntity": "TicketTier",
74
74
  "emits": [
75
75
  {
76
- "event": "CREATE",
76
+ "event": "OPEN_TIER",
77
77
  "payloadSchema": [
78
78
  {
79
- "name": "data",
80
- "type": "object",
81
- "required": true
82
- }
83
- ]
84
- },
85
- {
86
- "event": "UPDATE",
87
- "payloadSchema": [
88
- {
89
- "name": "tierId",
79
+ "name": "id",
90
80
  "type": "string",
91
81
  "required": true
92
82
  },
@@ -135,16 +125,14 @@
135
125
  {
136
126
  "name": "row.status",
137
127
  "type": "string"
138
- },
139
- {
140
- "name": "data",
141
- "type": "object",
142
- "required": true
143
128
  }
144
129
  ]
145
130
  },
146
131
  {
147
- "event": "SELL",
132
+ "event": "CLOSE_VIEW"
133
+ },
134
+ {
135
+ "event": "UPDATE",
148
136
  "payloadSchema": [
149
137
  {
150
138
  "name": "tierId",
@@ -198,14 +186,14 @@
198
186
  "type": "string"
199
187
  },
200
188
  {
201
- "name": "qty",
202
- "type": "number",
189
+ "name": "data",
190
+ "type": "object",
203
191
  "required": true
204
192
  }
205
193
  ]
206
194
  },
207
195
  {
208
- "event": "CLOSE",
196
+ "event": "SELL",
209
197
  "payloadSchema": [
210
198
  {
211
199
  "name": "tierId",
@@ -257,136 +245,22 @@
257
245
  {
258
246
  "name": "row.status",
259
247
  "type": "string"
260
- }
261
- ]
262
- },
263
- {
264
- "event": "TicketTierLoaded",
265
- "payloadSchema": [
266
- {
267
- "name": "data",
268
- "type": "[TicketTier]"
269
- }
270
- ]
271
- },
272
- {
273
- "event": "TicketTierLoadFailed",
274
- "payloadSchema": [
275
- {
276
- "name": "error",
277
- "type": "string"
278
- },
279
- {
280
- "name": "code",
281
- "type": "string"
282
- }
283
- ]
284
- },
285
- {
286
- "event": "TicketTierCreated",
287
- "payloadSchema": [
288
- {
289
- "name": "row.id",
290
- "type": "string",
291
- "required": true
292
- },
293
- {
294
- "name": "row.eventId",
295
- "type": "string",
296
- "required": true
297
- },
298
- {
299
- "name": "row.name",
300
- "type": "string",
301
- "required": true
302
- },
303
- {
304
- "name": "row.price",
305
- "type": "number",
306
- "required": true
307
- },
308
- {
309
- "name": "row.currency",
310
- "type": "string"
311
- },
312
- {
313
- "name": "row.quantityTotal",
314
- "type": "number",
315
- "required": true
316
248
  },
317
249
  {
318
- "name": "row.quantitySold",
250
+ "name": "qty",
319
251
  "type": "number",
320
252
  "required": true
321
- },
322
- {
323
- "name": "row.availableFrom",
324
- "type": "string"
325
- },
326
- {
327
- "name": "row.availableUntil",
328
- "type": "string"
329
- },
330
- {
331
- "name": "row.status",
332
- "type": "string"
333
253
  }
334
254
  ]
335
255
  },
336
256
  {
337
- "event": "TicketTierUpdated",
257
+ "event": "CLOSE",
338
258
  "payloadSchema": [
339
259
  {
340
- "name": "row.id",
341
- "type": "string",
342
- "required": true
343
- },
344
- {
345
- "name": "row.eventId",
346
- "type": "string",
347
- "required": true
348
- },
349
- {
350
- "name": "row.name",
260
+ "name": "tierId",
351
261
  "type": "string",
352
262
  "required": true
353
263
  },
354
- {
355
- "name": "row.price",
356
- "type": "number",
357
- "required": true
358
- },
359
- {
360
- "name": "row.currency",
361
- "type": "string"
362
- },
363
- {
364
- "name": "row.quantityTotal",
365
- "type": "number",
366
- "required": true
367
- },
368
- {
369
- "name": "row.quantitySold",
370
- "type": "number",
371
- "required": true
372
- },
373
- {
374
- "name": "row.availableFrom",
375
- "type": "string"
376
- },
377
- {
378
- "name": "row.availableUntil",
379
- "type": "string"
380
- },
381
- {
382
- "name": "row.status",
383
- "type": "string"
384
- }
385
- ]
386
- },
387
- {
388
- "event": "TicketTierSold",
389
- "payloadSchema": [
390
264
  {
391
265
  "name": "row.id",
392
266
  "type": "string",
@@ -436,58 +310,16 @@
436
310
  ]
437
311
  },
438
312
  {
439
- "event": "TicketTierClosed",
313
+ "event": "TicketTierLoaded",
440
314
  "payloadSchema": [
441
315
  {
442
- "name": "row.id",
443
- "type": "string",
444
- "required": true
445
- },
446
- {
447
- "name": "row.eventId",
448
- "type": "string",
449
- "required": true
450
- },
451
- {
452
- "name": "row.name",
453
- "type": "string",
454
- "required": true
455
- },
456
- {
457
- "name": "row.price",
458
- "type": "number",
459
- "required": true
460
- },
461
- {
462
- "name": "row.currency",
463
- "type": "string"
464
- },
465
- {
466
- "name": "row.quantityTotal",
467
- "type": "number",
468
- "required": true
469
- },
470
- {
471
- "name": "row.quantitySold",
472
- "type": "number",
473
- "required": true
474
- },
475
- {
476
- "name": "row.availableFrom",
477
- "type": "string"
478
- },
479
- {
480
- "name": "row.availableUntil",
481
- "type": "string"
482
- },
483
- {
484
- "name": "row.status",
485
- "type": "string"
316
+ "name": "data",
317
+ "type": "[TicketTier]"
486
318
  }
487
319
  ]
488
320
  },
489
321
  {
490
- "event": "TicketTierWriteFailed",
322
+ "event": "TicketTierLoadFailed",
491
323
  "payloadSchema": [
492
324
  {
493
325
  "name": "error",
@@ -509,6 +341,9 @@
509
341
  {
510
342
  "name": "browsing"
511
343
  },
344
+ {
345
+ "name": "viewing_single"
346
+ },
512
347
  {
513
348
  "name": "error"
514
349
  }
@@ -543,13 +378,17 @@
543
378
  ]
544
379
  },
545
380
  {
546
- "key": "CREATE",
547
- "name": "Create",
381
+ "key": "OPEN_TIER",
382
+ "name": "Open Tier",
548
383
  "payloadSchema": [
549
384
  {
550
- "name": "data",
551
- "type": "object",
385
+ "name": "id",
386
+ "type": "string",
552
387
  "required": true
388
+ },
389
+ {
390
+ "name": "row",
391
+ "type": "TicketTier"
553
392
  }
554
393
  ]
555
394
  },
@@ -609,58 +448,8 @@
609
448
  ]
610
449
  },
611
450
  {
612
- "key": "TicketTierCreated",
613
- "name": "TicketTier created",
614
- "payloadSchema": [
615
- {
616
- "name": "row",
617
- "type": "TicketTier"
618
- }
619
- ]
620
- },
621
- {
622
- "key": "TicketTierUpdated",
623
- "name": "TicketTier updated",
624
- "payloadSchema": [
625
- {
626
- "name": "row",
627
- "type": "TicketTier"
628
- }
629
- ]
630
- },
631
- {
632
- "key": "TicketTierSold",
633
- "name": "TicketTier sold",
634
- "payloadSchema": [
635
- {
636
- "name": "row",
637
- "type": "TicketTier"
638
- }
639
- ]
640
- },
641
- {
642
- "key": "TicketTierClosed",
643
- "name": "TicketTier closed",
644
- "payloadSchema": [
645
- {
646
- "name": "row",
647
- "type": "TicketTier"
648
- }
649
- ]
650
- },
651
- {
652
- "key": "TicketTierWriteFailed",
653
- "name": "TicketTier write failed",
654
- "payloadSchema": [
655
- {
656
- "name": "error",
657
- "type": "string"
658
- },
659
- {
660
- "name": "code",
661
- "type": "string"
662
- }
663
- ]
451
+ "key": "CLOSE_VIEW",
452
+ "name": "Close View"
664
453
  }
665
454
  ],
666
455
  "transitions": [
@@ -684,21 +473,21 @@
684
473
  "main",
685
474
  {
686
475
  "align": "center",
687
- "direction": "vertical",
688
- "type": "stack",
689
- "gap": "md",
690
- "className": "py-12",
691
476
  "children": [
692
477
  {
693
478
  "type": "spinner"
694
479
  },
695
480
  {
696
- "type": "typography",
481
+ "variant": "caption",
697
482
  "color": "muted",
698
483
  "content": "Loading ticket tiers…",
699
- "variant": "caption"
484
+ "type": "typography"
700
485
  }
701
- ]
486
+ ],
487
+ "className": "py-12",
488
+ "gap": "md",
489
+ "type": "stack",
490
+ "direction": "vertical"
702
491
  }
703
492
  ]
704
493
  ]
@@ -712,51 +501,78 @@
712
501
  "render-ui",
713
502
  "main",
714
503
  {
715
- "gap": "md",
716
- "type": "stack",
717
- "direction": "vertical",
718
504
  "children": [
719
505
  {
506
+ "align": "center",
720
507
  "children": [
721
508
  {
722
509
  "name": "ticket",
723
510
  "type": "icon"
724
511
  },
725
512
  {
513
+ "type": "typography",
726
514
  "content": "@config.title",
727
- "variant": "h3",
728
- "type": "typography"
515
+ "variant": "h3"
729
516
  }
730
517
  ],
731
- "direction": "horizontal",
732
518
  "type": "stack",
733
- "gap": "sm"
519
+ "gap": "sm",
520
+ "direction": "horizontal"
521
+ },
522
+ {
523
+ "type": "simple-grid",
524
+ "cols": 4.0,
525
+ "children": [
526
+ {
527
+ "label": "Total tiers",
528
+ "type": "stat-display",
529
+ "value": "@payload.data.length",
530
+ "icon": "ticket"
531
+ },
532
+ {
533
+ "label": "Gross sales",
534
+ "value": "$184,200",
535
+ "icon": "dollar-sign",
536
+ "type": "stat-display"
537
+ },
538
+ {
539
+ "label": "Sold seats",
540
+ "icon": "users",
541
+ "type": "stat-display",
542
+ "value": "2,840"
543
+ },
544
+ {
545
+ "label": "Sell-through",
546
+ "icon": "trending-up",
547
+ "value": "73%",
548
+ "type": "stat-display"
549
+ }
550
+ ]
734
551
  },
735
552
  {
736
553
  "type": "divider"
737
554
  },
738
555
  {
739
- "entity": "@payload.data",
740
556
  "fields": [
741
557
  {
742
- "variant": "badge",
743
558
  "label": "Tier",
559
+ "variant": "badge",
744
560
  "name": "name"
745
561
  },
746
562
  {
747
- "variant": "caption",
563
+ "label": "Price",
748
564
  "name": "price",
749
- "label": "Price"
565
+ "variant": "caption"
750
566
  },
751
567
  {
752
- "label": "Currency",
568
+ "name": "currency",
753
569
  "variant": "badge",
754
- "name": "currency"
570
+ "label": "Currency"
755
571
  },
756
572
  {
757
- "label": "Total",
573
+ "variant": "caption",
758
574
  "name": "quantityTotal",
759
- "variant": "caption"
575
+ "label": "Total"
760
576
  },
761
577
  {
762
578
  "name": "quantitySold",
@@ -764,43 +580,34 @@
764
580
  "variant": "caption"
765
581
  },
766
582
  {
583
+ "variant": "badge",
767
584
  "name": "status",
768
- "label": "Status",
769
- "variant": "badge"
585
+ "label": "Status"
770
586
  }
771
587
  ],
772
- "cols": 1.0,
773
- "gap": "sm",
774
588
  "type": "data-grid",
589
+ "gap": "sm",
775
590
  "itemActions": [
776
591
  {
777
- "variant": "secondary",
778
- "label": "Update",
779
- "event": "UPDATE",
780
- "icon": "edit"
781
- },
782
- {
783
- "label": "Sell",
784
- "icon": "shopping-cart",
785
- "event": "SELL",
592
+ "label": "Open",
593
+ "event": "OPEN_TIER",
594
+ "icon": "arrow-right",
786
595
  "variant": "primary"
787
596
  },
788
597
  {
598
+ "variant": "danger",
789
599
  "label": "Close",
790
- "icon": "x",
791
600
  "event": "CLOSE",
792
- "variant": "danger"
601
+ "icon": "x"
793
602
  }
794
- ]
795
- },
796
- {
797
- "type": "button",
798
- "label": "New Tier",
799
- "icon": "plus",
800
- "action": "CREATE",
801
- "variant": "primary"
603
+ ],
604
+ "cols": 1.0,
605
+ "entity": "@payload.data"
802
606
  }
803
- ]
607
+ ],
608
+ "gap": "md",
609
+ "type": "stack",
610
+ "direction": "vertical"
804
611
  }
805
612
  ]
806
613
  ]
@@ -814,8 +621,8 @@
814
621
  "render-ui",
815
622
  "main",
816
623
  {
817
- "type": "alert",
818
624
  "variant": "error",
625
+ "type": "alert",
819
626
  "message": "@payload.error"
820
627
  }
821
628
  ]
@@ -823,32 +630,13 @@
823
630
  },
824
631
  {
825
632
  "from": "browsing",
826
- "to": "loading",
827
- "event": "CREATE",
828
- "effects": [
829
- [
830
- "persist",
831
- "create",
832
- "TicketTier",
833
- "@payload.data",
834
- {
835
- "emit": {
836
- "failure": "TicketTierWriteFailed",
837
- "success": "TicketTierCreated"
838
- }
839
- }
840
- ]
841
- ]
842
- },
843
- {
844
- "from": "browsing",
845
- "to": "loading",
846
- "event": "UPDATE",
633
+ "to": "viewing_single",
634
+ "event": "OPEN_TIER",
847
635
  "effects": [
848
636
  [
849
637
  "set",
850
638
  "@entity.id",
851
- "@payload.tierId"
639
+ "@payload.row.id"
852
640
  ],
853
641
  [
854
642
  "set",
@@ -896,15 +684,179 @@
896
684
  "@payload.row.status"
897
685
  ],
898
686
  [
899
- "persist",
900
- "update",
901
- "TicketTier",
902
- "@entity",
687
+ "render-ui",
688
+ "main",
903
689
  {
904
- "emit": {
905
- "failure": "TicketTierWriteFailed",
906
- "success": "TicketTierUpdated"
907
- }
690
+ "children": [
691
+ {
692
+ "gap": "sm",
693
+ "direction": "horizontal",
694
+ "type": "stack",
695
+ "align": "center",
696
+ "children": [
697
+ {
698
+ "type": "button",
699
+ "label": "Back",
700
+ "action": "CLOSE_VIEW",
701
+ "variant": "ghost"
702
+ },
703
+ {
704
+ "type": "icon",
705
+ "name": "ticket"
706
+ },
707
+ {
708
+ "content": "@entity.name",
709
+ "variant": "h3",
710
+ "type": "typography"
711
+ },
712
+ {
713
+ "type": "badge",
714
+ "label": "@entity.status",
715
+ "variant": "primary"
716
+ }
717
+ ]
718
+ },
719
+ {
720
+ "type": "divider"
721
+ },
722
+ {
723
+ "gap": "sm",
724
+ "children": [
725
+ {
726
+ "type": "stack",
727
+ "gap": "md",
728
+ "children": [
729
+ {
730
+ "variant": "caption",
731
+ "color": "muted",
732
+ "content": "Event",
733
+ "type": "typography"
734
+ },
735
+ {
736
+ "type": "typography",
737
+ "variant": "body",
738
+ "content": "@entity.eventId"
739
+ }
740
+ ],
741
+ "direction": "horizontal"
742
+ },
743
+ {
744
+ "direction": "horizontal",
745
+ "children": [
746
+ {
747
+ "variant": "caption",
748
+ "type": "typography",
749
+ "content": "Available from",
750
+ "color": "muted"
751
+ },
752
+ {
753
+ "content": "@entity.availableFrom",
754
+ "type": "typography",
755
+ "variant": "body"
756
+ }
757
+ ],
758
+ "type": "stack",
759
+ "gap": "md"
760
+ },
761
+ {
762
+ "type": "stack",
763
+ "children": [
764
+ {
765
+ "content": "Available until",
766
+ "type": "typography",
767
+ "variant": "caption",
768
+ "color": "muted"
769
+ },
770
+ {
771
+ "variant": "body",
772
+ "type": "typography",
773
+ "content": "@entity.availableUntil"
774
+ }
775
+ ],
776
+ "gap": "md",
777
+ "direction": "horizontal"
778
+ }
779
+ ],
780
+ "direction": "vertical",
781
+ "type": "stack"
782
+ },
783
+ {
784
+ "type": "divider"
785
+ },
786
+ {
787
+ "type": "simple-grid",
788
+ "cols": 4.0,
789
+ "children": [
790
+ {
791
+ "icon": "dollar-sign",
792
+ "label": "Price",
793
+ "value": "@entity.price",
794
+ "type": "stat-display"
795
+ },
796
+ {
797
+ "type": "stat-display",
798
+ "value": "@entity.currency",
799
+ "icon": "globe",
800
+ "label": "Currency"
801
+ },
802
+ {
803
+ "icon": "users",
804
+ "type": "stat-display",
805
+ "label": "Total seats",
806
+ "value": "@entity.quantityTotal"
807
+ },
808
+ {
809
+ "icon": "check-circle",
810
+ "type": "stat-display",
811
+ "label": "Sold",
812
+ "value": "@entity.quantitySold"
813
+ }
814
+ ]
815
+ },
816
+ {
817
+ "type": "stack",
818
+ "gap": "sm",
819
+ "align": "center",
820
+ "children": [
821
+ {
822
+ "type": "button",
823
+ "variant": "primary",
824
+ "actionPayload": {
825
+ "row": "@entity",
826
+ "tierId": "@entity.id",
827
+ "data": {}
828
+ },
829
+ "action": "UPDATE",
830
+ "label": "Update"
831
+ },
832
+ {
833
+ "label": "Sell",
834
+ "variant": "secondary",
835
+ "actionPayload": {
836
+ "row": "@entity",
837
+ "tierId": "@entity.id",
838
+ "qty": 1.0
839
+ },
840
+ "type": "button",
841
+ "action": "SELL"
842
+ },
843
+ {
844
+ "action": "CLOSE",
845
+ "label": "Close",
846
+ "actionPayload": {
847
+ "row": "@entity",
848
+ "tierId": "@entity.id"
849
+ },
850
+ "variant": "danger",
851
+ "type": "button"
852
+ }
853
+ ],
854
+ "direction": "horizontal"
855
+ }
856
+ ],
857
+ "type": "stack",
858
+ "gap": "md",
859
+ "direction": "vertical"
908
860
  }
909
861
  ]
910
862
  ]
@@ -912,7 +864,7 @@
912
864
  {
913
865
  "from": "browsing",
914
866
  "to": "loading",
915
- "event": "SELL",
867
+ "event": "UPDATE",
916
868
  "effects": [
917
869
  [
918
870
  "set",
@@ -920,89 +872,43 @@
920
872
  "@payload.tierId"
921
873
  ],
922
874
  [
923
- "set",
924
- "@entity.eventId",
925
- "@payload.row.eventId"
926
- ],
927
- [
928
- "set",
929
- "@entity.name",
930
- "@payload.row.name"
931
- ],
932
- [
933
- "set",
934
- "@entity.price",
935
- "@payload.row.price"
936
- ],
937
- [
938
- "set",
939
- "@entity.currency",
940
- "@payload.row.currency"
941
- ],
942
- [
943
- "set",
944
- "@entity.quantityTotal",
945
- "@payload.row.quantityTotal"
946
- ],
947
- [
948
- "set",
949
- "@entity.quantitySold",
950
- [
951
- "+",
952
- "@payload.row.quantitySold",
953
- "@payload.qty"
954
- ]
955
- ],
956
- [
957
- "set",
958
- "@entity.availableFrom",
959
- "@payload.row.availableFrom"
960
- ],
961
- [
962
- "set",
963
- "@entity.availableUntil",
964
- "@payload.row.availableUntil"
965
- ],
966
- [
967
- "set",
968
- "@entity.status",
969
- [
970
- "if",
971
- [
972
- ">=",
973
- [
974
- "+",
975
- "@payload.row.quantitySold",
976
- "@payload.qty"
977
- ],
978
- [
979
- "+",
980
- "@payload.row.quantityTotal",
981
- 0.0
982
- ]
983
- ],
984
- "sold-out",
985
- "available"
986
- ]
987
- ],
988
- [
989
- "persist",
990
- "update",
875
+ "fetch",
991
876
  "TicketTier",
992
- "@entity",
993
877
  {
994
878
  "emit": {
995
- "success": "TicketTierSold",
996
- "failure": "TicketTierWriteFailed"
879
+ "success": "TicketTierLoaded",
880
+ "failure": "TicketTierLoadFailed"
997
881
  }
998
882
  }
883
+ ],
884
+ [
885
+ "render-ui",
886
+ "main",
887
+ {
888
+ "type": "stack",
889
+ "children": [
890
+ {
891
+ "type": "spinner"
892
+ },
893
+ {
894
+ "type": "typography",
895
+ "variant": "caption",
896
+ "color": "muted",
897
+ "content": "Updating tier…"
898
+ }
899
+ ],
900
+ "direction": "vertical",
901
+ "align": "center",
902
+ "className": "py-12",
903
+ "gap": "md"
904
+ }
999
905
  ]
1000
906
  ]
1001
907
  },
1002
908
  {
1003
909
  "from": "browsing",
1004
910
  "to": "loading",
1005
- "event": "CLOSE",
911
+ "event": "SELL",
1006
912
  "effects": [
1007
913
  [
1008
914
  "set",
@@ -1010,69 +916,49 @@
1010
916
  "@payload.tierId"
1011
917
  ],
1012
918
  [
1013
- "set",
1014
- "@entity.eventId",
1015
- "@payload.row.eventId"
1016
- ],
1017
- [
1018
- "set",
1019
- "@entity.name",
1020
- "@payload.row.name"
1021
- ],
1022
- [
1023
- "set",
1024
- "@entity.price",
1025
- "@payload.row.price"
1026
- ],
1027
- [
1028
- "set",
1029
- "@entity.currency",
1030
- "@payload.row.currency"
1031
- ],
1032
- [
1033
- "set",
1034
- "@entity.quantityTotal",
1035
- "@payload.row.quantityTotal"
1036
- ],
1037
- [
1038
- "set",
1039
- "@entity.quantitySold",
1040
- "@payload.row.quantitySold"
1041
- ],
1042
- [
1043
- "set",
1044
- "@entity.availableFrom",
1045
- "@payload.row.availableFrom"
1046
- ],
1047
- [
1048
- "set",
1049
- "@entity.availableUntil",
1050
- "@payload.row.availableUntil"
1051
- ],
1052
- [
1053
- "set",
1054
- "@entity.status",
1055
- "closed"
1056
- ],
1057
- [
1058
- "persist",
1059
- "update",
919
+ "fetch",
1060
920
  "TicketTier",
1061
- "@entity",
1062
921
  {
1063
922
  "emit": {
1064
- "failure": "TicketTierWriteFailed",
1065
- "success": "TicketTierClosed"
923
+ "failure": "TicketTierLoadFailed",
924
+ "success": "TicketTierLoaded"
1066
925
  }
1067
926
  }
927
+ ],
928
+ [
929
+ "render-ui",
930
+ "main",
931
+ {
932
+ "children": [
933
+ {
934
+ "type": "spinner"
935
+ },
936
+ {
937
+ "color": "muted",
938
+ "content": "Selling tickets…",
939
+ "type": "typography",
940
+ "variant": "caption"
941
+ }
942
+ ],
943
+ "type": "stack",
944
+ "align": "center",
945
+ "gap": "md",
946
+ "direction": "vertical",
947
+ "className": "py-12"
948
+ }
1068
949
  ]
1069
950
  ]
1070
951
  },
1071
952
  {
1072
953
  "from": "browsing",
1073
954
  "to": "loading",
1074
- "event": "TicketTierCreated",
955
+ "event": "CLOSE",
1075
956
  "effects": [
957
+ [
958
+ "set",
959
+ "@entity.id",
960
+ "@payload.tierId"
961
+ ],
1076
962
  [
1077
963
  "fetch",
1078
964
  "TicketTier",
@@ -1082,13 +968,35 @@
1082
968
  "success": "TicketTierLoaded"
1083
969
  }
1084
970
  }
971
+ ],
972
+ [
973
+ "render-ui",
974
+ "main",
975
+ {
976
+ "gap": "md",
977
+ "align": "center",
978
+ "className": "py-12",
979
+ "direction": "vertical",
980
+ "type": "stack",
981
+ "children": [
982
+ {
983
+ "type": "spinner"
984
+ },
985
+ {
986
+ "type": "typography",
987
+ "content": "Closing tier…",
988
+ "variant": "caption",
989
+ "color": "muted"
990
+ }
991
+ ]
992
+ }
1085
993
  ]
1086
994
  ]
1087
995
  },
1088
996
  {
1089
- "from": "browsing",
997
+ "from": "viewing_single",
1090
998
  "to": "loading",
1091
- "event": "TicketTierUpdated",
999
+ "event": "CLOSE_VIEW",
1092
1000
  "effects": [
1093
1001
  [
1094
1002
  "fetch",
@@ -1099,14 +1007,41 @@
1099
1007
  "failure": "TicketTierLoadFailed"
1100
1008
  }
1101
1009
  }
1010
+ ],
1011
+ [
1012
+ "render-ui",
1013
+ "main",
1014
+ {
1015
+ "type": "stack",
1016
+ "className": "py-12",
1017
+ "direction": "vertical",
1018
+ "align": "center",
1019
+ "gap": "md",
1020
+ "children": [
1021
+ {
1022
+ "type": "spinner"
1023
+ },
1024
+ {
1025
+ "variant": "caption",
1026
+ "color": "muted",
1027
+ "type": "typography",
1028
+ "content": "Loading ticket tiers…"
1029
+ }
1030
+ ]
1031
+ }
1102
1032
  ]
1103
1033
  ]
1104
1034
  },
1105
1035
  {
1106
- "from": "browsing",
1036
+ "from": "viewing_single",
1107
1037
  "to": "loading",
1108
- "event": "TicketTierSold",
1038
+ "event": "UPDATE",
1109
1039
  "effects": [
1040
+ [
1041
+ "set",
1042
+ "@entity.id",
1043
+ "@payload.tierId"
1044
+ ],
1110
1045
  [
1111
1046
  "fetch",
1112
1047
  "TicketTier",
@@ -1116,14 +1051,41 @@
1116
1051
  "failure": "TicketTierLoadFailed"
1117
1052
  }
1118
1053
  }
1054
+ ],
1055
+ [
1056
+ "render-ui",
1057
+ "main",
1058
+ {
1059
+ "type": "stack",
1060
+ "direction": "vertical",
1061
+ "align": "center",
1062
+ "gap": "md",
1063
+ "className": "py-12",
1064
+ "children": [
1065
+ {
1066
+ "type": "spinner"
1067
+ },
1068
+ {
1069
+ "content": "Updating tier…",
1070
+ "variant": "caption",
1071
+ "type": "typography",
1072
+ "color": "muted"
1073
+ }
1074
+ ]
1075
+ }
1119
1076
  ]
1120
1077
  ]
1121
1078
  },
1122
1079
  {
1123
- "from": "browsing",
1080
+ "from": "viewing_single",
1124
1081
  "to": "loading",
1125
- "event": "TicketTierClosed",
1082
+ "event": "SELL",
1126
1083
  "effects": [
1084
+ [
1085
+ "set",
1086
+ "@entity.id",
1087
+ "@payload.tierId"
1088
+ ],
1127
1089
  [
1128
1090
  "fetch",
1129
1091
  "TicketTier",
@@ -1133,21 +1095,71 @@
1133
1095
  "failure": "TicketTierLoadFailed"
1134
1096
  }
1135
1097
  }
1098
+ ],
1099
+ [
1100
+ "render-ui",
1101
+ "main",
1102
+ {
1103
+ "children": [
1104
+ {
1105
+ "type": "spinner"
1106
+ },
1107
+ {
1108
+ "content": "Selling tickets…",
1109
+ "color": "muted",
1110
+ "type": "typography",
1111
+ "variant": "caption"
1112
+ }
1113
+ ],
1114
+ "type": "stack",
1115
+ "align": "center",
1116
+ "className": "py-12",
1117
+ "gap": "md",
1118
+ "direction": "vertical"
1119
+ }
1136
1120
  ]
1137
1121
  ]
1138
1122
  },
1139
1123
  {
1140
- "from": "browsing",
1141
- "to": "browsing",
1142
- "event": "TicketTierWriteFailed",
1124
+ "from": "viewing_single",
1125
+ "to": "loading",
1126
+ "event": "CLOSE",
1143
1127
  "effects": [
1128
+ [
1129
+ "set",
1130
+ "@entity.id",
1131
+ "@payload.tierId"
1132
+ ],
1133
+ [
1134
+ "fetch",
1135
+ "TicketTier",
1136
+ {
1137
+ "emit": {
1138
+ "success": "TicketTierLoaded",
1139
+ "failure": "TicketTierLoadFailed"
1140
+ }
1141
+ }
1142
+ ],
1144
1143
  [
1145
1144
  "render-ui",
1146
1145
  "main",
1147
1146
  {
1148
- "type": "alert",
1149
- "message": "@payload.error",
1150
- "variant": "error"
1147
+ "type": "stack",
1148
+ "gap": "md",
1149
+ "align": "center",
1150
+ "className": "py-12",
1151
+ "direction": "vertical",
1152
+ "children": [
1153
+ {
1154
+ "type": "spinner"
1155
+ },
1156
+ {
1157
+ "variant": "caption",
1158
+ "content": "Closing tier…",
1159
+ "color": "muted",
1160
+ "type": "typography"
1161
+ }
1162
+ ]
1151
1163
  }
1152
1164
  ]
1153
1165
  ]
@@ -1162,8 +1174,8 @@
1162
1174
  "TicketTier",
1163
1175
  {
1164
1176
  "emit": {
1165
- "failure": "TicketTierLoadFailed",
1166
- "success": "TicketTierLoaded"
1177
+ "success": "TicketTierLoaded",
1178
+ "failure": "TicketTierLoadFailed"
1167
1179
  }
1168
1180
  }
1169
1181
  ],
@@ -1201,4 +1213,4 @@
1201
1213
  ]
1202
1214
  }
1203
1215
  ]
1204
- }
1216
+ }