@elaraai/east-ui 1.0.86 → 1.0.87

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 (561) hide show
  1. package/dist/src/buttons/button/index.d.ts +4 -0
  2. package/dist/src/buttons/button/index.d.ts.map +1 -1
  3. package/dist/src/buttons/button/index.js +8 -1
  4. package/dist/src/buttons/button/index.js.map +1 -1
  5. package/dist/src/buttons/button/types.d.ts +6 -5
  6. package/dist/src/buttons/button/types.d.ts.map +1 -1
  7. package/dist/src/buttons/button/types.js.map +1 -1
  8. package/dist/src/buttons/icon-button/index.d.ts +5 -5
  9. package/dist/src/buttons/icon-button/index.d.ts.map +1 -1
  10. package/dist/src/buttons/icon-button/index.js +8 -2
  11. package/dist/src/buttons/icon-button/index.js.map +1 -1
  12. package/dist/src/buttons/icon-button/types.d.ts +8 -12
  13. package/dist/src/buttons/icon-button/types.d.ts.map +1 -1
  14. package/dist/src/buttons/icon-button/types.js +2 -2
  15. package/dist/src/buttons/icon-button/types.js.map +1 -1
  16. package/dist/src/buttons/toggle/index.d.ts +4 -0
  17. package/dist/src/buttons/toggle/index.d.ts.map +1 -1
  18. package/dist/src/buttons/toggle/index.js +6 -1
  19. package/dist/src/buttons/toggle/index.js.map +1 -1
  20. package/dist/src/buttons/toggle/types.d.ts +3 -2
  21. package/dist/src/buttons/toggle/types.d.ts.map +1 -1
  22. package/dist/src/buttons/toggle/types.js.map +1 -1
  23. package/dist/src/charts/chart/index.d.ts.map +1 -1
  24. package/dist/src/charts/chart/index.js +3 -3
  25. package/dist/src/charts/chart/index.js.map +1 -1
  26. package/dist/src/charts/spec/index.d.ts.map +1 -1
  27. package/dist/src/charts/spec/index.js +5 -2
  28. package/dist/src/charts/spec/index.js.map +1 -1
  29. package/dist/src/collections/deck/index.d.ts.map +1 -1
  30. package/dist/src/collections/deck/index.js +2 -2
  31. package/dist/src/collections/deck/index.js.map +1 -1
  32. package/dist/src/collections/index.d.ts +0 -6
  33. package/dist/src/collections/index.d.ts.map +1 -1
  34. package/dist/src/collections/index.js +0 -6
  35. package/dist/src/collections/index.js.map +1 -1
  36. package/dist/src/collections/library/index.d.ts +1 -1
  37. package/dist/src/collections/library/index.d.ts.map +1 -1
  38. package/dist/src/collections/library/index.js +2 -2
  39. package/dist/src/collections/library/index.js.map +1 -1
  40. package/dist/src/collections/schematic/index.d.ts.map +1 -1
  41. package/dist/src/collections/schematic/index.js +2 -2
  42. package/dist/src/collections/schematic/index.js.map +1 -1
  43. package/dist/src/collections/table/index.d.ts +1 -1
  44. package/dist/src/collections/table/index.d.ts.map +1 -1
  45. package/dist/src/collections/table/index.js +2 -2
  46. package/dist/src/collections/table/index.js.map +1 -1
  47. package/dist/src/collections/tree-view/index.d.ts +11 -32
  48. package/dist/src/collections/tree-view/index.d.ts.map +1 -1
  49. package/dist/src/collections/tree-view/index.js +15 -10
  50. package/dist/src/collections/tree-view/index.js.map +1 -1
  51. package/dist/src/component.d.ts +673 -9344
  52. package/dist/src/component.d.ts.map +1 -1
  53. package/dist/src/component.js +5 -259
  54. package/dist/src/component.js.map +1 -1
  55. package/dist/src/contracts/approval.d.ts +6 -8
  56. package/dist/src/contracts/approval.d.ts.map +1 -1
  57. package/dist/src/contracts/approval.js +6 -8
  58. package/dist/src/contracts/approval.js.map +1 -1
  59. package/dist/src/contracts/drag.d.ts +1 -1
  60. package/dist/src/contracts/drag.d.ts.map +1 -1
  61. package/dist/src/contracts/drag.js +4 -5
  62. package/dist/src/contracts/drag.js.map +1 -1
  63. package/dist/src/contracts/editing.d.ts +19 -19
  64. package/dist/src/contracts/editing.js +14 -14
  65. package/dist/src/contracts/fields.d.ts +471 -0
  66. package/dist/src/contracts/fields.d.ts.map +1 -0
  67. package/dist/src/contracts/fields.js +492 -0
  68. package/dist/src/contracts/fields.js.map +1 -0
  69. package/dist/src/contracts/index.d.ts +1 -0
  70. package/dist/src/contracts/index.d.ts.map +1 -1
  71. package/dist/src/contracts/index.js +1 -0
  72. package/dist/src/contracts/index.js.map +1 -1
  73. package/dist/src/contracts/indexed-source.d.ts +118 -0
  74. package/dist/src/contracts/indexed-source.d.ts.map +1 -0
  75. package/dist/src/contracts/indexed-source.js +89 -0
  76. package/dist/src/contracts/indexed-source.js.map +1 -0
  77. package/dist/src/contracts/pick.d.ts +0 -16
  78. package/dist/src/contracts/pick.d.ts.map +1 -1
  79. package/dist/src/contracts/review.d.ts +4 -6
  80. package/dist/src/contracts/review.d.ts.map +1 -1
  81. package/dist/src/contracts/review.js +4 -6
  82. package/dist/src/contracts/review.js.map +1 -1
  83. package/dist/src/contracts/source.d.ts +2 -2
  84. package/dist/src/contracts/source.d.ts.map +1 -1
  85. package/dist/src/contracts/source.js.map +1 -1
  86. package/dist/src/contracts/states.d.ts +1 -3
  87. package/dist/src/contracts/states.d.ts.map +1 -1
  88. package/dist/src/contracts/states.js +1 -3
  89. package/dist/src/contracts/states.js.map +1 -1
  90. package/dist/src/display/editable-chip/index.d.ts +2 -0
  91. package/dist/src/display/editable-chip/index.d.ts.map +1 -1
  92. package/dist/src/display/editable-chip/index.js +4 -1
  93. package/dist/src/display/editable-chip/index.js.map +1 -1
  94. package/dist/src/display/icon/index.d.ts +14 -31
  95. package/dist/src/display/icon/index.d.ts.map +1 -1
  96. package/dist/src/display/icon/index.js +15 -19
  97. package/dist/src/display/icon/index.js.map +1 -1
  98. package/dist/src/display/icon/solid.d.ts +24 -0
  99. package/dist/src/display/icon/solid.d.ts.map +1 -0
  100. package/dist/src/display/icon/solid.js +39 -0
  101. package/dist/src/display/icon/solid.js.map +1 -0
  102. package/dist/src/display/icon/types.d.ts +14 -38
  103. package/dist/src/display/icon/types.d.ts.map +1 -1
  104. package/dist/src/display/icon/types.js +6 -15
  105. package/dist/src/display/icon/types.js.map +1 -1
  106. package/dist/src/display/metric-chip/index.d.ts +2 -0
  107. package/dist/src/display/metric-chip/index.d.ts.map +1 -1
  108. package/dist/src/display/metric-chip/index.js +4 -1
  109. package/dist/src/display/metric-chip/index.js.map +1 -1
  110. package/dist/src/display/stat/index.d.ts +2 -0
  111. package/dist/src/display/stat/index.d.ts.map +1 -1
  112. package/dist/src/display/stat/index.js +4 -1
  113. package/dist/src/display/stat/index.js.map +1 -1
  114. package/dist/src/display/stat/types.d.ts +3 -5
  115. package/dist/src/display/stat/types.d.ts.map +1 -1
  116. package/dist/src/display/stat/types.js +5 -2
  117. package/dist/src/display/stat/types.js.map +1 -1
  118. package/dist/src/feedback/banner/index.d.ts +5 -3
  119. package/dist/src/feedback/banner/index.d.ts.map +1 -1
  120. package/dist/src/feedback/banner/index.js +4 -1
  121. package/dist/src/feedback/banner/index.js.map +1 -1
  122. package/dist/src/feedback/empty-state/index.d.ts +16 -19
  123. package/dist/src/feedback/empty-state/index.d.ts.map +1 -1
  124. package/dist/src/feedback/empty-state/index.js +17 -10
  125. package/dist/src/feedback/empty-state/index.js.map +1 -1
  126. package/dist/src/feedback/status/index.d.ts +5 -3
  127. package/dist/src/feedback/status/index.d.ts.map +1 -1
  128. package/dist/src/feedback/status/index.js +4 -1
  129. package/dist/src/feedback/status/index.js.map +1 -1
  130. package/dist/src/index.d.ts +5 -6
  131. package/dist/src/index.d.ts.map +1 -1
  132. package/dist/src/index.js +12 -11
  133. package/dist/src/index.js.map +1 -1
  134. package/dist/src/internal.d.ts +23 -16
  135. package/dist/src/internal.d.ts.map +1 -1
  136. package/dist/src/internal.js +29 -13
  137. package/dist/src/internal.js.map +1 -1
  138. package/dist/src/navigation/index.d.ts +0 -2
  139. package/dist/src/navigation/index.d.ts.map +1 -1
  140. package/dist/src/navigation/index.js +0 -2
  141. package/dist/src/navigation/index.js.map +1 -1
  142. package/dist/src/navigation/nav-list/index.d.ts +2 -0
  143. package/dist/src/navigation/nav-list/index.d.ts.map +1 -1
  144. package/dist/src/navigation/nav-list/index.js +4 -1
  145. package/dist/src/navigation/nav-list/index.js.map +1 -1
  146. package/dist/src/navigation/nav-list/types.d.ts +3 -14
  147. package/dist/src/navigation/nav-list/types.d.ts.map +1 -1
  148. package/dist/src/navigation/nav-list/types.js.map +1 -1
  149. package/dist/src/overlays/command-palette/index.d.ts +2 -0
  150. package/dist/src/overlays/command-palette/index.d.ts.map +1 -1
  151. package/dist/src/overlays/command-palette/index.js +5 -0
  152. package/dist/src/overlays/command-palette/index.js.map +1 -1
  153. package/dist/src/overlays/command-palette/types.d.ts +0 -8
  154. package/dist/src/overlays/command-palette/types.d.ts.map +1 -1
  155. package/dist/src/pick/index.d.ts +1 -17
  156. package/dist/src/pick/index.d.ts.map +1 -1
  157. package/dist/src/pick/index.js +1 -1
  158. package/dist/src/platform/slice/index.d.ts +1324 -2039
  159. package/dist/src/platform/slice/index.d.ts.map +1 -1
  160. package/dist/src/platform/slice/index.js +55 -74
  161. package/dist/src/platform/slice/index.js.map +1 -1
  162. package/dist/src/platform/slice/local.d.ts +743 -0
  163. package/dist/src/platform/slice/local.d.ts.map +1 -0
  164. package/dist/src/platform/slice/local.js +133 -0
  165. package/dist/src/platform/slice/local.js.map +1 -0
  166. package/dist/src/platform/slice/record-chrome.d.ts +211 -0
  167. package/dist/src/platform/slice/record-chrome.d.ts.map +1 -0
  168. package/dist/src/platform/slice/record-chrome.js +52 -0
  169. package/dist/src/platform/slice/record-chrome.js.map +1 -0
  170. package/dist/src/platform/slice/record-interval.d.ts +24 -0
  171. package/dist/src/platform/slice/record-interval.d.ts.map +1 -0
  172. package/dist/src/platform/slice/record-interval.js +61 -0
  173. package/dist/src/platform/slice/record-interval.js.map +1 -0
  174. package/dist/src/platform/slice/record-plan.d.ts +54 -0
  175. package/dist/src/platform/slice/record-plan.d.ts.map +1 -0
  176. package/dist/src/platform/slice/record-plan.js +139 -0
  177. package/dist/src/platform/slice/record-plan.js.map +1 -0
  178. package/dist/src/platform/slice/record-types.d.ts +2739 -0
  179. package/dist/src/platform/slice/record-types.d.ts.map +1 -0
  180. package/dist/src/platform/slice/record-types.js +209 -0
  181. package/dist/src/platform/slice/record-types.js.map +1 -0
  182. package/dist/src/platform/slice/record.d.ts +109 -0
  183. package/dist/src/platform/slice/record.d.ts.map +1 -0
  184. package/dist/src/platform/slice/record.js +210 -0
  185. package/dist/src/platform/slice/record.js.map +1 -0
  186. package/dist/src/reactive/match.d.ts +4 -6
  187. package/dist/src/reactive/match.d.ts.map +1 -1
  188. package/dist/src/reactive/match.js +4 -6
  189. package/dist/src/reactive/match.js.map +1 -1
  190. package/dist/src/runtime/collections/deck.d.ts.map +1 -1
  191. package/dist/src/runtime/collections/index.d.ts +0 -6
  192. package/dist/src/runtime/collections/index.d.ts.map +1 -1
  193. package/dist/src/runtime/collections/index.js +0 -6
  194. package/dist/src/runtime/collections/index.js.map +1 -1
  195. package/dist/src/runtime/display/icon.d.ts +6 -5
  196. package/dist/src/runtime/display/icon.d.ts.map +1 -1
  197. package/dist/src/runtime/display/icon.js +6 -5
  198. package/dist/src/runtime/display/icon.js.map +1 -1
  199. package/dist/src/runtime/feedback/empty-state.d.ts +5 -5
  200. package/dist/src/runtime/feedback/empty-state.js +5 -5
  201. package/dist/src/runtime/layout/dock.d.ts +2 -1
  202. package/dist/src/runtime/layout/dock.d.ts.map +1 -1
  203. package/dist/src/runtime/layout/dock.js +2 -1
  204. package/dist/src/runtime/layout/dock.js.map +1 -1
  205. package/dist/src/runtime/navigation/index.d.ts +0 -3
  206. package/dist/src/runtime/navigation/index.d.ts.map +1 -1
  207. package/dist/src/runtime/navigation/index.js +0 -3
  208. package/dist/src/runtime/navigation/index.js.map +1 -1
  209. package/dist/src/runtime/reactive/match.d.ts +2 -3
  210. package/dist/src/runtime/reactive/match.d.ts.map +1 -1
  211. package/dist/src/runtime/reactive/match.js +2 -3
  212. package/dist/src/runtime/reactive/match.js.map +1 -1
  213. package/dist/src/runtime/record-slice-source.d.ts +78 -0
  214. package/dist/src/runtime/record-slice-source.d.ts.map +1 -0
  215. package/dist/src/runtime/record-slice-source.js +201 -0
  216. package/dist/src/runtime/record-slice-source.js.map +1 -0
  217. package/dist/src/runtime/record-slice.d.ts +110 -0
  218. package/dist/src/runtime/record-slice.d.ts.map +1 -0
  219. package/dist/src/runtime/record-slice.js +374 -0
  220. package/dist/src/runtime/record-slice.js.map +1 -0
  221. package/dist/src/runtime/slice.d.ts +11 -13
  222. package/dist/src/runtime/slice.d.ts.map +1 -1
  223. package/dist/src/runtime/slice.js +41 -93
  224. package/dist/src/runtime/slice.js.map +1 -1
  225. package/dist/src/shared/plot-gutter.d.ts +1 -1
  226. package/dist/src/shared/plot-gutter.js +1 -1
  227. package/dist/src/shared/resolve-tag.d.ts +23 -0
  228. package/dist/src/shared/resolve-tag.d.ts.map +1 -0
  229. package/dist/src/shared/resolve-tag.js +26 -0
  230. package/dist/src/shared/resolve-tag.js.map +1 -0
  231. package/dist/src/shared/tree.d.ts +1 -1
  232. package/dist/src/shared/tree.js +1 -1
  233. package/dist/src/slice/breakdown/index.d.ts +1 -1
  234. package/dist/src/slice/breakdown/index.d.ts.map +1 -1
  235. package/dist/src/slice/breakdown/index.js +3 -3
  236. package/dist/src/slice/breakdown/index.js.map +1 -1
  237. package/dist/src/slice/cohort/index.d.ts +4 -5
  238. package/dist/src/slice/cohort/index.d.ts.map +1 -1
  239. package/dist/src/slice/cohort/index.js +6 -7
  240. package/dist/src/slice/cohort/index.js.map +1 -1
  241. package/dist/src/slice/filter/index.d.ts +1 -1
  242. package/dist/src/slice/filter/index.d.ts.map +1 -1
  243. package/dist/src/slice/filter/index.js +3 -3
  244. package/dist/src/slice/filter/index.js.map +1 -1
  245. package/dist/src/slice/index.d.ts +20 -2230
  246. package/dist/src/slice/index.d.ts.map +1 -1
  247. package/dist/src/slice/legend/index.d.ts +2 -2
  248. package/dist/src/slice/legend/index.d.ts.map +1 -1
  249. package/dist/src/slice/legend/index.js +4 -4
  250. package/dist/src/slice/legend/index.js.map +1 -1
  251. package/dist/src/slice/rail/index.d.ts +7 -4
  252. package/dist/src/slice/rail/index.d.ts.map +1 -1
  253. package/dist/src/slice/rail/index.js +10 -5
  254. package/dist/src/slice/rail/index.js.map +1 -1
  255. package/dist/src/slice/range/index.d.ts +1 -1
  256. package/dist/src/slice/range/index.d.ts.map +1 -1
  257. package/dist/src/slice/range/index.js +3 -3
  258. package/dist/src/slice/range/index.js.map +1 -1
  259. package/dist/src/slice/record/index.d.ts +171 -0
  260. package/dist/src/slice/record/index.d.ts.map +1 -0
  261. package/dist/src/slice/record/index.js +10 -0
  262. package/dist/src/slice/record/index.js.map +1 -0
  263. package/dist/src/slice/search/index.d.ts +6 -6
  264. package/dist/src/slice/search/index.d.ts.map +1 -1
  265. package/dist/src/slice/search/index.js +7 -7
  266. package/dist/src/slice/search/index.js.map +1 -1
  267. package/dist/src/slice/summary/index.d.ts +1 -1
  268. package/dist/src/slice/summary/index.d.ts.map +1 -1
  269. package/dist/src/slice/summary/index.js +3 -3
  270. package/dist/src/slice/summary/index.js.map +1 -1
  271. package/dist/src/typography/list/index.d.ts +2 -8
  272. package/dist/src/typography/list/index.d.ts.map +1 -1
  273. package/dist/src/typography/list/index.js +4 -1
  274. package/dist/src/typography/list/index.js.map +1 -1
  275. package/dist/src/typography/list/types.d.ts +0 -8
  276. package/dist/src/typography/list/types.d.ts.map +1 -1
  277. package/dist/test/collections/deck.examples.d.ts.map +1 -1
  278. package/dist/test/collections/deck.examples.js +6 -7
  279. package/dist/test/collections/deck.examples.js.map +1 -1
  280. package/dist/test/collections/index.d.ts +0 -1
  281. package/dist/test/collections/index.d.ts.map +1 -1
  282. package/dist/test/collections/index.js +0 -1
  283. package/dist/test/collections/index.js.map +1 -1
  284. package/dist/test/collections/library.examples.d.ts.map +1 -1
  285. package/dist/test/collections/library.examples.js +6 -7
  286. package/dist/test/collections/library.examples.js.map +1 -1
  287. package/dist/test/collections/schematic.examples.d.ts.map +1 -1
  288. package/dist/test/collections/schematic.examples.js +11 -19
  289. package/dist/test/collections/schematic.examples.js.map +1 -1
  290. package/dist/test/collections/tree-view.examples.js +2 -2
  291. package/dist/test/contracts/editing.examples.d.ts +1 -0
  292. package/dist/test/contracts/editing.examples.d.ts.map +1 -1
  293. package/dist/test/contracts/editing.examples.js +37 -6
  294. package/dist/test/contracts/editing.examples.js.map +1 -1
  295. package/dist/test/contracts/fields.examples.d.ts +7 -0
  296. package/dist/test/contracts/fields.examples.d.ts.map +1 -0
  297. package/dist/test/contracts/fields.examples.js +42 -0
  298. package/dist/test/contracts/fields.examples.js.map +1 -0
  299. package/dist/test/display/avatar.examples.d.ts.map +1 -1
  300. package/dist/test/display/avatar.examples.js +3 -3
  301. package/dist/test/display/avatar.examples.js.map +1 -1
  302. package/dist/test/display/icon.examples.d.ts.map +1 -1
  303. package/dist/test/display/icon.examples.js +12 -11
  304. package/dist/test/display/icon.examples.js.map +1 -1
  305. package/dist/test/feedback/empty-state.examples.js +9 -9
  306. package/dist/test/feedback/empty-state.examples.js.map +1 -1
  307. package/dist/test/layout/dock.examples.d.ts +0 -8
  308. package/dist/test/layout/dock.examples.d.ts.map +1 -1
  309. package/dist/test/layout/dock.examples.js +2 -42
  310. package/dist/test/layout/dock.examples.js.map +1 -1
  311. package/dist/test/layout/snap-grid.examples.d.ts.map +1 -1
  312. package/dist/test/layout/snap-grid.examples.js +18 -28
  313. package/dist/test/layout/snap-grid.examples.js.map +1 -1
  314. package/dist/test/navigation/index.d.ts +0 -2
  315. package/dist/test/navigation/index.d.ts.map +1 -1
  316. package/dist/test/navigation/index.js +0 -2
  317. package/dist/test/navigation/index.js.map +1 -1
  318. package/dist/test/navigation/nav-list.examples.js.map +1 -1
  319. package/dist/test/platform/index.d.ts +1 -0
  320. package/dist/test/platform/index.d.ts.map +1 -1
  321. package/dist/test/platform/index.js +1 -0
  322. package/dist/test/platform/index.js.map +1 -1
  323. package/dist/test/platform/slice-local.examples.d.ts +2 -0
  324. package/dist/test/platform/slice-local.examples.d.ts.map +1 -0
  325. package/dist/test/platform/slice-local.examples.js +31 -0
  326. package/dist/test/platform/slice-local.examples.js.map +1 -0
  327. package/dist/test/platform/slice.examples.js +61 -61
  328. package/dist/test/platform/slice.examples.js.map +1 -1
  329. package/dist/test/slice/slice.examples.d.ts +0 -1
  330. package/dist/test/slice/slice.examples.d.ts.map +1 -1
  331. package/dist/test/slice/slice.examples.js +67 -181
  332. package/dist/test/slice/slice.examples.js.map +1 -1
  333. package/package.json +4 -4
  334. package/dist/src/collections/board/index.d.ts +0 -855
  335. package/dist/src/collections/board/index.d.ts.map +0 -1
  336. package/dist/src/collections/board/index.js +0 -416
  337. package/dist/src/collections/board/index.js.map +0 -1
  338. package/dist/src/collections/board/types.d.ts +0 -111
  339. package/dist/src/collections/board/types.d.ts.map +0 -1
  340. package/dist/src/collections/board/types.js +0 -89
  341. package/dist/src/collections/board/types.js.map +0 -1
  342. package/dist/src/collections/calendar/index.d.ts +0 -446
  343. package/dist/src/collections/calendar/index.d.ts.map +0 -1
  344. package/dist/src/collections/calendar/index.js +0 -287
  345. package/dist/src/collections/calendar/index.js.map +0 -1
  346. package/dist/src/collections/calendar/types.d.ts +0 -338
  347. package/dist/src/collections/calendar/types.d.ts.map +0 -1
  348. package/dist/src/collections/calendar/types.js +0 -206
  349. package/dist/src/collections/calendar/types.js.map +0 -1
  350. package/dist/src/collections/flowchart/index.d.ts +0 -430
  351. package/dist/src/collections/flowchart/index.d.ts.map +0 -1
  352. package/dist/src/collections/flowchart/index.js +0 -292
  353. package/dist/src/collections/flowchart/index.js.map +0 -1
  354. package/dist/src/collections/flowchart/types.d.ts +0 -333
  355. package/dist/src/collections/flowchart/types.d.ts.map +0 -1
  356. package/dist/src/collections/flowchart/types.js +0 -263
  357. package/dist/src/collections/flowchart/types.js.map +0 -1
  358. package/dist/src/collections/plan/assemble.d.ts +0 -2274
  359. package/dist/src/collections/plan/assemble.d.ts.map +0 -1
  360. package/dist/src/collections/plan/assemble.js +0 -210
  361. package/dist/src/collections/plan/assemble.js.map +0 -1
  362. package/dist/src/collections/plan/builders.d.ts +0 -765
  363. package/dist/src/collections/plan/builders.d.ts.map +0 -1
  364. package/dist/src/collections/plan/builders.js +0 -673
  365. package/dist/src/collections/plan/builders.js.map +0 -1
  366. package/dist/src/collections/plan/factories.d.ts +0 -512
  367. package/dist/src/collections/plan/factories.d.ts.map +0 -1
  368. package/dist/src/collections/plan/factories.js +0 -539
  369. package/dist/src/collections/plan/factories.js.map +0 -1
  370. package/dist/src/collections/plan/index.d.ts +0 -324
  371. package/dist/src/collections/plan/index.d.ts.map +0 -1
  372. package/dist/src/collections/plan/index.js +0 -193
  373. package/dist/src/collections/plan/index.js.map +0 -1
  374. package/dist/src/collections/plan/ir.d.ts +0 -2490
  375. package/dist/src/collections/plan/ir.d.ts.map +0 -1
  376. package/dist/src/collections/plan/ir.js +0 -107
  377. package/dist/src/collections/plan/ir.js.map +0 -1
  378. package/dist/src/collections/plan/pick.d.ts +0 -133
  379. package/dist/src/collections/plan/pick.d.ts.map +0 -1
  380. package/dist/src/collections/plan/pick.js +0 -208
  381. package/dist/src/collections/plan/pick.js.map +0 -1
  382. package/dist/src/collections/plan/root.d.ts +0 -297
  383. package/dist/src/collections/plan/root.d.ts.map +0 -1
  384. package/dist/src/collections/plan/root.js +0 -427
  385. package/dist/src/collections/plan/root.js.map +0 -1
  386. package/dist/src/collections/plan/series.d.ts +0 -13887
  387. package/dist/src/collections/plan/series.d.ts.map +0 -1
  388. package/dist/src/collections/plan/series.js +0 -1710
  389. package/dist/src/collections/plan/series.js.map +0 -1
  390. package/dist/src/collections/plan/types.d.ts +0 -12612
  391. package/dist/src/collections/plan/types.d.ts.map +0 -1
  392. package/dist/src/collections/plan/types.js +0 -1345
  393. package/dist/src/collections/plan/types.js.map +0 -1
  394. package/dist/src/collections/roster/index.d.ts +0 -787
  395. package/dist/src/collections/roster/index.d.ts.map +0 -1
  396. package/dist/src/collections/roster/index.js +0 -325
  397. package/dist/src/collections/roster/index.js.map +0 -1
  398. package/dist/src/collections/roster/types.d.ts +0 -97
  399. package/dist/src/collections/roster/types.d.ts.map +0 -1
  400. package/dist/src/collections/roster/types.js +0 -72
  401. package/dist/src/collections/roster/types.js.map +0 -1
  402. package/dist/src/collections/sheet/bridge.d.ts +0 -376
  403. package/dist/src/collections/sheet/bridge.d.ts.map +0 -1
  404. package/dist/src/collections/sheet/bridge.js +0 -773
  405. package/dist/src/collections/sheet/bridge.js.map +0 -1
  406. package/dist/src/collections/sheet/columns.d.ts +0 -410
  407. package/dist/src/collections/sheet/columns.d.ts.map +0 -1
  408. package/dist/src/collections/sheet/columns.js +0 -99
  409. package/dist/src/collections/sheet/columns.js.map +0 -1
  410. package/dist/src/collections/sheet/context-bridge.d.ts +0 -48
  411. package/dist/src/collections/sheet/context-bridge.d.ts.map +0 -1
  412. package/dist/src/collections/sheet/context-bridge.js +0 -216
  413. package/dist/src/collections/sheet/context-bridge.js.map +0 -1
  414. package/dist/src/collections/sheet/draft-bridge.d.ts +0 -37
  415. package/dist/src/collections/sheet/draft-bridge.d.ts.map +0 -1
  416. package/dist/src/collections/sheet/draft-bridge.js +0 -153
  417. package/dist/src/collections/sheet/draft-bridge.js.map +0 -1
  418. package/dist/src/collections/sheet/drafts.d.ts +0 -14
  419. package/dist/src/collections/sheet/drafts.d.ts.map +0 -1
  420. package/dist/src/collections/sheet/drafts.js +0 -14
  421. package/dist/src/collections/sheet/drafts.js.map +0 -1
  422. package/dist/src/collections/sheet/editing-bridge.d.ts +0 -36
  423. package/dist/src/collections/sheet/editing-bridge.d.ts.map +0 -1
  424. package/dist/src/collections/sheet/editing-bridge.js +0 -196
  425. package/dist/src/collections/sheet/editing-bridge.js.map +0 -1
  426. package/dist/src/collections/sheet/editing-types.d.ts +0 -268
  427. package/dist/src/collections/sheet/editing-types.d.ts.map +0 -1
  428. package/dist/src/collections/sheet/editing-types.js +0 -34
  429. package/dist/src/collections/sheet/editing-types.js.map +0 -1
  430. package/dist/src/collections/sheet/edits.d.ts +0 -37
  431. package/dist/src/collections/sheet/edits.d.ts.map +0 -1
  432. package/dist/src/collections/sheet/edits.js +0 -31
  433. package/dist/src/collections/sheet/edits.js.map +0 -1
  434. package/dist/src/collections/sheet/group.d.ts +0 -165
  435. package/dist/src/collections/sheet/group.d.ts.map +0 -1
  436. package/dist/src/collections/sheet/group.js +0 -52
  437. package/dist/src/collections/sheet/group.js.map +0 -1
  438. package/dist/src/collections/sheet/index.d.ts +0 -351
  439. package/dist/src/collections/sheet/index.d.ts.map +0 -1
  440. package/dist/src/collections/sheet/index.js +0 -208
  441. package/dist/src/collections/sheet/index.js.map +0 -1
  442. package/dist/src/collections/sheet/link.d.ts +0 -398
  443. package/dist/src/collections/sheet/link.d.ts.map +0 -1
  444. package/dist/src/collections/sheet/link.js +0 -228
  445. package/dist/src/collections/sheet/link.js.map +0 -1
  446. package/dist/src/collections/sheet/registers.d.ts +0 -278
  447. package/dist/src/collections/sheet/registers.d.ts.map +0 -1
  448. package/dist/src/collections/sheet/registers.js +0 -268
  449. package/dist/src/collections/sheet/registers.js.map +0 -1
  450. package/dist/src/collections/sheet/root.d.ts +0 -328
  451. package/dist/src/collections/sheet/root.d.ts.map +0 -1
  452. package/dist/src/collections/sheet/root.js +0 -432
  453. package/dist/src/collections/sheet/root.js.map +0 -1
  454. package/dist/src/collections/sheet/seed-bridge.d.ts +0 -14
  455. package/dist/src/collections/sheet/seed-bridge.d.ts.map +0 -1
  456. package/dist/src/collections/sheet/seed-bridge.js +0 -51
  457. package/dist/src/collections/sheet/seed-bridge.js.map +0 -1
  458. package/dist/src/collections/sheet/sub-rows.d.ts +0 -249
  459. package/dist/src/collections/sheet/sub-rows.d.ts.map +0 -1
  460. package/dist/src/collections/sheet/sub-rows.js +0 -222
  461. package/dist/src/collections/sheet/sub-rows.js.map +0 -1
  462. package/dist/src/collections/sheet/transactions.d.ts +0 -76
  463. package/dist/src/collections/sheet/transactions.d.ts.map +0 -1
  464. package/dist/src/collections/sheet/transactions.js +0 -40
  465. package/dist/src/collections/sheet/transactions.js.map +0 -1
  466. package/dist/src/collections/sheet/types.d.ts +0 -14992
  467. package/dist/src/collections/sheet/types.d.ts.map +0 -1
  468. package/dist/src/collections/sheet/types.js +0 -1061
  469. package/dist/src/collections/sheet/types.js.map +0 -1
  470. package/dist/src/navigation/app/index.d.ts +0 -150
  471. package/dist/src/navigation/app/index.d.ts.map +0 -1
  472. package/dist/src/navigation/app/index.js +0 -191
  473. package/dist/src/navigation/app/index.js.map +0 -1
  474. package/dist/src/navigation/pages/index.d.ts +0 -165
  475. package/dist/src/navigation/pages/index.d.ts.map +0 -1
  476. package/dist/src/navigation/pages/index.js +0 -152
  477. package/dist/src/navigation/pages/index.js.map +0 -1
  478. package/dist/src/navigation/pages/types.d.ts +0 -111
  479. package/dist/src/navigation/pages/types.d.ts.map +0 -1
  480. package/dist/src/navigation/pages/types.js +0 -101
  481. package/dist/src/navigation/pages/types.js.map +0 -1
  482. package/dist/src/runtime/collections/board.d.ts +0 -73
  483. package/dist/src/runtime/collections/board.d.ts.map +0 -1
  484. package/dist/src/runtime/collections/board.js +0 -68
  485. package/dist/src/runtime/collections/board.js.map +0 -1
  486. package/dist/src/runtime/collections/calendar.d.ts +0 -54
  487. package/dist/src/runtime/collections/calendar.d.ts.map +0 -1
  488. package/dist/src/runtime/collections/calendar.js +0 -54
  489. package/dist/src/runtime/collections/calendar.js.map +0 -1
  490. package/dist/src/runtime/collections/flowchart.d.ts +0 -58
  491. package/dist/src/runtime/collections/flowchart.d.ts.map +0 -1
  492. package/dist/src/runtime/collections/flowchart.js +0 -54
  493. package/dist/src/runtime/collections/flowchart.js.map +0 -1
  494. package/dist/src/runtime/collections/plan.d.ts +0 -181
  495. package/dist/src/runtime/collections/plan.d.ts.map +0 -1
  496. package/dist/src/runtime/collections/plan.js +0 -186
  497. package/dist/src/runtime/collections/plan.js.map +0 -1
  498. package/dist/src/runtime/collections/roster.d.ts +0 -60
  499. package/dist/src/runtime/collections/roster.d.ts.map +0 -1
  500. package/dist/src/runtime/collections/roster.js +0 -59
  501. package/dist/src/runtime/collections/roster.js.map +0 -1
  502. package/dist/src/runtime/collections/sheet.d.ts +0 -122
  503. package/dist/src/runtime/collections/sheet.d.ts.map +0 -1
  504. package/dist/src/runtime/collections/sheet.js +0 -73
  505. package/dist/src/runtime/collections/sheet.js.map +0 -1
  506. package/dist/src/runtime/navigation/app.d.ts +0 -52
  507. package/dist/src/runtime/navigation/app.d.ts.map +0 -1
  508. package/dist/src/runtime/navigation/app.js +0 -53
  509. package/dist/src/runtime/navigation/app.js.map +0 -1
  510. package/dist/src/runtime/navigation/pages.d.ts +0 -50
  511. package/dist/src/runtime/navigation/pages.d.ts.map +0 -1
  512. package/dist/src/runtime/navigation/pages.js +0 -52
  513. package/dist/src/runtime/navigation/pages.js.map +0 -1
  514. package/dist/src/runtime/navigation/route.d.ts +0 -46
  515. package/dist/src/runtime/navigation/route.d.ts.map +0 -1
  516. package/dist/src/runtime/navigation/route.js +0 -47
  517. package/dist/src/runtime/navigation/route.js.map +0 -1
  518. package/dist/test/collections/board.examples.d.ts +0 -18
  519. package/dist/test/collections/board.examples.d.ts.map +0 -1
  520. package/dist/test/collections/board.examples.js +0 -297
  521. package/dist/test/collections/board.examples.js.map +0 -1
  522. package/dist/test/collections/calendar.examples.d.ts +0 -5
  523. package/dist/test/collections/calendar.examples.d.ts.map +0 -1
  524. package/dist/test/collections/calendar.examples.js +0 -147
  525. package/dist/test/collections/calendar.examples.js.map +0 -1
  526. package/dist/test/collections/flowchart.examples.d.ts +0 -17
  527. package/dist/test/collections/flowchart.examples.d.ts.map +0 -1
  528. package/dist/test/collections/flowchart.examples.js +0 -243
  529. package/dist/test/collections/flowchart.examples.js.map +0 -1
  530. package/dist/test/collections/plan.examples.d.ts +0 -200
  531. package/dist/test/collections/plan.examples.d.ts.map +0 -1
  532. package/dist/test/collections/plan.examples.js +0 -3665
  533. package/dist/test/collections/plan.examples.js.map +0 -1
  534. package/dist/test/collections/roster.examples.d.ts +0 -26
  535. package/dist/test/collections/roster.examples.d.ts.map +0 -1
  536. package/dist/test/collections/roster.examples.js +0 -237
  537. package/dist/test/collections/roster.examples.js.map +0 -1
  538. package/dist/test/collections/sheet-link.examples.d.ts +0 -7
  539. package/dist/test/collections/sheet-link.examples.d.ts.map +0 -1
  540. package/dist/test/collections/sheet-link.examples.js +0 -41
  541. package/dist/test/collections/sheet-link.examples.js.map +0 -1
  542. package/dist/test/collections/sheet-transactions.examples.d.ts +0 -7
  543. package/dist/test/collections/sheet-transactions.examples.d.ts.map +0 -1
  544. package/dist/test/collections/sheet-transactions.examples.js +0 -58
  545. package/dist/test/collections/sheet-transactions.examples.js.map +0 -1
  546. package/dist/test/collections/sheet.examples.d.ts +0 -96
  547. package/dist/test/collections/sheet.examples.d.ts.map +0 -1
  548. package/dist/test/collections/sheet.examples.js +0 -1040
  549. package/dist/test/collections/sheet.examples.js.map +0 -1
  550. package/dist/test/navigation/app.examples.d.ts +0 -22
  551. package/dist/test/navigation/app.examples.d.ts.map +0 -1
  552. package/dist/test/navigation/app.examples.js +0 -136
  553. package/dist/test/navigation/app.examples.js.map +0 -1
  554. package/dist/test/navigation/pages.examples.d.ts +0 -13
  555. package/dist/test/navigation/pages.examples.d.ts.map +0 -1
  556. package/dist/test/navigation/pages.examples.js +0 -113
  557. package/dist/test/navigation/pages.examples.js.map +0 -1
  558. package/dist/test/navigation/route.examples.d.ts +0 -13
  559. package/dist/test/navigation/route.examples.d.ts.map +0 -1
  560. package/dist/test/navigation/route.examples.js +0 -69
  561. package/dist/test/navigation/route.examples.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"ir.d.ts","sourceRoot":"","sources":["../../../../src/collections/plan/ir.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EACH,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACb,MAAM,eAAe,CAAC;AAMvB,OAAO,EAWH,eAAe,EAClB,MAAM,YAAY,CAAC;AAMpB;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,cAAc;;;;;EAKzB,CAAC;AACH,6CAA6C;AAC7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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCvB,CAAC;AACH,2CAA2C;AAC3C,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC"}
@@ -1,107 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- /**
6
- * The Plan's resolved UIComponent-coupled IR — since the data-interface
7
- * redesign only the ROOT and the review config touch `UIComponentType`; the
8
- * whole row vocabulary (elements, kinds, rows) is pure data in `./types.ts`.
9
- * These are the named twins of the `Plan` arm in `component.ts`, which spells
10
- * the SAME shapes inline with the recursion `node`. The renderer decodes the
11
- * arm's values through {@link PlanRootType}, so the two must be one East
12
- * type: `test/collections/plan.spec.ts` compares them as East type values,
13
- * and a field (or a field type) on only one side fails it.
14
- *
15
- * @packageDocumentation
16
- */
17
- import { ArrayType, FunctionType, NullType, OptionType, StringType, StructType, } from "@elaraai/east";
18
- import { UIComponentType } from "../../component.js";
19
- import { PickBindType } from "../../contracts/pick.js";
20
- import { CanDropFnType } from "../../contracts/drag.js";
21
- import { SliceChromeType } from "../../platform/slice/index.js";
22
- import { PlanAxisType, PlanGrainType, PlanLinkType, PlanRowsType, PlanElementRefType, PlanRowIdType, PlanGroupToggleEventType, PlanFooterItemType, PlanStyleType, PlanUiBindType, PlanEditingType, } from "./types.js";
23
- // ============================================================================
24
- // Resolved types — the UIComponent-coupled shapes at `UIComponentType`
25
- // ============================================================================
26
- /**
27
- * The Plan's review chrome (#880) — the decision column's header, the foot's
28
- * summary and its Rerun.
29
- *
30
- * @remarks
31
- * A verdict is a GESTURE of the root's editing session: the series whose rows
32
- * are reviewed names the field it writes (`review.verdict`), Approve / Reject
33
- * on a row and Approve all / Reject all over the canvas draft the entries,
34
- * and Apply sends them as one checked batch. So the chrome carries no verdict
35
- * callbacks — the shared contract's (`reviewType`) stay with Table, Roster
36
- * and Board until they adopt a session. Rerun changes no data, so it stays a
37
- * callback.
38
- *
39
- * @property columnLabel - The decision column's header (`"Decision"` by default)
40
- * @property summary - The foot's eyebrow — a host-composed component
41
- * @property onRerun - The Rerun verb (absent ⇒ no Rerun button)
42
- * @property rerunLabel - The Rerun button's label (`"Rerun"` by default)
43
- */
44
- export const PlanReviewType = StructType({
45
- columnLabel: StringType,
46
- summary: OptionType(UIComponentType),
47
- onRerun: OptionType(FunctionType([], NullType)),
48
- rerunLabel: StringType,
49
- });
50
- /**
51
- * The Plan root IR — the whole canvas.
52
- *
53
- * @remarks
54
- * Window and resolution deliberately have **no callbacks**: they are slice
55
- * writes (`setRange` / `setResolution`) — hosts observe the slice. Row
56
- * order is data (no sort callback), and element detail lives in the root
57
- * RESOLVERS: `popover` / `hover` over {@link PlanElementRefType} (a `none`
58
- * result opens nothing) and `expandRender` over the row ref (the R2
59
- * developer render for rows declaring `expand`, over the row's id) — one stored function per
60
- * surface instead of UI embedded per element. A click on any element reports
61
- * to ONE callback over the same ref (`onElementClick`, #824), and the
62
- * interaction state a host wants to hold — selection, collapse, charts, a row
63
- * to bring into view — rides a bound `ui` state.
64
- */
65
- export const PlanRootType = StructType({
66
- rows: PlanRowsType,
67
- // The link graph (R1) — run-edge to run-edge quantity links; the
68
- // links-focus control gathers a row's transitive family over it.
69
- links: ArrayType(PlanLinkType),
70
- axis: PlanAxisType,
71
- grain: OptionType(PlanGrainType),
72
- // The generalized element resolvers (Plan Data Interface.md §3.3) —
73
- // invoked lazily at interaction time; naming per the Schematic /
74
- // Flowchart `*Hover` resolver convention (never `on*` — that prefix is
75
- // the action callbacks below).
76
- popover: OptionType(FunctionType([PlanElementRefType], OptionType(UIComponentType))),
77
- hover: OptionType(FunctionType([PlanElementRefType], OptionType(UIComponentType))),
78
- expandRender: OptionType(FunctionType([PlanRowIdType], UIComponentType)),
79
- // The GUTTER half of R2. An expanded row's gutter cell grows with the row
80
- // (one tall cell, top-aligned), and the space that opens up is the
81
- // author's — identity that only earns its place when the row has the
82
- // canvas. Same shape as `expandRender`, over the same row id.
83
- expandGutter: OptionType(FunctionType([PlanRowIdType], UIComponentType)),
84
- review: OptionType(PlanReviewType),
85
- // The editing session (#880) — every verdict, every dropped card and every
86
- // moved or resized element (#825) is a draft, applied as one checked batch.
87
- editing: OptionType(PlanEditingType),
88
- pick: OptionType(PickBindType),
89
- slice: OptionType(SliceChromeType),
90
- footer: ArrayType(PlanFooterItemType),
91
- // DnD target role — the shared grammar (contracts/drag.ts); no id, no
92
- // library card lands (#824 — it used to be `""`), though the canvas's own
93
- // elements still move (#825). A drop or a move is a gesture of the editing
94
- // session (#880); `canDrop` vets it first.
95
- id: OptionType(StringType),
96
- sources: ArrayType(StringType),
97
- canDrop: OptionType(CanDropFnType),
98
- // Selection + the one element click (#824).
99
- onSelect: OptionType(FunctionType([PlanRowIdType], NullType)),
100
- onElementClick: OptionType(FunctionType([PlanElementRefType], NullType)),
101
- onGroupToggle: OptionType(FunctionType([PlanGroupToggleEventType], NullType)),
102
- onGrainChange: OptionType(FunctionType([PlanGrainType], NullType)),
103
- // The interaction state a host holds — a bound `State.bind` handle (#824).
104
- ui: OptionType(PlanUiBindType),
105
- style: OptionType(PlanStyleType),
106
- });
107
- //# sourceMappingURL=ir.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ir.js","sourceRoot":"","sources":["../../../../src/collections/plan/ir.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EACH,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,GACb,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EACH,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,wBAAwB,EACxB,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,eAAe,GAClB,MAAM,YAAY,CAAC;AAEpB,+EAA+E;AAC/E,uEAAuE;AACvE,+EAA+E;AAE/E;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CAAC;IACrC,WAAW,EAAE,UAAU;IACvB,OAAO,EAAM,UAAU,CAAC,eAAe,CAAC;IACxC,OAAO,EAAM,UAAU,CAAC,YAAY,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAC;IACnD,UAAU,EAAG,UAAU;CAC1B,CAAC,CAAC;AAIH;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC;IACnC,IAAI,EAAE,YAAY;IAClB,iEAAiE;IACjE,iEAAiE;IACjE,KAAK,EAAE,SAAS,CAAC,YAAY,CAAC;IAC9B,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,UAAU,CAAC,aAAa,CAAC;IAChC,oEAAoE;IACpE,iEAAiE;IACjE,uEAAuE;IAC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,QAAQ,CAAC,CAAC;IAClE,2EAA2E;IAC3E,EAAE,EAAE,UAAU,CAAC,cAAc,CAAC;IAC9B,KAAK,EAAE,UAAU,CAAC,aAAa,CAAC;CACnC,CAAC,CAAC"}
@@ -1,133 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- /**
6
- * `Plan.pick` — the Plan's façade over the shared pick contract (#590).
7
- *
8
- * The contract holds identified things and does not know what they are, so an
9
- * adopter supplies what it cannot: how to read identity off one item. For a
10
- * Plan that is an eleven-arm match over the series variant — every arm carries
11
- * the same four identity fields, and the arm itself picks the kind's icon.
12
- *
13
- * There are no per-series row counts (#822): a count means something only when
14
- * every entry is in hand, and nothing on a Plan may behave differently because
15
- * its data is inline or paged.
16
- *
17
- * @packageDocumentation
18
- */
19
- import { type ExprType, ArrayType } from "@elaraai/east";
20
- import { type PickHandle, type PickItemType } from "../../contracts/pick.js";
21
- import { PlanSeriesType, type PlanSeriesInput } from "./series.js";
22
- /** Options for {@link createPlanPick}. */
23
- export interface PlanPickOptions {
24
- /** Series switched off to begin with; omit ⇒ everything shows. */
25
- hidden?: readonly string[];
26
- }
27
- /**
28
- * Bind a Plan's row series to a persisted pick.
29
- *
30
- * @remarks
31
- * The list is the layout (#822): the canvas shows the series still switched
32
- * on, in the order they are listed, one block each — so the order written here
33
- * is the order on screen. A section, a group or a views series is the unit a
34
- * person picks — "add Machines" — and hiding one takes its whole subtree with
35
- * it, because its members are built by its own `derive`.
36
- *
37
- * Identity is read through ONE match rather than one match per accessor —
38
- * every arm carries the same four fields, so matching four times would build
39
- * four copies of the same traversal. A TS list is checked here for two series
40
- * sharing a key (one switch would wear two labels).
41
- *
42
- * The handle is STATE (`State.bind` underneath), so it is built inside a
43
- * `Reactive`. Pass it to the canvas as `pick`, in place of `series`: the Plan
44
- * shows the picked series and mounts the library panel itself.
45
- *
46
- * @param key - The store key; also the persistence key
47
- * @param all - Every series that COULD show, in layout order
48
- * @param options - The initial hidden set ({@link PlanPickOptions})
49
- * @returns A pick handle over the series type — the canvas's `pick` prop
50
- *
51
- * @example
52
- * ```tsx
53
- * // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
54
- * import { ArrayType, DateTimeType, DictType, East, FloatType, IntegerType, StringType, StructType, none, some, variant } from "@elaraai/east";
55
- * import { EventStateType, Plan, Reactive, UIComponentType } from "@elaraai/east-ui";
56
- *
57
- * const canvas = East.function([], UIComponentType, (_$) => (
58
- * <Reactive>{$ => {
59
- * // Monday of ISO week n, 2026 — window W27–W38 (half-open), now W31.
60
- * const week = $.const(East.function([IntegerType], DateTimeType, ($, n) => {
61
- * const w1 = $.const(new Date("2025-12-29T00:00:00Z"), DateTimeType);
62
- * return w1.addWeeks(n.subtract(1n));
63
- * }));
64
- * const JobRow = StructType({
65
- * batch: StringType, start: DateTimeType, end: DateTimeType, state: EventStateType,
66
- * });
67
- * const OpsRow = StructType({
68
- * series: StringType, jobs: ArrayType(JobRow), cells: ArrayType(Plan.Types.HeatCell),
69
- * });
70
- * const noJobs = $.const([], ArrayType(JobRow));
71
- * const noCells = $.const([], ArrayType(Plan.Types.HeatCell));
72
- * const pcts = $.const([46.0, 58.0, 66.0, 72.0, 84.0, 96.0], ArrayType(FloatType));
73
- * const cells = $.let(East.Array.generate(6n, Plan.Types.HeatCell, (_$, i) => ({
74
- * at: Plan.at.time(week(i.multiply(2n).add(27n))), value: some(pcts.get(i)), label: none,
75
- * })));
76
- * const ops = $.const(new Map([
77
- * ["L1-M03", { series: "machines", cells: noCells,
78
- * jobs: [{ batch: "B-214", start: week(28n), end: week(31n), state: variant("in-progress", null) }] }],
79
- * ["L1-M04", { series: "machines", cells: noCells,
80
- * jobs: [{ batch: "B-208", start: week(27n), end: week(30n), state: variant("actual", null) }] }],
81
- * ["L2-load", { series: "load", cells, jobs: noJobs }],
82
- * ]), DictType(StringType, OpsRow));
83
- * // Every series that COULD show — the library lists these, and the
84
- * // canvas shows the ones switched on in this order.
85
- * const all = $.const([
86
- * Plan.series.span(OpsRow, {
87
- * key: "machines", title: "Machine jobs", subtitle: "one row per machine",
88
- * match: r => r.series.equal("machines"),
89
- * label: (_r, k) => k, id: true,
90
- * runs: r => r.jobs.map((_$, j) => Plan.run({
91
- * key: j.batch, start: j.start, end: j.end,
92
- * label: East.str`RUN · ${j.batch}`, state: j.state,
93
- * })),
94
- * }),
95
- * Plan.series.heat(OpsRow, {
96
- * key: "load", title: "Line load", subtitle: "% per fortnight",
97
- * match: r => r.series.equal("load"),
98
- * label: (_r, k) => k,
99
- * cells: r => Plan.heatCells(r.cells, { min: 0, max: 100 }),
100
- * }),
101
- * ], ArrayType(Plan.Types.Series(OpsRow)));
102
- * // The handle is STATE — which series are switched off, persisted
103
- * // under its key — so it lives inside the Reactive. "load" starts off.
104
- * const shown = $.let(Plan.pick("ex.plan.pick", all, { hidden: ["load"] }));
105
- * const axis = $.const(Plan.axis({ window: { min: week(27n), max: week(39n) }, resolution: "week", now: week(31n) }));
106
- * // `pick` REPLACES `series`: the canvas shows the picked series and
107
- * // mounts the library itself, so nothing else is wired.
108
- * return (
109
- * <Plan
110
- * axis={axis}
111
- * data={ops}
112
- * pick={shown}
113
- * />
114
- * );
115
- * }}</Reactive>
116
- * ));
117
- * ```
118
- */
119
- export declare function createPlanPick(key: string, all: PlanSeriesInput, options?: PlanPickOptions): PickHandle<ReturnType<typeof PlanSeriesType>>;
120
- /**
121
- * The library entries for a Plan's series — described, with NO state binding.
122
- *
123
- * @remarks
124
- * {@link createPlanPick} builds its `items` from the same accessors, so proving
125
- * this proves the bound path too. Split out because `State.bind` is not
126
- * runnable in a `describeEast` spec (`TestImpl` carries no State runtime), and
127
- * identity and kind icons are exactly the part worth asserting.
128
- *
129
- * @param all - Every series that COULD show
130
- * @returns One descriptor per series, in declaration order
131
- */
132
- export declare function createPlanPickItems(all: PlanSeriesInput): ExprType<ArrayType<PickItemType>>;
133
- //# sourceMappingURL=pick.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pick.d.ts","sourceRoot":"","sources":["../../../../src/collections/plan/pick.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAEH,KAAK,QAAQ,EAEb,SAAS,EAQZ,MAAM,eAAe,CAAC;AAGvB,OAAO,EAA6B,KAAK,UAAU,EAAE,KAAK,YAAY,EAAoB,MAAM,yBAAyB,CAAC;AAC1H,OAAO,EAAE,cAAc,EAAmC,KAAK,eAAe,EAAwB,MAAM,aAAa,CAAC;AAkC1H,0CAA0C;AAC1C,MAAM,WAAW,eAAe;IAC5B,kEAAkE;IAClE,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CAC9B;AAmDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AACH,wBAAgB,cAAc,CAC1B,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,eAAe,EACpB,OAAO,CAAC,EAAE,eAAe,GAC1B,UAAU,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC,CAO/C;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,eAAe,GAAG,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAI3F"}
@@ -1,208 +0,0 @@
1
- /**
2
- * Copyright (c) 2025 Elara AI Pty Ltd
3
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
- */
5
- /**
6
- * `Plan.pick` — the Plan's façade over the shared pick contract (#590).
7
- *
8
- * The contract holds identified things and does not know what they are, so an
9
- * adopter supplies what it cannot: how to read identity off one item. For a
10
- * Plan that is an eleven-arm match over the series variant — every arm carries
11
- * the same four identity fields, and the arm itself picks the kind's icon.
12
- *
13
- * There are no per-series row counts (#822): a count means something only when
14
- * every entry is in hand, and nothing on a Plan may behave differently because
15
- * its data is inline or paged.
16
- *
17
- * @packageDocumentation
18
- */
19
- import { ArrayType, East, Expr, OptionType, StringType, StructType, some, none, } from "@elaraai/east";
20
- import { IconType } from "../../display/icon/types.js";
21
- import { createPickBind, pickItems } from "../../contracts/pick.js";
22
- import { PlanSeriesType, checkSeries } from "./series.js";
23
- /**
24
- * The FA glyph the library shows for each series kind — the row kind's glyph
25
- * for the seven row kinds; the four composites take the marks that read as
26
- * "a group per entry", "a titled block", "one entry several ways" and "a
27
- * hand-built list".
28
- */
29
- const KIND_ICONS = {
30
- span: "bars-staggered",
31
- // `border-all` was a 2x2 grid of squares — the same mark `table-cells-large`
32
- // draws for heat, and at 12px the two were indistinguishable (#590 §6.3).
33
- // Buckets quantise into COLUMNS with lanes inside them, so a columns mark
34
- // says what the row is and separates cleanly from heat's grid.
35
- buckets: "table-columns",
36
- chart: "chart-line",
37
- heat: "table-cells-large",
38
- table: "table-list",
39
- cards: "user-group",
40
- events: "flag",
41
- group: "layer-group",
42
- section: "heading",
43
- views: "clone",
44
- rows: "list",
45
- };
46
- /** Identity read off ONE series — the whole of what the library needs. */
47
- const PlanSeriesIdentityType = StructType({
48
- key: StringType,
49
- title: StringType,
50
- subtitle: OptionType(StringType),
51
- icon: OptionType(IconType),
52
- });
53
- /** The shared accessors — see {@link createPlanPick}. */
54
- function planPickOptions(allExpr, options) {
55
- const itemType = Expr.type(allExpr).value;
56
- /** One arm's identity, with the KIND's glyph when the series declares none. */
57
- const ident = (v, tag) => East.value({
58
- key: v["key"],
59
- title: v["title"],
60
- subtitle: v["subtitle"],
61
- icon: v["icon"].match({
62
- some: (_$, ic) => East.value(some(ic), OptionType(IconType)),
63
- none: (_$) => East.value(some({ name: KIND_ICONS[tag], prefix: "fas", label: none, style: none }), OptionType(IconType)),
64
- }),
65
- }, PlanSeriesIdentityType);
66
- // ONE reified match, CALLED by each accessor — every arm carries the same
67
- // four fields, so matching per accessor would build four copies of the same
68
- // traversal (`shared/reify.ts`: reify once, then call). The arms are spelled
69
- // out rather than generated, mirroring `applySeriesValue` — an arm added to
70
- // the variant should fail this match, not fall through a computed map.
71
- const identityOf = East.function([itemType], PlanSeriesIdentityType, (_$, s) => s.match({
72
- span: (_$2, v) => ident(v, "span"),
73
- buckets: (_$2, v) => ident(v, "buckets"),
74
- chart: (_$2, v) => ident(v, "chart"),
75
- heat: (_$2, v) => ident(v, "heat"),
76
- table: (_$2, v) => ident(v, "table"),
77
- cards: (_$2, v) => ident(v, "cards"),
78
- events: (_$2, v) => ident(v, "events"),
79
- group: (_$2, v) => ident(v, "group"),
80
- section: (_$2, v) => ident(v, "section"),
81
- views: (_$2, v) => ident(v, "views"),
82
- rows: (_$2, v) => ident(v, "rows"),
83
- }));
84
- return {
85
- id: (s) => identityOf(s).key,
86
- title: (s) => identityOf(s).title,
87
- subtitle: (s) => identityOf(s).subtitle,
88
- icon: (s) => identityOf(s).icon,
89
- ...(options?.hidden !== undefined ? { hidden: options.hidden } : {}),
90
- };
91
- }
92
- /**
93
- * Bind a Plan's row series to a persisted pick.
94
- *
95
- * @remarks
96
- * The list is the layout (#822): the canvas shows the series still switched
97
- * on, in the order they are listed, one block each — so the order written here
98
- * is the order on screen. A section, a group or a views series is the unit a
99
- * person picks — "add Machines" — and hiding one takes its whole subtree with
100
- * it, because its members are built by its own `derive`.
101
- *
102
- * Identity is read through ONE match rather than one match per accessor —
103
- * every arm carries the same four fields, so matching four times would build
104
- * four copies of the same traversal. A TS list is checked here for two series
105
- * sharing a key (one switch would wear two labels).
106
- *
107
- * The handle is STATE (`State.bind` underneath), so it is built inside a
108
- * `Reactive`. Pass it to the canvas as `pick`, in place of `series`: the Plan
109
- * shows the picked series and mounts the library panel itself.
110
- *
111
- * @param key - The store key; also the persistence key
112
- * @param all - Every series that COULD show, in layout order
113
- * @param options - The initial hidden set ({@link PlanPickOptions})
114
- * @returns A pick handle over the series type — the canvas's `pick` prop
115
- *
116
- * @example
117
- * ```tsx
118
- * // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
119
- * import { ArrayType, DateTimeType, DictType, East, FloatType, IntegerType, StringType, StructType, none, some, variant } from "@elaraai/east";
120
- * import { EventStateType, Plan, Reactive, UIComponentType } from "@elaraai/east-ui";
121
- *
122
- * const canvas = East.function([], UIComponentType, (_$) => (
123
- * <Reactive>{$ => {
124
- * // Monday of ISO week n, 2026 — window W27–W38 (half-open), now W31.
125
- * const week = $.const(East.function([IntegerType], DateTimeType, ($, n) => {
126
- * const w1 = $.const(new Date("2025-12-29T00:00:00Z"), DateTimeType);
127
- * return w1.addWeeks(n.subtract(1n));
128
- * }));
129
- * const JobRow = StructType({
130
- * batch: StringType, start: DateTimeType, end: DateTimeType, state: EventStateType,
131
- * });
132
- * const OpsRow = StructType({
133
- * series: StringType, jobs: ArrayType(JobRow), cells: ArrayType(Plan.Types.HeatCell),
134
- * });
135
- * const noJobs = $.const([], ArrayType(JobRow));
136
- * const noCells = $.const([], ArrayType(Plan.Types.HeatCell));
137
- * const pcts = $.const([46.0, 58.0, 66.0, 72.0, 84.0, 96.0], ArrayType(FloatType));
138
- * const cells = $.let(East.Array.generate(6n, Plan.Types.HeatCell, (_$, i) => ({
139
- * at: Plan.at.time(week(i.multiply(2n).add(27n))), value: some(pcts.get(i)), label: none,
140
- * })));
141
- * const ops = $.const(new Map([
142
- * ["L1-M03", { series: "machines", cells: noCells,
143
- * jobs: [{ batch: "B-214", start: week(28n), end: week(31n), state: variant("in-progress", null) }] }],
144
- * ["L1-M04", { series: "machines", cells: noCells,
145
- * jobs: [{ batch: "B-208", start: week(27n), end: week(30n), state: variant("actual", null) }] }],
146
- * ["L2-load", { series: "load", cells, jobs: noJobs }],
147
- * ]), DictType(StringType, OpsRow));
148
- * // Every series that COULD show — the library lists these, and the
149
- * // canvas shows the ones switched on in this order.
150
- * const all = $.const([
151
- * Plan.series.span(OpsRow, {
152
- * key: "machines", title: "Machine jobs", subtitle: "one row per machine",
153
- * match: r => r.series.equal("machines"),
154
- * label: (_r, k) => k, id: true,
155
- * runs: r => r.jobs.map((_$, j) => Plan.run({
156
- * key: j.batch, start: j.start, end: j.end,
157
- * label: East.str`RUN · ${j.batch}`, state: j.state,
158
- * })),
159
- * }),
160
- * Plan.series.heat(OpsRow, {
161
- * key: "load", title: "Line load", subtitle: "% per fortnight",
162
- * match: r => r.series.equal("load"),
163
- * label: (_r, k) => k,
164
- * cells: r => Plan.heatCells(r.cells, { min: 0, max: 100 }),
165
- * }),
166
- * ], ArrayType(Plan.Types.Series(OpsRow)));
167
- * // The handle is STATE — which series are switched off, persisted
168
- * // under its key — so it lives inside the Reactive. "load" starts off.
169
- * const shown = $.let(Plan.pick("ex.plan.pick", all, { hidden: ["load"] }));
170
- * const axis = $.const(Plan.axis({ window: { min: week(27n), max: week(39n) }, resolution: "week", now: week(31n) }));
171
- * // `pick` REPLACES `series`: the canvas shows the picked series and
172
- * // mounts the library itself, so nothing else is wired.
173
- * return (
174
- * <Plan
175
- * axis={axis}
176
- * data={ops}
177
- * pick={shown}
178
- * />
179
- * );
180
- * }}</Reactive>
181
- * ));
182
- * ```
183
- */
184
- export function createPlanPick(key, all, options) {
185
- checkSeries(all, "Plan.pick");
186
- const allExpr = East.value(all);
187
- // Typed at the SERIES shape, not the erased element type: that is what
188
- // makes `Pick.active(shown)` assignable straight back to the `series` prop.
189
- return createPickBind(key, allExpr, planPickOptions(allExpr, options));
190
- }
191
- /**
192
- * The library entries for a Plan's series — described, with NO state binding.
193
- *
194
- * @remarks
195
- * {@link createPlanPick} builds its `items` from the same accessors, so proving
196
- * this proves the bound path too. Split out because `State.bind` is not
197
- * runnable in a `describeEast` spec (`TestImpl` carries no State runtime), and
198
- * identity and kind icons are exactly the part worth asserting.
199
- *
200
- * @param all - Every series that COULD show
201
- * @returns One descriptor per series, in declaration order
202
- */
203
- export function createPlanPickItems(all) {
204
- checkSeries(all, "Plan.pickItems");
205
- const allExpr = East.value(all);
206
- return pickItems(allExpr, planPickOptions(allExpr));
207
- }
208
- //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