@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-reorder-rule",
3
3
  "version": "1.0.0",
4
- "description": "std-reorder-rule — automatic stock-replenishment rule for a SKU at a location. Owns a ReorderRule entity and a single manager trait that loads rules, renders them in a data-grid, and surfaces Enable / Disable actions per row.",
4
+ "description": "std-reorder-rule — automatic stock-replenishment rule per SKU/location. Lists rules in `browsing`; opens detail in `viewing_single` with Enable / Disable actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "ReorderRuleOrbital",
@@ -58,6 +58,53 @@
58
58
  "category": "interaction",
59
59
  "linkedEntity": "ReorderRule",
60
60
  "emits": [
61
+ {
62
+ "event": "OPEN_RULE",
63
+ "payloadSchema": [
64
+ {
65
+ "name": "id",
66
+ "type": "string",
67
+ "required": true
68
+ },
69
+ {
70
+ "name": "row.id",
71
+ "type": "string",
72
+ "required": true
73
+ },
74
+ {
75
+ "name": "row.sku",
76
+ "type": "string",
77
+ "required": true
78
+ },
79
+ {
80
+ "name": "row.locationId",
81
+ "type": "string"
82
+ },
83
+ {
84
+ "name": "row.thresholdQty",
85
+ "type": "number"
86
+ },
87
+ {
88
+ "name": "row.reorderQty",
89
+ "type": "number"
90
+ },
91
+ {
92
+ "name": "row.vendor",
93
+ "type": "string"
94
+ },
95
+ {
96
+ "name": "row.leadTimeDays",
97
+ "type": "number"
98
+ },
99
+ {
100
+ "name": "row.isActive",
101
+ "type": "boolean"
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "event": "CLOSE_VIEW"
107
+ },
61
108
  {
62
109
  "event": "ENABLE_RULE",
63
110
  "payloadSchema": [
@@ -110,6 +157,9 @@
110
157
  {
111
158
  "name": "browsing"
112
159
  },
160
+ {
161
+ "name": "viewing_single"
162
+ },
113
163
  {
114
164
  "name": "error"
115
165
  }
@@ -143,6 +193,21 @@
143
193
  }
144
194
  ]
145
195
  },
196
+ {
197
+ "key": "OPEN_RULE",
198
+ "name": "Open Rule",
199
+ "payloadSchema": [
200
+ {
201
+ "name": "id",
202
+ "type": "string",
203
+ "required": true
204
+ },
205
+ {
206
+ "name": "row",
207
+ "type": "ReorderRule"
208
+ }
209
+ ]
210
+ },
146
211
  {
147
212
  "key": "ENABLE_RULE",
148
213
  "name": "Enable Rule",
@@ -164,6 +229,10 @@
164
229
  "required": true
165
230
  }
166
231
  ]
232
+ },
233
+ {
234
+ "key": "CLOSE_VIEW",
235
+ "name": "Close View"
167
236
  }
168
237
  ],
169
238
  "transitions": [
@@ -186,22 +255,22 @@
186
255
  "render-ui",
187
256
  "main",
188
257
  {
189
- "align": "center",
190
- "direction": "vertical",
191
258
  "children": [
192
259
  {
193
260
  "type": "spinner"
194
261
  },
195
262
  {
196
- "type": "typography",
263
+ "color": "muted",
197
264
  "content": "Loading reorder rules…",
198
- "variant": "caption",
199
- "color": "muted"
265
+ "type": "typography",
266
+ "variant": "caption"
200
267
  }
201
268
  ],
202
- "className": "py-12",
269
+ "gap": "md",
270
+ "align": "center",
203
271
  "type": "stack",
204
- "gap": "md"
272
+ "direction": "vertical",
273
+ "className": "py-12"
205
274
  }
206
275
  ]
207
276
  ]
@@ -219,37 +288,61 @@
219
288
  "gap": "md",
220
289
  "children": [
221
290
  {
222
- "type": "stack",
223
291
  "align": "center",
224
- "direction": "horizontal",
225
292
  "children": [
226
293
  {
227
- "type": "icon",
228
- "name": "repeat"
294
+ "name": "repeat",
295
+ "type": "icon"
229
296
  },
230
297
  {
231
- "type": "typography",
232
298
  "content": "@config.title",
299
+ "type": "typography",
233
300
  "variant": "h3"
301
+ }
302
+ ],
303
+ "gap": "sm",
304
+ "type": "stack",
305
+ "direction": "horizontal"
306
+ },
307
+ {
308
+ "type": "simple-grid",
309
+ "cols": 4.0,
310
+ "children": [
311
+ {
312
+ "type": "stat-display",
313
+ "label": "Total rules",
314
+ "icon": "repeat",
315
+ "value": "@payload.data.length"
234
316
  },
235
317
  {
236
- "type": "badge",
237
318
  "label": "Active",
238
- "variant": "success"
319
+ "icon": "check-circle",
320
+ "value": "47",
321
+ "type": "stat-display"
322
+ },
323
+ {
324
+ "type": "stat-display",
325
+ "label": "Triggered today",
326
+ "value": "9",
327
+ "icon": "zap"
328
+ },
329
+ {
330
+ "icon": "clock",
331
+ "label": "Avg lead time",
332
+ "value": "6.4d",
333
+ "type": "stat-display"
239
334
  }
240
- ],
241
- "gap": "sm"
335
+ ]
242
336
  },
243
337
  {
244
338
  "type": "divider"
245
339
  },
246
340
  {
247
- "entity": "@payload.data",
248
341
  "fields": [
249
342
  {
250
343
  "label": "SKU",
251
- "variant": "caption",
252
- "name": "sku"
344
+ "name": "sku",
345
+ "variant": "caption"
253
346
  },
254
347
  {
255
348
  "name": "locationId",
@@ -257,9 +350,9 @@
257
350
  "variant": "caption"
258
351
  },
259
352
  {
353
+ "name": "thresholdQty",
260
354
  "label": "Threshold",
261
- "variant": "caption",
262
- "name": "thresholdQty"
355
+ "variant": "caption"
263
356
  },
264
357
  {
265
358
  "variant": "caption",
@@ -267,33 +360,33 @@
267
360
  "label": "Reorder Qty"
268
361
  },
269
362
  {
270
- "label": "Vendor",
363
+ "name": "vendor",
271
364
  "variant": "caption",
272
- "name": "vendor"
365
+ "label": "Vendor"
273
366
  },
274
367
  {
275
- "name": "isActive",
368
+ "name": "leadTimeDays",
276
369
  "variant": "caption",
277
- "label": "Active"
370
+ "label": "Lead (d)"
278
371
  }
279
372
  ],
280
- "cols": 1.0,
281
373
  "gap": "sm",
282
374
  "type": "data-grid",
375
+ "entity": "@payload.data",
283
376
  "itemActions": [
284
377
  {
285
- "icon": "check",
286
- "label": "Enable",
378
+ "label": "Open",
379
+ "icon": "arrow-right",
287
380
  "variant": "primary",
288
- "event": "ENABLE_RULE"
381
+ "event": "OPEN_RULE"
289
382
  },
290
383
  {
291
- "variant": "danger",
292
384
  "label": "Disable",
293
385
  "event": "DISABLE_RULE",
294
- "icon": "x"
386
+ "variant": "danger"
295
387
  }
296
- ]
388
+ ],
389
+ "cols": 1.0
297
390
  }
298
391
  ],
299
392
  "type": "stack"
@@ -310,16 +403,201 @@
310
403
  "render-ui",
311
404
  "main",
312
405
  {
313
- "type": "alert",
314
406
  "variant": "error",
315
- "message": "@payload.error"
407
+ "message": "@payload.error",
408
+ "type": "alert"
316
409
  }
317
410
  ]
318
411
  ]
319
412
  },
320
413
  {
321
414
  "from": "browsing",
322
- "to": "browsing",
415
+ "to": "viewing_single",
416
+ "event": "OPEN_RULE",
417
+ "effects": [
418
+ [
419
+ "set",
420
+ "@entity.id",
421
+ "@payload.row.id"
422
+ ],
423
+ [
424
+ "set",
425
+ "@entity.sku",
426
+ "@payload.row.sku"
427
+ ],
428
+ [
429
+ "set",
430
+ "@entity.locationId",
431
+ "@payload.row.locationId"
432
+ ],
433
+ [
434
+ "set",
435
+ "@entity.thresholdQty",
436
+ "@payload.row.thresholdQty"
437
+ ],
438
+ [
439
+ "set",
440
+ "@entity.reorderQty",
441
+ "@payload.row.reorderQty"
442
+ ],
443
+ [
444
+ "set",
445
+ "@entity.vendor",
446
+ "@payload.row.vendor"
447
+ ],
448
+ [
449
+ "set",
450
+ "@entity.leadTimeDays",
451
+ "@payload.row.leadTimeDays"
452
+ ],
453
+ [
454
+ "set",
455
+ "@entity.isActive",
456
+ "@payload.row.isActive"
457
+ ],
458
+ [
459
+ "render-ui",
460
+ "main",
461
+ {
462
+ "gap": "md",
463
+ "type": "stack",
464
+ "direction": "vertical",
465
+ "children": [
466
+ {
467
+ "align": "center",
468
+ "direction": "horizontal",
469
+ "type": "stack",
470
+ "gap": "sm",
471
+ "children": [
472
+ {
473
+ "type": "button",
474
+ "variant": "ghost",
475
+ "label": "Back",
476
+ "action": "CLOSE_VIEW"
477
+ },
478
+ {
479
+ "name": "repeat",
480
+ "type": "icon"
481
+ },
482
+ {
483
+ "content": "@entity.sku",
484
+ "variant": "h3",
485
+ "type": "typography"
486
+ },
487
+ {
488
+ "type": "badge",
489
+ "label": "Active",
490
+ "variant": "success"
491
+ }
492
+ ]
493
+ },
494
+ {
495
+ "type": "divider"
496
+ },
497
+ {
498
+ "type": "stack",
499
+ "direction": "vertical",
500
+ "children": [
501
+ {
502
+ "children": [
503
+ {
504
+ "variant": "caption",
505
+ "color": "muted",
506
+ "content": "Location",
507
+ "type": "typography"
508
+ },
509
+ {
510
+ "variant": "body",
511
+ "content": "@entity.locationId",
512
+ "type": "typography"
513
+ }
514
+ ],
515
+ "type": "stack",
516
+ "gap": "md",
517
+ "direction": "horizontal"
518
+ },
519
+ {
520
+ "gap": "md",
521
+ "children": [
522
+ {
523
+ "type": "typography",
524
+ "color": "muted",
525
+ "content": "Vendor",
526
+ "variant": "caption"
527
+ },
528
+ {
529
+ "variant": "body",
530
+ "type": "typography",
531
+ "content": "@entity.vendor"
532
+ }
533
+ ],
534
+ "direction": "horizontal",
535
+ "type": "stack"
536
+ }
537
+ ],
538
+ "gap": "sm"
539
+ },
540
+ {
541
+ "type": "divider"
542
+ },
543
+ {
544
+ "cols": 3.0,
545
+ "children": [
546
+ {
547
+ "label": "Threshold",
548
+ "type": "stat-display",
549
+ "value": "@entity.thresholdQty",
550
+ "icon": "alert-triangle"
551
+ },
552
+ {
553
+ "label": "Reorder qty",
554
+ "type": "stat-display",
555
+ "icon": "package",
556
+ "value": "@entity.reorderQty"
557
+ },
558
+ {
559
+ "value": "@entity.leadTimeDays",
560
+ "type": "stat-display",
561
+ "icon": "clock",
562
+ "label": "Lead time (d)"
563
+ }
564
+ ],
565
+ "type": "simple-grid"
566
+ },
567
+ {
568
+ "type": "stack",
569
+ "gap": "sm",
570
+ "align": "center",
571
+ "direction": "horizontal",
572
+ "children": [
573
+ {
574
+ "action": "ENABLE_RULE",
575
+ "type": "button",
576
+ "label": "Enable",
577
+ "variant": "primary",
578
+ "actionPayload": {
579
+ "id": "@entity.id"
580
+ }
581
+ },
582
+ {
583
+ "label": "Disable",
584
+ "actionPayload": {
585
+ "id": "@entity.id"
586
+ },
587
+ "action": "DISABLE_RULE",
588
+ "type": "button",
589
+ "variant": "danger"
590
+ }
591
+ ]
592
+ }
593
+ ]
594
+ }
595
+ ]
596
+ ]
597
+ },
598
+ {
599
+ "from": "browsing",
600
+ "to": "loading",
323
601
  "event": "ENABLE_RULE",
324
602
  "effects": [
325
603
  [
@@ -327,20 +605,43 @@
327
605
  "@entity.id",
328
606
  "@payload.id"
329
607
  ],
608
+ [
609
+ "fetch",
610
+ "ReorderRule",
611
+ {
612
+ "emit": {
613
+ "success": "ReorderRuleLoaded",
614
+ "failure": "ReorderRuleLoadFailed"
615
+ }
616
+ }
617
+ ],
330
618
  [
331
619
  "render-ui",
332
620
  "main",
333
621
  {
334
- "variant": "success",
335
- "message": "Reorder rule enabled",
336
- "type": "alert"
622
+ "gap": "md",
623
+ "direction": "vertical",
624
+ "align": "center",
625
+ "type": "stack",
626
+ "className": "py-12",
627
+ "children": [
628
+ {
629
+ "type": "spinner"
630
+ },
631
+ {
632
+ "color": "muted",
633
+ "type": "typography",
634
+ "content": "Enabling rule…",
635
+ "variant": "caption"
636
+ }
637
+ ]
337
638
  }
338
639
  ]
339
640
  ]
340
641
  },
341
642
  {
342
643
  "from": "browsing",
343
- "to": "browsing",
644
+ "to": "loading",
344
645
  "event": "DISABLE_RULE",
345
646
  "effects": [
346
647
  [
@@ -348,13 +649,163 @@
348
649
  "@entity.id",
349
650
  "@payload.id"
350
651
  ],
652
+ [
653
+ "fetch",
654
+ "ReorderRule",
655
+ {
656
+ "emit": {
657
+ "failure": "ReorderRuleLoadFailed",
658
+ "success": "ReorderRuleLoaded"
659
+ }
660
+ }
661
+ ],
662
+ [
663
+ "render-ui",
664
+ "main",
665
+ {
666
+ "type": "stack",
667
+ "gap": "md",
668
+ "align": "center",
669
+ "direction": "vertical",
670
+ "className": "py-12",
671
+ "children": [
672
+ {
673
+ "type": "spinner"
674
+ },
675
+ {
676
+ "type": "typography",
677
+ "color": "muted",
678
+ "variant": "caption",
679
+ "content": "Disabling rule…"
680
+ }
681
+ ]
682
+ }
683
+ ]
684
+ ]
685
+ },
686
+ {
687
+ "from": "viewing_single",
688
+ "to": "loading",
689
+ "event": "CLOSE_VIEW",
690
+ "effects": [
691
+ [
692
+ "fetch",
693
+ "ReorderRule",
694
+ {
695
+ "emit": {
696
+ "success": "ReorderRuleLoaded",
697
+ "failure": "ReorderRuleLoadFailed"
698
+ }
699
+ }
700
+ ],
351
701
  [
352
702
  "render-ui",
353
703
  "main",
354
704
  {
355
- "type": "alert",
356
- "variant": "info",
357
- "message": "Reorder rule disabled"
705
+ "direction": "vertical",
706
+ "gap": "md",
707
+ "type": "stack",
708
+ "align": "center",
709
+ "className": "py-12",
710
+ "children": [
711
+ {
712
+ "type": "spinner"
713
+ },
714
+ {
715
+ "variant": "caption",
716
+ "content": "Loading reorder rules…",
717
+ "color": "muted",
718
+ "type": "typography"
719
+ }
720
+ ]
721
+ }
722
+ ]
723
+ ]
724
+ },
725
+ {
726
+ "from": "viewing_single",
727
+ "to": "loading",
728
+ "event": "ENABLE_RULE",
729
+ "effects": [
730
+ [
731
+ "set",
732
+ "@entity.id",
733
+ "@payload.id"
734
+ ],
735
+ [
736
+ "fetch",
737
+ "ReorderRule",
738
+ {
739
+ "emit": {
740
+ "failure": "ReorderRuleLoadFailed",
741
+ "success": "ReorderRuleLoaded"
742
+ }
743
+ }
744
+ ],
745
+ [
746
+ "render-ui",
747
+ "main",
748
+ {
749
+ "direction": "vertical",
750
+ "align": "center",
751
+ "className": "py-12",
752
+ "type": "stack",
753
+ "gap": "md",
754
+ "children": [
755
+ {
756
+ "type": "spinner"
757
+ },
758
+ {
759
+ "color": "muted",
760
+ "content": "Enabling rule…",
761
+ "type": "typography",
762
+ "variant": "caption"
763
+ }
764
+ ]
765
+ }
766
+ ]
767
+ ]
768
+ },
769
+ {
770
+ "from": "viewing_single",
771
+ "to": "loading",
772
+ "event": "DISABLE_RULE",
773
+ "effects": [
774
+ [
775
+ "set",
776
+ "@entity.id",
777
+ "@payload.id"
778
+ ],
779
+ [
780
+ "fetch",
781
+ "ReorderRule",
782
+ {
783
+ "emit": {
784
+ "failure": "ReorderRuleLoadFailed",
785
+ "success": "ReorderRuleLoaded"
786
+ }
787
+ }
788
+ ],
789
+ [
790
+ "render-ui",
791
+ "main",
792
+ {
793
+ "gap": "md",
794
+ "align": "center",
795
+ "className": "py-12",
796
+ "type": "stack",
797
+ "children": [
798
+ {
799
+ "type": "spinner"
800
+ },
801
+ {
802
+ "content": "Disabling rule…",
803
+ "type": "typography",
804
+ "variant": "caption",
805
+ "color": "muted"
806
+ }
807
+ ],
808
+ "direction": "vertical"
358
809
  }
359
810
  ]
360
811
  ]
@@ -378,8 +829,8 @@
378
829
  "render-ui",
379
830
  "main",
380
831
  {
381
- "size": "sm",
382
- "type": "spinner"
832
+ "type": "spinner",
833
+ "size": "sm"
383
834
  }
384
835
  ]
385
836
  ]
@@ -408,4 +859,4 @@
408
859
  ]
409
860
  }
410
861
  ]
411
- }
862
+ }