@elaraai/east-ui 1.0.85 → 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,26 +0,0 @@
1
- /**
2
- * THE Roster configurator (pass 5) — ONE live work-week roster; the preset
3
- * axis is a pure DATA struct (people / shifts / days / sources / mode /
4
- * summary), so the edit grammar and the published read-only week flow through
5
- * the same instance.
6
- */
7
- export declare const rosterVariants: import("@elaraai/east").ExampleDef<[], any>;
8
- /**
9
- * Review chrome (#265) — the shared Decision column + commitBar foot beside
10
- * per-tile ghost accept: accept ONE ghost vs approve the LINE.
11
- */
12
- export declare const rosterReview: import("@elaraai/east").ExampleDef<[], any>;
13
- /** Fill (#320) — height="fill" in a bounded Box virtualizes the 200 person rows. */
14
- export declare const rosterFill: import("@elaraai/east").ExampleDef<[], any>;
15
- export declare const rosterInteractive: import("@elaraai/east").ExampleDef<[], any>;
16
- /**
17
- * IR-level drop validation (#261) folds into the DnD grammar — `canDrop`
18
- * receives the synthesized candidate event for every hovered cell; returning
19
- * `false` shows the ⊘ invalid stage and the drop is a no-op. Here Kim is
20
- * day-shift only: any `add` of the `kim` card onto a weekend column is
21
- * vetoed, and `move`s onto weekends are vetoed for everyone (weekend line-up
22
- * is committed). Delivered gestures log under the roster — a vetoed drop
23
- * stays visibly silent.
24
- */
25
- export declare const rosterLibraryDnd: import("@elaraai/east").ExampleDef<[], any>;
26
- //# sourceMappingURL=roster.examples.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"roster.examples.d.ts","sourceRoot":"","sources":["../../../test/collections/roster.examples.tsx"],"names":[],"mappings":"AAeA;;;;;GAKG;AACH,eAAO,MAAM,cAAc,6CA4GzB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,YAAY,6CAmDvB,CAAC;AAEH,oFAAoF;AACpF,eAAO,MAAM,UAAU,6CA+BrB,CAAC;AAEH,eAAO,MAAM,iBAAiB,6CAyC5B,CAAC;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,6CA0D3B,CAAC"}
@@ -1,237 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "@elaraai/east-ui/jsx-runtime";
2
- /**
3
- * Copyright (c) 2025 Elara AI Pty Ltd
4
- * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
5
- */
6
- /** @jsxImportSource @elaraai/east-ui */
7
- import { ArrayType, BooleanType, East, IntegerType, NullType, StringType, StructType, example, none, some, variant } from "@elaraai/east";
8
- import { CellRefType, DragEventType, State, UIComponentType } from "@elaraai/east-ui";
9
- import { Box, Configurator, Library, Reactive, Roster, SegmentGroup, Text, VStack } from "@elaraai/east-ui";
10
- // ============================================================================
11
- // Module-scope fixtures — one per merged example (consolidation epic #455).
12
- // ============================================================================
13
- // Shared shift-state values for the hoisted fixtures.
14
- /**
15
- * THE Roster configurator (pass 5) — ONE live work-week roster; the preset
16
- * axis is a pure DATA struct (people / shifts / days / sources / mode /
17
- * summary), so the edit grammar and the published read-only week flow through
18
- * the same instance.
19
- */
20
- export const rosterVariants = example({
21
- keywords: ["Roster", "shift", "edit", "ghost", "added", "removed", "summary", "published", "committed", "read-only", "days", "mode", "Reactive", "State", "SegmentGroup", "Configurator", "getTag", "configurator"],
22
- description: "Roster configurator — a data-preset axis (edit / published) driving one live work-week roster; days, sources and mode all travel as data",
23
- fn: East.function([], UIComponentType, (_$) => {
24
- const COMMITTED = variant("committed", null);
25
- const ADDED = variant("proposed", variant("added", null));
26
- const REMOVED = variant("proposed", variant("removed", null));
27
- const GHOST = variant("proposed", variant("model", null));
28
- const ROSTER_EDIT_PEOPLE_DATA = [
29
- { id: "patel", name: "Patel", target: "38h → 30h" },
30
- { id: "cho", name: "Cho", target: "26h → 38h" },
31
- { id: "rivera", name: "Rivera", target: "32h" },
32
- { id: "okafor", name: "Okafor", target: "24h" },
33
- ];
34
- const ROSTER_EDIT_DATA = [
35
- { id: "p1", person: "patel", day: "Mon", hours: 8n, state: COMMITTED },
36
- { id: "p2", person: "patel", day: "Tue", hours: 8n, state: COMMITTED },
37
- { id: "p3", person: "patel", day: "Wed", hours: 8n, state: REMOVED },
38
- { id: "p4", person: "patel", day: "Fri", hours: 6n, state: COMMITTED },
39
- { id: "p5", person: "patel", day: "Sat", hours: 8n, state: REMOVED },
40
- { id: "c1", person: "cho", day: "Mon", hours: 8n, state: COMMITTED },
41
- { id: "c2", person: "cho", day: "Tue", hours: 6n, state: COMMITTED },
42
- { id: "c3", person: "cho", day: "Wed", hours: 8n, state: ADDED },
43
- { id: "c4", person: "cho", day: "Thu", hours: 8n, state: COMMITTED },
44
- { id: "c5", person: "cho", day: "Sat", hours: 8n, state: ADDED },
45
- { id: "c6", person: "cho", day: "Sun", hours: 4n, state: GHOST },
46
- { id: "r1", person: "rivera", day: "Mon", hours: 8n, state: COMMITTED },
47
- { id: "r2", person: "rivera", day: "Tue", hours: 8n, state: COMMITTED },
48
- { id: "r3", person: "rivera", day: "Wed", hours: 8n, state: COMMITTED },
49
- { id: "r4", person: "rivera", day: "Thu", hours: 8n, state: COMMITTED },
50
- { id: "r5", person: "rivera", day: "Sat", hours: 6n, state: GHOST },
51
- { id: "o1", person: "okafor", day: "Tue", hours: 6n, state: COMMITTED },
52
- { id: "o2", person: "okafor", day: "Wed", hours: 6n, state: COMMITTED },
53
- { id: "o3", person: "okafor", day: "Thu", hours: 6n, state: COMMITTED },
54
- { id: "o4", person: "okafor", day: "Fri", hours: 6n, state: COMMITTED },
55
- ];
56
- const ROSTER_PUBLISHED_DATA = [
57
- { id: "p1", person: "patel", day: "Mon", hours: 8n, state: COMMITTED },
58
- { id: "p2", person: "patel", day: "Wed", hours: 8n, state: COMMITTED },
59
- { id: "c1", person: "cho", day: "Tue", hours: 6n, state: COMMITTED },
60
- { id: "c2", person: "cho", day: "Fri", hours: 6n, state: COMMITTED },
61
- ];
62
- return (_jsx(Reactive, { children: $ => {
63
- const PresetType = StructType({
64
- label: StringType,
65
- people: ArrayType(StructType({ id: StringType, name: StringType, target: StringType })),
66
- shifts: ArrayType(StructType({ id: StringType, person: StringType, day: StringType, hours: IntegerType, state: Roster.Types.State })),
67
- mode: Roster.Types.Mode,
68
- summary: StringType,
69
- });
70
- const presets = $.const([
71
- {
72
- label: "edit",
73
- people: ROSTER_EDIT_PEOPLE_DATA,
74
- shifts: ROSTER_EDIT_DATA,
75
- mode: variant("edit", null),
76
- summary: "3 dirty · 1 new · 2 model-ghost",
77
- },
78
- {
79
- label: "published",
80
- people: [
81
- { id: "patel", name: "Patel", target: "" },
82
- { id: "cho", name: "Cho", target: "" },
83
- ],
84
- shifts: ROSTER_PUBLISHED_DATA,
85
- mode: variant("published", null),
86
- summary: "published · wk of Sep 16",
87
- },
88
- ], ArrayType(PresetType));
89
- const presetKeys = $.const(["edit", "published"], ArrayType(StringType));
90
- const presetBind = $.let(State.bind([StringType], "roster_preset", "edit"));
91
- const pKey = $.let(presetBind.read());
92
- const onPreset = $.const(East.function([StringType], NullType, ($, next) => {
93
- $(presetBind.write(next));
94
- }));
95
- const sel = $.let(presets.filter((_$, o) => o.label.equal(pKey)).get(0n));
96
- return (_jsx(Configurator, { controls: [
97
- Configurator.Control("Preset", pKey, _jsx(SegmentGroup, { value: pKey, onChange: onPreset, size: "sm", items: presetKeys.map((_$, m) => SegmentGroup.Item(m, _jsx(Text, { children: m.upperCase() }))) })),
98
- ], preview: _jsx(Roster, { id: "roster-variants", mode: sel.mode, sources: ["people"], people: sel.people, person: p => ({ key: p.id, label: p.name, sublabel: p.target }), shifts: sel.shifts, shift: sh => ({ key: sh.id, person: sh.person, day: sh.day, hours: sh.hours, state: sh.state }), days: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], summary: sel.summary }), spec: [
99
- Configurator.Spec("Shifts", East.print(sel.shifts.size())),
100
- ] }));
101
- } }));
102
- }),
103
- inputs: [],
104
- });
105
- /**
106
- * Review chrome (#265) — the shared Decision column + commitBar foot beside
107
- * per-tile ghost accept: accept ONE ghost vs approve the LINE.
108
- */
109
- export const rosterReview = example({
110
- keywords: ["Roster", "review", "approve", "reject", "approval", "decision", "batch", "ghost", "accept", "commitBar", "Reactive"],
111
- description: "Review roster — the Decision column and commit-bar foot beside per-tile ghost accept",
112
- fn: East.function([], UIComponentType, (_$) => {
113
- const COMMITTED = variant("committed", null);
114
- const ADDED = variant("proposed", variant("added", null));
115
- const GHOST = variant("proposed", variant("model", null));
116
- return (_jsx(Reactive, { children: $ => {
117
- const onAccept = $.const(East.function([CellRefType], NullType, _$ => null));
118
- const onApprove = $.const(East.function([Roster.Types.ApproveEvent], NullType, _$ => null));
119
- const onReject = $.const(East.function([Roster.Types.ApproveEvent], NullType, _$ => null));
120
- const onApproveAll = $.const(East.function([], NullType, _$ => null));
121
- const onRejectAll = $.const(East.function([], NullType, _$ => null));
122
- return (_jsx(Roster, { id: "roster-review", mode: "edit", people: [
123
- { id: "patel", name: "Patel", flagged: false },
124
- { id: "cho", name: "Cho", flagged: true },
125
- { id: "kim", name: "Kim", flagged: false },
126
- ], person: p => ({
127
- key: p.id,
128
- label: p.name,
129
- status: p.flagged.ifElse(() => some(variant("warning", null)), () => none),
130
- approval: p.flagged.ifElse(() => some(variant("pending", null)), () => some(variant("approved", null))),
131
- }), shifts: [
132
- { id: "p1", person: "patel", day: "Mon", hours: 8n, state: COMMITTED },
133
- { id: "c1", person: "cho", day: "Tue", hours: 6n, state: GHOST },
134
- { id: "c2", person: "cho", day: "Thu", hours: 6n, state: ADDED },
135
- { id: "k1", person: "kim", day: "Wed", hours: 8n, state: COMMITTED },
136
- ], shift: s => ({ key: s.id, person: s.person, day: s.day, hours: s.hours, state: s.state }), days: ["Mon", "Tue", "Wed", "Thu", "Fri"], onAccept: onAccept, review: {
137
- summary: _jsx(Text, { color: "fg.muted", children: "3 lines \u00B7 1 flagged needs a call" }),
138
- onApprove: onApprove,
139
- onReject: onReject,
140
- onApproveAll: onApproveAll,
141
- onRejectAll: onRejectAll,
142
- } }));
143
- } }));
144
- }),
145
- inputs: [],
146
- });
147
- /** Fill (#320) — height="fill" in a bounded Box virtualizes the 200 person rows. */
148
- export const rosterFill = example({
149
- keywords: ["Roster", "fill", "height", "#320", "virtual", "bounded", "Box", "scroll"],
150
- description: "Fill sizing — height=\"fill\" resolves against the bounded Box and virtualizes 200 person rows",
151
- fn: East.function([], UIComponentType, (_$) => {
152
- const COMMITTED = variant("committed", null);
153
- const ROSTER_FILL_PEOPLE_DATA = East.Array.range(0n, 200n).map((_$, i) => ({
154
- id: East.str `p${i}`,
155
- name: East.str `Person ${i}`,
156
- target: "38h",
157
- }));
158
- const ROSTER_FILL_DATA = [
159
- { id: "s1", person: "p0", day: "Mon", hours: 8n, state: COMMITTED },
160
- { id: "s2", person: "p1", day: "Tue", hours: 8n, state: COMMITTED },
161
- { id: "s3", person: "p2", day: "Wed", hours: 8n, state: COMMITTED },
162
- { id: "s4", person: "p15", day: "Thu", hours: 6n, state: COMMITTED },
163
- { id: "s5", person: "p199", day: "Fri", hours: 6n, state: COMMITTED },
164
- ];
165
- return (_jsx(Box, { height: "180px", children: _jsx(Roster, { id: "roster-fill", people: ROSTER_FILL_PEOPLE_DATA, person: p => ({ key: p.id, label: p.name, sublabel: p.target }), shifts: ROSTER_FILL_DATA, shift: s => ({ key: s.id, person: s.person, day: s.day, hours: s.hours, state: s.state }), height: "fill" }) }));
166
- }),
167
- inputs: [],
168
- });
169
- export const rosterInteractive = example({
170
- keywords: ["Roster", "Reactive", "State", "onDrag", "onAccept", "interactive", "trash", "remove", "drag-to-trash"],
171
- description: "Edit roster whose onDrag / onAccept callbacks count interactions — dragging a proposed chip also raises the shared trash sink (#267): drop on it to deliver remove/trash through the same onDrag",
172
- fn: East.function([], UIComponentType, (_$) => (_jsx(Reactive, { children: $ => {
173
- const dragBind = $.let(State.bind([IntegerType], "roster_drags", 0n));
174
- const acceptBind = $.let(State.bind([IntegerType], "roster_accepts", 0n));
175
- const onDrag = $.const(East.function([DragEventType], NullType, ($, _event) => {
176
- const n = $.let(dragBind.read());
177
- $(dragBind.write(n.add(1n)));
178
- }));
179
- const onAccept = $.const(East.function([CellRefType], NullType, ($, _ref) => {
180
- const n = $.let(acceptBind.read());
181
- $(acceptBind.write(n.add(1n)));
182
- }));
183
- const drags = $.let(dragBind.read());
184
- const accepts = $.let(acceptBind.read());
185
- return (_jsxs(VStack, { gap: "3", align: "stretch", children: [_jsx(Roster, { id: "roster-live", sources: ["people"], mode: "edit", people: [{ id: "patel", name: "Patel" }, { id: "cho", name: "Cho" }], person: p => ({ key: p.id, label: p.name }), shifts: [
186
- { id: "p1", person: "patel", day: "Mon", hours: 8n, state: variant("proposed", variant("added", null)) },
187
- { id: "p2", person: "patel", day: "Wed", hours: 4n, state: variant("proposed", variant("model", null)) },
188
- { id: "c1", person: "cho", day: "Tue", hours: 6n, state: variant("proposed", variant("added", null)) },
189
- ], shift: s => ({ key: s.id, person: s.person, day: s.day, hours: s.hours, state: s.state }), days: ["Mon", "Tue", "Wed"], onDrag: onDrag, onAccept: onAccept }), _jsx(Text.MonoLabel, { children: East.str `DRAGS · ${East.print(drags)} · ACCEPTS · ${East.print(accepts)}` })] }));
190
- } }))),
191
- inputs: [],
192
- });
193
- /**
194
- * IR-level drop validation (#261) folds into the DnD grammar — `canDrop`
195
- * receives the synthesized candidate event for every hovered cell; returning
196
- * `false` shows the ⊘ invalid stage and the drop is a no-op. Here Kim is
197
- * day-shift only: any `add` of the `kim` card onto a weekend column is
198
- * vetoed, and `move`s onto weekends are vetoed for everyone (weekend line-up
199
- * is committed). Delivered gestures log under the roster — a vetoed drop
200
- * stays visibly silent.
201
- */
202
- export const rosterLibraryDnd = example({
203
- keywords: ["Roster", "Library", "DnD", "drag", "add", "move", "remove", "trash", "onDrag", "page", "composition", "canDrop", "veto", "invalid", "validation", "candidate", "drop"],
204
- description: "Library + Roster DnD — drag a person onto a cell (add), drag proposed chips between cells (move) or to the trash sink (remove), every gesture logging through the one onDrag grammar funnel; the canDrop stage vetoes Kim's card on weekend columns (⊘ while dragging, no LAST log) and every move onto weekends",
205
- fn: East.function([], UIComponentType, (_$) => (_jsx(Reactive, { children: $ => {
206
- const canDrop = $.const(East.function([DragEventType], BooleanType, ($, event) => {
207
- const weekend = $.const(East.function([StringType], BooleanType, (_$, day) => East.equal(day, "Sat").or(_$ => East.equal(day, "Sun"))));
208
- return event.match({
209
- add: (_$, add) => East.equal(add.from.key, "kim").and(_$ => weekend(add.into.slot)).not(),
210
- move: (_$, mv) => weekend(mv.to.slot).not(),
211
- remove: (_$) => East.value(true),
212
- resize: (_$) => East.value(true),
213
- });
214
- }));
215
- const lastBind = $.let(State.bind([StringType], "roster_last_drop", "none yet"));
216
- const onDrag = $.const(East.function([DragEventType], NullType, ($, event) => {
217
- $.match(event, {
218
- add: ($, add) => { $(lastBind.write(East.str `add ${add.from.key} → ${add.into.row} · ${add.into.slot}`)); },
219
- move: ($, mv) => { $(lastBind.write(East.str `move → ${mv.to.row} · ${mv.to.slot}`)); },
220
- remove: ($, rm) => { $(lastBind.write(East.str `remove from ${rm.from.row} · ${rm.from.slot}`)); },
221
- resize: (_$) => { },
222
- });
223
- }));
224
- const last = $.let(lastBind.read());
225
- return (_jsxs(VStack, { gap: "4", align: "stretch", children: [_jsx(Library, { id: "people", data: [
226
- { id: "patel", name: "Patel, R.", role: "Senior SE" },
227
- { id: "cho", name: "Cho, J.", role: "Senior SE" },
228
- { id: "kim", name: "Kim, A.", role: "Mid SE · day-shift only" },
229
- ], item: p => ({ key: p.id, label: p.name, sublabel: p.role, icon: "user" }) }), _jsx(Roster, { id: "roster-se", sources: ["people"], mode: "edit", people: [{ id: "patel", name: "Patel" }, { id: "cho", name: "Cho" }, { id: "kim", name: "Kim" }], person: p => ({ key: p.id, label: p.name }), shifts: [
230
- { id: "p1", person: "patel", day: "Mon", hours: 8n, state: variant("committed", null) },
231
- { id: "p2", person: "patel", day: "Fri", hours: 8n, state: variant("proposed", variant("added", null)) },
232
- { id: "c1", person: "cho", day: "Tue", hours: 6n, state: variant("proposed", variant("added", null)) },
233
- ], shift: s => ({ key: s.id, person: s.person, day: s.day, hours: s.hours, state: s.state }), days: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], canDrop: canDrop, onDrag: onDrag }), _jsx(Text.MonoLabel, { children: East.str `LAST DROP · ${last}` })] }));
234
- } }))),
235
- inputs: [],
236
- });
237
- //# sourceMappingURL=roster.examples.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"roster.examples.js","sourceRoot":"","sources":["../../../test/collections/roster.examples.tsx"],"names":[],"mappings":";AAAA;;;GAGG;AACH,wCAAwC;AACxC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,E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CAAC,WAAW,EAAE,IAAI,CAAC,EAAE;4BACvF,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,EAAE;4BACxG,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,EAAE;yBACzG,EACD,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,EACzF,IAAI,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,EACvD,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,GAChB,EACF,KAAC,IAAI,CAAC,SAAS,cAAE,IAAI,CAAC,GAAG,CAAA,eAAe,IAAI,EAAE,GAAkB,IAC3D,CACZ,CAAC;QACN,CAAC,GAAY,CAChB,CAAC;IACF,MAAM,EAAE,EAAE;CACb,CAAC,CAAC"}
@@ -1,7 +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
- export declare const sheetLinkPrint: import("@elaraai/east").ExampleDef<[], any>;
6
- export declare const sheetLinkParse: import("@elaraai/east").ExampleDef<[], any>;
7
- //# sourceMappingURL=sheet-link.examples.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sheet-link.examples.d.ts","sourceRoot":"","sources":["../../../test/collections/sheet-link.examples.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAWH,eAAO,MAAM,cAAc,6CAYzB,CAAC;AAEH,eAAO,MAAM,cAAc,6CAezB,CAAC"}
@@ -1,41 +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
- import { East, StringType, example, none, some, variant } from "@elaraai/east";
6
- import { Sheet } from "@elaraai/east-ui";
7
- // ============================================================================
8
- // The link grammar (B§4.1 / B§4.2) — `Sheet.link.print` and `Sheet.link.parse`
9
- // are East functions: a task, a fill or a slice's search text calls them
10
- // exactly as the Sheet does.
11
- // ============================================================================
12
- export const sheetLinkPrint = example({
13
- keywords: ["Sheet", "link", "print", "Link", "Member", "identified", "range", "counted", "placeholder", "grammar", "text"],
14
- description: "Print a link as the planner types it — from > to, members comma-separated, a range as from-to, a count as N x key and the placeholder as TBC",
15
- fn: East.function([], StringType, ($) => {
16
- const link = $.const({
17
- from: [variant("identified", { key: "M2140" }), variant("range", { from: "M2141", to: "M2145" })],
18
- to: [variant("counted", { n: 4n, key: "CNC lathe" }), variant("placeholder", null)],
19
- }, Sheet.Types.Link);
20
- return Sheet.link.print(link);
21
- }),
22
- inputs: [],
23
- returns: "M2140, M2141-M2145 > 4 x CNC lathe, TBC",
24
- });
25
- export const sheetLinkParse = example({
26
- keywords: ["Sheet", "link", "parse", "Link", "RegisterMembers", "register", "alias", "identified", "counted", "range", "placeholder", "text", "grammar"],
27
- description: "Parse the planner's text into a typed link against a register — codes and aliases resolve case-insensitively, N x kind counts a family, a short range completes from its lower bound, TBC is the placeholder and anything else is kept as text",
28
- fn: East.function([], Sheet.Types.Link, ($) => {
29
- const members = $.const([
30
- { key: "M2140", label: "M2140", kind: "machine", aliases: [], meta: some("CNC lathe"), parent: some("Line 2"), tone: none },
31
- { key: "CNC lathe", label: "CNC lathe", kind: "family", aliases: ["lathe", "lathes"], meta: some("family"), parent: none, tone: none },
32
- ], Sheet.Types.RegisterMembers);
33
- return Sheet.link.parse("m2140 > 4 x lathe, M2141-45, TBC, paint shop", members);
34
- }),
35
- inputs: [],
36
- returns: {
37
- from: [variant("identified", { key: "M2140" })],
38
- to: [variant("counted", { n: 4n, key: "CNC lathe" }), variant("range", { from: "M2141", to: "M2145" }), variant("placeholder", null), variant("text", "paint shop")],
39
- },
40
- });
41
- //# sourceMappingURL=sheet-link.examples.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sheet-link.examples.js","sourceRoot":"","sources":["../../../test/collections/sheet-link.examples.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,+EAA+E;AAC/E,+EAA+E;AAC/E,yEAAyE;AACzE,6BAA6B;AAC7B,+EAA+E;AAE/E,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC;IAClC,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,CAAC;IAC1H,WAAW,EAAE,8IAA8I;IAC3J,EAAE,EAAE,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,UAAU,EAAE,CAAC,CAAC,EAAE,EAAE;QACpC,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC;YACjB,IAAI,EAAE,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,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EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;SACzI,EAAE,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QAChC,OAAO,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,8CAA8C,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC,CAAC;IACF,MAAM,EAAE,EAAE;IACV,OAAO,EAAE;QACL,IAAI,EAAE,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC;QAC/C,EAAE,EAAE,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,WAAW,EAAE,CAAC,EAAE,OAAO,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,OAAO,CAAC,aAAa,EAAE,IAAI,CAAC,EAAE,OAAO,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;KACvK;CACJ,CAAC,CAAC"}
@@ -1,7 +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
- export declare const sheetApplyBatch: import("@elaraai/east").ExampleDef<[], any>;
6
- export declare const sheetApplyEntries: import("@elaraai/east").ExampleDef<[], any>;
7
- //# sourceMappingURL=sheet-transactions.examples.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sheet-transactions.examples.d.ts","sourceRoot":"","sources":["../../../test/collections/sheet-transactions.examples.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAOH,eAAO,MAAM,eAAe,6CAkB1B,CAAC;AAEH,eAAO,MAAM,iBAAiB,6CA8B5B,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
- import { ArrayType, East, IntegerType, OptionType, StringType, StructType, example, none, some, variant } from "@elaraai/east";
6
- import { Sheet } from "@elaraai/east-ui";
7
- const Job = StructType({ id: StringType, task: StringType, qty: IntegerType });
8
- export const sheetApplyBatch = example({
9
- keywords: ["Sheet", "apply", "ChangeSet", "patch", "atomic", "snapshot", "batch"],
10
- description: "Apply an entry patch against the complete inline snapshot",
11
- fn: East.function([], ArrayType(Job), ($) => {
12
- const before = $.const({ id: "a", task: "Cut", qty: 2n }, Job);
13
- const after = $.const({ id: "a", task: "Cut", qty: 3n }, Job);
14
- const rows = $.const([before], ArrayType(Job));
15
- const oldEntry = $.const(some(before), OptionType(Job));
16
- const newEntry = $.const(some(after), OptionType(Job));
17
- const batch = $.const({
18
- requestId: "example-request", base: variant("snapshot", rows), label: "Set quantity",
19
- changes: [{ id: "a", patch: East.diff(oldEntry, newEntry), place: none }],
20
- }, Sheet.Types.ChangeSet(Job));
21
- const apply = $.const(Sheet.apply(Job, "id"));
22
- return apply(rows, batch, none).unwrap("applied");
23
- }),
24
- inputs: [],
25
- returns: [{ id: "a", task: "Cut", qty: 3n }],
26
- });
27
- export const sheetApplyEntries = example({
28
- keywords: ["Sheet", "Types", "Entry", "group", "row", "child", "variant", "apply", "ChangeSet", "batch", "atomic"],
29
- description: "Apply a batch to work packages and loose tasks in one collection — Sheet.Types.Entry names the group-or-row union by its child field, and one entry patch reorders a package's tasks",
30
- fn: East.function([], ArrayType(StringType), ($) => {
31
- const TaskType = StructType({ id: StringType, task: StringType });
32
- const PackageType = StructType({ id: StringType, name: StringType, tasks: ArrayType(TaskType) });
33
- const Entry = Sheet.Types.Entry(PackageType, "tasks");
34
- const before = $.const(variant("group", { id: "p1", name: "P-40 roughing", tasks: [
35
- { id: "t1", task: "Machine blanks" }, { id: "t2", task: "Inspect lots" },
36
- ] }), Entry);
37
- const after = $.const(variant("group", { id: "p1", name: "P-40 roughing", tasks: [
38
- { id: "t2", task: "Inspect lots" }, { id: "t1", task: "Machine blanks" },
39
- ] }), Entry);
40
- const loose = $.const(variant("row", { id: "t9", task: "Pack for shipping" }), Entry);
41
- const entries = $.const([before, loose], ArrayType(Entry));
42
- const oldEntry = $.const(some(before), OptionType(Entry));
43
- const newEntry = $.const(some(after), OptionType(Entry));
44
- const batch = $.const({
45
- requestId: "reorder-roughing", base: variant("snapshot", entries), label: "Move a task",
46
- changes: [{ id: "p1", patch: East.diff(oldEntry, newEntry), place: none }],
47
- }, Sheet.Types.ChangeSet(Entry));
48
- const apply = $.const(Sheet.apply(Entry, "id"));
49
- const applied = $.const(apply(entries, batch, none).unwrap("applied"));
50
- return applied.map((_$, entry) => entry.match({
51
- group: (_$2, p) => East.str `${p.name}: ${p.tasks.map((_$3, t) => t.task).stringJoin(" → ")}`,
52
- row: (_$2, t) => t.task,
53
- }));
54
- }),
55
- inputs: [],
56
- returns: ["P-40 roughing: Inspect lots → Machine blanks", "Pack for shipping"],
57
- });
58
- //# sourceMappingURL=sheet-transactions.examples.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sheet-transactions.examples.js","sourceRoot":"","sources":["../../../test/collections/sheet-transactions.examples.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAC/H,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,MAAM,GAAG,GAAG,UAAU,CAAC,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE,WAAW,EAAE,CAAC,CAAC;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,OAAO,CAAC;IACnC,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,CAAC;IACjF,WAAW,EAAE,2DAA2D;IACxE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MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;QAChD,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;QACvE,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;YAC1C,KAAK,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,CAAA,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;YAC5F,GAAG,EAAI,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI;SAC5B,CAAC,CAAC,CAAC;IACR,CAAC,CAAC;IACF,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,CAAC,8CAA8C,EAAE,mBAAmB,CAAC;CACjF,CAAC,CAAC"}
@@ -1,96 +0,0 @@
1
- /**
2
- * The smallest sheet (§3.1) — three typed columns over the host's structs,
3
- * `onUpdate` receiving the whole collection with the edit applied (the
4
- * `ValueTree` idiom), so a `State.bind` is the entire persistence story.
5
- */
6
- export declare const sheetBasic: import("@elaraai/east").ExampleDef<[], any>;
7
- /**
8
- * THE Sheet configurator — ONE live sheet; every axis is an expression-fed
9
- * prop on that single instance: density, the blank tail, read-only, the size
10
- * mode (auto / scroll / fill) and the copilot switch (a fill provider that
11
- * reads the switch through its captured bind handle). Selection and edits
12
- * log to the reactive aside.
13
- */
14
- export declare const sheetVariants: import("@elaraai/east").ExampleDef<[], any>;
15
- /**
16
- * The flagship (§3.11) — every column kind, three registers and a driver,
17
- * the copilot's fills and proposers as author functions, the slice lens with
18
- * saved views, a footer, and `onUpdate` write-back, on one sheet.
19
- */
20
- export declare const sheetPlan: import("@elaraai/east").ExampleDef<[], any>;
21
- /**
22
- * The copilot in isolation (§3.5–§3.6) — the prototype's rules as author
23
- * functions: derive (End from Start + the driver's days), history (the last
24
- * similar row's quantity), sequence (a week after the last dated row), default
25
- * (eight hours at the driver's rate), a domain pattern proposer, a learned
26
- * follower, and an ASYNC proposer behind a platform function; every take
27
- * logs its provenance through `onPatch`.
28
- */
29
- export declare const sheetCopilot: import("@elaraai/east").ExampleDef<[], any>;
30
- /**
31
- * The lens (§3.8) — search and filter run through the bound slice; the sheet
32
- * never narrows, it draws non-matching rows as collapsed context bands
33
- * while hits keep their row numbers; a Link column is searched through its
34
- * display form (`text: r => Sheet.link.print(r.stations)`); views are
35
- * slice-state snapshots evaluated live, with their context and reveals.
36
- */
37
- export declare const sheetLens: import("@elaraai/east").ExampleDef<[], any>;
38
- /**
39
- * Write-back (§3.7) — onPatch journals one complete gesture, while the
40
- * live onUpdate adapter checks and applies the composed batch once. The
41
- * Sheet holds local drafts until Apply changes is pressed.
42
- */
43
- export declare const sheetWriteBack: import("@elaraai/east").ExampleDef<[], any>;
44
- /**
45
- * Grouped editing — named work packages with ordered child rows. Explicit
46
- * constructors supply hidden metadata; the schema determines completeness.
47
- */
48
- export declare const sheetGrouped: import("@elaraai/east").ExampleDef<[], any>;
49
- /**
50
- * Stress — two thousand rows, every column virtualised, the copilot's
51
- * history fill reasoning over the resident sheet.
52
- */
53
- export declare const sheetStress: import("@elaraai/east").ExampleDef<[], any>;
54
- /** Schema completeness plus an optional business rule, evaluated on typed drafts. */
55
- export declare const sheetReadiness: import("@elaraai/east").ExampleDef<[], any>;
56
- /** Row insertion and capability limits over a live collection. */
57
- export declare const sheetInsertion: import("@elaraai/east").ExampleDef<[], any>;
58
- /**
59
- * Sub rows (#844) — read-only rows under each line that share none of its
60
- * columns. `Sheet.subRows` is keyed like `columns`: each key names an array
61
- * field of the line type and maps one element to a sub row — a struct source
62
- * with chips and labelled facets (a `none` facet drops out), and a variant
63
- * source matched arm by arm. The group's noun is the host's word.
64
- */
65
- export declare const sheetSubRows: import("@elaraai/east").ExampleDef<[], any>;
66
- /**
67
- * Column rules (#844) — what a column offers, how deep a date reads, and
68
- * what a cell says beyond its value: an `options` rule narrows the status
69
- * menu until the row has an order code; the start date reads at the row's
70
- * own `level` and prints the `actual` start once one is recorded; the status
71
- * cell's `detail` is the order code; machines are a `ranged` kind, so runs
72
- * of consecutive codes are offered and printed as one range.
73
- */
74
- export declare const sheetRules: import("@elaraai/east").ExampleDef<[], any>;
75
- /**
76
- * Registers and the driver (§3.3) — a register is the grammar's vocabulary,
77
- * projected from the host's rows by accessors: machines from an Array with a
78
- * meta and a parent, lines from a Dict whose key rides as the accessors'
79
- * second argument, and the machine families read off the same machines (the
80
- * lathes fold into one member), joined into the one register the Machines
81
- * column resolves against. The driver is the `lookup` column whose member
82
- * decides what the row does: its row gives the quantity its unit and the End
83
- * fill its duration.
84
- */
85
- export declare const sheetRegisters: import("@elaraai/east").ExampleDef<[], any>;
86
- /**
87
- * Loose rows between the groups (#846) — the source holds entries
88
- * `Sheet.Types.Entry(PackageType, "tasks")`: a work package with its tasks,
89
- * or a task that belongs to no package. A loose task draws as a plain row,
90
- * numbered in the packages' sequence; the seam above a package's band, or
91
- * beside a loose task, inserts a loose task, and a task's seam inserts a task
92
- * into its package. `id` names a field of both types: a loose task is an
93
- * entry, identified like a package.
94
- */
95
- export declare const sheetLoose: import("@elaraai/east").ExampleDef<[], any>;
96
- //# sourceMappingURL=sheet.examples.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sheet.examples.d.ts","sourceRoot":"","sources":["../../../test/collections/sheet.examples.tsx"],"names":[],"mappings":"AA8CA;;;;GAIG;AACH,eAAO,MAAM,UAAU,6CA6BrB,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,6CAuHxB,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,SAAS,6CA4VpB,CAAC;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,6CAmKvB,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,SAAS,6CAsEpB,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,cAAc,6CA8CzB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,YAAY,6CAmDvB,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,WAAW,6CA6CtB,CAAC;AAEH,qFAAqF;AACrF,eAAO,MAAM,cAAc,6CAkCzB,CAAC;AAEH,kEAAkE;AAClE,eAAO,MAAM,cAAc,6CAuBzB,CAAC;AAEH;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,6CAwEvB,CAAC;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,6CAqDrB,CAAC;AAEH;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc,6CA2EzB,CAAC;AAEH;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,6CA6CrB,CAAC"}