@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-billable-hour",
3
3
  "version": "1.0.0",
4
- "description": "std-billable-hour — generic billable-hour timesheet primitive for legal, agency, and consulting domains. Owns a BillableHour entity (one row per time entry against a matter/project) and a single trait that loads entries, renders them in a data-grid with Invoice / Write Off actions.",
4
+ "description": "std-billable-hour — generic billable-hour timesheet primitive for legal, agency, and consulting domains. Lists entries in `browsing`; opens entry detail in `viewing_single` with Invoice / Write Off actions.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "BillableHourOrbital",
@@ -79,6 +79,66 @@
79
79
  "category": "interaction",
80
80
  "linkedEntity": "BillableHour",
81
81
  "emits": [
82
+ {
83
+ "event": "OPEN_HOURS",
84
+ "payloadSchema": [
85
+ {
86
+ "name": "id",
87
+ "type": "string",
88
+ "required": true
89
+ },
90
+ {
91
+ "name": "row.id",
92
+ "type": "string",
93
+ "required": true
94
+ },
95
+ {
96
+ "name": "row.workerId",
97
+ "type": "string",
98
+ "required": true
99
+ },
100
+ {
101
+ "name": "row.workerName",
102
+ "type": "string"
103
+ },
104
+ {
105
+ "name": "row.matterId",
106
+ "type": "string"
107
+ },
108
+ {
109
+ "name": "row.projectId",
110
+ "type": "string"
111
+ },
112
+ {
113
+ "name": "row.workDate",
114
+ "type": "string",
115
+ "required": true
116
+ },
117
+ {
118
+ "name": "row.hours",
119
+ "type": "number"
120
+ },
121
+ {
122
+ "name": "row.rate",
123
+ "type": "number"
124
+ },
125
+ {
126
+ "name": "row.description",
127
+ "type": "string"
128
+ },
129
+ {
130
+ "name": "row.isBillable",
131
+ "type": "boolean"
132
+ },
133
+ {
134
+ "name": "row.invoiceStatus",
135
+ "type": "string"
136
+ }
137
+ ]
138
+ },
139
+ {
140
+ "event": "CLOSE_VIEW"
141
+ },
82
142
  {
83
143
  "event": "INVOICE_HOURS",
84
144
  "payloadSchema": [
@@ -131,6 +191,9 @@
131
191
  {
132
192
  "name": "browsing"
133
193
  },
194
+ {
195
+ "name": "viewing_single"
196
+ },
134
197
  {
135
198
  "name": "error"
136
199
  }
@@ -165,13 +228,17 @@
165
228
  ]
166
229
  },
167
230
  {
168
- "key": "INVOICE_HOURS",
169
- "name": "Invoice Hours",
231
+ "key": "OPEN_HOURS",
232
+ "name": "Open Hours",
170
233
  "payloadSchema": [
171
234
  {
172
235
  "name": "id",
173
236
  "type": "string",
174
237
  "required": true
238
+ },
239
+ {
240
+ "name": "row",
241
+ "type": "BillableHour"
175
242
  }
176
243
  ]
177
244
  },
@@ -185,6 +252,21 @@
185
252
  "required": true
186
253
  }
187
254
  ]
255
+ },
256
+ {
257
+ "key": "CLOSE_VIEW",
258
+ "name": "Close View"
259
+ },
260
+ {
261
+ "key": "INVOICE_HOURS",
262
+ "name": "Invoice Hours",
263
+ "payloadSchema": [
264
+ {
265
+ "name": "id",
266
+ "type": "string",
267
+ "required": true
268
+ }
269
+ ]
188
270
  }
189
271
  ],
190
272
  "transitions": [
@@ -198,8 +280,8 @@
198
280
  "BillableHour",
199
281
  {
200
282
  "emit": {
201
- "failure": "BillableHourLoadFailed",
202
- "success": "BillableHourLoaded"
283
+ "success": "BillableHourLoaded",
284
+ "failure": "BillableHourLoadFailed"
203
285
  }
204
286
  }
205
287
  ],
@@ -207,22 +289,22 @@
207
289
  "render-ui",
208
290
  "main",
209
291
  {
292
+ "gap": "md",
293
+ "className": "py-12",
294
+ "type": "stack",
210
295
  "direction": "vertical",
211
296
  "align": "center",
212
- "type": "stack",
213
- "className": "py-12",
214
297
  "children": [
215
298
  {
216
299
  "type": "spinner"
217
300
  },
218
301
  {
302
+ "content": "Loading time entries…",
219
303
  "type": "typography",
220
304
  "color": "muted",
221
- "variant": "caption",
222
- "content": "Loading time entries…"
305
+ "variant": "caption"
223
306
  }
224
- ],
225
- "gap": "md"
307
+ ]
226
308
  }
227
309
  ]
228
310
  ]
@@ -237,106 +319,65 @@
237
319
  "main",
238
320
  {
239
321
  "type": "stack",
322
+ "direction": "vertical",
240
323
  "gap": "md",
241
324
  "children": [
242
325
  {
243
326
  "gap": "sm",
327
+ "align": "center",
328
+ "type": "stack",
329
+ "direction": "horizontal",
244
330
  "children": [
245
331
  {
246
- "size": "md",
247
- "src": "https://i.pravatar.cc/64?img=12",
248
- "name": "Lead Attorney",
249
- "type": "avatar"
250
- },
251
- {
252
- "type": "icon",
253
- "name": "clock"
332
+ "name": "clock",
333
+ "type": "icon"
254
334
  },
255
335
  {
256
336
  "type": "typography",
257
337
  "content": "@config.title",
258
338
  "variant": "h3"
259
339
  }
260
- ],
261
- "align": "center",
262
- "direction": "horizontal",
263
- "type": "stack"
264
- },
265
- {
266
- "direction": "horizontal",
267
- "type": "stack",
268
- "align": "center",
269
- "gap": "md",
270
- "children": [
271
- {
272
- "type": "animated-counter",
273
- "value": 248.0,
274
- "suffix": " hrs",
275
- "duration": 1200.0
276
- },
277
- {
278
- "type": "range-slider",
279
- "max": 500.0,
280
- "step": 25.0,
281
- "showTooltip": true,
282
- "showTicks": true,
283
- "value": 250.0,
284
- "min": 0.0
285
- }
286
340
  ]
287
341
  },
288
342
  {
289
- "type": "line-chart",
290
- "data": [
291
- {
292
- "value": 142.0,
293
- "date": "Jan"
294
- },
343
+ "children": [
295
344
  {
296
- "date": "Feb",
297
- "value": 168.0
345
+ "icon": "clock",
346
+ "value": "@payload.data.length",
347
+ "type": "stat-display",
348
+ "label": "Total entries"
298
349
  },
299
350
  {
300
- "date": "Mar",
301
- "value": 195.0
351
+ "type": "stat-display",
352
+ "icon": "hourglass",
353
+ "label": "Unbilled hours",
354
+ "value": "248"
302
355
  },
303
356
  {
304
- "value": 210.0,
305
- "date": "Apr"
357
+ "label": "Invoiced this month",
358
+ "icon": "file-text",
359
+ "type": "stat-display",
360
+ "value": "32"
306
361
  },
307
362
  {
308
- "date": "May",
309
- "value": 248.0
363
+ "value": "4",
364
+ "icon": "x-circle",
365
+ "type": "stat-display",
366
+ "label": "Written off"
310
367
  }
311
368
  ],
312
- "showArea": true,
313
- "showGrid": true
369
+ "type": "simple-grid",
370
+ "cols": 4.0
314
371
  },
315
372
  {
316
373
  "type": "divider"
317
374
  },
318
375
  {
319
- "type": "data-grid",
320
- "gap": "sm",
321
- "itemActions": [
322
- {
323
- "event": "INVOICE_HOURS",
324
- "label": "Invoice",
325
- "variant": "primary"
326
- },
327
- {
328
- "event": "WRITE_OFF_HOURS",
329
- "label": "Write Off",
330
- "variant": "ghost"
331
- }
332
- ],
333
- "entity": "@payload.data",
334
- "cols": 1.0,
335
376
  "fields": [
336
377
  {
378
+ "variant": "caption",
337
379
  "name": "workerName",
338
- "label": "Worker",
339
- "variant": "caption"
380
+ "label": "Worker"
340
381
  },
341
382
  {
342
383
  "variant": "caption",
@@ -344,29 +385,45 @@
344
385
  "label": "Matter"
345
386
  },
346
387
  {
347
- "variant": "caption",
348
388
  "name": "workDate",
389
+ "variant": "caption",
349
390
  "label": "Date"
350
391
  },
351
392
  {
393
+ "variant": "caption",
352
394
  "name": "hours",
353
- "label": "Hours",
354
- "variant": "caption"
395
+ "label": "Hours"
355
396
  },
356
397
  {
357
398
  "name": "rate",
358
- "label": "Rate",
359
- "variant": "caption"
399
+ "variant": "caption",
400
+ "label": "Rate"
360
401
  },
361
402
  {
362
403
  "label": "Status",
363
404
  "variant": "badge",
364
405
  "name": "invoiceStatus"
365
406
  }
366
- ]
407
+ ],
408
+ "entity": "@payload.data",
409
+ "itemActions": [
410
+ {
411
+ "icon": "arrow-right",
412
+ "label": "Open",
413
+ "event": "OPEN_HOURS",
414
+ "variant": "primary"
415
+ },
416
+ {
417
+ "label": "Write Off",
418
+ "event": "WRITE_OFF_HOURS",
419
+ "variant": "danger"
420
+ }
421
+ ],
422
+ "gap": "sm",
423
+ "cols": 1.0,
424
+ "type": "data-grid"
367
425
  }
368
- ],
369
- "direction": "vertical"
426
+ ]
370
427
  }
371
428
  ]
372
429
  ]
@@ -380,16 +437,317 @@
380
437
  "render-ui",
381
438
  "main",
382
439
  {
383
- "variant": "error",
384
440
  "message": "@payload.error",
385
- "type": "alert"
441
+ "type": "alert",
442
+ "variant": "error"
386
443
  }
387
444
  ]
388
445
  ]
389
446
  },
390
447
  {
391
448
  "from": "browsing",
392
- "to": "browsing",
449
+ "to": "viewing_single",
450
+ "event": "OPEN_HOURS",
451
+ "effects": [
452
+ [
453
+ "set",
454
+ "@entity.id",
455
+ "@payload.row.id"
456
+ ],
457
+ [
458
+ "set",
459
+ "@entity.workerId",
460
+ "@payload.row.workerId"
461
+ ],
462
+ [
463
+ "set",
464
+ "@entity.workerName",
465
+ "@payload.row.workerName"
466
+ ],
467
+ [
468
+ "set",
469
+ "@entity.matterId",
470
+ "@payload.row.matterId"
471
+ ],
472
+ [
473
+ "set",
474
+ "@entity.projectId",
475
+ "@payload.row.projectId"
476
+ ],
477
+ [
478
+ "set",
479
+ "@entity.workDate",
480
+ "@payload.row.workDate"
481
+ ],
482
+ [
483
+ "set",
484
+ "@entity.hours",
485
+ "@payload.row.hours"
486
+ ],
487
+ [
488
+ "set",
489
+ "@entity.rate",
490
+ "@payload.row.rate"
491
+ ],
492
+ [
493
+ "set",
494
+ "@entity.description",
495
+ "@payload.row.description"
496
+ ],
497
+ [
498
+ "set",
499
+ "@entity.isBillable",
500
+ "@payload.row.isBillable"
501
+ ],
502
+ [
503
+ "set",
504
+ "@entity.invoiceStatus",
505
+ "@payload.row.invoiceStatus"
506
+ ],
507
+ [
508
+ "render-ui",
509
+ "main",
510
+ {
511
+ "type": "stack",
512
+ "children": [
513
+ {
514
+ "gap": "sm",
515
+ "align": "center",
516
+ "children": [
517
+ {
518
+ "label": "Back",
519
+ "action": "CLOSE_VIEW",
520
+ "variant": "ghost",
521
+ "type": "button"
522
+ },
523
+ {
524
+ "name": "clock",
525
+ "type": "icon"
526
+ },
527
+ {
528
+ "content": "@entity.workerName",
529
+ "variant": "h3",
530
+ "type": "typography"
531
+ },
532
+ {
533
+ "label": "@entity.invoiceStatus",
534
+ "variant": "default",
535
+ "type": "badge"
536
+ }
537
+ ],
538
+ "type": "stack",
539
+ "direction": "horizontal"
540
+ },
541
+ {
542
+ "type": "divider"
543
+ },
544
+ {
545
+ "gap": "sm",
546
+ "type": "stack",
547
+ "direction": "vertical",
548
+ "children": [
549
+ {
550
+ "children": [
551
+ {
552
+ "variant": "caption",
553
+ "color": "muted",
554
+ "type": "typography",
555
+ "content": "Matter"
556
+ },
557
+ {
558
+ "variant": "body",
559
+ "type": "typography",
560
+ "content": "@entity.matterId"
561
+ }
562
+ ],
563
+ "gap": "md",
564
+ "type": "stack",
565
+ "direction": "horizontal"
566
+ },
567
+ {
568
+ "direction": "horizontal",
569
+ "gap": "md",
570
+ "type": "stack",
571
+ "children": [
572
+ {
573
+ "variant": "caption",
574
+ "type": "typography",
575
+ "color": "muted",
576
+ "content": "Project"
577
+ },
578
+ {
579
+ "variant": "body",
580
+ "type": "typography",
581
+ "content": "@entity.projectId"
582
+ }
583
+ ]
584
+ },
585
+ {
586
+ "children": [
587
+ {
588
+ "color": "muted",
589
+ "variant": "caption",
590
+ "type": "typography",
591
+ "content": "Description"
592
+ },
593
+ {
594
+ "type": "typography",
595
+ "variant": "body",
596
+ "content": "@entity.description"
597
+ }
598
+ ],
599
+ "gap": "md",
600
+ "type": "stack",
601
+ "direction": "horizontal"
602
+ }
603
+ ]
604
+ },
605
+ {
606
+ "type": "divider"
607
+ },
608
+ {
609
+ "cols": 3.0,
610
+ "type": "simple-grid",
611
+ "children": [
612
+ {
613
+ "label": "Hours",
614
+ "type": "stat-display",
615
+ "value": "@entity.hours",
616
+ "icon": "clock"
617
+ },
618
+ {
619
+ "label": "Rate",
620
+ "icon": "dollar-sign",
621
+ "value": "@entity.rate",
622
+ "type": "stat-display"
623
+ },
624
+ {
625
+ "label": "Date",
626
+ "icon": "calendar",
627
+ "type": "stat-display",
628
+ "value": "@entity.workDate"
629
+ }
630
+ ]
631
+ },
632
+ {
633
+ "type": "stack",
634
+ "align": "center",
635
+ "children": [
636
+ {
637
+ "actionPayload": {
638
+ "id": "@entity.id"
639
+ },
640
+ "action": "INVOICE_HOURS",
641
+ "variant": "primary",
642
+ "type": "button",
643
+ "label": "Invoice"
644
+ },
645
+ {
646
+ "actionPayload": {
647
+ "id": "@entity.id"
648
+ },
649
+ "label": "Write Off",
650
+ "variant": "danger",
651
+ "type": "button",
652
+ "action": "WRITE_OFF_HOURS"
653
+ }
654
+ ],
655
+ "gap": "sm",
656
+ "direction": "horizontal"
657
+ }
658
+ ],
659
+ "direction": "vertical",
660
+ "gap": "md"
661
+ }
662
+ ]
663
+ ]
664
+ },
665
+ {
666
+ "from": "browsing",
667
+ "to": "loading",
668
+ "event": "WRITE_OFF_HOURS",
669
+ "effects": [
670
+ [
671
+ "set",
672
+ "@entity.id",
673
+ "@payload.id"
674
+ ],
675
+ [
676
+ "fetch",
677
+ "BillableHour",
678
+ {
679
+ "emit": {
680
+ "failure": "BillableHourLoadFailed",
681
+ "success": "BillableHourLoaded"
682
+ }
683
+ }
684
+ ],
685
+ [
686
+ "render-ui",
687
+ "main",
688
+ {
689
+ "type": "stack",
690
+ "direction": "vertical",
691
+ "className": "py-12",
692
+ "gap": "md",
693
+ "align": "center",
694
+ "children": [
695
+ {
696
+ "type": "spinner"
697
+ },
698
+ {
699
+ "content": "Writing off hours…",
700
+ "color": "muted",
701
+ "type": "typography",
702
+ "variant": "caption"
703
+ }
704
+ ]
705
+ }
706
+ ]
707
+ ]
708
+ },
709
+ {
710
+ "from": "viewing_single",
711
+ "to": "loading",
712
+ "event": "CLOSE_VIEW",
713
+ "effects": [
714
+ [
715
+ "fetch",
716
+ "BillableHour",
717
+ {
718
+ "emit": {
719
+ "failure": "BillableHourLoadFailed",
720
+ "success": "BillableHourLoaded"
721
+ }
722
+ }
723
+ ],
724
+ [
725
+ "render-ui",
726
+ "main",
727
+ {
728
+ "gap": "md",
729
+ "direction": "vertical",
730
+ "type": "stack",
731
+ "align": "center",
732
+ "children": [
733
+ {
734
+ "type": "spinner"
735
+ },
736
+ {
737
+ "variant": "caption",
738
+ "type": "typography",
739
+ "color": "muted",
740
+ "content": "Loading time entries…"
741
+ }
742
+ ],
743
+ "className": "py-12"
744
+ }
745
+ ]
746
+ ]
747
+ },
748
+ {
749
+ "from": "viewing_single",
750
+ "to": "loading",
393
751
  "event": "INVOICE_HOURS",
394
752
  "effects": [
395
753
  [
@@ -397,20 +755,43 @@
397
755
  "@entity.id",
398
756
  "@payload.id"
399
757
  ],
758
+ [
759
+ "fetch",
760
+ "BillableHour",
761
+ {
762
+ "emit": {
763
+ "success": "BillableHourLoaded",
764
+ "failure": "BillableHourLoadFailed"
765
+ }
766
+ }
767
+ ],
400
768
  [
401
769
  "render-ui",
402
770
  "main",
403
771
  {
404
- "variant": "success",
405
- "message": "Hours invoiced",
406
- "type": "alert"
772
+ "direction": "vertical",
773
+ "align": "center",
774
+ "className": "py-12",
775
+ "type": "stack",
776
+ "gap": "md",
777
+ "children": [
778
+ {
779
+ "type": "spinner"
780
+ },
781
+ {
782
+ "variant": "caption",
783
+ "color": "muted",
784
+ "content": "Invoicing hours…",
785
+ "type": "typography"
786
+ }
787
+ ]
407
788
  }
408
789
  ]
409
790
  ]
410
791
  },
411
792
  {
412
- "from": "browsing",
413
- "to": "browsing",
793
+ "from": "viewing_single",
794
+ "to": "loading",
414
795
  "event": "WRITE_OFF_HOURS",
415
796
  "effects": [
416
797
  [
@@ -418,13 +799,36 @@
418
799
  "@entity.id",
419
800
  "@payload.id"
420
801
  ],
802
+ [
803
+ "fetch",
804
+ "BillableHour",
805
+ {
806
+ "emit": {
807
+ "success": "BillableHourLoaded",
808
+ "failure": "BillableHourLoadFailed"
809
+ }
810
+ }
811
+ ],
421
812
  [
422
813
  "render-ui",
423
814
  "main",
424
815
  {
425
- "variant": "info",
426
- "message": "Hours written off",
427
- "type": "alert"
816
+ "className": "py-12",
817
+ "direction": "vertical",
818
+ "gap": "md",
819
+ "type": "stack",
820
+ "align": "center",
821
+ "children": [
822
+ {
823
+ "type": "spinner"
824
+ },
825
+ {
826
+ "type": "typography",
827
+ "variant": "caption",
828
+ "content": "Writing off hours…",
829
+ "color": "muted"
830
+ }
831
+ ]
428
832
  }
429
833
  ]
430
834
  ]
@@ -448,8 +852,8 @@
448
852
  "render-ui",
449
853
  "main",
450
854
  {
451
- "size": "sm",
452
- "type": "spinner"
855
+ "type": "spinner",
856
+ "size": "sm"
453
857
  }
454
858
  ]
455
859
  ]
@@ -478,4 +882,4 @@
478
882
  ]
479
883
  }
480
884
  ]
481
- }
885
+ }