@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":"calendar.js","sourceRoot":"","sources":["../../../../src/runtime/collections/calendar.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,iDAAiD;AAEjD,OAAO,EAA0C,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EACH,QAAQ,IAAI,eAAe,GAG9B,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAS,WAAW,CAChB,KAAkD;IAElD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC;IAClC,OAAO,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,MAAuC,CAAC,CAAC;AAC/E,CAAC;AAED,MAAM,CAAC,MAAM,QAAQ,GAMjB,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE;IAC3B,KAAK,EAAE,eAAe,CAAC,KAAK;IAC5B,KAAK,EAAE,eAAe,CAAC,KAAK;IAC5B,MAAM,EAAE,eAAe,CAAC,MAAM;IAC9B,YAAY,EAAE,eAAe,CAAC,YAAY;IAC1C,MAAM,EAAE,eAAe,CAAC,MAAM;CACjC,CAAC,CAAC"}
@@ -1,58 +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
- /** `<Flowchart>` tag — see the export's JSDoc. */
6
- import { type ExprType, type SubtypeExprOrValue, ArrayType, StructType } from "@elaraai/east";
7
- import { Flowchart as FlowchartFactory, type FlowchartConfig, type FlowchartLaneLiteral, type RowElement } from "../../collections/flowchart/index.js";
8
- import { UIComponentType } from "../../component.js";
9
- /**
10
- * `<Flowchart>` — a self-contained state-transition flowchart: states as
11
- * nodes in ordered phase lanes, H/V-routed transition arrows, optional
12
- * per-link decision triggers (lettered diamonds) and evidence-weighted
13
- * strokes — all from flat data tables. Hover cards, the selection
14
- * inspector and the pointer-highlight grammar are built-in surfaces
15
- * derived from core + declared fields; view lenses are saved slice
16
- * cohorts, never props.
17
- *
18
- * @example
19
- * ```tsx
20
- * // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
21
- * import { East } from "@elaraai/east";
22
- * import { Flowchart, UIComponentType } from "@elaraai/east-ui";
23
- *
24
- * const flow = East.function([], UIComponentType, _$ => (
25
- * <Flowchart
26
- * states={[
27
- * { code: "RMI", name: "Raw intake", phase: "prep" },
28
- * { code: "CUT", name: "Cut blanks", phase: "prep" },
29
- * { code: "ASM", name: "Assembled", phase: "build" },
30
- * ]}
31
- * state={s => ({ key: s.code, label: s.name, lane: s.phase })}
32
- * links={[{ src: "RMI", dst: "CUT" }, { src: "CUT", dst: "ASM" }]}
33
- * link={l => ({ from: l.src, to: l.dst })}
34
- * lanes={[{ key: "prep", label: "Prep" }, { key: "build", label: "Build" }]}
35
- * />
36
- * ));
37
- * ```
38
- *
39
- * @remarks
40
- * Interaction is opt-in per channel: selection (`onSelectState`,
41
- * `onSelectLink`, `onSelectTrigger`), path tracing (`onTracePath`),
42
- * link authoring (`linkMode`, `onCreateLink`, `onDeleteLink`,
43
- * `canConnect`) and the bound slice (`slice`, `affordances`). With no
44
- * callbacks bound it is a read-only picture. Desugars to
45
- * `Flowchart.Root(states, config)`.
46
- */
47
- declare function FlowchartTag<S extends SubtypeExprOrValue<ArrayType<StructType>>, L extends SubtypeExprOrValue<ArrayType<StructType>>, N extends SubtypeExprOrValue<ArrayType<StructType>> = [], T extends SubtypeExprOrValue<ArrayType<StructType>> = []>(props: {
48
- states: S;
49
- } & FlowchartConfig<RowElement<S>, RowElement<L>, RowElement<N>, RowElement<T>> & {
50
- links: L;
51
- lanes: N | readonly FlowchartLaneLiteral[];
52
- triggers?: T;
53
- }): ExprType<UIComponentType>;
54
- export declare const Flowchart: typeof FlowchartTag & {
55
- Types: typeof FlowchartFactory.Types;
56
- };
57
- export {};
58
- //# sourceMappingURL=flowchart.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flowchart.d.ts","sourceRoot":"","sources":["../../../../src/runtime/collections/flowchart.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,kDAAkD;AAElD,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EACH,SAAS,IAAI,gBAAgB,EAC7B,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,UAAU,EAClB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,iBAAS,YAAY,CACjB,CAAC,SAAS,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,EACnD,CAAC,SAAS,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,EACnD,CAAC,SAAS,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,GAAG,EAAE,EACxD,CAAC,SAAS,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,GAAG,EAAE,EAExD,KAAK,EAAE;IAAE,MAAM,EAAE,CAAC,CAAA;CAAE,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,GAC5F;IAAE,KAAK,EAAE,CAAC,CAAC;IAAC,KAAK,EAAE,CAAC,GAAG,SAAS,oBAAoB,EAAE,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;CAAE,GAC7E,QAAQ,CAAC,eAAe,CAAC,CAG3B;AAED,eAAO,MAAM,SAAS,EAAE,OAAO,YAAY,GAAG;IAC1C,KAAK,EAAE,OAAO,gBAAgB,CAAC,KAAK,CAAC;CAGvC,CAAC"}
@@ -1,54 +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
- /** `<Flowchart>` tag — see the export's JSDoc. */
6
- import { ArrayType, StructType } from "@elaraai/east";
7
- import { Flowchart as FlowchartFactory, } from "../../collections/flowchart/index.js";
8
- import { UIComponentType } from "../../component.js";
9
- /**
10
- * `<Flowchart>` — a self-contained state-transition flowchart: states as
11
- * nodes in ordered phase lanes, H/V-routed transition arrows, optional
12
- * per-link decision triggers (lettered diamonds) and evidence-weighted
13
- * strokes — all from flat data tables. Hover cards, the selection
14
- * inspector and the pointer-highlight grammar are built-in surfaces
15
- * derived from core + declared fields; view lenses are saved slice
16
- * cohorts, never props.
17
- *
18
- * @example
19
- * ```tsx
20
- * // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
21
- * import { East } from "@elaraai/east";
22
- * import { Flowchart, UIComponentType } from "@elaraai/east-ui";
23
- *
24
- * const flow = East.function([], UIComponentType, _$ => (
25
- * <Flowchart
26
- * states={[
27
- * { code: "RMI", name: "Raw intake", phase: "prep" },
28
- * { code: "CUT", name: "Cut blanks", phase: "prep" },
29
- * { code: "ASM", name: "Assembled", phase: "build" },
30
- * ]}
31
- * state={s => ({ key: s.code, label: s.name, lane: s.phase })}
32
- * links={[{ src: "RMI", dst: "CUT" }, { src: "CUT", dst: "ASM" }]}
33
- * link={l => ({ from: l.src, to: l.dst })}
34
- * lanes={[{ key: "prep", label: "Prep" }, { key: "build", label: "Build" }]}
35
- * />
36
- * ));
37
- * ```
38
- *
39
- * @remarks
40
- * Interaction is opt-in per channel: selection (`onSelectState`,
41
- * `onSelectLink`, `onSelectTrigger`), path tracing (`onTracePath`),
42
- * link authoring (`linkMode`, `onCreateLink`, `onDeleteLink`,
43
- * `canConnect`) and the bound slice (`slice`, `affordances`). With no
44
- * callbacks bound it is a read-only picture. Desugars to
45
- * `Flowchart.Root(states, config)`.
46
- */
47
- function FlowchartTag(props) {
48
- const { states, ...config } = props;
49
- return FlowchartFactory.Root(states, config);
50
- }
51
- export const Flowchart = Object.assign(FlowchartTag, {
52
- Types: FlowchartFactory.Types,
53
- });
54
- //# sourceMappingURL=flowchart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flowchart.js","sourceRoot":"","sources":["../../../../src/runtime/collections/flowchart.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,kDAAkD;AAElD,OAAO,EAA0C,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EACH,SAAS,IAAI,gBAAgB,GAIhC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAS,YAAY,CAMjB,KAC4E;IAE5E,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC;IACpC,OAAO,gBAAgB,CAAC,IAAI,CAAC,MAAM,EAAE,MAAe,CAAC,CAAC;AAC1D,CAAC;AAED,MAAM,CAAC,MAAM,SAAS,GAElB,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE;IAC5B,KAAK,EAAE,gBAAgB,CAAC,KAAK;CAChC,CAAC,CAAC"}
@@ -1,181 +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>` tag — see the export's JSDoc.
7
- */
8
- import { type PlanConfig, type PlanAxisKindLiteral, type PlanNamespace } from "../../collections/plan/index.js";
9
- import type { UIElement } from "../runtime.js";
10
- /**
11
- * `<Plan>` — the axis-aligned composite canvas: one shared axis
12
- * (`{ time | number | ordinal }` — a window ÷ resolution or step, or an
13
- * ordinal list, = `n` buckets) over heterogeneous rows — span rows
14
- * (Gantt state-runs), bucket rows (Planner allocation lanes), chart rows
15
- * (Chart layers consumed as data), heat/table rows (Matrix cells / bucketed
16
- * numerals), cards rows (Roster chips), event marks and group strips —
17
- * sliced and reviewed as one surface.
18
- *
19
- * A canvas is its `data` — a keyed collection of raw entries, or a paged
20
- * source of one — and its `series`: one `Plan.series.*` value per row series,
21
- * whose accessors derive each canvas row from the raw fields (`Plan.pick`
22
- * makes the list one the user picks from). The list IS the layout — one block
23
- * per series, top to bottom — and hierarchy comes only from the data's own
24
- * nesting (#822): a series' `children` walk what an entry holds, to any depth
25
- * (`Plan.children` steps down to another entry type), and a flat source is
26
- * grouped in a data step first (`groupToDicts`). `Plan.series.section` titles
27
- * a block and `Plan.series.views` shows one entry several ways. Every row has
28
- * a typed id — its series and the path of entry keys to it (`Plan.ref`).
29
- *
30
- * Content comes from the value builders (`Plan.run` / `event` / `chip` /
31
- * `mark` / `marker` / `decision` / `port` / `segment` / the cell builders,
32
- * instants via `Plan.at.*`), the axis from `Plan.axis` (`time`) /
33
- * `Plan.axis.number` / `Plan.axis.ordinal` — its window stated, or supplied by
34
- * a bound slice — and rows no dataset holds from the kind factories
35
- * (`Plan.span` / `buckets` / `chart` / `heat` / `table` / `cards` / `events` /
36
- * `group`), placed by a `Plan.series.rows` entry. Props are
37
- * {@link PlanConfig}; maps to `Plan.Root`.
38
- *
39
- * @example
40
- * ```tsx
41
- * // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
42
- * import { ArrayType, DateTimeType, DictType, East, FloatType, IntegerType, StringType, StructType, VariantType, variant } from "@elaraai/east";
43
- * import { EventStateType, Format, Plan, UIComponentType } from "@elaraai/east-ui";
44
- *
45
- * const canvas = East.function([], UIComponentType, ($) => {
46
- * // Monday of ISO week n, 2026 — window W27–W38 (half-open), now W31.
47
- * const week = $.const(East.function([IntegerType], DateTimeType, ($, n) => {
48
- * const w1 = $.const(new Date("2025-12-29T00:00:00Z"), DateTimeType);
49
- * return w1.addWeeks(n.subtract(1n));
50
- * }));
51
- * // The RAW domain shape — series discriminated by a variant field
52
- * // (the natural ops-dataset form; the same rows page from a dataset).
53
- * const JobRow = StructType({
54
- * batch: StringType, start: DateTimeType, end: DateTimeType,
55
- * tonnes: FloatType, state: EventStateType,
56
- * });
57
- * const ShiftRow = StructType({
58
- * key: StringType, from: DateTimeType, to: DateTimeType,
59
- * hours: FloatType, state: EventStateType,
60
- * });
61
- * const OpsRow = StructType({
62
- * line: StringType,
63
- * kind: VariantType({
64
- * machine: StructType({ jobs: ArrayType(JobRow) }),
65
- * crew: StructType({ shifts: ArrayType(ShiftRow) }),
66
- * }),
67
- * });
68
- * const ops = $.const(new Map([
69
- * ["L1-M03", { line: "Line 1", kind: variant("machine", { jobs: [
70
- * { batch: "B-214", start: week(28n), end: week(31n), tonnes: 96.0, state: variant("in-progress", null) },
71
- * { batch: "B-221", start: week(32n), end: week(35n), tonnes: 88.0, state: variant("proposed", variant("recommended", null)) },
72
- * ] }) }],
73
- * ["L1-M04", { line: "Line 1", kind: variant("machine", { jobs: [
74
- * { batch: "B-208", start: week(27n), end: week(30n), tonnes: 112.0, state: variant("actual", null) },
75
- * ] }) }],
76
- * ["L2-M11", { line: "Line 2", kind: variant("machine", { jobs: [
77
- * { batch: "B-241", start: week(29n), end: week(33n), tonnes: 92.0, state: variant("confirmed", null) },
78
- * ] }) }],
79
- * ["crewA", { line: "Line 1", kind: variant("crew", { shifts: [
80
- * { key: "s1", from: week(27n), to: week(29n), hours: 80.0, state: variant("confirmed", null) },
81
- * { key: "s2", from: week(31n), to: week(33n), hours: 64.0, state: variant("proposed", variant("recommended", null)) },
82
- * ] }) }],
83
- * ]), DictType(StringType, OpsRow));
84
- * // Hierarchy is the DATA's (#822): one `groupToDicts` groups the rows
85
- * // into the canvas's blocks — each machine under its line, the crews
86
- * // under one "Crews" block. An entry of the result holds its rows.
87
- * const blocks = $.let(ops.groupToDicts(
88
- * ($, r) => r.kind.hasTag("crew").ifElse(() => "Crews", () => r.line),
89
- * ($, _r, k) => k));
90
- * const Block = DictType(StringType, OpsRow);
91
- * // The series — real East values bound in the body, typed by the
92
- * // constructor. The list IS the layout: one block per series, top to
93
- * // bottom. The accessors are where raw fields become canvas vocabulary:
94
- * // labels, quantity displays and chip text all derive CLIENT-SIDE,
95
- * // inside each series' `derive`.
96
- * const series = $.const([
97
- * // One row per line, its machines stepped down into
98
- * // (`Plan.children`) and their runs rolled up into its bands —
99
- * // which sum the runs' quantities, unit by unit.
100
- * Plan.series.span(Block, {
101
- * key: "lines", title: "Lines",
102
- * match: (_b, name) => name.equal("Crews").not(),
103
- * label: (_b, name) => name,
104
- * runs: _b => [],
105
- * rollup: "union",
106
- * children: Plan.children((b) => b, [
107
- * Plan.series.span(OpsRow, {
108
- * key: "machines", title: "Machines",
109
- * match: r => r.kind.hasTag("machine"),
110
- * label: (_r, k) => k, id: true,
111
- * runs: r => r.kind.unwrap("machine").jobs.map((_$, j) => Plan.run({
112
- * key: j.batch, start: j.start, end: j.end,
113
- * label: East.str`RUN · ${j.batch}`,
114
- * // A quantity is one value: the bar prints `96 t`,
115
- * // and the line's band sums the tonnes.
116
- * quantity: Plan.quantity(j.tonnes, { unit: "t", format: Format.Number({ maximumFractionDigits: 0n }) }),
117
- * state: j.state,
118
- * })),
119
- * }),
120
- * ]),
121
- * }),
122
- * // One strip per matching block — here the one "Crews" block,
123
- * // wearing its member count.
124
- * Plan.series.group(Block, {
125
- * key: "crews", title: "Crews",
126
- * match: (_b, name) => name.equal("Crews"),
127
- * label: (_b, name) => name,
128
- * children: Plan.children((b) => b, [
129
- * Plan.series.cards(OpsRow, {
130
- * key: "crew-shifts", title: "Crew shifts",
131
- * match: r => r.kind.hasTag("crew"),
132
- * label: (_r, k) => k,
133
- * chips: r => r.kind.unwrap("crew").shifts.map(($, s) => {
134
- * const hrs = $.let(East.Float.printFixed(s.hours, 0n), StringType);
135
- * // `+` marks ADDED hours — a removed proposal keeps the
136
- * // plain figure (see planCardRows for the full ladder).
137
- * const label = $.let(s.state.match({
138
- * proposed: (_$, p) => p.hasTag("removed").ifElse(
139
- * () => East.str`${hrs}h`,
140
- * () => East.str`+${hrs}h`),
141
- * }, _$ => East.str`${hrs}h`), StringType);
142
- * return Plan.chip({ key: s.key, from: s.from, to: s.to, label, state: s.state });
143
- * }),
144
- * }),
145
- * ]),
146
- * }),
147
- * Plan.series.rows(Block, { key: "chrome", title: "Milestones", subtitle: "one-off chrome" },
148
- * [Plan.events({ key: "ms", label: "MILESTONES", id: true, marks: [
149
- * Plan.mark({ key: "kick", at: week(28n), kind: "milestone", label: "KICKOFF" }),
150
- * Plan.mark({ key: "rel", at: week(33n), kind: "milestone", label: "REL 2.4" }),
151
- * ] })]),
152
- * ], ArrayType(Plan.Types.Series(Block)));
153
- * const axis = $.const(Plan.axis({ window: { min: week(27n), max: week(39n) }, resolution: "week", now: week(31n) }));
154
- * return (
155
- * <Plan
156
- * axis={axis}
157
- * data={blocks}
158
- * series={series}
159
- * />
160
- * );
161
- * });
162
- * ```
163
- *
164
- * @remarks
165
- * Carries the factory namespace except `Root` (the tag is the root):
166
- * `Plan.axis` (+ `.time` / `.number` / `.ordinal`), `Plan.at`,
167
- * `Plan.series.*`, `Plan.children`, `Plan.ref` / `Plan.sectionRef`,
168
- * `Plan.pick` / `Plan.pickItems`, the kind factories, the value and cell
169
- * builders, `Plan.quantity`, `Plan.link`, `Plan.layer` / `Plan.fixed` (chart
170
- * channels), `Plan.markKind`, `Plan.uiState` (a bound `ui` state's seed), and
171
- * `Plan.Types.*`. Replaces `Gantt`, `Planner` and
172
- * `AlignedStack`.
173
- *
174
- * The tag is generic in the canvas's axis kind `K`, inferred from `axis`:
175
- * a series whose instants ride another arm is a compile error at the tag
176
- * (see `PlanConfig`).
177
- */
178
- export declare const Plan: {
179
- <K extends PlanAxisKindLiteral = PlanAxisKindLiteral>(props: PlanConfig<K>): UIElement;
180
- } & Omit<PlanNamespace, "Root">;
181
- //# sourceMappingURL=plan.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../../../../src/runtime/collections/plan.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AAEH,OAAO,EAEH,KAAK,UAAU,EACf,KAAK,mBAAmB,EACxB,KAAK,aAAa,EACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAY/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuKG;AACH,eAAO,MAAM,IAAI,EAAE;IACf,CAAC,CAAC,SAAS,mBAAmB,GAAG,mBAAmB,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;CAC1F,GAAG,IAAI,CAAC,aAAa,EAAE,MAAM,CAAqC,CAAC"}
@@ -1,186 +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>` tag — see the export's JSDoc.
7
- */
8
- import { Plan as PlanFactory, } from "../../collections/plan/index.js";
9
- /** The tag's call — `Plan.Root`, generic in the axis kind `K` that `axis` fixes. */
10
- function PlanTag(props) {
11
- return PlanFactory.Root(props);
12
- }
13
- // The tag IS the root, so `Root` is the one factory member it does not carry.
14
- // Derived, never hand-listed: a member added to `PlanNamespace` rides the tag
15
- // with no edit here (#814).
16
- const { Root: _root, ...authoring } = PlanFactory;
17
- /**
18
- * `<Plan>` — the axis-aligned composite canvas: one shared axis
19
- * (`{ time | number | ordinal }` — a window ÷ resolution or step, or an
20
- * ordinal list, = `n` buckets) over heterogeneous rows — span rows
21
- * (Gantt state-runs), bucket rows (Planner allocation lanes), chart rows
22
- * (Chart layers consumed as data), heat/table rows (Matrix cells / bucketed
23
- * numerals), cards rows (Roster chips), event marks and group strips —
24
- * sliced and reviewed as one surface.
25
- *
26
- * A canvas is its `data` — a keyed collection of raw entries, or a paged
27
- * source of one — and its `series`: one `Plan.series.*` value per row series,
28
- * whose accessors derive each canvas row from the raw fields (`Plan.pick`
29
- * makes the list one the user picks from). The list IS the layout — one block
30
- * per series, top to bottom — and hierarchy comes only from the data's own
31
- * nesting (#822): a series' `children` walk what an entry holds, to any depth
32
- * (`Plan.children` steps down to another entry type), and a flat source is
33
- * grouped in a data step first (`groupToDicts`). `Plan.series.section` titles
34
- * a block and `Plan.series.views` shows one entry several ways. Every row has
35
- * a typed id — its series and the path of entry keys to it (`Plan.ref`).
36
- *
37
- * Content comes from the value builders (`Plan.run` / `event` / `chip` /
38
- * `mark` / `marker` / `decision` / `port` / `segment` / the cell builders,
39
- * instants via `Plan.at.*`), the axis from `Plan.axis` (`time`) /
40
- * `Plan.axis.number` / `Plan.axis.ordinal` — its window stated, or supplied by
41
- * a bound slice — and rows no dataset holds from the kind factories
42
- * (`Plan.span` / `buckets` / `chart` / `heat` / `table` / `cards` / `events` /
43
- * `group`), placed by a `Plan.series.rows` entry. Props are
44
- * {@link PlanConfig}; maps to `Plan.Root`.
45
- *
46
- * @example
47
- * ```tsx
48
- * // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
49
- * import { ArrayType, DateTimeType, DictType, East, FloatType, IntegerType, StringType, StructType, VariantType, variant } from "@elaraai/east";
50
- * import { EventStateType, Format, Plan, UIComponentType } from "@elaraai/east-ui";
51
- *
52
- * const canvas = East.function([], UIComponentType, ($) => {
53
- * // Monday of ISO week n, 2026 — window W27–W38 (half-open), now W31.
54
- * const week = $.const(East.function([IntegerType], DateTimeType, ($, n) => {
55
- * const w1 = $.const(new Date("2025-12-29T00:00:00Z"), DateTimeType);
56
- * return w1.addWeeks(n.subtract(1n));
57
- * }));
58
- * // The RAW domain shape — series discriminated by a variant field
59
- * // (the natural ops-dataset form; the same rows page from a dataset).
60
- * const JobRow = StructType({
61
- * batch: StringType, start: DateTimeType, end: DateTimeType,
62
- * tonnes: FloatType, state: EventStateType,
63
- * });
64
- * const ShiftRow = StructType({
65
- * key: StringType, from: DateTimeType, to: DateTimeType,
66
- * hours: FloatType, state: EventStateType,
67
- * });
68
- * const OpsRow = StructType({
69
- * line: StringType,
70
- * kind: VariantType({
71
- * machine: StructType({ jobs: ArrayType(JobRow) }),
72
- * crew: StructType({ shifts: ArrayType(ShiftRow) }),
73
- * }),
74
- * });
75
- * const ops = $.const(new Map([
76
- * ["L1-M03", { line: "Line 1", kind: variant("machine", { jobs: [
77
- * { batch: "B-214", start: week(28n), end: week(31n), tonnes: 96.0, state: variant("in-progress", null) },
78
- * { batch: "B-221", start: week(32n), end: week(35n), tonnes: 88.0, state: variant("proposed", variant("recommended", null)) },
79
- * ] }) }],
80
- * ["L1-M04", { line: "Line 1", kind: variant("machine", { jobs: [
81
- * { batch: "B-208", start: week(27n), end: week(30n), tonnes: 112.0, state: variant("actual", null) },
82
- * ] }) }],
83
- * ["L2-M11", { line: "Line 2", kind: variant("machine", { jobs: [
84
- * { batch: "B-241", start: week(29n), end: week(33n), tonnes: 92.0, state: variant("confirmed", null) },
85
- * ] }) }],
86
- * ["crewA", { line: "Line 1", kind: variant("crew", { shifts: [
87
- * { key: "s1", from: week(27n), to: week(29n), hours: 80.0, state: variant("confirmed", null) },
88
- * { key: "s2", from: week(31n), to: week(33n), hours: 64.0, state: variant("proposed", variant("recommended", null)) },
89
- * ] }) }],
90
- * ]), DictType(StringType, OpsRow));
91
- * // Hierarchy is the DATA's (#822): one `groupToDicts` groups the rows
92
- * // into the canvas's blocks — each machine under its line, the crews
93
- * // under one "Crews" block. An entry of the result holds its rows.
94
- * const blocks = $.let(ops.groupToDicts(
95
- * ($, r) => r.kind.hasTag("crew").ifElse(() => "Crews", () => r.line),
96
- * ($, _r, k) => k));
97
- * const Block = DictType(StringType, OpsRow);
98
- * // The series — real East values bound in the body, typed by the
99
- * // constructor. The list IS the layout: one block per series, top to
100
- * // bottom. The accessors are where raw fields become canvas vocabulary:
101
- * // labels, quantity displays and chip text all derive CLIENT-SIDE,
102
- * // inside each series' `derive`.
103
- * const series = $.const([
104
- * // One row per line, its machines stepped down into
105
- * // (`Plan.children`) and their runs rolled up into its bands —
106
- * // which sum the runs' quantities, unit by unit.
107
- * Plan.series.span(Block, {
108
- * key: "lines", title: "Lines",
109
- * match: (_b, name) => name.equal("Crews").not(),
110
- * label: (_b, name) => name,
111
- * runs: _b => [],
112
- * rollup: "union",
113
- * children: Plan.children((b) => b, [
114
- * Plan.series.span(OpsRow, {
115
- * key: "machines", title: "Machines",
116
- * match: r => r.kind.hasTag("machine"),
117
- * label: (_r, k) => k, id: true,
118
- * runs: r => r.kind.unwrap("machine").jobs.map((_$, j) => Plan.run({
119
- * key: j.batch, start: j.start, end: j.end,
120
- * label: East.str`RUN · ${j.batch}`,
121
- * // A quantity is one value: the bar prints `96 t`,
122
- * // and the line's band sums the tonnes.
123
- * quantity: Plan.quantity(j.tonnes, { unit: "t", format: Format.Number({ maximumFractionDigits: 0n }) }),
124
- * state: j.state,
125
- * })),
126
- * }),
127
- * ]),
128
- * }),
129
- * // One strip per matching block — here the one "Crews" block,
130
- * // wearing its member count.
131
- * Plan.series.group(Block, {
132
- * key: "crews", title: "Crews",
133
- * match: (_b, name) => name.equal("Crews"),
134
- * label: (_b, name) => name,
135
- * children: Plan.children((b) => b, [
136
- * Plan.series.cards(OpsRow, {
137
- * key: "crew-shifts", title: "Crew shifts",
138
- * match: r => r.kind.hasTag("crew"),
139
- * label: (_r, k) => k,
140
- * chips: r => r.kind.unwrap("crew").shifts.map(($, s) => {
141
- * const hrs = $.let(East.Float.printFixed(s.hours, 0n), StringType);
142
- * // `+` marks ADDED hours — a removed proposal keeps the
143
- * // plain figure (see planCardRows for the full ladder).
144
- * const label = $.let(s.state.match({
145
- * proposed: (_$, p) => p.hasTag("removed").ifElse(
146
- * () => East.str`${hrs}h`,
147
- * () => East.str`+${hrs}h`),
148
- * }, _$ => East.str`${hrs}h`), StringType);
149
- * return Plan.chip({ key: s.key, from: s.from, to: s.to, label, state: s.state });
150
- * }),
151
- * }),
152
- * ]),
153
- * }),
154
- * Plan.series.rows(Block, { key: "chrome", title: "Milestones", subtitle: "one-off chrome" },
155
- * [Plan.events({ key: "ms", label: "MILESTONES", id: true, marks: [
156
- * Plan.mark({ key: "kick", at: week(28n), kind: "milestone", label: "KICKOFF" }),
157
- * Plan.mark({ key: "rel", at: week(33n), kind: "milestone", label: "REL 2.4" }),
158
- * ] })]),
159
- * ], ArrayType(Plan.Types.Series(Block)));
160
- * const axis = $.const(Plan.axis({ window: { min: week(27n), max: week(39n) }, resolution: "week", now: week(31n) }));
161
- * return (
162
- * <Plan
163
- * axis={axis}
164
- * data={blocks}
165
- * series={series}
166
- * />
167
- * );
168
- * });
169
- * ```
170
- *
171
- * @remarks
172
- * Carries the factory namespace except `Root` (the tag is the root):
173
- * `Plan.axis` (+ `.time` / `.number` / `.ordinal`), `Plan.at`,
174
- * `Plan.series.*`, `Plan.children`, `Plan.ref` / `Plan.sectionRef`,
175
- * `Plan.pick` / `Plan.pickItems`, the kind factories, the value and cell
176
- * builders, `Plan.quantity`, `Plan.link`, `Plan.layer` / `Plan.fixed` (chart
177
- * channels), `Plan.markKind`, `Plan.uiState` (a bound `ui` state's seed), and
178
- * `Plan.Types.*`. Replaces `Gantt`, `Planner` and
179
- * `AlignedStack`.
180
- *
181
- * The tag is generic in the canvas's axis kind `K`, inferred from `axis`:
182
- * a series whose instants ride another arm is a compile error at the tag
183
- * (see `PlanConfig`).
184
- */
185
- export const Plan = Object.assign(PlanTag, authoring);
186
- //# sourceMappingURL=plan.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plan.js","sourceRoot":"","sources":["../../../../src/runtime/collections/plan.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AAEH,OAAO,EACH,IAAI,IAAI,WAAW,GAItB,MAAM,iCAAiC,CAAC;AAGzC,oFAAoF;AACpF,SAAS,OAAO,CAAsD,KAAoB;IACtF,OAAO,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACnC,CAAC;AAED,8EAA8E;AAC9E,8EAA8E;AAC9E,4BAA4B;AAC5B,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,SAAS,EAAE,GAAG,WAAW,CAAC;AAElD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuKG;AACH,MAAM,CAAC,MAAM,IAAI,GAEiB,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC"}
@@ -1,60 +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
- /** `<Roster>` tag — see the export's JSDoc. */
6
- import { type ExprType, type SubtypeExprOrValue, ArrayType, StructType } from "@elaraai/east";
7
- import { Roster as RosterFactory, type RosterConfig, type RowElement } from "../../collections/roster/index.js";
8
- import { UIComponentType } from "../../component.js";
9
- /**
10
- * `<Roster>` — people × days-of-week shift scheduling. Takes the two flat
11
- * tables a dataset naturally provides — `people` and `shifts` — each with a
12
- * chart-style field encoding (`person`, `shift`); the factory joins them by
13
- * person key. The component owns the week (`days` defaults to Mon–Sun).
14
- *
15
- * Declares the drag & drop **target** role: `sources` lists the Library ids
16
- * it accepts `add` drags from, and every completed drag (add / move /
17
- * remove) funnels through `onDrag` as one typed event. Published mode
18
- * renders committed shifts only, pointer-immutable; edit mode enables
19
- * grips, empty-cell add (`onAddAt`), and ghost acceptance (`onAccept`).
20
- *
21
- * @example
22
- * ```tsx
23
- * // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
24
- * import { East, variant } from "@elaraai/east";
25
- * import { Roster, UIComponentType } from "@elaraai/east-ui";
26
- *
27
- * const roster = East.function([], UIComponentType, _$ => (
28
- * <Roster
29
- * id="roster-se"
30
- * sources={["people"]}
31
- * mode="edit"
32
- * people={[
33
- * { id: "patel", name: "Patel", target: "38h → 30h" },
34
- * ]}
35
- * person={p => ({ key: p.id, label: p.name, sublabel: p.target })}
36
- * shifts={[
37
- * { id: "p1", person: "patel", day: "Mon", hours: 8n, state: variant("committed", null) },
38
- * { id: "p2", person: "patel", day: "Wed", hours: 4n, state: variant("proposed", variant("model", null)) },
39
- * ]}
40
- * shift={s => ({ key: s.id, person: s.person, day: s.day,
41
- * hours: s.hours, state: s.state })}
42
- * />
43
- * ));
44
- * ```
45
- *
46
- * @remarks
47
- * Shift states are typed `PlannerStateType` values in the data
48
- * (`variant("committed", null)`, `variant("proposed", variant("model",
49
- * null))`, …) — `Roster.Types.State` names the grammar. Desugars to
50
- * `Roster.Root(people, shifts, config)`.
51
- */
52
- declare function RosterTag<P extends SubtypeExprOrValue<ArrayType<StructType>>, S extends SubtypeExprOrValue<ArrayType<StructType>>>(props: {
53
- people: P;
54
- shifts: S;
55
- } & RosterConfig<RowElement<P>, RowElement<S>>): ExprType<UIComponentType>;
56
- export declare const Roster: typeof RosterTag & {
57
- Types: typeof RosterFactory.Types;
58
- };
59
- export {};
60
- //# sourceMappingURL=roster.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"roster.d.ts","sourceRoot":"","sources":["../../../../src/runtime/collections/roster.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,+CAA+C;AAE/C,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EACH,MAAM,IAAI,aAAa,EACvB,KAAK,YAAY,EACjB,KAAK,UAAU,EAClB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,iBAAS,SAAS,CACd,CAAC,SAAS,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,EACnD,CAAC,SAAS,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,EAEnD,KAAK,EAAE;IAAE,MAAM,EAAE,CAAC,CAAC;IAAC,MAAM,EAAE,CAAC,CAAA;CAAE,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,GAC7E,QAAQ,CAAC,eAAe,CAAC,CAG3B;AAED,eAAO,MAAM,MAAM,EAAE,OAAO,SAAS,GAAG;IACpC,KAAK,EAAE,OAAO,aAAa,CAAC,KAAK,CAAC;CAGpC,CAAC"}
@@ -1,59 +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
- /** `<Roster>` tag — see the export's JSDoc. */
6
- import { ArrayType, StructType } from "@elaraai/east";
7
- import { Roster as RosterFactory, } from "../../collections/roster/index.js";
8
- import { UIComponentType } from "../../component.js";
9
- /**
10
- * `<Roster>` — people × days-of-week shift scheduling. Takes the two flat
11
- * tables a dataset naturally provides — `people` and `shifts` — each with a
12
- * chart-style field encoding (`person`, `shift`); the factory joins them by
13
- * person key. The component owns the week (`days` defaults to Mon–Sun).
14
- *
15
- * Declares the drag & drop **target** role: `sources` lists the Library ids
16
- * it accepts `add` drags from, and every completed drag (add / move /
17
- * remove) funnels through `onDrag` as one typed event. Published mode
18
- * renders committed shifts only, pointer-immutable; edit mode enables
19
- * grips, empty-cell add (`onAddAt`), and ghost acceptance (`onAccept`).
20
- *
21
- * @example
22
- * ```tsx
23
- * // .tsx file with the `@jsxImportSource @elaraai/east-ui` pragma
24
- * import { East, variant } from "@elaraai/east";
25
- * import { Roster, UIComponentType } from "@elaraai/east-ui";
26
- *
27
- * const roster = East.function([], UIComponentType, _$ => (
28
- * <Roster
29
- * id="roster-se"
30
- * sources={["people"]}
31
- * mode="edit"
32
- * people={[
33
- * { id: "patel", name: "Patel", target: "38h → 30h" },
34
- * ]}
35
- * person={p => ({ key: p.id, label: p.name, sublabel: p.target })}
36
- * shifts={[
37
- * { id: "p1", person: "patel", day: "Mon", hours: 8n, state: variant("committed", null) },
38
- * { id: "p2", person: "patel", day: "Wed", hours: 4n, state: variant("proposed", variant("model", null)) },
39
- * ]}
40
- * shift={s => ({ key: s.id, person: s.person, day: s.day,
41
- * hours: s.hours, state: s.state })}
42
- * />
43
- * ));
44
- * ```
45
- *
46
- * @remarks
47
- * Shift states are typed `PlannerStateType` values in the data
48
- * (`variant("committed", null)`, `variant("proposed", variant("model",
49
- * null))`, …) — `Roster.Types.State` names the grammar. Desugars to
50
- * `Roster.Root(people, shifts, config)`.
51
- */
52
- function RosterTag(props) {
53
- const { people, shifts, ...config } = props;
54
- return RosterFactory.Root(people, shifts, config);
55
- }
56
- export const Roster = Object.assign(RosterTag, {
57
- Types: RosterFactory.Types,
58
- });
59
- //# sourceMappingURL=roster.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"roster.js","sourceRoot":"","sources":["../../../../src/runtime/collections/roster.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,+CAA+C;AAE/C,OAAO,EAA0C,SAAS,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EACH,MAAM,IAAI,aAAa,GAG1B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,SAAS,SAAS,CAId,KAA4E;IAE5E,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC;IAC5C,OAAO,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAoD,CAAC,CAAC;AACpG,CAAC;AAED,MAAM,CAAC,MAAM,MAAM,GAEf,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE;IACzB,KAAK,EAAE,aAAa,CAAC,KAAK;CAC7B,CAAC,CAAC"}