@almadar/std 16.193.0 → 16.195.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 (351) hide show
  1. package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +12 -10
  2. package/behaviors/lolo/infra/atoms/std-circuit-breaker.lolo +1 -1
  3. package/behaviors/lolo/infra/atoms/std-cross-reference.lolo +5 -5
  4. package/behaviors/lolo/infra/atoms/std-data-erasure.lolo +3 -7
  5. package/behaviors/lolo/infra/atoms/std-mod-queue.lolo +3 -7
  6. package/behaviors/lolo/infra/atoms/std-notification-center.lolo +8 -6
  7. package/behaviors/lolo/infra/atoms/std-status-lifecycle.lolo +5 -9
  8. package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +3 -3
  9. package/behaviors/lolo/ui/core/atoms/std-app-search.lolo +1 -1
  10. package/behaviors/lolo/ui/core/atoms/std-billable-hour.lolo +1 -1
  11. package/behaviors/lolo/ui/core/atoms/std-board.lolo +30 -4
  12. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +2 -2
  13. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +2 -2
  14. package/behaviors/lolo/ui/core/atoms/std-date-range.lolo +1 -1
  15. package/behaviors/lolo/ui/core/atoms/std-detail-layout.lolo +3 -3
  16. package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +3 -3
  17. package/behaviors/lolo/ui/core/atoms/std-file-store.lolo +1 -1
  18. package/behaviors/lolo/ui/core/atoms/std-filter.lolo +1 -1
  19. package/behaviors/lolo/ui/core/atoms/std-form-advanced.lolo +1 -1
  20. package/behaviors/lolo/ui/core/atoms/std-geosearch.lolo +1 -1
  21. package/behaviors/lolo/ui/core/atoms/std-graphs.lolo +1 -1
  22. package/behaviors/lolo/ui/core/atoms/std-image-upload-multi.lolo +3 -7
  23. package/behaviors/lolo/ui/core/atoms/std-modal.lolo +1 -1
  24. package/behaviors/lolo/ui/core/atoms/std-pagination.lolo +1 -1
  25. package/behaviors/lolo/ui/core/atoms/std-rating-review.lolo +5 -5
  26. package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +13 -2
  27. package/behaviors/lolo/ui/core/atoms/std-recurrence.lolo +3 -3
  28. package/behaviors/lolo/ui/core/atoms/std-saved-search.lolo +3 -7
  29. package/behaviors/lolo/ui/core/atoms/std-scatter.lolo +1 -1
  30. package/behaviors/lolo/ui/core/atoms/std-search.lolo +1 -1
  31. package/behaviors/lolo/ui/core/atoms/std-signature-capture.lolo +3 -7
  32. package/behaviors/lolo/ui/core/atoms/std-tag-strip.lolo +11 -12
  33. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +5 -7
  34. package/behaviors/lolo/ui/core/atoms/std-thread.lolo +91 -28
  35. package/behaviors/lolo/ui/core/atoms/std-tree.lolo +2 -2
  36. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +5 -9
  37. package/behaviors/lolo/ui/core/atoms/std-vote.lolo +3 -7
  38. package/behaviors/lolo/ui/core/atoms/std-wizard.lolo +3 -3
  39. package/behaviors/lolo/ui/core/atoms/ui-avatar.lolo +2 -2
  40. package/behaviors/lolo/ui/core/atoms/ui-badge.lolo +1 -1
  41. package/behaviors/lolo/ui/core/atoms/ui-box.lolo +2 -2
  42. package/behaviors/lolo/ui/core/atoms/ui-button.lolo +1 -1
  43. package/behaviors/lolo/ui/core/atoms/ui-card.lolo +1 -1
  44. package/behaviors/lolo/ui/core/atoms/ui-checkbox.lolo +1 -1
  45. package/behaviors/lolo/ui/core/atoms/ui-day-cell.lolo +1 -1
  46. package/behaviors/lolo/ui/core/atoms/ui-filter-pill.lolo +4 -4
  47. package/behaviors/lolo/ui/core/atoms/ui-flip-container.lolo +1 -1
  48. package/behaviors/lolo/ui/core/atoms/ui-hstack.lolo +1 -1
  49. package/behaviors/lolo/ui/core/atoms/ui-infinite-scroll-sentinel.lolo +1 -1
  50. package/behaviors/lolo/ui/core/atoms/ui-input.lolo +3 -3
  51. package/behaviors/lolo/ui/core/atoms/ui-overlay.lolo +1 -1
  52. package/behaviors/lolo/ui/core/atoms/ui-radio.lolo +1 -1
  53. package/behaviors/lolo/ui/core/atoms/ui-range-slider.lolo +2 -2
  54. package/behaviors/lolo/ui/core/atoms/ui-select.lolo +3 -3
  55. package/behaviors/lolo/ui/core/atoms/ui-stack.lolo +1 -1
  56. package/behaviors/lolo/ui/core/atoms/ui-switch.lolo +1 -1
  57. package/behaviors/lolo/ui/core/atoms/ui-text-highlight.lolo +5 -5
  58. package/behaviors/lolo/ui/core/atoms/ui-textarea.lolo +2 -2
  59. package/behaviors/lolo/ui/core/atoms/ui-time-slot-cell.lolo +1 -1
  60. package/behaviors/lolo/ui/core/atoms/ui-typewriter-text.lolo +1 -1
  61. package/behaviors/lolo/ui/core/atoms/ui-vstack.lolo +1 -1
  62. package/behaviors/lolo/ui/core/molecules/ui-accordion.lolo +2 -2
  63. package/behaviors/lolo/ui/core/molecules/ui-alert.lolo +3 -3
  64. package/behaviors/lolo/ui/core/molecules/ui-branching-logic-builder.lolo +2 -2
  65. package/behaviors/lolo/ui/core/molecules/ui-breadcrumb.lolo +2 -2
  66. package/behaviors/lolo/ui/core/molecules/ui-calendar-grid.lolo +6 -6
  67. package/behaviors/lolo/ui/core/molecules/ui-carousel.lolo +1 -1
  68. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +1 -1
  69. package/behaviors/lolo/ui/core/molecules/ui-confirm-dialog.lolo +2 -2
  70. package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +3 -3
  71. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +7 -7
  72. package/behaviors/lolo/ui/core/molecules/ui-date-range-picker.lolo +2 -2
  73. package/behaviors/lolo/ui/core/molecules/ui-date-range-selector.lolo +1 -1
  74. package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +2 -2
  75. package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +5 -5
  76. package/behaviors/lolo/ui/core/molecules/ui-drawer.lolo +2 -2
  77. package/behaviors/lolo/ui/core/molecules/ui-emoji-picker.lolo +1 -1
  78. package/behaviors/lolo/ui/core/molecules/ui-empty-state.lolo +2 -2
  79. package/behaviors/lolo/ui/core/molecules/ui-error-state.lolo +2 -2
  80. package/behaviors/lolo/ui/core/molecules/ui-file-tree.lolo +3 -3
  81. package/behaviors/lolo/ui/core/molecules/ui-filter-group.lolo +4 -4
  82. package/behaviors/lolo/ui/core/molecules/ui-flip-card.lolo +1 -1
  83. package/behaviors/lolo/ui/core/molecules/ui-floating-action-button.lolo +2 -2
  84. package/behaviors/lolo/ui/core/molecules/ui-form-section-header.lolo +1 -1
  85. package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +5 -5
  86. package/behaviors/lolo/ui/core/molecules/ui-graph-view.lolo +2 -2
  87. package/behaviors/lolo/ui/core/molecules/ui-header.lolo +4 -4
  88. package/behaviors/lolo/ui/core/molecules/ui-import-preview-tree.lolo +2 -2
  89. package/behaviors/lolo/ui/core/molecules/ui-import-source-picker.lolo +1 -1
  90. package/behaviors/lolo/ui/core/molecules/ui-input-group.lolo +3 -3
  91. package/behaviors/lolo/ui/core/molecules/ui-lightbox.lolo +2 -2
  92. package/behaviors/lolo/ui/core/molecules/ui-likert-scale.lolo +2 -2
  93. package/behaviors/lolo/ui/core/molecules/ui-map-view.lolo +4 -4
  94. package/behaviors/lolo/ui/core/molecules/ui-matrix-question.lolo +2 -2
  95. package/behaviors/lolo/ui/core/molecules/ui-modal.lolo +3 -3
  96. package/behaviors/lolo/ui/core/molecules/ui-notification.lolo +4 -4
  97. package/behaviors/lolo/ui/core/molecules/ui-number-stepper.lolo +2 -2
  98. package/behaviors/lolo/ui/core/molecules/ui-option-constraint-group.lolo +2 -2
  99. package/behaviors/lolo/ui/core/molecules/ui-orbital-visualization.lolo +1 -1
  100. package/behaviors/lolo/ui/core/molecules/ui-page-header.lolo +2 -2
  101. package/behaviors/lolo/ui/core/molecules/ui-pagination.lolo +4 -4
  102. package/behaviors/lolo/ui/core/molecules/ui-popover.lolo +1 -1
  103. package/behaviors/lolo/ui/core/molecules/ui-positioned-canvas.lolo +4 -4
  104. package/behaviors/lolo/ui/core/molecules/ui-progress-dots.lolo +1 -1
  105. package/behaviors/lolo/ui/core/molecules/ui-pull-to-refresh.lolo +1 -1
  106. package/behaviors/lolo/ui/core/molecules/ui-qr-scanner.lolo +2 -2
  107. package/behaviors/lolo/ui/core/molecules/ui-relation-select.lolo +1 -1
  108. package/behaviors/lolo/ui/core/molecules/ui-repeatable-form-section.lolo +3 -3
  109. package/behaviors/lolo/ui/core/molecules/ui-reply-tree.lolo +8 -8
  110. package/behaviors/lolo/ui/core/molecules/ui-rich-text-editor.lolo +2 -2
  111. package/behaviors/lolo/ui/core/molecules/ui-search-input.lolo +2 -2
  112. package/behaviors/lolo/ui/core/molecules/ui-side-panel.lolo +2 -2
  113. package/behaviors/lolo/ui/core/molecules/ui-sidebar.lolo +3 -3
  114. package/behaviors/lolo/ui/core/molecules/ui-signature-pad.lolo +3 -3
  115. package/behaviors/lolo/ui/core/molecules/ui-sortable-list.lolo +1 -1
  116. package/behaviors/lolo/ui/core/molecules/ui-star-rating.lolo +2 -2
  117. package/behaviors/lolo/ui/core/molecules/ui-swipeable-row.lolo +2 -2
  118. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +4 -4
  119. package/behaviors/lolo/ui/core/molecules/ui-tabs.lolo +2 -2
  120. package/behaviors/lolo/ui/core/molecules/ui-tag-input.lolo +3 -3
  121. package/behaviors/lolo/ui/core/molecules/ui-upload-drop-zone.lolo +1 -1
  122. package/behaviors/lolo/ui/core/molecules/ui-version-diff.lolo +6 -6
  123. package/behaviors/lolo/ui/core/molecules/ui-violation-alert.lolo +2 -2
  124. package/behaviors/lolo/ui/core/molecules/ui-vote-stack.lolo +2 -2
  125. package/behaviors/lolo/ui/core/molecules/ui-wizard-container.lolo +5 -5
  126. package/behaviors/lolo/ui/core/molecules/ui-wizard-navigation.lolo +6 -6
  127. package/behaviors/lolo/ui/core/molecules/ui-wizard-progress.lolo +2 -2
  128. package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +1 -1
  129. package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +1 -1
  130. package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +3 -3
  131. package/behaviors/lolo/ui/core/organisms/ui-form.lolo +3 -3
  132. package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +1 -1
  133. package/behaviors/lolo/ui/core/organisms/ui-subagent-trace-panel.lolo +1 -1
  134. package/behaviors/lolo/ui/core/organisms/ui-tabbed-container.lolo +1 -1
  135. package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +1 -1
  136. package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +6 -6
  137. package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +6 -6
  138. package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +4 -4
  139. package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +5 -5
  140. package/behaviors/lolo/ui/game/atoms/ui-choice-button.lolo +2 -2
  141. package/behaviors/lolo/ui/game/atoms/ui-control-button.lolo +4 -4
  142. package/behaviors/lolo/ui/game/atoms/ui-control-grid.lolo +4 -4
  143. package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +1 -1
  144. package/behaviors/lolo/ui/game/atoms/ui-sequence-bar.lolo +4 -4
  145. package/behaviors/lolo/ui/game/atoms/ui-state-graph.lolo +1 -1
  146. package/behaviors/lolo/ui/game/atoms/ui-trait-slot.lolo +7 -7
  147. package/behaviors/lolo/ui/game/organisms/std-tactics-board-2d.lolo +1 -1
  148. package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +2 -2
  149. package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +1 -1
  150. package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +1 -1
  151. package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +1 -1
  152. package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +2 -2
  153. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +1 -1
  154. package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +1 -1
  155. package/behaviors/registry/infra/atoms/std-approval-gate.orb +154 -70
  156. package/behaviors/registry/infra/atoms/std-cache-aside.orb +64 -63
  157. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +20 -92
  158. package/behaviors/registry/infra/atoms/std-cross-reference.orb +9 -8
  159. package/behaviors/registry/infra/atoms/std-data-erasure.orb +119 -60
  160. package/behaviors/registry/infra/atoms/std-mod-queue.orb +209 -64
  161. package/behaviors/registry/infra/atoms/std-notification-center.orb +25 -37
  162. package/behaviors/registry/infra/atoms/std-rate-limiter.orb +14 -28
  163. package/behaviors/registry/infra/atoms/std-status-lifecycle.orb +10 -17
  164. package/behaviors/registry/infra/organisms/std-status-lifecycle-control.orb +1 -2
  165. package/behaviors/registry/ml/organisms/std-escalating-decision.orb +5 -10
  166. package/behaviors/registry/ml/organisms/std-knowledge-tracing.orb +2 -4
  167. package/behaviors/registry/ui/core/atoms/std-app-layout.orb +5 -3
  168. package/behaviors/registry/ui/core/atoms/std-app-search.orb +1 -1
  169. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +51 -2
  170. package/behaviors/registry/ui/core/atoms/std-board.orb +74 -3
  171. package/behaviors/registry/ui/core/atoms/std-browse.orb +3 -2
  172. package/behaviors/registry/ui/core/atoms/std-calendar.orb +2 -2
  173. package/behaviors/registry/ui/core/atoms/std-confirmation.orb +27 -1
  174. package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +1 -2
  175. package/behaviors/registry/ui/core/atoms/std-date-range.orb +2 -1
  176. package/behaviors/registry/ui/core/atoms/std-detail-layout.orb +3 -3
  177. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +104 -6
  178. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +3 -6
  179. package/behaviors/registry/ui/core/atoms/std-event-log.orb +3 -2
  180. package/behaviors/registry/ui/core/atoms/std-export.orb +2 -4
  181. package/behaviors/registry/ui/core/atoms/std-file-store.orb +92 -4
  182. package/behaviors/registry/ui/core/atoms/std-filter.orb +2 -1
  183. package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +4 -84
  184. package/behaviors/registry/ui/core/atoms/std-gallery.orb +29 -1
  185. package/behaviors/registry/ui/core/atoms/std-geosearch.orb +2 -1
  186. package/behaviors/registry/ui/core/atoms/std-graphs.orb +1 -1
  187. package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +81 -48
  188. package/behaviors/registry/ui/core/atoms/std-import.orb +2 -4
  189. package/behaviors/registry/ui/core/atoms/std-list.orb +58 -2
  190. package/behaviors/registry/ui/core/atoms/std-modal.orb +59 -3
  191. package/behaviors/registry/ui/core/atoms/std-pagination.orb +2 -1
  192. package/behaviors/registry/ui/core/atoms/std-rating-review.orb +158 -8
  193. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +283 -7
  194. package/behaviors/registry/ui/core/atoms/std-recurrence.orb +3 -2
  195. package/behaviors/registry/ui/core/atoms/std-saved-search.orb +72 -43
  196. package/behaviors/registry/ui/core/atoms/std-scatter.orb +1 -1
  197. package/behaviors/registry/ui/core/atoms/std-search.orb +2 -1
  198. package/behaviors/registry/ui/core/atoms/std-signature-capture.orb +63 -39
  199. package/behaviors/registry/ui/core/atoms/std-tag-strip.orb +139 -97
  200. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +57 -40
  201. package/behaviors/registry/ui/core/atoms/std-thread.orb +296 -109
  202. package/behaviors/registry/ui/core/atoms/std-tree.orb +20 -2
  203. package/behaviors/registry/ui/core/atoms/std-version-history.orb +147 -58
  204. package/behaviors/registry/ui/core/atoms/std-vote.orb +4 -29
  205. package/behaviors/registry/ui/core/atoms/std-wizard.orb +3 -2
  206. package/behaviors/registry/ui/core/atoms/ui-avatar.orb +2 -2
  207. package/behaviors/registry/ui/core/atoms/ui-badge.orb +1 -1
  208. package/behaviors/registry/ui/core/atoms/ui-box.orb +2 -2
  209. package/behaviors/registry/ui/core/atoms/ui-button.orb +1 -1
  210. package/behaviors/registry/ui/core/atoms/ui-card.orb +1 -1
  211. package/behaviors/registry/ui/core/atoms/ui-checkbox.orb +1 -1
  212. package/behaviors/registry/ui/core/atoms/ui-day-cell.orb +1 -1
  213. package/behaviors/registry/ui/core/atoms/ui-filter-pill.orb +5 -4
  214. package/behaviors/registry/ui/core/atoms/ui-flip-container.orb +1 -1
  215. package/behaviors/registry/ui/core/atoms/ui-hstack.orb +1 -1
  216. package/behaviors/registry/ui/core/atoms/ui-infinite-scroll-sentinel.orb +1 -1
  217. package/behaviors/registry/ui/core/atoms/ui-input.orb +3 -3
  218. package/behaviors/registry/ui/core/atoms/ui-overlay.orb +1 -1
  219. package/behaviors/registry/ui/core/atoms/ui-radio.orb +1 -1
  220. package/behaviors/registry/ui/core/atoms/ui-range-slider.orb +2 -2
  221. package/behaviors/registry/ui/core/atoms/ui-select.orb +3 -3
  222. package/behaviors/registry/ui/core/atoms/ui-stack.orb +1 -1
  223. package/behaviors/registry/ui/core/atoms/ui-switch.orb +1 -1
  224. package/behaviors/registry/ui/core/atoms/ui-text-highlight.orb +5 -5
  225. package/behaviors/registry/ui/core/atoms/ui-textarea.orb +2 -2
  226. package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +1 -1
  227. package/behaviors/registry/ui/core/atoms/ui-typewriter-text.orb +1 -1
  228. package/behaviors/registry/ui/core/atoms/ui-vstack.orb +1 -1
  229. package/behaviors/registry/ui/core/molecules/ui-accordion.orb +2 -2
  230. package/behaviors/registry/ui/core/molecules/ui-alert.orb +3 -3
  231. package/behaviors/registry/ui/core/molecules/ui-branching-logic-builder.orb +2 -2
  232. package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +2 -2
  233. package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +6 -6
  234. package/behaviors/registry/ui/core/molecules/ui-carousel.orb +1 -1
  235. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +1 -1
  236. package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +2 -2
  237. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +3 -3
  238. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +7 -7
  239. package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +2 -2
  240. package/behaviors/registry/ui/core/molecules/ui-date-range-selector.orb +1 -1
  241. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +2 -2
  242. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +5 -5
  243. package/behaviors/registry/ui/core/molecules/ui-drawer.orb +3 -2
  244. package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +1 -1
  245. package/behaviors/registry/ui/core/molecules/ui-empty-state.orb +2 -2
  246. package/behaviors/registry/ui/core/molecules/ui-error-state.orb +2 -2
  247. package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +3 -3
  248. package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +4 -4
  249. package/behaviors/registry/ui/core/molecules/ui-flip-card.orb +1 -1
  250. package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +2 -2
  251. package/behaviors/registry/ui/core/molecules/ui-form-section-header.orb +1 -1
  252. package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +5 -5
  253. package/behaviors/registry/ui/core/molecules/ui-graph-view.orb +2 -2
  254. package/behaviors/registry/ui/core/molecules/ui-header.orb +4 -4
  255. package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +2 -2
  256. package/behaviors/registry/ui/core/molecules/ui-import-source-picker.orb +1 -1
  257. package/behaviors/registry/ui/core/molecules/ui-input-group.orb +3 -3
  258. package/behaviors/registry/ui/core/molecules/ui-lightbox.orb +2 -2
  259. package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +2 -2
  260. package/behaviors/registry/ui/core/molecules/ui-map-view.orb +4 -4
  261. package/behaviors/registry/ui/core/molecules/ui-matrix-question.orb +2 -2
  262. package/behaviors/registry/ui/core/molecules/ui-modal.orb +4 -3
  263. package/behaviors/registry/ui/core/molecules/ui-notification.orb +4 -4
  264. package/behaviors/registry/ui/core/molecules/ui-number-stepper.orb +2 -2
  265. package/behaviors/registry/ui/core/molecules/ui-option-constraint-group.orb +2 -2
  266. package/behaviors/registry/ui/core/molecules/ui-orbital-visualization.orb +1 -1
  267. package/behaviors/registry/ui/core/molecules/ui-page-header.orb +2 -2
  268. package/behaviors/registry/ui/core/molecules/ui-pagination.orb +5 -4
  269. package/behaviors/registry/ui/core/molecules/ui-popover.orb +1 -1
  270. package/behaviors/registry/ui/core/molecules/ui-positioned-canvas.orb +4 -4
  271. package/behaviors/registry/ui/core/molecules/ui-progress-dots.orb +1 -1
  272. package/behaviors/registry/ui/core/molecules/ui-pull-to-refresh.orb +1 -1
  273. package/behaviors/registry/ui/core/molecules/ui-qr-scanner.orb +2 -2
  274. package/behaviors/registry/ui/core/molecules/ui-relation-select.orb +1 -1
  275. package/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +3 -3
  276. package/behaviors/registry/ui/core/molecules/ui-reply-tree.orb +8 -8
  277. package/behaviors/registry/ui/core/molecules/ui-rich-text-editor.orb +3 -2
  278. package/behaviors/registry/ui/core/molecules/ui-search-input.orb +2 -2
  279. package/behaviors/registry/ui/core/molecules/ui-side-panel.orb +3 -2
  280. package/behaviors/registry/ui/core/molecules/ui-sidebar.orb +3 -3
  281. package/behaviors/registry/ui/core/molecules/ui-signature-pad.orb +3 -3
  282. package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +1 -1
  283. package/behaviors/registry/ui/core/molecules/ui-star-rating.orb +2 -2
  284. package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +2 -2
  285. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +4 -4
  286. package/behaviors/registry/ui/core/molecules/ui-tabs.orb +2 -2
  287. package/behaviors/registry/ui/core/molecules/ui-tag-input.orb +3 -3
  288. package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +1 -1
  289. package/behaviors/registry/ui/core/molecules/ui-version-diff.orb +6 -6
  290. package/behaviors/registry/ui/core/molecules/ui-violation-alert.orb +2 -2
  291. package/behaviors/registry/ui/core/molecules/ui-vote-stack.orb +2 -2
  292. package/behaviors/registry/ui/core/molecules/ui-wizard-container.orb +5 -5
  293. package/behaviors/registry/ui/core/molecules/ui-wizard-navigation.orb +6 -6
  294. package/behaviors/registry/ui/core/molecules/ui-wizard-progress.orb +2 -2
  295. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +1 -1
  296. package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +1 -1
  297. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +3 -3
  298. package/behaviors/registry/ui/core/organisms/ui-form.orb +3 -3
  299. package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +1 -1
  300. package/behaviors/registry/ui/core/organisms/ui-subagent-trace-panel.orb +1 -1
  301. package/behaviors/registry/ui/core/organisms/ui-tabbed-container.orb +1 -1
  302. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +1 -1
  303. package/behaviors/registry/ui/core/templates/ui-counter-template.orb +6 -6
  304. package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +6 -6
  305. package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +4 -4
  306. package/behaviors/registry/ui/game/atoms/ui-canvas.orb +5 -5
  307. package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +2 -2
  308. package/behaviors/registry/ui/game/atoms/ui-control-button.orb +4 -4
  309. package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +4 -4
  310. package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +1 -1
  311. package/behaviors/registry/ui/game/atoms/ui-sequence-bar.orb +4 -4
  312. package/behaviors/registry/ui/game/atoms/ui-state-graph.orb +1 -1
  313. package/behaviors/registry/ui/game/atoms/ui-trait-slot.orb +8 -7
  314. package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +4 -8
  315. package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +3 -6
  316. package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +5 -10
  317. package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +4 -8
  318. package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +4 -8
  319. package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +4 -8
  320. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +7 -13
  321. package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +4 -8
  322. package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +3 -6
  323. package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +2 -2
  324. package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +1 -1
  325. package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +1 -1
  326. package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +1 -1
  327. package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +2 -2
  328. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +1 -1
  329. package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +1 -1
  330. package/behaviors/registry/ui/marketing/atoms/std-marketing-article.orb +1 -2
  331. package/behaviors/registry/ui/marketing/atoms/std-marketing-footer.orb +1 -2
  332. package/behaviors/registry/ui/marketing/atoms/std-marketing-split.orb +1 -2
  333. package/behaviors/registry/ui/marketing/atoms/std-marketing-stats.orb +1 -2
  334. package/behaviors/registry/ui/marketing/atoms/std-marketing-steps.orb +1 -2
  335. package/behaviors/registry/ui/marketing/atoms/std-marketing-team.orb +1 -2
  336. package/canonical-operators.json +37 -23
  337. package/dist/behaviors/exports-reader.js +2326 -885
  338. package/dist/behaviors/functions/index.d.ts +109 -45
  339. package/dist/behaviors/functions/index.js +2326 -885
  340. package/dist/behaviors/index.d.ts +1 -1
  341. package/dist/behaviors/index.js +2326 -885
  342. package/dist/behaviors/query.js +2326 -885
  343. package/dist/behaviors-embeddings.hash.json +3 -3
  344. package/dist/behaviors-embeddings.json +7 -7
  345. package/dist/behaviors-registry.json +11 -9
  346. package/dist/index.d.ts +1 -1
  347. package/dist/index.js +2326 -885
  348. package/dist/knob-embeddings.hash.json +3 -3
  349. package/dist/knob-embeddings.json +1 -1
  350. package/dist/registry/factory-signatures.json +1 -1
  351. package/package.json +2 -2
@@ -78,11 +78,11 @@ orbital ChoiceButtonOrbital {
78
78
  @label "Selected"
79
79
  @description "Whether the choice is currently selected"
80
80
  @tier "presentation"
81
- onClick : string = "CLICK"
81
+ onClick : event = "CLICK"
82
82
  @label "On Click"
83
83
  @description "Click handler"
84
84
  @tier "presentation"
85
- action : string = "ACTION"
85
+ action : event = "ACTION"
86
86
  @label "Action"
87
87
  @description "Declarative event name — emits UI:{action} via eventBus on click"
88
88
  @tier "presentation"
@@ -81,19 +81,19 @@ orbital ControlButtonOrbital {
81
81
  @label "Variant"
82
82
  @description "Visual variant"
83
83
  @tier "presentation"
84
- onPress : string = "PRESS"
84
+ onPress : event = "PRESS"
85
85
  @label "On Press"
86
86
  @description "Called when button is pressed"
87
87
  @tier "presentation"
88
- onRelease : string = "RELEASE"
88
+ onRelease : event = "RELEASE"
89
89
  @label "On Release"
90
90
  @description "Called when button is released"
91
91
  @tier "presentation"
92
- pressEvent : string = "PRESS"
92
+ pressEvent : event = "PRESS"
93
93
  @label "Press Event"
94
94
  @description "Declarative event name emitted on press via useEventBus"
95
95
  @tier "presentation"
96
- releaseEvent : string = "RELEASE"
96
+ releaseEvent : event = "RELEASE"
97
97
  @label "Release Event"
98
98
  @description "Declarative event name emitted on release via useEventBus"
99
99
  @tier "presentation"
@@ -98,19 +98,19 @@ orbital ControlGridOrbital {
98
98
  @label "Include Diagonals"
99
99
  @description "Whether to include diagonal buttons (kind='dpad')"
100
100
  @tier "presentation"
101
- onAction : string = "ACTION"
101
+ onAction : event = "ACTION"
102
102
  @label "On Action"
103
103
  @description "Called when a button/direction is pressed or released"
104
104
  @tier "presentation"
105
- actionEvent : string = "ACTION"
105
+ actionEvent : event = "ACTION"
106
106
  @label "Action Event"
107
107
  @description "Event-bus event emitted with `{ id, pressed }` on press/release"
108
108
  @tier "presentation"
109
- onDirection : string = "DIRECTION"
109
+ onDirection : event = "DIRECTION"
110
110
  @label "On Direction"
111
111
  @description "Called when a direction is pressed or released (kind='dpad' convenience overload)"
112
112
  @tier "presentation"
113
- directionEvent : string = "DIRECTION"
113
+ directionEvent : event = "DIRECTION"
114
114
  @label "Direction Event"
115
115
  @description "Event-bus event emitted with `{ direction, pressed }` (kind='dpad')"
116
116
  @tier "presentation"
@@ -93,7 +93,7 @@ orbital GameMenuOrbital {
93
93
  @label "Menu Items"
94
94
  @description "Alias for options (schema compatibility)"
95
95
  @tier "presentation"
96
- onSelect : string = "SELECT"
96
+ onSelect : event = "SELECT"
97
97
  @label "On Select"
98
98
  @description "Called when an option is selected (legacy callback, prefer event bus)"
99
99
  @tier "presentation"
@@ -104,19 +104,19 @@ orbital SequenceBarOrbital {
104
104
  @label "Max Slots"
105
105
  @description "Max number of slots"
106
106
  @tier "presentation"
107
- onSlotDrop : string = "SLOT_DROP"
107
+ onSlotDrop : event = "SLOT_DROP"
108
108
  @label "On Slot Drop"
109
109
  @description "Called when an item is dropped into slot at index (callback path)"
110
110
  @tier "presentation"
111
- onSlotRemove : string = "SLOT_REMOVE"
111
+ onSlotRemove : event = "SLOT_REMOVE"
112
112
  @label "On Slot Remove"
113
113
  @description "Called when a slot is cleared (callback path)"
114
114
  @tier "presentation"
115
- slotDropEvent : string = "SLOT_DROP"
115
+ slotDropEvent : event = "SLOT_DROP"
116
116
  @label "Slot Drop Event"
117
117
  @description "Emits UI:{slotDropEvent} with { slotNumber, itemId } when an item is dropped (declarative path)"
118
118
  @tier "presentation"
119
- slotRemoveEvent : string = "SLOT_REMOVE"
119
+ slotRemoveEvent : event = "SLOT_REMOVE"
120
120
  @label "Slot Remove Event"
121
121
  @description "Emits UI:{slotRemoveEvent} with { slotNumber } when a slot is cleared (declarative path)"
122
122
  @tier "presentation"
@@ -73,7 +73,7 @@ orbital StateGraphOrbital {
73
73
  @label "Height"
74
74
  @description "Graph canvas height."
75
75
  @tier "presentation"
76
- nodeClickEvent : string = "NODE_CLICK"
76
+ nodeClickEvent : event = "NODE_CLICK"
77
77
  @label "Node Click Event"
78
78
  @description "Emits UI:{nodeClickEvent} with { stateId } when a node is clicked."
79
79
  @tier "presentation"
@@ -267,7 +267,7 @@ orbital TraitSlotOrbital {
267
267
  @label "Error"
268
268
  @description "Error state"
269
269
  @tier "presentation"
270
- onItemDrop : string = "ITEM_DROP"
270
+ onItemDrop : event = "ITEM_DROP"
271
271
  @label "On Item Drop"
272
272
  @description "-- Drag and drop --"
273
273
  @tier "presentation"
@@ -275,7 +275,7 @@ orbital TraitSlotOrbital {
275
275
  @label "Draggable"
276
276
  @description "Whether this slot's equipped item is draggable"
277
277
  @tier "presentation"
278
- onDragStart : string = "DRAG_START"
278
+ onDragStart : event = "DRAG_START"
279
279
  @label "On Drag Start"
280
280
  @description "Called when drag starts from this slot"
281
281
  @tier "presentation"
@@ -283,23 +283,23 @@ orbital TraitSlotOrbital {
283
283
  @label "Feedback"
284
284
  @description "Per-slot correctness feedback after a failed attempt"
285
285
  @tier "presentation"
286
- onClick : string = "CLICK"
286
+ onClick : event = "CLICK"
287
287
  @label "On Click"
288
288
  @description "-- Callbacks --"
289
289
  @tier "presentation"
290
- onRemove : string = ""
290
+ onRemove : event = ""
291
291
  @label "On Remove"
292
292
  @description "Remove handler"
293
293
  @tier "presentation"
294
- clickEvent : string = "CLICK"
294
+ clickEvent : event = "CLICK"
295
295
  @label "Click Event"
296
296
  @description "-- Declarative events --"
297
297
  @tier "presentation"
298
- removeEvent : string = ""
298
+ removeEvent : event = ""
299
299
  @label "Remove Event"
300
300
  @description "Emits UI:{removeEvent} with { slotNumber }"
301
301
  @tier "presentation"
302
- dropEvent : string = "DROP"
302
+ dropEvent : event = "DROP"
303
303
  @label "Drop Event"
304
304
  @description "Emits UI:{dropEvent} with { slotNumber, itemId } when an item is dropped into this slot"
305
305
  @tier "presentation"
@@ -417,7 +417,7 @@ orbital TacticsBoard2DOrbital {
417
417
  @label "Extra Addon Buttons"
418
418
  @description "Board-specific action buttons appended after End Turn/Cancel (e.g. Produce). The action names events listened by composed mechanic atoms."
419
419
  @tier "presentation"
420
- extraAddonEvent : string = ""
420
+ extraAddonEvent : event = ""
421
421
  @label "Extra Addon Event"
422
422
  @description "Event name used by an `extraAddons` button's `action` literal (e.g. \"PRODUCE\"). Set this to the same value so the trait's own event set declares it."
423
423
  @tier "domain"
@@ -169,11 +169,11 @@ orbital AlgoGraphCanvasOrbital {
169
169
  @label "Animate"
170
170
  @description "animate prop"
171
171
  @tier "presentation"
172
- onShapeClick : string = "SHAPE_CLICK"
172
+ onShapeClick : event = "SHAPE_CLICK"
173
173
  @label "On Shape Click"
174
174
  @description "onShapeClick prop"
175
175
  @tier "presentation"
176
- onNodeClick : string = "NODE_CLICK"
176
+ onNodeClick : event = "NODE_CLICK"
177
177
  @label "On Node Click"
178
178
  @description "Fires when a node circle is clicked, alongside `onShapeClick`."
179
179
  @tier "presentation"
@@ -281,7 +281,7 @@ orbital AlgorithmCanvasOrbital {
281
281
  @label "Animate"
282
282
  @description "animate prop"
283
283
  @tier "presentation"
284
- onShapeClick : string = "SHAPE_CLICK"
284
+ onShapeClick : event = "SHAPE_CLICK"
285
285
  @label "On Shape Click"
286
286
  @description "onShapeClick prop"
287
287
  @tier "presentation"
@@ -351,7 +351,7 @@ orbital BiologyCanvasOrbital {
351
351
  @label "Animate"
352
352
  @description "2D only: continuous redraw loop. 3D motion is entity-state driven."
353
353
  @tier "presentation"
354
- onShapeClick : string = "SHAPE_CLICK"
354
+ onShapeClick : event = "SHAPE_CLICK"
355
355
  @label "On Shape Click"
356
356
  @description "onShapeClick prop"
357
357
  @tier "presentation"
@@ -345,7 +345,7 @@ orbital ChemistryCanvasOrbital {
345
345
  @label "Animate"
346
346
  @description "2D only: continuous redraw loop. 3D motion is entity-state driven."
347
347
  @tier "presentation"
348
- onShapeClick : string = "SHAPE_CLICK"
348
+ onShapeClick : event = "SHAPE_CLICK"
349
349
  @label "On Shape Click"
350
350
  @description "onShapeClick prop"
351
351
  @tier "presentation"
@@ -187,11 +187,11 @@ orbital LearningCanvasOrbital {
187
187
  @label "Animate"
188
188
  @description "Enable continuous redraw loop."
189
189
  @tier "presentation"
190
- onShapeClick : string = "SHAPE_CLICK"
190
+ onShapeClick : event = "SHAPE_CLICK"
191
191
  @label "On Shape Click"
192
192
  @description "Clicked shape payload: { id?, type?, index }."
193
193
  @tier "presentation"
194
- onShapeHover : string = "SHAPE_HOVER"
194
+ onShapeHover : event = "SHAPE_HOVER"
195
195
  @label "On Shape Hover"
196
196
  @description "Hovered shape payload: { id?, type?, index }."
197
197
  @tier "presentation"
@@ -377,7 +377,7 @@ orbital MathCanvasOrbital {
377
377
  @label "Animate"
378
378
  @description "animate prop"
379
379
  @tier "presentation"
380
- onShapeClick : string = "SHAPE_CLICK"
380
+ onShapeClick : event = "SHAPE_CLICK"
381
381
  @label "On Shape Click"
382
382
  @description "onShapeClick prop"
383
383
  @tier "presentation"
@@ -426,7 +426,7 @@ orbital PhysicsCanvasOrbital {
426
426
  @label "Animate"
427
427
  @description "2D only: continuous redraw loop. 3D motion is entity-state driven."
428
428
  @tier "presentation"
429
- onShapeClick : string = "SHAPE_CLICK"
429
+ onShapeClick : event = "SHAPE_CLICK"
430
430
  @label "On Shape Click"
431
431
  @description "onShapeClick prop"
432
432
  @tier "presentation"
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "std-approval-gate — generic approval gate / approver workflow. Use when a user voices that an action must be reviewed, approved, signed off, or authorized by a privileged role before it proceeds (admin approval, supervisor sign-off, manager approval, gatekeeper review, editor approval, senior editor approval, reviewer approval, publishing approval, draft approval, content review, submit drafts then editors review and approve or reject, needs approval before going live, requires sign-off before publish). Persists ApprovalRequest rows + surfaces the PENDING ones in a review queue showing what is being approved and who asked, with Approve / Deny actions — Deny captures a written reason. approverRoles is ENFORCED by the review transitions themselves: an APPROVE/DENY from a viewer whose role is not listed does not fire. On approval emits ApprovalGranted; on denial emits ApprovalDenied (with the reason). Hosts that replay the gated action MUST route a failed replay back via APPROVAL_REPLAY_FAILED so the request reopens instead of being silently consumed. Compose onto any orbital whose action you want to gate: the target orbital emits an external event, an ApprovalRequest row is created (stamp subjectLabel/subjectId/requestedBy so reviewers see what they are judging), and downstream effects wait on ApprovalGranted. Differs from std-mod-queue, which is content-moderation-specific.",
2
+ "description": "std-approval-gate — generic approval gate / approver workflow. Use when a user voices that an action must be reviewed, approved, signed off, or authorized by a privileged role before it proceeds (admin approval, supervisor sign-off, manager approval, gatekeeper review, editor approval, senior editor approval, reviewer approval, publishing approval, draft approval, content review, submit drafts then editors review and approve or reject, needs approval before going live, requires sign-off before publish). Persists ApprovalRequest rows + surfaces the PENDING ones in a review queue showing what is being approved and who asked, with Approve / Deny actions — Deny captures a written reason. approverRoles is ENFORCED by the review transitions themselves: an APPROVE/DENY from a viewer whose role is not listed does not fire. blockSelfApproval additionally stops a reviewer approving their own request (four-eyes) — DENY stays allowed as self-withdrawal. On approval emits ApprovalGranted; on denial emits ApprovalDenied (with the reason). Hosts that replay the gated action MUST route a failed replay back via APPROVAL_REPLAY_FAILED so the request reopens instead of being silently consumed. Compose onto any orbital whose action you want to gate: the target orbital emits an external event, an ApprovalRequest row is created (stamp subjectLabel/subjectId/requestedBy so reviewers see what they are judging), and downstream effects wait on ApprovalGranted. Differs from std-mod-queue, which is content-moderation-specific.",
3
3
  "ledger": {
4
4
  "entries": {
5
5
  "ent_01KXG04EYQFWN6TM97JNWHHSF4": {
@@ -560,6 +560,14 @@
560
560
  "tier": "policy",
561
561
  "type": "boolean"
562
562
  },
563
+ "blockSelfApproval": {
564
+ "default": false,
565
+ "description": "When on, a reviewer cannot APPROVE a request they submitted themselves (requestedBy = the viewer's id) — enforced by the APPROVE transition guard, from the button or from the bus. Requires hosts to stamp requestedBy at request creation. DENY stays allowed on your own request (denying your own request withdraws it). Off by default.",
566
+ "label": "Block approving your own requests?",
567
+ "synonyms": "self approval, self-approval, four eyes, four-eyes, separation of duties, cannot approve own, no self sign-off, dual control",
568
+ "tier": "policy",
569
+ "type": "boolean"
570
+ },
563
571
  "enabled": {
564
572
  "default": false,
565
573
  "description": "Require sign-off before a record is finalized. Off by default.",
@@ -905,65 +913,11 @@
905
913
  "eventId": "evt_01KXG04EZ0XXBA89NVB97J1NAM",
906
914
  "payloadSchema": [
907
915
  {
908
- "name": "row",
909
- "properties": [
910
- {
911
- "name": "id",
912
- "required": true,
913
- "type": "string"
914
- },
915
- {
916
- "name": "gatedEvent",
917
- "type": "string"
918
- },
919
- {
920
- "name": "subjectLabel",
921
- "type": "string"
922
- },
923
- {
924
- "name": "subjectId",
925
- "type": "string"
926
- },
927
- {
928
- "name": "requestedBy",
929
- "type": "string"
930
- },
931
- {
932
- "name": "requestedByName",
933
- "type": "string"
934
- },
935
- {
936
- "name": "status",
937
- "type": "string"
938
- },
939
- {
940
- "name": "reviewer",
941
- "type": "string"
942
- },
943
- {
944
- "name": "requestedAt",
945
- "type": "number"
946
- },
947
- {
948
- "name": "decidedAt",
949
- "type": "number"
950
- },
951
- {
952
- "name": "escalatedAt",
953
- "type": "number"
954
- },
955
- {
956
- "name": "notes",
957
- "type": "string"
958
- },
959
- {
960
- "name": "payload",
961
- "type": "object"
962
- }
963
- ],
964
- "type": "object"
916
+ "name": "value",
917
+ "type": "@entity"
965
918
  }
966
919
  ],
920
+ "scope": "internal",
967
921
  "synonyms": "reviewed, processed, examined",
968
922
  "tier": "internal"
969
923
  },
@@ -1104,7 +1058,62 @@
1104
1058
  },
1105
1059
  {
1106
1060
  "name": "row",
1107
- "type": "ApprovalRequest"
1061
+ "properties": [
1062
+ {
1063
+ "name": "id",
1064
+ "required": true,
1065
+ "type": "string"
1066
+ },
1067
+ {
1068
+ "name": "gatedEvent",
1069
+ "type": "string"
1070
+ },
1071
+ {
1072
+ "name": "subjectLabel",
1073
+ "type": "string"
1074
+ },
1075
+ {
1076
+ "name": "subjectId",
1077
+ "type": "string"
1078
+ },
1079
+ {
1080
+ "name": "requestedBy",
1081
+ "type": "string"
1082
+ },
1083
+ {
1084
+ "name": "requestedByName",
1085
+ "type": "string"
1086
+ },
1087
+ {
1088
+ "name": "status",
1089
+ "type": "string"
1090
+ },
1091
+ {
1092
+ "name": "reviewer",
1093
+ "type": "string"
1094
+ },
1095
+ {
1096
+ "name": "requestedAt",
1097
+ "type": "number"
1098
+ },
1099
+ {
1100
+ "name": "decidedAt",
1101
+ "type": "number"
1102
+ },
1103
+ {
1104
+ "name": "escalatedAt",
1105
+ "type": "number"
1106
+ },
1107
+ {
1108
+ "name": "notes",
1109
+ "type": "string"
1110
+ },
1111
+ {
1112
+ "name": "payload",
1113
+ "type": "object"
1114
+ }
1115
+ ],
1116
+ "type": "object"
1108
1117
  }
1109
1118
  ],
1110
1119
  "synonyms": "accept, authorize, confirm, pass",
@@ -1123,7 +1132,62 @@
1123
1132
  },
1124
1133
  {
1125
1134
  "name": "row",
1126
- "type": "ApprovalRequest"
1135
+ "properties": [
1136
+ {
1137
+ "name": "id",
1138
+ "required": true,
1139
+ "type": "string"
1140
+ },
1141
+ {
1142
+ "name": "gatedEvent",
1143
+ "type": "string"
1144
+ },
1145
+ {
1146
+ "name": "subjectLabel",
1147
+ "type": "string"
1148
+ },
1149
+ {
1150
+ "name": "subjectId",
1151
+ "type": "string"
1152
+ },
1153
+ {
1154
+ "name": "requestedBy",
1155
+ "type": "string"
1156
+ },
1157
+ {
1158
+ "name": "requestedByName",
1159
+ "type": "string"
1160
+ },
1161
+ {
1162
+ "name": "status",
1163
+ "type": "string"
1164
+ },
1165
+ {
1166
+ "name": "reviewer",
1167
+ "type": "string"
1168
+ },
1169
+ {
1170
+ "name": "requestedAt",
1171
+ "type": "number"
1172
+ },
1173
+ {
1174
+ "name": "decidedAt",
1175
+ "type": "number"
1176
+ },
1177
+ {
1178
+ "name": "escalatedAt",
1179
+ "type": "number"
1180
+ },
1181
+ {
1182
+ "name": "notes",
1183
+ "type": "string"
1184
+ },
1185
+ {
1186
+ "name": "payload",
1187
+ "type": "object"
1188
+ }
1189
+ ],
1190
+ "type": "object"
1127
1191
  }
1128
1192
  ],
1129
1193
  "synonyms": "reject, decline",
@@ -1159,8 +1223,8 @@
1159
1223
  "name": "ApprovalRequest reviewed",
1160
1224
  "payloadSchema": [
1161
1225
  {
1162
- "name": "row",
1163
- "type": "ApprovalRequest"
1226
+ "name": "value",
1227
+ "type": "@entity"
1164
1228
  }
1165
1229
  ],
1166
1230
  "synonyms": "reviewed, processed, examined",
@@ -1569,19 +1633,39 @@
1569
1633
  "eventId": "evt_01KXG04EZ0H0D5WC8FJKBRGBQE",
1570
1634
  "from": "reviewing",
1571
1635
  "guard": [
1572
- "or",
1636
+ "and",
1573
1637
  [
1574
- "=",
1638
+ "or",
1575
1639
  [
1576
- "array/len",
1577
- "@config.approverRoles"
1640
+ "=",
1641
+ [
1642
+ "array/len",
1643
+ "@config.approverRoles"
1644
+ ],
1645
+ 0.0
1578
1646
  ],
1579
- 0.0
1647
+ [
1648
+ "array/includes",
1649
+ "@config.approverRoles",
1650
+ "@user.role"
1651
+ ]
1580
1652
  ],
1581
1653
  [
1582
- "array/includes",
1583
- "@config.approverRoles",
1584
- "@user.role"
1654
+ "or",
1655
+ [
1656
+ "=",
1657
+ "@config.blockSelfApproval",
1658
+ false
1659
+ ],
1660
+ [
1661
+ "!=",
1662
+ [
1663
+ "object/get",
1664
+ "@payload.row",
1665
+ "requestedBy"
1666
+ ],
1667
+ "@user.id"
1668
+ ]
1585
1669
  ]
1586
1670
  ],
1587
1671
  "to": "reviewing"