@elaraai/e3-ui 1.0.97 → 1.0.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/dist/src/allocation/adapters.d.ts +1 -1
- package/dist/src/allocation/adapters.js +1 -1
- package/dist/src/allocation/index.d.ts +232 -25
- package/dist/src/allocation/index.d.ts.map +1 -1
- package/dist/src/allocation/index.js +35 -6
- package/dist/src/allocation/index.js.map +1 -1
- package/dist/src/allocation/types.d.ts +41 -0
- package/dist/src/allocation/types.d.ts.map +1 -1
- package/dist/src/allocation/types.js +35 -0
- package/dist/src/allocation/types.js.map +1 -1
- package/dist/src/bind/data-indexed.d.ts +286 -37
- package/dist/src/bind/data-indexed.d.ts.map +1 -1
- package/dist/src/bind/data-indexed.js +259 -38
- package/dist/src/bind/data-indexed.js.map +1 -1
- package/dist/src/bind/data.d.ts +48 -9
- package/dist/src/bind/data.d.ts.map +1 -1
- package/dist/src/bind/data.js +48 -3
- package/dist/src/bind/data.js.map +1 -1
- package/dist/src/bind/record.d.ts +61 -24
- package/dist/src/bind/record.d.ts.map +1 -1
- package/dist/src/bind/record.js +17 -57
- package/dist/src/bind/record.js.map +1 -1
- package/dist/src/calendar/index.d.ts +522 -36
- package/dist/src/calendar/index.d.ts.map +1 -1
- package/dist/src/calendar/index.js +53 -13
- package/dist/src/calendar/index.js.map +1 -1
- package/dist/src/calendar/paged.d.ts +89 -0
- package/dist/src/calendar/paged.d.ts.map +1 -0
- package/dist/src/calendar/paged.js +148 -0
- package/dist/src/calendar/paged.js.map +1 -0
- package/dist/src/flowchart/index.d.ts +35 -31
- package/dist/src/flowchart/index.d.ts.map +1 -1
- package/dist/src/flowchart/index.js +35 -31
- package/dist/src/flowchart/index.js.map +1 -1
- package/dist/src/flowchart/library.d.ts +108 -84
- package/dist/src/flowchart/library.d.ts.map +1 -1
- package/dist/src/flowchart/library.js +108 -84
- package/dist/src/flowchart/library.js.map +1 -1
- package/dist/src/flowchart/payload.d.ts +105 -17
- package/dist/src/flowchart/payload.d.ts.map +1 -1
- package/dist/src/flowchart/payload.js +3 -3
- package/dist/src/flowchart/payload.js.map +1 -1
- package/dist/src/flowchart/values.d.ts +35 -31
- package/dist/src/flowchart/values.d.ts.map +1 -1
- package/dist/src/flowchart/values.js +35 -31
- package/dist/src/flowchart/values.js.map +1 -1
- package/dist/src/flowchart/window.d.ts.map +1 -1
- package/dist/src/flowchart/window.js +3 -2
- package/dist/src/flowchart/window.js.map +1 -1
- package/dist/src/index.d.ts +13 -4
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +20 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +18 -8
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +40 -10
- package/dist/src/internal.js.map +1 -1
- package/dist/src/plan/assemble.d.ts +8 -0
- package/dist/src/plan/assemble.d.ts.map +1 -1
- package/dist/src/plan/assemble.js +1 -1
- package/dist/src/plan/assemble.js.map +1 -1
- package/dist/src/plan/builders.d.ts +1530 -10
- package/dist/src/plan/builders.d.ts.map +1 -1
- package/dist/src/plan/builders.js +260 -122
- package/dist/src/plan/builders.js.map +1 -1
- package/dist/src/plan/event-rows.d.ts +224 -157
- package/dist/src/plan/event-rows.d.ts.map +1 -1
- package/dist/src/plan/event-rows.js +201 -56
- package/dist/src/plan/event-rows.js.map +1 -1
- package/dist/src/plan/factories.d.ts +72 -4
- package/dist/src/plan/factories.d.ts.map +1 -1
- package/dist/src/plan/factories.js +147 -1
- package/dist/src/plan/factories.js.map +1 -1
- package/dist/src/plan/index.d.ts +152 -125
- package/dist/src/plan/index.d.ts.map +1 -1
- package/dist/src/plan/index.js +138 -122
- package/dist/src/plan/index.js.map +1 -1
- package/dist/src/plan/ir.d.ts +1139 -8
- package/dist/src/plan/ir.d.ts.map +1 -1
- package/dist/src/plan/ir.js +5 -0
- package/dist/src/plan/ir.js.map +1 -1
- package/dist/src/plan/library.d.ts +65 -42
- package/dist/src/plan/library.d.ts.map +1 -1
- package/dist/src/plan/library.js +65 -42
- package/dist/src/plan/library.js.map +1 -1
- package/dist/src/plan/nested-checks.d.ts +146 -0
- package/dist/src/plan/nested-checks.d.ts.map +1 -0
- package/dist/src/plan/nested-checks.js +468 -0
- package/dist/src/plan/nested-checks.js.map +1 -0
- package/dist/src/plan/nested-patch.d.ts +35 -0
- package/dist/src/plan/nested-patch.d.ts.map +1 -0
- package/dist/src/plan/nested-patch.js +143 -0
- package/dist/src/plan/nested-patch.js.map +1 -0
- package/dist/src/plan/nested-read.d.ts +3250 -0
- package/dist/src/plan/nested-read.d.ts.map +1 -0
- package/dist/src/plan/nested-read.js +163 -0
- package/dist/src/plan/nested-read.js.map +1 -0
- package/dist/src/plan/nested.d.ts +280 -0
- package/dist/src/plan/nested.d.ts.map +1 -0
- package/dist/src/plan/nested.js +6 -0
- package/dist/src/plan/nested.js.map +1 -0
- package/dist/src/plan/ordered-source.d.ts +3067 -1
- package/dist/src/plan/ordered-source.d.ts.map +1 -1
- package/dist/src/plan/ordered-source.js +67 -17
- package/dist/src/plan/ordered-source.js.map +1 -1
- package/dist/src/plan/over.d.ts +111 -75
- package/dist/src/plan/over.d.ts.map +1 -1
- package/dist/src/plan/over.js +111 -75
- package/dist/src/plan/over.js.map +1 -1
- package/dist/src/plan/pick.d.ts +15 -3
- package/dist/src/plan/pick.d.ts.map +1 -1
- package/dist/src/plan/pick.js +75 -36
- package/dist/src/plan/pick.js.map +1 -1
- package/dist/src/plan/plan.d.ts +3143 -501
- package/dist/src/plan/plan.d.ts.map +1 -1
- package/dist/src/plan/plan.js +133 -34
- package/dist/src/plan/plan.js.map +1 -1
- package/dist/src/plan/reads.d.ts +421 -0
- package/dist/src/plan/reads.d.ts.map +1 -0
- package/dist/src/plan/reads.js +143 -0
- package/dist/src/plan/reads.js.map +1 -0
- package/dist/src/plan/refs.d.ts +111 -75
- package/dist/src/plan/refs.d.ts.map +1 -1
- package/dist/src/plan/refs.js +111 -75
- package/dist/src/plan/refs.js.map +1 -1
- package/dist/src/plan/root.d.ts +14 -7
- package/dist/src/plan/root.d.ts.map +1 -1
- package/dist/src/plan/root.js +82 -17
- package/dist/src/plan/root.js.map +1 -1
- package/dist/src/plan/series.d.ts +5153 -4331
- package/dist/src/plan/series.d.ts.map +1 -1
- package/dist/src/plan/series.js +1082 -266
- package/dist/src/plan/series.js.map +1 -1
- package/dist/src/plan/shade.d.ts +981 -0
- package/dist/src/plan/shade.d.ts.map +1 -0
- package/dist/src/plan/shade.js +60 -0
- package/dist/src/plan/shade.js.map +1 -0
- package/dist/src/plan/types.d.ts +192 -18
- package/dist/src/plan/types.d.ts.map +1 -1
- package/dist/src/plan/types.js +77 -19
- package/dist/src/plan/types.js.map +1 -1
- package/dist/src/query/builder.d.ts +3 -3
- package/dist/src/query/builder.d.ts.map +1 -1
- package/dist/src/query/builder.js +1 -1
- package/dist/src/query/library.d.ts +3 -3
- package/dist/src/query/library.d.ts.map +1 -1
- package/dist/src/query/library.js +1 -1
- package/dist/src/query/queries.d.ts +2 -2
- package/dist/src/query/queries.js +1 -1
- package/dist/src/query/saved.d.ts +8 -4
- package/dist/src/query/saved.d.ts.map +1 -1
- package/dist/src/query/saved.js +8 -4
- package/dist/src/query/saved.js.map +1 -1
- package/dist/src/query/types.d.ts +8 -3
- package/dist/src/query/types.d.ts.map +1 -1
- package/dist/src/query/types.js +8 -3
- package/dist/src/query/types.js.map +1 -1
- package/dist/src/roster/index.d.ts +583 -39
- package/dist/src/roster/index.d.ts.map +1 -1
- package/dist/src/roster/index.js +109 -35
- package/dist/src/roster/index.js.map +1 -1
- package/dist/src/roster/library.d.ts +12 -2
- package/dist/src/roster/library.d.ts.map +1 -1
- package/dist/src/roster/library.js +8 -0
- package/dist/src/roster/library.js.map +1 -1
- package/dist/src/roster/lists.d.ts +59 -12
- package/dist/src/roster/lists.d.ts.map +1 -1
- package/dist/src/roster/lists.js +51 -58
- package/dist/src/roster/lists.js.map +1 -1
- package/dist/src/roster/targets.d.ts +8 -4
- package/dist/src/roster/targets.d.ts.map +1 -1
- package/dist/src/roster/targets.js +9 -5
- package/dist/src/roster/targets.js.map +1 -1
- package/dist/src/roster/times.d.ts +402 -0
- package/dist/src/roster/times.d.ts.map +1 -1
- package/dist/src/roster/types.d.ts +913 -1
- package/dist/src/roster/types.d.ts.map +1 -1
- package/dist/src/roster/types.js +43 -3
- package/dist/src/roster/types.js.map +1 -1
- package/dist/src/schedule/cell-checks.d.ts +85 -0
- package/dist/src/schedule/cell-checks.d.ts.map +1 -0
- package/dist/src/schedule/cell-checks.js +211 -0
- package/dist/src/schedule/cell-checks.js.map +1 -0
- package/dist/src/schedule/days.d.ts +1 -1
- package/dist/src/schedule/days.js +1 -1
- package/dist/src/schedule/events.d.ts +52 -16
- package/dist/src/schedule/events.d.ts.map +1 -1
- package/dist/src/schedule/events.js +574 -356
- package/dist/src/schedule/events.js.map +1 -1
- package/dist/src/schedule/fields.d.ts +134 -0
- package/dist/src/schedule/fields.d.ts.map +1 -0
- package/dist/src/schedule/fields.js +207 -0
- package/dist/src/schedule/fields.js.map +1 -0
- package/dist/src/schedule/library.d.ts +11 -3
- package/dist/src/schedule/library.d.ts.map +1 -1
- package/dist/src/schedule/library.js +9 -6
- package/dist/src/schedule/library.js.map +1 -1
- package/dist/src/schedule/optimise.d.ts +124 -0
- package/dist/src/schedule/optimise.d.ts.map +1 -0
- package/dist/src/schedule/optimise.js +140 -0
- package/dist/src/schedule/optimise.js.map +1 -0
- package/dist/src/schedule/pages.d.ts +76 -0
- package/dist/src/schedule/pages.d.ts.map +1 -0
- package/dist/src/schedule/pages.js +86 -0
- package/dist/src/schedule/pages.js.map +1 -0
- package/dist/src/schedule/patch.d.ts +1 -1
- package/dist/src/schedule/patch.js +1 -1
- package/dist/src/schedule/periods.d.ts +8 -4
- package/dist/src/schedule/periods.d.ts.map +1 -1
- package/dist/src/schedule/periods.js +1 -1
- package/dist/src/schedule/periods.js.map +1 -1
- package/dist/src/schedule/record-window.d.ts +115 -22
- package/dist/src/schedule/record-window.d.ts.map +1 -1
- package/dist/src/schedule/record-window.js +140 -62
- package/dist/src/schedule/record-window.js.map +1 -1
- package/dist/src/schedule/resources.d.ts +9 -5
- package/dist/src/schedule/resources.d.ts.map +1 -1
- package/dist/src/schedule/resources.js +35 -15
- package/dist/src/schedule/resources.js.map +1 -1
- package/dist/src/schedule/session.d.ts +15 -1
- package/dist/src/schedule/session.d.ts.map +1 -1
- package/dist/src/schedule/session.js +30 -18
- package/dist/src/schedule/session.js.map +1 -1
- package/dist/src/schedule/types.d.ts +455 -37
- package/dist/src/schedule/types.d.ts.map +1 -1
- package/dist/src/schedule/types.js +79 -18
- package/dist/src/schedule/types.js.map +1 -1
- package/dist/src/schedule/window.d.ts +30 -9
- package/dist/src/schedule/window.d.ts.map +1 -1
- package/dist/src/schedule/window.js +101 -49
- package/dist/src/schedule/window.js.map +1 -1
- package/dist/src/schematic/index.d.ts +287 -0
- package/dist/src/schematic/index.d.ts.map +1 -0
- package/dist/src/schematic/index.js +216 -0
- package/dist/src/schematic/index.js.map +1 -0
- package/dist/src/schematic/kinds.d.ts +501 -0
- package/dist/src/schematic/kinds.d.ts.map +1 -0
- package/dist/src/schematic/kinds.js +1027 -0
- package/dist/src/schematic/kinds.js.map +1 -0
- package/dist/src/schematic/layers.d.ts +74 -0
- package/dist/src/schematic/layers.d.ts.map +1 -0
- package/dist/src/schematic/layers.js +99 -0
- package/dist/src/schematic/layers.js.map +1 -0
- package/dist/src/schematic/library.d.ts +202 -0
- package/dist/src/schematic/library.d.ts.map +1 -0
- package/dist/src/schematic/library.js +244 -0
- package/dist/src/schematic/library.js.map +1 -0
- package/dist/src/schematic/payload.d.ts +8310 -0
- package/dist/src/schematic/payload.d.ts.map +1 -0
- package/dist/src/schematic/payload.js +446 -0
- package/dist/src/schematic/payload.js.map +1 -0
- package/dist/src/schematic/schematic.d.ts +27 -0
- package/dist/src/schematic/schematic.d.ts.map +1 -0
- package/dist/src/schematic/schematic.js +17 -0
- package/dist/src/schematic/schematic.js.map +1 -0
- package/dist/src/schematic/shapes.d.ts +150 -0
- package/dist/src/schematic/shapes.d.ts.map +1 -0
- package/dist/src/schematic/shapes.js +171 -0
- package/dist/src/schematic/shapes.js.map +1 -0
- package/dist/src/schematic/templates.d.ts +96 -0
- package/dist/src/schematic/templates.d.ts.map +1 -0
- package/dist/src/schematic/templates.js +91 -0
- package/dist/src/schematic/templates.js.map +1 -0
- package/dist/src/schematic/types.d.ts +5766 -0
- package/dist/src/schematic/types.d.ts.map +1 -0
- package/dist/src/schematic/types.js +688 -0
- package/dist/src/schematic/types.js.map +1 -0
- package/dist/src/schematic/window.d.ts +213 -0
- package/dist/src/schematic/window.d.ts.map +1 -0
- package/dist/src/schematic/window.js +340 -0
- package/dist/src/schematic/window.js.map +1 -0
- package/dist/src/sheet/bridge.d.ts +19 -0
- package/dist/src/sheet/bridge.d.ts.map +1 -1
- package/dist/src/sheet/bridge.js +28 -21
- package/dist/src/sheet/bridge.js.map +1 -1
- package/dist/src/sheet/editing-bridge.d.ts +4 -2
- package/dist/src/sheet/editing-bridge.d.ts.map +1 -1
- package/dist/src/sheet/editing-bridge.js +8 -2
- package/dist/src/sheet/editing-bridge.js.map +1 -1
- package/dist/src/sheet/editing-types.d.ts +9 -5
- package/dist/src/sheet/editing-types.d.ts.map +1 -1
- package/dist/src/sheet/editing-types.js +9 -5
- package/dist/src/sheet/editing-types.js.map +1 -1
- package/dist/src/sheet/index.d.ts +84 -54
- package/dist/src/sheet/index.d.ts.map +1 -1
- package/dist/src/sheet/index.js +81 -53
- package/dist/src/sheet/index.js.map +1 -1
- package/dist/src/sheet/library.d.ts +13 -8
- package/dist/src/sheet/library.d.ts.map +1 -1
- package/dist/src/sheet/library.js +13 -8
- package/dist/src/sheet/library.js.map +1 -1
- package/dist/src/sheet/optimise.d.ts +69 -0
- package/dist/src/sheet/optimise.d.ts.map +1 -0
- package/dist/src/sheet/optimise.js +81 -0
- package/dist/src/sheet/optimise.js.map +1 -0
- package/dist/src/sheet/record.d.ts +1 -1
- package/dist/src/sheet/record.js +2 -2
- package/dist/src/sheet/record.js.map +1 -1
- package/dist/src/sheet/registers.d.ts +157 -133
- package/dist/src/sheet/registers.d.ts.map +1 -1
- package/dist/src/sheet/registers.js +157 -133
- package/dist/src/sheet/registers.js.map +1 -1
- package/dist/src/sheet/root.d.ts +6 -1
- package/dist/src/sheet/root.d.ts.map +1 -1
- package/dist/src/sheet/root.js +17 -5
- package/dist/src/sheet/root.js.map +1 -1
- package/dist/src/sheet/sheet.d.ts +696 -590
- package/dist/src/sheet/sheet.d.ts.map +1 -1
- package/dist/src/sheet/sheet.js +49 -15
- package/dist/src/sheet/sheet.js.map +1 -1
- package/dist/src/sheet/sub-rows.d.ts +106 -76
- package/dist/src/sheet/sub-rows.d.ts.map +1 -1
- package/dist/src/sheet/sub-rows.js +106 -76
- package/dist/src/sheet/sub-rows.js.map +1 -1
- package/dist/src/sheet/types.d.ts +57 -20
- package/dist/src/sheet/types.d.ts.map +1 -1
- package/dist/src/sheet/types.js +4 -8
- package/dist/src/sheet/types.js.map +1 -1
- package/dist/src/studio/builder.d.ts +3 -153
- package/dist/src/studio/builder.d.ts.map +1 -1
- package/dist/src/studio/builder.js +1 -1
- package/dist/src/studio/canvas.d.ts +5 -4
- package/dist/src/studio/canvas.d.ts.map +1 -1
- package/dist/src/studio/canvas.js +8 -7
- package/dist/src/studio/canvas.js.map +1 -1
- package/dist/src/studio/component.d.ts +30 -20
- package/dist/src/studio/component.d.ts.map +1 -1
- package/dist/src/studio/component.js +26 -61
- package/dist/src/studio/component.js.map +1 -1
- package/dist/src/studio/index.d.ts +2 -2
- package/dist/src/studio/index.d.ts.map +1 -1
- package/dist/src/studio/index.js +1 -1
- package/dist/src/studio/index.js.map +1 -1
- package/dist/src/studio/inspector.d.ts +10 -39
- package/dist/src/studio/inspector.d.ts.map +1 -1
- package/dist/src/studio/inspector.js +11 -31
- package/dist/src/studio/inspector.js.map +1 -1
- package/dist/src/studio/library.d.ts +3 -169
- package/dist/src/studio/library.d.ts.map +1 -1
- package/dist/src/studio/library.js +1 -1
- package/dist/src/studio/page.d.ts +0 -8
- package/dist/src/studio/page.d.ts.map +1 -1
- package/dist/src/studio/pages.d.ts +17 -591
- package/dist/src/studio/pages.d.ts.map +1 -1
- package/dist/src/studio/pages.js +17 -44
- package/dist/src/studio/pages.js.map +1 -1
- package/dist/src/studio/palette.d.ts +2 -7
- package/dist/src/studio/palette.d.ts.map +1 -1
- package/dist/src/studio/palette.js +4 -5
- package/dist/src/studio/palette.js.map +1 -1
- package/dist/src/studio/publish.d.ts +8 -18
- package/dist/src/studio/publish.d.ts.map +1 -1
- package/dist/src/studio/publish.js +10 -36
- package/dist/src/studio/publish.js.map +1 -1
- package/dist/src/utils/derive.d.ts +12 -12
- package/dist/src/utils/derive.d.ts.map +1 -1
- package/dist/src/utils/derive.js +5 -2
- package/dist/src/utils/derive.js.map +1 -1
- package/dist/src/utils/keyed-rows.d.ts +41 -0
- package/dist/src/utils/keyed-rows.d.ts.map +1 -0
- package/dist/src/utils/keyed-rows.js +64 -0
- package/dist/src/utils/keyed-rows.js.map +1 -0
- package/dist/src/utils/optimise.d.ts +79 -0
- package/dist/src/utils/optimise.d.ts.map +1 -0
- package/dist/src/utils/optimise.js +46 -0
- package/dist/src/utils/optimise.js.map +1 -0
- package/dist/src/utils/ordered-source.d.ts.map +1 -1
- package/dist/src/utils/ordered-source.js +14 -5
- package/dist/src/utils/ordered-source.js.map +1 -1
- package/dist/test/allocation/allocation.examples.d.ts +1900 -1610
- package/dist/test/allocation/allocation.examples.d.ts.map +1 -1
- package/dist/test/allocation/allocation.examples.js +179 -89
- package/dist/test/allocation/allocation.examples.js.map +1 -1
- package/dist/test/allocation/optimise.examples.d.ts +109 -0
- package/dist/test/allocation/optimise.examples.d.ts.map +1 -0
- package/dist/test/allocation/optimise.examples.js +223 -0
- package/dist/test/allocation/optimise.examples.js.map +1 -0
- package/dist/test/bind/data/data.examples.d.ts +1172 -514
- package/dist/test/bind/data/data.examples.d.ts.map +1 -1
- package/dist/test/bind/data/data.examples.js +284 -164
- package/dist/test/bind/data/data.examples.js.map +1 -1
- package/dist/test/bind/record/record.examples.d.ts +457 -428
- package/dist/test/bind/record/record.examples.d.ts.map +1 -1
- package/dist/test/bind/record/record.examples.js +41 -21
- package/dist/test/bind/record/record.examples.js.map +1 -1
- package/dist/test/calendar/calendar-records.examples.d.ts +162 -170
- package/dist/test/calendar/calendar-records.examples.d.ts.map +1 -1
- package/dist/test/calendar/calendar-records.examples.js +20 -12
- package/dist/test/calendar/calendar-records.examples.js.map +1 -1
- package/dist/test/calendar/calendar-windows.examples.d.ts +9 -0
- package/dist/test/calendar/calendar-windows.examples.d.ts.map +1 -0
- package/dist/test/calendar/calendar-windows.examples.js +111 -0
- package/dist/test/calendar/calendar-windows.examples.js.map +1 -0
- package/dist/test/calendar/calendar.examples.d.ts +1172 -915
- package/dist/test/calendar/calendar.examples.d.ts.map +1 -1
- package/dist/test/calendar/calendar.examples.js +211 -124
- package/dist/test/calendar/calendar.examples.js.map +1 -1
- package/dist/test/calendar/optimise.examples.d.ts +132 -0
- package/dist/test/calendar/optimise.examples.d.ts.map +1 -0
- package/dist/test/calendar/optimise.examples.js +75 -0
- package/dist/test/calendar/optimise.examples.js.map +1 -0
- package/dist/test/examples-package.d.ts +49 -16
- package/dist/test/examples-package.d.ts.map +1 -1
- package/dist/test/examples-package.js +138 -49
- package/dist/test/examples-package.js.map +1 -1
- package/dist/test/flowchart/flowchart.examples.d.ts +3841 -2840
- package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -1
- package/dist/test/flowchart/flowchart.examples.js +211 -121
- package/dist/test/flowchart/flowchart.examples.js.map +1 -1
- package/dist/test/plan/optimise.examples.d.ts +207 -0
- package/dist/test/plan/optimise.examples.d.ts.map +1 -0
- package/dist/test/plan/optimise.examples.js +98 -0
- package/dist/test/plan/optimise.examples.js.map +1 -0
- package/dist/test/plan/plan-events.examples.d.ts +4055 -3279
- package/dist/test/plan/plan-events.examples.d.ts.map +1 -1
- package/dist/test/plan/plan-events.examples.js +492 -319
- package/dist/test/plan/plan-events.examples.js.map +1 -1
- package/dist/test/plan/plan-nested.examples.d.ts +1829 -0
- package/dist/test/plan/plan-nested.examples.d.ts.map +1 -0
- package/dist/test/plan/plan-nested.examples.js +321 -0
- package/dist/test/plan/plan-nested.examples.js.map +1 -0
- package/dist/test/plan/plan-records.examples.d.ts +391 -244
- package/dist/test/plan/plan-records.examples.d.ts.map +1 -1
- package/dist/test/plan/plan-records.examples.js +186 -65
- package/dist/test/plan/plan-records.examples.js.map +1 -1
- package/dist/test/plan/plan-windows.examples.d.ts +1978 -803
- package/dist/test/plan/plan-windows.examples.d.ts.map +1 -1
- package/dist/test/plan/plan-windows.examples.js +269 -99
- package/dist/test/plan/plan-windows.examples.js.map +1 -1
- package/dist/test/plan/plan.examples.d.ts +2238 -5726
- package/dist/test/plan/plan.examples.d.ts.map +1 -1
- package/dist/test/plan/plan.examples.js +846 -973
- package/dist/test/plan/plan.examples.js.map +1 -1
- package/dist/test/query/query.examples.d.ts +5221 -3005
- package/dist/test/query/query.examples.d.ts.map +1 -1
- package/dist/test/query/query.examples.js +169 -118
- package/dist/test/query/query.examples.js.map +1 -1
- package/dist/test/roster/domain.examples.d.ts +804 -0
- package/dist/test/roster/domain.examples.d.ts.map +1 -1
- package/dist/test/roster/domain.examples.js +3 -3
- package/dist/test/roster/domain.examples.js.map +1 -1
- package/dist/test/roster/optimise.examples.d.ts +485 -0
- package/dist/test/roster/optimise.examples.d.ts.map +1 -0
- package/dist/test/roster/optimise.examples.js +155 -0
- package/dist/test/roster/optimise.examples.js.map +1 -0
- package/dist/test/roster/roster-records.examples.d.ts +364 -404
- package/dist/test/roster/roster-records.examples.d.ts.map +1 -1
- package/dist/test/roster/roster-records.examples.js +40 -26
- package/dist/test/roster/roster-records.examples.js.map +1 -1
- package/dist/test/roster/roster.examples.d.ts +5091 -1424
- package/dist/test/roster/roster.examples.d.ts.map +1 -1
- package/dist/test/roster/roster.examples.js +255 -109
- package/dist/test/roster/roster.examples.js.map +1 -1
- package/dist/test/roster/warehouse.d.ts +150 -7
- package/dist/test/roster/warehouse.d.ts.map +1 -1
- package/dist/test/roster/warehouse.js +36 -11
- package/dist/test/roster/warehouse.js.map +1 -1
- package/dist/test/schedule/schedule.examples.d.ts +2646 -2473
- package/dist/test/schedule/schedule.examples.d.ts.map +1 -1
- package/dist/test/schedule/schedule.examples.js +144 -88
- package/dist/test/schedule/schedule.examples.js.map +1 -1
- package/dist/test/schematic/schematic-records.examples.d.ts +454 -0
- package/dist/test/schematic/schematic-records.examples.d.ts.map +1 -0
- package/dist/test/schematic/schematic-records.examples.js +219 -0
- package/dist/test/schematic/schematic-records.examples.js.map +1 -0
- package/dist/test/schematic/schematic.examples.d.ts +2640 -0
- package/dist/test/schematic/schematic.examples.d.ts.map +1 -0
- package/dist/test/schematic/schematic.examples.js +559 -0
- package/dist/test/schematic/schematic.examples.js.map +1 -0
- package/dist/test/sheet/optimise.examples.d.ts +184 -0
- package/dist/test/sheet/optimise.examples.d.ts.map +1 -0
- package/dist/test/sheet/optimise.examples.js +79 -0
- package/dist/test/sheet/optimise.examples.js.map +1 -0
- package/dist/test/sheet/sheet-records.examples.d.ts +208 -356
- package/dist/test/sheet/sheet-records.examples.d.ts.map +1 -1
- package/dist/test/sheet/sheet-records.examples.js +66 -29
- package/dist/test/sheet/sheet-records.examples.js.map +1 -1
- package/dist/test/sheet/sheet.examples.d.ts +3650 -3377
- package/dist/test/sheet/sheet.examples.d.ts.map +1 -1
- package/dist/test/sheet/sheet.examples.js +406 -296
- package/dist/test/sheet/sheet.examples.js.map +1 -1
- package/dist/test/studio/component.examples.js +2 -2
- package/dist/test/studio/component.examples.js.map +1 -1
- package/dist/test/studio/page.examples.js +6 -6
- package/dist/test/studio/page.examples.js.map +1 -1
- package/dist/test/studio/studio.examples.d.ts +2329 -873
- package/dist/test/studio/studio.examples.d.ts.map +1 -1
- package/dist/test/studio/studio.examples.js +155 -107
- package/dist/test/studio/studio.examples.js.map +1 -1
- package/package.json +15 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window.js","sourceRoot":"","sources":["../../../src/schedule/window.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAEH,OAAO,EACH,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,GAE9I,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,CAAC;AAcxC;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,IAAc;IACnC,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS;QAAE,OAAO,SAAS,CAAC;IAC9C,MAAM,IAAI,GAAI,IAAI,CAAC,KAA8C,CAAC,MAAM,CAAC,CAAC;IAC1E,OAAO,IAAI,KAAK,SAAS,IAAI,WAAW,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;AACxF,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CAAC,IAAc;IACnC,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC7B,OAAO,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,gBAAgB,SAAS,CAAC,KAAK,CAAC,EAAE,CA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AK,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE;wBACvC,IAAI,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,EAAE;4BACf,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;wBACnF,CAAC;qBACJ,CAAC,CAAC;gBACP,CAAC,CAAC,CAAC;YACP,CAAC;SACJ,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAClB,CAAC,CAA8E,CAAC;AACpF,CAAC"}
|
|
@@ -0,0 +1,287 @@
|
|
|
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 Schematic (#1381): the 2D world-coordinate drawing of the app's own
|
|
7
|
+
* records, e3-ui's as the Plan, the Sheet and the Flowchart are.
|
|
8
|
+
* `<Schematic>` declares its kinds over the app's records — items, zones,
|
|
9
|
+
* links and nets, each record's fields mapped to the Schematic's roles — and
|
|
10
|
+
* returns its payload through the `Schematic` carrier, which
|
|
11
|
+
* e3-ui-components' renderer draws.
|
|
12
|
+
*
|
|
13
|
+
* - `types.ts` — the value types its accessors return, the references, boxes
|
|
14
|
+
* and the connect veto's candidate the Schematic speaks in, and the kinds'
|
|
15
|
+
* wire (`Schematic.Types.*`).
|
|
16
|
+
* - `kinds.ts` — `Schematic.items`, `zones`, `links`, `nets` and `details`:
|
|
17
|
+
* each role's check, the binding a kind's read takes, and the closed
|
|
18
|
+
* functions over beast2 bytes.
|
|
19
|
+
* - `templates.ts` — `Schematic.templates`, a kind's presets read from a
|
|
20
|
+
* record.
|
|
21
|
+
* - `layers.ts` — `Schematic.layers`, the layers read from the app's record.
|
|
22
|
+
* - `window.ts` — a kind's reads: whole, or complete through its source of
|
|
23
|
+
* the slice; and, read by area, which index and searches its window reads,
|
|
24
|
+
* the agreement of the index's box with its roles, and the density's raster.
|
|
25
|
+
* - `library.ts` — `Schematic.library`, the library pane's tabs, and their
|
|
26
|
+
* wire.
|
|
27
|
+
* - `shapes.ts` — the pattern, style and geometry helpers.
|
|
28
|
+
* - `payload.ts` — the payload, its carrier, the shared keys, the props and
|
|
29
|
+
* their refusals.
|
|
30
|
+
* - `schematic.ts` — the tag.
|
|
31
|
+
*
|
|
32
|
+
* @packageDocumentation
|
|
33
|
+
*/
|
|
34
|
+
import { SchedulePatchTypeFor, schedulePatch } from "../schedule/patch.js";
|
|
35
|
+
import { schematicDetails, schematicItems, schematicLinks, schematicNets, schematicZones } from "./kinds.js";
|
|
36
|
+
import { schematicLayers } from "./layers.js";
|
|
37
|
+
import { SchematicLibraryTabType, type SchematicLibrary } from "./library.js";
|
|
38
|
+
import { SchematicComponent, SchematicPayloadType, createSchematicPayload } from "./payload.js";
|
|
39
|
+
import { type SchematicTagType } from "./schematic.js";
|
|
40
|
+
import { SchematicShapes } from "./shapes.js";
|
|
41
|
+
import { schematicTemplates } from "./templates.js";
|
|
42
|
+
import { SchematicBoxType, SchematicCandidateType, SchematicCardRolesType, SchematicDetailsEntryType, SchematicDetailsRolesType, SchematicKindDetailsType, SchematicEmphasisType, SchematicEndsType, SchematicGeometryType, SchematicItemEntryType, SchematicItemKindType, SchematicItemType, SchematicLayerType, SchematicLinkEntryType, SchematicLinkKindType, SchematicLinkStyleType, SchematicLinkType, SchematicMeterType, SchematicNarrowedType, SchematicNetEntryType, SchematicNetKindType, SchematicNetType, SchematicPointType, SchematicRefType, SchematicRouteType, SchematicSidesType, SchematicStatusCasesFor, SchematicStatusType, SchematicTemplateType, SchematicToneType, SchematicVertexType, SchematicZoneEntryType, SchematicZoneKindType, SchematicZonePatternType, SchematicZoneType } from "./types.js";
|
|
43
|
+
export { SchematicTag, type SchematicTagType } from "./schematic.js";
|
|
44
|
+
export { SCHEMATIC_DEF, isSchematicKind, schematicDetails, schematicItems, schematicLinks, schematicNets, schematicZones, type SchematicDetails, type SchematicDetailsConfig, type SchematicEnd, type SchematicEndField, type SchematicFloatField, type SchematicItems, type SchematicItemsConfig, type SchematicLinks, type SchematicLinksConfig, type SchematicMembersField, type SchematicNets, type SchematicNetsConfig, type SchematicPlaceField, type SchematicRecord, type SchematicSide, type SchematicStatusConfig, type SchematicStringField, type SchematicValuesOf, type SchematicViaField, type SchematicZones, type SchematicZonesConfig, } from "./kinds.js";
|
|
45
|
+
export { SCHEMATIC_TEMPLATES, checkedSchematicTemplates, isSchematicTemplates, schematicTemplates, type SchematicTemplates, type SchematicTemplatesConfig, } from "./templates.js";
|
|
46
|
+
export { SCHEMATIC_WINDOW_READ_ROWS, SCHEMATIC_WINDOW_ROWS, schematicAreaIndexes, schematicDensityCells, schematicRaster, schematicSourceRows, schematicUnplacedPlan, schematicWholeRows, schematicWindowPlan, type SchematicAreaIndexes, type SchematicDensityCell, type SchematicKindPart, type SchematicRaster, type SchematicUnplacedPlan, type SchematicWindowPlan, } from "./window.js";
|
|
47
|
+
export { isSchematicLayers, schematicLayers, type SchematicLayers, type SchematicLayersConfig } from "./layers.js";
|
|
48
|
+
export { SchematicLibraryCardType, SchematicLibraryFactories, SchematicLibraryTabType, buildSchematicLibrary, schematicTabSources, type SchematicLibrary, type SchematicLibraryContext, type SchematicLibraryKind, type SchematicLibraryTab, type SchematicLibraryTabConfig, } from "./library.js";
|
|
49
|
+
export { SchematicShapes, type SchematicPatternConfig, type SchematicPolylineConfig, type SchematicToneLiteral, type SchematicVertexInput, type SchematicVertices, } from "./shapes.js";
|
|
50
|
+
export { SchematicComponent, SchematicPayloadType, createSchematicPayload, schematicKeys, type SchematicNarrowedOptions, type SchematicProps, } from "./payload.js";
|
|
51
|
+
/** The East types a Schematic is written with — `Schematic.Types` (§4.7). */
|
|
52
|
+
export interface SchematicTypes {
|
|
53
|
+
/** Shape geometry, drawn about its entity's anchor: a footprint, a zone's shape ({@link SchematicGeometryType}). */
|
|
54
|
+
Geometry: typeof SchematicGeometryType;
|
|
55
|
+
/** A polyline's or a polygon's vertex: an offset from the anchor, and its bulge ({@link SchematicVertexType}). */
|
|
56
|
+
Vertex: typeof SchematicVertexType;
|
|
57
|
+
/** A point in world units: a link's waypoint ({@link SchematicPointType}). */
|
|
58
|
+
Point: typeof SchematicPointType;
|
|
59
|
+
/** A theme tone ({@link SchematicToneType}). */
|
|
60
|
+
Tone: typeof SchematicToneType;
|
|
61
|
+
/** A zone's pattern — outline or hatch ({@link SchematicZonePatternType}). */
|
|
62
|
+
ZonePattern: typeof SchematicZonePatternType;
|
|
63
|
+
/** A link's style — solid or dashed ({@link SchematicLinkStyleType}). */
|
|
64
|
+
LinkStyle: typeof SchematicLinkStyleType;
|
|
65
|
+
/** A link's routing — orthogonal or direct ({@link SchematicRouteType}). */
|
|
66
|
+
Route: typeof SchematicRouteType;
|
|
67
|
+
/** How one case of a status shows ({@link SchematicStatusType}). */
|
|
68
|
+
Status: typeof SchematicStatusType;
|
|
69
|
+
/** `StatusCases(V)` — a Status per case of a status variant ({@link SchematicStatusCasesFor}). */
|
|
70
|
+
StatusCases: typeof SchematicStatusCasesFor;
|
|
71
|
+
/** `Patch(R)` — a patch over a kind's row type, every field an `Option` ({@link SchedulePatchTypeFor}). */
|
|
72
|
+
Patch: typeof SchedulePatchTypeFor;
|
|
73
|
+
/** A card's bar ({@link SchematicMeterType}). */
|
|
74
|
+
Meter: typeof SchematicMeterType;
|
|
75
|
+
/** An entity, named by its kind's slot and its key ({@link SchematicRefType}). */
|
|
76
|
+
Ref: typeof SchematicRefType;
|
|
77
|
+
/** A box in world units ({@link SchematicBoxType}). */
|
|
78
|
+
Box: typeof SchematicBoxType;
|
|
79
|
+
/** A layer ({@link SchematicLayerType}). */
|
|
80
|
+
Layer: typeof SchematicLayerType;
|
|
81
|
+
/** The matches' emphasis — halo or pulse ({@link SchematicEmphasisType}). */
|
|
82
|
+
Emphasis: typeof SchematicEmphasisType;
|
|
83
|
+
/** What a Connect, a Retarget or an Extend would write, as `canConnect` hears it ({@link SchematicCandidateType}). */
|
|
84
|
+
Candidate: typeof SchematicCandidateType;
|
|
85
|
+
/** An item's roles, as its kind reads them from the app's row ({@link SchematicItemType}). */
|
|
86
|
+
Item: typeof SchematicItemType;
|
|
87
|
+
/** A zone's roles ({@link SchematicZoneType}). */
|
|
88
|
+
Zone: typeof SchematicZoneType;
|
|
89
|
+
/** A link's roles ({@link SchematicLinkType}). */
|
|
90
|
+
Link: typeof SchematicLinkType;
|
|
91
|
+
/** A net's roles ({@link SchematicNetType}). */
|
|
92
|
+
Net: typeof SchematicNetType;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* The type of the {@link Schematic} namespace: `<Schematic>`, its kinds, its
|
|
96
|
+
* templates, its patches, its library's tabs, the pattern and geometry helpers
|
|
97
|
+
* and its East types.
|
|
98
|
+
*/
|
|
99
|
+
export interface SchematicNamespace extends SchematicTagType {
|
|
100
|
+
/** One kind of placed item over the app's record ({@link schematicItems}). */
|
|
101
|
+
items: typeof schematicItems;
|
|
102
|
+
/** One kind of zone over the app's record ({@link schematicZones}). */
|
|
103
|
+
zones: typeof schematicZones;
|
|
104
|
+
/** One kind of link over the app's record ({@link schematicLinks}). */
|
|
105
|
+
links: typeof schematicLinks;
|
|
106
|
+
/** One kind of net over the app's record ({@link schematicNets}). */
|
|
107
|
+
nets: typeof schematicNets;
|
|
108
|
+
/** A kind's details: a record of the app's keyed as its kind is ({@link schematicDetails}). */
|
|
109
|
+
details: typeof schematicDetails;
|
|
110
|
+
/** A kind's templates, read from a record ({@link schematicTemplates}). */
|
|
111
|
+
templates: typeof schematicTemplates;
|
|
112
|
+
/** The layers, read from the app's record ({@link schematicLayers}). */
|
|
113
|
+
layers: typeof schematicLayers;
|
|
114
|
+
/** A patch over a kind's row type: what an author's card dropped on an entity sets ({@link schedulePatch}). */
|
|
115
|
+
patch: typeof schedulePatch;
|
|
116
|
+
/** The library pane's tabs, each a factory `library` lists ({@link SchematicLibrary}). */
|
|
117
|
+
library: SchematicLibrary;
|
|
118
|
+
/** An `outline` zone pattern — the dashed boundary with an eyebrow label. */
|
|
119
|
+
outline: typeof SchematicShapes.outline;
|
|
120
|
+
/** A `hatch` zone pattern — the hatched band. */
|
|
121
|
+
hatch: typeof SchematicShapes.hatch;
|
|
122
|
+
/** A `solid` link style — a physical run. */
|
|
123
|
+
solid: typeof SchematicShapes.solid;
|
|
124
|
+
/** A `dashed` link style — a routing or logical connection. */
|
|
125
|
+
dashed: typeof SchematicShapes.dashed;
|
|
126
|
+
/** A `rect` geometry — the entity's box itself. */
|
|
127
|
+
rect: typeof SchematicShapes.rect;
|
|
128
|
+
/** A `circle` geometry — centred on the entity's anchor. */
|
|
129
|
+
circle: typeof SchematicShapes.circle;
|
|
130
|
+
/** A `polyline` geometry — about the entity's anchor, optionally a band. */
|
|
131
|
+
polyline: typeof SchematicShapes.polyline;
|
|
132
|
+
/** A `polygon` geometry — about the entity's anchor. */
|
|
133
|
+
polygon: typeof SchematicShapes.polygon;
|
|
134
|
+
/** The East types a Schematic is written with ({@link SchematicTypes}). */
|
|
135
|
+
Types: SchematicTypes;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* `<Schematic>` — the 2D world-coordinate drawing of the app's own records:
|
|
139
|
+
* placed items (racks, cooling units, power distribution units), zones (halls,
|
|
140
|
+
* cages, hot and cold aisles), links between two items (fibre runs) and nets
|
|
141
|
+
* joining many to many (a power distribution unit feeding a row of racks).
|
|
142
|
+
*
|
|
143
|
+
* @remarks
|
|
144
|
+
* - **Its kinds** are the app's records (§1): `items`, `zones`, `links` and
|
|
145
|
+
* `nets` each map a slot to a kind — `Schematic.items(record, { … })` and
|
|
146
|
+
* the rest — whose roles are the record's fields, named, or accessors over
|
|
147
|
+
* a row and its key. A role naming a missing field, or one of another type,
|
|
148
|
+
* is refused when the surface is built. A slot names the kind in the
|
|
149
|
+
* payload, and the source of the slice that narrows it.
|
|
150
|
+
* - **Editable or read only by its binding** (§1, rule 4): a kind bound with
|
|
151
|
+
* its patch door, `Record.bind(record), its record declaring patch: mutation.patch()`, is
|
|
152
|
+
* editable; one bound `Data.bind(record)`, or `Data.bindPaged(record)` read
|
|
153
|
+
* through its source, is read only. `readOnly` makes every kind so.
|
|
154
|
+
* - **Its details** (`Schematic.details`): a record keyed as its kind is,
|
|
155
|
+
* whose status, bar, figure and second line the cards draw.
|
|
156
|
+
* - **Its narrowing** is one `Slice.bindRecords`: a source named after a
|
|
157
|
+
* kind's slot narrows that kind, read complete through it, and each other
|
|
158
|
+
* source the templates list or the author's tab that names it.
|
|
159
|
+
* - **Geometry is drawn about its entity's anchor** (D22): an item's centre,
|
|
160
|
+
* or a zone's box centre, so an outline moves with its item. A footprint
|
|
161
|
+
* or a zone's shape is an accessor building it from the row's own fields
|
|
162
|
+
* (`Schematic.circle`, `polygon`, …), so the app's record keeps its own
|
|
163
|
+
* types (D35).
|
|
164
|
+
* - **Its props are the Plan's, the Roster's and the Calendar's** (D31–D34,
|
|
165
|
+
* D36): `id`, an inspector you opt into, library tabs over every kind,
|
|
166
|
+
* `onSelect` hearing the whole selection, `canConnect` answering a candidate
|
|
167
|
+
* with the refusal's words, and layers read from the app's record
|
|
168
|
+
* (`Schematic.layers`).
|
|
169
|
+
* - **Refused when the surface is built**, each naming the form that
|
|
170
|
+
* replaces it: rows and their mappers, the callbacks for an edit,
|
|
171
|
+
* `linkMode`, the per-domain read-only switches, the hover cards, the
|
|
172
|
+
* slice's effect props, `sliceSelectField`, `selectionMode`, `navigator`,
|
|
173
|
+
* `height` and `maxHeight`, `onSelectZone`, `onSelectionChange`,
|
|
174
|
+
* `onZoneSelectionChange`, `onSelectLink`, `onViewportChange`, `onItemOpen`,
|
|
175
|
+
* `selectZoomFocus`, `name`, an `inspector` object and a `layers` list (§2).
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* ```tsx
|
|
179
|
+
* // .tsx file with the `@jsxImportSource @elaraai/e3-ui` pragma
|
|
180
|
+
* import { DictType, East, FloatType, StringType, StructType } from "@elaraai/east";
|
|
181
|
+
* import { Box, Reactive, UIComponentType } from "@elaraai/east-ui";
|
|
182
|
+
* import { Data, Schematic } from "@elaraai/e3-ui";
|
|
183
|
+
* import e3 from "@elaraai/e3";
|
|
184
|
+
*
|
|
185
|
+
* export const FloorRack = StructType({ name: StringType, x: FloatType, y: FloatType, w: FloatType, h: FloatType, model: StringType, kw: FloatType, capacity: FloatType });
|
|
186
|
+
* export const schematicFloorRacks = e3.record("schematic_floor_racks", DictType(StringType, FloorRack), {
|
|
187
|
+
* initial: new Map([
|
|
188
|
+
* ["A01", { name: "A01", x: 2.4, y: 2.9, w: 3.2, h: 1.2, model: "42U · 8 kW", kw: 5.2, capacity: 8.0 }],
|
|
189
|
+
* ["A02", { name: "A02", x: 6.0, y: 2.9, w: 3.2, h: 1.2, model: "42U · 8 kW", kw: 7.4, capacity: 8.0 }],
|
|
190
|
+
* ["A03", { name: "A03", x: 9.6, y: 2.9, w: 3.2, h: 1.2, model: "42U · 8 kW", kw: 3.9, capacity: 8.0 }],
|
|
191
|
+
* ["A04", { name: "A04", x: 13.2, y: 2.9, w: 3.2, h: 1.2, model: "48U · 12 kW", kw: 9.6, capacity: 12.0 }],
|
|
192
|
+
* ["B01", { name: "B01", x: 2.4, y: 8.6, w: 3.2, h: 1.2, model: "42U · 8 kW", kw: 6.1, capacity: 8.0 }],
|
|
193
|
+
* ["B02", { name: "B02", x: 6.0, y: 8.6, w: 3.2, h: 1.2, model: "42U · 8 kW", kw: 2.8, capacity: 8.0 }],
|
|
194
|
+
* ]),
|
|
195
|
+
* indexes: (index) => ({
|
|
196
|
+
* // The racks by their model: what the binding matrix's source reads them through, built and never run.
|
|
197
|
+
* schematic_floor_racks_by_model: index.on(["model"]),
|
|
198
|
+
* }),
|
|
199
|
+
* mutations: (mutation) => ({
|
|
200
|
+
* // The floor's racks' patch door: the handover's Save, and another session's moves of a rack, which the floor redraws.
|
|
201
|
+
* patch: mutation.patch(),
|
|
202
|
+
* }),
|
|
203
|
+
* });
|
|
204
|
+
*
|
|
205
|
+
* const schematicFloor = East.function([], UIComponentType, (_$) => (
|
|
206
|
+
* <Reactive>{$ => {
|
|
207
|
+
* const racks = $.let(Data.bind(schematicFloorRacks));
|
|
208
|
+
* return (
|
|
209
|
+
* <Box height="440px">
|
|
210
|
+
* <Schematic
|
|
211
|
+
* id="floor"
|
|
212
|
+
* extent={{ width: 18, height: 12 }}
|
|
213
|
+
* scaleUnit="m"
|
|
214
|
+
* items={{
|
|
215
|
+
* racks: Schematic.items(racks, {
|
|
216
|
+
* name: "Rack", icon: "server", x: "x", y: "y", width: "w", height: "h", label: "name",
|
|
217
|
+
* sublabel: (r) => r.model,
|
|
218
|
+
* meter: (r) => ({ value: r.kw, max: r.capacity }),
|
|
219
|
+
* }),
|
|
220
|
+
* }}
|
|
221
|
+
* />
|
|
222
|
+
* </Box>
|
|
223
|
+
* );
|
|
224
|
+
* }}</Reactive>
|
|
225
|
+
* ));
|
|
226
|
+
* ```
|
|
227
|
+
*/
|
|
228
|
+
export declare const Schematic: SchematicNamespace;
|
|
229
|
+
/**
|
|
230
|
+
* The type of the internal Schematic namespace — the public one, the payload
|
|
231
|
+
* the tag returns through its carrier, the carrier the renderer registers
|
|
232
|
+
* against, and the payload's own East types.
|
|
233
|
+
*/
|
|
234
|
+
export interface SchematicInternalNamespace extends SchematicNamespace {
|
|
235
|
+
/** Creates the Schematic's payload alone — what `<Schematic>` returns through the `Schematic` carrier ({@link createSchematicPayload}). */
|
|
236
|
+
Payload: typeof createSchematicPayload;
|
|
237
|
+
/** The `Schematic` carrier ({@link SchematicComponent}). */
|
|
238
|
+
Component: typeof SchematicComponent;
|
|
239
|
+
/** The East types a Schematic is written with, and its payload's. */
|
|
240
|
+
Types: SchematicTypes & {
|
|
241
|
+
/** The renderer's payload ({@link SchematicPayloadType}). */
|
|
242
|
+
Payload: typeof SchematicPayloadType;
|
|
243
|
+
/** An item kind, closed ({@link SchematicItemKindType}). */
|
|
244
|
+
ItemKind: typeof SchematicItemKindType;
|
|
245
|
+
/** A zone kind, closed ({@link SchematicZoneKindType}). */
|
|
246
|
+
ZoneKind: typeof SchematicZoneKindType;
|
|
247
|
+
/** A link kind, closed ({@link SchematicLinkKindType}). */
|
|
248
|
+
LinkKind: typeof SchematicLinkKindType;
|
|
249
|
+
/** A net kind, closed ({@link SchematicNetKindType}). */
|
|
250
|
+
NetKind: typeof SchematicNetKindType;
|
|
251
|
+
/** A kind's details, closed ({@link SchematicKindDetailsType}). */
|
|
252
|
+
Details: typeof SchematicKindDetailsType;
|
|
253
|
+
/** A details row's roles ({@link SchematicDetailsRolesType}). */
|
|
254
|
+
DetailsRoles: typeof SchematicDetailsRolesType;
|
|
255
|
+
/** Which of a card's roles its kind's details give ({@link SchematicCardRolesType}). */
|
|
256
|
+
CardRoles: typeof SchematicCardRolesType;
|
|
257
|
+
/** A stored item: its roles and its row's bytes ({@link SchematicItemEntryType}). */
|
|
258
|
+
ItemEntry: typeof SchematicItemEntryType;
|
|
259
|
+
/** A stored zone ({@link SchematicZoneEntryType}). */
|
|
260
|
+
ZoneEntry: typeof SchematicZoneEntryType;
|
|
261
|
+
/** A stored link ({@link SchematicLinkEntryType}). */
|
|
262
|
+
LinkEntry: typeof SchematicLinkEntryType;
|
|
263
|
+
/** A stored net ({@link SchematicNetEntryType}). */
|
|
264
|
+
NetEntry: typeof SchematicNetEntryType;
|
|
265
|
+
/** A stored details row ({@link SchematicDetailsEntryType}). */
|
|
266
|
+
DetailsEntry: typeof SchematicDetailsEntryType;
|
|
267
|
+
/** A link's ends, as a gesture writes them ({@link SchematicEndsType}). */
|
|
268
|
+
Ends: typeof SchematicEndsType;
|
|
269
|
+
/** A net's sides, as a gesture writes them ({@link SchematicSidesType}). */
|
|
270
|
+
Sides: typeof SchematicSidesType;
|
|
271
|
+
/** One template ({@link SchematicTemplateType}). */
|
|
272
|
+
Template: typeof SchematicTemplateType;
|
|
273
|
+
/** How a narrowed-out row draws ({@link SchematicNarrowedType}). */
|
|
274
|
+
Narrowed: typeof SchematicNarrowedType;
|
|
275
|
+
/** One tab of the library ({@link SchematicLibraryTabType}). */
|
|
276
|
+
LibraryTab: typeof SchematicLibraryTabType;
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* The internal Schematic namespace — `@elaraai/e3-ui/internal`'s `Schematic`:
|
|
281
|
+
* the public one, `Schematic.Payload`, the `Schematic` carrier and the
|
|
282
|
+
* payload's types, for the renderer and the tests.
|
|
283
|
+
*
|
|
284
|
+
* @internal
|
|
285
|
+
*/
|
|
286
|
+
export declare const SchematicInternal: SchematicInternalNamespace;
|
|
287
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schematic/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC7G,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAA6B,uBAAuB,EAAE,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACzG,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAChG,OAAO,EAAgB,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,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QAAQ,EAAE,OAAO,qBAAqB,CAAC;QACvC,2DAA2D;QAC3D,QAAQ,EAAE,OAAO,qBAAqB,CAAC;QACvC,yDAAyD;QACzD,OAAO,EAAE,OAAO,oBAAoB,CAAC;QACrC,mEAAmE;QACnE,OAAO,EAAE,OAAO,wBAAwB,CAAC;QACzC,iEAAiE;QACjE,YAAY,EAAE,OAAO,yBAAyB,CAAC;QAC/C,wFAAwF;QACxF,SAAS,EAAE,OAAO,sBAAsB,CAAC;QACzC,qFAAqF;QACrF,SAAS,EAAE,OAAO,sBAAsB,CAAC;QACzC,sDAAsD;QACtD,SAAS,EAAE,OAAO,sBAAsB,CAAC;QACzC,sDAAsD;QACtD,SAAS,EAAE,OAAO,sBAAsB,CAAC;QACzC,oDAAoD;QACpD,QAAQ,EAAE,OAAO,qBAAqB,CAAC;QACvC,gEAAgE;QAChE,YAAY,EAAE,OAAO,yBAAyB,CAAC;QAC/C,2EAA2E;QAC3E,IAAI,EAAE,OAAO,iBAAiB,CAAC;QAC/B,4EAA4E;QAC5E,KAAK,EAAE,OAAO,kBAAkB,CAAC;QACjC,oDAAoD;QACpD,QAAQ,EAAE,OAAO,qBAAqB,CAAC;QACvC,oEAAoE;QACpE,QAAQ,EAAE,OAAO,qBAAqB,CAAC;QACvC,gEAAgE;QAChE,UAAU,EAAE,OAAO,uBAAuB,CAAC;KAC9C,CAAC;CACL;AAOD;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,0BAwB9B,CAAC"}
|
|
@@ -0,0 +1,216 @@
|
|
|
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 Schematic (#1381): the 2D world-coordinate drawing of the app's own
|
|
7
|
+
* records, e3-ui's as the Plan, the Sheet and the Flowchart are.
|
|
8
|
+
* `<Schematic>` declares its kinds over the app's records — items, zones,
|
|
9
|
+
* links and nets, each record's fields mapped to the Schematic's roles — and
|
|
10
|
+
* returns its payload through the `Schematic` carrier, which
|
|
11
|
+
* e3-ui-components' renderer draws.
|
|
12
|
+
*
|
|
13
|
+
* - `types.ts` — the value types its accessors return, the references, boxes
|
|
14
|
+
* and the connect veto's candidate the Schematic speaks in, and the kinds'
|
|
15
|
+
* wire (`Schematic.Types.*`).
|
|
16
|
+
* - `kinds.ts` — `Schematic.items`, `zones`, `links`, `nets` and `details`:
|
|
17
|
+
* each role's check, the binding a kind's read takes, and the closed
|
|
18
|
+
* functions over beast2 bytes.
|
|
19
|
+
* - `templates.ts` — `Schematic.templates`, a kind's presets read from a
|
|
20
|
+
* record.
|
|
21
|
+
* - `layers.ts` — `Schematic.layers`, the layers read from the app's record.
|
|
22
|
+
* - `window.ts` — a kind's reads: whole, or complete through its source of
|
|
23
|
+
* the slice; and, read by area, which index and searches its window reads,
|
|
24
|
+
* the agreement of the index's box with its roles, and the density's raster.
|
|
25
|
+
* - `library.ts` — `Schematic.library`, the library pane's tabs, and their
|
|
26
|
+
* wire.
|
|
27
|
+
* - `shapes.ts` — the pattern, style and geometry helpers.
|
|
28
|
+
* - `payload.ts` — the payload, its carrier, the shared keys, the props and
|
|
29
|
+
* their refusals.
|
|
30
|
+
* - `schematic.ts` — the tag.
|
|
31
|
+
*
|
|
32
|
+
* @packageDocumentation
|
|
33
|
+
*/
|
|
34
|
+
import { SchedulePatchTypeFor, schedulePatch } from "../schedule/patch.js";
|
|
35
|
+
import { schematicDetails, schematicItems, schematicLinks, schematicNets, schematicZones } from "./kinds.js";
|
|
36
|
+
import { schematicLayers } from "./layers.js";
|
|
37
|
+
import { SchematicLibraryFactories, SchematicLibraryTabType } from "./library.js";
|
|
38
|
+
import { SchematicComponent, SchematicPayloadType, createSchematicPayload } from "./payload.js";
|
|
39
|
+
import { SchematicTag } from "./schematic.js";
|
|
40
|
+
import { SchematicShapes } from "./shapes.js";
|
|
41
|
+
import { schematicTemplates } from "./templates.js";
|
|
42
|
+
import { SchematicBoxType, SchematicCandidateType, SchematicCardRolesType, SchematicDetailsEntryType, SchematicDetailsRolesType, SchematicKindDetailsType, SchematicEmphasisType, SchematicEndsType, SchematicGeometryType, SchematicItemEntryType, SchematicItemKindType, SchematicItemType, SchematicLayerType, SchematicLinkEntryType, SchematicLinkKindType, SchematicLinkStyleType, SchematicLinkType, SchematicMeterType, SchematicNarrowedType, SchematicNetEntryType, SchematicNetKindType, SchematicNetType, SchematicPointType, SchematicRefType, SchematicRouteType, SchematicSidesType, SchematicStatusCasesFor, SchematicStatusType, SchematicTemplateType, SchematicToneType, SchematicVertexType, SchematicZoneEntryType, SchematicZoneKindType, SchematicZonePatternType, SchematicZoneType, } from "./types.js";
|
|
43
|
+
export { SchematicTag } from "./schematic.js";
|
|
44
|
+
export { SCHEMATIC_DEF, isSchematicKind, schematicDetails, schematicItems, schematicLinks, schematicNets, schematicZones, } from "./kinds.js";
|
|
45
|
+
export { SCHEMATIC_TEMPLATES, checkedSchematicTemplates, isSchematicTemplates, schematicTemplates, } from "./templates.js";
|
|
46
|
+
export { SCHEMATIC_WINDOW_READ_ROWS, SCHEMATIC_WINDOW_ROWS, schematicAreaIndexes, schematicDensityCells, schematicRaster, schematicSourceRows, schematicUnplacedPlan, schematicWholeRows, schematicWindowPlan, } from "./window.js";
|
|
47
|
+
export { isSchematicLayers, schematicLayers } from "./layers.js";
|
|
48
|
+
export { SchematicLibraryCardType, SchematicLibraryFactories, SchematicLibraryTabType, buildSchematicLibrary, schematicTabSources, } from "./library.js";
|
|
49
|
+
export { SchematicShapes, } from "./shapes.js";
|
|
50
|
+
export { SchematicComponent, SchematicPayloadType, createSchematicPayload, schematicKeys, } from "./payload.js";
|
|
51
|
+
/** The East types a Schematic is written with. */
|
|
52
|
+
const TYPES = {
|
|
53
|
+
Geometry: SchematicGeometryType,
|
|
54
|
+
Vertex: SchematicVertexType,
|
|
55
|
+
Point: SchematicPointType,
|
|
56
|
+
Tone: SchematicToneType,
|
|
57
|
+
ZonePattern: SchematicZonePatternType,
|
|
58
|
+
LinkStyle: SchematicLinkStyleType,
|
|
59
|
+
Route: SchematicRouteType,
|
|
60
|
+
Status: SchematicStatusType,
|
|
61
|
+
StatusCases: SchematicStatusCasesFor,
|
|
62
|
+
Patch: SchedulePatchTypeFor,
|
|
63
|
+
Meter: SchematicMeterType,
|
|
64
|
+
Ref: SchematicRefType,
|
|
65
|
+
Box: SchematicBoxType,
|
|
66
|
+
Layer: SchematicLayerType,
|
|
67
|
+
Emphasis: SchematicEmphasisType,
|
|
68
|
+
Candidate: SchematicCandidateType,
|
|
69
|
+
Item: SchematicItemType,
|
|
70
|
+
Zone: SchematicZoneType,
|
|
71
|
+
Link: SchematicLinkType,
|
|
72
|
+
Net: SchematicNetType,
|
|
73
|
+
};
|
|
74
|
+
/** The namespace's members — everything `Schematic` carries beside the tag itself. */
|
|
75
|
+
const MEMBERS = {
|
|
76
|
+
items: schematicItems,
|
|
77
|
+
zones: schematicZones,
|
|
78
|
+
links: schematicLinks,
|
|
79
|
+
nets: schematicNets,
|
|
80
|
+
details: schematicDetails,
|
|
81
|
+
templates: schematicTemplates,
|
|
82
|
+
layers: schematicLayers,
|
|
83
|
+
patch: schedulePatch,
|
|
84
|
+
library: SchematicLibraryFactories,
|
|
85
|
+
...SchematicShapes,
|
|
86
|
+
Types: TYPES,
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* `<Schematic>` — the 2D world-coordinate drawing of the app's own records:
|
|
90
|
+
* placed items (racks, cooling units, power distribution units), zones (halls,
|
|
91
|
+
* cages, hot and cold aisles), links between two items (fibre runs) and nets
|
|
92
|
+
* joining many to many (a power distribution unit feeding a row of racks).
|
|
93
|
+
*
|
|
94
|
+
* @remarks
|
|
95
|
+
* - **Its kinds** are the app's records (§1): `items`, `zones`, `links` and
|
|
96
|
+
* `nets` each map a slot to a kind — `Schematic.items(record, { … })` and
|
|
97
|
+
* the rest — whose roles are the record's fields, named, or accessors over
|
|
98
|
+
* a row and its key. A role naming a missing field, or one of another type,
|
|
99
|
+
* is refused when the surface is built. A slot names the kind in the
|
|
100
|
+
* payload, and the source of the slice that narrows it.
|
|
101
|
+
* - **Editable or read only by its binding** (§1, rule 4): a kind bound with
|
|
102
|
+
* its patch door, `Record.bind(record), its record declaring patch: mutation.patch()`, is
|
|
103
|
+
* editable; one bound `Data.bind(record)`, or `Data.bindPaged(record)` read
|
|
104
|
+
* through its source, is read only. `readOnly` makes every kind so.
|
|
105
|
+
* - **Its details** (`Schematic.details`): a record keyed as its kind is,
|
|
106
|
+
* whose status, bar, figure and second line the cards draw.
|
|
107
|
+
* - **Its narrowing** is one `Slice.bindRecords`: a source named after a
|
|
108
|
+
* kind's slot narrows that kind, read complete through it, and each other
|
|
109
|
+
* source the templates list or the author's tab that names it.
|
|
110
|
+
* - **Geometry is drawn about its entity's anchor** (D22): an item's centre,
|
|
111
|
+
* or a zone's box centre, so an outline moves with its item. A footprint
|
|
112
|
+
* or a zone's shape is an accessor building it from the row's own fields
|
|
113
|
+
* (`Schematic.circle`, `polygon`, …), so the app's record keeps its own
|
|
114
|
+
* types (D35).
|
|
115
|
+
* - **Its props are the Plan's, the Roster's and the Calendar's** (D31–D34,
|
|
116
|
+
* D36): `id`, an inspector you opt into, library tabs over every kind,
|
|
117
|
+
* `onSelect` hearing the whole selection, `canConnect` answering a candidate
|
|
118
|
+
* with the refusal's words, and layers read from the app's record
|
|
119
|
+
* (`Schematic.layers`).
|
|
120
|
+
* - **Refused when the surface is built**, each naming the form that
|
|
121
|
+
* replaces it: rows and their mappers, the callbacks for an edit,
|
|
122
|
+
* `linkMode`, the per-domain read-only switches, the hover cards, the
|
|
123
|
+
* slice's effect props, `sliceSelectField`, `selectionMode`, `navigator`,
|
|
124
|
+
* `height` and `maxHeight`, `onSelectZone`, `onSelectionChange`,
|
|
125
|
+
* `onZoneSelectionChange`, `onSelectLink`, `onViewportChange`, `onItemOpen`,
|
|
126
|
+
* `selectZoomFocus`, `name`, an `inspector` object and a `layers` list (§2).
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* ```tsx
|
|
130
|
+
* // .tsx file with the `@jsxImportSource @elaraai/e3-ui` pragma
|
|
131
|
+
* import { DictType, East, FloatType, StringType, StructType } from "@elaraai/east";
|
|
132
|
+
* import { Box, Reactive, UIComponentType } from "@elaraai/east-ui";
|
|
133
|
+
* import { Data, Schematic } from "@elaraai/e3-ui";
|
|
134
|
+
* import e3 from "@elaraai/e3";
|
|
135
|
+
*
|
|
136
|
+
* export const FloorRack = StructType({ name: StringType, x: FloatType, y: FloatType, w: FloatType, h: FloatType, model: StringType, kw: FloatType, capacity: FloatType });
|
|
137
|
+
* export const schematicFloorRacks = e3.record("schematic_floor_racks", DictType(StringType, FloorRack), {
|
|
138
|
+
* initial: new Map([
|
|
139
|
+
* ["A01", { name: "A01", x: 2.4, y: 2.9, w: 3.2, h: 1.2, model: "42U · 8 kW", kw: 5.2, capacity: 8.0 }],
|
|
140
|
+
* ["A02", { name: "A02", x: 6.0, y: 2.9, w: 3.2, h: 1.2, model: "42U · 8 kW", kw: 7.4, capacity: 8.0 }],
|
|
141
|
+
* ["A03", { name: "A03", x: 9.6, y: 2.9, w: 3.2, h: 1.2, model: "42U · 8 kW", kw: 3.9, capacity: 8.0 }],
|
|
142
|
+
* ["A04", { name: "A04", x: 13.2, y: 2.9, w: 3.2, h: 1.2, model: "48U · 12 kW", kw: 9.6, capacity: 12.0 }],
|
|
143
|
+
* ["B01", { name: "B01", x: 2.4, y: 8.6, w: 3.2, h: 1.2, model: "42U · 8 kW", kw: 6.1, capacity: 8.0 }],
|
|
144
|
+
* ["B02", { name: "B02", x: 6.0, y: 8.6, w: 3.2, h: 1.2, model: "42U · 8 kW", kw: 2.8, capacity: 8.0 }],
|
|
145
|
+
* ]),
|
|
146
|
+
* indexes: (index) => ({
|
|
147
|
+
* // The racks by their model: what the binding matrix's source reads them through, built and never run.
|
|
148
|
+
* schematic_floor_racks_by_model: index.on(["model"]),
|
|
149
|
+
* }),
|
|
150
|
+
* mutations: (mutation) => ({
|
|
151
|
+
* // The floor's racks' patch door: the handover's Save, and another session's moves of a rack, which the floor redraws.
|
|
152
|
+
* patch: mutation.patch(),
|
|
153
|
+
* }),
|
|
154
|
+
* });
|
|
155
|
+
*
|
|
156
|
+
* const schematicFloor = East.function([], UIComponentType, (_$) => (
|
|
157
|
+
* <Reactive>{$ => {
|
|
158
|
+
* const racks = $.let(Data.bind(schematicFloorRacks));
|
|
159
|
+
* return (
|
|
160
|
+
* <Box height="440px">
|
|
161
|
+
* <Schematic
|
|
162
|
+
* id="floor"
|
|
163
|
+
* extent={{ width: 18, height: 12 }}
|
|
164
|
+
* scaleUnit="m"
|
|
165
|
+
* items={{
|
|
166
|
+
* racks: Schematic.items(racks, {
|
|
167
|
+
* name: "Rack", icon: "server", x: "x", y: "y", width: "w", height: "h", label: "name",
|
|
168
|
+
* sublabel: (r) => r.model,
|
|
169
|
+
* meter: (r) => ({ value: r.kw, max: r.capacity }),
|
|
170
|
+
* }),
|
|
171
|
+
* }}
|
|
172
|
+
* />
|
|
173
|
+
* </Box>
|
|
174
|
+
* );
|
|
175
|
+
* }}</Reactive>
|
|
176
|
+
* ));
|
|
177
|
+
* ```
|
|
178
|
+
*/
|
|
179
|
+
export const Schematic = Object.assign(SchematicTag, MEMBERS);
|
|
180
|
+
/** `<Schematic>`, for the internal namespace: the tag, on an object of its own, so the public `Schematic` carries none of the internal members. */
|
|
181
|
+
function SchematicInternalTag(props) {
|
|
182
|
+
return SchematicTag(props);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* The internal Schematic namespace — `@elaraai/e3-ui/internal`'s `Schematic`:
|
|
186
|
+
* the public one, `Schematic.Payload`, the `Schematic` carrier and the
|
|
187
|
+
* payload's types, for the renderer and the tests.
|
|
188
|
+
*
|
|
189
|
+
* @internal
|
|
190
|
+
*/
|
|
191
|
+
export const SchematicInternal = Object.assign(SchematicInternalTag, MEMBERS, {
|
|
192
|
+
Payload: createSchematicPayload,
|
|
193
|
+
Component: SchematicComponent,
|
|
194
|
+
Types: {
|
|
195
|
+
...TYPES,
|
|
196
|
+
Payload: SchematicPayloadType,
|
|
197
|
+
ItemKind: SchematicItemKindType,
|
|
198
|
+
ZoneKind: SchematicZoneKindType,
|
|
199
|
+
LinkKind: SchematicLinkKindType,
|
|
200
|
+
NetKind: SchematicNetKindType,
|
|
201
|
+
Details: SchematicKindDetailsType,
|
|
202
|
+
DetailsRoles: SchematicDetailsRolesType,
|
|
203
|
+
CardRoles: SchematicCardRolesType,
|
|
204
|
+
ItemEntry: SchematicItemEntryType,
|
|
205
|
+
ZoneEntry: SchematicZoneEntryType,
|
|
206
|
+
LinkEntry: SchematicLinkEntryType,
|
|
207
|
+
NetEntry: SchematicNetEntryType,
|
|
208
|
+
DetailsEntry: SchematicDetailsEntryType,
|
|
209
|
+
Ends: SchematicEndsType,
|
|
210
|
+
Sides: SchematicSidesType,
|
|
211
|
+
Template: SchematicTemplateType,
|
|
212
|
+
Narrowed: SchematicNarrowedType,
|
|
213
|
+
LibraryTab: SchematicLibraryTabType,
|
|
214
|
+
},
|
|
215
|
+
});
|
|
216
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schematic/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC7G,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAC9C,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAyB,MAAM,cAAc,CAAC;AACzG,OAAO,EAAE,kBAAkB,E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