@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-file-store",
3
3
  "version": "1.0.0",
4
- "description": "std-file-store — generic file + folder + metadata primitive consumed by document-mgmt, legal-case, and any organism that needs a file store. Fetches StoredFile rows on INIT and renders them in a data-grid with per-row Download/Archive actions.",
4
+ "description": "std-file-store — generic file + folder + metadata primitive. Browses files via file-tree + data-grid; opens file detail in `viewing_single` with Download / Archive actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "StoredFileOrbital",
@@ -68,6 +68,61 @@
68
68
  "category": "interaction",
69
69
  "linkedEntity": "StoredFile",
70
70
  "emits": [
71
+ {
72
+ "event": "OPEN_FILE",
73
+ "payloadSchema": [
74
+ {
75
+ "name": "id",
76
+ "type": "string",
77
+ "required": true
78
+ },
79
+ {
80
+ "name": "row.id",
81
+ "type": "string",
82
+ "required": true
83
+ },
84
+ {
85
+ "name": "row.name",
86
+ "type": "string",
87
+ "required": true
88
+ },
89
+ {
90
+ "name": "row.path",
91
+ "type": "string"
92
+ },
93
+ {
94
+ "name": "row.mimeType",
95
+ "type": "string"
96
+ },
97
+ {
98
+ "name": "row.sizeBytes",
99
+ "type": "number"
100
+ },
101
+ {
102
+ "name": "row.uploaderId",
103
+ "type": "string"
104
+ },
105
+ {
106
+ "name": "row.uploaderName",
107
+ "type": "string"
108
+ },
109
+ {
110
+ "name": "row.folder",
111
+ "type": "string"
112
+ },
113
+ {
114
+ "name": "row.uploadedAt",
115
+ "type": "string"
116
+ },
117
+ {
118
+ "name": "row.isArchived",
119
+ "type": "boolean"
120
+ }
121
+ ]
122
+ },
123
+ {
124
+ "event": "CLOSE_VIEW"
125
+ },
71
126
  {
72
127
  "event": "DOWNLOAD_FILE",
73
128
  "payloadSchema": [
@@ -120,6 +175,9 @@
120
175
  {
121
176
  "name": "browsing"
122
177
  },
178
+ {
179
+ "name": "viewing_single"
180
+ },
123
181
  {
124
182
  "name": "error"
125
183
  }
@@ -154,13 +212,17 @@
154
212
  ]
155
213
  },
156
214
  {
157
- "key": "DOWNLOAD_FILE",
158
- "name": "Download File",
215
+ "key": "OPEN_FILE",
216
+ "name": "Open File",
159
217
  "payloadSchema": [
160
218
  {
161
219
  "name": "id",
162
220
  "type": "string",
163
221
  "required": true
222
+ },
223
+ {
224
+ "name": "row",
225
+ "type": "StoredFile"
164
226
  }
165
227
  ]
166
228
  },
@@ -174,6 +236,21 @@
174
236
  "required": true
175
237
  }
176
238
  ]
239
+ },
240
+ {
241
+ "key": "CLOSE_VIEW",
242
+ "name": "Close View"
243
+ },
244
+ {
245
+ "key": "DOWNLOAD_FILE",
246
+ "name": "Download File",
247
+ "payloadSchema": [
248
+ {
249
+ "name": "id",
250
+ "type": "string",
251
+ "required": true
252
+ }
253
+ ]
177
254
  }
178
255
  ],
179
256
  "transitions": [
@@ -187,8 +264,8 @@
187
264
  "StoredFile",
188
265
  {
189
266
  "emit": {
190
- "failure": "StoredFileLoadFailed",
191
- "success": "StoredFileLoaded"
267
+ "success": "StoredFileLoaded",
268
+ "failure": "StoredFileLoadFailed"
192
269
  }
193
270
  }
194
271
  ],
@@ -196,22 +273,22 @@
196
273
  "render-ui",
197
274
  "main",
198
275
  {
199
- "gap": "md",
200
- "direction": "vertical",
276
+ "type": "stack",
201
277
  "children": [
202
278
  {
203
279
  "type": "spinner"
204
280
  },
205
281
  {
282
+ "content": "Loading files…",
206
283
  "type": "typography",
207
284
  "color": "muted",
208
- "content": "Loading files…",
209
285
  "variant": "caption"
210
286
  }
211
287
  ],
212
- "type": "stack",
213
288
  "align": "center",
214
- "className": "py-12"
289
+ "className": "py-12",
290
+ "gap": "md",
291
+ "direction": "vertical"
215
292
  }
216
293
  ]
217
294
  ]
@@ -225,189 +302,166 @@
225
302
  "render-ui",
226
303
  "main",
227
304
  {
228
- "direction": "vertical",
229
- "type": "stack",
230
305
  "gap": "md",
306
+ "direction": "vertical",
231
307
  "children": [
232
308
  {
233
- "content": "@config.title",
234
- "type": "typography",
235
- "variant": "h3"
309
+ "gap": "sm",
310
+ "direction": "horizontal",
311
+ "children": [
312
+ {
313
+ "name": "folder",
314
+ "type": "icon"
315
+ },
316
+ {
317
+ "variant": "h3",
318
+ "content": "@config.title",
319
+ "type": "typography"
320
+ }
321
+ ],
322
+ "type": "stack",
323
+ "align": "center"
236
324
  },
237
325
  {
238
- "items": [
326
+ "children": [
239
327
  {
240
- "href": "/",
241
- "label": "Workspace"
328
+ "type": "stat-display",
329
+ "label": "Total files",
330
+ "icon": "file",
331
+ "value": "@payload.data.length"
242
332
  },
243
333
  {
244
- "href": "/files",
245
- "label": "Files"
334
+ "label": "Folders",
335
+ "type": "stat-display",
336
+ "icon": "folder",
337
+ "value": "12"
246
338
  },
247
339
  {
248
- "label": "All Documents"
340
+ "value": "18",
341
+ "type": "stat-display",
342
+ "label": "Uploaded this week",
343
+ "icon": "upload"
344
+ },
345
+ {
346
+ "value": "4",
347
+ "type": "stat-display",
348
+ "icon": "archive",
349
+ "label": "Archived"
249
350
  }
250
351
  ],
251
- "type": "doc-breadcrumb"
352
+ "cols": 4.0,
353
+ "type": "simple-grid"
252
354
  },
253
355
  {
254
- "gap": "md",
255
- "children": [
356
+ "type": "divider"
357
+ },
358
+ {
359
+ "type": "file-tree",
360
+ "tree": [
256
361
  {
257
- "type": "file-tree",
258
- "tree": [
362
+ "type": "dir",
363
+ "path": "Contracts",
364
+ "name": "Contracts",
365
+ "children": [
259
366
  {
260
- "name": "Contracts",
261
- "children": [
262
- {
263
- "name": "Active.pdf"
264
- },
265
- {
266
- "name": "Archived.pdf"
267
- }
268
- ]
367
+ "name": "Active.pdf",
368
+ "path": "Active.pdf",
369
+ "type": "file"
269
370
  },
270
371
  {
271
- "children": [
272
- {
273
- "name": "HR.docx"
274
- },
275
- {
276
- "name": "Security.md"
277
- }
278
- ],
279
- "name": "Policies"
372
+ "type": "file",
373
+ "name": "Archived.pdf",
374
+ "path": "Archived.pdf"
375
+ }
376
+ ]
377
+ },
378
+ {
379
+ "children": [
380
+ {
381
+ "name": "HR.docx",
382
+ "path": "Policies/HR.docx",
383
+ "type": "file"
280
384
  },
281
385
  {
282
- "children": [
283
- {
284
- "name": "Invoice.docx"
285
- },
286
- {
287
- "name": "NDA.pdf"
288
- }
289
- ],
290
- "name": "Templates"
386
+ "type": "file",
387
+ "name": "Security.md",
388
+ "path": "Policies/Security.md"
291
389
  }
292
- ]
390
+ ],
391
+ "type": "dir",
392
+ "name": "Policies",
393
+ "path": "Policies"
293
394
  },
294
395
  {
295
- "type": "stack",
296
- "direction": "vertical",
297
- "gap": "sm",
396
+ "name": "Templates",
397
+ "path": "Templates",
398
+ "type": "dir",
298
399
  "children": [
299
400
  {
300
- "maxFiles": 5.0,
301
- "maxSize": 10485760.0,
302
- "icon": "upload",
303
- "label": "Drop files here",
304
- "description": "or click to browse",
305
- "type": "upload-drop-zone",
306
- "accept": "*/*"
401
+ "path": "Templates/Invoice.docx",
402
+ "name": "Invoice.docx",
403
+ "type": "file"
307
404
  },
308
405
  {
309
- "type": "accordion",
310
- "items": [
311
- {
312
- "title": "Recent Uploads",
313
- "id": "recent",
314
- "content": "Files uploaded in the last 7 days."
315
- },
316
- {
317
- "id": "shared",
318
- "title": "Shared With Me",
319
- "content": "Files shared by collaborators."
320
- },
321
- {
322
- "id": "starred",
323
- "content": "Files you have flagged for quick access.",
324
- "title": "Starred"
325
- }
326
- ]
406
+ "name": "NDA.pdf",
407
+ "path": "Templates/NDA.pdf",
408
+ "type": "file"
327
409
  }
328
410
  ]
329
411
  }
330
- ],
331
- "type": "stack",
332
- "direction": "horizontal"
412
+ ]
333
413
  },
334
414
  {
335
- "type": "tag-cloud",
336
- "variant": "primary",
337
- "tags": [
338
- {
339
- "label": "Contracts",
340
- "weight": 8.0
341
- },
342
- {
343
- "label": "Policies",
344
- "weight": 6.0
345
- },
346
- {
347
- "weight": 5.0,
348
- "label": "Templates"
349
- },
350
- {
351
- "weight": 3.0,
352
- "label": "Archive"
353
- },
354
- {
355
- "weight": 4.0,
356
- "label": "Drafts"
357
- },
358
- {
359
- "weight": 2.0,
360
- "label": "Public"
361
- }
362
- ]
415
+ "type": "divider"
363
416
  },
364
417
  {
365
- "entity": "@payload.data",
366
- "itemActions": [
367
- {
368
- "variant": "primary",
369
- "label": "Download",
370
- "event": "DOWNLOAD_FILE"
371
- },
372
- {
373
- "event": "ARCHIVE_FILE",
374
- "variant": "danger",
375
- "label": "Archive"
376
- }
377
- ],
378
- "type": "data-grid",
379
418
  "fields": [
380
419
  {
420
+ "variant": "caption",
381
421
  "name": "name",
382
422
  "label": "Name"
383
423
  },
384
424
  {
385
425
  "label": "Folder",
386
- "name": "folder"
426
+ "name": "folder",
427
+ "variant": "caption"
387
428
  },
388
429
  {
430
+ "variant": "badge",
389
431
  "label": "Type",
390
432
  "name": "mimeType"
391
433
  },
392
434
  {
393
435
  "name": "sizeBytes",
394
- "label": "Size"
436
+ "label": "Size",
437
+ "variant": "caption"
395
438
  },
396
439
  {
397
- "name": "uploadedAt",
398
- "label": "Uploaded"
440
+ "label": "Uploaded",
441
+ "variant": "caption",
442
+ "name": "uploadedAt"
399
443
  }
400
- ]
401
- },
402
- {
403
- "type": "pagination",
404
- "totalItems": 80.0,
405
- "showPageSize": false,
406
- "totalPages": 8.0,
407
- "showTotal": true,
408
- "currentPage": 1.0
444
+ ],
445
+ "gap": "sm",
446
+ "itemActions": [
447
+ {
448
+ "variant": "primary",
449
+ "event": "OPEN_FILE",
450
+ "icon": "arrow-right",
451
+ "label": "Open"
452
+ },
453
+ {
454
+ "label": "Archive",
455
+ "event": "ARCHIVE_FILE",
456
+ "variant": "danger"
457
+ }
458
+ ],
459
+ "cols": 1.0,
460
+ "type": "data-grid",
461
+ "entity": "@payload.data"
409
462
  }
410
- ]
463
+ ],
464
+ "type": "stack"
411
465
  }
412
466
  ]
413
467
  ]
@@ -422,36 +476,228 @@
422
476
  "main",
423
477
  {
424
478
  "message": "@payload.error",
425
- "type": "alert",
426
- "variant": "error"
479
+ "variant": "error",
480
+ "type": "alert"
427
481
  }
428
482
  ]
429
483
  ]
430
484
  },
431
485
  {
432
486
  "from": "browsing",
433
- "to": "browsing",
434
- "event": "DOWNLOAD_FILE",
487
+ "to": "viewing_single",
488
+ "event": "OPEN_FILE",
435
489
  "effects": [
436
490
  [
437
491
  "set",
438
492
  "@entity.id",
439
- "@payload.id"
493
+ "@payload.row.id"
494
+ ],
495
+ [
496
+ "set",
497
+ "@entity.name",
498
+ "@payload.row.name"
499
+ ],
500
+ [
501
+ "set",
502
+ "@entity.path",
503
+ "@payload.row.path"
504
+ ],
505
+ [
506
+ "set",
507
+ "@entity.mimeType",
508
+ "@payload.row.mimeType"
509
+ ],
510
+ [
511
+ "set",
512
+ "@entity.sizeBytes",
513
+ "@payload.row.sizeBytes"
514
+ ],
515
+ [
516
+ "set",
517
+ "@entity.uploaderId",
518
+ "@payload.row.uploaderId"
519
+ ],
520
+ [
521
+ "set",
522
+ "@entity.uploaderName",
523
+ "@payload.row.uploaderName"
524
+ ],
525
+ [
526
+ "set",
527
+ "@entity.folder",
528
+ "@payload.row.folder"
529
+ ],
530
+ [
531
+ "set",
532
+ "@entity.uploadedAt",
533
+ "@payload.row.uploadedAt"
534
+ ],
535
+ [
536
+ "set",
537
+ "@entity.isArchived",
538
+ "@payload.row.isArchived"
440
539
  ],
441
540
  [
442
541
  "render-ui",
443
542
  "main",
444
543
  {
445
- "variant": "info",
446
- "message": "Download requested",
447
- "type": "alert"
544
+ "type": "stack",
545
+ "gap": "md",
546
+ "children": [
547
+ {
548
+ "gap": "sm",
549
+ "type": "stack",
550
+ "align": "center",
551
+ "direction": "horizontal",
552
+ "children": [
553
+ {
554
+ "type": "button",
555
+ "label": "Back",
556
+ "variant": "ghost",
557
+ "action": "CLOSE_VIEW"
558
+ },
559
+ {
560
+ "type": "icon",
561
+ "name": "file"
562
+ },
563
+ {
564
+ "type": "typography",
565
+ "content": "@entity.name",
566
+ "variant": "h3"
567
+ },
568
+ {
569
+ "variant": "default",
570
+ "type": "badge",
571
+ "label": "@entity.mimeType"
572
+ }
573
+ ]
574
+ },
575
+ {
576
+ "type": "divider"
577
+ },
578
+ {
579
+ "children": [
580
+ {
581
+ "children": [
582
+ {
583
+ "color": "muted",
584
+ "content": "Folder",
585
+ "type": "typography",
586
+ "variant": "caption"
587
+ },
588
+ {
589
+ "content": "@entity.folder",
590
+ "type": "typography",
591
+ "variant": "body"
592
+ }
593
+ ],
594
+ "gap": "md",
595
+ "direction": "horizontal",
596
+ "type": "stack"
597
+ },
598
+ {
599
+ "children": [
600
+ {
601
+ "color": "muted",
602
+ "type": "typography",
603
+ "content": "Path",
604
+ "variant": "caption"
605
+ },
606
+ {
607
+ "content": "@entity.path",
608
+ "type": "typography",
609
+ "variant": "body"
610
+ }
611
+ ],
612
+ "gap": "md",
613
+ "direction": "horizontal",
614
+ "type": "stack"
615
+ },
616
+ {
617
+ "direction": "horizontal",
618
+ "type": "stack",
619
+ "gap": "md",
620
+ "children": [
621
+ {
622
+ "content": "Uploader",
623
+ "type": "typography",
624
+ "variant": "caption",
625
+ "color": "muted"
626
+ },
627
+ {
628
+ "type": "typography",
629
+ "variant": "body",
630
+ "content": "@entity.uploaderName"
631
+ }
632
+ ]
633
+ }
634
+ ],
635
+ "type": "stack",
636
+ "direction": "vertical",
637
+ "gap": "sm"
638
+ },
639
+ {
640
+ "type": "divider"
641
+ },
642
+ {
643
+ "children": [
644
+ {
645
+ "icon": "hard-drive",
646
+ "label": "Size",
647
+ "type": "stat-display",
648
+ "value": "@entity.sizeBytes"
649
+ },
650
+ {
651
+ "label": "Type",
652
+ "icon": "file",
653
+ "type": "stat-display",
654
+ "value": "@entity.mimeType"
655
+ },
656
+ {
657
+ "icon": "calendar",
658
+ "value": "@entity.uploadedAt",
659
+ "type": "stat-display",
660
+ "label": "Uploaded"
661
+ }
662
+ ],
663
+ "type": "simple-grid",
664
+ "cols": 3.0
665
+ },
666
+ {
667
+ "children": [
668
+ {
669
+ "actionPayload": {
670
+ "id": "@entity.id"
671
+ },
672
+ "label": "Download",
673
+ "variant": "primary",
674
+ "type": "button",
675
+ "action": "DOWNLOAD_FILE"
676
+ },
677
+ {
678
+ "actionPayload": {
679
+ "id": "@entity.id"
680
+ },
681
+ "type": "button",
682
+ "variant": "danger",
683
+ "action": "ARCHIVE_FILE",
684
+ "label": "Archive"
685
+ }
686
+ ],
687
+ "align": "center",
688
+ "direction": "horizontal",
689
+ "gap": "sm",
690
+ "type": "stack"
691
+ }
692
+ ],
693
+ "direction": "vertical"
448
694
  }
449
695
  ]
450
696
  ]
451
697
  },
452
698
  {
453
699
  "from": "browsing",
454
- "to": "browsing",
700
+ "to": "loading",
455
701
  "event": "ARCHIVE_FILE",
456
702
  "effects": [
457
703
  [
@@ -459,21 +705,44 @@
459
705
  "@entity.id",
460
706
  "@payload.id"
461
707
  ],
708
+ [
709
+ "fetch",
710
+ "StoredFile",
711
+ {
712
+ "emit": {
713
+ "success": "StoredFileLoaded",
714
+ "failure": "StoredFileLoadFailed"
715
+ }
716
+ }
717
+ ],
462
718
  [
463
719
  "render-ui",
464
720
  "main",
465
721
  {
466
- "type": "alert",
467
- "variant": "info",
468
- "message": "Archive requested"
722
+ "className": "py-12",
723
+ "children": [
724
+ {
725
+ "type": "spinner"
726
+ },
727
+ {
728
+ "type": "typography",
729
+ "variant": "caption",
730
+ "content": "Archiving file…",
731
+ "color": "muted"
732
+ }
733
+ ],
734
+ "type": "stack",
735
+ "direction": "vertical",
736
+ "gap": "md",
737
+ "align": "center"
469
738
  }
470
739
  ]
471
740
  ]
472
741
  },
473
742
  {
474
- "from": "error",
743
+ "from": "viewing_single",
475
744
  "to": "loading",
476
- "event": "INIT",
745
+ "event": "CLOSE_VIEW",
477
746
  "effects": [
478
747
  [
479
748
  "fetch",
@@ -491,7 +760,7 @@
491
760
  {
492
761
  "gap": "md",
493
762
  "align": "center",
494
- "direction": "vertical",
763
+ "type": "stack",
495
764
  "className": "py-12",
496
765
  "children": [
497
766
  {
@@ -499,12 +768,125 @@
499
768
  },
500
769
  {
501
770
  "type": "typography",
771
+ "color": "muted",
502
772
  "content": "Loading files…",
773
+ "variant": "caption"
774
+ }
775
+ ],
776
+ "direction": "vertical"
777
+ }
778
+ ]
779
+ ]
780
+ },
781
+ {
782
+ "from": "viewing_single",
783
+ "to": "loading",
784
+ "event": "DOWNLOAD_FILE",
785
+ "effects": [
786
+ [
787
+ "set",
788
+ "@entity.id",
789
+ "@payload.id"
790
+ ],
791
+ [
792
+ "fetch",
793
+ "StoredFile",
794
+ {
795
+ "emit": {
796
+ "success": "StoredFileLoaded",
797
+ "failure": "StoredFileLoadFailed"
798
+ }
799
+ }
800
+ ],
801
+ [
802
+ "render-ui",
803
+ "main",
804
+ {
805
+ "direction": "vertical",
806
+ "gap": "md",
807
+ "type": "stack",
808
+ "align": "center",
809
+ "className": "py-12",
810
+ "children": [
811
+ {
812
+ "type": "spinner"
813
+ },
814
+ {
815
+ "type": "typography",
816
+ "color": "muted",
503
817
  "variant": "caption",
504
- "color": "muted"
818
+ "content": "Preparing download…"
819
+ }
820
+ ]
821
+ }
822
+ ]
823
+ ]
824
+ },
825
+ {
826
+ "from": "viewing_single",
827
+ "to": "loading",
828
+ "event": "ARCHIVE_FILE",
829
+ "effects": [
830
+ [
831
+ "set",
832
+ "@entity.id",
833
+ "@payload.id"
834
+ ],
835
+ [
836
+ "fetch",
837
+ "StoredFile",
838
+ {
839
+ "emit": {
840
+ "success": "StoredFileLoaded",
841
+ "failure": "StoredFileLoadFailed"
842
+ }
843
+ }
844
+ ],
845
+ [
846
+ "render-ui",
847
+ "main",
848
+ {
849
+ "align": "center",
850
+ "gap": "md",
851
+ "children": [
852
+ {
853
+ "type": "spinner"
854
+ },
855
+ {
856
+ "type": "typography",
857
+ "content": "Archiving file…",
858
+ "color": "muted",
859
+ "variant": "caption"
505
860
  }
506
861
  ],
507
- "type": "stack"
862
+ "type": "stack",
863
+ "className": "py-12",
864
+ "direction": "vertical"
865
+ }
866
+ ]
867
+ ]
868
+ },
869
+ {
870
+ "from": "error",
871
+ "to": "loading",
872
+ "event": "INIT",
873
+ "effects": [
874
+ [
875
+ "fetch",
876
+ "StoredFile",
877
+ {
878
+ "emit": {
879
+ "success": "StoredFileLoaded",
880
+ "failure": "StoredFileLoadFailed"
881
+ }
882
+ }
883
+ ],
884
+ [
885
+ "render-ui",
886
+ "main",
887
+ {
888
+ "type": "spinner",
889
+ "size": "sm"
508
890
  }
509
891
  ]
510
892
  ]
@@ -533,4 +915,4 @@
533
915
  ]
534
916
  }
535
917
  ]
536
- }
918
+ }