@almadar/std 16.253.0 → 16.254.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 (457) hide show
  1. package/behaviors/lolo/agent/atoms/std-agent-pool.lolo +355 -0
  2. package/behaviors/lolo/agent/evals/eval-agent-builder.lolo +152 -0
  3. package/behaviors/lolo/agent/organisms/std-agent-builder.lolo +320 -26
  4. package/behaviors/lolo-behavior-contracts.json +1 -1
  5. package/behaviors/registry/agent/atoms/std-agent-context.orb +1 -1
  6. package/behaviors/registry/agent/atoms/std-agent-fix-loop.orb +1 -1
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +1 -1
  8. package/behaviors/registry/agent/atoms/std-agent-planner.orb +1 -1
  9. package/behaviors/registry/agent/atoms/std-agent-pool.orb +1 -0
  10. package/behaviors/registry/agent/atoms/std-agent-proposal.orb +1 -1
  11. package/behaviors/registry/agent/atoms/std-agent-session.orb +1 -1
  12. package/behaviors/registry/agent/atoms/std-agent-suggestions.orb +1 -1
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +1 -1
  14. package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +1 -1
  15. package/behaviors/registry/agent/atoms/std-agent-trace.orb +1 -1
  16. package/behaviors/registry/agent/evals/eval-agent-builder.orb +1 -0
  17. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1 -1
  18. package/behaviors/registry/agent/organisms/std-agent-builder.orb +1 -1
  19. package/behaviors/registry/infra/atoms/std-analytics.orb +1 -1
  20. package/behaviors/registry/infra/atoms/std-approval-gate.orb +1 -1
  21. package/behaviors/registry/infra/atoms/std-audit-capture.orb +1 -1
  22. package/behaviors/registry/infra/atoms/std-cache-aside.orb +1 -1
  23. package/behaviors/registry/infra/atoms/std-calendar-sync.orb +1 -1
  24. package/behaviors/registry/infra/atoms/std-cascade-on-delete.orb +1 -1
  25. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +1 -1
  26. package/behaviors/registry/infra/atoms/std-cross-reference.orb +1 -1
  27. package/behaviors/registry/infra/atoms/std-data-erasure.orb +1 -1
  28. package/behaviors/registry/infra/atoms/std-data-import.orb +1 -1
  29. package/behaviors/registry/infra/atoms/std-global-search.orb +1 -1
  30. package/behaviors/registry/infra/atoms/std-knowledge-loop.orb +1 -1
  31. package/behaviors/registry/infra/atoms/std-lifecycle.orb +1 -1
  32. package/behaviors/registry/infra/atoms/std-migration-job.orb +1 -1
  33. package/behaviors/registry/infra/atoms/std-mod-queue.orb +1 -1
  34. package/behaviors/registry/infra/atoms/std-notification-center.orb +1 -1
  35. package/behaviors/registry/infra/atoms/std-notification-preferences.orb +1 -1
  36. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +1 -1
  37. package/behaviors/registry/infra/atoms/std-page-search.orb +1 -1
  38. package/behaviors/registry/infra/atoms/std-page-watch.orb +1 -1
  39. package/behaviors/registry/infra/atoms/std-permission-matrix.orb +1 -1
  40. package/behaviors/registry/infra/atoms/std-rate-limiter.orb +1 -1
  41. package/behaviors/registry/infra/atoms/std-reminder-scheduler.orb +1 -1
  42. package/behaviors/registry/infra/atoms/std-review-cycle.orb +1 -1
  43. package/behaviors/registry/infra/atoms/std-row-access-control.orb +1 -1
  44. package/behaviors/registry/infra/atoms/std-status-lifecycle.orb +1 -1
  45. package/behaviors/registry/infra/organisms/std-status-lifecycle-control.orb +1 -1
  46. package/behaviors/registry/ml/atoms/std-data-collector.orb +1 -1
  47. package/behaviors/registry/ml/atoms/std-graph-builder.orb +1 -1
  48. package/behaviors/registry/ml/atoms/std-ml-classify.orb +1 -1
  49. package/behaviors/registry/ml/atoms/std-ml-infer.orb +1 -1
  50. package/behaviors/registry/ml/atoms/std-ml-label-capture.orb +1 -1
  51. package/behaviors/registry/ml/atoms/std-ml-lookup.orb +1 -1
  52. package/behaviors/registry/ml/atoms/std-ml-posterior.orb +1 -1
  53. package/behaviors/registry/ml/atoms/std-ml-similarity.orb +1 -1
  54. package/behaviors/registry/ml/atoms/std-tokenizer.orb +1 -1
  55. package/behaviors/registry/ml/atoms/std-weight-validator.orb +1 -1
  56. package/behaviors/registry/ml/organisms/std-escalating-decision.orb +1 -1
  57. package/behaviors/registry/ml/organisms/std-knowledge-tracing.orb +1 -1
  58. package/behaviors/registry/ui/avl/atoms/std-avl-cosmic-zoom.orb +1 -1
  59. package/behaviors/registry/ui/avl/atoms/ui-avl-glyph.orb +1 -1
  60. package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +1 -1
  61. package/behaviors/registry/ui/avl/atoms/ui-avl-transition-detail.orb +1 -1
  62. package/behaviors/registry/ui/avl/atoms/ui-avl-transition-explainer.orb +1 -1
  63. package/behaviors/registry/ui/avl/atoms/ui-behavior-view.orb +1 -1
  64. package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +1 -1
  65. package/behaviors/registry/ui/avl/organisms/ui-flow-canvas.orb +1 -1
  66. package/behaviors/registry/ui/avl/organisms/ui-layers-panel.orb +1 -1
  67. package/behaviors/registry/ui/avl/organisms/ui-orb-inspector.orb +1 -1
  68. package/behaviors/registry/ui/core/atoms/std-app-layout.orb +1 -1
  69. package/behaviors/registry/ui/core/atoms/std-app-search.orb +1 -1
  70. package/behaviors/registry/ui/core/atoms/std-behavior-catalog.orb +1 -1
  71. package/behaviors/registry/ui/core/atoms/std-behavior-tour.orb +1 -1
  72. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +1 -1
  73. package/behaviors/registry/ui/core/atoms/std-board.orb +1 -1
  74. package/behaviors/registry/ui/core/atoms/std-book-reader.orb +1 -1
  75. package/behaviors/registry/ui/core/atoms/std-browse.orb +1 -1
  76. package/behaviors/registry/ui/core/atoms/std-calendar.orb +1 -1
  77. package/behaviors/registry/ui/core/atoms/std-card-grid.orb +1 -1
  78. package/behaviors/registry/ui/core/atoms/std-confirmation.orb +1 -1
  79. package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +1 -1
  80. package/behaviors/registry/ui/core/atoms/std-date-range.orb +1 -1
  81. package/behaviors/registry/ui/core/atoms/std-detail-layout.orb +1 -1
  82. package/behaviors/registry/ui/core/atoms/std-doc-page.orb +1 -1
  83. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +1 -1
  84. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +1 -1
  85. package/behaviors/registry/ui/core/atoms/std-event-log.orb +1 -1
  86. package/behaviors/registry/ui/core/atoms/std-export.orb +1 -1
  87. package/behaviors/registry/ui/core/atoms/std-file-store.orb +1 -1
  88. package/behaviors/registry/ui/core/atoms/std-filter.orb +1 -1
  89. package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +1 -1
  90. package/behaviors/registry/ui/core/atoms/std-gallery.orb +1 -1
  91. package/behaviors/registry/ui/core/atoms/std-gantt-schedule.orb +1 -1
  92. package/behaviors/registry/ui/core/atoms/std-geosearch.orb +1 -1
  93. package/behaviors/registry/ui/core/atoms/std-graphs.orb +1 -1
  94. package/behaviors/registry/ui/core/atoms/std-hero.orb +1 -1
  95. package/behaviors/registry/ui/core/atoms/std-home.orb +1 -1
  96. package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +1 -1
  97. package/behaviors/registry/ui/core/atoms/std-import.orb +1 -1
  98. package/behaviors/registry/ui/core/atoms/std-language-picker.orb +1 -1
  99. package/behaviors/registry/ui/core/atoms/std-media-section.orb +1 -1
  100. package/behaviors/registry/ui/core/atoms/std-modal-editor.orb +1 -1
  101. package/behaviors/registry/ui/core/atoms/std-modal.orb +1 -1
  102. package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +1 -1
  103. package/behaviors/registry/ui/core/atoms/std-notification-panel.orb +1 -1
  104. package/behaviors/registry/ui/core/atoms/std-panel-launcher.orb +1 -1
  105. package/behaviors/registry/ui/core/atoms/std-pricing.orb +1 -1
  106. package/behaviors/registry/ui/core/atoms/std-proof.orb +1 -1
  107. package/behaviors/registry/ui/core/atoms/std-prose.orb +1 -1
  108. package/behaviors/registry/ui/core/atoms/std-rating-review.orb +1 -1
  109. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +1 -1
  110. package/behaviors/registry/ui/core/atoms/std-recurrence.orb +1 -1
  111. package/behaviors/registry/ui/core/atoms/std-related.orb +1 -1
  112. package/behaviors/registry/ui/core/atoms/std-role-gate.orb +1 -1
  113. package/behaviors/registry/ui/core/atoms/std-saved-search.orb +1 -1
  114. package/behaviors/registry/ui/core/atoms/std-scatter.orb +1 -1
  115. package/behaviors/registry/ui/core/atoms/std-scoped-list.orb +1 -1
  116. package/behaviors/registry/ui/core/atoms/std-selection.orb +1 -1
  117. package/behaviors/registry/ui/core/atoms/std-site-footer.orb +1 -1
  118. package/behaviors/registry/ui/core/atoms/std-site-header.orb +1 -1
  119. package/behaviors/registry/ui/core/atoms/std-slide-deck.orb +1 -1
  120. package/behaviors/registry/ui/core/atoms/std-stat-band.orb +1 -1
  121. package/behaviors/registry/ui/core/atoms/std-stats.orb +1 -1
  122. package/behaviors/registry/ui/core/atoms/std-step-flow.orb +1 -1
  123. package/behaviors/registry/ui/core/atoms/std-steps.orb +1 -1
  124. package/behaviors/registry/ui/core/atoms/std-tabs.orb +1 -1
  125. package/behaviors/registry/ui/core/atoms/std-tag-strip.orb +1 -1
  126. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +1 -1
  127. package/behaviors/registry/ui/core/atoms/std-thread.orb +1 -1
  128. package/behaviors/registry/ui/core/atoms/std-tree.orb +1 -1
  129. package/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -1
  130. package/behaviors/registry/ui/core/atoms/std-wizard.orb +1 -1
  131. package/behaviors/registry/ui/core/atoms/std-workspace-layout.orb +1 -1
  132. package/behaviors/registry/ui/core/atoms/ui-animated-graphic.orb +1 -1
  133. package/behaviors/registry/ui/core/atoms/ui-animated-reveal.orb +1 -1
  134. package/behaviors/registry/ui/core/atoms/ui-aside.orb +1 -1
  135. package/behaviors/registry/ui/core/atoms/ui-atlas-image.orb +1 -1
  136. package/behaviors/registry/ui/core/atoms/ui-atlas-panel.orb +1 -1
  137. package/behaviors/registry/ui/core/atoms/ui-avatar.orb +1 -1
  138. package/behaviors/registry/ui/core/atoms/ui-badge.orb +1 -1
  139. package/behaviors/registry/ui/core/atoms/ui-box.orb +1 -1
  140. package/behaviors/registry/ui/core/atoms/ui-button.orb +1 -1
  141. package/behaviors/registry/ui/core/atoms/ui-card.orb +1 -1
  142. package/behaviors/registry/ui/core/atoms/ui-center.orb +1 -1
  143. package/behaviors/registry/ui/core/atoms/ui-checkbox.orb +1 -1
  144. package/behaviors/registry/ui/core/atoms/ui-conditional-wrapper.orb +1 -1
  145. package/behaviors/registry/ui/core/atoms/ui-confetti-effect.orb +1 -1
  146. package/behaviors/registry/ui/core/atoms/ui-day-cell.orb +1 -1
  147. package/behaviors/registry/ui/core/atoms/ui-dialog.orb +1 -1
  148. package/behaviors/registry/ui/core/atoms/ui-divider.orb +1 -1
  149. package/behaviors/registry/ui/core/atoms/ui-filter-pill.orb +1 -1
  150. package/behaviors/registry/ui/core/atoms/ui-flip-container.orb +1 -1
  151. package/behaviors/registry/ui/core/atoms/ui-game-icon.orb +1 -1
  152. package/behaviors/registry/ui/core/atoms/ui-hstack.orb +1 -1
  153. package/behaviors/registry/ui/core/atoms/ui-icon.orb +1 -1
  154. package/behaviors/registry/ui/core/atoms/ui-image.orb +1 -1
  155. package/behaviors/registry/ui/core/atoms/ui-infinite-scroll-sentinel.orb +1 -1
  156. package/behaviors/registry/ui/core/atoms/ui-input.orb +1 -1
  157. package/behaviors/registry/ui/core/atoms/ui-label.orb +1 -1
  158. package/behaviors/registry/ui/core/atoms/ui-law-reference-tooltip.orb +1 -1
  159. package/behaviors/registry/ui/core/atoms/ui-overlay.orb +1 -1
  160. package/behaviors/registry/ui/core/atoms/ui-pattern-tile.orb +1 -1
  161. package/behaviors/registry/ui/core/atoms/ui-presence.orb +1 -1
  162. package/behaviors/registry/ui/core/atoms/ui-progress-bar.orb +1 -1
  163. package/behaviors/registry/ui/core/atoms/ui-radio.orb +1 -1
  164. package/behaviors/registry/ui/core/atoms/ui-range-slider.orb +1 -1
  165. package/behaviors/registry/ui/core/atoms/ui-section-header.orb +1 -1
  166. package/behaviors/registry/ui/core/atoms/ui-select.orb +1 -1
  167. package/behaviors/registry/ui/core/atoms/ui-spacer.orb +1 -1
  168. package/behaviors/registry/ui/core/atoms/ui-sparkline.orb +1 -1
  169. package/behaviors/registry/ui/core/atoms/ui-spinner.orb +1 -1
  170. package/behaviors/registry/ui/core/atoms/ui-stack.orb +1 -1
  171. package/behaviors/registry/ui/core/atoms/ui-status-dot.orb +1 -1
  172. package/behaviors/registry/ui/core/atoms/ui-svg-branch.orb +1 -1
  173. package/behaviors/registry/ui/core/atoms/ui-svg-connection.orb +1 -1
  174. package/behaviors/registry/ui/core/atoms/ui-svg-flow.orb +1 -1
  175. package/behaviors/registry/ui/core/atoms/ui-svg-grid.orb +1 -1
  176. package/behaviors/registry/ui/core/atoms/ui-svg-lobe.orb +1 -1
  177. package/behaviors/registry/ui/core/atoms/ui-svg-mesh.orb +1 -1
  178. package/behaviors/registry/ui/core/atoms/ui-svg-morph.orb +1 -1
  179. package/behaviors/registry/ui/core/atoms/ui-svg-node.orb +1 -1
  180. package/behaviors/registry/ui/core/atoms/ui-svg-pulse.orb +1 -1
  181. package/behaviors/registry/ui/core/atoms/ui-svg-ring.orb +1 -1
  182. package/behaviors/registry/ui/core/atoms/ui-svg-shield.orb +1 -1
  183. package/behaviors/registry/ui/core/atoms/ui-svg-stack.orb +1 -1
  184. package/behaviors/registry/ui/core/atoms/ui-switch.orb +1 -1
  185. package/behaviors/registry/ui/core/atoms/ui-text-highlight.orb +1 -1
  186. package/behaviors/registry/ui/core/atoms/ui-textarea.orb +1 -1
  187. package/behaviors/registry/ui/core/atoms/ui-theme-toggle.orb +1 -1
  188. package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +1 -1
  189. package/behaviors/registry/ui/core/atoms/ui-trend-indicator.orb +1 -1
  190. package/behaviors/registry/ui/core/atoms/ui-typewriter-text.orb +1 -1
  191. package/behaviors/registry/ui/core/atoms/ui-typography.orb +1 -1
  192. package/behaviors/registry/ui/core/atoms/ui-video-embed.orb +1 -1
  193. package/behaviors/registry/ui/core/atoms/ui-vstack.orb +1 -1
  194. package/behaviors/registry/ui/core/molecules/std-stat-rows.orb +1 -1
  195. package/behaviors/registry/ui/core/molecules/ui-accordion.orb +1 -1
  196. package/behaviors/registry/ui/core/molecules/ui-activation-block.orb +1 -1
  197. package/behaviors/registry/ui/core/molecules/ui-activity-rail.orb +1 -1
  198. package/behaviors/registry/ui/core/molecules/ui-agent-activity-feed.orb +1 -1
  199. package/behaviors/registry/ui/core/molecules/ui-agent-activity-row.orb +1 -1
  200. package/behaviors/registry/ui/core/molecules/ui-agent-chat-feed.orb +1 -1
  201. package/behaviors/registry/ui/core/molecules/ui-alert.orb +1 -1
  202. package/behaviors/registry/ui/core/molecules/ui-animated-counter.orb +1 -1
  203. package/behaviors/registry/ui/core/molecules/ui-bloom-quiz-block.orb +1 -1
  204. package/behaviors/registry/ui/core/molecules/ui-branching-logic-builder.orb +1 -1
  205. package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +1 -1
  206. package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +1 -1
  207. package/behaviors/registry/ui/core/molecules/ui-carousel.orb +1 -1
  208. package/behaviors/registry/ui/core/molecules/ui-change-list.orb +1 -1
  209. package/behaviors/registry/ui/core/molecules/ui-chart-legend.orb +1 -1
  210. package/behaviors/registry/ui/core/molecules/ui-chart.orb +1 -1
  211. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +1 -1
  212. package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +1 -1
  213. package/behaviors/registry/ui/core/molecules/ui-commit-row.orb +1 -1
  214. package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +1 -1
  215. package/behaviors/registry/ui/core/molecules/ui-connection-block.orb +1 -1
  216. package/behaviors/registry/ui/core/molecules/ui-container.orb +1 -1
  217. package/behaviors/registry/ui/core/molecules/ui-content-renderer.orb +1 -1
  218. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +1 -1
  219. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +1 -1
  220. package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +1 -1
  221. package/behaviors/registry/ui/core/molecules/ui-date-range-selector.orb +1 -1
  222. package/behaviors/registry/ui/core/molecules/ui-doc-breadcrumb.orb +1 -1
  223. package/behaviors/registry/ui/core/molecules/ui-doc-pagination.orb +1 -1
  224. package/behaviors/registry/ui/core/molecules/ui-doc-search.orb +1 -1
  225. package/behaviors/registry/ui/core/molecules/ui-doc-sidebar.orb +1 -1
  226. package/behaviors/registry/ui/core/molecules/ui-doc-toc.orb +1 -1
  227. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +1 -1
  228. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +1 -1
  229. package/behaviors/registry/ui/core/molecules/ui-document-viewer.orb +1 -1
  230. package/behaviors/registry/ui/core/molecules/ui-drawer.orb +1 -1
  231. package/behaviors/registry/ui/core/molecules/ui-edge-decoration.orb +1 -1
  232. package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +1 -1
  233. package/behaviors/registry/ui/core/molecules/ui-empty-state.orb +1 -1
  234. package/behaviors/registry/ui/core/molecules/ui-error-boundary.orb +1 -1
  235. package/behaviors/registry/ui/core/molecules/ui-error-state.orb +1 -1
  236. package/behaviors/registry/ui/core/molecules/ui-feature-card.orb +1 -1
  237. package/behaviors/registry/ui/core/molecules/ui-feature-grid.orb +1 -1
  238. package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +1 -1
  239. package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +1 -1
  240. package/behaviors/registry/ui/core/molecules/ui-flex.orb +1 -1
  241. package/behaviors/registry/ui/core/molecules/ui-flip-card.orb +1 -1
  242. package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +1 -1
  243. package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +1 -1
  244. package/behaviors/registry/ui/core/molecules/ui-form-actions.orb +1 -1
  245. package/behaviors/registry/ui/core/molecules/ui-form-field.orb +1 -1
  246. package/behaviors/registry/ui/core/molecules/ui-form-layout.orb +1 -1
  247. package/behaviors/registry/ui/core/molecules/ui-form-section-header.orb +1 -1
  248. package/behaviors/registry/ui/core/molecules/ui-fx-overlay.orb +1 -1
  249. package/behaviors/registry/ui/core/molecules/ui-gantt.orb +1 -1
  250. package/behaviors/registry/ui/core/molecules/ui-geometric-pattern.orb +1 -1
  251. package/behaviors/registry/ui/core/molecules/ui-gradient-divider.orb +1 -1
  252. package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +1 -1
  253. package/behaviors/registry/ui/core/molecules/ui-graph-view.orb +1 -1
  254. package/behaviors/registry/ui/core/molecules/ui-grid.orb +1 -1
  255. package/behaviors/registry/ui/core/molecules/ui-header.orb +1 -1
  256. package/behaviors/registry/ui/core/molecules/ui-icon-button.orb +1 -1
  257. package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +1 -1
  258. package/behaviors/registry/ui/core/molecules/ui-import-progress.orb +1 -1
  259. package/behaviors/registry/ui/core/molecules/ui-import-source-picker.orb +1 -1
  260. package/behaviors/registry/ui/core/molecules/ui-input-group.orb +1 -1
  261. package/behaviors/registry/ui/core/molecules/ui-jazari-state-machine.orb +1 -1
  262. package/behaviors/registry/ui/core/molecules/ui-lightbox.orb +1 -1
  263. package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +1 -1
  264. package/behaviors/registry/ui/core/molecules/ui-line-chart.orb +1 -1
  265. package/behaviors/registry/ui/core/molecules/ui-loading-state.orb +1 -1
  266. package/behaviors/registry/ui/core/molecules/ui-map-view.orb +1 -1
  267. package/behaviors/registry/ui/core/molecules/ui-markdown-content.orb +1 -1
  268. package/behaviors/registry/ui/core/molecules/ui-matrix-question.orb +1 -1
  269. package/behaviors/registry/ui/core/molecules/ui-menu.orb +1 -1
  270. package/behaviors/registry/ui/core/molecules/ui-meter.orb +1 -1
  271. package/behaviors/registry/ui/core/molecules/ui-modal.orb +1 -1
  272. package/behaviors/registry/ui/core/molecules/ui-navigation.orb +1 -1
  273. package/behaviors/registry/ui/core/molecules/ui-notification.orb +1 -1
  274. package/behaviors/registry/ui/core/molecules/ui-number-stepper.orb +1 -1
  275. package/behaviors/registry/ui/core/molecules/ui-option-constraint-group.orb +1 -1
  276. package/behaviors/registry/ui/core/molecules/ui-orbital-visualization.orb +1 -1
  277. package/behaviors/registry/ui/core/molecules/ui-page-header.orb +1 -1
  278. package/behaviors/registry/ui/core/molecules/ui-page-transition.orb +1 -1
  279. package/behaviors/registry/ui/core/molecules/ui-pagination.orb +1 -1
  280. package/behaviors/registry/ui/core/molecules/ui-popover.orb +1 -1
  281. package/behaviors/registry/ui/core/molecules/ui-positioned-canvas.orb +1 -1
  282. package/behaviors/registry/ui/core/molecules/ui-progress-dots.orb +1 -1
  283. package/behaviors/registry/ui/core/molecules/ui-pull-to-refresh.orb +1 -1
  284. package/behaviors/registry/ui/core/molecules/ui-qr-scanner.orb +1 -1
  285. package/behaviors/registry/ui/core/molecules/ui-quiz-block.orb +1 -1
  286. package/behaviors/registry/ui/core/molecules/ui-reflection-block.orb +1 -1
  287. package/behaviors/registry/ui/core/molecules/ui-relation-select.orb +1 -1
  288. package/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +1 -1
  289. package/behaviors/registry/ui/core/molecules/ui-reply-tree.orb +1 -1
  290. package/behaviors/registry/ui/core/molecules/ui-rich-text-editor.orb +1 -1
  291. package/behaviors/registry/ui/core/molecules/ui-scaled-diagram.orb +1 -1
  292. package/behaviors/registry/ui/core/molecules/ui-search-input.orb +1 -1
  293. package/behaviors/registry/ui/core/molecules/ui-section.orb +1 -1
  294. package/behaviors/registry/ui/core/molecules/ui-side-panel.orb +1 -1
  295. package/behaviors/registry/ui/core/molecules/ui-sidebar.orb +1 -1
  296. package/behaviors/registry/ui/core/molecules/ui-signature-pad.orb +1 -1
  297. package/behaviors/registry/ui/core/molecules/ui-simple-grid.orb +1 -1
  298. package/behaviors/registry/ui/core/molecules/ui-skeleton.orb +1 -1
  299. package/behaviors/registry/ui/core/molecules/ui-social-proof.orb +1 -1
  300. package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +1 -1
  301. package/behaviors/registry/ui/core/molecules/ui-split.orb +1 -1
  302. package/behaviors/registry/ui/core/molecules/ui-star-rating.orb +1 -1
  303. package/behaviors/registry/ui/core/molecules/ui-stat-display.orb +1 -1
  304. package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +1 -1
  305. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +1 -1
  306. package/behaviors/registry/ui/core/molecules/ui-tabs.orb +1 -1
  307. package/behaviors/registry/ui/core/molecules/ui-tag-input.orb +1 -1
  308. package/behaviors/registry/ui/core/molecules/ui-tooltip.orb +1 -1
  309. package/behaviors/registry/ui/core/molecules/ui-top-nav-item.orb +1 -1
  310. package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +1 -1
  311. package/behaviors/registry/ui/core/molecules/ui-version-diff.orb +1 -1
  312. package/behaviors/registry/ui/core/molecules/ui-violation-alert.orb +1 -1
  313. package/behaviors/registry/ui/core/molecules/ui-vote-stack.orb +1 -1
  314. package/behaviors/registry/ui/core/molecules/ui-wizard-container.orb +1 -1
  315. package/behaviors/registry/ui/core/molecules/ui-wizard-navigation.orb +1 -1
  316. package/behaviors/registry/ui/core/molecules/ui-wizard-progress.orb +1 -1
  317. package/behaviors/registry/ui/core/organisms/ui-chat-bar.orb +1 -1
  318. package/behaviors/registry/ui/core/organisms/ui-code-runner-panel.orb +1 -1
  319. package/behaviors/registry/ui/core/organisms/ui-dashboard-grid.orb +1 -1
  320. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +1 -1
  321. package/behaviors/registry/ui/core/organisms/ui-dock-layout.orb +1 -1
  322. package/behaviors/registry/ui/core/organisms/ui-drawer-slot.orb +1 -1
  323. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +1 -1
  324. package/behaviors/registry/ui/core/organisms/ui-form.orb +1 -1
  325. package/behaviors/registry/ui/core/organisms/ui-master-detail-layout.orb +1 -1
  326. package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +1 -1
  327. package/behaviors/registry/ui/core/organisms/ui-modal-slot.orb +1 -1
  328. package/behaviors/registry/ui/core/organisms/ui-runtime-debugger.orb +1 -1
  329. package/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +1 -1
  330. package/behaviors/registry/ui/core/organisms/ui-split-pane.orb +1 -1
  331. package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +1 -1
  332. package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +1 -1
  333. package/behaviors/registry/ui/core/organisms/ui-subagent-trace-panel.orb +1 -1
  334. package/behaviors/registry/ui/core/organisms/ui-tabbed-container.orb +1 -1
  335. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +1 -1
  336. package/behaviors/registry/ui/core/organisms/ui-toast-slot.orb +1 -1
  337. package/behaviors/registry/ui/core/templates/ui-auth-layout.orb +1 -1
  338. package/behaviors/registry/ui/core/templates/ui-counter-template.orb +1 -1
  339. package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +1 -1
  340. package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +1 -1
  341. package/behaviors/registry/ui/game/atoms/std-arcade-play.orb +1 -1
  342. package/behaviors/registry/ui/game/atoms/std-area-fill.orb +1 -1
  343. package/behaviors/registry/ui/game/atoms/std-audio-cue.orb +1 -1
  344. package/behaviors/registry/ui/game/atoms/std-camera-rig.orb +1 -1
  345. package/behaviors/registry/ui/game/atoms/std-chase-ai.orb +1 -1
  346. package/behaviors/registry/ui/game/atoms/std-choice-gate.orb +1 -1
  347. package/behaviors/registry/ui/game/atoms/std-coef-pad.orb +1 -1
  348. package/behaviors/registry/ui/game/atoms/std-curve-fog.orb +1 -1
  349. package/behaviors/registry/ui/game/atoms/std-dungeon-combat.orb +1 -1
  350. package/behaviors/registry/ui/game/atoms/std-fx-narrative.orb +1 -1
  351. package/behaviors/registry/ui/game/atoms/std-fx-particles.orb +1 -1
  352. package/behaviors/registry/ui/game/atoms/std-fx-trail.orb +1 -1
  353. package/behaviors/registry/ui/game/atoms/std-gate-lock.orb +1 -1
  354. package/behaviors/registry/ui/game/atoms/std-gather.orb +1 -1
  355. package/behaviors/registry/ui/game/atoms/std-gold.orb +1 -1
  356. package/behaviors/registry/ui/game/atoms/std-grid-tactics.orb +1 -1
  357. package/behaviors/registry/ui/game/atoms/std-hero-nav.orb +1 -1
  358. package/behaviors/registry/ui/game/atoms/std-lives.orb +1 -1
  359. package/behaviors/registry/ui/game/atoms/std-loop-lock.orb +1 -1
  360. package/behaviors/registry/ui/game/atoms/std-market-flow.orb +1 -1
  361. package/behaviors/registry/ui/game/atoms/std-motion-body.orb +1 -1
  362. package/behaviors/registry/ui/game/atoms/std-objective-reach.orb +1 -1
  363. package/behaviors/registry/ui/game/atoms/std-pad-lock.orb +1 -1
  364. package/behaviors/registry/ui/game/atoms/std-patience.orb +1 -1
  365. package/behaviors/registry/ui/game/atoms/std-patrol-hazard.orb +1 -1
  366. package/behaviors/registry/ui/game/atoms/std-pickup.orb +1 -1
  367. package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +1 -1
  368. package/behaviors/registry/ui/game/atoms/std-production.orb +1 -1
  369. package/behaviors/registry/ui/game/atoms/std-score.orb +1 -1
  370. package/behaviors/registry/ui/game/atoms/std-tutorial-autodemo.orb +1 -1
  371. package/behaviors/registry/ui/game/atoms/std-tutorial-overlay.orb +1 -1
  372. package/behaviors/registry/ui/game/atoms/std-velocity-gate.orb +1 -1
  373. package/behaviors/registry/ui/game/atoms/std-xp.orb +1 -1
  374. package/behaviors/registry/ui/game/atoms/std-zone-card.orb +1 -1
  375. package/behaviors/registry/ui/game/atoms/ui-action-palette.orb +1 -1
  376. package/behaviors/registry/ui/game/atoms/ui-action-tile.orb +1 -1
  377. package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +1 -1
  378. package/behaviors/registry/ui/game/atoms/ui-canvas.orb +1 -1
  379. package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +1 -1
  380. package/behaviors/registry/ui/game/atoms/ui-control-button.orb +1 -1
  381. package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +1 -1
  382. package/behaviors/registry/ui/game/atoms/ui-dialogue-bubble.orb +1 -1
  383. package/behaviors/registry/ui/game/atoms/ui-draw-fx-layer.orb +1 -1
  384. package/behaviors/registry/ui/game/atoms/ui-draw-group.orb +1 -1
  385. package/behaviors/registry/ui/game/atoms/ui-draw-mesh.orb +1 -1
  386. package/behaviors/registry/ui/game/atoms/ui-draw-shape-layer.orb +1 -1
  387. package/behaviors/registry/ui/game/atoms/ui-draw-shape.orb +1 -1
  388. package/behaviors/registry/ui/game/atoms/ui-draw-skinned-mesh.orb +1 -1
  389. package/behaviors/registry/ui/game/atoms/ui-draw-sprite-layer.orb +1 -1
  390. package/behaviors/registry/ui/game/atoms/ui-draw-sprite.orb +1 -1
  391. package/behaviors/registry/ui/game/atoms/ui-draw-text-layer.orb +1 -1
  392. package/behaviors/registry/ui/game/atoms/ui-draw-text.orb +1 -1
  393. package/behaviors/registry/ui/game/atoms/ui-game-audio-cue.orb +1 -1
  394. package/behaviors/registry/ui/game/atoms/ui-game-audio-toggle.orb +1 -1
  395. package/behaviors/registry/ui/game/atoms/ui-game-hud.orb +1 -1
  396. package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +1 -1
  397. package/behaviors/registry/ui/game/atoms/ui-health-bar.orb +1 -1
  398. package/behaviors/registry/ui/game/atoms/ui-score-display.orb +1 -1
  399. package/behaviors/registry/ui/game/atoms/ui-sequence-bar.orb +1 -1
  400. package/behaviors/registry/ui/game/atoms/ui-stat-badge.orb +1 -1
  401. package/behaviors/registry/ui/game/atoms/ui-state-graph.orb +1 -1
  402. package/behaviors/registry/ui/game/atoms/ui-state-json-view.orb +1 -1
  403. package/behaviors/registry/ui/game/atoms/ui-timer-display.orb +1 -1
  404. package/behaviors/registry/ui/game/atoms/ui-trait-slot.orb +1 -1
  405. package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +1 -1
  406. package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +1 -1
  407. package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +1 -1
  408. package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +1 -1
  409. package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +1 -1
  410. package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +1 -1
  411. package/behaviors/registry/ui/game/organisms/std-platformer-puzzle.orb +1 -1
  412. package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +1 -1
  413. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +1 -1
  414. package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +1 -1
  415. package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +1 -1
  416. package/behaviors/registry/ui/game/templates/ui-game-shell.orb +1 -1
  417. package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +1 -1
  418. package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1 -1
  419. package/behaviors/registry/ui/learning/atoms/std-learn-compare.orb +1 -1
  420. package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +1 -1
  421. package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +1 -1
  422. package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +1 -1
  423. package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +1 -1
  424. package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +1 -1
  425. package/behaviors/registry/ui/learning/atoms/std-learn-fx-cues.orb +1 -1
  426. package/behaviors/registry/ui/learning/atoms/std-learn-generate.orb +1 -1
  427. package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +1 -1
  428. package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +1 -1
  429. package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +1 -1
  430. package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +1 -1
  431. package/behaviors/registry/ui/learning/atoms/std-learn-measure.orb +1 -1
  432. package/behaviors/registry/ui/learning/atoms/std-learn-param-explorer.orb +1 -1
  433. package/behaviors/registry/ui/learning/atoms/std-learn-perturb.orb +1 -1
  434. package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +1 -1
  435. package/behaviors/registry/ui/learning/atoms/std-learn-sample-accumulator.orb +1 -1
  436. package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +1 -1
  437. package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1 -1
  438. package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +1 -1
  439. package/behaviors/registry/ui/learning/atoms/std-learn-sim-3d.orb +1 -1
  440. package/behaviors/registry/ui/learning/atoms/std-learn-slope-probe.orb +1 -1
  441. package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +1 -1
  442. package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +1 -1
  443. package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +1 -1
  444. package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +1 -1
  445. package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +1 -1
  446. package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +1 -1
  447. package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +1 -1
  448. package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +1 -1
  449. package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +1 -1
  450. package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +1 -1
  451. package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +1 -1
  452. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +1 -1
  453. package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +1 -1
  454. package/dist/behaviors-embeddings.hash.json +2 -2
  455. package/dist/behaviors-embeddings.json +1 -1
  456. package/dist/knob-embeddings.hash.json +2 -2
  457. package/package.json +2 -2
@@ -1 +1 @@
1
- {"name":"ui-form","version":"1.0.0","description":"Form — UI factory (1:1 with the @almadar/ui form pattern).","orbitals":[{"name":"FormOrbital","id":"orb_GZQ2GGWNWNAYAG897GT5CC8YW5","entity":{"name":"FormItem","id":"ent_CD284VVK1PSGV4MBAYEG0KNMM3","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"FormRender","id":"trt_K14DN6VJC6S6349V32WJ358NB3","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"fetch","resource":"FormItem"},{"kind":"render-ui","resource":"main"}],"category":"interaction","linkedEntity":"FormItem","linkedEntityId":"ent_CD284VVK1PSGV4MBAYEG0KNMM3","entityRefIds":{"FormItem":"ent_CD284VVK1PSGV4MBAYEG0KNMM3"},"emits":[{"event":"@config.submitEvent","eventId":"evt_QADDABT8KK49STFQR0PTXN2S0Z","description":"Event dispatch props (for trait state machine integration)","tier":"essential","scope":"external","payloadSchema":[{"name":"data","type":"@entity","required":true}],"definerKnob":"submitEvent"},{"event":"@config.cancelEvent","eventId":"evt_RYABNFAXPBEV5XX928TEWK5FKC","description":"Event to dispatch on cancel (defaults to 'CANCEL')","tier":"essential","scope":"external","definerKnob":"cancelEvent"},{"event":"@config.onFieldChange","eventId":"evt_HF1ZWRA4FW27YAE147S8TJ6BAN","description":"Callback when any field value changes","tier":"essential","scope":"external","payloadSchema":[{"name":"change","type":"object","properties":[{"name":"fieldId","type":"string","required":true},{"name":"value","type":"union","required":true,"properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FormFIELDCHANGEChangeValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]},{"name":"formValues","type":"Map<string,ControlValue>","required":true}]}],"definerKnob":"onFieldChange"},{"event":"FormLoaded","eventId":"evt_D5RYWW5Y0JZ09BNMK6WWSJZW11","description":"Form row finished loading; payload.data holds the single row.","synonyms":"loaded, fetched, retrieved","tier":"essential","scope":"internal","payloadSchema":[{"name":"data","type":"object","properties":[{"name":"id","type":"string","required":true}],"entity":"FormItem"}]}],"stateMachine":{"states":[{"name":"resolving","isInitial":true},{"name":"idle"}],"events":[{"key":"INIT","id":"evt_7KTHWTY8QF4BQVDBKVS558NDM8","name":"Initialize","description":"Mount payload; a host that routes to this panel by id (a :id page param) passes it here.","tier":"internal","payloadSchema":[{"name":"id","type":"string"}],"listened":true},{"key":"FormLoaded","id":"evt_D5RYWW5Y0JZ09BNMK6WWSJZW11","name":"Form loaded","description":"Form row finished loading; payload.data holds the single row.","synonyms":"loaded, fetched, retrieved","tier":"essential","payloadSchema":[{"name":"data","type":"object","properties":[{"name":"id","type":"string","required":true}],"entity":"FormItem"}]},{"key":"@config.submitEvent","id":"evt_QADDABT8KK49STFQR0PTXN2S0Z","name":"@config.submit event","description":"Event dispatch props (for trait state machine integration)","tier":"essential","payloadSchema":[{"name":"data","type":"@entity","required":true}]},{"key":"@config.cancelEvent","id":"evt_RYABNFAXPBEV5XX928TEWK5FKC","name":"@config.cancel event","description":"Event to dispatch on cancel (defaults to 'CANCEL')","tier":"essential"},{"key":"@config.onFieldChange","id":"evt_HF1ZWRA4FW27YAE147S8TJ6BAN","name":"@config.on field change","description":"Callback when any field value changes","tier":"essential","payloadSchema":[{"name":"change","type":"object","properties":[{"name":"fieldId","type":"string","required":true},{"name":"value","type":"union","required":true,"properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FormFIELDCHANGEChangeValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]},{"name":"formValues","type":"Map<string,ControlValue>","required":true}]}]}],"transitions":[{"from":"resolving","to":"idle","event":"INIT","eventId":"evt_7KTHWTY8QF4BQVDBKVS558NDM8","guard":["and","@config.selfFetch",["!=",["str/default","@payload.id",""],""],["!=","@config.mode","create"]],"effects":[["fetch","FormItem",{"id":"@payload.id","emit":{"success":"FormLoaded"}}],["render-ui","main",{"surface":"@config.surface","skeleton":"@config.skeleton","children":"@config.children","onSubmit":"@config.onSubmit","onCancel":"@config.onCancel","layout":"@config.layout","gap":"@config.gap","className":"@config.className","entity":"@entity","mode":"@config.mode","fields":"@config.fields","initialData":"@entity","isLoading":"@config.isLoading","error":"@config.error","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","showCancel":"@config.showCancel","showSubmit":"@config.showSubmit","title":"@config.title","submitEvent":"@config.submitEvent","cancelEvent":"@config.cancelEvent","relationsData":"@config.relationsData","relationsLoading":"@config.relationsLoading","fieldOverrides":"@config.fieldOverrides","conditionalFields":"@config.conditionalFields","hiddenCalculations":"@config.hiddenCalculations","violationTriggers":"@config.violationTriggers","evaluationContext":"@config.evaluationContext","sections":"@config.sections","onFieldChange":"@config.onFieldChange","configPath":"@config.configPath","repeatable":"@config.repeatable","enter":"@config.enter","enterDelay":"@config.enterDelay","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"form"}]]},{"from":"resolving","to":"idle","event":"INIT","eventId":"evt_7KTHWTY8QF4BQVDBKVS558NDM8","guard":["not",["and","@config.selfFetch",["!=",["str/default","@payload.id",""],""],["!=","@config.mode","create"]]],"effects":[["render-ui","main",{"surface":"@config.surface","skeleton":"@config.skeleton","children":"@config.children","onSubmit":"@config.onSubmit","onCancel":"@config.onCancel","layout":"@config.layout","gap":"@config.gap","className":"@config.className","entity":"@entity","mode":"@config.mode","fields":"@config.fields","initialData":"@entity","isLoading":"@config.isLoading","error":"@config.error","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","showCancel":"@config.showCancel","showSubmit":"@config.showSubmit","title":"@config.title","submitEvent":"@config.submitEvent","cancelEvent":"@config.cancelEvent","relationsData":"@config.relationsData","relationsLoading":"@config.relationsLoading","fieldOverrides":"@config.fieldOverrides","conditionalFields":"@config.conditionalFields","hiddenCalculations":"@config.hiddenCalculations","violationTriggers":"@config.violationTriggers","evaluationContext":"@config.evaluationContext","sections":"@config.sections","onFieldChange":"@config.onFieldChange","configPath":"@config.configPath","repeatable":"@config.repeatable","enter":"@config.enter","enterDelay":"@config.enterDelay","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"form"}]]},{"from":"idle","to":"idle","event":"INIT","eventId":"evt_7KTHWTY8QF4BQVDBKVS558NDM8","effects":[["render-ui","main",{"surface":"@config.surface","skeleton":"@config.skeleton","children":"@config.children","onSubmit":"@config.onSubmit","onCancel":"@config.onCancel","layout":"@config.layout","gap":"@config.gap","className":"@config.className","entity":"@entity","mode":"@config.mode","fields":"@config.fields","initialData":"@entity","isLoading":"@config.isLoading","error":"@config.error","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","showCancel":"@config.showCancel","showSubmit":"@config.showSubmit","title":"@config.title","submitEvent":"@config.submitEvent","cancelEvent":"@config.cancelEvent","relationsData":"@config.relationsData","relationsLoading":"@config.relationsLoading","fieldOverrides":"@config.fieldOverrides","conditionalFields":"@config.conditionalFields","hiddenCalculations":"@config.hiddenCalculations","violationTriggers":"@config.violationTriggers","evaluationContext":"@config.evaluationContext","sections":"@config.sections","onFieldChange":"@config.onFieldChange","configPath":"@config.configPath","repeatable":"@config.repeatable","enter":"@config.enter","enterDelay":"@config.enterDelay","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"form"}]]},{"from":"idle","to":"idle","event":"FormLoaded","eventId":"evt_D5RYWW5Y0JZ09BNMK6WWSJZW11","effects":[["render-ui","main",{"surface":"@config.surface","skeleton":"@config.skeleton","children":"@config.children","onSubmit":"@config.onSubmit","onCancel":"@config.onCancel","layout":"@config.layout","gap":"@config.gap","className":"@config.className","entity":"@entity","mode":"@config.mode","fields":"@config.fields","initialData":"@payload.data","isLoading":"@config.isLoading","error":"@config.error","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","showCancel":"@config.showCancel","showSubmit":"@config.showSubmit","title":"@config.title","submitEvent":"@config.submitEvent","cancelEvent":"@config.cancelEvent","relationsData":"@config.relationsData","relationsLoading":"@config.relationsLoading","fieldOverrides":"@config.fieldOverrides","conditionalFields":"@config.conditionalFields","hiddenCalculations":"@config.hiddenCalculations","violationTriggers":"@config.violationTriggers","evaluationContext":"@config.evaluationContext","sections":"@config.sections","onFieldChange":"@config.onFieldChange","configPath":"@config.configPath","repeatable":"@config.repeatable","enter":"@config.enter","enterDelay":"@config.enterDelay","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"form"}]]}]},"config":{"hiddenCalculations":{"type":"[FormHiddenCalculationsItem]","default":[],"label":"Hidden Calculations","description":"Hidden calculations that emit GLOBAL_VARIABLE_SET on field change (boolean true means enabled but config loaded separately)","tier":"presentation","items":{"type":"object","properties":{"triggerFields":{"name":"triggerFields","type":"array","required":true,"items":{"type":"string"}},"expression":{"name":"expression","type":"SExpr","required":true},"variableName":{"name":"variableName","type":"string","required":true}}}},"role":{"type":"string","label":"Role","description":"WAI-ARIA role when the element's native semantics don't describe it.","tier":"presentation","values":["alert","alertdialog","application","article","banner","blockquote","button","caption","cell","checkbox","code","columnheader","combobox","complementary","contentinfo","definition","deletion","dialog","document","emphasis","feed","figure","form","generic","grid","gridcell","group","heading","img","insertion","link","list","listbox","listitem","log","main","marquee","math","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","meter","navigation","none","note","option","paragraph","presentation","progressbar","radio","radiogroup","region","row","rowgroup","rowheader","scrollbar","search","searchbox","separator","slider","spinbutton","status","strong","subscript","superscript","switch","tab","table","tablist","tabpanel","term","textbox","time","timer","toolbar","tooltip","tree","treegrid","treeitem"]},"submitLabel":{"type":"string","label":"Submit Label","description":"Submit button label","tier":"presentation"},"ariaBusy":{"type":"boolean","label":"Aria-busy","description":"This region is updating; assistive technology waits before announcing it.","synonyms":"aria-busy","tier":"presentation"},"mode":{"type":"string","label":"Mode","description":"Form mode — 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'.","tier":"presentation"},"ariaLabel":{"type":"string","label":"Aria-label","description":"Accessible name read by screen readers when the visible text is missing or not descriptive (e.g. an icon-only control).","synonyms":"aria-label","tier":"presentation"},"cancelEvent":{"type":"event","default":"CANCEL","label":"Cancel Event","description":"Event to dispatch on cancel (defaults to 'CANCEL')","tier":"presentation"},"fields":{"type":"[FormFieldsItem]","default":[{"name":"Name","field":"Field","label":"Label","type":"Type","inputType":"Input Type","placeholder":"Placeholder","required":false,"options":[{"value":"Value","label":"Label"},{"value":"Value 2","label":"Label 2"}],"values":["Item","Item 2"],"relation":{"entity":"Entity","displayField":"Display Field","cardinality":"one"},"min":1,"max":1,"pattern":"Pattern","validation":{"enum":["Item","Item 2"]},"readonly":false,"disabled":false,"hint":"Hint"},{"name":"Name 2","field":"Field 2","label":"Label 2","type":"Type 2","inputType":"Input Type 2","placeholder":"Placeholder 2","required":true,"options":[{"value":"Value","label":"Label"},{"value":"Value 2","label":"Label 2"}],"values":["Item","Item 2"],"relation":{"entity":"Entity 2","displayField":"Display Field 2","cardinality":"many"},"min":2,"max":2,"pattern":"Pattern 2","validation":{"enum":["Item","Item 2"]},"readonly":true,"disabled":true,"hint":"Hint 2"}],"label":"Fields","description":"Fields definition (schema format) - accepts readonly for generated const arrays","tier":"presentation","items":{"type":"object","properties":{"relation":{"name":"relation","type":"object","required":false,"properties":{"entity":{"name":"entity","type":"string","required":true},"cardinality":{"name":"cardinality","type":"string","required":false,"values":["one","many","one-to-many","many-to-one","many-to-many"]},"displayField":{"name":"displayField","type":"string","required":false}}},"labels":{"name":"labels","type":"object","required":false,"items":{"type":"string"}},"label":{"name":"label","type":"string","required":false},"placeholder":{"name":"placeholder","type":"string","required":false},"readonly":{"name":"readonly","type":"boolean","required":false},"pattern":{"name":"pattern","type":"string","required":false},"required":{"name":"required","type":"boolean","required":false},"name":{"name":"name","type":"string","required":false},"values":{"name":"values","type":"array","required":false,"items":{"type":"string"}},"disabled":{"name":"disabled","type":"boolean","required":false},"validation":{"name":"validation","type":"object","required":false,"properties":{"enum":{"name":"enum","type":"array","required":false,"items":{"type":"string"}}}},"field":{"name":"field","type":"string","required":false},"min":{"name":"min","type":"number","required":false},"max":{"name":"max","type":"number","required":false},"defaultValue":{"name":"defaultValue","type":"union","required":false,"values":["string","number","boolean","array","FileValue"],"properties":{"array":{"name":"array","type":"array","items":{"type":"string"}},"boolean":{"name":"boolean","type":"boolean"},"FileValue":{"name":"FileValue","type":"object","properties":{"mimeType":{"name":"mimeType","type":"string","required":true},"url":{"name":"url","type":"string","required":true},"sizeBytes":{"name":"sizeBytes","type":"number","required":true},"name":{"name":"name","type":"string","required":true}}},"string":{"name":"string","type":"string"},"number":{"name":"number","type":"number"}}},"hint":{"name":"hint","type":"string","required":false},"type":{"name":"type","type":"string","required":false},"options":{"name":"options","type":"array","required":false,"items":{"type":"object","properties":{"label":{"name":"label","type":"string","required":true},"value":{"name":"value","type":"string","required":true}}}},"inputType":{"name":"inputType","type":"string","required":false}}}},"repeatable":{"type":"boolean","label":"Repeatable","description":"Whether the form supports repeatable entries","tier":"presentation"},"children":{"type":"node","label":"Children","description":"Form fields (traditional React children)","tier":"presentation"},"tabIndex":{"type":"number","label":"Tab Index","description":"0 puts the element in the Tab order; -1 makes it focusable only programmatically.","tier":"presentation"},"enterDelay":{"type":"number","label":"Enter Delay","description":"Stagger step for the entry: waits this many `--motion-enter-stagger` steps before animating.","tier":"presentation"},"cancelLabel":{"type":"string","label":"Cancel Label","description":"Cancel button label (if provided, shows cancel button)","tier":"presentation"},"ariaSelected":{"type":"boolean","label":"Aria-selected","description":"Whether this item is selected (tabs, options, grid cells).","synonyms":"aria-selected","tier":"presentation"},"relationsData":{"type":"Map<string,[FormRelationsDataValueItem]>","default":{},"label":"Relations Data","description":"Relation data props","tier":"presentation","items":{"type":"array","items":{"type":"object","properties":{"label":{"name":"label","type":"string","required":true},"description":{"name":"description","type":"string","required":false},"disabled":{"name":"disabled","type":"boolean","required":false},"value":{"name":"value","type":"string","required":true}}}}},"showCancel":{"type":"boolean","label":"Show Cancel","description":"Show cancel button (defaults to true for schema forms)","tier":"presentation"},"ariaLabelledby":{"type":"string","label":"Aria-labelledby","description":"Id of the element whose text names this one.","synonyms":"aria-labelledby","tier":"presentation"},"onCancel":{"type":"string","label":"On Cancel","description":"Cancel event name for trait dispatch (emitted via eventBus as UI:{onCancel})","tier":"presentation"},"selfFetch":{"type":"boolean","default":true,"label":"Fetch its own row on mount?","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.","tier":"internal"},"lang":{"type":"string","label":"Lang","description":"Language of this element's content (BCP 47, e.g. ar, sl, en).","tier":"presentation"},"isLoading":{"type":"boolean","label":"Is Loading","description":"Loading state","tier":"presentation"},"configPath":{"type":"string","label":"Config Path","description":"Config path for form configuration (schema-driven)","tier":"presentation"},"gap":{"type":"string","default":"md","label":"Gap","description":"Gap between fields","tier":"presentation","values":["sm","md","lg"]},"layout":{"type":"string","default":"vertical","label":"Layout","description":"Form layout","tier":"presentation","values":["vertical","horizontal","inline"]},"fieldOverrides":{"type":"[FormFieldOverridesItem]","default":[],"label":"Field Overrides","description":"Per-field display-copy overrides (label/placeholder/hint), merged by field name over the schema-enriched fields.","tier":"presentation","items":{"type":"object","properties":{"name":{"name":"name","type":"string","required":true},"label":{"name":"label","type":"string","required":false},"placeholder":{"name":"placeholder","type":"string","required":false},"hint":{"name":"hint","type":"string","required":false}}}},"ariaLive":{"type":"string","label":"Aria-live","description":"Announce changes to this region: polite waits for a pause, assertive interrupts.","synonyms":"aria-live","tier":"presentation","values":["off","polite","assertive"]},"relationsLoading":{"type":"Map<string,boolean>","default":{},"label":"Relations Loading","description":"Loading state for relation data: { fieldName: boolean }","tier":"presentation","items":{"type":"boolean"}},"onFieldChange":{"type":"event","default":"FIELD_CHANGE","label":"On Field Change","description":"Callback when any field value changes","tier":"presentation"},"conditionalFields":{"type":"Map<string,SExpr>","default":{},"label":"Conditional Fields","description":"Inspection form extensions","tier":"presentation","items":{"type":"SExpr"}},"violationTriggers":{"type":"[FormViolationTriggersItem]","default":[],"label":"Violation Triggers","description":"Violation conditions that emit VIOLATION_DETECTED when met (boolean true means enabled but config loaded separately)","tier":"presentation","items":{"type":"object","properties":{"condition":{"name":"condition","type":"SExpr","required":true},"violation":{"name":"violation","type":"object","required":true,"properties":{"article":{"name":"article","type":"string","required":true},"actionType":{"name":"actionType","type":"string","required":true,"values":["measure","admin","penalty"]},"message":{"name":"message","type":"string","required":true},"law":{"name":"law","type":"string","required":true}}},"fieldId":{"name":"fieldId","type":"string","required":false}}}},"submitEvent":{"type":"event","default":"SUBMIT","label":"Submit Event","description":"Event dispatch props (for trait state machine integration)","tier":"presentation"},"className":{"type":"string","label":"Class Name","description":"Additional CSS classes","tier":"presentation"},"onSubmit":{"type":"string","label":"On Submit","description":"Submit event name for trait dispatch (emitted via eventBus as UI:{onSubmit})","tier":"presentation"},"ariaDescribedby":{"type":"string","label":"Aria-describedby","description":"Id of the element whose text describes this one (help text, error).","synonyms":"aria-describedby","tier":"presentation"},"showSubmit":{"type":"boolean","default":true,"label":"Show Submit","description":"Show submit button (defaults to true for schema forms). Set false when a parent atom owns the submit action externally (e.g. wizard footers).","tier":"presentation"},"ariaPressed":{"type":"string","label":"Aria-pressed","description":"Toggle-button state.","synonyms":"aria-pressed","tier":"presentation","values":["true","false","mixed"]},"evaluationContext":{"type":"FormEvaluationContext","label":"Evaluation Context","description":"Context for S-expression evaluation","tier":"presentation","properties":{"entity":{"name":"entity","type":"object","required":false,"items":{"type":"union","values":["string","number","boolean","array","FileValue"],"properties":{"string":{"name":"string","type":"string"},"boolean":{"name":"boolean","type":"boolean"},"array":{"name":"array","type":"array","items":{"type":"string"}},"number":{"name":"number","type":"number"},"FileValue":{"name":"FileValue","type":"object","properties":{"url":{"name":"url","type":"string","required":true},"sizeBytes":{"name":"sizeBytes","type":"number","required":true},"name":{"name":"name","type":"string","required":true},"mimeType":{"name":"mimeType","type":"string","required":true}}}}}},"globalVariables":{"name":"globalVariables","type":"object","required":true,"items":{"type":"union","values":["string","number","boolean","array","FileValue"],"properties":{"array":{"name":"array","type":"array","items":{"type":"string"}},"FileValue":{"name":"FileValue","type":"object","properties":{"name":{"name":"name","type":"string","required":true},"url":{"name":"url","type":"string","required":true},"mimeType":{"name":"mimeType","type":"string","required":true},"sizeBytes":{"name":"sizeBytes","type":"number","required":true}}},"string":{"name":"string","type":"string"},"number":{"name":"number","type":"number"},"boolean":{"name":"boolean","type":"boolean"}}}},"formValues":{"name":"formValues","type":"object","required":true,"items":{"type":"union","values":["string","number","boolean","array","FileValue"],"properties":{"FileValue":{"name":"FileValue","type":"object","properties":{"name":{"name":"name","type":"string","required":true},"sizeBytes":{"name":"sizeBytes","type":"number","required":true},"mimeType":{"name":"mimeType","type":"string","required":true},"url":{"name":"url","type":"string","required":true}}},"boolean":{"name":"boolean","type":"boolean"},"string":{"name":"string","type":"string"},"number":{"name":"number","type":"number"},"array":{"name":"array","type":"array","items":{"type":"string"}}}}},"localVariables":{"name":"localVariables","type":"object","required":false,"items":{"type":"union","values":["string","number","boolean","array","FileValue"],"properties":{"boolean":{"name":"boolean","type":"boolean"},"number":{"name":"number","type":"number"},"array":{"name":"array","type":"array","items":{"type":"string"}},"FileValue":{"name":"FileValue","type":"object","properties":{"name":{"name":"name","type":"string","required":true},"sizeBytes":{"name":"sizeBytes","type":"number","required":true},"mimeType":{"name":"mimeType","type":"string","required":true},"url":{"name":"url","type":"string","required":true}}},"string":{"name":"string","type":"string"}}}}}},"dir":{"type":"string","label":"Dir","description":"Text direction of this element's content.","tier":"presentation","values":["ltr","rtl","auto"]},"skeleton":{"type":"string","default":"form","label":"Skeleton","description":"The shape an empty slot shows while this form's server render is in flight (`none` opts out). @default 'form'","tier":"presentation","values":["header","table","list","grid","detail","stats","form","card","text","none"]},"ariaExpanded":{"type":"boolean","label":"Aria-expanded","description":"Whether the element it controls is expanded.","synonyms":"aria-expanded","tier":"presentation"},"enter":{"type":"string","label":"Enter","description":"How this element animates in when it mounts (theme-styled); overrides the theme's default slot entry. `none` opts out.","tier":"presentation","values":["none","fade","rise","scale","slide"]},"title":{"type":"string","label":"Title","description":"Form title (used by ModalSlot to extract title)","tier":"presentation"},"sections":{"type":"[FormSectionsItem]","default":[],"label":"Sections","description":"Nested form sections with optional conditions","tier":"presentation","items":{"type":"object","properties":{"id":{"name":"id","type":"string","required":true},"title":{"name":"title","type":"string","required":true},"fields":{"name":"fields","type":"array","required":true,"items":{"type":"object","properties":{"disabled":{"name":"disabled","type":"boolean","required":false},"readonly":{"name":"readonly","type":"boolean","required":false},"hint":{"name":"hint","type":"string","required":false},"validation":{"name":"validation","type":"object","required":false,"properties":{"enum":{"name":"enum","type":"array","required":false,"items":{"type":"string"}}}},"labels":{"name":"labels","type":"object","required":false,"items":{"type":"string"}},"type":{"name":"type","type":"string","required":false},"required":{"name":"required","type":"boolean","required":false},"field":{"name":"field","type":"string","required":false},"values":{"name":"values","type":"array","required":false,"items":{"type":"string"}},"placeholder":{"name":"placeholder","type":"string","required":false},"label":{"name":"label","type":"string","required":false},"max":{"name":"max","type":"number","required":false},"min":{"name":"min","type":"number","required":false},"pattern":{"name":"pattern","type":"string","required":false},"options":{"name":"options","type":"array","required":false,"items":{"type":"object","properties":{"label":{"name":"label","type":"string","required":true},"value":{"name":"value","type":"string","required":true}}}},"inputType":{"name":"inputType","type":"string","required":false},"relation":{"name":"relation","type":"object","required":false,"properties":{"cardinality":{"name":"cardinality","type":"string","required":false,"values":["one","many","one-to-many","many-to-one","many-to-many"]},"entity":{"name":"entity","type":"string","required":true},"displayField":{"name":"displayField","type":"string","required":false}}},"defaultValue":{"name":"defaultValue","type":"union","required":false,"values":["string","number","boolean","array","FileValue"],"properties":{"number":{"name":"number","type":"number"},"FileValue":{"name":"FileValue","type":"object","properties":{"mimeType":{"name":"mimeType","type":"string","required":true},"url":{"name":"url","type":"string","required":true},"sizeBytes":{"name":"sizeBytes","type":"number","required":true},"name":{"name":"name","type":"string","required":true}}},"array":{"name":"array","type":"array","items":{"type":"string"}},"boolean":{"name":"boolean","type":"boolean"},"string":{"name":"string","type":"string"}}},"name":{"name":"name","type":"string","required":false}}}},"collapsible":{"name":"collapsible","type":"boolean","required":false},"condition":{"name":"condition","type":"SExpr","required":false}}}},"surface":{"type":"string","default":"auto","label":"Surface","description":"Content surface: `auto` paints the theme's surface (with card padding) behind this block unless it already sits on one (a card, dialog or another block); `none` opts out.","tier":"presentation","values":["auto","none"]},"ariaHidden":{"type":"boolean","label":"Aria-hidden","description":"Hide from assistive technology (decorative content only).","synonyms":"aria-hidden","tier":"presentation"},"ariaCurrent":{"type":"string","label":"Aria-current","description":"Marks the current item in a set: the current page, step, location, date or time.","synonyms":"aria-current","tier":"presentation","values":["page","step","location","date","time","true","false"]},"error":{"type":"FormError","label":"Error","description":"Error state","tier":"presentation","properties":{"message":{"name":"message","type":"string","required":true},"code":{"name":"code","type":"string","required":false},"stack":{"name":"stack","type":"string","required":false},"name":{"name":"name","type":"string","required":false}}}},"scope":"instance"}],"pages":[{"name":"FormPage","id":"pag_N4TQETVGM0RA02G09RZ4BPPH7E","path":"/form","traits":[{"ref":"FormRender","refId":"trt_K14DN6VJC6S6349V32WJ358NB3"}]}],"types":{"ControlValue":[{"name":"","type":"union","properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FileValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]}],"FileValue":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}],"FormError":[{"name":"message","type":"string","required":true},{"name":"name","type":"string"},{"name":"code","type":"string"},{"name":"stack","type":"string"}],"FormEvaluationContext":[{"name":"formValues","type":"Map<string,ControlValue>","required":true},{"name":"globalVariables","type":"Map<string,ControlValue>","required":true},{"name":"localVariables","type":"Map<string,ControlValue>"},{"name":"entity","type":"Map<string,ControlValue>"}],"FormFIELDCHANGEChange":[{"name":"fieldId","type":"string","required":true},{"name":"value","type":"union","required":true,"properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FormFIELDCHANGEChangeValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]},{"name":"formValues","type":"Map<string,ControlValue>","required":true}],"FormFIELDCHANGEChangeValue":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}],"FormFieldOverridesItem":[{"name":"name","type":"string","required":true},{"name":"label","type":"string"},{"name":"placeholder","type":"string"},{"name":"hint","type":"string"}],"FormFieldsItem":[{"name":"name","type":"string"},{"name":"field","type":"string"},{"name":"label","type":"string"},{"name":"type","type":"string"},{"name":"inputType","type":"string"},{"name":"placeholder","type":"string"},{"name":"required","type":"boolean"},{"name":"defaultValue","type":"union","properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FileValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]},{"name":"options","type":"[object]","properties":[{"name":"value","type":"string","required":true},{"name":"label","type":"string","required":true}]},{"name":"values","type":"[string]"},{"name":"labels","type":"Map<string,string>"},{"name":"relation","type":"object","properties":[{"name":"entity","type":"string","required":true},{"name":"displayField","type":"string"},{"name":"cardinality","type":"string","values":["one","many","one-to-many","many-to-one","many-to-many"]}]},{"name":"min","type":"number"},{"name":"max","type":"number"},{"name":"pattern","type":"string"},{"name":"validation","type":"object","properties":[{"name":"enum","type":"[string]"}]},{"name":"readonly","type":"boolean"},{"name":"disabled","type":"boolean"},{"name":"hint","type":"string"}],"FormFieldsItemOptionsItem":[{"name":"value","type":"string","required":true},{"name":"label","type":"string","required":true}],"FormFieldsItemRelation":[{"name":"entity","type":"string","required":true},{"name":"displayField","type":"string"},{"name":"cardinality","type":"string","values":["one","many","one-to-many","many-to-one","many-to-many"]}],"FormFieldsItemValidation":[{"name":"enum","type":"[string]"}],"FormHiddenCalculationsItem":[{"name":"variableName","type":"string","required":true},{"name":"expression","type":"SExpr","required":true},{"name":"triggerFields","type":"[string]","required":true}],"FormRelationsDataValueItem":[{"name":"value","type":"string","required":true},{"name":"label","type":"string","required":true},{"name":"description","type":"string"},{"name":"disabled","type":"boolean"}],"FormSectionsItem":[{"name":"id","type":"string","required":true},{"name":"title","type":"string","required":true},{"name":"condition","type":"SExpr"},{"name":"fields","type":"[object]","required":true,"properties":[{"name":"name","type":"string"},{"name":"field","type":"string"},{"name":"label","type":"string"},{"name":"type","type":"string"},{"name":"inputType","type":"string"},{"name":"placeholder","type":"string"},{"name":"required","type":"boolean"},{"name":"defaultValue","type":"union","properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FileValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]},{"name":"options","type":"[object]","properties":[{"name":"value","type":"string","required":true},{"name":"label","type":"string","required":true}]},{"name":"values","type":"[string]"},{"name":"labels","type":"Map<string,string>"},{"name":"relation","type":"object","properties":[{"name":"entity","type":"string","required":true},{"name":"displayField","type":"string"},{"name":"cardinality","type":"string","values":["one","many","one-to-many","many-to-one","many-to-many"]}]},{"name":"min","type":"number"},{"name":"max","type":"number"},{"name":"pattern","type":"string"},{"name":"validation","type":"object","properties":[{"name":"enum","type":"[string]"}]},{"name":"readonly","type":"boolean"},{"name":"disabled","type":"boolean"},{"name":"hint","type":"string"}]},{"name":"collapsible","type":"boolean"}],"FormSectionsItemFieldsItem":[{"name":"name","type":"string"},{"name":"field","type":"string"},{"name":"label","type":"string"},{"name":"type","type":"string"},{"name":"inputType","type":"string"},{"name":"placeholder","type":"string"},{"name":"required","type":"boolean"},{"name":"defaultValue","type":"union","properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FileValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]},{"name":"options","type":"[object]","properties":[{"name":"value","type":"string","required":true},{"name":"label","type":"string","required":true}]},{"name":"values","type":"[string]"},{"name":"labels","type":"Map<string,string>"},{"name":"relation","type":"object","properties":[{"name":"entity","type":"string","required":true},{"name":"displayField","type":"string"},{"name":"cardinality","type":"string","values":["one","many","one-to-many","many-to-one","many-to-many"]}]},{"name":"min","type":"number"},{"name":"max","type":"number"},{"name":"pattern","type":"string"},{"name":"validation","type":"object","properties":[{"name":"enum","type":"[string]"}]},{"name":"readonly","type":"boolean"},{"name":"disabled","type":"boolean"},{"name":"hint","type":"string"}],"FormSectionsItemFieldsItemOptionsItem":[{"name":"value","type":"string","required":true},{"name":"label","type":"string","required":true}],"FormSectionsItemFieldsItemRelation":[{"name":"entity","type":"string","required":true},{"name":"displayField","type":"string"},{"name":"cardinality","type":"string","values":["one","many","one-to-many","many-to-one","many-to-many"]}],"FormSectionsItemFieldsItemValidation":[{"name":"enum","type":"[string]"}],"FormViolationTriggersItem":[{"name":"condition","type":"SExpr","required":true},{"name":"violation","type":"object","required":true,"properties":[{"name":"law","type":"string","required":true},{"name":"article","type":"string","required":true},{"name":"actionType","type":"string","values":["measure","admin","penalty"],"required":true},{"name":"message","type":"string","required":true}]},{"name":"fieldId","type":"string"}],"FormViolationTriggersItemViolation":[{"name":"law","type":"string","required":true},{"name":"article","type":"string","required":true},{"name":"actionType","type":"string","values":["measure","admin","penalty"],"required":true},{"name":"message","type":"string","required":true}]}}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_CD284VVK1PSGV4MBAYEG0KNMM3":{"id":"ent_CD284VVK1PSGV4MBAYEG0KNMM3","kind":"entity","bakedName":"FormItem","curName":"FormItem","renames":[],"owner":"workspace"},"evt_7KTHWTY8QF4BQVDBKVS558NDM8":{"id":"evt_7KTHWTY8QF4BQVDBKVS558NDM8","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_K14DN6VJC6S6349V32WJ358NB3"},"evt_D5RYWW5Y0JZ09BNMK6WWSJZW11":{"id":"evt_D5RYWW5Y0JZ09BNMK6WWSJZW11","kind":"event","bakedName":"FormLoaded","curName":"FormLoaded","renames":[],"owner":"workspace","parent":"trt_K14DN6VJC6S6349V32WJ358NB3"},"evt_HF1ZWRA4FW27YAE147S8TJ6BAN":{"id":"evt_HF1ZWRA4FW27YAE147S8TJ6BAN","kind":"event","bakedName":"@config.onFieldChange","curName":"@config.onFieldChange","renames":[],"owner":"workspace","parent":"trt_K14DN6VJC6S6349V32WJ358NB3"},"evt_QADDABT8KK49STFQR0PTXN2S0Z":{"id":"evt_QADDABT8KK49STFQR0PTXN2S0Z","kind":"event","bakedName":"@config.submitEvent","curName":"@config.submitEvent","renames":[],"owner":"workspace","parent":"trt_K14DN6VJC6S6349V32WJ358NB3"},"evt_RYABNFAXPBEV5XX928TEWK5FKC":{"id":"evt_RYABNFAXPBEV5XX928TEWK5FKC","kind":"event","bakedName":"@config.cancelEvent","curName":"@config.cancelEvent","renames":[],"owner":"workspace","parent":"trt_K14DN6VJC6S6349V32WJ358NB3"},"orb_GZQ2GGWNWNAYAG897GT5CC8YW5":{"id":"orb_GZQ2GGWNWNAYAG897GT5CC8YW5","kind":"orbital","bakedName":"FormOrbital","curName":"FormOrbital","renames":[],"owner":"workspace"},"pag_N4TQETVGM0RA02G09RZ4BPPH7E":{"id":"pag_N4TQETVGM0RA02G09RZ4BPPH7E","kind":"page","bakedName":"FormPage","curName":"FormPage","renames":[],"owner":"workspace"},"trt_K14DN6VJC6S6349V32WJ358NB3":{"id":"trt_K14DN6VJC6S6349V32WJ358NB3","kind":"trait","bakedName":"FormRender","curName":"FormRender","renames":[],"owner":"workspace"}}}}
1
+ {"name":"ui-form","version":"1.0.0","description":"Form — UI factory (1:1 with the @almadar/ui form pattern).","orbitals":[{"name":"FormOrbital","id":"orb_GZQ2GGWNWNAYAG897GT5CC8YW5","entity":{"name":"FormItem","id":"ent_CD284VVK1PSGV4MBAYEG0KNMM3","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"FormRender","id":"trt_K14DN6VJC6S6349V32WJ358NB3","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"fetch","resource":"FormItem"},{"kind":"render-ui","resource":"main"}],"category":"interaction","linkedEntity":"FormItem","linkedEntityId":"ent_CD284VVK1PSGV4MBAYEG0KNMM3","entityRefIds":{"FormItem":"ent_CD284VVK1PSGV4MBAYEG0KNMM3"},"emits":[{"event":"@config.submitEvent","eventId":"evt_QADDABT8KK49STFQR0PTXN2S0Z","description":"Event dispatch props (for trait state machine integration)","tier":"essential","scope":"external","payloadSchema":[{"name":"data","type":"@entity","required":true}],"definerKnob":"submitEvent"},{"event":"@config.cancelEvent","eventId":"evt_RYABNFAXPBEV5XX928TEWK5FKC","description":"Event to dispatch on cancel (defaults to 'CANCEL')","tier":"essential","scope":"external","definerKnob":"cancelEvent"},{"event":"@config.onFieldChange","eventId":"evt_HF1ZWRA4FW27YAE147S8TJ6BAN","description":"Callback when any field value changes","tier":"essential","scope":"external","payloadSchema":[{"name":"change","type":"object","properties":[{"name":"fieldId","type":"string","required":true},{"name":"value","type":"union","required":true,"properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FormFIELDCHANGEChangeValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]},{"name":"formValues","type":"Map<string,ControlValue>","required":true}]}],"definerKnob":"onFieldChange"},{"event":"FormLoaded","eventId":"evt_D5RYWW5Y0JZ09BNMK6WWSJZW11","description":"Form row finished loading; payload.data holds the single row.","synonyms":"loaded, fetched, retrieved","tier":"essential","scope":"internal","payloadSchema":[{"name":"data","type":"object","properties":[{"name":"id","type":"string","required":true}],"entity":"FormItem"}]}],"stateMachine":{"states":[{"name":"resolving","isInitial":true},{"name":"idle"}],"events":[{"key":"INIT","id":"evt_7KTHWTY8QF4BQVDBKVS558NDM8","name":"Initialize","description":"Mount payload; a host that routes to this panel by id (a :id page param) passes it here.","tier":"internal","payloadSchema":[{"name":"id","type":"string"}],"listened":true},{"key":"FormLoaded","id":"evt_D5RYWW5Y0JZ09BNMK6WWSJZW11","name":"Form loaded","description":"Form row finished loading; payload.data holds the single row.","synonyms":"loaded, fetched, retrieved","tier":"essential","payloadSchema":[{"name":"data","type":"object","properties":[{"name":"id","type":"string","required":true}],"entity":"FormItem"}]},{"key":"@config.submitEvent","id":"evt_QADDABT8KK49STFQR0PTXN2S0Z","name":"@config.submit event","description":"Event dispatch props (for trait state machine integration)","tier":"essential","payloadSchema":[{"name":"data","type":"@entity","required":true}]},{"key":"@config.cancelEvent","id":"evt_RYABNFAXPBEV5XX928TEWK5FKC","name":"@config.cancel event","description":"Event to dispatch on cancel (defaults to 'CANCEL')","tier":"essential"},{"key":"@config.onFieldChange","id":"evt_HF1ZWRA4FW27YAE147S8TJ6BAN","name":"@config.on field change","description":"Callback when any field value changes","tier":"essential","payloadSchema":[{"name":"change","type":"object","properties":[{"name":"fieldId","type":"string","required":true},{"name":"value","type":"union","required":true,"properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FormFIELDCHANGEChangeValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]},{"name":"formValues","type":"Map<string,ControlValue>","required":true}]}]}],"transitions":[{"from":"resolving","to":"idle","event":"INIT","eventId":"evt_7KTHWTY8QF4BQVDBKVS558NDM8","guard":["and","@config.selfFetch",["!=",["str/default","@payload.id",""],""],["!=","@config.mode","create"]],"effects":[["fetch","FormItem",{"id":"@payload.id","emit":{"success":"FormLoaded"}}],["render-ui","main",{"surface":"@config.surface","skeleton":"@config.skeleton","children":"@config.children","onSubmit":"@config.onSubmit","onCancel":"@config.onCancel","layout":"@config.layout","gap":"@config.gap","className":"@config.className","entity":"@entity","mode":"@config.mode","fields":"@config.fields","initialData":"@entity","isLoading":"@config.isLoading","error":"@config.error","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","showCancel":"@config.showCancel","showSubmit":"@config.showSubmit","title":"@config.title","submitEvent":"@config.submitEvent","cancelEvent":"@config.cancelEvent","relationsData":"@config.relationsData","relationsLoading":"@config.relationsLoading","fieldOverrides":"@config.fieldOverrides","conditionalFields":"@config.conditionalFields","hiddenCalculations":"@config.hiddenCalculations","violationTriggers":"@config.violationTriggers","evaluationContext":"@config.evaluationContext","sections":"@config.sections","onFieldChange":"@config.onFieldChange","configPath":"@config.configPath","repeatable":"@config.repeatable","enter":"@config.enter","enterDelay":"@config.enterDelay","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"form"}]]},{"from":"resolving","to":"idle","event":"INIT","eventId":"evt_7KTHWTY8QF4BQVDBKVS558NDM8","guard":["not",["and","@config.selfFetch",["!=",["str/default","@payload.id",""],""],["!=","@config.mode","create"]]],"effects":[["render-ui","main",{"surface":"@config.surface","skeleton":"@config.skeleton","children":"@config.children","onSubmit":"@config.onSubmit","onCancel":"@config.onCancel","layout":"@config.layout","gap":"@config.gap","className":"@config.className","entity":"@entity","mode":"@config.mode","fields":"@config.fields","initialData":"@entity","isLoading":"@config.isLoading","error":"@config.error","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","showCancel":"@config.showCancel","showSubmit":"@config.showSubmit","title":"@config.title","submitEvent":"@config.submitEvent","cancelEvent":"@config.cancelEvent","relationsData":"@config.relationsData","relationsLoading":"@config.relationsLoading","fieldOverrides":"@config.fieldOverrides","conditionalFields":"@config.conditionalFields","hiddenCalculations":"@config.hiddenCalculations","violationTriggers":"@config.violationTriggers","evaluationContext":"@config.evaluationContext","sections":"@config.sections","onFieldChange":"@config.onFieldChange","configPath":"@config.configPath","repeatable":"@config.repeatable","enter":"@config.enter","enterDelay":"@config.enterDelay","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"form"}]]},{"from":"idle","to":"idle","event":"INIT","eventId":"evt_7KTHWTY8QF4BQVDBKVS558NDM8","effects":[["render-ui","main",{"surface":"@config.surface","skeleton":"@config.skeleton","children":"@config.children","onSubmit":"@config.onSubmit","onCancel":"@config.onCancel","layout":"@config.layout","gap":"@config.gap","className":"@config.className","entity":"@entity","mode":"@config.mode","fields":"@config.fields","initialData":"@entity","isLoading":"@config.isLoading","error":"@config.error","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","showCancel":"@config.showCancel","showSubmit":"@config.showSubmit","title":"@config.title","submitEvent":"@config.submitEvent","cancelEvent":"@config.cancelEvent","relationsData":"@config.relationsData","relationsLoading":"@config.relationsLoading","fieldOverrides":"@config.fieldOverrides","conditionalFields":"@config.conditionalFields","hiddenCalculations":"@config.hiddenCalculations","violationTriggers":"@config.violationTriggers","evaluationContext":"@config.evaluationContext","sections":"@config.sections","onFieldChange":"@config.onFieldChange","configPath":"@config.configPath","repeatable":"@config.repeatable","enter":"@config.enter","enterDelay":"@config.enterDelay","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"form"}]]},{"from":"idle","to":"idle","event":"FormLoaded","eventId":"evt_D5RYWW5Y0JZ09BNMK6WWSJZW11","effects":[["render-ui","main",{"surface":"@config.surface","skeleton":"@config.skeleton","children":"@config.children","onSubmit":"@config.onSubmit","onCancel":"@config.onCancel","layout":"@config.layout","gap":"@config.gap","className":"@config.className","entity":"@entity","mode":"@config.mode","fields":"@config.fields","initialData":"@payload.data","isLoading":"@config.isLoading","error":"@config.error","submitLabel":"@config.submitLabel","cancelLabel":"@config.cancelLabel","showCancel":"@config.showCancel","showSubmit":"@config.showSubmit","title":"@config.title","submitEvent":"@config.submitEvent","cancelEvent":"@config.cancelEvent","relationsData":"@config.relationsData","relationsLoading":"@config.relationsLoading","fieldOverrides":"@config.fieldOverrides","conditionalFields":"@config.conditionalFields","hiddenCalculations":"@config.hiddenCalculations","violationTriggers":"@config.violationTriggers","evaluationContext":"@config.evaluationContext","sections":"@config.sections","onFieldChange":"@config.onFieldChange","configPath":"@config.configPath","repeatable":"@config.repeatable","enter":"@config.enter","enterDelay":"@config.enterDelay","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"form"}]]}]},"config":{"skeleton":{"type":"string","default":"form","label":"Skeleton","description":"The shape an empty slot shows while this form's server render is in flight (`none` opts out). @default 'form'","tier":"presentation","values":["header","table","list","grid","detail","stats","form","card","text","none"]},"mode":{"type":"string","label":"Mode","description":"Form mode — 'create' for new records, 'edit' for updating existing. Accepts `string` so schema-driven callers (whose `config.mode` is typed as `string` per the trait's declared config block) compile cleanly. The runtime treats anything other than 'edit' as 'create'.","tier":"presentation"},"submitEvent":{"type":"event","default":"SUBMIT","label":"Submit Event","description":"Event dispatch props (for trait state machine integration)","tier":"presentation"},"enter":{"type":"string","label":"Enter","description":"How this element animates in when it mounts (theme-styled); overrides the theme's default slot entry. `none` opts out.","tier":"presentation","values":["none","fade","rise","scale","slide"]},"ariaCurrent":{"type":"string","label":"Aria-current","description":"Marks the current item in a set: the current page, step, location, date or time.","synonyms":"aria-current","tier":"presentation","values":["page","step","location","date","time","true","false"]},"layout":{"type":"string","default":"vertical","label":"Layout","description":"Form layout","tier":"presentation","values":["vertical","horizontal","inline"]},"onCancel":{"type":"string","label":"On Cancel","description":"Cancel event name for trait dispatch (emitted via eventBus as UI:{onCancel})","tier":"presentation"},"showSubmit":{"type":"boolean","default":true,"label":"Show Submit","description":"Show submit button (defaults to true for schema forms). Set false when a parent atom owns the submit action externally (e.g. wizard footers).","tier":"presentation"},"title":{"type":"string","label":"Title","description":"Form title (used by ModalSlot to extract title)","tier":"presentation"},"relationsLoading":{"type":"Map<string,boolean>","default":{},"label":"Relations Loading","description":"Loading state for relation data: { fieldName: boolean }","tier":"presentation","items":{"type":"boolean"}},"onSubmit":{"type":"string","label":"On Submit","description":"Submit event name for trait dispatch (emitted via eventBus as UI:{onSubmit})","tier":"presentation"},"ariaLabel":{"type":"string","label":"Aria-label","description":"Accessible name read by screen readers when the visible text is missing or not descriptive (e.g. an icon-only control).","synonyms":"aria-label","tier":"presentation"},"gap":{"type":"string","default":"md","label":"Gap","description":"Gap between fields","tier":"presentation","values":["sm","md","lg"]},"role":{"type":"string","label":"Role","description":"WAI-ARIA role when the element's native semantics don't describe it.","tier":"presentation","values":["alert","alertdialog","application","article","banner","blockquote","button","caption","cell","checkbox","code","columnheader","combobox","complementary","contentinfo","definition","deletion","dialog","document","emphasis","feed","figure","form","generic","grid","gridcell","group","heading","img","insertion","link","list","listbox","listitem","log","main","marquee","math","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","meter","navigation","none","note","option","paragraph","presentation","progressbar","radio","radiogroup","region","row","rowgroup","rowheader","scrollbar","search","searchbox","separator","slider","spinbutton","status","strong","subscript","superscript","switch","tab","table","tablist","tabpanel","term","textbox","time","timer","toolbar","tooltip","tree","treegrid","treeitem"]},"children":{"type":"node","label":"Children","description":"Form fields (traditional React children)","tier":"presentation"},"configPath":{"type":"string","label":"Config Path","description":"Config path for form configuration (schema-driven)","tier":"presentation"},"cancelEvent":{"type":"event","default":"CANCEL","label":"Cancel Event","description":"Event to dispatch on cancel (defaults to 'CANCEL')","tier":"presentation"},"ariaSelected":{"type":"boolean","label":"Aria-selected","description":"Whether this item is selected (tabs, options, grid cells).","synonyms":"aria-selected","tier":"presentation"},"ariaExpanded":{"type":"boolean","label":"Aria-expanded","description":"Whether the element it controls is expanded.","synonyms":"aria-expanded","tier":"presentation"},"conditionalFields":{"type":"Map<string,SExpr>","default":{},"label":"Conditional Fields","description":"Inspection form extensions","tier":"presentation","items":{"type":"SExpr"}},"enterDelay":{"type":"number","label":"Enter Delay","description":"Stagger step for the entry: waits this many `--motion-enter-stagger` steps before animating.","tier":"presentation"},"evaluationContext":{"type":"FormEvaluationContext","label":"Evaluation Context","description":"Context for S-expression evaluation","tier":"presentation","properties":{"entity":{"name":"entity","type":"object","required":false,"items":{"type":"union","values":["string","number","boolean","array","FileValue"],"properties":{"boolean":{"name":"boolean","type":"boolean"},"array":{"name":"array","type":"array","items":{"type":"string"}},"FileValue":{"name":"FileValue","type":"object","properties":{"sizeBytes":{"name":"sizeBytes","type":"number","required":true},"url":{"name":"url","type":"string","required":true},"name":{"name":"name","type":"string","required":true},"mimeType":{"name":"mimeType","type":"string","required":true}}},"string":{"name":"string","type":"string"},"number":{"name":"number","type":"number"}}}},"localVariables":{"name":"localVariables","type":"object","required":false,"items":{"type":"union","values":["string","number","boolean","array","FileValue"],"properties":{"array":{"name":"array","type":"array","items":{"type":"string"}},"string":{"name":"string","type":"string"},"boolean":{"name":"boolean","type":"boolean"},"number":{"name":"number","type":"number"},"FileValue":{"name":"FileValue","type":"object","properties":{"name":{"name":"name","type":"string","required":true},"url":{"name":"url","type":"string","required":true},"sizeBytes":{"name":"sizeBytes","type":"number","required":true},"mimeType":{"name":"mimeType","type":"string","required":true}}}}}},"globalVariables":{"name":"globalVariables","type":"object","required":true,"items":{"type":"union","values":["string","number","boolean","array","FileValue"],"properties":{"array":{"name":"array","type":"array","items":{"type":"string"}},"boolean":{"name":"boolean","type":"boolean"},"string":{"name":"string","type":"string"},"FileValue":{"name":"FileValue","type":"object","properties":{"mimeType":{"name":"mimeType","type":"string","required":true},"url":{"name":"url","type":"string","required":true},"sizeBytes":{"name":"sizeBytes","type":"number","required":true},"name":{"name":"name","type":"string","required":true}}},"number":{"name":"number","type":"number"}}}},"formValues":{"name":"formValues","type":"object","required":true,"items":{"type":"union","values":["string","number","boolean","array","FileValue"],"properties":{"string":{"name":"string","type":"string"},"FileValue":{"name":"FileValue","type":"object","properties":{"sizeBytes":{"name":"sizeBytes","type":"number","required":true},"name":{"name":"name","type":"string","required":true},"mimeType":{"name":"mimeType","type":"string","required":true},"url":{"name":"url","type":"string","required":true}}},"number":{"name":"number","type":"number"},"array":{"name":"array","type":"array","items":{"type":"string"}},"boolean":{"name":"boolean","type":"boolean"}}}}}},"error":{"type":"FormError","label":"Error","description":"Error state","tier":"presentation","properties":{"message":{"name":"message","type":"string","required":true},"code":{"name":"code","type":"string","required":false},"stack":{"name":"stack","type":"string","required":false},"name":{"name":"name","type":"string","required":false}}},"ariaLabelledby":{"type":"string","label":"Aria-labelledby","description":"Id of the element whose text names this one.","synonyms":"aria-labelledby","tier":"presentation"},"relationsData":{"type":"Map<string,[FormRelationsDataValueItem]>","default":{},"label":"Relations Data","description":"Relation data props","tier":"presentation","items":{"type":"array","items":{"type":"object","properties":{"label":{"name":"label","type":"string","required":true},"description":{"name":"description","type":"string","required":false},"disabled":{"name":"disabled","type":"boolean","required":false},"value":{"name":"value","type":"string","required":true}}}}},"ariaPressed":{"type":"string","label":"Aria-pressed","description":"Toggle-button state.","synonyms":"aria-pressed","tier":"presentation","values":["true","false","mixed"]},"hiddenCalculations":{"type":"[FormHiddenCalculationsItem]","default":[],"label":"Hidden Calculations","description":"Hidden calculations that emit GLOBAL_VARIABLE_SET on field change (boolean true means enabled but config loaded separately)","tier":"presentation","items":{"type":"object","properties":{"triggerFields":{"name":"triggerFields","type":"array","required":true,"items":{"type":"string"}},"expression":{"name":"expression","type":"SExpr","required":true},"variableName":{"name":"variableName","type":"string","required":true}}}},"onFieldChange":{"type":"event","default":"FIELD_CHANGE","label":"On Field Change","description":"Callback when any field value changes","tier":"presentation"},"className":{"type":"string","label":"Class Name","description":"Additional CSS classes","tier":"presentation"},"fieldOverrides":{"type":"[FormFieldOverridesItem]","default":[],"label":"Field Overrides","description":"Per-field display-copy overrides (label/placeholder/hint), merged by field name over the schema-enriched fields.","tier":"presentation","items":{"type":"object","properties":{"label":{"name":"label","type":"string","required":false},"hint":{"name":"hint","type":"string","required":false},"placeholder":{"name":"placeholder","type":"string","required":false},"name":{"name":"name","type":"string","required":true}}}},"cancelLabel":{"type":"string","label":"Cancel Label","description":"Cancel button label (if provided, shows cancel button)","tier":"presentation"},"fields":{"type":"[FormFieldsItem]","default":[{"name":"Name","field":"Field","label":"Label","type":"Type","inputType":"Input Type","placeholder":"Placeholder","required":false,"options":[{"value":"Value","label":"Label"},{"value":"Value 2","label":"Label 2"}],"values":["Item","Item 2"],"relation":{"entity":"Entity","displayField":"Display Field","cardinality":"one"},"min":1,"max":1,"pattern":"Pattern","validation":{"enum":["Item","Item 2"]},"readonly":false,"disabled":false,"hint":"Hint"},{"name":"Name 2","field":"Field 2","label":"Label 2","type":"Type 2","inputType":"Input Type 2","placeholder":"Placeholder 2","required":true,"options":[{"value":"Value","label":"Label"},{"value":"Value 2","label":"Label 2"}],"values":["Item","Item 2"],"relation":{"entity":"Entity 2","displayField":"Display Field 2","cardinality":"many"},"min":2,"max":2,"pattern":"Pattern 2","validation":{"enum":["Item","Item 2"]},"readonly":true,"disabled":true,"hint":"Hint 2"}],"label":"Fields","description":"Fields definition (schema format) - accepts readonly for generated const arrays","tier":"presentation","items":{"type":"object","properties":{"values":{"name":"values","type":"array","required":false,"items":{"type":"string"}},"hint":{"name":"hint","type":"string","required":false},"placeholder":{"name":"placeholder","type":"string","required":false},"disabled":{"name":"disabled","type":"boolean","required":false},"min":{"name":"min","type":"number","required":false},"max":{"name":"max","type":"number","required":false},"type":{"name":"type","type":"string","required":false},"readonly":{"name":"readonly","type":"boolean","required":false},"label":{"name":"label","type":"string","required":false},"relation":{"name":"relation","type":"object","required":false,"properties":{"entity":{"name":"entity","type":"string","required":true},"cardinality":{"name":"cardinality","type":"string","required":false,"values":["one","many","one-to-many","many-to-one","many-to-many"]},"displayField":{"name":"displayField","type":"string","required":false}}},"name":{"name":"name","type":"string","required":false},"field":{"name":"field","type":"string","required":false},"options":{"name":"options","type":"array","required":false,"items":{"type":"object","properties":{"label":{"name":"label","type":"string","required":true},"value":{"name":"value","type":"string","required":true}}}},"pattern":{"name":"pattern","type":"string","required":false},"labels":{"name":"labels","type":"object","required":false,"items":{"type":"string"}},"defaultValue":{"name":"defaultValue","type":"union","required":false,"values":["string","number","boolean","array","FileValue"],"properties":{"boolean":{"name":"boolean","type":"boolean"},"number":{"name":"number","type":"number"},"FileValue":{"name":"FileValue","type":"object","properties":{"url":{"name":"url","type":"string","required":true},"name":{"name":"name","type":"string","required":true},"mimeType":{"name":"mimeType","type":"string","required":true},"sizeBytes":{"name":"sizeBytes","type":"number","required":true}}},"string":{"name":"string","type":"string"},"array":{"name":"array","type":"array","items":{"type":"string"}}}},"required":{"name":"required","type":"boolean","required":false},"validation":{"name":"validation","type":"object","required":false,"properties":{"enum":{"name":"enum","type":"array","required":false,"items":{"type":"string"}}}},"inputType":{"name":"inputType","type":"string","required":false}}}},"ariaHidden":{"type":"boolean","label":"Aria-hidden","description":"Hide from assistive technology (decorative content only).","synonyms":"aria-hidden","tier":"presentation"},"tabIndex":{"type":"number","label":"Tab Index","description":"0 puts the element in the Tab order; -1 makes it focusable only programmatically.","tier":"presentation"},"dir":{"type":"string","label":"Dir","description":"Text direction of this element's content.","tier":"presentation","values":["ltr","rtl","auto"]},"surface":{"type":"string","default":"auto","label":"Surface","description":"Content surface: `auto` paints the theme's surface (with card padding) behind this block unless it already sits on one (a card, dialog or another block); `none` opts out.","tier":"presentation","values":["auto","none"]},"ariaDescribedby":{"type":"string","label":"Aria-describedby","description":"Id of the element whose text describes this one (help text, error).","synonyms":"aria-describedby","tier":"presentation"},"ariaLive":{"type":"string","label":"Aria-live","description":"Announce changes to this region: polite waits for a pause, assertive interrupts.","synonyms":"aria-live","tier":"presentation","values":["off","polite","assertive"]},"sections":{"type":"[FormSectionsItem]","default":[],"label":"Sections","description":"Nested form sections with optional conditions","tier":"presentation","items":{"type":"object","properties":{"collapsible":{"name":"collapsible","type":"boolean","required":false},"id":{"name":"id","type":"string","required":true},"title":{"name":"title","type":"string","required":true},"condition":{"name":"condition","type":"SExpr","required":false},"fields":{"name":"fields","type":"array","required":true,"items":{"type":"object","properties":{"min":{"name":"min","type":"number","required":false},"validation":{"name":"validation","type":"object","required":false,"properties":{"enum":{"name":"enum","type":"array","required":false,"items":{"type":"string"}}}},"defaultValue":{"name":"defaultValue","type":"union","required":false,"values":["string","number","boolean","array","FileValue"],"properties":{"array":{"name":"array","type":"array","items":{"type":"string"}},"FileValue":{"name":"FileValue","type":"object","properties":{"url":{"name":"url","type":"string","required":true},"mimeType":{"name":"mimeType","type":"string","required":true},"sizeBytes":{"name":"sizeBytes","type":"number","required":true},"name":{"name":"name","type":"string","required":true}}},"number":{"name":"number","type":"number"},"boolean":{"name":"boolean","type":"boolean"},"string":{"name":"string","type":"string"}}},"type":{"name":"type","type":"string","required":false},"hint":{"name":"hint","type":"string","required":false},"label":{"name":"label","type":"string","required":false},"name":{"name":"name","type":"string","required":false},"relation":{"name":"relation","type":"object","required":false,"properties":{"entity":{"name":"entity","type":"string","required":true},"cardinality":{"name":"cardinality","type":"string","required":false,"values":["one","many","one-to-many","many-to-one","many-to-many"]},"displayField":{"name":"displayField","type":"string","required":false}}},"max":{"name":"max","type":"number","required":false},"options":{"name":"options","type":"array","required":false,"items":{"type":"object","properties":{"label":{"name":"label","type":"string","required":true},"value":{"name":"value","type":"string","required":true}}}},"required":{"name":"required","type":"boolean","required":false},"field":{"name":"field","type":"string","required":false},"inputType":{"name":"inputType","type":"string","required":false},"placeholder":{"name":"placeholder","type":"string","required":false},"labels":{"name":"labels","type":"object","required":false,"items":{"type":"string"}},"readonly":{"name":"readonly","type":"boolean","required":false},"disabled":{"name":"disabled","type":"boolean","required":false},"pattern":{"name":"pattern","type":"string","required":false},"values":{"name":"values","type":"array","required":false,"items":{"type":"string"}}}}}}}},"isLoading":{"type":"boolean","label":"Is Loading","description":"Loading state","tier":"presentation"},"repeatable":{"type":"boolean","label":"Repeatable","description":"Whether the form supports repeatable entries","tier":"presentation"},"submitLabel":{"type":"string","label":"Submit Label","description":"Submit button label","tier":"presentation"},"lang":{"type":"string","label":"Lang","description":"Language of this element's content (BCP 47, e.g. ar, sl, en).","tier":"presentation"},"ariaBusy":{"type":"boolean","label":"Aria-busy","description":"This region is updating; assistive technology waits before announcing it.","synonyms":"aria-busy","tier":"presentation"},"showCancel":{"type":"boolean","label":"Show Cancel","description":"Show cancel button (defaults to true for schema forms)","tier":"presentation"},"selfFetch":{"type":"boolean","default":true,"label":"Fetch its own row on mount?","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.","tier":"internal"},"violationTriggers":{"type":"[FormViolationTriggersItem]","default":[],"label":"Violation Triggers","description":"Violation conditions that emit VIOLATION_DETECTED when met (boolean true means enabled but config loaded separately)","tier":"presentation","items":{"type":"object","properties":{"condition":{"name":"condition","type":"SExpr","required":true},"violation":{"name":"violation","type":"object","required":true,"properties":{"actionType":{"name":"actionType","type":"string","required":true,"values":["measure","admin","penalty"]},"message":{"name":"message","type":"string","required":true},"article":{"name":"article","type":"string","required":true},"law":{"name":"law","type":"string","required":true}}},"fieldId":{"name":"fieldId","type":"string","required":false}}}}},"scope":"instance"}],"pages":[{"name":"FormPage","id":"pag_N4TQETVGM0RA02G09RZ4BPPH7E","path":"/form","traits":[{"ref":"FormRender","refId":"trt_K14DN6VJC6S6349V32WJ358NB3"}]}],"types":{"ControlValue":[{"name":"","type":"union","properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FileValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]}],"FileValue":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}],"FormError":[{"name":"message","type":"string","required":true},{"name":"name","type":"string"},{"name":"code","type":"string"},{"name":"stack","type":"string"}],"FormEvaluationContext":[{"name":"formValues","type":"Map<string,ControlValue>","required":true},{"name":"globalVariables","type":"Map<string,ControlValue>","required":true},{"name":"localVariables","type":"Map<string,ControlValue>"},{"name":"entity","type":"Map<string,ControlValue>"}],"FormFIELDCHANGEChange":[{"name":"fieldId","type":"string","required":true},{"name":"value","type":"union","required":true,"properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FormFIELDCHANGEChangeValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]},{"name":"formValues","type":"Map<string,ControlValue>","required":true}],"FormFIELDCHANGEChangeValue":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}],"FormFieldOverridesItem":[{"name":"name","type":"string","required":true},{"name":"label","type":"string"},{"name":"placeholder","type":"string"},{"name":"hint","type":"string"}],"FormFieldsItem":[{"name":"name","type":"string"},{"name":"field","type":"string"},{"name":"label","type":"string"},{"name":"type","type":"string"},{"name":"inputType","type":"string"},{"name":"placeholder","type":"string"},{"name":"required","type":"boolean"},{"name":"defaultValue","type":"union","properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FileValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]},{"name":"options","type":"[object]","properties":[{"name":"value","type":"string","required":true},{"name":"label","type":"string","required":true}]},{"name":"values","type":"[string]"},{"name":"labels","type":"Map<string,string>"},{"name":"relation","type":"object","properties":[{"name":"entity","type":"string","required":true},{"name":"displayField","type":"string"},{"name":"cardinality","type":"string","values":["one","many","one-to-many","many-to-one","many-to-many"]}]},{"name":"min","type":"number"},{"name":"max","type":"number"},{"name":"pattern","type":"string"},{"name":"validation","type":"object","properties":[{"name":"enum","type":"[string]"}]},{"name":"readonly","type":"boolean"},{"name":"disabled","type":"boolean"},{"name":"hint","type":"string"}],"FormFieldsItemOptionsItem":[{"name":"value","type":"string","required":true},{"name":"label","type":"string","required":true}],"FormFieldsItemRelation":[{"name":"entity","type":"string","required":true},{"name":"displayField","type":"string"},{"name":"cardinality","type":"string","values":["one","many","one-to-many","many-to-one","many-to-many"]}],"FormFieldsItemValidation":[{"name":"enum","type":"[string]"}],"FormHiddenCalculationsItem":[{"name":"variableName","type":"string","required":true},{"name":"expression","type":"SExpr","required":true},{"name":"triggerFields","type":"[string]","required":true}],"FormRelationsDataValueItem":[{"name":"value","type":"string","required":true},{"name":"label","type":"string","required":true},{"name":"description","type":"string"},{"name":"disabled","type":"boolean"}],"FormSectionsItem":[{"name":"id","type":"string","required":true},{"name":"title","type":"string","required":true},{"name":"condition","type":"SExpr"},{"name":"fields","type":"[object]","required":true,"properties":[{"name":"name","type":"string"},{"name":"field","type":"string"},{"name":"label","type":"string"},{"name":"type","type":"string"},{"name":"inputType","type":"string"},{"name":"placeholder","type":"string"},{"name":"required","type":"boolean"},{"name":"defaultValue","type":"union","properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FileValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]},{"name":"options","type":"[object]","properties":[{"name":"value","type":"string","required":true},{"name":"label","type":"string","required":true}]},{"name":"values","type":"[string]"},{"name":"labels","type":"Map<string,string>"},{"name":"relation","type":"object","properties":[{"name":"entity","type":"string","required":true},{"name":"displayField","type":"string"},{"name":"cardinality","type":"string","values":["one","many","one-to-many","many-to-one","many-to-many"]}]},{"name":"min","type":"number"},{"name":"max","type":"number"},{"name":"pattern","type":"string"},{"name":"validation","type":"object","properties":[{"name":"enum","type":"[string]"}]},{"name":"readonly","type":"boolean"},{"name":"disabled","type":"boolean"},{"name":"hint","type":"string"}]},{"name":"collapsible","type":"boolean"}],"FormSectionsItemFieldsItem":[{"name":"name","type":"string"},{"name":"field","type":"string"},{"name":"label","type":"string"},{"name":"type","type":"string"},{"name":"inputType","type":"string"},{"name":"placeholder","type":"string"},{"name":"required","type":"boolean"},{"name":"defaultValue","type":"union","properties":[{"name":"string","type":"string"},{"name":"number","type":"number"},{"name":"boolean","type":"boolean"},{"name":"array","type":"[string]"},{"name":"FileValue","type":"object","properties":[{"name":"name","type":"string","required":true},{"name":"url","type":"string","required":true},{"name":"mimeType","type":"string","required":true},{"name":"sizeBytes","type":"number","required":true}]}]},{"name":"options","type":"[object]","properties":[{"name":"value","type":"string","required":true},{"name":"label","type":"string","required":true}]},{"name":"values","type":"[string]"},{"name":"labels","type":"Map<string,string>"},{"name":"relation","type":"object","properties":[{"name":"entity","type":"string","required":true},{"name":"displayField","type":"string"},{"name":"cardinality","type":"string","values":["one","many","one-to-many","many-to-one","many-to-many"]}]},{"name":"min","type":"number"},{"name":"max","type":"number"},{"name":"pattern","type":"string"},{"name":"validation","type":"object","properties":[{"name":"enum","type":"[string]"}]},{"name":"readonly","type":"boolean"},{"name":"disabled","type":"boolean"},{"name":"hint","type":"string"}],"FormSectionsItemFieldsItemOptionsItem":[{"name":"value","type":"string","required":true},{"name":"label","type":"string","required":true}],"FormSectionsItemFieldsItemRelation":[{"name":"entity","type":"string","required":true},{"name":"displayField","type":"string"},{"name":"cardinality","type":"string","values":["one","many","one-to-many","many-to-one","many-to-many"]}],"FormSectionsItemFieldsItemValidation":[{"name":"enum","type":"[string]"}],"FormViolationTriggersItem":[{"name":"condition","type":"SExpr","required":true},{"name":"violation","type":"object","required":true,"properties":[{"name":"law","type":"string","required":true},{"name":"article","type":"string","required":true},{"name":"actionType","type":"string","values":["measure","admin","penalty"],"required":true},{"name":"message","type":"string","required":true}]},{"name":"fieldId","type":"string"}],"FormViolationTriggersItemViolation":[{"name":"law","type":"string","required":true},{"name":"article","type":"string","required":true},{"name":"actionType","type":"string","values":["measure","admin","penalty"],"required":true},{"name":"message","type":"string","required":true}]}}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_CD284VVK1PSGV4MBAYEG0KNMM3":{"id":"ent_CD284VVK1PSGV4MBAYEG0KNMM3","kind":"entity","bakedName":"FormItem","curName":"FormItem","renames":[],"owner":"workspace"},"evt_7KTHWTY8QF4BQVDBKVS558NDM8":{"id":"evt_7KTHWTY8QF4BQVDBKVS558NDM8","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_K14DN6VJC6S6349V32WJ358NB3"},"evt_D5RYWW5Y0JZ09BNMK6WWSJZW11":{"id":"evt_D5RYWW5Y0JZ09BNMK6WWSJZW11","kind":"event","bakedName":"FormLoaded","curName":"FormLoaded","renames":[],"owner":"workspace","parent":"trt_K14DN6VJC6S6349V32WJ358NB3"},"evt_HF1ZWRA4FW27YAE147S8TJ6BAN":{"id":"evt_HF1ZWRA4FW27YAE147S8TJ6BAN","kind":"event","bakedName":"@config.onFieldChange","curName":"@config.onFieldChange","renames":[],"owner":"workspace","parent":"trt_K14DN6VJC6S6349V32WJ358NB3"},"evt_QADDABT8KK49STFQR0PTXN2S0Z":{"id":"evt_QADDABT8KK49STFQR0PTXN2S0Z","kind":"event","bakedName":"@config.submitEvent","curName":"@config.submitEvent","renames":[],"owner":"workspace","parent":"trt_K14DN6VJC6S6349V32WJ358NB3"},"evt_RYABNFAXPBEV5XX928TEWK5FKC":{"id":"evt_RYABNFAXPBEV5XX928TEWK5FKC","kind":"event","bakedName":"@config.cancelEvent","curName":"@config.cancelEvent","renames":[],"owner":"workspace","parent":"trt_K14DN6VJC6S6349V32WJ358NB3"},"orb_GZQ2GGWNWNAYAG897GT5CC8YW5":{"id":"orb_GZQ2GGWNWNAYAG897GT5CC8YW5","kind":"orbital","bakedName":"FormOrbital","curName":"FormOrbital","renames":[],"owner":"workspace"},"pag_N4TQETVGM0RA02G09RZ4BPPH7E":{"id":"pag_N4TQETVGM0RA02G09RZ4BPPH7E","kind":"page","bakedName":"FormPage","curName":"FormPage","renames":[],"owner":"workspace"},"trt_K14DN6VJC6S6349V32WJ358NB3":{"id":"trt_K14DN6VJC6S6349V32WJ358NB3","kind":"trait","bakedName":"FormRender","curName":"FormRender","renames":[],"owner":"workspace"}}}}
@@ -1 +1 @@
1
- {"name":"ui-master-detail-layout","version":"1.0.0","description":"MasterDetailLayout — UI factory (1:1 with the @almadar/ui master-detail-layout pattern).","orbitals":[{"name":"MasterDetailLayoutOrbital","id":"orb_4AEBW3M9FW4QYDVJZW0SPQE12X","entity":{"name":"MasterDetailLayoutItem","id":"ent_1XZKEPVS11WGGMZME2PVGF75YV","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"MasterDetailLayoutRender","id":"trt_5VS48QKDMDPT6G3SZME7STBF61","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"render-ui","resource":"main"}],"category":"interaction","linkedEntity":"MasterDetailLayoutItem","linkedEntityId":"ent_1XZKEPVS11WGGMZME2PVGF75YV","entityRefIds":{"MasterDetailLayoutItem":"ent_1XZKEPVS11WGGMZME2PVGF75YV"},"stateMachine":{"states":[{"name":"idle","isInitial":true}],"events":[{"key":"INIT","id":"evt_ZVB61VZHAYRNF1V2P5WX51K9TE","name":"Initialize"}],"transitions":[{"from":"idle","to":"idle","event":"INIT","eventId":"evt_ZVB61VZHAYRNF1V2P5WX51K9TE","effects":[["render-ui","main",{"master":"@config.master","detail":"@config.detail","emptyDetail":"@config.emptyDetail","hasSelection":"@config.hasSelection","masterWidth":"@config.masterWidth","className":"@config.className","masterClassName":"@config.masterClassName","detailClassName":"@config.detailClassName","enter":"@config.enter","enterDelay":"@config.enterDelay","skeleton":"@config.skeleton","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"master-detail-layout"}]]}]},"config":{"enter":{"type":"string","label":"Enter","description":"How this element animates in when it mounts (theme-styled); overrides the theme's default slot entry. `none` opts out.","tier":"presentation","values":["none","fade","rise","scale","slide"]},"detailClassName":{"type":"string","label":"Detail Class Name","description":"Class for detail pane","tier":"presentation"},"enterDelay":{"type":"number","label":"Enter Delay","description":"Stagger step for the entry: waits this many `--motion-enter-stagger` steps before animating.","tier":"presentation"},"ariaLabelledby":{"type":"string","label":"Aria-labelledby","description":"Id of the element whose text names this one.","synonyms":"aria-labelledby","tier":"presentation"},"ariaSelected":{"type":"boolean","label":"Aria-selected","description":"Whether this item is selected (tabs, options, grid cells).","synonyms":"aria-selected","tier":"presentation"},"ariaLabel":{"type":"string","label":"Aria-label","description":"Accessible name read by screen readers when the visible text is missing or not descriptive (e.g. an icon-only control).","synonyms":"aria-label","tier":"presentation"},"detail":{"type":"node","label":"Detail","description":"Detail panel content","tier":"presentation"},"tabIndex":{"type":"number","label":"Tab Index","description":"0 puts the element in the Tab order; -1 makes it focusable only programmatically.","tier":"presentation"},"ariaHidden":{"type":"boolean","label":"Aria-hidden","description":"Hide from assistive technology (decorative content only).","synonyms":"aria-hidden","tier":"presentation"},"ariaDescribedby":{"type":"string","label":"Aria-describedby","description":"Id of the element whose text describes this one (help text, error).","synonyms":"aria-describedby","tier":"presentation"},"ariaBusy":{"type":"boolean","label":"Aria-busy","description":"This region is updating; assistive technology waits before announcing it.","synonyms":"aria-busy","tier":"presentation"},"emptyDetail":{"type":"node","label":"Empty Detail","description":"Content shown when nothing is selected","tier":"presentation"},"skeleton":{"type":"string","label":"Skeleton","description":"Skeleton shown while this element's server render is in flight: a shape (`table`, `list`, …), `{ variant, rows?, columns?, fields? }`, or `none`.","tier":"presentation","values":["header","table","list","grid","detail","stats","form","card","text","none"]},"ariaExpanded":{"type":"boolean","label":"Aria-expanded","description":"Whether the element it controls is expanded.","synonyms":"aria-expanded","tier":"presentation"},"masterClassName":{"type":"string","label":"Master Class Name","description":"Class for master pane","tier":"presentation"},"master":{"type":"node","label":"Master","description":"Master panel content (usually a list)","tier":"presentation"},"role":{"type":"string","label":"Role","description":"WAI-ARIA role when the element's native semantics don't describe it.","tier":"presentation","values":["alert","alertdialog","application","article","banner","blockquote","button","caption","cell","checkbox","code","columnheader","combobox","complementary","contentinfo","definition","deletion","dialog","document","emphasis","feed","figure","form","generic","grid","gridcell","group","heading","img","insertion","link","list","listbox","listitem","log","main","marquee","math","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","meter","navigation","none","note","option","paragraph","presentation","progressbar","radio","radiogroup","region","row","rowgroup","rowheader","scrollbar","search","searchbox","separator","slider","spinbutton","status","strong","subscript","superscript","switch","tab","table","tablist","tabpanel","term","textbox","time","timer","toolbar","tooltip","tree","treegrid","treeitem"]},"lang":{"type":"string","label":"Lang","description":"Language of this element's content (BCP 47, e.g. ar, sl, en).","tier":"presentation"},"hasSelection":{"type":"boolean","default":false,"label":"Has Selection","description":"Whether an item is currently selected","tier":"presentation"},"ariaPressed":{"type":"string","label":"Aria-pressed","description":"Toggle-button state.","synonyms":"aria-pressed","tier":"presentation","values":["true","false","mixed"]},"masterWidth":{"type":"string","default":"350px","label":"Master Width","description":"Width of master panel (e.g., '350px', '30%')","tier":"presentation"},"ariaCurrent":{"type":"string","label":"Aria-current","description":"Marks the current item in a set: the current page, step, location, date or time.","synonyms":"aria-current","tier":"presentation","values":["page","step","location","date","time","true","false"]},"ariaLive":{"type":"string","label":"Aria-live","description":"Announce changes to this region: polite waits for a pause, assertive interrupts.","synonyms":"aria-live","tier":"presentation","values":["off","polite","assertive"]},"className":{"type":"string","label":"Class Name","description":"Additional CSS classes","tier":"presentation"},"dir":{"type":"string","label":"Dir","description":"Text direction of this element's content.","tier":"presentation","values":["ltr","rtl","auto"]}},"scope":"instance"}],"pages":[{"name":"MasterDetailLayoutPage","id":"pag_HGJKFK7YJAZ95D123HSHA3X1XK","path":"/master-detail-layout","traits":[{"ref":"MasterDetailLayoutRender","refId":"trt_5VS48QKDMDPT6G3SZME7STBF61"}]}]}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_1XZKEPVS11WGGMZME2PVGF75YV":{"id":"ent_1XZKEPVS11WGGMZME2PVGF75YV","kind":"entity","bakedName":"MasterDetailLayoutItem","curName":"MasterDetailLayoutItem","renames":[],"owner":"workspace"},"evt_ZVB61VZHAYRNF1V2P5WX51K9TE":{"id":"evt_ZVB61VZHAYRNF1V2P5WX51K9TE","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_5VS48QKDMDPT6G3SZME7STBF61"},"orb_4AEBW3M9FW4QYDVJZW0SPQE12X":{"id":"orb_4AEBW3M9FW4QYDVJZW0SPQE12X","kind":"orbital","bakedName":"MasterDetailLayoutOrbital","curName":"MasterDetailLayoutOrbital","renames":[],"owner":"workspace"},"pag_HGJKFK7YJAZ95D123HSHA3X1XK":{"id":"pag_HGJKFK7YJAZ95D123HSHA3X1XK","kind":"page","bakedName":"MasterDetailLayoutPage","curName":"MasterDetailLayoutPage","renames":[],"owner":"workspace"},"trt_5VS48QKDMDPT6G3SZME7STBF61":{"id":"trt_5VS48QKDMDPT6G3SZME7STBF61","kind":"trait","bakedName":"MasterDetailLayoutRender","curName":"MasterDetailLayoutRender","renames":[],"owner":"workspace"}}}}
1
+ {"name":"ui-master-detail-layout","version":"1.0.0","description":"MasterDetailLayout — UI factory (1:1 with the @almadar/ui master-detail-layout pattern).","orbitals":[{"name":"MasterDetailLayoutOrbital","id":"orb_4AEBW3M9FW4QYDVJZW0SPQE12X","entity":{"name":"MasterDetailLayoutItem","id":"ent_1XZKEPVS11WGGMZME2PVGF75YV","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"MasterDetailLayoutRender","id":"trt_5VS48QKDMDPT6G3SZME7STBF61","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"render-ui","resource":"main"}],"category":"interaction","linkedEntity":"MasterDetailLayoutItem","linkedEntityId":"ent_1XZKEPVS11WGGMZME2PVGF75YV","entityRefIds":{"MasterDetailLayoutItem":"ent_1XZKEPVS11WGGMZME2PVGF75YV"},"stateMachine":{"states":[{"name":"idle","isInitial":true}],"events":[{"key":"INIT","id":"evt_ZVB61VZHAYRNF1V2P5WX51K9TE","name":"Initialize"}],"transitions":[{"from":"idle","to":"idle","event":"INIT","eventId":"evt_ZVB61VZHAYRNF1V2P5WX51K9TE","effects":[["render-ui","main",{"master":"@config.master","detail":"@config.detail","emptyDetail":"@config.emptyDetail","hasSelection":"@config.hasSelection","masterWidth":"@config.masterWidth","className":"@config.className","masterClassName":"@config.masterClassName","detailClassName":"@config.detailClassName","enter":"@config.enter","enterDelay":"@config.enterDelay","skeleton":"@config.skeleton","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"master-detail-layout"}]]}]},"config":{"ariaSelected":{"type":"boolean","label":"Aria-selected","description":"Whether this item is selected (tabs, options, grid cells).","synonyms":"aria-selected","tier":"presentation"},"ariaDescribedby":{"type":"string","label":"Aria-describedby","description":"Id of the element whose text describes this one (help text, error).","synonyms":"aria-describedby","tier":"presentation"},"dir":{"type":"string","label":"Dir","description":"Text direction of this element's content.","tier":"presentation","values":["ltr","rtl","auto"]},"ariaExpanded":{"type":"boolean","label":"Aria-expanded","description":"Whether the element it controls is expanded.","synonyms":"aria-expanded","tier":"presentation"},"className":{"type":"string","label":"Class Name","description":"Additional CSS classes","tier":"presentation"},"tabIndex":{"type":"number","label":"Tab Index","description":"0 puts the element in the Tab order; -1 makes it focusable only programmatically.","tier":"presentation"},"hasSelection":{"type":"boolean","default":false,"label":"Has Selection","description":"Whether an item is currently selected","tier":"presentation"},"masterWidth":{"type":"string","default":"350px","label":"Master Width","description":"Width of master panel (e.g., '350px', '30%')","tier":"presentation"},"ariaBusy":{"type":"boolean","label":"Aria-busy","description":"This region is updating; assistive technology waits before announcing it.","synonyms":"aria-busy","tier":"presentation"},"masterClassName":{"type":"string","label":"Master Class Name","description":"Class for master pane","tier":"presentation"},"lang":{"type":"string","label":"Lang","description":"Language of this element's content (BCP 47, e.g. ar, sl, en).","tier":"presentation"},"skeleton":{"type":"string","label":"Skeleton","description":"Skeleton shown while this element's server render is in flight: a shape (`table`, `list`, …), `{ variant, rows?, columns?, fields? }`, or `none`.","tier":"presentation","values":["header","table","list","grid","detail","stats","form","card","text","none"]},"ariaLabel":{"type":"string","label":"Aria-label","description":"Accessible name read by screen readers when the visible text is missing or not descriptive (e.g. an icon-only control).","synonyms":"aria-label","tier":"presentation"},"ariaPressed":{"type":"string","label":"Aria-pressed","description":"Toggle-button state.","synonyms":"aria-pressed","tier":"presentation","values":["true","false","mixed"]},"detailClassName":{"type":"string","label":"Detail Class Name","description":"Class for detail pane","tier":"presentation"},"ariaHidden":{"type":"boolean","label":"Aria-hidden","description":"Hide from assistive technology (decorative content only).","synonyms":"aria-hidden","tier":"presentation"},"role":{"type":"string","label":"Role","description":"WAI-ARIA role when the element's native semantics don't describe it.","tier":"presentation","values":["alert","alertdialog","application","article","banner","blockquote","button","caption","cell","checkbox","code","columnheader","combobox","complementary","contentinfo","definition","deletion","dialog","document","emphasis","feed","figure","form","generic","grid","gridcell","group","heading","img","insertion","link","list","listbox","listitem","log","main","marquee","math","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","meter","navigation","none","note","option","paragraph","presentation","progressbar","radio","radiogroup","region","row","rowgroup","rowheader","scrollbar","search","searchbox","separator","slider","spinbutton","status","strong","subscript","superscript","switch","tab","table","tablist","tabpanel","term","textbox","time","timer","toolbar","tooltip","tree","treegrid","treeitem"]},"master":{"type":"node","label":"Master","description":"Master panel content (usually a list)","tier":"presentation"},"enter":{"type":"string","label":"Enter","description":"How this element animates in when it mounts (theme-styled); overrides the theme's default slot entry. `none` opts out.","tier":"presentation","values":["none","fade","rise","scale","slide"]},"ariaLabelledby":{"type":"string","label":"Aria-labelledby","description":"Id of the element whose text names this one.","synonyms":"aria-labelledby","tier":"presentation"},"emptyDetail":{"type":"node","label":"Empty Detail","description":"Content shown when nothing is selected","tier":"presentation"},"ariaLive":{"type":"string","label":"Aria-live","description":"Announce changes to this region: polite waits for a pause, assertive interrupts.","synonyms":"aria-live","tier":"presentation","values":["off","polite","assertive"]},"detail":{"type":"node","label":"Detail","description":"Detail panel content","tier":"presentation"},"ariaCurrent":{"type":"string","label":"Aria-current","description":"Marks the current item in a set: the current page, step, location, date or time.","synonyms":"aria-current","tier":"presentation","values":["page","step","location","date","time","true","false"]},"enterDelay":{"type":"number","label":"Enter Delay","description":"Stagger step for the entry: waits this many `--motion-enter-stagger` steps before animating.","tier":"presentation"}},"scope":"instance"}],"pages":[{"name":"MasterDetailLayoutPage","id":"pag_HGJKFK7YJAZ95D123HSHA3X1XK","path":"/master-detail-layout","traits":[{"ref":"MasterDetailLayoutRender","refId":"trt_5VS48QKDMDPT6G3SZME7STBF61"}]}]}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_1XZKEPVS11WGGMZME2PVGF75YV":{"id":"ent_1XZKEPVS11WGGMZME2PVGF75YV","kind":"entity","bakedName":"MasterDetailLayoutItem","curName":"MasterDetailLayoutItem","renames":[],"owner":"workspace"},"evt_ZVB61VZHAYRNF1V2P5WX51K9TE":{"id":"evt_ZVB61VZHAYRNF1V2P5WX51K9TE","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_5VS48QKDMDPT6G3SZME7STBF61"},"orb_4AEBW3M9FW4QYDVJZW0SPQE12X":{"id":"orb_4AEBW3M9FW4QYDVJZW0SPQE12X","kind":"orbital","bakedName":"MasterDetailLayoutOrbital","curName":"MasterDetailLayoutOrbital","renames":[],"owner":"workspace"},"pag_HGJKFK7YJAZ95D123HSHA3X1XK":{"id":"pag_HGJKFK7YJAZ95D123HSHA3X1XK","kind":"page","bakedName":"MasterDetailLayoutPage","curName":"MasterDetailLayoutPage","renames":[],"owner":"workspace"},"trt_5VS48QKDMDPT6G3SZME7STBF61":{"id":"trt_5VS48QKDMDPT6G3SZME7STBF61","kind":"trait","bakedName":"MasterDetailLayoutRender","curName":"MasterDetailLayoutRender","renames":[],"owner":"workspace"}}}}
@@ -1 +1 @@
1
- {"name":"ui-media-gallery","version":"1.0.0","description":"MediaGallery — UI factory (1:1 with the @almadar/ui media-gallery pattern).","orbitals":[{"name":"MediaGalleryOrbital","id":"orb_VHG6GT65SQ2WVX8CJAKWM61F08","entity":{"name":"MediaGalleryItem","id":"ent_9XRDRBWCFW67Y51YHPJRW4X3MB","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"MediaGalleryRender","id":"trt_2XY7PVGJ5492J59BK9DQF4566P","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"fetch","resource":"MediaGalleryItem"},{"kind":"render-ui","resource":"main"}],"category":"interaction","linkedEntity":"MediaGalleryItem","linkedEntityId":"ent_9XRDRBWCFW67Y51YHPJRW4X3MB","entityRefIds":{"MediaGalleryItem":"ent_9XRDRBWCFW67Y51YHPJRW4X3MB"},"emits":[{"event":"@config.selectionEvent","eventId":"evt_ZEHGZE033W1HYBJD54NKPVX57R","description":"Event name emitted when selection changes (emitted as UI:{selectionEvent})","tier":"essential","scope":"external","payloadSchema":[{"name":"selection","type":"[string]","required":true}],"definerKnob":"selectionEvent"},{"event":"MediaGalleryLoaded","eventId":"evt_4XT86JG4DB26NM4FFBH995KJ4C","description":"MediaGallery rows finished loading; payload.data holds the collection.","synonyms":"loaded, fetched, retrieved","tier":"essential","scope":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string","required":true}],"entity":"MediaGalleryItem"}]}],"stateMachine":{"states":[{"name":"idle","isInitial":true}],"events":[{"key":"INIT","id":"evt_B76F0SX9BNMNTR2A2AN5N8PKQ2","name":"Initialize"},{"key":"MediaGalleryLoaded","id":"evt_4XT86JG4DB26NM4FFBH995KJ4C","name":"Media gallery loaded","description":"MediaGallery rows finished loading; payload.data holds the collection.","synonyms":"loaded, fetched, retrieved","tier":"essential","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string","required":true}],"entity":"MediaGalleryItem"}]},{"key":"@config.selectionEvent","id":"evt_ZEHGZE033W1HYBJD54NKPVX57R","name":"@config.selection event","description":"Event name emitted when selection changes (emitted as UI:{selectionEvent})","tier":"essential","payloadSchema":[{"name":"selection","type":"[string]","required":true}]}],"transitions":[{"from":"idle","to":"idle","event":"INIT","eventId":"evt_B76F0SX9BNMNTR2A2AN5N8PKQ2","guard":"@config.selfFetch","effects":[["fetch","MediaGalleryItem",{"emit":{"success":"MediaGalleryLoaded"}}],["render-ui","main",{"className":"@config.className","isLoading":"@config.isLoading","error":"@config.error","sortBy":"@config.sortBy","sortDirection":"@config.sortDirection","searchValue":"@config.searchValue","page":"@config.pageProp","pageSize":"@config.pageSize","totalCount":"@config.totalCount","activeFilters":"@config.activeFilters","selectedIds":"@config.selectedIds","surface":"@config.surface","entity":"@entity","title":"@config.title","items":"@config.items","columns":"@config.columns","selectable":"@config.selectable","selectedItems":"@config.selectedItems","selectionEvent":"@config.selectionEvent","showUpload":"@config.showUpload","actions":["array/filter","@config.actions",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"aspectRatio":"@config.aspectRatio","srcField":"@config.srcField","captionField":"@config.captionField","enter":"@config.enter","enterDelay":"@config.enterDelay","skeleton":"@config.skeleton","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"media-gallery"}]]},{"from":"idle","to":"idle","event":"INIT","eventId":"evt_B76F0SX9BNMNTR2A2AN5N8PKQ2","guard":["not","@config.selfFetch"],"effects":[["render-ui","main",{"className":"@config.className","isLoading":"@config.isLoading","error":"@config.error","sortBy":"@config.sortBy","sortDirection":"@config.sortDirection","searchValue":"@config.searchValue","page":"@config.pageProp","pageSize":"@config.pageSize","totalCount":"@config.totalCount","activeFilters":"@config.activeFilters","selectedIds":"@config.selectedIds","surface":"@config.surface","entity":"@entity","title":"@config.title","items":"@config.items","columns":"@config.columns","selectable":"@config.selectable","selectedItems":"@config.selectedItems","selectionEvent":"@config.selectionEvent","showUpload":"@config.showUpload","actions":["array/filter","@config.actions",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"aspectRatio":"@config.aspectRatio","srcField":"@config.srcField","captionField":"@config.captionField","enter":"@config.enter","enterDelay":"@config.enterDelay","skeleton":"@config.skeleton","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"media-gallery"}]]},{"from":"idle","to":"idle","event":"MediaGalleryLoaded","eventId":"evt_4XT86JG4DB26NM4FFBH995KJ4C","effects":[["render-ui","main",{"className":"@config.className","isLoading":"@config.isLoading","error":"@config.error","sortBy":"@config.sortBy","sortDirection":"@config.sortDirection","searchValue":"@config.searchValue","page":"@config.pageProp","pageSize":"@config.pageSize","totalCount":"@config.totalCount","activeFilters":"@config.activeFilters","selectedIds":"@config.selectedIds","surface":"@config.surface","entity":"@payload.data","title":"@config.title","items":"@config.items","columns":"@config.columns","selectable":"@config.selectable","selectedItems":"@config.selectedItems","selectionEvent":"@config.selectionEvent","showUpload":"@config.showUpload","actions":["array/filter","@config.actions",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"aspectRatio":"@config.aspectRatio","srcField":"@config.srcField","captionField":"@config.captionField","enter":"@config.enter","enterDelay":"@config.enterDelay","skeleton":"@config.skeleton","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"media-gallery"}]]}]},"config":{"sortDirection":{"type":"string","label":"Sort Direction","description":"Current sort direction","tier":"presentation","values":["asc","desc"]},"tabIndex":{"type":"number","label":"Tab Index","description":"0 puts the element in the Tab order; -1 makes it focusable only programmatically.","tier":"presentation"},"searchValue":{"type":"string","label":"Search Value","description":"Current search query value","tier":"presentation"},"ariaExpanded":{"type":"boolean","label":"Aria-expanded","description":"Whether the element it controls is expanded.","synonyms":"aria-expanded","tier":"presentation"},"ariaBusy":{"type":"boolean","label":"Aria-busy","description":"This region is updating; assistive technology waits before announcing it.","synonyms":"aria-busy","tier":"presentation"},"showUpload":{"type":"boolean","default":false,"label":"Show Upload","description":"Show upload button","tier":"presentation"},"surface":{"type":"string","default":"auto","label":"Surface","description":"Content surface: `auto` paints the theme's surface behind this block unless it already sits on one (a card, dialog or another block); `none` opts out.","tier":"presentation","values":["auto","none"]},"ariaSelected":{"type":"boolean","label":"Aria-selected","description":"Whether this item is selected (tabs, options, grid cells).","synonyms":"aria-selected","tier":"presentation"},"role":{"type":"string","label":"Role","description":"WAI-ARIA role when the element's native semantics don't describe it.","tier":"presentation","values":["alert","alertdialog","application","article","banner","blockquote","button","caption","cell","checkbox","code","columnheader","combobox","complementary","contentinfo","definition","deletion","dialog","document","emphasis","feed","figure","form","generic","grid","gridcell","group","heading","img","insertion","link","list","listbox","listitem","log","main","marquee","math","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","meter","navigation","none","note","option","paragraph","presentation","progressbar","radio","radiogroup","region","row","rowgroup","rowheader","scrollbar","search","searchbox","separator","slider","spinbutton","status","strong","subscript","superscript","switch","tab","table","tablist","tabpanel","term","textbox","time","timer","toolbar","tooltip","tree","treegrid","treeitem"]},"activeFilters":{"type":"Map<string,string>","default":{},"label":"Active Filters","description":"Active filters","tier":"presentation","items":{"type":"string"}},"ariaDescribedby":{"type":"string","label":"Aria-describedby","description":"Id of the element whose text describes this one (help text, error).","synonyms":"aria-describedby","tier":"presentation"},"error":{"type":"MediaGalleryError","label":"Error","description":"Error state (UiError)","tier":"presentation","properties":{"name":{"name":"name","type":"string","required":false},"code":{"name":"code","type":"string","required":false},"message":{"name":"message","type":"string","required":true},"stack":{"name":"stack","type":"string","required":false}}},"ariaCurrent":{"type":"string","label":"Aria-current","description":"Marks the current item in a set: the current page, step, location, date or time.","synonyms":"aria-current","tier":"presentation","values":["page","step","location","date","time","true","false"]},"lang":{"type":"string","label":"Lang","description":"Language of this element's content (BCP 47, e.g. ar, sl, en).","tier":"presentation"},"enter":{"type":"string","label":"Enter","description":"How this element animates in when it mounts (theme-styled); overrides the theme's default slot entry. `none` opts out.","tier":"presentation","values":["none","fade","rise","scale","slide"]},"className":{"type":"string","label":"Class Name","description":"Additional CSS classes","tier":"presentation"},"aspectRatio":{"type":"string","default":"square","label":"Aspect Ratio","description":"Aspect ratio for thumbnails","tier":"presentation","values":["square","landscape","portrait"]},"selfFetch":{"type":"boolean","default":true,"label":"Fetch its own rows on mount?","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.","tier":"internal"},"selectionEvent":{"type":"event","default":"SELECTION","label":"Selection Event","description":"Event name emitted when selection changes (emitted as UI:{selectionEvent})","tier":"presentation"},"selectable":{"type":"boolean","default":false,"label":"Selectable","description":"Enable item selection","tier":"presentation"},"skeleton":{"type":"string","label":"Skeleton","description":"Skeleton shown while this element's server render is in flight: a shape (`table`, `list`, …), `{ variant, rows?, columns?, fields? }`, or `none`.","tier":"presentation","values":["header","table","list","grid","detail","stats","form","card","text","none"]},"items":{"type":"[MediaGalleryItemsItem]","default":[],"label":"Items","description":"Media items","tier":"presentation","items":{"type":"object","properties":{"mediaType":{"name":"mediaType","type":"string","required":false,"values":["image","video"]},"src":{"name":"src","type":"string","required":false},"id":{"name":"id","type":"string","required":false},"alt":{"name":"alt","type":"string","required":false},"caption":{"name":"caption","type":"string","required":false},"fileSize":{"name":"fileSize","type":"string","required":false},"thumbnail":{"name":"thumbnail","type":"string","required":false}}}},"ariaPressed":{"type":"string","label":"Aria-pressed","description":"Toggle-button state.","synonyms":"aria-pressed","tier":"presentation","values":["true","false","mixed"]},"title":{"type":"string","label":"Title","description":"Gallery title","tier":"presentation"},"selectedItems":{"type":"[string]","default":[],"label":"Selected Items","description":"Selected item IDs","tier":"presentation","items":{"type":"string"}},"ariaLabelledby":{"type":"string","label":"Aria-labelledby","description":"Id of the element whose text names this one.","synonyms":"aria-labelledby","tier":"presentation"},"pageProp":{"type":"number","label":"Page","description":"Current page number","synonyms":"page","tier":"presentation"},"sortBy":{"type":"string","label":"Sort By","description":"Current sort field","tier":"presentation"},"ariaLabel":{"type":"string","label":"Aria-label","description":"Accessible name read by screen readers when the visible text is missing or not descriptive (e.g. an icon-only control).","synonyms":"aria-label","tier":"presentation"},"enterDelay":{"type":"number","label":"Enter Delay","description":"Stagger step for the entry: waits this many `--motion-enter-stagger` steps before animating.","tier":"presentation"},"actions":{"type":"[MediaGalleryActionsItem]","default":[],"label":"Actions","description":"Actions","tier":"presentation","items":{"type":"object","properties":{"navigatesTo":{"name":"navigatesTo","type":"string","required":false},"event":{"name":"event","type":"event","required":false},"label":{"name":"label","type":"string","required":true},"roles":{"name":"roles","type":"array","required":false,"items":{"type":"string"}},"variant":{"name":"variant","type":"string","required":false,"values":["primary","secondary","ghost"]}}}},"captionField":{"type":"string","default":"caption","label":"Caption Field","description":"Record field holding each image's caption (entity mode). Default `caption`.","tier":"presentation"},"viewerRole":{"type":"string","default":"","label":"Viewer's role","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.","tier":"policy"},"pageSize":{"type":"number","label":"Page Size","description":"Number of items per page","tier":"presentation"},"isLoading":{"type":"boolean","default":false,"label":"Is Loading","description":"Loading state indicator","tier":"presentation"},"srcField":{"type":"string","default":"src","label":"Src Field","description":"Record field holding each image's URL (entity mode). Default `src`.","tier":"presentation"},"ariaLive":{"type":"string","label":"Aria-live","description":"Announce changes to this region: polite waits for a pause, assertive interrupts.","synonyms":"aria-live","tier":"presentation","values":["off","polite","assertive"]},"selectedIds":{"type":"[string]","default":[],"label":"Selected Ids","description":"Currently selected item IDs","tier":"presentation","items":{"type":"string"}},"dir":{"type":"string","label":"Dir","description":"Text direction of this element's content.","tier":"presentation","values":["ltr","rtl","auto"]},"ariaHidden":{"type":"boolean","label":"Aria-hidden","description":"Hide from assistive technology (decorative content only).","synonyms":"aria-hidden","tier":"presentation"},"totalCount":{"type":"number","label":"Total Count","description":"Total number of items","tier":"presentation"},"columns":{"type":"number","default":3,"label":"Columns","description":"Column count","tier":"presentation"}},"scope":"instance"}],"pages":[{"name":"MediaGalleryPage","id":"pag_4DTJRGACGH688T9NS75Z8H38H1","path":"/media-gallery","traits":[{"ref":"MediaGalleryRender","refId":"trt_2XY7PVGJ5492J59BK9DQF4566P"}]}],"types":{"MediaGalleryActionsItem":[{"name":"label","type":"string","required":true},{"name":"event","type":"event"},{"name":"navigatesTo","type":"string"},{"name":"variant","type":"string","values":["primary","secondary","ghost"]},{"name":"roles","type":"[string]"}],"MediaGalleryError":[{"name":"message","type":"string","required":true},{"name":"name","type":"string"},{"name":"code","type":"string"},{"name":"stack","type":"string"}],"MediaGalleryItemsItem":[{"name":"id","type":"string"},{"name":"src","type":"asset"},{"name":"alt","type":"string"},{"name":"thumbnail","type":"asset"},{"name":"mediaType","type":"string","values":["image","video"]},{"name":"caption","type":"string"},{"name":"fileSize","type":"string"}]}}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_9XRDRBWCFW67Y51YHPJRW4X3MB":{"id":"ent_9XRDRBWCFW67Y51YHPJRW4X3MB","kind":"entity","bakedName":"MediaGalleryItem","curName":"MediaGalleryItem","renames":[],"owner":"workspace"},"evt_4XT86JG4DB26NM4FFBH995KJ4C":{"id":"evt_4XT86JG4DB26NM4FFBH995KJ4C","kind":"event","bakedName":"MediaGalleryLoaded","curName":"MediaGalleryLoaded","renames":[],"owner":"workspace","parent":"trt_2XY7PVGJ5492J59BK9DQF4566P"},"evt_B76F0SX9BNMNTR2A2AN5N8PKQ2":{"id":"evt_B76F0SX9BNMNTR2A2AN5N8PKQ2","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_2XY7PVGJ5492J59BK9DQF4566P"},"evt_ZEHGZE033W1HYBJD54NKPVX57R":{"id":"evt_ZEHGZE033W1HYBJD54NKPVX57R","kind":"event","bakedName":"@config.selectionEvent","curName":"@config.selectionEvent","renames":[],"owner":"workspace","parent":"trt_2XY7PVGJ5492J59BK9DQF4566P"},"orb_VHG6GT65SQ2WVX8CJAKWM61F08":{"id":"orb_VHG6GT65SQ2WVX8CJAKWM61F08","kind":"orbital","bakedName":"MediaGalleryOrbital","curName":"MediaGalleryOrbital","renames":[],"owner":"workspace"},"pag_4DTJRGACGH688T9NS75Z8H38H1":{"id":"pag_4DTJRGACGH688T9NS75Z8H38H1","kind":"page","bakedName":"MediaGalleryPage","curName":"MediaGalleryPage","renames":[],"owner":"workspace"},"trt_2XY7PVGJ5492J59BK9DQF4566P":{"id":"trt_2XY7PVGJ5492J59BK9DQF4566P","kind":"trait","bakedName":"MediaGalleryRender","curName":"MediaGalleryRender","renames":[],"owner":"workspace"}}}}
1
+ {"name":"ui-media-gallery","version":"1.0.0","description":"MediaGallery — UI factory (1:1 with the @almadar/ui media-gallery pattern).","orbitals":[{"name":"MediaGalleryOrbital","id":"orb_VHG6GT65SQ2WVX8CJAKWM61F08","entity":{"name":"MediaGalleryItem","id":"ent_9XRDRBWCFW67Y51YHPJRW4X3MB","persistence":"runtime","fields":[{"name":"id","type":"string","required":true}]},"traits":[{"name":"MediaGalleryRender","id":"trt_2XY7PVGJ5492J59BK9DQF4566P","entityRebindable":true,"entityContract":{"requires":[],"provides":[]},"effectRow":[{"kind":"fetch","resource":"MediaGalleryItem"},{"kind":"render-ui","resource":"main"}],"category":"interaction","linkedEntity":"MediaGalleryItem","linkedEntityId":"ent_9XRDRBWCFW67Y51YHPJRW4X3MB","entityRefIds":{"MediaGalleryItem":"ent_9XRDRBWCFW67Y51YHPJRW4X3MB"},"emits":[{"event":"@config.selectionEvent","eventId":"evt_ZEHGZE033W1HYBJD54NKPVX57R","description":"Event name emitted when selection changes (emitted as UI:{selectionEvent})","tier":"essential","scope":"external","payloadSchema":[{"name":"selection","type":"[string]","required":true}],"definerKnob":"selectionEvent"},{"event":"MediaGalleryLoaded","eventId":"evt_4XT86JG4DB26NM4FFBH995KJ4C","description":"MediaGallery rows finished loading; payload.data holds the collection.","synonyms":"loaded, fetched, retrieved","tier":"essential","scope":"internal","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string","required":true}],"entity":"MediaGalleryItem"}]}],"stateMachine":{"states":[{"name":"idle","isInitial":true}],"events":[{"key":"INIT","id":"evt_B76F0SX9BNMNTR2A2AN5N8PKQ2","name":"Initialize"},{"key":"MediaGalleryLoaded","id":"evt_4XT86JG4DB26NM4FFBH995KJ4C","name":"Media gallery loaded","description":"MediaGallery rows finished loading; payload.data holds the collection.","synonyms":"loaded, fetched, retrieved","tier":"essential","payloadSchema":[{"name":"data","type":"[object]","properties":[{"name":"id","type":"string","required":true}],"entity":"MediaGalleryItem"}]},{"key":"@config.selectionEvent","id":"evt_ZEHGZE033W1HYBJD54NKPVX57R","name":"@config.selection event","description":"Event name emitted when selection changes (emitted as UI:{selectionEvent})","tier":"essential","payloadSchema":[{"name":"selection","type":"[string]","required":true}]}],"transitions":[{"from":"idle","to":"idle","event":"INIT","eventId":"evt_B76F0SX9BNMNTR2A2AN5N8PKQ2","guard":"@config.selfFetch","effects":[["fetch","MediaGalleryItem",{"emit":{"success":"MediaGalleryLoaded"}}],["render-ui","main",{"className":"@config.className","isLoading":"@config.isLoading","error":"@config.error","sortBy":"@config.sortBy","sortDirection":"@config.sortDirection","searchValue":"@config.searchValue","page":"@config.pageProp","pageSize":"@config.pageSize","totalCount":"@config.totalCount","activeFilters":"@config.activeFilters","selectedIds":"@config.selectedIds","surface":"@config.surface","entity":"@entity","title":"@config.title","items":"@config.items","columns":"@config.columns","selectable":"@config.selectable","selectedItems":"@config.selectedItems","selectionEvent":"@config.selectionEvent","showUpload":"@config.showUpload","actions":["array/filter","@config.actions",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"aspectRatio":"@config.aspectRatio","srcField":"@config.srcField","captionField":"@config.captionField","enter":"@config.enter","enterDelay":"@config.enterDelay","skeleton":"@config.skeleton","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"media-gallery"}]]},{"from":"idle","to":"idle","event":"INIT","eventId":"evt_B76F0SX9BNMNTR2A2AN5N8PKQ2","guard":["not","@config.selfFetch"],"effects":[["render-ui","main",{"className":"@config.className","isLoading":"@config.isLoading","error":"@config.error","sortBy":"@config.sortBy","sortDirection":"@config.sortDirection","searchValue":"@config.searchValue","page":"@config.pageProp","pageSize":"@config.pageSize","totalCount":"@config.totalCount","activeFilters":"@config.activeFilters","selectedIds":"@config.selectedIds","surface":"@config.surface","entity":"@entity","title":"@config.title","items":"@config.items","columns":"@config.columns","selectable":"@config.selectable","selectedItems":"@config.selectedItems","selectionEvent":"@config.selectionEvent","showUpload":"@config.showUpload","actions":["array/filter","@config.actions",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"aspectRatio":"@config.aspectRatio","srcField":"@config.srcField","captionField":"@config.captionField","enter":"@config.enter","enterDelay":"@config.enterDelay","skeleton":"@config.skeleton","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"media-gallery"}]]},{"from":"idle","to":"idle","event":"MediaGalleryLoaded","eventId":"evt_4XT86JG4DB26NM4FFBH995KJ4C","effects":[["render-ui","main",{"className":"@config.className","isLoading":"@config.isLoading","error":"@config.error","sortBy":"@config.sortBy","sortDirection":"@config.sortDirection","searchValue":"@config.searchValue","page":"@config.pageProp","pageSize":"@config.pageSize","totalCount":"@config.totalCount","activeFilters":"@config.activeFilters","selectedIds":"@config.selectedIds","surface":"@config.surface","entity":"@payload.data","title":"@config.title","items":"@config.items","columns":"@config.columns","selectable":"@config.selectable","selectedItems":"@config.selectedItems","selectionEvent":"@config.selectionEvent","showUpload":"@config.showUpload","actions":["array/filter","@config.actions",["fn","action",["or",["=",["array/len",["object/get","@action","roles",[]]],0],["array/includes",["object/get","@action","roles",[]],"@config.viewerRole"]]]],"aspectRatio":"@config.aspectRatio","srcField":"@config.srcField","captionField":"@config.captionField","enter":"@config.enter","enterDelay":"@config.enterDelay","skeleton":"@config.skeleton","aria-label":"@config.ariaLabel","aria-labelledby":"@config.ariaLabelledby","aria-describedby":"@config.ariaDescribedby","aria-live":"@config.ariaLive","aria-current":"@config.ariaCurrent","aria-pressed":"@config.ariaPressed","aria-expanded":"@config.ariaExpanded","aria-selected":"@config.ariaSelected","aria-hidden":"@config.ariaHidden","aria-busy":"@config.ariaBusy","role":"@config.role","lang":"@config.lang","dir":"@config.dir","tabIndex":"@config.tabIndex","type":"media-gallery"}]]}]},"config":{"selectedIds":{"type":"[string]","default":[],"label":"Selected Ids","description":"Currently selected item IDs","tier":"presentation","items":{"type":"string"}},"enterDelay":{"type":"number","label":"Enter Delay","description":"Stagger step for the entry: waits this many `--motion-enter-stagger` steps before animating.","tier":"presentation"},"role":{"type":"string","label":"Role","description":"WAI-ARIA role when the element's native semantics don't describe it.","tier":"presentation","values":["alert","alertdialog","application","article","banner","blockquote","button","caption","cell","checkbox","code","columnheader","combobox","complementary","contentinfo","definition","deletion","dialog","document","emphasis","feed","figure","form","generic","grid","gridcell","group","heading","img","insertion","link","list","listbox","listitem","log","main","marquee","math","menu","menubar","menuitem","menuitemcheckbox","menuitemradio","meter","navigation","none","note","option","paragraph","presentation","progressbar","radio","radiogroup","region","row","rowgroup","rowheader","scrollbar","search","searchbox","separator","slider","spinbutton","status","strong","subscript","superscript","switch","tab","table","tablist","tabpanel","term","textbox","time","timer","toolbar","tooltip","tree","treegrid","treeitem"]},"tabIndex":{"type":"number","label":"Tab Index","description":"0 puts the element in the Tab order; -1 makes it focusable only programmatically.","tier":"presentation"},"items":{"type":"[MediaGalleryItemsItem]","default":[],"label":"Items","description":"Media items","tier":"presentation","items":{"type":"object","properties":{"mediaType":{"name":"mediaType","type":"string","required":false,"values":["image","video"]},"fileSize":{"name":"fileSize","type":"string","required":false},"caption":{"name":"caption","type":"string","required":false},"id":{"name":"id","type":"string","required":false},"src":{"name":"src","type":"string","required":false},"alt":{"name":"alt","type":"string","required":false},"thumbnail":{"name":"thumbnail","type":"string","required":false}}}},"pageSize":{"type":"number","label":"Page Size","description":"Number of items per page","tier":"presentation"},"showUpload":{"type":"boolean","default":false,"label":"Show Upload","description":"Show upload button","tier":"presentation"},"surface":{"type":"string","default":"auto","label":"Surface","description":"Content surface: `auto` paints the theme's surface behind this block unless it already sits on one (a card, dialog or another block); `none` opts out.","tier":"presentation","values":["auto","none"]},"isLoading":{"type":"boolean","default":false,"label":"Is Loading","description":"Loading state indicator","tier":"presentation"},"captionField":{"type":"string","default":"caption","label":"Caption Field","description":"Record field holding each image's caption (entity mode). Default `caption`.","tier":"presentation"},"ariaLabelledby":{"type":"string","label":"Aria-labelledby","description":"Id of the element whose text names this one.","synonyms":"aria-labelledby","tier":"presentation"},"pageProp":{"type":"number","label":"Page","description":"Current page number","synonyms":"page","tier":"presentation"},"title":{"type":"string","label":"Title","description":"Gallery title","tier":"presentation"},"sortDirection":{"type":"string","label":"Sort Direction","description":"Current sort direction","tier":"presentation","values":["asc","desc"]},"skeleton":{"type":"string","label":"Skeleton","description":"Skeleton shown while this element's server render is in flight: a shape (`table`, `list`, …), `{ variant, rows?, columns?, fields? }`, or `none`.","tier":"presentation","values":["header","table","list","grid","detail","stats","form","card","text","none"]},"className":{"type":"string","label":"Class Name","description":"Additional CSS classes","tier":"presentation"},"ariaCurrent":{"type":"string","label":"Aria-current","description":"Marks the current item in a set: the current page, step, location, date or time.","synonyms":"aria-current","tier":"presentation","values":["page","step","location","date","time","true","false"]},"ariaBusy":{"type":"boolean","label":"Aria-busy","description":"This region is updating; assistive technology waits before announcing it.","synonyms":"aria-busy","tier":"presentation"},"srcField":{"type":"string","default":"src","label":"Src Field","description":"Record field holding each image's URL (entity mode). Default `src`.","tier":"presentation"},"enter":{"type":"string","label":"Enter","description":"How this element animates in when it mounts (theme-styled); overrides the theme's default slot entry. `none` opts out.","tier":"presentation","values":["none","fade","rise","scale","slide"]},"selectedItems":{"type":"[string]","default":[],"label":"Selected Items","description":"Selected item IDs","tier":"presentation","items":{"type":"string"}},"sortBy":{"type":"string","label":"Sort By","description":"Current sort field","tier":"presentation"},"columns":{"type":"number","default":3,"label":"Columns","description":"Column count","tier":"presentation"},"totalCount":{"type":"number","label":"Total Count","description":"Total number of items","tier":"presentation"},"error":{"type":"MediaGalleryError","label":"Error","description":"Error state (UiError)","tier":"presentation","properties":{"code":{"name":"code","type":"string","required":false},"stack":{"name":"stack","type":"string","required":false},"message":{"name":"message","type":"string","required":true},"name":{"name":"name","type":"string","required":false}}},"aspectRatio":{"type":"string","default":"square","label":"Aspect Ratio","description":"Aspect ratio for thumbnails","tier":"presentation","values":["square","landscape","portrait"]},"ariaHidden":{"type":"boolean","label":"Aria-hidden","description":"Hide from assistive technology (decorative content only).","synonyms":"aria-hidden","tier":"presentation"},"selectable":{"type":"boolean","default":false,"label":"Selectable","description":"Enable item selection","tier":"presentation"},"ariaSelected":{"type":"boolean","label":"Aria-selected","description":"Whether this item is selected (tabs, options, grid cells).","synonyms":"aria-selected","tier":"presentation"},"activeFilters":{"type":"Map<string,string>","default":{},"label":"Active Filters","description":"Active filters","tier":"presentation","items":{"type":"string"}},"searchValue":{"type":"string","label":"Search Value","description":"Current search query value","tier":"presentation"},"dir":{"type":"string","label":"Dir","description":"Text direction of this element's content.","tier":"presentation","values":["ltr","rtl","auto"]},"ariaExpanded":{"type":"boolean","label":"Aria-expanded","description":"Whether the element it controls is expanded.","synonyms":"aria-expanded","tier":"presentation"},"lang":{"type":"string","label":"Lang","description":"Language of this element's content (BCP 47, e.g. ar, sl, en).","tier":"presentation"},"ariaLabel":{"type":"string","label":"Aria-label","description":"Accessible name read by screen readers when the visible text is missing or not descriptive (e.g. an icon-only control).","synonyms":"aria-label","tier":"presentation"},"selfFetch":{"type":"boolean","default":true,"label":"Fetch its own rows on mount?","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.","tier":"internal"},"ariaPressed":{"type":"string","label":"Aria-pressed","description":"Toggle-button state.","synonyms":"aria-pressed","tier":"presentation","values":["true","false","mixed"]},"actions":{"type":"[MediaGalleryActionsItem]","default":[],"label":"Actions","description":"Actions","tier":"presentation","items":{"type":"object","properties":{"roles":{"name":"roles","type":"array","required":false,"items":{"type":"string"}},"label":{"name":"label","type":"string","required":true},"event":{"name":"event","type":"event","required":false},"navigatesTo":{"name":"navigatesTo","type":"string","required":false},"variant":{"name":"variant","type":"string","required":false,"values":["primary","secondary","ghost"]}}}},"ariaDescribedby":{"type":"string","label":"Aria-describedby","description":"Id of the element whose text describes this one (help text, error).","synonyms":"aria-describedby","tier":"presentation"},"selectionEvent":{"type":"event","default":"SELECTION","label":"Selection Event","description":"Event name emitted when selection changes (emitted as UI:{selectionEvent})","tier":"presentation"},"viewerRole":{"type":"string","default":"","label":"Viewer's role","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.","tier":"policy"},"ariaLive":{"type":"string","label":"Aria-live","description":"Announce changes to this region: polite waits for a pause, assertive interrupts.","synonyms":"aria-live","tier":"presentation","values":["off","polite","assertive"]}},"scope":"instance"}],"pages":[{"name":"MediaGalleryPage","id":"pag_4DTJRGACGH688T9NS75Z8H38H1","path":"/media-gallery","traits":[{"ref":"MediaGalleryRender","refId":"trt_2XY7PVGJ5492J59BK9DQF4566P"}]}],"types":{"MediaGalleryActionsItem":[{"name":"label","type":"string","required":true},{"name":"event","type":"event"},{"name":"navigatesTo","type":"string"},{"name":"variant","type":"string","values":["primary","secondary","ghost"]},{"name":"roles","type":"[string]"}],"MediaGalleryError":[{"name":"message","type":"string","required":true},{"name":"name","type":"string"},{"name":"code","type":"string"},{"name":"stack","type":"string"}],"MediaGalleryItemsItem":[{"name":"id","type":"string"},{"name":"src","type":"asset"},{"name":"alt","type":"string"},{"name":"thumbnail","type":"asset"},{"name":"mediaType","type":"string","values":["image","video"]},{"name":"caption","type":"string"},{"name":"fileSize","type":"string"}]}}],"schemaVersion":1,"ledger":{"schemaVersion":1,"entries":{"ent_9XRDRBWCFW67Y51YHPJRW4X3MB":{"id":"ent_9XRDRBWCFW67Y51YHPJRW4X3MB","kind":"entity","bakedName":"MediaGalleryItem","curName":"MediaGalleryItem","renames":[],"owner":"workspace"},"evt_4XT86JG4DB26NM4FFBH995KJ4C":{"id":"evt_4XT86JG4DB26NM4FFBH995KJ4C","kind":"event","bakedName":"MediaGalleryLoaded","curName":"MediaGalleryLoaded","renames":[],"owner":"workspace","parent":"trt_2XY7PVGJ5492J59BK9DQF4566P"},"evt_B76F0SX9BNMNTR2A2AN5N8PKQ2":{"id":"evt_B76F0SX9BNMNTR2A2AN5N8PKQ2","kind":"event","bakedName":"INIT","curName":"INIT","renames":[],"owner":"workspace","parent":"trt_2XY7PVGJ5492J59BK9DQF4566P"},"evt_ZEHGZE033W1HYBJD54NKPVX57R":{"id":"evt_ZEHGZE033W1HYBJD54NKPVX57R","kind":"event","bakedName":"@config.selectionEvent","curName":"@config.selectionEvent","renames":[],"owner":"workspace","parent":"trt_2XY7PVGJ5492J59BK9DQF4566P"},"orb_VHG6GT65SQ2WVX8CJAKWM61F08":{"id":"orb_VHG6GT65SQ2WVX8CJAKWM61F08","kind":"orbital","bakedName":"MediaGalleryOrbital","curName":"MediaGalleryOrbital","renames":[],"owner":"workspace"},"pag_4DTJRGACGH688T9NS75Z8H38H1":{"id":"pag_4DTJRGACGH688T9NS75Z8H38H1","kind":"page","bakedName":"MediaGalleryPage","curName":"MediaGalleryPage","renames":[],"owner":"workspace"},"trt_2XY7PVGJ5492J59BK9DQF4566P":{"id":"trt_2XY7PVGJ5492J59BK9DQF4566P","kind":"trait","bakedName":"MediaGalleryRender","curName":"MediaGalleryRender","renames":[],"owner":"workspace"}}}}