@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-template-editor",
3
3
  "version": "1.0.0",
4
- "description": "std-template-editor — message template authoring primitive. Edits email/SMS templates with variables like {{firstName}}. Templates are reused across broadcasts and drip sequences.",
4
+ "description": "std-template-editor — message template authoring primitive. Lists templates in `browsing`; opens detail in `viewing_single` with Edit / Save / Delete actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "MessageTemplateOrbital",
@@ -57,6 +57,49 @@
57
57
  "category": "interaction",
58
58
  "linkedEntity": "MessageTemplate",
59
59
  "emits": [
60
+ {
61
+ "event": "OPEN_TEMPLATE",
62
+ "payloadSchema": [
63
+ {
64
+ "name": "id",
65
+ "type": "string",
66
+ "required": true
67
+ },
68
+ {
69
+ "name": "row.id",
70
+ "type": "string",
71
+ "required": true
72
+ },
73
+ {
74
+ "name": "row.name",
75
+ "type": "string",
76
+ "required": true
77
+ },
78
+ {
79
+ "name": "row.channel",
80
+ "type": "string"
81
+ },
82
+ {
83
+ "name": "row.subject",
84
+ "type": "string"
85
+ },
86
+ {
87
+ "name": "row.body",
88
+ "type": "string"
89
+ },
90
+ {
91
+ "name": "row.variables",
92
+ "type": "string"
93
+ },
94
+ {
95
+ "name": "row.lastEditedAt",
96
+ "type": "string"
97
+ }
98
+ ]
99
+ },
100
+ {
101
+ "event": "CLOSE_VIEW"
102
+ },
60
103
  {
61
104
  "event": "EDIT_TEMPLATE",
62
105
  "payloadSchema": [
@@ -77,6 +120,16 @@
77
120
  }
78
121
  ]
79
122
  },
123
+ {
124
+ "event": "DELETE_TEMPLATE",
125
+ "payloadSchema": [
126
+ {
127
+ "name": "id",
128
+ "type": "string",
129
+ "required": true
130
+ }
131
+ ]
132
+ },
80
133
  {
81
134
  "event": "MessageTemplateLoaded",
82
135
  "payloadSchema": [
@@ -110,7 +163,7 @@
110
163
  "name": "browsing"
111
164
  },
112
165
  {
113
- "name": "editing"
166
+ "name": "viewing_single"
114
167
  },
115
168
  {
116
169
  "name": "error"
@@ -145,6 +198,36 @@
145
198
  }
146
199
  ]
147
200
  },
201
+ {
202
+ "key": "OPEN_TEMPLATE",
203
+ "name": "Open Template",
204
+ "payloadSchema": [
205
+ {
206
+ "name": "id",
207
+ "type": "string",
208
+ "required": true
209
+ },
210
+ {
211
+ "name": "row",
212
+ "type": "MessageTemplate"
213
+ }
214
+ ]
215
+ },
216
+ {
217
+ "key": "DELETE_TEMPLATE",
218
+ "name": "Delete Template",
219
+ "payloadSchema": [
220
+ {
221
+ "name": "id",
222
+ "type": "string",
223
+ "required": true
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "key": "CLOSE_VIEW",
229
+ "name": "Close View"
230
+ },
148
231
  {
149
232
  "key": "EDIT_TEMPLATE",
150
233
  "name": "Edit Template",
@@ -179,8 +262,8 @@
179
262
  "MessageTemplate",
180
263
  {
181
264
  "emit": {
182
- "success": "MessageTemplateLoaded",
183
- "failure": "MessageTemplateLoadFailed"
265
+ "failure": "MessageTemplateLoadFailed",
266
+ "success": "MessageTemplateLoaded"
184
267
  }
185
268
  }
186
269
  ],
@@ -188,22 +271,22 @@
188
271
  "render-ui",
189
272
  "main",
190
273
  {
274
+ "gap": "md",
275
+ "className": "py-12",
276
+ "align": "center",
277
+ "type": "stack",
191
278
  "children": [
192
279
  {
193
280
  "type": "spinner"
194
281
  },
195
282
  {
196
- "color": "muted",
197
- "type": "typography",
283
+ "variant": "caption",
198
284
  "content": "Loading templates…",
199
- "variant": "caption"
285
+ "type": "typography",
286
+ "color": "muted"
200
287
  }
201
288
  ],
202
- "align": "center",
203
- "direction": "vertical",
204
- "className": "py-12",
205
- "type": "stack",
206
- "gap": "md"
289
+ "direction": "vertical"
207
290
  }
208
291
  ]
209
292
  ]
@@ -218,11 +301,11 @@
218
301
  "main",
219
302
  {
220
303
  "type": "stack",
304
+ "gap": "md",
221
305
  "children": [
222
306
  {
223
307
  "direction": "horizontal",
224
- "gap": "sm",
225
- "type": "stack",
308
+ "align": "center",
226
309
  "children": [
227
310
  {
228
311
  "type": "icon",
@@ -230,96 +313,89 @@
230
313
  },
231
314
  {
232
315
  "type": "typography",
233
- "content": "@config.title",
234
- "variant": "h3"
316
+ "variant": "h3",
317
+ "content": "@config.title"
235
318
  }
236
- ]
237
- },
238
- {
239
- "front": {
240
- "children": [
241
- {
242
- "gap": "sm",
243
- "direction": "vertical",
244
- "type": "stack",
245
- "children": [
246
- {
247
- "variant": "h4",
248
- "content": "Welcome Email",
249
- "type": "typography"
250
- },
251
- {
252
- "content": "Click to preview HTML",
253
- "variant": "caption",
254
- "type": "typography",
255
- "color": "muted"
256
- }
257
- ]
258
- }
259
- ],
260
- "type": "card"
261
- },
262
- "type": "flip-card",
263
- "back": {
264
- "children": [
265
- {
266
- "type": "typography",
267
- "variant": "body",
268
- "content": "<p>Hi {{firstName}}, welcome aboard.</p>"
269
- }
270
- ],
271
- "type": "card"
272
- },
273
- "height": "180px"
319
+ ],
320
+ "type": "stack",
321
+ "gap": "sm"
274
322
  },
275
323
  {
276
- "type": "code-block",
277
- "code": "Welcome email template preview placeholder",
278
- "showCopyButton": true,
279
- "showLanguageBadge": true,
280
- "language": "html"
324
+ "type": "simple-grid",
325
+ "children": [
326
+ {
327
+ "icon": "file-text",
328
+ "type": "stat-display",
329
+ "label": "Total templates",
330
+ "value": "@payload.data.length"
331
+ },
332
+ {
333
+ "label": "Email",
334
+ "value": "32",
335
+ "type": "stat-display",
336
+ "icon": "mail"
337
+ },
338
+ {
339
+ "icon": "message-square",
340
+ "value": "14",
341
+ "type": "stat-display",
342
+ "label": "SMS"
343
+ },
344
+ {
345
+ "value": "9",
346
+ "icon": "edit",
347
+ "type": "stat-display",
348
+ "label": "Edited 7d"
349
+ }
350
+ ],
351
+ "cols": 4.0
281
352
  },
282
353
  {
283
354
  "type": "divider"
284
355
  },
285
356
  {
286
- "entity": "@payload.data",
287
357
  "fields": [
288
358
  {
289
- "label": "Name",
290
359
  "name": "name",
360
+ "label": "Name",
291
361
  "variant": "caption"
292
362
  },
293
363
  {
294
- "label": "Channel",
364
+ "name": "channel",
295
365
  "variant": "badge",
296
- "name": "channel"
366
+ "label": "Channel"
297
367
  },
298
368
  {
369
+ "label": "Subject",
299
370
  "variant": "caption",
300
- "name": "subject",
301
- "label": "Subject"
371
+ "name": "subject"
302
372
  },
303
373
  {
304
- "name": "lastEditedAt",
374
+ "label": "Updated",
305
375
  "variant": "caption",
306
- "label": "Updated"
376
+ "name": "lastEditedAt"
307
377
  }
308
378
  ],
309
- "cols": 1.0,
310
- "type": "data-grid",
311
- "gap": "sm",
312
379
  "itemActions": [
313
380
  {
314
- "variant": "ghost",
315
- "event": "EDIT_TEMPLATE",
316
- "label": "Edit"
381
+ "icon": "arrow-right",
382
+ "label": "Open",
383
+ "variant": "primary",
384
+ "event": "OPEN_TEMPLATE"
385
+ },
386
+ {
387
+ "label": "Delete",
388
+ "event": "DELETE_TEMPLATE",
389
+ "variant": "danger"
317
390
  }
318
- ]
391
+ ],
392
+ "gap": "sm",
393
+ "entity": "@payload.data",
394
+ "cols": 1.0,
395
+ "type": "data-grid"
319
396
  }
320
397
  ],
321
- "direction": "vertical",
322
- "gap": "md"
398
+ "direction": "vertical"
323
399
  }
324
400
  ]
325
401
  ]
@@ -333,78 +409,425 @@
333
409
  "render-ui",
334
410
  "main",
335
411
  {
412
+ "variant": "error",
336
413
  "message": "@payload.error",
337
- "type": "alert",
338
- "variant": "error"
414
+ "type": "alert"
339
415
  }
340
416
  ]
341
417
  ]
342
418
  },
343
419
  {
344
420
  "from": "browsing",
345
- "to": "editing",
346
- "event": "EDIT_TEMPLATE",
421
+ "to": "viewing_single",
422
+ "event": "OPEN_TEMPLATE",
347
423
  "effects": [
348
424
  [
349
425
  "set",
350
426
  "@entity.id",
351
- "@payload.id"
427
+ "@payload.row.id"
428
+ ],
429
+ [
430
+ "set",
431
+ "@entity.name",
432
+ "@payload.row.name"
433
+ ],
434
+ [
435
+ "set",
436
+ "@entity.channel",
437
+ "@payload.row.channel"
438
+ ],
439
+ [
440
+ "set",
441
+ "@entity.subject",
442
+ "@payload.row.subject"
443
+ ],
444
+ [
445
+ "set",
446
+ "@entity.body",
447
+ "@payload.row.body"
448
+ ],
449
+ [
450
+ "set",
451
+ "@entity.variables",
452
+ "@payload.row.variables"
453
+ ],
454
+ [
455
+ "set",
456
+ "@entity.lastEditedAt",
457
+ "@payload.row.lastEditedAt"
352
458
  ],
353
459
  [
354
460
  "render-ui",
355
461
  "main",
356
462
  {
357
- "type": "card",
463
+ "direction": "vertical",
358
464
  "children": [
465
+ {
466
+ "direction": "horizontal",
467
+ "type": "stack",
468
+ "gap": "sm",
469
+ "children": [
470
+ {
471
+ "label": "Back",
472
+ "type": "button",
473
+ "variant": "ghost",
474
+ "action": "CLOSE_VIEW"
475
+ },
476
+ {
477
+ "type": "icon",
478
+ "name": "file-text"
479
+ },
480
+ {
481
+ "content": "@entity.name",
482
+ "variant": "h3",
483
+ "type": "typography"
484
+ },
485
+ {
486
+ "type": "badge",
487
+ "variant": "primary",
488
+ "label": "@entity.channel"
489
+ }
490
+ ],
491
+ "align": "center"
492
+ },
493
+ {
494
+ "type": "divider"
495
+ },
359
496
  {
360
497
  "direction": "vertical",
361
- "gap": "md",
362
498
  "type": "stack",
499
+ "gap": "sm",
363
500
  "children": [
364
501
  {
365
502
  "direction": "horizontal",
503
+ "gap": "md",
366
504
  "type": "stack",
367
505
  "children": [
368
506
  {
369
- "name": "edit",
370
- "type": "icon"
507
+ "color": "muted",
508
+ "type": "typography",
509
+ "variant": "caption",
510
+ "content": "Subject"
371
511
  },
372
512
  {
373
- "variant": "h3",
374
513
  "type": "typography",
375
- "content": "Edit template"
514
+ "variant": "body",
515
+ "content": "@entity.subject"
376
516
  }
377
- ],
378
- "gap": "sm"
517
+ ]
379
518
  },
380
519
  {
381
- "type": "divider"
520
+ "type": "stack",
521
+ "direction": "horizontal",
522
+ "gap": "md",
523
+ "children": [
524
+ {
525
+ "type": "typography",
526
+ "content": "Body",
527
+ "color": "muted",
528
+ "variant": "caption"
529
+ },
530
+ {
531
+ "variant": "body",
532
+ "content": "@entity.body",
533
+ "type": "typography"
534
+ }
535
+ ]
382
536
  },
383
537
  {
538
+ "direction": "horizontal",
539
+ "type": "stack",
540
+ "gap": "md",
541
+ "children": [
542
+ {
543
+ "content": "Variables",
544
+ "type": "typography",
545
+ "color": "muted",
546
+ "variant": "caption"
547
+ },
548
+ {
549
+ "variant": "body",
550
+ "content": "@entity.variables",
551
+ "type": "typography"
552
+ }
553
+ ]
554
+ }
555
+ ]
556
+ },
557
+ {
558
+ "type": "divider"
559
+ },
560
+ {
561
+ "cols": 2.0,
562
+ "type": "simple-grid",
563
+ "children": [
564
+ {
565
+ "label": "Channel",
566
+ "type": "stat-display",
567
+ "icon": "send",
568
+ "value": "@entity.channel"
569
+ },
570
+ {
571
+ "label": "Last edited",
572
+ "type": "stat-display",
573
+ "value": "@entity.lastEditedAt",
574
+ "icon": "calendar"
575
+ }
576
+ ]
577
+ },
578
+ {
579
+ "children": [
580
+ {
581
+ "label": "Edit",
582
+ "variant": "primary",
583
+ "type": "button",
584
+ "action": "EDIT_TEMPLATE",
585
+ "actionPayload": {
586
+ "id": "@entity.id"
587
+ }
588
+ },
589
+ {
590
+ "actionPayload": {
591
+ "id": "@entity.id"
592
+ },
384
593
  "label": "Save",
385
594
  "type": "button",
386
- "action": "SAVE_TEMPLATE",
387
- "variant": "primary"
595
+ "variant": "secondary",
596
+ "action": "SAVE_TEMPLATE"
597
+ },
598
+ {
599
+ "label": "Delete",
600
+ "actionPayload": {
601
+ "id": "@entity.id"
602
+ },
603
+ "variant": "danger",
604
+ "action": "DELETE_TEMPLATE",
605
+ "type": "button"
388
606
  }
389
- ]
607
+ ],
608
+ "direction": "horizontal",
609
+ "align": "center",
610
+ "gap": "sm",
611
+ "type": "stack"
390
612
  }
391
- ]
613
+ ],
614
+ "type": "stack",
615
+ "gap": "md"
392
616
  }
393
617
  ]
394
618
  ]
395
619
  },
396
620
  {
397
- "from": "editing",
398
- "to": "browsing",
621
+ "from": "browsing",
622
+ "to": "loading",
623
+ "event": "DELETE_TEMPLATE",
624
+ "effects": [
625
+ [
626
+ "set",
627
+ "@entity.id",
628
+ "@payload.id"
629
+ ],
630
+ [
631
+ "fetch",
632
+ "MessageTemplate",
633
+ {
634
+ "emit": {
635
+ "success": "MessageTemplateLoaded",
636
+ "failure": "MessageTemplateLoadFailed"
637
+ }
638
+ }
639
+ ],
640
+ [
641
+ "render-ui",
642
+ "main",
643
+ {
644
+ "className": "py-12",
645
+ "direction": "vertical",
646
+ "children": [
647
+ {
648
+ "type": "spinner"
649
+ },
650
+ {
651
+ "content": "Deleting template…",
652
+ "type": "typography",
653
+ "variant": "caption",
654
+ "color": "muted"
655
+ }
656
+ ],
657
+ "type": "stack",
658
+ "gap": "md",
659
+ "align": "center"
660
+ }
661
+ ]
662
+ ]
663
+ },
664
+ {
665
+ "from": "viewing_single",
666
+ "to": "loading",
667
+ "event": "CLOSE_VIEW",
668
+ "effects": [
669
+ [
670
+ "fetch",
671
+ "MessageTemplate",
672
+ {
673
+ "emit": {
674
+ "success": "MessageTemplateLoaded",
675
+ "failure": "MessageTemplateLoadFailed"
676
+ }
677
+ }
678
+ ],
679
+ [
680
+ "render-ui",
681
+ "main",
682
+ {
683
+ "children": [
684
+ {
685
+ "type": "spinner"
686
+ },
687
+ {
688
+ "color": "muted",
689
+ "type": "typography",
690
+ "content": "Loading templates…",
691
+ "variant": "caption"
692
+ }
693
+ ],
694
+ "type": "stack",
695
+ "className": "py-12",
696
+ "direction": "vertical",
697
+ "gap": "md",
698
+ "align": "center"
699
+ }
700
+ ]
701
+ ]
702
+ },
703
+ {
704
+ "from": "viewing_single",
705
+ "to": "loading",
706
+ "event": "EDIT_TEMPLATE",
707
+ "effects": [
708
+ [
709
+ "set",
710
+ "@entity.id",
711
+ "@payload.id"
712
+ ],
713
+ [
714
+ "fetch",
715
+ "MessageTemplate",
716
+ {
717
+ "emit": {
718
+ "success": "MessageTemplateLoaded",
719
+ "failure": "MessageTemplateLoadFailed"
720
+ }
721
+ }
722
+ ],
723
+ [
724
+ "render-ui",
725
+ "main",
726
+ {
727
+ "align": "center",
728
+ "type": "stack",
729
+ "direction": "vertical",
730
+ "children": [
731
+ {
732
+ "type": "spinner"
733
+ },
734
+ {
735
+ "type": "typography",
736
+ "color": "muted",
737
+ "variant": "caption",
738
+ "content": "Loading editor…"
739
+ }
740
+ ],
741
+ "className": "py-12",
742
+ "gap": "md"
743
+ }
744
+ ]
745
+ ]
746
+ },
747
+ {
748
+ "from": "viewing_single",
749
+ "to": "loading",
399
750
  "event": "SAVE_TEMPLATE",
400
751
  "effects": [
752
+ [
753
+ "set",
754
+ "@entity.id",
755
+ "@payload.id"
756
+ ],
757
+ [
758
+ "fetch",
759
+ "MessageTemplate",
760
+ {
761
+ "emit": {
762
+ "failure": "MessageTemplateLoadFailed",
763
+ "success": "MessageTemplateLoaded"
764
+ }
765
+ }
766
+ ],
767
+ [
768
+ "render-ui",
769
+ "main",
770
+ {
771
+ "className": "py-12",
772
+ "children": [
773
+ {
774
+ "type": "spinner"
775
+ },
776
+ {
777
+ "content": "Saving template…",
778
+ "color": "muted",
779
+ "type": "typography",
780
+ "variant": "caption"
781
+ }
782
+ ],
783
+ "type": "stack",
784
+ "direction": "vertical",
785
+ "gap": "md",
786
+ "align": "center"
787
+ }
788
+ ]
789
+ ]
790
+ },
791
+ {
792
+ "from": "viewing_single",
793
+ "to": "loading",
794
+ "event": "DELETE_TEMPLATE",
795
+ "effects": [
796
+ [
797
+ "set",
798
+ "@entity.id",
799
+ "@payload.id"
800
+ ],
801
+ [
802
+ "fetch",
803
+ "MessageTemplate",
804
+ {
805
+ "emit": {
806
+ "failure": "MessageTemplateLoadFailed",
807
+ "success": "MessageTemplateLoaded"
808
+ }
809
+ }
810
+ ],
401
811
  [
402
812
  "render-ui",
403
813
  "main",
404
814
  {
405
- "message": "Template saved",
406
- "type": "alert",
407
- "variant": "success"
815
+ "className": "py-12",
816
+ "align": "center",
817
+ "direction": "vertical",
818
+ "children": [
819
+ {
820
+ "type": "spinner"
821
+ },
822
+ {
823
+ "content": "Deleting template…",
824
+ "type": "typography",
825
+ "variant": "caption",
826
+ "color": "muted"
827
+ }
828
+ ],
829
+ "gap": "md",
830
+ "type": "stack"
408
831
  }
409
832
  ]
410
833
  ]
@@ -419,8 +842,8 @@
419
842
  "MessageTemplate",
420
843
  {
421
844
  "emit": {
422
- "failure": "MessageTemplateLoadFailed",
423
- "success": "MessageTemplateLoaded"
845
+ "success": "MessageTemplateLoaded",
846
+ "failure": "MessageTemplateLoadFailed"
424
847
  }
425
848
  }
426
849
  ],
@@ -428,8 +851,8 @@
428
851
  "render-ui",
429
852
  "main",
430
853
  {
431
- "size": "sm",
432
- "type": "spinner"
854
+ "type": "spinner",
855
+ "size": "sm"
433
856
  }
434
857
  ]
435
858
  ]
@@ -458,4 +881,4 @@
458
881
  ]
459
882
  }
460
883
  ]
461
- }
884
+ }