@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-form-builder",
3
3
  "version": "1.0.0",
4
- "description": "std-form-builder — survey form composer. One Survey entity holds metadata, a JSON-encoded question library, and JSON-encoded branching rules. Three traits coordinate authoring on a single page: SurveyManage (CRUD on the survey), SurveyQuestions (in-place editing of questionsJson), SurveyBranching (in-place editing of rulesJson).",
4
+ "description": "std-form-builder — survey form composer with list/detail browse + sidebar question and rules editors.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "FormBuilderOrbital",
@@ -54,20 +54,10 @@
54
54
  "linkedEntity": "Survey",
55
55
  "emits": [
56
56
  {
57
- "event": "CREATE",
58
- "payloadSchema": [
59
- {
60
- "name": "data",
61
- "type": "object",
62
- "required": true
63
- }
64
- ]
65
- },
66
- {
67
- "event": "UPDATE",
57
+ "event": "OPEN_SURVEY",
68
58
  "payloadSchema": [
69
59
  {
70
- "name": "surveyId",
60
+ "name": "id",
71
61
  "type": "string",
72
62
  "required": true
73
63
  },
@@ -100,6 +90,19 @@
100
90
  {
101
91
  "name": "row.createdAt",
102
92
  "type": "string"
93
+ }
94
+ ]
95
+ },
96
+ {
97
+ "event": "CLOSE_VIEW"
98
+ },
99
+ {
100
+ "event": "CREATE",
101
+ "payloadSchema": [
102
+ {
103
+ "name": "id",
104
+ "type": "string",
105
+ "required": true
103
106
  },
104
107
  {
105
108
  "name": "data",
@@ -111,6 +114,11 @@
111
114
  {
112
115
  "event": "PUBLISH",
113
116
  "payloadSchema": [
117
+ {
118
+ "name": "id",
119
+ "type": "string",
120
+ "required": true
121
+ },
114
122
  {
115
123
  "name": "surveyId",
116
124
  "type": "string",
@@ -279,7 +287,7 @@
279
287
  "name": "browsing"
280
288
  },
281
289
  {
282
- "name": "editing"
290
+ "name": "viewing_single"
283
291
  },
284
292
  {
285
293
  "name": "error"
@@ -315,29 +323,29 @@
315
323
  ]
316
324
  },
317
325
  {
318
- "key": "CREATE",
319
- "name": "Create",
326
+ "key": "OPEN_SURVEY",
327
+ "name": "Open Survey",
320
328
  "payloadSchema": [
321
329
  {
322
- "name": "data",
323
- "type": "object",
330
+ "name": "id",
331
+ "type": "string",
324
332
  "required": true
333
+ },
334
+ {
335
+ "name": "row",
336
+ "type": "Survey"
325
337
  }
326
338
  ]
327
339
  },
328
340
  {
329
- "key": "UPDATE",
330
- "name": "Update",
341
+ "key": "CREATE",
342
+ "name": "Create",
331
343
  "payloadSchema": [
332
344
  {
333
- "name": "surveyId",
345
+ "name": "id",
334
346
  "type": "string",
335
347
  "required": true
336
348
  },
337
- {
338
- "name": "row",
339
- "type": "Survey"
340
- },
341
349
  {
342
350
  "name": "data",
343
351
  "type": "object",
@@ -349,6 +357,11 @@
349
357
  "key": "PUBLISH",
350
358
  "name": "Publish",
351
359
  "payloadSchema": [
360
+ {
361
+ "name": "id",
362
+ "type": "string",
363
+ "required": true
364
+ },
352
365
  {
353
366
  "name": "surveyId",
354
367
  "type": "string",
@@ -390,6 +403,10 @@
390
403
  "required": true
391
404
  }
392
405
  ]
406
+ },
407
+ {
408
+ "key": "CLOSE_VIEW",
409
+ "name": "Close View"
393
410
  }
394
411
  ],
395
412
  "transitions": [
@@ -403,8 +420,8 @@
403
420
  "Survey",
404
421
  {
405
422
  "emit": {
406
- "failure": "SurveyLoadFailed",
407
- "success": "SurveyLoaded"
423
+ "success": "SurveyLoaded",
424
+ "failure": "SurveyLoadFailed"
408
425
  }
409
426
  }
410
427
  ],
@@ -412,22 +429,22 @@
412
429
  "render-ui",
413
430
  "main",
414
431
  {
432
+ "direction": "vertical",
433
+ "className": "py-12",
434
+ "type": "stack",
415
435
  "children": [
416
436
  {
417
437
  "type": "spinner"
418
438
  },
419
439
  {
420
- "color": "muted",
440
+ "variant": "caption",
421
441
  "type": "typography",
422
442
  "content": "Loading surveys…",
423
- "variant": "caption"
443
+ "color": "muted"
424
444
  }
425
445
  ],
426
- "direction": "vertical",
427
446
  "gap": "md",
428
- "align": "center",
429
- "className": "py-12",
430
- "type": "stack"
447
+ "align": "center"
431
448
  }
432
449
  ]
433
450
  ]
@@ -444,68 +461,81 @@
444
461
  "type": "stack",
445
462
  "children": [
446
463
  {
464
+ "gap": "sm",
465
+ "align": "center",
466
+ "children": [
467
+ {
468
+ "type": "icon",
469
+ "name": "clipboard-list"
470
+ },
471
+ {
472
+ "type": "typography",
473
+ "variant": "h3",
474
+ "content": "@config.title"
475
+ }
476
+ ],
447
477
  "type": "stack",
448
- "justify": "between",
449
- "direction": "horizontal",
478
+ "direction": "horizontal"
479
+ },
480
+ {
450
481
  "children": [
451
482
  {
452
- "children": [
453
- {
454
- "name": "clipboard-list",
455
- "type": "icon"
456
- },
457
- {
458
- "type": "typography",
459
- "content": "@config.title",
460
- "variant": "h2"
461
- }
462
- ],
463
- "type": "stack",
464
- "direction": "horizontal",
465
- "gap": "sm"
483
+ "value": "@payload.data.length",
484
+ "label": "Total surveys",
485
+ "type": "stat-display",
486
+ "icon": "clipboard-list"
466
487
  },
467
488
  {
468
- "icon": "plus",
469
- "label": "New survey",
470
- "type": "button",
471
- "action": "CREATE",
472
- "variant": "primary"
489
+ "type": "stat-display",
490
+ "value": "5",
491
+ "icon": "edit",
492
+ "label": "Drafts"
493
+ },
494
+ {
495
+ "label": "Published",
496
+ "type": "stat-display",
497
+ "value": "12",
498
+ "icon": "send"
499
+ },
500
+ {
501
+ "type": "stat-display",
502
+ "icon": "users",
503
+ "value": "284",
504
+ "label": "Responses today"
473
505
  }
474
506
  ],
475
- "gap": "sm"
507
+ "cols": 4.0,
508
+ "type": "simple-grid"
476
509
  },
477
510
  {
478
511
  "type": "divider"
479
512
  },
480
513
  {
481
- "entity": "@payload.data",
482
- "gap": "sm",
514
+ "type": "data-grid",
483
515
  "itemActions": [
484
516
  {
485
- "icon": "edit",
486
- "label": "Edit",
487
- "variant": "ghost",
488
- "event": "UPDATE"
517
+ "variant": "primary",
518
+ "label": "Open",
519
+ "event": "OPEN_SURVEY",
520
+ "icon": "arrow-right"
489
521
  },
490
522
  {
491
- "variant": "primary",
492
523
  "label": "Publish",
524
+ "event": "PUBLISH",
493
525
  "icon": "send",
494
- "event": "PUBLISH"
526
+ "variant": "secondary"
495
527
  }
496
528
  ],
497
- "cols": 1.0,
498
- "type": "data-grid",
499
529
  "fields": [
500
530
  {
531
+ "variant": "caption",
501
532
  "name": "title",
502
- "label": "Title",
503
- "variant": "h4"
533
+ "label": "Title"
504
534
  },
505
535
  {
536
+ "name": "description",
506
537
  "variant": "caption",
507
- "label": "Description",
508
- "name": "description"
538
+ "label": "Description"
509
539
  },
510
540
  {
511
541
  "variant": "badge",
@@ -517,11 +547,14 @@
517
547
  "label": "Created",
518
548
  "variant": "caption"
519
549
  }
520
- ]
550
+ ],
551
+ "entity": "@payload.data",
552
+ "cols": 1.0,
553
+ "gap": "sm"
521
554
  }
522
555
  ],
523
556
  "direction": "vertical",
524
- "gap": "lg"
557
+ "gap": "md"
525
558
  }
526
559
  ]
527
560
  ]
@@ -535,8 +568,8 @@
535
568
  "render-ui",
536
569
  "main",
537
570
  {
538
- "variant": "error",
539
571
  "message": "@payload.error",
572
+ "variant": "error",
540
573
  "type": "alert"
541
574
  }
542
575
  ]
@@ -544,32 +577,13 @@
544
577
  },
545
578
  {
546
579
  "from": "browsing",
547
- "to": "editing",
548
- "event": "CREATE",
549
- "effects": [
550
- [
551
- "persist",
552
- "create",
553
- "Survey",
554
- "@payload.data",
555
- {
556
- "emit": {
557
- "failure": "SurveyLoadFailed",
558
- "success": "SurveyCreated"
559
- }
560
- }
561
- ]
562
- ]
563
- },
564
- {
565
- "from": "browsing",
566
- "to": "editing",
567
- "event": "UPDATE",
580
+ "to": "viewing_single",
581
+ "event": "OPEN_SURVEY",
568
582
  "effects": [
569
583
  [
570
584
  "set",
571
585
  "@entity.id",
572
- "@payload.surveyId"
586
+ "@payload.row.id"
573
587
  ],
574
588
  [
575
589
  "set",
@@ -601,23 +615,187 @@
601
615
  "@entity.createdAt",
602
616
  "@payload.row.createdAt"
603
617
  ],
618
+ [
619
+ "render-ui",
620
+ "main",
621
+ {
622
+ "type": "stack",
623
+ "gap": "md",
624
+ "direction": "vertical",
625
+ "children": [
626
+ {
627
+ "children": [
628
+ {
629
+ "action": "CLOSE_VIEW",
630
+ "type": "button",
631
+ "variant": "ghost",
632
+ "label": "Back"
633
+ },
634
+ {
635
+ "type": "icon",
636
+ "name": "clipboard-list"
637
+ },
638
+ {
639
+ "variant": "h3",
640
+ "type": "typography",
641
+ "content": "@entity.title"
642
+ },
643
+ {
644
+ "type": "badge",
645
+ "variant": "default",
646
+ "label": "@entity.status"
647
+ }
648
+ ],
649
+ "type": "stack",
650
+ "direction": "horizontal",
651
+ "gap": "sm",
652
+ "align": "center"
653
+ },
654
+ {
655
+ "type": "divider"
656
+ },
657
+ {
658
+ "direction": "vertical",
659
+ "type": "stack",
660
+ "gap": "sm",
661
+ "children": [
662
+ {
663
+ "gap": "md",
664
+ "direction": "horizontal",
665
+ "children": [
666
+ {
667
+ "variant": "caption",
668
+ "content": "Description",
669
+ "color": "muted",
670
+ "type": "typography"
671
+ },
672
+ {
673
+ "variant": "body",
674
+ "type": "typography",
675
+ "content": "@entity.description"
676
+ }
677
+ ],
678
+ "type": "stack"
679
+ },
680
+ {
681
+ "direction": "horizontal",
682
+ "type": "stack",
683
+ "gap": "md",
684
+ "children": [
685
+ {
686
+ "variant": "caption",
687
+ "color": "muted",
688
+ "content": "Survey ID",
689
+ "type": "typography"
690
+ },
691
+ {
692
+ "type": "typography",
693
+ "variant": "body",
694
+ "content": "@entity.id"
695
+ }
696
+ ]
697
+ }
698
+ ]
699
+ },
700
+ {
701
+ "type": "divider"
702
+ },
703
+ {
704
+ "type": "simple-grid",
705
+ "cols": 2.0,
706
+ "children": [
707
+ {
708
+ "type": "stat-display",
709
+ "label": "Created",
710
+ "value": "@entity.createdAt",
711
+ "icon": "calendar"
712
+ },
713
+ {
714
+ "label": "Status",
715
+ "type": "stat-display",
716
+ "icon": "activity",
717
+ "value": "@entity.status"
718
+ }
719
+ ]
720
+ },
721
+ {
722
+ "direction": "horizontal",
723
+ "children": [
724
+ {
725
+ "type": "button",
726
+ "label": "Publish",
727
+ "actionPayload": {
728
+ "id": "@entity.id",
729
+ "surveyId": "@entity.id",
730
+ "row": "@entity"
731
+ },
732
+ "variant": "primary",
733
+ "action": "PUBLISH"
734
+ },
735
+ {
736
+ "label": "New Survey",
737
+ "action": "CREATE",
738
+ "variant": "secondary",
739
+ "type": "button",
740
+ "actionPayload": {
741
+ "id": "@entity.id",
742
+ "data": "@entity"
743
+ }
744
+ }
745
+ ],
746
+ "type": "stack",
747
+ "align": "center",
748
+ "gap": "sm"
749
+ }
750
+ ]
751
+ }
752
+ ]
753
+ ]
754
+ },
755
+ {
756
+ "from": "browsing",
757
+ "to": "loading",
758
+ "event": "CREATE",
759
+ "effects": [
604
760
  [
605
761
  "persist",
606
- "update",
762
+ "create",
607
763
  "Survey",
608
- "@entity",
764
+ "@payload.data",
609
765
  {
610
766
  "emit": {
611
- "success": "SurveyUpdated",
612
- "failure": "SurveyLoadFailed"
767
+ "failure": "SurveyLoadFailed",
768
+ "success": "SurveyCreated"
613
769
  }
614
770
  }
771
+ ],
772
+ [
773
+ "render-ui",
774
+ "main",
775
+ {
776
+ "type": "stack",
777
+ "gap": "md",
778
+ "direction": "vertical",
779
+ "align": "center",
780
+ "className": "py-12",
781
+ "children": [
782
+ {
783
+ "type": "spinner"
784
+ },
785
+ {
786
+ "variant": "caption",
787
+ "content": "Creating survey…",
788
+ "type": "typography",
789
+ "color": "muted"
790
+ }
791
+ ]
792
+ }
615
793
  ]
616
794
  ]
617
795
  },
618
796
  {
619
797
  "from": "browsing",
620
- "to": "editing",
798
+ "to": "loading",
621
799
  "event": "PUBLISH",
622
800
  "effects": [
623
801
  [
@@ -641,6 +819,28 @@
641
819
  "failure": "SurveyLoadFailed"
642
820
  }
643
821
  }
822
+ ],
823
+ [
824
+ "render-ui",
825
+ "main",
826
+ {
827
+ "direction": "vertical",
828
+ "type": "stack",
829
+ "children": [
830
+ {
831
+ "type": "spinner"
832
+ },
833
+ {
834
+ "content": "Publishing survey…",
835
+ "type": "typography",
836
+ "color": "muted",
837
+ "variant": "caption"
838
+ }
839
+ ],
840
+ "align": "center",
841
+ "className": "py-12",
842
+ "gap": "md"
843
+ }
644
844
  ]
645
845
  ]
646
846
  },
@@ -671,8 +871,8 @@
671
871
  "Survey",
672
872
  {
673
873
  "emit": {
674
- "success": "SurveyLoaded",
675
- "failure": "SurveyLoadFailed"
874
+ "failure": "SurveyLoadFailed",
875
+ "success": "SurveyLoaded"
676
876
  }
677
877
  }
678
878
  ]
@@ -704,76 +904,140 @@
704
904
  "render-ui",
705
905
  "main",
706
906
  {
707
- "variant": "error",
708
907
  "message": "@payload.error",
709
- "type": "alert"
908
+ "type": "alert",
909
+ "variant": "error"
710
910
  }
711
911
  ]
712
912
  ]
713
913
  },
714
914
  {
715
- "from": "editing",
915
+ "from": "viewing_single",
716
916
  "to": "loading",
717
- "event": "SurveyCreated",
917
+ "event": "CLOSE_VIEW",
718
918
  "effects": [
719
919
  [
720
920
  "fetch",
721
921
  "Survey",
722
922
  {
723
923
  "emit": {
724
- "success": "SurveyLoaded",
725
- "failure": "SurveyLoadFailed"
924
+ "failure": "SurveyLoadFailed",
925
+ "success": "SurveyLoaded"
726
926
  }
727
927
  }
928
+ ],
929
+ [
930
+ "render-ui",
931
+ "main",
932
+ {
933
+ "gap": "md",
934
+ "type": "stack",
935
+ "direction": "vertical",
936
+ "className": "py-12",
937
+ "children": [
938
+ {
939
+ "type": "spinner"
940
+ },
941
+ {
942
+ "color": "muted",
943
+ "content": "Loading surveys…",
944
+ "variant": "caption",
945
+ "type": "typography"
946
+ }
947
+ ],
948
+ "align": "center"
949
+ }
728
950
  ]
729
951
  ]
730
952
  },
731
953
  {
732
- "from": "editing",
954
+ "from": "viewing_single",
733
955
  "to": "loading",
734
- "event": "SurveyUpdated",
956
+ "event": "PUBLISH",
735
957
  "effects": [
736
958
  [
737
- "fetch",
959
+ "set",
960
+ "@entity.id",
961
+ "@payload.id"
962
+ ],
963
+ [
964
+ "set",
965
+ "@entity.status",
966
+ "published"
967
+ ],
968
+ [
969
+ "persist",
970
+ "update",
738
971
  "Survey",
972
+ "@entity",
739
973
  {
740
974
  "emit": {
741
- "failure": "SurveyLoadFailed",
742
- "success": "SurveyLoaded"
975
+ "success": "SurveyPublished",
976
+ "failure": "SurveyLoadFailed"
743
977
  }
744
978
  }
979
+ ],
980
+ [
981
+ "render-ui",
982
+ "main",
983
+ {
984
+ "align": "center",
985
+ "className": "py-12",
986
+ "children": [
987
+ {
988
+ "type": "spinner"
989
+ },
990
+ {
991
+ "color": "muted",
992
+ "content": "Publishing survey…",
993
+ "type": "typography",
994
+ "variant": "caption"
995
+ }
996
+ ],
997
+ "gap": "md",
998
+ "type": "stack",
999
+ "direction": "vertical"
1000
+ }
745
1001
  ]
746
1002
  ]
747
1003
  },
748
1004
  {
749
- "from": "editing",
1005
+ "from": "viewing_single",
750
1006
  "to": "loading",
751
- "event": "SurveyPublished",
1007
+ "event": "CREATE",
752
1008
  "effects": [
753
1009
  [
754
- "fetch",
1010
+ "persist",
1011
+ "create",
755
1012
  "Survey",
1013
+ "@payload.data",
756
1014
  {
757
1015
  "emit": {
758
- "success": "SurveyLoaded",
1016
+ "success": "SurveyCreated",
759
1017
  "failure": "SurveyLoadFailed"
760
1018
  }
761
1019
  }
762
- ]
763
- ]
764
- },
765
- {
766
- "from": "editing",
767
- "to": "error",
768
- "event": "SurveyLoadFailed",
769
- "effects": [
1020
+ ],
770
1021
  [
771
1022
  "render-ui",
772
1023
  "main",
773
1024
  {
774
- "variant": "error",
775
- "message": "@payload.error",
776
- "type": "alert"
1025
+ "className": "py-12",
1026
+ "gap": "md",
1027
+ "direction": "vertical",
1028
+ "type": "stack",
1029
+ "align": "center",
1030
+ "children": [
1031
+ {
1032
+ "type": "spinner"
1033
+ },
1034
+ {
1035
+ "type": "typography",
1036
+ "content": "Creating survey…",
1037
+ "variant": "caption",
1038
+ "color": "muted"
1039
+ }
1040
+ ]
777
1041
  }
778
1042
  ]
779
1043
  ]
@@ -797,8 +1061,8 @@
797
1061
  "render-ui",
798
1062
  "main",
799
1063
  {
800
- "size": "sm",
801
- "type": "spinner"
1064
+ "type": "spinner",
1065
+ "size": "sm"
802
1066
  }
803
1067
  ]
804
1068
  ]
@@ -948,41 +1212,42 @@
948
1212
  "render-ui",
949
1213
  "sidebar",
950
1214
  {
951
- "gap": "md",
952
1215
  "direction": "vertical",
953
1216
  "type": "stack",
1217
+ "gap": "md",
954
1218
  "children": [
955
1219
  {
1220
+ "align": "center",
1221
+ "gap": "sm",
1222
+ "direction": "horizontal",
956
1223
  "type": "stack",
957
1224
  "children": [
958
1225
  {
959
- "type": "icon",
960
- "name": "list-checks"
1226
+ "name": "list-checks",
1227
+ "type": "icon"
961
1228
  },
962
1229
  {
1230
+ "variant": "h3",
963
1231
  "content": "@config.title",
964
- "type": "typography",
965
- "variant": "h3"
1232
+ "type": "typography"
966
1233
  }
967
- ],
968
- "direction": "horizontal",
969
- "gap": "sm"
1234
+ ]
970
1235
  },
971
1236
  {
972
1237
  "type": "divider"
973
1238
  },
974
1239
  {
1240
+ "placeholder": "Questions JSON",
975
1241
  "type": "input",
976
1242
  "value": "@entity.questionsJson",
977
- "placeholder": "Questions JSON",
978
1243
  "action": "EDIT_QUESTIONS_JSON"
979
1244
  },
980
1245
  {
981
1246
  "type": "button",
982
1247
  "label": "Save questions",
983
- "variant": "primary",
984
1248
  "action": "SAVE_QUESTIONS",
985
- "icon": "save"
1249
+ "icon": "save",
1250
+ "variant": "primary"
986
1251
  }
987
1252
  ]
988
1253
  }
@@ -1039,9 +1304,9 @@
1039
1304
  "render-ui",
1040
1305
  "sidebar",
1041
1306
  {
1307
+ "variant": "error",
1042
1308
  "type": "alert",
1043
- "message": "@payload.error",
1044
- "variant": "error"
1309
+ "message": "@payload.error"
1045
1310
  }
1046
1311
  ]
1047
1312
  ]
@@ -1191,48 +1456,44 @@
1191
1456
  "render-ui",
1192
1457
  "sidebar",
1193
1458
  {
1194
- "type": "stack",
1459
+ "direction": "vertical",
1195
1460
  "children": [
1196
1461
  {
1462
+ "type": "stack",
1197
1463
  "direction": "horizontal",
1464
+ "gap": "sm",
1465
+ "align": "center",
1198
1466
  "children": [
1199
1467
  {
1200
- "type": "icon",
1201
- "name": "git-branch"
1468
+ "name": "git-branch",
1469
+ "type": "icon"
1202
1470
  },
1203
1471
  {
1204
1472
  "type": "typography",
1205
1473
  "content": "@config.title",
1206
1474
  "variant": "h3"
1207
1475
  }
1208
- ],
1209
- "type": "stack",
1210
- "gap": "sm"
1476
+ ]
1211
1477
  },
1212
1478
  {
1213
1479
  "type": "divider"
1214
1480
  },
1215
- {
1216
- "rules": [],
1217
- "type": "branching-logic-builder",
1218
- "questions": []
1219
- },
1220
1481
  {
1221
1482
  "type": "input",
1222
- "action": "EDIT_RULES_JSON",
1223
1483
  "value": "@entity.rulesJson",
1484
+ "action": "EDIT_RULES_JSON",
1224
1485
  "placeholder": "Rules JSON"
1225
1486
  },
1226
1487
  {
1227
- "icon": "save",
1228
1488
  "type": "button",
1229
- "action": "SAVE_RULES",
1489
+ "variant": "primary",
1490
+ "icon": "save",
1230
1491
  "label": "Save rules",
1231
- "variant": "primary"
1492
+ "action": "SAVE_RULES"
1232
1493
  }
1233
1494
  ],
1234
1495
  "gap": "md",
1235
- "direction": "vertical"
1496
+ "type": "stack"
1236
1497
  }
1237
1498
  ]
1238
1499
  ]
@@ -1287,9 +1548,9 @@
1287
1548
  "render-ui",
1288
1549
  "sidebar",
1289
1550
  {
1290
- "type": "alert",
1291
1551
  "variant": "error",
1292
- "message": "@payload.error"
1552
+ "message": "@payload.error",
1553
+ "type": "alert"
1293
1554
  }
1294
1555
  ]
1295
1556
  ]
@@ -1324,4 +1585,4 @@
1324
1585
  ]
1325
1586
  }
1326
1587
  ]
1327
- }
1588
+ }