@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-question-bank",
3
3
  "version": "1.0.0",
4
- "description": "std-question-bank — typed question library for surveys. Owns a Question entity (label + kind + options + required + category + surveyId + order). QuestionManage loads questions on INIT, renders them in a data-grid with Edit / Delete actions plus a Create button, and persists add/update/delete via explicit ADD_QUESTION / UPDATE_QUESTION / DELETE_QUESTION events.",
4
+ "description": "std-question-bank — typed question library for surveys. Lists questions in `browsing`; opens detail in `viewing_single` with Update / Delete actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "QuestionBankOrbital",
@@ -65,20 +65,10 @@
65
65
  "linkedEntity": "Question",
66
66
  "emits": [
67
67
  {
68
- "event": "ADD_QUESTION",
68
+ "event": "OPEN_QUESTION",
69
69
  "payloadSchema": [
70
70
  {
71
- "name": "data",
72
- "type": "object",
73
- "required": true
74
- }
75
- ]
76
- },
77
- {
78
- "event": "UPDATE_QUESTION",
79
- "payloadSchema": [
80
- {
81
- "name": "questionId",
71
+ "name": "id",
82
72
  "type": "string",
83
73
  "required": true
84
74
  },
@@ -115,55 +105,29 @@
115
105
  {
116
106
  "name": "row.order",
117
107
  "type": "number"
118
- },
119
- {
120
- "name": "data",
121
- "type": "object",
122
- "required": true
123
108
  }
124
109
  ]
125
110
  },
126
111
  {
127
- "event": "DELETE_QUESTION",
112
+ "event": "CLOSE_VIEW"
113
+ },
114
+ {
115
+ "event": "UPDATE_QUESTION",
128
116
  "payloadSchema": [
129
117
  {
130
- "name": "questionId",
131
- "type": "string",
132
- "required": true
133
- },
134
- {
135
- "name": "row.id",
118
+ "name": "id",
136
119
  "type": "string",
137
120
  "required": true
138
- },
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "event": "DELETE_QUESTION",
126
+ "payloadSchema": [
139
127
  {
140
- "name": "row.label",
128
+ "name": "id",
141
129
  "type": "string",
142
130
  "required": true
143
- },
144
- {
145
- "name": "row.kind",
146
- "type": "string"
147
- },
148
- {
149
- "name": "row.optionsJson",
150
- "type": "string"
151
- },
152
- {
153
- "name": "row.required",
154
- "type": "boolean"
155
- },
156
- {
157
- "name": "row.category",
158
- "type": "string"
159
- },
160
- {
161
- "name": "row.surveyId",
162
- "type": "string"
163
- },
164
- {
165
- "name": "row.order",
166
- "type": "number"
167
131
  }
168
132
  ]
169
133
  },
@@ -188,93 +152,6 @@
188
152
  "type": "string"
189
153
  }
190
154
  ]
191
- },
192
- {
193
- "event": "QuestionAdded",
194
- "payloadSchema": [
195
- {
196
- "name": "row.id",
197
- "type": "string",
198
- "required": true
199
- },
200
- {
201
- "name": "row.label",
202
- "type": "string",
203
- "required": true
204
- },
205
- {
206
- "name": "row.kind",
207
- "type": "string"
208
- },
209
- {
210
- "name": "row.optionsJson",
211
- "type": "string"
212
- },
213
- {
214
- "name": "row.required",
215
- "type": "boolean"
216
- },
217
- {
218
- "name": "row.category",
219
- "type": "string"
220
- },
221
- {
222
- "name": "row.surveyId",
223
- "type": "string"
224
- },
225
- {
226
- "name": "row.order",
227
- "type": "number"
228
- }
229
- ]
230
- },
231
- {
232
- "event": "QuestionUpdated",
233
- "payloadSchema": [
234
- {
235
- "name": "row.id",
236
- "type": "string",
237
- "required": true
238
- },
239
- {
240
- "name": "row.label",
241
- "type": "string",
242
- "required": true
243
- },
244
- {
245
- "name": "row.kind",
246
- "type": "string"
247
- },
248
- {
249
- "name": "row.optionsJson",
250
- "type": "string"
251
- },
252
- {
253
- "name": "row.required",
254
- "type": "boolean"
255
- },
256
- {
257
- "name": "row.category",
258
- "type": "string"
259
- },
260
- {
261
- "name": "row.surveyId",
262
- "type": "string"
263
- },
264
- {
265
- "name": "row.order",
266
- "type": "number"
267
- }
268
- ]
269
- },
270
- {
271
- "event": "QuestionDeleted",
272
- "payloadSchema": [
273
- {
274
- "name": "id",
275
- "type": "string"
276
- }
277
- ]
278
155
  }
279
156
  ],
280
157
  "stateMachine": {
@@ -287,7 +164,7 @@
287
164
  "name": "browsing"
288
165
  },
289
166
  {
290
- "name": "editing"
167
+ "name": "viewing_single"
291
168
  },
292
169
  {
293
170
  "name": "error"
@@ -323,13 +200,17 @@
323
200
  ]
324
201
  },
325
202
  {
326
- "key": "ADD_QUESTION",
327
- "name": "Add Question",
203
+ "key": "OPEN_QUESTION",
204
+ "name": "Open Question",
328
205
  "payloadSchema": [
329
206
  {
330
- "name": "data",
331
- "type": "object",
207
+ "name": "id",
208
+ "type": "string",
332
209
  "required": true
210
+ },
211
+ {
212
+ "name": "row",
213
+ "type": "Question"
333
214
  }
334
215
  ]
335
216
  },
@@ -338,18 +219,9 @@
338
219
  "name": "Update Question",
339
220
  "payloadSchema": [
340
221
  {
341
- "name": "questionId",
222
+ "name": "id",
342
223
  "type": "string",
343
224
  "required": true
344
- },
345
- {
346
- "name": "row",
347
- "type": "Question"
348
- },
349
- {
350
- "name": "data",
351
- "type": "object",
352
- "required": true
353
225
  }
354
226
  ]
355
227
  },
@@ -358,45 +230,15 @@
358
230
  "name": "Delete Question",
359
231
  "payloadSchema": [
360
232
  {
361
- "name": "questionId",
233
+ "name": "id",
362
234
  "type": "string",
363
235
  "required": true
364
- },
365
- {
366
- "name": "row",
367
- "type": "Question"
368
- }
369
- ]
370
- },
371
- {
372
- "key": "QuestionAdded",
373
- "name": "Question added",
374
- "payloadSchema": [
375
- {
376
- "name": "row",
377
- "type": "Question"
378
236
  }
379
237
  ]
380
238
  },
381
239
  {
382
- "key": "QuestionUpdated",
383
- "name": "Question updated",
384
- "payloadSchema": [
385
- {
386
- "name": "row",
387
- "type": "Question"
388
- }
389
- ]
390
- },
391
- {
392
- "key": "QuestionDeleted",
393
- "name": "Question deleted",
394
- "payloadSchema": [
395
- {
396
- "name": "id",
397
- "type": "string"
398
- }
399
- ]
240
+ "key": "CLOSE_VIEW",
241
+ "name": "Close View"
400
242
  }
401
243
  ],
402
244
  "transitions": [
@@ -419,20 +261,20 @@
419
261
  "render-ui",
420
262
  "main",
421
263
  {
264
+ "direction": "vertical",
422
265
  "gap": "md",
423
- "type": "stack",
424
266
  "className": "py-12",
425
- "direction": "vertical",
426
267
  "align": "center",
268
+ "type": "stack",
427
269
  "children": [
428
270
  {
429
271
  "type": "spinner"
430
272
  },
431
273
  {
432
- "color": "muted",
433
274
  "type": "typography",
275
+ "variant": "caption",
434
276
  "content": "Loading questions…",
435
- "variant": "caption"
277
+ "color": "muted"
436
278
  }
437
279
  ]
438
280
  }
@@ -448,51 +290,66 @@
448
290
  "render-ui",
449
291
  "main",
450
292
  {
451
- "gap": "md",
452
293
  "type": "stack",
453
- "direction": "vertical",
454
294
  "children": [
455
295
  {
296
+ "align": "center",
297
+ "gap": "sm",
298
+ "children": [
299
+ {
300
+ "name": "list-checks",
301
+ "type": "icon"
302
+ },
303
+ {
304
+ "variant": "h3",
305
+ "type": "typography",
306
+ "content": "@config.title"
307
+ }
308
+ ],
456
309
  "type": "stack",
457
- "justify": "between",
310
+ "direction": "horizontal"
311
+ },
312
+ {
313
+ "type": "simple-grid",
458
314
  "children": [
459
315
  {
460
- "type": "stack",
461
- "direction": "horizontal",
462
- "children": [
463
- {
464
- "type": "icon",
465
- "name": "list-checks"
466
- },
467
- {
468
- "content": "@config.title",
469
- "variant": "h3",
470
- "type": "typography"
471
- }
472
- ],
473
- "gap": "sm"
316
+ "label": "Total questions",
317
+ "type": "stat-display",
318
+ "value": "@payload.data.length",
319
+ "icon": "list-checks"
474
320
  },
475
321
  {
476
- "label": "Add Question",
477
- "action": "ADD_QUESTION",
478
- "type": "button",
479
- "variant": "primary",
480
- "icon": "plus"
322
+ "value": "18",
323
+ "label": "Required",
324
+ "type": "stat-display",
325
+ "icon": "alert-circle"
326
+ },
327
+ {
328
+ "type": "stat-display",
329
+ "icon": "clipboard-list",
330
+ "label": "Surveys",
331
+ "value": "6"
332
+ },
333
+ {
334
+ "type": "stat-display",
335
+ "label": "Categories",
336
+ "icon": "tag",
337
+ "value": "9"
481
338
  }
482
339
  ],
483
- "direction": "horizontal",
484
- "gap": "sm"
340
+ "cols": 4.0
485
341
  },
486
342
  {
487
343
  "type": "divider"
488
344
  },
489
345
  {
346
+ "entity": "@payload.data",
490
347
  "gap": "sm",
491
348
  "fields": [
492
349
  {
493
350
  "name": "label",
494
- "variant": "h4",
495
- "label": "Question"
351
+ "label": "Question",
352
+ "variant": "caption"
496
353
  },
497
354
  {
498
355
  "name": "kind",
@@ -500,14 +357,14 @@
500
357
  "variant": "badge"
501
358
  },
502
359
  {
360
+ "variant": "caption",
503
361
  "label": "Category",
504
- "name": "category",
505
- "variant": "caption"
362
+ "name": "category"
506
363
  },
507
364
  {
508
- "variant": "badge",
509
- "label": "Required",
510
- "name": "required"
365
+ "label": "Survey",
366
+ "name": "surveyId",
367
+ "variant": "caption"
511
368
  },
512
369
  {
513
370
  "name": "order",
@@ -517,23 +374,23 @@
517
374
  ],
518
375
  "itemActions": [
519
376
  {
520
- "label": "Edit",
521
- "variant": "ghost",
522
- "event": "UPDATE_QUESTION",
523
- "icon": "edit"
377
+ "label": "Open",
378
+ "icon": "arrow-right",
379
+ "event": "OPEN_QUESTION",
380
+ "variant": "primary"
524
381
  },
525
382
  {
526
- "variant": "danger",
527
- "icon": "trash",
528
383
  "label": "Delete",
529
- "event": "DELETE_QUESTION"
384
+ "event": "DELETE_QUESTION",
385
+ "variant": "danger"
530
386
  }
531
387
  ],
532
388
  "type": "data-grid",
533
- "entity": "@payload.data",
534
389
  "cols": 1.0
535
390
  }
536
- ]
391
+ ],
392
+ "direction": "vertical",
393
+ "gap": "md"
537
394
  }
538
395
  ]
539
396
  ]
@@ -548,40 +405,21 @@
548
405
  "main",
549
406
  {
550
407
  "type": "alert",
551
- "variant": "error",
552
- "message": "@payload.error"
553
- }
554
- ]
555
- ]
556
- },
557
- {
558
- "from": "browsing",
559
- "to": "editing",
560
- "event": "ADD_QUESTION",
561
- "effects": [
562
- [
563
- "persist",
564
- "create",
565
- "Question",
566
- "@payload.data",
567
- {
568
- "emit": {
569
- "success": "QuestionAdded",
570
- "failure": "QuestionLoadFailed"
571
- }
408
+ "message": "@payload.error",
409
+ "variant": "error"
572
410
  }
573
411
  ]
574
412
  ]
575
413
  },
576
414
  {
577
415
  "from": "browsing",
578
- "to": "editing",
579
- "event": "UPDATE_QUESTION",
416
+ "to": "viewing_single",
417
+ "event": "OPEN_QUESTION",
580
418
  "effects": [
581
419
  [
582
420
  "set",
583
421
  "@entity.id",
584
- "@payload.questionId"
422
+ "@payload.row.id"
585
423
  ],
586
424
  [
587
425
  "set",
@@ -619,56 +457,197 @@
619
457
  "@payload.row.order"
620
458
  ],
621
459
  [
622
- "persist",
623
- "update",
624
- "Question",
625
- "@entity",
460
+ "render-ui",
461
+ "main",
626
462
  {
627
- "emit": {
628
- "failure": "QuestionLoadFailed",
629
- "success": "QuestionUpdated"
630
- }
463
+ "direction": "vertical",
464
+ "children": [
465
+ {
466
+ "align": "center",
467
+ "direction": "horizontal",
468
+ "type": "stack",
469
+ "children": [
470
+ {
471
+ "label": "Back",
472
+ "variant": "ghost",
473
+ "type": "button",
474
+ "action": "CLOSE_VIEW"
475
+ },
476
+ {
477
+ "type": "icon",
478
+ "name": "list-checks"
479
+ },
480
+ {
481
+ "content": "@entity.label",
482
+ "type": "typography",
483
+ "variant": "h3"
484
+ },
485
+ {
486
+ "type": "badge",
487
+ "label": "@entity.kind",
488
+ "variant": "default"
489
+ }
490
+ ],
491
+ "gap": "sm"
492
+ },
493
+ {
494
+ "type": "divider"
495
+ },
496
+ {
497
+ "direction": "vertical",
498
+ "children": [
499
+ {
500
+ "children": [
501
+ {
502
+ "variant": "caption",
503
+ "content": "Category",
504
+ "type": "typography",
505
+ "color": "muted"
506
+ },
507
+ {
508
+ "variant": "body",
509
+ "content": "@entity.category",
510
+ "type": "typography"
511
+ }
512
+ ],
513
+ "gap": "md",
514
+ "type": "stack",
515
+ "direction": "horizontal"
516
+ },
517
+ {
518
+ "type": "stack",
519
+ "direction": "horizontal",
520
+ "children": [
521
+ {
522
+ "variant": "caption",
523
+ "color": "muted",
524
+ "type": "typography",
525
+ "content": "Survey"
526
+ },
527
+ {
528
+ "variant": "body",
529
+ "content": "@entity.surveyId",
530
+ "type": "typography"
531
+ }
532
+ ],
533
+ "gap": "md"
534
+ },
535
+ {
536
+ "children": [
537
+ {
538
+ "content": "Options",
539
+ "type": "typography",
540
+ "variant": "caption",
541
+ "color": "muted"
542
+ },
543
+ {
544
+ "variant": "body",
545
+ "type": "typography",
546
+ "content": "@entity.optionsJson"
547
+ }
548
+ ],
549
+ "type": "stack",
550
+ "direction": "horizontal",
551
+ "gap": "md"
552
+ }
553
+ ],
554
+ "gap": "sm",
555
+ "type": "stack"
556
+ },
557
+ {
558
+ "type": "divider"
559
+ },
560
+ {
561
+ "cols": 2.0,
562
+ "children": [
563
+ {
564
+ "type": "stat-display",
565
+ "label": "Kind",
566
+ "icon": "tag",
567
+ "value": "@entity.kind"
568
+ },
569
+ {
570
+ "label": "Order",
571
+ "icon": "hash",
572
+ "type": "stat-display",
573
+ "value": "@entity.order"
574
+ }
575
+ ],
576
+ "type": "simple-grid"
577
+ },
578
+ {
579
+ "children": [
580
+ {
581
+ "label": "Update",
582
+ "actionPayload": {
583
+ "id": "@entity.id"
584
+ },
585
+ "action": "UPDATE_QUESTION",
586
+ "type": "button",
587
+ "variant": "primary"
588
+ },
589
+ {
590
+ "actionPayload": {
591
+ "id": "@entity.id"
592
+ },
593
+ "type": "button",
594
+ "variant": "danger",
595
+ "label": "Delete",
596
+ "action": "DELETE_QUESTION"
597
+ }
598
+ ],
599
+ "gap": "sm",
600
+ "align": "center",
601
+ "type": "stack",
602
+ "direction": "horizontal"
603
+ }
604
+ ],
605
+ "type": "stack",
606
+ "gap": "md"
631
607
  }
632
608
  ]
633
609
  ]
634
610
  },
635
611
  {
636
612
  "from": "browsing",
637
- "to": "editing",
638
- "event": "DELETE_QUESTION",
613
+ "to": "loading",
614
+ "event": "UPDATE_QUESTION",
639
615
  "effects": [
640
616
  [
641
617
  "set",
642
618
  "@entity.id",
643
- "@payload.questionId"
619
+ "@payload.id"
644
620
  ],
645
621
  [
646
- "persist",
647
- "delete",
622
+ "fetch",
648
623
  "Question",
649
- "@entity.id",
650
624
  {
651
625
  "emit": {
652
- "success": "QuestionDeleted",
626
+ "success": "QuestionLoaded",
653
627
  "failure": "QuestionLoadFailed"
654
628
  }
655
629
  }
656
- ]
657
- ]
658
- },
659
- {
660
- "from": "browsing",
661
- "to": "loading",
662
- "event": "QuestionAdded",
663
- "effects": [
630
+ ],
664
631
  [
665
- "fetch",
666
- "Question",
632
+ "render-ui",
633
+ "main",
667
634
  {
668
- "emit": {
669
- "failure": "QuestionLoadFailed",
670
- "success": "QuestionLoaded"
671
- }
635
+ "align": "center",
636
+ "className": "py-12",
637
+ "children": [
638
+ {
639
+ "type": "spinner"
640
+ },
641
+ {
642
+ "content": "Updating question…",
643
+ "variant": "caption",
644
+ "color": "muted",
645
+ "type": "typography"
646
+ }
647
+ ],
648
+ "type": "stack",
649
+ "gap": "md",
650
+ "direction": "vertical"
672
651
  }
673
652
  ]
674
653
  ]
@@ -676,25 +655,13 @@
676
655
  {
677
656
  "from": "browsing",
678
657
  "to": "loading",
679
- "event": "QuestionUpdated",
658
+ "event": "DELETE_QUESTION",
680
659
  "effects": [
681
660
  [
682
- "fetch",
683
- "Question",
684
- {
685
- "emit": {
686
- "failure": "QuestionLoadFailed",
687
- "success": "QuestionLoaded"
688
- }
689
- }
690
- ]
691
- ]
692
- },
693
- {
694
- "from": "browsing",
695
- "to": "loading",
696
- "event": "QuestionDeleted",
697
- "effects": [
661
+ "set",
662
+ "@entity.id",
663
+ "@payload.id"
664
+ ],
698
665
  [
699
666
  "fetch",
700
667
  "Question",
@@ -704,29 +671,35 @@
704
671
  "failure": "QuestionLoadFailed"
705
672
  }
706
673
  }
707
- ]
708
- ]
709
- },
710
- {
711
- "from": "browsing",
712
- "to": "error",
713
- "event": "QuestionLoadFailed",
714
- "effects": [
674
+ ],
715
675
  [
716
676
  "render-ui",
717
677
  "main",
718
678
  {
719
- "message": "@payload.error",
720
- "type": "alert",
721
- "variant": "error"
679
+ "align": "center",
680
+ "className": "py-12",
681
+ "children": [
682
+ {
683
+ "type": "spinner"
684
+ },
685
+ {
686
+ "type": "typography",
687
+ "variant": "caption",
688
+ "content": "Deleting question…",
689
+ "color": "muted"
690
+ }
691
+ ],
692
+ "type": "stack",
693
+ "gap": "md",
694
+ "direction": "vertical"
722
695
  }
723
696
  ]
724
697
  ]
725
698
  },
726
699
  {
727
- "from": "editing",
700
+ "from": "viewing_single",
728
701
  "to": "loading",
729
- "event": "QuestionAdded",
702
+ "event": "CLOSE_VIEW",
730
703
  "effects": [
731
704
  [
732
705
  "fetch",
@@ -737,14 +710,41 @@
737
710
  "failure": "QuestionLoadFailed"
738
711
  }
739
712
  }
713
+ ],
714
+ [
715
+ "render-ui",
716
+ "main",
717
+ {
718
+ "type": "stack",
719
+ "className": "py-12",
720
+ "children": [
721
+ {
722
+ "type": "spinner"
723
+ },
724
+ {
725
+ "color": "muted",
726
+ "type": "typography",
727
+ "variant": "caption",
728
+ "content": "Loading questions…"
729
+ }
730
+ ],
731
+ "direction": "vertical",
732
+ "align": "center",
733
+ "gap": "md"
734
+ }
740
735
  ]
741
736
  ]
742
737
  },
743
738
  {
744
- "from": "editing",
739
+ "from": "viewing_single",
745
740
  "to": "loading",
746
- "event": "QuestionUpdated",
741
+ "event": "UPDATE_QUESTION",
747
742
  "effects": [
743
+ [
744
+ "set",
745
+ "@entity.id",
746
+ "@payload.id"
747
+ ],
748
748
  [
749
749
  "fetch",
750
750
  "Question",
@@ -754,38 +754,71 @@
754
754
  "failure": "QuestionLoadFailed"
755
755
  }
756
756
  }
757
+ ],
758
+ [
759
+ "render-ui",
760
+ "main",
761
+ {
762
+ "direction": "vertical",
763
+ "align": "center",
764
+ "children": [
765
+ {
766
+ "type": "spinner"
767
+ },
768
+ {
769
+ "content": "Updating question…",
770
+ "color": "muted",
771
+ "type": "typography",
772
+ "variant": "caption"
773
+ }
774
+ ],
775
+ "type": "stack",
776
+ "className": "py-12",
777
+ "gap": "md"
778
+ }
757
779
  ]
758
780
  ]
759
781
  },
760
782
  {
761
- "from": "editing",
783
+ "from": "viewing_single",
762
784
  "to": "loading",
763
- "event": "QuestionDeleted",
785
+ "event": "DELETE_QUESTION",
764
786
  "effects": [
787
+ [
788
+ "set",
789
+ "@entity.id",
790
+ "@payload.id"
791
+ ],
765
792
  [
766
793
  "fetch",
767
794
  "Question",
768
795
  {
769
796
  "emit": {
770
- "failure": "QuestionLoadFailed",
771
- "success": "QuestionLoaded"
797
+ "success": "QuestionLoaded",
798
+ "failure": "QuestionLoadFailed"
772
799
  }
773
800
  }
774
- ]
775
- ]
776
- },
777
- {
778
- "from": "editing",
779
- "to": "error",
780
- "event": "QuestionLoadFailed",
781
- "effects": [
801
+ ],
782
802
  [
783
803
  "render-ui",
784
804
  "main",
785
805
  {
786
- "type": "alert",
787
- "variant": "error",
788
- "message": "@payload.error"
806
+ "type": "stack",
807
+ "gap": "md",
808
+ "direction": "vertical",
809
+ "align": "center",
810
+ "className": "py-12",
811
+ "children": [
812
+ {
813
+ "type": "spinner"
814
+ },
815
+ {
816
+ "type": "typography",
817
+ "content": "Deleting question…",
818
+ "variant": "caption",
819
+ "color": "muted"
820
+ }
821
+ ]
789
822
  }
790
823
  ]
791
824
  ]
@@ -839,4 +872,4 @@
839
872
  ]
840
873
  }
841
874
  ]
842
- }
875
+ }