@elaraai/east-ui 1.0.86 → 1.0.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (561) hide show
  1. package/dist/src/buttons/button/index.d.ts +4 -0
  2. package/dist/src/buttons/button/index.d.ts.map +1 -1
  3. package/dist/src/buttons/button/index.js +8 -1
  4. package/dist/src/buttons/button/index.js.map +1 -1
  5. package/dist/src/buttons/button/types.d.ts +6 -5
  6. package/dist/src/buttons/button/types.d.ts.map +1 -1
  7. package/dist/src/buttons/button/types.js.map +1 -1
  8. package/dist/src/buttons/icon-button/index.d.ts +5 -5
  9. package/dist/src/buttons/icon-button/index.d.ts.map +1 -1
  10. package/dist/src/buttons/icon-button/index.js +8 -2
  11. package/dist/src/buttons/icon-button/index.js.map +1 -1
  12. package/dist/src/buttons/icon-button/types.d.ts +8 -12
  13. package/dist/src/buttons/icon-button/types.d.ts.map +1 -1
  14. package/dist/src/buttons/icon-button/types.js +2 -2
  15. package/dist/src/buttons/icon-button/types.js.map +1 -1
  16. package/dist/src/buttons/toggle/index.d.ts +4 -0
  17. package/dist/src/buttons/toggle/index.d.ts.map +1 -1
  18. package/dist/src/buttons/toggle/index.js +6 -1
  19. package/dist/src/buttons/toggle/index.js.map +1 -1
  20. package/dist/src/buttons/toggle/types.d.ts +3 -2
  21. package/dist/src/buttons/toggle/types.d.ts.map +1 -1
  22. package/dist/src/buttons/toggle/types.js.map +1 -1
  23. package/dist/src/charts/chart/index.d.ts.map +1 -1
  24. package/dist/src/charts/chart/index.js +3 -3
  25. package/dist/src/charts/chart/index.js.map +1 -1
  26. package/dist/src/charts/spec/index.d.ts.map +1 -1
  27. package/dist/src/charts/spec/index.js +5 -2
  28. package/dist/src/charts/spec/index.js.map +1 -1
  29. package/dist/src/collections/deck/index.d.ts.map +1 -1
  30. package/dist/src/collections/deck/index.js +2 -2
  31. package/dist/src/collections/deck/index.js.map +1 -1
  32. package/dist/src/collections/index.d.ts +0 -6
  33. package/dist/src/collections/index.d.ts.map +1 -1
  34. package/dist/src/collections/index.js +0 -6
  35. package/dist/src/collections/index.js.map +1 -1
  36. package/dist/src/collections/library/index.d.ts +1 -1
  37. package/dist/src/collections/library/index.d.ts.map +1 -1
  38. package/dist/src/collections/library/index.js +2 -2
  39. package/dist/src/collections/library/index.js.map +1 -1
  40. package/dist/src/collections/schematic/index.d.ts.map +1 -1
  41. package/dist/src/collections/schematic/index.js +2 -2
  42. package/dist/src/collections/schematic/index.js.map +1 -1
  43. package/dist/src/collections/table/index.d.ts +1 -1
  44. package/dist/src/collections/table/index.d.ts.map +1 -1
  45. package/dist/src/collections/table/index.js +2 -2
  46. package/dist/src/collections/table/index.js.map +1 -1
  47. package/dist/src/collections/tree-view/index.d.ts +11 -32
  48. package/dist/src/collections/tree-view/index.d.ts.map +1 -1
  49. package/dist/src/collections/tree-view/index.js +15 -10
  50. package/dist/src/collections/tree-view/index.js.map +1 -1
  51. package/dist/src/component.d.ts +673 -9344
  52. package/dist/src/component.d.ts.map +1 -1
  53. package/dist/src/component.js +5 -259
  54. package/dist/src/component.js.map +1 -1
  55. package/dist/src/contracts/approval.d.ts +6 -8
  56. package/dist/src/contracts/approval.d.ts.map +1 -1
  57. package/dist/src/contracts/approval.js +6 -8
  58. package/dist/src/contracts/approval.js.map +1 -1
  59. package/dist/src/contracts/drag.d.ts +1 -1
  60. package/dist/src/contracts/drag.d.ts.map +1 -1
  61. package/dist/src/contracts/drag.js +4 -5
  62. package/dist/src/contracts/drag.js.map +1 -1
  63. package/dist/src/contracts/editing.d.ts +19 -19
  64. package/dist/src/contracts/editing.js +14 -14
  65. package/dist/src/contracts/fields.d.ts +471 -0
  66. package/dist/src/contracts/fields.d.ts.map +1 -0
  67. package/dist/src/contracts/fields.js +492 -0
  68. package/dist/src/contracts/fields.js.map +1 -0
  69. package/dist/src/contracts/index.d.ts +1 -0
  70. package/dist/src/contracts/index.d.ts.map +1 -1
  71. package/dist/src/contracts/index.js +1 -0
  72. package/dist/src/contracts/index.js.map +1 -1
  73. package/dist/src/contracts/indexed-source.d.ts +118 -0
  74. package/dist/src/contracts/indexed-source.d.ts.map +1 -0
  75. package/dist/src/contracts/indexed-source.js +89 -0
  76. package/dist/src/contracts/indexed-source.js.map +1 -0
  77. package/dist/src/contracts/pick.d.ts +0 -16
  78. package/dist/src/contracts/pick.d.ts.map +1 -1
  79. package/dist/src/contracts/review.d.ts +4 -6
  80. package/dist/src/contracts/review.d.ts.map +1 -1
  81. package/dist/src/contracts/review.js +4 -6
  82. package/dist/src/contracts/review.js.map +1 -1
  83. package/dist/src/contracts/source.d.ts +2 -2
  84. package/dist/src/contracts/source.d.ts.map +1 -1
  85. package/dist/src/contracts/source.js.map +1 -1
  86. package/dist/src/contracts/states.d.ts +1 -3
  87. package/dist/src/contracts/states.d.ts.map +1 -1
  88. package/dist/src/contracts/states.js +1 -3
  89. package/dist/src/contracts/states.js.map +1 -1
  90. package/dist/src/display/editable-chip/index.d.ts +2 -0
  91. package/dist/src/display/editable-chip/index.d.ts.map +1 -1
  92. package/dist/src/display/editable-chip/index.js +4 -1
  93. package/dist/src/display/editable-chip/index.js.map +1 -1
  94. package/dist/src/display/icon/index.d.ts +14 -31
  95. package/dist/src/display/icon/index.d.ts.map +1 -1
  96. package/dist/src/display/icon/index.js +15 -19
  97. package/dist/src/display/icon/index.js.map +1 -1
  98. package/dist/src/display/icon/solid.d.ts +24 -0
  99. package/dist/src/display/icon/solid.d.ts.map +1 -0
  100. package/dist/src/display/icon/solid.js +39 -0
  101. package/dist/src/display/icon/solid.js.map +1 -0
  102. package/dist/src/display/icon/types.d.ts +14 -38
  103. package/dist/src/display/icon/types.d.ts.map +1 -1
  104. package/dist/src/display/icon/types.js +6 -15
  105. package/dist/src/display/icon/types.js.map +1 -1
  106. package/dist/src/display/metric-chip/index.d.ts +2 -0
  107. package/dist/src/display/metric-chip/index.d.ts.map +1 -1
  108. package/dist/src/display/metric-chip/index.js +4 -1
  109. package/dist/src/display/metric-chip/index.js.map +1 -1
  110. package/dist/src/display/stat/index.d.ts +2 -0
  111. package/dist/src/display/stat/index.d.ts.map +1 -1
  112. package/dist/src/display/stat/index.js +4 -1
  113. package/dist/src/display/stat/index.js.map +1 -1
  114. package/dist/src/display/stat/types.d.ts +3 -5
  115. package/dist/src/display/stat/types.d.ts.map +1 -1
  116. package/dist/src/display/stat/types.js +5 -2
  117. package/dist/src/display/stat/types.js.map +1 -1
  118. package/dist/src/feedback/banner/index.d.ts +5 -3
  119. package/dist/src/feedback/banner/index.d.ts.map +1 -1
  120. package/dist/src/feedback/banner/index.js +4 -1
  121. package/dist/src/feedback/banner/index.js.map +1 -1
  122. package/dist/src/feedback/empty-state/index.d.ts +16 -19
  123. package/dist/src/feedback/empty-state/index.d.ts.map +1 -1
  124. package/dist/src/feedback/empty-state/index.js +17 -10
  125. package/dist/src/feedback/empty-state/index.js.map +1 -1
  126. package/dist/src/feedback/status/index.d.ts +5 -3
  127. package/dist/src/feedback/status/index.d.ts.map +1 -1
  128. package/dist/src/feedback/status/index.js +4 -1
  129. package/dist/src/feedback/status/index.js.map +1 -1
  130. package/dist/src/index.d.ts +5 -6
  131. package/dist/src/index.d.ts.map +1 -1
  132. package/dist/src/index.js +12 -11
  133. package/dist/src/index.js.map +1 -1
  134. package/dist/src/internal.d.ts +23 -16
  135. package/dist/src/internal.d.ts.map +1 -1
  136. package/dist/src/internal.js +29 -13
  137. package/dist/src/internal.js.map +1 -1
  138. package/dist/src/navigation/index.d.ts +0 -2
  139. package/dist/src/navigation/index.d.ts.map +1 -1
  140. package/dist/src/navigation/index.js +0 -2
  141. package/dist/src/navigation/index.js.map +1 -1
  142. package/dist/src/navigation/nav-list/index.d.ts +2 -0
  143. package/dist/src/navigation/nav-list/index.d.ts.map +1 -1
  144. package/dist/src/navigation/nav-list/index.js +4 -1
  145. package/dist/src/navigation/nav-list/index.js.map +1 -1
  146. package/dist/src/navigation/nav-list/types.d.ts +3 -14
  147. package/dist/src/navigation/nav-list/types.d.ts.map +1 -1
  148. package/dist/src/navigation/nav-list/types.js.map +1 -1
  149. package/dist/src/overlays/command-palette/index.d.ts +2 -0
  150. package/dist/src/overlays/command-palette/index.d.ts.map +1 -1
  151. package/dist/src/overlays/command-palette/index.js +5 -0
  152. package/dist/src/overlays/command-palette/index.js.map +1 -1
  153. package/dist/src/overlays/command-palette/types.d.ts +0 -8
  154. package/dist/src/overlays/command-palette/types.d.ts.map +1 -1
  155. package/dist/src/pick/index.d.ts +1 -17
  156. package/dist/src/pick/index.d.ts.map +1 -1
  157. package/dist/src/pick/index.js +1 -1
  158. package/dist/src/platform/slice/index.d.ts +1324 -2039
  159. package/dist/src/platform/slice/index.d.ts.map +1 -1
  160. package/dist/src/platform/slice/index.js +55 -74
  161. package/dist/src/platform/slice/index.js.map +1 -1
  162. package/dist/src/platform/slice/local.d.ts +743 -0
  163. package/dist/src/platform/slice/local.d.ts.map +1 -0
  164. package/dist/src/platform/slice/local.js +133 -0
  165. package/dist/src/platform/slice/local.js.map +1 -0
  166. package/dist/src/platform/slice/record-chrome.d.ts +211 -0
  167. package/dist/src/platform/slice/record-chrome.d.ts.map +1 -0
  168. package/dist/src/platform/slice/record-chrome.js +52 -0
  169. package/dist/src/platform/slice/record-chrome.js.map +1 -0
  170. package/dist/src/platform/slice/record-interval.d.ts +24 -0
  171. package/dist/src/platform/slice/record-interval.d.ts.map +1 -0
  172. package/dist/src/platform/slice/record-interval.js +61 -0
  173. package/dist/src/platform/slice/record-interval.js.map +1 -0
  174. package/dist/src/platform/slice/record-plan.d.ts +54 -0
  175. package/dist/src/platform/slice/record-plan.d.ts.map +1 -0
  176. package/dist/src/platform/slice/record-plan.js +139 -0
  177. package/dist/src/platform/slice/record-plan.js.map +1 -0
  178. package/dist/src/platform/slice/record-types.d.ts +2739 -0
  179. package/dist/src/platform/slice/record-types.d.ts.map +1 -0
  180. package/dist/src/platform/slice/record-types.js +209 -0
  181. package/dist/src/platform/slice/record-types.js.map +1 -0
  182. package/dist/src/platform/slice/record.d.ts +109 -0
  183. package/dist/src/platform/slice/record.d.ts.map +1 -0
  184. package/dist/src/platform/slice/record.js +210 -0
  185. package/dist/src/platform/slice/record.js.map +1 -0
  186. package/dist/src/reactive/match.d.ts +4 -6
  187. package/dist/src/reactive/match.d.ts.map +1 -1
  188. package/dist/src/reactive/match.js +4 -6
  189. package/dist/src/reactive/match.js.map +1 -1
  190. package/dist/src/runtime/collections/deck.d.ts.map +1 -1
  191. package/dist/src/runtime/collections/index.d.ts +0 -6
  192. package/dist/src/runtime/collections/index.d.ts.map +1 -1
  193. package/dist/src/runtime/collections/index.js +0 -6
  194. package/dist/src/runtime/collections/index.js.map +1 -1
  195. package/dist/src/runtime/display/icon.d.ts +6 -5
  196. package/dist/src/runtime/display/icon.d.ts.map +1 -1
  197. package/dist/src/runtime/display/icon.js +6 -5
  198. package/dist/src/runtime/display/icon.js.map +1 -1
  199. package/dist/src/runtime/feedback/empty-state.d.ts +5 -5
  200. package/dist/src/runtime/feedback/empty-state.js +5 -5
  201. package/dist/src/runtime/layout/dock.d.ts +2 -1
  202. package/dist/src/runtime/layout/dock.d.ts.map +1 -1
  203. package/dist/src/runtime/layout/dock.js +2 -1
  204. package/dist/src/runtime/layout/dock.js.map +1 -1
  205. package/dist/src/runtime/navigation/index.d.ts +0 -3
  206. package/dist/src/runtime/navigation/index.d.ts.map +1 -1
  207. package/dist/src/runtime/navigation/index.js +0 -3
  208. package/dist/src/runtime/navigation/index.js.map +1 -1
  209. package/dist/src/runtime/reactive/match.d.ts +2 -3
  210. package/dist/src/runtime/reactive/match.d.ts.map +1 -1
  211. package/dist/src/runtime/reactive/match.js +2 -3
  212. package/dist/src/runtime/reactive/match.js.map +1 -1
  213. package/dist/src/runtime/record-slice-source.d.ts +78 -0
  214. package/dist/src/runtime/record-slice-source.d.ts.map +1 -0
  215. package/dist/src/runtime/record-slice-source.js +201 -0
  216. package/dist/src/runtime/record-slice-source.js.map +1 -0
  217. package/dist/src/runtime/record-slice.d.ts +110 -0
  218. package/dist/src/runtime/record-slice.d.ts.map +1 -0
  219. package/dist/src/runtime/record-slice.js +374 -0
  220. package/dist/src/runtime/record-slice.js.map +1 -0
  221. package/dist/src/runtime/slice.d.ts +11 -13
  222. package/dist/src/runtime/slice.d.ts.map +1 -1
  223. package/dist/src/runtime/slice.js +41 -93
  224. package/dist/src/runtime/slice.js.map +1 -1
  225. package/dist/src/shared/plot-gutter.d.ts +1 -1
  226. package/dist/src/shared/plot-gutter.js +1 -1
  227. package/dist/src/shared/resolve-tag.d.ts +23 -0
  228. package/dist/src/shared/resolve-tag.d.ts.map +1 -0
  229. package/dist/src/shared/resolve-tag.js +26 -0
  230. package/dist/src/shared/resolve-tag.js.map +1 -0
  231. package/dist/src/shared/tree.d.ts +1 -1
  232. package/dist/src/shared/tree.js +1 -1
  233. package/dist/src/slice/breakdown/index.d.ts +1 -1
  234. package/dist/src/slice/breakdown/index.d.ts.map +1 -1
  235. package/dist/src/slice/breakdown/index.js +3 -3
  236. package/dist/src/slice/breakdown/index.js.map +1 -1
  237. package/dist/src/slice/cohort/index.d.ts +4 -5
  238. package/dist/src/slice/cohort/index.d.ts.map +1 -1
  239. package/dist/src/slice/cohort/index.js +6 -7
  240. package/dist/src/slice/cohort/index.js.map +1 -1
  241. package/dist/src/slice/filter/index.d.ts +1 -1
  242. package/dist/src/slice/filter/index.d.ts.map +1 -1
  243. package/dist/src/slice/filter/index.js +3 -3
  244. package/dist/src/slice/filter/index.js.map +1 -1
  245. package/dist/src/slice/index.d.ts +20 -2230
  246. package/dist/src/slice/index.d.ts.map +1 -1
  247. package/dist/src/slice/legend/index.d.ts +2 -2
  248. package/dist/src/slice/legend/index.d.ts.map +1 -1
  249. package/dist/src/slice/legend/index.js +4 -4
  250. package/dist/src/slice/legend/index.js.map +1 -1
  251. package/dist/src/slice/rail/index.d.ts +7 -4
  252. package/dist/src/slice/rail/index.d.ts.map +1 -1
  253. package/dist/src/slice/rail/index.js +10 -5
  254. package/dist/src/slice/rail/index.js.map +1 -1
  255. package/dist/src/slice/range/index.d.ts +1 -1
  256. package/dist/src/slice/range/index.d.ts.map +1 -1
  257. package/dist/src/slice/range/index.js +3 -3
  258. package/dist/src/slice/range/index.js.map +1 -1
  259. package/dist/src/slice/record/index.d.ts +171 -0
  260. package/dist/src/slice/record/index.d.ts.map +1 -0
  261. package/dist/src/slice/record/index.js +10 -0
  262. package/dist/src/slice/record/index.js.map +1 -0
  263. package/dist/src/slice/search/index.d.ts +6 -6
  264. package/dist/src/slice/search/index.d.ts.map +1 -1
  265. package/dist/src/slice/search/index.js +7 -7
  266. package/dist/src/slice/search/index.js.map +1 -1
  267. package/dist/src/slice/summary/index.d.ts +1 -1
  268. package/dist/src/slice/summary/index.d.ts.map +1 -1
  269. package/dist/src/slice/summary/index.js +3 -3
  270. package/dist/src/slice/summary/index.js.map +1 -1
  271. package/dist/src/typography/list/index.d.ts +2 -8
  272. package/dist/src/typography/list/index.d.ts.map +1 -1
  273. package/dist/src/typography/list/index.js +4 -1
  274. package/dist/src/typography/list/index.js.map +1 -1
  275. package/dist/src/typography/list/types.d.ts +0 -8
  276. package/dist/src/typography/list/types.d.ts.map +1 -1
  277. package/dist/test/collections/deck.examples.d.ts.map +1 -1
  278. package/dist/test/collections/deck.examples.js +6 -7
  279. package/dist/test/collections/deck.examples.js.map +1 -1
  280. package/dist/test/collections/index.d.ts +0 -1
  281. package/dist/test/collections/index.d.ts.map +1 -1
  282. package/dist/test/collections/index.js +0 -1
  283. package/dist/test/collections/index.js.map +1 -1
  284. package/dist/test/collections/library.examples.d.ts.map +1 -1
  285. package/dist/test/collections/library.examples.js +6 -7
  286. package/dist/test/collections/library.examples.js.map +1 -1
  287. package/dist/test/collections/schematic.examples.d.ts.map +1 -1
  288. package/dist/test/collections/schematic.examples.js +11 -19
  289. package/dist/test/collections/schematic.examples.js.map +1 -1
  290. package/dist/test/collections/tree-view.examples.js +2 -2
  291. package/dist/test/contracts/editing.examples.d.ts +1 -0
  292. package/dist/test/contracts/editing.examples.d.ts.map +1 -1
  293. package/dist/test/contracts/editing.examples.js +37 -6
  294. package/dist/test/contracts/editing.examples.js.map +1 -1
  295. package/dist/test/contracts/fields.examples.d.ts +7 -0
  296. package/dist/test/contracts/fields.examples.d.ts.map +1 -0
  297. package/dist/test/contracts/fields.examples.js +42 -0
  298. package/dist/test/contracts/fields.examples.js.map +1 -0
  299. package/dist/test/display/avatar.examples.d.ts.map +1 -1
  300. package/dist/test/display/avatar.examples.js +3 -3
  301. package/dist/test/display/avatar.examples.js.map +1 -1
  302. package/dist/test/display/icon.examples.d.ts.map +1 -1
  303. package/dist/test/display/icon.examples.js +12 -11
  304. package/dist/test/display/icon.examples.js.map +1 -1
  305. package/dist/test/feedback/empty-state.examples.js +9 -9
  306. package/dist/test/feedback/empty-state.examples.js.map +1 -1
  307. package/dist/test/layout/dock.examples.d.ts +0 -8
  308. package/dist/test/layout/dock.examples.d.ts.map +1 -1
  309. package/dist/test/layout/dock.examples.js +2 -42
  310. package/dist/test/layout/dock.examples.js.map +1 -1
  311. package/dist/test/layout/snap-grid.examples.d.ts.map +1 -1
  312. package/dist/test/layout/snap-grid.examples.js +18 -28
  313. package/dist/test/layout/snap-grid.examples.js.map +1 -1
  314. package/dist/test/navigation/index.d.ts +0 -2
  315. package/dist/test/navigation/index.d.ts.map +1 -1
  316. package/dist/test/navigation/index.js +0 -2
  317. package/dist/test/navigation/index.js.map +1 -1
  318. package/dist/test/navigation/nav-list.examples.js.map +1 -1
  319. package/dist/test/platform/index.d.ts +1 -0
  320. package/dist/test/platform/index.d.ts.map +1 -1
  321. package/dist/test/platform/index.js +1 -0
  322. package/dist/test/platform/index.js.map +1 -1
  323. package/dist/test/platform/slice-local.examples.d.ts +2 -0
  324. package/dist/test/platform/slice-local.examples.d.ts.map +1 -0
  325. package/dist/test/platform/slice-local.examples.js +31 -0
  326. package/dist/test/platform/slice-local.examples.js.map +1 -0
  327. package/dist/test/platform/slice.examples.js +61 -61
  328. package/dist/test/platform/slice.examples.js.map +1 -1
  329. package/dist/test/slice/slice.examples.d.ts +0 -1
  330. package/dist/test/slice/slice.examples.d.ts.map +1 -1
  331. package/dist/test/slice/slice.examples.js +67 -181
  332. package/dist/test/slice/slice.examples.js.map +1 -1
  333. package/package.json +4 -4
  334. package/dist/src/collections/board/index.d.ts +0 -855
  335. package/dist/src/collections/board/index.d.ts.map +0 -1
  336. package/dist/src/collections/board/index.js +0 -416
  337. package/dist/src/collections/board/index.js.map +0 -1
  338. package/dist/src/collections/board/types.d.ts +0 -111
  339. package/dist/src/collections/board/types.d.ts.map +0 -1
  340. package/dist/src/collections/board/types.js +0 -89
  341. package/dist/src/collections/board/types.js.map +0 -1
  342. package/dist/src/collections/calendar/index.d.ts +0 -446
  343. package/dist/src/collections/calendar/index.d.ts.map +0 -1
  344. package/dist/src/collections/calendar/index.js +0 -287
  345. package/dist/src/collections/calendar/index.js.map +0 -1
  346. package/dist/src/collections/calendar/types.d.ts +0 -338
  347. package/dist/src/collections/calendar/types.d.ts.map +0 -1
  348. package/dist/src/collections/calendar/types.js +0 -206
  349. package/dist/src/collections/calendar/types.js.map +0 -1
  350. package/dist/src/collections/flowchart/index.d.ts +0 -430
  351. package/dist/src/collections/flowchart/index.d.ts.map +0 -1
  352. package/dist/src/collections/flowchart/index.js +0 -292
  353. package/dist/src/collections/flowchart/index.js.map +0 -1
  354. package/dist/src/collections/flowchart/types.d.ts +0 -333
  355. package/dist/src/collections/flowchart/types.d.ts.map +0 -1
  356. package/dist/src/collections/flowchart/types.js +0 -263
  357. package/dist/src/collections/flowchart/types.js.map +0 -1
  358. package/dist/src/collections/plan/assemble.d.ts +0 -2274
  359. package/dist/src/collections/plan/assemble.d.ts.map +0 -1
  360. package/dist/src/collections/plan/assemble.js +0 -210
  361. package/dist/src/collections/plan/assemble.js.map +0 -1
  362. package/dist/src/collections/plan/builders.d.ts +0 -765
  363. package/dist/src/collections/plan/builders.d.ts.map +0 -1
  364. package/dist/src/collections/plan/builders.js +0 -673
  365. package/dist/src/collections/plan/builders.js.map +0 -1
  366. package/dist/src/collections/plan/factories.d.ts +0 -512
  367. package/dist/src/collections/plan/factories.d.ts.map +0 -1
  368. package/dist/src/collections/plan/factories.js +0 -539
  369. package/dist/src/collections/plan/factories.js.map +0 -1
  370. package/dist/src/collections/plan/index.d.ts +0 -324
  371. package/dist/src/collections/plan/index.d.ts.map +0 -1
  372. package/dist/src/collections/plan/index.js +0 -193
  373. package/dist/src/collections/plan/index.js.map +0 -1
  374. package/dist/src/collections/plan/ir.d.ts +0 -2490
  375. package/dist/src/collections/plan/ir.d.ts.map +0 -1
  376. package/dist/src/collections/plan/ir.js +0 -107
  377. package/dist/src/collections/plan/ir.js.map +0 -1
  378. package/dist/src/collections/plan/pick.d.ts +0 -133
  379. package/dist/src/collections/plan/pick.d.ts.map +0 -1
  380. package/dist/src/collections/plan/pick.js +0 -208
  381. package/dist/src/collections/plan/pick.js.map +0 -1
  382. package/dist/src/collections/plan/root.d.ts +0 -297
  383. package/dist/src/collections/plan/root.d.ts.map +0 -1
  384. package/dist/src/collections/plan/root.js +0 -427
  385. package/dist/src/collections/plan/root.js.map +0 -1
  386. package/dist/src/collections/plan/series.d.ts +0 -13887
  387. package/dist/src/collections/plan/series.d.ts.map +0 -1
  388. package/dist/src/collections/plan/series.js +0 -1710
  389. package/dist/src/collections/plan/series.js.map +0 -1
  390. package/dist/src/collections/plan/types.d.ts +0 -12612
  391. package/dist/src/collections/plan/types.d.ts.map +0 -1
  392. package/dist/src/collections/plan/types.js +0 -1345
  393. package/dist/src/collections/plan/types.js.map +0 -1
  394. package/dist/src/collections/roster/index.d.ts +0 -787
  395. package/dist/src/collections/roster/index.d.ts.map +0 -1
  396. package/dist/src/collections/roster/index.js +0 -325
  397. package/dist/src/collections/roster/index.js.map +0 -1
  398. package/dist/src/collections/roster/types.d.ts +0 -97
  399. package/dist/src/collections/roster/types.d.ts.map +0 -1
  400. package/dist/src/collections/roster/types.js +0 -72
  401. package/dist/src/collections/roster/types.js.map +0 -1
  402. package/dist/src/collections/sheet/bridge.d.ts +0 -376
  403. package/dist/src/collections/sheet/bridge.d.ts.map +0 -1
  404. package/dist/src/collections/sheet/bridge.js +0 -773
  405. package/dist/src/collections/sheet/bridge.js.map +0 -1
  406. package/dist/src/collections/sheet/columns.d.ts +0 -410
  407. package/dist/src/collections/sheet/columns.d.ts.map +0 -1
  408. package/dist/src/collections/sheet/columns.js +0 -99
  409. package/dist/src/collections/sheet/columns.js.map +0 -1
  410. package/dist/src/collections/sheet/context-bridge.d.ts +0 -48
  411. package/dist/src/collections/sheet/context-bridge.d.ts.map +0 -1
  412. package/dist/src/collections/sheet/context-bridge.js +0 -216
  413. package/dist/src/collections/sheet/context-bridge.js.map +0 -1
  414. package/dist/src/collections/sheet/draft-bridge.d.ts +0 -37
  415. package/dist/src/collections/sheet/draft-bridge.d.ts.map +0 -1
  416. package/dist/src/collections/sheet/draft-bridge.js +0 -153
  417. package/dist/src/collections/sheet/draft-bridge.js.map +0 -1
  418. package/dist/src/collections/sheet/drafts.d.ts +0 -14
  419. package/dist/src/collections/sheet/drafts.d.ts.map +0 -1
  420. package/dist/src/collections/sheet/drafts.js +0 -14
  421. package/dist/src/collections/sheet/drafts.js.map +0 -1
  422. package/dist/src/collections/sheet/editing-bridge.d.ts +0 -36
  423. package/dist/src/collections/sheet/editing-bridge.d.ts.map +0 -1
  424. package/dist/src/collections/sheet/editing-bridge.js +0 -196
  425. package/dist/src/collections/sheet/editing-bridge.js.map +0 -1
  426. package/dist/src/collections/sheet/editing-types.d.ts +0 -268
  427. package/dist/src/collections/sheet/editing-types.d.ts.map +0 -1
  428. package/dist/src/collections/sheet/editing-types.js +0 -34
  429. package/dist/src/collections/sheet/editing-types.js.map +0 -1
  430. package/dist/src/collections/sheet/edits.d.ts +0 -37
  431. package/dist/src/collections/sheet/edits.d.ts.map +0 -1
  432. package/dist/src/collections/sheet/edits.js +0 -31
  433. package/dist/src/collections/sheet/edits.js.map +0 -1
  434. package/dist/src/collections/sheet/group.d.ts +0 -165
  435. package/dist/src/collections/sheet/group.d.ts.map +0 -1
  436. package/dist/src/collections/sheet/group.js +0 -52
  437. package/dist/src/collections/sheet/group.js.map +0 -1
  438. package/dist/src/collections/sheet/index.d.ts +0 -351
  439. package/dist/src/collections/sheet/index.d.ts.map +0 -1
  440. package/dist/src/collections/sheet/index.js +0 -208
  441. package/dist/src/collections/sheet/index.js.map +0 -1
  442. package/dist/src/collections/sheet/link.d.ts +0 -398
  443. package/dist/src/collections/sheet/link.d.ts.map +0 -1
  444. package/dist/src/collections/sheet/link.js +0 -228
  445. package/dist/src/collections/sheet/link.js.map +0 -1
  446. package/dist/src/collections/sheet/registers.d.ts +0 -278
  447. package/dist/src/collections/sheet/registers.d.ts.map +0 -1
  448. package/dist/src/collections/sheet/registers.js +0 -268
  449. package/dist/src/collections/sheet/registers.js.map +0 -1
  450. package/dist/src/collections/sheet/root.d.ts +0 -328
  451. package/dist/src/collections/sheet/root.d.ts.map +0 -1
  452. package/dist/src/collections/sheet/root.js +0 -432
  453. package/dist/src/collections/sheet/root.js.map +0 -1
  454. package/dist/src/collections/sheet/seed-bridge.d.ts +0 -14
  455. package/dist/src/collections/sheet/seed-bridge.d.ts.map +0 -1
  456. package/dist/src/collections/sheet/seed-bridge.js +0 -51
  457. package/dist/src/collections/sheet/seed-bridge.js.map +0 -1
  458. package/dist/src/collections/sheet/sub-rows.d.ts +0 -249
  459. package/dist/src/collections/sheet/sub-rows.d.ts.map +0 -1
  460. package/dist/src/collections/sheet/sub-rows.js +0 -222
  461. package/dist/src/collections/sheet/sub-rows.js.map +0 -1
  462. package/dist/src/collections/sheet/transactions.d.ts +0 -76
  463. package/dist/src/collections/sheet/transactions.d.ts.map +0 -1
  464. package/dist/src/collections/sheet/transactions.js +0 -40
  465. package/dist/src/collections/sheet/transactions.js.map +0 -1
  466. package/dist/src/collections/sheet/types.d.ts +0 -14992
  467. package/dist/src/collections/sheet/types.d.ts.map +0 -1
  468. package/dist/src/collections/sheet/types.js +0 -1061
  469. package/dist/src/collections/sheet/types.js.map +0 -1
  470. package/dist/src/navigation/app/index.d.ts +0 -150
  471. package/dist/src/navigation/app/index.d.ts.map +0 -1
  472. package/dist/src/navigation/app/index.js +0 -191
  473. package/dist/src/navigation/app/index.js.map +0 -1
  474. package/dist/src/navigation/pages/index.d.ts +0 -165
  475. package/dist/src/navigation/pages/index.d.ts.map +0 -1
  476. package/dist/src/navigation/pages/index.js +0 -152
  477. package/dist/src/navigation/pages/index.js.map +0 -1
  478. package/dist/src/navigation/pages/types.d.ts +0 -111
  479. package/dist/src/navigation/pages/types.d.ts.map +0 -1
  480. package/dist/src/navigation/pages/types.js +0 -101
  481. package/dist/src/navigation/pages/types.js.map +0 -1
  482. package/dist/src/runtime/collections/board.d.ts +0 -73
  483. package/dist/src/runtime/collections/board.d.ts.map +0 -1
  484. package/dist/src/runtime/collections/board.js +0 -68
  485. package/dist/src/runtime/collections/board.js.map +0 -1
  486. package/dist/src/runtime/collections/calendar.d.ts +0 -54
  487. package/dist/src/runtime/collections/calendar.d.ts.map +0 -1
  488. package/dist/src/runtime/collections/calendar.js +0 -54
  489. package/dist/src/runtime/collections/calendar.js.map +0 -1
  490. package/dist/src/runtime/collections/flowchart.d.ts +0 -58
  491. package/dist/src/runtime/collections/flowchart.d.ts.map +0 -1
  492. package/dist/src/runtime/collections/flowchart.js +0 -54
  493. package/dist/src/runtime/collections/flowchart.js.map +0 -1
  494. package/dist/src/runtime/collections/plan.d.ts +0 -181
  495. package/dist/src/runtime/collections/plan.d.ts.map +0 -1
  496. package/dist/src/runtime/collections/plan.js +0 -186
  497. package/dist/src/runtime/collections/plan.js.map +0 -1
  498. package/dist/src/runtime/collections/roster.d.ts +0 -60
  499. package/dist/src/runtime/collections/roster.d.ts.map +0 -1
  500. package/dist/src/runtime/collections/roster.js +0 -59
  501. package/dist/src/runtime/collections/roster.js.map +0 -1
  502. package/dist/src/runtime/collections/sheet.d.ts +0 -122
  503. package/dist/src/runtime/collections/sheet.d.ts.map +0 -1
  504. package/dist/src/runtime/collections/sheet.js +0 -73
  505. package/dist/src/runtime/collections/sheet.js.map +0 -1
  506. package/dist/src/runtime/navigation/app.d.ts +0 -52
  507. package/dist/src/runtime/navigation/app.d.ts.map +0 -1
  508. package/dist/src/runtime/navigation/app.js +0 -53
  509. package/dist/src/runtime/navigation/app.js.map +0 -1
  510. package/dist/src/runtime/navigation/pages.d.ts +0 -50
  511. package/dist/src/runtime/navigation/pages.d.ts.map +0 -1
  512. package/dist/src/runtime/navigation/pages.js +0 -52
  513. package/dist/src/runtime/navigation/pages.js.map +0 -1
  514. package/dist/src/runtime/navigation/route.d.ts +0 -46
  515. package/dist/src/runtime/navigation/route.d.ts.map +0 -1
  516. package/dist/src/runtime/navigation/route.js +0 -47
  517. package/dist/src/runtime/navigation/route.js.map +0 -1
  518. package/dist/test/collections/board.examples.d.ts +0 -18
  519. package/dist/test/collections/board.examples.d.ts.map +0 -1
  520. package/dist/test/collections/board.examples.js +0 -297
  521. package/dist/test/collections/board.examples.js.map +0 -1
  522. package/dist/test/collections/calendar.examples.d.ts +0 -5
  523. package/dist/test/collections/calendar.examples.d.ts.map +0 -1
  524. package/dist/test/collections/calendar.examples.js +0 -147
  525. package/dist/test/collections/calendar.examples.js.map +0 -1
  526. package/dist/test/collections/flowchart.examples.d.ts +0 -17
  527. package/dist/test/collections/flowchart.examples.d.ts.map +0 -1
  528. package/dist/test/collections/flowchart.examples.js +0 -243
  529. package/dist/test/collections/flowchart.examples.js.map +0 -1
  530. package/dist/test/collections/plan.examples.d.ts +0 -200
  531. package/dist/test/collections/plan.examples.d.ts.map +0 -1
  532. package/dist/test/collections/plan.examples.js +0 -3665
  533. package/dist/test/collections/plan.examples.js.map +0 -1
  534. package/dist/test/collections/roster.examples.d.ts +0 -26
  535. package/dist/test/collections/roster.examples.d.ts.map +0 -1
  536. package/dist/test/collections/roster.examples.js +0 -237
  537. package/dist/test/collections/roster.examples.js.map +0 -1
  538. package/dist/test/collections/sheet-link.examples.d.ts +0 -7
  539. package/dist/test/collections/sheet-link.examples.d.ts.map +0 -1
  540. package/dist/test/collections/sheet-link.examples.js +0 -41
  541. package/dist/test/collections/sheet-link.examples.js.map +0 -1
  542. package/dist/test/collections/sheet-transactions.examples.d.ts +0 -7
  543. package/dist/test/collections/sheet-transactions.examples.d.ts.map +0 -1
  544. package/dist/test/collections/sheet-transactions.examples.js +0 -58
  545. package/dist/test/collections/sheet-transactions.examples.js.map +0 -1
  546. package/dist/test/collections/sheet.examples.d.ts +0 -96
  547. package/dist/test/collections/sheet.examples.d.ts.map +0 -1
  548. package/dist/test/collections/sheet.examples.js +0 -1040
  549. package/dist/test/collections/sheet.examples.js.map +0 -1
  550. package/dist/test/navigation/app.examples.d.ts +0 -22
  551. package/dist/test/navigation/app.examples.d.ts.map +0 -1
  552. package/dist/test/navigation/app.examples.js +0 -136
  553. package/dist/test/navigation/app.examples.js.map +0 -1
  554. package/dist/test/navigation/pages.examples.d.ts +0 -13
  555. package/dist/test/navigation/pages.examples.d.ts.map +0 -1
  556. package/dist/test/navigation/pages.examples.js +0 -113
  557. package/dist/test/navigation/pages.examples.js.map +0 -1
  558. package/dist/test/navigation/route.examples.d.ts +0 -13
  559. package/dist/test/navigation/route.examples.d.ts.map +0 -1
  560. package/dist/test/navigation/route.examples.js +0 -69
  561. package/dist/test/navigation/route.examples.js.map +0 -1
@@ -0,0 +1,471 @@
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 fields contract (#1147) — a typed form over an East struct: the form a
7
+ * builder's inspector shows for what it has selected. Each field's editor
8
+ * comes from its East type, and a hint adds only what a type cannot say — a
9
+ * label, a unit, the words for a variant's cases, the keyed set a String
10
+ * names. A hint is checked against the field it is given to, so
11
+ * `Fields.number` on a String field fails to compile.
12
+ *
13
+ * `Fields.specs(R, hints)` resolves a struct's fields and hints into the
14
+ * closed {@link FieldSpecType} a renderer reads: east-ui-components'
15
+ * `FieldForm` draws each as the shared `Field` around the shared input its
16
+ * type takes. It is a shared part, never an East component — e3-ui's
17
+ * builders carry the specs in their payloads: the Sheet's and the Plan's
18
+ * inspectors, and the Calendar's, whose `Calendar.field` is `Fields`.
19
+ *
20
+ * | Field type | Editor with no hint | Hint |
21
+ * |---|---|---|
22
+ * | `String` | Text | `Fields.text`, `Fields.reference` |
23
+ * | `Integer`, `Float` | Number, with its steppers | `Fields.number` (bigints for an Integer field, numbers for a Float) |
24
+ * | `Boolean` | Checkbox | — |
25
+ * | `DateTime` | Date and time | — |
26
+ * | A variant of empty cases | Select, each case's name spelled out | `Fields.select` |
27
+ * | `Set<String>`, `Array<String>` | Tags, typed freely | `Fields.tags` |
28
+ * | `Array` of a struct with one String and one Boolean field | Checklist | `Fields.checklist` |
29
+ * | A struct | Its fields, grouped under its name | a hint per nested field |
30
+ * | `Option<T>` | `T`'s editor, which can be cleared | `T`'s hint |
31
+ * | Anything else | Printed, read-only | `Fields.readonly`; `Fields.hidden` hides any field |
32
+ *
33
+ * A field's type is told by East's own `isTypeEqual`.
34
+ *
35
+ * @packageDocumentation
36
+ */
37
+ import { ArrayType, BooleanType, DateTimeType, FloatType, IntegerType, NullType, OptionType, SetType, StringType, StructType, VariantType, type ValueTypeOf } from "@elaraai/east";
38
+ /**
39
+ * One choice of a select: a case of the field's variant, and its words.
40
+ *
41
+ * @property case - The case's name
42
+ * @property label - What the select shows for it
43
+ */
44
+ export declare const FieldOptionType: StructType<{
45
+ readonly case: StringType;
46
+ readonly label: StringType;
47
+ }>;
48
+ /**
49
+ * How a field is edited — the closed set of editors a renderer draws. Which
50
+ * input draws one is the field's type's: an Integer's or a Float's number, a
51
+ * Set's or an Array's tags.
52
+ *
53
+ * @property text - A text box, showing `placeholder` while empty
54
+ * @property number - A number with its steppers, moved by `step`, clamped to `min` and `max`; its `unit` and bounds in the line under it
55
+ * @property checkbox - A checkbox
56
+ * @property datetime - A date and a time — or, at `precision`, a date or a time alone (a host's choice: the Sheet's inspector picks a date at a date column's level, #1188)
57
+ * @property select - A choice of the variant's cases, each with its words
58
+ * @property tags - Values typed freely, `options` suggested as they are typed
59
+ * @property checklist - Items each with its done box: the item struct's `text` and `done` fields
60
+ * @property reference - A key of the keyed set the host lists under `of`
61
+ * @property readonly - Printed, never edited
62
+ */
63
+ export declare const FieldEditorType: VariantType<{
64
+ readonly text: StructType<{
65
+ readonly placeholder: OptionType<StringType>;
66
+ }>;
67
+ readonly number: StructType<{
68
+ readonly unit: OptionType<StringType>;
69
+ readonly step: OptionType<FloatType>;
70
+ readonly min: OptionType<FloatType>;
71
+ readonly max: OptionType<FloatType>;
72
+ }>;
73
+ readonly checkbox: NullType;
74
+ readonly datetime: StructType<{
75
+ readonly precision: OptionType<VariantType<{
76
+ readonly date: NullType;
77
+ readonly time: NullType;
78
+ readonly datetime: NullType;
79
+ }>>;
80
+ }>;
81
+ readonly select: ArrayType<StructType<{
82
+ readonly case: StringType;
83
+ readonly label: StringType;
84
+ }>>;
85
+ readonly tags: StructType<{
86
+ readonly options: ArrayType<StringType>;
87
+ }>;
88
+ readonly checklist: StructType<{
89
+ readonly text: StringType;
90
+ readonly done: StringType;
91
+ }>;
92
+ readonly reference: StructType<{
93
+ readonly of: StringType;
94
+ }>;
95
+ readonly readonly: NullType;
96
+ }>;
97
+ /**
98
+ * One field of a form, resolved: where it is, what it is called, how it is
99
+ * edited, and its type, to read and write its value.
100
+ *
101
+ * @property path - The field's names from the struct down — one name, or a nested struct's field under its own
102
+ * @property label - Its label
103
+ * @property help - A line under it, the hint's
104
+ * @property group - The nested struct it sits in, as its heading names it (`Address`, `Address · Geo`)
105
+ * @property type - The field's East type, an `Option` included: what its value is read and written as
106
+ * @property optional - Whether it is an `Option`, which its editor can clear
107
+ * @property editor - How it is edited
108
+ */
109
+ export declare const FieldSpecType: StructType<{
110
+ readonly path: ArrayType<StringType>;
111
+ readonly label: StringType;
112
+ readonly help: OptionType<StringType>;
113
+ readonly group: OptionType<StringType>;
114
+ readonly type: import("@elaraai/east").RecursiveType<VariantType<{
115
+ readonly Never: NullType;
116
+ readonly Null: NullType;
117
+ readonly Boolean: NullType;
118
+ readonly Integer: NullType;
119
+ readonly Float: NullType;
120
+ readonly String: NullType;
121
+ readonly DateTime: NullType;
122
+ readonly Blob: NullType;
123
+ readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
124
+ readonly Array: import("@elaraai/east").RecursiveTypeMarker;
125
+ readonly Set: import("@elaraai/east").RecursiveTypeMarker;
126
+ readonly Dict: StructType<{
127
+ readonly key: import("@elaraai/east").RecursiveTypeMarker;
128
+ readonly value: import("@elaraai/east").RecursiveTypeMarker;
129
+ }>;
130
+ readonly Struct: ArrayType<StructType<{
131
+ readonly name: StringType;
132
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
133
+ }>>;
134
+ readonly Variant: ArrayType<StructType<{
135
+ readonly name: StringType;
136
+ readonly type: import("@elaraai/east").RecursiveTypeMarker;
137
+ }>>;
138
+ readonly Recursive: VariantType<{
139
+ readonly ref: IntegerType;
140
+ readonly wrapper: StructType<{
141
+ readonly id: IntegerType;
142
+ readonly inner: import("@elaraai/east").RecursiveTypeMarker;
143
+ }>;
144
+ }>;
145
+ readonly Function: StructType<{
146
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
147
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
148
+ }>;
149
+ readonly AsyncFunction: StructType<{
150
+ readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
151
+ readonly output: import("@elaraai/east").RecursiveTypeMarker;
152
+ }>;
153
+ readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
154
+ readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
155
+ }>>;
156
+ readonly optional: BooleanType;
157
+ readonly editor: VariantType<{
158
+ readonly text: StructType<{
159
+ readonly placeholder: OptionType<StringType>;
160
+ }>;
161
+ readonly number: StructType<{
162
+ readonly unit: OptionType<StringType>;
163
+ readonly step: OptionType<FloatType>;
164
+ readonly min: OptionType<FloatType>;
165
+ readonly max: OptionType<FloatType>;
166
+ }>;
167
+ readonly checkbox: NullType;
168
+ readonly datetime: StructType<{
169
+ readonly precision: OptionType<VariantType<{
170
+ readonly date: NullType;
171
+ readonly time: NullType;
172
+ readonly datetime: NullType;
173
+ }>>;
174
+ }>;
175
+ readonly select: ArrayType<StructType<{
176
+ readonly case: StringType;
177
+ readonly label: StringType;
178
+ }>>;
179
+ readonly tags: StructType<{
180
+ readonly options: ArrayType<StringType>;
181
+ }>;
182
+ readonly checklist: StructType<{
183
+ readonly text: StringType;
184
+ readonly done: StringType;
185
+ }>;
186
+ readonly reference: StructType<{
187
+ readonly of: StringType;
188
+ }>;
189
+ readonly readonly: NullType;
190
+ }>;
191
+ }>;
192
+ /** One resolved field, decoded — what `Fields.specs` returns, a payload carries and `FieldForm` reads. */
193
+ export type FieldSpecValue = ValueTypeOf<typeof FieldSpecType>;
194
+ /** How a field is edited, decoded. */
195
+ export type FieldEditorValue = ValueTypeOf<typeof FieldEditorType>;
196
+ /** The key a hint carries its kind under — a symbol, so no struct field's name is taken for a hint. */
197
+ export declare const FIELD_HINT: unique symbol;
198
+ /** What every hint but `hidden` takes. */
199
+ export interface FieldHintOptions {
200
+ /** The field's label — its name spelled out by default (`created_by` → "Created by"). */
201
+ readonly label?: string;
202
+ /** A line under the field. */
203
+ readonly help?: string;
204
+ }
205
+ /** A hint of one kind. */
206
+ export interface FieldHintOf<K extends string> {
207
+ /** The hint's kind. */
208
+ readonly [FIELD_HINT]: K;
209
+ }
210
+ /** A String field's text box ({@link fieldText}). */
211
+ export interface TextFieldHint extends FieldHintOf<"text">, FieldHintOptions {
212
+ /** What the box shows while empty. */
213
+ readonly placeholder?: string;
214
+ }
215
+ /**
216
+ * A number field's number ({@link fieldNumber}).
217
+ *
218
+ * @typeParam N - `bigint` for an Integer field, `number` for a Float
219
+ */
220
+ export interface NumberFieldHint<N extends bigint | number> extends FieldHintOf<"number">, FieldHintOptions {
221
+ /** What a number counts — `people`, `kg` — in the line under it. */
222
+ readonly unit?: string;
223
+ /** How far its steppers move it: 1 by default. */
224
+ readonly step?: N;
225
+ /** The least it may be. */
226
+ readonly min?: N;
227
+ /** The most it may be. */
228
+ readonly max?: N;
229
+ }
230
+ /**
231
+ * A variant field's select ({@link fieldSelect}).
232
+ *
233
+ * @typeParam C - The variant's cases
234
+ */
235
+ export interface SelectFieldHint<C extends string> extends FieldHintOf<"select">, FieldHintOptions {
236
+ /** The words for a case, where its name spelled out will not do. */
237
+ readonly labels?: {
238
+ readonly [K in C]?: string;
239
+ };
240
+ }
241
+ /** A string collection's tags ({@link fieldTags}). */
242
+ export interface TagsFieldHint extends FieldHintOf<"tags">, FieldHintOptions {
243
+ /** The values suggested as a tag is typed. */
244
+ readonly options?: readonly string[];
245
+ }
246
+ /** An item list's checklist ({@link fieldChecklist}). */
247
+ export interface ChecklistFieldHint extends FieldHintOf<"checklist">, FieldHintOptions {
248
+ /** The item's String field its text is — needed when it has several. */
249
+ readonly text?: string;
250
+ /** The item's Boolean field its done box is — needed when it has several. */
251
+ readonly done?: string;
252
+ }
253
+ /** A String field holding a key of a keyed set the host lists ({@link fieldReference}). */
254
+ export interface ReferenceFieldHint extends FieldHintOf<"reference">, FieldHintOptions {
255
+ /** The keyed set's name: the host's choices for it are what the select offers. */
256
+ readonly of: string;
257
+ }
258
+ /** A field printed, never edited ({@link fieldReadonly}). */
259
+ export interface ReadonlyFieldHint extends FieldHintOf<"readonly">, FieldHintOptions {
260
+ }
261
+ /** A field the form leaves out ({@link fieldHidden}). */
262
+ export type HiddenFieldHint = FieldHintOf<"hidden">;
263
+ /** What any field takes. */
264
+ type AnyFieldHint = ReadonlyFieldHint | HiddenFieldHint;
265
+ /** Whether a variant's cases are an Option's. */
266
+ type IsOption<C> = [Exclude<keyof C, "none" | "some">] extends [never] ? ("none" extends keyof C ? ("some" extends keyof C ? true : false) : false) : false;
267
+ /**
268
+ * The hints a field of type `T` takes: its editor's own, `readonly` and
269
+ * `hidden`; an `Option`'s are its value's — but an `Option` of a struct,
270
+ * printed whole, takes only those two — and a struct's a hint per field.
271
+ *
272
+ * @typeParam T - The field's East type
273
+ */
274
+ export type FieldHint<T> = T extends VariantType<infer C> ? IsOption<C> extends true ? C["some" & keyof C] extends StructType ? AnyFieldHint : FieldHint<C["some" & keyof C]> : C[keyof C] extends NullType ? SelectFieldHint<keyof C & string> | AnyFieldHint : AnyFieldHint : T extends StringType ? TextFieldHint | ReferenceFieldHint | AnyFieldHint : T extends IntegerType ? NumberFieldHint<bigint> | AnyFieldHint : T extends FloatType ? NumberFieldHint<number> | AnyFieldHint : T extends SetType<StringType> ? TagsFieldHint | AnyFieldHint : T extends ArrayType<StringType> ? TagsFieldHint | AnyFieldHint : T extends ArrayType<StructType> ? ChecklistFieldHint | AnyFieldHint : T extends StructType<infer F extends {
275
+ [K in string]: unknown;
276
+ }> ? FieldHints<F> | AnyFieldHint : T extends BooleanType | DateTimeType ? AnyFieldHint : AnyFieldHint;
277
+ /**
278
+ * A struct's hints: for any of its fields, a hint that fits the field's type.
279
+ *
280
+ * @typeParam F - The struct's fields
281
+ */
282
+ export type FieldHints<F extends {
283
+ [K in string]: unknown;
284
+ }> = {
285
+ readonly [K in keyof F]?: FieldHint<F[K]>;
286
+ };
287
+ /**
288
+ * A String field's text box.
289
+ *
290
+ * @param options - Its label, a line under it, and its placeholder
291
+ * @returns The hint
292
+ */
293
+ export declare function fieldText(options?: FieldHintOptions & {
294
+ readonly placeholder?: string;
295
+ }): TextFieldHint;
296
+ /**
297
+ * A number field's number: its steppers move it by its step, clamped to its
298
+ * bounds; its unit and bounds in the line under it.
299
+ *
300
+ * @typeParam N - `bigint` for an Integer field, `number` for a Float: the bounds and the step are the field's
301
+ * @param options - Its label, a line under it, its unit, its step and its bounds
302
+ * @returns The hint
303
+ */
304
+ export declare function fieldNumber<N extends bigint | number = never>(options?: FieldHintOptions & {
305
+ readonly unit?: string;
306
+ readonly step?: N;
307
+ readonly min?: N;
308
+ readonly max?: N;
309
+ }): NumberFieldHint<N>;
310
+ /**
311
+ * A variant field's select, with words for the cases whose names, spelled
312
+ * out, will not do. The select offers the cases it labels first, in its
313
+ * order, then the rest in the variant's: East keeps a variant's cases in name
314
+ * order, and a status reads best in its own.
315
+ *
316
+ * @typeParam C - The cases it labels
317
+ * @param options - Its label, a line under it, and the words for its cases
318
+ * @returns The hint
319
+ * @example
320
+ * ```ts
321
+ * import { ArrayType, East, NullType, StringType, StructType, VariantType } from "@elaraai/east";
322
+ * import { Fields } from "@elaraai/east-ui";
323
+ *
324
+ * const choices = East.function([], ArrayType(StringType), ($) => {
325
+ * const Status = VariantType({ planned: NullType, in_progress: NullType, on_hold: NullType, done: NullType });
326
+ * const Job = StructType({ task: StringType, status: Status });
327
+ * const specs = $.const(Fields.specs(Job, {
328
+ * status: Fields.select({ labels: { planned: "Planned", in_progress: "Underway", on_hold: "Paused" } }),
329
+ * }), ArrayType(Fields.Types.Spec));
330
+ * return specs.get(0n).editor.unwrap("select").map((_$, option) => option.label);
331
+ * });
332
+ * ```
333
+ */
334
+ export declare function fieldSelect<C extends string = never>(options?: FieldHintOptions & {
335
+ readonly labels?: {
336
+ readonly [K in C]?: string;
337
+ };
338
+ }): SelectFieldHint<C>;
339
+ /**
340
+ * A string collection's tags, typed freely, with the values suggested as a
341
+ * tag is typed.
342
+ *
343
+ * @param options - Its label, a line under it, and the values suggested
344
+ * @returns The hint
345
+ */
346
+ export declare function fieldTags(options?: FieldHintOptions & {
347
+ readonly options?: readonly string[];
348
+ }): TagsFieldHint;
349
+ /**
350
+ * An item list's checklist: each item's text and done box, the items done of
351
+ * all, an item added by name. Names the item's text and done fields where it
352
+ * has several.
353
+ *
354
+ * @param options - Its label, a line under it, and the item's text and done fields
355
+ * @returns The hint
356
+ */
357
+ export declare function fieldChecklist(options?: FieldHintOptions & {
358
+ readonly text?: string;
359
+ readonly done?: string;
360
+ }): ChecklistFieldHint;
361
+ /**
362
+ * A String field holding a key of a keyed set the host lists: a select of the
363
+ * host's choices for `of`, with Unassigned first for an `Option`.
364
+ *
365
+ * @param options - The keyed set's name, the field's label and a line under it
366
+ * @returns The hint
367
+ */
368
+ export declare function fieldReference(options: FieldHintOptions & {
369
+ readonly of: string;
370
+ }): ReferenceFieldHint;
371
+ /**
372
+ * A field printed, never edited.
373
+ *
374
+ * @param options - Its label and a line under it
375
+ * @returns The hint
376
+ */
377
+ export declare function fieldReadonly(options?: FieldHintOptions): ReadonlyFieldHint;
378
+ /**
379
+ * A field the form leaves out.
380
+ *
381
+ * @returns The hint
382
+ */
383
+ export declare function fieldHidden(): HiddenFieldHint;
384
+ /**
385
+ * A field's or a case's name spelled out for a person: its words split at
386
+ * underscores, dashes and case changes, the first capitalised —
387
+ * `in_progress` → "In progress", `createdBy` → "Created by".
388
+ *
389
+ * @param name - The name
390
+ * @returns Its words
391
+ */
392
+ export declare function spellOut(name: string): string;
393
+ /**
394
+ * Resolves a struct's fields and hints into the specs a form draws: each
395
+ * field's editor from its type, or from its hint, checked against the type;
396
+ * the hinted fields first, in hint order, then the rest in declared order; a
397
+ * nested struct's fields flattened by path, under its name; `omit`'s and the
398
+ * hidden fields left out.
399
+ *
400
+ * @typeParam R - The struct
401
+ * @param rowType - The struct the form edits
402
+ * @param hints - A hint for any of its fields, a nested struct's a hint per field
403
+ * @param omit - Fields of the struct the form leaves out — a host's own (the Calendar's title, start and end)
404
+ * @returns The specs, in the form's order
405
+ * @throws {Error} Naming the field, for a hint that does not fit its field's type, a select labelling a case its variant does not have, a checklist whose text and done fields cannot be found, or a name the struct does not have
406
+ * @example
407
+ * ```ts
408
+ * import { ArrayType, BooleanType, East, IntegerType, OptionType, StringType, StructType, VariantType, NullType } from "@elaraai/east";
409
+ * import { Fields } from "@elaraai/east-ui";
410
+ *
411
+ * const form = East.function([], ArrayType(StringType), ($) => {
412
+ * const Status = VariantType({ planned: NullType, in_progress: NullType, on_hold: NullType });
413
+ * const Check = StructType({ text: StringType, done: BooleanType });
414
+ * const Job = StructType({
415
+ * task: StringType, crew: IntegerType, status: Status, rush: BooleanType,
416
+ * bay: OptionType(StringType), checks: ArrayType(Check), notes: StringType,
417
+ * });
418
+ * const specs = $.const(Fields.specs(Job, {
419
+ * crew: Fields.number({ unit: "people", min: 1n, max: 20n }),
420
+ * status: Fields.select({ labels: { on_hold: "Paused" } }),
421
+ * bay: Fields.reference({ of: "bays", label: "Work bay" }),
422
+ * notes: Fields.hidden(),
423
+ * }), ArrayType(Fields.Types.Spec));
424
+ * return specs.map((_$, spec) => East.str`${spec.label}: ${spec.editor.getTag()}`);
425
+ * });
426
+ * ```
427
+ */
428
+ export declare function fieldSpecs<R extends StructType>(rowType: R, hints?: FieldHints<R["fields"]>, omit?: readonly (keyof R["fields"] & string)[]): FieldSpecValue[];
429
+ /**
430
+ * The type of the {@link Fields} namespace — declared explicitly so the
431
+ * declaration emit stays within TypeScript's serialization limit.
432
+ */
433
+ export interface FieldsNamespace {
434
+ /** A String field's text box. */
435
+ text: typeof fieldText;
436
+ /** A number field's stepper — bigints for an Integer field, numbers for a Float. */
437
+ number: typeof fieldNumber;
438
+ /** A variant field's select, with words for its cases. */
439
+ select: typeof fieldSelect;
440
+ /** A string collection's tags, with the values offered. */
441
+ tags: typeof fieldTags;
442
+ /** An item list's checklist, naming its items' text and done fields. */
443
+ checklist: typeof fieldChecklist;
444
+ /** A String field holding a key of a keyed set the host lists. */
445
+ reference: typeof fieldReference;
446
+ /** A field printed, never edited. */
447
+ readonly: typeof fieldReadonly;
448
+ /** A field the form leaves out. */
449
+ hidden: typeof fieldHidden;
450
+ /** Resolves a struct's fields and hints into the specs a form draws. */
451
+ specs: typeof fieldSpecs;
452
+ /** The fields contract's East types. */
453
+ Types: {
454
+ /** One field of a form, resolved ({@link FieldSpecType}). */
455
+ Spec: typeof FieldSpecType;
456
+ /** How a field is edited ({@link FieldEditorType}). */
457
+ Editor: typeof FieldEditorType;
458
+ /** One choice of a select ({@link FieldOptionType}). */
459
+ Option: typeof FieldOptionType;
460
+ };
461
+ }
462
+ /**
463
+ * The fields contract (#1147) — a typed form over an East struct: each
464
+ * field's editor from its type, a hint for what a type cannot say, and
465
+ * `Fields.specs` resolving them into the specs east-ui-components'
466
+ * `FieldForm` draws. A builder's inspector carries them; the Calendar's
467
+ * `Calendar.field` is this namespace.
468
+ */
469
+ export declare const Fields: FieldsNamespace;
470
+ export {};
471
+ //# sourceMappingURL=fields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/contracts/fields.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,OAAO,EACH,SAAS,EAAE,WAAW,EAAE,YAAY,EAAgB,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAE/H,KAAK,WAAW,EAClC,MAAM,eAAe,CAAC;AAOvB;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;EAAsD,CAAC;AAEnF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU1B,CAAC;AAEH;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAC;AAEH,0GAA0G;AAC1G,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,OAAO,aAAa,CAAC,CAAC;AAE/D,sCAAsC;AACtC,MAAM,MAAM,gBAAgB,GAAG,WAAW,CAAC,OAAO,eAAe,CAAC,CAAC;AAMnE,uGAAuG;AACvG,eAAO,MAAM,UAAU,EAAE,OAAO,MAA8B,CAAC;AAE/D,0CAA0C;AAC1C,MAAM,WAAW,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