@almadar/std 16.235.0 → 16.237.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/behaviors/behaviors-registry.json +5621 -1993
  2. package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +32 -41
  3. package/behaviors/lolo/infra/atoms/std-audit-capture.lolo +0 -5
  4. package/behaviors/lolo/infra/atoms/std-cache-aside.lolo +0 -24
  5. package/behaviors/lolo/infra/atoms/std-circuit-breaker.lolo +1 -17
  6. package/behaviors/lolo/infra/atoms/std-data-erasure.lolo +17 -24
  7. package/behaviors/lolo/infra/atoms/std-data-import.lolo +8 -11
  8. package/behaviors/lolo/infra/atoms/std-game-clock.lolo +2 -0
  9. package/behaviors/lolo/infra/atoms/std-knowledge-loop.lolo +0 -5
  10. package/behaviors/lolo/infra/atoms/std-lifecycle.lolo +3 -1
  11. package/behaviors/lolo/infra/atoms/std-migration-job.lolo +2 -2
  12. package/behaviors/lolo/infra/atoms/std-mod-queue.lolo +40 -18
  13. package/behaviors/lolo/infra/atoms/std-notification-preferences.lolo +25 -11
  14. package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +0 -5
  15. package/behaviors/lolo/infra/atoms/std-permission-matrix.lolo +28 -11
  16. package/behaviors/lolo/infra/atoms/std-rate-limiter.lolo +84 -22
  17. package/behaviors/lolo/infra/atoms/std-status-lifecycle.lolo +1 -6
  18. package/behaviors/lolo/ml/atoms/std-graph-builder.lolo +3 -1
  19. package/behaviors/lolo/ml/atoms/std-ml-classify.lolo +0 -4
  20. package/behaviors/lolo/ml/atoms/std-ml-similarity.lolo +0 -4
  21. package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +12 -0
  22. package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +55 -9
  23. package/behaviors/lolo/ui/core/atoms/std-app-search.lolo +6 -2
  24. package/behaviors/lolo/ui/core/atoms/std-billable-hour.lolo +19 -14
  25. package/behaviors/lolo/ui/core/atoms/std-board.lolo +77 -27
  26. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +76 -33
  27. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +7 -3
  28. package/behaviors/lolo/ui/core/atoms/std-esign-flow.lolo +25 -13
  29. package/behaviors/lolo/ui/core/atoms/std-esign-request.lolo +5 -0
  30. package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +32 -5
  31. package/behaviors/lolo/ui/core/atoms/std-export.lolo +0 -10
  32. package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +15 -4
  33. package/behaviors/lolo/ui/core/atoms/std-form-advanced.lolo +1 -6
  34. package/behaviors/lolo/ui/core/atoms/std-gantt-schedule.lolo +8 -1
  35. package/behaviors/lolo/ui/core/atoms/std-geosearch.lolo +1 -0
  36. package/behaviors/lolo/ui/core/atoms/std-graphs.lolo +20 -4
  37. package/behaviors/lolo/ui/core/atoms/std-image-upload-multi.lolo +2 -2
  38. package/behaviors/lolo/ui/core/atoms/std-import.lolo +0 -5
  39. package/behaviors/lolo/ui/core/atoms/std-list.lolo +53 -32
  40. package/behaviors/lolo/ui/core/atoms/std-modal-editor.lolo +2 -2
  41. package/behaviors/lolo/ui/core/atoms/std-multi-party-flow.lolo +24 -0
  42. package/behaviors/lolo/ui/core/atoms/std-rating-review.lolo +12 -13
  43. package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +29 -13
  44. package/behaviors/lolo/ui/core/atoms/std-recurrence.lolo +14 -1
  45. package/behaviors/lolo/ui/core/atoms/std-role-gate.lolo +39 -0
  46. package/behaviors/lolo/ui/core/atoms/std-saved-search.lolo +84 -16
  47. package/behaviors/lolo/ui/core/atoms/std-selection.lolo +22 -10
  48. package/behaviors/lolo/ui/core/atoms/std-stats.lolo +5 -5
  49. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +3 -0
  50. package/behaviors/lolo/ui/core/atoms/std-thread.lolo +41 -73
  51. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +27 -12
  52. package/behaviors/lolo/ui/core/atoms/std-vote.lolo +0 -4
  53. package/behaviors/lolo/ui/core/atoms/std-wizard.lolo +3 -3
  54. package/behaviors/lolo/ui/core/atoms/ui-presence.lolo +21 -0
  55. package/behaviors/lolo/ui/core/atoms/ui-time-slot-cell.lolo +36 -0
  56. package/behaviors/lolo/ui/core/atoms/ui-typography.lolo +5 -0
  57. package/behaviors/lolo/ui/core/molecules/ui-alert.lolo +5 -0
  58. package/behaviors/lolo/ui/core/molecules/ui-animated-counter.lolo +1 -1
  59. package/behaviors/lolo/ui/core/molecules/ui-breadcrumb.lolo +6 -1
  60. package/behaviors/lolo/ui/core/molecules/ui-chart.lolo +11 -1
  61. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +13 -8
  62. package/behaviors/lolo/ui/core/molecules/ui-command-palette.lolo +11 -6
  63. package/behaviors/lolo/ui/core/molecules/ui-commit-row.lolo +2 -2
  64. package/behaviors/lolo/ui/core/molecules/ui-confirm-dialog.lolo +8 -0
  65. package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +60 -5
  66. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +47 -3
  67. package/behaviors/lolo/ui/core/molecules/ui-date-range-picker.lolo +3 -3
  68. package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +31 -9
  69. package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +8 -3
  70. package/behaviors/lolo/ui/core/molecules/ui-document-viewer.lolo +6 -1
  71. package/behaviors/lolo/ui/core/molecules/ui-drawer.lolo +13 -0
  72. package/behaviors/lolo/ui/core/molecules/ui-emoji-picker.lolo +1 -1
  73. package/behaviors/lolo/ui/core/molecules/ui-feature-card.lolo +1 -1
  74. package/behaviors/lolo/ui/core/molecules/ui-floating-action-button.lolo +6 -1
  75. package/behaviors/lolo/ui/core/molecules/ui-floating-toolbar.lolo +6 -1
  76. package/behaviors/lolo/ui/core/molecules/ui-form-actions.lolo +6 -1
  77. package/behaviors/lolo/ui/core/molecules/ui-gantt.lolo +9 -1
  78. package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +6 -1
  79. package/behaviors/lolo/ui/core/molecules/ui-import-preview-tree.lolo +3 -2
  80. package/behaviors/lolo/ui/core/molecules/ui-likert-scale.lolo +1 -1
  81. package/behaviors/lolo/ui/core/molecules/ui-menu.lolo +7 -1
  82. package/behaviors/lolo/ui/core/molecules/ui-meter.lolo +6 -1
  83. package/behaviors/lolo/ui/core/molecules/ui-modal.lolo +5 -0
  84. package/behaviors/lolo/ui/core/molecules/ui-page-header.lolo +11 -1
  85. package/behaviors/lolo/ui/core/molecules/ui-page-transition.lolo +1 -1
  86. package/behaviors/lolo/ui/core/molecules/ui-swipeable-row.lolo +44 -15
  87. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +57 -5
  88. package/behaviors/lolo/ui/core/molecules/ui-tabs.lolo +8 -2
  89. package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +87 -16
  90. package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +37 -10
  91. package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +46 -8
  92. package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +36 -10
  93. package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +57 -10
  94. package/behaviors/lolo/ui/core/organisms/ui-form.lolo +57 -10
  95. package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +22 -3
  96. package/behaviors/lolo/ui/core/organisms/ui-stat-card.lolo +6 -0
  97. package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +12 -0
  98. package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +38 -5
  99. package/behaviors/lolo/ui/core/templates/ui-auth-layout.lolo +1 -1
  100. package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +3 -45
  101. package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +7 -2
  102. package/behaviors/lolo/ui/core/templates/ui-generic-app-template.lolo +2 -37
  103. package/behaviors/lolo/ui/game/.hand-authored.json +2 -2
  104. package/behaviors/lolo/ui/game/atoms/ui-choice-button.lolo +1 -1
  105. package/behaviors/lolo/ui/game/atoms/ui-dialogue-bubble.lolo +2 -2
  106. package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +9 -3
  107. package/behaviors/lolo/ui/game/atoms/ui-score-display.lolo +1 -1
  108. package/behaviors/lolo/ui/game/organisms/std-arcade-board-3d.lolo +2 -2
  109. package/behaviors/lolo/ui/game/organisms/std-crew-board-2d.lolo +0 -4
  110. package/behaviors/lolo/ui/game/organisms/std-platformer-puzzle.lolo +2 -66
  111. package/behaviors/lolo/ui/game/organisms/std-tactics-board-2d.lolo +0 -4
  112. package/behaviors/lolo/ui/game/organisms/std-worldmap-board-2d.lolo +0 -4
  113. package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +6 -6
  114. package/behaviors/lolo-behavior-contracts.json +1 -1
  115. package/behaviors/registry/factory-signatures.json +1 -1
  116. package/behaviors/registry/infra/atoms/std-approval-gate.orb +194 -67
  117. package/behaviors/registry/infra/atoms/std-audit-capture.orb +0 -8
  118. package/behaviors/registry/infra/atoms/std-cache-aside.orb +0 -84
  119. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +1 -44
  120. package/behaviors/registry/infra/atoms/std-data-erasure.orb +124 -55
  121. package/behaviors/registry/infra/atoms/std-data-import.orb +12 -11
  122. package/behaviors/registry/infra/atoms/std-game-clock.orb +31 -0
  123. package/behaviors/registry/infra/atoms/std-knowledge-loop.orb +0 -57
  124. package/behaviors/registry/infra/atoms/std-lifecycle.orb +43 -0
  125. package/behaviors/registry/infra/atoms/std-migration-job.orb +26 -1
  126. package/behaviors/registry/infra/atoms/std-mod-queue.orb +379 -103
  127. package/behaviors/registry/infra/atoms/std-notification-preferences.orb +135 -12
  128. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +0 -11
  129. package/behaviors/registry/infra/atoms/std-permission-matrix.orb +137 -12
  130. package/behaviors/registry/infra/atoms/std-rate-limiter.orb +287 -72
  131. package/behaviors/registry/infra/atoms/std-status-lifecycle.orb +5 -8
  132. package/behaviors/registry/ml/atoms/std-graph-builder.orb +11 -0
  133. package/behaviors/registry/ml/atoms/std-ml-classify.orb +0 -7
  134. package/behaviors/registry/ml/atoms/std-ml-similarity.orb +0 -7
  135. package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +82 -0
  136. package/behaviors/registry/ui/core/atoms/std-app-layout.orb +417 -9
  137. package/behaviors/registry/ui/core/atoms/std-app-search.orb +53 -1
  138. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +209 -19
  139. package/behaviors/registry/ui/core/atoms/std-board.orb +242 -61
  140. package/behaviors/registry/ui/core/atoms/std-browse.orb +499 -49
  141. package/behaviors/registry/ui/core/atoms/std-calendar.orb +96 -2
  142. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +122 -15
  143. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +11 -0
  144. package/behaviors/registry/ui/core/atoms/std-event-log.orb +42 -6
  145. package/behaviors/registry/ui/core/atoms/std-export.orb +0 -16
  146. package/behaviors/registry/ui/core/atoms/std-file-store.orb +121 -3
  147. package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +1 -43
  148. package/behaviors/registry/ui/core/atoms/std-gantt-schedule.orb +25 -1
  149. package/behaviors/registry/ui/core/atoms/std-geosearch.orb +5 -0
  150. package/behaviors/registry/ui/core/atoms/std-graphs.orb +173 -66
  151. package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +4 -0
  152. package/behaviors/registry/ui/core/atoms/std-import.orb +0 -8
  153. package/behaviors/registry/ui/core/atoms/std-list.orb +237 -34
  154. package/behaviors/registry/ui/core/atoms/std-modal-editor.orb +10 -1
  155. package/behaviors/registry/ui/core/atoms/std-multi-party-flow.orb +24 -0
  156. package/behaviors/registry/ui/core/atoms/std-rating-review.orb +37 -19
  157. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +275 -14
  158. package/behaviors/registry/ui/core/atoms/std-recurrence.orb +93 -4
  159. package/behaviors/registry/ui/core/atoms/std-role-gate.orb +217 -0
  160. package/behaviors/registry/ui/core/atoms/std-saved-search.orb +473 -19
  161. package/behaviors/registry/ui/core/atoms/std-selection.orb +179 -10
  162. package/behaviors/registry/ui/core/atoms/std-stats.orb +73 -1
  163. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +3 -0
  164. package/behaviors/registry/ui/core/atoms/std-thread.orb +190 -115
  165. package/behaviors/registry/ui/core/atoms/std-version-history.orb +138 -14
  166. package/behaviors/registry/ui/core/atoms/std-vote.orb +0 -9
  167. package/behaviors/registry/ui/core/atoms/std-wizard.orb +33 -3
  168. package/behaviors/registry/ui/core/atoms/ui-presence.orb +59 -0
  169. package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +132 -0
  170. package/behaviors/registry/ui/core/atoms/ui-typography.orb +7 -0
  171. package/behaviors/registry/ui/core/molecules/ui-alert.orb +7 -0
  172. package/behaviors/registry/ui/core/molecules/ui-animated-counter.orb +1 -1
  173. package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +53 -1
  174. package/behaviors/registry/ui/core/molecules/ui-chart.orb +68 -1
  175. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +291 -8
  176. package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +89 -6
  177. package/behaviors/registry/ui/core/molecules/ui-commit-row.orb +3 -2
  178. package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +32 -0
  179. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +297 -5
  180. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +261 -3
  181. package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +1 -3
  182. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +93 -24
  183. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +121 -3
  184. package/behaviors/registry/ui/core/molecules/ui-document-viewer.orb +53 -1
  185. package/behaviors/registry/ui/core/molecules/ui-drawer.orb +40 -0
  186. package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +0 -1
  187. package/behaviors/registry/ui/core/molecules/ui-feature-card.orb +0 -1
  188. package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +53 -1
  189. package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +53 -1
  190. package/behaviors/registry/ui/core/molecules/ui-form-actions.orb +53 -1
  191. package/behaviors/registry/ui/core/molecules/ui-gantt.orb +28 -1
  192. package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +53 -1
  193. package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +9 -2
  194. package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +1 -1
  195. package/behaviors/registry/ui/core/molecules/ui-menu.orb +74 -1
  196. package/behaviors/registry/ui/core/molecules/ui-meter.orb +53 -1
  197. package/behaviors/registry/ui/core/molecules/ui-modal.orb +8 -0
  198. package/behaviors/registry/ui/core/molecules/ui-page-header.orb +60 -1
  199. package/behaviors/registry/ui/core/molecules/ui-page-transition.orb +1 -1
  200. package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +393 -23
  201. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +337 -5
  202. package/behaviors/registry/ui/core/molecules/ui-tabs.orb +99 -2
  203. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +415 -33
  204. package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +340 -29
  205. package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +296 -20
  206. package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +489 -9
  207. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +132 -13
  208. package/behaviors/registry/ui/core/organisms/ui-form.orb +132 -13
  209. package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +141 -3
  210. package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +58 -0
  211. package/behaviors/registry/ui/core/organisms/ui-state-machine-view.orb +82 -0
  212. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +159 -8
  213. package/behaviors/registry/ui/core/templates/ui-auth-layout.orb +0 -1
  214. package/behaviors/registry/ui/core/templates/ui-counter-template.orb +1 -173
  215. package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +53 -2
  216. package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +1 -116
  217. package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +1 -1
  218. package/behaviors/registry/ui/game/atoms/ui-dialogue-bubble.orb +1 -2
  219. package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +100 -3
  220. package/behaviors/registry/ui/game/atoms/ui-score-display.orb +0 -1
  221. package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +10 -0
  222. package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +0 -7
  223. package/behaviors/registry/ui/game/organisms/std-platformer-puzzle.orb +1 -807
  224. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +0 -7
  225. package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +0 -7
  226. package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +6 -0
  227. package/canonical-operators.json +18 -1
  228. package/dist/behaviors/exports-reader.js +8942 -3946
  229. package/dist/behaviors/functions/index.d.ts +419 -132
  230. package/dist/behaviors/functions/index.js +8931 -3946
  231. package/dist/behaviors/index.d.ts +1 -1
  232. package/dist/behaviors/index.js +8943 -3947
  233. package/dist/behaviors/query.js +8942 -3946
  234. package/dist/behaviors-embeddings.hash.json +3 -3
  235. package/dist/behaviors-embeddings.json +49 -41
  236. package/dist/behaviors-registry.json +5621 -1993
  237. package/dist/index.d.ts +3 -3
  238. package/dist/index.js +8960 -3947
  239. package/dist/knob-embeddings.hash.json +3 -3
  240. package/dist/knob-embeddings.json +774 -374
  241. package/dist/modules/anim.d.ts +1 -1
  242. package/dist/modules/array.d.ts +1 -1
  243. package/dist/modules/array.js +15 -0
  244. package/dist/modules/async.d.ts +1 -1
  245. package/dist/modules/behavior.d.ts +1 -1
  246. package/dist/modules/browser.d.ts +1 -1
  247. package/dist/modules/composition.d.ts +1 -1
  248. package/dist/modules/contract.d.ts +1 -1
  249. package/dist/modules/core.d.ts +1 -1
  250. package/dist/modules/core.js +2 -0
  251. package/dist/modules/data.d.ts +1 -1
  252. package/dist/modules/ease.d.ts +1 -1
  253. package/dist/modules/format.d.ts +1 -1
  254. package/dist/modules/geo.d.ts +1 -1
  255. package/dist/modules/graph.d.ts +1 -1
  256. package/dist/modules/grid.d.ts +1 -1
  257. package/dist/modules/index.d.ts +1 -1
  258. package/dist/modules/index.js +17 -0
  259. package/dist/modules/integration.d.ts +1 -1
  260. package/dist/modules/json.d.ts +1 -1
  261. package/dist/modules/llm.d.ts +1 -1
  262. package/dist/modules/math.d.ts +1 -1
  263. package/dist/modules/memory.d.ts +1 -1
  264. package/dist/modules/nn.d.ts +1 -1
  265. package/dist/modules/noise.d.ts +1 -1
  266. package/dist/modules/object.d.ts +1 -1
  267. package/dist/modules/os.d.ts +1 -1
  268. package/dist/modules/path.d.ts +1 -1
  269. package/dist/modules/prob.d.ts +1 -1
  270. package/dist/modules/session.d.ts +1 -1
  271. package/dist/modules/str.d.ts +1 -1
  272. package/dist/modules/tensor.d.ts +1 -1
  273. package/dist/modules/time.d.ts +1 -1
  274. package/dist/modules/trace.d.ts +1 -1
  275. package/dist/modules/train.d.ts +1 -1
  276. package/dist/modules/validate.d.ts +1 -1
  277. package/dist/modules/vector.d.ts +1 -1
  278. package/dist/modules/workspace.d.ts +1 -1
  279. package/dist/registry/factory-signatures.json +1 -1
  280. package/dist/registry.d.ts +2 -2
  281. package/dist/registry.js +17 -0
  282. package/dist/{types-Ggla7OK7.d.ts → types-DLx38UFZ.d.ts} +23 -3
  283. package/package.json +3 -3
@@ -220,6 +220,10 @@
220
220
  "variant": {
221
221
  "default": "compact",
222
222
  "type": "unknown"
223
+ },
224
+ "viewerRole": {
225
+ "default": "@config.viewerRole",
226
+ "type": "unknown"
223
227
  }
224
228
  },
225
229
  "id": "trt_01KYG176Z400JFKWZ2XPKJ4798",
@@ -241,13 +245,6 @@
241
245
  {
242
246
  "category": "interaction",
243
247
  "config": {
244
- "assigneeBinding": {
245
- "default": "@item.assignee",
246
- "description": "Binding path for the assignee/owner slot.",
247
- "label": "Assignee field binding",
248
- "tier": "internal",
249
- "type": "string"
250
- },
251
248
  "badgeBinding": {
252
249
  "default": "@item.status",
253
250
  "description": "Binding path for the status/badge slot.",
@@ -313,11 +310,48 @@
313
310
  ],
314
311
  {
315
312
  "cols": "@config.cols",
313
+ "emptyDescription": "@config.emptyDescription",
314
+ "emptyIcon": "@config.emptyIcon",
315
+ "emptyTitle": "@config.emptyTitle",
316
316
  "entity": "@payload.data",
317
317
  "fields": "@config.fields",
318
318
  "gap": "@config.gap",
319
319
  "imageField": "@config.imageField",
320
- "itemActions": "@config.itemActions",
320
+ "itemActions": [
321
+ "array/filter",
322
+ "@config.itemActions",
323
+ [
324
+ "fn",
325
+ "item",
326
+ [
327
+ "or",
328
+ [
329
+ "=",
330
+ [
331
+ "array/len",
332
+ [
333
+ "object/get",
334
+ "@item",
335
+ "roles",
336
+ []
337
+ ]
338
+ ],
339
+ 0.0
340
+ ],
341
+ [
342
+ "array/includes",
343
+ [
344
+ "object/get",
345
+ "@item",
346
+ "roles",
347
+ []
348
+ ],
349
+ "@config.viewerRole"
350
+ ]
351
+ ]
352
+ ]
353
+ ],
354
+ "itemClickEvent": "@config.itemClickEvent",
321
355
  "maxInlineActions": "@config.maxInlineActions",
322
356
  "pageSize": "@config.displayPageSize",
323
357
  "type": "data-grid"
@@ -410,6 +444,26 @@
410
444
  "required": false,
411
445
  "type": "string"
412
446
  },
447
+ "colorMap": {
448
+ "items": {
449
+ "type": "string",
450
+ "values": [
451
+ "default",
452
+ "primary",
453
+ "secondary",
454
+ "success",
455
+ "warning",
456
+ "danger",
457
+ "error",
458
+ "info",
459
+ "neutral",
460
+ "destructive"
461
+ ]
462
+ },
463
+ "name": "colorMap",
464
+ "required": false,
465
+ "type": "object"
466
+ },
413
467
  "field": {
414
468
  "name": "field",
415
469
  "required": false,
@@ -443,6 +497,23 @@
443
497
  "required": true,
444
498
  "type": "string"
445
499
  },
500
+ "labels": {
501
+ "items": {
502
+ "type": "string"
503
+ },
504
+ "name": "labels",
505
+ "required": false,
506
+ "type": "object"
507
+ },
508
+ "variant": {
509
+ "name": "variant",
510
+ "required": false,
511
+ "type": "string",
512
+ "values": [
513
+ "h3",
514
+ "h4"
515
+ ]
516
+ },
446
517
  "weight": {
447
518
  "name": "weight",
448
519
  "required": false,
@@ -527,9 +598,44 @@
527
598
  "children": [
528
599
  {
529
600
  "columns": "@config.columns",
530
- "emptyMessage": "No records",
601
+ "emptyDescription": "@config.emptyDescription",
602
+ "emptyIcon": "@config.emptyIcon",
603
+ "emptyTitle": "@config.emptyTitle",
531
604
  "entity": "@payload.data",
532
- "itemActions": "@config.itemActions",
605
+ "itemActions": [
606
+ "array/filter",
607
+ "@config.itemActions",
608
+ [
609
+ "fn",
610
+ "item",
611
+ [
612
+ "or",
613
+ [
614
+ "=",
615
+ [
616
+ "array/len",
617
+ [
618
+ "object/get",
619
+ "@item",
620
+ "roles",
621
+ []
622
+ ]
623
+ ],
624
+ 0.0
625
+ ],
626
+ [
627
+ "array/includes",
628
+ [
629
+ "object/get",
630
+ "@item",
631
+ "roles",
632
+ []
633
+ ],
634
+ "@config.viewerRole"
635
+ ]
636
+ ]
637
+ ]
638
+ ],
533
639
  "itemClickEvent": "@config.itemClickEvent",
534
640
  "look": "dense",
535
641
  "maxInlineActions": "@config.maxInlineActions",
@@ -586,10 +692,23 @@
586
692
  "required": true,
587
693
  "type": "string"
588
694
  },
695
+ "roles": {
696
+ "items": {
697
+ "type": "string"
698
+ },
699
+ "name": "roles",
700
+ "required": false,
701
+ "type": "array"
702
+ },
589
703
  "variant": {
590
704
  "name": "variant",
591
705
  "required": false,
592
706
  "type": "string"
707
+ },
708
+ "when": {
709
+ "name": "when",
710
+ "required": false,
711
+ "type": "object"
593
712
  }
594
713
  },
595
714
  "type": "object"
@@ -599,21 +718,127 @@
599
718
  "tier": "presentation",
600
719
  "type": "[BrowseDetailAction]"
601
720
  },
721
+ "detailCloseEvent": {
722
+ "default": "CLOSE",
723
+ "description": "The detailActions entry whose event matches renders as the pane's close (×) button.",
724
+ "label": "Which pane action closes the record?",
725
+ "refId": "evt_01KYG176Z4DTZ2W62WXFKKSXJV",
726
+ "synonyms": "close event, dismiss event, pane close",
727
+ "tier": "presentation",
728
+ "type": "event"
729
+ },
602
730
  "detailFields": {
603
731
  "default": [
604
- "name",
605
- "description",
606
- "status",
607
- "createdAt"
732
+ {
733
+ "label": "Name",
734
+ "name": "name",
735
+ "variant": "h4"
736
+ },
737
+ {
738
+ "label": "Description",
739
+ "name": "description",
740
+ "variant": "body"
741
+ },
742
+ {
743
+ "label": "Status",
744
+ "name": "status",
745
+ "variant": "badge"
746
+ },
747
+ {
748
+ "format": "date",
749
+ "label": "Created",
750
+ "name": "createdAt"
751
+ }
608
752
  ],
609
- "description": "Field names shown in the detail panel when browseLook = master-detail; the first entry doubles as the pane title. Consumers overriding columns/fields should override this list to match their entity.",
753
+ "description": "Fields shown in the detail panel when browseLook = master-detail; the field declared variant h3/h4 is the pane title. Consumers overriding columns/fields should override this list to match their entity.",
610
754
  "items": {
611
- "type": "string"
755
+ "properties": {
756
+ "colorMap": {
757
+ "items": {
758
+ "type": "string",
759
+ "values": [
760
+ "default",
761
+ "primary",
762
+ "secondary",
763
+ "success",
764
+ "warning",
765
+ "danger",
766
+ "error",
767
+ "info",
768
+ "neutral",
769
+ "destructive"
770
+ ]
771
+ },
772
+ "name": "colorMap",
773
+ "required": false,
774
+ "type": "object"
775
+ },
776
+ "format": {
777
+ "name": "format",
778
+ "required": false,
779
+ "type": "string",
780
+ "values": [
781
+ "date",
782
+ "currency",
783
+ "number",
784
+ "boolean",
785
+ "percent"
786
+ ]
787
+ },
788
+ "header": {
789
+ "name": "header",
790
+ "required": false,
791
+ "type": "string"
792
+ },
793
+ "icon": {
794
+ "name": "icon",
795
+ "required": false,
796
+ "type": "string"
797
+ },
798
+ "key": {
799
+ "name": "key",
800
+ "required": false,
801
+ "type": "string"
802
+ },
803
+ "label": {
804
+ "name": "label",
805
+ "required": false,
806
+ "type": "string"
807
+ },
808
+ "labels": {
809
+ "items": {
810
+ "type": "string"
811
+ },
812
+ "name": "labels",
813
+ "required": false,
814
+ "type": "object"
815
+ },
816
+ "name": {
817
+ "name": "name",
818
+ "required": true,
819
+ "type": "string"
820
+ },
821
+ "variant": {
822
+ "name": "variant",
823
+ "required": false,
824
+ "type": "string",
825
+ "values": [
826
+ "h3",
827
+ "h4",
828
+ "body",
829
+ "caption",
830
+ "badge",
831
+ "small",
832
+ "progress"
833
+ ]
834
+ }
835
+ },
836
+ "type": "object"
612
837
  },
613
838
  "label": "Which fields appear in the master-detail record pane?",
614
839
  "synonyms": "detail columns, record fields, detail pane fields",
615
840
  "tier": "presentation",
616
- "type": "[string]"
841
+ "type": "[FieldSpec]"
617
842
  },
618
843
  "displayPageSize": {
619
844
  "default": 10.0,
@@ -623,6 +848,30 @@
623
848
  "tier": "presentation",
624
849
  "type": "number"
625
850
  },
851
+ "emptyDescription": {
852
+ "default": "",
853
+ "description": "What will appear here once rows exist.",
854
+ "label": "Empty-state description",
855
+ "synonyms": "empty text, no data message, empty hint",
856
+ "tier": "presentation",
857
+ "type": "string"
858
+ },
859
+ "emptyIcon": {
860
+ "default": "inbox",
861
+ "description": "Domain icon shown when there are no rows.",
862
+ "label": "Empty-state icon",
863
+ "synonyms": "empty icon, no data icon",
864
+ "tier": "presentation",
865
+ "type": "icon"
866
+ },
867
+ "emptyTitle": {
868
+ "default": "",
869
+ "description": "Specific title shown when there are no rows (\"No orders yet\"). Left blank, a generic line shows.",
870
+ "label": "Empty-state title",
871
+ "synonyms": "empty title, no data title, empty heading",
872
+ "tier": "presentation",
873
+ "type": "string"
874
+ },
626
875
  "feedBodyContent": {
627
876
  "default": {
628
877
  "children": [
@@ -683,10 +932,47 @@
683
932
  }
684
933
  ],
685
934
  {
935
+ "emptyDescription": "@config.emptyDescription",
936
+ "emptyIcon": "@config.emptyIcon",
937
+ "emptyTitle": "@config.emptyTitle",
686
938
  "entity": "@payload.data",
687
939
  "fields": [],
688
940
  "gap": "md",
689
- "itemActions": "@config.itemActions",
941
+ "itemActions": [
942
+ "array/filter",
943
+ "@config.itemActions",
944
+ [
945
+ "fn",
946
+ "item",
947
+ [
948
+ "or",
949
+ [
950
+ "=",
951
+ [
952
+ "array/len",
953
+ [
954
+ "object/get",
955
+ "@item",
956
+ "roles",
957
+ []
958
+ ]
959
+ ],
960
+ 0.0
961
+ ],
962
+ [
963
+ "array/includes",
964
+ [
965
+ "object/get",
966
+ "@item",
967
+ "roles",
968
+ []
969
+ ],
970
+ "@config.viewerRole"
971
+ ]
972
+ ]
973
+ ]
974
+ ],
975
+ "itemClickEvent": "@config.itemClickEvent",
690
976
  "renderItem": [
691
977
  "fn",
692
978
  "item",
@@ -808,6 +1094,26 @@
808
1094
  "description": "Each entry maps one entity field to a display column with an optional label and variant.",
809
1095
  "items": {
810
1096
  "properties": {
1097
+ "colorMap": {
1098
+ "items": {
1099
+ "type": "string",
1100
+ "values": [
1101
+ "default",
1102
+ "primary",
1103
+ "secondary",
1104
+ "success",
1105
+ "warning",
1106
+ "danger",
1107
+ "error",
1108
+ "info",
1109
+ "neutral",
1110
+ "destructive"
1111
+ ]
1112
+ },
1113
+ "name": "colorMap",
1114
+ "required": false,
1115
+ "type": "object"
1116
+ },
811
1117
  "format": {
812
1118
  "name": "format",
813
1119
  "required": false,
@@ -840,6 +1146,14 @@
840
1146
  "required": false,
841
1147
  "type": "string"
842
1148
  },
1149
+ "labels": {
1150
+ "items": {
1151
+ "type": "string"
1152
+ },
1153
+ "name": "labels",
1154
+ "required": false,
1155
+ "type": "object"
1156
+ },
843
1157
  "name": {
844
1158
  "name": "name",
845
1159
  "required": true,
@@ -974,11 +1288,48 @@
974
1288
  ],
975
1289
  {
976
1290
  "className": "w-full",
1291
+ "emptyDescription": "@config.emptyDescription",
1292
+ "emptyIcon": "@config.emptyIcon",
1293
+ "emptyTitle": "@config.emptyTitle",
977
1294
  "entity": "@payload.data",
978
1295
  "fields": "@config.fields",
979
1296
  "gap": "lg",
980
1297
  "imageField": "@config.imageField",
981
- "itemActions": "@config.itemActions",
1298
+ "itemActions": [
1299
+ "array/filter",
1300
+ "@config.itemActions",
1301
+ [
1302
+ "fn",
1303
+ "item",
1304
+ [
1305
+ "or",
1306
+ [
1307
+ "=",
1308
+ [
1309
+ "array/len",
1310
+ [
1311
+ "object/get",
1312
+ "@item",
1313
+ "roles",
1314
+ []
1315
+ ]
1316
+ ],
1317
+ 0.0
1318
+ ],
1319
+ [
1320
+ "array/includes",
1321
+ [
1322
+ "object/get",
1323
+ "@item",
1324
+ "roles",
1325
+ []
1326
+ ],
1327
+ "@config.viewerRole"
1328
+ ]
1329
+ ]
1330
+ ]
1331
+ ],
1332
+ "itemClickEvent": "@config.itemClickEvent",
982
1333
  "maxInlineActions": "@config.maxInlineActions",
983
1334
  "minCardWidth": 260.0,
984
1335
  "type": "data-grid"
@@ -1010,13 +1361,6 @@
1010
1361
  "tier": "presentation",
1011
1362
  "type": "string"
1012
1363
  },
1013
- "imageLabelBinding": {
1014
- "default": "@item.thumbnailLabel",
1015
- "description": "Binding path for the image-area label slot.",
1016
- "label": "Image label binding",
1017
- "tier": "internal",
1018
- "type": "string"
1019
- },
1020
1364
  "include": {
1021
1365
  "default": [],
1022
1366
  "description": "Entity relation field names to hydrate on fetch (e.g. a `tag : Category` field named `tag`), so grid columns can use dot-paths like tag.name. Empty = no hydration, the default.",
@@ -1069,6 +1413,14 @@
1069
1413
  "required": false,
1070
1414
  "type": "string"
1071
1415
  },
1416
+ "roles": {
1417
+ "items": {
1418
+ "type": "string"
1419
+ },
1420
+ "name": "roles",
1421
+ "required": false,
1422
+ "type": "array"
1423
+ },
1072
1424
  "variant": {
1073
1425
  "name": "variant",
1074
1426
  "required": false,
@@ -1079,6 +1431,11 @@
1079
1431
  "ghost",
1080
1432
  "danger"
1081
1433
  ]
1434
+ },
1435
+ "when": {
1436
+ "name": "when",
1437
+ "required": false,
1438
+ "type": "object"
1082
1439
  }
1083
1440
  },
1084
1441
  "type": "object"
@@ -1250,8 +1607,42 @@
1250
1607
  ],
1251
1608
  {
1252
1609
  "detail": {
1253
- "actions": "@config.detailActions",
1254
- "fieldNames": "@config.detailFields",
1610
+ "actions": [
1611
+ "array/filter",
1612
+ "@config.detailActions",
1613
+ [
1614
+ "fn",
1615
+ "action",
1616
+ [
1617
+ "or",
1618
+ [
1619
+ "=",
1620
+ [
1621
+ "array/len",
1622
+ [
1623
+ "object/get",
1624
+ "@action",
1625
+ "roles",
1626
+ []
1627
+ ]
1628
+ ],
1629
+ 0.0
1630
+ ],
1631
+ [
1632
+ "array/includes",
1633
+ [
1634
+ "object/get",
1635
+ "@action",
1636
+ "roles",
1637
+ []
1638
+ ],
1639
+ "@config.viewerRole"
1640
+ ]
1641
+ ]
1642
+ ]
1643
+ ],
1644
+ "closeEvent": "@config.detailCloseEvent",
1645
+ "fields": "@config.detailFields",
1255
1646
  "initialData": "@payload.row",
1256
1647
  "showActions": true,
1257
1648
  "type": "detail-panel"
@@ -1316,20 +1707,6 @@
1316
1707
  "tier": "presentation",
1317
1708
  "type": "number"
1318
1709
  },
1319
- "priceBinding": {
1320
- "default": "@item.price",
1321
- "description": "Binding path for the price/amount overlay slot.",
1322
- "label": "Price field binding",
1323
- "tier": "internal",
1324
- "type": "string"
1325
- },
1326
- "priorityBinding": {
1327
- "default": "@item.priority",
1328
- "description": "Binding path for the priority slot.",
1329
- "label": "Priority field binding",
1330
- "tier": "internal",
1331
- "type": "string"
1332
- },
1333
1710
  "scopeField": {
1334
1711
  "default": "",
1335
1712
  "description": "Name the field on this entity that holds the viewer's id (e.g. memberId, patientId, assignee). When set, the list loads ONLY rows whose that field equals @user.id — the 'my bookings' / 'my appointments' shape. Left blank the list loads every row, which is the default. Declared, never inferred: guessing the column from its name would silently scope the wrong one.",
@@ -1430,9 +1807,46 @@
1430
1807
  {
1431
1808
  "children": [
1432
1809
  {
1810
+ "emptyDescription": "@config.emptyDescription",
1811
+ "emptyIcon": "@config.emptyIcon",
1812
+ "emptyTitle": "@config.emptyTitle",
1433
1813
  "entity": "@payload.data",
1434
1814
  "fields": "@config.fields",
1435
- "itemActions": "@config.itemActions",
1815
+ "itemActions": [
1816
+ "array/filter",
1817
+ "@config.itemActions",
1818
+ [
1819
+ "fn",
1820
+ "item",
1821
+ [
1822
+ "or",
1823
+ [
1824
+ "=",
1825
+ [
1826
+ "array/len",
1827
+ [
1828
+ "object/get",
1829
+ "@item",
1830
+ "roles",
1831
+ []
1832
+ ]
1833
+ ],
1834
+ 0.0
1835
+ ],
1836
+ [
1837
+ "array/includes",
1838
+ [
1839
+ "object/get",
1840
+ "@item",
1841
+ "roles",
1842
+ []
1843
+ ],
1844
+ "@config.viewerRole"
1845
+ ]
1846
+ ]
1847
+ ]
1848
+ ],
1849
+ "itemClickEvent": "@config.itemClickEvent",
1436
1850
  "maxInlineActions": "@config.maxInlineActions",
1437
1851
  "type": "data-list",
1438
1852
  "variant": "compact"
@@ -1454,12 +1868,12 @@
1454
1868
  "tier": "internal",
1455
1869
  "type": "render-ui"
1456
1870
  },
1457
- "viewPattern": {
1458
- "default": "data-grid",
1459
- "description": "UI pattern used to render the collection. Used by the default bodyContent tree; Layer 3 variants override bodyContent directly instead and may ignore this knob.",
1460
- "label": "Render pattern",
1461
- "tier": "internal",
1462
- "type": "pattern"
1871
+ "viewerRole": {
1872
+ "default": "",
1873
+ "description": "The signed-in viewer's role that each row action's `roles` is checked against. Bind it explicitly at the call site (e.g. `viewerRole: @user.role`) in an app whose identity carries a role; left empty, only actions with no `roles` show.",
1874
+ "label": "Viewer's role",
1875
+ "tier": "policy",
1876
+ "type": "string"
1463
1877
  }
1464
1878
  },
1465
1879
  "effectRow": [
@@ -2578,6 +2992,14 @@
2578
2992
  {
2579
2993
  "name": "variant",
2580
2994
  "type": "string"
2995
+ },
2996
+ {
2997
+ "name": "roles",
2998
+ "type": "[string]"
2999
+ },
3000
+ {
3001
+ "name": "when",
3002
+ "type": "SExpr"
2581
3003
  }
2582
3004
  ],
2583
3005
  "ColumnSpec": [
@@ -2617,6 +3039,18 @@
2617
3039
  {
2618
3040
  "name": "icon",
2619
3041
  "type": "string"
3042
+ },
3043
+ {
3044
+ "name": "colorMap",
3045
+ "type": "Map<string,BadgeColor>"
3046
+ },
3047
+ {
3048
+ "name": "labels",
3049
+ "type": "Map<string,string>"
3050
+ },
3051
+ {
3052
+ "name": "variant",
3053
+ "type": "string"
2620
3054
  }
2621
3055
  ],
2622
3056
  "FieldSpec": [
@@ -2648,6 +3082,14 @@
2648
3082
  {
2649
3083
  "name": "header",
2650
3084
  "type": "string"
3085
+ },
3086
+ {
3087
+ "name": "colorMap",
3088
+ "type": "Map<string,BadgeColor>"
3089
+ },
3090
+ {
3091
+ "name": "labels",
3092
+ "type": "Map<string,string>"
2651
3093
  }
2652
3094
  ],
2653
3095
  "FilterSpec": [
@@ -2686,6 +3128,14 @@
2686
3128
  {
2687
3129
  "name": "icon",
2688
3130
  "type": "string"
3131
+ },
3132
+ {
3133
+ "name": "roles",
3134
+ "type": "[string]"
3135
+ },
3136
+ {
3137
+ "name": "when",
3138
+ "type": "SExpr"
2689
3139
  }
2690
3140
  ]
2691
3141
  },