@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-version-history",
3
3
  "version": "1.0.0",
4
- "description": "std-version-history — wiki/CMS revision history with diff + rollback. Owns a Revision entity (one row per saved version of a document); browses revisions in a data-grid, opens a side-by-side version-diff for any two picks, and persists a rollback by re-saving the chosen revision's content as a new update on the source document.",
4
+ "description": "std-version-history — wiki/CMS revision history with diff + rollback. Browses revisions; opens detail in `viewing_single`; compares two revisions in `comparing` with intrinsic version-diff; persists rollback.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "RevisionOrbital",
@@ -59,10 +59,10 @@
59
59
  "linkedEntity": "Revision",
60
60
  "emits": [
61
61
  {
62
- "event": "VIEW",
62
+ "event": "OPEN_REVISION",
63
63
  "payloadSchema": [
64
64
  {
65
- "name": "revisionId",
65
+ "name": "id",
66
66
  "type": "string",
67
67
  "required": true
68
68
  },
@@ -108,99 +108,27 @@
108
108
  }
109
109
  ]
110
110
  },
111
+ {
112
+ "event": "CLOSE_VIEW"
113
+ },
111
114
  {
112
115
  "event": "COMPARE",
113
116
  "payloadSchema": [
114
117
  {
115
- "name": "beforeId",
116
- "type": "string",
117
- "required": true
118
- },
119
- {
120
- "name": "afterId",
121
- "type": "string",
122
- "required": true
123
- },
124
- {
125
- "name": "beforeRow.id",
126
- "type": "string",
127
- "required": true
128
- },
129
- {
130
- "name": "beforeRow.documentId",
131
- "type": "string",
132
- "required": true
133
- },
134
- {
135
- "name": "beforeRow.documentType",
136
- "type": "string",
137
- "required": true
138
- },
139
- {
140
- "name": "beforeRow.versionNumber",
141
- "type": "number",
142
- "required": true
143
- },
144
- {
145
- "name": "beforeRow.authorId",
146
- "type": "string"
147
- },
148
- {
149
- "name": "beforeRow.authorName",
150
- "type": "string"
151
- },
152
- {
153
- "name": "beforeRow.content",
154
- "type": "string"
155
- },
156
- {
157
- "name": "beforeRow.summary",
158
- "type": "string"
159
- },
160
- {
161
- "name": "beforeRow.createdAt",
162
- "type": "string"
163
- },
164
- {
165
- "name": "afterRow.id",
118
+ "name": "id",
166
119
  "type": "string",
167
120
  "required": true
168
121
  },
169
122
  {
170
- "name": "afterRow.documentId",
123
+ "name": "beforeId",
171
124
  "type": "string",
172
125
  "required": true
173
126
  },
174
127
  {
175
- "name": "afterRow.documentType",
128
+ "name": "afterId",
176
129
  "type": "string",
177
130
  "required": true
178
131
  },
179
- {
180
- "name": "afterRow.versionNumber",
181
- "type": "number",
182
- "required": true
183
- },
184
- {
185
- "name": "afterRow.authorId",
186
- "type": "string"
187
- },
188
- {
189
- "name": "afterRow.authorName",
190
- "type": "string"
191
- },
192
- {
193
- "name": "afterRow.content",
194
- "type": "string"
195
- },
196
- {
197
- "name": "afterRow.summary",
198
- "type": "string"
199
- },
200
- {
201
- "name": "afterRow.createdAt",
202
- "type": "string"
203
- },
204
132
  {
205
133
  "name": "revisions",
206
134
  "type": "[Revision]"
@@ -214,51 +142,6 @@
214
142
  "name": "id",
215
143
  "type": "string",
216
144
  "required": true
217
- },
218
- {
219
- "name": "revisionId",
220
- "type": "string",
221
- "required": true
222
- },
223
- {
224
- "name": "row.id",
225
- "type": "string",
226
- "required": true
227
- },
228
- {
229
- "name": "row.documentId",
230
- "type": "string",
231
- "required": true
232
- },
233
- {
234
- "name": "row.documentType",
235
- "type": "string",
236
- "required": true
237
- },
238
- {
239
- "name": "row.versionNumber",
240
- "type": "number",
241
- "required": true
242
- },
243
- {
244
- "name": "row.authorId",
245
- "type": "string"
246
- },
247
- {
248
- "name": "row.authorName",
249
- "type": "string"
250
- },
251
- {
252
- "name": "row.content",
253
- "type": "string"
254
- },
255
- {
256
- "name": "row.summary",
257
- "type": "string"
258
- },
259
- {
260
- "name": "row.createdAt",
261
- "type": "string"
262
145
  }
263
146
  ]
264
147
  },
@@ -352,6 +235,9 @@
352
235
  {
353
236
  "name": "browsing"
354
237
  },
238
+ {
239
+ "name": "viewing_single"
240
+ },
355
241
  {
356
242
  "name": "comparing"
357
243
  },
@@ -375,8 +261,18 @@
375
261
  ]
376
262
  },
377
263
  {
378
- "key": "RevisionLoadFailed",
379
- "name": "Revision load failed",
264
+ "key": "RevisionRolledBack",
265
+ "name": "Revision rolled back",
266
+ "payloadSchema": [
267
+ {
268
+ "name": "row",
269
+ "type": "Revision"
270
+ }
271
+ ]
272
+ },
273
+ {
274
+ "key": "RevisionRollbackFailed",
275
+ "name": "Revision rollback failed",
380
276
  "payloadSchema": [
381
277
  {
382
278
  "name": "error",
@@ -389,45 +285,31 @@
389
285
  ]
390
286
  },
391
287
  {
392
- "key": "VIEW",
393
- "name": "View",
288
+ "key": "RevisionLoadFailed",
289
+ "name": "Revision load failed",
394
290
  "payloadSchema": [
395
291
  {
396
- "name": "revisionId",
397
- "type": "string",
398
- "required": true
292
+ "name": "error",
293
+ "type": "string"
399
294
  },
400
295
  {
401
- "name": "row",
402
- "type": "Revision"
296
+ "name": "code",
297
+ "type": "string"
403
298
  }
404
299
  ]
405
300
  },
406
301
  {
407
- "key": "COMPARE",
408
- "name": "Compare",
302
+ "key": "OPEN_REVISION",
303
+ "name": "Open Revision",
409
304
  "payloadSchema": [
410
305
  {
411
- "name": "beforeId",
412
- "type": "string",
413
- "required": true
414
- },
415
- {
416
- "name": "afterId",
306
+ "name": "id",
417
307
  "type": "string",
418
308
  "required": true
419
309
  },
420
310
  {
421
- "name": "beforeRow",
422
- "type": "Revision"
423
- },
424
- {
425
- "name": "afterRow",
311
+ "name": "row",
426
312
  "type": "Revision"
427
- },
428
- {
429
- "name": "revisions",
430
- "type": "[Revision]"
431
313
  }
432
314
  ]
433
315
  },
@@ -439,39 +321,35 @@
439
321
  "name": "id",
440
322
  "type": "string",
441
323
  "required": true
442
- },
443
- {
444
- "name": "revisionId",
445
- "type": "string",
446
- "required": true
447
- },
448
- {
449
- "name": "row",
450
- "type": "Revision"
451
324
  }
452
325
  ]
453
326
  },
454
327
  {
455
- "key": "RevisionRolledBack",
456
- "name": "Revision rolled back",
457
- "payloadSchema": [
458
- {
459
- "name": "row",
460
- "type": "Revision"
461
- }
462
- ]
328
+ "key": "CLOSE_VIEW",
329
+ "name": "Close View"
463
330
  },
464
331
  {
465
- "key": "RevisionRollbackFailed",
466
- "name": "Revision rollback failed",
332
+ "key": "COMPARE",
333
+ "name": "Compare",
467
334
  "payloadSchema": [
468
335
  {
469
- "name": "error",
470
- "type": "string"
336
+ "name": "id",
337
+ "type": "string",
338
+ "required": true
471
339
  },
472
340
  {
473
- "name": "code",
474
- "type": "string"
341
+ "name": "beforeId",
342
+ "type": "string",
343
+ "required": true
344
+ },
345
+ {
346
+ "name": "afterId",
347
+ "type": "string",
348
+ "required": true
349
+ },
350
+ {
351
+ "name": "revisions",
352
+ "type": "[Revision]"
475
353
  }
476
354
  ]
477
355
  }
@@ -496,22 +374,22 @@
496
374
  "render-ui",
497
375
  "main",
498
376
  {
499
- "align": "center",
500
- "type": "stack",
501
377
  "direction": "vertical",
378
+ "className": "py-12",
502
379
  "children": [
503
380
  {
504
381
  "type": "spinner"
505
382
  },
506
383
  {
507
- "variant": "caption",
508
- "type": "typography",
509
384
  "content": "Loading version history…",
510
- "color": "muted"
385
+ "type": "typography",
386
+ "color": "muted",
387
+ "variant": "caption"
511
388
  }
512
389
  ],
390
+ "align": "center",
513
391
  "gap": "md",
514
- "className": "py-12"
392
+ "type": "stack"
515
393
  }
516
394
  ]
517
395
  ]
@@ -526,50 +404,75 @@
526
404
  "main",
527
405
  {
528
406
  "type": "stack",
407
+ "direction": "vertical",
529
408
  "gap": "md",
530
409
  "children": [
531
410
  {
532
- "gap": "sm",
533
- "type": "stack",
534
411
  "direction": "horizontal",
412
+ "gap": "sm",
413
+ "align": "center",
535
414
  "children": [
536
415
  {
537
- "type": "icon",
538
- "name": "history"
416
+ "name": "history",
417
+ "type": "icon"
539
418
  },
540
419
  {
541
420
  "content": "@config.title",
542
- "variant": "h3",
543
- "type": "typography"
421
+ "type": "typography",
422
+ "variant": "h3"
544
423
  }
545
- ]
424
+ ],
425
+ "type": "stack"
426
+ },
427
+ {
428
+ "children": [
429
+ {
430
+ "type": "stat-display",
431
+ "value": "@payload.data.length",
432
+ "icon": "history",
433
+ "label": "Total revisions"
434
+ },
435
+ {
436
+ "value": "6",
437
+ "icon": "users",
438
+ "type": "stat-display",
439
+ "label": "Authors"
440
+ },
441
+ {
442
+ "value": "14",
443
+ "label": "Saves this week",
444
+ "icon": "save",
445
+ "type": "stat-display"
446
+ },
447
+ {
448
+ "label": "Rollbacks",
449
+ "type": "stat-display",
450
+ "icon": "rotate-ccw",
451
+ "value": "2"
452
+ }
453
+ ],
454
+ "cols": 4.0,
455
+ "type": "simple-grid"
546
456
  },
547
457
  {
548
458
  "type": "divider"
549
459
  },
550
460
  {
551
- "type": "data-grid",
461
+ "gap": "sm",
552
462
  "itemActions": [
553
463
  {
554
- "label": "View",
555
- "icon": "eye",
556
- "event": "VIEW",
557
- "variant": "secondary"
558
- },
559
- {
560
- "label": "Compare",
561
- "icon": "git-compare",
562
- "event": "COMPARE",
563
- "variant": "secondary"
464
+ "variant": "primary",
465
+ "label": "Open",
466
+ "event": "OPEN_REVISION",
467
+ "icon": "arrow-right"
564
468
  },
565
469
  {
566
- "event": "ROLLBACK",
470
+ "variant": "danger",
471
+ "icon": "rotate-ccw",
567
472
  "label": "Rollback",
568
- "variant": "primary",
569
- "icon": "rotate-ccw"
473
+ "event": "ROLLBACK"
570
474
  }
571
475
  ],
572
- "entity": "@payload.data",
573
476
  "cols": 1.0,
574
477
  "fields": [
575
478
  {
@@ -578,49 +481,82 @@
578
481
  "variant": "badge"
579
482
  },
580
483
  {
484
+ "variant": "caption",
581
485
  "name": "authorName",
582
- "label": "Author",
583
- "variant": "caption"
486
+ "label": "Author"
584
487
  },
585
488
  {
489
+ "variant": "caption",
586
490
  "label": "Summary",
587
- "name": "summary",
588
- "variant": "caption"
491
+ "name": "summary"
589
492
  },
590
493
  {
591
- "variant": "caption",
592
494
  "label": "Saved",
495
+ "variant": "caption",
593
496
  "name": "createdAt"
594
497
  }
595
498
  ],
596
- "gap": "sm"
499
+ "type": "data-grid",
500
+ "entity": "@payload.data"
597
501
  }
598
- ],
599
- "direction": "vertical"
502
+ ]
600
503
  }
601
504
  ]
602
505
  ]
603
506
  },
604
507
  {
605
508
  "from": "loading",
606
- "to": "error",
607
- "event": "RevisionLoadFailed",
509
+ "to": "loading",
510
+ "event": "RevisionRolledBack",
608
511
  "effects": [
609
512
  [
610
- "render-ui",
611
- "main",
513
+ "fetch",
514
+ "Revision",
612
515
  {
613
- "variant": "error",
614
- "message": "@payload.error",
615
- "type": "alert"
516
+ "emit": {
517
+ "success": "RevisionLoaded",
518
+ "failure": "RevisionLoadFailed"
519
+ }
616
520
  }
617
521
  ]
618
522
  ]
619
523
  },
620
524
  {
621
- "from": "browsing",
622
- "to": "browsing",
623
- "event": "VIEW",
525
+ "from": "loading",
526
+ "to": "error",
527
+ "event": "RevisionRollbackFailed",
528
+ "effects": [
529
+ [
530
+ "render-ui",
531
+ "main",
532
+ {
533
+ "variant": "error",
534
+ "message": "@payload.error",
535
+ "type": "alert"
536
+ }
537
+ ]
538
+ ]
539
+ },
540
+ {
541
+ "from": "loading",
542
+ "to": "error",
543
+ "event": "RevisionLoadFailed",
544
+ "effects": [
545
+ [
546
+ "render-ui",
547
+ "main",
548
+ {
549
+ "type": "alert",
550
+ "variant": "error",
551
+ "message": "@payload.error"
552
+ }
553
+ ]
554
+ ]
555
+ },
556
+ {
557
+ "from": "browsing",
558
+ "to": "viewing_single",
559
+ "event": "OPEN_REVISION",
624
560
  "effects": [
625
561
  [
626
562
  "set",
@@ -672,59 +608,154 @@
672
608
  "main",
673
609
  {
674
610
  "type": "stack",
675
- "gap": "md",
676
611
  "children": [
677
612
  {
613
+ "direction": "horizontal",
614
+ "gap": "sm",
615
+ "align": "center",
616
+ "type": "stack",
678
617
  "children": [
679
618
  {
680
- "name": "file-text",
681
- "type": "icon"
619
+ "variant": "ghost",
620
+ "type": "button",
621
+ "label": "Back",
622
+ "action": "CLOSE_VIEW"
623
+ },
624
+ {
625
+ "type": "icon",
626
+ "name": "file-text"
682
627
  },
683
628
  {
684
629
  "variant": "h3",
685
- "type": "typography",
686
- "content": "@entity.summary"
630
+ "content": "@entity.summary",
631
+ "type": "typography"
632
+ },
633
+ {
634
+ "type": "badge",
635
+ "label": "@entity.versionNumber",
636
+ "variant": "default"
687
637
  }
688
- ],
689
- "type": "stack",
690
- "gap": "sm",
691
- "direction": "horizontal"
638
+ ]
692
639
  },
693
640
  {
641
+ "type": "divider"
642
+ },
643
+ {
644
+ "direction": "vertical",
645
+ "type": "stack",
694
646
  "children": [
695
647
  {
696
- "variant": "caption",
697
- "color": "muted",
698
- "content": "@entity.authorName",
699
- "type": "typography"
648
+ "children": [
649
+ {
650
+ "content": "Author",
651
+ "color": "muted",
652
+ "type": "typography",
653
+ "variant": "caption"
654
+ },
655
+ {
656
+ "content": "@entity.authorName",
657
+ "type": "typography",
658
+ "variant": "body"
659
+ }
660
+ ],
661
+ "direction": "horizontal",
662
+ "gap": "md",
663
+ "type": "stack"
700
664
  },
701
665
  {
702
- "type": "typography",
703
- "color": "muted",
704
- "variant": "caption",
705
- "content": "@entity.createdAt"
666
+ "direction": "horizontal",
667
+ "gap": "md",
668
+ "type": "stack",
669
+ "children": [
670
+ {
671
+ "variant": "caption",
672
+ "content": "Saved",
673
+ "type": "typography",
674
+ "color": "muted"
675
+ },
676
+ {
677
+ "variant": "body",
678
+ "type": "typography",
679
+ "content": "@entity.createdAt"
680
+ }
681
+ ]
682
+ },
683
+ {
684
+ "children": [
685
+ {
686
+ "content": "Content",
687
+ "variant": "caption",
688
+ "color": "muted",
689
+ "type": "typography"
690
+ },
691
+ {
692
+ "content": "@entity.content",
693
+ "variant": "body",
694
+ "type": "typography"
695
+ }
696
+ ],
697
+ "type": "stack",
698
+ "direction": "horizontal",
699
+ "gap": "md"
706
700
  }
707
701
  ],
708
- "gap": "md",
709
- "direction": "horizontal",
710
- "type": "stack"
702
+ "gap": "sm"
711
703
  },
712
704
  {
713
705
  "type": "divider"
714
706
  },
715
707
  {
716
- "type": "typography",
717
- "content": "@entity.content",
718
- "variant": "body"
708
+ "children": [
709
+ {
710
+ "type": "stat-display",
711
+ "value": "@entity.versionNumber",
712
+ "icon": "tag",
713
+ "label": "Version"
714
+ },
715
+ {
716
+ "value": "@entity.documentId",
717
+ "label": "Document",
718
+ "icon": "file",
719
+ "type": "stat-display"
720
+ },
721
+ {
722
+ "label": "Type",
723
+ "type": "stat-display",
724
+ "value": "@entity.documentType",
725
+ "icon": "layers"
726
+ }
727
+ ],
728
+ "cols": 3.0,
729
+ "type": "simple-grid"
719
730
  },
720
731
  {
721
- "type": "button",
722
- "label": "Back",
723
- "variant": "secondary",
724
- "icon": "arrow-left",
725
- "action": "INIT"
732
+ "gap": "sm",
733
+ "align": "center",
734
+ "direction": "horizontal",
735
+ "type": "stack",
736
+ "children": [
737
+ {
738
+ "type": "button",
739
+ "variant": "secondary",
740
+ "label": "Compare",
741
+ "action": "COMPARE",
742
+ "actionPayload": {
743
+ "id": "@entity.id"
744
+ }
745
+ },
746
+ {
747
+ "actionPayload": {
748
+ "id": "@entity.id"
749
+ },
750
+ "label": "Rollback",
751
+ "action": "ROLLBACK",
752
+ "type": "button",
753
+ "variant": "danger"
754
+ }
755
+ ]
726
756
  }
727
757
  ],
758
+ "gap": "md",
728
759
  "direction": "vertical"
729
760
  }
730
761
  ]
@@ -732,291 +763,284 @@
732
763
  },
733
764
  {
734
765
  "from": "browsing",
735
- "to": "comparing",
736
- "event": "COMPARE",
766
+ "to": "loading",
767
+ "event": "ROLLBACK",
737
768
  "effects": [
738
769
  [
739
770
  "set",
740
771
  "@entity.id",
741
- "@payload.afterRow.id"
742
- ],
743
- [
744
- "set",
745
- "@entity.documentId",
746
- "@payload.afterRow.documentId"
772
+ "@payload.id"
747
773
  ],
748
774
  [
749
- "set",
750
- "@entity.documentType",
751
- "@payload.afterRow.documentType"
752
- ],
753
- [
754
- "set",
755
- "@entity.versionNumber",
756
- "@payload.afterRow.versionNumber"
757
- ],
758
- [
759
- "set",
760
- "@entity.authorId",
761
- "@payload.afterRow.authorId"
775
+ "fetch",
776
+ "Revision",
777
+ {
778
+ "emit": {
779
+ "failure": "RevisionLoadFailed",
780
+ "success": "RevisionLoaded"
781
+ }
782
+ }
762
783
  ],
763
784
  [
764
- "set",
765
- "@entity.authorName",
766
- "@payload.afterRow.authorName"
767
- ],
785
+ "render-ui",
786
+ "main",
787
+ {
788
+ "align": "center",
789
+ "gap": "md",
790
+ "children": [
791
+ {
792
+ "type": "spinner"
793
+ },
794
+ {
795
+ "variant": "caption",
796
+ "content": "Rolling back…",
797
+ "color": "muted",
798
+ "type": "typography"
799
+ }
800
+ ],
801
+ "type": "stack",
802
+ "className": "py-12",
803
+ "direction": "vertical"
804
+ }
805
+ ]
806
+ ]
807
+ },
808
+ {
809
+ "from": "viewing_single",
810
+ "to": "loading",
811
+ "event": "CLOSE_VIEW",
812
+ "effects": [
768
813
  [
769
- "set",
770
- "@entity.content",
771
- "@payload.afterRow.content"
814
+ "fetch",
815
+ "Revision",
816
+ {
817
+ "emit": {
818
+ "success": "RevisionLoaded",
819
+ "failure": "RevisionLoadFailed"
820
+ }
821
+ }
772
822
  ],
773
823
  [
774
- "set",
775
- "@entity.summary",
776
- "@payload.afterRow.summary"
777
- ],
824
+ "render-ui",
825
+ "main",
826
+ {
827
+ "align": "center",
828
+ "gap": "md",
829
+ "className": "py-12",
830
+ "type": "stack",
831
+ "direction": "vertical",
832
+ "children": [
833
+ {
834
+ "type": "spinner"
835
+ },
836
+ {
837
+ "variant": "caption",
838
+ "type": "typography",
839
+ "content": "Loading version history…",
840
+ "color": "muted"
841
+ }
842
+ ]
843
+ }
844
+ ]
845
+ ]
846
+ },
847
+ {
848
+ "from": "viewing_single",
849
+ "to": "comparing",
850
+ "event": "COMPARE",
851
+ "effects": [
778
852
  [
779
853
  "set",
780
- "@entity.createdAt",
781
- "@payload.afterRow.createdAt"
854
+ "@entity.id",
855
+ "@payload.id"
782
856
  ],
783
857
  [
784
858
  "render-ui",
785
859
  "main",
786
860
  {
861
+ "type": "stack",
787
862
  "children": [
788
863
  {
789
- "gap": "sm",
790
- "type": "stack",
864
+ "align": "center",
791
865
  "children": [
866
+ {
867
+ "action": "CLOSE_VIEW",
868
+ "type": "button",
869
+ "label": "Back",
870
+ "variant": "ghost"
871
+ },
792
872
  {
793
873
  "type": "icon",
794
874
  "name": "git-compare"
795
875
  },
796
876
  {
797
877
  "type": "typography",
798
- "content": "Compare versions",
799
- "variant": "h3"
878
+ "variant": "h3",
879
+ "content": "Compare versions"
800
880
  }
801
881
  ],
802
- "direction": "horizontal"
882
+ "direction": "horizontal",
883
+ "type": "stack",
884
+ "gap": "sm"
803
885
  },
804
886
  {
805
887
  "type": "divider"
806
888
  },
807
889
  {
808
- "revisions": "@payload.revisions",
809
- "beforeId": "@payload.beforeId",
810
- "view": "side-by-side",
811
890
  "afterId": "@payload.afterId",
891
+ "type": "version-diff",
892
+ "beforeId": "@payload.beforeId",
812
893
  "onRevert": "ROLLBACK",
813
- "type": "version-diff"
894
+ "view": "side-by-side",
895
+ "revisions": "@payload.revisions"
814
896
  },
815
897
  {
816
- "icon": "arrow-left",
817
- "variant": "secondary",
818
- "action": "INIT",
819
- "type": "button",
820
- "label": "Back"
898
+ "type": "stack",
899
+ "align": "center",
900
+ "children": [
901
+ {
902
+ "type": "button",
903
+ "label": "Rollback",
904
+ "variant": "danger",
905
+ "action": "ROLLBACK",
906
+ "actionPayload": {
907
+ "id": "@entity.id"
908
+ }
909
+ }
910
+ ],
911
+ "direction": "horizontal",
912
+ "gap": "sm"
821
913
  }
822
914
  ],
823
915
  "direction": "vertical",
824
- "type": "stack",
825
916
  "gap": "md"
826
917
  }
827
918
  ]
828
919
  ]
829
920
  },
830
921
  {
831
- "from": "browsing",
832
- "to": "browsing",
922
+ "from": "viewing_single",
923
+ "to": "loading",
833
924
  "event": "ROLLBACK",
834
925
  "effects": [
835
926
  [
836
927
  "set",
837
928
  "@entity.id",
838
- "@payload.row.documentId"
839
- ],
840
- [
841
- "set",
842
- "@entity.documentId",
843
- "@payload.row.documentId"
844
- ],
845
- [
846
- "set",
847
- "@entity.documentType",
848
- "@payload.row.documentType"
849
- ],
850
- [
851
- "set",
852
- "@entity.versionNumber",
853
- "@payload.row.versionNumber"
854
- ],
855
- [
856
- "set",
857
- "@entity.authorId",
858
- "@payload.row.authorId"
859
- ],
860
- [
861
- "set",
862
- "@entity.authorName",
863
- "@payload.row.authorName"
929
+ "@payload.id"
864
930
  ],
865
931
  [
866
- "set",
867
- "@entity.content",
868
- "@payload.row.content"
869
- ],
870
- [
871
- "set",
872
- "@entity.summary",
873
- "@payload.row.summary"
874
- ],
875
- [
876
- "set",
877
- "@entity.createdAt",
878
- "@payload.row.createdAt"
879
- ],
880
- [
881
- "persist",
882
- "update",
932
+ "fetch",
883
933
  "Revision",
884
- "@entity",
885
934
  {
886
935
  "emit": {
887
- "failure": "RevisionRollbackFailed",
888
- "success": "RevisionRolledBack"
936
+ "success": "RevisionLoaded",
937
+ "failure": "RevisionLoadFailed"
889
938
  }
890
939
  }
940
+ ],
941
+ [
942
+ "render-ui",
943
+ "main",
944
+ {
945
+ "direction": "vertical",
946
+ "className": "py-12",
947
+ "gap": "md",
948
+ "children": [
949
+ {
950
+ "type": "spinner"
951
+ },
952
+ {
953
+ "variant": "caption",
954
+ "color": "muted",
955
+ "type": "typography",
956
+ "content": "Rolling back…"
957
+ }
958
+ ],
959
+ "type": "stack",
960
+ "align": "center"
961
+ }
891
962
  ]
892
963
  ]
893
964
  },
894
965
  {
895
- "from": "browsing",
966
+ "from": "comparing",
896
967
  "to": "loading",
897
- "event": "RevisionRolledBack",
968
+ "event": "CLOSE_VIEW",
898
969
  "effects": [
899
970
  [
900
971
  "fetch",
901
972
  "Revision",
902
973
  {
903
974
  "emit": {
904
- "failure": "RevisionLoadFailed",
905
- "success": "RevisionLoaded"
975
+ "success": "RevisionLoaded",
976
+ "failure": "RevisionLoadFailed"
906
977
  }
907
978
  }
908
- ]
909
- ]
910
- },
911
- {
912
- "from": "browsing",
913
- "to": "browsing",
914
- "event": "RevisionRollbackFailed",
915
- "effects": [
979
+ ],
916
980
  [
917
981
  "render-ui",
918
982
  "main",
919
983
  {
920
- "message": "@payload.error",
921
- "type": "alert",
922
- "variant": "error"
984
+ "type": "stack",
985
+ "direction": "vertical",
986
+ "align": "center",
987
+ "className": "py-12",
988
+ "children": [
989
+ {
990
+ "type": "spinner"
991
+ },
992
+ {
993
+ "type": "typography",
994
+ "color": "muted",
995
+ "variant": "caption",
996
+ "content": "Loading version history…"
997
+ }
998
+ ],
999
+ "gap": "md"
923
1000
  }
924
1001
  ]
925
1002
  ]
926
1003
  },
927
1004
  {
928
1005
  "from": "comparing",
929
- "to": "browsing",
1006
+ "to": "loading",
930
1007
  "event": "ROLLBACK",
931
1008
  "effects": [
932
1009
  [
933
1010
  "set",
934
1011
  "@entity.id",
935
- "@payload.row.documentId"
936
- ],
937
- [
938
- "set",
939
- "@entity.documentId",
940
- "@payload.row.documentId"
941
- ],
942
- [
943
- "set",
944
- "@entity.documentType",
945
- "@payload.row.documentType"
946
- ],
947
- [
948
- "set",
949
- "@entity.versionNumber",
950
- "@payload.row.versionNumber"
951
- ],
952
- [
953
- "set",
954
- "@entity.authorId",
955
- "@payload.row.authorId"
956
- ],
957
- [
958
- "set",
959
- "@entity.authorName",
960
- "@payload.row.authorName"
961
- ],
962
- [
963
- "set",
964
- "@entity.content",
965
- "@payload.row.content"
966
- ],
967
- [
968
- "set",
969
- "@entity.summary",
970
- "@payload.row.summary"
971
- ],
972
- [
973
- "set",
974
- "@entity.createdAt",
975
- "@payload.row.createdAt"
1012
+ "@payload.id"
976
1013
  ],
977
- [
978
- "persist",
979
- "update",
980
- "Revision",
981
- "@entity",
982
- {
983
- "emit": {
984
- "success": "RevisionRolledBack",
985
- "failure": "RevisionRollbackFailed"
986
- }
987
- }
988
- ]
989
- ]
990
- },
991
- {
992
- "from": "comparing",
993
- "to": "loading",
994
- "event": "RevisionRolledBack",
995
- "effects": [
996
1014
  [
997
1015
  "fetch",
998
1016
  "Revision",
999
1017
  {
1000
1018
  "emit": {
1001
- "success": "RevisionLoaded",
1002
- "failure": "RevisionLoadFailed"
1019
+ "failure": "RevisionLoadFailed",
1020
+ "success": "RevisionLoaded"
1003
1021
  }
1004
1022
  }
1005
- ]
1006
- ]
1007
- },
1008
- {
1009
- "from": "comparing",
1010
- "to": "comparing",
1011
- "event": "RevisionRollbackFailed",
1012
- "effects": [
1023
+ ],
1013
1024
  [
1014
1025
  "render-ui",
1015
1026
  "main",
1016
1027
  {
1017
- "variant": "error",
1018
- "message": "@payload.error",
1019
- "type": "alert"
1028
+ "className": "py-12",
1029
+ "align": "center",
1030
+ "gap": "md",
1031
+ "children": [
1032
+ {
1033
+ "type": "spinner"
1034
+ },
1035
+ {
1036
+ "content": "Rolling back…",
1037
+ "variant": "caption",
1038
+ "type": "typography",
1039
+ "color": "muted"
1040
+ }
1041
+ ],
1042
+ "direction": "vertical",
1043
+ "type": "stack"
1020
1044
  }
1021
1045
  ]
1022
1046
  ]
@@ -1040,8 +1064,8 @@
1040
1064
  "render-ui",
1041
1065
  "main",
1042
1066
  {
1043
- "size": "sm",
1044
- "type": "spinner"
1067
+ "type": "spinner",
1068
+ "size": "sm"
1045
1069
  }
1046
1070
  ]
1047
1071
  ]
@@ -1070,4 +1094,4 @@
1070
1094
  ]
1071
1095
  }
1072
1096
  ]
1073
- }
1097
+ }