@elaraai/e3-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 (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,385 @@
1
+ /**
2
+ * Copyright (c) 2025 Elara AI Pty Ltd
3
+ * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
+ */
5
+ /**
6
+ * The typed bridge (`Sheet Spec.md` §4.8) — factory internals, both arms.
7
+ *
8
+ * Everything the author writes is typed over the host's row `R` and the
9
+ * driver's row `D`; everything on the wire is closed. This module joins the
10
+ * two with compiled East functions that capture only data, bind handles and
11
+ * the author's functions:
12
+ *
13
+ * - `projectRow` — `R` → the wire cells (the same projection the row source
14
+ * uses, so `encode` and `make` cannot disagree);
15
+ * - `rowById` — the REAL source row by id: the captured collection or bind
16
+ * handle on the inline arm, the source's `page` at the row's offset on the
17
+ * paged arm. Built ONCE per sheet and shared by every wrapper;
18
+ * - `draftDecode` — current cells over the existing field draft, preserving
19
+ * hidden values and retaining missing/invalid input without domain defaults;
20
+ * - `bridgeCtx` — the wire context to `Sheet.Types.DraftContext(R, D)`;
21
+ * - `bridgeReady` — a readiness batch to one `DraftContext` per check, its
22
+ * rows built once (#882);
23
+ * - the wrappers — a fill provider, a proposer, an arity rule, a member
24
+ * check, an options rule, a custom kind's parse / print — each the
25
+ * author's typed function inside its closed wire twin;
26
+ * - the rule cells and sub rows (#844) — a column's `level` / `actual` /
27
+ * `detail` accessors and the `subRows` mappers, each compiled once and
28
+ * called inside the row projection.
29
+ *
30
+ * On a GROUPED sheet (#740) the source row is the group `P` and the columns
31
+ * are declared over the line `L` its lines field holds: `projectRow` /
32
+ * `draftRow` / the patch run over `L`, `rowById` returns the group, and the
33
+ * group half of the bridge ({@link SheetGroupBridge}) projects the group's
34
+ * summary cells and ordered children. Internal child keys preserve identity
35
+ * during local editing; the author's child arrays remain positional. A
36
+ * source with LOOSE rows between its groups (#846) holds entries
37
+ * `Sheet.Types.Entry(P, "lines")`: `rowById` returns the entry, a draft is
38
+ * the entry's draft, and a loose row decodes as a row of `L` whose id is its
39
+ * own.
40
+ *
41
+ * The bridge is the one place a string ever names a field: inside the
42
+ * factory, against the column list it has already validated.
43
+ *
44
+ * @packageDocumentation
45
+ */
46
+ import { type EastType, type ExprType, type VariantType, ArrayType, AsyncFunctionType, BooleanType, DateTimeType, DictType, FloatType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType } from "@elaraai/east";
47
+ import { SheetCellType, SheetRowType, SheetLineType, SheetContextType, SheetReadyBatchType, SheetProviderType, SheetProposerType, SheetCheckType, SheetCountedType, SheetHalfType, SheetSubRowType, SheetOptionsRuleType, type SheetColumnKindLiteral } from "./types.js";
48
+ import type { SheetSubRowsValue } from "./sub-rows.js";
49
+ import { EMPTY_LINK } from "./link.js";
50
+ import { buildDraftRowDecoder } from "./draft-bridge.js";
51
+ import type { SheetAnyColumnConfig, SheetColumn } from "./columns.js";
52
+ import type { SheetGroupCell } from "./group.js";
53
+ import type { SheetDriverValue, SheetRegisterValue } from "./registers.js";
54
+ /** The wire cells dictionary type. */
55
+ export declare const SheetCellsType: DictType<StringType, VariantType<{
56
+ readonly Invalid: StringType;
57
+ readonly Null: NullType;
58
+ readonly Boolean: BooleanType;
59
+ readonly Integer: IntegerType;
60
+ readonly Float: FloatType;
61
+ readonly String: StringType;
62
+ readonly DateTime: DateTimeType;
63
+ readonly Link: StructType<{
64
+ readonly from: ArrayType<VariantType<{
65
+ readonly identified: StructType<{
66
+ readonly key: StringType;
67
+ }>;
68
+ readonly range: StructType<{
69
+ readonly from: StringType;
70
+ readonly to: StringType;
71
+ }>;
72
+ readonly counted: StructType<{
73
+ readonly n: IntegerType;
74
+ readonly key: StringType;
75
+ }>;
76
+ readonly placeholder: NullType;
77
+ readonly text: StringType;
78
+ }>>;
79
+ readonly to: ArrayType<VariantType<{
80
+ readonly identified: StructType<{
81
+ readonly key: StringType;
82
+ }>;
83
+ readonly range: StructType<{
84
+ readonly from: StringType;
85
+ readonly to: StringType;
86
+ }>;
87
+ readonly counted: StructType<{
88
+ readonly n: IntegerType;
89
+ readonly key: StringType;
90
+ }>;
91
+ readonly placeholder: NullType;
92
+ readonly text: StringType;
93
+ }>>;
94
+ }>;
95
+ }>>;
96
+ /** How a `set` / `link` column's halves live on the row (§3.4). */
97
+ export type SheetLinkForm = "link" | "array" | "string";
98
+ /**
99
+ * One UNRENDERED cell a column's rule projects (#844) — a date's `level` /
100
+ * `actual`, a column's `detail` — compiled once over the row type.
101
+ *
102
+ * @internal
103
+ */
104
+ export interface SheetRuleCellMeta {
105
+ /** The cell key ({@link sheetRuleCell}). */
106
+ key: string;
107
+ /** The reified accessor over the row. */
108
+ fn: ExprType<FunctionType<[StructType], EastType>>;
109
+ /** The cell arm the accessor's payload lands in. */
110
+ tag: "String" | "DateTime";
111
+ /** Whether the accessor returns an `Option` of the payload. */
112
+ optional: boolean;
113
+ }
114
+ /**
115
+ * One declared column, described against the row type — the static facts
116
+ * every East function below is built from.
117
+ *
118
+ * @internal
119
+ */
120
+ export interface SheetColumnMeta {
121
+ /** The column key — the row field it sits on (a band cell: the line column it sits under, or `$title`). */
122
+ key: string;
123
+ /** The row field the cell reads and writes — the key for a column, a band cell's `field`. */
124
+ field: string;
125
+ /** The column kind. */
126
+ kind: SheetColumnKindLiteral;
127
+ /** The author's config. */
128
+ config: SheetAnyColumnConfig;
129
+ /** The row field's static type. */
130
+ fieldType: EastType;
131
+ /** Whether the field is an `Option` of the payload. */
132
+ optional: boolean;
133
+ /** The kind's payload type. */
134
+ payloadType: EastType;
135
+ /** The cell arm the payload lands in. */
136
+ cellTag: "String" | "DateTime" | "Float" | "Integer" | "Boolean" | "Link";
137
+ /** Whether the sheet writes the column. */
138
+ editable: boolean;
139
+ /** A reified `value` projection — the column is a derived, read-only read. */
140
+ derived?: ExprType<FunctionType<[StructType], EastType>>;
141
+ /** Whether the derived projection returns an `Option` of the payload. */
142
+ derivedOptional?: boolean;
143
+ /** A `set` / `link` column's storage form. */
144
+ form?: SheetLinkForm;
145
+ /** For the `array` form: the half THIS field holds. */
146
+ ownHalf?: "from" | "to";
147
+ /** For a `link` column in the `array` form: the field holding the other half. */
148
+ otherField?: string;
149
+ /** The register the column resolves against. */
150
+ register?: string;
151
+ /** The driver's row type the column was built with. */
152
+ driverType?: StructType;
153
+ /** The unrendered cells the column's rules project (#844). */
154
+ ruleCells?: SheetRuleCellMeta[];
155
+ }
156
+ /** Whether a type is `Option<T>` — a variant of exactly `none: Null` and `some`. */
157
+ export declare function optionPayload(t: EastType): EastType | undefined;
158
+ /** The cell arm a primitive payload lands in, or `undefined` for a type no cell holds. */
159
+ export declare function cellTagOf(t: EastType): SheetColumnMeta["cellTag"] | undefined;
160
+ /**
161
+ * Describe one column against the row type — the build-time refusals of
162
+ * §3.12 live here, every one naming the column and the remedy.
163
+ *
164
+ * @param key - The column key
165
+ * @param col - The built column
166
+ * @param rowType - The host's row type
167
+ * @returns The column's metadata
168
+ * @throws Error naming the column when the kind cannot sit on the field
169
+ */
170
+ export declare function describeColumn(key: string, col: SheetColumn<StructType, EastType>, rowType: StructType): SheetColumnMeta;
171
+ /**
172
+ * Describe one band cell against the GROUP's row type (#740) — a column
173
+ * declared over the group's field, keyed by the line column it sits under.
174
+ *
175
+ * @param cellKey - The line column the cell sits under, or `$title`
176
+ * @param cell - The built band cell
177
+ * @param groupType - The group's row type
178
+ * @returns The cell's metadata
179
+ * @throws Error naming the band cell when the kind cannot sit on the field, or is not a band kind
180
+ */
181
+ export declare function describeGroupCell(cellKey: string, cell: SheetGroupCell<StructType>, groupType: StructType): SheetColumnMeta;
182
+ /** A payload value as a cell. */
183
+ export declare function cellOfPayload(tag: SheetColumnMeta["cellTag"], v: ExprType<EastType>): ExprType<SheetCellType>;
184
+ /** The blank cell. */
185
+ export declare const NULL_CELL: import("@elaraai/east").VariantExpr<{
186
+ readonly Invalid: StringType;
187
+ readonly Null: NullType;
188
+ readonly Boolean: BooleanType;
189
+ readonly Integer: IntegerType;
190
+ readonly Float: FloatType;
191
+ readonly String: StringType;
192
+ readonly DateTime: DateTimeType;
193
+ readonly Link: StructType<{
194
+ readonly from: ArrayType<VariantType<{
195
+ readonly identified: StructType<{
196
+ readonly key: StringType;
197
+ }>;
198
+ readonly range: StructType<{
199
+ readonly from: StringType;
200
+ readonly to: StringType;
201
+ }>;
202
+ readonly counted: StructType<{
203
+ readonly n: IntegerType;
204
+ readonly key: StringType;
205
+ }>;
206
+ readonly placeholder: NullType;
207
+ readonly text: StringType;
208
+ }>>;
209
+ readonly to: ArrayType<VariantType<{
210
+ readonly identified: StructType<{
211
+ readonly key: StringType;
212
+ }>;
213
+ readonly range: StructType<{
214
+ readonly from: StringType;
215
+ readonly to: StringType;
216
+ }>;
217
+ readonly counted: StructType<{
218
+ readonly n: IntegerType;
219
+ readonly key: StringType;
220
+ }>;
221
+ readonly placeholder: NullType;
222
+ readonly text: StringType;
223
+ }>>;
224
+ }>;
225
+ }>;
226
+ /**
227
+ * The resolved source the bridge reads real rows from: an inline Array, a
228
+ * record's whole Dict read in key order (#1182), or a paged source, its
229
+ * windows read by key when they are keyed. `keyType` is a keyed source's key.
230
+ */
231
+ export type SheetBridgeSource = {
232
+ kind: "inline";
233
+ rows: ExprType<ArrayType<StructType>>;
234
+ } | {
235
+ kind: "keyed";
236
+ rows: ExprType<DictType<EastType, EastType>>;
237
+ keyType: EastType;
238
+ } | {
239
+ kind: "paged";
240
+ source: ExprType<StructType>;
241
+ keyed: boolean;
242
+ keyType?: EastType | undefined;
243
+ };
244
+ /**
245
+ * The group half of a bridge (#740) — the group's summary cells and child rows on
246
+ * the wire.
247
+ *
248
+ * @internal
249
+ */
250
+ export interface SheetGroupBridge {
251
+ /** The field holding the lines — an `Array<L>`, a line addressed by its index. */
252
+ linesField: string;
253
+ /** The band's cells, the title first. */
254
+ cellMetas: SheetColumnMeta[];
255
+ /** `P` → the band's cells. */
256
+ projectGroupCells: ExprType<FunctionType<[StructType], typeof SheetCellsType>>;
257
+ /** `P` → its wire lines, in order, keyed by source identity. */
258
+ projectLines: ExprType<FunctionType<[StructType], ArrayType<SheetLineType>>>;
259
+ /** The group's row type `P` — the source row's, or on a source with loose rows its entries' group arm (#846). */
260
+ groupType: StructType;
261
+ /** Whether the source holds loose rows between its groups — entries `Sheet.Types.Entry(P, "lines")` (#846). */
262
+ loose: boolean;
263
+ /** A group's cells and lines over its `DraftGroup(P, "lines")` — the whole `draftDecode` without loose rows. */
264
+ decodeGroup: ExprType<FunctionType<[SheetRowType, OptionType<StructType>, OptionType<SheetRowType>], StructType>>;
265
+ /** A loose row's cells over its `Draft(L)`, its id field written from the row's id (#846). */
266
+ decodeLoose?: ReturnType<typeof buildDraftRowDecoder> | undefined;
267
+ }
268
+ /**
269
+ * The compiled bridge of one sheet — every wire function the root stores is
270
+ * built from these.
271
+ *
272
+ * @remarks
273
+ * `rowType` is the SOURCE row's type — the host's row on a flat sheet, the
274
+ * group's on a grouped one, the entry `Sheet.Types.Entry(P, "lines")` on one
275
+ * with loose rows (#846) — and `lineType` the type the columns are declared
276
+ * over: the same type on a flat sheet, the line type on a grouped one. The
277
+ * patch, the proposal, `projectRow` and `draftRow` run over `lineType`;
278
+ * `rowById` and the edit type over `rowType`.
279
+ *
280
+ * @internal
281
+ */
282
+ export interface SheetBridge {
283
+ /** The source row's type — the host's row, the group's, or an entry of groups and loose rows. */
284
+ rowType: EastType;
285
+ /** The type the columns are declared over — the row, or the line. */
286
+ lineType: StructType;
287
+ /** The driver's row type (`NullType` without a driver). */
288
+ driverType: EastType;
289
+ /** `Sheet.Types.DraftContext(R, D)` — or `Context(P, "lines", D)` on a grouped sheet. */
290
+ ctxType: StructType;
291
+ /** `Sheet.Types.CheckContext(R)` — or `CheckContext(P, "lines")`. */
292
+ checkCtxType: StructType;
293
+ /** `Sheet.Types.Patch(L)`. */
294
+ patchType: StructType;
295
+ /** `Sheet.Types.Proposal(L)`. */
296
+ proposalType: StructType;
297
+ /** Constructor defaults, including read-only cells. */
298
+ seedCells: SheetBridge["encodePatch"];
299
+ /** `L` → the wire cells. */
300
+ projectRow: ExprType<FunctionType<[StructType], typeof SheetCellsType>>;
301
+ /** `L` → its sub rows, sources in declaration order (#844; `[]` without `subRows`). */
302
+ projectSubRows: ExprType<FunctionType<[StructType], ArrayType<SheetSubRowType>>>;
303
+ /** Decode one row into its complete field draft. */
304
+ draftRow: ReturnType<typeof buildDraftRowDecoder>;
305
+ /** Decode edited cells into the source row's draft, preserving the previous child identities. */
306
+ draftDecode: ExprType<FunctionType<[SheetRowType, OptionType<EastType>, OptionType<SheetRowType>], EastType>>;
307
+ /** `(id, offset)` → the real source row. */
308
+ rowById: ExprType<FunctionType<[StringType, IntegerType], OptionType<EastType>>>;
309
+ /** The wire context → the typed context. */
310
+ bridgeCtx: ExprType<FunctionType<[SheetContextType], StructType>>;
311
+ /** A readiness batch → one typed context per check, over rows built once (#882). */
312
+ bridgeReady: ExprType<FunctionType<[typeof SheetReadyBatchType], ArrayType<StructType>>>;
313
+ /** `Sheet.Types.Patch(L)` → the set fields as cells. */
314
+ encodePatch: ExprType<FunctionType<[StructType], typeof SheetCellsType>>;
315
+ /** The group half — present on a grouped sheet. */
316
+ group?: SheetGroupBridge;
317
+ }
318
+ /** The group declaration the bridge needs from the root (#740). */
319
+ export interface SheetBridgeGroupInput {
320
+ /** The field holding the lines. */
321
+ linesField: string;
322
+ /** The band's cells, the title first. */
323
+ cellMetas: SheetColumnMeta[];
324
+ }
325
+ /** What the bridge needs from the root. */
326
+ export interface SheetBridgeInput {
327
+ /** The source row's type — a struct, or on a source with loose rows the entry variant (#846). */
328
+ rowType: EastType;
329
+ idField: string | undefined;
330
+ metas: SheetColumnMeta[];
331
+ registers: Record<string, SheetRegisterValue>;
332
+ driver: SheetDriverValue | undefined;
333
+ source: SheetBridgeSource;
334
+ group?: SheetBridgeGroupInput;
335
+ subRows?: SheetSubRowsValue<StructType>;
336
+ }
337
+ /**
338
+ * Compile the bridge for one sheet.
339
+ *
340
+ * @param input - The root's resolved declaration
341
+ * @returns The bridge
342
+ */
343
+ export declare function buildBridge(input: SheetBridgeInput): SheetBridge;
344
+ /** Project supplied constructor/proposal fields without inventing a complete row. @internal */
345
+ export declare function buildPatchCells(rowType: StructType, metas: readonly SheetColumnMeta[], registers: Record<string, SheetRegisterValue>, editableOnly?: boolean): SheetBridge["encodePatch"];
346
+ /**
347
+ * Compile the sub-row sources into one projection over the line type: each
348
+ * mapper is compiled ONCE as `East.function([L, T], SubRow)` and called in
349
+ * an eager map over its field; the sources concatenate in declaration order.
350
+ *
351
+ * @param lineType - The type the columns are built over
352
+ * @param subRows - The `subRows` declaration, if any
353
+ * @returns `L` → its sub rows
354
+ * @throws Error when the declaration was built over another type, or a key is not an array field
355
+ */
356
+ export declare function buildSubRowProjection(lineType: StructType, subRows: SheetSubRowsValue<StructType> | undefined): SheetBridge["projectSubRows"];
357
+ /** Whether an East function value is asynchronous. */
358
+ export declare function isAsyncFunction(fn: ExprType<EastType>): boolean;
359
+ /**
360
+ * Wrap a fill provider — `Sheet.Types.DraftContext(R, D)` → `Option<Fill(T)>` —
361
+ * into the wire provider variant (sync or async by the function's type).
362
+ */
363
+ export declare function wrapProvider(bridge: SheetBridge, meta: SheetColumnMeta, fn: unknown, index: number): ExprType<SheetProviderType>;
364
+ /**
365
+ * Wrap a row proposer — `Sheet.Types.DraftContext(R, D)` → `Array<Proposal(R)>` —
366
+ * into the wire proposer variant.
367
+ */
368
+ export declare function wrapProposer(bridge: SheetBridge, fn: unknown, index: number): ExprType<SheetProposerType>;
369
+ /** Wrap an arity rule — `Sheet.Types.DraftContext(R, D)` → `Option<Counted>`. */
370
+ export declare function wrapArity(bridge: SheetBridge, meta: SheetColumnMeta, fn: unknown): ExprType<FunctionType<[SheetContextType], OptionType<SheetCountedType>>>;
371
+ /**
372
+ * Wrap an options rule (#844) — `Sheet.Types.DraftContext(R, D)` →
373
+ * `Option<Array<String>>` — into the wire rule. Synchronous: the menu reads
374
+ * it as the cell opens.
375
+ */
376
+ export declare function wrapOptions(bridge: SheetBridge, meta: SheetColumnMeta, fn: unknown): ExprType<SheetOptionsRuleType>;
377
+ /** Wrap an author member check — `Sheet.Types.CheckContext(R)` → `Option<String>` — into the `custom` check arm. */
378
+ export declare function wrapCheck(bridge: SheetBridge, meta: SheetColumnMeta, fn: unknown, index: number): ExprType<SheetCheckType>;
379
+ /** Wrap a custom kind's `parse` — `(text, Context(R, D))` → `Option<P>` — into the wire parse. */
380
+ export declare function wrapCustomParse(bridge: SheetBridge, meta: SheetColumnMeta, fn: unknown): ExprType<FunctionType<[StringType, SheetContextType], OptionType<SheetCellType>>>;
381
+ /** Wrap a custom kind's `print` — `P` → `String` — into the wire print. */
382
+ export declare function wrapCustomPrint(meta: SheetColumnMeta, fn: unknown): ExprType<FunctionType<[SheetCellType], StringType>>;
383
+ /** Re-exported for the root's driver-typed refusals. */
384
+ export { SheetHalfType, BooleanType, AsyncFunctionType, EMPTY_LINK };
385
+ //# sourceMappingURL=bridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bridge.d.ts","sourceRoot":"","sources":["../../../src/sheet/bridge.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAEH,OAAO,EAEH,KAAK,QAAQ,EACb,KAAK,QAAQ,EAEb,KAAK,WAAW,EAGhB,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,UAAU,EACV,UAAU,EACV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