@pascal-app/core 1.0.6 → 1.0.7
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/dist/agent-operations/__fixtures__/add-object-cases.d.ts +31 -0
- package/dist/agent-operations/__fixtures__/add-object-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/build-room-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/build-room-cases.js +27 -0
- package/dist/agent-operations/__fixtures__/cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/cases.js +19 -11
- package/dist/agent-operations/__fixtures__/design-brief-cases.d.ts +25 -2
- package/dist/agent-operations/__fixtures__/design-brief-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/design-brief-cases.js +509 -66
- package/dist/agent-operations/__fixtures__/dressing-scenes.d.ts +30 -0
- package/dist/agent-operations/__fixtures__/dressing-scenes.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/dressing-scenes.js +82 -0
- package/dist/agent-operations/__fixtures__/native-materials.d.ts +407 -9
- package/dist/agent-operations/__fixtures__/native-materials.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/notation-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/notation-cases.js +14 -0
- package/dist/agent-operations/__fixtures__/roof-bearing-cases.d.ts +7253 -4053
- package/dist/agent-operations/__fixtures__/roof-bearing-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/room-cases.d.ts +1 -0
- package/dist/agent-operations/__fixtures__/room-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/room-cases.js +57 -1
- package/dist/agent-operations/__fixtures__/room-check-scenes.d.ts +51 -0
- package/dist/agent-operations/__fixtures__/room-check-scenes.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/room-check-scenes.js +121 -0
- package/dist/agent-operations/__fixtures__/scene-check-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/scene-check-cases.js +152 -18
- package/dist/agent-operations/__fixtures__/search-assets-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/search-assets-cases.js +91 -0
- package/dist/agent-operations/__fixtures__/site-cases.d.ts +40 -1
- package/dist/agent-operations/__fixtures__/site-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/structure-cases.d.ts +3 -0
- package/dist/agent-operations/__fixtures__/structure-cases.d.ts.map +1 -1
- package/dist/agent-operations/__fixtures__/structure-cases.js +199 -18
- package/dist/agent-operations/__fixtures__/unit-cases.d.ts +6 -0
- package/dist/agent-operations/__fixtures__/unit-cases.d.ts.map +1 -0
- package/dist/agent-operations/__fixtures__/unit-cases.js +266 -0
- package/dist/agent-operations/__fixtures__/verify-scene-cases.d.ts +109 -73
- package/dist/agent-operations/__fixtures__/verify-scene-cases.d.ts.map +1 -1
- package/dist/agent-operations/add-column.d.ts.map +1 -1
- package/dist/agent-operations/add-column.js +32 -3
- package/dist/agent-operations/add-fence.d.ts.map +1 -1
- package/dist/agent-operations/add-fence.js +2 -1
- package/dist/agent-operations/add-level.d.ts.map +1 -1
- package/dist/agent-operations/add-level.js +4 -4
- package/dist/agent-operations/add-object.d.ts +32 -6
- package/dist/agent-operations/add-object.d.ts.map +1 -1
- package/dist/agent-operations/add-object.js +59 -12
- package/dist/agent-operations/add-wall.d.ts +3 -8
- package/dist/agent-operations/add-wall.d.ts.map +1 -1
- package/dist/agent-operations/add-wall.js +31 -8
- package/dist/agent-operations/apply-changes.d.ts.map +1 -1
- package/dist/agent-operations/apply-changes.js +2 -1
- package/dist/agent-operations/asset-catalog.d.ts +63 -0
- package/dist/agent-operations/asset-catalog.d.ts.map +1 -0
- package/dist/agent-operations/asset-catalog.js +182 -0
- package/dist/agent-operations/asset-views.d.ts +4 -2
- package/dist/agent-operations/asset-views.d.ts.map +1 -1
- package/dist/agent-operations/asset-views.js +1 -3
- package/dist/agent-operations/author-scene-checks.d.ts +38 -0
- package/dist/agent-operations/author-scene-checks.d.ts.map +1 -0
- package/dist/agent-operations/author-scene-checks.js +266 -0
- package/dist/agent-operations/author-scene.d.ts +54 -20
- package/dist/agent-operations/author-scene.d.ts.map +1 -1
- package/dist/agent-operations/author-scene.js +1164 -196
- package/dist/agent-operations/authored-scene-merge.d.ts.map +1 -1
- package/dist/agent-operations/authored-scene-merge.js +61 -3
- package/dist/agent-operations/batch.d.ts +1 -1
- package/dist/agent-operations/batch.d.ts.map +1 -1
- package/dist/agent-operations/batch.js +38 -39
- package/dist/agent-operations/ceiling-object-observations.d.ts.map +1 -1
- package/dist/agent-operations/ceiling-object-observations.js +5 -4
- package/dist/agent-operations/circulation-geometry.d.ts +14 -0
- package/dist/agent-operations/circulation-geometry.d.ts.map +1 -0
- package/dist/agent-operations/circulation-geometry.js +151 -0
- package/dist/agent-operations/circulation-graph.d.ts +72 -0
- package/dist/agent-operations/circulation-graph.d.ts.map +1 -0
- package/dist/agent-operations/circulation-graph.js +713 -0
- package/dist/agent-operations/circulation-non-spaces.d.ts +10 -0
- package/dist/agent-operations/circulation-non-spaces.d.ts.map +1 -0
- package/dist/agent-operations/circulation-non-spaces.js +88 -0
- package/dist/agent-operations/circulation-spaces.d.ts +5880 -0
- package/dist/agent-operations/circulation-spaces.d.ts.map +1 -0
- package/dist/agent-operations/circulation-spaces.js +368 -0
- package/dist/agent-operations/collections.d.ts.map +1 -1
- package/dist/agent-operations/collections.js +9 -7
- package/dist/agent-operations/corner-window.d.ts.map +1 -1
- package/dist/agent-operations/corner-window.js +2 -4
- package/dist/agent-operations/create-roof.d.ts.map +1 -1
- package/dist/agent-operations/create-roof.js +5 -7
- package/dist/agent-operations/create-room.d.ts +4 -1
- package/dist/agent-operations/create-room.d.ts.map +1 -1
- package/dist/agent-operations/create-room.js +7 -4
- package/dist/agent-operations/create-stair.js +2 -2
- package/dist/agent-operations/design-brief.d.ts +13 -7
- package/dist/agent-operations/design-brief.d.ts.map +1 -1
- package/dist/agent-operations/design-brief.js +172 -92
- package/dist/agent-operations/door-clearance.d.ts +68 -8
- package/dist/agent-operations/door-clearance.d.ts.map +1 -1
- package/dist/agent-operations/door-clearance.js +127 -20
- package/dist/agent-operations/dress-targets.d.ts +23 -0
- package/dist/agent-operations/dress-targets.d.ts.map +1 -0
- package/dist/agent-operations/dress-targets.js +34 -0
- package/dist/agent-operations/duplicate-node.d.ts +14 -0
- package/dist/agent-operations/duplicate-node.d.ts.map +1 -0
- package/dist/agent-operations/duplicate-node.js +173 -0
- package/dist/agent-operations/find-by-type.d.ts.map +1 -1
- package/dist/agent-operations/find-by-type.js +3 -0
- package/dist/agent-operations/furnish-room.d.ts +2 -0
- package/dist/agent-operations/furnish-room.d.ts.map +1 -1
- package/dist/agent-operations/furnish-room.js +15 -4
- package/dist/agent-operations/furniture-kind.d.ts +28 -1
- package/dist/agent-operations/furniture-kind.d.ts.map +1 -1
- package/dist/agent-operations/furniture-kind.js +105 -6
- package/dist/agent-operations/ground-reader.d.ts +10 -0
- package/dist/agent-operations/ground-reader.d.ts.map +1 -0
- package/dist/agent-operations/ground-reader.js +25 -0
- package/dist/agent-operations/index.d.ts +118 -12
- package/dist/agent-operations/index.d.ts.map +1 -1
- package/dist/agent-operations/index.js +26 -1
- package/dist/agent-operations/item-solids.d.ts +39 -0
- package/dist/agent-operations/item-solids.d.ts.map +1 -0
- package/dist/agent-operations/item-solids.js +128 -0
- package/dist/agent-operations/layout-clearance.d.ts +91 -11
- package/dist/agent-operations/layout-clearance.d.ts.map +1 -1
- package/dist/agent-operations/layout-clearance.js +280 -73
- package/dist/agent-operations/level-height-fill.d.ts.map +1 -1
- package/dist/agent-operations/level-height-fill.js +7 -1
- package/dist/agent-operations/level-reads.d.ts +5 -0
- package/dist/agent-operations/level-reads.d.ts.map +1 -1
- package/dist/agent-operations/level-reads.js +38 -2
- package/dist/agent-operations/list-levels.d.ts.map +1 -1
- package/dist/agent-operations/list-levels.js +2 -4
- package/dist/agent-operations/move-node.d.ts +12 -0
- package/dist/agent-operations/move-node.d.ts.map +1 -0
- package/dist/agent-operations/move-node.js +28 -0
- package/dist/agent-operations/move-plan.d.ts +28 -0
- package/dist/agent-operations/move-plan.d.ts.map +1 -0
- package/dist/agent-operations/move-plan.js +257 -0
- package/dist/agent-operations/node-patch.d.ts.map +1 -1
- package/dist/agent-operations/node-patch.js +15 -0
- package/dist/agent-operations/paint.d.ts +3 -1
- package/dist/agent-operations/paint.d.ts.map +1 -1
- package/dist/agent-operations/paint.js +14 -1
- package/dist/agent-operations/photo-elevation.d.ts.map +1 -1
- package/dist/agent-operations/photo-elevation.js +2 -1
- package/dist/agent-operations/place-in-room.d.ts.map +1 -1
- package/dist/agent-operations/place-in-room.js +1 -0
- package/dist/agent-operations/place-items.d.ts.map +1 -1
- package/dist/agent-operations/place-items.js +3 -4
- package/dist/agent-operations/plan-clearance.d.ts +28 -0
- package/dist/agent-operations/plan-clearance.d.ts.map +1 -0
- package/dist/agent-operations/plan-clearance.js +47 -0
- package/dist/agent-operations/plan-geometry.d.ts +2 -0
- package/dist/agent-operations/plan-geometry.d.ts.map +1 -1
- package/dist/agent-operations/plan-geometry.js +10 -0
- package/dist/agent-operations/project-files.d.ts +10 -0
- package/dist/agent-operations/project-files.d.ts.map +1 -1
- package/dist/agent-operations/reachability.d.ts +41 -0
- package/dist/agent-operations/reachability.d.ts.map +1 -0
- package/dist/agent-operations/reachability.js +199 -0
- package/dist/agent-operations/room-checks.d.ts +60 -0
- package/dist/agent-operations/room-checks.d.ts.map +1 -0
- package/dist/agent-operations/room-checks.js +226 -0
- package/dist/agent-operations/room-faces.d.ts +30 -0
- package/dist/agent-operations/room-faces.d.ts.map +1 -0
- package/dist/agent-operations/room-faces.js +31 -0
- package/dist/agent-operations/room-findings.d.ts +5 -2
- package/dist/agent-operations/room-findings.d.ts.map +1 -1
- package/dist/agent-operations/room-findings.js +30 -0
- package/dist/agent-operations/room-finishes.d.ts +87 -0
- package/dist/agent-operations/room-finishes.d.ts.map +1 -0
- package/dist/agent-operations/room-finishes.js +193 -0
- package/dist/agent-operations/room-floor-script.d.ts +3 -3
- package/dist/agent-operations/room-floor-script.js +3 -3
- package/dist/agent-operations/room-readings.d.ts +90 -0
- package/dist/agent-operations/room-readings.d.ts.map +1 -0
- package/dist/agent-operations/room-readings.js +369 -0
- package/dist/agent-operations/room-tile.d.ts +15 -0
- package/dist/agent-operations/room-tile.d.ts.map +1 -0
- package/dist/agent-operations/room-tile.js +30 -0
- package/dist/agent-operations/room-wet.d.ts +55 -0
- package/dist/agent-operations/room-wet.d.ts.map +1 -0
- package/dist/agent-operations/room-wet.js +203 -0
- package/dist/agent-operations/scene-check-policy.d.ts +5 -0
- package/dist/agent-operations/scene-check-policy.d.ts.map +1 -0
- package/dist/agent-operations/scene-check-policy.js +24 -0
- package/dist/agent-operations/scene-checkpoint.d.ts +10 -0
- package/dist/agent-operations/scene-checkpoint.d.ts.map +1 -1
- package/dist/agent-operations/scene-checkpoint.js +31 -0
- package/dist/agent-operations/scene-issue-groups.d.ts +17 -0
- package/dist/agent-operations/scene-issue-groups.d.ts.map +1 -0
- package/dist/agent-operations/scene-issue-groups.js +71 -0
- package/dist/agent-operations/scene-materials.d.ts +23 -0
- package/dist/agent-operations/scene-materials.d.ts.map +1 -1
- package/dist/agent-operations/scene-materials.js +41 -0
- package/dist/agent-operations/scene-queries.d.ts +1667 -866
- package/dist/agent-operations/scene-queries.d.ts.map +1 -1
- package/dist/agent-operations/scene-queries.js +3 -3
- package/dist/agent-operations/scene-review.d.ts.map +1 -1
- package/dist/agent-operations/scene-review.js +3 -2
- package/dist/agent-operations/scene-view.d.ts.map +1 -1
- package/dist/agent-operations/scene-view.js +91 -21
- package/dist/agent-operations/search-assets.d.ts +10 -6
- package/dist/agent-operations/search-assets.d.ts.map +1 -1
- package/dist/agent-operations/search-assets.js +37 -22
- package/dist/agent-operations/set-checkpoint.d.ts.map +1 -1
- package/dist/agent-operations/set-checkpoint.js +1 -0
- package/dist/agent-operations/set-ground-level.d.ts +1 -1
- package/dist/agent-operations/set-ground-level.d.ts.map +1 -1
- package/dist/agent-operations/set-ground-level.js +3 -14
- package/dist/agent-operations/site.js +3 -2
- package/dist/agent-operations/slab-surface-script.d.ts +25 -0
- package/dist/agent-operations/slab-surface-script.d.ts.map +1 -0
- package/dist/agent-operations/slab-surface-script.js +60 -0
- package/dist/agent-operations/stair-plan-footprint.d.ts +9 -0
- package/dist/agent-operations/stair-plan-footprint.d.ts.map +1 -0
- package/dist/agent-operations/stair-plan-footprint.js +50 -0
- package/dist/agent-operations/types.d.ts +10 -5
- package/dist/agent-operations/types.d.ts.map +1 -1
- package/dist/agent-operations/units.d.ts +26 -0
- package/dist/agent-operations/units.d.ts.map +1 -0
- package/dist/agent-operations/units.js +110 -0
- package/dist/agent-operations/unreachable-rooms-check.d.ts +17 -0
- package/dist/agent-operations/unreachable-rooms-check.d.ts.map +1 -0
- package/dist/agent-operations/unreachable-rooms-check.js +35 -0
- package/dist/agent-operations/usage-checks.d.ts +2 -0
- package/dist/agent-operations/usage-checks.d.ts.map +1 -0
- package/dist/agent-operations/usage-checks.js +12 -0
- package/dist/agent-operations/verify-scene.d.ts +8 -11
- package/dist/agent-operations/verify-scene.d.ts.map +1 -1
- package/dist/agent-operations/verify-scene.js +55 -11
- package/dist/agent-operations/wall-face-defaults.d.ts +44 -0
- package/dist/agent-operations/wall-face-defaults.d.ts.map +1 -0
- package/dist/agent-operations/wall-face-defaults.js +229 -0
- package/dist/agent-operations/wall-joins.d.ts +119 -0
- package/dist/agent-operations/wall-joins.d.ts.map +1 -0
- package/dist/agent-operations/wall-joins.js +308 -0
- package/dist/agent-operations/wall-object-observations.d.ts.map +1 -1
- package/dist/agent-operations/wall-object-observations.js +4 -6
- package/dist/agent-operations/wall-skirting.d.ts.map +1 -1
- package/dist/agent-operations/wall-skirting.js +2 -0
- package/dist/agent-operations/wall-type.d.ts +49 -0
- package/dist/agent-operations/wall-type.d.ts.map +1 -0
- package/dist/agent-operations/wall-type.js +31 -0
- package/dist/agent-operations/zone-coverage.d.ts +85 -0
- package/dist/agent-operations/zone-coverage.d.ts.map +1 -0
- package/dist/agent-operations/zone-coverage.js +208 -0
- package/dist/agent-tools/add-object.d.ts +31 -0
- package/dist/agent-tools/add-object.d.ts.map +1 -1
- package/dist/agent-tools/add-object.js +44 -7
- package/dist/agent-tools/assets.d.ts +4 -0
- package/dist/agent-tools/assets.d.ts.map +1 -1
- package/dist/agent-tools/assets.js +11 -1
- package/dist/agent-tools/author-scene.d.ts +810 -15
- package/dist/agent-tools/author-scene.d.ts.map +1 -1
- package/dist/agent-tools/author-scene.js +275 -34
- package/dist/agent-tools/batch.d.ts +1 -1
- package/dist/agent-tools/batch.d.ts.map +1 -1
- package/dist/agent-tools/batch.js +5 -1
- package/dist/agent-tools/checkpoints.js +1 -1
- package/dist/agent-tools/columns.d.ts +14 -0
- package/dist/agent-tools/columns.d.ts.map +1 -1
- package/dist/agent-tools/columns.js +14 -2
- package/dist/agent-tools/contract.d.ts +10 -0
- package/dist/agent-tools/contract.d.ts.map +1 -1
- package/dist/agent-tools/contract.js +5 -1
- package/dist/agent-tools/corner-window.d.ts +1 -0
- package/dist/agent-tools/corner-window.d.ts.map +1 -1
- package/dist/agent-tools/corner-window.js +1 -1
- package/dist/agent-tools/create-room.d.ts +85 -0
- package/dist/agent-tools/create-room.d.ts.map +1 -1
- package/dist/agent-tools/create-room.js +8 -1
- package/dist/agent-tools/design-brief.d.ts +513 -7
- package/dist/agent-tools/design-brief.d.ts.map +1 -1
- package/dist/agent-tools/design-brief.js +192 -14
- package/dist/agent-tools/designs.js +1 -1
- package/dist/agent-tools/find-by-type.js +1 -1
- package/dist/agent-tools/index.d.ts +658 -10
- package/dist/agent-tools/index.d.ts.map +1 -1
- package/dist/agent-tools/index.js +9 -1
- package/dist/agent-tools/levels.js +4 -4
- package/dist/agent-tools/move-duplicate.d.ts +65 -0
- package/dist/agent-tools/move-duplicate.d.ts.map +1 -0
- package/dist/agent-tools/move-duplicate.js +68 -0
- package/dist/agent-tools/paint.d.ts +6 -0
- package/dist/agent-tools/paint.d.ts.map +1 -1
- package/dist/agent-tools/paint.js +7 -3
- package/dist/agent-tools/photo-elevation.js +1 -1
- package/dist/agent-tools/project-files.d.ts +2 -2
- package/dist/agent-tools/project-files.d.ts.map +1 -1
- package/dist/agent-tools/project-files.js +1 -1
- package/dist/agent-tools/refusal.d.ts +9 -1
- package/dist/agent-tools/refusal.d.ts.map +1 -1
- package/dist/agent-tools/refusal.js +5 -1
- package/dist/agent-tools/roofs.js +1 -1
- package/dist/agent-tools/room-structure.d.ts +60 -0
- package/dist/agent-tools/room-structure.d.ts.map +1 -1
- package/dist/agent-tools/room-structure.js +20 -1
- package/dist/agent-tools/search-materials.d.ts +1 -0
- package/dist/agent-tools/search-materials.d.ts.map +1 -1
- package/dist/agent-tools/site.js +1 -1
- package/dist/agent-tools/stairs.js +1 -1
- package/dist/agent-tools/units.d.ts +84 -0
- package/dist/agent-tools/units.d.ts.map +1 -0
- package/dist/agent-tools/units.js +54 -0
- package/dist/agent-tools/verify-scene-usage.d.ts +44 -0
- package/dist/agent-tools/verify-scene-usage.d.ts.map +1 -0
- package/dist/agent-tools/verify-scene-usage.js +146 -0
- package/dist/agent-tools/verify-scene.d.ts +12 -1
- package/dist/agent-tools/verify-scene.d.ts.map +1 -1
- package/dist/agent-tools/verify-scene.js +183 -3
- package/dist/agent-tools/view-scene.d.ts +3 -0
- package/dist/agent-tools/view-scene.d.ts.map +1 -1
- package/dist/agent-tools/view-scene.js +4 -1
- package/dist/agent-tools/wall-openings.d.ts +121 -2
- package/dist/agent-tools/wall-openings.d.ts.map +1 -1
- package/dist/agent-tools/wall-openings.js +123 -18
- package/dist/agent-tools/walls.d.ts +30 -0
- package/dist/agent-tools/walls.d.ts.map +1 -1
- package/dist/agent-tools/walls.js +54 -2
- package/dist/building/__fixtures__/wall-opening-cases.d.ts +340 -195
- package/dist/building/__fixtures__/wall-opening-cases.d.ts.map +1 -1
- package/dist/building/__fixtures__/wall-opening-cases.js +13 -0
- package/dist/building/code-profile.d.ts +231 -0
- package/dist/building/code-profile.d.ts.map +1 -0
- package/dist/building/code-profile.js +208 -0
- package/dist/building/corner-window.d.ts +2 -2
- package/dist/building/corner-window.d.ts.map +1 -1
- package/dist/building/corner-window.js +11 -2
- package/dist/building/door-types.d.ts +1 -0
- package/dist/building/door-types.d.ts.map +1 -1
- package/dist/building/door-types.js +2 -0
- package/dist/building/floor-item-fit.d.ts.map +1 -1
- package/dist/building/floor-item-fit.js +2 -4
- package/dist/building/ground-level.d.ts +1 -3
- package/dist/building/ground-level.d.ts.map +1 -1
- package/dist/building/ground-level.js +3 -5
- package/dist/building/index.d.ts +2 -0
- package/dist/building/index.d.ts.map +1 -1
- package/dist/building/index.js +2 -0
- package/dist/building/level-duplication.d.ts +5951 -4351
- package/dist/building/level-duplication.d.ts.map +1 -1
- package/dist/building/level-insertion.d.ts +1 -1
- package/dist/building/level-wall-copy.d.ts +24 -0
- package/dist/building/level-wall-copy.d.ts.map +1 -0
- package/dist/building/level-wall-copy.js +53 -0
- package/dist/building/merge-windows.d.ts.map +1 -1
- package/dist/building/merge-windows.js +1 -0
- package/dist/building/opening-style-presets.d.ts +2 -0
- package/dist/building/opening-style-presets.d.ts.map +1 -1
- package/dist/building/opening-style-presets.js +26 -5
- package/dist/building/room-use.d.ts +26 -0
- package/dist/building/room-use.d.ts.map +1 -0
- package/dist/building/room-use.js +102 -0
- package/dist/building/wall-openings.d.ts +115 -7
- package/dist/building/wall-openings.d.ts.map +1 -1
- package/dist/building/wall-openings.js +121 -29
- package/dist/building/window-types.d.ts +1 -0
- package/dist/building/window-types.d.ts.map +1 -1
- package/dist/building/window-types.js +3 -0
- package/dist/coherence/__fixtures__/enclosure-scenes.d.ts +84 -0
- package/dist/coherence/__fixtures__/enclosure-scenes.d.ts.map +1 -0
- package/dist/coherence/__fixtures__/enclosure-scenes.js +44 -0
- package/dist/commands/structure/attached-walls.d.ts +16 -0
- package/dist/commands/structure/attached-walls.d.ts.map +1 -0
- package/dist/commands/structure/attached-walls.js +53 -0
- package/dist/commands/structure/index.d.ts +3 -0
- package/dist/commands/structure/index.d.ts.map +1 -1
- package/dist/commands/structure/index.js +3 -0
- package/dist/commands/structure/move-separators.d.ts +62 -0
- package/dist/commands/structure/move-separators.d.ts.map +1 -0
- package/dist/commands/structure/move-separators.js +346 -0
- package/dist/commands/structure/set-floor-foundation.d.ts +5 -0
- package/dist/commands/structure/set-floor-foundation.d.ts.map +1 -1
- package/dist/commands/structure/set-wall-geometry.d.ts.map +1 -1
- package/dist/commands/structure/set-wall-geometry.js +44 -11
- package/dist/commands/structure/set-zone-intent.d.ts +26 -0
- package/dist/commands/structure/set-zone-intent.d.ts.map +1 -1
- package/dist/commands/structure/set-zone-intent.js +107 -2
- package/dist/commands/structure/shared.d.ts +888 -88
- package/dist/commands/structure/shared.d.ts.map +1 -1
- package/dist/commands/structure/wall-overlap.d.ts +45 -0
- package/dist/commands/structure/wall-overlap.d.ts.map +1 -0
- package/dist/commands/structure/wall-overlap.js +289 -0
- package/dist/commands/structure/zone-wall-merge.d.ts +3326 -2370
- package/dist/commands/structure/zone-wall-merge.d.ts.map +1 -1
- package/dist/contracts/reference-discovery.d.ts +2 -2
- package/dist/contracts/reference-discovery.d.ts.map +1 -1
- package/dist/contracts/reference-discovery.js +5 -3
- package/dist/contracts/reference-inventory.d.ts.map +1 -1
- package/dist/contracts/reference-inventory.js +75 -24
- package/dist/events/bus.d.ts +15 -2
- package/dist/events/bus.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/built-in-floor-placed.d.ts +40 -0
- package/dist/hooks/spatial-grid/built-in-floor-placed.d.ts.map +1 -0
- package/dist/hooks/spatial-grid/built-in-floor-placed.js +220 -0
- package/dist/hooks/spatial-grid/floor-placed-elevation.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/floor-placed-elevation.js +13 -7
- package/dist/hooks/spatial-grid/spatial-grid-manager.d.ts +56 -1
- package/dist/hooks/spatial-grid/spatial-grid-manager.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/spatial-grid-manager.js +177 -27
- package/dist/hooks/spatial-grid/spatial-grid-sync.d.ts +1631 -831
- package/dist/hooks/spatial-grid/spatial-grid-sync.d.ts.map +1 -1
- package/dist/hooks/spatial-grid/spatial-grid-sync.js +24 -1
- package/dist/hooks/spatial-grid/support-host-patch.js +10 -10
- package/dist/i18n/format.d.ts +41 -0
- package/dist/i18n/format.d.ts.map +1 -0
- package/dist/i18n/format.js +124 -0
- package/dist/i18n/index.d.ts +5 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +3 -0
- package/dist/i18n/registry.d.ts +78 -0
- package/dist/i18n/registry.d.ts.map +1 -0
- package/dist/i18n/registry.js +252 -0
- package/dist/i18n/use-translate.d.ts +16 -0
- package/dist/i18n/use-translate.d.ts.map +1 -0
- package/dist/i18n/use-translate.js +23 -0
- package/dist/index.d.ts +32 -16
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +31 -15
- package/dist/lib/__fixtures__/mezzanine.d.ts +6840 -4169
- package/dist/lib/__fixtures__/mezzanine.d.ts.map +1 -1
- package/dist/lib/absorb-wall-separators.d.ts +2128 -1328
- package/dist/lib/absorb-wall-separators.d.ts.map +1 -1
- package/dist/lib/beam.d.ts +137 -0
- package/dist/lib/beam.d.ts.map +1 -0
- package/dist/lib/beam.js +297 -0
- package/dist/lib/below-grade-footprints.d.ts +13 -5
- package/dist/lib/below-grade-footprints.d.ts.map +1 -1
- package/dist/lib/below-grade-footprints.js +53 -10
- package/dist/lib/build-up.d.ts +89 -0
- package/dist/lib/build-up.d.ts.map +1 -0
- package/dist/lib/build-up.js +216 -0
- package/dist/lib/corner-pair.d.ts +205 -4
- package/dist/lib/corner-pair.d.ts.map +1 -1
- package/dist/lib/deck-boards.d.ts +80 -0
- package/dist/lib/deck-boards.d.ts.map +1 -0
- package/dist/lib/deck-boards.js +184 -0
- package/dist/lib/deck-framing.d.ts +150 -0
- package/dist/lib/deck-framing.d.ts.map +1 -0
- package/dist/lib/deck-framing.js +515 -0
- package/dist/lib/deepest-drawn.d.ts +3 -6
- package/dist/lib/deepest-drawn.d.ts.map +1 -1
- package/dist/lib/deepest-drawn.js +4 -8
- package/dist/lib/door-opening.d.ts +19 -0
- package/dist/lib/door-opening.d.ts.map +1 -0
- package/dist/lib/door-opening.js +27 -0
- package/dist/lib/door-operation.d.ts +2 -0
- package/dist/lib/door-operation.d.ts.map +1 -1
- package/dist/lib/door-operation.js +4 -0
- package/dist/lib/exterior-wall-loops.d.ts.map +1 -1
- package/dist/lib/exterior-wall-loops.js +2 -1
- package/dist/lib/finish-script.d.ts +5 -5
- package/dist/lib/finish-script.d.ts.map +1 -1
- package/dist/lib/finish-script.js +12 -5
- package/dist/lib/floor-footprint-name.d.ts +17 -0
- package/dist/lib/floor-footprint-name.d.ts.map +1 -1
- package/dist/lib/floor-footprint-name.js +17 -4
- package/dist/lib/floor-intent-changes.d.ts.map +1 -1
- package/dist/lib/floor-intent-changes.js +60 -35
- package/dist/lib/floor-opening-footprints.d.ts +1 -1
- package/dist/lib/floor-opening-footprints.d.ts.map +1 -1
- package/dist/lib/floor-opening-footprints.js +10 -4
- package/dist/lib/floor-plate-paint.d.ts +2 -0
- package/dist/lib/floor-plate-paint.d.ts.map +1 -1
- package/dist/lib/floor-plate-paint.js +12 -0
- package/dist/lib/floor-plates.d.ts +250 -0
- package/dist/lib/floor-plates.d.ts.map +1 -1
- package/dist/lib/floor-plates.js +43 -4
- package/dist/lib/floor-script.d.ts +35 -6
- package/dist/lib/floor-script.d.ts.map +1 -1
- package/dist/lib/floor-script.js +96 -16
- package/dist/lib/foundation-construction.d.ts +4 -13
- package/dist/lib/foundation-construction.d.ts.map +1 -1
- package/dist/lib/foundation-construction.js +4 -14
- package/dist/lib/foundation-standard.d.ts +2 -3
- package/dist/lib/foundation-standard.d.ts.map +1 -1
- package/dist/lib/foundation-standard.js +2 -3
- package/dist/lib/foundation-wall.d.ts +1 -2
- package/dist/lib/foundation-wall.d.ts.map +1 -1
- package/dist/lib/foundation-wall.js +1 -2
- package/dist/lib/framing-post.d.ts +91 -0
- package/dist/lib/framing-post.d.ts.map +1 -0
- package/dist/lib/framing-post.js +174 -0
- package/dist/lib/geometry-script-node.d.ts +11 -0
- package/dist/lib/geometry-script-node.d.ts.map +1 -1
- package/dist/lib/geometry-script-node.js +35 -0
- package/dist/lib/grade-standing.d.ts +16 -2
- package/dist/lib/grade-standing.d.ts.map +1 -1
- package/dist/lib/grade-standing.js +129 -9
- package/dist/lib/ground-seat.d.ts +2 -22
- package/dist/lib/ground-seat.d.ts.map +1 -1
- package/dist/lib/ground-seat.js +2 -17
- package/dist/lib/ground-window.d.ts +2 -1
- package/dist/lib/ground-window.d.ts.map +1 -1
- package/dist/lib/ground-window.js +5 -2
- package/dist/lib/level-footprints.d.ts +2 -0
- package/dist/lib/level-footprints.d.ts.map +1 -1
- package/dist/lib/level-footprints.js +7 -0
- package/dist/lib/opening-casing.d.ts +67 -0
- package/dist/lib/opening-casing.d.ts.map +1 -0
- package/dist/lib/opening-casing.js +131 -0
- package/dist/lib/opening-exterior-face.d.ts +6 -0
- package/dist/lib/opening-exterior-face.d.ts.map +1 -0
- package/dist/lib/opening-exterior-face.js +15 -0
- package/dist/lib/opening-floor-datum.d.ts +11 -5
- package/dist/lib/opening-floor-datum.d.ts.map +1 -1
- package/dist/lib/opening-floor-datum.js +38 -6
- package/dist/lib/opening-frame-depth.d.ts +18 -0
- package/dist/lib/opening-frame-depth.d.ts.map +1 -0
- package/dist/lib/opening-frame-depth.js +22 -0
- package/dist/lib/outdoor-room.d.ts +32 -0
- package/dist/lib/outdoor-room.d.ts.map +1 -0
- package/dist/lib/outdoor-room.js +66 -0
- package/dist/lib/plate-surface.d.ts +8 -0
- package/dist/lib/plate-surface.d.ts.map +1 -1
- package/dist/lib/plate-surface.js +53 -3
- package/dist/lib/porch-framing-sync.d.ts +46 -0
- package/dist/lib/porch-framing-sync.d.ts.map +1 -0
- package/dist/lib/porch-framing-sync.js +206 -0
- package/dist/lib/porch-framing.d.ts +44 -0
- package/dist/lib/porch-framing.d.ts.map +1 -0
- package/dist/lib/porch-framing.js +159 -0
- package/dist/lib/railing-rooms.d.ts +13 -0
- package/dist/lib/railing-rooms.d.ts.map +1 -0
- package/dist/lib/railing-rooms.js +37 -0
- package/dist/lib/roof-eave.d.ts +135 -0
- package/dist/lib/roof-eave.d.ts.map +1 -0
- package/dist/lib/roof-eave.js +186 -0
- package/dist/lib/room-floor-plate.d.ts +3 -1
- package/dist/lib/room-floor-plate.d.ts.map +1 -1
- package/dist/lib/room-floor-plate.js +7 -0
- package/dist/lib/space-detection.d.ts +13 -0
- package/dist/lib/space-detection.d.ts.map +1 -1
- package/dist/lib/space-detection.js +112 -24
- package/dist/lib/structure-kernel.d.ts +22 -9
- package/dist/lib/structure-kernel.d.ts.map +1 -1
- package/dist/lib/structure-kernel.js +146 -28
- package/dist/lib/structure-reconcile.d.ts +1 -1
- package/dist/lib/structure-reconcile.d.ts.map +1 -1
- package/dist/lib/structure-reconcile.js +7 -4
- package/dist/lib/surface-intent.d.ts +10 -0
- package/dist/lib/surface-intent.d.ts.map +1 -0
- package/dist/lib/surface-intent.js +18 -0
- package/dist/lib/terrain-source.d.ts.map +1 -1
- package/dist/lib/terrain-source.js +2 -1
- package/dist/lib/wall-face-script.d.ts.map +1 -1
- package/dist/lib/wall-face-script.js +5 -2
- package/dist/material-kinds.d.ts +1 -1
- package/dist/material-kinds.d.ts.map +1 -1
- package/dist/material-kinds.js +1 -0
- package/dist/material-library.d.ts +15 -0
- package/dist/material-library.d.ts.map +1 -1
- package/dist/material-library.js +458 -59
- package/dist/node-slots/door.d.ts +3 -4
- package/dist/node-slots/door.d.ts.map +1 -1
- package/dist/node-slots/door.js +4 -3
- package/dist/node-slots/wall.d.ts.map +1 -1
- package/dist/node-slots/wall.js +21 -3
- package/dist/node-slots/window.d.ts +2 -2
- package/dist/node-slots/window.d.ts.map +1 -1
- package/dist/node-slots/window.js +6 -1
- package/dist/procedural-items/design.d.ts +8 -0
- package/dist/procedural-items/design.d.ts.map +1 -1
- package/dist/procedural-items/design.js +169 -21
- package/dist/procedural-items/motion-controller.d.ts +2 -0
- package/dist/procedural-items/motion-controller.d.ts.map +1 -1
- package/dist/procedural-items/motion-controller.js +2 -1
- package/dist/registry/index.d.ts +2 -2
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/registry/index.js +1 -1
- package/dist/registry/mechanism.d.ts +4 -1
- package/dist/registry/mechanism.d.ts.map +1 -1
- package/dist/registry/mechanism.js +10 -0
- package/dist/registry/types.d.ts +65 -23
- package/dist/registry/types.d.ts.map +1 -1
- package/dist/runtime/__fixtures__/live-scene.d.ts +14 -0
- package/dist/runtime/__fixtures__/live-scene.d.ts.map +1 -0
- package/dist/runtime/__fixtures__/live-scene.js +64 -0
- package/dist/runtime/apply.d.ts +42 -0
- package/dist/runtime/apply.d.ts.map +1 -0
- package/dist/runtime/apply.js +274 -0
- package/dist/runtime/dependencies.d.ts +97 -0
- package/dist/runtime/dependencies.d.ts.map +1 -0
- package/dist/runtime/dependencies.js +42 -0
- package/dist/runtime/ids.d.ts +11 -0
- package/dist/runtime/ids.d.ts.map +1 -0
- package/dist/runtime/ids.js +80 -0
- package/dist/runtime/index.d.ts +14 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +11 -0
- package/dist/runtime/node-queries.d.ts +16 -0
- package/dist/runtime/node-queries.d.ts.map +1 -0
- package/dist/runtime/node-queries.js +30 -0
- package/dist/runtime/patch.d.ts +26 -0
- package/dist/runtime/patch.d.ts.map +1 -0
- package/dist/runtime/patch.js +165 -0
- package/dist/runtime/reader.d.ts +104 -0
- package/dist/runtime/reader.d.ts.map +1 -0
- package/dist/runtime/reader.js +455 -0
- package/dist/runtime/scene-runtime.d.ts +112 -0
- package/dist/runtime/scene-runtime.d.ts.map +1 -0
- package/dist/runtime/scene-runtime.js +302 -0
- package/dist/schema/__fixtures__/node-fixtures.d.ts.map +1 -1
- package/dist/schema/__fixtures__/node-fixtures.js +1 -0
- package/dist/schema/assembly.d.ts +3 -0
- package/dist/schema/assembly.d.ts.map +1 -1
- package/dist/schema/assembly.js +13 -0
- package/dist/schema/asset-url.d.ts +37 -2
- package/dist/schema/asset-url.d.ts.map +1 -1
- package/dist/schema/asset-url.js +80 -11
- package/dist/schema/base.d.ts +8 -0
- package/dist/schema/base.d.ts.map +1 -1
- package/dist/schema/base.js +19 -1
- package/dist/schema/build-up.d.ts +247 -0
- package/dist/schema/build-up.d.ts.map +1 -0
- package/dist/schema/build-up.js +83 -0
- package/dist/schema/geometry-source.d.ts +80 -0
- package/dist/schema/geometry-source.d.ts.map +1 -1
- package/dist/schema/geometry-source.js +38 -0
- package/dist/schema/index.d.ts +12 -7
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js +12 -6
- package/dist/schema/material.d.ts +5 -0
- package/dist/schema/material.d.ts.map +1 -1
- package/dist/schema/material.js +6 -0
- package/dist/schema/nodes/beam.d.ts +264 -0
- package/dist/schema/nodes/beam.d.ts.map +1 -0
- package/dist/schema/nodes/beam.js +139 -0
- package/dist/schema/nodes/box-vent.d.ts +5 -0
- package/dist/schema/nodes/box-vent.d.ts.map +1 -1
- package/dist/schema/nodes/cabinet.d.ts +10 -0
- package/dist/schema/nodes/cabinet.d.ts.map +1 -1
- package/dist/schema/nodes/ceiling.d.ts +48 -0
- package/dist/schema/nodes/ceiling.d.ts.map +1 -1
- package/dist/schema/nodes/ceiling.js +5 -0
- package/dist/schema/nodes/chimney.d.ts +10 -0
- package/dist/schema/nodes/chimney.d.ts.map +1 -1
- package/dist/schema/nodes/column.d.ts +42 -0
- package/dist/schema/nodes/column.d.ts.map +1 -1
- package/dist/schema/nodes/column.js +11 -1
- package/dist/schema/nodes/cupola.d.ts +5 -0
- package/dist/schema/nodes/cupola.d.ts.map +1 -1
- package/dist/schema/nodes/door.d.ts +54 -3
- package/dist/schema/nodes/door.d.ts.map +1 -1
- package/dist/schema/nodes/door.js +41 -7
- package/dist/schema/nodes/dormer.d.ts +20 -0
- package/dist/schema/nodes/dormer.d.ts.map +1 -1
- package/dist/schema/nodes/downspout.d.ts +5 -0
- package/dist/schema/nodes/downspout.d.ts.map +1 -1
- package/dist/schema/nodes/elevator.d.ts +5 -0
- package/dist/schema/nodes/elevator.d.ts.map +1 -1
- package/dist/schema/nodes/eyebrow-vent.d.ts +5 -0
- package/dist/schema/nodes/eyebrow-vent.d.ts.map +1 -1
- package/dist/schema/nodes/fence.d.ts +5 -0
- package/dist/schema/nodes/fence.d.ts.map +1 -1
- package/dist/schema/nodes/guide.d.ts +14 -0
- package/dist/schema/nodes/guide.d.ts.map +1 -1
- package/dist/schema/nodes/guide.js +2 -0
- package/dist/schema/nodes/gutter.d.ts +5 -0
- package/dist/schema/nodes/gutter.d.ts.map +1 -1
- package/dist/schema/nodes/item.d.ts +71 -0
- package/dist/schema/nodes/item.d.ts.map +1 -1
- package/dist/schema/nodes/item.js +5 -1
- package/dist/schema/nodes/level.d.ts +1 -1
- package/dist/schema/nodes/level.d.ts.map +1 -1
- package/dist/schema/nodes/opening-types.d.ts +13 -0
- package/dist/schema/nodes/opening-types.d.ts.map +1 -1
- package/dist/schema/nodes/opening-types.js +8 -1
- package/dist/schema/nodes/railing-wall.d.ts +112 -0
- package/dist/schema/nodes/railing-wall.d.ts.map +1 -0
- package/dist/schema/nodes/railing-wall.js +160 -0
- package/dist/schema/nodes/ridge-vent.d.ts +5 -0
- package/dist/schema/nodes/ridge-vent.d.ts.map +1 -1
- package/dist/schema/nodes/roof-segment.d.ts +224 -1
- package/dist/schema/nodes/roof-segment.d.ts.map +1 -1
- package/dist/schema/nodes/roof-segment.js +57 -10
- package/dist/schema/nodes/roof-types.d.ts +11 -0
- package/dist/schema/nodes/roof-types.d.ts.map +1 -1
- package/dist/schema/nodes/roof-types.js +6 -0
- package/dist/schema/nodes/roof.d.ts +60 -0
- package/dist/schema/nodes/roof.d.ts.map +1 -1
- package/dist/schema/nodes/roof.js +4 -0
- package/dist/schema/nodes/shelf.d.ts +5 -0
- package/dist/schema/nodes/shelf.d.ts.map +1 -1
- package/dist/schema/nodes/site.d.ts +80 -0
- package/dist/schema/nodes/site.d.ts.map +1 -1
- package/dist/schema/nodes/site.js +7 -0
- package/dist/schema/nodes/skylight.d.ts +10 -0
- package/dist/schema/nodes/skylight.d.ts.map +1 -1
- package/dist/schema/nodes/slab.d.ts +137 -0
- package/dist/schema/nodes/slab.d.ts.map +1 -1
- package/dist/schema/nodes/slab.js +3 -0
- package/dist/schema/nodes/solar-panel.d.ts +10 -0
- package/dist/schema/nodes/solar-panel.d.ts.map +1 -1
- package/dist/schema/nodes/stair-segment.d.ts +5 -0
- package/dist/schema/nodes/stair-segment.d.ts.map +1 -1
- package/dist/schema/nodes/stair-structure.d.ts +69 -0
- package/dist/schema/nodes/stair-structure.d.ts.map +1 -0
- package/dist/schema/nodes/stair-structure.js +39 -0
- package/dist/schema/nodes/stair.d.ts +46 -0
- package/dist/schema/nodes/stair.d.ts.map +1 -1
- package/dist/schema/nodes/stair.js +3 -0
- package/dist/schema/nodes/turbine-vent.d.ts +5 -0
- package/dist/schema/nodes/turbine-vent.d.ts.map +1 -1
- package/dist/schema/nodes/wall.d.ts +135 -2
- package/dist/schema/nodes/wall.d.ts.map +1 -1
- package/dist/schema/nodes/wall.js +42 -6
- package/dist/schema/nodes/window.d.ts +66 -1
- package/dist/schema/nodes/window.d.ts.map +1 -1
- package/dist/schema/nodes/window.js +50 -5
- package/dist/schema/nodes/zone.d.ts +68 -0
- package/dist/schema/nodes/zone.d.ts.map +1 -1
- package/dist/schema/nodes/zone.js +32 -0
- package/dist/schema/scene-material.d.ts +5 -0
- package/dist/schema/scene-material.d.ts.map +1 -1
- package/dist/schema/types.d.ts +1079 -4
- package/dist/schema/types.d.ts.map +1 -1
- package/dist/schema/types.js +2 -0
- package/dist/schema/wall-type.d.ts +95 -0
- package/dist/schema/wall-type.d.ts.map +1 -0
- package/dist/schema/wall-type.js +32 -0
- package/dist/services/roof-bearing.d.ts.map +1 -1
- package/dist/services/roof-bearing.js +6 -3
- package/dist/services/roof-level.d.ts.map +1 -1
- package/dist/services/roof-level.js +4 -3
- package/dist/services/roof-move.d.ts.map +1 -1
- package/dist/services/roof-move.js +13 -7
- package/dist/services/storey.d.ts.map +1 -1
- package/dist/services/storey.js +13 -8
- package/dist/spatial/usage-field/beds.d.ts +51 -0
- package/dist/spatial/usage-field/beds.d.ts.map +1 -0
- package/dist/spatial/usage-field/beds.js +346 -0
- package/dist/spatial/usage-field/blocked.d.ts +28 -0
- package/dist/spatial/usage-field/blocked.d.ts.map +1 -0
- package/dist/spatial/usage-field/blocked.js +185 -0
- package/dist/spatial/usage-field/boxes.d.ts +17 -0
- package/dist/spatial/usage-field/boxes.d.ts.map +1 -0
- package/dist/spatial/usage-field/boxes.js +82 -0
- package/dist/spatial/usage-field/catalogue-shapes.d.ts +3 -0
- package/dist/spatial/usage-field/catalogue-shapes.d.ts.map +1 -0
- package/dist/spatial/usage-field/catalogue-shapes.js +257 -0
- package/dist/spatial/usage-field/catalogue.d.ts +6 -0
- package/dist/spatial/usage-field/catalogue.d.ts.map +1 -0
- package/dist/spatial/usage-field/catalogue.js +11 -0
- package/dist/spatial/usage-field/clash.d.ts +40 -0
- package/dist/spatial/usage-field/clash.d.ts.map +1 -0
- package/dist/spatial/usage-field/clash.js +187 -0
- package/dist/spatial/usage-field/door-stairs.d.ts +18 -0
- package/dist/spatial/usage-field/door-stairs.d.ts.map +1 -0
- package/dist/spatial/usage-field/door-stairs.js +129 -0
- package/dist/spatial/usage-field/entry-way.d.ts +14 -0
- package/dist/spatial/usage-field/entry-way.d.ts.map +1 -0
- package/dist/spatial/usage-field/entry-way.js +219 -0
- package/dist/spatial/usage-field/fences.d.ts +18 -0
- package/dist/spatial/usage-field/fences.d.ts.map +1 -0
- package/dist/spatial/usage-field/fences.js +253 -0
- package/dist/spatial/usage-field/field.d.ts +44 -0
- package/dist/spatial/usage-field/field.d.ts.map +1 -0
- package/dist/spatial/usage-field/field.js +145 -0
- package/dist/spatial/usage-field/findings.d.ts +76 -0
- package/dist/spatial/usage-field/findings.d.ts.map +1 -0
- package/dist/spatial/usage-field/findings.js +252 -0
- package/dist/spatial/usage-field/fixtures.d.ts +18 -0
- package/dist/spatial/usage-field/fixtures.d.ts.map +1 -0
- package/dist/spatial/usage-field/fixtures.js +160 -0
- package/dist/spatial/usage-field/flag.d.ts +10 -0
- package/dist/spatial/usage-field/flag.d.ts.map +1 -0
- package/dist/spatial/usage-field/flag.js +12 -0
- package/dist/spatial/usage-field/floors.d.ts +13 -0
- package/dist/spatial/usage-field/floors.d.ts.map +1 -0
- package/dist/spatial/usage-field/floors.js +36 -0
- package/dist/spatial/usage-field/index.d.ts +7 -0
- package/dist/spatial/usage-field/index.d.ts.map +1 -0
- package/dist/spatial/usage-field/index.js +5 -0
- package/dist/spatial/usage-field/items.d.ts +38 -0
- package/dist/spatial/usage-field/items.d.ts.map +1 -0
- package/dist/spatial/usage-field/items.js +261 -0
- package/dist/spatial/usage-field/labels.d.ts +8 -0
- package/dist/spatial/usage-field/labels.d.ts.map +1 -0
- package/dist/spatial/usage-field/labels.js +14 -0
- package/dist/spatial/usage-field/level-field.d.ts +47 -0
- package/dist/spatial/usage-field/level-field.d.ts.map +1 -0
- package/dist/spatial/usage-field/level-field.js +96 -0
- package/dist/spatial/usage-field/measure.d.ts +324 -0
- package/dist/spatial/usage-field/measure.d.ts.map +1 -0
- package/dist/spatial/usage-field/measure.js +458 -0
- package/dist/spatial/usage-field/obstacles.d.ts +63 -0
- package/dist/spatial/usage-field/obstacles.d.ts.map +1 -0
- package/dist/spatial/usage-field/obstacles.js +215 -0
- package/dist/spatial/usage-field/openings.d.ts +12 -0
- package/dist/spatial/usage-field/openings.d.ts.map +1 -0
- package/dist/spatial/usage-field/openings.js +162 -0
- package/dist/spatial/usage-field/path.d.ts +48 -0
- package/dist/spatial/usage-field/path.d.ts.map +1 -0
- package/dist/spatial/usage-field/path.js +354 -0
- package/dist/spatial/usage-field/pieces.d.ts +27 -0
- package/dist/spatial/usage-field/pieces.d.ts.map +1 -0
- package/dist/spatial/usage-field/pieces.js +89 -0
- package/dist/spatial/usage-field/shapes.d.ts +18 -0
- package/dist/spatial/usage-field/shapes.d.ts.map +1 -0
- package/dist/spatial/usage-field/shapes.js +92 -0
- package/dist/spatial/usage-field/stairs.d.ts +23 -0
- package/dist/spatial/usage-field/stairs.d.ts.map +1 -0
- package/dist/spatial/usage-field/stairs.js +163 -0
- package/dist/spatial/usage-field/support.d.ts +24 -0
- package/dist/spatial/usage-field/support.d.ts.map +1 -0
- package/dist/spatial/usage-field/support.js +46 -0
- package/dist/spatial/usage-field/swings.d.ts +846 -0
- package/dist/spatial/usage-field/swings.d.ts.map +1 -0
- package/dist/spatial/usage-field/swings.js +427 -0
- package/dist/spatial/usage-field/types.d.ts +65 -0
- package/dist/spatial/usage-field/types.d.ts.map +1 -0
- package/dist/spatial/usage-field/types.js +1 -0
- package/dist/spatial/usage-field/walls.d.ts +1057 -0
- package/dist/spatial/usage-field/walls.d.ts.map +1 -0
- package/dist/spatial/usage-field/walls.js +166 -0
- package/dist/spatial/usage-field/way-in.d.ts +26 -0
- package/dist/spatial/usage-field/way-in.d.ts.map +1 -0
- package/dist/spatial/usage-field/way-in.js +113 -0
- package/dist/store/actions/node-actions.d.ts +2124 -1322
- package/dist/store/actions/node-actions.d.ts.map +1 -1
- package/dist/store/actions/node-actions.js +42 -16
- package/dist/store/derived-node-guard.d.ts +10 -2
- package/dist/store/derived-node-guard.d.ts.map +1 -1
- package/dist/store/derived-node-guard.js +31 -11
- package/dist/store/document-settling.d.ts +9 -0
- package/dist/store/document-settling.d.ts.map +1 -0
- package/dist/store/document-settling.js +22 -0
- package/dist/store/history-control.d.ts +19 -10
- package/dist/store/history-control.d.ts.map +1 -1
- package/dist/store/history-control.js +176 -127
- package/dist/store/history-drafts.d.ts.map +1 -1
- package/dist/store/history-drafts.js +21 -17
- package/dist/store/live-previews.d.ts +9 -0
- package/dist/store/live-previews.d.ts.map +1 -0
- package/dist/store/live-previews.js +19 -0
- package/dist/store/scene-annotations.d.ts +6751 -5151
- package/dist/store/scene-annotations.d.ts.map +1 -1
- package/dist/store/scene-environment.d.ts +33 -0
- package/dist/store/scene-environment.d.ts.map +1 -0
- package/dist/store/scene-environment.js +54 -0
- package/dist/store/scene-hydration.d.ts.map +1 -1
- package/dist/store/scene-hydration.js +41 -30
- package/dist/store/use-interactive.d.ts +9 -3
- package/dist/store/use-interactive.d.ts.map +1 -1
- package/dist/store/use-interactive.js +43 -11
- package/dist/store/use-live-node-overrides.d.ts.map +1 -1
- package/dist/store/use-live-node-overrides.js +3 -0
- package/dist/store/use-scene.d.ts +25 -0
- package/dist/store/use-scene.d.ts.map +1 -1
- package/dist/store/use-scene.js +408 -336
- package/dist/systems/document-reconcile.d.ts +40 -0
- package/dist/systems/document-reconcile.d.ts.map +1 -0
- package/dist/systems/document-reconcile.js +159 -0
- package/dist/systems/elevator/elevator-opening-system.d.ts.map +1 -1
- package/dist/systems/elevator/elevator-opening-system.js +9 -24
- package/dist/systems/fence/guard-layout.d.ts +69 -0
- package/dist/systems/fence/guard-layout.d.ts.map +1 -0
- package/dist/systems/fence/guard-layout.js +194 -0
- package/dist/systems/owned-floor-openings.d.ts +13 -1
- package/dist/systems/owned-floor-openings.d.ts.map +1 -1
- package/dist/systems/owned-floor-openings.js +58 -2
- package/dist/systems/reconcile-owned-floor-openings.d.ts +3 -1
- package/dist/systems/reconcile-owned-floor-openings.d.ts.map +1 -1
- package/dist/systems/reconcile-owned-floor-openings.js +4 -4
- package/dist/systems/roof/roof-elevation-system.d.ts.map +1 -1
- package/dist/systems/roof/roof-elevation-system.js +8 -26
- package/dist/systems/roof/roof-elevation.d.ts +16 -1
- package/dist/systems/roof/roof-elevation.d.ts.map +1 -1
- package/dist/systems/roof/roof-elevation.js +85 -4
- package/dist/systems/roof/roof-footprint.d.ts +42 -1
- package/dist/systems/roof/roof-footprint.d.ts.map +1 -1
- package/dist/systems/roof/roof-footprint.js +160 -4
- package/dist/systems/slab/__fixtures__/floor-step.d.ts +3163 -1934
- package/dist/systems/slab/__fixtures__/floor-step.d.ts.map +1 -1
- package/dist/systems/slab/__fixtures__/raised-room.d.ts +2495 -1249
- package/dist/systems/slab/__fixtures__/raised-room.d.ts.map +1 -1
- package/dist/systems/stair/stair-clearance.d.ts +7 -0
- package/dist/systems/stair/stair-clearance.d.ts.map +1 -1
- package/dist/systems/stair/stair-clearance.js +31 -11
- package/dist/systems/stair/stair-construction.d.ts +8 -3
- package/dist/systems/stair/stair-construction.d.ts.map +1 -1
- package/dist/systems/stair/stair-construction.js +55 -4
- package/dist/systems/stair/stair-opening-preview.d.ts +889 -89
- package/dist/systems/stair/stair-opening-preview.d.ts.map +1 -1
- package/dist/systems/stair/stair-opening-system.d.ts.map +1 -1
- package/dist/systems/stair/stair-opening-system.js +18 -34
- package/dist/systems/stair/stair-presets.d.ts +36 -0
- package/dist/systems/stair/stair-presets.d.ts.map +1 -1
- package/dist/systems/stair/stair-rise-query.d.ts.map +1 -1
- package/dist/systems/stair/stair-rise-query.js +3 -2
- package/dist/systems/stair/stair-rise.d.ts.map +1 -1
- package/dist/systems/stair/stair-rise.js +6 -0
- package/dist/systems/stair/stair-sizing.d.ts +42 -11
- package/dist/systems/stair/stair-sizing.d.ts.map +1 -1
- package/dist/systems/stair/stair-sizing.js +10 -1
- package/dist/systems/stair/stair-structure.d.ts +277 -0
- package/dist/systems/stair/stair-structure.d.ts.map +1 -0
- package/dist/systems/stair/stair-structure.js +496 -0
- package/dist/systems/wall/wall-assembly.d.ts +84 -6
- package/dist/systems/wall/wall-assembly.d.ts.map +1 -1
- package/dist/systems/wall/wall-assembly.js +204 -5
- package/dist/systems/wall/wall-finish.d.ts +38 -2
- package/dist/systems/wall/wall-finish.d.ts.map +1 -1
- package/dist/systems/wall/wall-finish.js +70 -2
- package/dist/systems/wall/wall-footprint.js +2 -2
- package/dist/systems/wall/wall-merge.d.ts.map +1 -1
- package/dist/systems/wall/wall-merge.js +28 -7
- package/dist/systems/wall/wall-mitering.d.ts +1 -0
- package/dist/systems/wall/wall-mitering.d.ts.map +1 -1
- package/dist/systems/wall/wall-mitering.js +152 -52
- package/dist/systems/wall/wall-move.d.ts +23 -6
- package/dist/systems/wall/wall-move.d.ts.map +1 -1
- package/dist/systems/wall/wall-move.js +65 -0
- package/dist/systems/wall/wall-top.d.ts +2 -2
- package/dist/systems/wall/wall-top.d.ts.map +1 -1
- package/dist/systems/wall/wall-top.js +6 -1
- package/dist/systems/wall/wall-topology.d.ts +32 -1
- package/dist/systems/wall/wall-topology.d.ts.map +1 -1
- package/dist/systems/wall/wall-topology.js +118 -10
- package/dist/systems/wall/wall-trim-profiles.d.ts +12 -0
- package/dist/systems/wall/wall-trim-profiles.d.ts.map +1 -0
- package/dist/systems/wall/wall-trim-profiles.js +191 -0
- package/dist/utils/ensure-scene-openings.d.ts +6523 -4923
- package/dist/utils/ensure-scene-openings.d.ts.map +1 -1
- package/dist/utils/floor-piece-adoption.d.ts +5 -0
- package/dist/utils/floor-piece-adoption.d.ts.map +1 -1
- package/dist/utils/floor-plate-migration.d.ts +1930 -1130
- package/dist/utils/floor-plate-migration.d.ts.map +1 -1
- package/dist/utils/owned-floor-opening-migration.d.ts +888 -88
- package/dist/utils/owned-floor-opening-migration.d.ts.map +1 -1
- package/dist/utils/reconcile-structure-on-load.d.ts +1930 -1130
- package/dist/utils/reconcile-structure-on-load.d.ts.map +1 -1
- package/dist/utils/structure-id.d.ts.map +1 -1
- package/dist/utils/structure-id.js +4 -0
- package/package.json +22 -5
- package/dist/lib/generic-foundation.d.ts +0 -40
- package/dist/lib/generic-foundation.d.ts.map +0 -1
- package/dist/lib/generic-foundation.js +0 -200
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
import { matchesNodePredicate, queryIds, } from './dependencies.js';
|
|
2
|
+
/** Accumulates a computation's reads. */
|
|
3
|
+
export class DependencyRecorder {
|
|
4
|
+
nodes = new Map();
|
|
5
|
+
collections = new Map();
|
|
6
|
+
materials = new Set();
|
|
7
|
+
queries = new Map();
|
|
8
|
+
orders = new Map();
|
|
9
|
+
declared = new Map();
|
|
10
|
+
plugins = false;
|
|
11
|
+
node(id, field) {
|
|
12
|
+
const fields = this.nodes.get(id) ?? new Set();
|
|
13
|
+
this.nodes.set(id, fields);
|
|
14
|
+
if (field !== undefined)
|
|
15
|
+
fields.add(field);
|
|
16
|
+
}
|
|
17
|
+
collection(id, field) {
|
|
18
|
+
const fields = this.collections.get(id) ?? new Set();
|
|
19
|
+
this.collections.set(id, fields);
|
|
20
|
+
if (field !== undefined)
|
|
21
|
+
fields.add(field);
|
|
22
|
+
}
|
|
23
|
+
material(id) {
|
|
24
|
+
this.materials.add(id);
|
|
25
|
+
}
|
|
26
|
+
installedPlugins() {
|
|
27
|
+
this.plugins = true;
|
|
28
|
+
}
|
|
29
|
+
query(dependency) {
|
|
30
|
+
this.queries.set(JSON.stringify([dependency.entity, dependency.predicate]), dependency);
|
|
31
|
+
}
|
|
32
|
+
order(parentId, childIds) {
|
|
33
|
+
if (!this.orders.has(parentId))
|
|
34
|
+
this.orders.set(parentId, [...childIds]);
|
|
35
|
+
}
|
|
36
|
+
/** A dependency the host declares: a file or artifact it read, or a conservative scope. */
|
|
37
|
+
declare(dependency) {
|
|
38
|
+
this.declared.set(JSON.stringify(dependency), dependency);
|
|
39
|
+
}
|
|
40
|
+
dependencies() {
|
|
41
|
+
return [
|
|
42
|
+
...[...this.nodes].map(([id, fields]) => ({
|
|
43
|
+
kind: 'node',
|
|
44
|
+
id,
|
|
45
|
+
fields: [...fields].sort(),
|
|
46
|
+
})),
|
|
47
|
+
...this.queries.values(),
|
|
48
|
+
...[...this.orders].map(([parentId, childIds]) => ({
|
|
49
|
+
kind: 'order',
|
|
50
|
+
parentId,
|
|
51
|
+
childIds,
|
|
52
|
+
})),
|
|
53
|
+
...[...this.collections].map(([id, fields]) => ({
|
|
54
|
+
kind: 'collection',
|
|
55
|
+
id,
|
|
56
|
+
fields: [...fields].sort(),
|
|
57
|
+
})),
|
|
58
|
+
...[...this.materials].map((id) => ({ kind: 'material', id })),
|
|
59
|
+
...(this.plugins ? [{ kind: 'plugins' }] : []),
|
|
60
|
+
...this.declared.values(),
|
|
61
|
+
];
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
const rawOfView = new WeakMap();
|
|
65
|
+
const queriesOfRecord = new WeakMap();
|
|
66
|
+
/**
|
|
67
|
+
* The tracked selections behind a record view, when it is one (a detached scene's): helpers that
|
|
68
|
+
* receive `SceneNodes` query through them, so they record what they select rather than everything.
|
|
69
|
+
* They read the version the view is of, not the scene's current one.
|
|
70
|
+
*/
|
|
71
|
+
export function readerOf(record) {
|
|
72
|
+
return queriesOfRecord.get(record);
|
|
73
|
+
}
|
|
74
|
+
/** Drafts over a tracked view: a draft of one is a draft over it, never a copy. */
|
|
75
|
+
const drafts = new WeakSet();
|
|
76
|
+
/**
|
|
77
|
+
* A record to write a draft into, over `record`: a plain record is copied; a tracked view's (or a
|
|
78
|
+
* draft's) draft reads through to it entry by entry, so a draft that is only written and read by id
|
|
79
|
+
* records those ids, not a read of every entry (enumerating the draft still reads the whole view).
|
|
80
|
+
*/
|
|
81
|
+
export function draftOf(record) {
|
|
82
|
+
if (!(rawOfView.has(record) || drafts.has(record)))
|
|
83
|
+
return { ...record };
|
|
84
|
+
const written = new Map();
|
|
85
|
+
const removed = new Set();
|
|
86
|
+
const has = (key) => written.has(key) || (!removed.has(key) && key in record);
|
|
87
|
+
const read = (key) => written.has(key) ? written.get(key) : removed.has(key) ? undefined : record[key];
|
|
88
|
+
const draft = new Proxy({}, {
|
|
89
|
+
get: (_, key) => (typeof key === 'string' ? read(key) : undefined),
|
|
90
|
+
has: (_, key) => typeof key === 'string' && has(key),
|
|
91
|
+
set(_, key, value) {
|
|
92
|
+
if (typeof key !== 'string')
|
|
93
|
+
return false;
|
|
94
|
+
written.set(key, value);
|
|
95
|
+
removed.delete(key);
|
|
96
|
+
return true;
|
|
97
|
+
},
|
|
98
|
+
deleteProperty(_, key) {
|
|
99
|
+
if (typeof key !== 'string')
|
|
100
|
+
return false;
|
|
101
|
+
written.delete(key);
|
|
102
|
+
removed.add(key);
|
|
103
|
+
return true;
|
|
104
|
+
},
|
|
105
|
+
ownKeys: () => [
|
|
106
|
+
...new Set([...Object.keys(record).filter((key) => !removed.has(key)), ...written.keys()]),
|
|
107
|
+
],
|
|
108
|
+
getOwnPropertyDescriptor: (_, key) => typeof key === 'string' && has(key)
|
|
109
|
+
? { value: read(key), writable: true, enumerable: true, configurable: true }
|
|
110
|
+
: undefined,
|
|
111
|
+
});
|
|
112
|
+
drafts.add(draft);
|
|
113
|
+
const base = readerOf(record);
|
|
114
|
+
if (base)
|
|
115
|
+
queriesOfRecord.set(draft, {
|
|
116
|
+
// What a selection over the record beneath finds, with the draft's writes over it.
|
|
117
|
+
query: ((selection) => {
|
|
118
|
+
if (selection.entity !== 'node')
|
|
119
|
+
return base.query(selection);
|
|
120
|
+
const where = selection.where ?? null;
|
|
121
|
+
const matches = (node) => matchesNodePredicate(node, where);
|
|
122
|
+
const found = base.query({ entity: 'node', where: selection.where });
|
|
123
|
+
const idOf = (node) => node.id;
|
|
124
|
+
const listed = new Set(found.map(idOf));
|
|
125
|
+
const added = [];
|
|
126
|
+
for (const [id, node] of written) {
|
|
127
|
+
if (listed.has(id) || !matches(node))
|
|
128
|
+
continue;
|
|
129
|
+
// An entry the draft changed into the selection: only the whole draft knows its place.
|
|
130
|
+
if (id in record)
|
|
131
|
+
return Object.values(draft).filter(matches);
|
|
132
|
+
added.push(node);
|
|
133
|
+
}
|
|
134
|
+
const kept = found.flatMap((node) => {
|
|
135
|
+
const id = idOf(node);
|
|
136
|
+
if (removed.has(id))
|
|
137
|
+
return [];
|
|
138
|
+
if (!written.has(id))
|
|
139
|
+
return [node];
|
|
140
|
+
const next = written.get(id);
|
|
141
|
+
return matches(next) ? [next] : [];
|
|
142
|
+
});
|
|
143
|
+
return [...kept, ...added];
|
|
144
|
+
}),
|
|
145
|
+
orderedChildren: (id) => written.has(id)
|
|
146
|
+
? [...childIdsOf(written.get(id))]
|
|
147
|
+
: removed.has(id)
|
|
148
|
+
? []
|
|
149
|
+
: base.orderedChildren(id),
|
|
150
|
+
});
|
|
151
|
+
return draft;
|
|
152
|
+
}
|
|
153
|
+
/** The plain value behind a tracked view (copying it records nothing); other values as they are. */
|
|
154
|
+
export function untracked(value) {
|
|
155
|
+
return value && typeof value === 'object' ? (rawOfView.get(value) ?? value) : value;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* `value` with every tracked view inside it replaced by a plain copy, recursively: what a
|
|
159
|
+
* computation hands out of its scene (a tool's result) so it outlives the scene. Copying a view
|
|
160
|
+
* reads all of it, and is recorded so.
|
|
161
|
+
*/
|
|
162
|
+
export function materialize(value) {
|
|
163
|
+
if (!value || typeof value !== 'object')
|
|
164
|
+
return value;
|
|
165
|
+
if (Array.isArray(value)) {
|
|
166
|
+
const items = value.map((item) => materialize(item));
|
|
167
|
+
return (items.some((item, index) => item !== value[index]) ? items : value);
|
|
168
|
+
}
|
|
169
|
+
const isView = rawOfView.has(value);
|
|
170
|
+
if (!isView && Object.getPrototypeOf(value) !== Object.prototype)
|
|
171
|
+
return value;
|
|
172
|
+
let copy = isView ? {} : null;
|
|
173
|
+
for (const [key, item] of Object.entries(value)) {
|
|
174
|
+
const next = materialize(item);
|
|
175
|
+
if (copy)
|
|
176
|
+
copy[key] = next;
|
|
177
|
+
else if (next !== item) {
|
|
178
|
+
copy = { ...value };
|
|
179
|
+
copy[key] = next;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return (copy ?? value);
|
|
183
|
+
}
|
|
184
|
+
const readOnly = () => {
|
|
185
|
+
throw new TypeError('A scene read through a DocumentReader is read-only; write through the host.');
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* A read-only view of `raw` whose every own-field access calls `onRead(field)`. The proxy target
|
|
189
|
+
* is an empty shell, not `raw`, so frozen records stay viewable.
|
|
190
|
+
*/
|
|
191
|
+
function fieldView(raw, assertActive, onRead) {
|
|
192
|
+
const view = new Proxy(Object.create(null), {
|
|
193
|
+
get(_, key) {
|
|
194
|
+
assertActive();
|
|
195
|
+
if (typeof key === 'string')
|
|
196
|
+
onRead(key);
|
|
197
|
+
return Reflect.get(raw, key);
|
|
198
|
+
},
|
|
199
|
+
has(_, key) {
|
|
200
|
+
assertActive();
|
|
201
|
+
if (typeof key === 'string')
|
|
202
|
+
onRead(key);
|
|
203
|
+
return Reflect.has(raw, key);
|
|
204
|
+
},
|
|
205
|
+
ownKeys() {
|
|
206
|
+
assertActive();
|
|
207
|
+
const keys = Reflect.ownKeys(raw);
|
|
208
|
+
for (const key of keys)
|
|
209
|
+
if (typeof key === 'string')
|
|
210
|
+
onRead(key);
|
|
211
|
+
return keys;
|
|
212
|
+
},
|
|
213
|
+
getOwnPropertyDescriptor(_, key) {
|
|
214
|
+
assertActive();
|
|
215
|
+
if (typeof key === 'string')
|
|
216
|
+
onRead(key);
|
|
217
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(raw, key);
|
|
218
|
+
return (descriptor && {
|
|
219
|
+
value: descriptor.value,
|
|
220
|
+
writable: true,
|
|
221
|
+
enumerable: true,
|
|
222
|
+
configurable: true,
|
|
223
|
+
});
|
|
224
|
+
},
|
|
225
|
+
getPrototypeOf: () => Object.prototype,
|
|
226
|
+
set: readOnly,
|
|
227
|
+
defineProperty: readOnly,
|
|
228
|
+
deleteProperty: readOnly,
|
|
229
|
+
});
|
|
230
|
+
rawOfView.set(view, raw);
|
|
231
|
+
return view;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* A read-only view of one version of a record of entities: a key read records the entity's
|
|
235
|
+
* presence and returns its tracked view; enumerating the record records `enumerate()`. A view
|
|
236
|
+
* belongs to one version, as the record does, so identity-keyed memos stay correct.
|
|
237
|
+
*/
|
|
238
|
+
function recordView(current, assertActive, entity, enumerate) {
|
|
239
|
+
return new Proxy(Object.create(null), {
|
|
240
|
+
get(_, key) {
|
|
241
|
+
assertActive();
|
|
242
|
+
if (typeof key !== 'string')
|
|
243
|
+
return Reflect.get(current, key);
|
|
244
|
+
if (Object.hasOwn(current, key))
|
|
245
|
+
return entity(key, current[key]);
|
|
246
|
+
entity(key, undefined);
|
|
247
|
+
return Reflect.get(current, key);
|
|
248
|
+
},
|
|
249
|
+
has(_, key) {
|
|
250
|
+
assertActive();
|
|
251
|
+
if (typeof key === 'string')
|
|
252
|
+
entity(key, Object.hasOwn(current, key) ? current[key] : undefined);
|
|
253
|
+
return Reflect.has(current, key);
|
|
254
|
+
},
|
|
255
|
+
ownKeys() {
|
|
256
|
+
assertActive();
|
|
257
|
+
enumerate();
|
|
258
|
+
return Reflect.ownKeys(current);
|
|
259
|
+
},
|
|
260
|
+
getOwnPropertyDescriptor(_, key) {
|
|
261
|
+
assertActive();
|
|
262
|
+
if (typeof key !== 'string')
|
|
263
|
+
return Reflect.getOwnPropertyDescriptor(current, key);
|
|
264
|
+
if (!Object.hasOwn(current, key)) {
|
|
265
|
+
entity(key, undefined);
|
|
266
|
+
return undefined;
|
|
267
|
+
}
|
|
268
|
+
return {
|
|
269
|
+
value: entity(key, current[key]),
|
|
270
|
+
writable: true,
|
|
271
|
+
enumerable: true,
|
|
272
|
+
configurable: true,
|
|
273
|
+
};
|
|
274
|
+
},
|
|
275
|
+
getPrototypeOf: () => Object.prototype,
|
|
276
|
+
set: readOnly,
|
|
277
|
+
defineProperty: readOnly,
|
|
278
|
+
deleteProperty: readOnly,
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* A reader over `source`. With a recorder, every read is recorded; without one (the editor's own
|
|
283
|
+
* runtime) it reads the raw document.
|
|
284
|
+
*/
|
|
285
|
+
export function createDocumentReader(source, recorder) {
|
|
286
|
+
if (!recorder)
|
|
287
|
+
return createPlainReader(source);
|
|
288
|
+
return createTrackedReader(source, recorder);
|
|
289
|
+
}
|
|
290
|
+
function createTrackedReader(source, recorder) {
|
|
291
|
+
const { assertActive } = source;
|
|
292
|
+
const nodeViews = new WeakMap();
|
|
293
|
+
const collectionViews = new WeakMap();
|
|
294
|
+
const trackNode = (id, raw) => {
|
|
295
|
+
recorder.node(id);
|
|
296
|
+
if (!raw)
|
|
297
|
+
return undefined;
|
|
298
|
+
let view = nodeViews.get(raw);
|
|
299
|
+
if (!view) {
|
|
300
|
+
view = fieldView(raw, assertActive, (field) => recorder.node(raw.id, field));
|
|
301
|
+
nodeViews.set(raw, view);
|
|
302
|
+
}
|
|
303
|
+
return view;
|
|
304
|
+
};
|
|
305
|
+
const trackCollection = (id, raw) => {
|
|
306
|
+
recorder.collection(id);
|
|
307
|
+
if (!raw)
|
|
308
|
+
return undefined;
|
|
309
|
+
let view = collectionViews.get(raw);
|
|
310
|
+
if (!view) {
|
|
311
|
+
view = fieldView(raw, assertActive, (field) => recorder.collection(raw.id, field));
|
|
312
|
+
collectionViews.set(raw, view);
|
|
313
|
+
}
|
|
314
|
+
return view;
|
|
315
|
+
};
|
|
316
|
+
const document = (version = {}) => ({
|
|
317
|
+
nodes: version.nodes ?? source.nodes(),
|
|
318
|
+
collections: version.collections ?? source.collections(),
|
|
319
|
+
materials: source.materials(),
|
|
320
|
+
rootNodeIds: source.rootNodeIds(),
|
|
321
|
+
});
|
|
322
|
+
const recordQuery = (query, predicate, version) => {
|
|
323
|
+
const resultIds = queryIds(document(version), {
|
|
324
|
+
entity: query,
|
|
325
|
+
predicate: (predicate ?? null),
|
|
326
|
+
});
|
|
327
|
+
recorder.query({ kind: 'query', entity: query, predicate, resultIds });
|
|
328
|
+
return resultIds;
|
|
329
|
+
};
|
|
330
|
+
// One view per version of each record, created as the reader meets it.
|
|
331
|
+
const recordViews = new WeakMap();
|
|
332
|
+
const viewOf = (raw, entity, version, kind) => {
|
|
333
|
+
let view = recordViews.get(raw);
|
|
334
|
+
if (!view) {
|
|
335
|
+
view = recordView(raw, assertActive, entity, () => recordQuery(kind, null, version));
|
|
336
|
+
recordViews.set(raw, view);
|
|
337
|
+
queriesOfRecord.set(view, {
|
|
338
|
+
query: ((selection) => queryIn(selection, version)),
|
|
339
|
+
orderedChildren: (id) => orderedChildrenIn(id, version),
|
|
340
|
+
});
|
|
341
|
+
rawOfView.set(view, raw);
|
|
342
|
+
}
|
|
343
|
+
return view;
|
|
344
|
+
};
|
|
345
|
+
function queryIn(query, version = {}) {
|
|
346
|
+
assertActive();
|
|
347
|
+
const current = document(version);
|
|
348
|
+
switch (query.entity) {
|
|
349
|
+
case 'node':
|
|
350
|
+
return recordQuery('node', query.where ?? null, version).map((id) => trackNode(id, current.nodes[id]));
|
|
351
|
+
case 'collection':
|
|
352
|
+
return recordQuery('collection', query.where ?? null, version).map((id) => trackCollection(id, current.collections[id]));
|
|
353
|
+
case 'material':
|
|
354
|
+
// Each material returned is read whole.
|
|
355
|
+
return recordQuery('material', null).map((id) => {
|
|
356
|
+
recorder.material(id);
|
|
357
|
+
return current.materials[id];
|
|
358
|
+
});
|
|
359
|
+
case 'root':
|
|
360
|
+
return recordQuery('root', null).flatMap((id) => trackNode(id, current.nodes[id]) ?? []);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
function orderedChildrenIn(id, version = {}) {
|
|
364
|
+
assertActive();
|
|
365
|
+
const node = document(version).nodes[id];
|
|
366
|
+
recorder.node(id);
|
|
367
|
+
const children = childIdsOf(node);
|
|
368
|
+
recorder.order(id, children);
|
|
369
|
+
return [...children];
|
|
370
|
+
}
|
|
371
|
+
const reader = {
|
|
372
|
+
get: (id) => {
|
|
373
|
+
assertActive();
|
|
374
|
+
return trackNode(id, source.nodes()[id]);
|
|
375
|
+
},
|
|
376
|
+
query: ((selection) => queryIn(selection)),
|
|
377
|
+
orderedChildren: (id) => orderedChildrenIn(id),
|
|
378
|
+
collection: (id) => {
|
|
379
|
+
assertActive();
|
|
380
|
+
return trackCollection(id, source.collections()[id]);
|
|
381
|
+
},
|
|
382
|
+
material: (id) => {
|
|
383
|
+
assertActive();
|
|
384
|
+
recorder.material(id);
|
|
385
|
+
return source.materials()[id];
|
|
386
|
+
},
|
|
387
|
+
installedPlugins: () => {
|
|
388
|
+
assertActive();
|
|
389
|
+
recorder.installedPlugins();
|
|
390
|
+
return [...source.installedPlugins()];
|
|
391
|
+
},
|
|
392
|
+
get nodes() {
|
|
393
|
+
assertActive();
|
|
394
|
+
const raw = source.nodes();
|
|
395
|
+
return viewOf(raw, trackNode, { nodes: raw }, 'node');
|
|
396
|
+
},
|
|
397
|
+
track: (raw) => {
|
|
398
|
+
assertActive();
|
|
399
|
+
const version = raw;
|
|
400
|
+
return viewOf(version, trackNode, { nodes: version }, 'node');
|
|
401
|
+
},
|
|
402
|
+
get collections() {
|
|
403
|
+
assertActive();
|
|
404
|
+
const raw = source.collections();
|
|
405
|
+
return viewOf(raw, trackCollection, { collections: raw }, 'collection');
|
|
406
|
+
},
|
|
407
|
+
};
|
|
408
|
+
return reader;
|
|
409
|
+
}
|
|
410
|
+
function childIdsOf(node) {
|
|
411
|
+
return node && 'children' in node && Array.isArray(node.children)
|
|
412
|
+
? node.children.filter((id) => typeof id === 'string')
|
|
413
|
+
: [];
|
|
414
|
+
}
|
|
415
|
+
function createPlainReader(source) {
|
|
416
|
+
const { assertActive } = source;
|
|
417
|
+
const document = () => ({
|
|
418
|
+
nodes: source.nodes(),
|
|
419
|
+
collections: source.collections(),
|
|
420
|
+
materials: source.materials(),
|
|
421
|
+
rootNodeIds: source.rootNodeIds(),
|
|
422
|
+
});
|
|
423
|
+
function query(query) {
|
|
424
|
+
assertActive();
|
|
425
|
+
const current = document();
|
|
426
|
+
const ids = queryIds(current, {
|
|
427
|
+
entity: query.entity,
|
|
428
|
+
predicate: ('where' in query ? (query.where ?? null) : null),
|
|
429
|
+
});
|
|
430
|
+
switch (query.entity) {
|
|
431
|
+
case 'node':
|
|
432
|
+
case 'root':
|
|
433
|
+
return ids.flatMap((id) => current.nodes[id] ?? []);
|
|
434
|
+
case 'collection':
|
|
435
|
+
return ids.map((id) => current.collections[id]);
|
|
436
|
+
case 'material':
|
|
437
|
+
return ids.map((id) => current.materials[id]);
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
return {
|
|
441
|
+
get: (id) => source.nodes()[id],
|
|
442
|
+
query: query,
|
|
443
|
+
orderedChildren: (id) => childIdsOf(source.nodes()[id]),
|
|
444
|
+
collection: (id) => source.collections()[id],
|
|
445
|
+
material: (id) => source.materials()[id],
|
|
446
|
+
installedPlugins: () => [...source.installedPlugins()],
|
|
447
|
+
get nodes() {
|
|
448
|
+
return source.nodes();
|
|
449
|
+
},
|
|
450
|
+
track: (raw) => raw,
|
|
451
|
+
get collections() {
|
|
452
|
+
return source.collections();
|
|
453
|
+
},
|
|
454
|
+
};
|
|
455
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { type AgentHostRuntime } from '../agent-operations/apply-outcome.js';
|
|
2
|
+
import type { AgentContext, AgentOperation, SceneChanges, SceneNodes } from '../agent-operations/types.js';
|
|
3
|
+
import { type IdAllocator } from '../schema/base.js';
|
|
4
|
+
import { type SceneSnapshot } from '../store/history-control.js';
|
|
5
|
+
import { type SceneStore } from '../store/use-scene.js';
|
|
6
|
+
import { type Dependency } from './dependencies.js';
|
|
7
|
+
import { diffSceneDocuments } from './patch.js';
|
|
8
|
+
import { type DocumentReader } from './reader.js';
|
|
9
|
+
/** The saved scene a computation starts from: a draft revision, or an authority sequence. */
|
|
10
|
+
export type SceneRevision = {
|
|
11
|
+
kind: 'draft';
|
|
12
|
+
id: string;
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
} | {
|
|
15
|
+
kind: 'authority';
|
|
16
|
+
seq: number;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* What a computation knows besides the document, frozen when it starts: the floor the person was
|
|
20
|
+
* viewing, their selection and units, the catalog revision, and the node registry it ran against.
|
|
21
|
+
*/
|
|
22
|
+
export type ExecutionContext = {
|
|
23
|
+
activeLevelId: string | null;
|
|
24
|
+
selection: readonly string[];
|
|
25
|
+
units: 'metric' | 'imperial';
|
|
26
|
+
catalogVersion: string;
|
|
27
|
+
/** `captureRegistryVersions()` once the host's plugins are loaded. */
|
|
28
|
+
registryVersions: Record<string, string>;
|
|
29
|
+
};
|
|
30
|
+
/** Each registered node kind and the schema version it parses with (`plugin@version`). */
|
|
31
|
+
export declare function captureRegistryVersions(): Record<string, string>;
|
|
32
|
+
export declare class RegistryVersionMismatchError extends Error {
|
|
33
|
+
readonly kinds: string[];
|
|
34
|
+
constructor(kinds: string[]);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A scene store with the means to compute on it: the reader agent code reads through, the scope
|
|
38
|
+
* (environment, id allocator, support index) its writes run in, and the document reconciliation.
|
|
39
|
+
* The editor's store is one (`liveSceneRuntime`); a detached scene is another.
|
|
40
|
+
*/
|
|
41
|
+
export interface SceneRuntime {
|
|
42
|
+
readonly store: SceneStore;
|
|
43
|
+
reader(): DocumentReader;
|
|
44
|
+
/** Runs `run` in this scene's scope: its history environment, ids and support index. */
|
|
45
|
+
run<T>(run: () => T): T;
|
|
46
|
+
/** Settles every derived write owed since `before` (`reconcileDocument`), reading through `reader`. */
|
|
47
|
+
reconcile(before: SceneNodes, options?: {
|
|
48
|
+
allLevels?: boolean;
|
|
49
|
+
}): void;
|
|
50
|
+
/** Records a read the reader cannot see; absent where nothing is recorded (the editor's store). */
|
|
51
|
+
declare?(dependency: Dependency): void;
|
|
52
|
+
}
|
|
53
|
+
/** The editor's own store: plain reads, random ids, the editor's environment. */
|
|
54
|
+
export declare const liveSceneRuntime: SceneRuntime;
|
|
55
|
+
/**
|
|
56
|
+
* Loads an already-migrated document into `store` as it is: no migration, healing or
|
|
57
|
+
* normalisation runs again (a load through `setScene` would, and could change it — closing level
|
|
58
|
+
* gaps, re-cutting openings). The store's history starts empty at this document.
|
|
59
|
+
*/
|
|
60
|
+
export declare function loadCanonicalSnapshot(store: SceneStore, snapshot: SceneSnapshot): void;
|
|
61
|
+
/** A scene detached from the editor: computed on, then turned into a patch. */
|
|
62
|
+
export interface DetachedScene extends SceneRuntime {
|
|
63
|
+
readonly base: SceneRevision;
|
|
64
|
+
readonly context: ExecutionContext;
|
|
65
|
+
/** Applies agent changes and settles their derived writes, recording what they read. */
|
|
66
|
+
host(): AgentHostRuntime;
|
|
67
|
+
/**
|
|
68
|
+
* Runs an agent operation on this scene, as `applyAgentOutcome` through `host()`, and returns its
|
|
69
|
+
* result as plain data (`materialize`) that outlives the scene.
|
|
70
|
+
*/
|
|
71
|
+
execute<Input>(operation: AgentOperation<Input>, input: Input, context: AgentContext): Record<string, unknown>;
|
|
72
|
+
/** Records a read the reader cannot see: a project file, an artifact, a conservative scope. */
|
|
73
|
+
declare(dependency: Dependency): void;
|
|
74
|
+
dependencies(): Dependency[];
|
|
75
|
+
/** The document change since the snapshot, field by field, derived writes settled. */
|
|
76
|
+
patch(): ReturnType<typeof diffSceneDocuments>;
|
|
77
|
+
/** Ends the scene: every later read or write of it throws. */
|
|
78
|
+
dispose(): void;
|
|
79
|
+
readonly disposed: boolean;
|
|
80
|
+
}
|
|
81
|
+
/** Freezes plain data in place, deeply; returns it. */
|
|
82
|
+
export declare function deepFreeze<T>(value: T): T;
|
|
83
|
+
/** Applies agent changes to a store as the editor's actions do. */
|
|
84
|
+
export declare function applySceneChangesToStore(store: SceneStore, changes: SceneChanges): void;
|
|
85
|
+
/**
|
|
86
|
+
* What a runtime lends an agent operation's outcome (`applyAgentOutcome`): its changes applied as
|
|
87
|
+
* the editor's actions apply them, each followed by the document reconciliation, and an explicit
|
|
88
|
+
* reconcile of every level. One undo step per call.
|
|
89
|
+
*/
|
|
90
|
+
export declare function createAgentHost(runtime: SceneRuntime): AgentHostRuntime;
|
|
91
|
+
/**
|
|
92
|
+
* The store's actions plan more than they are asked for, reading the scene directly: default
|
|
93
|
+
* gutters, ridge vents and downspouts around roof edits, merged walls and cleaned references
|
|
94
|
+
* around deletions, walls kept clear of each other on a curve, sanitised values. Whatever such a
|
|
95
|
+
* planner read is a dependency, whether or not it wrote anything (a disabled gutter is a decision
|
|
96
|
+
* too), so each level its triggers touch becomes a `scope` dependency (the whole document for a
|
|
97
|
+
* node outside every level); so does each level an unrequested write lands on.
|
|
98
|
+
*/
|
|
99
|
+
export declare function declareActionDependencies(runtime: Pick<SceneRuntime, 'store' | 'declare'>, before: SceneNodes, changes: SceneChanges): void;
|
|
100
|
+
/**
|
|
101
|
+
* Opens a detached scene over a canonical snapshot (already migrated: `getSceneDocument()` of a
|
|
102
|
+
* loaded editor, or a saved draft). It has its own store, history, commit bus, drafts and support
|
|
103
|
+
* index, so nothing done on it reaches the editor. Every id it mints comes from `ids` (use
|
|
104
|
+
* `effectIds(effectId)` to make a recomputation mint the same ones), and every read made through
|
|
105
|
+
* its reader, host and reconciliation is recorded.
|
|
106
|
+
*/
|
|
107
|
+
export declare function openDetachedScene(snapshot: SceneSnapshot, options: {
|
|
108
|
+
base: SceneRevision;
|
|
109
|
+
context: ExecutionContext;
|
|
110
|
+
ids: IdAllocator;
|
|
111
|
+
}): DetachedScene;
|
|
112
|
+
//# sourceMappingURL=scene-runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scene-runtime.d.ts","sourceRoot":"","sources":["../../src/runtime/scene-runtime.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,gBAAgB,EAAqB,MAAM,mCAAmC,CAAA;AAE5F,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,UAAU,EACX,MAAM,2BAA2B,CAAA;AASlC,OAAO,EAAE,KAAK,WAAW,EAAmB,MAAM,gBAAgB,CAAA;AAMlE,OAAO,EAAyC,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAGpG,OAAiB,EAGf,KAAK,UAAU,EAEhB,MAAM,oBAAoB,CAAA;AAE3B,OAAO,EAAE,KAAK,UAAU,EAAW,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,kBAAkB,EAAa,MAAM,SAAS,CAAA;AACvD,OAAO,EAGL,KAAK,cAAc,EAIpB,MAAM,UAAU,CAAA;AAEjB,6FAA6F;AAC7F,MAAM,MAAM,aAAa,GACrB;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAChD;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAA;AAEtC;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,SAAS,EAAE,SAAS,MAAM,EAAE,CAAA;IAC5B,KAAK,EAAE,QAAQ,GAAG,UAAU,CAAA;IAC5B,cAAc,EAAE,MAAM,CAAA;IACtB,sEAAsE;IACtE,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzC,CAAA;AAED,0FAA0F;AAC1F,wBAAgB,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAOhE;AAED,qBAAa,4BAA6B,SAAQ,KAAK;IACzC,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE;IAApC,YAAqB,KAAK,EAAE,MAAM,EAAE,EAKnC;CACF;AAED;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,KAAK,EAAE,UAAU,CAAA;IAC1B,MAAM,IAAI,cAAc,CAAA;IACxB,wFAAwF;IACxF,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAA;IACvB,uGAAuG;IACvG,SAAS,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAA;IACtE,mGAAmG;IACnG,OAAO,CAAC,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAAA;CACvC;AAaD,iFAAiF;AACjF,eAAO,MAAM,gBAAgB,EAAE,YAK9B,CAAA;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,aAAa,GAAG,IAAI,CAkBtF;AAED,+EAA+E;AAC/E,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAA;IAC5B,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAA;IAClC,wFAAwF;IACxF,IAAI,IAAI,gBAAgB,CAAA;IACxB;;;OAGG;IACH,OAAO,CAAC,KAAK,EACX,SAAS,EAAE,cAAc,CAAC,KAAK,CAAC,EAChC,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,YAAY,GACpB,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC1B,+FAA+F;IAC/F,OAAO,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAAA;IACrC,YAAY,IAAI,UAAU,EAAE,CAAA;IAC5B,sFAAsF;IACtF,KAAK,IAAI,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAA;IAC9C,8DAA8D;IAC9D,OAAO,IAAI,IAAI,CAAA;IACf,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAA;CAC3B;AAED,uDAAuD;AACvD,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAKzC;AA8BD,mEAAmE;AACnE,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,GAAG,IAAI,CAevF;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,YAAY,GAAG,gBAAgB,CAwBvE;AAYD;;;;;;;GAOG;AACH,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,OAAO,GAAG,SAAS,CAAC,EAChD,MAAM,EAAE,UAAU,EAClB,OAAO,EAAE,YAAY,GACpB,IAAI,CAkCN;AAsCD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,aAAa,EACvB,OAAO,EAAE;IAAE,IAAI,EAAE,aAAa,CAAC;IAAC,OAAO,EAAE,gBAAgB,CAAC;IAAC,GAAG,EAAE,WAAW,CAAA;CAAE,GAC5E,aAAa,CAqEf"}
|