@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-rich-editor",
3
3
  "version": "1.0.0",
4
- "description": "std-rich-editor — wiki / CMS Notion-style block editor. Owns a Document entity (page / doc / post) with a serialized RichBlock[] payload, browses documents in a data-grid, opens the rich-block-editor on a selected row, and persists block edits + publish status back to the row.",
4
+ "description": "std-rich-editor — wiki/CMS Notion-style block editor. Browses documents in `browsing`; opens the rich-block-editor on a selected row; persists block edits + publish status.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "DocumentOrbital",
@@ -80,7 +80,7 @@
80
80
  "event": "OPEN",
81
81
  "payloadSchema": [
82
82
  {
83
- "name": "documentId",
83
+ "name": "id",
84
84
  "type": "string",
85
85
  "required": true
86
86
  },
@@ -128,6 +128,9 @@
128
128
  }
129
129
  ]
130
130
  },
131
+ {
132
+ "event": "CLOSE_VIEW"
133
+ },
131
134
  {
132
135
  "event": "BLOCKS_CHANGE",
133
136
  "payloadSchema": [
@@ -141,13 +144,9 @@
141
144
  "event": "SAVE",
142
145
  "payloadSchema": [
143
146
  {
144
- "name": "documentId",
147
+ "name": "id",
145
148
  "type": "string",
146
149
  "required": true
147
- },
148
- {
149
- "name": "blocks",
150
- "type": "[object]"
151
150
  }
152
151
  ]
153
152
  },
@@ -155,51 +154,9 @@
155
154
  "event": "PUBLISH",
156
155
  "payloadSchema": [
157
156
  {
158
- "name": "documentId",
159
- "type": "string",
160
- "required": true
161
- },
162
- {
163
- "name": "row.id",
164
- "type": "string",
165
- "required": true
166
- },
167
- {
168
- "name": "row.title",
157
+ "name": "id",
169
158
  "type": "string",
170
159
  "required": true
171
- },
172
- {
173
- "name": "row.blocksJson",
174
- "type": "[object]"
175
- },
176
- {
177
- "name": "row.authorId",
178
- "type": "string"
179
- },
180
- {
181
- "name": "row.parentId",
182
- "type": "string"
183
- },
184
- {
185
- "name": "row.kind",
186
- "type": "string"
187
- },
188
- {
189
- "name": "row.status",
190
- "type": "string"
191
- },
192
- {
193
- "name": "row.version",
194
- "type": "number"
195
- },
196
- {
197
- "name": "row.createdAt",
198
- "type": "string"
199
- },
200
- {
201
- "name": "row.updatedAt",
202
- "type": "string"
203
160
  }
204
161
  ]
205
162
  },
@@ -364,6 +321,40 @@
364
321
  }
365
322
  ]
366
323
  },
324
+ {
325
+ "key": "DocumentSaved",
326
+ "name": "Document saved",
327
+ "payloadSchema": [
328
+ {
329
+ "name": "row",
330
+ "type": "Document"
331
+ }
332
+ ]
333
+ },
334
+ {
335
+ "key": "DocumentPublished",
336
+ "name": "Document published",
337
+ "payloadSchema": [
338
+ {
339
+ "name": "row",
340
+ "type": "Document"
341
+ }
342
+ ]
343
+ },
344
+ {
345
+ "key": "DocumentSaveFailed",
346
+ "name": "Document save failed",
347
+ "payloadSchema": [
348
+ {
349
+ "name": "error",
350
+ "type": "string"
351
+ },
352
+ {
353
+ "name": "code",
354
+ "type": "string"
355
+ }
356
+ ]
357
+ },
367
358
  {
368
359
  "key": "DocumentLoadFailed",
369
360
  "name": "Document load failed",
@@ -383,7 +374,7 @@
383
374
  "name": "Open",
384
375
  "payloadSchema": [
385
376
  {
386
- "name": "documentId",
377
+ "name": "id",
387
378
  "type": "string",
388
379
  "required": true
389
380
  },
@@ -398,13 +389,9 @@
398
389
  "name": "Publish",
399
390
  "payloadSchema": [
400
391
  {
401
- "name": "documentId",
392
+ "name": "id",
402
393
  "type": "string",
403
394
  "required": true
404
- },
405
- {
406
- "name": "row",
407
- "type": "Document"
408
395
  }
409
396
  ]
410
397
  },
@@ -418,52 +405,18 @@
418
405
  }
419
406
  ]
420
407
  },
408
+ {
409
+ "key": "CLOSE_VIEW",
410
+ "name": "Close View"
411
+ },
421
412
  {
422
413
  "key": "SAVE",
423
414
  "name": "Save",
424
415
  "payloadSchema": [
425
416
  {
426
- "name": "documentId",
417
+ "name": "id",
427
418
  "type": "string",
428
419
  "required": true
429
- },
430
- {
431
- "name": "blocks",
432
- "type": "[object]"
433
- }
434
- ]
435
- },
436
- {
437
- "key": "DocumentSaved",
438
- "name": "Document saved",
439
- "payloadSchema": [
440
- {
441
- "name": "row",
442
- "type": "Document"
443
- }
444
- ]
445
- },
446
- {
447
- "key": "DocumentPublished",
448
- "name": "Document published",
449
- "payloadSchema": [
450
- {
451
- "name": "row",
452
- "type": "Document"
453
- }
454
- ]
455
- },
456
- {
457
- "key": "DocumentSaveFailed",
458
- "name": "Document save failed",
459
- "payloadSchema": [
460
- {
461
- "name": "error",
462
- "type": "string"
463
- },
464
- {
465
- "name": "code",
466
- "type": "string"
467
420
  }
468
421
  ]
469
422
  }
@@ -479,8 +432,8 @@
479
432
  "Document",
480
433
  {
481
434
  "emit": {
482
- "failure": "DocumentLoadFailed",
483
- "success": "DocumentLoaded"
435
+ "success": "DocumentLoaded",
436
+ "failure": "DocumentLoadFailed"
484
437
  }
485
438
  }
486
439
  ],
@@ -488,22 +441,22 @@
488
441
  "render-ui",
489
442
  "main",
490
443
  {
491
- "direction": "vertical",
492
- "gap": "md",
493
444
  "type": "stack",
494
445
  "className": "py-12",
495
- "align": "center",
496
446
  "children": [
497
447
  {
498
448
  "type": "spinner"
499
449
  },
500
450
  {
501
- "type": "typography",
502
451
  "color": "muted",
503
- "content": "Loading documents…",
504
- "variant": "caption"
452
+ "type": "typography",
453
+ "variant": "caption",
454
+ "content": "Loading documents…"
505
455
  }
506
- ]
456
+ ],
457
+ "gap": "md",
458
+ "direction": "vertical",
459
+ "align": "center"
507
460
  }
508
461
  ]
509
462
  ]
@@ -518,22 +471,14 @@
518
471
  "main",
519
472
  {
520
473
  "type": "stack",
474
+ "direction": "vertical",
475
+ "gap": "md",
521
476
  "children": [
522
477
  {
523
- "type": "book-cover-page",
524
- "subtitle": "Wiki / CMS Notion-style Docs",
525
- "author": "Team Knowledge Base",
526
- "title": "@config.title",
527
- "coverImageUrl": "https://picsum.photos/seed/notes-cover/1200/400"
528
- },
529
- {
530
- "chapterTitle": "Getting Started",
531
- "totalPages": 24.0,
532
- "type": "book-nav-bar",
533
- "currentPage": 1.0
534
- },
535
- {
478
+ "gap": "sm",
536
479
  "direction": "horizontal",
480
+ "type": "stack",
481
+ "align": "center",
537
482
  "children": [
538
483
  {
539
484
  "type": "icon",
@@ -544,178 +489,73 @@
544
489
  "type": "typography",
545
490
  "content": "@config.title"
546
491
  }
547
- ],
548
- "gap": "sm",
549
- "type": "stack"
550
- },
551
- {
552
- "type": "doc-toc",
553
- "items": [
554
- {
555
- "id": "intro",
556
- "level": 1.0,
557
- "label": "Introduction"
558
- },
559
- {
560
- "label": "Block Types",
561
- "id": "blocks",
562
- "level": 1.0
563
- },
564
- {
565
- "label": "Publishing Workflow",
566
- "id": "publish",
567
- "level": 1.0
568
- },
569
- {
570
- "level": 2.0,
571
- "id": "archive",
572
- "label": "Archived Docs"
573
- }
574
- ],
575
- "activeId": "blocks"
492
+ ]
576
493
  },
577
494
  {
578
- "type": "tag-cloud",
579
- "tags": [
580
- {
581
- "weight": 9.0,
582
- "label": "Engineering"
583
- },
584
- {
585
- "label": "Product",
586
- "weight": 7.0
587
- },
588
- {
589
- "label": "Design",
590
- "weight": 6.0
591
- },
592
- {
593
- "label": "Operations",
594
- "weight": 4.0
595
- },
495
+ "children": [
596
496
  {
597
- "label": "Onboarding",
598
- "weight": 5.0
497
+ "label": "Total docs",
498
+ "icon": "file-text",
499
+ "value": "@payload.data.length",
500
+ "type": "stat-display"
599
501
  },
600
502
  {
601
- "weight": 3.0,
602
- "label": "Runbooks"
603
- }
604
- ],
605
- "variant": "primary"
606
- },
607
- {
608
- "type": "accordion",
609
- "items": [
610
- {
611
- "id": "drafts",
612
- "content": "All in-progress documents that have not yet been published.",
613
- "title": "Drafts"
503
+ "value": "12",
504
+ "type": "stat-display",
505
+ "icon": "edit-3",
506
+ "label": "Drafts"
614
507
  },
615
508
  {
616
- "title": "Published",
617
- "content": "Documents visible to readers across the workspace.",
618
- "id": "published"
509
+ "icon": "check-circle",
510
+ "type": "stat-display",
511
+ "label": "Published",
512
+ "value": "84"
619
513
  },
620
514
  {
621
- "content": "Read-only legacy documents preserved for historical reference.",
622
- "id": "archived",
623
- "title": "Archived"
624
- }
625
- ]
626
- },
627
- {
628
- "type": "pull-quote",
629
- "children": "Documents are the long-term memory of the organization."
630
- },
631
- {
632
- "content": "Welcome to the wiki workspace.",
633
- "type": "markdown-content",
634
- "direction": "ltr"
635
- },
636
- {
637
- "chapter": {
638
- "body": "This chapter walks through composing your first document and publishing it to the workspace.",
639
- "title": "Introduction",
640
- "number": 1.0,
641
- "id": "intro"
642
- },
643
- "type": "book-chapter-view"
644
- },
645
- {
646
- "type": "code-block",
647
- "language": "javascript",
648
- "showCopyButton": true,
649
- "showLanguageBadge": true,
650
- "code": "const greet = name => 'Hello ' + name",
651
- "foldable": true
652
- },
653
- {
654
- "showLineNumbers": true,
655
- "language": "json",
656
- "type": "doc-code-block",
657
- "title": "Sample document payload",
658
- "code": "title: Release Notes, version: 1.2.0, status: published"
659
- },
660
- {
661
- "data": {
662
- "version": 12.0,
663
- "kind": "document",
664
- "blocks": 7.0,
665
- "status": "published"
666
- },
667
- "label": "Inspect document JSON",
668
- "type": "code-view",
669
- "defaultExpanded": false
670
- },
671
- {
672
- "children": [
673
- {
674
- "content": "Pro tip: pin the most-edited document to the workspace home for one-click access.",
675
- "variant": "body",
676
- "type": "typography"
515
+ "label": "Archived",
516
+ "icon": "archive",
517
+ "type": "stat-display",
518
+ "value": "9"
677
519
  }
678
520
  ],
679
- "highlightType": "note",
680
- "annotationId": "tip-1",
681
- "type": "text-highlight"
521
+ "cols": 4.0,
522
+ "type": "simple-grid"
682
523
  },
683
524
  {
684
525
  "type": "divider"
685
526
  },
686
527
  {
687
- "entity": "@payload.data",
688
528
  "gap": "sm",
529
+ "type": "data-grid",
689
530
  "itemActions": [
690
531
  {
691
- "label": "Open",
692
- "icon": "edit",
693
532
  "variant": "primary",
533
+ "icon": "edit",
534
+ "label": "Open",
694
535
  "event": "OPEN"
695
536
  },
696
537
  {
697
- "icon": "send",
698
538
  "variant": "secondary",
699
539
  "label": "Publish",
700
- "event": "PUBLISH"
540
+ "event": "PUBLISH",
541
+ "icon": "send"
701
542
  }
702
543
  ],
703
- "cols": 1.0,
704
- "type": "data-grid",
544
+ "entity": "@payload.data",
705
545
  "fields": [
706
546
  {
707
- "name": "title",
708
547
  "label": "Title",
709
- "variant": "caption"
548
+ "variant": "caption",
549
+ "name": "title"
710
550
  },
711
551
  {
552
+ "variant": "badge",
712
553
  "name": "kind",
713
- "label": "Kind",
714
- "variant": "badge"
554
+ "label": "Kind"
715
555
  },
716
556
  {
717
- "label": "Status",
718
557
  "name": "status",
558
+ "label": "Status",
719
559
  "variant": "badge"
720
560
  },
721
561
  {
@@ -724,15 +564,48 @@
724
564
  "name": "version"
725
565
  },
726
566
  {
567
+ "variant": "caption",
727
568
  "name": "updatedAt",
728
- "label": "Updated",
729
- "variant": "caption"
569
+ "label": "Updated"
730
570
  }
731
- ]
571
+ ],
572
+ "cols": 1.0
732
573
  }
733
- ],
734
- "gap": "md",
735
- "direction": "vertical"
574
+ ]
575
+ }
576
+ ]
577
+ ]
578
+ },
579
+ {
580
+ "from": "loading",
581
+ "to": "loading",
582
+ "event": "DocumentSaved",
583
+ "effects": [
584
+ [
585
+ "fetch",
586
+ "Document",
587
+ {
588
+ "emit": {
589
+ "success": "DocumentLoaded",
590
+ "failure": "DocumentLoadFailed"
591
+ }
592
+ }
593
+ ]
594
+ ]
595
+ },
596
+ {
597
+ "from": "loading",
598
+ "to": "loading",
599
+ "event": "DocumentPublished",
600
+ "effects": [
601
+ [
602
+ "fetch",
603
+ "Document",
604
+ {
605
+ "emit": {
606
+ "success": "DocumentLoaded",
607
+ "failure": "DocumentLoadFailed"
608
+ }
736
609
  }
737
610
  ]
738
611
  ]
@@ -740,7 +613,7 @@
740
613
  {
741
614
  "from": "loading",
742
615
  "to": "error",
743
- "event": "DocumentLoadFailed",
616
+ "event": "DocumentSaveFailed",
744
617
  "effects": [
745
618
  [
746
619
  "render-ui",
@@ -754,14 +627,30 @@
754
627
  ]
755
628
  },
756
629
  {
757
- "from": "browsing",
758
- "to": "editing",
759
- "event": "OPEN",
630
+ "from": "loading",
631
+ "to": "error",
632
+ "event": "DocumentLoadFailed",
633
+ "effects": [
634
+ [
635
+ "render-ui",
636
+ "main",
637
+ {
638
+ "type": "alert",
639
+ "message": "@payload.error",
640
+ "variant": "error"
641
+ }
642
+ ]
643
+ ]
644
+ },
645
+ {
646
+ "from": "browsing",
647
+ "to": "editing",
648
+ "event": "OPEN",
760
649
  "effects": [
761
650
  [
762
651
  "set",
763
652
  "@entity.id",
764
- "@payload.documentId"
653
+ "@payload.row.id"
765
654
  ],
766
655
  [
767
656
  "set",
@@ -812,61 +701,73 @@
812
701
  "render-ui",
813
702
  "main",
814
703
  {
815
- "gap": "md",
816
- "direction": "vertical",
817
704
  "type": "stack",
705
+ "direction": "vertical",
706
+ "gap": "md",
818
707
  "children": [
819
708
  {
820
- "gap": "sm",
821
- "direction": "horizontal",
822
709
  "children": [
823
710
  {
824
- "type": "icon",
825
- "name": "file-text"
711
+ "variant": "ghost",
712
+ "action": "CLOSE_VIEW",
713
+ "type": "button",
714
+ "label": "Back"
715
+ },
716
+ {
717
+ "name": "file-text",
718
+ "type": "icon"
826
719
  },
827
720
  {
721
+ "type": "typography",
828
722
  "content": "@entity.title",
829
- "variant": "h3",
830
- "type": "typography"
723
+ "variant": "h3"
831
724
  },
832
725
  {
833
- "label": "@entity.status",
834
726
  "variant": "secondary",
727
+ "label": "@entity.status",
835
728
  "type": "badge"
836
729
  }
837
730
  ],
731
+ "direction": "horizontal",
732
+ "gap": "sm",
733
+ "align": "center",
838
734
  "type": "stack"
839
735
  },
840
736
  {
841
737
  "type": "divider"
842
738
  },
843
739
  {
844
- "type": "rich-block-editor",
845
- "initialBlocks": "@entity.blocksJson",
846
- "changeEvent": "BLOCKS_CHANGE",
847
740
  "placeholder": "Start writing…",
848
- "showToolbar": true
741
+ "changeEvent": "BLOCKS_CHANGE",
742
+ "type": "rich-block-editor",
743
+ "showToolbar": true,
744
+ "initialBlocks": "@entity.blocksJson"
849
745
  },
850
746
  {
851
- "gap": "sm",
852
- "direction": "horizontal",
747
+ "type": "stack",
853
748
  "children": [
854
749
  {
855
- "icon": "save",
750
+ "type": "button",
856
751
  "label": "Save",
752
+ "actionPayload": {
753
+ "id": "@entity.id"
754
+ },
857
755
  "action": "SAVE",
858
- "variant": "primary",
859
- "type": "button"
756
+ "variant": "primary"
860
757
  },
861
758
  {
862
- "action": "PUBLISH",
759
+ "type": "button",
863
760
  "label": "Publish",
864
761
  "variant": "secondary",
865
- "icon": "send",
866
- "type": "button"
762
+ "action": "PUBLISH",
763
+ "actionPayload": {
764
+ "id": "@entity.id"
765
+ }
867
766
  }
868
767
  ],
869
- "type": "stack"
768
+ "align": "center",
769
+ "direction": "horizontal",
770
+ "gap": "sm"
870
771
  }
871
772
  ]
872
773
  }
@@ -875,70 +776,45 @@
875
776
  },
876
777
  {
877
778
  "from": "browsing",
878
- "to": "browsing",
779
+ "to": "loading",
879
780
  "event": "PUBLISH",
880
781
  "effects": [
881
782
  [
882
783
  "set",
883
784
  "@entity.id",
884
- "@payload.documentId"
885
- ],
886
- [
887
- "set",
888
- "@entity.title",
889
- "@payload.row.title"
890
- ],
891
- [
892
- "set",
893
- "@entity.blocksJson",
894
- "@payload.row.blocksJson"
785
+ "@payload.id"
895
786
  ],
896
787
  [
897
- "set",
898
- "@entity.authorId",
899
- "@payload.row.authorId"
900
- ],
901
- [
902
- "set",
903
- "@entity.parentId",
904
- "@payload.row.parentId"
905
- ],
906
- [
907
- "set",
908
- "@entity.kind",
909
- "@payload.row.kind"
910
- ],
911
- [
912
- "set",
913
- "@entity.status",
914
- "published"
915
- ],
916
- [
917
- "set",
918
- "@entity.version",
919
- "@payload.row.version"
920
- ],
921
- [
922
- "set",
923
- "@entity.createdAt",
924
- "@payload.row.createdAt"
925
- ],
926
- [
927
- "set",
928
- "@entity.updatedAt",
929
- "@payload.row.updatedAt"
930
- ],
931
- [
932
- "persist",
933
- "update",
788
+ "fetch",
934
789
  "Document",
935
- "@entity",
936
790
  {
937
791
  "emit": {
938
- "failure": "DocumentSaveFailed",
939
- "success": "DocumentPublished"
792
+ "failure": "DocumentLoadFailed",
793
+ "success": "DocumentLoaded"
940
794
  }
941
795
  }
796
+ ],
797
+ [
798
+ "render-ui",
799
+ "main",
800
+ {
801
+ "align": "center",
802
+ "children": [
803
+ {
804
+ "type": "spinner"
805
+ },
806
+ {
807
+ "variant": "caption",
808
+ "color": "muted",
809
+ "content": "Publishing document…",
810
+ "type": "typography"
811
+ }
812
+ ],
813
+ "type": "stack",
814
+ "direction": "vertical",
815
+ "className": "py-12",
816
+ "gap": "md"
817
+ }
942
818
  ]
943
819
  ]
944
820
  },
@@ -956,87 +832,52 @@
956
832
  },
957
833
  {
958
834
  "from": "editing",
959
- "to": "editing",
960
- "event": "SAVE",
835
+ "to": "loading",
836
+ "event": "CLOSE_VIEW",
961
837
  "effects": [
962
838
  [
963
- "set",
964
- "@entity.id",
965
- "@payload.documentId"
966
- ],
967
- [
968
- "set",
969
- "@entity.blocksJson",
970
- "@payload.blocks"
971
- ],
972
- [
973
- "persist",
974
- "update",
839
+ "fetch",
975
840
  "Document",
976
- "@entity",
977
841
  {
978
842
  "emit": {
979
- "failure": "DocumentSaveFailed",
980
- "success": "DocumentSaved"
843
+ "success": "DocumentLoaded",
844
+ "failure": "DocumentLoadFailed"
981
845
  }
982
846
  }
847
+ ],
848
+ [
849
+ "render-ui",
850
+ "main",
851
+ {
852
+ "children": [
853
+ {
854
+ "type": "spinner"
855
+ },
856
+ {
857
+ "color": "muted",
858
+ "content": "Loading documents…",
859
+ "variant": "caption",
860
+ "type": "typography"
861
+ }
862
+ ],
863
+ "className": "py-12",
864
+ "gap": "md",
865
+ "align": "center",
866
+ "type": "stack",
867
+ "direction": "vertical"
868
+ }
983
869
  ]
984
870
  ]
985
871
  },
986
872
  {
987
873
  "from": "editing",
988
- "to": "editing",
989
- "event": "PUBLISH",
874
+ "to": "loading",
875
+ "event": "SAVE",
990
876
  "effects": [
991
877
  [
992
878
  "set",
993
879
  "@entity.id",
994
- "@payload.documentId"
995
- ],
996
- [
997
- "set",
998
- "@entity.title",
999
- "@payload.row.title"
1000
- ],
1001
- [
1002
- "set",
1003
- "@entity.blocksJson",
1004
- "@payload.row.blocksJson"
1005
- ],
1006
- [
1007
- "set",
1008
- "@entity.authorId",
1009
- "@payload.row.authorId"
1010
- ],
1011
- [
1012
- "set",
1013
- "@entity.parentId",
1014
- "@payload.row.parentId"
1015
- ],
1016
- [
1017
- "set",
1018
- "@entity.kind",
1019
- "@payload.row.kind"
1020
- ],
1021
- [
1022
- "set",
1023
- "@entity.status",
1024
- "published"
1025
- ],
1026
- [
1027
- "set",
1028
- "@entity.version",
1029
- "@payload.row.version"
1030
- ],
1031
- [
1032
- "set",
1033
- "@entity.createdAt",
1034
- "@payload.row.createdAt"
1035
- ],
1036
- [
1037
- "set",
1038
- "@entity.updatedAt",
1039
- "@payload.row.updatedAt"
880
+ "@payload.id"
1040
881
  ],
1041
882
  [
1042
883
  "persist",
@@ -1045,25 +886,31 @@
1045
886
  "@entity",
1046
887
  {
1047
888
  "emit": {
1048
- "success": "DocumentPublished",
889
+ "success": "DocumentSaved",
1049
890
  "failure": "DocumentSaveFailed"
1050
891
  }
1051
892
  }
1052
- ]
1053
- ]
1054
- },
1055
- {
1056
- "from": "editing",
1057
- "to": "editing",
1058
- "event": "DocumentSaved",
1059
- "effects": [
893
+ ],
1060
894
  [
1061
895
  "render-ui",
1062
896
  "main",
1063
897
  {
1064
- "message": "Saved",
1065
- "variant": "success",
1066
- "type": "alert"
898
+ "children": [
899
+ {
900
+ "type": "spinner"
901
+ },
902
+ {
903
+ "type": "typography",
904
+ "color": "muted",
905
+ "content": "Saving document…",
906
+ "variant": "caption"
907
+ }
908
+ ],
909
+ "gap": "md",
910
+ "type": "stack",
911
+ "direction": "vertical",
912
+ "align": "center",
913
+ "className": "py-12"
1067
914
  }
1068
915
  ]
1069
916
  ]
@@ -1071,32 +918,50 @@
1071
918
  {
1072
919
  "from": "editing",
1073
920
  "to": "loading",
1074
- "event": "DocumentPublished",
921
+ "event": "PUBLISH",
1075
922
  "effects": [
1076
923
  [
1077
- "fetch",
924
+ "set",
925
+ "@entity.id",
926
+ "@payload.id"
927
+ ],
928
+ [
929
+ "set",
930
+ "@entity.status",
931
+ "published"
932
+ ],
933
+ [
934
+ "persist",
935
+ "update",
1078
936
  "Document",
937
+ "@entity",
1079
938
  {
1080
939
  "emit": {
1081
- "failure": "DocumentLoadFailed",
1082
- "success": "DocumentLoaded"
940
+ "success": "DocumentPublished",
941
+ "failure": "DocumentSaveFailed"
1083
942
  }
1084
943
  }
1085
- ]
1086
- ]
1087
- },
1088
- {
1089
- "from": "editing",
1090
- "to": "editing",
1091
- "event": "DocumentSaveFailed",
1092
- "effects": [
944
+ ],
1093
945
  [
1094
946
  "render-ui",
1095
947
  "main",
1096
948
  {
1097
- "type": "alert",
1098
- "variant": "error",
1099
- "message": "@payload.error"
949
+ "type": "stack",
950
+ "className": "py-12",
951
+ "gap": "md",
952
+ "direction": "vertical",
953
+ "align": "center",
954
+ "children": [
955
+ {
956
+ "type": "spinner"
957
+ },
958
+ {
959
+ "color": "muted",
960
+ "type": "typography",
961
+ "content": "Publishing document…",
962
+ "variant": "caption"
963
+ }
964
+ ]
1100
965
  }
1101
966
  ]
1102
967
  ]
@@ -1120,8 +985,8 @@
1120
985
  "render-ui",
1121
986
  "main",
1122
987
  {
1123
- "type": "spinner",
1124
- "size": "sm"
988
+ "size": "sm",
989
+ "type": "spinner"
1125
990
  }
1126
991
  ]
1127
992
  ]
@@ -1150,4 +1015,4 @@
1150
1015
  ]
1151
1016
  }
1152
1017
  ]
1153
- }
1018
+ }