@elaraai/e3-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 (385) hide show
  1. package/dist/src/bind/data-indexed.d.ts +159 -0
  2. package/dist/src/bind/data-indexed.d.ts.map +1 -0
  3. package/dist/src/bind/data-indexed.js +105 -0
  4. package/dist/src/bind/data-indexed.js.map +1 -0
  5. package/dist/src/bind/data.d.ts +5 -3
  6. package/dist/src/bind/data.d.ts.map +1 -1
  7. package/dist/src/bind/data.js +6 -0
  8. package/dist/src/bind/data.js.map +1 -1
  9. package/dist/src/bind/record.d.ts +34 -23
  10. package/dist/src/bind/record.d.ts.map +1 -1
  11. package/dist/src/bind/record.js +46 -19
  12. package/dist/src/bind/record.js.map +1 -1
  13. package/dist/src/calendar/index.d.ts +2923 -0
  14. package/dist/src/calendar/index.d.ts.map +1 -0
  15. package/dist/src/calendar/index.js +135 -0
  16. package/dist/src/calendar/index.js.map +1 -0
  17. package/dist/src/decision/queue.d.ts +3 -3
  18. package/dist/src/decision/queue.d.ts.map +1 -1
  19. package/dist/src/decision/queue.js +2 -2
  20. package/dist/src/decision/queue.js.map +1 -1
  21. package/dist/src/decision/types.d.ts +4 -0
  22. package/dist/src/decision/types.d.ts.map +1 -1
  23. package/dist/src/decision/types.js +4 -0
  24. package/dist/src/decision/types.js.map +1 -1
  25. package/dist/src/flowchart/canvas.d.ts +114 -0
  26. package/dist/src/flowchart/canvas.d.ts.map +1 -0
  27. package/dist/src/flowchart/canvas.js +84 -0
  28. package/dist/src/flowchart/canvas.js.map +1 -0
  29. package/dist/src/flowchart/flowchart.d.ts +79 -0
  30. package/dist/src/flowchart/flowchart.d.ts.map +1 -0
  31. package/dist/src/flowchart/flowchart.js +9 -0
  32. package/dist/src/flowchart/flowchart.js.map +1 -0
  33. package/dist/src/flowchart/index.d.ts +305 -0
  34. package/dist/src/flowchart/index.d.ts.map +1 -0
  35. package/dist/src/flowchart/index.js +267 -0
  36. package/dist/src/flowchart/index.js.map +1 -0
  37. package/dist/src/flowchart/library.d.ts +720 -0
  38. package/dist/src/flowchart/library.d.ts.map +1 -0
  39. package/dist/src/flowchart/library.js +611 -0
  40. package/dist/src/flowchart/library.js.map +1 -0
  41. package/dist/src/flowchart/over.d.ts +234 -0
  42. package/dist/src/flowchart/over.d.ts.map +1 -0
  43. package/dist/src/flowchart/over.js +220 -0
  44. package/dist/src/flowchart/over.js.map +1 -0
  45. package/dist/src/flowchart/patch.d.ts +64 -0
  46. package/dist/src/flowchart/patch.d.ts.map +1 -0
  47. package/dist/src/flowchart/patch.js +67 -0
  48. package/dist/src/flowchart/patch.js.map +1 -0
  49. package/dist/src/flowchart/payload.d.ts +8220 -0
  50. package/dist/src/flowchart/payload.d.ts.map +1 -0
  51. package/dist/src/flowchart/payload.js +521 -0
  52. package/dist/src/flowchart/payload.js.map +1 -0
  53. package/dist/src/flowchart/types.d.ts +393 -0
  54. package/dist/src/flowchart/types.d.ts.map +1 -0
  55. package/dist/src/flowchart/types.js +216 -0
  56. package/dist/src/flowchart/types.js.map +1 -0
  57. package/dist/src/flowchart/values.d.ts +267 -0
  58. package/dist/src/flowchart/values.d.ts.map +1 -0
  59. package/dist/src/flowchart/values.js +216 -0
  60. package/dist/src/flowchart/values.js.map +1 -0
  61. package/dist/src/flowchart/window.d.ts +521 -0
  62. package/dist/src/flowchart/window.d.ts.map +1 -0
  63. package/dist/src/flowchart/window.js +69 -0
  64. package/dist/src/flowchart/window.js.map +1 -0
  65. package/dist/src/index.d.ts +25 -1
  66. package/dist/src/index.d.ts.map +1 -1
  67. package/dist/src/index.js +48 -1
  68. package/dist/src/index.js.map +1 -1
  69. package/dist/src/internal.d.ts +35 -3
  70. package/dist/src/internal.d.ts.map +1 -1
  71. package/dist/src/internal.js +72 -3
  72. package/dist/src/internal.js.map +1 -1
  73. package/dist/src/plan/assemble.d.ts +2224 -0
  74. package/dist/src/plan/assemble.d.ts.map +1 -0
  75. package/dist/src/plan/assemble.js +210 -0
  76. package/dist/src/plan/assemble.js.map +1 -0
  77. package/dist/src/plan/builders.d.ts +790 -0
  78. package/dist/src/plan/builders.d.ts.map +1 -0
  79. package/dist/src/plan/builders.js +749 -0
  80. package/dist/src/plan/builders.js.map +1 -0
  81. package/dist/src/plan/event-rows.d.ts +2565 -0
  82. package/dist/src/plan/event-rows.d.ts.map +1 -0
  83. package/dist/src/plan/event-rows.js +689 -0
  84. package/dist/src/plan/event-rows.js.map +1 -0
  85. package/dist/src/plan/factories.d.ts +458 -0
  86. package/dist/src/plan/factories.d.ts.map +1 -0
  87. package/dist/src/plan/factories.js +484 -0
  88. package/dist/src/plan/factories.js.map +1 -0
  89. package/dist/src/plan/index.d.ts +672 -0
  90. package/dist/src/plan/index.d.ts.map +1 -0
  91. package/dist/src/plan/index.js +532 -0
  92. package/dist/src/plan/index.js.map +1 -0
  93. package/dist/src/plan/ir.d.ts +2594 -0
  94. package/dist/src/plan/ir.d.ts.map +1 -0
  95. package/dist/src/plan/ir.js +78 -0
  96. package/dist/src/plan/ir.js.map +1 -0
  97. package/dist/src/plan/library.d.ts +772 -0
  98. package/dist/src/plan/library.d.ts.map +1 -0
  99. package/dist/src/plan/library.js +424 -0
  100. package/dist/src/plan/library.js.map +1 -0
  101. package/dist/src/plan/ordered-source.d.ts +27 -0
  102. package/dist/src/plan/ordered-source.d.ts.map +1 -0
  103. package/dist/src/plan/ordered-source.js +48 -0
  104. package/dist/src/plan/ordered-source.js.map +1 -0
  105. package/dist/src/plan/over.d.ts +247 -0
  106. package/dist/src/plan/over.d.ts.map +1 -0
  107. package/dist/src/plan/over.js +266 -0
  108. package/dist/src/plan/over.js.map +1 -0
  109. package/dist/src/plan/pick.d.ts +78 -0
  110. package/dist/src/plan/pick.d.ts.map +1 -0
  111. package/dist/src/plan/pick.js +146 -0
  112. package/dist/src/plan/pick.js.map +1 -0
  113. package/dist/src/plan/plan.d.ts +11611 -0
  114. package/dist/src/plan/plan.d.ts.map +1 -0
  115. package/dist/src/plan/plan.js +428 -0
  116. package/dist/src/plan/plan.js.map +1 -0
  117. package/dist/src/plan/refs.d.ts +218 -0
  118. package/dist/src/plan/refs.d.ts.map +1 -0
  119. package/dist/src/plan/refs.js +226 -0
  120. package/dist/src/plan/refs.js.map +1 -0
  121. package/dist/src/plan/root.d.ts +290 -0
  122. package/dist/src/plan/root.d.ts.map +1 -0
  123. package/dist/src/plan/root.js +463 -0
  124. package/dist/src/plan/root.js.map +1 -0
  125. package/dist/src/plan/series.d.ts +13554 -0
  126. package/dist/src/plan/series.d.ts.map +1 -0
  127. package/dist/src/plan/series.js +1921 -0
  128. package/dist/src/plan/series.js.map +1 -0
  129. package/dist/src/plan/types.d.ts +12400 -0
  130. package/dist/src/plan/types.d.ts.map +1 -0
  131. package/dist/src/plan/types.js +1335 -0
  132. package/dist/src/plan/types.js.map +1 -0
  133. package/dist/src/roster/coverage.d.ts +240 -0
  134. package/dist/src/roster/coverage.d.ts.map +1 -0
  135. package/dist/src/roster/coverage.js +109 -0
  136. package/dist/src/roster/coverage.js.map +1 -0
  137. package/dist/src/roster/index.d.ts +4028 -0
  138. package/dist/src/roster/index.d.ts.map +1 -0
  139. package/dist/src/roster/index.js +115 -0
  140. package/dist/src/roster/index.js.map +1 -0
  141. package/dist/src/roster/library.d.ts +106 -0
  142. package/dist/src/roster/library.d.ts.map +1 -0
  143. package/dist/src/roster/library.js +78 -0
  144. package/dist/src/roster/library.js.map +1 -0
  145. package/dist/src/roster/people.d.ts +50 -0
  146. package/dist/src/roster/people.d.ts.map +1 -0
  147. package/dist/src/roster/people.js +32 -0
  148. package/dist/src/roster/people.js.map +1 -0
  149. package/dist/src/roster/rules.d.ts +275 -0
  150. package/dist/src/roster/rules.d.ts.map +1 -0
  151. package/dist/src/roster/rules.js +162 -0
  152. package/dist/src/roster/rules.js.map +1 -0
  153. package/dist/src/roster/types.d.ts +672 -0
  154. package/dist/src/roster/types.d.ts.map +1 -0
  155. package/dist/src/roster/types.js +248 -0
  156. package/dist/src/roster/types.js.map +1 -0
  157. package/dist/src/roster/visibility.d.ts +66 -0
  158. package/dist/src/roster/visibility.d.ts.map +1 -0
  159. package/dist/src/roster/visibility.js +25 -0
  160. package/dist/src/roster/visibility.js.map +1 -0
  161. package/dist/src/schedule/days.d.ts +54 -0
  162. package/dist/src/schedule/days.d.ts.map +1 -0
  163. package/dist/src/schedule/days.js +68 -0
  164. package/dist/src/schedule/days.js.map +1 -0
  165. package/dist/src/schedule/events.d.ts +433 -0
  166. package/dist/src/schedule/events.d.ts.map +1 -0
  167. package/dist/src/schedule/events.js +851 -0
  168. package/dist/src/schedule/events.js.map +1 -0
  169. package/dist/src/schedule/index.d.ts +150 -0
  170. package/dist/src/schedule/index.d.ts.map +1 -0
  171. package/dist/src/schedule/index.js +132 -0
  172. package/dist/src/schedule/index.js.map +1 -0
  173. package/dist/src/schedule/library.d.ts +70 -0
  174. package/dist/src/schedule/library.d.ts.map +1 -0
  175. package/dist/src/schedule/library.js +102 -0
  176. package/dist/src/schedule/library.js.map +1 -0
  177. package/dist/src/schedule/patch.d.ts +74 -0
  178. package/dist/src/schedule/patch.d.ts.map +1 -0
  179. package/dist/src/schedule/patch.js +68 -0
  180. package/dist/src/schedule/patch.js.map +1 -0
  181. package/dist/src/schedule/record-window.d.ts +189 -0
  182. package/dist/src/schedule/record-window.d.ts.map +1 -0
  183. package/dist/src/schedule/record-window.js +95 -0
  184. package/dist/src/schedule/record-window.js.map +1 -0
  185. package/dist/src/schedule/resources.d.ts +165 -0
  186. package/dist/src/schedule/resources.d.ts.map +1 -0
  187. package/dist/src/schedule/resources.js +234 -0
  188. package/dist/src/schedule/resources.js.map +1 -0
  189. package/dist/src/schedule/templates.d.ts +47 -0
  190. package/dist/src/schedule/templates.d.ts.map +1 -0
  191. package/dist/src/schedule/templates.js +61 -0
  192. package/dist/src/schedule/templates.js.map +1 -0
  193. package/dist/src/schedule/types.d.ts +1677 -0
  194. package/dist/src/schedule/types.d.ts.map +1 -0
  195. package/dist/src/schedule/types.js +374 -0
  196. package/dist/src/schedule/types.js.map +1 -0
  197. package/dist/src/schedule/window.d.ts +154 -0
  198. package/dist/src/schedule/window.d.ts.map +1 -0
  199. package/dist/src/schedule/window.js +363 -0
  200. package/dist/src/schedule/window.js.map +1 -0
  201. package/dist/src/sheet/bridge.d.ts +385 -0
  202. package/dist/src/sheet/bridge.d.ts.map +1 -0
  203. package/dist/src/sheet/bridge.js +809 -0
  204. package/dist/src/sheet/bridge.js.map +1 -0
  205. package/dist/src/sheet/columns.d.ts +410 -0
  206. package/dist/src/sheet/columns.d.ts.map +1 -0
  207. package/dist/src/sheet/columns.js +99 -0
  208. package/dist/src/sheet/columns.js.map +1 -0
  209. package/dist/src/sheet/context-bridge.d.ts +48 -0
  210. package/dist/src/sheet/context-bridge.d.ts.map +1 -0
  211. package/dist/src/sheet/context-bridge.js +216 -0
  212. package/dist/src/sheet/context-bridge.js.map +1 -0
  213. package/dist/src/sheet/draft-bridge.d.ts +37 -0
  214. package/dist/src/sheet/draft-bridge.d.ts.map +1 -0
  215. package/dist/src/sheet/draft-bridge.js +153 -0
  216. package/dist/src/sheet/draft-bridge.js.map +1 -0
  217. package/dist/src/sheet/drafts.d.ts +14 -0
  218. package/dist/src/sheet/drafts.d.ts.map +1 -0
  219. package/dist/src/sheet/drafts.js +14 -0
  220. package/dist/src/sheet/drafts.js.map +1 -0
  221. package/dist/src/sheet/editing-bridge.d.ts +40 -0
  222. package/dist/src/sheet/editing-bridge.d.ts.map +1 -0
  223. package/dist/src/sheet/editing-bridge.js +231 -0
  224. package/dist/src/sheet/editing-bridge.js.map +1 -0
  225. package/dist/src/sheet/editing-types.d.ts +268 -0
  226. package/dist/src/sheet/editing-types.d.ts.map +1 -0
  227. package/dist/src/sheet/editing-types.js +34 -0
  228. package/dist/src/sheet/editing-types.js.map +1 -0
  229. package/dist/src/sheet/edits.d.ts +37 -0
  230. package/dist/src/sheet/edits.d.ts.map +1 -0
  231. package/dist/src/sheet/edits.js +31 -0
  232. package/dist/src/sheet/edits.js.map +1 -0
  233. package/dist/src/sheet/fields.d.ts +693 -0
  234. package/dist/src/sheet/fields.d.ts.map +1 -0
  235. package/dist/src/sheet/fields.js +280 -0
  236. package/dist/src/sheet/fields.js.map +1 -0
  237. package/dist/src/sheet/group.d.ts +165 -0
  238. package/dist/src/sheet/group.d.ts.map +1 -0
  239. package/dist/src/sheet/group.js +52 -0
  240. package/dist/src/sheet/group.js.map +1 -0
  241. package/dist/src/sheet/index.d.ts +542 -0
  242. package/dist/src/sheet/index.d.ts.map +1 -0
  243. package/dist/src/sheet/index.js +387 -0
  244. package/dist/src/sheet/index.js.map +1 -0
  245. package/dist/src/sheet/library.d.ts +284 -0
  246. package/dist/src/sheet/library.d.ts.map +1 -0
  247. package/dist/src/sheet/library.js +259 -0
  248. package/dist/src/sheet/library.js.map +1 -0
  249. package/dist/src/sheet/link.d.ts +398 -0
  250. package/dist/src/sheet/link.d.ts.map +1 -0
  251. package/dist/src/sheet/link.js +228 -0
  252. package/dist/src/sheet/link.js.map +1 -0
  253. package/dist/src/sheet/record.d.ts +75 -0
  254. package/dist/src/sheet/record.d.ts.map +1 -0
  255. package/dist/src/sheet/record.js +128 -0
  256. package/dist/src/sheet/record.js.map +1 -0
  257. package/dist/src/sheet/registers.d.ts +681 -0
  258. package/dist/src/sheet/registers.d.ts.map +1 -0
  259. package/dist/src/sheet/registers.js +671 -0
  260. package/dist/src/sheet/registers.js.map +1 -0
  261. package/dist/src/sheet/root.d.ts +329 -0
  262. package/dist/src/sheet/root.d.ts.map +1 -0
  263. package/dist/src/sheet/root.js +511 -0
  264. package/dist/src/sheet/root.js.map +1 -0
  265. package/dist/src/sheet/seed-bridge.d.ts +14 -0
  266. package/dist/src/sheet/seed-bridge.d.ts.map +1 -0
  267. package/dist/src/sheet/seed-bridge.js +51 -0
  268. package/dist/src/sheet/seed-bridge.js.map +1 -0
  269. package/dist/src/sheet/sheet.d.ts +11819 -0
  270. package/dist/src/sheet/sheet.d.ts.map +1 -0
  271. package/dist/src/sheet/sheet.js +236 -0
  272. package/dist/src/sheet/sheet.js.map +1 -0
  273. package/dist/src/sheet/sub-rows.d.ts +299 -0
  274. package/dist/src/sheet/sub-rows.d.ts.map +1 -0
  275. package/dist/src/sheet/sub-rows.js +272 -0
  276. package/dist/src/sheet/sub-rows.js.map +1 -0
  277. package/dist/src/sheet/templates.d.ts +161 -0
  278. package/dist/src/sheet/templates.d.ts.map +1 -0
  279. package/dist/src/sheet/templates.js +122 -0
  280. package/dist/src/sheet/templates.js.map +1 -0
  281. package/dist/src/sheet/transactions.d.ts +76 -0
  282. package/dist/src/sheet/transactions.d.ts.map +1 -0
  283. package/dist/src/sheet/transactions.js +40 -0
  284. package/dist/src/sheet/transactions.js.map +1 -0
  285. package/dist/src/sheet/types.d.ts +15226 -0
  286. package/dist/src/sheet/types.d.ts.map +1 -0
  287. package/dist/src/sheet/types.js +1070 -0
  288. package/dist/src/sheet/types.js.map +1 -0
  289. package/dist/src/sheet/views.d.ts +29 -0
  290. package/dist/src/sheet/views.d.ts.map +1 -0
  291. package/dist/src/sheet/views.js +43 -0
  292. package/dist/src/sheet/views.js.map +1 -0
  293. package/dist/src/studio/component.d.ts.map +1 -1
  294. package/dist/src/studio/component.js +11 -8
  295. package/dist/src/studio/component.js.map +1 -1
  296. package/dist/src/utils/derive.d.ts +134 -8
  297. package/dist/src/utils/derive.d.ts.map +1 -1
  298. package/dist/src/utils/derive.js +409 -7
  299. package/dist/src/utils/derive.js.map +1 -1
  300. package/dist/src/utils/ordered-source.d.ts +38 -0
  301. package/dist/src/utils/ordered-source.d.ts.map +1 -0
  302. package/dist/src/utils/ordered-source.js +45 -0
  303. package/dist/src/utils/ordered-source.js.map +1 -0
  304. package/dist/src/utils/row-inspector.d.ts +36 -0
  305. package/dist/src/utils/row-inspector.d.ts.map +1 -0
  306. package/dist/src/utils/row-inspector.js +49 -0
  307. package/dist/src/utils/row-inspector.js.map +1 -0
  308. package/dist/test/bind/data/data.examples.d.ts +21 -19
  309. package/dist/test/bind/data/data.examples.d.ts.map +1 -1
  310. package/dist/test/bind/data/data.examples.js +122 -122
  311. package/dist/test/bind/data/data.examples.js.map +1 -1
  312. package/dist/test/bind/record/record.examples.d.ts.map +1 -1
  313. package/dist/test/bind/record/record.examples.js +9 -9
  314. package/dist/test/bind/record/record.examples.js.map +1 -1
  315. package/dist/test/calendar/calendar-records.examples.d.ts +228 -0
  316. package/dist/test/calendar/calendar-records.examples.d.ts.map +1 -0
  317. package/dist/test/calendar/calendar-records.examples.js +91 -0
  318. package/dist/test/calendar/calendar-records.examples.js.map +1 -0
  319. package/dist/test/calendar/calendar.examples.d.ts +776 -0
  320. package/dist/test/calendar/calendar.examples.d.ts.map +1 -0
  321. package/dist/test/calendar/calendar.examples.js +336 -0
  322. package/dist/test/calendar/calendar.examples.js.map +1 -0
  323. package/dist/test/decision/journal.examples.d.ts +28 -28
  324. package/dist/test/decision/journal.examples.d.ts.map +1 -1
  325. package/dist/test/decision/journal.examples.js +4 -4
  326. package/dist/test/decision/journal.examples.js.map +1 -1
  327. package/dist/test/decision/queue.examples.d.ts.map +1 -1
  328. package/dist/test/decision/queue.examples.js +5 -7
  329. package/dist/test/decision/queue.examples.js.map +1 -1
  330. package/dist/test/flowchart/flowchart.examples.d.ts +3713 -0
  331. package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -0
  332. package/dist/test/flowchart/flowchart.examples.js +465 -0
  333. package/dist/test/flowchart/flowchart.examples.js.map +1 -0
  334. package/dist/test/plan/plan-events.examples.d.ts +3666 -0
  335. package/dist/test/plan/plan-events.examples.d.ts.map +1 -0
  336. package/dist/test/plan/plan-events.examples.js +773 -0
  337. package/dist/test/plan/plan-events.examples.js.map +1 -0
  338. package/dist/test/plan/plan-records.examples.d.ts +3 -0
  339. package/dist/test/plan/plan-records.examples.d.ts.map +1 -0
  340. package/dist/test/plan/plan-records.examples.js +45 -0
  341. package/dist/test/plan/plan-records.examples.js.map +1 -0
  342. package/dist/test/plan/plan-windows.examples.d.ts +588 -0
  343. package/dist/test/plan/plan-windows.examples.d.ts.map +1 -0
  344. package/dist/test/plan/plan-windows.examples.js +170 -0
  345. package/dist/test/plan/plan-windows.examples.js.map +1 -0
  346. package/dist/test/plan/plan.examples.d.ts +8095 -0
  347. package/dist/test/plan/plan.examples.d.ts.map +1 -0
  348. package/dist/test/plan/plan.examples.js +2500 -0
  349. package/dist/test/plan/plan.examples.js.map +1 -0
  350. package/dist/test/roster/domain.examples.d.ts +367 -0
  351. package/dist/test/roster/domain.examples.d.ts.map +1 -0
  352. package/dist/test/roster/domain.examples.js +72 -0
  353. package/dist/test/roster/domain.examples.js.map +1 -0
  354. package/dist/test/roster/roster-records.examples.d.ts +729 -0
  355. package/dist/test/roster/roster-records.examples.d.ts.map +1 -0
  356. package/dist/test/roster/roster-records.examples.js +86 -0
  357. package/dist/test/roster/roster-records.examples.js.map +1 -0
  358. package/dist/test/roster/roster.examples.d.ts +750 -0
  359. package/dist/test/roster/roster.examples.d.ts.map +1 -0
  360. package/dist/test/roster/roster.examples.js +198 -0
  361. package/dist/test/roster/roster.examples.js.map +1 -0
  362. package/dist/test/roster/warehouse.d.ts +87 -0
  363. package/dist/test/roster/warehouse.d.ts.map +1 -0
  364. package/dist/test/roster/warehouse.js +883 -0
  365. package/dist/test/roster/warehouse.js.map +1 -0
  366. package/dist/test/sheet/sheet-link.examples.d.ts +7 -0
  367. package/dist/test/sheet/sheet-link.examples.d.ts.map +1 -0
  368. package/dist/test/sheet/sheet-link.examples.js +41 -0
  369. package/dist/test/sheet/sheet-link.examples.js.map +1 -0
  370. package/dist/test/sheet/sheet-records.examples.d.ts +421 -0
  371. package/dist/test/sheet/sheet-records.examples.d.ts.map +1 -0
  372. package/dist/test/sheet/sheet-records.examples.js +79 -0
  373. package/dist/test/sheet/sheet-records.examples.js.map +1 -0
  374. package/dist/test/sheet/sheet-transactions.examples.d.ts +7 -0
  375. package/dist/test/sheet/sheet-transactions.examples.d.ts.map +1 -0
  376. package/dist/test/sheet/sheet-transactions.examples.js +58 -0
  377. package/dist/test/sheet/sheet-transactions.examples.js.map +1 -0
  378. package/dist/test/sheet/sheet.examples.d.ts +5562 -0
  379. package/dist/test/sheet/sheet.examples.d.ts.map +1 -0
  380. package/dist/test/sheet/sheet.examples.js +1178 -0
  381. package/dist/test/sheet/sheet.examples.js.map +1 -0
  382. package/dist/test/studio/studio.examples.d.ts.map +1 -1
  383. package/dist/test/studio/studio.examples.js +11 -11
  384. package/dist/test/studio/studio.examples.js.map +1 -1
  385. package/package.json +12 -9
@@ -0,0 +1,542 @@
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
+ * `Sheet` — the planning spreadsheet (`libs/east-ui/docs/proposals/Sheet
7
+ * Spec.md`): a sheet whose rows are the host's records, whose columns are
8
+ * TYPED (a date, a quantity with a unit, a register lookup, a directed link
9
+ * between register members, a stamped read-only code), whose blank tail
10
+ * invites the next row, and whose copilot fills cells and proposes whole
11
+ * rows from rules the author writes as East functions.
12
+ *
13
+ * The module is the namespace assembler over the split sources:
14
+ * `types.ts` (the closed wire types + the typed constructors) ·
15
+ * `columns.ts` (`Sheet.column.*`) · `registers.ts` (`Sheet.register.*`,
16
+ * `Sheet.driver`) · `link.ts` (`Sheet.link.*`) · `group.ts` (`Sheet.group`,
17
+ * `Sheet.group.cell.*`) · `sub-rows.ts` (`Sheet.subRows` / `Sheet.subRow`) ·
18
+ * `transactions.ts` and `drafts.ts` (the Sheet's names for the shared editing
19
+ * contract, `contracts/editing.ts` #879 — `Sheet.apply`, the checked batch
20
+ * types, the draft entry types and the `onPatch` event — plus the new-row
21
+ * contexts only a sheet has) · `edits.ts` (the `edits` capabilities) ·
22
+ * `bridge.ts` (the typed bridge) · `context-bridge.ts`, `draft-bridge.ts` and
23
+ * `seed-bridge.ts` (draft-aware contexts, draft decoding and the `newRow` /
24
+ * `newGroup` defaults) · `editing-bridge.ts` and `editing-types.ts` (the
25
+ * editing session's callbacks and their closed transport, the inline
26
+ * `onUpdate` adapter among them) · `root.ts` (the grid's root) · `sheet.ts`
27
+ * (`<Sheet>` itself, its payload and its `Sheet` carrier, #1216) with
28
+ * `record.ts` (a record's rows, #1182), `templates.ts` (the Rows tab's
29
+ * cards), `library.ts` (`Sheet.library.*`, the library pane's tabs, #1186),
30
+ * `fields.ts` (`Sheet.field`, the inspector pane's forms, #1188) and
31
+ * `views.ts` (the views' bind handle).
32
+ *
33
+ * `Sheet` is the tag and the namespace at once, as east-ui's `Table` is: one
34
+ * namespace object per category on it, the `Plan.series` / `Plan.at` /
35
+ * `Plan.Types` split, so categories never mix as they grow.
36
+ *
37
+ * @packageDocumentation
38
+ */
39
+ import { type ExprType, type StructType } from "@elaraai/east";
40
+ import { SheetMemberType, SheetLinkType, SheetCellType, SheetRowType, SheetLineType, SheetBandType, SheetGroupCellType, SheetGroupType, SheetRowsCollectionType, SheetRowsType, SheetRegisterMemberType, SheetRegisterType, SheetDriverType, SheetHalfType, SheetSidesValueType, SheetStoreType, SheetMemberKindType, SheetMultipleType, SheetSideLockType, SheetSidesType, SheetCountedType, SheetContextType, SheetFillType, SheetProposalType, SheetProviderType, SheetProposerType, SheetSuggestType, SheetCheckContextType, SheetCheckType, SheetArityType, SheetColumnKindType, SheetColumnType, SheetViewType, SheetRecordViewType, SheetEditType, SheetSelectionType, SheetFooterItemType, SheetStyleType, SheetRootType, SheetFillTypeFor, SheetPatchTypeFor, SheetProposalTypeFor, SheetFacetType, SheetSubRowType, SheetDateLevelType, SheetOptionsRuleType, SheetNounType, sheetContextType, sheetCheckContextType, type SheetPatchInput, type SheetPatchOf } from "./types.js";
41
+ import { text, date, quantity, integer, lookup, reference, enumColumn, set, link, stamped, custom } from "./columns.js";
42
+ import { createMembers, concatMembers, createDriver } from "./registers.js";
43
+ import { createArity, check, parseLink, printLink, SheetMembersType, SheetRegisterMembersType } from "./link.js";
44
+ import { createSheetRoot } from "./root.js";
45
+ import { SheetComponent, createSheetPayload, type SheetTagType } from "./sheet.js";
46
+ import { libraryColumns, libraryRows, libraryTab } from "./library.js";
47
+ import { SheetField } from "./fields.js";
48
+ import { createSubRows, createSubRow } from "./sub-rows.js";
49
+ import { createGroup, text as groupText, date as groupDate, quantity as groupQuantity, integer as groupInteger, reference as groupReference, enumCell as groupEnum, stamped as groupStamped } from "./group.js";
50
+ import { applySheet, SheetPositionType, SheetEntryPlacementType, SheetRowDestinationType, SheetFieldIssueType, SheetReadinessType, SheetIssueType, SheetBatchReadinessType, SheetOriginType, SheetApplyResultType, SheetNewRowType, SheetNewGroupType, SheetDraftTypeFor, SheetBaseTypeFor, SheetChangeTypeFor, SheetChangeSetTypeFor, SheetAppliedTypeFor } from "./transactions.js";
51
+ export * from "./transactions.js";
52
+ import { SheetEntryTypeFor, SheetDraftGroupTypeFor, SheetDraftEntryTypeFor, SheetDraftChangeTypeFor, SheetPatchEventTypeFor } from "./drafts.js";
53
+ export * from "./drafts.js";
54
+ export * from "./editing-types.js";
55
+ export { SheetMemberType, SheetLinkType, SheetCellType, SheetRowType, SheetLineType, SheetBandType, SheetFacetType, SheetSubRowType, SheetDateLevelType, type SheetDateLevelLiteral, SheetOptionsRuleType, SheetNounType, SHEET_TITLE_CELL, sheetRuleCell, SheetGroupCellType, SheetGroupType, SheetRowsCollectionType, SheetRowsType, SheetRegisterMemberType, SheetRegisterType, SheetDriverType, SheetHalfType, type SheetHalfLiteral, SheetSidesValueType, type SheetSidesLiteral, SheetStoreType, type SheetStoreLiteral, SheetMemberKindType, SheetMultipleType, SheetSideLockType, SheetSidesType, SheetCountedType, SheetContextType, SheetFillType, SheetProposalType, SheetProviderType, SheetProposerType, SheetSuggestType, SheetCheckContextType, SheetCheckType, SheetArityType, SheetColumnKindType, type SheetColumnKindLiteral, SheetColumnType, SheetViewType, SheetRecordViewType, SheetEditType, SheetSelectionType, SheetFooterItemType, SheetStyleType, SheetRootType, SheetContextTypeFor, SheetFillTypeFor, SheetPatchTypeFor, SheetProposalTypeFor, SheetCheckContextTypeFor, SheetGroupContextTypeFor, SheetGroupCheckContextTypeFor, sheetContextType, sheetCheckContextType, sheetLinesOf, type SheetContextOf, type SheetFillOf, type SheetPatchOf, type SheetProposalOf, type SheetCheckContextOf, type SheetGroupContextOf, type SheetGroupCheckContextOf, type SheetAnyContextOf, type SheetAnyCheckContextOf, type SheetLinesField, type SheetLineOf, type SheetEntryOf, type SheetPatchInput, type SheetFieldsOf, } from "./types.js";
56
+ export { type SheetColumn, type SheetColumnSpec, type SheetFieldKey, type SheetMemberArrayField, type SheetFillInput, type SheetOptionsInput, type SheetColumnBaseConfig, type SheetValueConfig, type SheetTextConfig, type SheetDateConfig, type SheetQuantityConfig, type SheetIntegerConfig, type SheetLookupConfig, type SheetReferenceConfig, type SheetEnumConfig, type SheetMemberKindInput, type SheetMultipleInput, type SheetSetConfig, type SheetSidesInput, type SheetLinkConfig, type SheetStampedConfig, type SheetCustomConfig, } from "./columns.js";
57
+ export { type SheetRegisterValue, type SheetMembersConfig, type SheetDriverConfig, type SheetDriverValue, } from "./registers.js";
58
+ export { type SheetArityInput, type SheetCheckInput, type SheetExistsCheck, type SheetLocksInput, SheetMembersType, SheetRegisterMembersType, printMember, linkKeys, } from "./link.js";
59
+ export { type SheetOptions, type SheetReadyInput, type SheetGroupedOptions, type SheetEntriesOptions, type SheetSuggestInput, type SheetProposerInput, type SheetStringField, type SheetBindHandle, createSheetRoot, } from "./root.js";
60
+ export { SheetTag, SheetComponent, SheetPayloadType, SheetInspectorType, SheetInspectorPaneType, SheetHistoryType, createSheetPayload, buildInspector, buildInspectorPane, sheetKeys, type SheetTagType, type SheetRecordHandle, type SheetEntryRows, type SheetLooseEntryRows, type SheetEntriesField, type SheetCommon, } from "./sheet.js";
61
+ export { SheetTemplateWireType, type SheetTemplate, type SheetTemplatesInput } from "./templates.js";
62
+ export { SheetLibraryCardType, SheetLibraryDropType, SheetLibraryTabType, type SheetLibraryTab, type SheetLibraryTabConfig, } from "./library.js";
63
+ export { SheetFieldType, SheetFormType, SheetFormsType } from "./fields.js";
64
+ export { type SheetGroupCell, type SheetGroupConfig, type SheetGroupValue, type SheetGroupCellBaseConfig, type SheetGroupValueConfig, type SheetGroupDateConfig, type SheetGroupQuantityConfig, type SheetGroupStampedConfig, type SheetFieldOf, createGroup, } from "./group.js";
65
+ export { type SheetArrayField, type SheetElementOf, type SheetSubRowSources, type SheetSubRowsValue, type SheetSubRowInput, createSubRows, createSubRow, } from "./sub-rows.js";
66
+ export { type SheetColumnMeta, type SheetRuleCellMeta, describeColumn, describeGroupCell, optionPayload, cellTagOf } from "./bridge.js";
67
+ /**
68
+ * Builds a row patch — `Sheet.patch(R, { … })`: the fields it sets, every
69
+ * other field `none`. A proposer returns patches as its proposed rows
70
+ * (§3.6), and `newRow` / `newGroup` return one as a new row's explicit
71
+ * defaults, including required fields no column shows — a field it leaves
72
+ * `none` starts missing. Takes the literal-record form of `R`'s fields, each
73
+ * a literal or an expression of the FIELD's type.
74
+ *
75
+ * @typeParam R - The host's row type
76
+ * @param rowType - The row type value
77
+ * @param record - The fields to set
78
+ * @returns An expression of `Sheet.Types.Patch(R)`
79
+ *
80
+ * @example
81
+ * ```tsx
82
+ * // .tsx file with the `@jsxImportSource @elaraai/e3-ui` pragma
83
+ * import { ArrayType, DictType, East, FloatType, IntegerType, OptionType, StringType, StructType, VariantType, none, some, variant } from "@elaraai/east";
84
+ * import { Box, Reactive, UIComponentType } from "@elaraai/east-ui";
85
+ * import { Record, Sheet } from "@elaraai/e3-ui";
86
+ * import e3 from "@elaraai/e3";
87
+ *
88
+ * export const BatchPart = StructType({ id: StringType, code: StringType, name: StringType, materials: ArrayType(StringType), station: OptionType(StringType) });
89
+ * export const BatchBooking = VariantType({
90
+ * labour: StructType({ team: StringType, people: IntegerType, hours: FloatType }),
91
+ * equipment: StructType({ resource: StringType }),
92
+ * });
93
+ * export const BatchStep = StructType({ task: StringType, qty: OptionType(FloatType), parts: ArrayType(BatchPart), bookings: ArrayType(BatchBooking) });
94
+ * export const Batch = StructType({ id: StringType, name: StringType, steps: ArrayType(BatchStep) });
95
+ * export const BatchDay = StructType({ batches: ArrayType(Batch) });
96
+ * export const sheetBatchDays = e3.record("sheet_batch_days", DictType(StringType, BatchDay), new Map([
97
+ * ["2026-10-12", { batches: [
98
+ * { id: "B-101", name: "Doors, oak", steps: [
99
+ * { task: "Cut doors", qty: some(12.0), parts: [
100
+ * { id: "B-101-1", code: "CUT", name: "Cut the door blanks", materials: ["Oak veneered board × 6"], station: some("S101") },
101
+ * ], bookings: [variant("labour", { team: "Cutting", people: 1n, hours: 3.0 })] },
102
+ * { task: "Band doors", qty: some(48.0), parts: [], bookings: [variant("equipment", { resource: "Edge bander E201" })] },
103
+ * { task: "Spray doors", qty: some(12.0), parts: [
104
+ * { id: "B-101-3", code: "SPR", name: "Seal and lacquer", materials: ["Sealer", "Matt lacquer"], station: none },
105
+ * ], bookings: [] },
106
+ * ] },
107
+ * { id: "B-102", name: "Carcasses, birch", steps: [
108
+ * { task: "Cut carcasses", qty: some(8.0), parts: [], bookings: [] },
109
+ * { task: "Drill carcasses", qty: some(8.0), parts: [], bookings: [variant("labour", { team: "Machining", people: 2n, hours: 2.5 })] },
110
+ * ] },
111
+ * { id: "B-103", name: "Shelves, ash", steps: [
112
+ * { task: "Cut shelves", qty: some(20.0), parts: [], bookings: [] },
113
+ * { task: "Sand shelves", qty: some(20.0), parts: [], bookings: [] },
114
+ * ] },
115
+ * ] }],
116
+ * ]));
117
+ * export const sheetBatchDaysPatch = e3.mutation.patch(sheetBatchDays);
118
+ *
119
+ * const sheet = East.function([], UIComponentType, (_$) => (
120
+ * <Reactive>{$ => {
121
+ * const days = $.let(Record.bind(sheetBatchDays, [sheetBatchDaysPatch]));
122
+ * // The steps a finishing batch starts with: the batch template's lines.
123
+ * const finishing = $.let([
124
+ * { task: "Sand", qty: none, parts: [], bookings: [] },
125
+ * { task: "Seal", qty: none, parts: [], bookings: [] },
126
+ * { task: "Spray", qty: none, parts: [], bookings: [] },
127
+ * ], ArrayType(BatchStep));
128
+ * // A batch needs a name before Save.
129
+ * const readyBatch = $.const(East.function([Sheet.Types.DraftGroup(Batch, "steps")], Sheet.Types.Readiness, ($, batch) => {
130
+ * $.if(batch.name.hasTag("value").and(() => batch.name.unwrap("value").length().equal(0n)), $ => {
131
+ * $.return(East.value(variant("incomplete", [{ field: "name", message: "Name the batch" }]), Sheet.Types.Readiness));
132
+ * });
133
+ * return East.value(variant("ready", null), Sheet.Types.Readiness);
134
+ * }));
135
+ * const newStep = $.const(East.function([Sheet.Types.NewRow], Sheet.Types.Patch(BatchStep), () => Sheet.patch(BatchStep, { qty: none, parts: [], bookings: [] })));
136
+ * const newBatch = $.const(East.function([Sheet.Types.NewGroup], Sheet.Types.Patch(Batch), () => Sheet.patch(Batch, { steps: [] })));
137
+ * return (
138
+ * <Box height="560px">
139
+ * <Sheet
140
+ * record={days}
141
+ * entry={{ key: "2026-10-12", rows: "batches", id: "id" }}
142
+ * group={Sheet.group(Batch, "steps", { title: "name", noun: { singular: "batch", plural: "batches" } })}
143
+ * name="batches"
144
+ * columns={{
145
+ * task: Sheet.column.text(BatchStep, { header: "Step", width: "240px" }),
146
+ * qty: Sheet.column.quantity(BatchStep, { header: "Qty", width: "96px" }),
147
+ * }}
148
+ * subRows={Sheet.subRows(BatchStep, {
149
+ * parts: (p) => Sheet.subRow({
150
+ * code: p.code,
151
+ * name: p.name,
152
+ * chips: p.materials,
153
+ * facets: { station: p.station }, // a none drops out
154
+ * id: p.id,
155
+ * }),
156
+ * bookings: (b) => b.match({
157
+ * labour: (_$2, l) => Sheet.subRow({ code: "LABOUR", name: East.str`${l.team} · ${l.people} people · ${l.hours} hours` }),
158
+ * equipment: (_$2, e) => Sheet.subRow({ code: "EQUIPMENT", name: e.resource }),
159
+ * }),
160
+ * })}
161
+ * // The sub rows show a step's parts and bookings; the inspector's form leaves them out.
162
+ * inspector
163
+ * fields={{ parts: Sheet.field.hidden(), bookings: Sheet.field.hidden() }}
164
+ * templates={{
165
+ * groups: [{ key: "finishing", name: "Finishing batch", group: "Batches",
166
+ * values: Sheet.patch(Batch, { name: "Finishing", steps: finishing }) }],
167
+ * rows: [{ key: "sand", name: "Sand", group: "Steps", values: Sheet.patch(BatchStep, { task: "Sand", qty: none }) },
168
+ * { key: "seal", name: "Seal", group: "Steps", values: Sheet.patch(BatchStep, { task: "Seal", qty: none }) }],
169
+ * }}
170
+ * library={[Sheet.library.rows(), Sheet.library.columns()]}
171
+ * ready={{ group: readyBatch }}
172
+ * newRow={newStep}
173
+ * newGroup={newBatch}
174
+ * />
175
+ * </Box>
176
+ * );
177
+ * }}</Reactive>
178
+ * ));
179
+ * ```
180
+ */
181
+ export declare function createPatch<R extends StructType>(rowType: R, record: SheetPatchInput<R>): ExprType<SheetPatchOf<R>>;
182
+ /**
183
+ * The type of `Sheet`: the `<Sheet>` tag — every form its props take — and
184
+ * its namespace. Declared explicitly (rather than inferred from `as const`)
185
+ * so the declaration emit stays within TypeScript's serialization limit.
186
+ */
187
+ export interface SheetNamespace extends SheetTagType {
188
+ /** The column builders — each takes the row type first (§3.2). */
189
+ column: {
190
+ /** Free text. */
191
+ text: typeof text;
192
+ /** A UTC-midnight date with the B§3 grammar. */
193
+ date: typeof date;
194
+ /** A float with a unit per driver member. */
195
+ quantity: typeof quantity;
196
+ /** A whole number. */
197
+ integer: typeof integer;
198
+ /** The driver column — scored candidates from the driver's register. */
199
+ lookup: typeof lookup;
200
+ /** A lookup over a flat member list. */
201
+ reference: typeof reference;
202
+ /** An upper-cased register word with a valence dot. */
203
+ enum: typeof enumColumn;
204
+ /** Comma members — the link grammar without an arrow. */
205
+ set: typeof set;
206
+ /** `from > to` — the split cell (§3.4). */
207
+ link: typeof link;
208
+ /** A read-only code an upstream system owns. */
209
+ stamped: typeof stamped;
210
+ /** An author parse / print pair over the field's payload (§3.9). */
211
+ custom: typeof custom;
212
+ };
213
+ /** Registers — the grammar's vocabulary, projected from the host's rows (§3.3). */
214
+ register: {
215
+ /** Members from rows through accessors, reified once; duplicates fold by key. */
216
+ members: typeof createMembers;
217
+ /** Joins member sets of different kinds into one register. */
218
+ concat: typeof concatMembers;
219
+ };
220
+ /** The driver declaration — the `lookup` column whose member decides what the row does. */
221
+ driver: typeof createDriver;
222
+ /** The link value's helpers (§3.4). */
223
+ link: {
224
+ /** A link column's arity rule. */
225
+ arity: typeof createArity;
226
+ /** The built-in member checks (`exists`). */
227
+ check: typeof check;
228
+ /** The grammar's parse — text and a register's members to a link value. */
229
+ parse: typeof parseLink;
230
+ /** The grammar's print — a link value to the planner's text. */
231
+ print: typeof printLink;
232
+ };
233
+ /** A row patch — the fields a proposal or a new row's defaults set (§3.6). */
234
+ patch: typeof createPatch;
235
+ /** The library pane's tabs, listed in order by `<Sheet library={[…]}>` (#1186). */
236
+ library: {
237
+ /** The Rows tab: the templates, by their group. */
238
+ rows: typeof libraryRows;
239
+ /** The Columns tab: the columns, each with an eye. */
240
+ columns: typeof libraryColumns;
241
+ /** A tab of the author's own cards, read as a register's members are, each dropping the `Sheet.patch` its `drop` returns. */
242
+ tab: typeof libraryTab;
243
+ };
244
+ /** The inspector pane's hints — `Fields`' own (#1147, #1188): `<Sheet inspector fields={{ created_by: Sheet.field.readonly() }}>`. */
245
+ field: typeof SheetField;
246
+ /** Sub rows (#844) — `Sheet.subRows(R, { field: (item, row) => Sheet.subRow({ … }) })`, keyed by `R`'s array fields. */
247
+ subRows: typeof createSubRows;
248
+ /** One sub row — `Sheet.subRow({ code?, name, chips?, facets?, id? })`. */
249
+ subRow: typeof createSubRow;
250
+ /** Applies a checked entry batch atomically to a collection — the shared `Editing.apply` (#879). */
251
+ apply: typeof applySheet;
252
+ /**
253
+ * Grouped rows (#740) — `Sheet.group(P, "lines", { title, sub?, cells?, folded?, noun? })`
254
+ * declares the group's lines field (an `Array` of line structs) and its
255
+ * band; `Sheet.group.cell.*` builds the band's cells over the group's
256
+ * fields. Over `Types.Entry(P, "lines")` entries, rows of the line type
257
+ * stand between the groups as loose rows (#846).
258
+ */
259
+ group: typeof createGroup & {
260
+ /** The band cell builders — each takes the group's row type first. */
261
+ cell: {
262
+ /** Free text. */
263
+ text: typeof groupText;
264
+ /** A UTC-midnight date. */
265
+ date: typeof groupDate;
266
+ /** A float — no unit on a band. */
267
+ quantity: typeof groupQuantity;
268
+ /** A whole number. */
269
+ integer: typeof groupInteger;
270
+ /** A lookup over a flat member list. */
271
+ reference: typeof groupReference;
272
+ /** An upper-cased register word with a valence dot. */
273
+ enum: typeof groupEnum;
274
+ /** A read-only code an upstream system owns. */
275
+ stamped: typeof groupStamped;
276
+ };
277
+ };
278
+ /**
279
+ * The Sheet East types — the closed wire types and the typed constructors.
280
+ * The transaction and draft types (`Entry`, `DraftGroup`, `DraftEntry`,
281
+ * `DraftChange`, `PatchEvent`, `Position`, `EntryPlacement`, `FieldIssue`,
282
+ * `Readiness`, `Issue`, `BatchReadiness`, `Origin`, `ApplyResult`, `Draft`,
283
+ * `Base`, `Change`, `ChangeSet`, `Applied`) are the shared editing
284
+ * contract's — each the same value as its `Editing.Types` name (#879).
285
+ */
286
+ Types: {
287
+ /** `Entry(G, "rows")` — the group-or-row union of a source holding groups beside ungrouped rows: as a sheet's `data`, loose rows between the groups (#846) ({@link SheetEntryTypeFor}). */
288
+ Entry: typeof SheetEntryTypeFor;
289
+ /** DraftGroup type for source-bound editing. */
290
+ DraftGroup: typeof SheetDraftGroupTypeFor;
291
+ /** DraftEntry type for source-bound editing. */
292
+ DraftEntry: typeof SheetDraftEntryTypeFor;
293
+ /** DraftChange type for source-bound editing. */
294
+ DraftChange: typeof SheetDraftChangeTypeFor;
295
+ /** PatchEvent type for source-bound editing. */
296
+ PatchEvent: typeof SheetPatchEventTypeFor;
297
+ /** Position contract for checked Sheet transactions. */
298
+ Position: typeof SheetPositionType;
299
+ /** EntryPlacement contract for checked Sheet transactions. */
300
+ EntryPlacement: typeof SheetEntryPlacementType;
301
+ /** RowDestination contract for checked Sheet transactions. */
302
+ RowDestination: typeof SheetRowDestinationType;
303
+ /** FieldIssue contract for checked Sheet transactions. */
304
+ FieldIssue: typeof SheetFieldIssueType;
305
+ /** Readiness contract for checked Sheet transactions. */
306
+ Readiness: typeof SheetReadinessType;
307
+ /** Issue contract for checked Sheet transactions. */
308
+ Issue: typeof SheetIssueType;
309
+ /** BatchReadiness contract for checked Sheet transactions. */
310
+ BatchReadiness: typeof SheetBatchReadinessType;
311
+ /** Origin contract for checked Sheet transactions. */
312
+ Origin: typeof SheetOriginType;
313
+ /** ApplyResult contract for checked Sheet transactions. */
314
+ ApplyResult: typeof SheetApplyResultType;
315
+ /** NewRow contract for checked Sheet transactions. */
316
+ NewRow: typeof SheetNewRowType;
317
+ /** NewGroup contract for checked Sheet transactions. */
318
+ NewGroup: typeof SheetNewGroupType;
319
+ /** Draft contract for checked Sheet transactions. */
320
+ Draft: typeof SheetDraftTypeFor;
321
+ /** Base contract for checked Sheet transactions. */
322
+ Base: typeof SheetBaseTypeFor;
323
+ /** Change contract for checked Sheet transactions. */
324
+ Change: typeof SheetChangeTypeFor;
325
+ /** ChangeSet contract for checked Sheet transactions. */
326
+ ChangeSet: typeof SheetChangeSetTypeFor;
327
+ /** Applied contract for checked Sheet transactions. */
328
+ Applied: typeof SheetAppliedTypeFor;
329
+ /** The Sheet root IR ({@link SheetRootType}). */
330
+ Root: typeof SheetRootType;
331
+ /** One wire row — id, `owned`, one cell per declared column, and on a grouped sheet its lines and band ({@link SheetRowType}). */
332
+ Row: typeof SheetRowType;
333
+ /** One line of a group row on the wire ({@link SheetLineType}). */
334
+ Line: typeof SheetLineType;
335
+ /** One sub row — a lead, a detail and an id ({@link SheetSubRowType}). */
336
+ SubRow: typeof SheetSubRowType;
337
+ /** One labelled fact of a sub row's detail ({@link SheetFacetType}). */
338
+ Facet: typeof SheetFacetType;
339
+ /** How deep a date column reads a row's date ({@link SheetDateLevelType}). */
340
+ DateLevel: typeof SheetDateLevelType;
341
+ /** A column's options rule on the wire ({@link SheetOptionsRuleType}). */
342
+ OptionsRule: typeof SheetOptionsRuleType;
343
+ /** The word the renderer prints for a group ({@link SheetNounType}). */
344
+ Noun: typeof SheetNounType;
345
+ /** The band a group row draws ({@link SheetBandType}). */
346
+ Band: typeof SheetBandType;
347
+ /** The group declaration on the wire ({@link SheetGroupType}). */
348
+ Group: typeof SheetGroupType;
349
+ /** One band cell on the wire ({@link SheetGroupCellType}). */
350
+ GroupCell: typeof SheetGroupCellType;
351
+ /** The sheet's row collection ({@link SheetRowsCollectionType}). */
352
+ Rows: typeof SheetRowsCollectionType;
353
+ /** How the rows arrive — inline or paged ({@link SheetRowsType}). */
354
+ RowSource: typeof SheetRowsType;
355
+ /** One cell — the literal cell plus the typed link ({@link SheetCellType}). */
356
+ Cell: typeof SheetCellType;
357
+ /** The typed link value — `{ from, to }` member lists ({@link SheetLinkType}). */
358
+ Link: typeof SheetLinkType;
359
+ /** One link member ({@link SheetMemberType}). */
360
+ Member: typeof SheetMemberType;
361
+ /** A list of link members. */
362
+ Members: typeof SheetMembersType;
363
+ /** A count of a countable member ({@link SheetCountedType}). */
364
+ Counted: typeof SheetCountedType;
365
+ /** Which halves a driver member makes live ({@link SheetSidesValueType}). */
366
+ Sides: typeof SheetSidesValueType;
367
+ /** One half of a link ({@link SheetHalfType}). */
368
+ Half: typeof SheetHalfType;
369
+ /** How a `String`-backed link writes back ({@link SheetStoreType}). */
370
+ Store: typeof SheetStoreType;
371
+ /** One register member ({@link SheetRegisterMemberType}). */
372
+ RegisterMember: typeof SheetRegisterMemberType;
373
+ /** A list of register members — what `Sheet.link.parse` resolves against. */
374
+ RegisterMembers: typeof SheetRegisterMembersType;
375
+ /** One register ({@link SheetRegisterType}). */
376
+ Register: typeof SheetRegisterType;
377
+ /** The driver ({@link SheetDriverType}). */
378
+ Driver: typeof SheetDriverType;
379
+ /** One member kind a link column accepts ({@link SheetMemberKindType}). */
380
+ MemberKind: typeof SheetMemberKindType;
381
+ /** The counted-member grammar ({@link SheetMultipleType}). */
382
+ Multiple: typeof SheetMultipleType;
383
+ /** One lock rule ({@link SheetSideLockType}). */
384
+ SideLock: typeof SheetSideLockType;
385
+ /** A link column's applied sides declaration ({@link SheetSidesType}). */
386
+ SidesDeclaration: typeof SheetSidesType;
387
+ /** One declared column ({@link SheetColumnType}). */
388
+ Column: typeof SheetColumnType;
389
+ /** The column kind ({@link SheetColumnKindType}). */
390
+ ColumnKind: typeof SheetColumnKindType;
391
+ /** The WIRE copilot context ({@link SheetContextType}); authors use `Context(R, D)`. */
392
+ WireContext: typeof SheetContextType;
393
+ /** The WIRE fill ({@link SheetFillType}); authors use `Fill(T)`. */
394
+ WireFill: typeof SheetFillType;
395
+ /** The WIRE proposal ({@link SheetProposalType}); authors use `Proposal(R)`. */
396
+ WireProposal: typeof SheetProposalType;
397
+ /** A fill provider on the wire — sync or async ({@link SheetProviderType}). */
398
+ Provider: typeof SheetProviderType;
399
+ /** A row proposer on the wire ({@link SheetProposerType}). */
400
+ Proposer: typeof SheetProposerType;
401
+ /** The row-proposal declaration ({@link SheetSuggestType}). */
402
+ Suggest: typeof SheetSuggestType;
403
+ /** The WIRE check context ({@link SheetCheckContextType}); authors use `CheckContext(R)`. */
404
+ WireCheckContext: typeof SheetCheckContextType;
405
+ /** One member check ({@link SheetCheckType}). */
406
+ Check: typeof SheetCheckType;
407
+ /** A link column's arity rule on the wire ({@link SheetArityType}). */
408
+ Arity: typeof SheetArityType;
409
+ /** One saved view ({@link SheetViewType}). */
410
+ View: typeof SheetViewType;
411
+ /** One saved indexed-record view. */
412
+ RecordView: typeof SheetRecordViewType;
413
+ /** The WIRE edit event ({@link SheetEditType}); internal gesture transport. */
414
+ WireEdit: typeof SheetEditType;
415
+ /** The selection ring's position ({@link SheetSelectionType}). */
416
+ Selection: typeof SheetSelectionType;
417
+ /** One footer item ({@link SheetFooterItemType}). */
418
+ FooterItem: typeof SheetFooterItemType;
419
+ /** The Sheet style ({@link SheetStyleType}). */
420
+ Style: typeof SheetStyleType;
421
+ /** `Context(R, D)` — the copilot context typed over the host's row and the driver's; `Context(P, "lines", D)` on a grouped sheet ({@link SheetContextTypeFor}, {@link SheetGroupContextTypeFor}). */
422
+ Context: typeof sheetContextType;
423
+ /** Constructs the draft-aware row, neighbours, group and driver context. */
424
+ DraftContext: typeof sheetContextType;
425
+ /** `Fill(T)` — a proposed value of a column's payload ({@link SheetFillTypeFor}). */
426
+ Fill: typeof SheetFillTypeFor;
427
+ /** `Patch(R)` — a row patch, every field an `Option` ({@link SheetPatchTypeFor}). */
428
+ Patch: typeof SheetPatchTypeFor;
429
+ /** `Proposal(R)` — a patch plus its provenance ({@link SheetProposalTypeFor}). */
430
+ Proposal: typeof SheetProposalTypeFor;
431
+ /** `CheckContext(R)` — what an author's member check sees; `CheckContext(P, "lines")` on a grouped sheet ({@link SheetCheckContextTypeFor}, {@link SheetGroupCheckContextTypeFor}). */
432
+ CheckContext: typeof sheetCheckContextType;
433
+ };
434
+ }
435
+ /**
436
+ * The planning spreadsheet, `<Sheet>`: the one Sheet. It renders in its
437
+ * `BuilderFrame` wherever it is used — one toolbar holding every control the
438
+ * sheet has, the banners, the grid in main with its strip docked under it,
439
+ * the footer — and its panes are optional props: no prop, no pane.
440
+ *
441
+ * @remarks
442
+ * - **The rows** are `record`'s — its entries, in key order, each row's id
443
+ * its key's text (`window` reads a large one a window at a time); or with
444
+ * `entry`, one entry's Array field, in its own order, identified by
445
+ * `entry.id` — its rows, its groups, or its groups with loose rows between
446
+ * them (`Sheet.Types.Entry(P, "lines")`, #846). Or they are `data`'s: an
447
+ * `Array<R>`, a bind handle or a paged source, identified by `id`.
448
+ * - **Every gesture is a draft** of the shared editing session, which the
449
+ * history item in the one toolbar undoes, redoes and discards. Over a
450
+ * record, Save commits the drafts as one patch through the record's patch
451
+ * mutation, checked against what each row was when the edit began; over
452
+ * `data`, it hands the checked batch to `onApply` (or `onUpdate` rebuilds
453
+ * the collection), and with neither the sheet is read only.
454
+ * - **The library pane** (`library`) lists its tabs, in order:
455
+ * `Sheet.library.rows()` (the templates), `Sheet.library.columns()` (hide
456
+ * and show columns, per viewer) and `Sheet.library.tab(data, { … })`, the
457
+ * author's own cards, whose `drop` is the `Sheet.patch` a dropped card sets.
458
+ * - **The inspector pane** (`inspector`) shows the selected row's every
459
+ * field — a field with a column through its column's kind, any other by its
460
+ * type, hinted with `fields={{ created_by: Sheet.field.readonly() }}` (and
461
+ * `groupFields` for a group's own) — and the batch's Issues; given a
462
+ * function `(row, update) => UIComponentType`, Details for a complete row
463
+ * are the author's own.
464
+ * - **Templates** (`templates={{ rows, groups }}`) are the Rows tab's cards,
465
+ * each `{ key, name, group?, values: Sheet.patch(…) }`: a dropped card is
466
+ * `newRow`'s (or `newGroup`'s) defaults with the template's fields over them.
467
+ * - **Views** (`views`) are a bind handle: `State.bind` keeps them per viewer,
468
+ * `Data.bind` shares them.
469
+ * - **The namespace**: the columns (`Sheet.column.*`, row type first),
470
+ * registers (`Sheet.register.members` / `.concat`) and the driver
471
+ * (`Sheet.driver`), link rules (`Sheet.link.*`), proposed rows and new-row
472
+ * defaults (`Sheet.patch`), the library's tabs (`Sheet.library.*`) and the
473
+ * inspector's hints (`Sheet.field.*`), groups (`Sheet.group`, #740), sub
474
+ * rows (`Sheet.subRows` / `Sheet.subRow`, #844), a checked batch applied to
475
+ * a collection (`Sheet.apply`), and every East type — the closed wire types
476
+ * and the typed constructors `DraftContext(R, D)` / `Fill(T)` / `Patch(R)`
477
+ * / `Proposal(R)` / `PatchEvent(E)` / `ChangeSet(E)` / `Entry(G, "rows")` /
478
+ * `CheckContext(R)` — via `Sheet.Types.*`.
479
+ *
480
+ * The sheet fills its parent and draws no border of its own: a ui task's
481
+ * page fills the window, and a sheet among other components is given a box
482
+ * of its own height. `name` keeps two sheets on one surface apart.
483
+ *
484
+ * @example
485
+ * ```tsx
486
+ * // .tsx file with the `@jsxImportSource @elaraai/e3-ui` pragma
487
+ * import { DateTimeType, DictType, East, FloatType, OptionType, StringType, StructType, none, some } from "@elaraai/east";
488
+ * import { Box, Reactive, UIComponentType } from "@elaraai/east-ui";
489
+ * import { Record, Sheet } from "@elaraai/e3-ui";
490
+ * import e3 from "@elaraai/e3";
491
+ *
492
+ * export const SheetJob = StructType({ task: StringType, start: OptionType(DateTimeType), qty: OptionType(FloatType) });
493
+ * export const sheetJobs = e3.record("sheet_jobs", DictType(StringType, SheetJob), new Map([
494
+ * ["J-0001", { task: "Panel cutting", start: some(new Date("2026-10-12T00:00:00Z")), qty: some(48.0) }],
495
+ * ["J-0002", { task: "Edge banding", start: some(new Date("2026-10-13T00:00:00Z")), qty: some(120.0) }],
496
+ * ["J-0003", { task: "CNC routing", start: none, qty: some(48.0) }],
497
+ * ["J-0004", { task: "Spray finish", start: none, qty: none }],
498
+ * ]));
499
+ * export const sheetJobsPatch = e3.mutation.patch(sheetJobs);
500
+ *
501
+ * const sheet = East.function([], UIComponentType, (_$) => (
502
+ * <Reactive>{$ => {
503
+ * const jobs = $.let(Record.bind(sheetJobs, [sheetJobsPatch]));
504
+ * return (
505
+ * <Box height="560px">
506
+ * <Sheet
507
+ * record={jobs}
508
+ * columns={{
509
+ * task: Sheet.column.text(SheetJob, { header: "Task", width: "240px" }),
510
+ * start: Sheet.column.date(SheetJob, { header: "Start", width: "96px" }),
511
+ * qty: Sheet.column.quantity(SheetJob, { header: "Qty", width: "96px" }),
512
+ * }}
513
+ * />
514
+ * </Box>
515
+ * );
516
+ * }}</Reactive>
517
+ * ));
518
+ * ```
519
+ */
520
+ export declare const Sheet: SheetNamespace;
521
+ /**
522
+ * The type of the internal Sheet namespace — the public one, the payload the
523
+ * tag returns through its carrier, the grid's root alone, and the carrier the
524
+ * renderer registers against.
525
+ */
526
+ export interface SheetInternalNamespace extends SheetNamespace {
527
+ /** Creates the sheet's payload alone — what `<Sheet>` returns through the `Sheet` carrier ({@link createSheetPayload}). */
528
+ Payload: typeof createSheetPayload;
529
+ /** Creates the grid's root alone — the rows, the columns and the session the payload carries as its `sheet` ({@link createSheetRoot}). */
530
+ Root: typeof createSheetRoot;
531
+ /** The `Sheet` carrier ({@link SheetComponent}). */
532
+ Component: typeof SheetComponent;
533
+ }
534
+ /**
535
+ * The internal Sheet namespace — `@elaraai/e3-ui/internal`'s `Sheet`: the
536
+ * public one, `Sheet.Payload`, `Sheet.Root` and the `Sheet` carrier, for the
537
+ * renderer and the tests.
538
+ *
539
+ * @internal
540
+ */
541
+ export declare const SheetInternal: SheetInternalNamespace;
542
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sheet/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,EAEH,KAAK,QAAQ,EAGb,KAAK,UAAU,EAGlB,MAAM,eAAe,CAAC;AAEvB,OAAO,EACH,eAAe,EACf,aAAa,EACb,aAAa,EACb,YAAY,EACZ,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,uBAAuB,EACvB,aAAa,EACb,uBAAuB,EACvB,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EACrB,KAAK,eAAe,EACpB,KA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