@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
@@ -90,10 +90,10 @@
90
90
  "linkedEntity": "InvoiceRecord",
91
91
  "emits": [
92
92
  {
93
- "event": "VIEW",
93
+ "event": "OPEN_INVOICE",
94
94
  "payloadSchema": [
95
95
  {
96
- "name": "invoiceId",
96
+ "name": "id",
97
97
  "type": "string",
98
98
  "required": true
99
99
  },
@@ -158,6 +158,9 @@
158
158
  }
159
159
  ]
160
160
  },
161
+ {
162
+ "event": "CLOSE_VIEW"
163
+ },
161
164
  {
162
165
  "event": "SEND",
163
166
  "payloadSchema": [
@@ -390,7 +393,7 @@
390
393
  "name": "browsing"
391
394
  },
392
395
  {
393
- "name": "viewing"
396
+ "name": "viewing_single"
394
397
  },
395
398
  {
396
399
  "name": "error"
@@ -426,11 +429,11 @@
426
429
  ]
427
430
  },
428
431
  {
429
- "key": "VIEW",
430
- "name": "View",
432
+ "key": "OPEN_INVOICE",
433
+ "name": "Open Invoice",
431
434
  "payloadSchema": [
432
435
  {
433
- "name": "invoiceId",
436
+ "name": "id",
434
437
  "type": "string",
435
438
  "required": true
436
439
  },
@@ -440,28 +443,6 @@
440
443
  }
441
444
  ]
442
445
  },
443
- {
444
- "key": "SEND",
445
- "name": "Send",
446
- "payloadSchema": [
447
- {
448
- "name": "invoiceId",
449
- "type": "string",
450
- "required": true
451
- }
452
- ]
453
- },
454
- {
455
- "key": "MARK_PAID",
456
- "name": "Mark Paid",
457
- "payloadSchema": [
458
- {
459
- "name": "invoiceId",
460
- "type": "string",
461
- "required": true
462
- }
463
- ]
464
- },
465
446
  {
466
447
  "key": "VOID",
467
448
  "name": "Void",
@@ -473,22 +454,6 @@
473
454
  }
474
455
  ]
475
456
  },
476
- {
477
- "key": "REFUND",
478
- "name": "Refund",
479
- "payloadSchema": [
480
- {
481
- "name": "invoiceId",
482
- "type": "string",
483
- "required": true
484
- },
485
- {
486
- "name": "amount",
487
- "type": "number",
488
- "required": true
489
- }
490
- ]
491
- },
492
457
  {
493
458
  "key": "InvoiceUpdated",
494
459
  "name": "Invoice updated",
@@ -536,6 +501,48 @@
536
501
  "type": "string"
537
502
  }
538
503
  ]
504
+ },
505
+ {
506
+ "key": "CLOSE_VIEW",
507
+ "name": "Close View"
508
+ },
509
+ {
510
+ "key": "SEND",
511
+ "name": "Send",
512
+ "payloadSchema": [
513
+ {
514
+ "name": "invoiceId",
515
+ "type": "string",
516
+ "required": true
517
+ }
518
+ ]
519
+ },
520
+ {
521
+ "key": "MARK_PAID",
522
+ "name": "Mark Paid",
523
+ "payloadSchema": [
524
+ {
525
+ "name": "invoiceId",
526
+ "type": "string",
527
+ "required": true
528
+ }
529
+ ]
530
+ },
531
+ {
532
+ "key": "REFUND",
533
+ "name": "Refund",
534
+ "payloadSchema": [
535
+ {
536
+ "name": "invoiceId",
537
+ "type": "string",
538
+ "required": true
539
+ },
540
+ {
541
+ "name": "amount",
542
+ "type": "number",
543
+ "required": true
544
+ }
545
+ ]
539
546
  }
540
547
  ],
541
548
  "transitions": [
@@ -564,16 +571,16 @@
564
571
  "type": "spinner"
565
572
  },
566
573
  {
567
- "content": "Loading invoices…",
568
574
  "variant": "caption",
569
- "color": "muted",
570
- "type": "typography"
575
+ "content": "Loading invoices…",
576
+ "type": "typography",
577
+ "color": "muted"
571
578
  }
572
579
  ],
573
- "type": "stack",
574
580
  "direction": "vertical",
575
- "gap": "md",
576
- "align": "center"
581
+ "align": "center",
582
+ "type": "stack",
583
+ "gap": "md"
577
584
  }
578
585
  ]
579
586
  ]
@@ -588,58 +595,99 @@
588
595
  "main",
589
596
  {
590
597
  "type": "stack",
591
- "direction": "vertical",
592
- "gap": "md",
593
598
  "children": [
594
599
  {
595
- "gap": "sm",
596
- "direction": "horizontal",
597
600
  "type": "stack",
601
+ "direction": "horizontal",
598
602
  "children": [
599
603
  {
600
604
  "type": "icon",
601
605
  "name": "receipt"
602
606
  },
603
607
  {
608
+ "content": "@config.title",
604
609
  "variant": "h3",
605
- "type": "typography",
606
- "content": "@config.title"
610
+ "type": "typography"
607
611
  }
608
- ]
612
+ ],
613
+ "gap": "sm",
614
+ "align": "center"
615
+ },
616
+ {
617
+ "children": [
618
+ {
619
+ "value": "@payload.data.length",
620
+ "type": "stat-display",
621
+ "label": "Total invoices",
622
+ "icon": "receipt"
623
+ },
624
+ {
625
+ "label": "Outstanding",
626
+ "value": "$28,400",
627
+ "icon": "alert-triangle",
628
+ "type": "stat-display"
629
+ },
630
+ {
631
+ "value": "$112,800",
632
+ "icon": "dollar-sign",
633
+ "type": "stat-display",
634
+ "label": "Paid this month"
635
+ },
636
+ {
637
+ "icon": "clock",
638
+ "label": "Overdue",
639
+ "value": "9",
640
+ "type": "stat-display"
641
+ }
642
+ ],
643
+ "cols": 4.0,
644
+ "type": "simple-grid"
609
645
  },
610
646
  {
611
647
  "type": "divider"
612
648
  },
613
649
  {
614
- "type": "data-grid",
615
- "entity": "@payload.data",
616
650
  "cols": 1.0,
617
- "gap": "sm",
651
+ "type": "data-grid",
652
+ "itemActions": [
653
+ {
654
+ "variant": "primary",
655
+ "label": "Open",
656
+ "icon": "arrow-right",
657
+ "event": "OPEN_INVOICE"
658
+ },
659
+ {
660
+ "variant": "danger",
661
+ "event": "VOID",
662
+ "icon": "x",
663
+ "label": "Void"
664
+ }
665
+ ],
618
666
  "fields": [
619
667
  {
620
- "name": "invoiceNumber",
621
668
  "label": "Invoice #",
669
+ "name": "invoiceNumber",
622
670
  "variant": "caption"
623
671
  },
624
672
  {
625
- "name": "customerId",
626
673
  "label": "Customer",
627
- "variant": "caption"
674
+ "variant": "caption",
675
+ "name": "customerId"
628
676
  },
629
677
  {
678
+ "variant": "badge",
630
679
  "name": "status",
631
- "label": "Status",
632
- "variant": "badge"
680
+ "label": "Status"
633
681
  },
634
682
  {
635
- "variant": "caption",
636
683
  "label": "Total",
637
- "name": "total"
684
+ "name": "total",
685
+ "variant": "caption"
638
686
  },
639
687
  {
640
- "name": "currency",
641
688
  "label": "Currency",
642
- "variant": "badge"
689
+ "variant": "badge",
690
+ "name": "currency"
643
691
  },
644
692
  {
645
693
  "name": "dueAt",
@@ -647,40 +695,12 @@
647
695
  "variant": "caption"
648
696
  }
649
697
  ],
650
- "itemActions": [
651
- {
652
- "variant": "secondary",
653
- "event": "VIEW",
654
- "label": "View",
655
- "icon": "eye"
656
- },
657
- {
658
- "icon": "send",
659
- "variant": "primary",
660
- "label": "Send",
661
- "event": "SEND"
662
- },
663
- {
664
- "label": "Mark Paid",
665
- "variant": "primary",
666
- "event": "MARK_PAID",
667
- "icon": "check"
668
- },
669
- {
670
- "event": "VOID",
671
- "label": "Void",
672
- "icon": "x",
673
- "variant": "danger"
674
- },
675
- {
676
- "event": "REFUND",
677
- "icon": "rotate-ccw",
678
- "label": "Refund",
679
- "variant": "danger"
680
- }
681
- ]
698
+ "entity": "@payload.data",
699
+ "gap": "sm"
682
700
  }
683
- ]
701
+ ],
702
+ "gap": "md",
703
+ "direction": "vertical"
684
704
  }
685
705
  ]
686
706
  ]
@@ -695,32 +715,57 @@
695
715
  "main",
696
716
  {
697
717
  "message": "@payload.error",
698
- "type": "alert",
699
- "variant": "error"
718
+ "variant": "error",
719
+ "type": "alert"
700
720
  }
701
721
  ]
702
722
  ]
703
723
  },
704
724
  {
705
725
  "from": "browsing",
706
- "to": "viewing",
707
- "event": "VIEW",
726
+ "to": "viewing_single",
727
+ "event": "OPEN_INVOICE",
708
728
  "effects": [
709
729
  [
710
730
  "set",
711
731
  "@entity.id",
712
- "@payload.invoiceId"
732
+ "@payload.row.id"
713
733
  ],
714
734
  [
715
735
  "set",
716
736
  "@entity.invoiceNumber",
717
737
  "@payload.row.invoiceNumber"
718
738
  ],
739
+ [
740
+ "set",
741
+ "@entity.customerId",
742
+ "@payload.row.customerId"
743
+ ],
719
744
  [
720
745
  "set",
721
746
  "@entity.status",
722
747
  "@payload.row.status"
723
748
  ],
749
+ [
750
+ "set",
751
+ "@entity.currency",
752
+ "@payload.row.currency"
753
+ ],
754
+ [
755
+ "set",
756
+ "@entity.subtotal",
757
+ "@payload.row.subtotal"
758
+ ],
759
+ [
760
+ "set",
761
+ "@entity.tax",
762
+ "@payload.row.tax"
763
+ ],
764
+ [
765
+ "set",
766
+ "@entity.total",
767
+ "@payload.row.total"
768
+ ],
724
769
  [
725
770
  "set",
726
771
  "@entity.issuedAt",
@@ -733,13 +778,8 @@
733
778
  ],
734
779
  [
735
780
  "set",
736
- "@entity.customerId",
737
- "@payload.row.customerId"
738
- ],
739
- [
740
- "set",
741
- "@entity.currency",
742
- "@payload.row.currency"
781
+ "@entity.paidAt",
782
+ "@payload.row.paidAt"
743
783
  ],
744
784
  [
745
785
  "set",
@@ -753,159 +793,174 @@
753
793
  "type": "stack",
754
794
  "children": [
755
795
  {
756
- "gap": "sm",
757
- "type": "stack",
758
- "direction": "horizontal",
759
796
  "children": [
797
+ {
798
+ "variant": "ghost",
799
+ "type": "button",
800
+ "action": "CLOSE_VIEW",
801
+ "label": "Back"
802
+ },
760
803
  {
761
804
  "type": "icon",
762
805
  "name": "receipt"
763
806
  },
764
807
  {
808
+ "type": "typography",
765
809
  "content": "@entity.invoiceNumber",
766
- "variant": "h3",
767
- "type": "typography"
810
+ "variant": "h3"
768
811
  },
769
812
  {
770
- "type": "badge",
771
813
  "label": "@entity.status",
772
- "variant": "secondary"
814
+ "type": "badge",
815
+ "variant": "default"
773
816
  }
774
- ]
775
- },
776
- {
777
- "highlighted": true,
778
- "price": "@entity.currency",
779
- "badge": "@entity.status",
780
- "action": {
781
- "event": "SEND",
782
- "label": "Send Invoice"
783
- },
784
- "name": "@entity.invoiceNumber",
785
- "type": "pricing-card",
786
- "features": [
787
- "Subtotal billed",
788
- "Tax applied",
789
- "Issued on file",
790
- "Due on record"
791
817
  ],
792
- "description": "Invoice summary card with line-item totals and tax."
818
+ "gap": "sm",
819
+ "align": "center",
820
+ "direction": "horizontal",
821
+ "type": "stack"
793
822
  },
794
823
  {
795
824
  "type": "divider"
796
825
  },
797
826
  {
798
- "gap": "lg",
799
- "direction": "horizontal",
800
827
  "children": [
801
828
  {
829
+ "gap": "md",
830
+ "direction": "horizontal",
802
831
  "children": [
803
832
  {
804
- "color": "muted",
833
+ "variant": "caption",
834
+ "content": "Customer",
805
835
  "type": "typography",
806
- "content": "Issued",
807
- "variant": "caption"
836
+ "color": "muted"
808
837
  },
809
838
  {
810
839
  "type": "typography",
811
- "variant": "body2",
812
- "content": "@entity.issuedAt"
840
+ "variant": "body",
841
+ "content": "@entity.customerId"
813
842
  }
814
843
  ],
815
- "gap": "xs",
816
- "type": "stack",
817
- "direction": "vertical"
844
+ "type": "stack"
818
845
  },
819
846
  {
847
+ "type": "stack",
848
+ "gap": "md",
849
+ "direction": "horizontal",
820
850
  "children": [
821
851
  {
852
+ "content": "Currency",
853
+ "variant": "caption",
822
854
  "type": "typography",
823
- "content": "Due",
824
- "color": "muted",
825
- "variant": "caption"
855
+ "color": "muted"
826
856
  },
827
857
  {
828
858
  "type": "typography",
829
- "content": "@entity.dueAt",
830
- "variant": "body2"
859
+ "content": "@entity.currency",
860
+ "variant": "body"
831
861
  }
832
- ],
833
- "type": "stack",
834
- "gap": "xs",
835
- "direction": "vertical"
862
+ ]
836
863
  },
837
864
  {
865
+ "gap": "md",
866
+ "type": "stack",
838
867
  "children": [
839
868
  {
840
869
  "variant": "caption",
841
- "content": "Currency",
870
+ "color": "muted",
842
871
  "type": "typography",
843
- "color": "muted"
872
+ "content": "Notes"
844
873
  },
845
874
  {
875
+ "content": "@entity.notes",
846
876
  "type": "typography",
847
- "content": "@entity.currency",
848
- "variant": "body2"
877
+ "variant": "body"
849
878
  }
850
879
  ],
851
- "direction": "vertical",
852
- "type": "stack",
853
- "gap": "xs"
880
+ "direction": "horizontal"
854
881
  }
855
882
  ],
856
- "type": "stack"
883
+ "type": "stack",
884
+ "direction": "vertical",
885
+ "gap": "sm"
857
886
  },
858
887
  {
859
888
  "type": "divider"
860
889
  },
861
890
  {
862
- "color": "muted",
863
- "content": "@entity.notes",
864
- "variant": "body2",
865
- "type": "typography"
891
+ "type": "simple-grid",
892
+ "cols": 4.0,
893
+ "children": [
894
+ {
895
+ "label": "Subtotal",
896
+ "value": "@entity.subtotal",
897
+ "type": "stat-display",
898
+ "icon": "dollar-sign"
899
+ },
900
+ {
901
+ "icon": "percent",
902
+ "type": "stat-display",
903
+ "value": "@entity.tax",
904
+ "label": "Tax"
905
+ },
906
+ {
907
+ "icon": "dollar-sign",
908
+ "type": "stat-display",
909
+ "value": "@entity.total",
910
+ "label": "Total"
911
+ },
912
+ {
913
+ "label": "Due",
914
+ "value": "@entity.dueAt",
915
+ "icon": "calendar",
916
+ "type": "stat-display"
917
+ }
918
+ ]
866
919
  },
867
920
  {
868
- "justify": "end",
869
921
  "direction": "horizontal",
922
+ "gap": "sm",
923
+ "align": "center",
924
+ "type": "stack",
870
925
  "children": [
871
926
  {
872
927
  "variant": "primary",
873
- "label": "Send",
874
928
  "type": "button",
875
929
  "action": "SEND",
876
- "icon": "send"
930
+ "label": "Send",
931
+ "actionPayload": {
932
+ "invoiceId": "@entity.id"
933
+ }
877
934
  },
878
935
  {
879
936
  "label": "Mark Paid",
880
- "action": "MARK_PAID",
881
- "variant": "primary",
937
+ "actionPayload": {
938
+ "invoiceId": "@entity.id"
939
+ },
882
940
  "type": "button",
883
- "icon": "check"
941
+ "variant": "primary",
942
+ "action": "MARK_PAID"
884
943
  },
885
944
  {
886
- "label": "Void",
887
945
  "type": "button",
888
- "icon": "x",
946
+ "actionPayload": {
947
+ "invoiceId": "@entity.id"
948
+ },
949
+ "action": "VOID",
889
950
  "variant": "danger",
890
- "action": "VOID"
951
+ "label": "Void"
891
952
  },
892
953
  {
893
- "icon": "rotate-ccw",
894
- "label": "Refund",
895
- "type": "button",
896
954
  "action": "REFUND",
897
- "variant": "danger"
898
- },
899
- {
900
- "action": "INIT",
901
- "type": "button",
902
- "icon": "arrow-left",
903
- "label": "Back",
904
- "variant": "secondary"
955
+ "actionPayload": {
956
+ "amount": 0.0,
957
+ "invoiceId": "@entity.id"
958
+ },
959
+ "label": "Refund",
960
+ "variant": "danger",
961
+ "type": "button"
905
962
  }
906
- ],
907
- "type": "stack",
908
- "gap": "sm"
963
+ ]
909
964
  }
910
965
  ],
911
966
  "direction": "vertical",
@@ -916,8 +971,8 @@
916
971
  },
917
972
  {
918
973
  "from": "browsing",
919
- "to": "browsing",
920
- "event": "SEND",
974
+ "to": "loading",
975
+ "event": "VOID",
921
976
  "effects": [
922
977
  [
923
978
  "set",
@@ -927,12 +982,7 @@
927
982
  [
928
983
  "set",
929
984
  "@entity.status",
930
- "sent"
931
- ],
932
- [
933
- "set",
934
- "@entity.issuedAt",
935
- "now"
985
+ "void"
936
986
  ],
937
987
  [
938
988
  "persist",
@@ -941,56 +991,47 @@
941
991
  "@entity",
942
992
  {
943
993
  "emit": {
944
- "failure": "InvoiceUpdateFailed",
945
- "success": "InvoiceUpdated"
994
+ "success": "InvoiceUpdated",
995
+ "failure": "InvoiceUpdateFailed"
946
996
  }
947
997
  }
948
998
  ],
949
999
  [
950
- "call-service",
951
- "email",
952
- "send",
953
- {
954
- "invoiceId": "@payload.invoiceId"
955
- },
1000
+ "render-ui",
1001
+ "main",
956
1002
  {
957
- "emit": {
958
- "failure": "InvoiceUpdateFailed",
959
- "success": "InvoiceUpdated"
960
- }
1003
+ "gap": "md",
1004
+ "type": "stack",
1005
+ "align": "center",
1006
+ "children": [
1007
+ {
1008
+ "type": "spinner"
1009
+ },
1010
+ {
1011
+ "content": "Voiding invoice…",
1012
+ "variant": "caption",
1013
+ "type": "typography",
1014
+ "color": "muted"
1015
+ }
1016
+ ],
1017
+ "direction": "vertical",
1018
+ "className": "py-12"
961
1019
  }
962
1020
  ]
963
1021
  ]
964
1022
  },
965
1023
  {
966
1024
  "from": "browsing",
967
- "to": "browsing",
968
- "event": "MARK_PAID",
1025
+ "to": "loading",
1026
+ "event": "InvoiceUpdated",
969
1027
  "effects": [
970
1028
  [
971
- "set",
972
- "@entity.id",
973
- "@payload.invoiceId"
974
- ],
975
- [
976
- "set",
977
- "@entity.status",
978
- "paid"
979
- ],
980
- [
981
- "set",
982
- "@entity.paidAt",
983
- "now"
984
- ],
985
- [
986
- "persist",
987
- "update",
1029
+ "fetch",
988
1030
  "InvoiceRecord",
989
- "@entity",
990
1031
  {
991
1032
  "emit": {
992
- "success": "InvoiceUpdated",
993
- "failure": "InvoiceUpdateFailed"
1033
+ "failure": "InvoiceLoadFailed",
1034
+ "success": "InvoiceLoaded"
994
1035
  }
995
1036
  }
996
1037
  ]
@@ -999,27 +1040,31 @@
999
1040
  {
1000
1041
  "from": "browsing",
1001
1042
  "to": "browsing",
1002
- "event": "VOID",
1043
+ "event": "InvoiceUpdateFailed",
1003
1044
  "effects": [
1004
1045
  [
1005
- "set",
1006
- "@entity.id",
1007
- "@payload.invoiceId"
1008
- ],
1009
- [
1010
- "set",
1011
- "@entity.status",
1012
- "void"
1013
- ],
1046
+ "render-ui",
1047
+ "main",
1048
+ {
1049
+ "variant": "error",
1050
+ "type": "alert",
1051
+ "message": "@payload.error"
1052
+ }
1053
+ ]
1054
+ ]
1055
+ },
1056
+ {
1057
+ "from": "browsing",
1058
+ "to": "loading",
1059
+ "event": "InvoiceRefunded",
1060
+ "effects": [
1014
1061
  [
1015
- "persist",
1016
- "update",
1062
+ "fetch",
1017
1063
  "InvoiceRecord",
1018
- "@entity",
1019
1064
  {
1020
1065
  "emit": {
1021
- "failure": "InvoiceUpdateFailed",
1022
- "success": "InvoiceUpdated"
1066
+ "success": "InvoiceLoaded",
1067
+ "failure": "InvoiceLoadFailed"
1023
1068
  }
1024
1069
  }
1025
1070
  ]
@@ -1028,34 +1073,23 @@
1028
1073
  {
1029
1074
  "from": "browsing",
1030
1075
  "to": "browsing",
1031
- "event": "REFUND",
1076
+ "event": "InvoiceRefundFailed",
1032
1077
  "effects": [
1033
1078
  [
1034
- "set",
1035
- "@entity.id",
1036
- "@payload.invoiceId"
1037
- ],
1038
- [
1039
- "call-service",
1040
- "stripe",
1041
- "refund",
1042
- {
1043
- "invoiceId": "@payload.invoiceId",
1044
- "amount": "@payload.amount"
1045
- },
1079
+ "render-ui",
1080
+ "main",
1046
1081
  {
1047
- "emit": {
1048
- "success": "InvoiceRefunded",
1049
- "failure": "InvoiceRefundFailed"
1050
- }
1082
+ "variant": "error",
1083
+ "message": "@payload.error",
1084
+ "type": "alert"
1051
1085
  }
1052
1086
  ]
1053
1087
  ]
1054
1088
  },
1055
1089
  {
1056
- "from": "browsing",
1090
+ "from": "viewing_single",
1057
1091
  "to": "loading",
1058
- "event": "InvoiceUpdated",
1092
+ "event": "CLOSE_VIEW",
1059
1093
  "effects": [
1060
1094
  [
1061
1095
  "fetch",
@@ -1066,89 +1100,240 @@
1066
1100
  "success": "InvoiceLoaded"
1067
1101
  }
1068
1102
  }
1069
- ]
1070
- ]
1071
- },
1072
- {
1073
- "from": "browsing",
1074
- "to": "browsing",
1075
- "event": "InvoiceUpdateFailed",
1076
- "effects": [
1103
+ ],
1077
1104
  [
1078
1105
  "render-ui",
1079
1106
  "main",
1080
1107
  {
1081
- "type": "alert",
1082
- "variant": "error",
1083
- "message": "@payload.error"
1108
+ "className": "py-12",
1109
+ "gap": "md",
1110
+ "type": "stack",
1111
+ "direction": "vertical",
1112
+ "align": "center",
1113
+ "children": [
1114
+ {
1115
+ "type": "spinner"
1116
+ },
1117
+ {
1118
+ "content": "Loading invoices…",
1119
+ "type": "typography",
1120
+ "variant": "caption",
1121
+ "color": "muted"
1122
+ }
1123
+ ]
1084
1124
  }
1085
1125
  ]
1086
1126
  ]
1087
1127
  },
1088
1128
  {
1089
- "from": "browsing",
1129
+ "from": "viewing_single",
1090
1130
  "to": "loading",
1091
- "event": "InvoiceRefunded",
1131
+ "event": "SEND",
1092
1132
  "effects": [
1093
1133
  [
1094
- "fetch",
1134
+ "set",
1135
+ "@entity.id",
1136
+ "@payload.invoiceId"
1137
+ ],
1138
+ [
1139
+ "set",
1140
+ "@entity.status",
1141
+ "sent"
1142
+ ],
1143
+ [
1144
+ "set",
1145
+ "@entity.issuedAt",
1146
+ "now"
1147
+ ],
1148
+ [
1149
+ "persist",
1150
+ "update",
1095
1151
  "InvoiceRecord",
1152
+ "@entity",
1096
1153
  {
1097
1154
  "emit": {
1098
- "success": "InvoiceLoaded",
1099
- "failure": "InvoiceLoadFailed"
1155
+ "failure": "InvoiceUpdateFailed",
1156
+ "success": "InvoiceUpdated"
1100
1157
  }
1101
1158
  }
1159
+ ],
1160
+ [
1161
+ "render-ui",
1162
+ "main",
1163
+ {
1164
+ "direction": "vertical",
1165
+ "gap": "md",
1166
+ "align": "center",
1167
+ "type": "stack",
1168
+ "className": "py-12",
1169
+ "children": [
1170
+ {
1171
+ "type": "spinner"
1172
+ },
1173
+ {
1174
+ "type": "typography",
1175
+ "content": "Sending invoice…",
1176
+ "variant": "caption",
1177
+ "color": "muted"
1178
+ }
1179
+ ]
1180
+ }
1102
1181
  ]
1103
1182
  ]
1104
1183
  },
1105
1184
  {
1106
- "from": "browsing",
1107
- "to": "browsing",
1108
- "event": "InvoiceRefundFailed",
1185
+ "from": "viewing_single",
1186
+ "to": "loading",
1187
+ "event": "MARK_PAID",
1109
1188
  "effects": [
1189
+ [
1190
+ "set",
1191
+ "@entity.id",
1192
+ "@payload.invoiceId"
1193
+ ],
1194
+ [
1195
+ "set",
1196
+ "@entity.status",
1197
+ "paid"
1198
+ ],
1199
+ [
1200
+ "set",
1201
+ "@entity.paidAt",
1202
+ "now"
1203
+ ],
1204
+ [
1205
+ "persist",
1206
+ "update",
1207
+ "InvoiceRecord",
1208
+ "@entity",
1209
+ {
1210
+ "emit": {
1211
+ "success": "InvoiceUpdated",
1212
+ "failure": "InvoiceUpdateFailed"
1213
+ }
1214
+ }
1215
+ ],
1110
1216
  [
1111
1217
  "render-ui",
1112
1218
  "main",
1113
1219
  {
1114
- "variant": "error",
1115
- "message": "@payload.error",
1116
- "type": "alert"
1220
+ "type": "stack",
1221
+ "align": "center",
1222
+ "direction": "vertical",
1223
+ "className": "py-12",
1224
+ "children": [
1225
+ {
1226
+ "type": "spinner"
1227
+ },
1228
+ {
1229
+ "color": "muted",
1230
+ "type": "typography",
1231
+ "variant": "caption",
1232
+ "content": "Marking invoice paid…"
1233
+ }
1234
+ ],
1235
+ "gap": "md"
1117
1236
  }
1118
1237
  ]
1119
1238
  ]
1120
1239
  },
1121
1240
  {
1122
- "from": "viewing",
1241
+ "from": "viewing_single",
1123
1242
  "to": "loading",
1124
- "event": "INIT",
1243
+ "event": "VOID",
1125
1244
  "effects": [
1126
1245
  [
1127
- "fetch",
1246
+ "set",
1247
+ "@entity.id",
1248
+ "@payload.invoiceId"
1249
+ ],
1250
+ [
1251
+ "set",
1252
+ "@entity.status",
1253
+ "void"
1254
+ ],
1255
+ [
1256
+ "persist",
1257
+ "update",
1128
1258
  "InvoiceRecord",
1259
+ "@entity",
1129
1260
  {
1130
1261
  "emit": {
1131
- "failure": "InvoiceLoadFailed",
1132
- "success": "InvoiceLoaded"
1262
+ "failure": "InvoiceUpdateFailed",
1263
+ "success": "InvoiceUpdated"
1133
1264
  }
1134
1265
  }
1266
+ ],
1267
+ [
1268
+ "render-ui",
1269
+ "main",
1270
+ {
1271
+ "gap": "md",
1272
+ "children": [
1273
+ {
1274
+ "type": "spinner"
1275
+ },
1276
+ {
1277
+ "variant": "caption",
1278
+ "type": "typography",
1279
+ "color": "muted",
1280
+ "content": "Voiding invoice…"
1281
+ }
1282
+ ],
1283
+ "direction": "vertical",
1284
+ "className": "py-12",
1285
+ "align": "center",
1286
+ "type": "stack"
1287
+ }
1135
1288
  ]
1136
1289
  ]
1137
1290
  },
1138
1291
  {
1139
- "from": "viewing",
1292
+ "from": "viewing_single",
1140
1293
  "to": "loading",
1141
- "event": "InvoiceUpdated",
1294
+ "event": "REFUND",
1142
1295
  "effects": [
1143
1296
  [
1144
- "fetch",
1145
- "InvoiceRecord",
1297
+ "set",
1298
+ "@entity.id",
1299
+ "@payload.invoiceId"
1300
+ ],
1301
+ [
1302
+ "call-service",
1303
+ "stripe",
1304
+ "refund",
1305
+ {
1306
+ "amount": "@payload.amount",
1307
+ "invoiceId": "@payload.invoiceId"
1308
+ },
1146
1309
  {
1147
1310
  "emit": {
1148
- "failure": "InvoiceLoadFailed",
1149
- "success": "InvoiceLoaded"
1311
+ "success": "InvoiceRefunded",
1312
+ "failure": "InvoiceRefundFailed"
1150
1313
  }
1151
1314
  }
1315
+ ],
1316
+ [
1317
+ "render-ui",
1318
+ "main",
1319
+ {
1320
+ "align": "center",
1321
+ "className": "py-12",
1322
+ "direction": "vertical",
1323
+ "children": [
1324
+ {
1325
+ "type": "spinner"
1326
+ },
1327
+ {
1328
+ "content": "Refunding invoice…",
1329
+ "variant": "caption",
1330
+ "type": "typography",
1331
+ "color": "muted"
1332
+ }
1333
+ ],
1334
+ "type": "stack",
1335
+ "gap": "md"
1336
+ }
1152
1337
  ]
1153
1338
  ]
1154
1339
  },
@@ -1205,4 +1390,4 @@
1205
1390
  ]
1206
1391
  }
1207
1392
  ]
1208
- }
1393
+ }