@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":"builder.d.ts","sourceRoot":"","sources":["../../../src/studio/builder.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACH,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EAGV,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAC1B,MAAM,eAAe,CAAC;AACvB,OAAO,EAGH,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,eAAe,EACvB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAyB,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAM3E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../../src/studio/builder.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACH,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EAGV,KAAK,QAAQ,EACb,KAAK,kBAAkB,EAC1B,MAAM,eAAe,CAAC;AACvB,OAAO,EAGH,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,eAAe,EACvB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAyB,KAAK,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAM3E;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,GAAG,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IACrC,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IAC1C,qEAAqE;IACrE,OAAO,CAAC,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IACzC,oIAAoI;IACpI,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,iBAAS,aAAa,CAAC,OAAO,EAAE,oBAAoB,GAAG,QAAQ,CAAC,eAAe,CAAC,CAU/E;AAMD;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,CAA6B,CAAC"}
|
|
@@ -85,7 +85,7 @@ export const StudioBuilderComponent = EastUI.component("StudioBuilder", StudioBu
|
|
|
85
85
|
* export const builder = ui("builder", [], East.function([], UIComponentType, _$ => (
|
|
86
86
|
* <Reactive>{$ => {
|
|
87
87
|
* const components = $.let([kpiRail, revenueTrend, breakdownBars]);
|
|
88
|
-
* const pages = $.let(Record.bind(d.pages
|
|
88
|
+
* const pages = $.let(Record.bind(d.pages));
|
|
89
89
|
* return <Studio.Builder pages={pages} components={components} project="Ops console"
|
|
90
90
|
* env="Staging" audience="Field ops · 24 users" rollout="Immediate" />;
|
|
91
91
|
* }}</Reactive>
|
|
@@ -17,7 +17,7 @@ import { ArrayType, AsyncFunctionType, BooleanType, DictType, OptionType, SetTyp
|
|
|
17
17
|
* @property frame - Drawn in a tile frame, or bare
|
|
18
18
|
* @property name - Its name — a placement's label when it has no title of its own
|
|
19
19
|
* @property icon - Its icon, in the selection bar
|
|
20
|
-
* @property meta -
|
|
20
|
+
* @property meta - The data it reads, in words, in the selection bar
|
|
21
21
|
*/
|
|
22
22
|
export declare const CanvasTileType: StructType<{
|
|
23
23
|
readonly frame: BooleanType;
|
|
@@ -27,8 +27,10 @@ export declare const CanvasTileType: StructType<{
|
|
|
27
27
|
}>;
|
|
28
28
|
/**
|
|
29
29
|
* Each listed component's tile, by key: framed or bare, its name and icon,
|
|
30
|
-
* and its meta line —
|
|
31
|
-
* joined with ` · ` ("
|
|
30
|
+
* and its meta line — the datasets and records its code reads, in words
|
|
31
|
+
* ({@link readNames}), joined with ` · ` ("Sales daily"), empty for one that
|
|
32
|
+
* reads nothing; never its key, nor theirs, which are no words for the people
|
|
33
|
+
* who build pages. A key two components
|
|
32
34
|
* share keeps the first one's tile.
|
|
33
35
|
*/
|
|
34
36
|
export declare const canvasTiles: import("@elaraai/east").CallableFunctionExpr<[ArrayType<StructType<{
|
|
@@ -55,7 +57,6 @@ export declare const canvasTiles: import("@elaraai/east").CallableFunctionExpr<[
|
|
|
55
57
|
readonly field: StringType;
|
|
56
58
|
}>>>;
|
|
57
59
|
}>;
|
|
58
|
-
readonly fingerprint: StringType;
|
|
59
60
|
readonly render: import("@elaraai/east").FunctionType<[], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>;
|
|
60
61
|
}>>], DictType<StringType, StructType<{
|
|
61
62
|
readonly frame: BooleanType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canvas.d.ts","sourceRoot":"","sources":["../../../src/studio/canvas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAEH,OAAO,EACH,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,QAAQ,EAER,UAAU,EACV,OAAO,EACP,UAAU,EACV,UAAU,EACb,MAAM,eAAe,CAAC;AAOvB;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;;;;EAKzB,CAAC;AAEH
|
|
1
|
+
{"version":3,"file":"canvas.d.ts","sourceRoot":"","sources":["../../../src/studio/canvas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAEH,OAAO,EACH,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,QAAQ,EAER,UAAU,EACV,OAAO,EACP,UAAU,EACV,UAAU,EACb,MAAM,eAAe,CAAC;AAOvB;;;;;;;GAOG;AACH,eAAO,MAAM,cAAc;;;;;EAKzB,CAAC;AAEH;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiBvB,CAAC;AAMF;;;;;;;;GAQG;AACH,eAAO,MAAM,6BAA6B;;;;;EAKxC,CAAC;AAEH,gEAAgE;AAChE,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC"}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* @packageDocumentation
|
|
12
12
|
*/
|
|
13
13
|
import { ArrayType, AsyncFunctionType, BooleanType, DictType, East, OptionType, SetType, StringType, StructType, } from "@elaraai/east";
|
|
14
|
-
import { StudioComponentType } from "./component.js";
|
|
14
|
+
import { StudioComponentType, readNames } from "./component.js";
|
|
15
15
|
// ============================================================================
|
|
16
16
|
// What a placement's tile shows
|
|
17
17
|
// ============================================================================
|
|
@@ -21,7 +21,7 @@ import { StudioComponentType } from "./component.js";
|
|
|
21
21
|
* @property frame - Drawn in a tile frame, or bare
|
|
22
22
|
* @property name - Its name — a placement's label when it has no title of its own
|
|
23
23
|
* @property icon - Its icon, in the selection bar
|
|
24
|
-
* @property meta -
|
|
24
|
+
* @property meta - The data it reads, in words, in the selection bar
|
|
25
25
|
*/
|
|
26
26
|
export const CanvasTileType = StructType({
|
|
27
27
|
frame: BooleanType,
|
|
@@ -31,16 +31,17 @@ export const CanvasTileType = StructType({
|
|
|
31
31
|
});
|
|
32
32
|
/**
|
|
33
33
|
* Each listed component's tile, by key: framed or bare, its name and icon,
|
|
34
|
-
* and its meta line —
|
|
35
|
-
* joined with ` · ` ("
|
|
34
|
+
* and its meta line — the datasets and records its code reads, in words
|
|
35
|
+
* ({@link readNames}), joined with ` · ` ("Sales daily"), empty for one that
|
|
36
|
+
* reads nothing; never its key, nor theirs, which are no words for the people
|
|
37
|
+
* who build pages. A key two components
|
|
36
38
|
* share keeps the first one's tile.
|
|
37
39
|
*/
|
|
38
40
|
export const canvasTiles = East.function([ArrayType(StudioComponentType)], DictType(StringType, CanvasTileType), ($, components) => {
|
|
39
41
|
const tiles = $.let(new Map(), DictType(StringType, CanvasTileType));
|
|
40
42
|
$.for(components, ($2, component) => {
|
|
41
|
-
const reads = $2.let(
|
|
42
|
-
|
|
43
|
-
const meta = $2.let(reads.size().equal(0n).ifElse(() => component.key, () => East.str `${component.key} · ${reads.stringJoin(" · ")}`));
|
|
43
|
+
const reads = $2.let(readNames(component.reads));
|
|
44
|
+
const meta = $2.let(reads.stringJoin(" · "));
|
|
44
45
|
$2(tiles.insertOrUpdate(component.key, {
|
|
45
46
|
frame: component.frame.hasTag("card"),
|
|
46
47
|
name: component.name,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canvas.js","sourceRoot":"","sources":["../../../src/studio/canvas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAEH,OAAO,EACH,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,OAAO,EACP,UAAU,EACV,UAAU,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"canvas.js","sourceRoot":"","sources":["../../../src/studio/canvas.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;GAOG;AAEH,OAAO,EACH,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,OAAO,EACP,UAAU,EACV,UAAU,GACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhE,+EAA+E;AAC/E,gCAAgC;AAChC,+EAA+E;AAE/E;;;;;;;GAOG;AACH,MAAM,CAAC,MA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EAAE,UAAU;IACjB,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,OAAO,CAAC,UAAU,CAAC;IAC1B,MAAM,EAAE,iBAAiB,CAAC,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;CAClE,CAAC,CAAC"}
|
|
@@ -10,15 +10,14 @@
|
|
|
10
10
|
*
|
|
11
11
|
* `Studio.component(key, meta, fn)` returns it as a `Studio.Types.Component`
|
|
12
12
|
* struct, the way `Slice.config` returns a slice config: what the palette
|
|
13
|
-
* shows, what the function reads, the
|
|
14
|
-
* function itself. A surface lists the components it offers, and the Studio's
|
|
13
|
+
* shows, what the function reads, and the function itself. A surface lists the components it offers, and the Studio's
|
|
15
14
|
* renderers draw a placement by calling its component's function, so a
|
|
16
15
|
* surface's `ui()` task holds every listed component's function and its
|
|
17
16
|
* manifest is the union of theirs.
|
|
18
17
|
*
|
|
19
18
|
* @packageDocumentation
|
|
20
19
|
*/
|
|
21
|
-
import { ArrayType, BooleanType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType, VariantType, type CallableFunctionExpr, type ExprType
|
|
20
|
+
import { ArrayType, BooleanType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType, VariantType, type CallableFunctionExpr, type ExprType } from "@elaraai/east";
|
|
22
21
|
import { UIComponentType } from "@elaraai/east-ui/internal";
|
|
23
22
|
/**
|
|
24
23
|
* How a component's placements are drawn.
|
|
@@ -35,8 +34,8 @@ export type StudioFrameType = typeof StudioFrameType;
|
|
|
35
34
|
/** Literal shorthand for {@link StudioFrameType}. */
|
|
36
35
|
export type StudioFrameLiteral = "card" | "none";
|
|
37
36
|
/**
|
|
38
|
-
* A Studio component — what the palette shows, what the component reads,
|
|
39
|
-
*
|
|
37
|
+
* A Studio component — what the palette shows, what the component reads, and
|
|
38
|
+
* the East UI function that renders it.
|
|
40
39
|
*
|
|
41
40
|
* @property key - The component's identity; a cell stores it
|
|
42
41
|
* @property name - Its name, in the palette and the inspector
|
|
@@ -49,7 +48,6 @@ export type StudioFrameLiteral = "card" | "none";
|
|
|
49
48
|
* @property collections - Its collections, which the palette's Filter menu offers
|
|
50
49
|
* @property deprecated - Hidden from the palette; placements keep rendering
|
|
51
50
|
* @property reads - The datasets, functions and records its function binds, derived from its code
|
|
52
|
-
* @property fingerprint - A hash of its code; a cell stores it when placed and when its page publishes, so a code change since shows
|
|
53
51
|
* @property render - The East UI function that renders it
|
|
54
52
|
*/
|
|
55
53
|
export declare const StudioComponentType: StructType<{
|
|
@@ -76,11 +74,35 @@ export declare const StudioComponentType: StructType<{
|
|
|
76
74
|
readonly field: StringType;
|
|
77
75
|
}>>>;
|
|
78
76
|
}>;
|
|
79
|
-
readonly fingerprint: StringType;
|
|
80
77
|
readonly render: FunctionType<[], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>;
|
|
81
78
|
}>;
|
|
82
79
|
/** Type representing a Studio component. */
|
|
83
80
|
export type StudioComponentType = typeof StudioComponentType;
|
|
81
|
+
/**
|
|
82
|
+
* The name of the data at a path, in words, as the people who build pages
|
|
83
|
+
* read it — never its keypath, nor its name as code spells it: a task's
|
|
84
|
+
* output by its task's name, anything else by its own, its words apart and
|
|
85
|
+
* the first upper case (`.inputs.sales_daily` "Sales daily",
|
|
86
|
+
* `.tasks.weeklyForecast.output` "Weekly forecast").
|
|
87
|
+
*/
|
|
88
|
+
export declare const dataName: CallableFunctionExpr<[ArrayType<VariantType<{
|
|
89
|
+
readonly field: StringType;
|
|
90
|
+
}>>], StringType>;
|
|
91
|
+
/**
|
|
92
|
+
* The data a component's code reads — each dataset and record it binds, whole
|
|
93
|
+
* or a window at a time — each named in words ({@link dataName}), as the
|
|
94
|
+
* palette's cards, the canvas's tiles and the inspector name it.
|
|
95
|
+
*/
|
|
96
|
+
export declare const readNames: CallableFunctionExpr<[StructType<{
|
|
97
|
+
readonly paths: ArrayType<ArrayType<VariantType<{
|
|
98
|
+
readonly field: StringType;
|
|
99
|
+
}>>>;
|
|
100
|
+
readonly functions: ArrayType<StringType>;
|
|
101
|
+
readonly records: ArrayType<StringType>;
|
|
102
|
+
readonly pages: ArrayType<ArrayType<VariantType<{
|
|
103
|
+
readonly field: StringType;
|
|
104
|
+
}>>>;
|
|
105
|
+
}>], ArrayType<StringType>>;
|
|
84
106
|
/**
|
|
85
107
|
* What the palette shows of a component — its `meta`. Only `name`,
|
|
86
108
|
* `category` and `icon` are required.
|
|
@@ -115,18 +137,6 @@ export interface StudioComponentMeta {
|
|
|
115
137
|
/** Hidden from the palette; placements keep rendering. */
|
|
116
138
|
deprecated?: boolean;
|
|
117
139
|
}
|
|
118
|
-
/**
|
|
119
|
-
* A function's fingerprint: the SHA-256 of its IR in canonical form. The same
|
|
120
|
-
* code fingerprints the same; a change to it changes the fingerprint.
|
|
121
|
-
*
|
|
122
|
-
* @param fn - The function
|
|
123
|
-
* @returns The fingerprint, hex
|
|
124
|
-
*/
|
|
125
|
-
export declare function fingerprintOf(fn: {
|
|
126
|
-
toIR(): {
|
|
127
|
-
ir: IR;
|
|
128
|
-
};
|
|
129
|
-
}): string;
|
|
130
140
|
/**
|
|
131
141
|
* Declares a Studio component — a self-contained East UI function, and what
|
|
132
142
|
* the palette shows of it.
|
|
@@ -134,7 +144,7 @@ export declare function fingerprintOf(fn: {
|
|
|
134
144
|
* @remarks
|
|
135
145
|
* `fn` is exactly what `ui()` takes, so a component written for a `ui()` body
|
|
136
146
|
* moves into `Studio.component` unchanged. Its `reads` come from its code
|
|
137
|
-
* (`deriveManifest`),
|
|
147
|
+
* (`deriveManifest`), never written.
|
|
138
148
|
* Call it at module scope or inside an East function, as `Slice.config` is.
|
|
139
149
|
*
|
|
140
150
|
* @param key - The component's identity; a cell stores it
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../src/studio/component.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["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C;IACvB,0DAA0D;IAC1D,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAMD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,iBAAS,eAAe,CACpB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,mBAAmB,EACzB,EAAE,EAAE,oBAAoB,CAAC,EAAE,EAAE,OAAO,eAAe,CAAC,GACrD,QAAQ,CAAC,mBAAmB,CAAC,CAgB/B;AAED,kEAAkE;AAClE,MAAM,WAAW,wBAAwB;IACrC,sDAAsD;IACtD,SAAS,EAAE,OAAO,eAAe,CAAC;CACrC;AAED,oDAAoD;AACpD,eAAO,MAAM,gBAAgB,EAAE,wBAE9B,CAAC"}
|
|
@@ -10,17 +10,16 @@
|
|
|
10
10
|
*
|
|
11
11
|
* `Studio.component(key, meta, fn)` returns it as a `Studio.Types.Component`
|
|
12
12
|
* struct, the way `Slice.config` returns a slice config: what the palette
|
|
13
|
-
* shows, what the function reads, the
|
|
14
|
-
* function itself. A surface lists the components it offers, and the Studio's
|
|
13
|
+
* shows, what the function reads, and the function itself. A surface lists the components it offers, and the Studio's
|
|
15
14
|
* renderers draw a placement by calling its component's function, so a
|
|
16
15
|
* surface's `ui()` task holds every listed component's function and its
|
|
17
16
|
* manifest is the union of theirs.
|
|
18
17
|
*
|
|
19
18
|
* @packageDocumentation
|
|
20
19
|
*/
|
|
21
|
-
import { ArrayType, BooleanType, East, FunctionType,
|
|
20
|
+
import { ArrayType, BooleanType, East, FunctionType, IntegerType, NullType, OptionType, StringType, StructType, VariantType, none, some, variant, } from "@elaraai/east";
|
|
22
21
|
import { UIComponentType } from "@elaraai/east-ui/internal";
|
|
23
|
-
import { DataManifestType } from "@elaraai/e3-types";
|
|
22
|
+
import { DataManifestType, TreePathType } from "@elaraai/e3-types";
|
|
24
23
|
import { deriveManifest } from "../utils/derive.js";
|
|
25
24
|
// ============================================================================
|
|
26
25
|
// Types
|
|
@@ -36,8 +35,8 @@ export const StudioFrameType = VariantType({
|
|
|
36
35
|
none: NullType,
|
|
37
36
|
});
|
|
38
37
|
/**
|
|
39
|
-
* A Studio component — what the palette shows, what the component reads,
|
|
40
|
-
*
|
|
38
|
+
* A Studio component — what the palette shows, what the component reads, and
|
|
39
|
+
* the East UI function that renders it.
|
|
41
40
|
*
|
|
42
41
|
* @property key - The component's identity; a cell stores it
|
|
43
42
|
* @property name - Its name, in the palette and the inspector
|
|
@@ -50,7 +49,6 @@ export const StudioFrameType = VariantType({
|
|
|
50
49
|
* @property collections - Its collections, which the palette's Filter menu offers
|
|
51
50
|
* @property deprecated - Hidden from the palette; placements keep rendering
|
|
52
51
|
* @property reads - The datasets, functions and records its function binds, derived from its code
|
|
53
|
-
* @property fingerprint - A hash of its code; a cell stores it when placed and when its page publishes, so a code change since shows
|
|
54
52
|
* @property render - The East UI function that renders it
|
|
55
53
|
*/
|
|
56
54
|
export const StudioComponentType = StructType({
|
|
@@ -65,66 +63,34 @@ export const StudioComponentType = StructType({
|
|
|
65
63
|
collections: ArrayType(StringType),
|
|
66
64
|
deprecated: BooleanType,
|
|
67
65
|
reads: DataManifestType,
|
|
68
|
-
fingerprint: StringType,
|
|
69
66
|
render: FunctionType([], UIComponentType),
|
|
70
67
|
});
|
|
71
68
|
// ============================================================================
|
|
72
|
-
//
|
|
69
|
+
// What a component reads, in words
|
|
73
70
|
// ============================================================================
|
|
74
|
-
const encodeIR = encodeBeast2For(IRType);
|
|
75
71
|
/**
|
|
76
|
-
* The
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
* The East types a node carries are kept as they are, not copied: equal types
|
|
82
|
-
* are one shared object, which the encoder writes once, and a copy would make
|
|
83
|
-
* it write a UI type again at every node.
|
|
72
|
+
* The name of the data at a path, in words, as the people who build pages
|
|
73
|
+
* read it — never its keypath, nor its name as code spells it: a task's
|
|
74
|
+
* output by its task's name, anything else by its own, its words apart and
|
|
75
|
+
* the first upper case (`.inputs.sales_daily` "Sales daily",
|
|
76
|
+
* `.tasks.weeklyForecast.output` "Weekly forecast").
|
|
84
77
|
*/
|
|
85
|
-
function
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
const out = {};
|
|
96
|
-
for (const [field, value] of Object.entries(node)) {
|
|
97
|
-
out[field] = field === "loc_id" ? 0n
|
|
98
|
-
: (field === "type" && typeof value === "object") || field === "type_parameters" ? value
|
|
99
|
-
: walk(value);
|
|
100
|
-
}
|
|
101
|
-
const value = out["value"];
|
|
102
|
-
if (out["type"] === "Variable" && value !== null && typeof value === "object") {
|
|
103
|
-
const variable = value;
|
|
104
|
-
const name = variable["name"];
|
|
105
|
-
if (typeof name === "string") {
|
|
106
|
-
let canonical = names.get(name);
|
|
107
|
-
if (canonical === undefined) {
|
|
108
|
-
canonical = `v${names.size}`;
|
|
109
|
-
names.set(name, canonical);
|
|
110
|
-
}
|
|
111
|
-
out["value"] = { ...variable, name: canonical };
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
return out;
|
|
115
|
-
};
|
|
116
|
-
return walk(ir);
|
|
117
|
-
}
|
|
78
|
+
export const dataName = East.function([TreePathType], StringType, ($, path) => {
|
|
79
|
+
const last = $.let(path.size().subtract(1n));
|
|
80
|
+
// A task's output, `.tasks.<task>.output`, is its task's.
|
|
81
|
+
const output = $.let(path.size().equal(3n)
|
|
82
|
+
.and(() => path.get(0n).unwrap("field").equal("tasks"))
|
|
83
|
+
.and(() => path.get(last).unwrap("field").equal("output")));
|
|
84
|
+
const name = $.let(output.ifElse(() => path.get(1n).unwrap("field"), () => path.get(last).unwrap("field")));
|
|
85
|
+
const words = $.let(name.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " ").trim().lowerCase());
|
|
86
|
+
return words.length().equal(0n).ifElse(() => name, () => words.substring(0n, 1n).upperCase().concat(words.substring(1n, words.length())));
|
|
87
|
+
});
|
|
118
88
|
/**
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
* @param fn - The function
|
|
123
|
-
* @returns The fingerprint, hex
|
|
89
|
+
* The data a component's code reads — each dataset and record it binds, whole
|
|
90
|
+
* or a window at a time — each named in words ({@link dataName}), as the
|
|
91
|
+
* palette's cards, the canvas's tiles and the inspector name it.
|
|
124
92
|
*/
|
|
125
|
-
export function
|
|
126
|
-
return sha256Hex(encodeIR(canonicalIR(fn.toIR().ir)));
|
|
127
|
-
}
|
|
93
|
+
export const readNames = East.function([DataManifestType], ArrayType(StringType), (_$, reads) => reads.paths.concat(reads.pages).map((_$2, path) => dataName(path)));
|
|
128
94
|
// ============================================================================
|
|
129
95
|
// Authoring
|
|
130
96
|
// ============================================================================
|
|
@@ -135,7 +101,7 @@ export function fingerprintOf(fn) {
|
|
|
135
101
|
* @remarks
|
|
136
102
|
* `fn` is exactly what `ui()` takes, so a component written for a `ui()` body
|
|
137
103
|
* moves into `Studio.component` unchanged. Its `reads` come from its code
|
|
138
|
-
* (`deriveManifest`),
|
|
104
|
+
* (`deriveManifest`), never written.
|
|
139
105
|
* Call it at module scope or inside an East function, as `Slice.config` is.
|
|
140
106
|
*
|
|
141
107
|
* @param key - The component's identity; a cell stores it
|
|
@@ -181,7 +147,6 @@ function createComponent(key, meta, fn) {
|
|
|
181
147
|
collections: meta.collections ?? [],
|
|
182
148
|
deprecated: meta.deprecated ?? false,
|
|
183
149
|
reads,
|
|
184
|
-
fingerprint: fingerprintOf(fn),
|
|
185
150
|
render: fn,
|
|
186
151
|
}, StudioComponentType);
|
|
187
152
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/studio/component.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/studio/component.ts"],"names":[],"mappings":"AAAA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BAAmB,CAAC,CAAC;AAC5B,CAAC;AAQD,oDAAoD;AACpD,MAAM,CAAC,MAAM,gBAAgB,GAA6B;IACtD,SAAS,EAAE,eAAe;CAC7B,CAAC"}
|
|
@@ -13,7 +13,7 @@ import { StudioCellChangeType, StudioCellType, StudioChangeType, StudioEntryType
|
|
|
13
13
|
import { StudioPage, StudioVersionType } from "./page.js";
|
|
14
14
|
import { StudioBuilder } from "./builder.js";
|
|
15
15
|
import { StudioLibrary } from "./library.js";
|
|
16
|
-
export { StudioComponentType, StudioFrameType,
|
|
16
|
+
export { StudioComponentType, StudioFrameType, dataName, readNames, type StudioComponentMeta, type StudioFrameLiteral, } from "./component.js";
|
|
17
17
|
export { StudioCellChangeType, StudioCellType, StudioChangeType, StudioEntryType, StudioKeyType, StudioLiveType, StudioPageEntryType, StudioPageType, StudioPagesHandleType, StudioPagesType, StudioStatusType, saveCells, type StudioPagesHandle, } from "./pages.js";
|
|
18
18
|
export { StudioPage, StudioPageComponent, StudioPagePayloadType, StudioVersionType, type StudioPageOptions, type StudioVersionLiteral, } from "./page.js";
|
|
19
19
|
export { StudioBuilder, StudioBuilderComponent, StudioBuilderPayloadType, type StudioBuilderOptions, } from "./builder.js";
|
|
@@ -72,7 +72,7 @@ export declare const Studio: StudioNamespace;
|
|
|
72
72
|
export interface StudioInternalNamespace extends Omit<StudioNamespace, "Types"> {
|
|
73
73
|
/** Saves a page's placements — the builder canvas's Apply, one patch to the page's draft. */
|
|
74
74
|
save: typeof StudioPages.save;
|
|
75
|
-
/** Publishes a page: the patch that makes its draft its next live version
|
|
75
|
+
/** Publishes a page: the patch that makes its draft its next live version. */
|
|
76
76
|
publish: typeof StudioPages.publish;
|
|
77
77
|
/** Reverts a page: the patch that makes its live version's layout its draft. */
|
|
78
78
|
revert: typeof StudioPages.revert;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/studio/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EACH,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,EACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EACH,mBAAmB,EACnB,eAAe,EACf,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/studio/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EACH,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,EACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EACH,mBAAmB,EACnB,eAAe,EACf,QAAQ,EACR,SAAS,EACT,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,GAC1B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd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QAChE,UAAU,EAAE,OAAO,oBAAoB,CAAC;QACxC,kDAAkD;QAClD,MAAM,EAAE,OAAO,gBAAgB,CAAC;KACnC,CAAC;CACL;AAED;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,uBAkB5B,CAAC"}
|
package/dist/src/studio/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { StudioCellChangeType, StudioCellType, StudioChangeType, StudioEntryType
|
|
|
13
13
|
import { StudioPage, StudioVersionType } from "./page.js";
|
|
14
14
|
import { StudioBuilder } from "./builder.js";
|
|
15
15
|
import { StudioLibrary } from "./library.js";
|
|
16
|
-
export { StudioComponentType, StudioFrameType,
|
|
16
|
+
export { StudioComponentType, StudioFrameType, dataName, readNames, } from "./component.js";
|
|
17
17
|
export { StudioCellChangeType, StudioCellType, StudioChangeType, StudioEntryType, StudioKeyType, StudioLiveType, StudioPageEntryType, StudioPageType, StudioPagesHandleType, StudioPagesType, StudioStatusType, saveCells, } from "./pages.js";
|
|
18
18
|
export { StudioPage, StudioPageComponent, StudioPagePayloadType, StudioVersionType, } from "./page.js";
|
|
19
19
|
export { StudioBuilder, StudioBuilderComponent, StudioBuilderPayloadType, } from "./builder.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/studio/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EACH,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,GACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EACH,mBAAmB,EACnB,eAAe,EACf,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/studio/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EACH,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,GAClB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,WAAW,EACX,eAAe,EACf,gBAAgB,GACnB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EACH,mBAAmB,EACnB,eAAe,EACf,QAAQ,EACR,SAAS,GAGZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,SAAS,GAEZ,MAAM,YAAY,CAAC;AACpB,OAAO,EACH,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,GAGpB,MAAM,WAAW,CAAC;AACnB,OAAO,EACH,aAAa,EACb,sBAAsB,EACtB,wBAAwB,GAE3B,MAAM,cAAc,CAAC;AACtB,OAAO,EACH,WAAW,EACX,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,eAAe,GAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EACH,WAAW,EACX,cAAc,EACd,6BAA6B,GAChC,MAAM,aAAa,CAAC;AACrB,OAAO,EACH,aAAa,EACb,s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MAAM,EAAE,WAAW,CAAC,MAAM;IAC1B,KAAK,EAAE;QACH,GAAG,KAAK;QACR,MAAM,EAAE,gBAAgB;QACxB,UAAU,EAAE,oBAAoB;QAChC,MAAM,EAAE,gBAAgB;KAC3B;CACJ,CAAC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*
|
|
13
13
|
* @packageDocumentation
|
|
14
14
|
*/
|
|
15
|
-
import { ArrayType,
|
|
15
|
+
import { ArrayType, FunctionType, IntegerType, NullType, OptionType, StringType, StructType } from "@elaraai/east";
|
|
16
16
|
/**
|
|
17
17
|
* The selected placement's layout, as the canvas draws it.
|
|
18
18
|
*
|
|
@@ -43,10 +43,8 @@ export type InspectorLayoutType = typeof InspectorLayoutType;
|
|
|
43
43
|
* @property key - The placement's key — what a layout request names
|
|
44
44
|
* @property name - Its title, else its component's name, else its component's key
|
|
45
45
|
* @property component - Its component's key
|
|
46
|
-
* @property
|
|
47
|
-
*
|
|
48
|
-
* @property reads - The paths of the datasets its component's code reads, whole
|
|
49
|
-
* or a window at a time — the renderer prints each as its keypath (`.inputs.sales_daily`)
|
|
46
|
+
* @property reads - The data its component's code reads, whole or a window at
|
|
47
|
+
* a time, each named in words ({@link readNames}: "Sales daily") — never its keypath
|
|
50
48
|
* @property description - Its component's description, fixed by its developer
|
|
51
49
|
* @property layout - Its layout ({@link InspectorLayoutType})
|
|
52
50
|
*/
|
|
@@ -54,10 +52,7 @@ export declare const InspectorSelectionType: StructType<{
|
|
|
54
52
|
readonly key: StringType;
|
|
55
53
|
readonly name: StringType;
|
|
56
54
|
readonly component: StringType;
|
|
57
|
-
readonly
|
|
58
|
-
readonly reads: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
59
|
-
readonly field: StringType;
|
|
60
|
-
}>>>;
|
|
55
|
+
readonly reads: ArrayType<StringType>;
|
|
61
56
|
readonly description: OptionType<StringType>;
|
|
62
57
|
readonly layout: StructType<{
|
|
63
58
|
readonly span: IntegerType;
|
|
@@ -85,10 +80,7 @@ export declare const StudioInspectorPayloadType: StructType<{
|
|
|
85
80
|
readonly key: StringType;
|
|
86
81
|
readonly name: StringType;
|
|
87
82
|
readonly component: StringType;
|
|
88
|
-
readonly
|
|
89
|
-
readonly reads: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
90
|
-
readonly field: StringType;
|
|
91
|
-
}>>>;
|
|
83
|
+
readonly reads: ArrayType<StringType>;
|
|
92
84
|
readonly description: OptionType<StringType>;
|
|
93
85
|
readonly layout: StructType<{
|
|
94
86
|
readonly span: IntegerType;
|
|
@@ -125,11 +117,8 @@ export type StudioInspectorPayloadType = typeof StudioInspectorPayloadType;
|
|
|
125
117
|
*
|
|
126
118
|
* @remarks
|
|
127
119
|
* `cells` are the page's placements as the canvas draws them, its unsaved
|
|
128
|
-
* drafts in place
|
|
129
|
-
* component's
|
|
130
|
-
* version does not hold has not gone live, and has not changed. A placement
|
|
131
|
-
* whose component the surface does not list is named by its component's key,
|
|
132
|
-
* reads nothing and has no description.
|
|
120
|
+
* drafts in place. A placement whose component the surface does not list is
|
|
121
|
+
* named by its component's key, reads nothing and has no description.
|
|
133
122
|
*/
|
|
134
123
|
export declare const inspectorSelection: import("@elaraai/east").CallableFunctionExpr<[ArrayType<StructType<{
|
|
135
124
|
readonly key: StringType;
|
|
@@ -144,7 +133,7 @@ export declare const inspectorSelection: import("@elaraai/east").CallableFunctio
|
|
|
144
133
|
}>;
|
|
145
134
|
readonly tags: ArrayType<StringType>;
|
|
146
135
|
readonly collections: ArrayType<StringType>;
|
|
147
|
-
readonly deprecated: BooleanType;
|
|
136
|
+
readonly deprecated: import("@elaraai/east").BooleanType;
|
|
148
137
|
readonly reads: StructType<{
|
|
149
138
|
readonly paths: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
150
139
|
readonly field: StringType;
|
|
@@ -155,7 +144,6 @@ export declare const inspectorSelection: import("@elaraai/east").CallableFunctio
|
|
|
155
144
|
readonly field: StringType;
|
|
156
145
|
}>>>;
|
|
157
146
|
}>;
|
|
158
|
-
readonly fingerprint: StringType;
|
|
159
147
|
readonly render: FunctionType<[], import("@elaraai/east").RecursiveType<import("@elaraai/east-ui").UIComponentNode>>;
|
|
160
148
|
}>>, ArrayType<StructType<{
|
|
161
149
|
readonly key: StringType;
|
|
@@ -169,28 +157,11 @@ export declare const inspectorSelection: import("@elaraai/east").CallableFunctio
|
|
|
169
157
|
}>;
|
|
170
158
|
readonly title: OptionType<StringType>;
|
|
171
159
|
readonly component: StringType;
|
|
172
|
-
|
|
173
|
-
}>>, OptionType<ArrayType<StructType<{
|
|
174
|
-
readonly key: StringType;
|
|
175
|
-
readonly row: StringType;
|
|
176
|
-
readonly span: IntegerType;
|
|
177
|
-
readonly height: OptionType<IntegerType>;
|
|
178
|
-
readonly align: import("@elaraai/east").VariantType<{
|
|
179
|
-
readonly top: NullType;
|
|
180
|
-
readonly center: NullType;
|
|
181
|
-
readonly stretch: NullType;
|
|
182
|
-
}>;
|
|
183
|
-
readonly title: OptionType<StringType>;
|
|
184
|
-
readonly component: StringType;
|
|
185
|
-
readonly fingerprint: StringType;
|
|
186
|
-
}>>>, OptionType<StringType>], OptionType<StructType<{
|
|
160
|
+
}>>, OptionType<StringType>], OptionType<StructType<{
|
|
187
161
|
readonly key: StringType;
|
|
188
162
|
readonly name: StringType;
|
|
189
163
|
readonly component: StringType;
|
|
190
|
-
readonly
|
|
191
|
-
readonly reads: ArrayType<ArrayType<import("@elaraai/east").VariantType<{
|
|
192
|
-
readonly field: StringType;
|
|
193
|
-
}>>>;
|
|
164
|
+
readonly reads: ArrayType<StringType>;
|
|
194
165
|
readonly description: OptionType<StringType>;
|
|
195
166
|
readonly layout: StructType<{
|
|
196
167
|
readonly span: IntegerType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inspector.d.ts","sourceRoot":"","sources":["../../../src/studio/inspector.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;GASG;AAEH,OAAO,EACH,SAAS,
|
|
1
|
+
{"version":3,"file":"inspector.d.ts","sourceRoot":"","sources":["../../../src/studio/inspector.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;GASG;AAEH,OAAO,EACH,SAAS,EAET,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,UAAU,EAEV,UAAU,EACV,UAAU,EAGb,MAAM,eAAe,CAAC;AASvB;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;EAO9B,CAAC;AAEH,yDAAyD;AACzD,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC;AAE7D;;;;;;;;;;GAUG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;EAOjC,CAAC;AAEH,2EAA2E;AAC3E,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC;AAEnE;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGrC,CAAC;AAEH,gEAAgE;AAChE,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC;AAE3E;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkE9B,CAAC"}
|