@almadar/std 16.192.0 → 16.194.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/lolo/infra/atoms/std-approval-gate.lolo +9 -3
  2. package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +8 -2
  3. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +1 -1
  4. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +1 -1
  5. package/behaviors/lolo/ui/core/atoms/std-date-range.lolo +1 -1
  6. package/behaviors/lolo/ui/core/atoms/std-detail-layout.lolo +3 -3
  7. package/behaviors/lolo/ui/core/atoms/std-filter.lolo +1 -1
  8. package/behaviors/lolo/ui/core/atoms/std-geosearch.lolo +1 -1
  9. package/behaviors/lolo/ui/core/atoms/std-graphs.lolo +1 -1
  10. package/behaviors/lolo/ui/core/atoms/std-modal.lolo +1 -1
  11. package/behaviors/lolo/ui/core/atoms/std-pagination.lolo +1 -1
  12. package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +13 -2
  13. package/behaviors/lolo/ui/core/atoms/std-scatter.lolo +1 -1
  14. package/behaviors/lolo/ui/core/atoms/std-search.lolo +1 -1
  15. package/behaviors/lolo/ui/core/atoms/std-tag-strip.lolo +319 -0
  16. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +27 -17
  17. package/behaviors/lolo/ui/core/atoms/std-thread.lolo +91 -28
  18. package/behaviors/lolo/ui/core/atoms/std-tree.lolo +106 -14
  19. package/behaviors/lolo/ui/core/atoms/ui-avatar.lolo +2 -2
  20. package/behaviors/lolo/ui/core/atoms/ui-badge.lolo +1 -1
  21. package/behaviors/lolo/ui/core/atoms/ui-box.lolo +2 -2
  22. package/behaviors/lolo/ui/core/atoms/ui-button.lolo +1 -1
  23. package/behaviors/lolo/ui/core/atoms/ui-card.lolo +1 -1
  24. package/behaviors/lolo/ui/core/atoms/ui-checkbox.lolo +1 -1
  25. package/behaviors/lolo/ui/core/atoms/ui-day-cell.lolo +1 -1
  26. package/behaviors/lolo/ui/core/atoms/ui-filter-pill.lolo +4 -4
  27. package/behaviors/lolo/ui/core/atoms/ui-flip-container.lolo +1 -1
  28. package/behaviors/lolo/ui/core/atoms/ui-hstack.lolo +1 -1
  29. package/behaviors/lolo/ui/core/atoms/ui-infinite-scroll-sentinel.lolo +1 -1
  30. package/behaviors/lolo/ui/core/atoms/ui-input.lolo +3 -3
  31. package/behaviors/lolo/ui/core/atoms/ui-overlay.lolo +1 -1
  32. package/behaviors/lolo/ui/core/atoms/ui-radio.lolo +1 -1
  33. package/behaviors/lolo/ui/core/atoms/ui-range-slider.lolo +2 -2
  34. package/behaviors/lolo/ui/core/atoms/ui-select.lolo +3 -3
  35. package/behaviors/lolo/ui/core/atoms/ui-stack.lolo +1 -1
  36. package/behaviors/lolo/ui/core/atoms/ui-switch.lolo +1 -1
  37. package/behaviors/lolo/ui/core/atoms/ui-text-highlight.lolo +5 -5
  38. package/behaviors/lolo/ui/core/atoms/ui-textarea.lolo +2 -2
  39. package/behaviors/lolo/ui/core/atoms/ui-time-slot-cell.lolo +1 -1
  40. package/behaviors/lolo/ui/core/atoms/ui-typewriter-text.lolo +1 -1
  41. package/behaviors/lolo/ui/core/atoms/ui-vstack.lolo +1 -1
  42. package/behaviors/lolo/ui/core/molecules/ui-accordion.lolo +2 -2
  43. package/behaviors/lolo/ui/core/molecules/ui-alert.lolo +3 -3
  44. package/behaviors/lolo/ui/core/molecules/ui-branching-logic-builder.lolo +2 -2
  45. package/behaviors/lolo/ui/core/molecules/ui-breadcrumb.lolo +2 -2
  46. package/behaviors/lolo/ui/core/molecules/ui-calendar-grid.lolo +6 -6
  47. package/behaviors/lolo/ui/core/molecules/ui-carousel.lolo +1 -1
  48. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +1 -1
  49. package/behaviors/lolo/ui/core/molecules/ui-confirm-dialog.lolo +2 -2
  50. package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +3 -3
  51. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +7 -7
  52. package/behaviors/lolo/ui/core/molecules/ui-date-range-picker.lolo +2 -2
  53. package/behaviors/lolo/ui/core/molecules/ui-date-range-selector.lolo +1 -1
  54. package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +2 -2
  55. package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +5 -5
  56. package/behaviors/lolo/ui/core/molecules/ui-drawer.lolo +2 -2
  57. package/behaviors/lolo/ui/core/molecules/ui-emoji-picker.lolo +1 -1
  58. package/behaviors/lolo/ui/core/molecules/ui-empty-state.lolo +2 -2
  59. package/behaviors/lolo/ui/core/molecules/ui-error-state.lolo +2 -2
  60. package/behaviors/lolo/ui/core/molecules/ui-file-tree.lolo +27 -2
  61. package/behaviors/lolo/ui/core/molecules/ui-filter-group.lolo +4 -4
  62. package/behaviors/lolo/ui/core/molecules/ui-flip-card.lolo +1 -1
  63. package/behaviors/lolo/ui/core/molecules/ui-floating-action-button.lolo +2 -2
  64. package/behaviors/lolo/ui/core/molecules/ui-form-section-header.lolo +1 -1
  65. package/behaviors/lolo/ui/core/molecules/ui-graph-canvas.lolo +5 -5
  66. package/behaviors/lolo/ui/core/molecules/ui-graph-view.lolo +2 -2
  67. package/behaviors/lolo/ui/core/molecules/ui-header.lolo +4 -4
  68. package/behaviors/lolo/ui/core/molecules/ui-import-preview-tree.lolo +2 -2
  69. package/behaviors/lolo/ui/core/molecules/ui-import-source-picker.lolo +1 -1
  70. package/behaviors/lolo/ui/core/molecules/ui-input-group.lolo +3 -3
  71. package/behaviors/lolo/ui/core/molecules/ui-lightbox.lolo +2 -2
  72. package/behaviors/lolo/ui/core/molecules/ui-likert-scale.lolo +2 -2
  73. package/behaviors/lolo/ui/core/molecules/ui-map-view.lolo +4 -4
  74. package/behaviors/lolo/ui/core/molecules/ui-matrix-question.lolo +2 -2
  75. package/behaviors/lolo/ui/core/molecules/ui-modal.lolo +3 -3
  76. package/behaviors/lolo/ui/core/molecules/ui-notification.lolo +4 -4
  77. package/behaviors/lolo/ui/core/molecules/ui-number-stepper.lolo +2 -2
  78. package/behaviors/lolo/ui/core/molecules/ui-option-constraint-group.lolo +2 -2
  79. package/behaviors/lolo/ui/core/molecules/ui-orbital-visualization.lolo +1 -1
  80. package/behaviors/lolo/ui/core/molecules/ui-page-header.lolo +2 -2
  81. package/behaviors/lolo/ui/core/molecules/ui-pagination.lolo +4 -4
  82. package/behaviors/lolo/ui/core/molecules/ui-popover.lolo +1 -1
  83. package/behaviors/lolo/ui/core/molecules/ui-positioned-canvas.lolo +4 -4
  84. package/behaviors/lolo/ui/core/molecules/ui-progress-dots.lolo +1 -1
  85. package/behaviors/lolo/ui/core/molecules/ui-pull-to-refresh.lolo +1 -1
  86. package/behaviors/lolo/ui/core/molecules/ui-qr-scanner.lolo +2 -2
  87. package/behaviors/lolo/ui/core/molecules/ui-relation-select.lolo +1 -1
  88. package/behaviors/lolo/ui/core/molecules/ui-repeatable-form-section.lolo +3 -3
  89. package/behaviors/lolo/ui/core/molecules/ui-reply-tree.lolo +8 -8
  90. package/behaviors/lolo/ui/core/molecules/ui-rich-text-editor.lolo +2 -2
  91. package/behaviors/lolo/ui/core/molecules/ui-search-input.lolo +2 -2
  92. package/behaviors/lolo/ui/core/molecules/ui-side-panel.lolo +2 -2
  93. package/behaviors/lolo/ui/core/molecules/ui-sidebar.lolo +3 -3
  94. package/behaviors/lolo/ui/core/molecules/ui-signature-pad.lolo +3 -3
  95. package/behaviors/lolo/ui/core/molecules/ui-sortable-list.lolo +1 -1
  96. package/behaviors/lolo/ui/core/molecules/ui-star-rating.lolo +2 -2
  97. package/behaviors/lolo/ui/core/molecules/ui-swipeable-row.lolo +2 -2
  98. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +4 -4
  99. package/behaviors/lolo/ui/core/molecules/ui-tabs.lolo +2 -2
  100. package/behaviors/lolo/ui/core/molecules/ui-tag-input.lolo +3 -3
  101. package/behaviors/lolo/ui/core/molecules/ui-upload-drop-zone.lolo +1 -1
  102. package/behaviors/lolo/ui/core/molecules/ui-version-diff.lolo +6 -6
  103. package/behaviors/lolo/ui/core/molecules/ui-violation-alert.lolo +2 -2
  104. package/behaviors/lolo/ui/core/molecules/ui-vote-stack.lolo +2 -2
  105. package/behaviors/lolo/ui/core/molecules/ui-wizard-container.lolo +5 -5
  106. package/behaviors/lolo/ui/core/molecules/ui-wizard-navigation.lolo +6 -6
  107. package/behaviors/lolo/ui/core/molecules/ui-wizard-progress.lolo +2 -2
  108. package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +1 -1
  109. package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +1 -1
  110. package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +3 -3
  111. package/behaviors/lolo/ui/core/organisms/ui-form.lolo +3 -3
  112. package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +1 -1
  113. package/behaviors/lolo/ui/core/organisms/ui-subagent-trace-panel.lolo +1 -1
  114. package/behaviors/lolo/ui/core/organisms/ui-tabbed-container.lolo +1 -1
  115. package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +1 -1
  116. package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +6 -6
  117. package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +11 -6
  118. package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +4 -4
  119. package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +5 -5
  120. package/behaviors/lolo/ui/game/atoms/ui-choice-button.lolo +2 -2
  121. package/behaviors/lolo/ui/game/atoms/ui-control-button.lolo +4 -4
  122. package/behaviors/lolo/ui/game/atoms/ui-control-grid.lolo +4 -4
  123. package/behaviors/lolo/ui/game/atoms/ui-game-menu.lolo +1 -1
  124. package/behaviors/lolo/ui/game/atoms/ui-sequence-bar.lolo +4 -4
  125. package/behaviors/lolo/ui/game/atoms/ui-state-graph.lolo +1 -1
  126. package/behaviors/lolo/ui/game/atoms/ui-trait-slot.lolo +7 -7
  127. package/behaviors/lolo/ui/game/organisms/std-tactics-board-2d.lolo +1 -1
  128. package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +2 -2
  129. package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +1 -1
  130. package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +1 -1
  131. package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +1 -1
  132. package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +2 -2
  133. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +1 -1
  134. package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +1 -1
  135. package/behaviors/registry/infra/atoms/std-approval-gate.orb +37 -9
  136. package/behaviors/registry/ui/core/atoms/std-app-layout.orb +12 -2
  137. package/behaviors/registry/ui/core/atoms/std-browse.orb +2 -1
  138. package/behaviors/registry/ui/core/atoms/std-calendar.orb +1 -1
  139. package/behaviors/registry/ui/core/atoms/std-date-range.orb +2 -1
  140. package/behaviors/registry/ui/core/atoms/std-detail-layout.orb +3 -3
  141. package/behaviors/registry/ui/core/atoms/std-filter.orb +2 -1
  142. package/behaviors/registry/ui/core/atoms/std-geosearch.orb +2 -1
  143. package/behaviors/registry/ui/core/atoms/std-graphs.orb +1 -1
  144. package/behaviors/registry/ui/core/atoms/std-modal.orb +5 -1
  145. package/behaviors/registry/ui/core/atoms/std-pagination.orb +2 -1
  146. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +38 -2
  147. package/behaviors/registry/ui/core/atoms/std-scatter.orb +1 -1
  148. package/behaviors/registry/ui/core/atoms/std-search.orb +2 -1
  149. package/behaviors/registry/ui/core/atoms/std-tag-strip.orb +1381 -0
  150. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +34 -18
  151. package/behaviors/registry/ui/core/atoms/std-thread.orb +296 -109
  152. package/behaviors/registry/ui/core/atoms/std-tree.orb +447 -68
  153. package/behaviors/registry/ui/core/atoms/ui-avatar.orb +2 -2
  154. package/behaviors/registry/ui/core/atoms/ui-badge.orb +1 -1
  155. package/behaviors/registry/ui/core/atoms/ui-box.orb +2 -2
  156. package/behaviors/registry/ui/core/atoms/ui-button.orb +1 -1
  157. package/behaviors/registry/ui/core/atoms/ui-card.orb +1 -1
  158. package/behaviors/registry/ui/core/atoms/ui-checkbox.orb +1 -1
  159. package/behaviors/registry/ui/core/atoms/ui-day-cell.orb +1 -1
  160. package/behaviors/registry/ui/core/atoms/ui-filter-pill.orb +5 -4
  161. package/behaviors/registry/ui/core/atoms/ui-flip-container.orb +1 -1
  162. package/behaviors/registry/ui/core/atoms/ui-hstack.orb +1 -1
  163. package/behaviors/registry/ui/core/atoms/ui-infinite-scroll-sentinel.orb +1 -1
  164. package/behaviors/registry/ui/core/atoms/ui-input.orb +3 -3
  165. package/behaviors/registry/ui/core/atoms/ui-overlay.orb +1 -1
  166. package/behaviors/registry/ui/core/atoms/ui-radio.orb +1 -1
  167. package/behaviors/registry/ui/core/atoms/ui-range-slider.orb +2 -2
  168. package/behaviors/registry/ui/core/atoms/ui-select.orb +3 -3
  169. package/behaviors/registry/ui/core/atoms/ui-stack.orb +1 -1
  170. package/behaviors/registry/ui/core/atoms/ui-switch.orb +1 -1
  171. package/behaviors/registry/ui/core/atoms/ui-text-highlight.orb +5 -5
  172. package/behaviors/registry/ui/core/atoms/ui-textarea.orb +2 -2
  173. package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +1 -1
  174. package/behaviors/registry/ui/core/atoms/ui-typewriter-text.orb +1 -1
  175. package/behaviors/registry/ui/core/atoms/ui-vstack.orb +1 -1
  176. package/behaviors/registry/ui/core/molecules/ui-accordion.orb +2 -2
  177. package/behaviors/registry/ui/core/molecules/ui-alert.orb +3 -3
  178. package/behaviors/registry/ui/core/molecules/ui-branching-logic-builder.orb +2 -2
  179. package/behaviors/registry/ui/core/molecules/ui-breadcrumb.orb +2 -2
  180. package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +6 -6
  181. package/behaviors/registry/ui/core/molecules/ui-carousel.orb +1 -1
  182. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +1 -1
  183. package/behaviors/registry/ui/core/molecules/ui-confirm-dialog.orb +2 -2
  184. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +3 -3
  185. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +7 -7
  186. package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +2 -2
  187. package/behaviors/registry/ui/core/molecules/ui-date-range-selector.orb +1 -1
  188. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +2 -2
  189. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +5 -5
  190. package/behaviors/registry/ui/core/molecules/ui-drawer.orb +3 -2
  191. package/behaviors/registry/ui/core/molecules/ui-emoji-picker.orb +1 -1
  192. package/behaviors/registry/ui/core/molecules/ui-empty-state.orb +2 -2
  193. package/behaviors/registry/ui/core/molecules/ui-error-state.orb +2 -2
  194. package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +42 -1
  195. package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +4 -4
  196. package/behaviors/registry/ui/core/molecules/ui-flip-card.orb +1 -1
  197. package/behaviors/registry/ui/core/molecules/ui-floating-action-button.orb +2 -2
  198. package/behaviors/registry/ui/core/molecules/ui-form-section-header.orb +1 -1
  199. package/behaviors/registry/ui/core/molecules/ui-graph-canvas.orb +5 -5
  200. package/behaviors/registry/ui/core/molecules/ui-graph-view.orb +2 -2
  201. package/behaviors/registry/ui/core/molecules/ui-header.orb +4 -4
  202. package/behaviors/registry/ui/core/molecules/ui-import-preview-tree.orb +2 -2
  203. package/behaviors/registry/ui/core/molecules/ui-import-source-picker.orb +1 -1
  204. package/behaviors/registry/ui/core/molecules/ui-input-group.orb +3 -3
  205. package/behaviors/registry/ui/core/molecules/ui-lightbox.orb +2 -2
  206. package/behaviors/registry/ui/core/molecules/ui-likert-scale.orb +2 -2
  207. package/behaviors/registry/ui/core/molecules/ui-map-view.orb +4 -4
  208. package/behaviors/registry/ui/core/molecules/ui-matrix-question.orb +2 -2
  209. package/behaviors/registry/ui/core/molecules/ui-modal.orb +4 -3
  210. package/behaviors/registry/ui/core/molecules/ui-notification.orb +4 -4
  211. package/behaviors/registry/ui/core/molecules/ui-number-stepper.orb +2 -2
  212. package/behaviors/registry/ui/core/molecules/ui-option-constraint-group.orb +2 -2
  213. package/behaviors/registry/ui/core/molecules/ui-orbital-visualization.orb +1 -1
  214. package/behaviors/registry/ui/core/molecules/ui-page-header.orb +2 -2
  215. package/behaviors/registry/ui/core/molecules/ui-pagination.orb +5 -4
  216. package/behaviors/registry/ui/core/molecules/ui-popover.orb +1 -1
  217. package/behaviors/registry/ui/core/molecules/ui-positioned-canvas.orb +4 -4
  218. package/behaviors/registry/ui/core/molecules/ui-progress-dots.orb +1 -1
  219. package/behaviors/registry/ui/core/molecules/ui-pull-to-refresh.orb +1 -1
  220. package/behaviors/registry/ui/core/molecules/ui-qr-scanner.orb +2 -2
  221. package/behaviors/registry/ui/core/molecules/ui-relation-select.orb +1 -1
  222. package/behaviors/registry/ui/core/molecules/ui-repeatable-form-section.orb +3 -3
  223. package/behaviors/registry/ui/core/molecules/ui-reply-tree.orb +8 -8
  224. package/behaviors/registry/ui/core/molecules/ui-rich-text-editor.orb +3 -2
  225. package/behaviors/registry/ui/core/molecules/ui-search-input.orb +2 -2
  226. package/behaviors/registry/ui/core/molecules/ui-side-panel.orb +3 -2
  227. package/behaviors/registry/ui/core/molecules/ui-sidebar.orb +3 -3
  228. package/behaviors/registry/ui/core/molecules/ui-signature-pad.orb +3 -3
  229. package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +1 -1
  230. package/behaviors/registry/ui/core/molecules/ui-star-rating.orb +2 -2
  231. package/behaviors/registry/ui/core/molecules/ui-swipeable-row.orb +2 -2
  232. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +4 -4
  233. package/behaviors/registry/ui/core/molecules/ui-tabs.orb +2 -2
  234. package/behaviors/registry/ui/core/molecules/ui-tag-input.orb +3 -3
  235. package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +1 -1
  236. package/behaviors/registry/ui/core/molecules/ui-version-diff.orb +6 -6
  237. package/behaviors/registry/ui/core/molecules/ui-violation-alert.orb +2 -2
  238. package/behaviors/registry/ui/core/molecules/ui-vote-stack.orb +2 -2
  239. package/behaviors/registry/ui/core/molecules/ui-wizard-container.orb +5 -5
  240. package/behaviors/registry/ui/core/molecules/ui-wizard-navigation.orb +6 -6
  241. package/behaviors/registry/ui/core/molecules/ui-wizard-progress.orb +2 -2
  242. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +1 -1
  243. package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +1 -1
  244. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +3 -3
  245. package/behaviors/registry/ui/core/organisms/ui-form.orb +3 -3
  246. package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +1 -1
  247. package/behaviors/registry/ui/core/organisms/ui-subagent-trace-panel.orb +1 -1
  248. package/behaviors/registry/ui/core/organisms/ui-tabbed-container.orb +1 -1
  249. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +1 -1
  250. package/behaviors/registry/ui/core/templates/ui-counter-template.orb +6 -6
  251. package/behaviors/registry/ui/core/templates/ui-dashboard-layout.orb +13 -6
  252. package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +4 -4
  253. package/behaviors/registry/ui/game/atoms/ui-canvas.orb +5 -5
  254. package/behaviors/registry/ui/game/atoms/ui-choice-button.orb +2 -2
  255. package/behaviors/registry/ui/game/atoms/ui-control-button.orb +4 -4
  256. package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +4 -4
  257. package/behaviors/registry/ui/game/atoms/ui-game-menu.orb +1 -1
  258. package/behaviors/registry/ui/game/atoms/ui-sequence-bar.orb +4 -4
  259. package/behaviors/registry/ui/game/atoms/ui-state-graph.orb +1 -1
  260. package/behaviors/registry/ui/game/atoms/ui-trait-slot.orb +8 -7
  261. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +7 -13
  262. package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +2 -2
  263. package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +1 -1
  264. package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +1 -1
  265. package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +1 -1
  266. package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +2 -2
  267. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +1 -1
  268. package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +1 -1
  269. package/dist/behaviors/exports-reader.js +2587 -1923
  270. package/dist/behaviors/functions/index.d.ts +183 -16
  271. package/dist/behaviors/functions/index.js +2585 -1924
  272. package/dist/behaviors/index.d.ts +1 -1
  273. package/dist/behaviors/index.js +2588 -1924
  274. package/dist/behaviors/query.js +2587 -1923
  275. package/dist/behaviors-embeddings.hash.json +3 -3
  276. package/dist/behaviors-embeddings.json +15 -7
  277. package/dist/behaviors-registry.json +597 -14
  278. package/dist/index.d.ts +1 -1
  279. package/dist/index.js +2588 -1924
  280. package/dist/knob-embeddings.hash.json +3 -3
  281. package/dist/knob-embeddings.json +1 -1
  282. package/dist/registry/factory-signatures.json +1 -1
  283. package/package.json +2 -2
@@ -0,0 +1,1381 @@
1
+ {
2
+ "description": "std-tag-strip — inline tag editing ON the document surface: the record's tags render as removable chips with a type-to-add input (a typed name that matches an existing tag attaches it; an unknown name is created in the shared taxonomy first), plus one-click chips for every existing tag not yet attached. Emits TAGS_CHANGED { id, tagIds } — the host organism routes it into its persistor's update; the document's refetch re-scopes the strip. Binds any record carrying a tagIds relation array; the tag store is the shared `tags` collection (std-tag-taxonomy's).",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01M1780JG2X1QJQSR415FHPQ9N": {
6
+ "bakedName": "StripTag",
7
+ "curName": "StripTag",
8
+ "id": "ent_01M1780JG2X1QJQSR415FHPQ9N",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01M1780JG23PP1ZZCKDT50N36S": {
14
+ "bakedName": "TagStripOptions",
15
+ "curName": "TagStripOptions",
16
+ "id": "evt_01M1780JG23PP1ZZCKDT50N36S",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01M1780JG2V6JMQHA212RS37N8",
20
+ "renames": []
21
+ },
22
+ "evt_01M1780JG24RDSS3D2ZW6TBYSA": {
23
+ "bakedName": "ADD_TAG",
24
+ "curName": "ADD_TAG",
25
+ "id": "evt_01M1780JG24RDSS3D2ZW6TBYSA",
26
+ "kind": "event",
27
+ "owner": "workspace",
28
+ "parent": "trt_01M1780JG2V6JMQHA212RS37N8",
29
+ "renames": []
30
+ },
31
+ "evt_01M1780JG2FY7B6BJ5DBV4GZB1": {
32
+ "bakedName": "SHOW_TAG_STRIP",
33
+ "curName": "SHOW_TAG_STRIP",
34
+ "id": "evt_01M1780JG2FY7B6BJ5DBV4GZB1",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01M1780JG2V6JMQHA212RS37N8",
38
+ "renames": []
39
+ },
40
+ "evt_01M1780JG2KZR8W8YJ4B4PS55D": {
41
+ "bakedName": "TagStripRemoveOptions",
42
+ "curName": "TagStripRemoveOptions",
43
+ "id": "evt_01M1780JG2KZR8W8YJ4B4PS55D",
44
+ "kind": "event",
45
+ "owner": "workspace",
46
+ "parent": "trt_01M1780JG2V6JMQHA212RS37N8",
47
+ "renames": []
48
+ },
49
+ "evt_01M1780JG2N02T1ZNKN3JJR7Y5": {
50
+ "bakedName": "TagStripTagCreated",
51
+ "curName": "TagStripTagCreated",
52
+ "id": "evt_01M1780JG2N02T1ZNKN3JJR7Y5",
53
+ "kind": "event",
54
+ "owner": "workspace",
55
+ "parent": "trt_01M1780JG2V6JMQHA212RS37N8",
56
+ "renames": []
57
+ },
58
+ "evt_01M1780JG2STQCYHYMCS8F43KZ": {
59
+ "bakedName": "TagStripAddOptions",
60
+ "curName": "TagStripAddOptions",
61
+ "id": "evt_01M1780JG2STQCYHYMCS8F43KZ",
62
+ "kind": "event",
63
+ "owner": "workspace",
64
+ "parent": "trt_01M1780JG2V6JMQHA212RS37N8",
65
+ "renames": []
66
+ },
67
+ "evt_01M1780JG2V44SG4PT280FRXM5": {
68
+ "bakedName": "TagStripLoadFailed",
69
+ "curName": "TagStripLoadFailed",
70
+ "id": "evt_01M1780JG2V44SG4PT280FRXM5",
71
+ "kind": "event",
72
+ "owner": "workspace",
73
+ "parent": "trt_01M1780JG2V6JMQHA212RS37N8",
74
+ "renames": []
75
+ },
76
+ "evt_01M1780JG2X7ZKZWS1JDW4VRA9": {
77
+ "bakedName": "REMOVE_TAG",
78
+ "curName": "REMOVE_TAG",
79
+ "id": "evt_01M1780JG2X7ZKZWS1JDW4VRA9",
80
+ "kind": "event",
81
+ "owner": "workspace",
82
+ "parent": "trt_01M1780JG2V6JMQHA212RS37N8",
83
+ "renames": []
84
+ },
85
+ "evt_01M1780JG2Y18SGMQG35H6DZQD": {
86
+ "bakedName": "INIT",
87
+ "curName": "INIT",
88
+ "id": "evt_01M1780JG2Y18SGMQG35H6DZQD",
89
+ "kind": "event",
90
+ "owner": "workspace",
91
+ "parent": "trt_01M1780JG2V6JMQHA212RS37N8",
92
+ "renames": []
93
+ },
94
+ "evt_01M1780JG2YCC9VE2N8D4D2KG1": {
95
+ "bakedName": "TAGS_CHANGED",
96
+ "curName": "TAGS_CHANGED",
97
+ "id": "evt_01M1780JG2YCC9VE2N8D4D2KG1",
98
+ "kind": "event",
99
+ "owner": "workspace",
100
+ "parent": "trt_01M1780JG2V6JMQHA212RS37N8",
101
+ "renames": []
102
+ },
103
+ "orb_01M1780JG2SCR85NW1BWQWKVXN": {
104
+ "bakedName": "TagStripOrbital",
105
+ "curName": "TagStripOrbital",
106
+ "id": "orb_01M1780JG2SCR85NW1BWQWKVXN",
107
+ "kind": "orbital",
108
+ "owner": "workspace",
109
+ "renames": []
110
+ },
111
+ "pag_01M1780JG220EQAZE8KE3DMCYY": {
112
+ "bakedName": "TagStripDemoPage",
113
+ "curName": "TagStripDemoPage",
114
+ "id": "pag_01M1780JG220EQAZE8KE3DMCYY",
115
+ "kind": "page",
116
+ "owner": "workspace",
117
+ "renames": []
118
+ },
119
+ "trt_01M1780JG2V6JMQHA212RS37N8": {
120
+ "bakedName": "TagStrip",
121
+ "curName": "TagStrip",
122
+ "id": "trt_01M1780JG2V6JMQHA212RS37N8",
123
+ "kind": "trait",
124
+ "owner": "workspace",
125
+ "renames": []
126
+ }
127
+ },
128
+ "schemaVersion": 1
129
+ },
130
+ "name": "std-tag-strip",
131
+ "orbitals": [
132
+ {
133
+ "entity": {
134
+ "collection": "tags",
135
+ "fields": [
136
+ {
137
+ "name": "id",
138
+ "required": true,
139
+ "type": "string"
140
+ },
141
+ {
142
+ "description": "The descriptive label for this tag.",
143
+ "name": "name",
144
+ "required": true,
145
+ "synonyms": "label, title",
146
+ "type": "string"
147
+ },
148
+ {
149
+ "description": "Reference to the parent tag in the hierarchy; empty marks a root.",
150
+ "name": "parentId",
151
+ "relation": {
152
+ "cardinality": "one",
153
+ "entity": "StripTag",
154
+ "entityId": "ent_01M1780JG2X1QJQSR415FHPQ9N"
155
+ },
156
+ "synonyms": "parent, ancestor",
157
+ "type": "relation"
158
+ },
159
+ {
160
+ "default": "",
161
+ "name": "createdAt",
162
+ "type": "string"
163
+ },
164
+ {
165
+ "default": "",
166
+ "name": "pendingId",
167
+ "type": "string"
168
+ },
169
+ {
170
+ "default": "",
171
+ "description": "The open record's id, stashed at SHOW_TAG_STRIP so commits know which row to update.",
172
+ "intrinsic": true,
173
+ "name": "docId",
174
+ "synonyms": "record id, scope id",
175
+ "type": "string"
176
+ },
177
+ {
178
+ "description": "The open record's current tag ids, stashed at SHOW_TAG_STRIP for membership tests.",
179
+ "intrinsic": true,
180
+ "items": {
181
+ "type": "string"
182
+ },
183
+ "name": "docTagIds",
184
+ "synonyms": "attached tags, current tags",
185
+ "type": "array"
186
+ },
187
+ {
188
+ "default": "",
189
+ "description": "The tag name typed or clicked on add, held across the resolve fetch.",
190
+ "intrinsic": true,
191
+ "name": "pendingTagName",
192
+ "synonyms": "typed tag, adding tag",
193
+ "type": "string"
194
+ },
195
+ {
196
+ "description": "The chip names remaining after a remove, held across the resolve fetch.",
197
+ "intrinsic": true,
198
+ "items": {
199
+ "type": "string"
200
+ },
201
+ "name": "pendingNames",
202
+ "synonyms": "remaining tags, kept names",
203
+ "type": "array"
204
+ }
205
+ ],
206
+ "id": "ent_01M1780JG2X1QJQSR415FHPQ9N",
207
+ "name": "StripTag",
208
+ "persistence": "persistent"
209
+ },
210
+ "id": "orb_01M1780JG2SCR85NW1BWQWKVXN",
211
+ "name": "TagStripOrbital",
212
+ "pages": [
213
+ {
214
+ "id": "pag_01M1780JG220EQAZE8KE3DMCYY",
215
+ "name": "TagStripDemoPage",
216
+ "path": "/tagstrip/demo",
217
+ "traits": [
218
+ {
219
+ "ref": "TagStrip",
220
+ "refId": "trt_01M1780JG2V6JMQHA212RS37N8"
221
+ }
222
+ ]
223
+ }
224
+ ],
225
+ "traits": [
226
+ {
227
+ "category": "interaction",
228
+ "config": {
229
+ "helperText": {
230
+ "default": "",
231
+ "description": "Optional helper line under the input",
232
+ "label": "Helper text",
233
+ "tier": "presentation",
234
+ "type": "string"
235
+ },
236
+ "placeholder": {
237
+ "default": "Add a tag…",
238
+ "description": "Placeholder in the type-to-add input",
239
+ "label": "Input placeholder",
240
+ "tier": "presentation",
241
+ "type": "string"
242
+ },
243
+ "readOnly": {
244
+ "default": false,
245
+ "description": "When true the strip renders nothing — no add input, no remove, no suggestion chips. Hosts pass a role condition here so read-only viewers rely on the record's read-only rails (which keep showing the tags) instead of an editing surface.",
246
+ "label": "Read-only?",
247
+ "synonyms": "read only tags, viewer mode, no tag editing, hide tag input",
248
+ "tier": "policy",
249
+ "type": "boolean"
250
+ },
251
+ "title": {
252
+ "default": "Tags",
253
+ "description": "Small caption above the chips; empty hides it",
254
+ "label": "Strip caption",
255
+ "tier": "presentation",
256
+ "type": "string"
257
+ }
258
+ },
259
+ "emits": [
260
+ {
261
+ "description": "The record's tag set changed (chip added or removed); the host routes this into its persistor's update so the write and the refetch stay the organism's.",
262
+ "event": "TAGS_CHANGED",
263
+ "eventId": "evt_01M1780JG2YCC9VE2N8D4D2KG1",
264
+ "payloadSchema": [
265
+ {
266
+ "name": "id",
267
+ "type": "string"
268
+ },
269
+ {
270
+ "name": "tagIds",
271
+ "type": "[string]"
272
+ }
273
+ ],
274
+ "scope": "external",
275
+ "synonyms": "tags updated, tag set changed, retagged",
276
+ "tier": "domain"
277
+ },
278
+ {
279
+ "description": "A tag name was typed into the strip or an existing tag's suggestion chip was clicked.",
280
+ "event": "ADD_TAG",
281
+ "eventId": "evt_01M1780JG24RDSS3D2ZW6TBYSA",
282
+ "payloadSchema": [
283
+ {
284
+ "name": "tag",
285
+ "required": true,
286
+ "type": "string"
287
+ }
288
+ ],
289
+ "synonyms": "attach tag, add label",
290
+ "tier": "presentation"
291
+ },
292
+ {
293
+ "description": "A chip's remove affordance was clicked; value carries the names that remain.",
294
+ "event": "REMOVE_TAG",
295
+ "eventId": "evt_01M1780JG2X7ZKZWS1JDW4VRA9",
296
+ "payloadSchema": [
297
+ {
298
+ "name": "tag",
299
+ "type": "string"
300
+ },
301
+ {
302
+ "name": "value",
303
+ "type": "[string]"
304
+ }
305
+ ],
306
+ "synonyms": "detach tag, remove label",
307
+ "tier": "presentation"
308
+ },
309
+ {
310
+ "description": "The shared tag store loaded for the display pass.",
311
+ "event": "TagStripOptions",
312
+ "eventId": "evt_01M1780JG23PP1ZZCKDT50N36S",
313
+ "payloadSchema": [
314
+ {
315
+ "name": "data",
316
+ "type": "[StripTag]"
317
+ }
318
+ ],
319
+ "tier": "internal"
320
+ },
321
+ {
322
+ "description": "The shared tag store loaded to resolve a typed name on add.",
323
+ "event": "TagStripAddOptions",
324
+ "eventId": "evt_01M1780JG2STQCYHYMCS8F43KZ",
325
+ "payloadSchema": [
326
+ {
327
+ "name": "data",
328
+ "type": "[StripTag]"
329
+ }
330
+ ],
331
+ "tier": "internal"
332
+ },
333
+ {
334
+ "description": "The shared tag store loaded to resolve the remaining names on remove.",
335
+ "event": "TagStripRemoveOptions",
336
+ "eventId": "evt_01M1780JG2KZR8W8YJ4B4PS55D",
337
+ "payloadSchema": [
338
+ {
339
+ "name": "data",
340
+ "type": "[StripTag]"
341
+ }
342
+ ],
343
+ "tier": "internal"
344
+ },
345
+ {
346
+ "description": "A typed name had no existing tag; a fresh row was created in the shared taxonomy.",
347
+ "event": "TagStripTagCreated",
348
+ "eventId": "evt_01M1780JG2N02T1ZNKN3JJR7Y5",
349
+ "payloadSchema": [
350
+ {
351
+ "name": "id",
352
+ "type": "string"
353
+ },
354
+ {
355
+ "name": "row",
356
+ "properties": [
357
+ {
358
+ "name": "id",
359
+ "required": true,
360
+ "type": "string"
361
+ },
362
+ {
363
+ "name": "name",
364
+ "required": true,
365
+ "type": "string"
366
+ },
367
+ {
368
+ "name": "parentId",
369
+ "type": "StripTag"
370
+ },
371
+ {
372
+ "name": "createdAt",
373
+ "type": "string"
374
+ },
375
+ {
376
+ "name": "pendingId",
377
+ "type": "string"
378
+ },
379
+ {
380
+ "name": "docId",
381
+ "type": "string"
382
+ },
383
+ {
384
+ "name": "docTagIds",
385
+ "type": "[string]"
386
+ },
387
+ {
388
+ "name": "pendingTagName",
389
+ "type": "string"
390
+ },
391
+ {
392
+ "name": "pendingNames",
393
+ "type": "[string]"
394
+ }
395
+ ],
396
+ "type": "object"
397
+ }
398
+ ],
399
+ "tier": "internal"
400
+ },
401
+ {
402
+ "description": "The tag store fetch or create failed.",
403
+ "event": "TagStripLoadFailed",
404
+ "eventId": "evt_01M1780JG2V44SG4PT280FRXM5",
405
+ "payloadSchema": [
406
+ {
407
+ "name": "error",
408
+ "type": "string"
409
+ },
410
+ {
411
+ "name": "code",
412
+ "type": "string"
413
+ }
414
+ ],
415
+ "tier": "internal"
416
+ }
417
+ ],
418
+ "entityContract": {
419
+ "provides": [
420
+ "docId",
421
+ "docTagIds",
422
+ "pendingNames",
423
+ "pendingTagName"
424
+ ],
425
+ "requires": []
426
+ },
427
+ "entityRebindable": true,
428
+ "entityRefIds": {
429
+ "StripTag": "ent_01M1780JG2X1QJQSR415FHPQ9N"
430
+ },
431
+ "id": "trt_01M1780JG2V6JMQHA212RS37N8",
432
+ "linkedEntity": "StripTag",
433
+ "linkedEntityId": "ent_01M1780JG2X1QJQSR415FHPQ9N",
434
+ "name": "TagStrip",
435
+ "scope": "collection",
436
+ "stateMachine": {
437
+ "events": [
438
+ {
439
+ "id": "evt_01M1780JG2Y18SGMQG35H6DZQD",
440
+ "key": "INIT",
441
+ "name": "Initialize"
442
+ },
443
+ {
444
+ "description": "The shared tag store loaded for the display pass.",
445
+ "id": "evt_01M1780JG23PP1ZZCKDT50N36S",
446
+ "key": "TagStripOptions",
447
+ "name": "Tag strip options",
448
+ "payloadSchema": [
449
+ {
450
+ "name": "data",
451
+ "type": "[StripTag]"
452
+ }
453
+ ],
454
+ "tier": "internal"
455
+ },
456
+ {
457
+ "description": "The tag store fetch or create failed.",
458
+ "id": "evt_01M1780JG2V44SG4PT280FRXM5",
459
+ "key": "TagStripLoadFailed",
460
+ "name": "Tag strip load failed",
461
+ "payloadSchema": [
462
+ {
463
+ "name": "error",
464
+ "type": "string"
465
+ },
466
+ {
467
+ "name": "code",
468
+ "type": "string"
469
+ }
470
+ ],
471
+ "tier": "internal"
472
+ },
473
+ {
474
+ "description": "Scope the strip to the open record — routed from the document's load events; carries the record's id and current tag ids (hydrated tag rows are normalized to their ids at stash time, so include-hydrated fetches route straight through).",
475
+ "id": "evt_01M1780JG2FY7B6BJ5DBV4GZB1",
476
+ "key": "SHOW_TAG_STRIP",
477
+ "name": "Show Tag Strip",
478
+ "payloadSchema": [
479
+ {
480
+ "name": "id",
481
+ "required": true,
482
+ "type": "string"
483
+ },
484
+ {
485
+ "name": "tagIds",
486
+ "type": "[string]"
487
+ }
488
+ ],
489
+ "synonyms": "load tags, scope tag strip, show tags",
490
+ "tier": "domain"
491
+ },
492
+ {
493
+ "description": "A tag name was typed into the strip or an existing tag's suggestion chip was clicked.",
494
+ "id": "evt_01M1780JG24RDSS3D2ZW6TBYSA",
495
+ "key": "ADD_TAG",
496
+ "name": "Add Tag",
497
+ "payloadSchema": [
498
+ {
499
+ "name": "tag",
500
+ "required": true,
501
+ "type": "string"
502
+ }
503
+ ],
504
+ "synonyms": "attach tag, add label",
505
+ "tier": "presentation"
506
+ },
507
+ {
508
+ "description": "A chip's remove affordance was clicked; value carries the names that remain.",
509
+ "id": "evt_01M1780JG2X7ZKZWS1JDW4VRA9",
510
+ "key": "REMOVE_TAG",
511
+ "name": "Remove Tag",
512
+ "payloadSchema": [
513
+ {
514
+ "name": "tag",
515
+ "type": "string"
516
+ },
517
+ {
518
+ "name": "value",
519
+ "type": "[string]"
520
+ }
521
+ ],
522
+ "synonyms": "detach tag, remove label",
523
+ "tier": "presentation"
524
+ },
525
+ {
526
+ "description": "A typed name had no existing tag; a fresh row was created in the shared taxonomy.",
527
+ "id": "evt_01M1780JG2N02T1ZNKN3JJR7Y5",
528
+ "key": "TagStripTagCreated",
529
+ "name": "Tag strip tag created",
530
+ "payloadSchema": [
531
+ {
532
+ "name": "id",
533
+ "type": "string"
534
+ },
535
+ {
536
+ "name": "row",
537
+ "type": "StripTag"
538
+ }
539
+ ],
540
+ "tier": "internal"
541
+ },
542
+ {
543
+ "description": "The shared tag store loaded to resolve a typed name on add.",
544
+ "id": "evt_01M1780JG2STQCYHYMCS8F43KZ",
545
+ "key": "TagStripAddOptions",
546
+ "name": "Tag strip add options",
547
+ "payloadSchema": [
548
+ {
549
+ "name": "data",
550
+ "type": "[StripTag]"
551
+ }
552
+ ],
553
+ "tier": "internal"
554
+ },
555
+ {
556
+ "description": "The shared tag store loaded to resolve the remaining names on remove.",
557
+ "id": "evt_01M1780JG2KZR8W8YJ4B4PS55D",
558
+ "key": "TagStripRemoveOptions",
559
+ "name": "Tag strip remove options",
560
+ "payloadSchema": [
561
+ {
562
+ "name": "data",
563
+ "type": "[StripTag]"
564
+ }
565
+ ],
566
+ "tier": "internal"
567
+ },
568
+ {
569
+ "description": "The record's tag set changed (chip added or removed); the host routes this into its persistor's update so the write and the refetch stay the organism's.",
570
+ "id": "evt_01M1780JG2YCC9VE2N8D4D2KG1",
571
+ "key": "TAGS_CHANGED",
572
+ "name": "Tags Changed",
573
+ "payloadSchema": [
574
+ {
575
+ "name": "id",
576
+ "type": "string"
577
+ },
578
+ {
579
+ "name": "tagIds",
580
+ "type": "[string]"
581
+ }
582
+ ],
583
+ "synonyms": "tags updated, tag set changed, retagged",
584
+ "tier": "domain"
585
+ }
586
+ ],
587
+ "states": [
588
+ {
589
+ "isInitial": true,
590
+ "name": "idle"
591
+ },
592
+ {
593
+ "name": "loading"
594
+ },
595
+ {
596
+ "name": "ready"
597
+ },
598
+ {
599
+ "name": "adding"
600
+ },
601
+ {
602
+ "name": "creating"
603
+ },
604
+ {
605
+ "name": "removing"
606
+ }
607
+ ],
608
+ "transitions": [
609
+ {
610
+ "effects": [
611
+ [
612
+ "fetch",
613
+ "StripTag",
614
+ {
615
+ "emit": {
616
+ "failure": "TagStripLoadFailed",
617
+ "success": "TagStripOptions"
618
+ }
619
+ }
620
+ ]
621
+ ],
622
+ "event": "INIT",
623
+ "eventId": "evt_01M1780JG2Y18SGMQG35H6DZQD",
624
+ "from": "idle",
625
+ "to": "idle"
626
+ },
627
+ {
628
+ "event": "TagStripOptions",
629
+ "eventId": "evt_01M1780JG23PP1ZZCKDT50N36S",
630
+ "from": "idle",
631
+ "to": "idle"
632
+ },
633
+ {
634
+ "event": "TagStripLoadFailed",
635
+ "eventId": "evt_01M1780JG2V44SG4PT280FRXM5",
636
+ "from": "idle",
637
+ "to": "idle"
638
+ },
639
+ {
640
+ "effects": [
641
+ [
642
+ "set",
643
+ "@entity.docId",
644
+ "@payload.id"
645
+ ],
646
+ [
647
+ "set",
648
+ "@entity.docTagIds",
649
+ [
650
+ "array/map",
651
+ "@payload.tagIds",
652
+ [
653
+ "fn",
654
+ "t",
655
+ [
656
+ "str/default",
657
+ [
658
+ "object/get",
659
+ "@t",
660
+ "id"
661
+ ],
662
+ "@t"
663
+ ]
664
+ ]
665
+ ]
666
+ ],
667
+ [
668
+ "fetch",
669
+ "StripTag",
670
+ {
671
+ "emit": {
672
+ "failure": "TagStripLoadFailed",
673
+ "success": "TagStripOptions"
674
+ }
675
+ }
676
+ ]
677
+ ],
678
+ "event": "SHOW_TAG_STRIP",
679
+ "eventId": "evt_01M1780JG2FY7B6BJ5DBV4GZB1",
680
+ "from": "idle",
681
+ "to": "loading"
682
+ },
683
+ {
684
+ "effects": [
685
+ [
686
+ "set",
687
+ "@entity.docId",
688
+ "@payload.id"
689
+ ],
690
+ [
691
+ "set",
692
+ "@entity.docTagIds",
693
+ [
694
+ "array/map",
695
+ "@payload.tagIds",
696
+ [
697
+ "fn",
698
+ "t",
699
+ [
700
+ "str/default",
701
+ [
702
+ "object/get",
703
+ "@t",
704
+ "id"
705
+ ],
706
+ "@t"
707
+ ]
708
+ ]
709
+ ]
710
+ ],
711
+ [
712
+ "fetch",
713
+ "StripTag",
714
+ {
715
+ "emit": {
716
+ "failure": "TagStripLoadFailed",
717
+ "success": "TagStripOptions"
718
+ }
719
+ }
720
+ ]
721
+ ],
722
+ "event": "SHOW_TAG_STRIP",
723
+ "eventId": "evt_01M1780JG2FY7B6BJ5DBV4GZB1",
724
+ "from": "loading",
725
+ "to": "loading"
726
+ },
727
+ {
728
+ "effects": [
729
+ [
730
+ "render-ui",
731
+ "main",
732
+ {
733
+ "children": [
734
+ [
735
+ "if",
736
+ [
737
+ "or",
738
+ "@config.readOnly",
739
+ [
740
+ "=",
741
+ "@config.title",
742
+ ""
743
+ ]
744
+ ],
745
+ null,
746
+ {
747
+ "color": "muted",
748
+ "content": "@config.title",
749
+ "type": "typography",
750
+ "variant": "caption"
751
+ }
752
+ ],
753
+ [
754
+ "if",
755
+ "@config.readOnly",
756
+ null,
757
+ {
758
+ "addEvent": "ADD_TAG",
759
+ "helperText": "@config.helperText",
760
+ "placeholder": "@config.placeholder",
761
+ "removeEvent": "REMOVE_TAG",
762
+ "type": "tag-input",
763
+ "value": [
764
+ "array/map",
765
+ [
766
+ "array/filter",
767
+ "@payload.data",
768
+ [
769
+ "fn",
770
+ "t",
771
+ [
772
+ "array/includes",
773
+ "@entity.docTagIds",
774
+ [
775
+ "object/get",
776
+ "@t",
777
+ "id"
778
+ ]
779
+ ]
780
+ ]
781
+ ],
782
+ [
783
+ "fn",
784
+ "t",
785
+ [
786
+ "object/get",
787
+ "@t",
788
+ "name"
789
+ ]
790
+ ]
791
+ ],
792
+ "variant": "secondary"
793
+ }
794
+ ],
795
+ [
796
+ "if",
797
+ [
798
+ "or",
799
+ "@config.readOnly",
800
+ [
801
+ "=",
802
+ [
803
+ "array/len",
804
+ [
805
+ "array/filter",
806
+ "@payload.data",
807
+ [
808
+ "fn",
809
+ "t",
810
+ [
811
+ "if",
812
+ [
813
+ "array/includes",
814
+ "@entity.docTagIds",
815
+ [
816
+ "object/get",
817
+ "@t",
818
+ "id"
819
+ ]
820
+ ],
821
+ false,
822
+ true
823
+ ]
824
+ ]
825
+ ]
826
+ ],
827
+ 0.0
828
+ ]
829
+ ],
830
+ null,
831
+ {
832
+ "children": [
833
+ "array/map",
834
+ [
835
+ "array/filter",
836
+ "@payload.data",
837
+ [
838
+ "fn",
839
+ "t",
840
+ [
841
+ "if",
842
+ [
843
+ "array/includes",
844
+ "@entity.docTagIds",
845
+ [
846
+ "object/get",
847
+ "@t",
848
+ "id"
849
+ ]
850
+ ],
851
+ false,
852
+ true
853
+ ]
854
+ ]
855
+ ],
856
+ [
857
+ "fn",
858
+ "t",
859
+ {
860
+ "action": "ADD_TAG",
861
+ "actionPayload": {
862
+ "tag": "@t.name"
863
+ },
864
+ "icon": "tag",
865
+ "label": "@t.name",
866
+ "size": "sm",
867
+ "type": "button",
868
+ "variant": "ghost"
869
+ }
870
+ ]
871
+ ],
872
+ "className": "flex-wrap",
873
+ "direction": "horizontal",
874
+ "gap": "xs",
875
+ "type": "stack"
876
+ }
877
+ ]
878
+ ],
879
+ "direction": "vertical",
880
+ "gap": "xs",
881
+ "type": "stack"
882
+ }
883
+ ]
884
+ ],
885
+ "event": "TagStripOptions",
886
+ "eventId": "evt_01M1780JG23PP1ZZCKDT50N36S",
887
+ "from": "loading",
888
+ "to": "ready"
889
+ },
890
+ {
891
+ "effects": [
892
+ [
893
+ "render-ui",
894
+ "main",
895
+ {
896
+ "message": "@payload.error",
897
+ "type": "alert",
898
+ "variant": "error"
899
+ }
900
+ ]
901
+ ],
902
+ "event": "TagStripLoadFailed",
903
+ "eventId": "evt_01M1780JG2V44SG4PT280FRXM5",
904
+ "from": "loading",
905
+ "to": "idle"
906
+ },
907
+ {
908
+ "effects": [
909
+ [
910
+ "set",
911
+ "@entity.docId",
912
+ "@payload.id"
913
+ ],
914
+ [
915
+ "set",
916
+ "@entity.docTagIds",
917
+ [
918
+ "array/map",
919
+ "@payload.tagIds",
920
+ [
921
+ "fn",
922
+ "t",
923
+ [
924
+ "str/default",
925
+ [
926
+ "object/get",
927
+ "@t",
928
+ "id"
929
+ ],
930
+ "@t"
931
+ ]
932
+ ]
933
+ ]
934
+ ],
935
+ [
936
+ "fetch",
937
+ "StripTag",
938
+ {
939
+ "emit": {
940
+ "failure": "TagStripLoadFailed",
941
+ "success": "TagStripOptions"
942
+ }
943
+ }
944
+ ]
945
+ ],
946
+ "event": "SHOW_TAG_STRIP",
947
+ "eventId": "evt_01M1780JG2FY7B6BJ5DBV4GZB1",
948
+ "from": "ready",
949
+ "to": "loading"
950
+ },
951
+ {
952
+ "effects": [
953
+ [
954
+ "set",
955
+ "@entity.pendingTagName",
956
+ "@payload.tag"
957
+ ],
958
+ [
959
+ "fetch",
960
+ "StripTag",
961
+ {
962
+ "emit": {
963
+ "failure": "TagStripLoadFailed",
964
+ "success": "TagStripAddOptions"
965
+ }
966
+ }
967
+ ],
968
+ [
969
+ "render-ui",
970
+ "main",
971
+ {
972
+ "align": "center",
973
+ "children": [
974
+ {
975
+ "size": "sm",
976
+ "type": "spinner"
977
+ }
978
+ ],
979
+ "direction": "horizontal",
980
+ "gap": "xs",
981
+ "type": "stack"
982
+ }
983
+ ]
984
+ ],
985
+ "event": "ADD_TAG",
986
+ "eventId": "evt_01M1780JG24RDSS3D2ZW6TBYSA",
987
+ "from": "ready",
988
+ "to": "adding"
989
+ },
990
+ {
991
+ "effects": [
992
+ [
993
+ "set",
994
+ "@entity.pendingNames",
995
+ "@payload.value"
996
+ ],
997
+ [
998
+ "fetch",
999
+ "StripTag",
1000
+ {
1001
+ "emit": {
1002
+ "failure": "TagStripLoadFailed",
1003
+ "success": "TagStripRemoveOptions"
1004
+ }
1005
+ }
1006
+ ],
1007
+ [
1008
+ "render-ui",
1009
+ "main",
1010
+ {
1011
+ "align": "center",
1012
+ "children": [
1013
+ {
1014
+ "size": "sm",
1015
+ "type": "spinner"
1016
+ }
1017
+ ],
1018
+ "direction": "horizontal",
1019
+ "gap": "xs",
1020
+ "type": "stack"
1021
+ }
1022
+ ]
1023
+ ],
1024
+ "event": "REMOVE_TAG",
1025
+ "eventId": "evt_01M1780JG2X7ZKZWS1JDW4VRA9",
1026
+ "from": "ready",
1027
+ "to": "removing"
1028
+ },
1029
+ {
1030
+ "event": "TagStripTagCreated",
1031
+ "eventId": "evt_01M1780JG2N02T1ZNKN3JJR7Y5",
1032
+ "from": "ready",
1033
+ "to": "ready"
1034
+ },
1035
+ {
1036
+ "effects": [
1037
+ [
1038
+ "set",
1039
+ "@entity.docId",
1040
+ "@payload.id"
1041
+ ],
1042
+ [
1043
+ "set",
1044
+ "@entity.docTagIds",
1045
+ [
1046
+ "array/map",
1047
+ "@payload.tagIds",
1048
+ [
1049
+ "fn",
1050
+ "t",
1051
+ [
1052
+ "str/default",
1053
+ [
1054
+ "object/get",
1055
+ "@t",
1056
+ "id"
1057
+ ],
1058
+ "@t"
1059
+ ]
1060
+ ]
1061
+ ]
1062
+ ],
1063
+ [
1064
+ "fetch",
1065
+ "StripTag",
1066
+ {
1067
+ "emit": {
1068
+ "failure": "TagStripLoadFailed",
1069
+ "success": "TagStripOptions"
1070
+ }
1071
+ }
1072
+ ]
1073
+ ],
1074
+ "event": "SHOW_TAG_STRIP",
1075
+ "eventId": "evt_01M1780JG2FY7B6BJ5DBV4GZB1",
1076
+ "from": "adding",
1077
+ "to": "loading"
1078
+ },
1079
+ {
1080
+ "effects": [
1081
+ [
1082
+ "emit",
1083
+ "TAGS_CHANGED",
1084
+ {
1085
+ "id": "@entity.docId",
1086
+ "tagIds": [
1087
+ "array/append",
1088
+ "@entity.docTagIds",
1089
+ [
1090
+ "object/get",
1091
+ [
1092
+ "array/first",
1093
+ [
1094
+ "array/filter",
1095
+ "@payload.data",
1096
+ [
1097
+ "fn",
1098
+ "t",
1099
+ [
1100
+ "=",
1101
+ [
1102
+ "object/get",
1103
+ "@t",
1104
+ "name"
1105
+ ],
1106
+ "@entity.pendingTagName"
1107
+ ]
1108
+ ]
1109
+ ]
1110
+ ],
1111
+ "id"
1112
+ ]
1113
+ ]
1114
+ }
1115
+ ]
1116
+ ],
1117
+ "event": "TagStripAddOptions",
1118
+ "eventId": "evt_01M1780JG2STQCYHYMCS8F43KZ",
1119
+ "from": "adding",
1120
+ "guard": [
1121
+ "array/includes",
1122
+ [
1123
+ "array/map",
1124
+ "@payload.data",
1125
+ [
1126
+ "fn",
1127
+ "t",
1128
+ [
1129
+ "object/get",
1130
+ "@t",
1131
+ "name"
1132
+ ]
1133
+ ]
1134
+ ],
1135
+ "@entity.pendingTagName"
1136
+ ],
1137
+ "to": "ready"
1138
+ },
1139
+ {
1140
+ "effects": [
1141
+ [
1142
+ "persist",
1143
+ "create",
1144
+ "StripTag",
1145
+ {
1146
+ "name": "@entity.pendingTagName"
1147
+ },
1148
+ {
1149
+ "emit": {
1150
+ "failure": "TagStripLoadFailed",
1151
+ "success": "TagStripTagCreated"
1152
+ }
1153
+ }
1154
+ ]
1155
+ ],
1156
+ "event": "TagStripAddOptions",
1157
+ "eventId": "evt_01M1780JG2STQCYHYMCS8F43KZ",
1158
+ "from": "adding",
1159
+ "to": "creating"
1160
+ },
1161
+ {
1162
+ "effects": [
1163
+ [
1164
+ "render-ui",
1165
+ "main",
1166
+ {
1167
+ "message": "@payload.error",
1168
+ "type": "alert",
1169
+ "variant": "error"
1170
+ }
1171
+ ]
1172
+ ],
1173
+ "event": "TagStripLoadFailed",
1174
+ "eventId": "evt_01M1780JG2V44SG4PT280FRXM5",
1175
+ "from": "adding",
1176
+ "to": "idle"
1177
+ },
1178
+ {
1179
+ "effects": [
1180
+ [
1181
+ "set",
1182
+ "@entity.docId",
1183
+ "@payload.id"
1184
+ ],
1185
+ [
1186
+ "set",
1187
+ "@entity.docTagIds",
1188
+ [
1189
+ "array/map",
1190
+ "@payload.tagIds",
1191
+ [
1192
+ "fn",
1193
+ "t",
1194
+ [
1195
+ "str/default",
1196
+ [
1197
+ "object/get",
1198
+ "@t",
1199
+ "id"
1200
+ ],
1201
+ "@t"
1202
+ ]
1203
+ ]
1204
+ ]
1205
+ ],
1206
+ [
1207
+ "fetch",
1208
+ "StripTag",
1209
+ {
1210
+ "emit": {
1211
+ "failure": "TagStripLoadFailed",
1212
+ "success": "TagStripOptions"
1213
+ }
1214
+ }
1215
+ ]
1216
+ ],
1217
+ "event": "SHOW_TAG_STRIP",
1218
+ "eventId": "evt_01M1780JG2FY7B6BJ5DBV4GZB1",
1219
+ "from": "creating",
1220
+ "to": "loading"
1221
+ },
1222
+ {
1223
+ "effects": [
1224
+ [
1225
+ "emit",
1226
+ "TAGS_CHANGED",
1227
+ {
1228
+ "id": "@entity.docId",
1229
+ "tagIds": [
1230
+ "array/append",
1231
+ "@entity.docTagIds",
1232
+ "@payload.id"
1233
+ ]
1234
+ }
1235
+ ]
1236
+ ],
1237
+ "event": "TagStripTagCreated",
1238
+ "eventId": "evt_01M1780JG2N02T1ZNKN3JJR7Y5",
1239
+ "from": "creating",
1240
+ "guard": [
1241
+ "!=",
1242
+ [
1243
+ "str/default",
1244
+ "@payload.id",
1245
+ ""
1246
+ ],
1247
+ ""
1248
+ ],
1249
+ "to": "ready"
1250
+ },
1251
+ {
1252
+ "effects": [
1253
+ [
1254
+ "render-ui",
1255
+ "main",
1256
+ {
1257
+ "message": "@payload.error",
1258
+ "type": "alert",
1259
+ "variant": "error"
1260
+ }
1261
+ ]
1262
+ ],
1263
+ "event": "TagStripLoadFailed",
1264
+ "eventId": "evt_01M1780JG2V44SG4PT280FRXM5",
1265
+ "from": "creating",
1266
+ "to": "idle"
1267
+ },
1268
+ {
1269
+ "effects": [
1270
+ [
1271
+ "set",
1272
+ "@entity.docId",
1273
+ "@payload.id"
1274
+ ],
1275
+ [
1276
+ "set",
1277
+ "@entity.docTagIds",
1278
+ [
1279
+ "array/map",
1280
+ "@payload.tagIds",
1281
+ [
1282
+ "fn",
1283
+ "t",
1284
+ [
1285
+ "str/default",
1286
+ [
1287
+ "object/get",
1288
+ "@t",
1289
+ "id"
1290
+ ],
1291
+ "@t"
1292
+ ]
1293
+ ]
1294
+ ]
1295
+ ],
1296
+ [
1297
+ "fetch",
1298
+ "StripTag",
1299
+ {
1300
+ "emit": {
1301
+ "failure": "TagStripLoadFailed",
1302
+ "success": "TagStripOptions"
1303
+ }
1304
+ }
1305
+ ]
1306
+ ],
1307
+ "event": "SHOW_TAG_STRIP",
1308
+ "eventId": "evt_01M1780JG2FY7B6BJ5DBV4GZB1",
1309
+ "from": "removing",
1310
+ "to": "loading"
1311
+ },
1312
+ {
1313
+ "effects": [
1314
+ [
1315
+ "emit",
1316
+ "TAGS_CHANGED",
1317
+ {
1318
+ "id": "@entity.docId",
1319
+ "tagIds": [
1320
+ "array/map",
1321
+ [
1322
+ "array/filter",
1323
+ "@payload.data",
1324
+ [
1325
+ "fn",
1326
+ "t",
1327
+ [
1328
+ "array/includes",
1329
+ "@entity.pendingNames",
1330
+ [
1331
+ "object/get",
1332
+ "@t",
1333
+ "name"
1334
+ ]
1335
+ ]
1336
+ ]
1337
+ ],
1338
+ [
1339
+ "fn",
1340
+ "t",
1341
+ [
1342
+ "object/get",
1343
+ "@t",
1344
+ "id"
1345
+ ]
1346
+ ]
1347
+ ]
1348
+ }
1349
+ ]
1350
+ ],
1351
+ "event": "TagStripRemoveOptions",
1352
+ "eventId": "evt_01M1780JG2KZR8W8YJ4B4PS55D",
1353
+ "from": "removing",
1354
+ "to": "ready"
1355
+ },
1356
+ {
1357
+ "effects": [
1358
+ [
1359
+ "render-ui",
1360
+ "main",
1361
+ {
1362
+ "message": "@payload.error",
1363
+ "type": "alert",
1364
+ "variant": "error"
1365
+ }
1366
+ ]
1367
+ ],
1368
+ "event": "TagStripLoadFailed",
1369
+ "eventId": "evt_01M1780JG2V44SG4PT280FRXM5",
1370
+ "from": "removing",
1371
+ "to": "idle"
1372
+ }
1373
+ ]
1374
+ }
1375
+ }
1376
+ ]
1377
+ }
1378
+ ],
1379
+ "schemaVersion": 1,
1380
+ "version": "1.0.0"
1381
+ }