@elaraai/e3-ui 1.0.96 → 1.0.98

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 (304) hide show
  1. package/dist/src/allocation/index.d.ts +258 -7
  2. package/dist/src/allocation/index.d.ts.map +1 -1
  3. package/dist/src/allocation/index.js +30 -1
  4. package/dist/src/allocation/index.js.map +1 -1
  5. package/dist/src/allocation/types.d.ts +41 -0
  6. package/dist/src/allocation/types.d.ts.map +1 -1
  7. package/dist/src/allocation/types.js +35 -0
  8. package/dist/src/allocation/types.js.map +1 -1
  9. package/dist/src/bind/data-indexed.d.ts +31 -4
  10. package/dist/src/bind/data-indexed.d.ts.map +1 -1
  11. package/dist/src/bind/data-indexed.js +54 -10
  12. package/dist/src/bind/data-indexed.js.map +1 -1
  13. package/dist/src/calendar/index.d.ts +540 -14
  14. package/dist/src/calendar/index.d.ts.map +1 -1
  15. package/dist/src/calendar/index.js +43 -7
  16. package/dist/src/calendar/index.js.map +1 -1
  17. package/dist/src/calendar/paged.d.ts +89 -0
  18. package/dist/src/calendar/paged.d.ts.map +1 -0
  19. package/dist/src/calendar/paged.js +148 -0
  20. package/dist/src/calendar/paged.js.map +1 -0
  21. package/dist/src/flowchart/payload.d.ts +156 -0
  22. package/dist/src/flowchart/payload.d.ts.map +1 -1
  23. package/dist/src/flowchart/window.d.ts +12 -0
  24. package/dist/src/flowchart/window.d.ts.map +1 -1
  25. package/dist/src/index.d.ts +11 -2
  26. package/dist/src/index.d.ts.map +1 -1
  27. package/dist/src/index.js +19 -0
  28. package/dist/src/index.js.map +1 -1
  29. package/dist/src/internal.d.ts +11 -5
  30. package/dist/src/internal.d.ts.map +1 -1
  31. package/dist/src/internal.js +28 -7
  32. package/dist/src/internal.js.map +1 -1
  33. package/dist/src/plan/builders.d.ts +12 -8
  34. package/dist/src/plan/builders.d.ts.map +1 -1
  35. package/dist/src/plan/builders.js +12 -8
  36. package/dist/src/plan/builders.js.map +1 -1
  37. package/dist/src/plan/event-rows.d.ts +228 -156
  38. package/dist/src/plan/event-rows.d.ts.map +1 -1
  39. package/dist/src/plan/event-rows.js +239 -54
  40. package/dist/src/plan/event-rows.js.map +1 -1
  41. package/dist/src/plan/index.d.ts +5 -0
  42. package/dist/src/plan/index.d.ts.map +1 -1
  43. package/dist/src/plan/index.js +3 -0
  44. package/dist/src/plan/index.js.map +1 -1
  45. package/dist/src/plan/ir.d.ts +70 -0
  46. package/dist/src/plan/ir.d.ts.map +1 -1
  47. package/dist/src/plan/ordered-source.d.ts +2038 -1
  48. package/dist/src/plan/ordered-source.d.ts.map +1 -1
  49. package/dist/src/plan/ordered-source.js +19 -11
  50. package/dist/src/plan/ordered-source.js.map +1 -1
  51. package/dist/src/plan/plan.d.ts +513 -32
  52. package/dist/src/plan/plan.d.ts.map +1 -1
  53. package/dist/src/plan/plan.js +119 -32
  54. package/dist/src/plan/plan.js.map +1 -1
  55. package/dist/src/plan/root.d.ts +4 -2
  56. package/dist/src/plan/root.d.ts.map +1 -1
  57. package/dist/src/plan/root.js +6 -4
  58. package/dist/src/plan/root.js.map +1 -1
  59. package/dist/src/plan/series.d.ts +13 -0
  60. package/dist/src/plan/series.d.ts.map +1 -1
  61. package/dist/src/plan/series.js +61 -7
  62. package/dist/src/plan/series.js.map +1 -1
  63. package/dist/src/plan/types.d.ts +14 -0
  64. package/dist/src/plan/types.d.ts.map +1 -1
  65. package/dist/src/plan/types.js +8 -0
  66. package/dist/src/plan/types.js.map +1 -1
  67. package/dist/src/roster/index.d.ts +608 -20
  68. package/dist/src/roster/index.d.ts.map +1 -1
  69. package/dist/src/roster/index.js +103 -29
  70. package/dist/src/roster/index.js.map +1 -1
  71. package/dist/src/roster/library.d.ts +12 -2
  72. package/dist/src/roster/library.d.ts.map +1 -1
  73. package/dist/src/roster/library.js +8 -0
  74. package/dist/src/roster/library.js.map +1 -1
  75. package/dist/src/roster/lists.d.ts +59 -12
  76. package/dist/src/roster/lists.d.ts.map +1 -1
  77. package/dist/src/roster/lists.js +51 -58
  78. package/dist/src/roster/lists.js.map +1 -1
  79. package/dist/src/roster/times.d.ts +402 -0
  80. package/dist/src/roster/times.d.ts.map +1 -1
  81. package/dist/src/roster/types.d.ts +913 -1
  82. package/dist/src/roster/types.d.ts.map +1 -1
  83. package/dist/src/roster/types.js +43 -3
  84. package/dist/src/roster/types.js.map +1 -1
  85. package/dist/src/schedule/cell-checks.d.ts +85 -0
  86. package/dist/src/schedule/cell-checks.d.ts.map +1 -0
  87. package/dist/src/schedule/cell-checks.js +211 -0
  88. package/dist/src/schedule/cell-checks.js.map +1 -0
  89. package/dist/src/schedule/events.d.ts +42 -10
  90. package/dist/src/schedule/events.d.ts.map +1 -1
  91. package/dist/src/schedule/events.js +349 -155
  92. package/dist/src/schedule/events.js.map +1 -1
  93. package/dist/src/schedule/fields.d.ts +134 -0
  94. package/dist/src/schedule/fields.d.ts.map +1 -0
  95. package/dist/src/schedule/fields.js +207 -0
  96. package/dist/src/schedule/fields.js.map +1 -0
  97. package/dist/src/schedule/library.d.ts +11 -3
  98. package/dist/src/schedule/library.d.ts.map +1 -1
  99. package/dist/src/schedule/library.js +9 -6
  100. package/dist/src/schedule/library.js.map +1 -1
  101. package/dist/src/schedule/optimise.d.ts +124 -0
  102. package/dist/src/schedule/optimise.d.ts.map +1 -0
  103. package/dist/src/schedule/optimise.js +140 -0
  104. package/dist/src/schedule/optimise.js.map +1 -0
  105. package/dist/src/schedule/pages.d.ts +76 -0
  106. package/dist/src/schedule/pages.d.ts.map +1 -0
  107. package/dist/src/schedule/pages.js +86 -0
  108. package/dist/src/schedule/pages.js.map +1 -0
  109. package/dist/src/schedule/record-window.d.ts +119 -6
  110. package/dist/src/schedule/record-window.d.ts.map +1 -1
  111. package/dist/src/schedule/record-window.js +139 -60
  112. package/dist/src/schedule/record-window.js.map +1 -1
  113. package/dist/src/schedule/resources.d.ts +8 -4
  114. package/dist/src/schedule/resources.d.ts.map +1 -1
  115. package/dist/src/schedule/resources.js +35 -15
  116. package/dist/src/schedule/resources.js.map +1 -1
  117. package/dist/src/schedule/session.d.ts +14 -0
  118. package/dist/src/schedule/session.d.ts.map +1 -1
  119. package/dist/src/schedule/session.js +29 -17
  120. package/dist/src/schedule/session.js.map +1 -1
  121. package/dist/src/schedule/types.d.ts +426 -36
  122. package/dist/src/schedule/types.d.ts.map +1 -1
  123. package/dist/src/schedule/types.js +63 -17
  124. package/dist/src/schedule/types.js.map +1 -1
  125. package/dist/src/schedule/window.d.ts +30 -9
  126. package/dist/src/schedule/window.d.ts.map +1 -1
  127. package/dist/src/schedule/window.js +101 -49
  128. package/dist/src/schedule/window.js.map +1 -1
  129. package/dist/src/schematic/index.d.ts +277 -0
  130. package/dist/src/schematic/index.d.ts.map +1 -0
  131. package/dist/src/schematic/index.js +206 -0
  132. package/dist/src/schematic/index.js.map +1 -0
  133. package/dist/src/schematic/kinds.d.ts +501 -0
  134. package/dist/src/schematic/kinds.d.ts.map +1 -0
  135. package/dist/src/schematic/kinds.js +1027 -0
  136. package/dist/src/schematic/kinds.js.map +1 -0
  137. package/dist/src/schematic/layers.d.ts +74 -0
  138. package/dist/src/schematic/layers.d.ts.map +1 -0
  139. package/dist/src/schematic/layers.js +99 -0
  140. package/dist/src/schematic/layers.js.map +1 -0
  141. package/dist/src/schematic/library.d.ts +202 -0
  142. package/dist/src/schematic/library.d.ts.map +1 -0
  143. package/dist/src/schematic/library.js +244 -0
  144. package/dist/src/schematic/library.js.map +1 -0
  145. package/dist/src/schematic/payload.d.ts +8360 -0
  146. package/dist/src/schematic/payload.d.ts.map +1 -0
  147. package/dist/src/schematic/payload.js +446 -0
  148. package/dist/src/schematic/payload.js.map +1 -0
  149. package/dist/src/schematic/schematic.d.ts +27 -0
  150. package/dist/src/schematic/schematic.d.ts.map +1 -0
  151. package/dist/src/schematic/schematic.js +17 -0
  152. package/dist/src/schematic/schematic.js.map +1 -0
  153. package/dist/src/schematic/shapes.d.ts +150 -0
  154. package/dist/src/schematic/shapes.d.ts.map +1 -0
  155. package/dist/src/schematic/shapes.js +171 -0
  156. package/dist/src/schematic/shapes.js.map +1 -0
  157. package/dist/src/schematic/templates.d.ts +96 -0
  158. package/dist/src/schematic/templates.d.ts.map +1 -0
  159. package/dist/src/schematic/templates.js +91 -0
  160. package/dist/src/schematic/templates.js.map +1 -0
  161. package/dist/src/schematic/types.d.ts +5766 -0
  162. package/dist/src/schematic/types.d.ts.map +1 -0
  163. package/dist/src/schematic/types.js +688 -0
  164. package/dist/src/schematic/types.js.map +1 -0
  165. package/dist/src/schematic/window.d.ts +212 -0
  166. package/dist/src/schematic/window.d.ts.map +1 -0
  167. package/dist/src/schematic/window.js +337 -0
  168. package/dist/src/schematic/window.js.map +1 -0
  169. package/dist/src/sheet/editing-bridge.d.ts +4 -2
  170. package/dist/src/sheet/editing-bridge.d.ts.map +1 -1
  171. package/dist/src/sheet/editing-bridge.js +8 -2
  172. package/dist/src/sheet/editing-bridge.js.map +1 -1
  173. package/dist/src/sheet/editing-types.d.ts +9 -5
  174. package/dist/src/sheet/editing-types.d.ts.map +1 -1
  175. package/dist/src/sheet/editing-types.js +9 -5
  176. package/dist/src/sheet/editing-types.js.map +1 -1
  177. package/dist/src/sheet/index.d.ts +18 -8
  178. package/dist/src/sheet/index.d.ts.map +1 -1
  179. package/dist/src/sheet/index.js +15 -7
  180. package/dist/src/sheet/index.js.map +1 -1
  181. package/dist/src/sheet/optimise.d.ts +69 -0
  182. package/dist/src/sheet/optimise.d.ts.map +1 -0
  183. package/dist/src/sheet/optimise.js +81 -0
  184. package/dist/src/sheet/optimise.js.map +1 -0
  185. package/dist/src/sheet/registers.d.ts +5 -5
  186. package/dist/src/sheet/registers.js +5 -5
  187. package/dist/src/sheet/root.d.ts +2 -0
  188. package/dist/src/sheet/root.d.ts.map +1 -1
  189. package/dist/src/sheet/root.js +2 -2
  190. package/dist/src/sheet/root.js.map +1 -1
  191. package/dist/src/sheet/sheet.d.ts +753 -573
  192. package/dist/src/sheet/sheet.d.ts.map +1 -1
  193. package/dist/src/sheet/sheet.js +45 -13
  194. package/dist/src/sheet/sheet.js.map +1 -1
  195. package/dist/src/sheet/types.d.ts +92 -12
  196. package/dist/src/sheet/types.d.ts.map +1 -1
  197. package/dist/src/sheet/types.js +4 -8
  198. package/dist/src/sheet/types.js.map +1 -1
  199. package/dist/src/utils/keyed-rows.d.ts +41 -0
  200. package/dist/src/utils/keyed-rows.d.ts.map +1 -0
  201. package/dist/src/utils/keyed-rows.js +64 -0
  202. package/dist/src/utils/keyed-rows.js.map +1 -0
  203. package/dist/src/utils/optimise.d.ts +79 -0
  204. package/dist/src/utils/optimise.d.ts.map +1 -0
  205. package/dist/src/utils/optimise.js +46 -0
  206. package/dist/src/utils/optimise.js.map +1 -0
  207. package/dist/test/allocation/allocation.examples.d.ts +6 -18
  208. package/dist/test/allocation/allocation.examples.d.ts.map +1 -1
  209. package/dist/test/allocation/allocation.examples.js +3 -3
  210. package/dist/test/allocation/allocation.examples.js.map +1 -1
  211. package/dist/test/allocation/optimise.examples.d.ts +109 -0
  212. package/dist/test/allocation/optimise.examples.d.ts.map +1 -0
  213. package/dist/test/allocation/optimise.examples.js +223 -0
  214. package/dist/test/allocation/optimise.examples.js.map +1 -0
  215. package/dist/test/bind/data/data.examples.d.ts +540 -36
  216. package/dist/test/bind/data/data.examples.d.ts.map +1 -1
  217. package/dist/test/bind/data/data.examples.js +66 -2
  218. package/dist/test/bind/data/data.examples.js.map +1 -1
  219. package/dist/test/bind/record/record.examples.d.ts +1 -3
  220. package/dist/test/bind/record/record.examples.d.ts.map +1 -1
  221. package/dist/test/calendar/calendar-records.examples.d.ts.map +1 -1
  222. package/dist/test/calendar/calendar-records.examples.js +3 -3
  223. package/dist/test/calendar/calendar-records.examples.js.map +1 -1
  224. package/dist/test/calendar/calendar-windows.examples.d.ts +9 -0
  225. package/dist/test/calendar/calendar-windows.examples.d.ts.map +1 -0
  226. package/dist/test/calendar/calendar-windows.examples.js +111 -0
  227. package/dist/test/calendar/calendar-windows.examples.js.map +1 -0
  228. package/dist/test/calendar/calendar.examples.d.ts +7 -21
  229. package/dist/test/calendar/calendar.examples.d.ts.map +1 -1
  230. package/dist/test/calendar/calendar.examples.js +7 -7
  231. package/dist/test/calendar/calendar.examples.js.map +1 -1
  232. package/dist/test/calendar/optimise.examples.d.ts +132 -0
  233. package/dist/test/calendar/optimise.examples.d.ts.map +1 -0
  234. package/dist/test/calendar/optimise.examples.js +75 -0
  235. package/dist/test/calendar/optimise.examples.js.map +1 -0
  236. package/dist/test/examples-package.d.ts +46 -10
  237. package/dist/test/examples-package.d.ts.map +1 -1
  238. package/dist/test/examples-package.js +142 -32
  239. package/dist/test/examples-package.js.map +1 -1
  240. package/dist/test/flowchart/flowchart.examples.d.ts +10 -30
  241. package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -1
  242. package/dist/test/plan/optimise.examples.d.ts +207 -0
  243. package/dist/test/plan/optimise.examples.d.ts.map +1 -0
  244. package/dist/test/plan/optimise.examples.js +98 -0
  245. package/dist/test/plan/optimise.examples.js.map +1 -0
  246. package/dist/test/plan/plan-events.examples.d.ts +8 -24
  247. package/dist/test/plan/plan-events.examples.d.ts.map +1 -1
  248. package/dist/test/plan/plan-events.examples.js +3 -3
  249. package/dist/test/plan/plan-events.examples.js.map +1 -1
  250. package/dist/test/plan/plan-records.examples.d.ts +200 -19
  251. package/dist/test/plan/plan-records.examples.d.ts.map +1 -1
  252. package/dist/test/plan/plan-records.examples.js +125 -28
  253. package/dist/test/plan/plan-records.examples.js.map +1 -1
  254. package/dist/test/plan/plan-windows.examples.d.ts +853 -36
  255. package/dist/test/plan/plan-windows.examples.d.ts.map +1 -1
  256. package/dist/test/plan/plan-windows.examples.js +166 -29
  257. package/dist/test/plan/plan-windows.examples.js.map +1 -1
  258. package/dist/test/plan/plan.examples.d.ts +7 -21
  259. package/dist/test/plan/plan.examples.d.ts.map +1 -1
  260. package/dist/test/plan/plan.examples.js +11 -9
  261. package/dist/test/plan/plan.examples.js.map +1 -1
  262. package/dist/test/roster/domain.examples.d.ts +804 -0
  263. package/dist/test/roster/domain.examples.d.ts.map +1 -1
  264. package/dist/test/roster/domain.examples.js +3 -3
  265. package/dist/test/roster/domain.examples.js.map +1 -1
  266. package/dist/test/roster/optimise.examples.d.ts +485 -0
  267. package/dist/test/roster/optimise.examples.d.ts.map +1 -0
  268. package/dist/test/roster/optimise.examples.js +155 -0
  269. package/dist/test/roster/optimise.examples.js.map +1 -0
  270. package/dist/test/roster/roster-records.examples.d.ts +6 -18
  271. package/dist/test/roster/roster-records.examples.d.ts.map +1 -1
  272. package/dist/test/roster/roster-records.examples.js +1 -1
  273. package/dist/test/roster/roster-records.examples.js.map +1 -1
  274. package/dist/test/roster/roster.examples.d.ts +3391 -21
  275. package/dist/test/roster/roster.examples.d.ts.map +1 -1
  276. package/dist/test/roster/roster.examples.js +54 -7
  277. package/dist/test/roster/roster.examples.js.map +1 -1
  278. package/dist/test/roster/warehouse.d.ts +150 -7
  279. package/dist/test/roster/warehouse.d.ts.map +1 -1
  280. package/dist/test/roster/warehouse.js +36 -11
  281. package/dist/test/roster/warehouse.js.map +1 -1
  282. package/dist/test/schedule/schedule.examples.d.ts +1 -3
  283. package/dist/test/schedule/schedule.examples.d.ts.map +1 -1
  284. package/dist/test/schematic/schematic-records.examples.d.ts +444 -0
  285. package/dist/test/schematic/schematic-records.examples.d.ts.map +1 -0
  286. package/dist/test/schematic/schematic-records.examples.js +205 -0
  287. package/dist/test/schematic/schematic-records.examples.js.map +1 -0
  288. package/dist/test/schematic/schematic.examples.d.ts +2289 -0
  289. package/dist/test/schematic/schematic.examples.d.ts.map +1 -0
  290. package/dist/test/schematic/schematic.examples.js +453 -0
  291. package/dist/test/schematic/schematic.examples.js.map +1 -0
  292. package/dist/test/sheet/optimise.examples.d.ts +177 -0
  293. package/dist/test/sheet/optimise.examples.d.ts.map +1 -0
  294. package/dist/test/sheet/optimise.examples.js +75 -0
  295. package/dist/test/sheet/optimise.examples.js.map +1 -0
  296. package/dist/test/sheet/sheet-records.examples.d.ts +95 -204
  297. package/dist/test/sheet/sheet-records.examples.d.ts.map +1 -1
  298. package/dist/test/sheet/sheet-records.examples.js +42 -17
  299. package/dist/test/sheet/sheet-records.examples.js.map +1 -1
  300. package/dist/test/sheet/sheet.examples.d.ts +17 -33
  301. package/dist/test/sheet/sheet.examples.d.ts.map +1 -1
  302. package/dist/test/sheet/sheet.examples.js +18 -15
  303. package/dist/test/sheet/sheet.examples.js.map +1 -1
  304. package/package.json +11 -11
@@ -2,17 +2,20 @@
2
2
  * Copyright (c) 2025 Elara AI Pty Ltd
3
3
  * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
4
  */
5
+ import type { ExampleDef } from "@elaraai/east";
5
6
  import { type DatasetDef, type FunctionDef, type MigrationDef, type MutationDef, type PackageDef, type RecordIndexDef, type TaskDef } from "@elaraai/e3";
6
- /** The package's name. */
7
+ /** The package's name; an area's package is named after it, then the area. */
7
8
  export declare const EXAMPLES_PACKAGE_NAME = "e3-ui-examples";
8
9
  /** An e3 definition an example module exports for the package. */
9
10
  export type ExampleDefinition = DatasetDef | TaskDef | FunctionDef | MutationDef | RecordIndexDef | MigrationDef;
10
- /** One example module and the e3 definitions it exports. */
11
+ /** One example module: the e3 definitions it exports, and its examples. */
11
12
  export interface ExampleModule {
12
13
  /** The module's key under e3-ui's `test/`, e.g. `calendar/calendar-records`. */
13
14
  pathKey: string;
14
15
  /** Its e3 definitions, each with its export name, in export order. */
15
16
  definitions: [name: string, definition: ExampleDefinition][];
17
+ /** Its examples, each with its export name, in export order. */
18
+ examples: [name: string, example: ExampleDef][];
16
19
  }
17
20
  /**
18
21
  * Whether a module's export is an e3 definition the package carries.
@@ -22,14 +25,31 @@ export interface ExampleModule {
22
25
  * an index or a migration
23
26
  */
24
27
  export declare function isExampleDefinition(value: unknown): value is ExampleDefinition;
28
+ /**
29
+ * Whether a module's export is an example, as `example()` makes one: a
30
+ * function with its description and keywords.
31
+ *
32
+ * @param value - The export
33
+ * @returns Whether it is an example
34
+ */
35
+ export declare function isExample(value: unknown): value is ExampleDef;
25
36
  /**
26
37
  * An example module the caller has imported, as the package takes it.
27
38
  *
28
39
  * @param pathKey - The module's key under e3-ui's `test/`, e.g. `calendar/calendar-records`
29
40
  * @param exports - The module's exports
30
- * @returns The module and the e3 definitions it exports, in export order
41
+ * @returns The module, the e3 definitions it exports and its examples, in
42
+ * export order
31
43
  */
32
44
  export declare function exampleModule(pathKey: string, exports: Readonly<Record<string, unknown>>): ExampleModule;
45
+ /**
46
+ * The area a module is in: the directory of e3-ui's `test/` it is under,
47
+ * whose examples the showcase shows as one page.
48
+ *
49
+ * @param pathKey - The module's key under e3-ui's `test/`, e.g. `plan/plan-records`
50
+ * @returns Its area, e.g. `plan`
51
+ */
52
+ export declare function exampleArea(pathKey: string): string;
33
53
  /**
34
54
  * The keys of every compiled example module beside this one: each
35
55
  * `<key>.examples.js` under e3-ui's `dist/test/`, in key order.
@@ -39,7 +59,7 @@ export declare function exampleModule(pathKey: string, exports: Readonly<Record<
39
59
  export declare function exampleModuleKeys(): string[];
40
60
  /**
41
61
  * Imports every e3-ui example module, compiled, and collects the e3
42
- * definitions each exports.
62
+ * definitions and the examples each exports.
43
63
  *
44
64
  * @returns The modules, in key order
45
65
  * @throws {Error} When a module does not import
@@ -64,12 +84,28 @@ export declare function examplesPackage(modules: readonly ExampleModule[]): Pack
64
84
  */
65
85
  export declare function examplesPackageZip(modules: readonly ExampleModule[]): Promise<Uint8Array>;
66
86
  /**
67
- * Writes the package of every e3-ui example module's definitions to a zip.
87
+ * The package of each area's examples (#1397): every e3 definition the area's
88
+ * modules export, and every dataset, paged source, record and function its
89
+ * examples bind that another area's module declares — each record with every
90
+ * mutation, index and migration any module declares on it, as the package of
91
+ * every module carries it.
92
+ *
93
+ * @param modules - The example modules
94
+ * @returns Each area's package, named after the examples' package and the
95
+ * area, by area in the modules' order
96
+ * @throws {Error} When two modules declare one definition ({@link examplesPackage}),
97
+ * or an example binds what no module declares, naming the example and what
98
+ * it binds
99
+ */
100
+ export declare function examplesAreaPackages(modules: readonly ExampleModule[]): Map<string, PackageDef<Record<string, unknown>>>;
101
+ /**
102
+ * Writes each area's package of every e3-ui example module to a zip of its
103
+ * own, `<area>.zip`, in one directory.
68
104
  *
69
- * @param outPath - Where the zip goes; its directory is made if missing
70
- * @returns The modules the package was made from
71
- * @throws {Error} When a module does not import, or two declare one
72
- * definition ({@link examplesPackage})
105
+ * @param outDir - Where the zips go; made if missing
106
+ * @returns The areas, in the order their zips were written
107
+ * @throws {Error} When a module does not import, or the packages cannot be
108
+ * made ({@link examplesAreaPackages})
73
109
  */
74
- export declare function writeExamplesPackage(outPath: string): Promise<ExampleModule[]>;
110
+ export declare function writeExamplesAreaPackages(outDir: string): Promise<string[]>;
75
111
  //# sourceMappingURL=examples-package.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"examples-package.d.ts","sourceRoot":"","sources":["../../test/examples-package.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmCH,OAAW,EACW,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EACxF,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,KAAK,OAAO,EACrD,MAAM,aAAa,CAAC;AASrB,0BAA0B;AAC1B,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AAEtD,kEAAkE;AAClE,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,OAAO,GAAG,WAAW,GAAG,WAAW,GAAG,cAAc,GAAG,YAAY,CAAC;AAKjH,4DAA4D;AAC5D,MAAM,WAAW,aAAa;IAC1B,gFAAgF;IAChF,OAAO,EAAE,MAAM,CAAC;IAChB,sEAAsE;IACtE,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,iBAAiB,CAAC,EAAE,CAAC;CAChE;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG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C,CA0DxH;AAED;;;;;;;;GAQG;AACH,wBAAsB,yBAAyB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAKjF"}
@@ -3,18 +3,20 @@
3
3
  * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
4
4
  */
5
5
  /**
6
- * The e3 package of e3-ui's examples (#849, #1375): every e3 definition the
6
+ * The e3 packages of e3-ui's examples (#849, #1375): every e3 definition the
7
7
  * example modules export — inputs, records with their mutations and indexes,
8
8
  * the tasks that generate rows, functions and migrations — packaged with the
9
- * real e3 SDK as the zip an e3 imports. The showcase's page imports the package
10
- * of every module into the e3 it runs; the renderer's tests import the package
11
- * of the modules a test file mounts into the e3-web each file starts. This is
12
- * the one place the SDK packages the examples, so neither the showcase's page
13
- * nor the renderer declares it.
9
+ * real e3 SDK as the zips an e3 imports. The renderer's tests import the
10
+ * package of the modules a test file mounts into the e3-web each file starts.
11
+ * The showcase's page imports an area's package — an area is the examples
12
+ * under one directory of `test/`, which the showcase shows as one page — into
13
+ * a workspace of the area's own, the first time one of its examples shows
14
+ * (#1397). This is the one place the SDK packages the examples, so neither the
15
+ * showcase's page nor the renderer declares it.
14
16
  *
15
- * Run as a script, it writes the zip of every module to the path it is given:
17
+ * Run as a script, it writes each area's zip into the directory it is given:
16
18
  *
17
- * node dist/test/examples-package.js /tmp/e3-ui-examples.zip
19
+ * node dist/test/examples-package.js /tmp/e3-ui-examples
18
20
  *
19
21
  * The showcase's Vite plugin runs it so, for the dev server and the build.
20
22
  *
@@ -22,11 +24,19 @@
22
24
  * - The modules are every `*.examples.ts(x)` under e3-ui's `test/`, found
23
25
  * compiled beside this module and imported as they are. An example binds
24
26
  * what it reads by path and by name, so every definition an example binds is
25
- * exported from its module, and the package carries it.
27
+ * exported from a module, and the package carries it.
26
28
  * - `e3.package` keys what it collects by path and by name and keeps the last
27
29
  * it meets, so two modules declaring one dataset, task or function would
28
30
  * leave one of them reading the other's. Two different definitions at one
29
- * path or name fail the step, naming the modules that declare them.
31
+ * path or name fail the step, naming the modules that declare them — across
32
+ * every module, so the areas' packages agree on each.
33
+ * - An area's package carries its modules' definitions, and what its examples
34
+ * bind that another area's module declares — a dataset or a paged source, a
35
+ * record with every mutation, index and migration declared on it, a
36
+ * function — found as a UI task's preview finds what it reads
37
+ * (`deriveManifest`). So an area's workspace holds everything its examples
38
+ * read, and starting it runs no other area's work: a page of the Schematic
39
+ * deploys none of the Sheet's work orders.
30
40
  *
31
41
  * @packageDocumentation
32
42
  */
@@ -36,11 +46,12 @@ import * as path from "node:path";
36
46
  import { fileURLToPath, pathToFileURL } from "node:url";
37
47
  import e3, {} from "@elaraai/e3";
38
48
  import { pathToString } from "@elaraai/e3-types";
49
+ import { deriveManifest } from "@elaraai/e3-ui";
39
50
  /** Where this module is: beside the compiled example modules. */
40
51
  const here = path.dirname(fileURLToPath(import.meta.url));
41
52
  /** What a compiled example module's file name ends with. */
42
53
  const COMPILED_EXAMPLES = ".examples.js";
43
- /** The package's name. */
54
+ /** The package's name; an area's package is named after it, then the area. */
44
55
  export const EXAMPLES_PACKAGE_NAME = "e3-ui-examples";
45
56
  /** The kinds of {@link ExampleDefinition}. */
46
57
  const DEFINITION_KINDS = new Set(["dataset", "task", "function", "mutation", "recordIndex", "migration"]);
@@ -55,17 +66,41 @@ export function isExampleDefinition(value) {
55
66
  return typeof value === "object" && value !== null && "kind" in value
56
67
  && typeof value.kind === "string" && DEFINITION_KINDS.has(value.kind);
57
68
  }
69
+ /**
70
+ * Whether a module's export is an example, as `example()` makes one: a
71
+ * function with its description and keywords.
72
+ *
73
+ * @param value - The export
74
+ * @returns Whether it is an example
75
+ */
76
+ export function isExample(value) {
77
+ return typeof value === "object" && value !== null && "fn" in value && "description" in value && "keywords" in value;
78
+ }
58
79
  /**
59
80
  * An example module the caller has imported, as the package takes it.
60
81
  *
61
82
  * @param pathKey - The module's key under e3-ui's `test/`, e.g. `calendar/calendar-records`
62
83
  * @param exports - The module's exports
63
- * @returns The module and the e3 definitions it exports, in export order
84
+ * @returns The module, the e3 definitions it exports and its examples, in
85
+ * export order
64
86
  */
65
87
  export function exampleModule(pathKey, exports) {
66
- const definitions = Object.entries(exports)
67
- .filter((entry) => isExampleDefinition(entry[1]));
68
- return { pathKey, definitions };
88
+ const entries = Object.entries(exports);
89
+ return {
90
+ pathKey,
91
+ definitions: entries.filter((entry) => isExampleDefinition(entry[1])),
92
+ examples: entries.filter((entry) => isExample(entry[1])),
93
+ };
94
+ }
95
+ /**
96
+ * The area a module is in: the directory of e3-ui's `test/` it is under,
97
+ * whose examples the showcase shows as one page.
98
+ *
99
+ * @param pathKey - The module's key under e3-ui's `test/`, e.g. `plan/plan-records`
100
+ * @returns Its area, e.g. `plan`
101
+ */
102
+ export function exampleArea(pathKey) {
103
+ return pathKey.split("/", 1)[0];
69
104
  }
70
105
  /**
71
106
  * The keys of every compiled example module beside this one: each
@@ -82,7 +117,7 @@ export function exampleModuleKeys() {
82
117
  }
83
118
  /**
84
119
  * Imports every e3-ui example module, compiled, and collects the e3
85
- * definitions each exports.
120
+ * definitions and the examples each exports.
86
121
  *
87
122
  * @returns The modules, in key order
88
123
  * @throws {Error} When a module does not import
@@ -223,19 +258,95 @@ export async function examplesPackageZip(modules) {
223
258
  }
224
259
  }
225
260
  /**
226
- * Writes the package of every e3-ui example module's definitions to a zip.
261
+ * The package of each area's examples (#1397): every e3 definition the area's
262
+ * modules export, and every dataset, paged source, record and function its
263
+ * examples bind that another area's module declares — each record with every
264
+ * mutation, index and migration any module declares on it, as the package of
265
+ * every module carries it.
227
266
  *
228
- * @param outPath - Where the zip goes; its directory is made if missing
229
- * @returns The modules the package was made from
230
- * @throws {Error} When a module does not import, or two declare one
231
- * definition ({@link examplesPackage})
267
+ * @param modules - The example modules
268
+ * @returns Each area's package, named after the examples' package and the
269
+ * area, by area in the modules' order
270
+ * @throws {Error} When two modules declare one definition ({@link examplesPackage}),
271
+ * or an example binds what no module declares, naming the example and what
272
+ * it binds
232
273
  */
233
- export async function writeExamplesPackage(outPath) {
234
- const modules = await loadExampleModules();
235
- const pkg = examplesPackage(modules);
236
- fs.mkdirSync(path.dirname(outPath), { recursive: true });
237
- await e3.export(pkg, outPath);
238
- return modules;
274
+ export function examplesAreaPackages(modules) {
275
+ // Every module's definitions together: two declaring one path or name are
276
+ // refused across the areas, so the areas' packages agree on each.
277
+ const whole = examplesPackage(modules);
278
+ // The dataset at each path, as e3 prints it (`.records.racks`): an input, a
279
+ // record, or a task's output — which depends on its task, so the package
280
+ // collecting it collects the task and what the task reads.
281
+ const datasets = new Map();
282
+ for (const item of whole.contents)
283
+ if (item.kind === "dataset")
284
+ datasets.set(pathToString(item.path), item);
285
+ const datasetAt = (bound, where) => {
286
+ const dataset = datasets.get(pathToString(bound));
287
+ if (dataset === undefined) {
288
+ throw new Error(`the e3-ui examples' package: ${where} binds ${pathToString(bound)}, which no example module declares — export it from the module that declares it`);
289
+ }
290
+ return dataset;
291
+ };
292
+ const areas = new Map();
293
+ for (const module of modules) {
294
+ const area = exampleArea(module.pathKey);
295
+ areas.set(area, [...(areas.get(area) ?? []), module]);
296
+ }
297
+ const version = e3UiVersion();
298
+ const packages = new Map();
299
+ for (const [area, members] of areas) {
300
+ const items = members.flatMap((module) => module.definitions.map(([, definition]) => definition));
301
+ for (const { pathKey, examples } of members) {
302
+ for (const [name, example] of examples) {
303
+ const where = `${pathKey} (${name})`;
304
+ const manifest = deriveManifest(example.fn);
305
+ for (const bound of [...manifest.paths, ...manifest.pages])
306
+ items.push(datasetAt(bound, where));
307
+ for (const record of manifest.records) {
308
+ const declared = whole.records[record];
309
+ if (declared === undefined) {
310
+ throw new Error(`the e3-ui examples' package: ${where} binds the record '${record}', which no example module declares — export it from the module that declares it`);
311
+ }
312
+ items.push(datasetAt(declared.path, where));
313
+ }
314
+ for (const fn of manifest.functions) {
315
+ const declared = whole.functions[fn];
316
+ if (declared === undefined) {
317
+ throw new Error(`the e3-ui examples' package: ${where} binds the function '${fn}', which no example module declares — export it from the module that declares it`);
318
+ }
319
+ items.push(declared);
320
+ }
321
+ }
322
+ }
323
+ const name = `${EXAMPLES_PACKAGE_NAME}-${area}`;
324
+ // Each record the area holds — however it came to — carries what any
325
+ // module declares on it: a record is one record in every area.
326
+ const held = e3.package(name, version, ...items);
327
+ const onRecords = Object.keys(held.records).flatMap((record) => {
328
+ const declared = whole.records[record];
329
+ return [...Object.values(declared.mutations), ...Object.values(declared.indexes), ...declared.migrations];
330
+ });
331
+ packages.set(area, e3.package(name, version, ...items, ...onRecords));
332
+ }
333
+ return packages;
334
+ }
335
+ /**
336
+ * Writes each area's package of every e3-ui example module to a zip of its
337
+ * own, `<area>.zip`, in one directory.
338
+ *
339
+ * @param outDir - Where the zips go; made if missing
340
+ * @returns The areas, in the order their zips were written
341
+ * @throws {Error} When a module does not import, or the packages cannot be
342
+ * made ({@link examplesAreaPackages})
343
+ */
344
+ export async function writeExamplesAreaPackages(outDir) {
345
+ const packages = examplesAreaPackages(await loadExampleModules());
346
+ fs.mkdirSync(outDir, { recursive: true });
347
+ for (const [area, pkg] of packages)
348
+ await e3.export(pkg, path.join(outDir, `${area}.zip`));
349
+ return [...packages.keys()];
239
350
  }
240
351
  /** Whether this module is the script node was started with. */
241
352
  function isScript() {
@@ -249,15 +360,14 @@ function isScript() {
249
360
  return false;
250
361
  }
251
362
  }
252
- // Run as a script: write the zip where the first argument says.
363
+ // Run as a script: write each area's zip into the directory the first argument names.
253
364
  if (isScript()) {
254
365
  const out = process.argv[2];
255
366
  if (out === undefined) {
256
- console.error("usage: node dist/test/examples-package.js <zip>");
367
+ console.error("usage: node dist/test/examples-package.js <directory>");
257
368
  process.exit(2);
258
369
  }
259
- const modules = await writeExamplesPackage(path.resolve(out));
260
- const count = modules.reduce((sum, module) => sum + module.definitions.length, 0);
261
- console.log(`${out}: ${EXAMPLES_PACKAGE_NAME}, ${count} definitions from ${modules.length} example modules`);
370
+ const areas = await writeExamplesAreaPackages(path.resolve(out));
371
+ console.log(`${out}: ${EXAMPLES_PACKAGE_NAME}, a package for each of ${areas.length} areas (${areas.join(", ")})`);
262
372
  }
263
373
  //# sourceMappingURL=examples-package.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"examples-package.js","sourceRoot":"","sources":["../../test/examples-package.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACxD,OAAO,EAAE,EAAE,EAGV,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,iEAAiE;AACjE,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAE1D,4DAA4D;AAC5D,MAAM,iBAAiB,GAAG,cAAc,CAAC;AAEzC,0BAA0B;AAC1B,MAAM,CAAC,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AAKtD,8CAA8C;AAC9C,MAAM,gBAAgB,GAAwB,IAAI,GAAG,CAAC,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,CAAC,CAAC,CAAC;AAU/H;;;;;;GAMG;AACH,MAAM,UAAU,mBAAmB,CAAC,KAAc;IAC9C,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,MAAM,IAAI,KAAK;WAC9D,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ,IAAI,gBAAgB,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAC9E,CAAC;AAED;;;;;;GAMG;AACH,MAAM,UAAU,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2BAA2B,KAAK,CAAC,MAAM,WAAW,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACvH,CAAC"}
@@ -2264,9 +2264,7 @@ export declare const stepsByKind: import("@elaraai/e3").RecordIndexDef<"flowchar
2264
2264
  readonly name: StringType;
2265
2265
  readonly kind: StringType;
2266
2266
  readonly slots: OptionType<IntegerType>;
2267
- }>>, StringType, NullType, readonly ["kind"]> & {
2268
- interval: undefined;
2269
- };
2267
+ }>>, StringType, NullType, readonly ["kind"]>;
2270
2268
  /** The step types' patch door: what another writer adds a step type through, the Steps tab's cards following. */
2271
2269
  export declare const stepTemplatesPatch: import("@elaraai/e3").MutationDef<"patch", DictType<StringType, StructType<{
2272
2270
  readonly name: StringType;
@@ -2379,9 +2377,7 @@ export declare const movesByKind: import("@elaraai/e3").RecordIndexDef<"flowchar
2379
2377
  }>>, import("@elaraai/east").VariantType<{
2380
2378
  readonly planned: NullType;
2381
2379
  readonly observed: NullType;
2382
- }>, NullType, readonly ["kind"]> & {
2383
- interval: undefined;
2384
- };
2380
+ }>, NullType, readonly ["kind"]>;
2385
2381
  export declare const DecisionOwner: StructType<{
2386
2382
  readonly name: StringType;
2387
2383
  readonly desk: StringType;
@@ -2393,9 +2389,7 @@ export declare const decisionOwners: import("@elaraai/e3").RecordDef<DictType<St
2393
2389
  export declare const ownersByDesk: import("@elaraai/e3").RecordIndexDef<"flowchart_owners_by_desk", DictType<StringType, StructType<{
2394
2390
  readonly name: StringType;
2395
2391
  readonly desk: StringType;
2396
- }>>, StringType, NullType, readonly ["desk"]> & {
2397
- interval: undefined;
2398
- };
2392
+ }>>, StringType, NullType, readonly ["desk"]>;
2399
2393
  export declare const DepotState: StructType<{
2400
2394
  readonly code: StringType;
2401
2395
  readonly name: StringType;
@@ -3652,9 +3646,7 @@ export declare const flowsByName: import("@elaraai/e3").RecordIndexDef<"name", D
3652
3646
  readonly queue: OptionType<ArrayType<StringType>>;
3653
3647
  readonly outcomes: OptionType<StringType>;
3654
3648
  }>>;
3655
- }>>, StringType, NullType, undefined> & {
3656
- interval: undefined;
3657
- };
3649
+ }>>, StringType, NullType, undefined>;
3658
3650
  export declare const flowsByDescription: import("@elaraai/e3").RecordIndexDef<"flowchart_by_description", DictType<StringType, StructType<{
3659
3651
  readonly description: OptionType<StringType>;
3660
3652
  readonly lanes: ArrayType<StructType<{
@@ -3692,9 +3684,7 @@ export declare const flowsByDescription: import("@elaraai/e3").RecordIndexDef<"f
3692
3684
  readonly queue: OptionType<ArrayType<StringType>>;
3693
3685
  readonly outcomes: OptionType<StringType>;
3694
3686
  }>>;
3695
- }>>, OptionType<StringType>, NullType, readonly ["description"]> & {
3696
- interval: undefined;
3697
- };
3687
+ }>>, OptionType<StringType>, NullType, readonly ["description"]>;
3698
3688
  export declare const flowsByDescriptionName: import("@elaraai/e3").RecordIndexDef<"flowchart_by_description_name", DictType<StringType, StructType<{
3699
3689
  readonly description: OptionType<StringType>;
3700
3690
  readonly lanes: ArrayType<StructType<{
@@ -3735,9 +3725,7 @@ export declare const flowsByDescriptionName: import("@elaraai/e3").RecordIndexDe
3735
3725
  }>>, StructType<{
3736
3726
  readonly description: OptionType<StringType>;
3737
3727
  readonly name: StringType;
3738
- }>, NullType, undefined> & {
3739
- interval: undefined;
3740
- };
3728
+ }>, NullType, undefined>;
3741
3729
  export declare const flowsByStateCount: import("@elaraai/e3").RecordIndexDef<"stateCount", DictType<StringType, StructType<{
3742
3730
  readonly description: OptionType<StringType>;
3743
3731
  readonly lanes: ArrayType<StructType<{
@@ -3775,9 +3763,7 @@ export declare const flowsByStateCount: import("@elaraai/e3").RecordIndexDef<"st
3775
3763
  readonly queue: OptionType<ArrayType<StringType>>;
3776
3764
  readonly outcomes: OptionType<StringType>;
3777
3765
  }>>;
3778
- }>>, IntegerType, NullType, undefined> & {
3779
- interval: undefined;
3780
- };
3766
+ }>>, IntegerType, NullType, undefined>;
3781
3767
  export declare const flowsByDescriptionStateCount: import("@elaraai/e3").RecordIndexDef<"flowchart_by_description_state_count", DictType<StringType, StructType<{
3782
3768
  readonly description: OptionType<StringType>;
3783
3769
  readonly lanes: ArrayType<StructType<{
@@ -3818,9 +3804,7 @@ export declare const flowsByDescriptionStateCount: import("@elaraai/e3").RecordI
3818
3804
  }>>, StructType<{
3819
3805
  readonly description: OptionType<StringType>;
3820
3806
  readonly stateCount: IntegerType;
3821
- }>, NullType, undefined> & {
3822
- interval: undefined;
3823
- };
3807
+ }>, NullType, undefined>;
3824
3808
  export declare const flowsByLane: import("@elaraai/e3").RecordIndexDef<"lane", DictType<StringType, StructType<{
3825
3809
  readonly description: OptionType<StringType>;
3826
3810
  readonly lanes: ArrayType<StructType<{
@@ -3858,9 +3842,7 @@ export declare const flowsByLane: import("@elaraai/e3").RecordIndexDef<"lane", D
3858
3842
  readonly queue: OptionType<ArrayType<StringType>>;
3859
3843
  readonly outcomes: OptionType<StringType>;
3860
3844
  }>>;
3861
- }>>, StringType, NullType, undefined> & {
3862
- interval: undefined;
3863
- };
3845
+ }>>, StringType, NullType, undefined>;
3864
3846
  export declare const flowsByDecisionOwner: import("@elaraai/e3").RecordIndexDef<"decisionOwner", DictType<StringType, StructType<{
3865
3847
  readonly description: OptionType<StringType>;
3866
3848
  readonly lanes: ArrayType<StructType<{
@@ -3898,8 +3880,6 @@ export declare const flowsByDecisionOwner: import("@elaraai/e3").RecordIndexDef<
3898
3880
  readonly queue: OptionType<ArrayType<StringType>>;
3899
3881
  readonly outcomes: OptionType<StringType>;
3900
3882
  }>>;
3901
- }>>, OptionType<StringType>, NullType, undefined> & {
3902
- interval: undefined;
3903
- };
3883
+ }>>, OptionType<StringType>, NullType, undefined>;
3904
3884
  export declare const flowchartRecordIndexes: import("@elaraai/east").ExampleDef<[], any>;
3905
3885
  //# sourceMappingURL=flowchart.examples.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flowchart.examples.d.ts","sourceRoot":"","sources":["../../../test/flowchart/flowchart.examples.tsx"],"names":[],"mappings":"AAA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