@realsee/dnalogel 3.81.13 → 4.0.0-webgpu.4
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/CHANGELOG.md +38 -0
- package/README.md +20 -26
- package/dist/components.d.ts +2 -0
- package/dist/components.js +1 -0
- package/dist/floorplan.d.ts +2 -0
- package/dist/floorplan.js +1 -0
- package/dist/index.d.ts +2 -34
- package/dist/index.js +268 -67466
- package/dist/index.js.map +1 -0
- package/dist/internal/BasePlugin-DC5m72La.js +33 -0
- package/dist/internal/BasePlugin-DC5m72La.js.map +1 -0
- package/dist/internal/BasePluginWithData-D_0W46_q.js +7 -0
- package/dist/internal/BasePluginWithData-D_0W46_q.js.map +1 -0
- package/dist/internal/BetterTween-DmptqE8m.js +23 -0
- package/dist/internal/BetterTween-DmptqE8m.js.map +1 -0
- package/dist/internal/CSS3DObject-C9ck81UX.js +312 -0
- package/dist/internal/CSS3DObject-C9ck81UX.js.map +1 -0
- package/dist/internal/CSS3DRender-BKWjq-Mo.js +297 -0
- package/dist/internal/CSS3DRender-BKWjq-Mo.js.map +1 -0
- package/dist/internal/CSS3DRenderPlugin-CEatgl0m.js +77 -0
- package/dist/internal/CSS3DRenderPlugin-CEatgl0m.js.map +1 -0
- package/dist/internal/Controller-D6o4OGWJ.js +2498 -0
- package/dist/internal/Controller-D6o4OGWJ.js.map +1 -0
- package/dist/internal/Cursor-3AwKvViZ.js +61 -0
- package/dist/internal/Cursor-3AwKvViZ.js.map +1 -0
- package/dist/internal/FBXLoader-Chl2iTDE.js +23 -0
- package/dist/internal/FBXLoader-Chl2iTDE.js.map +1 -0
- package/dist/internal/FiveDomEvents-BUBLFzti.js +267 -0
- package/dist/internal/FiveDomEvents-BUBLFzti.js.map +1 -0
- package/dist/internal/FiveLine-0OtX3RDV.js +28 -0
- package/dist/internal/FiveLine-0OtX3RDV.js.map +1 -0
- package/dist/internal/FivePuppet-C6QmVY70.js +67 -0
- package/dist/internal/FivePuppet-C6QmVY70.js.map +1 -0
- package/dist/internal/FiveUtil-DyTBRHpM.js +74 -0
- package/dist/internal/FiveUtil-DyTBRHpM.js.map +1 -0
- package/dist/internal/GLTFLoader-DCsDrP-N.js +16 -0
- package/dist/internal/GLTFLoader-DCsDrP-N.js.map +1 -0
- package/dist/internal/Icon-8d4DFYTH.js +6 -0
- package/dist/internal/Icon-8d4DFYTH.js.map +1 -0
- package/dist/internal/LabelItem-Cnys51gZ.js +137 -0
- package/dist/internal/LabelItem-Cnys51gZ.js.map +1 -0
- package/dist/internal/Line2-CDxLMjGj.js +63 -0
- package/dist/internal/Line2-CDxLMjGj.js.map +1 -0
- package/dist/internal/PointHelper-DIhgdjY2.js +937 -0
- package/dist/internal/PointHelper-DIhgdjY2.js.map +1 -0
- package/dist/internal/Polygon-D3xIL1Pl.js +324 -0
- package/dist/internal/Polygon-D3xIL1Pl.js.map +1 -0
- package/dist/internal/Prism-CJlyAEAU.js +484 -0
- package/dist/internal/Prism-CJlyAEAU.js.map +1 -0
- package/dist/internal/Rectangle-BpL9lNKU.js +1221 -0
- package/dist/internal/Rectangle-BpL9lNKU.js.map +1 -0
- package/dist/internal/StandaloneRenderer-Jo60ASPd.js +91 -0
- package/dist/internal/StandaloneRenderer-Jo60ASPd.js.map +1 -0
- package/dist/internal/Subscribe-DLlAl88n.js +58 -0
- package/dist/internal/Subscribe-DLlAl88n.js.map +1 -0
- package/dist/internal/Work-BE4AgdwH.js +1637 -0
- package/dist/internal/Work-BE4AgdwH.js.map +1 -0
- package/dist/internal/animation-D9rPUNWJ.js +1043 -0
- package/dist/internal/animation-D9rPUNWJ.js.map +1 -0
- package/dist/internal/animation-script-adapter-DVXnC6Pt.js +1602 -0
- package/dist/internal/animation-script-adapter-DVXnC6Pt.js.map +1 -0
- package/dist/internal/animationFrame-CacKXN8l.js +29 -0
- package/dist/internal/animationFrame-CacKXN8l.js.map +1 -0
- package/dist/internal/area-maker-Bnhx4SkH.js +446 -0
- package/dist/internal/area-maker-Bnhx4SkH.js.map +1 -0
- package/dist/internal/boundingBox-CIqXgNXW.js +83 -0
- package/dist/internal/boundingBox-CIqXgNXW.js.map +1 -0
- package/dist/internal/camera-movement-C1pwfMk_.js +112 -0
- package/dist/internal/camera-movement-C1pwfMk_.js.map +1 -0
- package/dist/internal/changeMode-D_I2AOjH.js +73 -0
- package/dist/internal/changeMode-D_I2AOjH.js.map +1 -0
- package/dist/internal/classnames-DUxZNrrI.js +33 -0
- package/dist/internal/classnames-DUxZNrrI.js.map +1 -0
- package/dist/internal/component.svelte-D5LYqt50.js +2750 -0
- package/dist/internal/component.svelte-D5LYqt50.js.map +1 -0
- package/dist/internal/components-Ed73WMB0.js +434 -0
- package/dist/internal/components-Ed73WMB0.js.map +1 -0
- package/dist/internal/constants-A7EqoECw.js +6 -0
- package/dist/internal/constants-A7EqoECw.js.map +1 -0
- package/dist/internal/controller-DIDtFrBE.js +7422 -0
- package/dist/internal/controller-DIDtFrBE.js.map +1 -0
- package/dist/internal/cruise-B50Tcq66.js +7 -0
- package/dist/internal/cruise-B50Tcq66.js.map +1 -0
- package/dist/internal/current-pano-image-BCFr6njt.js +219 -0
- package/dist/internal/current-pano-image-BCFr6njt.js.map +1 -0
- package/dist/internal/debounce-Dsju-hoR.js +13 -0
- package/dist/internal/debounce-Dsju-hoR.js.map +1 -0
- package/dist/internal/defaultUrls-CfMtGzqM.js +17 -0
- package/dist/internal/defaultUrls-CfMtGzqM.js.map +1 -0
- package/dist/internal/digital-performance-B4DdvGbx.js +589 -0
- package/dist/internal/digital-performance-B4DdvGbx.js.map +1 -0
- package/dist/internal/digital-performance-v2-Cspjjn51.js +1030 -0
- package/dist/internal/digital-performance-v2-Cspjjn51.js.map +1 -0
- package/dist/internal/disposeOwnedObject-DsYpFpqh.js +16 -0
- package/dist/internal/disposeOwnedObject-DsYpFpqh.js.map +1 -0
- package/dist/internal/easing-D6YjRdGJ.js +15 -0
- package/dist/internal/easing-D6YjRdGJ.js.map +1 -0
- package/dist/internal/equal-BiDAilPV.js +50 -0
- package/dist/internal/equal-BiDAilPV.js.map +1 -0
- package/dist/internal/filter-Br6vP-OZ.js +15 -0
- package/dist/internal/filter-Br6vP-OZ.js.map +1 -0
- package/dist/internal/fire-scene-BzZGvyh_.js +1167 -0
- package/dist/internal/fire-scene-BzZGvyh_.js.map +1 -0
- package/dist/internal/fiveModelLoad-BUIBYxzp.js +23 -0
- package/dist/internal/fiveModelLoad-BUIBYxzp.js.map +1 -0
- package/dist/internal/floorplan-C8BGw87S.js +6059 -0
- package/dist/internal/floorplan-C8BGw87S.js.map +1 -0
- package/dist/internal/fontSize-DMhRSrtx.js +104 -0
- package/dist/internal/fontSize-DMhRSrtx.js.map +1 -0
- package/dist/internal/formatRad-kChZaf0k.js +9 -0
- package/dist/internal/formatRad-kChZaf0k.js.map +1 -0
- package/dist/internal/generatePolygonGeometry-BOnzdCaG.js +1011 -0
- package/dist/internal/generatePolygonGeometry-BOnzdCaG.js.map +1 -0
- package/dist/internal/getFiveModel-CZVrrU1D.js +8 -0
- package/dist/internal/getFiveModel-CZVrrU1D.js.map +1 -0
- package/dist/internal/getNormal-BatLuzsS.js +45 -0
- package/dist/internal/getNormal-BatLuzsS.js.map +1 -0
- package/dist/internal/hammer-Cq7WcpTp.js +835 -0
- package/dist/internal/hammer-Cq7WcpTp.js.map +1 -0
- package/dist/internal/index-client-W3QT304M.js +1 -0
- package/dist/internal/isNil-CQNA0Sbe.js +11 -0
- package/dist/internal/isNil-CQNA0Sbe.js.map +1 -0
- package/dist/internal/item-label-DXeKI9sZ.js +282 -0
- package/dist/internal/item-label-DXeKI9sZ.js.map +1 -0
- package/dist/internal/loadTexture-CJ3EbTXw.js +18 -0
- package/dist/internal/loadTexture-CJ3EbTXw.js.map +1 -0
- package/dist/internal/loadVideoTexture-CWoiMWRg.js +43 -0
- package/dist/internal/loadVideoTexture-CWoiMWRg.js.map +1 -0
- package/dist/internal/lookObject-DuRab5wf.js +48 -0
- package/dist/internal/lookObject-DuRab5wf.js.map +1 -0
- package/dist/internal/measure-B4jFwdQ6.js +1027 -0
- package/dist/internal/measure-B4jFwdQ6.js.map +1 -0
- package/dist/internal/model-chassis-compass-C6NTVMLo.js +84 -0
- package/dist/internal/model-chassis-compass-C6NTVMLo.js.map +1 -0
- package/dist/internal/model-entry-door-guide-DnGTLY2s.js +84 -0
- package/dist/internal/model-entry-door-guide-DnGTLY2s.js.map +1 -0
- package/dist/internal/model-item-label-BwJ5Dgnp.js +179 -0
- package/dist/internal/model-item-label-BwJ5Dgnp.js.map +1 -0
- package/dist/internal/model-maker-B1mnDdKY.js +897 -0
- package/dist/internal/model-maker-B1mnDdKY.js.map +1 -0
- package/dist/internal/model-room-label-5NtOduW1.js +199 -0
- package/dist/internal/model-room-label-5NtOduW1.js.map +1 -0
- package/dist/internal/model-tv-video-BP-7HoDC.js +213 -0
- package/dist/internal/model-tv-video-BP-7HoDC.js.map +1 -0
- package/dist/internal/model-view-BWUU0-uq.js +119 -0
- package/dist/internal/model-view-BWUU0-uq.js.map +1 -0
- package/dist/internal/object3d-helper-CbRRhnLV.js +7 -0
- package/dist/internal/object3d-helper-CbRRhnLV.js.map +1 -0
- package/dist/internal/pano-compass-BRTM0dCc.js +193 -0
- package/dist/internal/pano-compass-BRTM0dCc.js.map +1 -0
- package/dist/internal/pano-cursor-raycaster-DydRx7wS.js +66 -0
- package/dist/internal/pano-cursor-raycaster-DydRx7wS.js.map +1 -0
- package/dist/internal/pano-door-label-BLjYGZrr.js +258 -0
- package/dist/internal/pano-door-label-BLjYGZrr.js.map +1 -0
- package/dist/internal/pano-measure-BIgCWkVJ.js +2488 -0
- package/dist/internal/pano-measure-BIgCWkVJ.js.map +1 -0
- package/dist/internal/pano-ruler-fzlUTkVu.js +236 -0
- package/dist/internal/pano-ruler-fzlUTkVu.js.map +1 -0
- package/dist/internal/pano-ruler-pro-D9yTbHJz.js +221 -0
- package/dist/internal/pano-ruler-pro-D9yTbHJz.js.map +1 -0
- package/dist/internal/pano-spatial-tag-B7Gxn3BS.js +392 -0
- package/dist/internal/pano-spatial-tag-B7Gxn3BS.js.map +1 -0
- package/dist/internal/pano-tag-Bchz-jED.js +7 -0
- package/dist/internal/pano-tag-Bchz-jED.js.map +1 -0
- package/dist/internal/pano-video-BufYQMqo.js +365 -0
- package/dist/internal/pano-video-BufYQMqo.js.map +1 -0
- package/dist/internal/pipeline-t_3IMXKB.js +386 -0
- package/dist/internal/pipeline-t_3IMXKB.js.map +1 -0
- package/dist/internal/planimetry-us3E4V8W.js +55 -0
- package/dist/internal/planimetry-us3E4V8W.js.map +1 -0
- package/dist/internal/rad2Deg-DutG55Wb.js +8 -0
- package/dist/internal/rad2Deg-DutG55Wb.js.map +1 -0
- package/dist/internal/rayOnLine-CrCXTByv.js +18 -0
- package/dist/internal/rayOnLine-CrCXTByv.js.map +1 -0
- package/dist/internal/recurveFindObject-1BZIH2bj.js +8 -0
- package/dist/internal/recurveFindObject-1BZIH2bj.js.map +1 -0
- package/dist/internal/resizeObserver-AY-35us4.js +32 -0
- package/dist/internal/resizeObserver-AY-35us4.js.map +1 -0
- package/dist/internal/resizeObserver-CHD4N_hp.js +14 -0
- package/dist/internal/resizeObserver-CHD4N_hp.js.map +1 -0
- package/dist/internal/rolldown-runtime-B0aSnxlc.js +20 -0
- package/dist/internal/safeObj-ic96Cf8D.js +51 -0
- package/dist/internal/safeObj-ic96Cf8D.js.map +1 -0
- package/dist/internal/sculpt-BCK4PMwL.js +880 -0
- package/dist/internal/sculpt-BCK4PMwL.js.map +1 -0
- package/dist/internal/sleep-1GNCncUi.js +12 -0
- package/dist/internal/sleep-1GNCncUi.js.map +1 -0
- package/dist/internal/tagPosition-DA9YguT8.js +176 -0
- package/dist/internal/tagPosition-DA9YguT8.js.map +1 -0
- package/dist/internal/throttle-YRIkRKaX.js +13 -0
- package/dist/internal/throttle-YRIkRKaX.js.map +1 -0
- package/dist/internal/transformPosition-Cc92Wf0o.js +11 -0
- package/dist/internal/transformPosition-Cc92Wf0o.js.map +1 -0
- package/dist/internal/transition-VqMiMmZR.js +49 -0
- package/dist/internal/transition-VqMiMmZR.js.map +1 -0
- package/dist/internal/tween.esm-CJDtohfp.js +378 -0
- package/dist/internal/tween.esm-CJDtohfp.js.map +1 -0
- package/dist/internal/util-vGeVT4oo.js +26 -0
- package/dist/internal/util-vGeVT4oo.js.map +1 -0
- package/dist/internal/uuid-BfVaI9vM.js +11 -0
- package/dist/internal/uuid-BfVaI9vM.js.map +1 -0
- package/dist/internal/vectorIsEqual-BXdJrP0J.js +9 -0
- package/dist/internal/vectorIsEqual-BXdJrP0J.js.map +1 -0
- package/dist/internal/vectorToCoordinate-DIOgfeEi.js +12 -0
- package/dist/internal/vectorToCoordinate-DIOgfeEi.js.map +1 -0
- package/dist/internal/withResolvers-DVr4bnnk.js +15 -0
- package/dist/internal/withResolvers-DVr4bnnk.js.map +1 -0
- package/dist/plugins/area-maker.d.ts +2 -0
- package/dist/plugins/area-maker.js +1 -0
- package/dist/plugins/camera-movement.d.ts +2 -0
- package/dist/plugins/camera-movement.js +1 -0
- package/dist/plugins/cruise.d.ts +2 -0
- package/dist/plugins/cruise.js +3 -0
- package/dist/plugins/css3d-render.d.ts +2 -0
- package/dist/plugins/css3d-render.js +1 -0
- package/dist/plugins/current-pano-image.d.ts +2 -0
- package/dist/plugins/current-pano-image.js +1 -0
- package/dist/plugins/digital-performance-v2.d.ts +2 -0
- package/dist/plugins/digital-performance-v2.js +1 -0
- package/dist/plugins/digital-performance.d.ts +2 -0
- package/dist/plugins/digital-performance.js +3 -0
- package/dist/plugins/fire-scene.d.ts +2 -0
- package/dist/plugins/fire-scene.js +1 -0
- package/dist/plugins/guide-line.d.ts +2 -0
- package/dist/plugins/guide-line.js +1 -0
- package/dist/plugins/item-label.d.ts +2 -0
- package/dist/plugins/item-label.js +1 -0
- package/dist/plugins/measure.d.ts +2 -0
- package/dist/plugins/measure.js +1 -0
- package/dist/plugins/model-chassis-compass.d.ts +2 -0
- package/dist/plugins/model-chassis-compass.js +1 -0
- package/dist/plugins/model-entry-door-guide.d.ts +2 -0
- package/dist/plugins/model-entry-door-guide.js +1 -0
- package/dist/plugins/model-item-label.d.ts +2 -0
- package/dist/plugins/model-item-label.js +1 -0
- package/dist/plugins/model-maker.d.ts +2 -0
- package/dist/plugins/model-maker.js +1 -0
- package/dist/plugins/model-room-label.d.ts +2 -0
- package/dist/plugins/model-room-label.js +1 -0
- package/dist/plugins/model-tv-video.d.ts +2 -0
- package/dist/plugins/model-tv-video.js +1 -0
- package/dist/plugins/model-view.d.ts +2 -0
- package/dist/plugins/model-view.js +1 -0
- package/dist/plugins/object3d-helper.d.ts +2 -0
- package/dist/plugins/object3d-helper.js +3 -0
- package/dist/plugins/pano-compass.d.ts +2 -0
- package/dist/plugins/pano-compass.js +1 -0
- package/dist/plugins/pano-cursor-raycaster.d.ts +2 -0
- package/dist/plugins/pano-cursor-raycaster.js +1 -0
- package/dist/plugins/pano-door-label.d.ts +2 -0
- package/dist/plugins/pano-door-label.js +1 -0
- package/dist/plugins/pano-measure.d.ts +2 -0
- package/dist/plugins/pano-measure.js +1 -0
- package/dist/plugins/pano-ruler-pro.d.ts +2 -0
- package/dist/plugins/pano-ruler-pro.js +1 -0
- package/dist/plugins/pano-ruler.d.ts +2 -0
- package/dist/plugins/pano-ruler.js +1 -0
- package/dist/plugins/pano-spatial-tag.d.ts +2 -0
- package/dist/plugins/pano-spatial-tag.js +1 -0
- package/dist/plugins/pano-tag.d.ts +2 -0
- package/dist/plugins/pano-tag.js +4 -0
- package/dist/plugins/pano-video.d.ts +2 -0
- package/dist/plugins/pano-video.js +1 -0
- package/dist/plugins/pipeline.d.ts +2 -0
- package/dist/plugins/pipeline.js +1 -0
- package/dist/plugins/sculpt.d.ts +2 -0
- package/dist/plugins/sculpt.js +7 -0
- package/dist/style.css +2 -0
- package/dist/types/AreaMakerPlugin/Controller.d.ts +97 -0
- package/dist/types/AreaMakerPlugin/index.d.ts +4 -0
- package/dist/types/AreaMakerPlugin/typing.d.ts +167 -0
- package/dist/types/AreaMakerPlugin/utils/Item.d.ts +137 -0
- package/dist/types/CSS3DRenderPlugin/Controller.d.ts +84 -0
- package/dist/types/CSS3DRenderPlugin/index.d.ts +6 -0
- package/dist/types/CSS3DRenderPlugin/typing.d.ts +26 -0
- package/dist/types/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +3 -0
- package/dist/types/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
- package/dist/types/CSS3DRenderPlugin/utils/index.d.ts +4 -0
- package/dist/types/CSS3DRenderPlugin/utils/positionToVector3.d.ts +1 -0
- package/dist/types/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +21 -0
- package/dist/types/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +54 -0
- package/dist/types/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +184 -0
- package/dist/types/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +1 -0
- package/dist/types/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
- package/dist/types/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +5 -0
- package/dist/types/CameraMovementPlugin/CameraMovementPlugin.d.ts +7 -0
- package/dist/types/CameraMovementPlugin/index.d.ts +5 -0
- package/dist/types/CameraMovementPlugin/typing.d.ts +70 -0
- package/dist/types/CruisePlugin/BaseController.d.ts +165 -0
- package/dist/types/CruisePlugin/Move.d.ts +56 -0
- package/dist/types/CruisePlugin/Work.d.ts +135 -0
- package/dist/types/CruisePlugin/index.d.ts +11 -0
- package/dist/types/CruisePlugin/typing.d.ts +159 -0
- package/dist/types/CruisePlugin/utils/coordinatesToVector.d.ts +7 -0
- package/dist/types/CruisePlugin/utils/getFiveStateOnCurve.d.ts +11 -0
- package/dist/types/CurrentPanoImagePlugin/Controller.d.ts +104 -0
- package/dist/types/CurrentPanoImagePlugin/index.d.ts +7 -0
- package/dist/types/CurrentPanoImagePlugin/typings.d.ts +58 -0
- package/dist/types/DigitalPerformancePlugin/controller/index.d.ts +227 -0
- package/dist/types/DigitalPerformancePlugin/core/DigitalHuman.d.ts +98 -0
- package/dist/types/DigitalPerformancePlugin/core/DigitalPerformanceNameplate.d.ts +115 -0
- package/dist/types/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +52 -0
- package/dist/types/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +152 -0
- package/dist/types/DigitalPerformancePlugin/core/Trace.d.ts +9 -0
- package/dist/types/DigitalPerformancePlugin/index.d.ts +17 -0
- package/dist/types/DigitalPerformancePlugin/typings/index.d.ts +87 -0
- package/dist/types/DigitalPerformanceV2Plugin/controller/index.d.ts +402 -0
- package/dist/types/DigitalPerformanceV2Plugin/core/CameraDirector.d.ts +61 -0
- package/dist/types/DigitalPerformanceV2Plugin/core/CameraSampler.d.ts +53 -0
- package/dist/types/DigitalPerformanceV2Plugin/core/CameraTrack.d.ts +21 -0
- package/dist/types/DigitalPerformanceV2Plugin/core/FiveModelCameraBridge.d.ts +39 -0
- package/dist/types/DigitalPerformanceV2Plugin/core/PerformanceClock.d.ts +55 -0
- package/dist/types/DigitalPerformanceV2Plugin/core/Playground.d.ts +111 -0
- package/dist/types/DigitalPerformanceV2Plugin/core/shared.d.ts +5 -0
- package/dist/types/DigitalPerformanceV2Plugin/index.d.ts +11 -0
- package/dist/types/DigitalPerformanceV2Plugin/typings/index.d.ts +132 -0
- package/dist/types/FireScenePlugin/FireControl.d.ts +154 -0
- package/dist/types/FireScenePlugin/SequencePlayer.d.ts +41 -0
- package/dist/types/FireScenePlugin/constants.d.ts +28 -0
- package/dist/types/FireScenePlugin/fire/config.d.ts +10 -0
- package/dist/types/FireScenePlugin/fire/index.d.ts +6 -0
- package/dist/types/FireScenePlugin/fire/managers/FireManager.d.ts +76 -0
- package/dist/types/FireScenePlugin/fire/type.d.ts +51 -0
- package/dist/types/FireScenePlugin/index.d.ts +6 -0
- package/dist/types/FireScenePlugin/smoke/config.d.ts +8 -0
- package/dist/types/FireScenePlugin/smoke/index.d.ts +1 -0
- package/dist/types/FireScenePlugin/smoke/managers/NormalSmokeManager.d.ts +49 -0
- package/dist/types/FireScenePlugin/smoke/managers/SmokeManager.d.ts +89 -0
- package/dist/types/FireScenePlugin/utils/areaBounds.d.ts +14 -0
- package/dist/types/FireScenePlugin/utils/particle.d.ts +5 -0
- package/dist/types/FireScenePlugin/utils/particleTexture.d.ts +21 -0
- package/dist/types/FireScenePlugin/utils/radialSpread.d.ts +54 -0
- package/dist/types/FireScenePlugin/utils/spread.d.ts +17 -0
- package/dist/types/GuideLinePlugin/Components/Tag.svelte.d.ts +1 -0
- package/dist/types/GuideLinePlugin/Controller.d.ts +100 -0
- package/dist/types/GuideLinePlugin/GuideLineItem.d.ts +36 -0
- package/dist/types/GuideLinePlugin/GuideLineModeItem.d.ts +152 -0
- package/dist/types/GuideLinePlugin/index.d.ts +10 -0
- package/dist/types/GuideLinePlugin/typing.d.ts +199 -0
- package/dist/types/GuideLinePlugin/utils/GuideLineMaterial.d.ts +17 -0
- package/dist/types/GuideLinePlugin/utils/createLineGeometry.d.ts +36 -0
- package/dist/types/GuideLinePlugin/utils/createPath.d.ts +3 -0
- package/dist/types/GuideLinePlugin/utils/dataFormatter.d.ts +2 -0
- package/dist/types/GuideLinePlugin/utils/getArrowMaterial.d.ts +4 -0
- package/dist/types/GuideLinePlugin/utils/getPoint.d.ts +3 -0
- package/dist/types/GuideLinePlugin/utils/polyline-normals.d.ts +3 -0
- package/dist/types/ItemLabelPlugin/ItemLabelComponent.svelte.d.ts +1 -0
- package/dist/types/ItemLabelPlugin/ItemLabelItem.svelte.d.ts +1 -0
- package/dist/types/ItemLabelPlugin/Plugin.d.ts +4 -0
- package/dist/types/ItemLabelPlugin/events.type.d.ts +9 -0
- package/dist/types/ItemLabelPlugin/index.d.ts +9 -0
- package/dist/types/ItemLabelPlugin/typings.d.ts +65 -0
- package/dist/types/ItemLabelPlugin/utils/getStrokeLength.d.ts +2 -0
- package/dist/types/ItemLabelPlugin/utils/isImpacted.d.ts +6 -0
- package/dist/types/ItemLabelPlugin/utils/parseData.d.ts +3 -0
- package/dist/types/ItemLabelPlugin/utils/transform2RenderData.d.ts +3 -0
- package/dist/types/MeasurePlugin/Controller.d.ts +167 -0
- package/dist/types/MeasurePlugin/index.d.ts +17 -0
- package/dist/types/MeasurePlugin/utils/MeasureMesh.d.ts +29 -0
- package/dist/types/MeasurePlugin/utils/validatePolygon.d.ts +2 -0
- package/dist/types/ModelChassisCompassPlugin/Plugin.d.ts +20 -0
- package/dist/types/ModelChassisCompassPlugin/index.d.ts +4 -0
- package/dist/types/ModelEntryDoorGuidePlugin/Plugin.d.ts +28 -0
- package/dist/types/ModelEntryDoorGuidePlugin/index.d.ts +4 -0
- package/dist/types/ModelItemLabelPlugin/ItemLabelComponent.svelte.d.ts +1 -0
- package/dist/types/ModelItemLabelPlugin/ItemLabelItem.svelte.d.ts +1 -0
- package/dist/types/ModelItemLabelPlugin/ModelItemLabelPlugin.d.ts +4 -0
- package/dist/types/ModelItemLabelPlugin/events.type.d.ts +9 -0
- package/dist/types/ModelItemLabelPlugin/index.d.ts +9 -0
- package/dist/types/ModelItemLabelPlugin/typings.d.ts +56 -0
- package/dist/types/ModelItemLabelPlugin/utils/parseData.d.ts +3 -0
- package/dist/types/ModelMakerPlugin/Controller.d.ts +205 -0
- package/dist/types/ModelMakerPlugin/index.d.ts +8 -0
- package/dist/types/ModelMakerPlugin/item/baseItem.d.ts +65 -0
- package/dist/types/ModelMakerPlugin/item/boxItem.d.ts +20 -0
- package/dist/types/ModelMakerPlugin/item/polygonItem.d.ts +19 -0
- package/dist/types/ModelMakerPlugin/item/prismItem.d.ts +18 -0
- package/dist/types/ModelMakerPlugin/rendering/EncodedLineMaterial.d.ts +6 -0
- package/dist/types/ModelMakerPlugin/rendering/SavedAnnotationColor.d.ts +50 -0
- package/dist/types/ModelMakerPlugin/rendering/hdrContribution.d.ts +19 -0
- package/dist/types/ModelMakerPlugin/typings/config.d.ts +26 -0
- package/dist/types/ModelMakerPlugin/typings/index.d.ts +53 -0
- package/dist/types/ModelMakerPlugin/utils/ModelMakerPolygonMesh.d.ts +10 -0
- package/dist/types/ModelMakerPlugin/utils/ModelMakerPrismMesh.d.ts +6 -0
- package/dist/types/ModelMakerPlugin/utils/Text.svelte.d.ts +1 -0
- package/dist/types/ModelMakerPlugin/utils/getTagOcclusionObjects.d.ts +4 -0
- package/dist/types/ModelMakerPlugin/utils/setModelSortBounds.d.ts +3 -0
- package/dist/types/ModelMakerPlugin/utils/tagRenderer.d.ts +3 -0
- package/dist/types/ModelRoomLabelPlugin/Controller.d.ts +40 -0
- package/dist/types/ModelRoomLabelPlugin/RoomLabelItem.svelte.d.ts +1 -0
- package/dist/types/ModelRoomLabelPlugin/RoomLabelItems.svelte.d.ts +1 -0
- package/dist/types/ModelRoomLabelPlugin/index.d.ts +12 -0
- package/dist/types/ModelRoomLabelPlugin/utils/parseData.d.ts +3 -0
- package/dist/types/ModelTVVideoPlugin/Plugin.d.ts +4 -0
- package/dist/types/ModelTVVideoPlugin/index.d.ts +5 -0
- package/dist/types/ModelTVVideoPlugin/typings.d.ts +27 -0
- package/dist/types/ModelTVVideoPlugin/utils/parseData.d.ts +2 -0
- package/dist/types/ModelViewPlugin/Plugin.d.ts +43 -0
- package/dist/types/ModelViewPlugin/index.d.ts +4 -0
- package/dist/types/Object3DHelperPlugin/Controller.d.ts +153 -0
- package/dist/types/Object3DHelperPlugin/FiveControllerWrapper.d.ts +20 -0
- package/dist/types/Object3DHelperPlugin/index.d.ts +7 -0
- package/dist/types/PanoCompassPlugin/Controller.d.ts +88 -0
- package/dist/types/PanoCompassPlugin/getRoomInfoInstance.d.ts +8 -0
- package/dist/types/PanoCompassPlugin/index.d.ts +7 -0
- package/dist/types/PanoCompassPlugin/typings.d.ts +58 -0
- package/dist/types/PanoCursorRaycasterPlugin/index.d.ts +49 -0
- package/dist/types/PanoDoorLabelPlugin/Controller.d.ts +45 -0
- package/dist/types/PanoDoorLabelPlugin/DoorLabelItem.svelte.d.ts +1 -0
- package/dist/types/PanoDoorLabelPlugin/index.d.ts +7 -0
- package/dist/types/PanoDoorLabelPlugin/typings.d.ts +38 -0
- package/dist/types/PanoDoorLabelPlugin/utils.d.ts +5 -0
- package/dist/types/PanoMeasurePlugin/Components/Common/CircleButton.svelte.d.ts +1 -0
- package/dist/types/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +1 -0
- package/dist/types/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +1 -0
- package/dist/types/PanoMeasurePlugin/Components/Common/Switcher1.svelte.d.ts +1 -0
- package/dist/types/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +1 -0
- package/dist/types/PanoMeasurePlugin/Components/Controller1.svelte.d.ts +1 -0
- package/dist/types/PanoMeasurePlugin/Components/Tip.svelte.d.ts +1 -0
- package/dist/types/PanoMeasurePlugin/Controller/BaseController.d.ts +55 -0
- package/dist/types/PanoMeasurePlugin/Controller/EditController.d.ts +57 -0
- package/dist/types/PanoMeasurePlugin/Controller/MixedController.d.ts +37 -0
- package/dist/types/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +12 -0
- package/dist/types/PanoMeasurePlugin/Controller/ViewController.d.ts +12 -0
- package/dist/types/PanoMeasurePlugin/Controller/WatchController.d.ts +34 -0
- package/dist/types/PanoMeasurePlugin/Controller/index.d.ts +104 -0
- package/dist/types/PanoMeasurePlugin/Model/area.d.ts +75 -0
- package/dist/types/PanoMeasurePlugin/Model/index.d.ts +45 -0
- package/dist/types/PanoMeasurePlugin/Model/line.d.ts +39 -0
- package/dist/types/PanoMeasurePlugin/Model/point.d.ts +10 -0
- package/dist/types/PanoMeasurePlugin/Model/polygon.d.ts +14 -0
- package/dist/types/PanoMeasurePlugin/Model/polyline.d.ts +47 -0
- package/dist/types/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +30 -0
- package/dist/types/PanoMeasurePlugin/Modules/GuideController.d.ts +26 -0
- package/dist/types/PanoMeasurePlugin/Modules/Magnifier.d.ts +19 -0
- package/dist/types/PanoMeasurePlugin/Modules/UIController/HTML.d.ts +2 -0
- package/dist/types/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +19 -0
- package/dist/types/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +12 -0
- package/dist/types/PanoMeasurePlugin/Modules/UIController/index.d.ts +34 -0
- package/dist/types/PanoMeasurePlugin/Modules/UIController/mobileHTML.d.ts +4 -0
- package/dist/types/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +15 -0
- package/dist/types/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +4 -0
- package/dist/types/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +42 -0
- package/dist/types/PanoMeasurePlugin/index.d.ts +14 -0
- package/dist/types/PanoMeasurePlugin/typings/data.d.ts +58 -0
- package/dist/types/PanoMeasurePlugin/typings/event.type.d.ts +55 -0
- package/dist/types/PanoMeasurePlugin/typings/index.d.ts +15 -0
- package/dist/types/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
- package/dist/types/PanoMeasurePlugin/utils/constants.d.ts +5 -0
- package/dist/types/PanoMeasurePlugin/utils/dom/areaDom.d.ts +21 -0
- package/dist/types/PanoMeasurePlugin/utils/dom/base.d.ts +29 -0
- package/dist/types/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +33 -0
- package/dist/types/PanoMeasurePlugin/utils/findClosestPoint.d.ts +10 -0
- package/dist/types/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +3 -0
- package/dist/types/PanoMeasurePlugin/utils/line.d.ts +17 -0
- package/dist/types/PanoMeasurePlugin/utils/math.d.ts +17 -0
- package/dist/types/PanoMeasurePlugin/utils/mouseGroup.d.ts +7 -0
- package/dist/types/PanoMeasurePlugin/utils/ndc2Screen.d.ts +5 -0
- package/dist/types/PanoRulerPlugin/Plugin.d.ts +34 -0
- package/dist/types/PanoRulerPlugin/index.d.ts +5 -0
- package/dist/types/PanoRulerProPlugin/Controller.d.ts +17 -0
- package/dist/types/PanoRulerProPlugin/RulerItem.svelte.d.ts +1 -0
- package/dist/types/PanoRulerProPlugin/RulerItems.svelte.d.ts +1 -0
- package/dist/types/PanoRulerProPlugin/index.d.ts +8 -0
- package/dist/types/PanoSpatialTagPlugin/Components/origins.svelte.d.ts +1 -0
- package/dist/types/PanoSpatialTagPlugin/Components/tag.svelte.d.ts +1 -0
- package/dist/types/PanoSpatialTagPlugin/Plugin.d.ts +35 -0
- package/dist/types/PanoSpatialTagPlugin/index.d.ts +5 -0
- package/dist/types/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/types/PanoSpatialTagPlugin/typings.d.ts +40 -0
- package/dist/types/PanoTagPlugin/Components/Common/Arrow.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/Audio.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/AudioPlayer.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/Carousel.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/Icon/Icon.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/Icon/PanoramaIcon.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/Icon/animationUtils.d.ts +9 -0
- package/dist/types/PanoTagPlugin/Components/Common/Icon/audioIcon.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/Line/Polyline.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/Line/Straight.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/Media.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/MediaItem.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/Shadow.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/TagPoint.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/TagPopover/ArrowRightIcon.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/TagPopover/PanoramaIcon.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/TagPopover/ShareIcon.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/TagPopover/TagPopoverArrow.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/TagPopover/TagPopup.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/TagPopover/index.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/Text/MText.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Common/VideoIcon.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/AudioTag/AudioPoint.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/AudioTag/index.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/CustomTag.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/LinkTag.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/MarketingTag.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/MediaPlane.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/PanoramaTag.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/Tag/index.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/TagContainer.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/Components/TagItem.svelte.d.ts +1 -0
- package/dist/types/PanoTagPlugin/controller/Tag/BaseTag.d.ts +270 -0
- package/dist/types/PanoTagPlugin/controller/Tag/BoxTag.d.ts +118 -0
- package/dist/types/PanoTagPlugin/controller/Tag/MaskTag.d.ts +246 -0
- package/dist/types/PanoTagPlugin/controller/Tag/ModelTag.d.ts +15 -0
- package/dist/types/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +53 -0
- package/dist/types/PanoTagPlugin/controller/Tag/PointTag.d.ts +47 -0
- package/dist/types/PanoTagPlugin/controller/Tag/PolygonTag.d.ts +111 -0
- package/dist/types/PanoTagPlugin/controller/TagRender.d.ts +35 -0
- package/dist/types/PanoTagPlugin/controller/TagUtil.d.ts +94 -0
- package/dist/types/PanoTagPlugin/controller/index.d.ts +228 -0
- package/dist/types/PanoTagPlugin/index.d.ts +9 -0
- package/dist/types/PanoTagPlugin/tag.config.d.ts +7 -0
- package/dist/types/PanoTagPlugin/typings/controller.d.ts +112 -0
- package/dist/types/PanoTagPlugin/typings/index.d.ts +7 -0
- package/dist/types/PanoTagPlugin/typings/tag/Tag.d.ts +69 -0
- package/dist/types/PanoTagPlugin/typings/tag/TagConfig.d.ts +404 -0
- package/dist/types/PanoTagPlugin/typings/tag/TagData.d.ts +165 -0
- package/dist/types/PanoTagPlugin/typings/tag/TagInstance.d.ts +8 -0
- package/dist/types/PanoTagPlugin/typings/tag/Utils.d.ts +156 -0
- package/dist/types/PanoTagPlugin/utils/Cache.d.ts +17 -0
- package/dist/types/PanoTagPlugin/utils/DebugUtil.d.ts +12 -0
- package/dist/types/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
- package/dist/types/PanoTagPlugin/utils/audio/SharedAudio.d.ts +32 -0
- package/dist/types/PanoTagPlugin/utils/debounce.d.ts +8 -0
- package/dist/types/PanoTagPlugin/utils/getImageInfo.d.ts +14 -0
- package/dist/types/PanoTagPlugin/utils/index.d.ts +10 -0
- package/dist/types/PanoTagPlugin/utils/model/MaskNodeMaterial.d.ts +19 -0
- package/dist/types/PanoTagPlugin/utils/model/TagMediaTextureCache.d.ts +20 -0
- package/dist/types/PanoTagPlugin/utils/model/mediaPlane.d.ts +117 -0
- package/dist/types/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
- package/dist/types/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
- package/dist/types/PanoTagPlugin/utils/sculptDataToBoxPosition.d.ts +6 -0
- package/dist/types/PanoTagPlugin/utils/tag/adaptConfig.d.ts +2 -0
- package/dist/types/PanoTagPlugin/utils/tag/calculateTagConfig.d.ts +7 -0
- package/dist/types/PanoTagPlugin/utils/tag/canAutoPlayByOcclusion.d.ts +17 -0
- package/dist/types/PanoTagPlugin/utils/tag/format.d.ts +5 -0
- package/dist/types/PanoTagPlugin/utils/tag/getRaycasterStartPosition.d.ts +12 -0
- package/dist/types/PanoTagPlugin/utils/tag/tagCheck.d.ts +19 -0
- package/dist/types/PanoTagPlugin/utils/tagPosition.d.ts +12 -0
- package/dist/types/PanoVideoPlugin/Controller.d.ts +61 -0
- package/dist/types/PanoVideoPlugin/VideoMeshController.d.ts +132 -0
- package/dist/types/PanoVideoPlugin/index.d.ts +21 -0
- package/dist/types/PanoVideoPlugin/typings.d.ts +70 -0
- package/dist/types/PanoVideoPlugin/utils/index.d.ts +9 -0
- package/dist/types/PipelinePlugin/Controller.d.ts +108 -0
- package/dist/types/PipelinePlugin/index.d.ts +6 -0
- package/dist/types/PipelinePlugin/typing/index.d.ts +79 -0
- package/dist/types/PipelinePlugin/utils/Objects/FlowPipe.d.ts +33 -0
- package/dist/types/PipelinePlugin/utils/Objects/HighlightPipe.d.ts +10 -0
- package/dist/types/PipelinePlugin/utils/Objects/Pipe.d.ts +44 -0
- package/dist/types/PipelinePlugin/utils/formatData.d.ts +12 -0
- package/dist/types/Sculpt/Editors/BoxMeshEditor.d.ts +5 -0
- package/dist/types/Sculpt/Editors/CircleMeshEditor.d.ts +5 -0
- package/dist/types/Sculpt/Editors/CylinderMeshEditor.d.ts +5 -0
- package/dist/types/Sculpt/Editors/PrismMeshEditor.d.ts +5 -0
- package/dist/types/Sculpt/Editors/RectangleMeshEditor.d.ts +5 -0
- package/dist/types/Sculpt/Meshes/Area.d.ts +9 -0
- package/dist/types/Sculpt/Meshes/Box.d.ts +18 -0
- package/dist/types/Sculpt/Meshes/Circle.d.ts +24 -0
- package/dist/types/Sculpt/Meshes/CircleWithEdge.d.ts +11 -0
- package/dist/types/Sculpt/Meshes/Cylinder.d.ts +36 -0
- package/dist/types/Sculpt/Meshes/Line.d.ts +63 -0
- package/dist/types/Sculpt/Meshes/LineWithDots.d.ts +52 -0
- package/dist/types/Sculpt/Meshes/Point.d.ts +41 -0
- package/dist/types/Sculpt/Meshes/Polygon.d.ts +53 -0
- package/dist/types/Sculpt/Meshes/PolygonWithEdge.d.ts +33 -0
- package/dist/types/Sculpt/Meshes/Polyline.d.ts +47 -0
- package/dist/types/Sculpt/Meshes/Prism.d.ts +95 -0
- package/dist/types/Sculpt/Meshes/Rectangle.d.ts +19 -0
- package/dist/types/Sculpt/Meshes/RectangleWithEdge.d.ts +29 -0
- package/dist/types/Sculpt/Objects/Base/Editor.d.ts +55 -0
- package/dist/types/Sculpt/Objects/Base/index.d.ts +128 -0
- package/dist/types/Sculpt/Objects/Box/index.d.ts +49 -0
- package/dist/types/Sculpt/Objects/Circle/index.d.ts +33 -0
- package/dist/types/Sculpt/Objects/Cylinder/index.d.ts +35 -0
- package/dist/types/Sculpt/Objects/Line/Editor.d.ts +22 -0
- package/dist/types/Sculpt/Objects/Line/index.d.ts +49 -0
- package/dist/types/Sculpt/Objects/Point/Editor.d.ts +8 -0
- package/dist/types/Sculpt/Objects/Point/index.d.ts +40 -0
- package/dist/types/Sculpt/Objects/Polygon/Editor.d.ts +20 -0
- package/dist/types/Sculpt/Objects/Polygon/index.d.ts +81 -0
- package/dist/types/Sculpt/Objects/Polyline/Editor.d.ts +8 -0
- package/dist/types/Sculpt/Objects/Polyline/index.d.ts +48 -0
- package/dist/types/Sculpt/Objects/Prism/index.d.ts +58 -0
- package/dist/types/Sculpt/Objects/Rectangle/index.d.ts +49 -0
- package/dist/types/Sculpt/index.d.ts +233 -0
- package/dist/types/Sculpt/typings/index.d.ts +72 -0
- package/dist/types/Sculpt/typings/style.d.ts +108 -0
- package/dist/types/Sculpt/typings/utils.type.d.ts +18 -0
- package/dist/types/Sculpt/utils/Modules/Global.d.ts +23 -0
- package/dist/types/Sculpt/utils/data.d.ts +7 -0
- package/dist/types/Sculpt/utils/export.d.ts +25 -0
- package/dist/types/Sculpt/utils/removeAllTag.d.ts +2 -0
- package/dist/types/Sculpt/utils/renderDom.d.ts +19 -0
- package/dist/types/Sculpt/utils/sortPositionsByCameraPosition.d.ts +5 -0
- package/dist/types/Sculpt/utils/three/ColoredMesh.d.ts +33 -0
- package/dist/types/Sculpt/utils/three/RectangleGeometry.d.ts +6 -0
- package/dist/types/Sculpt/utils/three/rayOnLine.d.ts +12 -0
- package/dist/types/base/BasePlugin.d.ts +124 -0
- package/dist/types/base/BasePluginWithData.d.ts +21 -0
- package/dist/types/components/AreaLabel/LabelItem.svelte.d.ts +1 -0
- package/dist/types/components/PaintBrush/Controller.d.ts +45 -0
- package/dist/types/components/PaintBrush/index.d.ts +28 -0
- package/dist/types/components/PaintBrush/style.d.ts +2 -0
- package/dist/types/components/PaintBrush/typings.d.ts +59 -0
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/env.d.ts +1 -0
- package/dist/types/floorplan/Components/BaseImage.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/Camera.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/Compass.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/CurrentFloor.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/Items/Item.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/Items/Items.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/Main.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/MissingFloor.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/Normalmage.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/RoomHighlight/Room.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/RoomHighlight/RoomHighlight.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/RoomLabels/RoomLabel.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/RoomLabels/RoomLabels.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/RoomMaterials/RoomMaterial.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/RoomMaterials/RoomTriangle.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/RuleLabels/RuleItem.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/RuleLabels/RuleLabels.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/StyledImage.svelte.d.ts +1 -0
- package/dist/types/floorplan/Components/SvgImage.svelte.d.ts +1 -0
- package/dist/types/floorplan/FloorplanGuidePlugin/Components/Camera.svelte.d.ts +1 -0
- package/dist/types/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +1 -0
- package/dist/types/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +1 -0
- package/dist/types/floorplan/FloorplanGuidePlugin/Components/FloorplanCompass.svelte.d.ts +1 -0
- package/dist/types/floorplan/FloorplanGuidePlugin/Components/Main.svelte.d.ts +1 -0
- package/dist/types/floorplan/FloorplanGuidePlugin/Components/ObserverDots.svelte.d.ts +1 -0
- package/dist/types/floorplan/FloorplanGuidePlugin/Components/RoomLabelItem.svelte.d.ts +1 -0
- package/dist/types/floorplan/FloorplanGuidePlugin/Components/RoomLabels.svelte.d.ts +1 -0
- package/dist/types/floorplan/FloorplanGuidePlugin/Controller.d.ts +52 -0
- package/dist/types/floorplan/FloorplanGuidePlugin/index.d.ts +7 -0
- package/dist/types/floorplan/FloorplanGuidePlugin/typing.d.ts +194 -0
- package/dist/types/floorplan/MapviewFloorplanPlugin/Controller.d.ts +125 -0
- package/dist/types/floorplan/MapviewFloorplanPlugin/index.d.ts +7 -0
- package/dist/types/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -0
- package/dist/types/floorplan/ModelFloorplanPlugin/Controller.d.ts +117 -0
- package/dist/types/floorplan/ModelFloorplanPlugin/index.d.ts +7 -0
- package/dist/types/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -0
- package/dist/types/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte.d.ts +1 -0
- package/dist/types/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +1 -0
- package/dist/types/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +1 -0
- package/dist/types/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte.d.ts +1 -0
- package/dist/types/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +40 -0
- package/dist/types/floorplan/PanoFloorplanRadarPlugin/index.d.ts +7 -0
- package/dist/types/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +69 -0
- package/dist/types/floorplan/TopviewFloorplanPlugin/Controller.d.ts +68 -0
- package/dist/types/floorplan/TopviewFloorplanPlugin/index.d.ts +7 -0
- package/dist/types/floorplan/TopviewFloorplanPlugin/typing.d.ts +11 -0
- package/dist/types/floorplan/index.d.ts +14 -0
- package/dist/types/floorplan/typings/floorplanData.d.ts +171 -0
- package/dist/types/floorplan/typings/index.d.ts +163 -0
- package/dist/types/floorplan/utils/correctFiveState.d.ts +18 -0
- package/dist/types/floorplan/utils/formatData.d.ts +5 -0
- package/dist/types/floorplan/utils/formatPosition.d.ts +36 -0
- package/dist/types/floorplan/utils/styledFloorplan.d.ts +2 -0
- package/dist/types/public/components.d.ts +2 -0
- package/dist/types/public/floorplan.d.ts +2 -0
- package/dist/types/public/index.d.ts +93 -0
- package/dist/types/public/plugins/area-maker.d.ts +4 -0
- package/dist/types/public/plugins/camera-movement.d.ts +4 -0
- package/dist/types/public/plugins/cruise.d.ts +8 -0
- package/dist/types/public/plugins/css3d-render.d.ts +5 -0
- package/dist/types/public/plugins/current-pano-image.d.ts +4 -0
- package/dist/types/public/plugins/digital-performance-v2.d.ts +4 -0
- package/dist/types/public/plugins/digital-performance.d.ts +5 -0
- package/dist/types/public/plugins/fire-scene.d.ts +3 -0
- package/dist/types/public/plugins/guide-line.d.ts +7 -0
- package/dist/types/public/plugins/item-label.d.ts +4 -0
- package/dist/types/public/plugins/measure.d.ts +5 -0
- package/dist/types/public/plugins/model-chassis-compass.d.ts +4 -0
- package/dist/types/public/plugins/model-entry-door-guide.d.ts +4 -0
- package/dist/types/public/plugins/model-item-label.d.ts +4 -0
- package/dist/types/public/plugins/model-maker.d.ts +5 -0
- package/dist/types/public/plugins/model-room-label.d.ts +4 -0
- package/dist/types/public/plugins/model-tv-video.d.ts +4 -0
- package/dist/types/public/plugins/model-view.d.ts +4 -0
- package/dist/types/public/plugins/object3d-helper.d.ts +5 -0
- package/dist/types/public/plugins/pano-compass.d.ts +5 -0
- package/dist/types/public/plugins/pano-cursor-raycaster.d.ts +4 -0
- package/dist/types/public/plugins/pano-door-label.d.ts +4 -0
- package/dist/types/public/plugins/pano-measure.d.ts +4 -0
- package/dist/types/public/plugins/pano-ruler-pro.d.ts +4 -0
- package/dist/types/public/plugins/pano-ruler.d.ts +4 -0
- package/dist/types/public/plugins/pano-spatial-tag.d.ts +4 -0
- package/dist/types/public/plugins/pano-tag.d.ts +6 -0
- package/dist/types/public/plugins/pano-video.d.ts +4 -0
- package/dist/types/public/plugins/pipeline.d.ts +4 -0
- package/dist/types/public/plugins/sculpt.d.ts +20 -0
- package/dist/types/public/utils.d.ts +34 -0
- package/dist/types/shared-utils/CSS3DRender/CSS3DObject.d.ts +39 -0
- package/dist/types/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +17 -0
- package/dist/types/shared-utils/CSS3DRender/OpacityMesh.d.ts +6 -0
- package/dist/types/shared-utils/CSS3DRender/index.d.ts +15 -0
- package/dist/types/shared-utils/Object3DHelper/Base/BaseController.d.ts +142 -0
- package/dist/types/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +104 -0
- package/dist/types/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
- package/dist/types/shared-utils/Object3DHelper/Controller/BoundingBoxController.d.ts +7 -0
- package/dist/types/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +7 -0
- package/dist/types/shared-utils/Object3DHelper/Controller/MoveController.d.ts +60 -0
- package/dist/types/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +45 -0
- package/dist/types/shared-utils/Object3DHelper/Controller/RotateController.d.ts +46 -0
- package/dist/types/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +66 -0
- package/dist/types/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +16 -0
- package/dist/types/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +43 -0
- package/dist/types/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
- package/dist/types/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +24 -0
- package/dist/types/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +18 -0
- package/dist/types/shared-utils/Object3DHelper/Helper/Objects/CenterHandle.d.ts +23 -0
- package/dist/types/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +93 -0
- package/dist/types/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +65 -0
- package/dist/types/shared-utils/Object3DHelper/Helper/index.d.ts +6 -0
- package/dist/types/shared-utils/Object3DHelper/index.d.ts +51 -0
- package/dist/types/shared-utils/Object3DHelper/typings/Hooks.d.ts +63 -0
- package/dist/types/shared-utils/Object3DHelper/typings/index.d.ts +45 -0
- package/dist/types/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +5 -0
- package/dist/types/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
- package/dist/types/shared-utils/Object3DHelper/utils/cameraHooks.d.ts +3 -0
- package/dist/types/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
- package/dist/types/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
- package/dist/types/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +1 -0
- package/dist/types/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
- package/dist/types/shared-utils/Object3DHelper/utils/getOrthographicCameraDirection.d.ts +8 -0
- package/dist/types/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
- package/dist/types/shared-utils/Object3DHelper/utils/getPoseFromCamera.d.ts +8 -0
- package/dist/types/shared-utils/Object3DHelper/utils/index.d.ts +9 -0
- package/dist/types/shared-utils/Object3DHelper/utils/negateScale.d.ts +2 -0
- package/dist/types/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
- package/dist/types/shared-utils/Object3DHelper/utils/setObjectQuaternion.d.ts +8 -0
- package/dist/types/shared-utils/Object3DHelper/utils/solidGuide.d.ts +27 -0
- package/dist/types/shared-utils/Preloader.d.ts +6 -0
- package/dist/types/shared-utils/Subscribe.d.ts +69 -0
- package/dist/types/shared-utils/Utils/BaseUtil.d.ts +6 -0
- package/dist/types/shared-utils/Utils/FiveUtil.d.ts +9 -0
- package/dist/types/shared-utils/Utils/WorkUtil.d.ts +36 -0
- package/dist/types/shared-utils/animationFrame/BetterTween.d.ts +12 -0
- package/dist/types/shared-utils/animationFrame/index.d.ts +9 -0
- package/dist/types/shared-utils/changeModelCanvasOpacity.d.ts +2 -0
- package/dist/types/shared-utils/createCanvasTextTexture.d.ts +8 -0
- package/dist/types/shared-utils/createLine/index.d.ts +3 -0
- package/dist/types/shared-utils/dom/mouse.d.ts +1 -0
- package/dist/types/shared-utils/five/FiveDomEvents.d.ts +130 -0
- package/dist/types/shared-utils/five/FiveLine.d.ts +14 -0
- package/dist/types/shared-utils/five/FivePuppet.d.ts +65 -0
- package/dist/types/shared-utils/five/calculateThreeMouse.d.ts +11 -0
- package/dist/types/shared-utils/five/changeMode.d.ts +3 -0
- package/dist/types/shared-utils/five/fiveEveryReadyListener.d.ts +2 -0
- package/dist/types/shared-utils/five/fiveLoaded.d.ts +2 -0
- package/dist/types/shared-utils/five/fiveModelLoad.d.ts +9 -0
- package/dist/types/shared-utils/five/getFiveFromParentChain.d.ts +4 -0
- package/dist/types/shared-utils/five/getFiveModel.d.ts +2 -0
- package/dist/types/shared-utils/five/getFloorIndex.d.ts +4 -0
- package/dist/types/shared-utils/five/getFloorMesh.d.ts +3 -0
- package/dist/types/shared-utils/five/getPosition.d.ts +24 -0
- package/dist/types/shared-utils/five/getRaycasterByNdcPosition.d.ts +6 -0
- package/dist/types/shared-utils/five/index.d.ts +13 -0
- package/dist/types/shared-utils/five/initialCSS3DRender.d.ts +1 -0
- package/dist/types/shared-utils/five/lookObject.d.ts +15 -0
- package/dist/types/shared-utils/five/lookPoint.d.ts +11 -0
- package/dist/types/shared-utils/five/mode.d.ts +3 -0
- package/dist/types/shared-utils/five/transformPosition.d.ts +2 -0
- package/dist/types/shared-utils/five/vector3ToScreen.d.ts +5 -0
- package/dist/types/shared-utils/fontSize.d.ts +185 -0
- package/dist/types/shared-utils/getIntersectionFromEvent.d.ts +4 -0
- package/dist/types/shared-utils/getPointFromHammerEvent.d.ts +10 -0
- package/dist/types/shared-utils/getPxmm.d.ts +19 -0
- package/dist/types/shared-utils/index.d.ts +13 -0
- package/dist/types/shared-utils/math/Rectangle.d.ts +27 -0
- package/dist/types/shared-utils/math/convexHull.d.ts +5 -0
- package/dist/types/shared-utils/math/evenNumber.d.ts +3 -0
- package/dist/types/shared-utils/math/index.d.ts +4 -0
- package/dist/types/shared-utils/math/planimetry.d.ts +116 -0
- package/dist/types/shared-utils/math/pointsIsRectangle.d.ts +2 -0
- package/dist/types/shared-utils/object3d2LocalMatrix.d.ts +12 -0
- package/dist/types/shared-utils/positionToVector3.d.ts +17 -0
- package/dist/types/shared-utils/removeArrayItem.d.ts +7 -0
- package/dist/types/shared-utils/rendering/Particle.d.ts +103 -0
- package/dist/types/shared-utils/rendering/StandaloneRenderer.d.ts +33 -0
- package/dist/types/shared-utils/svelte/component.svelte.d.ts +6 -0
- package/dist/types/shared-utils/svelte/resizeObserver.d.ts +4 -0
- package/dist/types/shared-utils/svelte/resizeObserverGlobal.d.ts +11 -0
- package/dist/types/shared-utils/tag.d.ts +100 -0
- package/dist/types/shared-utils/three/CSS3DRenderer/index.d.ts +22 -0
- package/dist/types/shared-utils/three/Extras/Core/Interpolations.d.ts +3 -0
- package/dist/types/shared-utils/three/Extras/Curves/BezierCurve3.d.ts +13 -0
- package/dist/types/shared-utils/three/FBXLoader/index.d.ts +1 -0
- package/dist/types/shared-utils/three/FragmentTransparencyMaterial.d.ts +4 -0
- package/dist/types/shared-utils/three/GLTFLoader.d.ts +9 -0
- package/dist/types/shared-utils/three/IObject3D.d.ts +11 -0
- package/dist/types/shared-utils/three/Magnifier.d.ts +80 -0
- package/dist/types/shared-utils/three/PointDomHelper.d.ts +18 -0
- package/dist/types/shared-utils/three/PointSelector/index.d.ts +174 -0
- package/dist/types/shared-utils/three/PointSelector/utils/PointHelper.d.ts +31 -0
- package/dist/types/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +31 -0
- package/dist/types/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +73 -0
- package/dist/types/shared-utils/three/PointSelector/utils/html.d.ts +4 -0
- package/dist/types/shared-utils/three/PointSelector/utils/typing.d.ts +8 -0
- package/dist/types/shared-utils/three/PointSprite.d.ts +6 -0
- package/dist/types/shared-utils/three/Quadrangle.d.ts +20 -0
- package/dist/types/shared-utils/three/addIfNotExists.d.ts +2 -0
- package/dist/types/shared-utils/three/applyObjectMatrixWorld.d.ts +4 -0
- package/dist/types/shared-utils/three/blink.d.ts +26 -0
- package/dist/types/shared-utils/three/boundingBox.d.ts +25 -0
- package/dist/types/shared-utils/three/centerPoint.d.ts +2 -0
- package/dist/types/shared-utils/three/closeVectors.d.ts +2 -0
- package/dist/types/shared-utils/three/core/Line2.d.ts +8 -0
- package/dist/types/shared-utils/three/core/LineGeometry.d.ts +6 -0
- package/dist/types/shared-utils/three/core/LineMaterial.d.ts +17 -0
- package/dist/types/shared-utils/three/core/LineMaterial2.d.ts +5 -0
- package/dist/types/shared-utils/three/core/LineSegments.d.ts +7 -0
- package/dist/types/shared-utils/three/core/Object3D.d.ts +8 -0
- package/dist/types/shared-utils/three/core/PrismAnimationGeometry.d.ts +25 -0
- package/dist/types/shared-utils/three/core/PrismGeometry.d.ts +22 -0
- package/dist/types/shared-utils/three/core/Raycaster.d.ts +3 -0
- package/dist/types/shared-utils/three/core/Sphere.d.ts +4 -0
- package/dist/types/shared-utils/three/createIntersectionFace.d.ts +2 -0
- package/dist/types/shared-utils/three/disposeOwnedObject.d.ts +3 -0
- package/dist/types/shared-utils/three/earcut3D.d.ts +2 -0
- package/dist/types/shared-utils/three/filterVisibleIntersections.d.ts +3 -0
- package/dist/types/shared-utils/three/generatePolygonGeometry.d.ts +9 -0
- package/dist/types/shared-utils/three/geometryUtil.d.ts +15 -0
- package/dist/types/shared-utils/three/getCoords.d.ts +9 -0
- package/dist/types/shared-utils/three/getIntersect.d.ts +28 -0
- package/dist/types/shared-utils/three/getNormal.d.ts +5 -0
- package/dist/types/shared-utils/three/getObjectVisible.d.ts +5 -0
- package/dist/types/shared-utils/three/getPositionsByObjectFit.d.ts +3 -0
- package/dist/types/shared-utils/three/getRaycaster.d.ts +6 -0
- package/dist/types/shared-utils/three/getTextureLoader.d.ts +6 -0
- package/dist/types/shared-utils/three/index.d.ts +19 -0
- package/dist/types/shared-utils/three/loadTexture.d.ts +6 -0
- package/dist/types/shared-utils/three/loadVideoTexture.d.ts +13 -0
- package/dist/types/shared-utils/three/recurveFindObject.d.ts +2 -0
- package/dist/types/shared-utils/three/setObjectOriginSortBounds.d.ts +3 -0
- package/dist/types/shared-utils/three/temp.d.ts +2 -0
- package/dist/types/shared-utils/three/transformPositionToVector3.d.ts +7 -0
- package/dist/types/shared-utils/three/transformToMeshBasicMaterial.d.ts +2 -0
- package/dist/types/shared-utils/three/vector3ToArray.d.ts +3 -0
- package/dist/types/shared-utils/three/vectorIsEqual.d.ts +2 -0
- package/dist/types/shared-utils/threex/domevents/index.d.ts +36 -0
- package/dist/types/shared-utils/translateMode/getDistanceFromModel.d.ts +2 -0
- package/dist/types/shared-utils/typescript/entries.d.ts +2 -0
- package/dist/types/shared-utils/vectorToCoordinate.d.ts +7 -0
- package/dist/types/typings/typings.d.ts +15 -0
- package/dist/types/typings/utils.type.d.ts +4 -0
- package/dist/utils.d.ts +2 -0
- package/dist/utils.js +19 -0
- package/package.json +191 -77
- package/components/index.js +0 -994
- package/dist/AreaMakerPlugin/Controller.d.ts +0 -96
- package/dist/AreaMakerPlugin/index.d.ts +0 -4
- package/dist/AreaMakerPlugin/typing.d.ts +0 -167
- package/dist/AreaMakerPlugin/utils/Item.d.ts +0 -137
- package/dist/CSS3DRenderPlugin/Controller.d.ts +0 -87
- package/dist/CSS3DRenderPlugin/index.d.ts +0 -6
- package/dist/CSS3DRenderPlugin/typing.d.ts +0 -26
- package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +0 -3
- package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +0 -3
- package/dist/CSS3DRenderPlugin/utils/index.d.ts +0 -3
- package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +0 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -21
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +0 -55
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +0 -184
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +0 -1
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +0 -12
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +0 -5
- package/dist/CameraMovementPlugin/CameraMovementPlugin.d.ts +0 -7
- package/dist/CameraMovementPlugin/index.d.ts +0 -5
- package/dist/CameraMovementPlugin/typing.d.ts +0 -68
- package/dist/CruisePlugin/BaseController.d.ts +0 -165
- package/dist/CruisePlugin/Move.d.ts +0 -56
- package/dist/CruisePlugin/Work.d.ts +0 -127
- package/dist/CruisePlugin/index.d.ts +0 -12
- package/dist/CruisePlugin/typing.d.ts +0 -157
- package/dist/CruisePlugin/utils/coordinatesToVector.d.ts +0 -7
- package/dist/CruisePlugin/utils/getFiveStateOnCurve.d.ts +0 -11
- package/dist/CurrentPanoImagePlugin/Controller.d.ts +0 -103
- package/dist/CurrentPanoImagePlugin/index.d.ts +0 -7
- package/dist/CurrentPanoImagePlugin/typings.d.ts +0 -58
- package/dist/DigitalPerformancePlugin/controller/index.d.ts +0 -232
- package/dist/DigitalPerformancePlugin/core/DigitalHuman.d.ts +0 -96
- package/dist/DigitalPerformancePlugin/core/DigitalPerformanceNameplate.d.ts +0 -115
- package/dist/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +0 -47
- package/dist/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +0 -152
- package/dist/DigitalPerformancePlugin/core/Trace.d.ts +0 -9
- package/dist/DigitalPerformancePlugin/index.d.ts +0 -16
- package/dist/DigitalPerformancePlugin/typings/index.d.ts +0 -87
- package/dist/DigitalPerformanceV2Plugin/controller/index.d.ts +0 -401
- package/dist/DigitalPerformanceV2Plugin/core/CameraDirector.d.ts +0 -61
- package/dist/DigitalPerformanceV2Plugin/core/CameraSampler.d.ts +0 -53
- package/dist/DigitalPerformanceV2Plugin/core/CameraTrack.d.ts +0 -21
- package/dist/DigitalPerformanceV2Plugin/core/FiveModelCameraBridge.d.ts +0 -39
- package/dist/DigitalPerformanceV2Plugin/core/PerformanceClock.d.ts +0 -55
- package/dist/DigitalPerformanceV2Plugin/core/Playground.d.ts +0 -112
- package/dist/DigitalPerformanceV2Plugin/core/shared.d.ts +0 -4
- package/dist/DigitalPerformanceV2Plugin/index.d.ts +0 -11
- package/dist/DigitalPerformanceV2Plugin/typings/index.d.ts +0 -124
- package/dist/FireScenePlugin/FireControl.d.ts +0 -153
- package/dist/FireScenePlugin/SequencePlayer.d.ts +0 -41
- package/dist/FireScenePlugin/constants.d.ts +0 -28
- package/dist/FireScenePlugin/fire/config.d.ts +0 -10
- package/dist/FireScenePlugin/fire/index.d.ts +0 -6
- package/dist/FireScenePlugin/fire/managers/FireManager.d.ts +0 -76
- package/dist/FireScenePlugin/fire/type.d.ts +0 -51
- package/dist/FireScenePlugin/index.d.ts +0 -6
- package/dist/FireScenePlugin/smoke/config.d.ts +0 -8
- package/dist/FireScenePlugin/smoke/index.d.ts +0 -1
- package/dist/FireScenePlugin/smoke/managers/NormalSmokeManager.d.ts +0 -49
- package/dist/FireScenePlugin/smoke/managers/SmokeManager.d.ts +0 -89
- package/dist/FireScenePlugin/utils/areaBounds.d.ts +0 -14
- package/dist/FireScenePlugin/utils/particle.d.ts +0 -5
- package/dist/FireScenePlugin/utils/particleTexture.d.ts +0 -21
- package/dist/FireScenePlugin/utils/radialSpread.d.ts +0 -54
- package/dist/FireScenePlugin/utils/spread.d.ts +0 -17
- package/dist/GuideLinePlugin/Components/Tag.svelte.d.ts +0 -1
- package/dist/GuideLinePlugin/Controller.d.ts +0 -98
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +0 -36
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +0 -152
- package/dist/GuideLinePlugin/index.d.ts +0 -10
- package/dist/GuideLinePlugin/typing.d.ts +0 -199
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -36
- package/dist/GuideLinePlugin/utils/createPath.d.ts +0 -3
- package/dist/ItemLabelPlugin/ItemLabelComponent.svelte.d.ts +0 -1
- package/dist/ItemLabelPlugin/ItemLabelItem.svelte.d.ts +0 -1
- package/dist/ItemLabelPlugin/Plugin.d.ts +0 -4
- package/dist/ItemLabelPlugin/events.type.d.ts +0 -9
- package/dist/ItemLabelPlugin/index.d.ts +0 -9
- package/dist/ItemLabelPlugin/typings.d.ts +0 -65
- package/dist/ItemLabelPlugin/utils/getStrokeLength.d.ts +0 -5
- package/dist/ItemLabelPlugin/utils/isImpacted.d.ts +0 -8
- package/dist/ItemLabelPlugin/utils/parseData.d.ts +0 -3
- package/dist/ItemLabelPlugin/utils/transform2RenderData.d.ts +0 -3
- package/dist/MeasurePlugin/Controller.d.ts +0 -167
- package/dist/MeasurePlugin/index.d.ts +0 -17
- package/dist/MeasurePlugin/utils/MeasureMesh.d.ts +0 -29
- package/dist/MeasurePlugin/utils/validatePolygon.d.ts +0 -2
- package/dist/ModelChassisCompassPlugin/Plugin.d.ts +0 -19
- package/dist/ModelChassisCompassPlugin/index.d.ts +0 -4
- package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +0 -27
- package/dist/ModelEntryDoorGuidePlugin/index.d.ts +0 -4
- package/dist/ModelItemLabelPlugin/ItemLabelComponent.svelte.d.ts +0 -1
- package/dist/ModelItemLabelPlugin/ItemLabelItem.svelte.d.ts +0 -1
- package/dist/ModelItemLabelPlugin/ModelItemLabelPlugin.d.ts +0 -4
- package/dist/ModelItemLabelPlugin/events.type.d.ts +0 -9
- package/dist/ModelItemLabelPlugin/index.d.ts +0 -9
- package/dist/ModelItemLabelPlugin/typings.d.ts +0 -56
- package/dist/ModelItemLabelPlugin/utils/parseData.d.ts +0 -3
- package/dist/ModelMakerPlugin/Controller.d.ts +0 -194
- package/dist/ModelMakerPlugin/index.d.ts +0 -9
- package/dist/ModelMakerPlugin/item/baseItem.d.ts +0 -68
- package/dist/ModelMakerPlugin/item/boxItem.d.ts +0 -20
- package/dist/ModelMakerPlugin/item/polygonItem.d.ts +0 -19
- package/dist/ModelMakerPlugin/item/prismItem.d.ts +0 -18
- package/dist/ModelMakerPlugin/typings/config.d.ts +0 -26
- package/dist/ModelMakerPlugin/typings/index.d.ts +0 -52
- package/dist/ModelMakerPlugin/utils/Text.svelte.d.ts +0 -1
- package/dist/ModelMakerPlugin/utils/getTagOcclusionObjects.d.ts +0 -4
- package/dist/ModelMakerPlugin/utils/tagRenderer.d.ts +0 -3
- package/dist/ModelRoomLabelPlugin/Controller.d.ts +0 -38
- package/dist/ModelRoomLabelPlugin/RoomLabelItem.svelte.d.ts +0 -1
- package/dist/ModelRoomLabelPlugin/RoomLabelItems.svelte.d.ts +0 -1
- package/dist/ModelRoomLabelPlugin/index.d.ts +0 -12
- package/dist/ModelRoomLabelPlugin/utils/parseData.d.ts +0 -3
- package/dist/ModelTVVideoPlugin/Plugin.d.ts +0 -4
- package/dist/ModelTVVideoPlugin/index.d.ts +0 -5
- package/dist/ModelTVVideoPlugin/typings.d.ts +0 -27
- package/dist/ModelTVVideoPlugin/utils/parseData.d.ts +0 -3
- package/dist/ModelViewPlugin/Plugin.d.ts +0 -42
- package/dist/ModelViewPlugin/index.d.ts +0 -4
- package/dist/Object3DHelperPlugin/Controller.d.ts +0 -153
- package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +0 -23
- package/dist/Object3DHelperPlugin/index.d.ts +0 -6
- package/dist/PanoCompassPlugin/Controller.d.ts +0 -88
- package/dist/PanoCompassPlugin/getRoomInfoInstance.d.ts +0 -8
- package/dist/PanoCompassPlugin/index.d.ts +0 -7
- package/dist/PanoCompassPlugin/typings.d.ts +0 -58
- package/dist/PanoCursorRaycasterPlugin/index.d.ts +0 -48
- package/dist/PanoDoorLabelPlugin/Controller.d.ts +0 -42
- package/dist/PanoDoorLabelPlugin/DoorLabelItem.svelte.d.ts +0 -1
- package/dist/PanoDoorLabelPlugin/index.d.ts +0 -7
- package/dist/PanoDoorLabelPlugin/typings.d.ts +0 -38
- package/dist/PanoDoorLabelPlugin/utils.d.ts +0 -5
- package/dist/PanoMeasurePlugin/Components/Common/CircleButton.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Common/Switcher1.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Controller1.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Tip.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +0 -58
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +0 -58
- package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -38
- package/dist/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +0 -12
- package/dist/PanoMeasurePlugin/Controller/ViewController.d.ts +0 -13
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +0 -33
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +0 -115
- package/dist/PanoMeasurePlugin/Model/area.d.ts +0 -75
- package/dist/PanoMeasurePlugin/Model/index.d.ts +0 -45
- package/dist/PanoMeasurePlugin/Model/line.d.ts +0 -39
- package/dist/PanoMeasurePlugin/Model/point.d.ts +0 -10
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +0 -14
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +0 -47
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +0 -30
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +0 -26
- package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +0 -19
- package/dist/PanoMeasurePlugin/Modules/UIController/HTML.d.ts +0 -2
- package/dist/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +0 -19
- package/dist/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +0 -12
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +0 -34
- package/dist/PanoMeasurePlugin/Modules/UIController/mobileHTML.d.ts +0 -4
- package/dist/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +0 -15
- package/dist/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +0 -4
- package/dist/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +0 -42
- package/dist/PanoMeasurePlugin/index.d.ts +0 -14
- package/dist/PanoMeasurePlugin/typings/data.d.ts +0 -58
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +0 -55
- package/dist/PanoMeasurePlugin/typings/index.d.ts +0 -15
- package/dist/PanoMeasurePlugin/utils/constants.d.ts +0 -4
- package/dist/PanoMeasurePlugin/utils/dom/areaDom.d.ts +0 -22
- package/dist/PanoMeasurePlugin/utils/dom/base.d.ts +0 -29
- package/dist/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +0 -34
- package/dist/PanoMeasurePlugin/utils/findClosestPoint.d.ts +0 -10
- package/dist/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +0 -3
- package/dist/PanoMeasurePlugin/utils/line.d.ts +0 -18
- package/dist/PanoMeasurePlugin/utils/math.d.ts +0 -17
- package/dist/PanoMeasurePlugin/utils/mouseGroup.d.ts +0 -7
- package/dist/PanoMeasurePlugin/utils/ndc2Screen.d.ts +0 -6
- package/dist/PanoRulerPlugin/Plugin.d.ts +0 -34
- package/dist/PanoRulerPlugin/index.d.ts +0 -5
- package/dist/PanoRulerProPlugin/Controller.d.ts +0 -15
- package/dist/PanoRulerProPlugin/RulerItem.svelte.d.ts +0 -1
- package/dist/PanoRulerProPlugin/RulerItems.svelte.d.ts +0 -1
- package/dist/PanoRulerProPlugin/index.d.ts +0 -8
- package/dist/PanoSpatialTagPlugin/Components/origins.svelte.d.ts +0 -1
- package/dist/PanoSpatialTagPlugin/Components/tag.svelte.d.ts +0 -1
- package/dist/PanoSpatialTagPlugin/Plugin.d.ts +0 -35
- package/dist/PanoSpatialTagPlugin/index.d.ts +0 -5
- package/dist/PanoSpatialTagPlugin/store.d.ts +0 -1
- package/dist/PanoSpatialTagPlugin/typings.d.ts +0 -40
- package/dist/PanoTagPlugin/Archive/deprecated.d.ts +0 -73
- package/dist/PanoTagPlugin/Components/Common/Arrow.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Audio.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/AudioPlayer.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Icon/Icon.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Icon/PanoramaIcon.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Icon/animationUtils.d.ts +0 -9
- package/dist/PanoTagPlugin/Components/Common/Icon/audioIcon.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Line/Polyline.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Line/Straight.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Media.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/MediaItem.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Shadow.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/TagPoint.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/TagPopover/ArrowRightIcon.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/TagPopover/PanoramaIcon.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/TagPopover/ShareIcon.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/TagPopover/TagPopoverArrow.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/TagPopover/TagPopup.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/TagPopover/index.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/Text/MText.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Common/VideoIcon.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/AudioTag/AudioPoint.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/AudioTag/index.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/CustomTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/LinkTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/MarketingTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/MediaPlane.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/PanoramaTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/Tag/index.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/TagContainer.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/Components/TagItem.svelte.d.ts +0 -1
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +0 -282
- package/dist/PanoTagPlugin/controller/Tag/BoxTag.d.ts +0 -119
- package/dist/PanoTagPlugin/controller/Tag/MaskTag.d.ts +0 -258
- package/dist/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -10
- package/dist/PanoTagPlugin/controller/Tag/ModelTag.d.ts +0 -15
- package/dist/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +0 -51
- package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -46
- package/dist/PanoTagPlugin/controller/Tag/PolygonTag.d.ts +0 -112
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +0 -36
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +0 -93
- package/dist/PanoTagPlugin/controller/index.d.ts +0 -227
- package/dist/PanoTagPlugin/index.d.ts +0 -8
- package/dist/PanoTagPlugin/tag.config.d.ts +0 -7
- package/dist/PanoTagPlugin/typings/controller.d.ts +0 -112
- package/dist/PanoTagPlugin/typings/index.d.ts +0 -8
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +0 -64
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -422
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -176
- package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +0 -8
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -164
- package/dist/PanoTagPlugin/utils/Cache.d.ts +0 -17
- package/dist/PanoTagPlugin/utils/DebugUtil.d.ts +0 -12
- package/dist/PanoTagPlugin/utils/addDebugPoints.d.ts +0 -3
- package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +0 -31
- package/dist/PanoTagPlugin/utils/debounce.d.ts +0 -8
- package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +0 -14
- package/dist/PanoTagPlugin/utils/index.d.ts +0 -10
- package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +0 -118
- package/dist/PanoTagPlugin/utils/normalPositionToPositions.d.ts +0 -2
- package/dist/PanoTagPlugin/utils/planeNormal.d.ts +0 -4
- package/dist/PanoTagPlugin/utils/sculptDataToBoxPosition.d.ts +0 -6
- package/dist/PanoTagPlugin/utils/tag/adaptConfig.d.ts +0 -2
- package/dist/PanoTagPlugin/utils/tag/calculateTagConfig.d.ts +0 -7
- package/dist/PanoTagPlugin/utils/tag/canAutoPlayByOcclusion.d.ts +0 -17
- package/dist/PanoTagPlugin/utils/tag/format.d.ts +0 -5
- package/dist/PanoTagPlugin/utils/tag/getRaycasterStartPosition.d.ts +0 -12
- package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -19
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +0 -13
- package/dist/PanoVideoPlugin/Controller.d.ts +0 -59
- package/dist/PanoVideoPlugin/VideoMeshController.d.ts +0 -129
- package/dist/PanoVideoPlugin/index.d.ts +0 -21
- package/dist/PanoVideoPlugin/typings.d.ts +0 -70
- package/dist/PanoVideoPlugin/utils/index.d.ts +0 -9
- package/dist/PanoVideoPlugin/utils/shader.d.ts +0 -2
- package/dist/PipelinePlugin/Controller.d.ts +0 -108
- package/dist/PipelinePlugin/index.d.ts +0 -6
- package/dist/PipelinePlugin/typing/index.d.ts +0 -79
- package/dist/PipelinePlugin/utils/Objects/FlowPipe.d.ts +0 -34
- package/dist/PipelinePlugin/utils/Objects/Pipe.d.ts +0 -49
- package/dist/PipelinePlugin/utils/formatData.d.ts +0 -12
- package/dist/Sculpt/Editors/BoxMeshEditor.d.ts +0 -5
- package/dist/Sculpt/Editors/CircleMeshEditor.d.ts +0 -5
- package/dist/Sculpt/Editors/CylinderMeshEditor.d.ts +0 -5
- package/dist/Sculpt/Editors/PrismMeshEditor.d.ts +0 -5
- package/dist/Sculpt/Editors/RectangleMeshEditor.d.ts +0 -5
- package/dist/Sculpt/Meshes/Area.d.ts +0 -9
- package/dist/Sculpt/Meshes/Box.d.ts +0 -18
- package/dist/Sculpt/Meshes/Circle.d.ts +0 -24
- package/dist/Sculpt/Meshes/CircleWithEdge.d.ts +0 -11
- package/dist/Sculpt/Meshes/Cylinder.d.ts +0 -36
- package/dist/Sculpt/Meshes/Line.d.ts +0 -59
- package/dist/Sculpt/Meshes/LineWithDots.d.ts +0 -52
- package/dist/Sculpt/Meshes/Point.d.ts +0 -41
- package/dist/Sculpt/Meshes/Polygon.d.ts +0 -53
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +0 -33
- package/dist/Sculpt/Meshes/Polyline.d.ts +0 -47
- package/dist/Sculpt/Meshes/Prism.d.ts +0 -98
- package/dist/Sculpt/Meshes/Rectangle.d.ts +0 -19
- package/dist/Sculpt/Meshes/RectangleWithEdge.d.ts +0 -29
- package/dist/Sculpt/Objects/Base/Editor.d.ts +0 -54
- package/dist/Sculpt/Objects/Base/index.d.ts +0 -125
- package/dist/Sculpt/Objects/Box/index.d.ts +0 -48
- package/dist/Sculpt/Objects/Circle/index.d.ts +0 -32
- package/dist/Sculpt/Objects/Cylinder/index.d.ts +0 -34
- package/dist/Sculpt/Objects/Line/Editor.d.ts +0 -22
- package/dist/Sculpt/Objects/Line/index.d.ts +0 -48
- package/dist/Sculpt/Objects/Point/Editor.d.ts +0 -8
- package/dist/Sculpt/Objects/Point/index.d.ts +0 -39
- package/dist/Sculpt/Objects/Polygon/Editor.d.ts +0 -20
- package/dist/Sculpt/Objects/Polygon/index.d.ts +0 -80
- package/dist/Sculpt/Objects/Polyline/Editor.d.ts +0 -8
- package/dist/Sculpt/Objects/Polyline/index.d.ts +0 -47
- package/dist/Sculpt/Objects/Prism/index.d.ts +0 -57
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +0 -48
- package/dist/Sculpt/index.d.ts +0 -266
- package/dist/Sculpt/typings/index.d.ts +0 -72
- package/dist/Sculpt/typings/style.d.ts +0 -108
- package/dist/Sculpt/typings/utils.type.d.ts +0 -16
- package/dist/Sculpt/utils/Modules/Global.d.ts +0 -22
- package/dist/Sculpt/utils/data.d.ts +0 -7
- package/dist/Sculpt/utils/export.d.ts +0 -25
- package/dist/Sculpt/utils/removeAllTag.d.ts +0 -2
- package/dist/Sculpt/utils/renderDom.d.ts +0 -19
- package/dist/Sculpt/utils/sortPositionsByCameraPosition.d.ts +0 -5
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +0 -33
- package/dist/Sculpt/utils/three/RectangleGeometry.d.ts +0 -6
- package/dist/Sculpt/utils/three/rayOnLine.d.ts +0 -12
- package/dist/base/BasePlugin.d.ts +0 -124
- package/dist/base/BasePluginWithData.d.ts +0 -21
- package/dist/components/AreaLabel/LabelItem.svelte.d.ts +0 -1
- package/dist/components/PaintBrush/Controller.d.ts +0 -43
- package/dist/components/PaintBrush/index.d.ts +0 -27
- package/dist/components/PaintBrush/style.d.ts +0 -2
- package/dist/components/PaintBrush/typings.d.ts +0 -58
- package/dist/components/index.d.ts +0 -2
- package/dist/floorplan/Components/BaseImage.svelte.d.ts +0 -1
- package/dist/floorplan/Components/Camera.svelte.d.ts +0 -1
- package/dist/floorplan/Components/Compass.svelte.d.ts +0 -1
- package/dist/floorplan/Components/CurrentFloor.svelte.d.ts +0 -1
- package/dist/floorplan/Components/Items/Item.svelte.d.ts +0 -1
- package/dist/floorplan/Components/Items/Items.svelte.d.ts +0 -1
- package/dist/floorplan/Components/Main.svelte.d.ts +0 -1
- package/dist/floorplan/Components/MissingFloor.svelte.d.ts +0 -1
- package/dist/floorplan/Components/Normalmage.svelte.d.ts +0 -1
- package/dist/floorplan/Components/RoomHighlight/Room.svelte.d.ts +0 -1
- package/dist/floorplan/Components/RoomHighlight/RoomHighlight.svelte.d.ts +0 -1
- package/dist/floorplan/Components/RoomLabels/RoomLabel.svelte.d.ts +0 -1
- package/dist/floorplan/Components/RoomLabels/RoomLabels.svelte.d.ts +0 -1
- package/dist/floorplan/Components/RoomMaterials/RoomMaterial.svelte.d.ts +0 -1
- package/dist/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte.d.ts +0 -1
- package/dist/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte.d.ts +0 -1
- package/dist/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte.d.ts +0 -1
- package/dist/floorplan/Components/RoomMaterials/RoomTriangle.svelte.d.ts +0 -1
- package/dist/floorplan/Components/RuleLabels/RuleItem.svelte.d.ts +0 -1
- package/dist/floorplan/Components/RuleLabels/RuleLabels.svelte.d.ts +0 -1
- package/dist/floorplan/Components/StyledImage.svelte.d.ts +0 -1
- package/dist/floorplan/Components/SvgImage.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/Camera.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/FloorplanCompass.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/Main.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/ObserverDots.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/RoomLabelItem.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Components/RoomLabels.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanGuidePlugin/Controller.d.ts +0 -53
- package/dist/floorplan/FloorplanGuidePlugin/index.d.ts +0 -7
- package/dist/floorplan/FloorplanGuidePlugin/typing.d.ts +0 -196
- package/dist/floorplan/MapviewFloorplanPlugin/Controller.d.ts +0 -128
- package/dist/floorplan/MapviewFloorplanPlugin/index.d.ts +0 -7
- package/dist/floorplan/MapviewFloorplanPlugin/typing.d.ts +0 -1
- package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +0 -121
- package/dist/floorplan/ModelFloorplanPlugin/index.d.ts +0 -7
- package/dist/floorplan/ModelFloorplanPlugin/typing.d.ts +0 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte.d.ts +0 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +0 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +0 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte.d.ts +0 -1
- package/dist/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +0 -40
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.d.ts +0 -7
- package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +0 -70
- package/dist/floorplan/TopviewFloorplanPlugin/Controller.d.ts +0 -74
- package/dist/floorplan/TopviewFloorplanPlugin/index.d.ts +0 -7
- package/dist/floorplan/TopviewFloorplanPlugin/typing.d.ts +0 -11
- package/dist/floorplan/index.d.ts +0 -8
- package/dist/floorplan/typings/floorplanData.d.ts +0 -176
- package/dist/floorplan/typings/index.d.ts +0 -164
- package/dist/floorplan/utils/correctFiveState.d.ts +0 -18
- package/dist/floorplan/utils/formatData.d.ts +0 -5
- package/dist/floorplan/utils/formatPosition.d.ts +0 -36
- package/dist/floorplan/utils/styledFloorplan.d.ts +0 -2
- package/dist/index.cjs.js +0 -1715
- package/dist/index.umd.js +0 -1715
- package/dist/shared-utils/CSS3DRender/CSS3DObject.d.ts +0 -37
- package/dist/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +0 -16
- package/dist/shared-utils/CSS3DRender/OpacityMesh.d.ts +0 -6
- package/dist/shared-utils/CSS3DRender/index.d.ts +0 -41
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +0 -142
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +0 -105
- package/dist/shared-utils/Object3DHelper/Constants/color.d.ts +0 -12
- package/dist/shared-utils/Object3DHelper/Controller/BoundingBoxController.d.ts +0 -7
- package/dist/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +0 -7
- package/dist/shared-utils/Object3DHelper/Controller/MoveController.d.ts +0 -60
- package/dist/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +0 -45
- package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +0 -46
- package/dist/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +0 -66
- package/dist/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +0 -16
- package/dist/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +0 -43
- package/dist/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +0 -11
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +0 -24
- package/dist/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +0 -18
- package/dist/shared-utils/Object3DHelper/Helper/Objects/CenterHandle.d.ts +0 -23
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +0 -93
- package/dist/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +0 -65
- package/dist/shared-utils/Object3DHelper/Helper/index.d.ts +0 -5
- package/dist/shared-utils/Object3DHelper/index.d.ts +0 -52
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -63
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +0 -45
- package/dist/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +0 -5
- package/dist/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +0 -14
- package/dist/shared-utils/Object3DHelper/utils/cameraHooks.d.ts +0 -2
- package/dist/shared-utils/Object3DHelper/utils/direction.d.ts +0 -14
- package/dist/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +0 -2
- package/dist/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +0 -5
- package/dist/shared-utils/Object3DHelper/utils/getOrthographicCameraDirection.d.ts +0 -8
- package/dist/shared-utils/Object3DHelper/utils/getPoseFromCamera.d.ts +0 -8
- package/dist/shared-utils/Object3DHelper/utils/index.d.ts +0 -8
- package/dist/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +0 -5
- package/dist/shared-utils/Object3DHelper/utils/setObjectQuaternion.d.ts +0 -8
- package/dist/shared-utils/Object3DHelper/utils/solidGuide.d.ts +0 -27
- package/dist/shared-utils/Subscribe.d.ts +0 -68
- package/dist/shared-utils/Utils/BaseUtil.d.ts +0 -6
- package/dist/shared-utils/Utils/FiveUtil.d.ts +0 -11
- package/dist/shared-utils/Utils/WorkUtil.d.ts +0 -36
- package/dist/shared-utils/animationFrame/BetterTween.d.ts +0 -12
- package/dist/shared-utils/animationFrame/index.d.ts +0 -17
- package/dist/shared-utils/changeModelCanvasOpacity.d.ts +0 -2
- package/dist/shared-utils/createCanvasTextTexture.d.ts +0 -8
- package/dist/shared-utils/createLine/index.d.ts +0 -3
- package/dist/shared-utils/exports.d.ts +0 -2
- package/dist/shared-utils/five/FiveDomEvents.d.ts +0 -138
- package/dist/shared-utils/five/FiveLine.d.ts +0 -10
- package/dist/shared-utils/five/FivePuppet.d.ts +0 -64
- package/dist/shared-utils/five/calculateThreeMouse.d.ts +0 -11
- package/dist/shared-utils/five/changeMode.d.ts +0 -3
- package/dist/shared-utils/five/fiveEveryReadyListener.d.ts +0 -2
- package/dist/shared-utils/five/fiveLoaded.d.ts +0 -2
- package/dist/shared-utils/five/fiveModelLoad.d.ts +0 -9
- package/dist/shared-utils/five/getFiveFromParentChain.d.ts +0 -8
- package/dist/shared-utils/five/getFiveModel.d.ts +0 -2
- package/dist/shared-utils/five/getFloorIndex.d.ts +0 -4
- package/dist/shared-utils/five/getFloorMesh.d.ts +0 -3
- package/dist/shared-utils/five/getPosition.d.ts +0 -24
- package/dist/shared-utils/five/getRaycasterByNdcPosition.d.ts +0 -6
- package/dist/shared-utils/five/index.d.ts +0 -12
- package/dist/shared-utils/five/initialCSS3DRender.d.ts +0 -1
- package/dist/shared-utils/five/lookObject.d.ts +0 -15
- package/dist/shared-utils/five/lookPoint.d.ts +0 -11
- package/dist/shared-utils/five/mode.d.ts +0 -3
- package/dist/shared-utils/five/transformPosition.d.ts +0 -2
- package/dist/shared-utils/five/vector3ToScreen.d.ts +0 -5
- package/dist/shared-utils/fontSize.d.ts +0 -185
- package/dist/shared-utils/getPointFromHammerEvent.d.ts +0 -10
- package/dist/shared-utils/getPxmm.d.ts +0 -19
- package/dist/shared-utils/index.d.ts +0 -11
- package/dist/shared-utils/math/Rectangle.d.ts +0 -27
- package/dist/shared-utils/math/convexHull.d.ts +0 -5
- package/dist/shared-utils/math/index.d.ts +0 -4
- package/dist/shared-utils/math/planimetry.d.ts +0 -116
- package/dist/shared-utils/math/pointsIsRectangle.d.ts +0 -2
- package/dist/shared-utils/object3d2LocalMatrix.d.ts +0 -12
- package/dist/shared-utils/offscreenCanvas.d.ts +0 -2
- package/dist/shared-utils/positionToVector3.d.ts +0 -17
- package/dist/shared-utils/svelte/resizeObserver.d.ts +0 -2
- package/dist/shared-utils/tag.d.ts +0 -99
- package/dist/shared-utils/three/CSS3DRenderer/index.d.ts +0 -23
- package/dist/shared-utils/three/Extras/Core/Interpolations.d.ts +0 -11
- package/dist/shared-utils/three/Extras/Curves/BezierCurve3.d.ts +0 -13
- package/dist/shared-utils/three/FBXLoader/index.d.ts +0 -6
- package/dist/shared-utils/three/FragmentTransparencyMaterial.d.ts +0 -18
- package/dist/shared-utils/three/GLTFLoader.d.ts +0 -9
- package/dist/shared-utils/three/IObject3D.d.ts +0 -11
- package/dist/shared-utils/three/LegacyPointHelper.d.ts +0 -22
- package/dist/shared-utils/three/Magnifier.d.ts +0 -79
- package/dist/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/dist/shared-utils/three/PointSelector/index.d.ts +0 -182
- package/dist/shared-utils/three/PointSelector/utils/PointHelper.d.ts +0 -31
- package/dist/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +0 -31
- package/dist/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +0 -73
- package/dist/shared-utils/three/PointSelector/utils/html.d.ts +0 -4
- package/dist/shared-utils/three/PointSelector/utils/typing.d.ts +0 -8
- package/dist/shared-utils/three/Quadrangle.d.ts +0 -20
- package/dist/shared-utils/three/addIfNotExists.d.ts +0 -2
- package/dist/shared-utils/three/applyObjectMatrixWorld.d.ts +0 -3
- package/dist/shared-utils/three/blink.d.ts +0 -278
- package/dist/shared-utils/three/boundingBox.d.ts +0 -25
- package/dist/shared-utils/three/centerPoint.d.ts +0 -2
- package/dist/shared-utils/three/closeVectors.d.ts +0 -2
- package/dist/shared-utils/three/core/Five_LineMaterial2.d.ts +0 -20
- package/dist/shared-utils/three/core/Line2.d.ts +0 -13
- package/dist/shared-utils/three/core/LineGeometry.d.ts +0 -13
- package/dist/shared-utils/three/core/LineMaterial.d.ts +0 -15
- package/dist/shared-utils/three/core/LineMaterial2.d.ts +0 -15
- package/dist/shared-utils/three/core/LineSegments.d.ts +0 -9
- package/dist/shared-utils/three/core/Object3D.d.ts +0 -8
- package/dist/shared-utils/three/core/PrismAnimationGeometry.d.ts +0 -25
- package/dist/shared-utils/three/core/PrismGeometry.d.ts +0 -22
- package/dist/shared-utils/three/core/Raycaster.d.ts +0 -6
- package/dist/shared-utils/three/core/Sphere.d.ts +0 -4
- package/dist/shared-utils/three/earcut3D.d.ts +0 -2
- package/dist/shared-utils/three/filterVisibleIntersections.d.ts +0 -3
- package/dist/shared-utils/three/generatePolygonGeometry.d.ts +0 -9
- package/dist/shared-utils/three/geometryUtil.d.ts +0 -15
- package/dist/shared-utils/three/getCoords.d.ts +0 -9
- package/dist/shared-utils/three/getIntersect.d.ts +0 -22
- package/dist/shared-utils/three/getNormal.d.ts +0 -5
- package/dist/shared-utils/three/getObjectVisible.d.ts +0 -5
- package/dist/shared-utils/three/getPositionsByObjectFit.d.ts +0 -3
- package/dist/shared-utils/three/getRaycaster.d.ts +0 -6
- package/dist/shared-utils/three/getTextureLoader.d.ts +0 -6
- package/dist/shared-utils/three/index.d.ts +0 -15
- package/dist/shared-utils/three/loadTexture.d.ts +0 -6
- package/dist/shared-utils/three/loadVideoTexture.d.ts +0 -9
- package/dist/shared-utils/three/recurveFindObject.d.ts +0 -2
- package/dist/shared-utils/three/temp.d.ts +0 -2
- package/dist/shared-utils/three/transformPositionToVector3.d.ts +0 -7
- package/dist/shared-utils/three/transformToMeshBasicMaterial.d.ts +0 -2
- package/dist/shared-utils/three/vector3ToArray.d.ts +0 -3
- package/dist/shared-utils/three/vectorIsEqual.d.ts +0 -2
- package/dist/shared-utils/translateMode/getDistanceFromModel.d.ts +0 -2
- package/dist/shared-utils/typescript/entries.d.ts +0 -2
- package/dist/shared-utils/vectorToCoordinate.d.ts +0 -7
- package/dist/typings/typings.d.ts +0 -15
- package/dist/typings/utils.type.d.ts +0 -4
- package/docs/.nojekyll +0 -1
- package/docs/assets/custom.css +0 -0
- package/docs/assets/highlight.css +0 -127
- package/docs/assets/icons.js +0 -18
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/main.js +0 -60
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1493
- package/docs/classes/AnimationScriptAdapterSafetyError.html +0 -4
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -59
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -71
- package/docs/classes/CSS3DRender.html +0 -100
- package/docs/classes/DigitalHuman.html +0 -43
- package/docs/classes/DigitalPerformanceV2.DigitalPerformanceNameplate.html +0 -25
- package/docs/classes/DigitalPerformanceV2.DigitalPerformanceV2PluginController.html +0 -178
- package/docs/classes/DigitalPlayground.html +0 -25
- package/docs/classes/DigitalStateMachine.html +0 -3
- package/docs/classes/FireControl.html +0 -56
- package/docs/classes/FireScenePlayer.html +0 -10
- package/docs/classes/GuideLineItem.GuideLineItem.html +0 -21
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -72
- package/docs/classes/ModelMakerPluginInstance.html +0 -106
- package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +0 -52
- package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +0 -52
- package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +0 -53
- package/docs/classes/ModelRoomLabelController.html +0 -19
- package/docs/classes/MoveController.html +0 -45
- package/docs/classes/Object3DHelperController.html +0 -45
- package/docs/classes/PaintBrush.html +0 -15
- package/docs/classes/PanoMeasurePluginLine.html +0 -24
- package/docs/classes/PanoMeasurePluginModel.html +0 -23
- package/docs/classes/PanoMeasurePluginPoint.html +0 -7
- package/docs/classes/PanoMeasurePluginPolyline.html +0 -27
- package/docs/classes/PanoTagPluginController.html +0 -129
- package/docs/classes/Sculpt.html +0 -79
- package/docs/classes/Util.BetterTween.html +0 -6
- package/docs/classes/Util.FiveDomEvents.html +0 -13
- package/docs/classes/Util.FivePuppet.html +0 -20
- package/docs/classes/Util.Interval.html +0 -11
- package/docs/classes/Util.LegacyPointHelper.html +0 -7
- package/docs/classes/Util.LightTag.html +0 -47
- package/docs/classes/Util.LineSegments.html +0 -4
- package/docs/classes/Util.Magnifier.html +0 -26
- package/docs/classes/Util.Object3D.html +0 -8
- package/docs/classes/Util.PointDomHelper.html +0 -8
- package/docs/classes/Util.PointHelper.html +0 -10
- package/docs/classes/Util.PointSelector.html +0 -71
- package/docs/classes/Util.PointSelectorHelper.html +0 -14
- package/docs/classes/Util.Rectangle.html +0 -12
- package/docs/classes/Util.sculpt.BaseEditor.html +0 -17
- package/docs/classes/Util.sculpt.BoxMesh.html +0 -48
- package/docs/classes/Util.sculpt.BoxMeshEditor.html +0 -18
- package/docs/classes/Util.sculpt.CircleMesh.html +0 -26
- package/docs/classes/Util.sculpt.CircleMeshEditor.html +0 -18
- package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +0 -26
- package/docs/classes/Util.sculpt.CylinderMesh.html +0 -25
- package/docs/classes/Util.sculpt.CylinderMeshEditor.html +0 -18
- package/docs/classes/Util.sculpt.LineMesh.html +0 -34
- package/docs/classes/Util.sculpt.PointMesh.html +0 -24
- package/docs/classes/Util.sculpt.PolygonMesh.html +0 -40
- package/docs/classes/Util.sculpt.PrismMesh.html +0 -48
- package/docs/classes/Util.sculpt.PrismMeshEditor.html +0 -18
- package/docs/classes/Util.sculpt.RectangleMesh.html +0 -41
- package/docs/classes/Util.sculpt.RectangleMeshEditor.html +0 -18
- package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +0 -44
- package/docs/classes/WalkController.html +0 -42
- package/docs/enums/CameraMovementEffect.html +0 -4
- package/docs/enums/ContentType.html +0 -36
- package/docs/enums/DIRECTION.html +0 -5
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -5
- package/docs/enums/DimensionType.html +0 -4
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -4
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -5
- package/docs/enums/PaintBrushTypeEnum.html +0 -4
- package/docs/enums/PointType.html +0 -4
- package/docs/enums/Rotation.html +0 -5
- package/docs/functions/AreaMakerPlugin.html +0 -1
- package/docs/functions/CSS3DRenderPlugin.html +0 -1
- package/docs/functions/CameraMovementPlugin.html +0 -2
- package/docs/functions/CruisePlugin.html +0 -1
- package/docs/functions/CurrentPanoImagePlugin.html +0 -1
- package/docs/functions/DigitalPerformancePlugin.html +0 -1
- package/docs/functions/DigitalPerformanceV2.DigitalPerformanceV2Plugin.html +0 -1
- package/docs/functions/DigitalPerformanceV2.normalizeDigitalPerformanceName.html +0 -2
- package/docs/functions/FloorplanGuidePlugin.html +0 -1
- package/docs/functions/GuideLinePlugin.html +0 -1
- package/docs/functions/ItemLabelPlugin.html +0 -1
- package/docs/functions/MapviewFloorplanPlugin.html +0 -1
- package/docs/functions/MeasurePlugin.html +0 -1
- package/docs/functions/ModelChassisCompassPlugin.html +0 -2
- package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -2
- package/docs/functions/ModelFloorplanPlugin.html +0 -1
- package/docs/functions/ModelItemLabelPlugin.html +0 -1
- package/docs/functions/ModelMakerPlugin.html +0 -1
- package/docs/functions/ModelRoomLabelPlugin.html +0 -1
- package/docs/functions/ModelTVVideoPlugin.html +0 -1
- package/docs/functions/ModelViewPlugin.html +0 -2
- package/docs/functions/MovePlugin.html +0 -1
- package/docs/functions/Object3DHelperPlugin.html +0 -1
- package/docs/functions/PanoCompassPlugin.html +0 -1
- package/docs/functions/PanoCursorRaycasterPlugin.html +0 -2
- package/docs/functions/PanoDoorLabelPlugin.html +0 -1
- package/docs/functions/PanoFloorplanRadarPlugin.html +0 -1
- package/docs/functions/PanoMeasurePlugin.html +0 -1
- package/docs/functions/PanoRulerPlugin.html +0 -2
- package/docs/functions/PanoRulerProPlugin.html +0 -2
- package/docs/functions/PanoSpatialTagPlugin.html +0 -2
- package/docs/functions/PanoTagPlugin.html +0 -1
- package/docs/functions/PanoVideoPlugin.html +0 -10
- package/docs/functions/PipelinePlugin.html +0 -1
- package/docs/functions/SculptPlugin.html +0 -2
- package/docs/functions/SculptPluginForFive.html +0 -2
- package/docs/functions/TopviewFloorplanPlugin.html +0 -1
- package/docs/functions/Util.awaitNextFrame.html +0 -1
- package/docs/functions/Util.blink.html +0 -13
- package/docs/functions/Util.blinkWithPreset.html +0 -6
- package/docs/functions/Util.bounding.html +0 -1
- package/docs/functions/Util.boundingBox.html +0 -1
- package/docs/functions/Util.boundingSphere.html +0 -1
- package/docs/functions/Util.boxVertex.html +0 -7
- package/docs/functions/Util.boxVertexes.html +0 -1
- package/docs/functions/Util.checkFiveModelLoaded.html +0 -2
- package/docs/functions/Util.cleanup.html +0 -3
- package/docs/functions/Util.convexHull.html +0 -2
- package/docs/functions/Util.equal.html +0 -5
- package/docs/functions/Util.fiveModelIsLoaded.html +0 -2
- package/docs/functions/Util.generatePolygonGeometry.html +0 -2
- package/docs/functions/Util.getCoordsFromClient.html +0 -1
- package/docs/functions/Util.getCoordsFromElement.html +0 -1
- package/docs/functions/Util.getFrameTime.html +0 -3
- package/docs/functions/Util.getGeometryArea.html +0 -1
- package/docs/functions/Util.getGeometryInfo.html +0 -1
- package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -1
- package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -1
- package/docs/functions/Util.initialCSS3DRender.html +0 -1
- package/docs/functions/Util.inside.html +0 -1
- package/docs/functions/Util.isModelLike.html +0 -1
- package/docs/functions/Util.isNil.html +0 -2
- package/docs/functions/Util.isPanoramaLike.html +0 -1
- package/docs/functions/Util.lookObject.html +0 -7
- package/docs/functions/Util.lookPoint.html +0 -5
- package/docs/functions/Util.nextFrame.html +0 -1
- package/docs/functions/Util.notNil.html +0 -2
- package/docs/functions/Util.reblink.html +0 -13
- package/docs/functions/Util.replaceStaticPrefix.html +0 -8
- package/docs/functions/Util.requestAnimationFrameInterval.html +0 -5
- package/docs/functions/Util.sculpt.createBox.html +0 -1
- package/docs/functions/Util.sculpt.createCircle.html +0 -1
- package/docs/functions/Util.sculpt.createCylinder.html +0 -1
- package/docs/functions/Util.sculpt.createLine.html +0 -2
- package/docs/functions/Util.sculpt.createPoint.html +0 -1
- package/docs/functions/Util.sculpt.createPolygon.html +0 -1
- package/docs/functions/Util.sculpt.createPrism.html +0 -1
- package/docs/functions/Util.sculpt.createRectangle.html +0 -2
- package/docs/functions/Util.sculpt.transformUnit.html +0 -4
- package/docs/functions/Util.sculpt.transformUnitSquare.html +0 -1
- package/docs/functions/Util.tag.html +0 -1
- package/docs/functions/Util.triangleArea.html +0 -2
- package/docs/functions/Util.triangleCenter.html +0 -2
- package/docs/functions/Util.tweenProgress.html +0 -1
- package/docs/functions/Util.uuid.html +0 -2
- package/docs/functions/Util.waitFiveModelLoaded.html +0 -2
- package/docs/functions/Util.worldBounding.html +0 -1
- package/docs/functions/Util.worldBoundingBox.html +0 -1
- package/docs/functions/Util.worldBoundingSphere.html +0 -1
- package/docs/functions/classifyMovementTrack.html +0 -1
- package/docs/functions/createPolyline.html +0 -2
- package/docs/functions/getAreaBox3.html +0 -2
- package/docs/functions/getAreaVertices.html +0 -2
- package/docs/functions/getEffectivePointActionDuration.html +0 -1
- package/docs/functions/getEntryArea.html +0 -2
- package/docs/functions/getMovementActionDuration.html +0 -1
- package/docs/functions/hasMovementV2Signal.html +0 -1
- package/docs/functions/isConverterSafeMovementMatrix.html +0 -1
- package/docs/functions/pluginFlag.html +0 -1
- package/docs/functions/transformAnimationDetailToDigitalScript.html +0 -3
- package/docs/functions/transformScriptData.html +0 -4
- package/docs/functions/validatePolygon.html +0 -1
- package/docs/hierarchy.html +0 -1
- package/docs/index.html +0 -69
- package/docs/interfaces/AnimationScriptAdapterOptions.html +0 -6
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -4
- package/docs/interfaces/AreaMakerPluginType.Config.html +0 -8
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -25
- package/docs/interfaces/AreaMakerPluginType.Params.html +0 -4
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -20
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -13
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -9
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -3
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -3
- package/docs/interfaces/AreaMakerPluginType.State.html +0 -8
- package/docs/interfaces/BoxAnimationConfig.html +0 -6
- package/docs/interfaces/BoxPosition.html +0 -8
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -9
- package/docs/interfaces/CSS3DRenderPluginState.html +0 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +0 -11
- package/docs/interfaces/ChapterLocation.html +0 -4
- package/docs/interfaces/ChapterTimeInfo.html +0 -7
- package/docs/interfaces/ContentTypeMapInterface.html +0 -83
- package/docs/interfaces/CruisePluginTypes.Config.html +0 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -8
- package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -33
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -6
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -16
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -19
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -20
- package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -2
- package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -15
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -14
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -15
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -4
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -3
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -7
- package/docs/interfaces/DigitalCameraKeyframe.html +0 -4
- package/docs/interfaces/DigitalCameraPlayer.html +0 -4
- package/docs/interfaces/DigitalCameraState.html +0 -4
- package/docs/interfaces/DigitalChapter.html +0 -3
- package/docs/interfaces/DigitalDataPlayer.html +0 -4
- package/docs/interfaces/DigitalDataState.html +0 -4
- package/docs/interfaces/DigitalEffectKeyframe.html +0 -4
- package/docs/interfaces/DigitalEffectState.html +0 -8
- package/docs/interfaces/DigitalItemKeyframe.html +0 -6
- package/docs/interfaces/DigitalItemState.html +0 -7
- package/docs/interfaces/DigitalModelKeyframe.html +0 -9
- package/docs/interfaces/DigitalModelPlayer.html +0 -10
- package/docs/interfaces/DigitalModelPlayerEffect.html +0 -4
- package/docs/interfaces/DigitalModelPlayerItem.html +0 -6
- package/docs/interfaces/DigitalModelState.html +0 -8
- package/docs/interfaces/DigitalPerformancePluginConfig.html +0 -9
- package/docs/interfaces/DigitalPerformanceV2.CameraState.html +0 -13
- package/docs/interfaces/DigitalPerformanceV2.DigitalCameraKeyframe.html +0 -23
- package/docs/interfaces/DigitalPerformanceV2.DigitalCameraPlayer.html +0 -7
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateBinding.html +0 -5
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateOptions.html +0 -22
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceNameplateRenderContext.html +0 -5
- package/docs/interfaces/DigitalPerformanceV2.DigitalPerformanceV2PluginConfig.html +0 -15
- package/docs/interfaces/DigitalPerformanceV2.GroupChapterTimeInfo.html +0 -13
- package/docs/interfaces/DigitalPerformanceV2.GroupProgress.html +0 -18
- package/docs/interfaces/DigitalPerformanceV2.V2Progress.html +0 -10
- package/docs/interfaces/DigitalScript.html +0 -5
- package/docs/interfaces/DigitalSubTitleKeyframe.html +0 -7
- package/docs/interfaces/DigitalSubTitlePlayer.html +0 -4
- package/docs/interfaces/DigitalSubTitleState.html +0 -6
- package/docs/interfaces/ExtendedAnimationConfig.html +0 -5
- package/docs/interfaces/FireArea.html +0 -5
- package/docs/interfaces/FireModel.html +0 -9
- package/docs/interfaces/FireSceneConfig.html +0 -9
- package/docs/interfaces/FireSequencePlayerOptions.html +0 -4
- package/docs/interfaces/FireSequenceStep.html +0 -5
- package/docs/interfaces/FireVector3.html +0 -4
- package/docs/interfaces/FloorplanBounding.html +0 -9
- package/docs/interfaces/FloorplanData.html +0 -8
- package/docs/interfaces/FloorplanEntrance.html +0 -14
- package/docs/interfaces/FloorplanExtraObject.html +0 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +0 -5
- package/docs/interfaces/FloorplanFloorData.html +0 -9
- package/docs/interfaces/FloorplanImagePosition.html +0 -4
- package/docs/interfaces/FloorplanObserver.html +0 -9
- package/docs/interfaces/FloorplanOutlineItem.html +0 -6
- package/docs/interfaces/FloorplanPosition.html +0 -4
- package/docs/interfaces/FloorplanRoomItem.html +0 -24
- package/docs/interfaces/FloorplanRoomLabelItem.html +0 -6
- package/docs/interfaces/FloorplanServerBounding.html +0 -9
- package/docs/interfaces/FloorplanServerComputedData.html +0 -6
- package/docs/interfaces/FloorplanServerData.html +0 -5
- package/docs/interfaces/FloorplanServerDoorItem.html +0 -6
- package/docs/interfaces/FloorplanServerDoorPosition.html +0 -4
- package/docs/interfaces/FloorplanServerEntrance.html +0 -14
- package/docs/interfaces/FloorplanServerFloorData.html +0 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +0 -4
- package/docs/interfaces/FloorplanServerObserver.html +0 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +0 -7
- package/docs/interfaces/FloorplanServerPosition.html +0 -4
- package/docs/interfaces/FloorplanServerRoomItem.html +0 -27
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -6
- package/docs/interfaces/FloorplanServerStyledFloorplan.html +0 -3
- package/docs/interfaces/FloorplanServerStyledImage.html +0 -6
- package/docs/interfaces/GlobalProgress.html +0 -7
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -4
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -7
- package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -13
- package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +0 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -2
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -32
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -4
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -5
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -42
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -3
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -57
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -1
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -2
- package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +0 -13
- package/docs/interfaces/HelperOffset.html +0 -4
- package/docs/interfaces/ImagePlaneGroup.html +0 -3
- package/docs/interfaces/ItemLabelPluginData.html +0 -2
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -7
- package/docs/interfaces/ItemLabelPluginParametersType.html +0 -5
- package/docs/interfaces/LegacyScriptTransformer.html +0 -2
- package/docs/interfaces/MinMax.html +0 -3
- package/docs/interfaces/ModelChassisCompassPluginData.html +0 -3
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -4
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -3
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -4
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -4
- package/docs/interfaces/ModelItemLabelPluginData.html +0 -2
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -7
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -3
- package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +0 -17
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -18
- package/docs/interfaces/ModelMakerPluginType.ModelMakerPluginConfig.html +0 -19
- package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +0 -23
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -11
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -10
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -3
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -10
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -10
- package/docs/interfaces/ModelMakerPluginType.State.html +0 -8
- package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +0 -11
- package/docs/interfaces/ModelRoomLabelPluginData.html +0 -2
- package/docs/interfaces/ModelTVVideoPluginData.html +0 -5
- package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -4
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -3
- package/docs/interfaces/ModelViewPluginExportType.html +0 -8
- package/docs/interfaces/Object3DHelperState.html +0 -4
- package/docs/interfaces/ObjectHelperControllers.html +0 -5
- package/docs/interfaces/PaintBrushAction.html +0 -14
- package/docs/interfaces/PaintBrushConfigs.html +0 -8
- package/docs/interfaces/PaintBrushState.html +0 -6
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -16
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -1
- package/docs/interfaces/PanoMeasureParameterType.html +0 -21
- package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -4
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -4
- package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -3
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +0 -6
- package/docs/interfaces/PanoRulerPluginOptions.html +0 -3
- package/docs/interfaces/PanoRulerPluginParameterType.html +0 -4
- package/docs/interfaces/PanoRulerProPluginExportType.html +0 -5
- package/docs/interfaces/PanoRulerProPluginOptions.html +0 -3
- package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -3
- package/docs/interfaces/PanoRulerProPluginState.html +0 -4
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -1
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -1
- package/docs/interfaces/PanoSpatialTagPluginData.html +0 -7
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -6
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -9
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -6
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -9
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -7
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -6
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -3
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -2
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -15
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -2
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -14
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -13
- package/docs/interfaces/PlaybackController.html +0 -4
- package/docs/interfaces/PlaybackManager.html +0 -2
- package/docs/interfaces/PlaybackSession.html +0 -5
- package/docs/interfaces/PluginEventMap.html +0 -16
- package/docs/interfaces/Point.html +0 -4
- package/docs/interfaces/ProgressBarEvents.html +0 -7
- package/docs/interfaces/Room.html +0 -5
- package/docs/interfaces/RoomInfo.html +0 -3
- package/docs/interfaces/RoomLabel.html +0 -16
- package/docs/interfaces/RoomRules.html +0 -1
- package/docs/interfaces/Rooms.html +0 -1
- package/docs/interfaces/Scissor.html +0 -13
- package/docs/interfaces/SculptConfig.html +0 -19
- package/docs/interfaces/State.html +0 -7
- package/docs/interfaces/StyledFloorplan.html +0 -3
- package/docs/interfaces/StyledFloorplanImage.html +0 -6
- package/docs/interfaces/StyledFloorplanRoomLabel.html +0 -8
- package/docs/interfaces/TagCacheInterface.html +0 -9
- package/docs/interfaces/TagConfig.html +0 -189
- package/docs/interfaces/TagGLTFObjectGroup.html +0 -3
- package/docs/interfaces/TagIconAnimationConfig.html +0 -7
- package/docs/interfaces/TagIconUrl.html +0 -22
- package/docs/interfaces/TagObjectGroup.html +0 -3
- package/docs/interfaces/TagState.html +0 -3
- package/docs/interfaces/TagStyle.html +0 -17
- package/docs/interfaces/Tags.html +0 -8
- package/docs/interfaces/TemporaryState.html +0 -2
- package/docs/interfaces/TraceManager.html +0 -6
- package/docs/interfaces/TracePoint.html +0 -3
- package/docs/interfaces/Util.AnimeInstance.html +0 -14
- package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -21
- package/docs/interfaces/Util.EventHandlerConfig.html +0 -21
- package/docs/interfaces/Util.FiveDomEvent.html +0 -7
- package/docs/interfaces/Util.FiveDomEventMap.html +0 -20
- package/docs/interfaces/Util.LegacyMouseGroupParameter.html +0 -4
- package/docs/interfaces/Util.MagnifierParameter.html +0 -13
- package/docs/interfaces/Util.MouseGroupParameter.html +0 -4
- package/docs/interfaces/Util.ObjectInitialState.html +0 -9
- package/docs/interfaces/Util.PointIntersection.html +0 -21
- package/docs/interfaces/Util.PointSelectorHelperConfig.html +0 -6
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -27
- package/docs/modules/AreaMakerPluginType.html +0 -17
- package/docs/modules/CruisePluginTypes.html +0 -14
- package/docs/modules/CurrentPanoImagePluginType.html +0 -6
- package/docs/modules/DigitalPerformanceV2.html +0 -22
- package/docs/modules/GuideLineItem.html +0 -2
- package/docs/modules/GuideLineModeItem.html +0 -3
- package/docs/modules/GuideLinePluginType.html +0 -25
- package/docs/modules/ModelMakerPluginType.html +0 -22
- package/docs/modules/PanoVideoPluginType.html +0 -8
- package/docs/modules/SculptData.html +0 -9
- package/docs/modules/SculptType.html +0 -2
- package/docs/modules/Util.html +0 -91
- package/docs/modules/Util.sculpt.html +0 -27
- package/docs/modules.html +0 -382
- package/docs/types/AddObject3DHelperConfig.html +0 -19
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -7
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +0 -1
- package/docs/types/AreaMakerPluginType.PluginData.html +0 -2
- package/docs/types/AreaMakerPluginType.ServerData.html +0 -2
- package/docs/types/ArrayPosition.html +0 -1
- package/docs/types/AudioAppearance.html +0 -1
- package/docs/types/BoxTag.html +0 -2
- package/docs/types/CSS3DRenderExportType.html +0 -1
- package/docs/types/CSS3DRenderPluginExportType.html +0 -1
- package/docs/types/CSS3DRenderPluginParameterType.html +0 -1
- package/docs/types/CanonicalMovementTrackPlan.html +0 -1
- package/docs/types/ClassFunctionParameters.html +0 -1
- package/docs/types/Color.html +0 -1
- package/docs/types/ContentTypeConfigKey.html +0 -1
- package/docs/types/ContentTypeConfigKeySplit.html +0 -1
- package/docs/types/ContentTypeMap.html +0 -1
- package/docs/types/Create3DDomContainerReturnType.html +0 -1
- package/docs/types/Create3DElementReturnType.html +0 -1
- package/docs/types/CruisePluginExportType.html +0 -1
- package/docs/types/CruisePluginTypes.CruiseData.html +0 -6
- package/docs/types/CruisePluginTypes.MoveEffect.html +0 -1
- package/docs/types/CurrentPanoImagePluginExportType.html +0 -1
- package/docs/types/DeprecatedMediaPlaneProperty.html +0 -3
- package/docs/types/DeprecatedTagProperty.html +0 -3
- package/docs/types/DigitalPerformancePluginExportInterface.html +0 -1
- package/docs/types/DigitalPerformancePluginParamsInterface.html +0 -1
- package/docs/types/DigitalPerformanceV2.CameraCoordinateSpace.html +0 -7
- package/docs/types/DigitalPerformanceV2.CameraTransition.html +0 -7
- package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginExportInterface.html +0 -1
- package/docs/types/DigitalPerformanceV2.DigitalPerformanceV2PluginParamsInterface.html +0 -1
- package/docs/types/DigitalPerformanceV2.V2ProgressListener.html +0 -1
- package/docs/types/Direction-1.html +0 -1
- package/docs/types/Direction4.html +0 -1
- package/docs/types/ElementRenderer.html +0 -2
- package/docs/types/FireModelType.html +0 -5
- package/docs/types/FireSequenceKind.html +0 -3
- package/docs/types/FireSpreadBounds.html +0 -2
- package/docs/types/FloorplanAffineTransform.html +0 -1
- package/docs/types/FloorplanGuidePluginParameterType.html +0 -1
- package/docs/types/FloorplanGuidePluginReturnType.html +0 -1
- package/docs/types/FloorplanRuleLabels.html +0 -2
- package/docs/types/FloorplanServerAffineTransform.html +0 -1
- package/docs/types/FloorplanServerRuleLabels.html +0 -1
- package/docs/types/GuideLinePluginExportType.html +0 -1
- package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -2
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -1
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -1
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -2
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -2
- package/docs/types/GuideLinePluginType.PathItem.html +0 -2
- package/docs/types/GuideLinePluginType.PluginData.html +0 -2
- package/docs/types/GuideLinePluginType.RouteConfig.html +0 -4
- package/docs/types/HelperEventMap.html +0 -1
- package/docs/types/InternalHelperEventMap.html +0 -1
- package/docs/types/KeyframeType.html +0 -1
- package/docs/types/MapviewFloorplanPluginParameterType.html +0 -1
- package/docs/types/MapviewFloorplanPluginReturnType.html +0 -1
- package/docs/types/MaskPosition.html +0 -3
- package/docs/types/MaskTag.html +0 -2
- package/docs/types/MeasureEndReason.html +0 -1
- package/docs/types/MeasurePluginConfig.html +0 -10
- package/docs/types/MeasurePluginEventMap.html +0 -1
- package/docs/types/MediaData.html +0 -2
- package/docs/types/MediaOperations.html +0 -1
- package/docs/types/MediaStore.html +0 -1
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -1
- package/docs/types/ModelFloorplanPluginParameterType.html +0 -1
- package/docs/types/ModelFloorplanPluginReturnType.html +0 -1
- package/docs/types/ModelId.html +0 -1
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -1
- package/docs/types/ModelMakerPluginType.ItemType.html +0 -2
- package/docs/types/ModelMakerPluginType.MarkerItem.html +0 -1
- package/docs/types/ModelMakerPluginType.ServerItem.html +0 -2
- package/docs/types/ModelMakerPluginType.TagOcclusionScope.html +0 -2
- package/docs/types/ModelMakerPluginType.TagOcclusionScopeConfig.html +0 -2
- package/docs/types/ModelRoomLabelPluginParameters.html +0 -1
- package/docs/types/ModelRoomLabelPluginReturnType.html +0 -1
- package/docs/types/MoveArgs.html +0 -2
- package/docs/types/MoveOpts.html +0 -2
- package/docs/types/MovementConfig.html +0 -1
- package/docs/types/MovementPosition.html +0 -1
- package/docs/types/MovementTrackClassification.html +0 -1
- package/docs/types/MovementTrackConflictReason.html +0 -1
- package/docs/types/MovementTrackProjection.html +0 -1
- package/docs/types/Object3DHelperEventMap.html +0 -1
- package/docs/types/ObjectFit.html +0 -1
- package/docs/types/PaintBrushEventMap.html +0 -1
- package/docs/types/PanoCompassPluginData.html +0 -1
- package/docs/types/PanoCompassPluginExportType.html +0 -1
- package/docs/types/PanoCompassPluginParameterType.html +0 -1
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -1
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -1
- package/docs/types/PanoIndex.html +0 -1
- package/docs/types/PanoMeasurePluginEvent.html +0 -1
- package/docs/types/PanoMeasureReturnType.html +0 -1
- package/docs/types/PanoSpatialTagPluginId.html +0 -1
- package/docs/types/PanoTagPluginExportInterface.html +0 -1
- package/docs/types/PanoTagPluginParamsInterface.html +0 -1
- package/docs/types/PanoVideoPluginParameterType.html +0 -1
- package/docs/types/PanoVideoPluginReturnType.html +0 -1
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -2
- package/docs/types/PipelinePluginParameterType.html +0 -1
- package/docs/types/PipelinePluginReturnType.html +0 -1
- package/docs/types/PlaneTag.html +0 -2
- package/docs/types/Point2DTag.html +0 -2
- package/docs/types/Point3DTag.html +0 -2
- package/docs/types/PointAction.html +0 -1
- package/docs/types/PointTagInstance.html +0 -1
- package/docs/types/PolygonPosition.html +0 -3
- package/docs/types/PolygonTag.html +0 -2
- package/docs/types/Position.html +0 -1
- package/docs/types/PositionFrom.html +0 -1
- package/docs/types/ProgressListener.html +0 -1
- package/docs/types/RotateArgs.html +0 -2
- package/docs/types/RotateOpts.html +0 -2
- package/docs/types/RuleLabelsKey.html +0 -1
- package/docs/types/RuleLabelsValue.html +0 -1
- package/docs/types/ScaleCallback.html +0 -1
- package/docs/types/ScalePosition.html +0 -3
- package/docs/types/SculptData.BoxData.html +0 -1
- package/docs/types/SculptData.CircleData.html +0 -1
- package/docs/types/SculptData.CylinderData.html +0 -1
- package/docs/types/SculptData.PointData.html +0 -1
- package/docs/types/SculptData.PolygonData.html +0 -1
- package/docs/types/SculptData.PolylineData.html +0 -1
- package/docs/types/SculptData.PrismData.html +0 -1
- package/docs/types/SculptData.RectangleData.html +0 -1
- package/docs/types/SculptType.Theme.html +0 -10
- package/docs/types/StateType.html +0 -1
- package/docs/types/StickType.html +0 -1
- package/docs/types/Tag.html +0 -17
- package/docs/types/Tag2D.html +0 -2
- package/docs/types/Tag3D.html +0 -2
- package/docs/types/TagClickParams.html +0 -1
- package/docs/types/TagConfigByKey.html +0 -1
- package/docs/types/TagContentType.html +0 -1
- package/docs/types/TagContentTypeMapping.html +0 -1
- package/docs/types/TagDimensionType.html +0 -1
- package/docs/types/TagElement.html +0 -2
- package/docs/types/TagEvents.html +0 -1
- package/docs/types/TagGLTFObject.html +0 -1
- package/docs/types/TagHooks.html +0 -1
- package/docs/types/TagId.html +0 -1
- package/docs/types/TagInstance.html +0 -1
- package/docs/types/TagPlacement.html +0 -5
- package/docs/types/TagPointType.html +0 -2
- package/docs/types/TagRendererMap.html +0 -1
- package/docs/types/TopviewFloorplanPluginParameterType.html +0 -1
- package/docs/types/TopviewFloorplanPluginReturnType.html +0 -1
- package/docs/types/TrackPoint.html +0 -1
- package/docs/types/Util.ActionIfNoIntersection.html +0 -1
- package/docs/types/Util.AdherePoint.html +0 -2
- package/docs/types/Util.PointSelectorConfig.html +0 -1
- package/docs/types/Util.SupportedTarget.html +0 -2
- package/docs/types/Util.Target.html +0 -2
- package/docs/types/Util.ThreeObject.html +0 -2
- package/docs/types/WorkCode.html +0 -1
- package/docs/variables/DigitalPerformanceV2.DEFAULT_DIGITAL_PERFORMANCE_NAME_MAX_LENGTH.html +0 -1
- package/docs/variables/FIRE_ACTION_DURATION_MS.html +0 -2
- package/docs/variables/FIRE_SPREAD_SPEED.html +0 -2
- package/docs/variables/FLOOR_TYPE_MAP.html +0 -2
- package/docs/variables/MODEL_SCALE_RANGE.html +0 -2
- package/docs/variables/MOVEMENT_OCCURRENCE_EPSILON.html +0 -1
- package/docs/variables/MOVEMENT_POSITION_EPSILON.html +0 -1
- package/docs/variables/MOVEMENT_SCHEMA_VERSION.html +0 -1
- package/docs/variables/PLUGIN.html +0 -1
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -2
- package/docs/variables/ROOM_TYPE_MAP.html +0 -2
- package/docs/variables/Util.ANIME_PRESETS.html +0 -2
- package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +0 -2
- package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +0 -2
- package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +0 -2
- package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +0 -2
- package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +0 -2
- package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +0 -2
- package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +0 -2
- package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +0 -2
- package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +0 -2
- package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +0 -2
- package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +0 -2
- package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +0 -2
- package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +0 -2
- package/docs/variables/defaultGlobalConfig.html +0 -1
- package/docs/variables/itemLabelPluginServerParams.html +0 -1
- package/docs/variables/modelItemLabelPluginServerParams.html +0 -1
- package/docs/variables/modelRoomLabelPluginServerParams.html +0 -1
- package/libs/AreaMakerPlugin/Controller.d.ts +0 -96
- package/libs/AreaMakerPlugin/Controller.js +0 -392
- package/libs/AreaMakerPlugin/index.d.ts +0 -4
- package/libs/AreaMakerPlugin/index.js +0 -91
- package/libs/AreaMakerPlugin/typing.d.ts +0 -167
- package/libs/AreaMakerPlugin/typing.js +0 -1
- package/libs/AreaMakerPlugin/utils/Item.d.ts +0 -137
- package/libs/AreaMakerPlugin/utils/Item.js +0 -365
- package/libs/CSS3DRenderPlugin/Controller.d.ts +0 -87
- package/libs/CSS3DRenderPlugin/Controller.js +0 -192
- package/libs/CSS3DRenderPlugin/index.d.ts +0 -6
- package/libs/CSS3DRenderPlugin/index.js +0 -76
- package/libs/CSS3DRenderPlugin/typing.d.ts +0 -26
- package/libs/CSS3DRenderPlugin/typing.js +0 -1
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +0 -32
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +0 -12
- package/libs/CSS3DRenderPlugin/utils/index.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/index.js +0 -11
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +0 -1
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +0 -7
- package/libs/CSS3DRenderPlugin/utils/random.d.ts +0 -1
- package/libs/CSS3DRenderPlugin/utils/random.js +0 -6
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -21
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +0 -55
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.d.ts +0 -55
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +0 -182
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +0 -184
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +0 -368
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +0 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +0 -8
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +0 -12
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +0 -40
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.d.ts +0 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DSprite.js +0 -15
- package/libs/CameraMovementPlugin/CameraMovementPlugin.d.ts +0 -7
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +0 -99
- package/libs/CameraMovementPlugin/index.d.ts +0 -5
- package/libs/CameraMovementPlugin/index.js +0 -14
- package/libs/CameraMovementPlugin/typing.d.ts +0 -68
- package/libs/CameraMovementPlugin/typing.js +0 -5
- package/libs/CruisePlugin/BaseController.d.ts +0 -165
- package/libs/CruisePlugin/BaseController.js +0 -287
- package/libs/CruisePlugin/Move.d.ts +0 -56
- package/libs/CruisePlugin/Move.js +0 -487
- package/libs/CruisePlugin/Work.d.ts +0 -127
- package/libs/CruisePlugin/Work.js +0 -907
- package/libs/CruisePlugin/index.d.ts +0 -12
- package/libs/CruisePlugin/index.js +0 -359
- package/libs/CruisePlugin/typing/index.js +0 -6
- package/libs/CruisePlugin/typing.d.ts +0 -157
- package/libs/CruisePlugin/typing.js +0 -1
- package/libs/CruisePlugin/utils/coordinatesAngle.d.ts +0 -28
- package/libs/CruisePlugin/utils/coordinatesAngle.js +0 -14
- package/libs/CruisePlugin/utils/coordinatesToVector.d.ts +0 -7
- package/libs/CruisePlugin/utils/coordinatesToVector.js +0 -15
- package/libs/CruisePlugin/utils/formatRad.js +0 -7
- package/libs/CruisePlugin/utils/getFiveStateOnCurve.d.ts +0 -11
- package/libs/CruisePlugin/utils/getFiveStateOnCurve.js +0 -11
- package/libs/CruisePlugin/utils/linerValue.js +0 -7
- package/libs/CruisePlugin/utils/safeCall.d.ts +0 -1
- package/libs/CruisePlugin/utils/safeCall.js +0 -28
- package/libs/CruisePlugin/utils/sleep.d.ts +0 -1
- package/libs/CruisePlugin/utils/sleep.js +0 -10
- package/libs/CurrentPanoImagePlugin/Controller.d.ts +0 -103
- package/libs/CurrentPanoImagePlugin/Controller.js +0 -336
- package/libs/CurrentPanoImagePlugin/index.d.ts +0 -7
- package/libs/CurrentPanoImagePlugin/index.js +0 -81
- package/libs/CurrentPanoImagePlugin/typings.d.ts +0 -58
- package/libs/CurrentPanoImagePlugin/typings.js +0 -1
- package/libs/DigitalPerformancePlugin/animation-script-adapter.d.ts +0 -20
- package/libs/DigitalPerformancePlugin/animation-script-adapter.js +0 -234
- package/libs/DigitalPerformancePlugin/controller/index.d.ts +0 -232
- package/libs/DigitalPerformancePlugin/controller/index.js +0 -847
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.d.ts +0 -96
- package/libs/DigitalPerformancePlugin/core/DigitalHuman.js +0 -333
- package/libs/DigitalPerformancePlugin/core/DigitalPerformanceNameplate.d.ts +0 -115
- package/libs/DigitalPerformancePlugin/core/DigitalPerformanceNameplate.js +0 -266
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.d.ts +0 -47
- package/libs/DigitalPerformancePlugin/core/DigitalPlayground.js +0 -184
- package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.d.ts +0 -152
- package/libs/DigitalPerformancePlugin/core/DigitalStateMachine.js +0 -153
- package/libs/DigitalPerformancePlugin/core/Trace.d.ts +0 -9
- package/libs/DigitalPerformancePlugin/core/Trace.js +0 -23
- package/libs/DigitalPerformancePlugin/index.d.ts +0 -16
- package/libs/DigitalPerformancePlugin/index.js +0 -36
- package/libs/DigitalPerformancePlugin/mock.d.ts +0 -76
- package/libs/DigitalPerformancePlugin/mock.js +0 -379
- package/libs/DigitalPerformancePlugin/movement-track-classifier.d.ts +0 -52
- package/libs/DigitalPerformancePlugin/movement-track-classifier.js +0 -227
- package/libs/DigitalPerformancePlugin/transform-script-data.d.ts +0 -7
- package/libs/DigitalPerformancePlugin/transform-script-data.js +0 -72
- package/libs/DigitalPerformancePlugin/typings/index.d.ts +0 -87
- package/libs/DigitalPerformancePlugin/typings/index.js +0 -1
- package/libs/DigitalPerformanceV2Plugin/controller/index.d.ts +0 -401
- package/libs/DigitalPerformanceV2Plugin/controller/index.js +0 -874
- package/libs/DigitalPerformanceV2Plugin/core/CameraDirector.d.ts +0 -61
- package/libs/DigitalPerformanceV2Plugin/core/CameraDirector.js +0 -101
- package/libs/DigitalPerformanceV2Plugin/core/CameraSampler.d.ts +0 -53
- package/libs/DigitalPerformanceV2Plugin/core/CameraSampler.js +0 -91
- package/libs/DigitalPerformanceV2Plugin/core/CameraTrack.d.ts +0 -21
- package/libs/DigitalPerformanceV2Plugin/core/CameraTrack.js +0 -32
- package/libs/DigitalPerformanceV2Plugin/core/FiveModelCameraBridge.d.ts +0 -39
- package/libs/DigitalPerformanceV2Plugin/core/FiveModelCameraBridge.js +0 -72
- package/libs/DigitalPerformanceV2Plugin/core/PerformanceClock.d.ts +0 -55
- package/libs/DigitalPerformanceV2Plugin/core/PerformanceClock.js +0 -98
- package/libs/DigitalPerformanceV2Plugin/core/Playground.d.ts +0 -112
- package/libs/DigitalPerformanceV2Plugin/core/Playground.js +0 -219
- package/libs/DigitalPerformanceV2Plugin/core/shared.d.ts +0 -4
- package/libs/DigitalPerformanceV2Plugin/core/shared.js +0 -12
- package/libs/DigitalPerformanceV2Plugin/index/index.js +0 -15
- package/libs/DigitalPerformanceV2Plugin/index.d.ts +0 -11
- package/libs/DigitalPerformanceV2Plugin/index.js +0 -29
- package/libs/DigitalPerformanceV2Plugin/typings/index.d.ts +0 -124
- package/libs/DigitalPerformanceV2Plugin/typings/index.js +0 -1
- package/libs/FireScenePlugin/FireControl.d.ts +0 -153
- package/libs/FireScenePlugin/FireControl.js +0 -450
- package/libs/FireScenePlugin/SequencePlayer.d.ts +0 -41
- package/libs/FireScenePlugin/SequencePlayer.js +0 -114
- package/libs/FireScenePlugin/constants.d.ts +0 -28
- package/libs/FireScenePlugin/constants.js +0 -26
- package/libs/FireScenePlugin/fire/config.d.ts +0 -10
- package/libs/FireScenePlugin/fire/config.js +0 -22
- package/libs/FireScenePlugin/fire/index.d.ts +0 -6
- package/libs/FireScenePlugin/fire/index.js +0 -13
- package/libs/FireScenePlugin/fire/managers/FireManager.d.ts +0 -76
- package/libs/FireScenePlugin/fire/managers/FireManager.js +0 -236
- package/libs/FireScenePlugin/fire/type.d.ts +0 -51
- package/libs/FireScenePlugin/fire/type.js +0 -1
- package/libs/FireScenePlugin/index.d.ts +0 -6
- package/libs/FireScenePlugin/index.js +0 -99
- package/libs/FireScenePlugin/smoke/config.d.ts +0 -8
- package/libs/FireScenePlugin/smoke/config.js +0 -18
- package/libs/FireScenePlugin/smoke/index.d.ts +0 -1
- package/libs/FireScenePlugin/smoke/index.js +0 -10
- package/libs/FireScenePlugin/smoke/managers/NormalSmokeManager.d.ts +0 -49
- package/libs/FireScenePlugin/smoke/managers/NormalSmokeManager.js +0 -136
- package/libs/FireScenePlugin/smoke/managers/SmokeManager.d.ts +0 -89
- package/libs/FireScenePlugin/smoke/managers/SmokeManager.js +0 -137
- package/libs/FireScenePlugin/typing.d.ts +0 -55
- package/libs/FireScenePlugin/typing.js +0 -1
- package/libs/FireScenePlugin/utils/areaBounds.d.ts +0 -14
- package/libs/FireScenePlugin/utils/areaBounds.js +0 -30
- package/libs/FireScenePlugin/utils/particle.d.ts +0 -5
- package/libs/FireScenePlugin/utils/particle.js +0 -7
- package/libs/FireScenePlugin/utils/particleTexture.d.ts +0 -21
- package/libs/FireScenePlugin/utils/particleTexture.js +0 -40
- package/libs/FireScenePlugin/utils/radialSpread.d.ts +0 -54
- package/libs/FireScenePlugin/utils/radialSpread.js +0 -75
- package/libs/FireScenePlugin/utils/spread.d.ts +0 -17
- package/libs/FireScenePlugin/utils/spread.js +0 -17
- package/libs/GuideLinePlugin/Components/Tag.js +0 -293
- package/libs/GuideLinePlugin/Components/Tag.svelte.d.ts +0 -1
- package/libs/GuideLinePlugin/Controller.d.ts +0 -98
- package/libs/GuideLinePlugin/Controller.js +0 -579
- package/libs/GuideLinePlugin/GuideLineItem/index.js +0 -139
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +0 -36
- package/libs/GuideLinePlugin/GuideLineItem.js +0 -351
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +0 -545
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +0 -152
- package/libs/GuideLinePlugin/GuideLineModeItem.js +0 -333
- package/libs/GuideLinePlugin/index.d.ts +0 -10
- package/libs/GuideLinePlugin/index.js +0 -355
- package/libs/GuideLinePlugin/typing.d.ts +0 -199
- package/libs/GuideLinePlugin/typing.js +0 -1
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -36
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +0 -115
- package/libs/GuideLinePlugin/utils/createPath.d.ts +0 -3
- package/libs/GuideLinePlugin/utils/createPath.js +0 -34
- package/libs/GuideLinePlugin/utils/dataFormatter.d.ts +0 -2
- package/libs/GuideLinePlugin/utils/dataFormatter.js +0 -6
- package/libs/GuideLinePlugin/utils/getArrowMaterial.d.ts +0 -4
- package/libs/GuideLinePlugin/utils/getArrowMaterial.js +0 -13
- package/libs/GuideLinePlugin/utils/getPoint.d.ts +0 -3
- package/libs/GuideLinePlugin/utils/getPoint.js +0 -22
- package/libs/GuideLinePlugin/utils/index.d.ts +0 -6
- package/libs/GuideLinePlugin/utils/index.js +0 -6
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +0 -321
- package/libs/ItemLabelPlugin/ItemLabelComponent.svelte.d.ts +0 -1
- package/libs/ItemLabelPlugin/ItemLabelItem.js +0 -211
- package/libs/ItemLabelPlugin/ItemLabelItem.svelte.d.ts +0 -1
- package/libs/ItemLabelPlugin/Plugin.d.ts +0 -4
- package/libs/ItemLabelPlugin/Plugin.js +0 -89
- package/libs/ItemLabelPlugin/events.type.d.ts +0 -9
- package/libs/ItemLabelPlugin/events.type.js +0 -1
- package/libs/ItemLabelPlugin/index.d.ts +0 -9
- package/libs/ItemLabelPlugin/index.js +0 -24
- package/libs/ItemLabelPlugin/typings.d.ts +0 -65
- package/libs/ItemLabelPlugin/typings.js +0 -4
- package/libs/ItemLabelPlugin/utils/getLabelTransform.d.ts +0 -1
- package/libs/ItemLabelPlugin/utils/getLabelTransform.js +0 -4
- package/libs/ItemLabelPlugin/utils/getStrokeLength.d.ts +0 -5
- package/libs/ItemLabelPlugin/utils/getStrokeLength.js +0 -16
- package/libs/ItemLabelPlugin/utils/isImpacted.d.ts +0 -8
- package/libs/ItemLabelPlugin/utils/isImpacted.js +0 -10
- package/libs/ItemLabelPlugin/utils/parseData.d.ts +0 -3
- package/libs/ItemLabelPlugin/utils/parseData.js +0 -21
- package/libs/ItemLabelPlugin/utils/transform2RenderData.d.ts +0 -3
- package/libs/ItemLabelPlugin/utils/transform2RenderData.js +0 -21
- package/libs/MeasurePlugin/Controller.d.ts +0 -167
- package/libs/MeasurePlugin/Controller.js +0 -871
- package/libs/MeasurePlugin/index.d.ts +0 -17
- package/libs/MeasurePlugin/index.js +0 -92
- package/libs/MeasurePlugin/utils/MeasureMesh.d.ts +0 -29
- package/libs/MeasurePlugin/utils/MeasureMesh.js +0 -124
- package/libs/MeasurePlugin/utils/validatePolygon.d.ts +0 -2
- package/libs/MeasurePlugin/utils/validatePolygon.js +0 -22
- package/libs/ModelChassisCompassPlugin/Plugin.d.ts +0 -19
- package/libs/ModelChassisCompassPlugin/Plugin.js +0 -148
- package/libs/ModelChassisCompassPlugin/index.d.ts +0 -4
- package/libs/ModelChassisCompassPlugin/index.js +0 -80
- package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +0 -27
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +0 -156
- package/libs/ModelEntryDoorGuidePlugin/index.d.ts +0 -4
- package/libs/ModelEntryDoorGuidePlugin/index.js +0 -81
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +0 -248
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.svelte.d.ts +0 -1
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +0 -94
- package/libs/ModelItemLabelPlugin/ItemLabelItem.svelte.d.ts +0 -1
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.d.ts +0 -4
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +0 -84
- package/libs/ModelItemLabelPlugin/events.type.d.ts +0 -9
- package/libs/ModelItemLabelPlugin/events.type.js +0 -1
- package/libs/ModelItemLabelPlugin/index.d.ts +0 -9
- package/libs/ModelItemLabelPlugin/index.js +0 -20
- package/libs/ModelItemLabelPlugin/typings.d.ts +0 -56
- package/libs/ModelItemLabelPlugin/typings.js +0 -4
- package/libs/ModelItemLabelPlugin/utils/parseData.d.ts +0 -3
- package/libs/ModelItemLabelPlugin/utils/parseData.js +0 -19
- package/libs/ModelMakerPlugin/Controller.d.ts +0 -194
- package/libs/ModelMakerPlugin/Controller.js +0 -652
- package/libs/ModelMakerPlugin/index.d.ts +0 -9
- package/libs/ModelMakerPlugin/index.js +0 -112
- package/libs/ModelMakerPlugin/item/baseItem.d.ts +0 -68
- package/libs/ModelMakerPlugin/item/baseItem.js +0 -128
- package/libs/ModelMakerPlugin/item/boxItem.d.ts +0 -20
- package/libs/ModelMakerPlugin/item/boxItem.js +0 -102
- package/libs/ModelMakerPlugin/item/polygonItem.d.ts +0 -19
- package/libs/ModelMakerPlugin/item/polygonItem.js +0 -102
- package/libs/ModelMakerPlugin/item/prismItem.d.ts +0 -18
- package/libs/ModelMakerPlugin/item/prismItem.js +0 -111
- package/libs/ModelMakerPlugin/typings/config.d.ts +0 -26
- package/libs/ModelMakerPlugin/typings/config.js +0 -1
- package/libs/ModelMakerPlugin/typings/data.d.ts +0 -110
- package/libs/ModelMakerPlugin/typings/data.js +0 -1
- package/libs/ModelMakerPlugin/typings/index.d.ts +0 -52
- package/libs/ModelMakerPlugin/typings/index.js +0 -1
- package/libs/ModelMakerPlugin/utils/Text.js +0 -66
- package/libs/ModelMakerPlugin/utils/Text.svelte.d.ts +0 -1
- package/libs/ModelMakerPlugin/utils/getTagOcclusionObjects.d.ts +0 -4
- package/libs/ModelMakerPlugin/utils/getTagOcclusionObjects.js +0 -14
- package/libs/ModelMakerPlugin/utils/tagRenderer.d.ts +0 -3
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +0 -36
- package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.d.ts +0 -1
- package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.js +0 -4
- package/libs/ModelRoomLabelPlugin/Controller.d.ts +0 -38
- package/libs/ModelRoomLabelPlugin/Controller.js +0 -88
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +0 -154
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.svelte.d.ts +0 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +0 -217
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.svelte.d.ts +0 -1
- package/libs/ModelRoomLabelPlugin/index.d.ts +0 -12
- package/libs/ModelRoomLabelPlugin/index.js +0 -20
- package/libs/ModelRoomLabelPlugin/typings.d.ts +0 -35
- package/libs/ModelRoomLabelPlugin/typings.js +0 -1
- package/libs/ModelRoomLabelPlugin/utils/parseData.d.ts +0 -3
- package/libs/ModelRoomLabelPlugin/utils/parseData.js +0 -16
- package/libs/ModelTVVideoPlugin/Plugin.d.ts +0 -4
- package/libs/ModelTVVideoPlugin/Plugin.js +0 -291
- package/libs/ModelTVVideoPlugin/index.d.ts +0 -5
- package/libs/ModelTVVideoPlugin/index.js +0 -80
- package/libs/ModelTVVideoPlugin/typings.d.ts +0 -27
- package/libs/ModelTVVideoPlugin/typings.js +0 -4
- package/libs/ModelTVVideoPlugin/utils/parseData.d.ts +0 -3
- package/libs/ModelTVVideoPlugin/utils/parseData.js +0 -20
- package/libs/ModelViewPlugin/Plugin.d.ts +0 -42
- package/libs/ModelViewPlugin/Plugin.js +0 -196
- package/libs/ModelViewPlugin/index.d.ts +0 -4
- package/libs/ModelViewPlugin/index.js +0 -74
- package/libs/Object3DHelperPlugin/Controller.d.ts +0 -153
- package/libs/Object3DHelperPlugin/Controller.js +0 -355
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +0 -23
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +0 -57
- package/libs/Object3DHelperPlugin/index.d.ts +0 -6
- package/libs/Object3DHelperPlugin/index.js +0 -118
- package/libs/Object3DHelperPlugin/typings.d.ts +0 -38
- package/libs/Object3DHelperPlugin/typings.js +0 -1
- package/libs/PanoCompassPlugin/Assets/roomInfoIcon.d.ts +0 -1
- package/libs/PanoCompassPlugin/Assets/roomInfoIcon.js +0 -4
- package/libs/PanoCompassPlugin/Controller.d.ts +0 -88
- package/libs/PanoCompassPlugin/Controller.js +0 -364
- package/libs/PanoCompassPlugin/getRoomInfoInstance.d.ts +0 -8
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +0 -24
- package/libs/PanoCompassPlugin/index.d.ts +0 -7
- package/libs/PanoCompassPlugin/index.js +0 -84
- package/libs/PanoCompassPlugin/typings.d.ts +0 -58
- package/libs/PanoCompassPlugin/typings.js +0 -1
- package/libs/PanoCursorRaycasterPlugin/index.d.ts +0 -48
- package/libs/PanoCursorRaycasterPlugin/index.js +0 -61
- package/libs/PanoDoorLabelPlugin/Controller.d.ts +0 -42
- package/libs/PanoDoorLabelPlugin/Controller.js +0 -324
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +0 -88
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.svelte.d.ts +0 -1
- package/libs/PanoDoorLabelPlugin/index.d.ts +0 -7
- package/libs/PanoDoorLabelPlugin/index.js +0 -80
- package/libs/PanoDoorLabelPlugin/typings.d.ts +0 -38
- package/libs/PanoDoorLabelPlugin/typings.js +0 -1
- package/libs/PanoDoorLabelPlugin/utils.d.ts +0 -5
- package/libs/PanoDoorLabelPlugin/utils.js +0 -23
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +0 -93
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +0 -42
- package/libs/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +0 -246
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +0 -211
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Common/icons/index.d.ts +0 -4
- package/libs/PanoMeasurePlugin/Components/Common/icons/index.js +0 -7
- package/libs/PanoMeasurePlugin/Components/Controller0.js +0 -327
- package/libs/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Controller1.js +0 -477
- package/libs/PanoMeasurePlugin/Components/Controller1.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Tip.js +0 -131
- package/libs/PanoMeasurePlugin/Components/Tip.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +0 -58
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +0 -91
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +0 -58
- package/libs/PanoMeasurePlugin/Controller/EditController.js +0 -390
- package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +0 -38
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +0 -150
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +0 -12
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +0 -30
- package/libs/PanoMeasurePlugin/Controller/ViewController.d.ts +0 -13
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +0 -85
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +0 -33
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +0 -275
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +0 -115
- package/libs/PanoMeasurePlugin/Controller/index.js +0 -364
- package/libs/PanoMeasurePlugin/Model/area.d.ts +0 -75
- package/libs/PanoMeasurePlugin/Model/area.js +0 -189
- package/libs/PanoMeasurePlugin/Model/index.d.ts +0 -45
- package/libs/PanoMeasurePlugin/Model/index.js +0 -101
- package/libs/PanoMeasurePlugin/Model/line.d.ts +0 -39
- package/libs/PanoMeasurePlugin/Model/line.js +0 -82
- package/libs/PanoMeasurePlugin/Model/point.d.ts +0 -10
- package/libs/PanoMeasurePlugin/Model/point.js +0 -27
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +0 -14
- package/libs/PanoMeasurePlugin/Model/polygon.js +0 -47
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +0 -47
- package/libs/PanoMeasurePlugin/Model/polyline.js +0 -131
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.d.ts +0 -2
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +0 -14
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.d.ts +0 -2
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +0 -4
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.d.ts +0 -2
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +0 -4
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +0 -30
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +0 -81
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +0 -26
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +0 -55
- package/libs/PanoMeasurePlugin/Modules/Magnifier.d.ts +0 -19
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +0 -71
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.d.ts +0 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +0 -129
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +0 -19
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +0 -75
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +0 -12
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +0 -35
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +0 -34
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +0 -171
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.d.ts +0 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +0 -82
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +0 -15
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +0 -53
- package/libs/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +0 -62
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +0 -4
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +0 -67
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +0 -42
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +0 -135
- package/libs/PanoMeasurePlugin/index.d.ts +0 -14
- package/libs/PanoMeasurePlugin/index.js +0 -145
- package/libs/PanoMeasurePlugin/typings/data.d.ts +0 -58
- package/libs/PanoMeasurePlugin/typings/data.js +0 -1
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +0 -55
- package/libs/PanoMeasurePlugin/typings/event.type.js +0 -1
- package/libs/PanoMeasurePlugin/typings/index.d.ts +0 -15
- package/libs/PanoMeasurePlugin/typings/index.js +0 -1
- package/libs/PanoMeasurePlugin/typings/utils.type.js +0 -1
- package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +0 -2
- package/libs/PanoMeasurePlugin/utils/clearGroup.js +0 -6
- package/libs/PanoMeasurePlugin/utils/constants.d.ts +0 -4
- package/libs/PanoMeasurePlugin/utils/constants.js +0 -35
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.d.ts +0 -22
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +0 -117
- package/libs/PanoMeasurePlugin/utils/dom/base.d.ts +0 -29
- package/libs/PanoMeasurePlugin/utils/dom/base.js +0 -78
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +0 -34
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +0 -147
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.d.ts +0 -10
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +0 -16
- package/libs/PanoMeasurePlugin/utils/ironbox.d.ts +0 -1
- package/libs/PanoMeasurePlugin/utils/ironbox.js +0 -4
- package/libs/PanoMeasurePlugin/utils/isIntersecting.d.ts +0 -15
- package/libs/PanoMeasurePlugin/utils/isIntersecting.js +0 -52
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +0 -3
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +0 -12
- package/libs/PanoMeasurePlugin/utils/line.d.ts +0 -18
- package/libs/PanoMeasurePlugin/utils/line.js +0 -19
- package/libs/PanoMeasurePlugin/utils/math.d.ts +0 -17
- package/libs/PanoMeasurePlugin/utils/math.js +0 -13
- package/libs/PanoMeasurePlugin/utils/mouseGroup.d.ts +0 -7
- package/libs/PanoMeasurePlugin/utils/mouseGroup.js +0 -46
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.d.ts +0 -6
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +0 -8
- package/libs/PanoRulerPlugin/Plugin.d.ts +0 -34
- package/libs/PanoRulerPlugin/Plugin.js +0 -277
- package/libs/PanoRulerPlugin/index.d.ts +0 -5
- package/libs/PanoRulerPlugin/index.js +0 -10
- package/libs/PanoRulerPlugin/style.d.ts +0 -2
- package/libs/PanoRulerPlugin/style.js +0 -90
- package/libs/PanoRulerPlugin/typings.d.ts +0 -21
- package/libs/PanoRulerPlugin/typings.js +0 -1
- package/libs/PanoRulerProPlugin/Controller.d.ts +0 -15
- package/libs/PanoRulerProPlugin/Controller.js +0 -168
- package/libs/PanoRulerProPlugin/RulerItem.js +0 -207
- package/libs/PanoRulerProPlugin/RulerItem.svelte.d.ts +0 -1
- package/libs/PanoRulerProPlugin/RulerItems.js +0 -255
- package/libs/PanoRulerProPlugin/RulerItems.svelte.d.ts +0 -1
- package/libs/PanoRulerProPlugin/index.d.ts +0 -8
- package/libs/PanoRulerProPlugin/index.js +0 -81
- package/libs/PanoRulerProPlugin/typings.d.ts +0 -46
- package/libs/PanoRulerProPlugin/typings.js +0 -1
- package/libs/PanoSpatialTagPlugin/Components/origins.js +0 -121
- package/libs/PanoSpatialTagPlugin/Components/origins.svelte.d.ts +0 -1
- package/libs/PanoSpatialTagPlugin/Components/tag.js +0 -206
- package/libs/PanoSpatialTagPlugin/Components/tag.svelte.d.ts +0 -1
- package/libs/PanoSpatialTagPlugin/Plugin.d.ts +0 -35
- package/libs/PanoSpatialTagPlugin/Plugin.js +0 -307
- package/libs/PanoSpatialTagPlugin/index.d.ts +0 -5
- package/libs/PanoSpatialTagPlugin/index.js +0 -83
- package/libs/PanoSpatialTagPlugin/store.d.ts +0 -1
- package/libs/PanoSpatialTagPlugin/store.js +0 -6
- package/libs/PanoSpatialTagPlugin/style.js +0 -11
- package/libs/PanoSpatialTagPlugin/typings.d.ts +0 -40
- package/libs/PanoSpatialTagPlugin/typings.js +0 -1
- package/libs/PanoTagPlugin/Archive/deprecated.d.ts +0 -73
- package/libs/PanoTagPlugin/Archive/deprecated.js +0 -6
- package/libs/PanoTagPlugin/Assets/Icon.d.ts +0 -4
- package/libs/PanoTagPlugin/Assets/Icon.js +0 -7
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +0 -128
- package/libs/PanoTagPlugin/Components/Common/Arrow.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Audio.js +0 -193
- package/libs/PanoTagPlugin/Components/Common/Audio.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/AudioPlayer.js +0 -93
- package/libs/PanoTagPlugin/Components/Common/AudioPlayer.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +0 -804
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Icon/PanoramaIcon.js +0 -186
- package/libs/PanoTagPlugin/Components/Common/Icon/PanoramaIcon.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Icon/animationUtils.d.ts +0 -9
- package/libs/PanoTagPlugin/Components/Common/Icon/animationUtils.js +0 -128
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +0 -175
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Icon/tag-popover-arrow-base64.d.ts +0 -8
- package/libs/PanoTagPlugin/Components/Common/Icon/tag-popover-arrow-base64.js +0 -11
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +0 -116
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +0 -251
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Media.js +0 -519
- package/libs/PanoTagPlugin/Components/Common/Media.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +0 -468
- package/libs/PanoTagPlugin/Components/Common/MediaItem.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +0 -203
- package/libs/PanoTagPlugin/Components/Common/Shadow.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +0 -535
- package/libs/PanoTagPlugin/Components/Common/TagPoint.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/TagPopover/ArrowRightIcon.js +0 -123
- package/libs/PanoTagPlugin/Components/Common/TagPopover/ArrowRightIcon.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PanoramaIcon.js +0 -70
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PanoramaIcon.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +0 -312
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/TagPopover/ShareIcon.js +0 -123
- package/libs/PanoTagPlugin/Components/Common/TagPopover/ShareIcon.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverArrow.js +0 -95
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverArrow.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +0 -291
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +0 -838
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +0 -582
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -198
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -258
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +0 -238
- package/libs/PanoTagPlugin/Components/Common/Text/MText.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -129
- package/libs/PanoTagPlugin/Components/Common/TextItem.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Common/VideoIcon.js +0 -114
- package/libs/PanoTagPlugin/Components/Common/VideoIcon.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/Assets/marketingIcon.d.ts +0 -2
- package/libs/PanoTagPlugin/Components/Tag/Assets/marketingIcon.js +0 -5
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +0 -227
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPoint.js +0 -191
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPoint.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -358
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +0 -150
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +0 -86
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +0 -259
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +0 -148
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +0 -719
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +0 -184
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +0 -57
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -216
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -219
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -134
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/Tag/index.js +0 -834
- package/libs/PanoTagPlugin/Components/Tag/index.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/TagContainer.js +0 -445
- package/libs/PanoTagPlugin/Components/TagContainer.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/Components/TagItem.js +0 -827
- package/libs/PanoTagPlugin/Components/TagItem.svelte.d.ts +0 -1
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +0 -282
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +0 -861
- package/libs/PanoTagPlugin/controller/Tag/BoxTag.d.ts +0 -119
- package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +0 -519
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.d.ts +0 -258
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.js +0 -824
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.d.ts +0 -10
- package/libs/PanoTagPlugin/controller/Tag/MaskTag.shaders.js +0 -100
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.d.ts +0 -15
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +0 -303
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.d.ts +0 -51
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +0 -587
- package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +0 -46
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +0 -304
- package/libs/PanoTagPlugin/controller/Tag/PolygonTag.d.ts +0 -112
- package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +0 -483
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +0 -36
- package/libs/PanoTagPlugin/controller/TagRender.js +0 -151
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +0 -93
- package/libs/PanoTagPlugin/controller/TagUtil.js +0 -317
- package/libs/PanoTagPlugin/controller/index.d.ts +0 -227
- package/libs/PanoTagPlugin/controller/index.js +0 -927
- package/libs/PanoTagPlugin/index.d.ts +0 -8
- package/libs/PanoTagPlugin/index.js +0 -325
- package/libs/PanoTagPlugin/tag.config.d.ts +0 -7
- package/libs/PanoTagPlugin/tag.config.js +0 -124
- package/libs/PanoTagPlugin/typings/controller.d.ts +0 -112
- package/libs/PanoTagPlugin/typings/controller.js +0 -1
- package/libs/PanoTagPlugin/typings/index.d.ts +0 -8
- package/libs/PanoTagPlugin/typings/index.js +0 -8
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +0 -64
- package/libs/PanoTagPlugin/typings/tag/Tag.js +0 -1
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -422
- package/libs/PanoTagPlugin/typings/tag/TagConfig.js +0 -16
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -176
- package/libs/PanoTagPlugin/typings/tag/TagData.js +0 -1
- package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +0 -8
- package/libs/PanoTagPlugin/typings/tag/TagInstance.js +0 -1
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -164
- package/libs/PanoTagPlugin/typings/tag/Utils.js +0 -1
- package/libs/PanoTagPlugin/utils/Cache.d.ts +0 -17
- package/libs/PanoTagPlugin/utils/Cache.js +0 -49
- package/libs/PanoTagPlugin/utils/DebugUtil.d.ts +0 -12
- package/libs/PanoTagPlugin/utils/DebugUtil.js +0 -62
- package/libs/PanoTagPlugin/utils/addDebugPoints.d.ts +0 -3
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +0 -45
- package/libs/PanoTagPlugin/utils/audio/AudioDiagnostics.d.ts +0 -42
- package/libs/PanoTagPlugin/utils/audio/AudioDiagnostics.js +0 -165
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +0 -31
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +0 -188
- package/libs/PanoTagPlugin/utils/checkRange.d.ts +0 -4
- package/libs/PanoTagPlugin/utils/checkRange.js +0 -10
- package/libs/PanoTagPlugin/utils/color.js +0 -17
- package/libs/PanoTagPlugin/utils/constants.d.ts +0 -3
- package/libs/PanoTagPlugin/utils/constants.js +0 -8
- package/libs/PanoTagPlugin/utils/debounce.d.ts +0 -8
- package/libs/PanoTagPlugin/utils/debounce.js +0 -21
- package/libs/PanoTagPlugin/utils/doUtil.d.ts +0 -1
- package/libs/PanoTagPlugin/utils/doUtil.js +0 -12
- package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +0 -14
- package/libs/PanoTagPlugin/utils/getImageInfo.js +0 -73
- package/libs/PanoTagPlugin/utils/index.d.ts +0 -10
- package/libs/PanoTagPlugin/utils/index.js +0 -37
- package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +0 -118
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +0 -428
- package/libs/PanoTagPlugin/utils/noTypecheck.d.ts +0 -1
- package/libs/PanoTagPlugin/utils/noTypecheck.js +0 -4
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +0 -17
- package/libs/PanoTagPlugin/utils/planeNormal.d.ts +0 -4
- package/libs/PanoTagPlugin/utils/planeNormal.js +0 -11
- package/libs/PanoTagPlugin/utils/popoverContainer.d.ts +0 -1
- package/libs/PanoTagPlugin/utils/popoverContainer.js +0 -16
- package/libs/PanoTagPlugin/utils/px2rem.d.ts +0 -3
- package/libs/PanoTagPlugin/utils/px2rem.js +0 -6
- package/libs/PanoTagPlugin/utils/requestIdleCallback.js +0 -14
- package/libs/PanoTagPlugin/utils/sculptDataToBoxPosition.d.ts +0 -6
- package/libs/PanoTagPlugin/utils/sculptDataToBoxPosition.js +0 -18
- package/libs/PanoTagPlugin/utils/search.d.ts +0 -11
- package/libs/PanoTagPlugin/utils/search.js +0 -33
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.d.ts +0 -2
- package/libs/PanoTagPlugin/utils/tag/adaptConfig.js +0 -9
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.d.ts +0 -7
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +0 -133
- package/libs/PanoTagPlugin/utils/tag/canAutoPlayByOcclusion.d.ts +0 -17
- package/libs/PanoTagPlugin/utils/tag/canAutoPlayByOcclusion.js +0 -14
- package/libs/PanoTagPlugin/utils/tag/format.d.ts +0 -5
- package/libs/PanoTagPlugin/utils/tag/format.js +0 -89
- package/libs/PanoTagPlugin/utils/tag/getRaycasterStartPosition.d.ts +0 -12
- package/libs/PanoTagPlugin/utils/tag/getRaycasterStartPosition.js +0 -7
- package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -19
- package/libs/PanoTagPlugin/utils/tag/tagCheck.js +0 -46
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +0 -13
- package/libs/PanoTagPlugin/utils/tagPosition.js +0 -55
- package/libs/PanoTagPlugin/utils/throttle.d.ts +0 -7
- package/libs/PanoTagPlugin/utils/throttle.js +0 -11
- package/libs/PanoTagPlugin/utils/timeToString.js +0 -7
- package/libs/PanoTagPlugin/utils/videoHelper.d.ts +0 -45
- package/libs/PanoTagPlugin/utils/videoHelper.js +0 -88
- package/libs/PanoVideoPlugin/Controller.d.ts +0 -59
- package/libs/PanoVideoPlugin/Controller.js +0 -241
- package/libs/PanoVideoPlugin/VideoMeshController.d.ts +0 -129
- package/libs/PanoVideoPlugin/VideoMeshController.js +0 -412
- package/libs/PanoVideoPlugin/index.d.ts +0 -21
- package/libs/PanoVideoPlugin/index.js +0 -82
- package/libs/PanoVideoPlugin/typings/index.js +0 -6
- package/libs/PanoVideoPlugin/typings.d.ts +0 -70
- package/libs/PanoVideoPlugin/typings.js +0 -1
- package/libs/PanoVideoPlugin/utils/index.d.ts +0 -9
- package/libs/PanoVideoPlugin/utils/index.js +0 -10
- package/libs/PanoVideoPlugin/utils/shader.d.ts +0 -2
- package/libs/PanoVideoPlugin/utils/shader.js +0 -33
- package/libs/PipelinePlugin/Controller.d.ts +0 -108
- package/libs/PipelinePlugin/Controller.js +0 -393
- package/libs/PipelinePlugin/index.d.ts +0 -6
- package/libs/PipelinePlugin/index.js +0 -88
- package/libs/PipelinePlugin/typing/PluginData/index.js +0 -6
- package/libs/PipelinePlugin/typing/PluginData.d.ts +0 -20
- package/libs/PipelinePlugin/typing/PluginData.js +0 -1
- package/libs/PipelinePlugin/typing/ServerData/index.js +0 -6
- package/libs/PipelinePlugin/typing/ServerData.d.ts +0 -28
- package/libs/PipelinePlugin/typing/ServerData.js +0 -1
- package/libs/PipelinePlugin/typing/index.d.ts +0 -79
- package/libs/PipelinePlugin/typing/index.js +0 -6
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.d.ts +0 -34
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +0 -156
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.d.ts +0 -11
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +0 -102
- package/libs/PipelinePlugin/utils/Objects/Pipe.d.ts +0 -49
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +0 -229
- package/libs/PipelinePlugin/utils/formatData.d.ts +0 -12
- package/libs/PipelinePlugin/utils/formatData.js +0 -46
- package/libs/Sculpt/Editors/BoxMeshEditor.d.ts +0 -5
- package/libs/Sculpt/Editors/BoxMeshEditor.js +0 -98
- package/libs/Sculpt/Editors/CircleMeshEditor.d.ts +0 -5
- package/libs/Sculpt/Editors/CircleMeshEditor.js +0 -9
- package/libs/Sculpt/Editors/CylinderMeshEditor.d.ts +0 -5
- package/libs/Sculpt/Editors/CylinderMeshEditor.js +0 -41
- package/libs/Sculpt/Editors/PrismMeshEditor.d.ts +0 -5
- package/libs/Sculpt/Editors/PrismMeshEditor.js +0 -43
- package/libs/Sculpt/Editors/RectangleMeshEditor.d.ts +0 -5
- package/libs/Sculpt/Editors/RectangleMeshEditor.js +0 -101
- package/libs/Sculpt/Meshes/Area.d.ts +0 -9
- package/libs/Sculpt/Meshes/Area.js +0 -13
- package/libs/Sculpt/Meshes/Box.d.ts +0 -18
- package/libs/Sculpt/Meshes/Box.js +0 -27
- package/libs/Sculpt/Meshes/Circle.d.ts +0 -24
- package/libs/Sculpt/Meshes/Circle.js +0 -54
- package/libs/Sculpt/Meshes/CircleWithEdge.d.ts +0 -11
- package/libs/Sculpt/Meshes/CircleWithEdge.js +0 -41
- package/libs/Sculpt/Meshes/Cylinder.d.ts +0 -36
- package/libs/Sculpt/Meshes/Cylinder.js +0 -101
- package/libs/Sculpt/Meshes/Line.d.ts +0 -59
- package/libs/Sculpt/Meshes/Line.js +0 -272
- package/libs/Sculpt/Meshes/LineWithDots.d.ts +0 -52
- package/libs/Sculpt/Meshes/LineWithDots.js +0 -84
- package/libs/Sculpt/Meshes/Point.d.ts +0 -41
- package/libs/Sculpt/Meshes/Point.js +0 -147
- package/libs/Sculpt/Meshes/Polygon.d.ts +0 -53
- package/libs/Sculpt/Meshes/Polygon.js +0 -127
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +0 -33
- package/libs/Sculpt/Meshes/PolygonWithEdge.js +0 -69
- package/libs/Sculpt/Meshes/Polyline.d.ts +0 -47
- package/libs/Sculpt/Meshes/Polyline.js +0 -119
- package/libs/Sculpt/Meshes/Prism.d.ts +0 -98
- package/libs/Sculpt/Meshes/Prism.js +0 -305
- package/libs/Sculpt/Meshes/Rectangle.d.ts +0 -19
- package/libs/Sculpt/Meshes/Rectangle.js +0 -45
- package/libs/Sculpt/Meshes/RectangleWithEdge.d.ts +0 -29
- package/libs/Sculpt/Meshes/RectangleWithEdge.js +0 -56
- package/libs/Sculpt/Objects/Base/Editor.d.ts +0 -54
- package/libs/Sculpt/Objects/Base/Editor.js +0 -133
- package/libs/Sculpt/Objects/Base/index.d.ts +0 -125
- package/libs/Sculpt/Objects/Base/index.js +0 -164
- package/libs/Sculpt/Objects/Box/index.d.ts +0 -48
- package/libs/Sculpt/Objects/Box/index.js +0 -149
- package/libs/Sculpt/Objects/Circle/index.d.ts +0 -32
- package/libs/Sculpt/Objects/Circle/index.js +0 -123
- package/libs/Sculpt/Objects/Cylinder/index.d.ts +0 -34
- package/libs/Sculpt/Objects/Cylinder/index.js +0 -110
- package/libs/Sculpt/Objects/Line/Editor.d.ts +0 -22
- package/libs/Sculpt/Objects/Line/Editor.js +0 -68
- package/libs/Sculpt/Objects/Line/index.d.ts +0 -48
- package/libs/Sculpt/Objects/Line/index.js +0 -145
- package/libs/Sculpt/Objects/Point/Editor.d.ts +0 -8
- package/libs/Sculpt/Objects/Point/Editor.js +0 -25
- package/libs/Sculpt/Objects/Point/index.d.ts +0 -39
- package/libs/Sculpt/Objects/Point/index.js +0 -101
- package/libs/Sculpt/Objects/Polygon/Editor.d.ts +0 -20
- package/libs/Sculpt/Objects/Polygon/Editor.js +0 -83
- package/libs/Sculpt/Objects/Polygon/index.d.ts +0 -80
- package/libs/Sculpt/Objects/Polygon/index.js +0 -254
- package/libs/Sculpt/Objects/Polyline/Editor.d.ts +0 -8
- package/libs/Sculpt/Objects/Polyline/Editor.js +0 -23
- package/libs/Sculpt/Objects/Polyline/index.d.ts +0 -47
- package/libs/Sculpt/Objects/Polyline/index.js +0 -137
- package/libs/Sculpt/Objects/Prism/index.d.ts +0 -57
- package/libs/Sculpt/Objects/Prism/index.js +0 -114
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +0 -48
- package/libs/Sculpt/Objects/Rectangle/index.js +0 -205
- package/libs/Sculpt/index.d.ts +0 -266
- package/libs/Sculpt/index.js +0 -297
- package/libs/Sculpt/typings/index.d.ts +0 -72
- package/libs/Sculpt/typings/style.d.ts +0 -108
- package/libs/Sculpt/typings/style.js +0 -8
- package/libs/Sculpt/typings/utils.type.d.ts +0 -16
- package/libs/Sculpt/utils/Meshes/getLengthHTML.d.ts +0 -4
- package/libs/Sculpt/utils/Meshes/getLengthHTML.js +0 -72
- package/libs/Sculpt/utils/Modules/Cursor.d.ts +0 -21
- package/libs/Sculpt/utils/Modules/Cursor.js +0 -70
- package/libs/Sculpt/utils/Modules/DeleteButtonBgBorder.d.ts +0 -6
- package/libs/Sculpt/utils/Modules/DeleteButtonBgBorder.js +0 -4
- package/libs/Sculpt/utils/Modules/DeleteIconSVG.d.ts +0 -1
- package/libs/Sculpt/utils/Modules/DeleteIconSVG.js +0 -15
- package/libs/Sculpt/utils/Modules/Global.d.ts +0 -22
- package/libs/Sculpt/utils/Modules/Global.js +0 -65
- package/libs/Sculpt/utils/data.d.ts +0 -7
- package/libs/Sculpt/utils/export.d.ts +0 -25
- package/libs/Sculpt/utils/export.js +0 -57
- package/libs/Sculpt/utils/isIntersecting.d.ts +0 -17
- package/libs/Sculpt/utils/isIntersecting.js +0 -68
- package/libs/Sculpt/utils/radiusToSegments.d.ts +0 -1
- package/libs/Sculpt/utils/radiusToSegments.js +0 -6
- package/libs/Sculpt/utils/removeAllTag.d.ts +0 -2
- package/libs/Sculpt/utils/renderDom.d.ts +0 -19
- package/libs/Sculpt/utils/renderDom.js +0 -22
- package/libs/Sculpt/utils/sortPositionsByCameraPosition.d.ts +0 -5
- package/libs/Sculpt/utils/sortPositionsByCameraPosition.js +0 -9
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +0 -33
- package/libs/Sculpt/utils/three/ColoredMesh.js +0 -105
- package/libs/Sculpt/utils/three/RectangleGeometry.d.ts +0 -6
- package/libs/Sculpt/utils/three/RectangleGeometry.js +0 -19
- package/libs/Sculpt/utils/three/rayOnLine.d.ts +0 -12
- package/libs/Sculpt/utils/three/rayOnLine.js +0 -15
- package/libs/Sculpt/utils/unit.d.ts +0 -7
- package/libs/Sculpt/utils/unit.js +0 -41
- package/libs/_commonjsHelpers.js +0 -4
- package/libs/base/BasePlugin.d.ts +0 -124
- package/libs/base/BasePlugin.js +0 -58
- package/libs/base/BasePluginWithData.d.ts +0 -21
- package/libs/base/BasePluginWithData.js +0 -6
- package/libs/components/AreaLabel/Assets/fontSize.d.ts +0 -62
- package/libs/components/AreaLabel/Assets/fontSize.js +0 -65
- package/libs/components/AreaLabel/Assets/roomLabelBg.d.ts +0 -3
- package/libs/components/AreaLabel/Assets/roomLabelBg.js +0 -5
- package/libs/components/AreaLabel/LabelItem.js +0 -283
- package/libs/components/AreaLabel/LabelItem.svelte.d.ts +0 -1
- package/libs/components/PaintBrush/Controller.d.ts +0 -43
- package/libs/components/PaintBrush/Controller.js +0 -319
- package/libs/components/PaintBrush/Subscribe.d.ts +0 -76
- package/libs/components/PaintBrush/Subscribe.js +0 -84
- package/libs/components/PaintBrush/index.d.ts +0 -27
- package/libs/components/PaintBrush/index.js +0 -58
- package/libs/components/PaintBrush/style.d.ts +0 -2
- package/libs/components/PaintBrush/style.js +0 -104
- package/libs/components/PaintBrush/tween.d.ts +0 -7
- package/libs/components/PaintBrush/tween.js +0 -11
- package/libs/components/PaintBrush/typings.d.ts +0 -58
- package/libs/components/PaintBrush/typings.js +0 -4
- package/libs/components/PaintBrush/utils.d.ts +0 -26
- package/libs/components/PaintBrush/utils.js +0 -45
- package/libs/components/index.d.ts +0 -2
- package/libs/components/index.js +0 -2
- package/libs/floorplan/Assets/camera.d.ts +0 -2
- package/libs/floorplan/Assets/camera.js +0 -5
- package/libs/floorplan/Assets/compass.d.ts +0 -1
- package/libs/floorplan/Assets/compass.js +0 -4
- package/libs/floorplan/Assets/floorplanExtraObject.d.ts +0 -1
- package/libs/floorplan/Assets/floorplanExtraObject.js +0 -4
- package/libs/floorplan/Components/BaseImage.js +0 -121
- package/libs/floorplan/Components/BaseImage.svelte.d.ts +0 -1
- package/libs/floorplan/Components/Camera.js +0 -108
- package/libs/floorplan/Components/Camera.svelte.d.ts +0 -1
- package/libs/floorplan/Components/Compass.js +0 -75
- package/libs/floorplan/Components/Compass.svelte.d.ts +0 -1
- package/libs/floorplan/Components/CurrentFloor.js +0 -689
- package/libs/floorplan/Components/CurrentFloor.svelte.d.ts +0 -1
- package/libs/floorplan/Components/Items/Item.js +0 -69
- package/libs/floorplan/Components/Items/Item.svelte.d.ts +0 -1
- package/libs/floorplan/Components/Items/Items.js +0 -161
- package/libs/floorplan/Components/Items/Items.svelte.d.ts +0 -1
- package/libs/floorplan/Components/Main.js +0 -437
- package/libs/floorplan/Components/Main.svelte.d.ts +0 -1
- package/libs/floorplan/Components/MissingFloor.js +0 -99
- package/libs/floorplan/Components/MissingFloor.svelte.d.ts +0 -1
- package/libs/floorplan/Components/Normalmage.js +0 -40
- package/libs/floorplan/Components/Normalmage.svelte.d.ts +0 -1
- package/libs/floorplan/Components/RoomHighlight/Room.js +0 -111
- package/libs/floorplan/Components/RoomHighlight/Room.svelte.d.ts +0 -1
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +0 -180
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.svelte.d.ts +0 -1
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +0 -451
- package/libs/floorplan/Components/RoomLabels/RoomLabel.svelte.d.ts +0 -1
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +0 -300
- package/libs/floorplan/Components/RoomLabels/RoomLabels.svelte.d.ts +0 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +0 -309
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.svelte.d.ts +0 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +0 -49
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.svelte.d.ts +0 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +0 -76
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.svelte.d.ts +0 -1
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +0 -71
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.svelte.d.ts +0 -1
- package/libs/floorplan/Components/RoomMaterials/RoomTriangle.js +0 -103
- package/libs/floorplan/Components/RoomMaterials/RoomTriangle.svelte.d.ts +0 -1
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +0 -208
- package/libs/floorplan/Components/RuleLabels/RuleItem.svelte.d.ts +0 -1
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +0 -204
- package/libs/floorplan/Components/RuleLabels/RuleLabels.svelte.d.ts +0 -1
- package/libs/floorplan/Components/StyledImage.js +0 -90
- package/libs/floorplan/Components/StyledImage.svelte.d.ts +0 -1
- package/libs/floorplan/Components/SvgImage.js +0 -59
- package/libs/floorplan/Components/SvgImage.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/Camera.js +0 -171
- package/libs/floorplan/FloorplanGuidePlugin/Components/Camera.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/CurrentFloor.js +0 -357
- package/libs/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/ExtraObjects.js +0 -94
- package/libs/floorplan/FloorplanGuidePlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/FloorplanCompass.js +0 -110
- package/libs/floorplan/FloorplanGuidePlugin/Components/FloorplanCompass.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/Main.js +0 -751
- package/libs/floorplan/FloorplanGuidePlugin/Components/Main.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/ObserverDots.js +0 -153
- package/libs/floorplan/FloorplanGuidePlugin/Components/ObserverDots.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/RoomLabelItem.js +0 -268
- package/libs/floorplan/FloorplanGuidePlugin/Components/RoomLabelItem.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Components/RoomLabels.js +0 -329
- package/libs/floorplan/FloorplanGuidePlugin/Components/RoomLabels.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanGuidePlugin/Controller.d.ts +0 -53
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +0 -355
- package/libs/floorplan/FloorplanGuidePlugin/index.d.ts +0 -7
- package/libs/floorplan/FloorplanGuidePlugin/index.js +0 -106
- package/libs/floorplan/FloorplanGuidePlugin/typing.d.ts +0 -196
- package/libs/floorplan/FloorplanGuidePlugin/typing.js +0 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.d.ts +0 -128
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +0 -564
- package/libs/floorplan/MapviewFloorplanPlugin/index.d.ts +0 -7
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +0 -128
- package/libs/floorplan/MapviewFloorplanPlugin/items.d.ts +0 -30
- package/libs/floorplan/MapviewFloorplanPlugin/items.js +0 -2672
- package/libs/floorplan/MapviewFloorplanPlugin/typing.d.ts +0 -1
- package/libs/floorplan/MapviewFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +0 -121
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +0 -522
- package/libs/floorplan/ModelFloorplanPlugin/index.d.ts +0 -7
- package/libs/floorplan/ModelFloorplanPlugin/index.js +0 -127
- package/libs/floorplan/ModelFloorplanPlugin/typing.d.ts +0 -1
- package/libs/floorplan/ModelFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +0 -132
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.svelte.d.ts +0 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +0 -355
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +0 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +0 -94
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +0 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +0 -328
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.svelte.d.ts +0 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +0 -40
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +0 -268
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.d.ts +0 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +0 -99
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +0 -70
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +0 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +0 -74
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +0 -423
- package/libs/floorplan/TopviewFloorplanPlugin/index.d.ts +0 -7
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +0 -124
- package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +0 -1
- package/libs/floorplan/TopviewFloorplanPlugin/style.js +0 -11
- package/libs/floorplan/TopviewFloorplanPlugin/typing.d.ts +0 -11
- package/libs/floorplan/TopviewFloorplanPlugin/typing.js +0 -1
- package/libs/floorplan/constant.d.ts +0 -5
- package/libs/floorplan/constant.js +0 -4
- package/libs/floorplan/index.d.ts +0 -8
- package/libs/floorplan/index.js +0 -16
- package/libs/floorplan/typings/floorplanData.d.ts +0 -176
- package/libs/floorplan/typings/floorplanData.js +0 -1
- package/libs/floorplan/typings/floorplanServerData.d.ts +0 -186
- package/libs/floorplan/typings/floorplanServerData.js +0 -101
- package/libs/floorplan/typings/index.d.ts +0 -164
- package/libs/floorplan/typings/index.js +0 -1
- package/libs/floorplan/typings/utility.d.ts +0 -2
- package/libs/floorplan/utils/constant.d.ts +0 -24
- package/libs/floorplan/utils/constant.js +0 -7
- package/libs/floorplan/utils/correctFiveState.d.ts +0 -18
- package/libs/floorplan/utils/correctFiveState.js +0 -57
- package/libs/floorplan/utils/formatData.d.ts +0 -5
- package/libs/floorplan/utils/formatData.js +0 -149
- package/libs/floorplan/utils/formatPosition.d.ts +0 -36
- package/libs/floorplan/utils/formatPosition.js +0 -35
- package/libs/floorplan/utils/styledFloorplan.d.ts +0 -2
- package/libs/floorplan/utils/styledFloorplan.js +0 -24
- package/libs/index.d.ts +0 -34
- package/libs/index.js +0 -738
- package/libs/shared-utils/CSS3DRender/CSS3DObject.d.ts +0 -37
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +0 -94
- package/libs/shared-utils/CSS3DRender/CSS3DRenderer.d.ts +0 -16
- package/libs/shared-utils/CSS3DRender/CSS3DRenderer.js +0 -61
- package/libs/shared-utils/CSS3DRender/OpacityMesh.d.ts +0 -6
- package/libs/shared-utils/CSS3DRender/OpacityMesh.js +0 -18
- package/libs/shared-utils/CSS3DRender/index.d.ts +0 -41
- package/libs/shared-utils/CSS3DRender/index.js +0 -76
- package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +0 -142
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +0 -234
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +0 -105
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +0 -103
- package/libs/shared-utils/Object3DHelper/Constants/RenderOrder.d.ts +0 -15
- package/libs/shared-utils/Object3DHelper/Constants/RenderOrder.js +0 -23
- package/libs/shared-utils/Object3DHelper/Constants/color.d.ts +0 -12
- package/libs/shared-utils/Object3DHelper/Constants/color.js +0 -20
- package/libs/shared-utils/Object3DHelper/Controller/BoundingBoxController.d.ts +0 -7
- package/libs/shared-utils/Object3DHelper/Controller/BoundingBoxController.js +0 -13
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +0 -7
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +0 -22
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.d.ts +0 -60
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +0 -204
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +0 -45
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +0 -116
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.d.ts +0 -46
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +0 -219
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +0 -66
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +0 -307
- package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +0 -16
- package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js +0 -98
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +0 -43
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +0 -150
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +0 -11
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +0 -81
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +0 -6
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +0 -41
- package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +0 -2
- package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +0 -13
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +0 -24
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +0 -51
- package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +0 -18
- package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js +0 -40
- package/libs/shared-utils/Object3DHelper/Helper/Objects/CenterHandle.d.ts +0 -23
- package/libs/shared-utils/Object3DHelper/Helper/Objects/CenterHandle.js +0 -73
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +0 -93
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +0 -182
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +0 -65
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.js +0 -220
- package/libs/shared-utils/Object3DHelper/Helper/index.d.ts +0 -5
- package/libs/shared-utils/Object3DHelper/Helper/index.js +0 -4
- package/libs/shared-utils/Object3DHelper/index.d.ts +0 -52
- package/libs/shared-utils/Object3DHelper/index.js +0 -144
- package/libs/shared-utils/Object3DHelper/typings/Direction.d.ts +0 -2
- package/libs/shared-utils/Object3DHelper/typings/Direction.js +0 -1
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +0 -63
- package/libs/shared-utils/Object3DHelper/typings/Hooks.js +0 -1
- package/libs/shared-utils/Object3DHelper/typings/Scissor.d.ts +0 -17
- package/libs/shared-utils/Object3DHelper/typings/Scissor.js +0 -1
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +0 -45
- package/libs/shared-utils/Object3DHelper/typings/index.js +0 -1
- package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +0 -5
- package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.js +0 -7
- package/libs/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +0 -14
- package/libs/shared-utils/Object3DHelper/utils/calculateThreeMouse.js +0 -11
- package/libs/shared-utils/Object3DHelper/utils/cameraHooks.d.ts +0 -2
- package/libs/shared-utils/Object3DHelper/utils/cameraHooks.js +0 -24
- package/libs/shared-utils/Object3DHelper/utils/direction.d.ts +0 -14
- package/libs/shared-utils/Object3DHelper/utils/direction.js +0 -22
- package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +0 -2
- package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +0 -1
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +0 -5
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +0 -14
- package/libs/shared-utils/Object3DHelper/utils/getOrthographicCameraDirection.d.ts +0 -8
- package/libs/shared-utils/Object3DHelper/utils/getOrthographicCameraDirection.js +0 -12
- package/libs/shared-utils/Object3DHelper/utils/getPoseFromCamera.d.ts +0 -8
- package/libs/shared-utils/Object3DHelper/utils/getPoseFromCamera.js +0 -14
- package/libs/shared-utils/Object3DHelper/utils/index.d.ts +0 -8
- package/libs/shared-utils/Object3DHelper/utils/index.js +0 -1
- package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +0 -5
- package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +0 -1
- package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +0 -1
- package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +0 -1
- package/libs/shared-utils/Object3DHelper/utils/setObjectQuaternion.d.ts +0 -8
- package/libs/shared-utils/Object3DHelper/utils/setObjectQuaternion.js +0 -11
- package/libs/shared-utils/Object3DHelper/utils/solidGuide.d.ts +0 -27
- package/libs/shared-utils/Object3DHelper/utils/solidGuide.js +0 -72
- package/libs/shared-utils/Subscribe.d.ts +0 -68
- package/libs/shared-utils/Subscribe.js +0 -103
- package/libs/shared-utils/Utils/BaseUtil.d.ts +0 -6
- package/libs/shared-utils/Utils/BaseUtil.js +0 -14
- package/libs/shared-utils/Utils/FiveUtil.d.ts +0 -11
- package/libs/shared-utils/Utils/FiveUtil.js +0 -31
- package/libs/shared-utils/Utils/WorkUtil.d.ts +0 -36
- package/libs/shared-utils/Utils/WorkUtil.js +0 -81
- package/libs/shared-utils/animationFrame/BetterTween.d.ts +0 -12
- package/libs/shared-utils/animationFrame/BetterTween.js +0 -33
- package/libs/shared-utils/animationFrame/calculateProgress.d.ts +0 -8
- package/libs/shared-utils/animationFrame/calculateProgress.js +0 -6
- package/libs/shared-utils/animationFrame/formatRad.d.ts +0 -15
- package/libs/shared-utils/animationFrame/formatRad.js +0 -11
- package/libs/shared-utils/animationFrame/index.d.ts +0 -17
- package/libs/shared-utils/animationFrame/index.js +0 -52
- package/libs/shared-utils/animationFrame/tween.d.ts +0 -84
- package/libs/shared-utils/animationFrame/tween.js +0 -28
- package/libs/shared-utils/audio.d.ts +0 -36
- package/libs/shared-utils/audio.js +0 -61
- package/libs/shared-utils/changeModelCanvasOpacity.d.ts +0 -2
- package/libs/shared-utils/changeModelCanvasOpacity.js +0 -20
- package/libs/shared-utils/clamp.d.ts +0 -2
- package/libs/shared-utils/clamp.js +0 -6
- package/libs/shared-utils/constants.d.ts +0 -3
- package/libs/shared-utils/constants.js +0 -4
- package/libs/shared-utils/createCanvasTextTexture.d.ts +0 -8
- package/libs/shared-utils/createCanvasTextTexture.js +0 -11
- package/libs/shared-utils/createLine/index.d.ts +0 -3
- package/libs/shared-utils/createLine/index.js +0 -9
- package/libs/shared-utils/createResizeObserver.d.ts +0 -4
- package/libs/shared-utils/createResizeObserver.js +0 -22
- package/libs/shared-utils/debounce.d.ts +0 -6
- package/libs/shared-utils/debounce.js +0 -11
- package/libs/shared-utils/device.d.ts +0 -6
- package/libs/shared-utils/device.js +0 -7
- package/libs/shared-utils/dom/resizeObserver.d.ts +0 -4
- package/libs/shared-utils/dom/resizeObserver.js +0 -17
- package/libs/shared-utils/equal.d.ts +0 -11
- package/libs/shared-utils/equal.js +0 -54
- package/libs/shared-utils/even.d.ts +0 -9
- package/libs/shared-utils/even.js +0 -7
- package/libs/shared-utils/exports.d.ts +0 -2
- package/libs/shared-utils/exports.js +0 -115
- package/libs/shared-utils/filter.d.ts +0 -27
- package/libs/shared-utils/filter.js +0 -10
- package/libs/shared-utils/five/FiveDomEvents.d.ts +0 -138
- package/libs/shared-utils/five/FiveDomEvents.js +0 -312
- package/libs/shared-utils/five/FiveLine.d.ts +0 -10
- package/libs/shared-utils/five/FiveLine.js +0 -15
- package/libs/shared-utils/five/FivePuppet.d.ts +0 -64
- package/libs/shared-utils/five/FivePuppet.js +0 -45
- package/libs/shared-utils/five/calculateThreeMouse.d.ts +0 -11
- package/libs/shared-utils/five/calculateThreeMouse.js +0 -8
- package/libs/shared-utils/five/changeMode.d.ts +0 -3
- package/libs/shared-utils/five/changeMode.js +0 -51
- package/libs/shared-utils/five/fiveEveryReadyListener.d.ts +0 -2
- package/libs/shared-utils/five/fiveEveryReadyListener.js +0 -15
- package/libs/shared-utils/five/fiveLoaded.d.ts +0 -2
- package/libs/shared-utils/five/fiveLoaded.js +0 -30
- package/libs/shared-utils/five/fiveModelLoad.d.ts +0 -9
- package/libs/shared-utils/five/fiveModelLoad.js +0 -40
- package/libs/shared-utils/five/getFiveFromParentChain.d.ts +0 -8
- package/libs/shared-utils/five/getFiveFromParentChain.js +0 -20
- package/libs/shared-utils/five/getFiveModel.d.ts +0 -2
- package/libs/shared-utils/five/getFiveModel.js +0 -7
- package/libs/shared-utils/five/getFloorIndex.d.ts +0 -4
- package/libs/shared-utils/five/getFloorIndex.js +0 -22
- package/libs/shared-utils/five/getFloorMesh.d.ts +0 -3
- package/libs/shared-utils/five/getFloorMesh.js +0 -11
- package/libs/shared-utils/five/getPosition.d.ts +0 -24
- package/libs/shared-utils/five/getPosition.js +0 -41
- package/libs/shared-utils/five/getRaycasterByNdcPosition.d.ts +0 -6
- package/libs/shared-utils/five/getRaycasterByNdcPosition.js +0 -8
- package/libs/shared-utils/five/index.d.ts +0 -12
- package/libs/shared-utils/five/index.js +0 -20
- package/libs/shared-utils/five/initialCSS3DRender.d.ts +0 -1
- package/libs/shared-utils/five/initialCSS3DRender.js +0 -2
- package/libs/shared-utils/five/lookObject.d.ts +0 -15
- package/libs/shared-utils/five/lookObject.js +0 -98
- package/libs/shared-utils/five/lookPoint.d.ts +0 -11
- package/libs/shared-utils/five/lookPoint.js +0 -71
- package/libs/shared-utils/five/mode.d.ts +0 -3
- package/libs/shared-utils/five/mode.js +0 -10
- package/libs/shared-utils/five/transformPosition.d.ts +0 -2
- package/libs/shared-utils/five/transformPosition.js +0 -10
- package/libs/shared-utils/five/vector3ToScreen.d.ts +0 -5
- package/libs/shared-utils/five/vector3ToScreen.js +0 -10
- package/libs/shared-utils/fontSize.d.ts +0 -185
- package/libs/shared-utils/fontSize.js +0 -105
- package/libs/shared-utils/forReverseEach.d.ts +0 -1
- package/libs/shared-utils/forReverseEach.js +0 -7
- package/libs/shared-utils/formatRad.d.ts +0 -7
- package/libs/shared-utils/formatRad.js +0 -7
- package/libs/shared-utils/getPointFromHammerEvent.d.ts +0 -10
- package/libs/shared-utils/getPointFromHammerEvent.js +0 -8
- package/libs/shared-utils/getPxmm.d.ts +0 -19
- package/libs/shared-utils/getPxmm.js +0 -18
- package/libs/shared-utils/index.d.ts +0 -11
- package/libs/shared-utils/index.js +0 -14
- package/libs/shared-utils/isNil.d.ts +0 -10
- package/libs/shared-utils/isNil.js +0 -10
- package/libs/shared-utils/isTouchDevice.d.ts +0 -1
- package/libs/shared-utils/isTouchDevice.js +0 -4
- package/libs/shared-utils/isTruelyObject.d.ts +0 -18
- package/libs/shared-utils/isTruelyObject.js +0 -6
- package/libs/shared-utils/log.d.ts +0 -2
- package/libs/shared-utils/log.js +0 -6
- package/libs/shared-utils/logger.d.ts +0 -17
- package/libs/shared-utils/logger.js +0 -16
- package/libs/shared-utils/math/Interval.d.ts +0 -13
- package/libs/shared-utils/math/Interval.js +0 -25
- package/libs/shared-utils/math/Rectangle.d.ts +0 -27
- package/libs/shared-utils/math/Rectangle.js +0 -25
- package/libs/shared-utils/math/convexHull.d.ts +0 -5
- package/libs/shared-utils/math/convexHull.js +0 -20
- package/libs/shared-utils/math/deg2Rad.d.ts +0 -1
- package/libs/shared-utils/math/deg2Rad.js +0 -6
- package/libs/shared-utils/math/index.d.ts +0 -4
- package/libs/shared-utils/math/index.js +0 -1
- package/libs/shared-utils/math/inside.d.ts +0 -2
- package/libs/shared-utils/math/inside.js +0 -12
- package/libs/shared-utils/math/intersecting.d.ts +0 -25
- package/libs/shared-utils/math/intersecting.js +0 -25
- package/libs/shared-utils/math/planimetry.d.ts +0 -116
- package/libs/shared-utils/math/planimetry.js +0 -50
- package/libs/shared-utils/math/pointsIsRectangle.d.ts +0 -2
- package/libs/shared-utils/math/pointsIsRectangle.js +0 -9
- package/libs/shared-utils/math/rad2Deg.d.ts +0 -1
- package/libs/shared-utils/math/rad2Deg.js +0 -6
- package/libs/shared-utils/nearlyEqual.d.ts +0 -14
- package/libs/shared-utils/nearlyEqual.js +0 -12
- package/libs/shared-utils/nextFrame.d.ts +0 -1
- package/libs/shared-utils/nextFrame.js +0 -6
- package/libs/shared-utils/noop.d.ts +0 -5
- package/libs/shared-utils/noop.js +0 -5
- package/libs/shared-utils/object3d2LocalMatrix.d.ts +0 -12
- package/libs/shared-utils/object3d2LocalMatrix.js +0 -18
- package/libs/shared-utils/offscreenCanvas.d.ts +0 -2
- package/libs/shared-utils/offscreenCanvas.js +0 -12
- package/libs/shared-utils/playback.d.ts +0 -21
- package/libs/shared-utils/positionToVector3.d.ts +0 -17
- package/libs/shared-utils/positionToVector3.js +0 -15
- package/libs/shared-utils/promise/withResolvers.d.ts +0 -10
- package/libs/shared-utils/promise/withResolvers.js +0 -13
- package/libs/shared-utils/px2rem.d.ts +0 -1
- package/libs/shared-utils/px2rem.js +0 -6
- package/libs/shared-utils/safeObj.d.ts +0 -1
- package/libs/shared-utils/safeObj.js +0 -6
- package/libs/shared-utils/svelte/resizeObserver.d.ts +0 -2
- package/libs/shared-utils/svelte/resizeObserver.js +0 -13
- package/libs/shared-utils/tag.d.ts +0 -99
- package/libs/shared-utils/tag.js +0 -258
- package/libs/shared-utils/tap.d.ts +0 -8
- package/libs/shared-utils/tap.js +0 -6
- package/libs/shared-utils/three/Assets/index.d.ts +0 -3
- package/libs/shared-utils/three/Assets/index.js +0 -4
- package/libs/shared-utils/three/CSS3DRenderer/index.d.ts +0 -23
- package/libs/shared-utils/three/CSS3DRenderer/index.js +0 -107
- package/libs/shared-utils/three/Extras/Core/Interpolations.d.ts +0 -11
- package/libs/shared-utils/three/Extras/Core/Interpolations.js +0 -28
- package/libs/shared-utils/three/Extras/Core/Interpolations2.js +0 -34
- package/libs/shared-utils/three/Extras/Curves/BezierCurve3.d.ts +0 -13
- package/libs/shared-utils/three/Extras/Curves/BezierCurve3.js +0 -30
- package/libs/shared-utils/three/FBXLoader/index.d.ts +0 -6
- package/libs/shared-utils/three/FBXLoader/index.js +0 -1493
- package/libs/shared-utils/three/FragmentTransparencyMaterial.d.ts +0 -18
- package/libs/shared-utils/three/FragmentTransparencyMaterial.js +0 -47
- package/libs/shared-utils/three/GLTFLoader.d.ts +0 -9
- package/libs/shared-utils/three/GLTFLoader.js +0 -23
- package/libs/shared-utils/three/IObject3D.d.ts +0 -11
- package/libs/shared-utils/three/IObject3D.js +0 -38
- package/libs/shared-utils/three/LegacyPointHelper.d.ts +0 -22
- package/libs/shared-utils/three/LegacyPointHelper.js +0 -73
- package/libs/shared-utils/three/Magnifier.d.ts +0 -79
- package/libs/shared-utils/three/Magnifier.js +0 -244
- package/libs/shared-utils/three/PointDomHelper.d.ts +0 -18
- package/libs/shared-utils/three/PointDomHelper.js +0 -70
- package/libs/shared-utils/three/PointSelector/index.d.ts +0 -182
- package/libs/shared-utils/three/PointSelector/index.js +0 -404
- package/libs/shared-utils/three/PointSelector/utils/PointHelper.d.ts +0 -31
- package/libs/shared-utils/three/PointSelector/utils/PointHelper.js +0 -99
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.d.ts +0 -31
- package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +0 -157
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.d.ts +0 -73
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +0 -78
- package/libs/shared-utils/three/PointSelector/utils/contents.d.ts +0 -1
- package/libs/shared-utils/three/PointSelector/utils/contents.js +0 -4
- package/libs/shared-utils/three/PointSelector/utils/html.d.ts +0 -4
- package/libs/shared-utils/three/PointSelector/utils/html.js +0 -66
- package/libs/shared-utils/three/PointSelector/utils/typing.d.ts +0 -8
- package/libs/shared-utils/three/Quadrangle.d.ts +0 -20
- package/libs/shared-utils/three/Quadrangle.js +0 -65
- package/libs/shared-utils/three/addIfNotExists.d.ts +0 -2
- package/libs/shared-utils/three/addIfNotExists.js +0 -8
- package/libs/shared-utils/three/applyObjectMatrixWorld.d.ts +0 -3
- package/libs/shared-utils/three/applyObjectMatrixWorld.js +0 -13
- package/libs/shared-utils/three/blink.d.ts +0 -278
- package/libs/shared-utils/three/blink.js +0 -345
- package/libs/shared-utils/three/boundingBox.d.ts +0 -25
- package/libs/shared-utils/three/boundingBox.js +0 -90
- package/libs/shared-utils/three/centerPoint.d.ts +0 -2
- package/libs/shared-utils/three/centerPoint.js +0 -8
- package/libs/shared-utils/three/closeVectors.d.ts +0 -2
- package/libs/shared-utils/three/closeVectors.js +0 -10
- package/libs/shared-utils/three/core/Five_LineMaterial2.d.ts +0 -20
- package/libs/shared-utils/three/core/Five_LineMaterial2.js +0 -307
- package/libs/shared-utils/three/core/Line2.d.ts +0 -13
- package/libs/shared-utils/three/core/Line2.js +0 -15
- package/libs/shared-utils/three/core/LineGeometry.d.ts +0 -13
- package/libs/shared-utils/three/core/LineGeometry.js +0 -26
- package/libs/shared-utils/three/core/LineMaterial.d.ts +0 -15
- package/libs/shared-utils/three/core/LineMaterial.js +0 -40
- package/libs/shared-utils/three/core/LineMaterial2.d.ts +0 -15
- package/libs/shared-utils/three/core/LineMaterial2.js +0 -40
- package/libs/shared-utils/three/core/LineSegments.d.ts +0 -9
- package/libs/shared-utils/three/core/LineSegments.js +0 -9
- package/libs/shared-utils/three/core/Object3D.d.ts +0 -8
- package/libs/shared-utils/three/core/Object3D.js +0 -22
- package/libs/shared-utils/three/core/PrismAnimationGeometry.d.ts +0 -25
- package/libs/shared-utils/three/core/PrismAnimationGeometry.js +0 -146
- package/libs/shared-utils/three/core/PrismGeometry.d.ts +0 -22
- package/libs/shared-utils/three/core/PrismGeometry.js +0 -44
- package/libs/shared-utils/three/core/Raycaster.d.ts +0 -6
- package/libs/shared-utils/three/core/Raycaster.js +0 -34
- package/libs/shared-utils/three/core/Sphere.d.ts +0 -4
- package/libs/shared-utils/three/core/Sphere.js +0 -18
- package/libs/shared-utils/three/core/polygonVertex.d.ts +0 -8
- package/libs/shared-utils/three/core/polygonVertex.js +0 -16
- package/libs/shared-utils/three/earcut3D.d.ts +0 -2
- package/libs/shared-utils/three/earcut3D.js +0 -12
- package/libs/shared-utils/three/filterVisibleIntersections.d.ts +0 -3
- package/libs/shared-utils/three/filterVisibleIntersections.js +0 -7
- package/libs/shared-utils/three/generatePolygonGeometry.d.ts +0 -9
- package/libs/shared-utils/three/generatePolygonGeometry.js +0 -19
- package/libs/shared-utils/three/geometryUtil.d.ts +0 -15
- package/libs/shared-utils/three/geometryUtil.js +0 -43
- package/libs/shared-utils/three/getCoords.d.ts +0 -9
- package/libs/shared-utils/three/getCoords.js +0 -13
- package/libs/shared-utils/three/getIntersect.d.ts +0 -22
- package/libs/shared-utils/three/getIntersect.js +0 -24
- package/libs/shared-utils/three/getNormal.d.ts +0 -5
- package/libs/shared-utils/three/getNormal.js +0 -12
- package/libs/shared-utils/three/getObjectVisible.d.ts +0 -5
- package/libs/shared-utils/three/getObjectVisible.js +0 -4
- package/libs/shared-utils/three/getPositionsByObjectFit.d.ts +0 -3
- package/libs/shared-utils/three/getPositionsByObjectFit.js +0 -20
- package/libs/shared-utils/three/getRaycaster.d.ts +0 -6
- package/libs/shared-utils/three/getRaycaster.js +0 -12
- package/libs/shared-utils/three/getTextureLoader.d.ts +0 -6
- package/libs/shared-utils/three/getTextureLoader.js +0 -15
- package/libs/shared-utils/three/index.d.ts +0 -15
- package/libs/shared-utils/three/index.js +0 -14
- package/libs/shared-utils/three/libs/NURBSCurve.js +0 -22
- package/libs/shared-utils/three/libs/NURBSUtils.js +0 -212
- package/libs/shared-utils/three/libs/inflate.js +0 -282
- package/libs/shared-utils/three/loadTexture.d.ts +0 -6
- package/libs/shared-utils/three/loadTexture.js +0 -37
- package/libs/shared-utils/three/loadVideoTexture.d.ts +0 -9
- package/libs/shared-utils/three/loadVideoTexture.js +0 -34
- package/libs/shared-utils/three/recurveFindObject.d.ts +0 -2
- package/libs/shared-utils/three/recurveFindObject.js +0 -6
- package/libs/shared-utils/three/temp.d.ts +0 -2
- package/libs/shared-utils/three/temp.js +0 -6
- package/libs/shared-utils/three/transformPositionToVector3.d.ts +0 -7
- package/libs/shared-utils/three/transformPositionToVector3.js +0 -5
- package/libs/shared-utils/three/transformToMeshBasicMaterial.d.ts +0 -2
- package/libs/shared-utils/three/transformToMeshBasicMaterial.js +0 -24
- package/libs/shared-utils/three/vector3ToArray.d.ts +0 -3
- package/libs/shared-utils/three/vector3ToArray.js +0 -6
- package/libs/shared-utils/three/vectorIsEqual.d.ts +0 -2
- package/libs/shared-utils/three/vectorIsEqual.js +0 -6
- package/libs/shared-utils/threex/domevents/index.js +0 -222
- package/libs/shared-utils/throttle.d.ts +0 -7
- package/libs/shared-utils/throttle.js +0 -11
- package/libs/shared-utils/tinyEJSrender.d.ts +0 -5
- package/libs/shared-utils/tinyEJSrender.js +0 -140
- package/libs/shared-utils/to.d.ts +0 -8
- package/libs/shared-utils/to.js +0 -28
- package/libs/shared-utils/translateMode/getDistanceFromModel.d.ts +0 -2
- package/libs/shared-utils/translateMode/getDistanceFromModel.js +0 -11
- package/libs/shared-utils/typescript/entries.d.ts +0 -2
- package/libs/shared-utils/typescript/entries.js +0 -6
- package/libs/shared-utils/url/absoluteUrl.d.ts +0 -5
- package/libs/shared-utils/url/absoluteUrl.js +0 -6
- package/libs/shared-utils/url/defaultUrls.d.ts +0 -30
- package/libs/shared-utils/url/defaultUrls.js +0 -26
- package/libs/shared-utils/url/getUrl.d.ts +0 -4
- package/libs/shared-utils/url/getUrl.js +0 -7
- package/libs/shared-utils/url/replace-static-prefix.d.ts +0 -11
- package/libs/shared-utils/url/replace-static-prefix.js +0 -28
- package/libs/shared-utils/util.d.ts +0 -1
- package/libs/shared-utils/util.js +0 -6
- package/libs/shared-utils/uuid.d.ts +0 -5
- package/libs/shared-utils/uuid.js +0 -9
- package/libs/shared-utils/vectorToCoordinate.d.ts +0 -7
- package/libs/shared-utils/vectorToCoordinate.js +0 -10
- package/libs/typings/math.type.d.ts +0 -44
- package/libs/typings/typings.d.ts +0 -15
- package/libs/typings/utils.type.d.ts +0 -4
- package/libs/vendor/@realsee/five/vfx/index.js +0 -977
- package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +0 -412
- package/libs/vendor/animejs/lib/anime.es.js +0 -863
- package/libs/vendor/classnames/index.js +0 -47
- package/libs/vendor/earcut/src/earcut.js +0 -280
- package/libs/vendor/easy-reactive/main.js +0 -3
- package/libs/vendor/easy-reactive/src/simply-reactive.js +0 -44
- package/libs/vendor/easy-reactive/src/utils/object.js +0 -12
- package/libs/vendor/easy-reactive/src/utils/subscription.js +0 -28
- package/libs/vendor/easy-reactive/src/utils/watcher.js +0 -17
- package/libs/vendor/gl-vec2/add.js +0 -7
- package/libs/vendor/gl-vec2/dot.js +0 -7
- package/libs/vendor/gl-vec2/normalize.js +0 -8
- package/libs/vendor/gl-vec2/set.js +0 -7
- package/libs/vendor/gl-vec2/subtract.js +0 -7
- package/libs/vendor/hammerjs/hammer.js +0 -1189
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +0 -384
- package/libs/vendor/lodash.clonedeep/index.js +0 -457
- package/libs/vendor/lodash.get/index.js +0 -236
- package/libs/vendor/lodash.isequal/index.js +0 -489
- package/libs/vendor/object-assign-deep/objectAssignDeep.js +0 -62
- package/libs/vendor/polyline-miter-util/index.js +0 -18
- package/libs/vendor/polyline-normals/index.js +0 -28
- package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +0 -290
- package/libs/vendor/svelte/easing/index.js +0 -11
- package/libs/vendor/svelte/index.js +0 -1
- package/libs/vendor/svelte/internal/index.js +0 -750
- package/libs/vendor/svelte/store/index.js +0 -31
- package/libs/vendor/svelte/transition/index.js +0 -40
- package/libs/vendor/svelte-carousel/src/actions/hoverable/event.js +0 -18
- package/libs/vendor/svelte-carousel/src/actions/hoverable/hoverable.js +0 -19
- package/libs/vendor/svelte-carousel/src/actions/hoverable/index.js +0 -1
- package/libs/vendor/svelte-carousel/src/actions/swipeable/event.js +0 -26
- package/libs/vendor/svelte-carousel/src/actions/swipeable/index.js +0 -1
- package/libs/vendor/svelte-carousel/src/actions/swipeable/swipeable.js +0 -51
- package/libs/vendor/svelte-carousel/src/actions/tappable/event.js +0 -18
- package/libs/vendor/svelte-carousel/src/actions/tappable/index.js +0 -1
- package/libs/vendor/svelte-carousel/src/actions/tappable/tappable.js +0 -36
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +0 -79
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +0 -789
- package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +0 -261
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +0 -58
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +0 -127
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +0 -52
- package/libs/vendor/svelte-carousel/src/direction.js +0 -5
- package/libs/vendor/svelte-carousel/src/main.js +0 -1
- package/libs/vendor/svelte-carousel/src/units.js +0 -7
- package/libs/vendor/svelte-carousel/src/utils/ProgressManager.js +0 -52
- package/libs/vendor/svelte-carousel/src/utils/clones.js +0 -60
- package/libs/vendor/svelte-carousel/src/utils/event.js +0 -12
- package/libs/vendor/svelte-carousel/src/utils/interval.js +0 -4
- package/libs/vendor/svelte-carousel/src/utils/lazy.js +0 -48
- package/libs/vendor/svelte-carousel/src/utils/math.js +0 -11
- package/libs/vendor/svelte-carousel/src/utils/object.js +0 -13
- package/libs/vendor/svelte-carousel/src/utils/page.js +0 -154
- /package/dist/{CSS3DRenderPlugin → types/CSS3DRenderPlugin}/utils/random.d.ts +0 -0
- /package/dist/{CruisePlugin → types/CruisePlugin}/utils/coordinatesAngle.d.ts +0 -0
- /package/dist/{shared-utils → types/CruisePlugin/utils}/formatRad.d.ts +0 -0
- /package/{libs → dist/types}/CruisePlugin/utils/linerValue.d.ts +0 -0
- /package/dist/{CruisePlugin → types/CruisePlugin}/utils/safeCall.d.ts +0 -0
- /package/dist/{CruisePlugin → types/CruisePlugin}/utils/sleep.d.ts +0 -0
- /package/dist/{DigitalPerformancePlugin → types/DigitalPerformancePlugin}/animation-script-adapter.d.ts +0 -0
- /package/dist/{DigitalPerformancePlugin → types/DigitalPerformancePlugin}/mock.d.ts +0 -0
- /package/dist/{DigitalPerformancePlugin → types/DigitalPerformancePlugin}/movement-track-classifier.d.ts +0 -0
- /package/dist/{DigitalPerformancePlugin → types/DigitalPerformancePlugin}/transform-script-data.d.ts +0 -0
- /package/dist/{FireScenePlugin → types/FireScenePlugin}/typing.d.ts +0 -0
- /package/dist/{GuideLinePlugin → types/GuideLinePlugin}/utils/index.d.ts +0 -0
- /package/dist/{ItemLabelPlugin → types/ItemLabelPlugin}/utils/getLabelTransform.d.ts +0 -0
- /package/dist/{ModelMakerPlugin → types/ModelMakerPlugin}/typings/data.d.ts +0 -0
- /package/dist/{ModelRoomLabelPlugin → types/ModelRoomLabelPlugin}/Assets/roomLabelBg.d.ts +0 -0
- /package/dist/{ModelRoomLabelPlugin → types/ModelRoomLabelPlugin}/typings.d.ts +0 -0
- /package/dist/{Object3DHelperPlugin → types/Object3DHelperPlugin}/typings.d.ts +0 -0
- /package/dist/{PanoCompassPlugin → types/PanoCompassPlugin}/Assets/roomInfoIcon.d.ts +0 -0
- /package/dist/{PanoMeasurePlugin → types/PanoMeasurePlugin}/Components/Common/icons/index.d.ts +0 -0
- /package/dist/{PanoMeasurePlugin → types/PanoMeasurePlugin}/Modules/DeleteDom/_Assets/delete.svg.d.ts +0 -0
- /package/dist/{PanoMeasurePlugin → types/PanoMeasurePlugin}/Modules/DeleteDom/_Assets/delete_bg.png.d.ts +0 -0
- /package/dist/{PanoMeasurePlugin → types/PanoMeasurePlugin}/Modules/DeleteDom/_Assets/delete_hover_bg.png.d.ts +0 -0
- /package/dist/{PanoMeasurePlugin → types/PanoMeasurePlugin}/Modules/UIController/style.d.ts +0 -0
- /package/{libs → dist/types}/PanoMeasurePlugin/typings/utils.type.d.ts +0 -0
- /package/dist/{PanoMeasurePlugin → types/PanoMeasurePlugin}/utils/ironbox.d.ts +0 -0
- /package/dist/{PanoMeasurePlugin → types/PanoMeasurePlugin}/utils/isIntersecting.d.ts +0 -0
- /package/dist/{PanoRulerPlugin → types/PanoRulerPlugin}/style.d.ts +0 -0
- /package/dist/{PanoRulerPlugin → types/PanoRulerPlugin}/typings.d.ts +0 -0
- /package/dist/{PanoRulerProPlugin → types/PanoRulerProPlugin}/typings.d.ts +0 -0
- /package/dist/{PanoSpatialTagPlugin → types/PanoSpatialTagPlugin}/style.d.ts +0 -0
- /package/dist/{PanoTagPlugin → types/PanoTagPlugin}/Assets/Icon.d.ts +0 -0
- /package/dist/{PanoTagPlugin → types/PanoTagPlugin}/Components/Common/Icon/tag-popover-arrow-base64.d.ts +0 -0
- /package/dist/{PanoTagPlugin → types/PanoTagPlugin}/Components/Tag/Assets/marketingIcon.d.ts +0 -0
- /package/dist/{PanoTagPlugin → types/PanoTagPlugin}/utils/audio/AudioDiagnostics.d.ts +0 -0
- /package/dist/{PanoTagPlugin → types/PanoTagPlugin}/utils/checkRange.d.ts +0 -0
- /package/{libs → dist/types}/PanoTagPlugin/utils/color.d.ts +0 -0
- /package/dist/{PanoTagPlugin → types/PanoTagPlugin}/utils/constants.d.ts +0 -0
- /package/dist/{PanoTagPlugin → types/PanoTagPlugin}/utils/doUtil.d.ts +0 -0
- /package/dist/{PanoTagPlugin → types/PanoTagPlugin}/utils/noTypecheck.d.ts +0 -0
- /package/dist/{PanoTagPlugin → types/PanoTagPlugin}/utils/popoverContainer.d.ts +0 -0
- /package/dist/{PanoTagPlugin → types/PanoTagPlugin}/utils/px2rem.d.ts +0 -0
- /package/{libs → dist/types}/PanoTagPlugin/utils/requestIdleCallback.d.ts +0 -0
- /package/dist/{PanoTagPlugin → types/PanoTagPlugin}/utils/search.d.ts +0 -0
- /package/dist/{PanoTagPlugin → types/PanoTagPlugin}/utils/throttle.d.ts +0 -0
- /package/{libs → dist/types}/PanoTagPlugin/utils/timeToString.d.ts +0 -0
- /package/dist/{PanoTagPlugin → types/PanoTagPlugin}/utils/videoHelper.d.ts +0 -0
- /package/dist/{PipelinePlugin → types/PipelinePlugin}/typing/PluginData.d.ts +0 -0
- /package/dist/{PipelinePlugin → types/PipelinePlugin}/typing/ServerData.d.ts +0 -0
- /package/dist/{Sculpt → types/Sculpt}/utils/Meshes/getLengthHTML.d.ts +0 -0
- /package/dist/{Sculpt → types/Sculpt}/utils/Modules/Cursor.d.ts +0 -0
- /package/dist/{Sculpt → types/Sculpt}/utils/Modules/DeleteButtonBgBorder.d.ts +0 -0
- /package/dist/{Sculpt → types/Sculpt}/utils/Modules/DeleteIconSVG.d.ts +0 -0
- /package/dist/{Sculpt → types/Sculpt}/utils/isIntersecting.d.ts +0 -0
- /package/dist/{Sculpt → types/Sculpt}/utils/radiusToSegments.d.ts +0 -0
- /package/dist/{Sculpt → types/Sculpt}/utils/unit.d.ts +0 -0
- /package/dist/{components → types/components}/AreaLabel/Assets/fontSize.d.ts +0 -0
- /package/dist/{components → types/components}/AreaLabel/Assets/roomLabelBg.d.ts +0 -0
- /package/dist/{components → types/components}/PaintBrush/Subscribe.d.ts +0 -0
- /package/dist/{components → types/components}/PaintBrush/tween.d.ts +0 -0
- /package/dist/{components → types/components}/PaintBrush/utils.d.ts +0 -0
- /package/dist/{floorplan → types/floorplan}/Assets/camera.d.ts +0 -0
- /package/dist/{floorplan → types/floorplan}/Assets/compass.d.ts +0 -0
- /package/dist/{floorplan → types/floorplan}/Assets/floorplanExtraObject.d.ts +0 -0
- /package/dist/{floorplan → types/floorplan}/MapviewFloorplanPlugin/items.d.ts +0 -0
- /package/{libs/PanoSpatialTagPlugin → dist/types/floorplan/TopviewFloorplanPlugin}/style.d.ts +0 -0
- /package/dist/{floorplan → types/floorplan}/constant.d.ts +0 -0
- /package/dist/{floorplan → types/floorplan}/typings/floorplanServerData.d.ts +0 -0
- /package/dist/{floorplan → types/floorplan}/typings/utility.d.ts +0 -0
- /package/dist/{floorplan → types/floorplan}/utils/constant.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/Object3DHelper/Constants/RenderOrder.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/Object3DHelper/Helper/HTML/tipsDom.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/Object3DHelper/Helper/HTML/utils/createElement.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/Object3DHelper/typings/Direction.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/Object3DHelper/typings/Scissor.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/Object3DHelper/utils/object3DBoundingPosition.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/animationFrame/calculateProgress.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/animationFrame/formatRad.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/animationFrame/tween.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/audio.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/clamp.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/constants.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/createResizeObserver.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/debounce.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/device.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/dom/resizeObserver.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/equal.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/even.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/filter.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/forReverseEach.d.ts +0 -0
- /package/{libs/CruisePlugin/utils → dist/types/shared-utils}/formatRad.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/isNil.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/isTouchDevice.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/isTruelyObject.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/log.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/logger.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/math/Interval.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/math/deg2Rad.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/math/inside.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/math/intersecting.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/math/rad2Deg.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/nearlyEqual.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/nextFrame.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/noop.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/playback.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/promise/withResolvers.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/px2rem.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/safeObj.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/tap.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/three/Assets/index.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/three/PointSelector/utils/contents.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/three/core/polygonVertex.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/throttle.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/tinyEJSrender.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/to.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/url/absoluteUrl.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/url/defaultUrls.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/url/getUrl.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/url/replace-static-prefix.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/util.d.ts +0 -0
- /package/dist/{shared-utils → types/shared-utils}/uuid.d.ts +0 -0
- /package/dist/{typings → types/typings}/math.type.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Rectangle-BpL9lNKU.js","names":["Subscribe","getIntersectByRaycaster","PointSelector","bindFiveOwner","LightTag","LineMesh","worldToLocal","localToWorld","anyPositionToVector3","centerPoint","IObject3D","getNormal","notNil","FiveDomEvents","rayOnLine","Cursor","Object3DHelperController","withResolvers","PointMesh","PolygonMesh","PolylineWithDotsMesh","PolygonWithEdgeMesh","PolylineMesh","PrismMesh","THREE","SculptModules","five","config","magnifierConfig","helperConfig","objectModules","bindObjectModules","object","modules","getObjectModules","removeAllTag","removeTag","child","line","obj","tag","point","selectedObjectsMap","BaseObject","data","event","callback","args","mesh","material","selectedObjects","params","selected","index","fromObject","BaseEditor","originObject","BaseEditorWithObjectHelper","objectHelperConfig","helper","direction","isHandleEnd","RectangleMeshEditor","rectangleMesh","points","leftCenter","rightCenter","topCenter","bottomCenter","scalePosition","offset","intersectPoint","basePosition","buildFromOpposite","b","baseIndex","o","a","c","base","dragged","vBA0","vBC0","wLen0","hLen0","p","eBA","eBC","vDragged","alpha","beta","newA","newC","newO","newPts","id","RectangleGeometry","RectangleMesh","vectors","v1","v2","v3","v4","RectangleWithEdgeMesh","style","sortPositionsByCameraPosition","normal","sourcePositions","centerPosition","centerToCamera","cameraPosition","LineEditorAbstract","pointMesh","dragMesh","LineEditor","intersects","vector3ToArray","vector3","v","AreaMesh","PolygonEditor","distance","areaMesh","lineColor","areaColor","pointColor","lineOpacity","newPoints","sync","currentMeshes","options","dragSelectPixelDistance","pointOpacity","isIntersecting","lines","line2","i","p1","line1","q1","p2","q2","equals","areLinesIntersecting3D","isLinesIntersecting","isPolygenIntersecting","dirVec1","line1End","line1Start","dirVec2","line2End","line2Start","rows","j","A","detA","determinant","t","matrixVectorMultiply","inverseMatrix","isInSegmentRange","det","matrix","vector","value","Polygon","snapshot","createPolygon","container","limit","simpleMode","pointSelector","autoClosePixelDistance","maxY","previewLine","verticalLine","pointMeshes","syncCreationPointMeshes","sourcePoints","idx","updatePointMeshes","pt","clearPointMeshes","previewPoint","planeHelper","closed","lastIntersection","undoStack","canUndo","canRedo","undo","onPreview","redo","onSelect","intersection","rejectedPoint","selectEnd","resolve","clearPreview","lastPoint","startPoint","shouldClose","fiveElement","width","height","toScreen","ndc","sp","pp","ip","dist1","dist2","cancel","reject","promise","BoxMeshEditor","boxMesh","bottomPosition","topPosition","yOffset","xOffset","zOffset","center","frontCenter","backCenter","bottomPositions","topPositions","heightOffset","newBottomPositions","offsetToTop","offsetToRight","offsetToLeft","offsetToBack","offsetToFront","BoxMesh","Box","createBox","bottom","top","faces","buildFace","vertices","ni","bottomRectangle","createRectangle","lineHelper","lineCenterPoint","endPoint","pointOnLineHelper","Rectangle","createRectangleByDiagonal","createRectangleByVertex","getAllSculptPoints","_p","tempLine","normalIfNeed","plane","pointOnLine","rectangleLine","pointOnPlane","radius","sortedPoints","lineIsVertical","lineDirection"],"sources":["../../src/Sculpt/utils/Modules/Global.ts","../../src/Sculpt/utils/removeAllTag.ts","../../src/Sculpt/Objects/Base/index.ts","../../src/Sculpt/Objects/Base/Editor.ts","../../src/Sculpt/Editors/RectangleMeshEditor.ts","../../src/Sculpt/utils/three/RectangleGeometry.ts","../../src/Sculpt/Meshes/Rectangle.ts","../../src/Sculpt/Meshes/RectangleWithEdge.ts","../../src/Sculpt/utils/sortPositionsByCameraPosition.ts","../../src/Sculpt/Objects/Line/Editor.ts","../../src/shared-utils/three/vector3ToArray.ts","../../src/Sculpt/Meshes/Area.ts","../../src/Sculpt/Objects/Polygon/Editor.ts","../../src/Sculpt/utils/isIntersecting.ts","../../src/Sculpt/Objects/Polygon/index.ts","../../src/Sculpt/Editors/BoxMeshEditor.ts","../../src/Sculpt/Meshes/Box.ts","../../src/Sculpt/Objects/Box/index.ts","../../src/Sculpt/Objects/Rectangle/index.ts"],"sourcesContent":["import { bindFiveOwner } from '../../../shared-utils/five/getFiveFromParentChain'\nimport type { Object3D } from 'three/webgpu'\nimport type { Five } from '@realsee/five-webgpu'\nimport { Cursor } from './Cursor'\nimport { Object3DHelperController } from '../../../Object3DHelperPlugin'\nimport { FiveDomEvents } from '../../../shared-utils/five/FiveDomEvents'\nimport { PointSelector } from '../../../shared-utils/three/PointSelector'\nimport type { SculptConfig } from '../..'\n\nexport class SculptModules {\n public constructor(public readonly five: Five, public readonly config?: SculptConfig) {}\n\n public _cursor?: Cursor\n public _pointSelector?: PointSelector\n public _fiveDomEvents?: FiveDomEvents\n public _object3DHelper?: Object3DHelperController\n\n public get cursor() {\n if (this._cursor) return this._cursor\n this._cursor = new Cursor(this.five.getElement())\n return this._cursor\n }\n\n public get pointSelector() {\n if (this._pointSelector) return this._pointSelector\n\n // 根据配置决定是否启用放大镜\n const magnifierConfig = this.config?.magnifier\n let helperConfig: any =\n magnifierConfig === null || magnifierConfig === false ? { magnifier: null } : { magnifierParams: magnifierConfig }\n\n // 根据配置决定是否隐藏圆圈效果\n if (this.config?.hideCursorCircle) {\n helperConfig = { ...helperConfig, pointHelper: null }\n }\n\n this._pointSelector = new PointSelector(this.five, {\n mode: 'cursor',\n helper: helperConfig,\n hitFilter: this.config?.hitFilter,\n })\n return this._pointSelector\n }\n\n public get fiveDomEvents() {\n if (this._fiveDomEvents) return this._fiveDomEvents\n this._fiveDomEvents = new FiveDomEvents(this.five, { noEmitWhenNotInScene: true })\n return this._fiveDomEvents\n }\n\n public get object3DHelper() {\n if (this._object3DHelper) return this._object3DHelper\n this._object3DHelper = new Object3DHelperController(this.five)\n return this._object3DHelper\n }\n\n public dispose() {\n this._pointSelector?.dispose()\n this._fiveDomEvents?.dispose()\n this._object3DHelper?.dispose()\n this._cursor?.removeDeleteButton()\n this._cursor?.reset()\n }\n}\n\nconst objectModules = new WeakMap<Object3D, SculptModules>()\nexport function bindObjectModules(object: Object3D, modules: SculptModules) {\n objectModules.set(object, modules)\n bindFiveOwner(object, modules.five)\n}\nexport function getObjectModules(object: Object3D): SculptModules {\n const modules = objectModules.get(object)\n if (modules) return modules\n if (object.parent) return getObjectModules(object.parent)\n throw new Error('Sculpt object has no owning instance')\n}\n","import type * as THREE from 'three/webgpu'\nimport { LightTag } from '../../shared-utils/tag'\nimport type { LineMesh } from '../Meshes/Line'\nimport type { PointMesh } from '../Meshes/Point'\n\nexport function removeAllTag(object: THREE.Object3D) {\n removeTag(object)\n object.traverse((child) => removeTag(child))\n}\n\nfunction removeTag(obj: any) {\n const line = obj as LineMesh\n\n if (Array.isArray(line.doms) && line.doms[0] instanceof LightTag) {\n line.doms.forEach((tag) => tag.destroy())\n }\n\n const point = obj as PointMesh\n if (point.dom && point.dom instanceof LightTag) {\n point.dom.destroy()\n }\n\n if (obj.areaDom instanceof LightTag) {\n obj.areaDom.destroy()\n }\n}\n","import { removeAllTag } from '../../utils/removeAllTag'\nimport type * as THREE from 'three/webgpu'\n\nimport { bindObjectModules, type SculptModules } from '../../utils/Modules/Global'\nimport type { EventHandlerConfig, FiveDomEventMap, FiveDomEvents } from '../../../shared-utils/five/FiveDomEvents'\nimport { IObject3D } from '../../../shared-utils/three/IObject3D'\nimport type { BaseEditor } from './Editor'\nimport type { RequiredDeep } from 'type-fest'\nimport type { ImportDataToExportData } from '../../typings/utils.type'\nimport { localToWorld, worldToLocal } from '../../../shared-utils/three/applyObjectMatrixWorld'\nimport { notNil } from '../../../shared-utils'\n\nconst selectedObjectsMap = new WeakMap<THREE.Object3D, BaseObject[]>()\n\nexport interface BaseImportData {\n /**\n * @description: 唯一标识\n */\n id?: string\n /**\n * @description: 物体类型\n */\n type: string\n}\n\nexport interface BaseExportData extends RequiredDeep<BaseImportData> {}\n\nexport interface BaseObjectConfig {\n /**\n * @description: 是否启用默认行为,包括:\n * - 点击物体后高亮选中,同时启用 editor;\n * - esc 取消选中;\n * - delete 删除选中的物体;\n * - createXXXX 创建物体完成后自动启用 editor;\n * @default true\n */\n defaultAction: boolean\n /**\n * @description: 是否以一种半透明的方式显示遮挡的部分\n * @default true\n */\n occlusionVisibility?: boolean\n /**\n * @description 当 occlusionVisibility 为 true 时,以哪种方式显示被遮挡的部分\n * @params 'depthTest': 关闭深度测试, 'translucence': 半透明\n * @default 'translucence'\n */\n occlusionMode?: 'translucence' | 'depthTest'\n}\n\n/**\n * @description: 基础对象\n */\nexport abstract class BaseObject<\n ImportData extends BaseImportData = BaseImportData,\n ExportData extends BaseExportData = ImportDataToExportData<ImportData> & BaseExportData, // 有性能问题,先注释掉\n Config extends BaseObjectConfig = BaseObjectConfig,\n> extends IObject3D {\n public name = 'Sculpt'\n\n public readonly isSculptObject = true\n\n public draggable: boolean\n\n /**\n * @description 是否被选中\n */\n public selected: boolean\n\n /**\n * @description 配置\n */\n public config: Config\n\n public abstract get editor(): BaseEditor\n\n public abstract _editor?: BaseEditor\n\n public get editing() {\n return this.pointSelector.enabled\n }\n\n public abstract type: string\n\n /**\n * @description 物体导出数据\n */\n public abstract get data(): ExportData\n\n protected get baseData() {\n return {\n id: this.uuid,\n type: this.type,\n }\n }\n\n protected get pointSelector() {\n return this.modules.pointSelector\n }\n\n public constructor(public readonly modules: SculptModules, data?: Partial<ImportData>, config?: Partial<Config>) {\n super()\n bindObjectModules(this, modules)\n if (data?.id) this.uuid = data.id\n this.config = { defaultAction: true, occlusionVisibility: true, occlusionMode: 'translucence', ...config } as any\n\n if (data as any) {\n // TODO\n if (notNil(this.config?.occlusionMode)) {\n ;(data as any).style = { ...(data as any).style, occlusionMode: this.config.occlusionMode }\n }\n\n if (notNil(this.config?.occlusionVisibility)) {\n ;(data as any).style = { ...(data as any).style, occlusionVisibility: this.config.occlusionVisibility }\n }\n }\n\n this.modules.five.getElement().addEventListener('keydown', this.onKeyDown)\n\n if (this.config.defaultAction) {\n this.on('click', () => {\n if (this.editing) return\n this.select({ only: true })\n this.editor.enable()\n\n this.parent?.children.forEach((object) => {\n if (object instanceof BaseObject) {\n if (object !== this) object._editor?.disable()\n }\n })\n })\n\n }\n }\n\n private onKeyDown = (event: KeyboardEvent) => {\n if ((event.target as HTMLElement)?.closest('input, textarea, select, [contenteditable=\"true\"]')) return\n if (event.key === 'Escape') {\n this.stopCreating()\n if (this.selected) this.unselect()\n }\n if (this.config.defaultAction && this.selected && ['Backspace', 'Delete'].includes(event.key)) {\n event.preventDefault()\n this.delete()\n }\n }\n\n public abstract setData(data: Partial<ImportData>): void\n\n public on = <T extends keyof FiveDomEventMap>(event: T, callback: FiveDomEventMap[T], config?: EventHandlerConfig) =>\n this.modules.fiveDomEvents.addEventListener(this, event, callback, config)\n\n public off = (...args: Parameters<FiveDomEvents['removeEventListener']> extends [infer _, ...infer Rest] ? Rest : never) =>\n this.modules.fiveDomEvents.removeEventListener(this, ...args)\n\n /**\n * @description 撤销\n */\n public undo(): void {}\n\n /**\n * @description 重做\n */\n public redo(): void {}\n\n /**\n * @description 是否可以撤销\n */\n public canUndo() {\n return false\n }\n\n /**\n * @description 是否可以重做\n */\n public canRedo() {\n return false\n }\n\n /**\n * @description 停止创建当前物体,等同于`esc`\n */\n public stopCreating() {\n this.modules.pointSelector.disable()\n }\n\n /**\n * @description 从场景中删除当前物体,并且移除事件监听\n */\n public delete() {\n this.stopCreating()\n this.unselect()\n this.modules.five.getElement().removeEventListener('keydown', this.onKeyDown)\n this._editor?.disable()\n this.off()\n removeAllTag(this)\n this.traverse((object) => {\n const mesh = object as THREE.Mesh\n mesh.geometry?.dispose()\n const materials = mesh.material ? (Array.isArray(mesh.material) ? mesh.material : [mesh.material]) : []\n materials.forEach((material) => material.dispose())\n })\n this.removeFromParent()\n }\n\n /**\n * @description 选择当前物体\n * @param params.only 只选择当前物体,自动取消选择其他物体;默认 `false`\n *\n */\n public select(params: { only?: boolean } = { only: false }) {\n if (this.selected) return\n\n this.selected = true\n this.highlight()\n\n if (!selectedObjectsMap.has(this.parent)) {\n selectedObjectsMap.set(this.parent, [])\n }\n const selectedObjects = selectedObjectsMap.get(this.parent)\n selectedObjects.push(this)\n\n if (params.only) {\n selectedObjects?.slice().forEach((object) => {\n if (object !== this) object.unselect()\n })\n }\n }\n\n /**\n * @description 取消选择当前物体\n */\n public unselect() {\n if (!this.selected) return\n\n this.selected = false\n const selected = this.parent && selectedObjectsMap.get(this.parent)\n if (selected) {\n const index = selected.indexOf(this)\n if (index !== -1) selected.splice(index, 1)\n }\n this.unhighlight()\n this._editor?.disable()\n }\n\n /**\n * @description 高亮当前物体\n */\n public highlight() {}\n\n /**\n * @description 取消高亮当前物体\n */\n public unhighlight() {}\n\n /**\n * @description 显示删除按钮\n */\n public showDeleteButton(clientX: number, clientY: number) {\n this.modules.cursor.showDeleteButton({ clientX, clientY, container: document.body, onClick: () => this.delete() })\n this.modules.five.once('cameraUpdate', () => {\n this.modules.cursor.removeDeleteButton()\n })\n }\n\n protected applyObjectMatrixWorld = <P extends THREE.Vector3 | THREE.Vector3[]>(point: P, fromObject?: THREE.Object3D): P => {\n const object = fromObject ?? this\n object.updateMatrixWorld()\n return localToWorld(object, point)\n }\n\n protected applyObjectReversalMatrixWorld = <P extends THREE.Vector3 | THREE.Vector3[]>(point: P, fromObject?: THREE.Object3D): P => {\n const object = fromObject ?? this\n object.updateMatrixWorld()\n return worldToLocal(object, point)\n }\n\n public abstract create(...args: any): Promise<void>\n}\n","import { getObjectModules } from '../../utils/Modules/Global'\nimport type * as THREE from 'three/webgpu'\nimport { IObject3D } from '../../../shared-utils/three/IObject3D'\nimport type { AddObject3DHelperConfig } from '../../../Object3DHelperPlugin'\nimport { Subscribe } from '../../../shared-utils/Subscribe'\nimport type { Direction, Direction4 } from '../../../shared-utils/Object3DHelper/typings/Direction'\n\nexport type ObjectUpdateType = 'move' | 'rotate' | 'scale'\n\nexport interface ObjectUpdateParams {\n /** 操作类型:移动、旋转、缩放 */\n type?: ObjectUpdateType\n /** 开始时间戳 */\n start_timestamp?: number\n /** 结束时间戳 */\n end_timestamp?: number\n /** 轴向 */\n axis?: Direction | Direction4\n /** 进行中的状态 */\n status?: 'moving' | 'rotating' | 'scaling'\n /** 是否为操作结束,true 表示松手,false 表示拖动中 */\n is_handle_end?: boolean\n}\n\nexport class BaseEditor<OriginObject extends THREE.Object3D = THREE.Object3D> extends IObject3D {\n public hooks: Subscribe<{ objectUpdate: (params?: ObjectUpdateParams) => void }> = new Subscribe<{\n objectUpdate: (params?: ObjectUpdateParams) => void\n }>()\n\n protected get modules() { return getObjectModules(this.originObject) }\n\n protected originObject: OriginObject\n\n public constructor(originObject: OriginObject) {\n super()\n this.originObject = originObject\n }\n\n /**\n * @description: 开启编辑器\n */\n public enable() {\n this.originObject.add(this)\n }\n\n /**\n * @description: 禁用编辑器\n */\n public disable() {\n this.originObject.remove(this)\n }\n}\n\nexport class BaseEditorWithObjectHelper<OriginObject extends THREE.Object3D = THREE.Object3D> extends BaseEditor<OriginObject> {\n private get helper() {\n return this.modules.object3DHelper.getObject3DHelper(this.originObject)?.helper\n }\n\n private objectHelperConfig: AddObject3DHelperConfig | (() => AddObject3DHelperConfig)\n\n // 记录当前操作的类型、开始时间和轴向\n private currentOperation: ObjectUpdateParams | null = null\n\n public constructor(originObject: OriginObject, objectHelperConfig?: AddObject3DHelperConfig | (() => AddObject3DHelperConfig)) {\n super(originObject)\n this.objectHelperConfig = objectHelperConfig\n }\n\n public enable() {\n super.enable()\n const objectHelperConfig = typeof this.objectHelperConfig === 'function' ? this.objectHelperConfig() : this.objectHelperConfig\n this.modules.object3DHelper.addObject3DHelper(this.originObject, { positionFrom: 'boundingBox', ...objectHelperConfig })\n\n const helper = this.modules.object3DHelper.getObject3DHelper(this.originObject).helper\n\n // 监听开始事件,记录操作类型和开始时间\n helper.hooks.on('moveStart', this.onMoveStart)\n helper.hooks.on('rotateStart', this.onRotateStart)\n helper.hooks.on('scaleStart', this.onScaleStart)\n\n // 监听操作中的事件,用于实时更新\n helper.hooks.on('move', this.onMove)\n helper.hooks.on('rotate', this.onRotate)\n helper.hooks.on('scale', this.onScale)\n\n // 监听结束事件,触发 objectUpdate 并传递参数\n helper.hooks.on('moveEnd', this.onMoveEnd)\n helper.hooks.on('rotateEnd', this.onRotateEnd)\n helper.hooks.on('scaleEnd', this.onScaleEnd)\n }\n\n public disable() {\n super.disable()\n\n this.helper?.hooks.off('moveStart', this.onMoveStart)\n this.helper?.hooks.off('rotateStart', this.onRotateStart)\n this.helper?.hooks.off('scaleStart', this.onScaleStart)\n this.helper?.hooks.off('move', this.onMove)\n this.helper?.hooks.off('rotate', this.onRotate)\n this.helper?.hooks.off('scale', this.onScale)\n this.helper?.hooks.off('moveEnd', this.onMoveEnd)\n this.helper?.hooks.off('rotateEnd', this.onRotateEnd)\n this.helper?.hooks.off('scaleEnd', this.onScaleEnd)\n\n this.modules.object3DHelper.removeObject3DHelper(this.originObject)\n }\n\n public initialHelperMatrix() {\n this.helper?.initialHelperMatrix()\n }\n\n // 记录移动操作开始\n private onMoveStart = (direction?: Direction) => {\n this.currentOperation = {\n type: 'move',\n start_timestamp: Date.now(),\n axis: direction,\n }\n }\n\n // 记录旋转操作开始\n private onRotateStart = (direction?: Direction) => {\n this.currentOperation = {\n type: 'rotate',\n start_timestamp: Date.now(),\n axis: direction,\n }\n }\n\n // 记录缩放操作开始\n private onScaleStart = (direction?: Direction | Direction4) => {\n this.currentOperation = {\n type: 'scale',\n start_timestamp: Date.now(),\n axis: direction,\n }\n }\n\n // 移动中的处理\n private onMove = () => {\n if (this.currentOperation) {\n this.currentOperation = {\n ...this.currentOperation,\n status: 'moving',\n }\n this.onObjectUpdate(false)\n }\n }\n\n // 旋转中的处理\n private onRotate = () => {\n if (this.currentOperation) {\n this.currentOperation = {\n ...this.currentOperation,\n status: 'rotating',\n }\n this.onObjectUpdate(false)\n }\n }\n\n // 缩放中的处理\n private onScale = () => {\n if (this.currentOperation) {\n this.currentOperation = {\n ...this.currentOperation,\n status: 'scaling',\n }\n this.onObjectUpdate(false)\n }\n }\n\n private onMoveEnd = () => {\n this.onObjectUpdate(true)\n }\n\n private onRotateEnd = () => {\n this.onObjectUpdate(true)\n }\n\n private onScaleEnd = () => {\n this.onObjectUpdate(true)\n }\n\n // 统一的触发 objectUpdate 方法\n // @param isHandleEnd 是否为操作结束,true 表示松手,false 表示拖动中\n private onObjectUpdate = (isHandleEnd = true) => {\n if (!this.currentOperation) {\n this.hooks.emit('objectUpdate')\n return\n }\n\n const params: ObjectUpdateParams = {\n ...this.currentOperation,\n end_timestamp: isHandleEnd ? Date.now() : undefined, // 只在松手时设置结束时间\n is_handle_end: isHandleEnd,\n }\n\n this.hooks.emit('objectUpdate', params)\n\n // 仅在操作结束时清空当前操作记录\n if (isHandleEnd) {\n this.currentOperation = null\n }\n }\n}\n","import { BaseEditorWithObjectHelper } from '../Objects/Base/Editor'\nimport type { RectangleMesh } from '../Meshes/Rectangle'\nimport getNormal from '../../shared-utils/three/getNormal'\n\nexport class RectangleMeshEditor extends BaseEditorWithObjectHelper<RectangleMesh> {\n public constructor(rectangleMesh: RectangleMesh) {\n super(rectangleMesh, () => {\n return {\n yAxis: () => {\n const points = rectangleMesh.points\n const normal = getNormal(points)\n return normal.normalize()\n },\n zAxis: () => {\n const points = rectangleMesh.points\n return points[0].clone().sub(points[1]).normalize()\n },\n\n scaleHelper: {\n enable: true,\n positions: () => {\n const points = rectangleMesh.points\n /**\n * 0 - 1\n * | |\n * 3 - 2\n */\n const leftCenter = points[0].clone().lerp(points[3], 0.5)\n const rightCenter = points[1].clone().lerp(points[2], 0.5)\n const topCenter = points[0].clone().lerp(points[1], 0.5)\n const bottomCenter = points[3].clone().lerp(points[2], 0.5)\n\n return [\n {\n id: 'left',\n handlePosition: leftCenter,\n basePosition: rightCenter,\n },\n {\n id: 'right',\n handlePosition: rightCenter,\n basePosition: leftCenter,\n },\n {\n id: 'top',\n handlePosition: topCenter,\n basePosition: bottomCenter,\n },\n {\n id: 'bottom',\n handlePosition: bottomCenter,\n basePosition: topCenter,\n },\n\n {\n id: 'topleft',\n handlePosition: points[0],\n basePosition: points[2],\n },\n {\n id: 'topright',\n handlePosition: points[1],\n basePosition: points[3],\n },\n {\n id: 'bottomleft',\n handlePosition: points[3],\n basePosition: points[1],\n },\n {\n id: 'bottomright',\n handlePosition: points[2],\n basePosition: points[0],\n },\n ]\n },\n scaleCallback: (params) => {\n const { intersectPoint, scalePosition } = params\n const { id, basePosition } = scalePosition\n\n const offset = intersectPoint.clone().sub(basePosition)\n const points = rectangleMesh.points\n\n const buildFromOpposite = (baseIndex: number) => {\n const b = baseIndex\n const o = (b + 2) % 4\n const a = (b + 1) % 4\n const c = (b + 3) % 4\n\n const base = points[b].clone()\n const dragged = intersectPoint.clone()\n\n // 原始边向量\n const vBA0 = points[a].clone().sub(base)\n const vBC0 = points[c].clone().sub(base)\n\n const wLen0 = vBA0.length()\n const hLen0 = vBC0.length()\n if (wLen0 < 1e-6 || hLen0 < 1e-6) return points.map((p) => p.clone())\n\n const eBA = vBA0.clone().normalize() // 宽方向单位向量\n const eBC = vBC0.clone().normalize() // 高方向单位向量\n\n // 计算鼠标拖动向量在宽/高方向上的投影\n const vDragged = dragged.clone().sub(base)\n const alpha = vDragged.dot(eBA)\n const beta = vDragged.dot(eBC)\n\n const newA = base.clone().add(eBA.clone().multiplyScalar(alpha))\n const newC = base.clone().add(eBC.clone().multiplyScalar(beta))\n const newO = base.clone().add(eBA.clone().multiplyScalar(alpha)).add(eBC.clone().multiplyScalar(beta))\n\n const newPts = points.map((p) => p.clone())\n newPts[b] = base\n newPts[a] = newA\n newPts[c] = newC\n newPts[o] = newO\n\n return newPts\n }\n\n if (id === 'top') {\n rectangleMesh.setPoints([\n // 2,3 不变\n points[3].clone().add(offset),\n points[2].clone().add(offset),\n points[2],\n points[3],\n ])\n } else if (id === 'bottom') {\n rectangleMesh.setPoints([\n // 0,1 不变\n points[0],\n points[1],\n points[1].clone().add(offset),\n points[0].clone().add(offset),\n ])\n } else if (id === 'left') {\n rectangleMesh.setPoints([\n // 1,2 不变\n points[1].clone().add(offset),\n points[1],\n points[2],\n points[2].clone().add(offset),\n ])\n } else if (id === 'right') {\n rectangleMesh.setPoints([\n // 0,3 不变\n points[0],\n points[0].clone().add(offset),\n points[3].clone().add(offset),\n points[3],\n ])\n } else if (id === 'topleft') {\n rectangleMesh.setPoints(buildFromOpposite(2))\n // 2 不变\n } else if (id === 'topright') {\n // 3 不变\n rectangleMesh.setPoints(buildFromOpposite(3))\n } else if (id === 'bottomleft') {\n // 1 不变\n rectangleMesh.setPoints(buildFromOpposite(1))\n } else if (id === 'bottomright') {\n // 0 不变\n rectangleMesh.setPoints(buildFromOpposite(0))\n }\n },\n },\n }\n })\n }\n}\n","import * as THREE from 'three/webgpu'\n\nexport class RectangleGeometry extends THREE.BufferGeometry {\n public name = 'RectangleGeometry'\n public points: THREE.Vector3[]\n public constructor(points: THREE.Vector3[]) {\n super()\n\n if (points.length !== 4) {\n console.error(\"Invalid number of points, it's not a rectangle\")\n return\n }\n\n this.points = points.slice(0, 4)\n\n this.setAttribute('position', new THREE.BufferAttribute(new Float32Array(this.points.flatMap((p) => p.toArray())), 3))\n // 两个三角形 0,1,2 和 0,2,3\n this.setIndex(new THREE.BufferAttribute(new Uint16Array([0, 1, 2, 0, 2, 3]), 1))\n }\n}\n","import { anyPositionToVector3, type AnyPositions } from '../../shared-utils/positionToVector3'\nimport { notNil } from '../../shared-utils'\nimport type * as THREE from 'three/webgpu'\nimport { PolygonMesh } from './Polygon'\nimport { RectangleGeometry } from '../utils/three/RectangleGeometry'\nimport type { PointsData } from '../utils/data'\nimport type { ColoredMeshStyle } from '../utils/three/ColoredMesh'\n\nexport type RectangleStyle = ColoredMeshStyle\n\nexport type RectangleData = PointsData\n\n/**\n * @description: 矩形\n */\nexport class RectangleMesh extends PolygonMesh {\n public name = 'RectangleMesh'\n\n public declare meshFont: THREE.Mesh<RectangleGeometry, THREE.MeshBasicMaterial>\n public declare meshBackground: THREE.Mesh<RectangleGeometry, THREE.MeshBasicMaterial>\n\n public get color() {\n return this.meshFont.material.color\n }\n\n public constructor(params?: Partial<RectangleStyle & RectangleData>) {\n super(params)\n }\n\n public setPoints(points: AnyPositions) {\n const vectors = points.map(anyPositionToVector3).filter(notNil)\n if (vectors.length < 3) {\n console.error('Invalid position')\n return\n }\n\n /**\n * v1 -- v2\n * | |\n * v4 -- v3\n */\n if (points.length === 3) {\n // 补齐四个点\n const [v1, v2, v3] = vectors\n const v4 = v1.clone().add(v3).sub(v2)\n vectors.push(v4)\n }\n\n this.points = vectors\n\n this.geometry = new RectangleGeometry(vectors)\n\n this.planeHelperNeedUpdate = true\n this.geometryInfoNeedUpdate = true\n }\n}\n","import type { AnyPositions } from '../../shared-utils/positionToVector3'\nimport { RectangleMesh, type RectangleData, type RectangleStyle } from './Rectangle'\nimport { PolylineMesh } from './Polyline'\nimport type { LineStyle } from '../typings/style'\n\nexport type RectangleWithEdgeMeshStyle = RectangleStyle & LineStyle\n\n/**\n * @description: 带边线的矩形\n */\nexport class RectangleWithEdgeMesh extends RectangleMesh {\n public name = 'RectangleWithEdgeMesh'\n\n public get style() {\n return {\n ...super.style,\n ...this.line.style,\n }\n }\n\n public get lineWidth() {\n return this.line.lineWidth\n }\n\n public get lineColor() {\n return this.line.lineColor\n }\n\n public line: PolylineMesh = new PolylineMesh()\n\n public constructor(params?: Partial<RectangleWithEdgeMeshStyle & RectangleData>) {\n const { points, ...style } = params ?? {}\n super()\n\n if (points) this.setPoints(points)\n if (style) this.setStyle(style)\n }\n\n public setPoints(points: AnyPositions) {\n super.setPoints(points)\n if (this.points) {\n this.line.setPoints([this.points[0], this.points[1], this.points[2], this.points[3], this.points[0]])\n this.addIfNotExists(this.line)\n }\n }\n\n public setStyle(style: Partial<RectangleWithEdgeMeshStyle>) {\n super.setStyle(style)\n this.line.setStyle(style)\n }\n\n public highlight() {\n super.highlight()\n this.line.highlight()\n }\n\n public unhighlight() {\n super.unhighlight()\n this.line.unhighlight()\n }\n}\n","import type * as THREE from 'three/webgpu'\nimport getNormal from '../../shared-utils/three/getNormal'\nimport { centerPoint } from '../../shared-utils/three/centerPoint'\n\n/**\n * @description 根据camera的位置,将positions重新排序,使positions的正面朝向camera\n */\nexport function sortPositionsByCameraPosition(sourcePositions: THREE.Vector3[], cameraPosition: THREE.Vector3) {\n const normal = getNormal(sourcePositions)\n const centerPosition = centerPoint(...sourcePositions)\n const centerToCamera = cameraPosition.clone().sub(centerPosition)\n\n if (normal.dot(centerToCamera) >= 0) {\n return sourcePositions\n }\n\n return sourcePositions.slice().reverse()\n}\n","import type * as THREE from 'three/webgpu'\nimport { BaseEditor } from '../Base/Editor'\nimport type { FiveDomEvent } from '../../../shared-utils/five/FiveDomEvents'\nimport type { Line } from '.'\nimport { PointMesh } from '../../Meshes/Point'\nimport { getIntersectByRaycaster } from '../../../shared-utils/five/getPosition'\nimport { notNil } from '../../../shared-utils'\n\nexport abstract class LineEditorAbstract<OriginObject extends THREE.Object3D = THREE.Object3D> extends BaseEditor<OriginObject> {\n protected draggingPoints: PointMesh[] = []\n protected get pointMeshes() {\n return this.children.filter((child) => child instanceof PointMesh) as PointMesh[]\n }\n\n public abstract get points(): THREE.Vector3[]\n\n public get pointHandles() {\n return this.children as PointMesh[]\n }\n\n public constructor(originObject: OriginObject) {\n super(originObject)\n }\n\n public enable() {\n super.enable()\n this.points.filter(notNil).forEach((point) => {\n const pointMesh = new PointMesh()\n pointMesh.visible = false\n pointMesh.position.copy(point)\n ;(pointMesh as any).draggable = true\n this.modules.fiveDomEvents.addEventListener(pointMesh, 'drag', this.onDrag)\n this.modules.fiveDomEvents.addEventListener(pointMesh, 'dragstart', this.onDragstart)\n this.modules.fiveDomEvents.addEventListener(pointMesh, 'dragend', this.onDragend)\n this.add(pointMesh)\n })\n }\n\n public disable() {\n super.disable()\n this.removeChildren()\n }\n\n protected onDragstart = (event: FiveDomEvent) => {\n const dragMesh = event.target as PointMesh\n this.draggingPoints = this.pointMeshes.filter((point) => point.position.equals(dragMesh.position))\n }\n\n protected onDragend = (event: FiveDomEvent) => {\n this.draggingPoints = []\n }\n\n protected abstract onDrag(event: FiveDomEvent): void\n}\n\nexport class LineEditor extends LineEditorAbstract<Line> {\n public get points() {\n return this.originObject.lineMesh.points\n }\n\n public constructor(originObject: Line) {\n super(originObject)\n }\n\n protected onDrag = (event: FiveDomEvent) => {\n if (!this.draggingPoints || this.draggingPoints.length === 0) return\n const intersects = getIntersectByRaycaster(this.modules.five, event.raycaster)\n\n this.draggingPoints.forEach((point) => point.position.copy(intersects.point))\n this.originObject.lineMesh.setPoints(this.pointMeshes.map((point) => point.position))\n }\n}\n","import type * as THREE from 'three/webgpu'\nimport type { ReplaceDeep } from '../../Sculpt/typings/utils.type'\n\nexport default function vector3ToArray<V extends THREE.Vector3 | THREE.Vector3[]>(\n vector3: V,\n): ReplaceDeep<V, THREE.Vector3, [number, number, number]> {\n if (Array.isArray(vector3)) {\n return vector3.map((v) => [v.x, v.y, v.z]) as any\n } else {\n return [vector3.x, vector3.y, vector3.z] as any\n }\n}\n","import type { LineStyle } from '../typings/style'\nimport type { PointsData } from '../utils/data'\nimport type { ColoredMeshStyle } from '../utils/three/ColoredMesh'\nimport { PolygonWithEdgeMesh } from './PolygonWithEdge'\n\nexport type AreaStyle = ColoredMeshStyle & LineStyle\n\nexport type AreaData = PointsData\n\nexport class AreaMesh extends PolygonWithEdgeMesh {\n public name = 'AreaMesh'\n}\n","import type * as THREE from 'three/webgpu'\nimport type { Polygon } from '.'\nimport type { FiveDomEvent } from '../../../shared-utils/five/FiveDomEvents'\nimport { getIntersectByRaycaster } from '../../../shared-utils/five/getPosition'\nimport { LineEditorAbstract } from '../Line/Editor'\nimport { PointMesh } from '../../Meshes/Point'\n\nexport class PolygonEditor extends LineEditorAbstract<Polygon> {\n public get points() {\n return this.originObject.areaMesh.points\n }\n\n public constructor(originObject: Polygon) {\n super(originObject)\n }\n\n public enable() {\n super.enable()\n this.updatePointMeshes()\n }\n\n public disable() {\n this.pointMeshes.forEach((mesh) => this.disposePointMesh(mesh))\n super.disable()\n }\n\n /**\n * 更新所有 PointMesh 的位置\n */\n public updatePointMeshes() {\n const points = this.originObject.areaMesh.points\n const distance = this.originObject.areaMesh?.userData?.dragSelectPixelDistance ?? 10\n const areaMesh = this.originObject.areaMesh\n const lineColor = areaMesh.lineColor?.getHex?.()\n const areaColor = areaMesh.color?.getHex?.()\n const pointColor = lineColor ?? areaColor ?? 0xffffff\n const lineOpacity = areaMesh.line?.style?.opacity ?? areaMesh.opacity ?? 1\n\n this.syncPointMeshCount(points, {\n dragSelectPixelDistance: distance,\n pointColor,\n pointOpacity: lineOpacity,\n })\n\n this.pointMeshes.forEach((mesh, index) => {\n const point = points[index]\n if (!point) return\n mesh.position.copy(point)\n mesh.visible = true\n })\n }\n\n protected onDragstart = (event: FiveDomEvent) => {\n const dragMesh = event.target as any\n this.draggingPoints = this.pointMeshes.filter((point) => point.position.equals(dragMesh.position))\n }\n\n protected onDrag = (event: FiveDomEvent) => {\n if (!this.draggingPoints || this.draggingPoints.length === 0) return\n const intersects = getIntersectByRaycaster(this.modules.five, event.raycaster)\n if (!intersects) return\n const newPoints = this.originObject.areaMesh.projectPoint(intersects.point)\n\n this.draggingPoints.forEach((point) => point.position.copy(newPoints))\n this.originObject.areaMesh.setPoints(this.pointMeshes.map((point) => point.position))\n this.hooks.emit('objectUpdate')\n if (this.modules.five) {\n this.modules.five.needsRender = true\n }\n const sync = this.originObject.areaMesh?.userData?.syncCreationPointMeshes\n if (typeof sync === 'function') {\n sync()\n }\n }\n\n protected onDragend = (event: FiveDomEvent) => {\n this.draggingPoints = []\n // 通知 Polygon 记录历史\n this.originObject.recordHistory()\n this.hooks.emit('objectUpdate')\n }\n\n private syncPointMeshCount(\n points: THREE.Vector3[],\n options: { dragSelectPixelDistance: number; pointColor: number; pointOpacity: number },\n ) {\n const currentMeshes = [...this.pointMeshes]\n const { dragSelectPixelDistance, pointColor, pointOpacity } = options\n\n if (currentMeshes.length > points.length) {\n currentMeshes.slice(points.length).forEach((mesh) => this.disposePointMesh(mesh))\n }\n\n while (this.pointMeshes.length < points.length) {\n const mesh = this.createPointMesh({ dragSelectPixelDistance, pointColor, pointOpacity })\n this.add(mesh)\n }\n\n this.pointMeshes.forEach((mesh) => {\n mesh.userData = mesh.userData ?? {}\n mesh.userData.dragSelectPixelDistance = dragSelectPixelDistance\n mesh.setStyle({\n color: pointColor,\n opacity: pointOpacity,\n })\n })\n }\n\n private createPointMesh(options: { dragSelectPixelDistance: number; pointColor: number; pointOpacity: number }) {\n const { dragSelectPixelDistance, pointColor, pointOpacity } = options\n const pointMesh = new PointMesh()\n pointMesh.visible = true\n pointMesh.userData = pointMesh.userData ?? {}\n pointMesh.userData.dragSelectPixelDistance = dragSelectPixelDistance\n ;(pointMesh as any).draggable = true\n pointMesh.setStyle({\n color: pointColor,\n opacity: pointOpacity,\n })\n this.modules.fiveDomEvents.addEventListener(pointMesh, 'drag', this.onDrag)\n this.modules.fiveDomEvents.addEventListener(pointMesh, 'dragstart', this.onDragstart)\n this.modules.fiveDomEvents.addEventListener(pointMesh, 'dragend', this.onDragend)\n return pointMesh\n }\n\n private disposePointMesh(mesh: PointMesh) {\n this.modules.fiveDomEvents.removeEventListener(mesh)\n this.remove(mesh)\n }\n}\n","interface Point3D {\n x: number\n y: number\n z: number\n}\n\ninterface Line3D {\n start: Point3D\n end: Point3D\n}\n\n/**\n * @description 判断线段是否相交\n * @todo ai写的一些变量名起的比较怪,懒得改了\n */\nexport function isIntersecting(line1: Line3D, line2: Line3D | Line3D[]): boolean {\n const lines = Array.isArray(line2) ? line2 : [line2]\n\n for (let i = 0; i < lines.length; i++) {\n const p1 = line1.start\n const q1 = line1.end\n const p2 = lines[i].start\n const q2 = lines[i].end\n\n // 重合不算相交\n if (equals(p1, p2) || equals(p1, q2) || equals(q1, p2) || equals(q1, q2) || equals(p1, q1)) {\n continue\n }\n\n if (areLinesIntersecting3D([p1.x, p1.y, p1.z], [q1.x, q1.y, q1.z], [p2.x, p2.y, p2.z], [q2.x, q2.y, q2.z])) return true\n }\n\n return false\n}\n\n\nexport function isLinesIntersecting(lines: Line3D[]): boolean {\n if (lines.length < 2) {\n return false;\n }\n for (let i = 0; i < lines.length; i++) {\n const hasIntersect = isIntersecting(lines[i], lines.slice(i + 1))\n if (hasIntersect) return true// 有交点,返回空\n }\n return false\n}\n\nexport function isPolygenIntersecting(points: Point3D[]): boolean {\n const lines: Line3D[] = []\n for (let i = 1; i < points.length; i++) {\n const line: Line3D = { start: points[i - 1], end: points[i] }\n lines.push(line)\n }\n return isLinesIntersecting(lines)\n}\n\nfunction areLinesIntersecting3D(line1Start, line1End, line2Start, line2End) {\n // 计算方向向量\n const dirVec1 = [line1End[0] - line1Start[0], line1End[1] - line1Start[1], line1End[2] - line1Start[2]]\n const dirVec2 = [line2End[0] - line2Start[0], line2End[1] - line2Start[1], line2End[2] - line2Start[2]]\n\n // 设定两个参数方程相等,解三个标量方程\n // 三行对应 X, Y, Z 三个方向\n const rows = [\n { a: [dirVec1[0], -dirVec2[0]], b: line2Start[0] - line1Start[0] },\n { a: [dirVec1[1], -dirVec2[1]], b: line2Start[1] - line1Start[1] },\n { a: [dirVec1[2], -dirVec2[2]], b: line2Start[2] - line1Start[2] },\n ]\n\n // 尝试所有两行组合 (XY, XZ, YZ),找到行列式非零的组合\n const combinations = [\n [0, 1], // X 和 Y\n [0, 2], // X 和 Z\n [1, 2], // Y 和 Z\n ]\n\n for (const [i, j] of combinations) {\n const A = [rows[i].a, rows[j].a]\n const b = [rows[i].b, rows[j].b]\n\n const detA = determinant(A)\n if (Math.abs(detA) < 1e-10) {\n continue // 这个组合行列式为零,换下一个\n }\n\n const A_inv = inverseMatrix(A, detA)\n const [t, s] = matrixVectorMultiply(A_inv, b)\n\n // 检查解是否在线段范围内\n if (isInSegmentRange(t) && isInSegmentRange(s)) {\n return true\n }\n\n // 找到有效解后就返回,不需要继续\n return false\n }\n\n // 所有组合行列式都为零,说明线段平行或共线\n return false\n}\n\nfunction determinant(A) {\n // 计算2x2矩阵的行列式\n return A[0][0] * A[1][1] - A[0][1] * A[1][0]\n}\n\nfunction inverseMatrix(A, det) {\n // 计算2x2矩阵的逆矩阵,传入已计算的行列式值\n return [\n [A[1][1] / det, -A[0][1] / det],\n [-A[1][0] / det, A[0][0] / det],\n ]\n}\n\nfunction matrixVectorMultiply(matrix, vector) {\n return [matrix[0][0] * vector[0] + matrix[0][1] * vector[1], matrix[1][0] * vector[0] + matrix[1][1] * vector[1]]\n}\n\nfunction isInSegmentRange(value) {\n return value >= 0 && value <= 1\n}\n\nfunction equals(p1: Point3D, p2: Point3D): boolean {\n return p1.x === p2.x && p1.y === p2.y && p1.z === p2.z\n}\n","import type { SculptModules } from '../../utils/Modules/Global'\nimport { BaseObject, type BaseImportData, type BaseObjectConfig } from '../Base'\nimport * as THREE from 'three/webgpu'\nimport type { PointIntersection } from '../../../shared-utils'\nimport { PolylineMesh } from '../../Meshes/Polyline'\nimport { AreaMesh, type AreaStyle } from '../../Meshes/Area'\nimport { PolygonEditor } from './Editor'\nimport type { PointSelector } from '../../../shared-utils/three/PointSelector'\nimport type { LiteralString } from '../../../typings/utils.type'\nimport type { PolygonData, PolygonStyle } from '../../Meshes/Polygon'\nimport vector3ToArray from '../../../shared-utils/three/vector3ToArray'\nimport type { CreateLimitConfig, PolygonDrawConfig } from '../../typings/style'\nimport { withResolvers } from '../../../shared-utils/promise/withResolvers'\nimport { anyPositionToVector3 } from '../../../shared-utils/positionToVector3'\nimport { getFiveFromParentChain } from '../../../shared-utils/five/getFiveFromParentChain'\nimport { PointMesh } from '../../Meshes/Point'\nimport { isPolygenIntersecting } from '../../utils/isIntersecting';\n\nexport interface PolygonImportData extends BaseImportData, PolygonData {\n type: LiteralString<'Polygon'>\n style?: Partial<AreaStyle>\n}\n\n// 新增:PolygonCreateConfig 类型\nexport type PolygonCreateConfig = Partial<PolygonStyle & CreateLimitConfig & PolygonDrawConfig> & {\n onPointPlaced?: (points: THREE.Vector3[]) => void\n onUndo?: () => void\n onRedo?: () => void\n /**\n * @description 检测到自相交时的回调\n * @param point 尝试添加但被拒绝的点坐标\n */\n __onSelfIntersect?: (point: THREE.Vector3) => void\n /**\n * @description 将要添加的下一个点\n */\n __onWillAddPoint?: (point: THREE.Vector3, points: THREE.Vector3[]) => void\n /**\n * @description 检测是否自相交,如果自交,禁止添加下一个点\n * @default false\n */\n experimental_self_intersect_check?: boolean\n /**\n * 最多允许能添加的点数\n */\n experimental_max_point_count?: number\n}\n\nexport class Polygon extends BaseObject<PolygonImportData> {\n public readonly type = 'Polygon'\n public areaMesh: AreaMesh\n\n // 新增:Polygon 专属的历史记录\n private historyStack: Array<{\n points: THREE.Vector3[]\n }> = []\n private currentHistoryIndex: number = -1\n private maxHistorySize: number = 50\n\n public get editor() {\n if (!this._editor) {\n this._editor = new PolygonEditor(this)\n }\n return this._editor\n }\n\n public _editor: PolygonEditor\n\n private creatingObject?: ReturnType<typeof createPolygon>\n\n private updateCreationPointMeshes() {\n const sync = this.areaMesh?.userData?.syncCreationPointMeshes\n if (typeof sync === 'function') {\n sync()\n }\n if (this._editor) {\n this._editor.updatePointMeshes()\n }\n }\n\n public get data() {\n this.updateMatrixWorld()\n return {\n ...this.baseData,\n points: vector3ToArray(this.applyObjectMatrixWorld(this.areaMesh.points)),\n style: {\n color: this.areaMesh.color.getHex(),\n lineColor: this.areaMesh.lineColor.getHex(),\n lineWidth: this.areaMesh.lineWidth,\n },\n }\n }\n\n public constructor(modules: SculptModules, data?: PolygonImportData, config?: Partial<BaseObjectConfig>) {\n super(modules, data, config)\n\n if (data) {\n this.areaMesh = new AreaMesh({ ...data.style, ...data })\n this.areaMesh.userData = this.areaMesh.userData ?? {}\n if (typeof this.areaMesh.userData.dragSelectPixelDistance !== 'number') {\n this.areaMesh.userData.dragSelectPixelDistance = 10\n }\n this.add(this.areaMesh)\n }\n }\n\n public setData(data: Partial<PolygonImportData>): void {\n if (data.points) this.areaMesh.setPoints(this.applyObjectReversalMatrixWorld(data.points.map(anyPositionToVector3)))\n this.areaMesh.setStyle(data.style)\n this.updateCreationPointMeshes()\n }\n\n public highlight() {\n this.areaMesh?.highlight()\n }\n\n public unhighlight() {\n this.areaMesh?.unhighlight()\n }\n\n public canUndo() {\n // 创建阶段使用创建对象的撤销\n if (this.creatingObject) {\n const result = this.creatingObject?.canUndo?.() ?? false\n return result\n }\n // 编辑阶段使用 Polygon 自己的历史记录\n const result = this.currentHistoryIndex > 0\n return result\n }\n\n public canRedo() {\n // 创建阶段使用创建对象的重做\n if (this.creatingObject) {\n return this.creatingObject?.canRedo?.() ?? false\n }\n // 编辑阶段使用 Polygon 自己的历史记录\n return this.currentHistoryIndex < this.historyStack.length - 1\n }\n\n public undo() {\n // 创建阶段使用创建对象的撤销\n if (this.creatingObject) {\n return this.creatingObject?.undo?.()\n }\n // 编辑阶段使用 Polygon 自己的历史记录\n if (this.canUndo()) {\n this.currentHistoryIndex--\n const snapshot = this.historyStack[this.currentHistoryIndex]\n this.restoreSnapshot(snapshot)\n } else {\n console.log('[Polygon] undo: 无法撤销', { uuid: this.uuid })\n }\n }\n\n public redo() {\n // 创建阶段使用创建对象的重做\n if (this.creatingObject) {\n return this.creatingObject?.redo?.()\n }\n\n // 编辑阶段使用 Polygon 自己的历史记录\n if (this.canRedo()) {\n this.currentHistoryIndex++\n const snapshot = this.historyStack[this.currentHistoryIndex]\n this.restoreSnapshot(snapshot)\n }\n }\n\n /**\n * 记录当前状态到历史记录\n */\n public recordHistory() {\n // 创建阶段不记录\n if (this.creatingObject) {\n return\n }\n\n // 截断当前索引之后的历史记录\n this.historyStack = this.historyStack.slice(0, this.currentHistoryIndex + 1)\n\n // 创建当前状态的快照\n const snapshot = {\n points: this.areaMesh.points.map((p) => p.clone()),\n }\n\n this.historyStack.push(snapshot)\n\n // 限制历史记录数量\n if (this.historyStack.length > this.maxHistorySize) {\n this.historyStack.shift()\n } else {\n this.currentHistoryIndex++\n }\n }\n\n /**\n * 恢复快照\n */\n private restoreSnapshot(snapshot: { points: THREE.Vector3[] }) {\n this.areaMesh.setPoints(snapshot.points.map((p) => p.clone()))\n this.updateCreationPointMeshes()\n\n // 更新编辑器中的点\n if (this._editor) {\n this._editor.updatePointMeshes()\n }\n }\n\n public async create(params?: PolygonCreateConfig) {\n this.children.forEach((child) => {\n if (child.parent === this) {\n this.remove(child)\n }\n })\n this.children.length = 0\n\n const areaMesh = new AreaMesh(params)\n this.areaMesh = areaMesh\n this.add(this.areaMesh)\n\n this.creatingObject = createPolygon(this.areaMesh, this.pointSelector, params)\n\n await this.creatingObject?.finished\n\n // 创建完成后,清空创建对象,进入编辑阶段\n this.creatingObject = null\n\n // 记录初始状态(创建完成后的状态)\n this.recordHistory()\n this.updateCreationPointMeshes()\n\n if (this.config.defaultAction) this.editor.enable()\n }\n}\n\nexport function createPolygon(areaMesh: AreaMesh, pointSelector: PointSelector, config?: PolygonCreateConfig) {\n const { promise, resolve, reject } = withResolvers<void>()\n const container = areaMesh.parent\n if (!container) {\n reject(new Error('No container'))\n return\n }\n\n const limit = config?.limit ?? 'none'\n const simpleMode = config?.simpleMode\n\n // 获取 five 实例\n const five = pointSelector.five\n // 获取吸附像素距离\n const autoClosePixelDistance = config?.autoClosePixelDistance ?? 10\n areaMesh.userData = areaMesh.userData ?? {}\n areaMesh.userData.dragSelectPixelDistance = autoClosePixelDistance\n\n // 获取最高高度\n let maxY = 0\n if (simpleMode) {\n if (five && five.model && five.model.bounding && typeof five.model.bounding.max?.y === 'number') {\n maxY = five.model.bounding.max.y + 1\n }\n }\n\n // 预览线\n const previewLine = new PolylineMesh(areaMesh.style)\n container?.add(previewLine)\n // 垂直辅助线\n const verticalLine = new PolylineMesh({ ...areaMesh.style, dashed: true, lengthEnable: false })\n container?.add(verticalLine)\n\n // 新增:用于显示所有点的 PointMesh\n let pointMeshes: PointMesh[] = []\n const syncCreationPointMeshes = (sourcePoints: THREE.Vector3[] = points) => {\n pointMeshes.forEach((mesh, idx) => {\n const point = sourcePoints[idx]\n if (point) {\n mesh.position.copy(point)\n }\n })\n }\n function updatePointMeshes() {\n // 先移除所有旧的点\n pointMeshes.forEach((mesh) => mesh.parent?.remove(mesh))\n // 复用线段的 style,保证一致\n const style = areaMesh.line?.style ?? areaMesh.style\n pointMeshes = points.map((pt, idx) => {\n const mesh = new PointMesh({\n ...style,\n color: (style as any).pointColor ?? style.lineColor,\n tip: undefined,\n point: pt,\n })\n mesh.name = `PolygonPointMesh_${idx}`\n mesh.userData = mesh.userData ?? {}\n mesh.userData.dragSelectPixelDistance = autoClosePixelDistance\n container?.add(mesh)\n return mesh\n })\n syncCreationPointMeshes()\n }\n function clearPointMeshes() {\n pointMeshes.forEach((mesh) => mesh.parent?.remove(mesh))\n pointMeshes = []\n if (areaMesh.userData) {\n delete areaMesh.userData.creationPointMeshes\n delete areaMesh.userData.syncCreationPointMeshes\n delete areaMesh.userData.disposeCreationPointMeshes\n }\n }\n\n pointSelector.enable()\n if (simpleMode) pointSelector.setAdherePoints([])\n\n const points: THREE.Vector3[] = []\n\n let previewPoint: THREE.Vector3\n let planeHelper: THREE.Plane // 有值则表明已经确定了所在平面\n let closed = false\n let lastIntersection: PointIntersection\n\n const undoStack: THREE.Vector3[] = []\n\n const canUndo = () => points.length > 0\n\n const canRedo = () => undoStack.length > 0\n\n const undo = () => {\n if (!canUndo()) return\n undoStack.push(points.pop())\n onPreview(lastIntersection)\n updatePointMeshes() // 撤销时也要更新点\n config?.onUndo?.()\n if (pointSelector.pointSelectorHelper && pointSelector.pointSelectorHelper.magnifier) {\n pointSelector.pointSelectorHelper.magnifier.render()\n }\n }\n\n const redo = () => {\n if (!canRedo()) return\n points.push(undoStack.pop())\n onPreview(lastIntersection)\n updatePointMeshes() // 重做时也要更新点\n config?.onRedo?.()\n if (pointSelector.pointSelectorHelper && pointSelector.pointSelectorHelper.magnifier) {\n pointSelector.pointSelectorHelper.magnifier.render()\n }\n }\n\n // 选点处理函数\n const onSelect = (intersection: PointIntersection) => {\n undoStack.length = 0 // 一旦有了新的动作,就要清空撤销栈\n let point = points.length === 0 ? intersection.point : previewPoint.clone()\n if (simpleMode) point = point.clone().setY(maxY)\n\n config.__onWillAddPoint(point, points)\n if (config?.experimental_max_point_count != null && points.length === config.experimental_max_point_count) {\n return\n }\n\n points.push(point)\n areaMesh.setPoints(points, { closed: false })\n\n // 如果开启了自相交检测且检测到自相交,撤销添加的点\n if (config?.experimental_self_intersect_check && isPolygenIntersecting(points)) {\n const rejectedPoint = points.pop()\n areaMesh.setPoints(points, { closed: false })\n updatePointMeshes()\n console.warn('[Polygon] 检测到自相交,无法添加该点')\n config?.__onSelfIntersect?.(rejectedPoint)\n return\n }\n\n updatePointMeshes() // 新增点时也要更新\n config?.onPointPlaced?.(points)\n if (closed) {\n selectEnd()\n resolve()\n }\n }\n\n // 预览\n const onPreview = (intersection: PointIntersection) => {\n const clearPreview = () => {\n previewLine.setPoints([])\n verticalLine.setPoints([])\n areaMesh.setPoints(points)\n if (pointSelector.pointSelectorHelper && pointSelector.pointSelectorHelper.magnifier) {\n pointSelector.pointSelectorHelper.magnifier.render()\n }\n }\n\n if (!intersection) {\n clearPreview()\n updatePointMeshes() // 预览清空时也要清理点\n return\n }\n lastIntersection = intersection\n if (!points?.length) return clearPreview()\n\n const lastPoint = points.at(-1).clone()\n\n if (points.length < 3) {\n if (simpleMode) {\n previewPoint = intersection.point.clone().setY(maxY)\n previewLine.setPoints([lastPoint, previewPoint])\n verticalLine.setPoints([])\n } else if (limit === 'none') {\n previewPoint = intersection.point\n previewLine.setPoints([lastPoint, previewPoint])\n verticalLine.setPoints([])\n } else if (limit === 'xoz') {\n planeHelper = planeHelper ?? new THREE.Plane().setFromNormalAndCoplanarPoint(new THREE.Vector3(0, 1, 0), points[0])\n pointSelector.plane = planeHelper\n previewPoint = planeHelper.projectPoint(intersection.point, new THREE.Vector3())\n previewLine.setPoints([lastPoint, previewPoint])\n verticalLine.setPoints([previewPoint, intersection.point])\n } else if (limit === 'y') {\n if (points.length === 1) {\n previewPoint = intersection.point\n previewLine.setPoints([lastPoint, previewPoint])\n verticalLine.setPoints([])\n } else {\n planeHelper =\n planeHelper ?? new THREE.Plane().setFromCoplanarPoints(points[0], points[1], new THREE.Vector3(0, 1, 0).add(points[0]))\n pointSelector.plane = planeHelper\n previewPoint = planeHelper.projectPoint(intersection.point, new THREE.Vector3())\n previewLine.setPoints([lastPoint, previewPoint])\n verticalLine.setPoints([previewPoint, intersection.point])\n }\n }\n }\n\n // 已经画了3个点或以上时,需要检测是否可以闭合\n if (points.length >= 3) {\n if (simpleMode) {\n previewPoint = intersection.point.clone().setY(maxY)\n } else {\n previewPoint = areaMesh.projectPoint(intersection.point)\n }\n const startPoint = points[0]\n\n let shouldClose = false\n if (typeof config?.autoClosePixelDistance === 'number') {\n // 使用像素距离检测\n if (five && five.camera && five.getElement) {\n const fiveElement = five.getElement()\n const width = fiveElement.clientWidth\n const height = fiveElement.clientHeight\n const toScreen = (v: THREE.Vector3) => {\n const ndc = v.clone().project(five.camera)\n return {\n x: (ndc.x * 0.5 + 0.5) * width,\n y: (1 - (ndc.y * 0.5 + 0.5)) * height,\n }\n }\n const sp = toScreen(startPoint)\n const pp = toScreen(previewPoint)\n const ip = toScreen(intersection.point)\n const dist1 = Math.sqrt((sp.x - pp.x) ** 2 + (sp.y - pp.y) ** 2)\n const dist2 = Math.sqrt((sp.x - ip.x) ** 2 + (sp.y - ip.y) ** 2)\n if (dist1 < config.autoClosePixelDistance || dist2 < config.autoClosePixelDistance) {\n shouldClose = true\n }\n }\n } else {\n // 默认物理距离检测\n if (startPoint.distanceTo(previewPoint) < 0.2 || startPoint.distanceTo(intersection.point) < 0.2) {\n shouldClose = true\n }\n }\n if (shouldClose) {\n previewPoint = startPoint\n intersection.point.copy(startPoint)\n pointSelector.pointSelectorHelper.updateWithIntersect(intersection, { emitEvent: false })\n closed = true\n } else {\n closed = false\n }\n\n previewLine.setPoints([lastPoint, previewPoint])\n verticalLine.setPoints([previewPoint, intersection.point])\n }\n\n if (points.length >= 2) {\n areaMesh.setPoints([...points, previewPoint], { closed: false })\n areaMesh.line.setPoints(areaMesh.points.slice(0, -1))\n if (config?.experimental_self_intersect_check && isPolygenIntersecting([...points, previewPoint])) {\n pointSelector.cursorError = true\n previewLine.setStyle({ lineColor: 0xff5959 })\n verticalLine.setStyle({ lineColor: 0xff5959 })\n } else {\n pointSelector.cursorError = false\n previewLine.setStyle({ lineColor: areaMesh.lineColor })\n verticalLine.setStyle({ lineColor: areaMesh.lineColor })\n }\n } else {\n areaMesh.setPoints([])\n }\n updatePointMeshes() // 预览时也要更新点\n }\n\n const selectEnd = () => {\n pointSelector.off('select', onSelect)\n pointSelector.off('intersectionUpdate', onPreview)\n pointSelector.off('disable', cancel)\n pointSelector.plane = null\n pointSelector.disable()\n container?.remove(previewLine, verticalLine)\n clearPointMeshes() // 结束时清理点\n }\n\n const cancel = () => {\n selectEnd()\n container?.remove(areaMesh, verticalLine, previewLine)\n clearPointMeshes() // 取消时清理点\n reject(new Error('Cancelled'))\n }\n\n pointSelector.on('select', onSelect)\n pointSelector.on('intersectionUpdate', onPreview)\n pointSelector.on('disable', cancel)\n\n return {\n finished: promise,\n canUndo,\n canRedo,\n undo,\n redo,\n }\n}\n","import type { BoxMesh } from '../Meshes/Box'\nimport { BaseEditorWithObjectHelper } from '../Objects/Base/Editor'\nimport * as THREE from 'three/webgpu'\n\nexport class BoxMeshEditor extends BaseEditorWithObjectHelper<BoxMesh> {\n public constructor(boxMesh: BoxMesh) {\n super(boxMesh, () => {\n return {\n positionFrom: () => boxMesh.worldCenter,\n yAxis: () => new THREE.Vector3().subVectors(boxMesh.topPosition, boxMesh.bottomPositions[0]).normalize(),\n zAxis: () => new THREE.Vector3().subVectors(boxMesh.bottomPositions[0], boxMesh.bottomPositions[1]).normalize(),\n scaleHelper: {\n enable: true,\n positions: () => {\n const bottomPosition = boxMesh.bottomPositions\n const topPosition = boxMesh.topPosition\n const yOffset = new THREE.Vector3().subVectors(topPosition, bottomPosition[0])\n const xOffset = new THREE.Vector3().subVectors(bottomPosition[1], bottomPosition[0])\n const zOffset = new THREE.Vector3().subVectors(bottomPosition[2], bottomPosition[1])\n\n const center = boxMesh.geometryInfo.center\n\n const bottomCenter = center.clone().sub(yOffset.clone().divideScalar(2))\n const topCenter = center.clone().add(yOffset.clone().divideScalar(2))\n const leftCenter = center.clone().sub(xOffset.clone().divideScalar(2))\n const rightCenter = center.clone().add(xOffset.clone().divideScalar(2))\n const frontCenter = center.clone().sub(zOffset.clone().divideScalar(2))\n const backCenter = center.clone().add(zOffset.clone().divideScalar(2))\n\n return [\n {\n id: 'top',\n handlePosition: topCenter,\n basePosition: bottomCenter,\n },\n {\n id: 'bottom',\n handlePosition: bottomCenter,\n basePosition: topCenter,\n },\n {\n id: 'left',\n handlePosition: leftCenter,\n basePosition: rightCenter,\n },\n {\n id: 'right',\n handlePosition: rightCenter,\n basePosition: leftCenter,\n },\n {\n id: 'front',\n handlePosition: frontCenter,\n basePosition: backCenter,\n },\n {\n id: 'back',\n handlePosition: backCenter,\n basePosition: frontCenter,\n },\n ]\n },\n scaleCallback: (params) => {\n const { intersectPoint, scalePosition } = params\n const { id, basePosition } = scalePosition\n\n const bottomPositions = boxMesh.bottomPositions\n const topPositions = boxMesh.topPositions\n\n let heightOffset = new THREE.Vector3().subVectors(boxMesh.topPosition, bottomPositions[0])\n let newBottomPositions: THREE.Vector3[]\n\n if (id === 'top') {\n const offsetToBottom = intersectPoint.clone().sub(basePosition)\n heightOffset = offsetToBottom\n newBottomPositions = bottomPositions\n } else if (id === 'bottom') {\n const offsetToTop = intersectPoint.clone().sub(basePosition)\n newBottomPositions = topPositions.map((v) => v.clone().add(offsetToTop))\n heightOffset = undefined\n } else if (id === 'left') {\n // 1,2 边为右边,生成新的 0,3 边\n const offsetToRight = intersectPoint.clone().sub(basePosition)\n newBottomPositions = [\n bottomPositions[1].clone().add(offsetToRight),\n bottomPositions[1],\n bottomPositions[2],\n bottomPositions[2].clone().add(offsetToRight),\n ]\n } else if (id === 'right') {\n // 0,3 边为左边,生成新的 1,2 边\n const offsetToLeft = intersectPoint.clone().sub(basePosition)\n newBottomPositions = [\n bottomPositions[0],\n bottomPositions[0].clone().add(offsetToLeft),\n bottomPositions[3].clone().add(offsetToLeft),\n bottomPositions[3],\n ]\n } else if (id === 'front') {\n // 2,3 边为后边,生成新的 0,1 边\n const offsetToBack = intersectPoint.clone().sub(basePosition)\n newBottomPositions = [\n bottomPositions[3].clone().add(offsetToBack),\n bottomPositions[2].clone().add(offsetToBack),\n bottomPositions[2],\n bottomPositions[3],\n ]\n } else if (id === 'back') {\n // 0,1 边为前边,生成新的 2,3 边\n const offsetToFront = intersectPoint.clone().sub(basePosition)\n newBottomPositions = [\n bottomPositions[0],\n bottomPositions[1],\n bottomPositions[1].clone().add(offsetToFront),\n bottomPositions[0].clone().add(offsetToFront),\n ]\n }\n\n boxMesh.setPoints({\n points: newBottomPositions,\n heightPoint: heightOffset ? newBottomPositions[0].clone().add(heightOffset) : undefined,\n })\n },\n },\n }\n })\n }\n}\n","import { type AnyPosition } from '../../shared-utils/positionToVector3'\nimport { centerPoint } from '../../shared-utils/three/centerPoint'\nimport type { LineStyle } from '../typings/style'\nimport type { PointsData } from '../utils/data'\nimport type { ColoredMeshStyle } from '../utils/three/ColoredMesh'\nimport { PrismMesh } from './Prism'\n\nexport type BoxStyle = ColoredMeshStyle & LineStyle\n\nexport type BoxData = PointsData & { heightPoint: AnyPosition }\n\n/**\n * @description: Box\n */\nexport class BoxMesh extends PrismMesh {\n public name = 'BoxMesh'\n\n public get geometryInfo() {\n if (this.geometryInfoNeedUpdate) {\n this.geometryInfoNeedUpdate = false\n\n const bottomPositions = this.bottomPositions\n const topPosition = this.topPosition\n\n if (!bottomPositions || bottomPositions.length < 3 || !topPosition) {\n this._geometryInfoCache = undefined\n return\n }\n\n const bottomCenter = centerPoint(...bottomPositions)\n const offset = topPosition.clone().sub(bottomPositions[0])\n const center = bottomCenter.clone().add(offset.clone().divideScalar(2))\n\n this._geometryInfoCache = { center }\n }\n return this._geometryInfoCache\n }\n}\n","import type { SculptModules } from '../../utils/Modules/Global'\nimport { BaseObject, type BaseImportData, type BaseObjectConfig } from '../Base'\nimport * as THREE from 'three/webgpu'\nimport type { PointIntersection } from '../../../shared-utils'\n\nimport type { PointSelector } from '../../../shared-utils/three/PointSelector'\nimport { BoxMeshEditor } from '../../Editors/BoxMeshEditor'\nimport { BoxMesh, type BoxData, type BoxStyle } from '../../Meshes/Box'\nimport { createRectangle } from '../Rectangle'\nimport { LineMesh } from '../../Meshes/Line'\nimport getNormal from '../../../shared-utils/three/getNormal'\nimport { rayOnLine } from '../../utils/three/rayOnLine'\nimport vector3ToArray from '../../../shared-utils/three/vector3ToArray'\nimport type { LiteralString } from '../../../typings/utils.type'\nimport { RectangleWithEdgeMesh } from '../../Meshes/RectangleWithEdge'\nimport { centerPoint } from '../../../shared-utils/three/centerPoint'\nimport type { CreateLimitConfig, DrawMethodConfig } from '../../typings/style'\nimport { anyPositionToVector3 } from '../../../shared-utils/positionToVector3'\n\nexport interface BoxImportData extends BaseImportData, BoxData {\n type: LiteralString<'Box'>\n style?: Partial<BoxStyle>\n}\n\nexport type BoxCreateConfig = Partial<BoxStyle & CreateLimitConfig & DrawMethodConfig> & {\n onPointPlaced?: () => void\n}\n\nexport class Box extends BaseObject<BoxImportData> {\n public readonly type = 'Box'\n public boxMesh: BoxMesh\n\n public get editor() {\n if (!this._editor) {\n this._editor = new BoxMeshEditor(this.boxMesh)\n }\n return this._editor\n }\n\n public _editor: BoxMeshEditor\n\n public get data() {\n return {\n ...this.baseData,\n points: vector3ToArray(this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)),\n heightPoint: vector3ToArray(this.applyObjectMatrixWorld(this.boxMesh.topPosition, this.boxMesh)),\n style: {\n color: this.boxMesh.color.getHex(),\n opacity: this.boxMesh.opacity,\n lineWidth: this.boxMesh.lineWidth,\n lineColor: this.boxMesh.lineColor.getHex(),\n },\n }\n }\n\n public constructor(modules: SculptModules, data?: BoxImportData, config?: Partial<BaseObjectConfig>) {\n super(modules, data, config)\n\n if (data) {\n this.boxMesh = new BoxMesh({ ...data.style, ...data })\n this.add(this.boxMesh)\n }\n }\n\n public setData(data: Partial<BoxImportData>): void {\n this.boxMesh.setPoints({\n points: data.points ? this.applyObjectReversalMatrixWorld(data.points.map(anyPositionToVector3), this.boxMesh) : undefined,\n heightPoint: data.heightPoint ? this.applyObjectReversalMatrixWorld(anyPositionToVector3(data.heightPoint), this.boxMesh) : undefined,\n })\n this.boxMesh.setStyle(data.style)\n if (this._editor) this._editor.initialHelperMatrix()\n }\n\n public highlight() {\n this.boxMesh?.highlight()\n }\n\n public unhighlight() {\n this.boxMesh?.unhighlight()\n }\n\n public async create(params?: BoxCreateConfig) {\n this.removeChildren()\n\n this.boxMesh = new BoxMesh(params)\n this.add(this.boxMesh)\n\n await createBox(this.boxMesh, this.pointSelector, params)\n\n if (this.config.defaultAction) this.editor.enable()\n }\n\n /**\n * 获取盒子在世界坐标中的6个面的几何信息\n * 返回顺序:bottom、top、side0~side3(自底面第0点起顺时针)\n */\n public getWorldFacesGeometry(): Array<{\n name: 'bottom' | 'top' | `side${number}`\n vertices: THREE.Vector3[]\n center: THREE.Vector3\n normal: THREE.Vector3\n }> {\n if (!this.boxMesh) return []\n\n // 获取世界坐标下的底面与顶面四点\n const bottom = this.applyObjectMatrixWorld(this.boxMesh.bottomPositions, this.boxMesh)\n const top = this.applyObjectMatrixWorld(this.boxMesh.topPositions, this.boxMesh)\n\n if (!bottom || !top || bottom.length !== 4 || top.length !== 4) return []\n\n const faces: Array<{\n name: 'bottom' | 'top' | `side${number}`\n vertices: THREE.Vector3[]\n center: THREE.Vector3\n normal: THREE.Vector3\n }> = []\n\n const buildFace = (name: 'bottom' | 'top' | `side${number}`, vertices: THREE.Vector3[]) => {\n const normal = new THREE.Triangle(vertices[0], vertices[1], vertices[2]).getNormal(new THREE.Vector3())\n const center = centerPoint(...vertices)\n faces.push({ name, vertices, center, normal })\n }\n\n // 底面与顶面(保持输入顺序)\n buildFace('bottom', [bottom[0], bottom[1], bottom[2], bottom[3]])\n buildFace('top', [top[0], top[1], top[2], top[3]])\n\n // 四个侧面:bi -> b(i+1) -> t(i+1) -> ti\n for (let i = 0; i < 4; i++) {\n const ni = (i + 1) % 4\n buildFace(`side${i}`, [bottom[i], bottom[ni], top[ni], top[i]])\n }\n\n return faces\n }\n}\n\nexport async function createBox(boxMesh: BoxMesh, pointSelector: PointSelector, config?: BoxCreateConfig) {\n return new Promise<void>(async (resolve, reject) => {\n const container = boxMesh.parent\n if (!container) {\n reject(new Error('No container'))\n return\n }\n\n const bottomRectangle = new RectangleWithEdgeMesh(boxMesh.style)\n container.add(bottomRectangle)\n // 传递 onPointPlaced 到 createRectangle,用于底面矩形的点放置回调\n await createRectangle(bottomRectangle, pointSelector, {\n ...config,\n onPointPlaced: () => {\n config?.onPointPlaced?.()\n }\n })\n container.remove(bottomRectangle)\n\n boxMesh.setPoints({ points: bottomRectangle.points })\n\n const lineHelper = new LineMesh()\n const normal = getNormal(boxMesh.bottomPositions)\n const lineCenterPoint = centerPoint(...boxMesh.bottomPositions)\n const startPoint = lineCenterPoint.clone().add(normal.clone().multiplyScalar(100))\n const endPoint = lineCenterPoint.clone().sub(normal.clone().multiplyScalar(100))\n lineHelper.setPoints([startPoint, endPoint])\n\n container.add(lineHelper)\n\n pointSelector.enable()\n\n // 选点处理函数\n const onSelect = (intersection: PointIntersection) => {\n // 触发 onPointPlaced 回调\n config?.onPointPlaced?.()\n\n selectEnd()\n resolve()\n }\n\n // 预览\n const onPreview = (intersection: PointIntersection) => {\n if (!intersection?.raycaster) return\n\n const pointOnLineHelper = rayOnLine({\n raycaster: intersection.raycaster,\n line: new THREE.Line3(startPoint, endPoint),\n })\n\n if (pointOnLineHelper) {\n const offset = pointOnLineHelper.clone().sub(lineCenterPoint)\n boxMesh.setPoints({ heightPoint: boxMesh.bottomPositions[0].clone().add(offset) })\n }\n }\n\n const selectEnd = () => {\n pointSelector.off('select', onSelect)\n pointSelector.off('intersectionUpdate', onPreview)\n pointSelector.off('disable', cancel)\n pointSelector.disable()\n container?.remove(lineHelper)\n }\n\n const cancel = () => {\n selectEnd()\n container?.remove(boxMesh)\n reject(new Error('Cancelled'))\n }\n\n pointSelector.on('select', onSelect)\n pointSelector.on('intersectionUpdate', onPreview)\n pointSelector.on('disable', cancel)\n })\n}\n","import type { SculptModules } from '../../utils/Modules/Global'\nimport { BaseObject, type BaseImportData, type BaseObjectConfig } from '../Base'\nimport * as THREE from 'three/webgpu'\nimport type { PointIntersection } from '../../../shared-utils'\nimport { PolylineWithDotsMesh } from '../../Meshes/Polyline'\n\nimport type { AdherePoint, PointSelector } from '../../../shared-utils/three/PointSelector'\nimport { RectangleMeshEditor } from '../../Editors/RectangleMeshEditor'\nimport { RectangleMesh, type RectangleData } from '../../Meshes/Rectangle'\nimport { RectangleWithEdgeMesh, type RectangleWithEdgeMeshStyle } from '../../Meshes/RectangleWithEdge'\nimport type { LiteralString } from '../../../typings/utils.type'\nimport type { DrawMethodConfig, CreateLimitConfig } from '../../typings/style'\nimport { sortPositionsByCameraPosition } from '../../utils/sortPositionsByCameraPosition'\nimport { Sculpt } from '../..'\nimport vector3ToArray from '../../../shared-utils/three/vector3ToArray'\nimport { anyPositionToVector3 } from '../../../shared-utils/positionToVector3'\nimport { withResolvers } from '../../../shared-utils/promise/withResolvers'\nimport type { Five } from '@realsee/five-webgpu'\nimport { PolygonMesh } from '../../Meshes/Polygon'\nimport getNormal from '../../../shared-utils/three/getNormal'\n\nexport interface RectangleImportData extends BaseImportData, RectangleData {\n type: LiteralString<'Rectangle'>\n style?: Partial<RectangleWithEdgeMeshStyle>\n}\n\nexport type RectangleCreateConfig = Partial<RectangleWithEdgeMeshStyle & CreateLimitConfig & DrawMethodConfig> & {\n onPointPlaced?: () => void\n}\n\nexport class Rectangle extends BaseObject<RectangleImportData> {\n public readonly type = 'Rectangle'\n public rectangleMesh: RectangleWithEdgeMesh\n\n public get editor() {\n if (!this._editor) {\n this._editor = new RectangleMeshEditor(this.rectangleMesh)\n }\n return this._editor\n }\n\n public _editor: RectangleMeshEditor\n\n public get data() {\n return {\n ...this.baseData,\n points: vector3ToArray(this.applyObjectMatrixWorld(this.rectangleMesh.points, this.rectangleMesh)),\n style: {\n color: this.rectangleMesh.color.getHex(),\n opacity: this.rectangleMesh.opacity,\n lineWidth: this.rectangleMesh.lineWidth,\n lineColor: this.rectangleMesh.lineColor.getHex(),\n },\n }\n }\n\n public constructor(modules: SculptModules, data?: RectangleImportData, config?: Partial<BaseObjectConfig>) {\n super(modules, data, config)\n\n if (data) {\n this.rectangleMesh = new RectangleWithEdgeMesh({ ...data.style, ...data })\n this.add(this.rectangleMesh)\n }\n }\n\n public setData(data: Partial<RectangleImportData>): void {\n if (data.points)\n this.rectangleMesh.setPoints(this.applyObjectReversalMatrixWorld(data.points.map(anyPositionToVector3), this.rectangleMesh))\n this.rectangleMesh.setStyle(data.style)\n if (this._editor) this._editor.initialHelperMatrix()\n }\n\n public highlight() {\n this.rectangleMesh?.highlight()\n }\n\n public unhighlight() {\n this.rectangleMesh?.unhighlight()\n }\n\n public async create(config?: RectangleCreateConfig) {\n this.removeChildren()\n\n const rectangleMesh = new RectangleWithEdgeMesh(config)\n this.rectangleMesh = rectangleMesh\n this.add(this.rectangleMesh)\n\n await createRectangle(this.rectangleMesh, this.pointSelector, config)\n\n if (this.config.defaultAction) this.editor.enable()\n }\n}\n\n/**\n * @description 创建矩形\n */\nexport function createRectangle(\n rectangleMesh: RectangleMesh,\n pointSelector: PointSelector,\n config?: RectangleCreateConfig,\n) {\n const drawMethod = config?.drawMethod ?? 'diagonal'\n\n return drawMethod === 'diagonal'\n ? createRectangleByDiagonal(rectangleMesh, pointSelector, config)\n : createRectangleByVertex(rectangleMesh, pointSelector, config)\n}\n\nfunction getAllSculptPoints(five: Five, params?: { excludes?: THREE.Object3D[] }) {\n const points = []\n five.scene.traverse((object) => {\n if (!object.visible) return\n if (params?.excludes?.includes(object)) return\n if (object instanceof RectangleMesh || object instanceof PolygonMesh) {\n const p = object.points.map((point) => {\n const _p = point.clone() as AdherePoint\n _p.normal = object.normal.clone()\n if (object.style.occlusionVisibility) {\n _p.IsAlwaysVisible = true\n }\n return _p\n })\n points.push(...p)\n }\n })\n\n return points\n}\n\n/**\n * @description 对角线创建矩形(两步)\n */\nexport function createRectangleByDiagonal(rectangleMesh: RectangleMesh, pointSelector: PointSelector, config?: RectangleCreateConfig) {\n const { promise, reject, resolve } = withResolvers<void>()\n const container = rectangleMesh.parent\n if (!container) return reject(new Error('No container'))\n\n const limit = config?.limit ?? 'none'\n\n const previewLine = new PolylineWithDotsMesh({ ...rectangleMesh.style, dashed: true }) // 预览线\n const verticalLine = new PolylineWithDotsMesh({ ...rectangleMesh.style, dashed: true, lengthEnable: false }) // 垂直辅助线\n const tempLine = new PolylineWithDotsMesh({ ...rectangleMesh.style, dashed: false, lengthEnable: false }) // 对角线 或 边线,在无法绘制出矩形时,用于辅助绘制\n\n container.add(previewLine, tempLine, verticalLine)\n\n pointSelector.enable()\n\n const points: THREE.Vector3[] = []\n\n let previewPoint: THREE.Vector3 = new THREE.Vector3()\n let normalIfNeed: THREE.Vector3 = new THREE.Vector3()\n const plane = new THREE.Plane()\n\n // 选点处理函数\n const onSelect = () => {\n points.push(previewPoint.clone())\n config?.onPointPlaced?.()\n\n if (points.length === 1) {\n if (limit === 'xoz') plane.setFromNormalAndCoplanarPoint(new THREE.Vector3(0, 1, 0), points[0])\n if (limit === 'none') plane.setFromNormalAndCoplanarPoint(normalIfNeed, points[0])\n } else if (points.length === 2) {\n if (limit === 'y' || limit === 'xoz') {\n // 锁定平面时面画矩形两个点就可以了\n selectEnd()\n resolve()\n } else {\n tempLine.setPoints([points[0], points[1]])\n }\n } else if (points.length === 3) {\n selectEnd()\n resolve()\n }\n }\n\n // 预览\n const onPreview = (intersection: PointIntersection) => {\n if (!intersection?.raycaster) return\n\n const lastPoint = points.at(-1)?.clone()\n\n if (points.length === 0) {\n // 确认平面\n previewPoint = intersection.point.clone()\n normalIfNeed = intersection.face?.normal\n return\n }\n\n if (points.length === 1 && limit === 'y') {\n const rectangleLine = new THREE.Line3(new THREE.Vector3(0, 1, 0).add(points[0]), new THREE.Vector3(0, -1, 0).add(points[0]))\n const pointOnLine = rectangleLine.closestPointToPoint(intersection.point, false, new THREE.Vector3())\n rectangleMesh.setPoints([points[0], pointOnLine, intersection.point])\n return\n }\n\n if (points.length === 1 && limit === 'xoz') {\n const rectangleLine = new THREE.Line3(new THREE.Vector3(1, 0, 0).add(points[0]), new THREE.Vector3(-1, 0, 0).add(points[0]))\n const pointOnPlane = intersection.raycaster.ray.intersectPlane(plane, new THREE.Vector3())\n const pointOnLine = rectangleLine.closestPointToPoint(pointOnPlane, false, new THREE.Vector3())\n rectangleMesh.setPoints([points[0], pointOnLine, pointOnPlane])\n return\n }\n\n if (points.length === 1 && limit === 'none') {\n // 画出第一条线,是对角线\n if (plane) {\n previewPoint = intersection.raycaster.ray.intersectPlane(plane, new THREE.Vector3())\n verticalLine.setPoints([previewPoint, intersection.point])\n } else {\n previewPoint = intersection.point.clone()\n }\n previewLine.setPoints([lastPoint, previewPoint])\n return\n }\n\n if (points.length === 2 && limit === 'none') {\n container.remove(previewLine)\n const pointOnPlane = intersection.raycaster.ray.intersectPlane(plane, new THREE.Vector3())\n // 确定第3个点,与对角线构成直角三角形\n const radius = points[0].distanceTo(points[1]) / 2\n const center = new THREE.Vector3().lerpVectors(points[0], points[1], 0.5)\n const normal = new THREE.Vector3().subVectors(pointOnPlane, center).normalize()\n previewPoint = new THREE.Vector3().addVectors(center, normal.multiplyScalar(radius))\n\n const rectanglePoints = [points[0], previewPoint, points[1]]\n const sortedPoints = sortPositionsByCameraPosition(rectanglePoints, pointSelector.five.camera.position)\n rectangleMesh.setPoints(sortedPoints)\n return\n }\n }\n\n const selectEnd = () => {\n pointSelector.off('select', onSelect)\n pointSelector.off('intersectionUpdate', onPreview)\n pointSelector.off('disable', cancel)\n pointSelector.disable()\n container?.remove(previewLine, tempLine, verticalLine)\n }\n\n const cancel = () => {\n selectEnd()\n container?.remove(rectangleMesh)\n reject(new Error('Cancelled'))\n }\n\n pointSelector.on('select', onSelect)\n pointSelector.on('intersectionUpdate', onPreview)\n pointSelector.on('disable', cancel)\n\n return promise\n}\n\n/**\n * @description 正常创建矩形(三步)\n */\nexport function createRectangleByVertex(rectangleMesh: RectangleMesh, pointSelector: PointSelector, config?: RectangleCreateConfig) {\n const { promise, reject, resolve } = withResolvers<void>()\n const container = rectangleMesh.parent\n if (!container) return reject(new Error('No container'))\n\n const limit = config?.limit ?? 'none'\n\n const previewLine = new PolylineWithDotsMesh({ ...rectangleMesh.style, dashed: true }) // 预览线\n const verticalLine = new PolylineWithDotsMesh({ ...rectangleMesh.style, dashed: true, lengthEnable: false }) // 垂直辅助线\n const tempLine = new PolylineWithDotsMesh({ ...rectangleMesh.style, dashed: false, lengthEnable: false }) // 对角线 或 边线,在无法绘制出矩形时,用于辅助绘制\n\n container.add(previewLine, tempLine, verticalLine)\n\n pointSelector.enable()\n pointSelector.setAdherePoints(getAllSculptPoints(pointSelector.five, { excludes: [rectangleMesh] }))\n\n const points: THREE.Vector3[] = []\n\n let previewPoint: THREE.Vector3 = new THREE.Vector3()\n let normalIfNeed: THREE.Vector3 = new THREE.Vector3()\n const plane = new THREE.Plane()\n\n // 选点处理函数\n const onSelect = () => {\n points.push(previewPoint.clone())\n config?.onPointPlaced?.()\n\n if (points.length === 1) {\n pointSelector.planeMode = 'onlyPlane'\n\n if (limit === 'y') {\n pointSelector.adhereLine = [new THREE.Line3(points[0], new THREE.Vector3(0, 1, 0).add(points[0]))]\n }\n\n if (limit === 'xoz') {\n plane.setFromNormalAndCoplanarPoint(new THREE.Vector3(0, 1, 0), points[0])\n pointSelector.plane = plane\n }\n if (limit === 'none') {\n plane.setFromNormalAndCoplanarPoint(normalIfNeed, points[0])\n pointSelector.plane = plane\n }\n } else if (points.length === 2) {\n pointSelector.planeMode = 'vertical'\n\n if (limit === 'y') {\n pointSelector.adhereLine = []\n }\n\n let lineIsVertical = false\n if (points[0].x === points[1].x && points[0].z === points[1].z) {\n lineIsVertical = true\n }\n if (limit === 'y' && !lineIsVertical) {\n plane.setFromCoplanarPoints(points[0], points[1], new THREE.Vector3(0, 1, 0).add(points[0]))\n pointSelector.plane = plane\n }\n\n tempLine.setPoints([points[0], points[1]])\n } else if (points.length === 3) {\n selectEnd()\n resolve()\n }\n }\n\n // 预览\n const onPreview = (intersection: PointIntersection) => {\n if (!intersection) return\n if (!intersection?.raycaster) return\n\n const lastPoint = points.at(-1)?.clone()\n\n if (points.length === 0) {\n // 确认平面\n previewPoint = intersection.point.clone()\n normalIfNeed = intersection.face?.normal\n return\n }\n\n if (points.length === 1) {\n // 画出矩形第一条边\n previewPoint = intersection.point\n verticalLine.setPoints([intersection.originalPoint ?? intersection.point, intersection.point])\n previewLine.setPoints([lastPoint, previewPoint])\n return\n }\n\n if (points.length === 2) {\n if (!pointSelector.plane) {\n const normal = getNormal([points[0], points[1], intersection.point])\n plane.setFromNormalAndCoplanarPoint(normal, points[0])\n }\n\n verticalLine.setPoints([intersection.originalPoint ?? intersection.point, intersection.point])\n // 确定第3个点\n const lineDirection = new THREE.Vector3().crossVectors(points[0].clone().sub(points[1]), plane.normal).normalize() // 点1 -> 点2 的线的方向(矩形的第一条边)\n const rectangleLine = new THREE.Line3(points[1].clone().add(lineDirection), points[1].clone().sub(lineDirection)) // 矩形的第二条边\n previewPoint = rectangleLine.closestPointToPoint(intersection.point, false, new THREE.Vector3())\n const rectanglePoints = [points[0], points[1], previewPoint]\n const sortedPoints = sortPositionsByCameraPosition(rectanglePoints, pointSelector.five.camera.position)\n rectangleMesh.setPoints(sortedPoints)\n return\n }\n }\n\n const selectEnd = () => {\n pointSelector.setAdherePoints([])\n pointSelector.adhereLine = []\n pointSelector.adherePlane = []\n pointSelector.plane = undefined\n\n pointSelector.off('select', onSelect)\n pointSelector.off('intersectionUpdate', onPreview)\n pointSelector.off('disable', cancel)\n pointSelector.disable()\n container?.remove(previewLine, tempLine, verticalLine)\n }\n\n const cancel = () => {\n selectEnd()\n container?.remove(rectangleMesh)\n reject(new Error('Cancelled'))\n }\n\n pointSelector.on('select', onSelect)\n pointSelector.on('intersectionUpdate', onPreview)\n pointSelector.on('disable', cancel)\n\n return promise\n}\n"],"mappings":";;;;;;;;;;;;;;;AASA,IAAayB,IAAb,MAA2B;CACU;CAA4B;CAA/D,YAAmB,GAA4B,GAAuC;EAAvB,AAA5B,KAAA,OAAAC,GAA4B,KAAA,SAAAC;CAAwB;CAEvF;CACA;CACA;CACA;CAEA,IAAW,SAAS;EAGlB,OAFI,AACJ,KAAK,YAAU,IAAIZ,EAAO,KAAK,KAAK,WAAW,CAAC,GACzC,KAAK;CACd;CAEA,IAAW,gBAAgB;EACzB,IAAI,KAAK,gBAAgB,OAAO,KAAK;EAGrC,IAAMa,IAAkB,KAAK,QAAQ,WACjCC,IACFD,MAAoB,QAAQA,MAAoB,KAAQ,EAAE,WAAW,KAAK,IAAI,EAAE,iBAAiBA,EAAgB;EAYnH,OATI,KAAK,QAAQ,qBACf,IAAe;GAAE,GAAGC;GAAc,aAAa;EAAK,IAGtD,KAAK,iBAAiB,IAAI3B,EAAc,KAAK,MAAM;GACjD,MAAM;GACN,QAAQ2B;GACR,WAAW,KAAK,QAAQ;EAC1B,CAAC,GACM,KAAK;CACd;CAEA,IAAW,gBAAgB;EAGzB,OAFI,AACJ,KAAK,mBAAiB,IAAIhB,EAAc,KAAK,MAAM,EAAE,sBAAsB,GAAK,CAAC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F,IAAM6O,IAAe5J,EAA8B;IAD1BzC,EAAO;IAAIA,EAAO;IAAIuH;GACI,GAAiBZ,EAAc,KAAK,OAAO,QAAQ;GACtG,EAAc,UAAU0F,CAAY;EAEtC;CACF,GAEMjE,UAAkB;EAUtB,AATAzB,EAAc,gBAAgB,CAAC,CAAC,GAChC,EAAc,aAAa,CAAC,GAC5B,EAAc,cAAc,CAAC,GAC7B,EAAc,QAAQ,KAAA,GAEtBA,EAAc,IAAI,UAAUsB,CAAQ,GACpCtB,EAAc,IAAI,sBAAsBoB,CAAS,GACjDpB,EAAc,IAAI,WAAWyC,CAAM,GACnCzC,EAAc,QAAQ,GACtBH,GAAW,OAAOM,GAAagF,GAAU/E,CAAY;CACvD,GAEMqC,UAAe;EAGnB,AAFAhB,EAAU,GACV5B,GAAW,OAAOzG,CAAa,GAC/BsJ,EAAO,gBAAI,MAAM,WAAW,CAAC;CAC/B;CAMA,OAJA1C,EAAc,GAAG,UAAUsB,CAAQ,GACnCtB,EAAc,GAAG,sBAAsBoB,CAAS,GAChDpB,EAAc,GAAG,WAAWyC,CAAM,GAE3BE;AACT"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { InternalWebGPURenderer as e, registerPBMMaterials as t } from "@realsee/five-webgpu";
|
|
2
|
+
//#region src/shared-utils/rendering/StandaloneRenderer.ts
|
|
3
|
+
var n = class {
|
|
4
|
+
options;
|
|
5
|
+
current;
|
|
6
|
+
disposed = !1;
|
|
7
|
+
generation = 0;
|
|
8
|
+
initialized = !1;
|
|
9
|
+
retired = /* @__PURE__ */ new WeakSet();
|
|
10
|
+
displayedCanvas;
|
|
11
|
+
pixelRatioValue;
|
|
12
|
+
size;
|
|
13
|
+
clearColor;
|
|
14
|
+
constructor(e = {}) {
|
|
15
|
+
this.options = e, this.current = this.createRenderer(), this.displayedCanvas = this.current.domElement, this.pixelRatioValue = this.current.getPixelRatio();
|
|
16
|
+
}
|
|
17
|
+
get domElement() {
|
|
18
|
+
return this.displayedCanvas ?? this.current.domElement;
|
|
19
|
+
}
|
|
20
|
+
get pixelRatio() {
|
|
21
|
+
return this.pixelRatioValue;
|
|
22
|
+
}
|
|
23
|
+
setPixelRatio(e) {
|
|
24
|
+
this.pixelRatioValue = e, this.current.setPixelRatio(e);
|
|
25
|
+
}
|
|
26
|
+
setSize(e, t) {
|
|
27
|
+
this.size = {
|
|
28
|
+
width: e,
|
|
29
|
+
height: t
|
|
30
|
+
}, this.current.setSize(e, t);
|
|
31
|
+
}
|
|
32
|
+
setClearColor(e, t) {
|
|
33
|
+
this.clearColor = {
|
|
34
|
+
color: e,
|
|
35
|
+
alpha: t
|
|
36
|
+
}, this.current.setClearColor(e, t);
|
|
37
|
+
}
|
|
38
|
+
render(e, t) {
|
|
39
|
+
return this.disposed || !this.initialized ? !1 : (this.current.render(e, t), !0);
|
|
40
|
+
}
|
|
41
|
+
dispose() {
|
|
42
|
+
this.disposed || (this.disposed = !0, this.initialized = !1, this.generation += 1, this.retire(this.current));
|
|
43
|
+
}
|
|
44
|
+
createRenderer(n = !0) {
|
|
45
|
+
let r = new e({
|
|
46
|
+
antialias: this.options.antialias,
|
|
47
|
+
...typeof navigator < "u" && !navigator.gpu ? { forceWebGL: !0 } : {}
|
|
48
|
+
});
|
|
49
|
+
t(r);
|
|
50
|
+
let i = ++this.generation;
|
|
51
|
+
return r.onDeviceLostCallback = () => {
|
|
52
|
+
this.rebuild(r, i).catch((e) => this.fail(r, e));
|
|
53
|
+
}, n && r.ready.then(() => {
|
|
54
|
+
this.disposed || i !== this.generation || (this.requireBackend(r), this.initialized = !0, this.options.onReady?.());
|
|
55
|
+
}).catch((e) => this.fail(r, e)), r;
|
|
56
|
+
}
|
|
57
|
+
async rebuild(e, t) {
|
|
58
|
+
if (this.disposed || t !== this.generation) return;
|
|
59
|
+
this.initialized = !1, this.retire(e);
|
|
60
|
+
let n = this.createRenderer(!1);
|
|
61
|
+
n.setPixelRatio(this.pixelRatioValue), this.size && n.setSize(this.size.width, this.size.height), this.clearColor && n.setClearColor(this.clearColor.color, this.clearColor.alpha);
|
|
62
|
+
let r = this.domElement;
|
|
63
|
+
n.domElement.className = r.className, n.domElement.style.cssText = r.style.cssText, this.current = n;
|
|
64
|
+
try {
|
|
65
|
+
await n.ready, this.requireBackend(n);
|
|
66
|
+
} catch (e) {
|
|
67
|
+
this.fail(n, e);
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
if (this.disposed || n !== this.current) {
|
|
71
|
+
this.retire(n);
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
let i = r.parentNode;
|
|
75
|
+
i && i.replaceChild(n.domElement, r), this.displayedCanvas = n.domElement, this.initialized = !0, this.options.onReady?.();
|
|
76
|
+
}
|
|
77
|
+
retire(e) {
|
|
78
|
+
this.retired.has(e) || (this.retired.add(e), e.onDeviceLostCallback = void 0, e.ready.then(() => e.dispose(), () => e.dispose()).catch((e) => this.options.onError ? this.options.onError(e) : console.error("Dnalogel renderer disposal failed", e)));
|
|
79
|
+
}
|
|
80
|
+
requireBackend(e) {
|
|
81
|
+
let t = e.backend;
|
|
82
|
+
if (t.isWebGPUBackend !== !0 && t.isWebGLBackend !== !0) throw Error("Dnalogel requires a WebGPU or WebGL2 backend");
|
|
83
|
+
}
|
|
84
|
+
fail(e, t) {
|
|
85
|
+
this.disposed || e !== this.current || (this.initialized = !1, this.retire(e), this.options.onError ? this.options.onError(t) : console.error("Dnalogel renderer initialization failed", t));
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
//#endregion
|
|
89
|
+
export { n as t };
|
|
90
|
+
|
|
91
|
+
//# sourceMappingURL=StandaloneRenderer-Jo60ASPd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StandaloneRenderer-Jo60ASPd.js","names":["StandaloneRenderer","options","value","width","height","color","alpha","scene","camera","renderer","InternalWebGPURenderer","generation","error","notifyReady","lost","replacement","displayed","parent","backend"],"sources":["../../src/shared-utils/rendering/StandaloneRenderer.ts"],"sourcesContent":["import { InternalWebGPURenderer, registerPBMMaterials } from '@realsee/five-webgpu'\nimport type { Camera, Object3D } from 'three/webgpu'\n\ninterface StandaloneRendererOptions {\n antialias?: boolean\n onReady?: () => void\n onError?: (error: unknown) => void\n}\n\n/** Owns the async renderer lifecycle for Dnalogel's standalone canvases. */\nexport class StandaloneRenderer {\n private current: InternalWebGPURenderer\n private disposed = false\n private generation = 0\n private initialized = false\n private retired = new WeakSet<InternalWebGPURenderer>()\n private displayedCanvas?: HTMLCanvasElement\n private pixelRatioValue: number\n private size?: { width: number; height: number }\n private clearColor?: { color: number; alpha: number }\n\n public constructor(private readonly options: StandaloneRendererOptions = {}) {\n this.current = this.createRenderer()\n this.displayedCanvas = this.current.domElement\n this.pixelRatioValue = this.current.getPixelRatio()\n }\n\n public get domElement() {\n return this.displayedCanvas ?? this.current.domElement\n }\n\n public get pixelRatio() {\n return this.pixelRatioValue\n }\n\n public setPixelRatio(value: number) {\n this.pixelRatioValue = value\n this.current.setPixelRatio(value)\n }\n\n public setSize(width: number, height: number) {\n this.size = { width, height }\n this.current.setSize(width, height)\n }\n\n public setClearColor(color: number, alpha: number) {\n this.clearColor = { color, alpha }\n this.current.setClearColor(color, alpha)\n }\n\n public render(scene: Object3D, camera: Camera) {\n if (this.disposed || !this.initialized) return false\n this.current.render(scene, camera)\n return true\n }\n\n public dispose() {\n if (this.disposed) return\n this.disposed = true\n this.initialized = false\n this.generation += 1\n this.retire(this.current)\n }\n\n private createRenderer(notifyReady = true) {\n const renderer = new InternalWebGPURenderer({\n antialias: this.options.antialias,\n ...(typeof navigator !== 'undefined' && !navigator.gpu ? { forceWebGL: true } : {}),\n })\n registerPBMMaterials(renderer)\n const generation = ++this.generation\n renderer.onDeviceLostCallback = () => {\n void this.rebuild(renderer, generation).catch((error) => this.fail(renderer, error))\n }\n if (notifyReady) {\n void renderer.ready.then(() => {\n if (this.disposed || generation !== this.generation) return\n this.requireBackend(renderer)\n this.initialized = true\n this.options.onReady?.()\n }).catch((error) => this.fail(renderer, error))\n }\n return renderer\n }\n\n private async rebuild(lost: InternalWebGPURenderer, generation: number) {\n if (this.disposed || generation !== this.generation) return\n\n this.initialized = false\n this.retire(lost)\n const replacement = this.createRenderer(false)\n replacement.setPixelRatio(this.pixelRatioValue)\n if (this.size) replacement.setSize(this.size.width, this.size.height)\n if (this.clearColor) replacement.setClearColor(this.clearColor.color, this.clearColor.alpha)\n const displayed = this.domElement\n replacement.domElement.className = displayed.className\n replacement.domElement.style.cssText = displayed.style.cssText\n this.current = replacement\n\n try {\n await replacement.ready\n this.requireBackend(replacement)\n } catch (error) {\n this.fail(replacement, error)\n return\n }\n if (this.disposed || replacement !== this.current) {\n this.retire(replacement)\n return\n }\n\n const parent = displayed.parentNode\n if (parent) parent.replaceChild(replacement.domElement, displayed)\n this.displayedCanvas = replacement.domElement\n this.initialized = true\n this.options.onReady?.()\n }\n\n private retire(renderer: InternalWebGPURenderer) {\n if (this.retired.has(renderer)) return\n this.retired.add(renderer)\n renderer.onDeviceLostCallback = undefined\n // The published alpha runtime cannot dispose a backend before init settles.\n void renderer.ready.then(() => renderer.dispose(), () => renderer.dispose())\n .catch((error) => this.options.onError ? this.options.onError(error) : console.error('Dnalogel renderer disposal failed', error))\n }\n\n private requireBackend(renderer: InternalWebGPURenderer) {\n const backend = renderer.backend as { isWebGPUBackend?: boolean; isWebGLBackend?: boolean }\n if (backend.isWebGPUBackend !== true && backend.isWebGLBackend !== true) {\n throw new Error('Dnalogel requires a WebGPU or WebGL2 backend')\n }\n }\n\n private fail(renderer: InternalWebGPURenderer, error: unknown) {\n if (this.disposed || renderer !== this.current) return\n this.initialized = false\n this.retire(renderer)\n if (this.options.onError) this.options.onError(error)\n else console.error('Dnalogel renderer initialization failed', error)\n }\n}\n"],"mappings":";;AAUA,IAAaA,IAAb,MAAgC;CAWM;CAVpC;CACA,WAAmB;CACnB,aAAqB;CACrB,cAAsB;CACtB,0BAAkB,IAAI,QAAgC;CACtD;CACA;C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AAU,KAAK,QAAQ,QAAQG,CAAK,IAAI,QAAQ,MAAM,qCAAqCA,CAAK,CAAC;CACpI;CAEA,eAAuB,GAAkC;EACvD,IAAMM,IAAUT,EAAS;EACzB,IAAIS,EAAQ,oBAAoB,MAAQA,EAAQ,mBAAmB,IACjE,MAAU,MAAM,8CAA8C;CAElE;CAEA,KAAa,GAAkC,GAAgB;EAC7D,AAAI,KAAK,YAAYT,MAAa,KAAK,YACvC,KAAK,cAAc,IACnB,KAAK,OAAOA,CAAQ,GAChB,KAAK,QAAQ,UAAS,KAAK,QAAQ,QAAQG,CAAK,IAC/C,QAAQ,MAAM,2CAA2CA,CAAK;CACrE;AACF"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
//#region src/shared-utils/Subscribe.ts
|
|
2
|
+
function e(e) {
|
|
3
|
+
return typeof Symbol > "u" ? `$Symbol<${e}>$` : Symbol(e);
|
|
4
|
+
}
|
|
5
|
+
var t = e("$$EVENT$$");
|
|
6
|
+
function n(e) {
|
|
7
|
+
return e[t] || (e[t] = {}), e[t];
|
|
8
|
+
}
|
|
9
|
+
function r(e) {
|
|
10
|
+
e[t] && delete e[t];
|
|
11
|
+
}
|
|
12
|
+
var i = class {
|
|
13
|
+
hasListener(e) {
|
|
14
|
+
let t = n(this);
|
|
15
|
+
return !!(t?.[e] && t[e].length > 0);
|
|
16
|
+
}
|
|
17
|
+
on(e, t, r) {
|
|
18
|
+
let i = n(this);
|
|
19
|
+
return i[e] || (i[e] = []), i[e].push([t, r || !1]), () => this.off(e, t);
|
|
20
|
+
}
|
|
21
|
+
once(e, t) {
|
|
22
|
+
return this.on(e, t, !0);
|
|
23
|
+
}
|
|
24
|
+
off(e, t) {
|
|
25
|
+
if (e === void 0) {
|
|
26
|
+
r(this);
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
let i = n(this);
|
|
30
|
+
if (i[e] || (i[e] = []), t === void 0) {
|
|
31
|
+
i[e].length = 0;
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
let a = 0;
|
|
35
|
+
for (; a < i[e].length && i[e][a][0] !== t; a++);
|
|
36
|
+
a < i[e].length && i[e].splice(a, 1);
|
|
37
|
+
}
|
|
38
|
+
emit(e, ...t) {
|
|
39
|
+
let r = !1, i = n(this)[e] || [];
|
|
40
|
+
for (let n of i.slice()) {
|
|
41
|
+
let [i, a = !1] = n, o = i(...t);
|
|
42
|
+
a && this.off(e, i), o === !1 && (r = !0);
|
|
43
|
+
}
|
|
44
|
+
return r;
|
|
45
|
+
}
|
|
46
|
+
emitWithResult(e, ...t) {
|
|
47
|
+
let r, i = n(this)[e] || [];
|
|
48
|
+
for (let n of i.slice()) {
|
|
49
|
+
let [i, a = !1] = n, o = i(...t);
|
|
50
|
+
r ||= o, a && this.off(e, i);
|
|
51
|
+
}
|
|
52
|
+
return r;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
//#endregion
|
|
56
|
+
export { i as t };
|
|
57
|
+
|
|
58
|
+
//# sourceMappingURL=Subscribe-DLlAl88n.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Subscribe-DLlAl88n.js","names":["createSymbol","description","EVENT_SYMBOL","__generateEventIfNotExisted","instance","__removeEventIfExisted","Subscribe","events","name","callback","once","index","data","canceled","event","one","result","res"],"sources":["../../src/shared-utils/Subscribe.ts"],"sourcesContent":["import type * as THREE from 'three/webgpu'\ntype UniqueSymbol = ReturnType<(a: string) => { readonly 0: unique symbol }[0]>\n\nfunction createSymbol(description: string): UniqueSymbol {\n // @ts-ignore\n return typeof Symbol === 'undefined' ? `$Symbol<${description}>$` : Symbol(description)\n}\n\nconst EVENT_SYMBOL = createSymbol('$$EVENT$$')\n\nexport interface EventMap {\n\n [name: string]: (...args: any[]) => any\n}\n\nfunction __generateEventIfNotExisted<T extends EventMap>(\n instance: any,\n): {\n [Key in keyof T]: [callback: (...args: Parameters<T[Key]>) => ReturnType<T[Key]>, once: boolean][]\n} {\n if (!instance[EVENT_SYMBOL]) {\n instance[EVENT_SYMBOL] = {}\n }\n return instance[EVENT_SYMBOL]\n}\n\nfunction __removeEventIfExisted(instance: any) {\n if (instance[EVENT_SYMBOL]) {\n delete instance[EVENT_SYMBOL]\n }\n}\n\n/**\n * 监听者模式\n * @template T - 预设的监听回调类型\n * @example\n * ```\n * new Subscribe<{\n * \"foo\": [arg1: number, arg2: string],\n * \"bar\": [arg: boolean],\n * }>()\n * ```\n */\nclass Subscribe<T extends EventMap> {\n /**\n * 判断是否注册了事件\n * @param name - 事件类型\n */\n public hasListener(name: keyof T): boolean {\n const events = __generateEventIfNotExisted<T>(this)\n return Boolean(events?.[name] && events[name].length > 0)\n }\n\n /**\n * 注册事件\n * @param name - 事件类型\n * @param callback - 事件回调函数\n * @param once - 是否只执行一次\n * @returns 解除事件\n * @template K - 预设的监听事件名称\n * @template C - 回调函数函数上下文\n */\n public on<K extends keyof T>(name: K, callback: (...args: Parameters<T[K]>) => ReturnType<T[K]>, once?: boolean): () => void {\n const events = __generateEventIfNotExisted<T>(this)\n if (!events[name]) events[name] = []\n events[name].push([callback as any, once || false])\n return () => this.off(name, callback)\n }\n\n /**\n * 注册事件(是否只执行一次)\n * @param name - 事件类型\n * @param callback - 事件回调函数\n * @returns 解除事件\n * @template K - 预设的监听事件名称\n * @template C - 回调函数函数上下文\n */\n public once<K extends keyof T>(name: K, callback: (...args: Parameters<T[K]>) => ReturnType<T[K]>): () => void {\n return this.on(name, callback, true)\n }\n\n /**\n * 解除事件\n *\n * 如果 name 不传的话解除对应所有事件\n * 如果 name, callback 不传的话解除所有name的所有事件\n * @param name - 事件类型\n * @param callback - 事件回调函数\n * @template K - 预设的监听事件名称\n */\n public off<K extends keyof T>(name?: K, callback?: (...args: Parameters<T[K]>) => ReturnType<T[K]>): void {\n if (name === undefined) {\n __removeEventIfExisted(this)\n return\n }\n const events = __generateEventIfNotExisted<T>(this)\n if (!events[name]) events[name] = []\n if (callback === undefined) {\n events[name].length = 0\n return\n }\n let index = 0\n for (; index < events[name].length; index++) {\n if (events[name][index]![0] === callback) break\n }\n if (index < events[name].length) {\n events[name].splice(index, 1)\n }\n }\n\n /**\n * 触发事件\n * @param name - 事件类型\n * @param data - 触发事件的数据\n * @returns canceled 是否被触发取消\n * @template K - 预设的监听事件名称\n */\n public emit<K extends keyof T>(name: K, ...data: Parameters<T[K]>): boolean {\n let canceled = false\n const events = __generateEventIfNotExisted<T>(this)\n const event = events[name] || []\n for (let one of event.slice()) {\n const [callback, once = false] = one\n const result = callback(...data)\n if (once) this.off(name, callback)\n if (result === false) canceled = true\n }\n return canceled\n }\n\n /**\n * 触发事件并返回监听器的返回值\n * @param name - 事件类型\n * @param data - 触发事件的数据\n * @returns 监听器的返回值数组\n * @template K - 预设的监听事件名称\n */\n public emitWithResult<K extends keyof T>(name: K, ...data: Parameters<T[K]>): THREE.Vector3 | undefined {\n let result: THREE.Vector3 | undefined = undefined\n const events = __generateEventIfNotExisted<T>(this)\n const event = events[name] || []\n for (let one of event.slice()) {\n const [callback, once = false] = one\n const res = callback(...data) as THREE.Vector3 | undefined\n if (!result) result = res\n if (once) this.off(name, callback)\n }\n return result\n }\n}\n\n\nnamespace SubscribeMixinType {\n export type hasListener<T extends EventMap> = (name: keyof T) => boolean\n export type on<T extends EventMap> = <K extends keyof T>(\n name: K,\n callback: (...args: Parameters<T[K]>) => ReturnType<T[K]>,\n once?: boolean,\n ) => () => void\n export type once<T extends EventMap> = <K extends keyof T>(\n name: K,\n callback: (...args: Parameters<T[K]>) => ReturnType<T[K]>,\n ) => () => void\n export type off<T extends EventMap> = <K extends keyof T>(names?: K | K[], callback?: (...args: any[]) => any) => void\n export type emit<T extends EventMap> = <K extends keyof T>(name: K, ...data: Parameters<T[K]>) => boolean\n}\n\nexport { Subscribe }\nexport type { EventMap as SubscribeEventMap }\n"],"mappings":";AAGA,SAASA,EAAa,GAAmC;CAEvD,OAAO,OAAO,SAAW,MAAc,WAAWC,EAAY,MAAM,OAAOA,CAAW;A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