@elaraai/east-ui 1.0.80 → 1.0.82

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 (353) hide show
  1. package/dist/src/charts/chart/index.d.ts +4 -0
  2. package/dist/src/charts/chart/index.d.ts.map +1 -1
  3. package/dist/src/charts/spec/index.d.ts +8 -0
  4. package/dist/src/charts/spec/index.d.ts.map +1 -1
  5. package/dist/src/collections/deck/index.d.ts +8 -0
  6. package/dist/src/collections/deck/index.d.ts.map +1 -1
  7. package/dist/src/collections/index.d.ts +2 -2
  8. package/dist/src/collections/index.d.ts.map +1 -1
  9. package/dist/src/collections/index.js.map +1 -1
  10. package/dist/src/collections/library/index.d.ts +4 -0
  11. package/dist/src/collections/library/index.d.ts.map +1 -1
  12. package/dist/src/collections/library/types.d.ts +4 -0
  13. package/dist/src/collections/library/types.d.ts.map +1 -1
  14. package/dist/src/collections/matrix/index.d.ts +56 -19
  15. package/dist/src/collections/matrix/index.d.ts.map +1 -1
  16. package/dist/src/collections/matrix/index.js +38 -24
  17. package/dist/src/collections/matrix/index.js.map +1 -1
  18. package/dist/src/collections/plan/assemble.d.ts +655 -2113
  19. package/dist/src/collections/plan/assemble.d.ts.map +1 -1
  20. package/dist/src/collections/plan/assemble.js +159 -136
  21. package/dist/src/collections/plan/assemble.js.map +1 -1
  22. package/dist/src/collections/plan/builders.d.ts +193 -40
  23. package/dist/src/collections/plan/builders.d.ts.map +1 -1
  24. package/dist/src/collections/plan/builders.js +162 -32
  25. package/dist/src/collections/plan/builders.js.map +1 -1
  26. package/dist/src/collections/plan/factories.d.ts +290 -116
  27. package/dist/src/collections/plan/factories.d.ts.map +1 -1
  28. package/dist/src/collections/plan/factories.js +281 -156
  29. package/dist/src/collections/plan/factories.js.map +1 -1
  30. package/dist/src/collections/plan/index.d.ts +111 -58
  31. package/dist/src/collections/plan/index.d.ts.map +1 -1
  32. package/dist/src/collections/plan/index.js +62 -31
  33. package/dist/src/collections/plan/index.js.map +1 -1
  34. package/dist/src/collections/plan/ir.d.ts +759 -1769
  35. package/dist/src/collections/plan/ir.d.ts.map +1 -1
  36. package/dist/src/collections/plan/ir.js +51 -27
  37. package/dist/src/collections/plan/ir.js.map +1 -1
  38. package/dist/src/collections/plan/pick.d.ts +89 -71
  39. package/dist/src/collections/plan/pick.d.ts.map +1 -1
  40. package/dist/src/collections/plan/pick.js +101 -86
  41. package/dist/src/collections/plan/pick.js.map +1 -1
  42. package/dist/src/collections/plan/root.d.ts +164 -77
  43. package/dist/src/collections/plan/root.d.ts.map +1 -1
  44. package/dist/src/collections/plan/root.js +350 -42
  45. package/dist/src/collections/plan/root.js.map +1 -1
  46. package/dist/src/collections/plan/series.d.ts +12524 -10527
  47. package/dist/src/collections/plan/series.d.ts.map +1 -1
  48. package/dist/src/collections/plan/series.js +1596 -298
  49. package/dist/src/collections/plan/series.js.map +1 -1
  50. package/dist/src/collections/plan/types.d.ts +6115 -2802
  51. package/dist/src/collections/plan/types.d.ts.map +1 -1
  52. package/dist/src/collections/plan/types.js +575 -170
  53. package/dist/src/collections/plan/types.js.map +1 -1
  54. package/dist/src/collections/sheet/bridge.d.ts +154 -43
  55. package/dist/src/collections/sheet/bridge.d.ts.map +1 -1
  56. package/dist/src/collections/sheet/bridge.js +383 -240
  57. package/dist/src/collections/sheet/bridge.js.map +1 -1
  58. package/dist/src/collections/sheet/columns.d.ts +66 -16
  59. package/dist/src/collections/sheet/columns.d.ts.map +1 -1
  60. package/dist/src/collections/sheet/columns.js +25 -25
  61. package/dist/src/collections/sheet/columns.js.map +1 -1
  62. package/dist/src/collections/sheet/context-bridge.d.ts +48 -0
  63. package/dist/src/collections/sheet/context-bridge.d.ts.map +1 -0
  64. package/dist/src/collections/sheet/context-bridge.js +216 -0
  65. package/dist/src/collections/sheet/context-bridge.js.map +1 -0
  66. package/dist/src/collections/sheet/draft-bridge.d.ts +37 -0
  67. package/dist/src/collections/sheet/draft-bridge.d.ts.map +1 -0
  68. package/dist/src/collections/sheet/draft-bridge.js +153 -0
  69. package/dist/src/collections/sheet/draft-bridge.js.map +1 -0
  70. package/dist/src/collections/sheet/drafts.d.ts +14 -0
  71. package/dist/src/collections/sheet/drafts.d.ts.map +1 -0
  72. package/dist/src/collections/sheet/drafts.js +14 -0
  73. package/dist/src/collections/sheet/drafts.js.map +1 -0
  74. package/dist/src/collections/sheet/editing-bridge.d.ts +36 -0
  75. package/dist/src/collections/sheet/editing-bridge.d.ts.map +1 -0
  76. package/dist/src/collections/sheet/editing-bridge.js +196 -0
  77. package/dist/src/collections/sheet/editing-bridge.js.map +1 -0
  78. package/dist/src/collections/sheet/editing-types.d.ts +268 -0
  79. package/dist/src/collections/sheet/editing-types.d.ts.map +1 -0
  80. package/dist/src/collections/sheet/editing-types.js +34 -0
  81. package/dist/src/collections/sheet/editing-types.js.map +1 -0
  82. package/dist/src/collections/sheet/edits.d.ts +37 -0
  83. package/dist/src/collections/sheet/edits.d.ts.map +1 -0
  84. package/dist/src/collections/sheet/edits.js +31 -0
  85. package/dist/src/collections/sheet/edits.js.map +1 -0
  86. package/dist/src/collections/sheet/group.d.ts +165 -0
  87. package/dist/src/collections/sheet/group.d.ts.map +1 -0
  88. package/dist/src/collections/sheet/group.js +52 -0
  89. package/dist/src/collections/sheet/group.js.map +1 -0
  90. package/dist/src/collections/sheet/index.d.ts +171 -27
  91. package/dist/src/collections/sheet/index.d.ts.map +1 -1
  92. package/dist/src/collections/sheet/index.js +99 -17
  93. package/dist/src/collections/sheet/index.js.map +1 -1
  94. package/dist/src/collections/sheet/link.d.ts +22 -16
  95. package/dist/src/collections/sheet/link.d.ts.map +1 -1
  96. package/dist/src/collections/sheet/link.js +18 -12
  97. package/dist/src/collections/sheet/link.js.map +1 -1
  98. package/dist/src/collections/sheet/registers.d.ts +152 -5
  99. package/dist/src/collections/sheet/registers.d.ts.map +1 -1
  100. package/dist/src/collections/sheet/registers.js +154 -5
  101. package/dist/src/collections/sheet/registers.js.map +1 -1
  102. package/dist/src/collections/sheet/root.d.ts +175 -26
  103. package/dist/src/collections/sheet/root.d.ts.map +1 -1
  104. package/dist/src/collections/sheet/root.js +150 -26
  105. package/dist/src/collections/sheet/root.js.map +1 -1
  106. package/dist/src/collections/sheet/seed-bridge.d.ts +14 -0
  107. package/dist/src/collections/sheet/seed-bridge.d.ts.map +1 -0
  108. package/dist/src/collections/sheet/seed-bridge.js +51 -0
  109. package/dist/src/collections/sheet/seed-bridge.js.map +1 -0
  110. package/dist/src/collections/sheet/sub-rows.d.ts +249 -0
  111. package/dist/src/collections/sheet/sub-rows.d.ts.map +1 -0
  112. package/dist/src/collections/sheet/sub-rows.js +222 -0
  113. package/dist/src/collections/sheet/sub-rows.js.map +1 -0
  114. package/dist/src/collections/sheet/transactions.d.ts +76 -0
  115. package/dist/src/collections/sheet/transactions.d.ts.map +1 -0
  116. package/dist/src/collections/sheet/transactions.js +40 -0
  117. package/dist/src/collections/sheet/transactions.js.map +1 -0
  118. package/dist/src/collections/sheet/types.d.ts +12034 -3651
  119. package/dist/src/collections/sheet/types.d.ts.map +1 -1
  120. package/dist/src/collections/sheet/types.js +365 -48
  121. package/dist/src/collections/sheet/types.js.map +1 -1
  122. package/dist/src/collections/table/index.d.ts +98 -123
  123. package/dist/src/collections/table/index.d.ts.map +1 -1
  124. package/dist/src/collections/table/index.js +97 -111
  125. package/dist/src/collections/table/index.js.map +1 -1
  126. package/dist/src/collections/table/types.d.ts +87 -31
  127. package/dist/src/collections/table/types.d.ts.map +1 -1
  128. package/dist/src/collections/table/types.js +51 -26
  129. package/dist/src/collections/table/types.js.map +1 -1
  130. package/dist/src/collections/value-tree/flatten.d.ts.map +1 -1
  131. package/dist/src/collections/value-tree/flatten.js +4 -1
  132. package/dist/src/collections/value-tree/flatten.js.map +1 -1
  133. package/dist/src/component.d.ts +5075 -4079
  134. package/dist/src/component.d.ts.map +1 -1
  135. package/dist/src/component.js +46 -46
  136. package/dist/src/component.js.map +1 -1
  137. package/dist/src/contracts/approval.d.ts +10 -8
  138. package/dist/src/contracts/approval.d.ts.map +1 -1
  139. package/dist/src/contracts/approval.js +10 -8
  140. package/dist/src/contracts/approval.js.map +1 -1
  141. package/dist/src/contracts/drag.d.ts +11 -9
  142. package/dist/src/contracts/drag.d.ts.map +1 -1
  143. package/dist/src/contracts/drag.js +28 -21
  144. package/dist/src/contracts/drag.js.map +1 -1
  145. package/dist/src/contracts/editing.d.ts +1283 -0
  146. package/dist/src/contracts/editing.d.ts.map +1 -0
  147. package/dist/src/contracts/editing.js +711 -0
  148. package/dist/src/contracts/editing.js.map +1 -0
  149. package/dist/src/contracts/index.d.ts +2 -1
  150. package/dist/src/contracts/index.d.ts.map +1 -1
  151. package/dist/src/contracts/index.js +2 -1
  152. package/dist/src/contracts/index.js.map +1 -1
  153. package/dist/src/contracts/pick.d.ts +6 -7
  154. package/dist/src/contracts/pick.d.ts.map +1 -1
  155. package/dist/src/contracts/pick.js +6 -7
  156. package/dist/src/contracts/pick.js.map +1 -1
  157. package/dist/src/contracts/review.d.ts +3 -1
  158. package/dist/src/contracts/review.d.ts.map +1 -1
  159. package/dist/src/contracts/review.js +3 -1
  160. package/dist/src/contracts/review.js.map +1 -1
  161. package/dist/src/contracts/source.d.ts +270 -80
  162. package/dist/src/contracts/source.d.ts.map +1 -1
  163. package/dist/src/contracts/source.js +357 -58
  164. package/dist/src/contracts/source.js.map +1 -1
  165. package/dist/src/display/chip-rail/index.d.ts.map +1 -1
  166. package/dist/src/display/chip-rail/index.js +10 -10
  167. package/dist/src/display/chip-rail/index.js.map +1 -1
  168. package/dist/src/extension.d.ts +2 -1
  169. package/dist/src/extension.d.ts.map +1 -1
  170. package/dist/src/extension.js +2 -1
  171. package/dist/src/extension.js.map +1 -1
  172. package/dist/src/format/index.d.ts +1 -154
  173. package/dist/src/format/index.d.ts.map +1 -1
  174. package/dist/src/format/types.d.ts +35 -23
  175. package/dist/src/format/types.d.ts.map +1 -1
  176. package/dist/src/format/types.js +16 -14
  177. package/dist/src/format/types.js.map +1 -1
  178. package/dist/src/forms/field/index.js +4 -4
  179. package/dist/src/forms/field/index.js.map +1 -1
  180. package/dist/src/forms/file-upload/index.js +16 -16
  181. package/dist/src/forms/file-upload/index.js.map +1 -1
  182. package/dist/src/index.d.ts +4 -2
  183. package/dist/src/index.d.ts.map +1 -1
  184. package/dist/src/index.js +12 -5
  185. package/dist/src/index.js.map +1 -1
  186. package/dist/src/internal.d.ts +8 -3
  187. package/dist/src/internal.d.ts.map +1 -1
  188. package/dist/src/internal.js +11 -3
  189. package/dist/src/internal.js.map +1 -1
  190. package/dist/src/layout/box/index.d.ts.map +1 -1
  191. package/dist/src/layout/box/index.js +47 -47
  192. package/dist/src/layout/box/index.js.map +1 -1
  193. package/dist/src/layout/flex/index.d.ts.map +1 -1
  194. package/dist/src/layout/flex/index.js +47 -47
  195. package/dist/src/layout/flex/index.js.map +1 -1
  196. package/dist/src/layout/grid/index.js +11 -11
  197. package/dist/src/layout/grid/index.js.map +1 -1
  198. package/dist/src/layout/scroll-area/index.d.ts.map +1 -1
  199. package/dist/src/layout/scroll-area/index.js +8 -8
  200. package/dist/src/layout/scroll-area/index.js.map +1 -1
  201. package/dist/src/layout/separator/index.d.ts.map +1 -1
  202. package/dist/src/layout/separator/index.js +6 -6
  203. package/dist/src/layout/separator/index.js.map +1 -1
  204. package/dist/src/layout/stack/index.d.ts.map +1 -1
  205. package/dist/src/layout/stack/index.js +46 -46
  206. package/dist/src/layout/stack/index.js.map +1 -1
  207. package/dist/src/layout/sticky/index.d.ts.map +1 -1
  208. package/dist/src/layout/sticky/index.js +8 -8
  209. package/dist/src/layout/sticky/index.js.map +1 -1
  210. package/dist/src/overlays/action-bar/index.d.ts.map +1 -1
  211. package/dist/src/overlays/action-bar/index.js +8 -8
  212. package/dist/src/overlays/action-bar/index.js.map +1 -1
  213. package/dist/src/platform/index.d.ts +1 -1
  214. package/dist/src/platform/index.d.ts.map +1 -1
  215. package/dist/src/platform/index.js +1 -1
  216. package/dist/src/platform/index.js.map +1 -1
  217. package/dist/src/platform/slice/impl.d.ts +62 -51
  218. package/dist/src/platform/slice/impl.d.ts.map +1 -1
  219. package/dist/src/platform/slice/impl.js +155 -72
  220. package/dist/src/platform/slice/impl.js.map +1 -1
  221. package/dist/src/platform/slice/index.d.ts +3744 -2226
  222. package/dist/src/platform/slice/index.d.ts.map +1 -1
  223. package/dist/src/platform/slice/index.js +43 -1
  224. package/dist/src/platform/slice/index.js.map +1 -1
  225. package/dist/src/runtime/collections/deck.d.ts +4 -0
  226. package/dist/src/runtime/collections/deck.d.ts.map +1 -1
  227. package/dist/src/runtime/collections/matrix.d.ts +10 -9
  228. package/dist/src/runtime/collections/matrix.d.ts.map +1 -1
  229. package/dist/src/runtime/collections/matrix.js +11 -6
  230. package/dist/src/runtime/collections/matrix.js.map +1 -1
  231. package/dist/src/runtime/collections/plan.d.ts +148 -65
  232. package/dist/src/runtime/collections/plan.d.ts.map +1 -1
  233. package/dist/src/runtime/collections/plan.js +155 -67
  234. package/dist/src/runtime/collections/plan.js.map +1 -1
  235. package/dist/src/runtime/collections/sheet.d.ts +56 -23
  236. package/dist/src/runtime/collections/sheet.d.ts.map +1 -1
  237. package/dist/src/runtime/collections/sheet.js +30 -22
  238. package/dist/src/runtime/collections/sheet.js.map +1 -1
  239. package/dist/src/runtime/collections/table.d.ts +18 -11
  240. package/dist/src/runtime/collections/table.d.ts.map +1 -1
  241. package/dist/src/runtime/collections/table.js +7 -4
  242. package/dist/src/runtime/collections/table.js.map +1 -1
  243. package/dist/src/shared/reify.d.ts +4 -46
  244. package/dist/src/shared/reify.d.ts.map +1 -1
  245. package/dist/src/shared/reify.js +4 -61
  246. package/dist/src/shared/reify.js.map +1 -1
  247. package/dist/src/shared/tree.d.ts +88 -0
  248. package/dist/src/shared/tree.d.ts.map +1 -0
  249. package/dist/src/shared/tree.js +134 -0
  250. package/dist/src/shared/tree.js.map +1 -0
  251. package/dist/src/slice/breakdown/index.d.ts +4 -0
  252. package/dist/src/slice/breakdown/index.d.ts.map +1 -1
  253. package/dist/src/slice/breakdown/types.d.ts +4 -0
  254. package/dist/src/slice/breakdown/types.d.ts.map +1 -1
  255. package/dist/src/slice/cohort/index.d.ts +24 -4
  256. package/dist/src/slice/cohort/index.d.ts.map +1 -1
  257. package/dist/src/slice/cohort/index.js +8 -4
  258. package/dist/src/slice/cohort/index.js.map +1 -1
  259. package/dist/src/slice/cohort/types.d.ts +11 -0
  260. package/dist/src/slice/cohort/types.d.ts.map +1 -1
  261. package/dist/src/slice/cohort/types.js +7 -0
  262. package/dist/src/slice/cohort/types.js.map +1 -1
  263. package/dist/src/slice/filter/index.d.ts +4 -0
  264. package/dist/src/slice/filter/index.d.ts.map +1 -1
  265. package/dist/src/slice/filter/types.d.ts +4 -0
  266. package/dist/src/slice/filter/types.d.ts.map +1 -1
  267. package/dist/src/slice/index.d.ts +736 -0
  268. package/dist/src/slice/index.d.ts.map +1 -1
  269. package/dist/src/slice/legend/index.d.ts +4 -0
  270. package/dist/src/slice/legend/index.d.ts.map +1 -1
  271. package/dist/src/slice/legend/types.d.ts +4 -0
  272. package/dist/src/slice/legend/types.d.ts.map +1 -1
  273. package/dist/src/slice/rail/index.d.ts +8 -4
  274. package/dist/src/slice/rail/index.d.ts.map +1 -1
  275. package/dist/src/slice/rail/index.js.map +1 -1
  276. package/dist/src/slice/range/index.d.ts +4 -0
  277. package/dist/src/slice/range/index.d.ts.map +1 -1
  278. package/dist/src/slice/range/types.d.ts +4 -0
  279. package/dist/src/slice/range/types.d.ts.map +1 -1
  280. package/dist/src/slice/search/index.d.ts +4 -0
  281. package/dist/src/slice/search/index.d.ts.map +1 -1
  282. package/dist/src/slice/search/types.d.ts +4 -0
  283. package/dist/src/slice/search/types.d.ts.map +1 -1
  284. package/dist/src/slice/summary/index.d.ts +4 -0
  285. package/dist/src/slice/summary/index.d.ts.map +1 -1
  286. package/dist/src/slice/summary/types.d.ts +4 -0
  287. package/dist/src/slice/summary/types.d.ts.map +1 -1
  288. package/dist/src/typography/code/index.js +1 -1
  289. package/dist/src/typography/code/index.js.map +1 -1
  290. package/dist/src/typography/code-block/index.js +7 -7
  291. package/dist/src/typography/code-block/index.js.map +1 -1
  292. package/dist/src/typography/heading/index.js +2 -2
  293. package/dist/src/typography/heading/index.js.map +1 -1
  294. package/dist/src/typography/list/index.js +1 -1
  295. package/dist/src/typography/list/index.js.map +1 -1
  296. package/dist/src/typography/mark/index.js +1 -1
  297. package/dist/src/typography/mark/index.js.map +1 -1
  298. package/dist/src/typography/note/index.js +1 -1
  299. package/dist/src/typography/note/index.js.map +1 -1
  300. package/dist/src/typography/numeric/index.d.ts +3 -308
  301. package/dist/src/typography/numeric/index.d.ts.map +1 -1
  302. package/dist/src/typography/numeric/index.js +4 -4
  303. package/dist/src/typography/numeric/index.js.map +1 -1
  304. package/dist/src/typography/numeric/types.d.ts +1 -154
  305. package/dist/src/typography/numeric/types.d.ts.map +1 -1
  306. package/dist/src/typography/text/index.js +1 -1
  307. package/dist/src/typography/text/index.js.map +1 -1
  308. package/dist/test/collections/matrix.examples.d.ts +7 -3
  309. package/dist/test/collections/matrix.examples.d.ts.map +1 -1
  310. package/dist/test/collections/matrix.examples.js +55 -24
  311. package/dist/test/collections/matrix.examples.js.map +1 -1
  312. package/dist/test/collections/paged-source.examples.d.ts +4 -0
  313. package/dist/test/collections/paged-source.examples.d.ts.map +1 -1
  314. package/dist/test/collections/paged-source.examples.js +98 -13
  315. package/dist/test/collections/paged-source.examples.js.map +1 -1
  316. package/dist/test/collections/plan.examples.d.ts +101 -26
  317. package/dist/test/collections/plan.examples.d.ts.map +1 -1
  318. package/dist/test/collections/plan.examples.js +1481 -755
  319. package/dist/test/collections/plan.examples.js.map +1 -1
  320. package/dist/test/collections/sheet-link.examples.d.ts +7 -0
  321. package/dist/test/collections/sheet-link.examples.d.ts.map +1 -0
  322. package/dist/test/collections/sheet-link.examples.js +41 -0
  323. package/dist/test/collections/sheet-link.examples.js.map +1 -0
  324. package/dist/test/collections/sheet-transactions.examples.d.ts +7 -0
  325. package/dist/test/collections/sheet-transactions.examples.d.ts.map +1 -0
  326. package/dist/test/collections/sheet-transactions.examples.js +58 -0
  327. package/dist/test/collections/sheet-transactions.examples.js.map +1 -0
  328. package/dist/test/collections/sheet.examples.d.ts +52 -5
  329. package/dist/test/collections/sheet.examples.d.ts.map +1 -1
  330. package/dist/test/collections/sheet.examples.js +500 -158
  331. package/dist/test/collections/sheet.examples.js.map +1 -1
  332. package/dist/test/collections/table.examples.d.ts +31 -3
  333. package/dist/test/collections/table.examples.d.ts.map +1 -1
  334. package/dist/test/collections/table.examples.js +188 -28
  335. package/dist/test/collections/table.examples.js.map +1 -1
  336. package/dist/test/contracts/editing.examples.d.ts +7 -0
  337. package/dist/test/contracts/editing.examples.d.ts.map +1 -0
  338. package/dist/test/contracts/editing.examples.js +58 -0
  339. package/dist/test/contracts/editing.examples.js.map +1 -0
  340. package/dist/test/layout/splitter.examples.d.ts.map +1 -1
  341. package/dist/test/layout/splitter.examples.js +3 -1
  342. package/dist/test/layout/splitter.examples.js.map +1 -1
  343. package/dist/test/platform/slice.examples.d.ts.map +1 -1
  344. package/dist/test/platform/slice.examples.js +1 -0
  345. package/dist/test/platform/slice.examples.js.map +1 -1
  346. package/dist/test/slice/slice.examples.d.ts.map +1 -1
  347. package/dist/test/slice/slice.examples.js +5 -2
  348. package/dist/test/slice/slice.examples.js.map +1 -1
  349. package/package.json +4 -3
  350. package/dist/src/collections/plan/data-forms.d.ts +0 -332
  351. package/dist/src/collections/plan/data-forms.d.ts.map +0 -1
  352. package/dist/src/collections/plan/data-forms.js +0 -212
  353. package/dist/src/collections/plan/data-forms.js.map +0 -1
@@ -185,6 +185,7 @@ export declare const SliceBreakdown: {
185
185
  }>;
186
186
  }>;
187
187
  }>>;
188
+ readonly group: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
188
189
  }>>;
189
190
  readonly activeCohorts: import("@elaraai/east").SetType<import("@elaraai/east").StringType>;
190
191
  readonly breakdown: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
@@ -343,6 +344,7 @@ export declare const SliceBreakdown: {
343
344
  }>;
344
345
  }>;
345
346
  }>>;
347
+ readonly group: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
346
348
  }>>;
347
349
  readonly activeCohorts: import("@elaraai/east").SetType<import("@elaraai/east").StringType>;
348
350
  readonly breakdown: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
@@ -502,6 +504,7 @@ export declare const SliceBreakdown: {
502
504
  }>;
503
505
  }>;
504
506
  }>>;
507
+ readonly group: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
505
508
  }>], import("@elaraai/east").NullType>;
506
509
  readonly updateCohort: import("@elaraai/east").FunctionType<[import("@elaraai/east").StringType, import("@elaraai/east").StructType<{
507
510
  readonly id: import("@elaraai/east").StringType;
@@ -561,6 +564,7 @@ export declare const SliceBreakdown: {
561
564
  }>;
562
565
  }>;
563
566
  }>>;
567
+ readonly group: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
564
568
  }>], import("@elaraai/east").NullType>;
565
569
  readonly removeCohort: import("@elaraai/east").FunctionType<[import("@elaraai/east").StringType], import("@elaraai/east").NullType>;
566
570
  readonly toggleCohort: import("@elaraai/east").FunctionType<[import("@elaraai/east").StringType], import("@elaraai/east").NullType>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/slice/breakdown/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAK1B,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAG9D,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAEtD,qCAAqC;AACrC,MAAM,WAAW,qBAAqB;IAClC,2CAA2C;IAC3C,KAAK,EAAE,kBA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjB,CAAC"}
@@ -153,6 +153,7 @@ export declare const SliceBreakdownPickerType: StructType<{
153
153
  }>;
154
154
  }>;
155
155
  }>>;
156
+ readonly group: OptionType<import("@elaraai/east").StringType>;
156
157
  }>>;
157
158
  readonly activeCohorts: import("@elaraai/east").SetType<import("@elaraai/east").StringType>;
158
159
  readonly breakdown: OptionType<StructType<{
@@ -311,6 +312,7 @@ export declare const SliceBreakdownPickerType: StructType<{
311
312
  }>;
312
313
  }>;
313
314
  }>>;
315
+ readonly group: OptionType<import("@elaraai/east").StringType>;
314
316
  }>>;
315
317
  readonly activeCohorts: import("@elaraai/east").SetType<import("@elaraai/east").StringType>;
316
318
  readonly breakdown: OptionType<StructType<{
@@ -470,6 +472,7 @@ export declare const SliceBreakdownPickerType: StructType<{
470
472
  }>;
471
473
  }>;
472
474
  }>>;
475
+ readonly group: OptionType<import("@elaraai/east").StringType>;
473
476
  }>], import("@elaraai/east").NullType>;
474
477
  readonly updateCohort: import("@elaraai/east").FunctionType<[import("@elaraai/east").StringType, StructType<{
475
478
  readonly id: import("@elaraai/east").StringType;
@@ -529,6 +532,7 @@ export declare const SliceBreakdownPickerType: StructType<{
529
532
  }>;
530
533
  }>;
531
534
  }>>;
535
+ readonly group: OptionType<import("@elaraai/east").StringType>;
532
536
  }>], import("@elaraai/east").NullType>;
533
537
  readonly removeCohort: import("@elaraai/east").FunctionType<[import("@elaraai/east").StringType], import("@elaraai/east").NullType>;
534
538
  readonly toggleCohort: import("@elaraai/east").FunctionType<[import("@elaraai/east").StringType], import("@elaraai/east").NullType>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/slice/breakdown/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGvD;;;;;;;GAOG;AACH,eAAO,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC"}
@@ -28,6 +28,13 @@ export interface SliceCohortOptions {
28
28
  mode?: "toggle" | "manage";
29
29
  /** Show the `+ cohort` authoring pill. Defaults to true in `manage` mode, false in `toggle`. */
30
30
  allowCreate?: SubtypeExprOrValue<BooleanType>;
31
+ /**
32
+ * Show ONE family of cohorts — those whose `group` equals it — without its
33
+ * caption, so a host can mount one surface per family (`group: "state"`
34
+ * beside `group: "status"`). Absent = every cohort: the standalone ones
35
+ * first, then each family as its own captioned run of chips.
36
+ */
37
+ group?: SubtypeExprOrValue<StringType>;
31
38
  }
32
39
  /** Options for `Slice.Presets` — `Slice.Cohort` pinned to `mode: "toggle"`. */
33
40
  export type SlicePresetsOptions = Omit<SliceCohortOptions, "mode">;
@@ -35,10 +42,13 @@ export type SlicePresetsOptions = Omit<SliceCohortOptions, "mode">;
35
42
  * Creates a `Slice.Cohort` — developer-defined, toggleable segment chips bound
36
43
  * to a slice. Each cohort in `state.cohorts` renders as a chip (swatch · name ·
37
44
  * live count, active ones brand-tinted); the chip's **primary click toggles the
38
- * cohort on/off** via `slice.toggleCohort(id)`. In `manage` mode (the default)
39
- * a secondary pencil opens the editor popover (clauses + Apply / Remove) and a
40
- * `+ cohort` pill authors new ones; `mode: "toggle"` renders a pure preset bar
41
- * with no authoring affordances. Cohort sizes come from `slice.cohortCounts()`.
45
+ * cohort on/off** via `slice.toggleCohort(id)`. Cohorts that share a `group`
46
+ * render as one captioned run — a family of alternatives that OR with each
47
+ * other and AND with the rest — and `group` shows a single family. In `manage`
48
+ * mode (the default) a secondary pencil opens the editor popover (clauses,
49
+ * family, Apply / Remove) and a `+ cohort` pill authors new ones; `mode:
50
+ * "toggle"` renders a pure preset bar with no authoring affordances. Cohort
51
+ * sizes come from `slice.cohortCounts()`.
42
52
  *
43
53
  * @param options - The bound slice plus mode / authoring / detail-meta options
44
54
  * @returns An East expression of type `UIComponentType`
@@ -221,6 +231,7 @@ export declare const SliceCohort: {
221
231
  }>;
222
232
  }>;
223
233
  }>>;
234
+ readonly group: import("@elaraai/east").OptionType<StringType>;
224
235
  }>>;
225
236
  readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
226
237
  readonly breakdown: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
@@ -379,6 +390,7 @@ export declare const SliceCohort: {
379
390
  }>;
380
391
  }>;
381
392
  }>>;
393
+ readonly group: import("@elaraai/east").OptionType<StringType>;
382
394
  }>>;
383
395
  readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
384
396
  readonly breakdown: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
@@ -538,6 +550,7 @@ export declare const SliceCohort: {
538
550
  }>;
539
551
  }>;
540
552
  }>>;
553
+ readonly group: import("@elaraai/east").OptionType<StringType>;
541
554
  }>], import("@elaraai/east").NullType>;
542
555
  readonly updateCohort: import("@elaraai/east").FunctionType<[StringType, import("@elaraai/east").StructType<{
543
556
  readonly id: StringType;
@@ -597,6 +610,7 @@ export declare const SliceCohort: {
597
610
  }>;
598
611
  }>;
599
612
  }>>;
613
+ readonly group: import("@elaraai/east").OptionType<StringType>;
600
614
  }>], import("@elaraai/east").NullType>;
601
615
  readonly removeCohort: import("@elaraai/east").FunctionType<[StringType], import("@elaraai/east").NullType>;
602
616
  readonly toggleCohort: import("@elaraai/east").FunctionType<[StringType], import("@elaraai/east").NullType>;
@@ -743,6 +757,7 @@ export declare const SliceCohort: {
743
757
  readonly manage: import("@elaraai/east").NullType;
744
758
  }>>;
745
759
  readonly allowCreate: import("@elaraai/east").OptionType<BooleanType>;
760
+ readonly group: import("@elaraai/east").OptionType<StringType>;
746
761
  }>;
747
762
  readonly Mode: import("@elaraai/east").VariantType<{
748
763
  readonly toggle: import("@elaraai/east").NullType;
@@ -896,6 +911,7 @@ export declare const SlicePresets: {
896
911
  }>;
897
912
  }>;
898
913
  }>>;
914
+ readonly group: import("@elaraai/east").OptionType<StringType>;
899
915
  }>>;
900
916
  readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
901
917
  readonly breakdown: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
@@ -1054,6 +1070,7 @@ export declare const SlicePresets: {
1054
1070
  }>;
1055
1071
  }>;
1056
1072
  }>>;
1073
+ readonly group: import("@elaraai/east").OptionType<StringType>;
1057
1074
  }>>;
1058
1075
  readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
1059
1076
  readonly breakdown: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
@@ -1213,6 +1230,7 @@ export declare const SlicePresets: {
1213
1230
  }>;
1214
1231
  }>;
1215
1232
  }>>;
1233
+ readonly group: import("@elaraai/east").OptionType<StringType>;
1216
1234
  }>], import("@elaraai/east").NullType>;
1217
1235
  readonly updateCohort: import("@elaraai/east").FunctionType<[StringType, import("@elaraai/east").StructType<{
1218
1236
  readonly id: StringType;
@@ -1272,6 +1290,7 @@ export declare const SlicePresets: {
1272
1290
  }>;
1273
1291
  }>;
1274
1292
  }>>;
1293
+ readonly group: import("@elaraai/east").OptionType<StringType>;
1275
1294
  }>], import("@elaraai/east").NullType>;
1276
1295
  readonly removeCohort: import("@elaraai/east").FunctionType<[StringType], import("@elaraai/east").NullType>;
1277
1296
  readonly toggleCohort: import("@elaraai/east").FunctionType<[StringType], import("@elaraai/east").NullType>;
@@ -1418,6 +1437,7 @@ export declare const SlicePresets: {
1418
1437
  readonly manage: import("@elaraai/east").NullType;
1419
1438
  }>>;
1420
1439
  readonly allowCreate: import("@elaraai/east").OptionType<BooleanType>;
1440
+ readonly group: import("@elaraai/east").OptionType<StringType>;
1421
1441
  }>;
1422
1442
  readonly Mode: import("@elaraai/east").VariantType<{
1423
1443
  readonly toggle: import("@elaraai/east").NullType;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/slice/cohort/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAEvB,UAAU,EACV,WAAW,EAId,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAG9D,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExE,kCAAkC;AAClC,MAAM,WAAW,kBAAkB;IAC/B,2CAA2C;IAC3C,KAAK,EAAE,kBAAkB,CAAC,aAAa,CAAC,CAAC;IACzC,0CAA0C;IAC1C,SAAS,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAC3C,qDAAqD;IACrD,UAAU,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAC5C,qDAAqD;IACrD,eAAe,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IACjD,yEAAyE;IACzE,OAAO,CAAC,EAAE,SAAS,GAAG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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMf,CAAC"}
@@ -11,10 +11,13 @@ export { SliceCohortModeType, SliceCohortPickerType } from "./types.js";
11
11
  * Creates a `Slice.Cohort` — developer-defined, toggleable segment chips bound
12
12
  * to a slice. Each cohort in `state.cohorts` renders as a chip (swatch · name ·
13
13
  * live count, active ones brand-tinted); the chip's **primary click toggles the
14
- * cohort on/off** via `slice.toggleCohort(id)`. In `manage` mode (the default)
15
- * a secondary pencil opens the editor popover (clauses + Apply / Remove) and a
16
- * `+ cohort` pill authors new ones; `mode: "toggle"` renders a pure preset bar
17
- * with no authoring affordances. Cohort sizes come from `slice.cohortCounts()`.
14
+ * cohort on/off** via `slice.toggleCohort(id)`. Cohorts that share a `group`
15
+ * render as one captioned run — a family of alternatives that OR with each
16
+ * other and AND with the rest — and `group` shows a single family. In `manage`
17
+ * mode (the default) a secondary pencil opens the editor popover (clauses,
18
+ * family, Apply / Remove) and a `+ cohort` pill authors new ones; `mode:
19
+ * "toggle"` renders a pure preset bar with no authoring affordances. Cohort
20
+ * sizes come from `slice.cohortCounts()`.
18
21
  *
19
22
  * @param options - The bound slice plus mode / authoring / detail-meta options
20
23
  * @returns An East expression of type `UIComponentType`
@@ -51,6 +54,7 @@ function createSliceCohort(options) {
51
54
  editOpen: options.editOpen !== undefined ? some(options.editOpen) : none,
52
55
  mode: options.mode !== undefined ? some(variant(options.mode, null)) : none,
53
56
  allowCreate: options.allowCreate !== undefined ? some(options.allowCreate) : none,
57
+ group: options.group !== undefined ? some(options.group) : none,
54
58
  }), UIComponentType);
55
59
  }
56
60
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/slice/cohort/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAGH,IAAI,EACJ,UAAU,EACV,WAAW,EACX,OAAO,EACP,IAAI,EACJ,IAAI,GACP,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAExE,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AA6BxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAS,iBAAiB,CACtB,OAA2B;IAE3B,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,aAAa,EAAE;QACrC,KAAK,EAAY,OAAO,CAAC,KAAK;QAC9B,SAAS,EAAQ,OAAO,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI;QACjF,UAAU,EAAO,OAAO,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI;QACnF,eAAe,EAAE,OAAO,CAAC,eAAe,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,IAAI;QAC7F,OAAO,EAAU,OAAO,CAAC,OAAO,KAAK,SAAS,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AAC,CAAC,CAAC,CAAC,CAAC,IAAI;QACtF,WAAW,EAAM,OAAO,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,IAAI;QACrF,KAAK,EAAY,OAAO,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI;KAC5E,CAAC,EAAE,eAAe,CAAC,CAAC;AACzB,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,kBAAkB,CACvB,OAA4B;IAE5B,OAAO,iBAAiB,CAAC,EAAE,GAAG,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;AAC7D,CAAC;AAED,2EAA2E;AAC3E,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE;QACH,MAAM,EAAE,qBAAqB;QAC7B,IAAI,EAAE,mBAAmB;KAC5B;CACK,CAAC;AAEX,mGAAmG;AACnG,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE;QACH,MAAM,EAAE,qBAAqB;QAC7B,IAAI,EAAE,mBAAmB;KAC5B;CACK,CAAC"}
@@ -45,6 +45,12 @@ export type SliceCohortModeType = typeof SliceCohortModeType;
45
45
  * (default) = toggling chips + pencil/`+ cohort` authoring.
46
46
  * @property allowCreate - Show the `+ cohort` authoring pill. Defaults to
47
47
  * true in `manage` mode, false in `toggle` mode.
48
+ * @property group - Show ONE family only: the cohorts whose `group`
49
+ * equals it, uncaptioned — for a host that mounts
50
+ * one surface per family. Absent = every cohort,
51
+ * the standalone ones first and each family as its
52
+ * own captioned run. Appended last: wire-order
53
+ * compatibility.
48
54
  */
49
55
  export declare const SliceCohortPickerType: StructType<{
50
56
  readonly slice: StructType<{
@@ -188,6 +194,7 @@ export declare const SliceCohortPickerType: StructType<{
188
194
  }>;
189
195
  }>;
190
196
  }>>;
197
+ readonly group: OptionType<StringType>;
191
198
  }>>;
192
199
  readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
193
200
  readonly breakdown: OptionType<StructType<{
@@ -346,6 +353,7 @@ export declare const SliceCohortPickerType: StructType<{
346
353
  }>;
347
354
  }>;
348
355
  }>>;
356
+ readonly group: OptionType<StringType>;
349
357
  }>>;
350
358
  readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
351
359
  readonly breakdown: OptionType<StructType<{
@@ -505,6 +513,7 @@ export declare const SliceCohortPickerType: StructType<{
505
513
  }>;
506
514
  }>;
507
515
  }>>;
516
+ readonly group: OptionType<StringType>;
508
517
  }>], NullType>;
509
518
  readonly updateCohort: import("@elaraai/east").FunctionType<[StringType, StructType<{
510
519
  readonly id: StringType;
@@ -564,6 +573,7 @@ export declare const SliceCohortPickerType: StructType<{
564
573
  }>;
565
574
  }>;
566
575
  }>>;
576
+ readonly group: OptionType<StringType>;
567
577
  }>], NullType>;
568
578
  readonly removeCohort: import("@elaraai/east").FunctionType<[StringType], NullType>;
569
579
  readonly toggleCohort: import("@elaraai/east").FunctionType<[StringType], NullType>;
@@ -710,6 +720,7 @@ export declare const SliceCohortPickerType: StructType<{
710
720
  readonly manage: NullType;
711
721
  }>>;
712
722
  readonly allowCreate: OptionType<BooleanType>;
723
+ readonly group: OptionType<StringType>;
713
724
  }>;
714
725
  export type SliceCohortPickerType = typeof SliceCohortPickerType;
715
726
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/slice/cohort/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAGvG;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB;;;EAG9B,CAAC;AAC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;;EAG9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC;AAE7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC"}
@@ -45,6 +45,12 @@ export const SliceCohortModeType = VariantType({
45
45
  * (default) = toggling chips + pencil/`+ cohort` authoring.
46
46
  * @property allowCreate - Show the `+ cohort` authoring pill. Defaults to
47
47
  * true in `manage` mode, false in `toggle` mode.
48
+ * @property group - Show ONE family only: the cohorts whose `group`
49
+ * equals it, uncaptioned — for a host that mounts
50
+ * one surface per family. Absent = every cohort,
51
+ * the standalone ones first and each family as its
52
+ * own captioned run. Appended last: wire-order
53
+ * compatibility.
48
54
  */
49
55
  export const SliceCohortPickerType = StructType({
50
56
  slice: SliceBindType,
@@ -55,5 +61,6 @@ export const SliceCohortPickerType = StructType({
55
61
  editOpen: OptionType(BooleanType),
56
62
  mode: OptionType(SliceCohortModeType),
57
63
  allowCreate: OptionType(BooleanType),
64
+ group: OptionType(StringType),
58
65
  });
59
66
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/slice/cohort/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEhF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,WAAW,CAAC;IAC3C,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACnB,CAAC,CAAC;AAGH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,UAAU,CAAC;IAC5C,KAAK,EAAY,aAAa;IAC9B,SAAS,EAAQ,UAAU,CAAC,UAAU,CAAC;IACvC,UAAU,EAAO,UAAU,CAAC,UAAU,CAAC;IACvC,eAAe,EAAE,UAAU,CAAC,UAAU,CAAC;IACvC,OAAO,EAAU,UAAU,CAAC,gBAAgB,CAAC;IAC7C,QAAQ,EAAS,UAAU,CAAC,WAAW,CAAC;IACxC,IAAI,EAAa,UAAU,CAAC,mBAAmB,CAAC;IAChD,WAAW,EAAM,UAAU,CAAC,WAAW,CAAC;CAC3C,CAAC,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/slice/cohort/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACvG,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEhF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,WAAW,CAAC;IAC3C,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACnB,CAAC,CAAC;AAGH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,UAAU,CAAC;IAC5C,KAAK,EAAY,aAAa;IAC9B,SAAS,EAAQ,UAAU,CAAC,UAAU,CAAC;IACvC,UAAU,EAAO,UAAU,CAAC,UAAU,CAAC;IACvC,eAAe,EAAE,UAAU,CAAC,UAAU,CAAC;IACvC,OAAO,EAAU,UAAU,CAAC,gBAAgB,CAAC;IAC7C,QAAQ,EAAS,UAAU,CAAC,WAAW,CAAC;IACxC,IAAI,EAAa,UAAU,CAAC,mBAAmB,CAAC;IAChD,WAAW,EAAM,UAAU,CAAC,WAAW,CAAC;IACxC,KAAK,EAAY,UAAU,CAAC,UAAU,CAAC;CAC1C,CAAC,CAAC"}
@@ -188,6 +188,7 @@ export declare const SliceFilter: {
188
188
  }>;
189
189
  }>;
190
190
  }>>;
191
+ readonly group: import("@elaraai/east").OptionType<StringType>;
191
192
  }>>;
192
193
  readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
193
194
  readonly breakdown: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
@@ -346,6 +347,7 @@ export declare const SliceFilter: {
346
347
  }>;
347
348
  }>;
348
349
  }>>;
350
+ readonly group: import("@elaraai/east").OptionType<StringType>;
349
351
  }>>;
350
352
  readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
351
353
  readonly breakdown: import("@elaraai/east").OptionType<import("@elaraai/east").StructType<{
@@ -505,6 +507,7 @@ export declare const SliceFilter: {
505
507
  }>;
506
508
  }>;
507
509
  }>>;
510
+ readonly group: import("@elaraai/east").OptionType<StringType>;
508
511
  }>], import("@elaraai/east").NullType>;
509
512
  readonly updateCohort: import("@elaraai/east").FunctionType<[StringType, import("@elaraai/east").StructType<{
510
513
  readonly id: StringType;
@@ -564,6 +567,7 @@ export declare const SliceFilter: {
564
567
  }>;
565
568
  }>;
566
569
  }>>;
570
+ readonly group: import("@elaraai/east").OptionType<StringType>;
567
571
  }>], import("@elaraai/east").NullType>;
568
572
  readonly removeCohort: import("@elaraai/east").FunctionType<[StringType], import("@elaraai/east").NullType>;
569
573
  readonly toggleCohort: import("@elaraai/east").FunctionType<[StringType], import("@elaraai/east").NullType>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/slice/filter/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAEvB,UAAU,EACV,WAAW,EAId,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAG9D,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,kCAAkC;AAClC,MAAM,WAAW,kBAAkB;IAC/B,2CAA2C;IAC3C,KAAK,EAAE,kBAAkB,CAAC,aAAa,CAAC,CAAC;IACzC,8FAA8F;IAC9F,IAAI,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IACtC,yEAAyE;IACzE,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAChC,uFAAuF;IACvF,QAAQ,CAAC,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAC;CAC9C;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,iBAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC"}
@@ -164,6 +164,7 @@ export declare const SliceFilterType: StructType<{
164
164
  }>;
165
165
  }>;
166
166
  }>>;
167
+ readonly group: OptionType<StringType>;
167
168
  }>>;
168
169
  readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
169
170
  readonly breakdown: OptionType<StructType<{
@@ -322,6 +323,7 @@ export declare const SliceFilterType: StructType<{
322
323
  }>;
323
324
  }>;
324
325
  }>>;
326
+ readonly group: OptionType<StringType>;
325
327
  }>>;
326
328
  readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
327
329
  readonly breakdown: OptionType<StructType<{
@@ -481,6 +483,7 @@ export declare const SliceFilterType: StructType<{
481
483
  }>;
482
484
  }>;
483
485
  }>>;
486
+ readonly group: OptionType<StringType>;
484
487
  }>], import("@elaraai/east").NullType>;
485
488
  readonly updateCohort: import("@elaraai/east").FunctionType<[StringType, StructType<{
486
489
  readonly id: StringType;
@@ -540,6 +543,7 @@ export declare const SliceFilterType: StructType<{
540
543
  }>;
541
544
  }>;
542
545
  }>>;
546
+ readonly group: OptionType<StringType>;
543
547
  }>], import("@elaraai/east").NullType>;
544
548
  readonly removeCohort: import("@elaraai/east").FunctionType<[StringType], import("@elaraai/east").NullType>;
545
549
  readonly toggleCohort: import("@elaraai/east").FunctionType<[StringType], import("@elaraai/east").NullType>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/slice/filter/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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