@elaraai/e3-ui 1.0.97 → 1.0.99

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 (491) hide show
  1. package/README.md +0 -2
  2. package/dist/src/allocation/adapters.d.ts +1 -1
  3. package/dist/src/allocation/adapters.js +1 -1
  4. package/dist/src/allocation/index.d.ts +232 -25
  5. package/dist/src/allocation/index.d.ts.map +1 -1
  6. package/dist/src/allocation/index.js +35 -6
  7. package/dist/src/allocation/index.js.map +1 -1
  8. package/dist/src/allocation/types.d.ts +41 -0
  9. package/dist/src/allocation/types.d.ts.map +1 -1
  10. package/dist/src/allocation/types.js +35 -0
  11. package/dist/src/allocation/types.js.map +1 -1
  12. package/dist/src/bind/data-indexed.d.ts +286 -37
  13. package/dist/src/bind/data-indexed.d.ts.map +1 -1
  14. package/dist/src/bind/data-indexed.js +259 -38
  15. package/dist/src/bind/data-indexed.js.map +1 -1
  16. package/dist/src/bind/data.d.ts +48 -9
  17. package/dist/src/bind/data.d.ts.map +1 -1
  18. package/dist/src/bind/data.js +48 -3
  19. package/dist/src/bind/data.js.map +1 -1
  20. package/dist/src/bind/record.d.ts +61 -24
  21. package/dist/src/bind/record.d.ts.map +1 -1
  22. package/dist/src/bind/record.js +17 -57
  23. package/dist/src/bind/record.js.map +1 -1
  24. package/dist/src/calendar/index.d.ts +522 -36
  25. package/dist/src/calendar/index.d.ts.map +1 -1
  26. package/dist/src/calendar/index.js +53 -13
  27. package/dist/src/calendar/index.js.map +1 -1
  28. package/dist/src/calendar/paged.d.ts +89 -0
  29. package/dist/src/calendar/paged.d.ts.map +1 -0
  30. package/dist/src/calendar/paged.js +148 -0
  31. package/dist/src/calendar/paged.js.map +1 -0
  32. package/dist/src/flowchart/index.d.ts +35 -31
  33. package/dist/src/flowchart/index.d.ts.map +1 -1
  34. package/dist/src/flowchart/index.js +35 -31
  35. package/dist/src/flowchart/index.js.map +1 -1
  36. package/dist/src/flowchart/library.d.ts +108 -84
  37. package/dist/src/flowchart/library.d.ts.map +1 -1
  38. package/dist/src/flowchart/library.js +108 -84
  39. package/dist/src/flowchart/library.js.map +1 -1
  40. package/dist/src/flowchart/payload.d.ts +105 -17
  41. package/dist/src/flowchart/payload.d.ts.map +1 -1
  42. package/dist/src/flowchart/payload.js +3 -3
  43. package/dist/src/flowchart/payload.js.map +1 -1
  44. package/dist/src/flowchart/values.d.ts +35 -31
  45. package/dist/src/flowchart/values.d.ts.map +1 -1
  46. package/dist/src/flowchart/values.js +35 -31
  47. package/dist/src/flowchart/values.js.map +1 -1
  48. package/dist/src/flowchart/window.d.ts.map +1 -1
  49. package/dist/src/flowchart/window.js +3 -2
  50. package/dist/src/flowchart/window.js.map +1 -1
  51. package/dist/src/index.d.ts +13 -4
  52. package/dist/src/index.d.ts.map +1 -1
  53. package/dist/src/index.js +20 -1
  54. package/dist/src/index.js.map +1 -1
  55. package/dist/src/internal.d.ts +18 -8
  56. package/dist/src/internal.d.ts.map +1 -1
  57. package/dist/src/internal.js +40 -10
  58. package/dist/src/internal.js.map +1 -1
  59. package/dist/src/plan/assemble.d.ts +8 -0
  60. package/dist/src/plan/assemble.d.ts.map +1 -1
  61. package/dist/src/plan/assemble.js +1 -1
  62. package/dist/src/plan/assemble.js.map +1 -1
  63. package/dist/src/plan/builders.d.ts +1530 -10
  64. package/dist/src/plan/builders.d.ts.map +1 -1
  65. package/dist/src/plan/builders.js +260 -122
  66. package/dist/src/plan/builders.js.map +1 -1
  67. package/dist/src/plan/event-rows.d.ts +224 -157
  68. package/dist/src/plan/event-rows.d.ts.map +1 -1
  69. package/dist/src/plan/event-rows.js +201 -56
  70. package/dist/src/plan/event-rows.js.map +1 -1
  71. package/dist/src/plan/factories.d.ts +72 -4
  72. package/dist/src/plan/factories.d.ts.map +1 -1
  73. package/dist/src/plan/factories.js +147 -1
  74. package/dist/src/plan/factories.js.map +1 -1
  75. package/dist/src/plan/index.d.ts +152 -125
  76. package/dist/src/plan/index.d.ts.map +1 -1
  77. package/dist/src/plan/index.js +138 -122
  78. package/dist/src/plan/index.js.map +1 -1
  79. package/dist/src/plan/ir.d.ts +1139 -8
  80. package/dist/src/plan/ir.d.ts.map +1 -1
  81. package/dist/src/plan/ir.js +5 -0
  82. package/dist/src/plan/ir.js.map +1 -1
  83. package/dist/src/plan/library.d.ts +65 -42
  84. package/dist/src/plan/library.d.ts.map +1 -1
  85. package/dist/src/plan/library.js +65 -42
  86. package/dist/src/plan/library.js.map +1 -1
  87. package/dist/src/plan/nested-checks.d.ts +146 -0
  88. package/dist/src/plan/nested-checks.d.ts.map +1 -0
  89. package/dist/src/plan/nested-checks.js +468 -0
  90. package/dist/src/plan/nested-checks.js.map +1 -0
  91. package/dist/src/plan/nested-patch.d.ts +35 -0
  92. package/dist/src/plan/nested-patch.d.ts.map +1 -0
  93. package/dist/src/plan/nested-patch.js +143 -0
  94. package/dist/src/plan/nested-patch.js.map +1 -0
  95. package/dist/src/plan/nested-read.d.ts +3250 -0
  96. package/dist/src/plan/nested-read.d.ts.map +1 -0
  97. package/dist/src/plan/nested-read.js +163 -0
  98. package/dist/src/plan/nested-read.js.map +1 -0
  99. package/dist/src/plan/nested.d.ts +280 -0
  100. package/dist/src/plan/nested.d.ts.map +1 -0
  101. package/dist/src/plan/nested.js +6 -0
  102. package/dist/src/plan/nested.js.map +1 -0
  103. package/dist/src/plan/ordered-source.d.ts +3067 -1
  104. package/dist/src/plan/ordered-source.d.ts.map +1 -1
  105. package/dist/src/plan/ordered-source.js +67 -17
  106. package/dist/src/plan/ordered-source.js.map +1 -1
  107. package/dist/src/plan/over.d.ts +111 -75
  108. package/dist/src/plan/over.d.ts.map +1 -1
  109. package/dist/src/plan/over.js +111 -75
  110. package/dist/src/plan/over.js.map +1 -1
  111. package/dist/src/plan/pick.d.ts +15 -3
  112. package/dist/src/plan/pick.d.ts.map +1 -1
  113. package/dist/src/plan/pick.js +75 -36
  114. package/dist/src/plan/pick.js.map +1 -1
  115. package/dist/src/plan/plan.d.ts +3143 -501
  116. package/dist/src/plan/plan.d.ts.map +1 -1
  117. package/dist/src/plan/plan.js +133 -34
  118. package/dist/src/plan/plan.js.map +1 -1
  119. package/dist/src/plan/reads.d.ts +421 -0
  120. package/dist/src/plan/reads.d.ts.map +1 -0
  121. package/dist/src/plan/reads.js +143 -0
  122. package/dist/src/plan/reads.js.map +1 -0
  123. package/dist/src/plan/refs.d.ts +111 -75
  124. package/dist/src/plan/refs.d.ts.map +1 -1
  125. package/dist/src/plan/refs.js +111 -75
  126. package/dist/src/plan/refs.js.map +1 -1
  127. package/dist/src/plan/root.d.ts +14 -7
  128. package/dist/src/plan/root.d.ts.map +1 -1
  129. package/dist/src/plan/root.js +82 -17
  130. package/dist/src/plan/root.js.map +1 -1
  131. package/dist/src/plan/series.d.ts +5153 -4331
  132. package/dist/src/plan/series.d.ts.map +1 -1
  133. package/dist/src/plan/series.js +1082 -266
  134. package/dist/src/plan/series.js.map +1 -1
  135. package/dist/src/plan/shade.d.ts +981 -0
  136. package/dist/src/plan/shade.d.ts.map +1 -0
  137. package/dist/src/plan/shade.js +60 -0
  138. package/dist/src/plan/shade.js.map +1 -0
  139. package/dist/src/plan/types.d.ts +192 -18
  140. package/dist/src/plan/types.d.ts.map +1 -1
  141. package/dist/src/plan/types.js +77 -19
  142. package/dist/src/plan/types.js.map +1 -1
  143. package/dist/src/query/builder.d.ts +3 -3
  144. package/dist/src/query/builder.d.ts.map +1 -1
  145. package/dist/src/query/builder.js +1 -1
  146. package/dist/src/query/library.d.ts +3 -3
  147. package/dist/src/query/library.d.ts.map +1 -1
  148. package/dist/src/query/library.js +1 -1
  149. package/dist/src/query/queries.d.ts +2 -2
  150. package/dist/src/query/queries.js +1 -1
  151. package/dist/src/query/saved.d.ts +8 -4
  152. package/dist/src/query/saved.d.ts.map +1 -1
  153. package/dist/src/query/saved.js +8 -4
  154. package/dist/src/query/saved.js.map +1 -1
  155. package/dist/src/query/types.d.ts +8 -3
  156. package/dist/src/query/types.d.ts.map +1 -1
  157. package/dist/src/query/types.js +8 -3
  158. package/dist/src/query/types.js.map +1 -1
  159. package/dist/src/roster/index.d.ts +583 -39
  160. package/dist/src/roster/index.d.ts.map +1 -1
  161. package/dist/src/roster/index.js +109 -35
  162. package/dist/src/roster/index.js.map +1 -1
  163. package/dist/src/roster/library.d.ts +12 -2
  164. package/dist/src/roster/library.d.ts.map +1 -1
  165. package/dist/src/roster/library.js +8 -0
  166. package/dist/src/roster/library.js.map +1 -1
  167. package/dist/src/roster/lists.d.ts +59 -12
  168. package/dist/src/roster/lists.d.ts.map +1 -1
  169. package/dist/src/roster/lists.js +51 -58
  170. package/dist/src/roster/lists.js.map +1 -1
  171. package/dist/src/roster/targets.d.ts +8 -4
  172. package/dist/src/roster/targets.d.ts.map +1 -1
  173. package/dist/src/roster/targets.js +9 -5
  174. package/dist/src/roster/targets.js.map +1 -1
  175. package/dist/src/roster/times.d.ts +402 -0
  176. package/dist/src/roster/times.d.ts.map +1 -1
  177. package/dist/src/roster/types.d.ts +913 -1
  178. package/dist/src/roster/types.d.ts.map +1 -1
  179. package/dist/src/roster/types.js +43 -3
  180. package/dist/src/roster/types.js.map +1 -1
  181. package/dist/src/schedule/cell-checks.d.ts +85 -0
  182. package/dist/src/schedule/cell-checks.d.ts.map +1 -0
  183. package/dist/src/schedule/cell-checks.js +211 -0
  184. package/dist/src/schedule/cell-checks.js.map +1 -0
  185. package/dist/src/schedule/days.d.ts +1 -1
  186. package/dist/src/schedule/days.js +1 -1
  187. package/dist/src/schedule/events.d.ts +52 -16
  188. package/dist/src/schedule/events.d.ts.map +1 -1
  189. package/dist/src/schedule/events.js +574 -356
  190. package/dist/src/schedule/events.js.map +1 -1
  191. package/dist/src/schedule/fields.d.ts +134 -0
  192. package/dist/src/schedule/fields.d.ts.map +1 -0
  193. package/dist/src/schedule/fields.js +207 -0
  194. package/dist/src/schedule/fields.js.map +1 -0
  195. package/dist/src/schedule/library.d.ts +11 -3
  196. package/dist/src/schedule/library.d.ts.map +1 -1
  197. package/dist/src/schedule/library.js +9 -6
  198. package/dist/src/schedule/library.js.map +1 -1
  199. package/dist/src/schedule/optimise.d.ts +124 -0
  200. package/dist/src/schedule/optimise.d.ts.map +1 -0
  201. package/dist/src/schedule/optimise.js +140 -0
  202. package/dist/src/schedule/optimise.js.map +1 -0
  203. package/dist/src/schedule/pages.d.ts +76 -0
  204. package/dist/src/schedule/pages.d.ts.map +1 -0
  205. package/dist/src/schedule/pages.js +86 -0
  206. package/dist/src/schedule/pages.js.map +1 -0
  207. package/dist/src/schedule/patch.d.ts +1 -1
  208. package/dist/src/schedule/patch.js +1 -1
  209. package/dist/src/schedule/periods.d.ts +8 -4
  210. package/dist/src/schedule/periods.d.ts.map +1 -1
  211. package/dist/src/schedule/periods.js +1 -1
  212. package/dist/src/schedule/periods.js.map +1 -1
  213. package/dist/src/schedule/record-window.d.ts +115 -22
  214. package/dist/src/schedule/record-window.d.ts.map +1 -1
  215. package/dist/src/schedule/record-window.js +140 -62
  216. package/dist/src/schedule/record-window.js.map +1 -1
  217. package/dist/src/schedule/resources.d.ts +9 -5
  218. package/dist/src/schedule/resources.d.ts.map +1 -1
  219. package/dist/src/schedule/resources.js +35 -15
  220. package/dist/src/schedule/resources.js.map +1 -1
  221. package/dist/src/schedule/session.d.ts +15 -1
  222. package/dist/src/schedule/session.d.ts.map +1 -1
  223. package/dist/src/schedule/session.js +30 -18
  224. package/dist/src/schedule/session.js.map +1 -1
  225. package/dist/src/schedule/types.d.ts +455 -37
  226. package/dist/src/schedule/types.d.ts.map +1 -1
  227. package/dist/src/schedule/types.js +79 -18
  228. package/dist/src/schedule/types.js.map +1 -1
  229. package/dist/src/schedule/window.d.ts +30 -9
  230. package/dist/src/schedule/window.d.ts.map +1 -1
  231. package/dist/src/schedule/window.js +101 -49
  232. package/dist/src/schedule/window.js.map +1 -1
  233. package/dist/src/schematic/index.d.ts +287 -0
  234. package/dist/src/schematic/index.d.ts.map +1 -0
  235. package/dist/src/schematic/index.js +216 -0
  236. package/dist/src/schematic/index.js.map +1 -0
  237. package/dist/src/schematic/kinds.d.ts +501 -0
  238. package/dist/src/schematic/kinds.d.ts.map +1 -0
  239. package/dist/src/schematic/kinds.js +1027 -0
  240. package/dist/src/schematic/kinds.js.map +1 -0
  241. package/dist/src/schematic/layers.d.ts +74 -0
  242. package/dist/src/schematic/layers.d.ts.map +1 -0
  243. package/dist/src/schematic/layers.js +99 -0
  244. package/dist/src/schematic/layers.js.map +1 -0
  245. package/dist/src/schematic/library.d.ts +202 -0
  246. package/dist/src/schematic/library.d.ts.map +1 -0
  247. package/dist/src/schematic/library.js +244 -0
  248. package/dist/src/schematic/library.js.map +1 -0
  249. package/dist/src/schematic/payload.d.ts +8310 -0
  250. package/dist/src/schematic/payload.d.ts.map +1 -0
  251. package/dist/src/schematic/payload.js +446 -0
  252. package/dist/src/schematic/payload.js.map +1 -0
  253. package/dist/src/schematic/schematic.d.ts +27 -0
  254. package/dist/src/schematic/schematic.d.ts.map +1 -0
  255. package/dist/src/schematic/schematic.js +17 -0
  256. package/dist/src/schematic/schematic.js.map +1 -0
  257. package/dist/src/schematic/shapes.d.ts +150 -0
  258. package/dist/src/schematic/shapes.d.ts.map +1 -0
  259. package/dist/src/schematic/shapes.js +171 -0
  260. package/dist/src/schematic/shapes.js.map +1 -0
  261. package/dist/src/schematic/templates.d.ts +96 -0
  262. package/dist/src/schematic/templates.d.ts.map +1 -0
  263. package/dist/src/schematic/templates.js +91 -0
  264. package/dist/src/schematic/templates.js.map +1 -0
  265. package/dist/src/schematic/types.d.ts +5766 -0
  266. package/dist/src/schematic/types.d.ts.map +1 -0
  267. package/dist/src/schematic/types.js +688 -0
  268. package/dist/src/schematic/types.js.map +1 -0
  269. package/dist/src/schematic/window.d.ts +213 -0
  270. package/dist/src/schematic/window.d.ts.map +1 -0
  271. package/dist/src/schematic/window.js +340 -0
  272. package/dist/src/schematic/window.js.map +1 -0
  273. package/dist/src/sheet/bridge.d.ts +19 -0
  274. package/dist/src/sheet/bridge.d.ts.map +1 -1
  275. package/dist/src/sheet/bridge.js +28 -21
  276. package/dist/src/sheet/bridge.js.map +1 -1
  277. package/dist/src/sheet/editing-bridge.d.ts +4 -2
  278. package/dist/src/sheet/editing-bridge.d.ts.map +1 -1
  279. package/dist/src/sheet/editing-bridge.js +8 -2
  280. package/dist/src/sheet/editing-bridge.js.map +1 -1
  281. package/dist/src/sheet/editing-types.d.ts +9 -5
  282. package/dist/src/sheet/editing-types.d.ts.map +1 -1
  283. package/dist/src/sheet/editing-types.js +9 -5
  284. package/dist/src/sheet/editing-types.js.map +1 -1
  285. package/dist/src/sheet/index.d.ts +84 -54
  286. package/dist/src/sheet/index.d.ts.map +1 -1
  287. package/dist/src/sheet/index.js +81 -53
  288. package/dist/src/sheet/index.js.map +1 -1
  289. package/dist/src/sheet/library.d.ts +13 -8
  290. package/dist/src/sheet/library.d.ts.map +1 -1
  291. package/dist/src/sheet/library.js +13 -8
  292. package/dist/src/sheet/library.js.map +1 -1
  293. package/dist/src/sheet/optimise.d.ts +69 -0
  294. package/dist/src/sheet/optimise.d.ts.map +1 -0
  295. package/dist/src/sheet/optimise.js +81 -0
  296. package/dist/src/sheet/optimise.js.map +1 -0
  297. package/dist/src/sheet/record.d.ts +1 -1
  298. package/dist/src/sheet/record.js +2 -2
  299. package/dist/src/sheet/record.js.map +1 -1
  300. package/dist/src/sheet/registers.d.ts +157 -133
  301. package/dist/src/sheet/registers.d.ts.map +1 -1
  302. package/dist/src/sheet/registers.js +157 -133
  303. package/dist/src/sheet/registers.js.map +1 -1
  304. package/dist/src/sheet/root.d.ts +6 -1
  305. package/dist/src/sheet/root.d.ts.map +1 -1
  306. package/dist/src/sheet/root.js +17 -5
  307. package/dist/src/sheet/root.js.map +1 -1
  308. package/dist/src/sheet/sheet.d.ts +696 -590
  309. package/dist/src/sheet/sheet.d.ts.map +1 -1
  310. package/dist/src/sheet/sheet.js +49 -15
  311. package/dist/src/sheet/sheet.js.map +1 -1
  312. package/dist/src/sheet/sub-rows.d.ts +106 -76
  313. package/dist/src/sheet/sub-rows.d.ts.map +1 -1
  314. package/dist/src/sheet/sub-rows.js +106 -76
  315. package/dist/src/sheet/sub-rows.js.map +1 -1
  316. package/dist/src/sheet/types.d.ts +57 -20
  317. package/dist/src/sheet/types.d.ts.map +1 -1
  318. package/dist/src/sheet/types.js +4 -8
  319. package/dist/src/sheet/types.js.map +1 -1
  320. package/dist/src/studio/builder.d.ts +3 -153
  321. package/dist/src/studio/builder.d.ts.map +1 -1
  322. package/dist/src/studio/builder.js +1 -1
  323. package/dist/src/studio/canvas.d.ts +5 -4
  324. package/dist/src/studio/canvas.d.ts.map +1 -1
  325. package/dist/src/studio/canvas.js +8 -7
  326. package/dist/src/studio/canvas.js.map +1 -1
  327. package/dist/src/studio/component.d.ts +30 -20
  328. package/dist/src/studio/component.d.ts.map +1 -1
  329. package/dist/src/studio/component.js +26 -61
  330. package/dist/src/studio/component.js.map +1 -1
  331. package/dist/src/studio/index.d.ts +2 -2
  332. package/dist/src/studio/index.d.ts.map +1 -1
  333. package/dist/src/studio/index.js +1 -1
  334. package/dist/src/studio/index.js.map +1 -1
  335. package/dist/src/studio/inspector.d.ts +10 -39
  336. package/dist/src/studio/inspector.d.ts.map +1 -1
  337. package/dist/src/studio/inspector.js +11 -31
  338. package/dist/src/studio/inspector.js.map +1 -1
  339. package/dist/src/studio/library.d.ts +3 -169
  340. package/dist/src/studio/library.d.ts.map +1 -1
  341. package/dist/src/studio/library.js +1 -1
  342. package/dist/src/studio/page.d.ts +0 -8
  343. package/dist/src/studio/page.d.ts.map +1 -1
  344. package/dist/src/studio/pages.d.ts +17 -591
  345. package/dist/src/studio/pages.d.ts.map +1 -1
  346. package/dist/src/studio/pages.js +17 -44
  347. package/dist/src/studio/pages.js.map +1 -1
  348. package/dist/src/studio/palette.d.ts +2 -7
  349. package/dist/src/studio/palette.d.ts.map +1 -1
  350. package/dist/src/studio/palette.js +4 -5
  351. package/dist/src/studio/palette.js.map +1 -1
  352. package/dist/src/studio/publish.d.ts +8 -18
  353. package/dist/src/studio/publish.d.ts.map +1 -1
  354. package/dist/src/studio/publish.js +10 -36
  355. package/dist/src/studio/publish.js.map +1 -1
  356. package/dist/src/utils/derive.d.ts +12 -12
  357. package/dist/src/utils/derive.d.ts.map +1 -1
  358. package/dist/src/utils/derive.js +5 -2
  359. package/dist/src/utils/derive.js.map +1 -1
  360. package/dist/src/utils/keyed-rows.d.ts +41 -0
  361. package/dist/src/utils/keyed-rows.d.ts.map +1 -0
  362. package/dist/src/utils/keyed-rows.js +64 -0
  363. package/dist/src/utils/keyed-rows.js.map +1 -0
  364. package/dist/src/utils/optimise.d.ts +79 -0
  365. package/dist/src/utils/optimise.d.ts.map +1 -0
  366. package/dist/src/utils/optimise.js +46 -0
  367. package/dist/src/utils/optimise.js.map +1 -0
  368. package/dist/src/utils/ordered-source.d.ts.map +1 -1
  369. package/dist/src/utils/ordered-source.js +14 -5
  370. package/dist/src/utils/ordered-source.js.map +1 -1
  371. package/dist/test/allocation/allocation.examples.d.ts +1900 -1610
  372. package/dist/test/allocation/allocation.examples.d.ts.map +1 -1
  373. package/dist/test/allocation/allocation.examples.js +179 -89
  374. package/dist/test/allocation/allocation.examples.js.map +1 -1
  375. package/dist/test/allocation/optimise.examples.d.ts +109 -0
  376. package/dist/test/allocation/optimise.examples.d.ts.map +1 -0
  377. package/dist/test/allocation/optimise.examples.js +223 -0
  378. package/dist/test/allocation/optimise.examples.js.map +1 -0
  379. package/dist/test/bind/data/data.examples.d.ts +1172 -514
  380. package/dist/test/bind/data/data.examples.d.ts.map +1 -1
  381. package/dist/test/bind/data/data.examples.js +284 -164
  382. package/dist/test/bind/data/data.examples.js.map +1 -1
  383. package/dist/test/bind/record/record.examples.d.ts +457 -428
  384. package/dist/test/bind/record/record.examples.d.ts.map +1 -1
  385. package/dist/test/bind/record/record.examples.js +41 -21
  386. package/dist/test/bind/record/record.examples.js.map +1 -1
  387. package/dist/test/calendar/calendar-records.examples.d.ts +162 -170
  388. package/dist/test/calendar/calendar-records.examples.d.ts.map +1 -1
  389. package/dist/test/calendar/calendar-records.examples.js +20 -12
  390. package/dist/test/calendar/calendar-records.examples.js.map +1 -1
  391. package/dist/test/calendar/calendar-windows.examples.d.ts +9 -0
  392. package/dist/test/calendar/calendar-windows.examples.d.ts.map +1 -0
  393. package/dist/test/calendar/calendar-windows.examples.js +111 -0
  394. package/dist/test/calendar/calendar-windows.examples.js.map +1 -0
  395. package/dist/test/calendar/calendar.examples.d.ts +1172 -915
  396. package/dist/test/calendar/calendar.examples.d.ts.map +1 -1
  397. package/dist/test/calendar/calendar.examples.js +211 -124
  398. package/dist/test/calendar/calendar.examples.js.map +1 -1
  399. package/dist/test/calendar/optimise.examples.d.ts +132 -0
  400. package/dist/test/calendar/optimise.examples.d.ts.map +1 -0
  401. package/dist/test/calendar/optimise.examples.js +75 -0
  402. package/dist/test/calendar/optimise.examples.js.map +1 -0
  403. package/dist/test/examples-package.d.ts +49 -16
  404. package/dist/test/examples-package.d.ts.map +1 -1
  405. package/dist/test/examples-package.js +138 -49
  406. package/dist/test/examples-package.js.map +1 -1
  407. package/dist/test/flowchart/flowchart.examples.d.ts +3841 -2840
  408. package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -1
  409. package/dist/test/flowchart/flowchart.examples.js +211 -121
  410. package/dist/test/flowchart/flowchart.examples.js.map +1 -1
  411. package/dist/test/plan/optimise.examples.d.ts +207 -0
  412. package/dist/test/plan/optimise.examples.d.ts.map +1 -0
  413. package/dist/test/plan/optimise.examples.js +98 -0
  414. package/dist/test/plan/optimise.examples.js.map +1 -0
  415. package/dist/test/plan/plan-events.examples.d.ts +4055 -3279
  416. package/dist/test/plan/plan-events.examples.d.ts.map +1 -1
  417. package/dist/test/plan/plan-events.examples.js +492 -319
  418. package/dist/test/plan/plan-events.examples.js.map +1 -1
  419. package/dist/test/plan/plan-nested.examples.d.ts +1829 -0
  420. package/dist/test/plan/plan-nested.examples.d.ts.map +1 -0
  421. package/dist/test/plan/plan-nested.examples.js +321 -0
  422. package/dist/test/plan/plan-nested.examples.js.map +1 -0
  423. package/dist/test/plan/plan-records.examples.d.ts +391 -244
  424. package/dist/test/plan/plan-records.examples.d.ts.map +1 -1
  425. package/dist/test/plan/plan-records.examples.js +186 -65
  426. package/dist/test/plan/plan-records.examples.js.map +1 -1
  427. package/dist/test/plan/plan-windows.examples.d.ts +1978 -803
  428. package/dist/test/plan/plan-windows.examples.d.ts.map +1 -1
  429. package/dist/test/plan/plan-windows.examples.js +269 -99
  430. package/dist/test/plan/plan-windows.examples.js.map +1 -1
  431. package/dist/test/plan/plan.examples.d.ts +2238 -5726
  432. package/dist/test/plan/plan.examples.d.ts.map +1 -1
  433. package/dist/test/plan/plan.examples.js +846 -973
  434. package/dist/test/plan/plan.examples.js.map +1 -1
  435. package/dist/test/query/query.examples.d.ts +5221 -3005
  436. package/dist/test/query/query.examples.d.ts.map +1 -1
  437. package/dist/test/query/query.examples.js +169 -118
  438. package/dist/test/query/query.examples.js.map +1 -1
  439. package/dist/test/roster/domain.examples.d.ts +804 -0
  440. package/dist/test/roster/domain.examples.d.ts.map +1 -1
  441. package/dist/test/roster/domain.examples.js +3 -3
  442. package/dist/test/roster/domain.examples.js.map +1 -1
  443. package/dist/test/roster/optimise.examples.d.ts +485 -0
  444. package/dist/test/roster/optimise.examples.d.ts.map +1 -0
  445. package/dist/test/roster/optimise.examples.js +155 -0
  446. package/dist/test/roster/optimise.examples.js.map +1 -0
  447. package/dist/test/roster/roster-records.examples.d.ts +364 -404
  448. package/dist/test/roster/roster-records.examples.d.ts.map +1 -1
  449. package/dist/test/roster/roster-records.examples.js +40 -26
  450. package/dist/test/roster/roster-records.examples.js.map +1 -1
  451. package/dist/test/roster/roster.examples.d.ts +5091 -1424
  452. package/dist/test/roster/roster.examples.d.ts.map +1 -1
  453. package/dist/test/roster/roster.examples.js +255 -109
  454. package/dist/test/roster/roster.examples.js.map +1 -1
  455. package/dist/test/roster/warehouse.d.ts +150 -7
  456. package/dist/test/roster/warehouse.d.ts.map +1 -1
  457. package/dist/test/roster/warehouse.js +36 -11
  458. package/dist/test/roster/warehouse.js.map +1 -1
  459. package/dist/test/schedule/schedule.examples.d.ts +2646 -2473
  460. package/dist/test/schedule/schedule.examples.d.ts.map +1 -1
  461. package/dist/test/schedule/schedule.examples.js +144 -88
  462. package/dist/test/schedule/schedule.examples.js.map +1 -1
  463. package/dist/test/schematic/schematic-records.examples.d.ts +454 -0
  464. package/dist/test/schematic/schematic-records.examples.d.ts.map +1 -0
  465. package/dist/test/schematic/schematic-records.examples.js +219 -0
  466. package/dist/test/schematic/schematic-records.examples.js.map +1 -0
  467. package/dist/test/schematic/schematic.examples.d.ts +2640 -0
  468. package/dist/test/schematic/schematic.examples.d.ts.map +1 -0
  469. package/dist/test/schematic/schematic.examples.js +559 -0
  470. package/dist/test/schematic/schematic.examples.js.map +1 -0
  471. package/dist/test/sheet/optimise.examples.d.ts +184 -0
  472. package/dist/test/sheet/optimise.examples.d.ts.map +1 -0
  473. package/dist/test/sheet/optimise.examples.js +79 -0
  474. package/dist/test/sheet/optimise.examples.js.map +1 -0
  475. package/dist/test/sheet/sheet-records.examples.d.ts +208 -356
  476. package/dist/test/sheet/sheet-records.examples.d.ts.map +1 -1
  477. package/dist/test/sheet/sheet-records.examples.js +66 -29
  478. package/dist/test/sheet/sheet-records.examples.js.map +1 -1
  479. package/dist/test/sheet/sheet.examples.d.ts +3650 -3377
  480. package/dist/test/sheet/sheet.examples.d.ts.map +1 -1
  481. package/dist/test/sheet/sheet.examples.js +406 -296
  482. package/dist/test/sheet/sheet.examples.js.map +1 -1
  483. package/dist/test/studio/component.examples.js +2 -2
  484. package/dist/test/studio/component.examples.js.map +1 -1
  485. package/dist/test/studio/page.examples.js +6 -6
  486. package/dist/test/studio/page.examples.js.map +1 -1
  487. package/dist/test/studio/studio.examples.d.ts +2329 -873
  488. package/dist/test/studio/studio.examples.d.ts.map +1 -1
  489. package/dist/test/studio/studio.examples.js +155 -107
  490. package/dist/test/studio/studio.examples.js.map +1 -1
  491. package/package.json +15 -11
@@ -1 +1 @@
1
- {"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../src/studio/builder.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACH,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EAGV,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAC1B,MAAM,eAAe,CAAC;AACvB,OAAO,EAGH,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,eAAe,EACvB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAyB,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAM3E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAa,CAAC,CAA6B,CAAC"}
@@ -85,7 +85,7 @@ export const StudioBuilderComponent = EastUI.component("StudioBuilder", StudioBu
85
85
  * export const builder = ui("builder", [], East.function([], UIComponentType, _$ => (
86
86
  * <Reactive>{$ => {
87
87
  * const components = $.let([kpiRail, revenueTrend, breakdownBars]);
88
- * const pages = $.let(Record.bind(d.pages, [d.pagesPatch]));
88
+ * const pages = $.let(Record.bind(d.pages));
89
89
  * return <Studio.Builder pages={pages} components={components} project="Ops console"
90
90
  * env="Staging" audience="Field ops · 24 users" rollout="Immediate" />;
91
91
  * }}</Reactive>
@@ -17,7 +17,7 @@ import { ArrayType, AsyncFunctionType, BooleanType, DictType, OptionType, SetTyp
17
17
  * @property frame - Drawn in a tile frame, or bare
18
18
  * @property name - Its name — a placement's label when it has no title of its own
19
19
  * @property icon - Its icon, in the selection bar
20
- * @property meta - Its key and the datasets it reads, in the selection bar
20
+ * @property meta - The data it reads, in words, in the selection bar
21
21
  */
22
22
  export declare const CanvasTileType: StructType<{
23
23
  readonly frame: BooleanType;
@@ -27,8 +27,10 @@ export declare const CanvasTileType: StructType<{
27
27
  }>;
28
28
  /**
29
29
  * Each listed component's tile, by key: framed or bare, its name and icon,
30
- * and its meta line — its key and the datasets and records its code reads,
31
- * joined with ` · ` ("revenue_trend · sales_daily"). A key two components
30
+ * and its meta line — the datasets and records its code reads, in words
31
+ * ({@link readNames}), joined with ` · ` ("Sales daily"), empty for one that
32
+ * reads nothing; never its key, nor theirs, which are no words for the people
33
+ * who build pages. A key two components
32
34
  * share keeps the first one's tile.
33
35
  */
34
36
  export declare const canvasTiles: import("@elaraai/east").CallableFunctionExpr<[ArrayType<StructType<{
@@ -55,7 +57,6 @@ export declare const canvasTiles: import("@elaraai/east").CallableFunctionExpr<[
55
57
  readonly field: StringType;
56
58
  }>>>;
57
59
  }>;
58
- readonly fingerprint: StringType;
59
60
  readonly render: import("@elaraai/east").FunctionType<[], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>;
60
61
  }>>], DictType<StringType, StructType<{
61
62
  readonly frame: BooleanType;
@@ -1 +1 @@
1
- {"version":3,"file":"canvas.d.ts","sourceRoot":"","sources":["../../../src/studio/canvas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAEH,OAAO,EACH,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,QAAQ,EAER,UAAU,EACV,OAAO,EACP,UAAU,EACV,UAAU,EACb,MAAM,eAAe,CAAC;AAOvB;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;;;;EAKzB,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqBvB,CAAC;AAMF;;;;;;;;GAQG;AACH,eAAO,MAAM,6BAA6B;;;;;EAKxC,CAAC;AAEH,gEAAgE;AAChE,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC"}
1
+ {"version":3,"file":"canvas.d.ts","sourceRoot":"","sources":["../../../src/studio/canvas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAEH,OAAO,EACH,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,QAAQ,EAER,UAAU,EACV,OAAO,EACP,UAAU,EACV,UAAU,EACb,MAAM,eAAe,CAAC;AAOvB;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;;;;EAKzB,CAAC;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiBvB,CAAC;AAMF;;;;;;;;GAQG;AACH,eAAO,MAAM,6BAA6B;;;;;EAKxC,CAAC;AAEH,gEAAgE;AAChE,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC"}
@@ -11,7 +11,7 @@
11
11
  * @packageDocumentation
12
12
  */
13
13
  import { ArrayType, AsyncFunctionType, BooleanType, DictType, East, OptionType, SetType, StringType, StructType, } from "@elaraai/east";
14
- import { StudioComponentType } from "./component.js";
14
+ import { StudioComponentType, readNames } from "./component.js";
15
15
  // ============================================================================
16
16
  // What a placement's tile shows
17
17
  // ============================================================================
@@ -21,7 +21,7 @@ import { StudioComponentType } from "./component.js";
21
21
  * @property frame - Drawn in a tile frame, or bare
22
22
  * @property name - Its name — a placement's label when it has no title of its own
23
23
  * @property icon - Its icon, in the selection bar
24
- * @property meta - Its key and the datasets it reads, in the selection bar
24
+ * @property meta - The data it reads, in words, in the selection bar
25
25
  */
26
26
  export const CanvasTileType = StructType({
27
27
  frame: BooleanType,
@@ -31,16 +31,17 @@ export const CanvasTileType = StructType({
31
31
  });
32
32
  /**
33
33
  * Each listed component's tile, by key: framed or bare, its name and icon,
34
- * and its meta line — its key and the datasets and records its code reads,
35
- * joined with ` · ` ("revenue_trend · sales_daily"). A key two components
34
+ * and its meta line — the datasets and records its code reads, in words
35
+ * ({@link readNames}), joined with ` · ` ("Sales daily"), empty for one that
36
+ * reads nothing; never its key, nor theirs, which are no words for the people
37
+ * who build pages. A key two components
36
38
  * share keeps the first one's tile.
37
39
  */
38
40
  export const canvasTiles = East.function([ArrayType(StudioComponentType)], DictType(StringType, CanvasTileType), ($, components) => {
39
41
  const tiles = $.let(new Map(), DictType(StringType, CanvasTileType));
40
42
  $.for(components, ($2, component) => {
41
- const reads = $2.let(component.reads.paths.concat(component.reads.pages)
42
- .map((_$3, path) => path.get(path.size().subtract(1n)).unwrap("field")));
43
- const meta = $2.let(reads.size().equal(0n).ifElse(() => component.key, () => East.str `${component.key} · ${reads.stringJoin(" · ")}`));
43
+ const reads = $2.let(readNames(component.reads));
44
+ const meta = $2.let(reads.stringJoin(" · "));
44
45
  $2(tiles.insertOrUpdate(component.key, {
45
46
  frame: component.frame.hasTag("card"),
46
47
  name: component.name,
@@ -1 +1 @@
1
- {"version":3,"file":"canvas.js","sourceRoot":"","sources":["../../../src/studio/canvas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAO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M,CAAC,MAAM,6BAA6B,GAAG,UAAU,CAAC;IACpD,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC;IAC1B,MAAM,EAAE,iBAAiB,CAAC,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;CAClE,CAAC,CAAC"}
@@ -10,15 +10,14 @@
10
10
  *
11
11
  * `Studio.component(key, meta, fn)` returns it as a `Studio.Types.Component`
12
12
  * struct, the way `Slice.config` returns a slice config: what the palette
13
- * shows, what the function reads, the fingerprint of its code, and the
14
- * function itself. A surface lists the components it offers, and the Studio's
13
+ * shows, what the function reads, and the function itself. A surface lists the components it offers, and the Studio's
15
14
  * renderers draw a placement by calling its component's function, so a
16
15
  * surface's `ui()` task holds every listed component's function and its
17
16
  * manifest is the union of theirs.
18
17
  *
19
18
  * @packageDocumentation
20
19
  */
21
- import { ArrayType, BooleanType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType, VariantType, type CallableFunctionExpr, type ExprType, type IR } from "@elaraai/east";
20
+ import { ArrayType, BooleanType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType, VariantType, type CallableFunctionExpr, type ExprType } from "@elaraai/east";
22
21
  import { UIComponentType } from "@elaraai/east-ui/internal";
23
22
  /**
24
23
  * How a component's placements are drawn.
@@ -35,8 +34,8 @@ export type StudioFrameType = typeof StudioFrameType;
35
34
  /** Literal shorthand for {@link StudioFrameType}. */
36
35
  export type StudioFrameLiteral = "card" | "none";
37
36
  /**
38
- * A Studio component — what the palette shows, what the component reads, the
39
- * fingerprint of its code, and the East UI function that renders it.
37
+ * A Studio component — what the palette shows, what the component reads, and
38
+ * the East UI function that renders it.
40
39
  *
41
40
  * @property key - The component's identity; a cell stores it
42
41
  * @property name - Its name, in the palette and the inspector
@@ -49,7 +48,6 @@ export type StudioFrameLiteral = "card" | "none";
49
48
  * @property collections - Its collections, which the palette's Filter menu offers
50
49
  * @property deprecated - Hidden from the palette; placements keep rendering
51
50
  * @property reads - The datasets, functions and records its function binds, derived from its code
52
- * @property fingerprint - A hash of its code; a cell stores it when placed and when its page publishes, so a code change since shows
53
51
  * @property render - The East UI function that renders it
54
52
  */
55
53
  export declare const StudioComponentType: StructType<{
@@ -76,11 +74,35 @@ export declare const StudioComponentType: StructType<{
76
74
  readonly field: StringType;
77
75
  }>>>;
78
76
  }>;
79
- readonly fingerprint: StringType;
80
77
  readonly render: FunctionType<[], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>;
81
78
  }>;
82
79
  /** Type representing a Studio component. */
83
80
  export type StudioComponentType = typeof StudioComponentType;
81
+ /**
82
+ * The name of the data at a path, in words, as the people who build pages
83
+ * read it — never its keypath, nor its name as code spells it: a task's
84
+ * output by its task's name, anything else by its own, its words apart and
85
+ * the first upper case (`.inputs.sales_daily` "Sales daily",
86
+ * `.tasks.weeklyForecast.output` "Weekly forecast").
87
+ */
88
+ export declare const dataName: CallableFunctionExpr<[ArrayType<VariantType<{
89
+ readonly field: StringType;
90
+ }>>], StringType>;
91
+ /**
92
+ * The data a component's code reads — each dataset and record it binds, whole
93
+ * or a window at a time — each named in words ({@link dataName}), as the
94
+ * palette's cards, the canvas's tiles and the inspector name it.
95
+ */
96
+ export declare const readNames: CallableFunctionExpr<[StructType<{
97
+ readonly paths: ArrayType<ArrayType<VariantType<{
98
+ readonly field: StringType;
99
+ }>>>;
100
+ readonly functions: ArrayType<StringType>;
101
+ readonly records: ArrayType<StringType>;
102
+ readonly pages: ArrayType<ArrayType<VariantType<{
103
+ readonly field: StringType;
104
+ }>>>;
105
+ }>], ArrayType<StringType>>;
84
106
  /**
85
107
  * What the palette shows of a component — its `meta`. Only `name`,
86
108
  * `category` and `icon` are required.
@@ -115,18 +137,6 @@ export interface StudioComponentMeta {
115
137
  /** Hidden from the palette; placements keep rendering. */
116
138
  deprecated?: boolean;
117
139
  }
118
- /**
119
- * A function's fingerprint: the SHA-256 of its IR in canonical form. The same
120
- * code fingerprints the same; a change to it changes the fingerprint.
121
- *
122
- * @param fn - The function
123
- * @returns The fingerprint, hex
124
- */
125
- export declare function fingerprintOf(fn: {
126
- toIR(): {
127
- ir: IR;
128
- };
129
- }): string;
130
140
  /**
131
141
  * Declares a Studio component — a self-contained East UI function, and what
132
142
  * the palette shows of it.
@@ -134,7 +144,7 @@ export declare function fingerprintOf(fn: {
134
144
  * @remarks
135
145
  * `fn` is exactly what `ui()` takes, so a component written for a `ui()` body
136
146
  * moves into `Studio.component` unchanged. Its `reads` come from its code
137
- * (`deriveManifest`), and its `fingerprint` from its IR — neither is written.
147
+ * (`deriveManifest`), never written.
138
148
  * Call it at module scope or inside an East function, as `Slice.config` is.
139
149
  *
140
150
  * @param key - The component's identity; a cell stores it
@@ -1 +1 @@
1
- {"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/studio/component.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EACH,SAAS,EACT,WAAW,EAEX,YAAY,EAEZ,WAAW,EACX,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EAMX,KAAK,oBAAoB,EACzB,KAAK,QAAQ,EACb,KAAK,EAAE,EACV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAQ5D;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;EAG1B,CAAC;AAEH,gEAAgE;AAChE,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC;AAErD,qDAAqD;AACrD,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,MAAM,CAAC;AAEjD;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;EAc9B,CAAC;AAEH,4CAA4C;AAC5C,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC;AAE7D;;;;;;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EACX,IAAI,EAAE,mBAAmB,EACzB,EAAE,EAAE,oBAAoB,CAAC,EAAE,EAAE,OAAO,eAAe,CAAC,GACrD,QAAQ,CAAC,mBAAmB,CAAC,CAgB/B;AAED,kEAAkE;AAClE,MAAM,WAAW,wBAAwB;IACrC,sDAAsD;IACtD,SAAS,EAAE,OAAO,eAAe,CAAC;CACrC;AAED,oDAAoD;AACpD,eAAO,MAAM,gBAAgB,EAAE,wBAE9B,CAAC"}
@@ -10,17 +10,16 @@
10
10
  *
11
11
  * `Studio.component(key, meta, fn)` returns it as a `Studio.Types.Component`
12
12
  * struct, the way `Slice.config` returns a slice config: what the palette
13
- * shows, what the function reads, the fingerprint of its code, and the
14
- * function itself. A surface lists the components it offers, and the Studio's
13
+ * shows, what the function reads, and the function itself. A surface lists the components it offers, and the Studio's
15
14
  * renderers draw a placement by calling its component's function, so a
16
15
  * surface's `ui()` task holds every listed component's function and its
17
16
  * manifest is the union of theirs.
18
17
  *
19
18
  * @packageDocumentation
20
19
  */
21
- import { ArrayType, BooleanType, East, FunctionType, IRType, IntegerType, NullType, OptionType, StringType, StructType, VariantType, encodeBeast2For, none, sha256Hex, some, variant, } from "@elaraai/east";
20
+ import { ArrayType, BooleanType, East, FunctionType, IntegerType, NullType, OptionType, StringType, StructType, VariantType, none, some, variant, } from "@elaraai/east";
22
21
  import { UIComponentType } from "@elaraai/east-ui/internal";
23
- import { DataManifestType } from "@elaraai/e3-types";
22
+ import { DataManifestType, TreePathType } from "@elaraai/e3-types";
24
23
  import { deriveManifest } from "../utils/derive.js";
25
24
  // ============================================================================
26
25
  // Types
@@ -36,8 +35,8 @@ export const StudioFrameType = VariantType({
36
35
  none: NullType,
37
36
  });
38
37
  /**
39
- * A Studio component — what the palette shows, what the component reads, the
40
- * fingerprint of its code, and the East UI function that renders it.
38
+ * A Studio component — what the palette shows, what the component reads, and
39
+ * the East UI function that renders it.
41
40
  *
42
41
  * @property key - The component's identity; a cell stores it
43
42
  * @property name - Its name, in the palette and the inspector
@@ -50,7 +49,6 @@ export const StudioFrameType = VariantType({
50
49
  * @property collections - Its collections, which the palette's Filter menu offers
51
50
  * @property deprecated - Hidden from the palette; placements keep rendering
52
51
  * @property reads - The datasets, functions and records its function binds, derived from its code
53
- * @property fingerprint - A hash of its code; a cell stores it when placed and when its page publishes, so a code change since shows
54
52
  * @property render - The East UI function that renders it
55
53
  */
56
54
  export const StudioComponentType = StructType({
@@ -65,66 +63,34 @@ export const StudioComponentType = StructType({
65
63
  collections: ArrayType(StringType),
66
64
  deprecated: BooleanType,
67
65
  reads: DataManifestType,
68
- fingerprint: StringType,
69
66
  render: FunctionType([], UIComponentType),
70
67
  });
71
68
  // ============================================================================
72
- // The fingerprint
69
+ // What a component reads, in words
73
70
  // ============================================================================
74
- const encodeIR = encodeBeast2For(IRType);
75
71
  /**
76
- * The IR in a canonical form: every location id zeroed and every variable
77
- * renamed by its first appearance, so the same code has the same IR wherever
78
- * it is written and whatever was built before it.
79
- *
80
- * @remarks
81
- * The East types a node carries are kept as they are, not copied: equal types
82
- * are one shared object, which the encoder writes once, and a copy would make
83
- * it write a UI type again at every node.
72
+ * The name of the data at a path, in words, as the people who build pages
73
+ * read it — never its keypath, nor its name as code spells it: a task's
74
+ * output by its task's name, anything else by its own, its words apart and
75
+ * the first upper case (`.inputs.sales_daily` "Sales daily",
76
+ * `.tasks.weeklyForecast.output` "Weekly forecast").
84
77
  */
85
- function canonicalIR(ir) {
86
- const names = new Map();
87
- const walk = (node) => {
88
- if (Array.isArray(node))
89
- return node.map(walk);
90
- if (node === null || typeof node !== "object")
91
- return node;
92
- const proto = Object.getPrototypeOf(node);
93
- if (proto !== Object.prototype && proto !== null)
94
- return node;
95
- const out = {};
96
- for (const [field, value] of Object.entries(node)) {
97
- out[field] = field === "loc_id" ? 0n
98
- : (field === "type" && typeof value === "object") || field === "type_parameters" ? value
99
- : walk(value);
100
- }
101
- const value = out["value"];
102
- if (out["type"] === "Variable" && value !== null && typeof value === "object") {
103
- const variable = value;
104
- const name = variable["name"];
105
- if (typeof name === "string") {
106
- let canonical = names.get(name);
107
- if (canonical === undefined) {
108
- canonical = `v${names.size}`;
109
- names.set(name, canonical);
110
- }
111
- out["value"] = { ...variable, name: canonical };
112
- }
113
- }
114
- return out;
115
- };
116
- return walk(ir);
117
- }
78
+ export const dataName = East.function([TreePathType], StringType, ($, path) => {
79
+ const last = $.let(path.size().subtract(1n));
80
+ // A task's output, `.tasks.<task>.output`, is its task's.
81
+ const output = $.let(path.size().equal(3n)
82
+ .and(() => path.get(0n).unwrap("field").equal("tasks"))
83
+ .and(() => path.get(last).unwrap("field").equal("output")));
84
+ const name = $.let(output.ifElse(() => path.get(1n).unwrap("field"), () => path.get(last).unwrap("field")));
85
+ const words = $.let(name.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " ").trim().lowerCase());
86
+ return words.length().equal(0n).ifElse(() => name, () => words.substring(0n, 1n).upperCase().concat(words.substring(1n, words.length())));
87
+ });
118
88
  /**
119
- * A function's fingerprint: the SHA-256 of its IR in canonical form. The same
120
- * code fingerprints the same; a change to it changes the fingerprint.
121
- *
122
- * @param fn - The function
123
- * @returns The fingerprint, hex
89
+ * The data a component's code reads — each dataset and record it binds, whole
90
+ * or a window at a time — each named in words ({@link dataName}), as the
91
+ * palette's cards, the canvas's tiles and the inspector name it.
124
92
  */
125
- export function fingerprintOf(fn) {
126
- return sha256Hex(encodeIR(canonicalIR(fn.toIR().ir)));
127
- }
93
+ export const readNames = East.function([DataManifestType], ArrayType(StringType), (_$, reads) => reads.paths.concat(reads.pages).map((_$2, path) => dataName(path)));
128
94
  // ============================================================================
129
95
  // Authoring
130
96
  // ============================================================================
@@ -135,7 +101,7 @@ export function fingerprintOf(fn) {
135
101
  * @remarks
136
102
  * `fn` is exactly what `ui()` takes, so a component written for a `ui()` body
137
103
  * moves into `Studio.component` unchanged. Its `reads` come from its code
138
- * (`deriveManifest`), and its `fingerprint` from its IR — neither is written.
104
+ * (`deriveManifest`), never written.
139
105
  * Call it at module scope or inside an East function, as `Slice.config` is.
140
106
  *
141
107
  * @param key - The component's identity; a cell stores it
@@ -181,7 +147,6 @@ function createComponent(key, meta, fn) {
181
147
  collections: meta.collections ?? [],
182
148
  deprecated: meta.deprecated ?? false,
183
149
  reads,
184
- fingerprint: fingerprintOf(fn),
185
150
  render: fn,
186
151
  }, StudioComponentType);
187
152
  }
@@ -1 +1 @@
1
- {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/studio/component.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EACH,SAAS,EACT,WAAW,EACX,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,WAAW,EACX,QAAQ,EACR,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,eAAe,EACf,IAAI,EACJ,SAAS,EACT,IAAI,EACJ,OAAO,GAIV,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,+EAA+E;AAC/E,QAAQ;AACR,+EAA+E;AAE/E;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAC;IACvC,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,QAAQ;CACjB,CAAC,CAAC;AAQH;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,UAAU,CAAC;IAC1C,GAAG,EAAE,UAAU;IACf,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,UAAU,CAAC,UAAU,CAAC;IACnC,KAAK,EAAE,eAAe;IACtB,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC;IAC3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;;;;;;;;;;;GAsCG;AACH,SAAS,eAAe,CACpB,GAAW,EACX,IAAyB,EACzB,EAAoD;IAEpD,MAAM,KAAK,GAAG,cAAc,CAAC,EAAE,CAAC,CAAC;IACjC,OAAO,IAAI,CAAC,KAAK,CAAC;QACd,GAAG;QACH,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,GAAG;QACtB,WAAW,EAAE,IAAI,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC;QAC3E,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,MAAM,EAAE,IAAI,CAAC;QAC1C,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,EAAE;QACrB,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,EAAE;QACnC,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,KAAK;QACpC,KAAK;QACL,MAAM,EAAE,EAAE;KACb,EAAE,mBAAmB,CAAC,CAAC;AAC5B,CAAC;AAQD,oDAAoD;AACpD,MAAM,CAAC,MAAM,gBAAgB,GAA6B;IACtD,SAAS,EAAE,eAAe;CAC7B,CAAC"}
@@ -13,7 +13,7 @@ import { StudioCellChangeType, StudioCellType, StudioChangeType, StudioEntryType
13
13
  import { StudioPage, StudioVersionType } from "./page.js";
14
14
  import { StudioBuilder } from "./builder.js";
15
15
  import { StudioLibrary } from "./library.js";
16
- export { StudioComponentType, StudioFrameType, fingerprintOf, type StudioComponentMeta, type StudioFrameLiteral, } from "./component.js";
16
+ export { StudioComponentType, StudioFrameType, dataName, readNames, type StudioComponentMeta, type StudioFrameLiteral, } from "./component.js";
17
17
  export { StudioCellChangeType, StudioCellType, StudioChangeType, StudioEntryType, StudioKeyType, StudioLiveType, StudioPageEntryType, StudioPageType, StudioPagesHandleType, StudioPagesType, StudioStatusType, saveCells, type StudioPagesHandle, } from "./pages.js";
18
18
  export { StudioPage, StudioPageComponent, StudioPagePayloadType, StudioVersionType, type StudioPageOptions, type StudioVersionLiteral, } from "./page.js";
19
19
  export { StudioBuilder, StudioBuilderComponent, StudioBuilderPayloadType, type StudioBuilderOptions, } from "./builder.js";
@@ -72,7 +72,7 @@ export declare const Studio: StudioNamespace;
72
72
  export interface StudioInternalNamespace extends Omit<StudioNamespace, "Types"> {
73
73
  /** Saves a page's placements — the builder canvas's Apply, one patch to the page's draft. */
74
74
  save: typeof StudioPages.save;
75
- /** Publishes a page: the patch that makes its draft its next live version, each placement stamped with the code it goes live with. */
75
+ /** Publishes a page: the patch that makes its draft its next live version. */
76
76
  publish: typeof StudioPages.publish;
77
77
  /** Reverts a page: the patch that makes its live version's layout its draft. */
78
78
  revert: typeof StudioPages.revert;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/studio/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EACH,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,EACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EACH,mBAAmB,EACnB,eAAe,EACf,aAAa,EACb,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GAC1B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,oBAAo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K,EAAE,WAAW,GAAG;QACjB,2EAA2E;QAC3E,MAAM,EAAE,OAAO,gBAAgB,CAAC;QAChC,gEAAgE;QAChE,UAAU,EAAE,OAAO,oBAAoB,CAAC;QACxC,kDAAkD;QAClD,MAAM,EAAE,OAAO,gBAAgB,CAAC;KACnC,CAAC;CACL;AAED;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,uBAkB5B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/studio/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EACH,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,EACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EACH,mBAAmB,EACnB,eAAe,EACf,QAAQ,EACR,SAAS,EACT,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GAC1B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,KAAK,iBAAiB,GACzB,MAAM,YAAY,CAAC;AACpB,OAAO,EACH,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,GAC5B,MAAM,WAAW,CAAC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Type, StudioEntryType
13
13
  import { StudioPage, StudioVersionType } from "./page.js";
14
14
  import { StudioBuilder } from "./builder.js";
15
15
  import { StudioLibrary } from "./library.js";
16
- export { StudioComponentType, StudioFrameType, fingerprintOf, } from "./component.js";
16
+ export { StudioComponentType, StudioFrameType, dataName, readNames, } from "./component.js";
17
17
  export { StudioCellChangeType, StudioCellType, StudioChangeType, StudioEntryType, StudioKeyType, StudioLiveType, StudioPageEntryType, StudioPageType, StudioPagesHandleType, StudioPagesType, StudioStatusType, saveCells, } from "./pages.js";
18
18
  export { StudioPage, StudioPageComponent, StudioPagePayloadType, StudioVersionType, } from "./page.js";
19
19
  export { StudioBuilder, StudioBuilderComponent, StudioBuilderPayloadType, } from "./builder.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/studio/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EACH,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,GACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EACH,mBAAmB,EACnB,eAAe,EACf,aAAa,GAGhB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,SAAS,GAEZ,MAAM,YAAY,CA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E,UAAU;IAChB,KAAK,EAAE,KAAK;CACf,CAAC;AAgCF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAA4B;IACnD,SAAS,EAAE,gBAAgB,CAAC,SAAS;IACrC,OAAO,EAAE,aAAa;IACtB,OAAO,EAAE,aAAa;IACtB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,WAAW,CAAC,IAAI;IACtB,OAAO,EAAE,WAAW,CAAC,OAAO;IAC5B,MAAM,EAAE,WAAW,CAAC,MAAM;IAC1B,OAAO,EAAE,WAAW,CAAC,OAAO;IAC5B,YAAY,EAAE,WAAW,CAAC,YAAY;IACtC,OAAO,EAAE,WAAW,CAAC,OAAO;IAC5B,MAAM,EAAE,WAAW,CAAC,MAAM;IAC1B,KAAK,EAAE;QACH,GAAG,KAAK;QACR,MAAM,EAAE,gBAAgB;QACxB,UAAU,EAAE,oBAAoB;QAChC,MAAM,EAAE,gBAAgB;KAC3B;CACJ,CAAC"}
@@ -12,7 +12,7 @@
12
12
  *
13
13
  * @packageDocumentation
14
14
  */
15
- import { ArrayType, BooleanType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType } from "@elaraai/east";
15
+ import { ArrayType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType } from "@elaraai/east";
16
16
  /**
17
17
  * The selected placement's layout, as the canvas draws it.
18
18
  *
@@ -43,10 +43,8 @@ export type InspectorLayoutType = typeof InspectorLayoutType;
43
43
  * @property key - The placement's key — what a layout request names
44
44
  * @property name - Its title, else its component's name, else its component's key
45
45
  * @property component - Its component's key
46
- * @property changed - Its component's code changed since the page went live:
47
- * its fingerprint differs from the one the live version's cell stored
48
- * @property reads - The paths of the datasets its component's code reads, whole
49
- * or a window at a time — the renderer prints each as its keypath (`.inputs.sales_daily`)
46
+ * @property reads - The data its component's code reads, whole or a window at
47
+ * a time, each named in words ({@link readNames}: "Sales daily") — never its keypath
50
48
  * @property description - Its component's description, fixed by its developer
51
49
  * @property layout - Its layout ({@link InspectorLayoutType})
52
50
  */
@@ -54,10 +52,7 @@ export declare const InspectorSelectionType: StructType<{
54
52
  readonly key: StringType;
55
53
  readonly name: StringType;
56
54
  readonly component: StringType;
57
- readonly changed: BooleanType;
58
- readonly reads: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
59
- readonly field: StringType;
60
- }>>>;
55
+ readonly reads: ArrayType<StringType>;
61
56
  readonly description: OptionType<StringType>;
62
57
  readonly layout: StructType<{
63
58
  readonly span: IntegerType;
@@ -85,10 +80,7 @@ export declare const StudioInspectorPayloadType: StructType<{
85
80
  readonly key: StringType;
86
81
  readonly name: StringType;
87
82
  readonly component: StringType;
88
- readonly changed: BooleanType;
89
- readonly reads: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
90
- readonly field: StringType;
91
- }>>>;
83
+ readonly reads: ArrayType<StringType>;
92
84
  readonly description: OptionType<StringType>;
93
85
  readonly layout: StructType<{
94
86
  readonly span: IntegerType;
@@ -125,11 +117,8 @@ export type StudioInspectorPayloadType = typeof StudioInspectorPayloadType;
125
117
  *
126
118
  * @remarks
127
119
  * `cells` are the page's placements as the canvas draws them, its unsaved
128
- * drafts in place; `live` the live version's, whose fingerprints say whether a
129
- * component's code changed since the page went live — a placement the live
130
- * version does not hold has not gone live, and has not changed. A placement
131
- * whose component the surface does not list is named by its component's key,
132
- * reads nothing and has no description.
120
+ * drafts in place. A placement whose component the surface does not list is
121
+ * named by its component's key, reads nothing and has no description.
133
122
  */
134
123
  export declare const inspectorSelection: import("@elaraai/east").CallableFunctionExpr<[ArrayType<StructType<{
135
124
  readonly key: StringType;
@@ -144,7 +133,7 @@ export declare const inspectorSelection: import("@elaraai/east").CallableFunctio
144
133
  }>;
145
134
  readonly tags: ArrayType<StringType>;
146
135
  readonly collections: ArrayType<StringType>;
147
- readonly deprecated: BooleanType;
136
+ readonly deprecated: import("@elaraai/east").BooleanType;
148
137
  readonly reads: StructType<{
149
138
  readonly paths: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
150
139
  readonly field: StringType;
@@ -155,7 +144,6 @@ export declare const inspectorSelection: import("@elaraai/east").CallableFunctio
155
144
  readonly field: StringType;
156
145
  }>>>;
157
146
  }>;
158
- readonly fingerprint: StringType;
159
147
  readonly render: FunctionType<[], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>;
160
148
  }>>, ArrayType<StructType<{
161
149
  readonly key: StringType;
@@ -169,28 +157,11 @@ export declare const inspectorSelection: import("@elaraai/east").CallableFunctio
169
157
  }>;
170
158
  readonly title: OptionType<StringType>;
171
159
  readonly component: StringType;
172
- readonly fingerprint: StringType;
173
- }>>, OptionType<ArrayType<StructType<{
174
- readonly key: StringType;
175
- readonly row: StringType;
176
- readonly span: IntegerType;
177
- readonly height: OptionType<IntegerType>;
178
- readonly align: import("@elaraai/east").VariantType<{
179
- readonly top: NullType;
180
- readonly center: NullType;
181
- readonly stretch: NullType;
182
- }>;
183
- readonly title: OptionType<StringType>;
184
- readonly component: StringType;
185
- readonly fingerprint: StringType;
186
- }>>>, OptionType<StringType>], OptionType<StructType<{
160
+ }>>, OptionType<StringType>], OptionType<StructType<{
187
161
  readonly key: StringType;
188
162
  readonly name: StringType;
189
163
  readonly component: StringType;
190
- readonly changed: BooleanType;
191
- readonly reads: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
192
- readonly field: StringType;
193
- }>>>;
164
+ readonly reads: ArrayType<StringType>;
194
165
  readonly description: OptionType<StringType>;
195
166
  readonly layout: StructType<{
196
167
  readonly span: IntegerType;
@@ -1 +1 @@
1
- {"version":3,"file":"inspector.d.ts","sourceRoot":"","sources":["../../../src/studio/inspector.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;GASG;AAEH,OAAO,EACH,SAAS,EACT,WAAW,EAEX,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,UAAU,EAEV,UAAU,EACV,UAAU,EAGb,MAAM,eAAe,CAAC;AAUvB;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB;;;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