@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-response-collector",
3
3
  "version": "1.0.0",
4
- "description": "std-response-collector — survey per-respondent answer accumulator. ResponseCollect fetches Response rows on INIT, lists them, and on SUBMIT persists a new answer row tagged with surveyId, respondentId, questionId, and serialized answerJson, emitting ResponseSubmitted for cross-trait listeners.",
4
+ "description": "std-response-collector — survey per-respondent answer accumulator. Lists responses in `browsing`; opens detail in `viewing_single` with Resubmit / Delete actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "ResponseCollectorOrbital",
@@ -47,91 +47,77 @@
47
47
  "linkedEntity": "Response",
48
48
  "emits": [
49
49
  {
50
- "event": "SUBMIT",
50
+ "event": "OPEN_RESPONSE",
51
51
  "payloadSchema": [
52
52
  {
53
- "name": "surveyId",
53
+ "name": "id",
54
54
  "type": "string",
55
55
  "required": true
56
56
  },
57
57
  {
58
- "name": "respondentId",
58
+ "name": "row.id",
59
59
  "type": "string",
60
60
  "required": true
61
61
  },
62
62
  {
63
- "name": "questionId",
63
+ "name": "row.surveyId",
64
64
  "type": "string",
65
65
  "required": true
66
66
  },
67
67
  {
68
- "name": "answerJson",
69
- "type": "string"
68
+ "name": "row.respondentId",
69
+ "type": "string",
70
+ "required": true
70
71
  },
71
72
  {
72
- "name": "data",
73
- "type": "object",
73
+ "name": "row.questionId",
74
+ "type": "string",
74
75
  "required": true
76
+ },
77
+ {
78
+ "name": "row.answerJson",
79
+ "type": "string"
80
+ },
81
+ {
82
+ "name": "row.submittedAt",
83
+ "type": "string"
75
84
  }
76
85
  ]
77
86
  },
78
87
  {
79
- "event": "ResponseLoaded",
88
+ "event": "CLOSE_VIEW"
89
+ },
90
+ {
91
+ "event": "RESUBMIT",
80
92
  "payloadSchema": [
81
93
  {
82
- "name": "data",
83
- "type": "[Response]"
94
+ "name": "id",
95
+ "type": "string",
96
+ "required": true
84
97
  }
85
98
  ]
86
99
  },
87
100
  {
88
- "event": "ResponseLoadFailed",
101
+ "event": "DELETE_RESPONSE",
89
102
  "payloadSchema": [
90
103
  {
91
- "name": "error",
92
- "type": "string"
93
- },
94
- {
95
- "name": "code",
96
- "type": "string"
104
+ "name": "id",
105
+ "type": "string",
106
+ "required": true
97
107
  }
98
108
  ]
99
109
  },
100
110
  {
101
- "event": "ResponseSubmitted",
111
+ "event": "ResponseLoaded",
102
112
  "payloadSchema": [
103
113
  {
104
- "name": "row.id",
105
- "type": "string",
106
- "required": true
107
- },
108
- {
109
- "name": "row.surveyId",
110
- "type": "string",
111
- "required": true
112
- },
113
- {
114
- "name": "row.respondentId",
115
- "type": "string",
116
- "required": true
117
- },
118
- {
119
- "name": "row.questionId",
120
- "type": "string",
121
- "required": true
122
- },
123
- {
124
- "name": "row.answerJson",
125
- "type": "string"
126
- },
127
- {
128
- "name": "row.submittedAt",
129
- "type": "string"
114
+ "name": "data",
115
+ "type": "[Response]"
130
116
  }
131
117
  ]
132
118
  },
133
119
  {
134
- "event": "ResponseSubmitFailed",
120
+ "event": "ResponseLoadFailed",
135
121
  "payloadSchema": [
136
122
  {
137
123
  "name": "error",
@@ -154,7 +140,7 @@
154
140
  "name": "browsing"
155
141
  },
156
142
  {
157
- "name": "submitting"
143
+ "name": "viewing_single"
158
144
  },
159
145
  {
160
146
  "name": "error"
@@ -190,58 +176,45 @@
190
176
  ]
191
177
  },
192
178
  {
193
- "key": "SUBMIT",
194
- "name": "Submit",
179
+ "key": "OPEN_RESPONSE",
180
+ "name": "Open Response",
195
181
  "payloadSchema": [
196
182
  {
197
- "name": "surveyId",
183
+ "name": "id",
198
184
  "type": "string",
199
185
  "required": true
200
186
  },
201
187
  {
202
- "name": "respondentId",
203
- "type": "string",
204
- "required": true
205
- },
206
- {
207
- "name": "questionId",
208
- "type": "string",
209
- "required": true
210
- },
211
- {
212
- "name": "answerJson",
213
- "type": "string"
214
- },
215
- {
216
- "name": "data",
217
- "type": "object",
218
- "required": true
188
+ "name": "row",
189
+ "type": "Response"
219
190
  }
220
191
  ]
221
192
  },
222
193
  {
223
- "key": "ResponseSubmitted",
224
- "name": "Response submitted",
194
+ "key": "RESUBMIT",
195
+ "name": "Resubmit",
225
196
  "payloadSchema": [
226
197
  {
227
- "name": "row",
228
- "type": "Response"
198
+ "name": "id",
199
+ "type": "string",
200
+ "required": true
229
201
  }
230
202
  ]
231
203
  },
232
204
  {
233
- "key": "ResponseSubmitFailed",
234
- "name": "Response submit failed",
205
+ "key": "DELETE_RESPONSE",
206
+ "name": "Delete Response",
235
207
  "payloadSchema": [
236
208
  {
237
- "name": "error",
238
- "type": "string"
239
- },
240
- {
241
- "name": "code",
242
- "type": "string"
209
+ "name": "id",
210
+ "type": "string",
211
+ "required": true
243
212
  }
244
213
  ]
214
+ },
215
+ {
216
+ "key": "CLOSE_VIEW",
217
+ "name": "Close View"
245
218
  }
246
219
  ],
247
220
  "transitions": [
@@ -255,8 +228,8 @@
255
228
  "Response",
256
229
  {
257
230
  "emit": {
258
- "success": "ResponseLoaded",
259
- "failure": "ResponseLoadFailed"
231
+ "failure": "ResponseLoadFailed",
232
+ "success": "ResponseLoaded"
260
233
  }
261
234
  }
262
235
  ],
@@ -264,22 +237,22 @@
264
237
  "render-ui",
265
238
  "main",
266
239
  {
240
+ "direction": "vertical",
241
+ "type": "stack",
242
+ "gap": "md",
243
+ "className": "py-12",
244
+ "align": "center",
267
245
  "children": [
268
246
  {
269
247
  "type": "spinner"
270
248
  },
271
249
  {
272
- "content": "Loading responses…",
273
250
  "variant": "caption",
274
- "type": "typography",
275
- "color": "muted"
251
+ "color": "muted",
252
+ "content": "Loading responses…",
253
+ "type": "typography"
276
254
  }
277
- ],
278
- "className": "py-12",
279
- "type": "stack",
280
- "direction": "vertical",
281
- "align": "center",
282
- "gap": "md"
255
+ ]
283
256
  }
284
257
  ]
285
258
  ]
@@ -294,44 +267,106 @@
294
267
  "main",
295
268
  {
296
269
  "direction": "vertical",
270
+ "type": "stack",
297
271
  "children": [
298
272
  {
299
- "type": "typography",
300
- "content": "@config.title",
301
- "variant": "h3"
273
+ "children": [
274
+ {
275
+ "type": "icon",
276
+ "name": "clipboard-list"
277
+ },
278
+ {
279
+ "type": "typography",
280
+ "content": "@config.title",
281
+ "variant": "h3"
282
+ }
283
+ ],
284
+ "align": "center",
285
+ "type": "stack",
286
+ "gap": "sm",
287
+ "direction": "horizontal"
288
+ },
289
+ {
290
+ "children": [
291
+ {
292
+ "type": "stat-display",
293
+ "value": "@payload.data.length",
294
+ "label": "Total responses",
295
+ "icon": "clipboard-list"
296
+ },
297
+ {
298
+ "label": "Completion",
299
+ "icon": "check-circle",
300
+ "value": "84%",
301
+ "type": "stat-display"
302
+ },
303
+ {
304
+ "label": "Respondents",
305
+ "icon": "users",
306
+ "value": "312",
307
+ "type": "stat-display"
308
+ },
309
+ {
310
+ "value": "6",
311
+ "type": "stat-display",
312
+ "icon": "file-text",
313
+ "label": "Surveys"
314
+ }
315
+ ],
316
+ "cols": 4.0,
317
+ "type": "simple-grid"
318
+ },
319
+ {
320
+ "type": "divider"
302
321
  },
303
322
  {
304
323
  "type": "data-grid",
324
+ "gap": "sm",
325
+ "cols": 1.0,
326
+ "itemActions": [
327
+ {
328
+ "event": "OPEN_RESPONSE",
329
+ "label": "Open",
330
+ "variant": "primary",
331
+ "icon": "arrow-right"
332
+ },
333
+ {
334
+ "variant": "danger",
335
+ "event": "DELETE_RESPONSE",
336
+ "label": "Delete"
337
+ }
338
+ ],
339
+ "entity": "@payload.data",
305
340
  "fields": [
306
341
  {
307
342
  "label": "Question",
308
- "name": "questionId"
343
+ "name": "questionId",
344
+ "variant": "caption"
309
345
  },
310
346
  {
347
+ "label": "Respondent",
311
348
  "name": "respondentId",
312
- "label": "Respondent"
349
+ "variant": "caption"
350
+ },
351
+ {
352
+ "name": "surveyId",
353
+ "label": "Survey",
354
+ "variant": "caption"
313
355
  },
314
356
  {
315
357
  "name": "answerJson",
358
+ "variant": "caption",
316
359
  "label": "Answer"
317
360
  },
318
361
  {
362
+ "variant": "caption",
319
363
  "name": "submittedAt",
320
364
  "label": "Submitted"
321
365
  }
322
- ],
323
- "itemActions": [
324
- {
325
- "icon": "eye",
326
- "label": "View",
327
- "event": "SUBMIT"
328
- }
329
- ],
330
- "entity": "@payload.data"
366
+ ]
331
367
  }
332
368
  ],
333
- "gap": "md",
334
- "type": "stack"
369
+ "gap": "md"
335
370
  }
336
371
  ]
337
372
  ]
@@ -345,47 +380,217 @@
345
380
  "render-ui",
346
381
  "main",
347
382
  {
348
- "type": "alert",
383
+ "message": "@payload.error",
349
384
  "variant": "error",
350
- "message": "@payload.error"
385
+ "type": "alert"
351
386
  }
352
387
  ]
353
388
  ]
354
389
  },
355
390
  {
356
391
  "from": "browsing",
357
- "to": "submitting",
358
- "event": "SUBMIT",
392
+ "to": "viewing_single",
393
+ "event": "OPEN_RESPONSE",
359
394
  "effects": [
395
+ [
396
+ "set",
397
+ "@entity.id",
398
+ "@payload.row.id"
399
+ ],
360
400
  [
361
401
  "set",
362
402
  "@entity.surveyId",
363
- "@payload.surveyId"
403
+ "@payload.row.surveyId"
364
404
  ],
365
405
  [
366
406
  "set",
367
407
  "@entity.respondentId",
368
- "@payload.respondentId"
408
+ "@payload.row.respondentId"
369
409
  ],
370
410
  [
371
411
  "set",
372
412
  "@entity.questionId",
373
- "@payload.questionId"
413
+ "@payload.row.questionId"
374
414
  ],
375
415
  [
376
416
  "set",
377
417
  "@entity.answerJson",
378
- "@payload.answerJson"
418
+ "@payload.row.answerJson"
419
+ ],
420
+ [
421
+ "set",
422
+ "@entity.submittedAt",
423
+ "@payload.row.submittedAt"
379
424
  ],
380
425
  [
381
- "persist",
382
- "create",
426
+ "render-ui",
427
+ "main",
428
+ {
429
+ "direction": "vertical",
430
+ "gap": "md",
431
+ "children": [
432
+ {
433
+ "type": "stack",
434
+ "align": "center",
435
+ "direction": "horizontal",
436
+ "gap": "sm",
437
+ "children": [
438
+ {
439
+ "type": "button",
440
+ "label": "Back",
441
+ "variant": "ghost",
442
+ "action": "CLOSE_VIEW"
443
+ },
444
+ {
445
+ "name": "clipboard-list",
446
+ "type": "icon"
447
+ },
448
+ {
449
+ "variant": "h3",
450
+ "type": "typography",
451
+ "content": "@entity.respondentId"
452
+ },
453
+ {
454
+ "variant": "success",
455
+ "type": "badge",
456
+ "label": "Submitted"
457
+ }
458
+ ]
459
+ },
460
+ {
461
+ "type": "divider"
462
+ },
463
+ {
464
+ "gap": "sm",
465
+ "children": [
466
+ {
467
+ "type": "stack",
468
+ "gap": "md",
469
+ "direction": "horizontal",
470
+ "children": [
471
+ {
472
+ "variant": "caption",
473
+ "content": "Survey",
474
+ "color": "muted",
475
+ "type": "typography"
476
+ },
477
+ {
478
+ "content": "@entity.surveyId",
479
+ "type": "typography",
480
+ "variant": "body"
481
+ }
482
+ ]
483
+ },
484
+ {
485
+ "direction": "horizontal",
486
+ "children": [
487
+ {
488
+ "content": "Question",
489
+ "variant": "caption",
490
+ "color": "muted",
491
+ "type": "typography"
492
+ },
493
+ {
494
+ "content": "@entity.questionId",
495
+ "variant": "body",
496
+ "type": "typography"
497
+ }
498
+ ],
499
+ "gap": "md",
500
+ "type": "stack"
501
+ },
502
+ {
503
+ "direction": "horizontal",
504
+ "type": "stack",
505
+ "children": [
506
+ {
507
+ "content": "Answer",
508
+ "type": "typography",
509
+ "color": "muted",
510
+ "variant": "caption"
511
+ },
512
+ {
513
+ "type": "typography",
514
+ "content": "@entity.answerJson",
515
+ "variant": "body"
516
+ }
517
+ ],
518
+ "gap": "md"
519
+ }
520
+ ],
521
+ "direction": "vertical",
522
+ "type": "stack"
523
+ },
524
+ {
525
+ "type": "divider"
526
+ },
527
+ {
528
+ "children": [
529
+ {
530
+ "value": "@entity.respondentId",
531
+ "type": "stat-display",
532
+ "icon": "user",
533
+ "label": "Respondent"
534
+ },
535
+ {
536
+ "label": "Submitted",
537
+ "type": "stat-display",
538
+ "icon": "calendar",
539
+ "value": "@entity.submittedAt"
540
+ }
541
+ ],
542
+ "type": "simple-grid",
543
+ "cols": 2.0
544
+ },
545
+ {
546
+ "direction": "horizontal",
547
+ "gap": "sm",
548
+ "align": "center",
549
+ "children": [
550
+ {
551
+ "variant": "primary",
552
+ "type": "button",
553
+ "label": "Resubmit",
554
+ "actionPayload": {
555
+ "id": "@entity.id"
556
+ },
557
+ "action": "RESUBMIT"
558
+ },
559
+ {
560
+ "variant": "danger",
561
+ "action": "DELETE_RESPONSE",
562
+ "actionPayload": {
563
+ "id": "@entity.id"
564
+ },
565
+ "label": "Delete",
566
+ "type": "button"
567
+ }
568
+ ],
569
+ "type": "stack"
570
+ }
571
+ ],
572
+ "type": "stack"
573
+ }
574
+ ]
575
+ ]
576
+ },
577
+ {
578
+ "from": "browsing",
579
+ "to": "loading",
580
+ "event": "RESUBMIT",
581
+ "effects": [
582
+ [
583
+ "set",
584
+ "@entity.id",
585
+ "@payload.id"
586
+ ],
587
+ [
588
+ "fetch",
383
589
  "Response",
384
- "@payload.data",
385
590
  {
386
591
  "emit": {
387
- "failure": "ResponseSubmitFailed",
388
- "success": "ResponseSubmitted"
592
+ "success": "ResponseLoaded",
593
+ "failure": "ResponseLoadFailed"
389
594
  }
390
595
  }
391
596
  ],
@@ -393,38 +598,43 @@
393
598
  "render-ui",
394
599
  "main",
395
600
  {
396
- "direction": "vertical",
397
- "gap": "md",
398
- "align": "center",
601
+ "className": "py-12",
399
602
  "children": [
400
603
  {
401
604
  "type": "spinner"
402
605
  },
403
606
  {
404
607
  "variant": "caption",
405
- "content": "Submitting response…",
608
+ "content": "Resubmitting response…",
406
609
  "type": "typography",
407
610
  "color": "muted"
408
611
  }
409
612
  ],
410
613
  "type": "stack",
411
- "className": "py-12"
614
+ "direction": "vertical",
615
+ "gap": "md",
616
+ "align": "center"
412
617
  }
413
618
  ]
414
619
  ]
415
620
  },
416
621
  {
417
- "from": "submitting",
622
+ "from": "browsing",
418
623
  "to": "loading",
419
- "event": "ResponseSubmitted",
624
+ "event": "DELETE_RESPONSE",
420
625
  "effects": [
626
+ [
627
+ "set",
628
+ "@entity.id",
629
+ "@payload.id"
630
+ ],
421
631
  [
422
632
  "fetch",
423
633
  "Response",
424
634
  {
425
635
  "emit": {
426
- "success": "ResponseLoaded",
427
- "failure": "ResponseLoadFailed"
636
+ "failure": "ResponseLoadFailed",
637
+ "success": "ResponseLoaded"
428
638
  }
429
639
  }
430
640
  ],
@@ -433,46 +643,74 @@
433
643
  "main",
434
644
  {
435
645
  "type": "stack",
436
- "direction": "vertical",
437
- "className": "py-12",
646
+ "gap": "md",
438
647
  "children": [
439
648
  {
440
649
  "type": "spinner"
441
650
  },
442
651
  {
443
- "variant": "caption",
444
652
  "color": "muted",
445
- "content": "Refreshing responses…",
446
- "type": "typography"
653
+ "variant": "caption",
654
+ "type": "typography",
655
+ "content": "Deleting response…"
447
656
  }
448
657
  ],
449
- "gap": "md",
450
- "align": "center"
658
+ "direction": "vertical",
659
+ "align": "center",
660
+ "className": "py-12"
451
661
  }
452
662
  ]
453
663
  ]
454
664
  },
455
665
  {
456
- "from": "submitting",
457
- "to": "error",
458
- "event": "ResponseSubmitFailed",
666
+ "from": "viewing_single",
667
+ "to": "loading",
668
+ "event": "CLOSE_VIEW",
459
669
  "effects": [
670
+ [
671
+ "fetch",
672
+ "Response",
673
+ {
674
+ "emit": {
675
+ "failure": "ResponseLoadFailed",
676
+ "success": "ResponseLoaded"
677
+ }
678
+ }
679
+ ],
460
680
  [
461
681
  "render-ui",
462
682
  "main",
463
683
  {
464
- "message": "@payload.error",
465
- "type": "alert",
466
- "variant": "error"
684
+ "gap": "md",
685
+ "direction": "vertical",
686
+ "align": "center",
687
+ "className": "py-12",
688
+ "type": "stack",
689
+ "children": [
690
+ {
691
+ "type": "spinner"
692
+ },
693
+ {
694
+ "content": "Loading responses…",
695
+ "color": "muted",
696
+ "type": "typography",
697
+ "variant": "caption"
698
+ }
699
+ ]
467
700
  }
468
701
  ]
469
702
  ]
470
703
  },
471
704
  {
472
- "from": "error",
705
+ "from": "viewing_single",
473
706
  "to": "loading",
474
- "event": "INIT",
707
+ "event": "RESUBMIT",
475
708
  "effects": [
709
+ [
710
+ "set",
711
+ "@entity.id",
712
+ "@payload.id"
713
+ ],
476
714
  [
477
715
  "fetch",
478
716
  "Response",
@@ -488,21 +726,90 @@
488
726
  "main",
489
727
  {
490
728
  "type": "stack",
491
- "gap": "md",
729
+ "direction": "vertical",
730
+ "align": "center",
492
731
  "className": "py-12",
732
+ "gap": "md",
493
733
  "children": [
494
734
  {
495
735
  "type": "spinner"
496
736
  },
497
737
  {
498
- "content": "Loading responses…",
499
738
  "variant": "caption",
739
+ "content": "Resubmitting response…",
500
740
  "color": "muted",
501
741
  "type": "typography"
502
742
  }
743
+ ]
744
+ }
745
+ ]
746
+ ]
747
+ },
748
+ {
749
+ "from": "viewing_single",
750
+ "to": "loading",
751
+ "event": "DELETE_RESPONSE",
752
+ "effects": [
753
+ [
754
+ "set",
755
+ "@entity.id",
756
+ "@payload.id"
757
+ ],
758
+ [
759
+ "fetch",
760
+ "Response",
761
+ {
762
+ "emit": {
763
+ "failure": "ResponseLoadFailed",
764
+ "success": "ResponseLoaded"
765
+ }
766
+ }
767
+ ],
768
+ [
769
+ "render-ui",
770
+ "main",
771
+ {
772
+ "align": "center",
773
+ "gap": "md",
774
+ "type": "stack",
775
+ "className": "py-12",
776
+ "children": [
777
+ {
778
+ "type": "spinner"
779
+ },
780
+ {
781
+ "content": "Deleting response…",
782
+ "color": "muted",
783
+ "type": "typography",
784
+ "variant": "caption"
785
+ }
503
786
  ],
504
- "direction": "vertical",
505
- "align": "center"
787
+ "direction": "vertical"
788
+ }
789
+ ]
790
+ ]
791
+ },
792
+ {
793
+ "from": "error",
794
+ "to": "loading",
795
+ "event": "INIT",
796
+ "effects": [
797
+ [
798
+ "fetch",
799
+ "Response",
800
+ {
801
+ "emit": {
802
+ "failure": "ResponseLoadFailed",
803
+ "success": "ResponseLoaded"
804
+ }
805
+ }
806
+ ],
807
+ [
808
+ "render-ui",
809
+ "main",
810
+ {
811
+ "type": "spinner",
812
+ "size": "sm"
506
813
  }
507
814
  ]
508
815
  ]
@@ -531,4 +838,4 @@
531
838
  ]
532
839
  }
533
840
  ]
534
- }
841
+ }