@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
@@ -91,7 +91,7 @@
91
91
  "linkedEntity": "NpsSurvey",
92
92
  "emits": [
93
93
  {
94
- "event": "VIEW",
94
+ "event": "OPEN_SURVEY",
95
95
  "payloadSchema": [
96
96
  {
97
97
  "name": "id",
@@ -99,48 +99,57 @@
99
99
  "required": true
100
100
  },
101
101
  {
102
- "name": "source",
103
- "type": "string"
104
- }
105
- ]
106
- },
107
- {
108
- "event": "EDIT",
109
- "payloadSchema": [
102
+ "name": "row.id",
103
+ "type": "string",
104
+ "required": true
105
+ },
110
106
  {
111
- "name": "id",
107
+ "name": "row.customerId",
112
108
  "type": "string",
113
109
  "required": true
114
110
  },
115
111
  {
116
- "name": "source",
112
+ "name": "row.customerName",
117
113
  "type": "string"
118
- }
119
- ]
120
- },
121
- {
122
- "event": "CREATE",
123
- "payloadSchema": [
114
+ },
115
+ {
116
+ "name": "row.score",
117
+ "type": "number"
118
+ },
124
119
  {
125
- "name": "source",
120
+ "name": "row.category",
126
121
  "type": "string"
127
- }
128
- ]
129
- },
130
- {
131
- "event": "REQUEST_DELETE",
132
- "payloadSchema": [
122
+ },
133
123
  {
134
- "name": "id",
124
+ "name": "row.comment",
125
+ "type": "string"
126
+ },
127
+ {
128
+ "name": "row.surveyedAt",
135
129
  "type": "string",
136
130
  "required": true
137
131
  },
138
132
  {
139
- "name": "source",
133
+ "name": "row.channel",
134
+ "type": "string"
135
+ },
136
+ {
137
+ "name": "row.status",
138
+ "type": "string"
139
+ },
140
+ {
141
+ "name": "row.followedUp",
142
+ "type": "boolean"
143
+ },
144
+ {
145
+ "name": "row.pendingId",
140
146
  "type": "string"
141
147
  }
142
148
  ]
143
149
  },
150
+ {
151
+ "event": "CLOSE_VIEW"
152
+ },
144
153
  {
145
154
  "event": "MARK_FOLLOWED_UP",
146
155
  "payloadSchema": [
@@ -148,10 +157,6 @@
148
157
  "name": "id",
149
158
  "type": "string",
150
159
  "required": true
151
- },
152
- {
153
- "name": "source",
154
- "type": "string"
155
160
  }
156
161
  ]
157
162
  },
@@ -189,7 +194,10 @@
189
194
  "isInitial": true
190
195
  },
191
196
  {
192
- "name": "viewing"
197
+ "name": "browsing"
198
+ },
199
+ {
200
+ "name": "viewing_single"
193
201
  },
194
202
  {
195
203
  "name": "error"
@@ -229,74 +237,17 @@
229
237
  ]
230
238
  },
231
239
  {
232
- "key": "REFRESH",
233
- "name": "Refresh",
234
- "payloadSchema": [
235
- {
236
- "name": "source",
237
- "type": "string"
238
- }
239
- ]
240
- },
241
- {
242
- "key": "SEARCH",
243
- "name": "Search",
244
- "payloadSchema": [
245
- {
246
- "name": "query",
247
- "type": "string"
248
- }
249
- ]
250
- },
251
- {
252
- "key": "FILTER_CATEGORY",
253
- "name": "Filter Category",
254
- "payloadSchema": [
255
- {
256
- "name": "category",
257
- "type": "string"
258
- }
259
- ]
260
- },
261
- {
262
- "key": "FILTER_STATUS",
263
- "name": "Filter Status",
264
- "payloadSchema": [
265
- {
266
- "name": "status",
267
- "type": "string"
268
- }
269
- ]
270
- },
271
- {
272
- "key": "CREATE",
273
- "name": "Create",
274
- "payloadSchema": [
275
- {
276
- "name": "source",
277
- "type": "string"
278
- }
279
- ]
280
- },
281
- {
282
- "key": "VIEW",
283
- "name": "View",
240
+ "key": "OPEN_SURVEY",
241
+ "name": "Open Survey",
284
242
  "payloadSchema": [
285
243
  {
286
244
  "name": "id",
287
245
  "type": "string",
288
246
  "required": true
289
- }
290
- ]
291
- },
292
- {
293
- "key": "EDIT",
294
- "name": "Edit",
295
- "payloadSchema": [
247
+ },
296
248
  {
297
- "name": "id",
298
- "type": "string",
299
- "required": true
249
+ "name": "row",
250
+ "type": "NpsSurvey"
300
251
  }
301
252
  ]
302
253
  },
@@ -312,15 +263,8 @@
312
263
  ]
313
264
  },
314
265
  {
315
- "key": "REQUEST_DELETE",
316
- "name": "Request Delete",
317
- "payloadSchema": [
318
- {
319
- "name": "id",
320
- "type": "string",
321
- "required": true
322
- }
323
- ]
266
+ "key": "CLOSE_VIEW",
267
+ "name": "Close View"
324
268
  }
325
269
  ],
326
270
  "transitions": [
@@ -334,8 +278,8 @@
334
278
  "NpsSurvey",
335
279
  {
336
280
  "emit": {
337
- "failure": "NpsSurveyLoadFailed",
338
- "success": "NpsSurveyLoaded"
281
+ "success": "NpsSurveyLoaded",
282
+ "failure": "NpsSurveyLoadFailed"
339
283
  }
340
284
  }
341
285
  ],
@@ -343,10 +287,8 @@
343
287
  "render-ui",
344
288
  "main",
345
289
  {
346
- "direction": "vertical",
347
290
  "className": "py-12",
348
- "type": "stack",
349
- "gap": "md",
291
+ "direction": "vertical",
350
292
  "align": "center",
351
293
  "children": [
352
294
  {
@@ -355,92 +297,112 @@
355
297
  {
356
298
  "type": "typography",
357
299
  "color": "muted",
358
- "content": "Loading NPS surveys…",
359
- "variant": "caption"
300
+ "variant": "caption",
301
+ "content": "Loading NPS surveys…"
360
302
  }
361
- ]
303
+ ],
304
+ "type": "stack",
305
+ "gap": "md"
362
306
  }
363
307
  ]
364
308
  ]
365
309
  },
366
310
  {
367
311
  "from": "loading",
368
- "to": "viewing",
312
+ "to": "browsing",
369
313
  "event": "NpsSurveyLoaded",
370
314
  "effects": [
371
315
  [
372
316
  "render-ui",
373
317
  "main",
374
318
  {
319
+ "type": "stack",
375
320
  "direction": "vertical",
321
+ "gap": "md",
376
322
  "children": [
377
323
  {
324
+ "type": "stack",
325
+ "align": "center",
378
326
  "children": [
379
327
  {
380
328
  "name": "message-square",
381
329
  "type": "icon"
382
330
  },
383
331
  {
384
- "content": "@config.title",
332
+ "type": "typography",
385
333
  "variant": "h3",
386
- "type": "typography"
387
- },
388
- {
389
- "label": "Send Survey",
390
- "action": "CREATE",
391
- "variant": "primary",
392
- "type": "button"
334
+ "content": "@config.title"
393
335
  }
394
336
  ],
395
- "type": "stack",
396
- "align": "center",
397
- "gap": "sm",
398
- "direction": "horizontal"
337
+ "direction": "horizontal",
338
+ "gap": "sm"
399
339
  },
400
340
  {
401
- "type": "stack",
402
- "gap": "md",
403
- "direction": "horizontal",
404
- "align": "center",
405
341
  "children": [
406
342
  {
407
- "type": "avatar",
408
- "src": "https://i.pravatar.cc/64?u=nps-top-promoter",
409
- "status": "online",
410
- "name": "Top promoter",
411
- "size": "md"
343
+ "label": "Total surveys",
344
+ "type": "stat-display",
345
+ "value": "@payload.data.length",
346
+ "icon": "message-square"
412
347
  },
413
348
  {
414
- "value": 4.0,
415
- "max": 5.0,
416
- "readOnly": true,
417
- "precision": "half",
418
- "type": "star-rating",
419
- "size": "md",
420
- "label": "Latest NPS sample"
349
+ "label": "Promoters",
350
+ "type": "stat-display",
351
+ "icon": "thumbs-up",
352
+ "value": "412"
353
+ },
354
+ {
355
+ "label": "Detractors",
356
+ "value": "84",
357
+ "icon": "thumbs-down",
358
+ "type": "stat-display"
359
+ },
360
+ {
361
+ "value": "47",
362
+ "icon": "trending-up",
363
+ "type": "stat-display",
364
+ "label": "Avg NPS"
421
365
  }
422
- ]
366
+ ],
367
+ "cols": 4.0,
368
+ "type": "simple-grid"
423
369
  },
424
370
  {
425
371
  "type": "divider"
426
372
  },
427
373
  {
374
+ "entity": "@payload.data",
375
+ "itemActions": [
376
+ {
377
+ "label": "Open",
378
+ "event": "OPEN_SURVEY",
379
+ "variant": "primary",
380
+ "icon": "arrow-right"
381
+ },
382
+ {
383
+ "variant": "danger",
384
+ "event": "MARK_FOLLOWED_UP",
385
+ "label": "Mark Followed Up"
386
+ }
387
+ ],
388
+ "cols": 1.0,
389
+ "type": "data-grid",
428
390
  "gap": "sm",
429
391
  "fields": [
430
392
  {
431
- "label": "Customer",
432
393
  "name": "customerName",
394
+ "label": "Customer",
433
395
  "variant": "caption"
434
396
  },
435
397
  {
436
- "label": "Score",
437
398
  "variant": "caption",
438
- "name": "score"
399
+ "name": "score",
400
+ "label": "Score"
439
401
  },
440
402
  {
441
- "label": "Category",
442
403
  "variant": "badge",
443
- "name": "category"
404
+ "name": "category",
405
+ "label": "Category"
444
406
  },
445
407
  {
446
408
  "variant": "caption",
@@ -448,50 +410,18 @@
448
410
  "label": "Surveyed"
449
411
  },
450
412
  {
451
- "label": "Channel",
452
413
  "name": "channel",
414
+ "label": "Channel",
453
415
  "variant": "caption"
454
416
  },
455
417
  {
456
418
  "name": "status",
457
- "variant": "badge",
458
- "label": "Status"
459
- },
460
- {
461
- "label": "Followed Up",
462
- "variant": "caption",
463
- "name": "followedUp"
464
- }
465
- ],
466
- "type": "data-grid",
467
- "itemActions": [
468
- {
469
- "event": "VIEW",
470
- "variant": "secondary",
471
- "label": "View"
472
- },
473
- {
474
- "variant": "secondary",
475
- "label": "Edit",
476
- "event": "EDIT"
477
- },
478
- {
479
- "event": "MARK_FOLLOWED_UP",
480
- "variant": "primary",
481
- "label": "Mark Followed Up"
482
- },
483
- {
484
- "event": "REQUEST_DELETE",
485
- "label": "Delete",
486
- "variant": "danger"
419
+ "label": "Status",
420
+ "variant": "badge"
487
421
  }
488
- ],
489
- "cols": 1.0,
490
- "entity": "@payload.data"
422
+ ]
491
423
  }
492
- ],
493
- "gap": "md",
494
- "type": "stack"
424
+ ]
495
425
  }
496
426
  ]
497
427
  ]
@@ -505,57 +435,214 @@
505
435
  "render-ui",
506
436
  "main",
507
437
  {
438
+ "type": "alert",
508
439
  "variant": "error",
509
- "message": "@payload.error",
510
- "type": "alert"
440
+ "message": "@payload.error"
511
441
  }
512
442
  ]
513
443
  ]
514
444
  },
515
445
  {
516
- "from": "viewing",
517
- "to": "loading",
518
- "event": "REFRESH",
446
+ "from": "browsing",
447
+ "to": "viewing_single",
448
+ "event": "OPEN_SURVEY",
519
449
  "effects": [
520
450
  [
521
- "fetch",
522
- "NpsSurvey",
523
- {
524
- "emit": {
525
- "success": "NpsSurveyLoaded",
526
- "failure": "NpsSurveyLoadFailed"
527
- }
528
- }
451
+ "set",
452
+ "@entity.id",
453
+ "@payload.row.id"
454
+ ],
455
+ [
456
+ "set",
457
+ "@entity.customerId",
458
+ "@payload.row.customerId"
459
+ ],
460
+ [
461
+ "set",
462
+ "@entity.customerName",
463
+ "@payload.row.customerName"
464
+ ],
465
+ [
466
+ "set",
467
+ "@entity.score",
468
+ "@payload.row.score"
469
+ ],
470
+ [
471
+ "set",
472
+ "@entity.category",
473
+ "@payload.row.category"
474
+ ],
475
+ [
476
+ "set",
477
+ "@entity.comment",
478
+ "@payload.row.comment"
479
+ ],
480
+ [
481
+ "set",
482
+ "@entity.surveyedAt",
483
+ "@payload.row.surveyedAt"
484
+ ],
485
+ [
486
+ "set",
487
+ "@entity.channel",
488
+ "@payload.row.channel"
489
+ ],
490
+ [
491
+ "set",
492
+ "@entity.status",
493
+ "@payload.row.status"
494
+ ],
495
+ [
496
+ "set",
497
+ "@entity.followedUp",
498
+ "@payload.row.followedUp"
529
499
  ],
530
500
  [
531
501
  "render-ui",
532
502
  "main",
533
503
  {
534
- "type": "stack",
535
- "className": "py-12",
536
- "align": "center",
537
- "gap": "md",
538
- "direction": "vertical",
539
504
  "children": [
540
505
  {
541
- "type": "spinner"
506
+ "direction": "horizontal",
507
+ "type": "stack",
508
+ "gap": "sm",
509
+ "align": "center",
510
+ "children": [
511
+ {
512
+ "type": "button",
513
+ "label": "Back",
514
+ "variant": "ghost",
515
+ "action": "CLOSE_VIEW"
516
+ },
517
+ {
518
+ "name": "message-square",
519
+ "type": "icon"
520
+ },
521
+ {
522
+ "content": "@entity.customerName",
523
+ "variant": "h3",
524
+ "type": "typography"
525
+ },
526
+ {
527
+ "type": "badge",
528
+ "variant": "primary",
529
+ "label": "@entity.category"
530
+ },
531
+ {
532
+ "type": "badge",
533
+ "variant": "default",
534
+ "label": "@entity.status"
535
+ }
536
+ ]
542
537
  },
543
538
  {
544
- "type": "typography",
545
- "content": "Refreshing NPS surveys…",
546
- "color": "muted",
547
- "variant": "caption"
539
+ "type": "divider"
540
+ },
541
+ {
542
+ "gap": "sm",
543
+ "children": [
544
+ {
545
+ "type": "stack",
546
+ "direction": "horizontal",
547
+ "gap": "md",
548
+ "children": [
549
+ {
550
+ "variant": "caption",
551
+ "color": "muted",
552
+ "content": "Customer ID",
553
+ "type": "typography"
554
+ },
555
+ {
556
+ "content": "@entity.customerId",
557
+ "variant": "body",
558
+ "type": "typography"
559
+ }
560
+ ]
561
+ },
562
+ {
563
+ "direction": "horizontal",
564
+ "gap": "md",
565
+ "type": "stack",
566
+ "children": [
567
+ {
568
+ "content": "Comment",
569
+ "type": "typography",
570
+ "variant": "caption",
571
+ "color": "muted"
572
+ },
573
+ {
574
+ "variant": "body",
575
+ "content": "@entity.comment",
576
+ "type": "typography"
577
+ }
578
+ ]
579
+ }
580
+ ],
581
+ "direction": "vertical",
582
+ "type": "stack"
583
+ },
584
+ {
585
+ "type": "divider"
586
+ },
587
+ {
588
+ "children": [
589
+ {
590
+ "icon": "star",
591
+ "value": "@entity.score",
592
+ "type": "stat-display",
593
+ "label": "Score"
594
+ },
595
+ {
596
+ "type": "stat-display",
597
+ "label": "Surveyed",
598
+ "value": "@entity.surveyedAt",
599
+ "icon": "calendar"
600
+ },
601
+ {
602
+ "label": "Channel",
603
+ "icon": "send",
604
+ "type": "stat-display",
605
+ "value": "@entity.channel"
606
+ }
607
+ ],
608
+ "type": "simple-grid",
609
+ "cols": 3.0
610
+ },
611
+ {
612
+ "type": "stack",
613
+ "gap": "sm",
614
+ "align": "center",
615
+ "children": [
616
+ {
617
+ "label": "Mark Followed Up",
618
+ "type": "button",
619
+ "variant": "primary",
620
+ "action": "MARK_FOLLOWED_UP",
621
+ "actionPayload": {
622
+ "id": "@entity.id"
623
+ }
624
+ }
625
+ ],
626
+ "direction": "horizontal"
548
627
  }
549
- ]
628
+ ],
629
+ "type": "stack",
630
+ "direction": "vertical",
631
+ "gap": "md"
550
632
  }
551
633
  ]
552
634
  ]
553
635
  },
554
636
  {
555
- "from": "viewing",
637
+ "from": "browsing",
556
638
  "to": "loading",
557
- "event": "SEARCH",
639
+ "event": "MARK_FOLLOWED_UP",
558
640
  "effects": [
641
+ [
642
+ "set",
643
+ "@entity.id",
644
+ "@payload.id"
645
+ ],
559
646
  [
560
647
  "fetch",
561
648
  "NpsSurvey",
@@ -570,38 +657,38 @@
570
657
  "render-ui",
571
658
  "main",
572
659
  {
573
- "align": "center",
660
+ "direction": "vertical",
661
+ "gap": "md",
574
662
  "className": "py-12",
663
+ "type": "stack",
664
+ "align": "center",
575
665
  "children": [
576
666
  {
577
667
  "type": "spinner"
578
668
  },
579
669
  {
580
- "color": "muted",
581
670
  "type": "typography",
582
671
  "variant": "caption",
583
- "content": "Searching NPS surveys…"
672
+ "content": "Marking survey followed up…",
673
+ "color": "muted"
584
674
  }
585
- ],
586
- "gap": "md",
587
- "type": "stack",
588
- "direction": "vertical"
675
+ ]
589
676
  }
590
677
  ]
591
678
  ]
592
679
  },
593
680
  {
594
- "from": "viewing",
681
+ "from": "viewing_single",
595
682
  "to": "loading",
596
- "event": "FILTER_CATEGORY",
683
+ "event": "CLOSE_VIEW",
597
684
  "effects": [
598
685
  [
599
686
  "fetch",
600
687
  "NpsSurvey",
601
688
  {
602
689
  "emit": {
603
- "failure": "NpsSurveyLoadFailed",
604
- "success": "NpsSurveyLoaded"
690
+ "success": "NpsSurveyLoaded",
691
+ "failure": "NpsSurveyLoadFailed"
605
692
  }
606
693
  }
607
694
  ],
@@ -609,31 +696,36 @@
609
696
  "render-ui",
610
697
  "main",
611
698
  {
612
- "direction": "vertical",
613
- "gap": "md",
614
- "className": "py-12",
615
- "type": "stack",
616
699
  "align": "center",
617
700
  "children": [
618
701
  {
619
702
  "type": "spinner"
620
703
  },
621
704
  {
622
- "color": "muted",
623
- "content": "Filtering NPS surveys…",
705
+ "variant": "caption",
624
706
  "type": "typography",
625
- "variant": "caption"
707
+ "color": "muted",
708
+ "content": "Loading NPS surveys…"
626
709
  }
627
- ]
710
+ ],
711
+ "type": "stack",
712
+ "className": "py-12",
713
+ "gap": "md",
714
+ "direction": "vertical"
628
715
  }
629
716
  ]
630
717
  ]
631
718
  },
632
719
  {
633
- "from": "viewing",
720
+ "from": "viewing_single",
634
721
  "to": "loading",
635
- "event": "FILTER_STATUS",
722
+ "event": "MARK_FOLLOWED_UP",
636
723
  "effects": [
724
+ [
725
+ "set",
726
+ "@entity.id",
727
+ "@payload.id"
728
+ ],
637
729
  [
638
730
  "fetch",
639
731
  "NpsSurvey",
@@ -648,122 +740,22 @@
648
740
  "render-ui",
649
741
  "main",
650
742
  {
651
- "type": "stack",
652
743
  "gap": "md",
653
744
  "align": "center",
745
+ "direction": "vertical",
654
746
  "className": "py-12",
655
747
  "children": [
656
748
  {
657
749
  "type": "spinner"
658
750
  },
659
751
  {
660
- "color": "muted",
661
752
  "variant": "caption",
753
+ "color": "muted",
662
754
  "type": "typography",
663
- "content": "Filtering NPS surveys…"
755
+ "content": "Marking survey followed up…"
664
756
  }
665
757
  ],
666
- "direction": "vertical"
667
- }
668
- ]
669
- ]
670
- },
671
- {
672
- "from": "viewing",
673
- "to": "viewing",
674
- "event": "CREATE",
675
- "effects": [
676
- [
677
- "render-ui",
678
- "main",
679
- {
680
- "variant": "info",
681
- "message": "Sending new NPS survey",
682
- "type": "alert"
683
- }
684
- ]
685
- ]
686
- },
687
- {
688
- "from": "viewing",
689
- "to": "viewing",
690
- "event": "VIEW",
691
- "effects": [
692
- [
693
- "set",
694
- "@entity.id",
695
- "@payload.id"
696
- ],
697
- [
698
- "render-ui",
699
- "main",
700
- {
701
- "variant": "info",
702
- "message": "Viewing NPS survey",
703
- "type": "alert"
704
- }
705
- ]
706
- ]
707
- },
708
- {
709
- "from": "viewing",
710
- "to": "viewing",
711
- "event": "EDIT",
712
- "effects": [
713
- [
714
- "set",
715
- "@entity.id",
716
- "@payload.id"
717
- ],
718
- [
719
- "render-ui",
720
- "main",
721
- {
722
- "type": "alert",
723
- "variant": "info",
724
- "message": "Editing NPS survey"
725
- }
726
- ]
727
- ]
728
- },
729
- {
730
- "from": "viewing",
731
- "to": "viewing",
732
- "event": "MARK_FOLLOWED_UP",
733
- "effects": [
734
- [
735
- "set",
736
- "@entity.id",
737
- "@payload.id"
738
- ],
739
- [
740
- "render-ui",
741
- "main",
742
- {
743
- "type": "alert",
744
- "variant": "success",
745
- "message": "Marked as followed up"
746
- }
747
- ]
748
- ]
749
- },
750
- {
751
- "from": "viewing",
752
- "to": "viewing",
753
- "event": "REQUEST_DELETE",
754
- "effects": [
755
- [
756
- "set",
757
- "@entity.id",
758
- "@payload.id"
759
- ],
760
- [
761
- "render-ui",
762
- "main",
763
- {
764
- "message": "Delete requested",
765
- "variant": "warning",
766
- "type": "alert"
758
+ "type": "stack"
767
759
  }
768
760
  ]
769
761
  ]
@@ -778,8 +770,8 @@
778
770
  "NpsSurvey",
779
771
  {
780
772
  "emit": {
781
- "failure": "NpsSurveyLoadFailed",
782
- "success": "NpsSurveyLoaded"
773
+ "success": "NpsSurveyLoaded",
774
+ "failure": "NpsSurveyLoadFailed"
783
775
  }
784
776
  }
785
777
  ],
@@ -787,8 +779,8 @@
787
779
  "render-ui",
788
780
  "main",
789
781
  {
790
- "type": "spinner",
791
- "size": "sm"
782
+ "size": "sm",
783
+ "type": "spinner"
792
784
  }
793
785
  ]
794
786
  ]
@@ -817,4 +809,4 @@
817
809
  ]
818
810
  }
819
811
  ]
820
- }
812
+ }