@almadar/std 16.235.0 → 16.237.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 (283) hide show
  1. package/behaviors/behaviors-registry.json +5621 -1993
  2. package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +32 -41
  3. package/behaviors/lolo/infra/atoms/std-audit-capture.lolo +0 -5
  4. package/behaviors/lolo/infra/atoms/std-cache-aside.lolo +0 -24
  5. package/behaviors/lolo/infra/atoms/std-circuit-breaker.lolo +1 -17
  6. package/behaviors/lolo/infra/atoms/std-data-erasure.lolo +17 -24
  7. package/behaviors/lolo/infra/atoms/std-data-import.lolo +8 -11
  8. package/behaviors/lolo/infra/atoms/std-game-clock.lolo +2 -0
  9. package/behaviors/lolo/infra/atoms/std-knowledge-loop.lolo +0 -5
  10. package/behaviors/lolo/infra/atoms/std-lifecycle.lolo +3 -1
  11. package/behaviors/lolo/infra/atoms/std-migration-job.lolo +2 -2
  12. package/behaviors/lolo/infra/atoms/std-mod-queue.lolo +40 -18
  13. package/behaviors/lolo/infra/atoms/std-notification-preferences.lolo +25 -11
  14. package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +0 -5
  15. package/behaviors/lolo/infra/atoms/std-permission-matrix.lolo +28 -11
  16. package/behaviors/lolo/infra/atoms/std-rate-limiter.lolo +84 -22
  17. package/behaviors/lolo/infra/atoms/std-status-lifecycle.lolo +1 -6
  18. package/behaviors/lolo/ml/atoms/std-graph-builder.lolo +3 -1
  19. package/behaviors/lolo/ml/atoms/std-ml-classify.lolo +0 -4
  20. package/behaviors/lolo/ml/atoms/std-ml-similarity.lolo +0 -4
  21. package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +12 -0
  22. package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +55 -9
  23. package/behaviors/lolo/ui/core/atoms/std-app-search.lolo +6 -2
  24. package/behaviors/lolo/ui/core/atoms/std-billable-hour.lolo +19 -14
  25. package/behaviors/lolo/ui/core/atoms/std-board.lolo +77 -27
  26. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +76 -33
  27. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +7 -3
  28. package/behaviors/lolo/ui/core/atoms/std-esign-flow.lolo +25 -13
  29. package/behaviors/lolo/ui/core/atoms/std-esign-request.lolo +5 -0
  30. package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +32 -5
  31. package/behaviors/lolo/ui/core/atoms/std-export.lolo +0 -10
  32. package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +15 -4
  33. package/behaviors/lolo/ui/core/atoms/std-form-advanced.lolo +1 -6
  34. package/behaviors/lolo/ui/core/atoms/std-gantt-schedule.lolo +8 -1
  35. package/behaviors/lolo/ui/core/atoms/std-geosearch.lolo +1 -0
  36. package/behaviors/lolo/ui/core/atoms/std-graphs.lolo +20 -4
  37. package/behaviors/lolo/ui/core/atoms/std-image-upload-multi.lolo +2 -2
  38. package/behaviors/lolo/ui/core/atoms/std-import.lolo +0 -5
  39. package/behaviors/lolo/ui/core/atoms/std-list.lolo +53 -32
  40. package/behaviors/lolo/ui/core/atoms/std-modal-editor.lolo +2 -2
  41. package/behaviors/lolo/ui/core/atoms/std-multi-party-flow.lolo +24 -0
  42. package/behaviors/lolo/ui/core/atoms/std-rating-review.lolo +12 -13
  43. package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +29 -13
  44. package/behaviors/lolo/ui/core/atoms/std-recurrence.lolo +14 -1
  45. package/behaviors/lolo/ui/core/atoms/std-role-gate.lolo +39 -0
  46. package/behaviors/lolo/ui/core/atoms/std-saved-search.lolo +84 -16
  47. package/behaviors/lolo/ui/core/atoms/std-selection.lolo +22 -10
  48. package/behaviors/lolo/ui/core/atoms/std-stats.lolo +5 -5
  49. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +3 -0
  50. package/behaviors/lolo/ui/core/atoms/std-thread.lolo +41 -73
  51. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +27 -12
  52. package/behaviors/lolo/ui/core/atoms/std-vote.lolo +0 -4
  53. package/behaviors/lolo/ui/core/atoms/std-wizard.lolo +3 -3
  54. package/behaviors/lolo/ui/core/atoms/ui-presence.lolo +21 -0
  55. package/behaviors/lolo/ui/core/atoms/ui-time-slot-cell.lolo +36 -0
  56. package/behaviors/lolo/ui/core/atoms/ui-typography.lolo +5 -0
  57. package/behaviors/lolo/ui/core/molecules/ui-alert.lolo +5 -0
  58. package/behaviors/lolo/ui/core/molecules/ui-animated-counter.lolo +1 -1
  59. package/behaviors/lolo/ui/core/molecules/ui-breadcrumb.lolo +6 -1
  60. package/behaviors/lolo/ui/core/molecules/ui-chart.lolo +11 -1
  61. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +13 -8
  62. package/behaviors/lolo/ui/core/molecules/ui-command-palette.lolo +11 -6
  63. package/behaviors/lolo/ui/core/molecules/ui-commit-row.lolo +2 -2
  64. package/behaviors/lolo/ui/core/molecules/ui-confirm-dialog.lolo +8 -0
  65. package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +60 -5
  66. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +47 -3
  67. package/behaviors/lolo/ui/core/molecules/ui-date-range-picker.lolo +3 -3
  68. package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +31 -9
  69. package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +8 -3
  70. package/behaviors/lolo/ui/core/molecules/ui-document-viewer.lolo +6 -1
  71. package/behaviors/lolo/ui/core/molecules/ui-drawer.lolo +13 -0
  72. package/behaviors/lolo/ui/core/molecules/ui-emoji-picker.lolo +1 -1
  73. package/behaviors/lolo/ui/core/molecules/ui-feature-card.lolo +1 -1
  74. package/behaviors/lolo/ui/core/molecules/ui-floating-action-button.lolo +6 -1
  75. package/behaviors/lolo/ui/core/molecules/ui-floating-toolbar.lolo +6 -1
  76. package/behaviors/lolo/ui/core/molecules/ui-form-actions.lolo +6 -1
  77. package/behaviors/lolo/ui/core/molecules/ui-gantt.lolo +9 -1
  78. package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +6 -1
  79. package/behaviors/lolo/ui/core/molecules/ui-import-preview-tree.lolo +3 -2
  80. package/behaviors/lolo/ui/core/molecules/ui-likert-scale.lolo +1 -1
  81. package/behaviors/lolo/ui/core/molecules/ui-menu.lolo +7 -1
  82. package/behaviors/lolo/ui/core/molecules/ui-meter.lolo +6 -1
  83. package/behaviors/lolo/ui/core/molecules/ui-modal.lolo +5 -0
  84. package/behaviors/lolo/ui/core/molecules/ui-page-header.lolo +11 -1
  85. package/behaviors/lolo/ui/core/molecules/ui-page-transition.lolo +1 -1
  86. package/behaviors/lolo/ui/core/molecules/ui-swipeable-row.lolo +44 -15
  87. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +57 -5
  88. package/behaviors/lolo/ui/core/molecules/ui-tabs.lolo +8 -2
  89. package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +87 -16
  90. package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +37 -10
  91. package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +46 -8
  92. package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +36 -10
  93. package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +57 -10
  94. package/behaviors/lolo/ui/core/organisms/ui-form.lolo +57 -10
  95. package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +22 -3
  96. package/behaviors/lolo/ui/core/organisms/ui-stat-card.lolo +6 -0
  97. package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +12 -0
  98. package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +38 -5
  99. package/behaviors/lolo/ui/core/templates/ui-auth-layout.lolo +1 -1
  100. package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +3 -45
  101. package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +7 -2
  102. package/behaviors/lolo/ui/core/templates/ui-generic-app-template.lolo +2 -37
  103. package/behaviors/lolo/ui/game/.hand-authored.json +2 -2
  104. package/behaviors/lolo/ui/game/atoms/ui-choice-button.lolo +1 -1
  105. package/behaviors/lolo/ui/game/atoms/ui-dialogue-bubble.lolo +2 -2
  106. package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +9 -3
  107. package/behaviors/lolo/ui/game/atoms/ui-score-display.lolo +1 -1
  108. package/behaviors/lolo/ui/game/organisms/std-arcade-board-3d.lolo +2 -2
  109. package/behaviors/lolo/ui/game/organisms/std-crew-board-2d.lolo +0 -4
  110. package/behaviors/lolo/ui/game/organisms/std-platformer-puzzle.lolo +2 -66
  111. package/behaviors/lolo/ui/game/organisms/std-tactics-board-2d.lolo +0 -4
  112. package/behaviors/lolo/ui/game/organisms/std-worldmap-board-2d.lolo +0 -4
  113. package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +6 -6
  114. package/behaviors/lolo-behavior-contracts.json +1 -1
  115. package/behaviors/registry/factory-signatures.json +1 -1
  116. package/behaviors/registry/infra/atoms/std-approval-gate.orb +194 -67
  117. package/behaviors/registry/infra/atoms/std-audit-capture.orb +0 -8
  118. package/behaviors/registry/infra/atoms/std-cache-aside.orb +0 -84
  119. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +1 -44
  120. package/behaviors/registry/infra/atoms/std-data-erasure.orb +124 -55
  121. package/behaviors/registry/infra/atoms/std-data-import.orb +12 -11
  122. package/behaviors/registry/infra/atoms/std-game-clock.orb +31 -0
  123. package/behaviors/registry/infra/atoms/std-knowledge-loop.orb +0 -57
  124. package/behaviors/registry/infra/atoms/std-lifecycle.orb +43 -0
  125. package/behaviors/registry/infra/atoms/std-migration-job.orb +26 -1
  126. package/behaviors/registry/infra/atoms/std-mod-queue.orb +379 -103
  127. package/behaviors/registry/infra/atoms/std-notification-preferences.orb +135 -12
  128. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +0 -11
  129. package/behaviors/registry/infra/atoms/std-permission-matrix.orb +137 -12
  130. package/behaviors/registry/infra/atoms/std-rate-limiter.orb +287 -72
  131. package/behaviors/registry/infra/atoms/std-status-lifecycle.orb +5 -8
  132. package/behaviors/registry/ml/atoms/std-graph-builder.orb +11 -0
  133. package/behaviors/registry/ml/atoms/std-ml-classify.orb +0 -7
  134. package/behaviors/registry/ml/atoms/std-ml-similarity.orb +0 -7
  135. package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +82 -0
  136. package/behaviors/registry/ui/core/atoms/std-app-layout.orb +417 -9
  137. package/behaviors/registry/ui/core/atoms/std-app-search.orb +53 -1
  138. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +209 -19
  139. package/behaviors/registry/ui/core/atoms/std-board.orb +242 -61
  140. package/behaviors/registry/ui/core/atoms/std-browse.orb +499 -49
  141. package/behaviors/registry/ui/core/atoms/std-calendar.orb +96 -2
  142. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +122 -15
  143. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +11 -0
  144. package/behaviors/registry/ui/core/atoms/std-event-log.orb +42 -6
  145. package/behaviors/registry/ui/core/atoms/std-export.orb +0 -16
  146. package/behaviors/registry/ui/core/atoms/std-file-store.orb +121 -3
  147. package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +1 -43
  148. package/behaviors/registry/ui/core/atoms/std-gantt-schedule.orb +25 -1
  149. package/behaviors/registry/ui/core/atoms/std-geosearch.orb +5 -0
  150. package/behaviors/registry/ui/core/atoms/std-graphs.orb +173 -66
  151. package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +4 -0
  152. package/behaviors/registry/ui/core/atoms/std-import.orb +0 -8
  153. package/behaviors/registry/ui/core/atoms/std-list.orb +237 -34
  154. package/behaviors/registry/ui/core/atoms/std-modal-editor.orb +10 -1
  155. package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +24 -0
  156. package/behaviors/registry/ui/core/atoms/std-rating-review.orb +37 -19
  157. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +275 -14
  158. package/behaviors/registry/ui/core/atoms/std-recurrence.orb +93 -4
  159. package/behaviors/registry/ui/core/atoms/std-role-gate.orb +217 -0
  160. package/behaviors/registry/ui/core/atoms/std-saved-search.orb +473 -19
  161. package/behaviors/registry/ui/core/atoms/std-selection.orb +179 -10
  162. package/behaviors/registry/ui/core/atoms/std-stats.orb +73 -1
  163. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +3 -0
  164. package/behaviors/registry/ui/core/atoms/std-thread.orb +190 -115
  165. package/behaviors/registry/ui/core/atoms/std-version-history.orb +138 -14
  166. package/behaviors/registry/ui/core/atoms/std-vote.orb +0 -9
  167. package/behaviors/registry/ui/core/atoms/std-wizard.orb +33 -3
  168. package/behaviors/registry/ui/core/atoms/ui-presence.orb +59 -0
  169. package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +132 -0
  170. package/behaviors/registry/ui/core/atoms/ui-typography.orb +7 -0
  171. package/behaviors/registry/ui/core/molecules/ui-alert.orb +7 -0
  172. package/behaviors/registry/ui/core/molecules/ui-animated-counter.orb +1 -1
  173. package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +53 -1
  174. package/behaviors/registry/ui/core/molecules/ui-chart.orb +68 -1
  175. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +291 -8
  176. package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +89 -6
  177. package/behaviors/registry/ui/core/molecules/ui-commit-row.orb +3 -2
  178. package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +32 -0
  179. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +297 -5
  180. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +261 -3
  181. package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +1 -3
  182. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +93 -24
  183. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +121 -3
  184. package/behaviors/registry/ui/core/molecules/ui-document-viewer.orb +53 -1
  185. package/behaviors/registry/ui/core/molecules/ui-drawer.orb +40 -0
  186. package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +0 -1
  187. package/behaviors/registry/ui/core/molecules/ui-feature-card.orb +0 -1
  188. package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +53 -1
  189. package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +53 -1
  190. package/behaviors/registry/ui/core/molecules/ui-form-actions.orb +53 -1
  191. package/behaviors/registry/ui/core/molecules/ui-gantt.orb +28 -1
  192. package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +53 -1
  193. package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +9 -2
  194. package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +1 -1
  195. package/behaviors/registry/ui/core/molecules/ui-menu.orb +74 -1
  196. package/behaviors/registry/ui/core/molecules/ui-meter.orb +53 -1
  197. package/behaviors/registry/ui/core/molecules/ui-modal.orb +8 -0
  198. package/behaviors/registry/ui/core/molecules/ui-page-header.orb +60 -1
  199. package/behaviors/registry/ui/core/molecules/ui-page-transition.orb +1 -1
  200. package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +393 -23
  201. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +337 -5
  202. package/behaviors/registry/ui/core/molecules/ui-tabs.orb +99 -2
  203. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +415 -33
  204. package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +340 -29
  205. package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +296 -20
  206. package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +489 -9
  207. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +132 -13
  208. package/behaviors/registry/ui/core/organisms/ui-form.orb +132 -13
  209. package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +141 -3
  210. package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +58 -0
  211. package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +82 -0
  212. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +159 -8
  213. package/behaviors/registry/ui/core/templates/ui-auth-layout.orb +0 -1
  214. package/behaviors/registry/ui/core/templates/ui-counter-template.orb +1 -173
  215. package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +53 -2
  216. package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +1 -116
  217. package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +1 -1
  218. package/behaviors/registry/ui/game/atoms/ui-dialogue-bubble.orb +1 -2
  219. package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +100 -3
  220. package/behaviors/registry/ui/game/atoms/ui-score-display.orb +0 -1
  221. package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +10 -0
  222. package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +0 -7
  223. package/behaviors/registry/ui/game/organisms/std-platformer-puzzle.orb +1 -807
  224. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +0 -7
  225. package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +0 -7
  226. package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +6 -0
  227. package/canonical-operators.json +18 -1
  228. package/dist/behaviors/exports-reader.js +8942 -3946
  229. package/dist/behaviors/functions/index.d.ts +419 -132
  230. package/dist/behaviors/functions/index.js +8931 -3946
  231. package/dist/behaviors/index.d.ts +1 -1
  232. package/dist/behaviors/index.js +8943 -3947
  233. package/dist/behaviors/query.js +8942 -3946
  234. package/dist/behaviors-embeddings.hash.json +3 -3
  235. package/dist/behaviors-embeddings.json +49 -41
  236. package/dist/behaviors-registry.json +5621 -1993
  237. package/dist/index.d.ts +3 -3
  238. package/dist/index.js +8960 -3947
  239. package/dist/knob-embeddings.hash.json +3 -3
  240. package/dist/knob-embeddings.json +774 -374
  241. package/dist/modules/anim.d.ts +1 -1
  242. package/dist/modules/array.d.ts +1 -1
  243. package/dist/modules/array.js +15 -0
  244. package/dist/modules/async.d.ts +1 -1
  245. package/dist/modules/behavior.d.ts +1 -1
  246. package/dist/modules/browser.d.ts +1 -1
  247. package/dist/modules/composition.d.ts +1 -1
  248. package/dist/modules/contract.d.ts +1 -1
  249. package/dist/modules/core.d.ts +1 -1
  250. package/dist/modules/core.js +2 -0
  251. package/dist/modules/data.d.ts +1 -1
  252. package/dist/modules/ease.d.ts +1 -1
  253. package/dist/modules/format.d.ts +1 -1
  254. package/dist/modules/geo.d.ts +1 -1
  255. package/dist/modules/graph.d.ts +1 -1
  256. package/dist/modules/grid.d.ts +1 -1
  257. package/dist/modules/index.d.ts +1 -1
  258. package/dist/modules/index.js +17 -0
  259. package/dist/modules/integration.d.ts +1 -1
  260. package/dist/modules/json.d.ts +1 -1
  261. package/dist/modules/llm.d.ts +1 -1
  262. package/dist/modules/math.d.ts +1 -1
  263. package/dist/modules/memory.d.ts +1 -1
  264. package/dist/modules/nn.d.ts +1 -1
  265. package/dist/modules/noise.d.ts +1 -1
  266. package/dist/modules/object.d.ts +1 -1
  267. package/dist/modules/os.d.ts +1 -1
  268. package/dist/modules/path.d.ts +1 -1
  269. package/dist/modules/prob.d.ts +1 -1
  270. package/dist/modules/session.d.ts +1 -1
  271. package/dist/modules/str.d.ts +1 -1
  272. package/dist/modules/tensor.d.ts +1 -1
  273. package/dist/modules/time.d.ts +1 -1
  274. package/dist/modules/trace.d.ts +1 -1
  275. package/dist/modules/train.d.ts +1 -1
  276. package/dist/modules/validate.d.ts +1 -1
  277. package/dist/modules/vector.d.ts +1 -1
  278. package/dist/modules/workspace.d.ts +1 -1
  279. package/dist/registry/factory-signatures.json +1 -1
  280. package/dist/registry.d.ts +2 -2
  281. package/dist/registry.js +17 -0
  282. package/dist/{types-Ggla7OK7.d.ts → types-DLx38UFZ.d.ts} +23 -3
  283. package/package.json +3 -3
@@ -19,10 +19,19 @@
19
19
  "parent": "trt_01KXG04SD9CXEV12B2DCF8KYGK",
20
20
  "renames": []
21
21
  },
22
- "evt_01KXG04SDBVHXJR39FQKJ2R4F9": {
22
+ "evt_01M3RWGFY2NR2AWA5M5G9DE397": {
23
23
  "bakedName": "DetailPanelLoaded",
24
24
  "curName": "DetailPanelLoaded",
25
- "id": "evt_01KXG04SDBVHXJR39FQKJ2R4F9",
25
+ "id": "evt_01M3RWGFY2NR2AWA5M5G9DE397",
26
+ "kind": "event",
27
+ "owner": "workspace",
28
+ "parent": "trt_01KXG04SD9CXEV12B2DCF8KYGK",
29
+ "renames": []
30
+ },
31
+ "evt_01M3T0VXEXYCXXAVQSJNA41FTD": {
32
+ "bakedName": "@config.closeEvent",
33
+ "curName": "@config.closeEvent",
34
+ "id": "evt_01M3T0VXEXYCXXAVQSJNA41FTD",
26
35
  "kind": "event",
27
36
  "owner": "workspace",
28
37
  "parent": "trt_01KXG04SD9CXEV12B2DCF8KYGK",
@@ -114,6 +123,14 @@
114
123
  "required": false,
115
124
  "type": "string"
116
125
  },
126
+ "roles": {
127
+ "items": {
128
+ "type": "string"
129
+ },
130
+ "name": "roles",
131
+ "required": false,
132
+ "type": "array"
133
+ },
117
134
  "variant": {
118
135
  "name": "variant",
119
136
  "required": false,
@@ -124,6 +141,11 @@
124
141
  "ghost",
125
142
  "danger"
126
143
  ]
144
+ },
145
+ "when": {
146
+ "name": "when",
147
+ "required": false,
148
+ "type": "object"
127
149
  }
128
150
  },
129
151
  "type": "object"
@@ -182,6 +204,11 @@
182
204
  "ghost",
183
205
  "danger"
184
206
  ]
207
+ },
208
+ "when": {
209
+ "name": "when",
210
+ "required": false,
211
+ "type": "object"
185
212
  }
186
213
  },
187
214
  "tier": "presentation",
@@ -193,6 +220,13 @@
193
220
  "tier": "presentation",
194
221
  "type": "string"
195
222
  },
223
+ "closeEvent": {
224
+ "default": "CLOSE",
225
+ "description": "The event of the declared action that dismisses the panel. The matching action renders as the header close ×; omitted, no × is drawn.",
226
+ "label": "Close Event",
227
+ "tier": "presentation",
228
+ "type": "event"
229
+ },
196
230
  "displayFields": {
197
231
  "default": [],
198
232
  "description": "Display fields (alias for fields)",
@@ -244,8 +278,10 @@
244
278
  "fields": {
245
279
  "default": [
246
280
  {
247
- "header": "Header",
248
- "key": "Key",
281
+ "format": "date",
282
+ "icon": "circle",
283
+ "label": "Label",
284
+ "name": "Name",
249
285
  "relation": {
250
286
  "cardinality": "one",
251
287
  "entity": "Entity"
@@ -254,11 +290,14 @@
254
290
  "values": [
255
291
  "Item",
256
292
  "Item 2"
257
- ]
293
+ ],
294
+ "variant": "h3"
258
295
  },
259
296
  {
260
- "header": "Header 2",
261
- "key": "Key 2",
297
+ "format": "currency",
298
+ "icon": "circle",
299
+ "label": "Label 2",
300
+ "name": "Name 2",
262
301
  "relation": {
263
302
  "cardinality": "many",
264
303
  "entity": "Entity 2"
@@ -267,19 +306,65 @@
267
306
  "values": [
268
307
  "Item",
269
308
  "Item 2"
270
- ]
309
+ ],
310
+ "variant": "h4"
271
311
  }
272
312
  ],
273
- "description": "Fields to display - accepts string[], {key, header}[], or DetailField[]",
313
+ "description": "Fields to display: field names, or declared fields ({ name, label, variant, format, colorMap, labels })",
274
314
  "items": {
275
315
  "properties": {
276
- "header": {
277
- "name": "header",
316
+ "colorMap": {
317
+ "items": {
318
+ "type": "string",
319
+ "values": [
320
+ "default",
321
+ "primary",
322
+ "secondary",
323
+ "success",
324
+ "warning",
325
+ "danger",
326
+ "error",
327
+ "info",
328
+ "neutral",
329
+ "destructive"
330
+ ]
331
+ },
332
+ "name": "colorMap",
333
+ "required": false,
334
+ "type": "object"
335
+ },
336
+ "format": {
337
+ "name": "format",
338
+ "required": false,
339
+ "type": "string",
340
+ "values": [
341
+ "date",
342
+ "currency",
343
+ "number",
344
+ "boolean",
345
+ "percent"
346
+ ]
347
+ },
348
+ "icon": {
349
+ "name": "icon",
350
+ "required": false,
351
+ "type": "string"
352
+ },
353
+ "label": {
354
+ "name": "label",
278
355
  "required": false,
279
356
  "type": "string"
280
357
  },
281
- "key": {
282
- "name": "key",
358
+ "labels": {
359
+ "items": {
360
+ "type": "string"
361
+ },
362
+ "name": "labels",
363
+ "required": false,
364
+ "type": "object"
365
+ },
366
+ "name": {
367
+ "name": "name",
283
368
  "required": true,
284
369
  "type": "string"
285
370
  },
@@ -319,6 +404,20 @@
319
404
  "name": "values",
320
405
  "required": false,
321
406
  "type": "array"
407
+ },
408
+ "variant": {
409
+ "name": "variant",
410
+ "required": false,
411
+ "type": "string",
412
+ "values": [
413
+ "h3",
414
+ "h4",
415
+ "body",
416
+ "caption",
417
+ "badge",
418
+ "small",
419
+ "progress"
420
+ ]
322
421
  }
323
422
  },
324
423
  "type": "object"
@@ -484,8 +583,8 @@
484
583
  },
485
584
  "selfFetch": {
486
585
  "default": true,
487
- "description": "true (default) = standalone mount self-populates on INIT. false = a composing atom owns the fetch and routes its loaded event here — suppresses the wrapper's own un-hydrated fetch so it cannot race the composer's.",
488
- "label": "Fetch its own rows on mount?",
586
+ "description": "true (default) = a mount that carries an id loads that one row (never the collection); a create-mode mount skips the load. false = a composing atom owns the load.",
587
+ "label": "Fetch its own row on mount?",
489
588
  "tier": "internal",
490
589
  "type": "boolean"
491
590
  },
@@ -563,6 +662,13 @@
563
662
  "tier": "presentation",
564
663
  "type": "number"
565
664
  },
665
+ "viewerRole": {
666
+ "default": "",
667
+ "description": "The viewer's role that each action's `roles` is checked against; bind it at the call site (e.g. `viewerRole: @user.role`). Empty = only actions with no `roles` show.",
668
+ "label": "Viewer's role",
669
+ "tier": "policy",
670
+ "type": "string"
671
+ },
566
672
  "width": {
567
673
  "description": "Panel width (CSS value, e.g., '400px', '50%')",
568
674
  "label": "Width",
@@ -582,9 +688,17 @@
582
688
  ],
583
689
  "emits": [
584
690
  {
585
- "description": "DetailPanel rows finished loading; payload.data holds the collection.",
691
+ "definerKnob": "closeEvent",
692
+ "description": "The event of the declared action that dismisses the panel. The matching action renders as the header close ×; omitted, no × is drawn.",
693
+ "event": "@config.closeEvent",
694
+ "eventId": "evt_01M3T0VXEXYCXXAVQSJNA41FTD",
695
+ "scope": "external",
696
+ "tier": "essential"
697
+ },
698
+ {
699
+ "description": "DetailPanel row finished loading; payload.data holds the single row.",
586
700
  "event": "DetailPanelLoaded",
587
- "eventId": "evt_01KXG04SDBVHXJR39FQKJ2R4F9",
701
+ "eventId": "evt_01M3RWGFY2NR2AWA5M5G9DE397",
588
702
  "payloadSchema": [
589
703
  {
590
704
  "entity": "DetailPanelItem",
@@ -596,7 +710,7 @@
596
710
  "type": "string"
597
711
  }
598
712
  ],
599
- "type": "[object]"
713
+ "type": "object"
600
714
  }
601
715
  ],
602
716
  "scope": "internal",
@@ -620,13 +734,21 @@
620
734
  "stateMachine": {
621
735
  "events": [
622
736
  {
737
+ "description": "Mount payload; a host that routes to this panel by id (a :id page param) passes it here.",
623
738
  "id": "evt_01KXG04SD94X8KGY16SVTBNF6K",
624
739
  "key": "INIT",
625
- "name": "Initialize"
740
+ "name": "Initialize",
741
+ "payloadSchema": [
742
+ {
743
+ "name": "id",
744
+ "type": "string"
745
+ }
746
+ ],
747
+ "tier": "internal"
626
748
  },
627
749
  {
628
- "description": "DetailPanel rows finished loading; payload.data holds the collection.",
629
- "id": "evt_01KXG04SDBVHXJR39FQKJ2R4F9",
750
+ "description": "DetailPanel row finished loading; payload.data holds the single row.",
751
+ "id": "evt_01M3RWGFY2NR2AWA5M5G9DE397",
630
752
  "key": "DetailPanelLoaded",
631
753
  "name": "Detail panel loaded",
632
754
  "payloadSchema": [
@@ -640,16 +762,26 @@
640
762
  "type": "string"
641
763
  }
642
764
  ],
643
- "type": "[object]"
765
+ "type": "object"
644
766
  }
645
767
  ],
646
768
  "synonyms": "loaded, fetched, retrieved",
647
769
  "tier": "essential"
770
+ },
771
+ {
772
+ "description": "The event of the declared action that dismisses the panel. The matching action renders as the header close ×; omitted, no × is drawn.",
773
+ "id": "evt_01M3T0VXEXYCXXAVQSJNA41FTD",
774
+ "key": "@config.closeEvent",
775
+ "name": "@config.close event",
776
+ "tier": "essential"
648
777
  }
649
778
  ],
650
779
  "states": [
651
780
  {
652
781
  "isInitial": true,
782
+ "name": "resolving"
783
+ },
784
+ {
653
785
  "name": "idle"
654
786
  }
655
787
  ],
@@ -662,18 +794,53 @@
662
794
  {
663
795
  "emit": {
664
796
  "success": "DetailPanelLoaded"
665
- }
797
+ },
798
+ "id": "@payload.id"
666
799
  }
667
800
  ],
668
801
  [
669
802
  "render-ui",
670
803
  "main",
671
804
  {
672
- "actions": "@config.actions",
805
+ "actions": [
806
+ "array/filter",
807
+ "@config.actions",
808
+ [
809
+ "fn",
810
+ "action",
811
+ [
812
+ "or",
813
+ [
814
+ "=",
815
+ [
816
+ "array/len",
817
+ [
818
+ "object/get",
819
+ "@action",
820
+ "roles",
821
+ []
822
+ ]
823
+ ],
824
+ 0.0
825
+ ],
826
+ [
827
+ "array/includes",
828
+ [
829
+ "object/get",
830
+ "@action",
831
+ "roles",
832
+ []
833
+ ],
834
+ "@config.viewerRole"
835
+ ]
836
+ ]
837
+ ]
838
+ ],
673
839
  "activeFilters": "@config.activeFilters",
674
840
  "avatar": "@config.avatar",
675
841
  "backAction": "@config.backAction",
676
842
  "className": "@config.className",
843
+ "closeEvent": "@config.closeEvent",
677
844
  "displayFields": "@config.displayFields",
678
845
  "entity": "@entity",
679
846
  "error": "@config.error",
@@ -707,8 +874,25 @@
707
874
  ],
708
875
  "event": "INIT",
709
876
  "eventId": "evt_01KXG04SD94X8KGY16SVTBNF6K",
710
- "from": "idle",
711
- "guard": "@config.selfFetch",
877
+ "from": "resolving",
878
+ "guard": [
879
+ "and",
880
+ "@config.selfFetch",
881
+ [
882
+ "!=",
883
+ [
884
+ "str/default",
885
+ "@payload.id",
886
+ ""
887
+ ],
888
+ ""
889
+ ],
890
+ [
891
+ "!=",
892
+ "@config.mode",
893
+ "create"
894
+ ]
895
+ ],
712
896
  "to": "idle"
713
897
  },
714
898
  {
@@ -717,11 +901,45 @@
717
901
  "render-ui",
718
902
  "main",
719
903
  {
720
- "actions": "@config.actions",
904
+ "actions": [
905
+ "array/filter",
906
+ "@config.actions",
907
+ [
908
+ "fn",
909
+ "action",
910
+ [
911
+ "or",
912
+ [
913
+ "=",
914
+ [
915
+ "array/len",
916
+ [
917
+ "object/get",
918
+ "@action",
919
+ "roles",
920
+ []
921
+ ]
922
+ ],
923
+ 0.0
924
+ ],
925
+ [
926
+ "array/includes",
927
+ [
928
+ "object/get",
929
+ "@action",
930
+ "roles",
931
+ []
932
+ ],
933
+ "@config.viewerRole"
934
+ ]
935
+ ]
936
+ ]
937
+ ],
721
938
  "activeFilters": "@config.activeFilters",
722
939
  "avatar": "@config.avatar",
723
940
  "backAction": "@config.backAction",
724
941
  "className": "@config.className",
942
+ "closeEvent": "@config.closeEvent",
725
943
  "displayFields": "@config.displayFields",
726
944
  "entity": "@entity",
727
945
  "error": "@config.error",
@@ -755,11 +973,109 @@
755
973
  ],
756
974
  "event": "INIT",
757
975
  "eventId": "evt_01KXG04SD94X8KGY16SVTBNF6K",
758
- "from": "idle",
976
+ "from": "resolving",
759
977
  "guard": [
760
978
  "not",
761
- "@config.selfFetch"
979
+ [
980
+ "and",
981
+ "@config.selfFetch",
982
+ [
983
+ "!=",
984
+ [
985
+ "str/default",
986
+ "@payload.id",
987
+ ""
988
+ ],
989
+ ""
990
+ ],
991
+ [
992
+ "!=",
993
+ "@config.mode",
994
+ "create"
995
+ ]
996
+ ]
997
+ ],
998
+ "to": "idle"
999
+ },
1000
+ {
1001
+ "effects": [
1002
+ [
1003
+ "render-ui",
1004
+ "main",
1005
+ {
1006
+ "actions": [
1007
+ "array/filter",
1008
+ "@config.actions",
1009
+ [
1010
+ "fn",
1011
+ "action",
1012
+ [
1013
+ "or",
1014
+ [
1015
+ "=",
1016
+ [
1017
+ "array/len",
1018
+ [
1019
+ "object/get",
1020
+ "@action",
1021
+ "roles",
1022
+ []
1023
+ ]
1024
+ ],
1025
+ 0.0
1026
+ ],
1027
+ [
1028
+ "array/includes",
1029
+ [
1030
+ "object/get",
1031
+ "@action",
1032
+ "roles",
1033
+ []
1034
+ ],
1035
+ "@config.viewerRole"
1036
+ ]
1037
+ ]
1038
+ ]
1039
+ ],
1040
+ "activeFilters": "@config.activeFilters",
1041
+ "avatar": "@config.avatar",
1042
+ "backAction": "@config.backAction",
1043
+ "className": "@config.className",
1044
+ "closeEvent": "@config.closeEvent",
1045
+ "displayFields": "@config.displayFields",
1046
+ "entity": "@entity",
1047
+ "error": "@config.error",
1048
+ "fieldNames": "@config.fieldNames",
1049
+ "fields": "@config.fields",
1050
+ "footer": "@config.footer",
1051
+ "initialData": "@entity",
1052
+ "isLoading": "@config.isLoading",
1053
+ "maxInlineActions": "@config.maxInlineActions",
1054
+ "mode": "@config.mode",
1055
+ "onTitleCommit": "@config.onTitleCommit",
1056
+ "page": "@config.pageProp",
1057
+ "pageSize": "@config.pageSize",
1058
+ "position": "@config.position",
1059
+ "relationsData": "@config.relationsData",
1060
+ "searchValue": "@config.searchValue",
1061
+ "sections": "@config.sections",
1062
+ "selectedIds": "@config.selectedIds",
1063
+ "showActions": "@config.showActions",
1064
+ "slideOver": "@config.slideOver",
1065
+ "sortBy": "@config.sortBy",
1066
+ "sortDirection": "@config.sortDirection",
1067
+ "status": "@config.status",
1068
+ "subtitle": "@config.subtitle",
1069
+ "title": "@config.title",
1070
+ "totalCount": "@config.totalCount",
1071
+ "type": "detail-panel",
1072
+ "width": "@config.width"
1073
+ }
1074
+ ]
762
1075
  ],
1076
+ "event": "INIT",
1077
+ "eventId": "evt_01KXG04SD94X8KGY16SVTBNF6K",
1078
+ "from": "idle",
763
1079
  "to": "idle"
764
1080
  },
765
1081
  {
@@ -768,11 +1084,45 @@
768
1084
  "render-ui",
769
1085
  "main",
770
1086
  {
771
- "actions": "@config.actions",
1087
+ "actions": [
1088
+ "array/filter",
1089
+ "@config.actions",
1090
+ [
1091
+ "fn",
1092
+ "action",
1093
+ [
1094
+ "or",
1095
+ [
1096
+ "=",
1097
+ [
1098
+ "array/len",
1099
+ [
1100
+ "object/get",
1101
+ "@action",
1102
+ "roles",
1103
+ []
1104
+ ]
1105
+ ],
1106
+ 0.0
1107
+ ],
1108
+ [
1109
+ "array/includes",
1110
+ [
1111
+ "object/get",
1112
+ "@action",
1113
+ "roles",
1114
+ []
1115
+ ],
1116
+ "@config.viewerRole"
1117
+ ]
1118
+ ]
1119
+ ]
1120
+ ],
772
1121
  "activeFilters": "@config.activeFilters",
773
1122
  "avatar": "@config.avatar",
774
1123
  "backAction": "@config.backAction",
775
1124
  "className": "@config.className",
1125
+ "closeEvent": "@config.closeEvent",
776
1126
  "displayFields": "@config.displayFields",
777
1127
  "entity": "@payload.data",
778
1128
  "error": "@config.error",
@@ -805,7 +1155,7 @@
805
1155
  ]
806
1156
  ],
807
1157
  "event": "DetailPanelLoaded",
808
- "eventId": "evt_01KXG04SDBVHXJR39FQKJ2R4F9",
1158
+ "eventId": "evt_01M3RWGFY2NR2AWA5M5G9DE397",
809
1159
  "from": "idle",
810
1160
  "to": "idle"
811
1161
  }
@@ -835,6 +1185,14 @@
835
1185
  {
836
1186
  "name": "variant",
837
1187
  "type": "string"
1188
+ },
1189
+ {
1190
+ "name": "when",
1191
+ "type": "SExpr"
1192
+ },
1193
+ {
1194
+ "name": "roles",
1195
+ "type": "[string]"
838
1196
  }
839
1197
  ],
840
1198
  "DetailPanelBackAction": [
@@ -858,6 +1216,10 @@
858
1216
  {
859
1217
  "name": "variant",
860
1218
  "type": "string"
1219
+ },
1220
+ {
1221
+ "name": "when",
1222
+ "type": "SExpr"
861
1223
  }
862
1224
  ],
863
1225
  "DetailPanelError": [
@@ -881,14 +1243,34 @@
881
1243
  ],
882
1244
  "DetailPanelFieldsItem": [
883
1245
  {
884
- "name": "key",
1246
+ "name": "name",
885
1247
  "required": true,
886
1248
  "type": "string"
887
1249
  },
888
1250
  {
889
- "name": "header",
1251
+ "name": "label",
1252
+ "type": "string"
1253
+ },
1254
+ {
1255
+ "name": "icon",
1256
+ "type": "icon"
1257
+ },
1258
+ {
1259
+ "name": "variant",
1260
+ "type": "string"
1261
+ },
1262
+ {
1263
+ "name": "format",
890
1264
  "type": "string"
891
1265
  },
1266
+ {
1267
+ "name": "colorMap",
1268
+ "type": "Map<string,DetailPanelFieldsItemColorMapValue>"
1269
+ },
1270
+ {
1271
+ "name": "labels",
1272
+ "type": "Map<string,string>"
1273
+ },
892
1274
  {
893
1275
  "name": "type",
894
1276
  "type": "string"