@realsee/dnalogel 3.81.13 → 4.0.0-webgpu.3
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 +32 -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 +35 -67468
- package/dist/internal/BasePlugin-CT5K8m36.js +33 -0
- package/dist/internal/BasePlugin-CT5K8m36.js.map +1 -0
- package/dist/internal/BasePluginWithData-9z4tpAT4.js +7 -0
- package/dist/internal/BasePluginWithData-9z4tpAT4.js.map +1 -0
- package/dist/internal/BetterTween-BX0aTvP1.js +23 -0
- package/dist/internal/BetterTween-BX0aTvP1.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-ccSpcvwd.js +77 -0
- package/dist/internal/CSS3DRenderPlugin-ccSpcvwd.js.map +1 -0
- package/dist/internal/Controller-Csut_kcH.js +2498 -0
- package/dist/internal/Controller-Csut_kcH.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-3H9NvDOz.js +267 -0
- package/dist/internal/FiveDomEvents-3H9NvDOz.js.map +1 -0
- package/dist/internal/FiveLine-0OtX3RDV.js +28 -0
- package/dist/internal/FiveLine-0OtX3RDV.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-D565h9b_.js +937 -0
- package/dist/internal/PointHelper-D565h9b_.js.map +1 -0
- package/dist/internal/Polygon-CBGvYUfJ.js +324 -0
- package/dist/internal/Polygon-CBGvYUfJ.js.map +1 -0
- package/dist/internal/Prism-Dm5ESkgg.js +484 -0
- package/dist/internal/Prism-Dm5ESkgg.js.map +1 -0
- package/dist/internal/Rectangle-D-zkDycu.js +1232 -0
- package/dist/internal/Rectangle-D-zkDycu.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-DF8j5GnL.js +1637 -0
- package/dist/internal/Work-DF8j5GnL.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-XGKHIeQK.js +18 -0
- package/dist/internal/animationFrame-XGKHIeQK.js.map +1 -0
- package/dist/internal/area-maker-Bd9l2pIp.js +446 -0
- package/dist/internal/area-maker-Bd9l2pIp.js.map +1 -0
- package/dist/internal/blink-DD_0mH-m.js +113 -0
- package/dist/internal/blink-DD_0mH-m.js.map +1 -0
- package/dist/internal/boundingBox-DvCor5Hd.js +83 -0
- package/dist/internal/boundingBox-DvCor5Hd.js.map +1 -0
- package/dist/internal/camera-movement-CwI7UqUk.js +112 -0
- package/dist/internal/camera-movement-CwI7UqUk.js.map +1 -0
- package/dist/internal/changeMode-BVGYCoqu.js +73 -0
- package/dist/internal/changeMode-BVGYCoqu.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-BWkZT0l1.js +7481 -0
- package/dist/internal/controller-BWkZT0l1.js.map +1 -0
- package/dist/internal/cruise-C3F0eNQ-.js +7 -0
- package/dist/internal/cruise-C3F0eNQ-.js.map +1 -0
- package/dist/internal/current-pano-image-DKUWluR-.js +219 -0
- package/dist/internal/current-pano-image-DKUWluR-.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-CjKkS9k9.js +6 -0
- package/dist/internal/defaultUrls-CjKkS9k9.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-CczaBz2_.js +1162 -0
- package/dist/internal/fire-scene-CczaBz2_.js.map +1 -0
- package/dist/internal/fiveModelLoad-mg-TnpnM.js +23 -0
- package/dist/internal/fiveModelLoad-mg-TnpnM.js.map +1 -0
- package/dist/internal/floorplan-KWlIsTvO.js +6059 -0
- package/dist/internal/floorplan-KWlIsTvO.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-B_5JFq8y.js +1008 -0
- package/dist/internal/generatePolygonGeometry-B_5JFq8y.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-wesf8xt6.js +48 -0
- package/dist/internal/lookObject-wesf8xt6.js.map +1 -0
- package/dist/internal/measure-BX6boAC7.js +1027 -0
- package/dist/internal/measure-BX6boAC7.js.map +1 -0
- package/dist/internal/model-chassis-compass-InVNmOAQ.js +84 -0
- package/dist/internal/model-chassis-compass-InVNmOAQ.js.map +1 -0
- package/dist/internal/model-entry-door-guide-wZbyY77a.js +84 -0
- package/dist/internal/model-entry-door-guide-wZbyY77a.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-uO8xlTuO.js +897 -0
- package/dist/internal/model-maker-uO8xlTuO.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-DzXb2JRf.js +213 -0
- package/dist/internal/model-tv-video-DzXb2JRf.js.map +1 -0
- package/dist/internal/model-view-CBeeMM98.js +119 -0
- package/dist/internal/model-view-CBeeMM98.js.map +1 -0
- package/dist/internal/object3d-helper-DDYsVPN6.js +7 -0
- package/dist/internal/object3d-helper-DDYsVPN6.js.map +1 -0
- package/dist/internal/pano-compass-jSr629BP.js +193 -0
- package/dist/internal/pano-compass-jSr629BP.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-DKoYIKLa.js +258 -0
- package/dist/internal/pano-door-label-DKoYIKLa.js.map +1 -0
- package/dist/internal/pano-measure-DW9mdx1O.js +2488 -0
- package/dist/internal/pano-measure-DW9mdx1O.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-D7q0Ob21.js +221 -0
- package/dist/internal/pano-ruler-pro-D7q0Ob21.js.map +1 -0
- package/dist/internal/pano-spatial-tag-D0qn-__S.js +392 -0
- package/dist/internal/pano-spatial-tag-D0qn-__S.js.map +1 -0
- package/dist/internal/pano-tag-BW5MXXws.js +7 -0
- package/dist/internal/pano-tag-BW5MXXws.js.map +1 -0
- package/dist/internal/pano-video-Bmud_CAn.js +365 -0
- package/dist/internal/pano-video-Bmud_CAn.js.map +1 -0
- package/dist/internal/pipeline-DDqgb1gw.js +386 -0
- package/dist/internal/pipeline-DDqgb1gw.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-BNkLJR6p.js +879 -0
- package/dist/internal/sculpt-BNkLJR6p.js.map +1 -0
- package/dist/internal/sleep-1GNCncUi.js +12 -0
- package/dist/internal/sleep-1GNCncUi.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/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 +1 -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 +1 -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 +1 -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 +91 -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 +4 -0
- package/dist/types/public/plugins/fire-scene.d.ts +2 -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 +4 -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 +4 -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 +4 -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 +12 -0
- package/dist/types/public/utils.d.ts +29 -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 +53 -0
- package/dist/utils.js.map +1 -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,2498 @@
|
|
|
1
|
+
import { t as e } from "./Subscribe-DLlAl88n.js";
|
|
2
|
+
import { r as t } from "./CSS3DObject-C9ck81UX.js";
|
|
3
|
+
import { t as n } from "./fiveModelLoad-mg-TnpnM.js";
|
|
4
|
+
import { t as r } from "./util-vGeVT4oo.js";
|
|
5
|
+
import { n as i, t as a } from "./getNormal-BatLuzsS.js";
|
|
6
|
+
import { t as o } from "./formatRad-kChZaf0k.js";
|
|
7
|
+
import { n as s, t as c } from "./isNil-CQNA0Sbe.js";
|
|
8
|
+
import { t as l } from "./rayOnLine-CrCXTByv.js";
|
|
9
|
+
import { a as u, n as d, t as f } from "./boundingBox-DvCor5Hd.js";
|
|
10
|
+
import { t as p } from "./CSS3DRender-BKWjq-Mo.js";
|
|
11
|
+
import { t as m } from "./BasePlugin-CT5K8m36.js";
|
|
12
|
+
import { t as h } from "./rad2Deg-DutG55Wb.js";
|
|
13
|
+
import { t as g } from "./vectorIsEqual-BXdJrP0J.js";
|
|
14
|
+
import * as _ from "three/webgpu";
|
|
15
|
+
import { Vector3 as v } from "three/webgpu";
|
|
16
|
+
//#region src/shared-utils/Object3DHelper/utils/setObjectQuaternion.ts
|
|
17
|
+
function y(e, t, n) {
|
|
18
|
+
if (n) {
|
|
19
|
+
let r = new _.Vector3().subVectors(e.position, n).applyQuaternion(e.quaternion.clone().invert()).applyQuaternion(t).add(n);
|
|
20
|
+
e.position.copy(r);
|
|
21
|
+
}
|
|
22
|
+
e.quaternion.copy(t);
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/shared-utils/Object3DHelper/Base/BaseHelper.ts
|
|
26
|
+
var b = class extends i {
|
|
27
|
+
originObject3D;
|
|
28
|
+
onRender;
|
|
29
|
+
positionFrom;
|
|
30
|
+
get helperObject() {
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
constructor(e, t) {
|
|
34
|
+
super(), this.originObject3D = e, this.onRender = t?.onRender ?? (() => {}), this.positionFrom = t?.positionFrom ?? "objectPosition";
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
this.onRender();
|
|
38
|
+
}
|
|
39
|
+
enable() {
|
|
40
|
+
this.parent.children.includes(this) || this.parent.add(this);
|
|
41
|
+
}
|
|
42
|
+
disable() {
|
|
43
|
+
this.removeFromParent();
|
|
44
|
+
}
|
|
45
|
+
show() {
|
|
46
|
+
this.visible = !0, this.render();
|
|
47
|
+
}
|
|
48
|
+
hide() {
|
|
49
|
+
this.visible = !1, this.render();
|
|
50
|
+
}
|
|
51
|
+
raycasterIntersectObject(e, t = []) {
|
|
52
|
+
return e.intersectObject(this, !0, t);
|
|
53
|
+
}
|
|
54
|
+
initialPosition(e) {
|
|
55
|
+
this.positionFrom === "objectPosition" ? this.position.copy(this.originObject3D.position) : this.positionFrom === "boundingBox" ? this.position.copy(f(this.originObject3D)?.getCenter(new _.Vector3()).applyMatrix4(this.originObject3D.matrixWorld)) : this.positionFrom === "boundingSphere" ? this.position.copy(d(this.originObject3D)?.center.clone().applyMatrix4(this.originObject3D.matrixWorld)) : this.positionFrom instanceof v ? this.position.copy(this.positionFrom) : this.positionFrom instanceof Function && this.position.copy(this.positionFrom(this.originObject3D)), e && this.position.add(e);
|
|
56
|
+
}
|
|
57
|
+
setScaleByCamera(e) {}
|
|
58
|
+
initQuaternion(e) {
|
|
59
|
+
if (this.quaternion.copy(this.originObject3D.quaternion), e && (e.xAxis || e.yAxis || e.zAxis)) {
|
|
60
|
+
let t = e.xAxis instanceof Function ? e.xAxis() : e.xAxis, n = e.yAxis instanceof Function ? e.yAxis() : e.yAxis, r = e.zAxis instanceof Function ? e.zAxis() : e.zAxis, i = t?.clone(), a = n?.clone(), o = r?.clone();
|
|
61
|
+
if (i && !a && !a) {
|
|
62
|
+
let e = new _.Quaternion().setFromUnitVectors(new _.Vector3(1, 0, 0), i.normalize());
|
|
63
|
+
this.applyQuaternion(e);
|
|
64
|
+
}
|
|
65
|
+
if (a && !i && !o) {
|
|
66
|
+
let e = new _.Quaternion().setFromUnitVectors(new _.Vector3(0, 1, 0), a.normalize());
|
|
67
|
+
this.applyQuaternion(e);
|
|
68
|
+
}
|
|
69
|
+
if (o && !i && !a) {
|
|
70
|
+
let e = new _.Quaternion().setFromUnitVectors(new _.Vector3(0, 0, 1), o.normalize());
|
|
71
|
+
this.applyQuaternion(e);
|
|
72
|
+
}
|
|
73
|
+
if ([
|
|
74
|
+
i,
|
|
75
|
+
a,
|
|
76
|
+
o
|
|
77
|
+
].filter(s).length >= 2) {
|
|
78
|
+
i ||= new _.Vector3().crossVectors(a, o).normalize(), a ||= new _.Vector3().crossVectors(i, o).normalize(), o ||= new _.Vector3().crossVectors(i, a).normalize(), i.applyQuaternion(this.quaternion), a.applyQuaternion(this.quaternion), o.applyQuaternion(this.quaternion);
|
|
79
|
+
let e = new _.Matrix4().makeBasis(i, a, o), t = new _.Quaternion().setFromRotationMatrix(e);
|
|
80
|
+
this.quaternion.copy(t);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
applyHelperScaleMatrix4(e, t) {
|
|
85
|
+
this.scale.applyMatrix4(e);
|
|
86
|
+
}
|
|
87
|
+
setHelperQuaternion(e, t) {
|
|
88
|
+
this.initQuaternion(), y(this, this.quaternion.clone().premultiply(e), t);
|
|
89
|
+
}
|
|
90
|
+
applyHelperQuaternion(e, t) {
|
|
91
|
+
if (t) {
|
|
92
|
+
let n = new v().subVectors(this.position, t).applyQuaternion(e).add(t);
|
|
93
|
+
this.position.copy(n);
|
|
94
|
+
}
|
|
95
|
+
this.applyQuaternion(e);
|
|
96
|
+
}
|
|
97
|
+
dispose() {
|
|
98
|
+
this.removeFromParent();
|
|
99
|
+
}
|
|
100
|
+
}, x = class extends b {}, S = class extends b {}, C = class extends b {}, w = class extends b {}, T = class extends b {}, E = class extends _.Group {
|
|
101
|
+
direction;
|
|
102
|
+
constructor(e) {
|
|
103
|
+
super(), this.direction = e || "x";
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
_.Line;
|
|
107
|
+
var D = class extends _.Mesh {
|
|
108
|
+
direction;
|
|
109
|
+
constructor(e, t, n) {
|
|
110
|
+
super(e, t), this.direction = n || "x";
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region src/shared-utils/Object3DHelper/utils/calculateThreeMouse.ts
|
|
115
|
+
function ee(e, t) {
|
|
116
|
+
let { offsetWidth: n, offsetHeight: r } = t, { top: i, left: a } = t.getBoundingClientRect();
|
|
117
|
+
return Object.assign(new _.Vector2(), {
|
|
118
|
+
x: (e.x - a) / n * 2 - 1,
|
|
119
|
+
y: -(e.y - i) / r * 2 + 1
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/shared-utils/Object3DHelper/utils/getMouseRaycaster.ts
|
|
124
|
+
function O(e, t, n) {
|
|
125
|
+
if (!t || !n || !e) return;
|
|
126
|
+
let r = ee(t, n);
|
|
127
|
+
if (Math.abs(r.x) === 1 || Math.abs(r.y) === 1) return;
|
|
128
|
+
let i = new _.Raycaster();
|
|
129
|
+
return i.setFromCamera(r, e), i.params.Points.threshold = .1, i;
|
|
130
|
+
}
|
|
131
|
+
//#endregion
|
|
132
|
+
//#region src/shared-utils/Object3DHelper/Constants/RenderOrder.ts
|
|
133
|
+
var k = {
|
|
134
|
+
ROTATE_HELPER: 9992,
|
|
135
|
+
MOVE_HELPER: 9993,
|
|
136
|
+
SCALE_HELPER_LINE: 9994,
|
|
137
|
+
SCALE_HELPER_SPHERE: 9995,
|
|
138
|
+
MOVE_HELPER_ARROW: 10001,
|
|
139
|
+
MOVE_HELPER_CENTER: 10002,
|
|
140
|
+
DRAG_GUIDE_LINE: 10003,
|
|
141
|
+
DRAG_FACE_PATCH: 10004
|
|
142
|
+
}, A = class extends E {
|
|
143
|
+
line;
|
|
144
|
+
arrow;
|
|
145
|
+
lineHeight = .4;
|
|
146
|
+
arrowHeight = .1;
|
|
147
|
+
name = "ArrowGroup";
|
|
148
|
+
constructor(e) {
|
|
149
|
+
super(e.direction);
|
|
150
|
+
let t = new _.Color(e.color ?? 16214315), n = new _.MeshBasicMaterial({
|
|
151
|
+
color: t,
|
|
152
|
+
transparent: !0,
|
|
153
|
+
opacity: 1,
|
|
154
|
+
depthTest: !1,
|
|
155
|
+
depthWrite: !1
|
|
156
|
+
}), r = new D(new _.ConeGeometry(.04, .1, 32), n.clone(), e.direction);
|
|
157
|
+
r.name = `arrow-${e.direction}`, r.renderOrder = k.MOVE_HELPER_ARROW, this.arrow = r;
|
|
158
|
+
let i = .004, a = new D(new _.CylinderGeometry(i, i, .4, 32), n.clone(), e.direction);
|
|
159
|
+
a.name = `line-${e.direction}`, a.renderOrder = k.MOVE_HELPER_ARROW, this.line = a, this.formatArrow(), this.formatLine(), this.add(this.arrow, this.line);
|
|
160
|
+
}
|
|
161
|
+
formatArrow() {
|
|
162
|
+
this.arrow.geometry.translate(0, this.lineHeight + this.arrowHeight / 2, 0), this.direction === "x" ? (this.arrow.geometry.rotateX(Math.PI / 2), this.arrow.geometry.rotateY(Math.PI / 2)) : this.direction === "z" && this.arrow.geometry.rotateX(Math.PI / 2);
|
|
163
|
+
}
|
|
164
|
+
formatLine() {
|
|
165
|
+
this.line.geometry.translate(0, this.lineHeight / 2, 0), this.direction === "x" ? (this.line.geometry.rotateX(Math.PI / 2), this.line.geometry.rotateY(Math.PI / 2)) : this.direction === "z" && this.line.geometry.rotateX(Math.PI / 2);
|
|
166
|
+
}
|
|
167
|
+
}, j = class extends E {
|
|
168
|
+
cube;
|
|
169
|
+
name = "CenterHandle";
|
|
170
|
+
faceMaterials;
|
|
171
|
+
baseColor;
|
|
172
|
+
faceNormals = [
|
|
173
|
+
new _.Vector3(1, 0, 0),
|
|
174
|
+
new _.Vector3(-1, 0, 0),
|
|
175
|
+
new _.Vector3(0, 1, 0),
|
|
176
|
+
new _.Vector3(0, -1, 0),
|
|
177
|
+
new _.Vector3(0, 0, 1),
|
|
178
|
+
new _.Vector3(0, 0, -1)
|
|
179
|
+
];
|
|
180
|
+
constructor(e) {
|
|
181
|
+
super("plane"), this.baseColor = new _.Color(e?.color ?? 16419862);
|
|
182
|
+
let t = e?.size ?? .05, n = new _.Color(16755008);
|
|
183
|
+
this.faceMaterials = Array.from({ length: 6 }, () => new _.MeshBasicMaterial({
|
|
184
|
+
color: n,
|
|
185
|
+
transparent: !0,
|
|
186
|
+
opacity: 1,
|
|
187
|
+
depthTest: !1,
|
|
188
|
+
depthWrite: !1,
|
|
189
|
+
side: _.FrontSide
|
|
190
|
+
}));
|
|
191
|
+
let r = new _.BoxGeometry(t, t, t), i = new _.Mesh(r, this.faceMaterials);
|
|
192
|
+
i.direction = "plane", i.renderOrder = k.MOVE_HELPER_CENTER, i.name = "center-plane-handle", this.cube = i, this.add(this.cube);
|
|
193
|
+
}
|
|
194
|
+
update(e) {
|
|
195
|
+
let t = new _.Vector3().subVectors(e.position, this.cube.getWorldPosition(new _.Vector3())).normalize(), n = this.cube.getWorldQuaternion(new _.Quaternion()), r = this.faceNormals.map((e, r) => {
|
|
196
|
+
let i = e.clone().applyQuaternion(n).dot(t);
|
|
197
|
+
return {
|
|
198
|
+
index: r,
|
|
199
|
+
angle: Math.acos(Math.abs(i))
|
|
200
|
+
};
|
|
201
|
+
});
|
|
202
|
+
r.sort((e, t) => e.angle - t.angle);
|
|
203
|
+
let i = [
|
|
204
|
+
new _.Color(16755008),
|
|
205
|
+
new _.Color(16419862),
|
|
206
|
+
new _.Color(13921032)
|
|
207
|
+
];
|
|
208
|
+
r.forEach((e, t) => {
|
|
209
|
+
let n = Math.floor(t / 2);
|
|
210
|
+
this.faceMaterials[e.index].color.copy(i[n]);
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
}, M = {
|
|
214
|
+
X: 16730698,
|
|
215
|
+
Y: 54927,
|
|
216
|
+
Z: 3368703
|
|
217
|
+
}, N = class {
|
|
218
|
+
static get X() {
|
|
219
|
+
return new _.Color(M.X);
|
|
220
|
+
}
|
|
221
|
+
static get Y() {
|
|
222
|
+
return new _.Color(M.Y);
|
|
223
|
+
}
|
|
224
|
+
static get Z() {
|
|
225
|
+
return new _.Color(M.Z);
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
//#endregion
|
|
229
|
+
//#region src/shared-utils/Object3DHelper/utils/calculateScaleByCamera.ts
|
|
230
|
+
function P(e, t, n) {
|
|
231
|
+
let r = e.position.distanceTo(t), i = e.fov, a = e.distance || 3, o = r / 3, s = i / 90, c = a / 3, l = o * s * c, u = n?.min || .6, d = n?.max;
|
|
232
|
+
return u && l < u ? u : d && l > d ? d : l;
|
|
233
|
+
}
|
|
234
|
+
//#endregion
|
|
235
|
+
//#region src/shared-utils/clamp.ts
|
|
236
|
+
function F(e, t, n) {
|
|
237
|
+
return e < t ? t : e > n ? n : e;
|
|
238
|
+
}
|
|
239
|
+
//#endregion
|
|
240
|
+
//#region src/shared-utils/Object3DHelper/utils/getPoseFromCamera.ts
|
|
241
|
+
function te(e) {
|
|
242
|
+
let t = e.pose.latitude, n = e.pose.longitude;
|
|
243
|
+
if (c(t) || c(n)) {
|
|
244
|
+
let r = e.matrix.elements;
|
|
245
|
+
t = Math.asin(F(r[9], -1, 1)), n = Math.abs(r[9]) < .9999999 ? o(Math.atan2(r[8], r[10])) : o(Math.atan2(-r[2], r[0]));
|
|
246
|
+
}
|
|
247
|
+
return {
|
|
248
|
+
latitude: t,
|
|
249
|
+
longitude: n
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
//#endregion
|
|
253
|
+
//#region src/shared-utils/Object3DHelper/utils/getOrthographicCameraDirection.ts
|
|
254
|
+
function ne(e) {
|
|
255
|
+
let { latitude: t, longitude: n } = e, r = new _.Vector3();
|
|
256
|
+
return I - t < .03 ? r.set(0, 1, 0) : L(0, n) ? r.set(0, 0, 1) : L(Math.PI, n) ? r.set(0, 0, -1) : L(I, n) ? r.set(1, 0, 0) : r.set(-1, 0, 0), r;
|
|
257
|
+
}
|
|
258
|
+
var I = Number((Math.PI / 2).toFixed(5));
|
|
259
|
+
function L(e, t) {
|
|
260
|
+
return typeof e != "number" || typeof t != "number" ? !1 : Math.abs(e - t) < .001;
|
|
261
|
+
}
|
|
262
|
+
//#endregion
|
|
263
|
+
//#region src/shared-utils/Object3DHelper/Helper/MoveHelper.ts
|
|
264
|
+
var R = class extends x {
|
|
265
|
+
name = "MoveHelper";
|
|
266
|
+
xArrow;
|
|
267
|
+
yArrow;
|
|
268
|
+
zArrow;
|
|
269
|
+
centerHandle;
|
|
270
|
+
constructor(e, t) {
|
|
271
|
+
super(e, t), t.xArrowEnable !== !1 && (this.xArrow = new A({
|
|
272
|
+
direction: "x",
|
|
273
|
+
color: N.X
|
|
274
|
+
})), t.yArrowEnable !== !1 && (this.yArrow = new A({
|
|
275
|
+
direction: "y",
|
|
276
|
+
color: N.Y
|
|
277
|
+
})), t.zArrowEnable !== !1 && (this.zArrow = new A({
|
|
278
|
+
direction: "z",
|
|
279
|
+
color: N.Z
|
|
280
|
+
})), t.centerHandleEnable !== !1 && (this.centerHandle = new j()), this.add(...[
|
|
281
|
+
this.xArrow,
|
|
282
|
+
this.yArrow,
|
|
283
|
+
this.zArrow,
|
|
284
|
+
this.centerHandle
|
|
285
|
+
].filter(Boolean));
|
|
286
|
+
}
|
|
287
|
+
update(e) {
|
|
288
|
+
this.xArrow && (this.xArrow.visible = !0), this.yArrow && (this.yArrow.visible = !0), this.zArrow && (this.zArrow.visible = !0), this.centerHandle && this.centerHandle.update(e);
|
|
289
|
+
let t = this.helperObject.position.clone().sub(e.position).normalize(), n = new _.Vector3(1, 0, 0).applyQuaternion(this.quaternion), r = new _.Vector3(0, 1, 0).applyQuaternion(this.quaternion), i = new _.Vector3(0, 0, 1).applyQuaternion(this.quaternion);
|
|
290
|
+
if (e.type === "OrthographicCamera") {
|
|
291
|
+
let t = ne(te(e)), a = .0872665;
|
|
292
|
+
Math.abs(n.angleTo(t) - 0) < a || Math.abs(n.angleTo(t) - Math.PI) < a ? this.xArrow && (this.xArrow.visible = !1) : Math.abs(r.angleTo(t) - 0) < a || Math.abs(r.angleTo(t) - Math.PI) < a ? this.yArrow && (this.yArrow.visible = !1) : (Math.abs(i.angleTo(t) - 0) < a || Math.abs(i.angleTo(t) - Math.PI) < a) && this.zArrow && (this.zArrow.visible = !1);
|
|
293
|
+
}
|
|
294
|
+
if (e.type !== "OrthographicCamera") {
|
|
295
|
+
let e = t.angleTo(n), a = t.angleTo(r), o = t.angleTo(i), s = Math.PI / 2, c = a < s, l = o < s, u = e < s;
|
|
296
|
+
this.xArrow && (u ? (this.xArrow.scale.x = -1, this.xArrow.scale.y = 1, this.xArrow.scale.z = 1) : (this.xArrow.scale.x = 1, this.xArrow.scale.y = 1, this.xArrow.scale.z = 1)), this.yArrow && (c ? (this.yArrow.scale.x = 1, this.yArrow.scale.y = -1, this.yArrow.scale.z = 1) : (this.yArrow.scale.x = 1, this.yArrow.scale.y = 1, this.yArrow.scale.z = 1)), this.zArrow && (l ? (this.zArrow.scale.x = 1, this.zArrow.scale.y = 1, this.zArrow.scale.z = -1) : (this.zArrow.scale.x = 1, this.zArrow.scale.y = 1, this.zArrow.scale.z = 1));
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
show() {
|
|
300
|
+
super.show(), this.xArrow && this.add(this.xArrow), this.yArrow && this.add(this.yArrow), this.zArrow && this.add(this.zArrow), this.centerHandle && this.add(this.centerHandle);
|
|
301
|
+
}
|
|
302
|
+
setScaleByCamera(e) {
|
|
303
|
+
this.scale.setScalar(P(e, this.position));
|
|
304
|
+
}
|
|
305
|
+
showDraggingHelper(e) {
|
|
306
|
+
this.xArrow && (e.includes("x") ? this.add(this.xArrow) : this.remove(this.xArrow)), this.yArrow && (e.includes("y") ? this.add(this.yArrow) : this.remove(this.yArrow)), this.zArrow && (e.includes("z") ? this.add(this.zArrow) : this.remove(this.zArrow)), this.centerHandle && (e.includes("plane") ? this.add(this.centerHandle) : this.remove(this.centerHandle));
|
|
307
|
+
}
|
|
308
|
+
dispose() {
|
|
309
|
+
this.remove(...[
|
|
310
|
+
this.xArrow,
|
|
311
|
+
this.yArrow,
|
|
312
|
+
this.zArrow,
|
|
313
|
+
this.centerHandle
|
|
314
|
+
].filter(Boolean)), super.dispose();
|
|
315
|
+
}
|
|
316
|
+
};
|
|
317
|
+
//#endregion
|
|
318
|
+
//#region src/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.ts
|
|
319
|
+
function z(e, t) {
|
|
320
|
+
return re(document.createElement(t ?? "div"), e);
|
|
321
|
+
}
|
|
322
|
+
function re(e, t) {
|
|
323
|
+
if (!t) return e;
|
|
324
|
+
for (let n in t) n && t[n] && (e.style[n] = t[n]);
|
|
325
|
+
return e;
|
|
326
|
+
}
|
|
327
|
+
//#endregion
|
|
328
|
+
//#region src/shared-utils/Object3DHelper/Helper/HTML/tipsDom.ts
|
|
329
|
+
function ie(e) {
|
|
330
|
+
let t = z({
|
|
331
|
+
position: "absolute",
|
|
332
|
+
display: "block",
|
|
333
|
+
borderRadius: "4px",
|
|
334
|
+
paddingTop: "1px",
|
|
335
|
+
paddingBottom: "1px",
|
|
336
|
+
paddingLeft: "4px",
|
|
337
|
+
paddingRight: "4px",
|
|
338
|
+
pointerEvents: "none",
|
|
339
|
+
userSelect: "none",
|
|
340
|
+
zIndex: "99999",
|
|
341
|
+
backgroundColor: "rgba(0,0,0,0.7)",
|
|
342
|
+
fontSize: "12px",
|
|
343
|
+
color: "#fff",
|
|
344
|
+
letterSpacing: "0",
|
|
345
|
+
lineHeight: "18px",
|
|
346
|
+
...e
|
|
347
|
+
}), n = () => {
|
|
348
|
+
t.style.display !== "block" && t.style.top && t.style.left && (t.style.display = "block");
|
|
349
|
+
};
|
|
350
|
+
return {
|
|
351
|
+
element: t,
|
|
352
|
+
show: n,
|
|
353
|
+
hide: () => {
|
|
354
|
+
t.style.display = "none", t.style.top = "", t.style.left = "";
|
|
355
|
+
},
|
|
356
|
+
setLeftTop: (e, r) => {
|
|
357
|
+
t.style.left = e, t.style.top = r, n();
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
//#endregion
|
|
362
|
+
//#region src/shared-utils/Object3DHelper/Helper/RotateHelper.ts
|
|
363
|
+
var ae = class extends C {
|
|
364
|
+
name = "RotateHelper";
|
|
365
|
+
xCircle;
|
|
366
|
+
yCircle;
|
|
367
|
+
zCircle;
|
|
368
|
+
children = [];
|
|
369
|
+
angleTips;
|
|
370
|
+
container;
|
|
371
|
+
constructor(e, t) {
|
|
372
|
+
super(e, t), t?.yzCircleEnable !== !1 && (this.xCircle = new B({
|
|
373
|
+
direction: "x",
|
|
374
|
+
color: N.X
|
|
375
|
+
})), t?.xzCircleEnable !== !1 && (this.yCircle = new B({
|
|
376
|
+
direction: "y",
|
|
377
|
+
color: N.Y
|
|
378
|
+
})), t?.xyCircleEnable !== !1 && (this.zCircle = new B({
|
|
379
|
+
direction: "z",
|
|
380
|
+
color: N.Z
|
|
381
|
+
})), t?.container && t?.angleTipsEnable !== !1 && (this.container = t?.container, this.angleTips = ie({ display: "none" }), this.container.appendChild(this.angleTips.element)), this.add(...[
|
|
382
|
+
this.xCircle,
|
|
383
|
+
this.yCircle,
|
|
384
|
+
this.zCircle
|
|
385
|
+
].filter(Boolean)), this.show();
|
|
386
|
+
}
|
|
387
|
+
hide() {
|
|
388
|
+
this.children.forEach((e) => e.hide());
|
|
389
|
+
}
|
|
390
|
+
show() {
|
|
391
|
+
this.children.forEach((e) => e.showCircle()), this.angleTips?.hide();
|
|
392
|
+
}
|
|
393
|
+
setScaleByCamera(e) {
|
|
394
|
+
this.scale.setScalar(P(e, this.position));
|
|
395
|
+
}
|
|
396
|
+
update(e) {
|
|
397
|
+
if (e.type === "OrthographicCamera") return;
|
|
398
|
+
let t = this.helperObject.position.clone().sub(e.position).normalize(), n = new _.Vector3(1, 0, 0).applyQuaternion(this.quaternion), r = new _.Vector3(0, 1, 0).applyQuaternion(this.quaternion), i = new _.Vector3(0, 0, 1).applyQuaternion(this.quaternion), a = t.angleTo(n), o = t.angleTo(r), s = t.angleTo(i), c = Math.PI / 2, l = o >= c, u = s >= c, d = a >= c;
|
|
399
|
+
if (this.xCircle) {
|
|
400
|
+
let e = this.xCircle.circle.gapAngle;
|
|
401
|
+
l && u ? this.xCircle.circle.geometry = new _.RingGeometry(.25, .3, 20, 8, e, Math.PI / 2 - e * 2) : l && !u ? this.xCircle.circle.geometry = new _.RingGeometry(.25, .3, 20, 8, Math.PI / 2 + e, Math.PI / 2 - e * 2) : !l && u ? this.xCircle.circle.geometry = new _.RingGeometry(.25, .3, 20, 8, Math.PI / 2 * 3 + e, Math.PI / 2 - e * 2) : !l && !u && (this.xCircle.circle.geometry = new _.RingGeometry(.25, .3, 20, 8, Math.PI + e, Math.PI / 2 - e * 2)), this.xCircle.angleSector && (this.xCircle.angleSector.offsetAngle = (e) => e, l && u || l && !u ? this.xCircle.angleSector.baseAxes = new _.Vector3(0, 0, 1) : !l && u ? (this.xCircle.angleSector.baseAxes = new _.Vector3(0, -1, 0), this.xCircle.angleSector.offsetAngle = (e) => e - Math.PI / 2) : !l && !u && (this.xCircle.angleSector.baseAxes = new _.Vector3(0, 0, -1), this.xCircle.angleSector.offsetAngle = (e) => e - Math.PI));
|
|
402
|
+
}
|
|
403
|
+
if (this.yCircle) {
|
|
404
|
+
this.yCircle.angleSector.offsetAngle = (e) => e;
|
|
405
|
+
let e = this.yCircle.circle.gapAngle;
|
|
406
|
+
d && u ? this.yCircle.circle.geometry = new _.RingGeometry(.25, .3, 20, 8, e, Math.PI / 2 - e * 2) : d && !u ? this.yCircle.circle.geometry = new _.RingGeometry(.25, .3, 20, 8, Math.PI / 2 * 3 + e, Math.PI / 2 - e * 2) : !d && u ? this.yCircle.circle.geometry = new _.RingGeometry(.25, .3, 20, 8, Math.PI / 2 + e, Math.PI / 2 - e * 2) : !d && !u && (this.yCircle.circle.geometry = new _.RingGeometry(.25, .3, 20, 8, Math.PI + e, Math.PI / 2 - e * 2)), d && u ? this.yCircle.angleSector.baseAxes = new _.Vector3(1, 0, 0) : d && !u ? (this.yCircle.angleSector.baseAxes = new _.Vector3(0, 0, -1), this.yCircle.angleSector.offsetAngle = (e) => e - Math.PI / 2) : !d && u ? (this.yCircle.angleSector.baseAxes = new _.Vector3(0, 0, 1), this.yCircle.angleSector.offsetAngle = (e) => e + Math.PI / 2) : !d && !u && (this.yCircle.angleSector.baseAxes = new _.Vector3(-1, 0, 0), this.yCircle.angleSector.offsetAngle = (e) => e + Math.PI);
|
|
407
|
+
}
|
|
408
|
+
if (this.zCircle) {
|
|
409
|
+
this.zCircle.angleSector.offsetAngle = (e) => e;
|
|
410
|
+
let e = this.zCircle.circle.gapAngle;
|
|
411
|
+
d && l ? this.zCircle.circle.geometry = new _.RingGeometry(.25, .3, 20, 8, e, Math.PI / 2 - e * 2) : d && !l ? this.zCircle.circle.geometry = new _.RingGeometry(.25, .3, 20, 8, Math.PI / 2 * 3 + e, Math.PI / 2 - e * 2) : !d && l ? this.zCircle.circle.geometry = new _.RingGeometry(.25, .3, 20, 8, Math.PI / 2 + e, Math.PI / 2 - e * 2) : !d && !l && (this.zCircle.circle.geometry = new _.RingGeometry(.25, .3, 20, 8, Math.PI + e, Math.PI / 2 - e * 2)), this.zCircle.angleSector && (d && l ? this.zCircle.angleSector.baseAxes = new _.Vector3(1, 0, 0) : d && !l ? (this.zCircle.angleSector.baseAxes = new _.Vector3(0, -1, 0), this.zCircle.angleSector.offsetAngle = (e) => e - Math.PI / 2) : !d && l ? (this.zCircle.angleSector.baseAxes = new _.Vector3(0, 1, 0), this.zCircle.angleSector.offsetAngle = (e) => e + Math.PI / 2) : !d && !l && (this.zCircle.angleSector.baseAxes = new _.Vector3(-1, 0, 0), this.zCircle.angleSector.offsetAngle = (e) => e + Math.PI));
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
showDraggingHelper(e) {
|
|
415
|
+
this.hide(), this.children.filter((t) => e.includes(t.direction)).forEach((e) => e.showRing()), this.angleTips?.show();
|
|
416
|
+
}
|
|
417
|
+
dispose() {
|
|
418
|
+
this.removeFromParent(), this.angleTips?.element?.remove();
|
|
419
|
+
}
|
|
420
|
+
}, B = class extends _.Group {
|
|
421
|
+
direction;
|
|
422
|
+
circle;
|
|
423
|
+
ring;
|
|
424
|
+
angleSector;
|
|
425
|
+
constructor(e) {
|
|
426
|
+
super(), this.direction = e.direction, this.circle = new oe(e), this.ring = new se(e), this.angleSector = new ce(e), this.add(this.circle, this.ring, this.angleSector), this.direction === "y" ? this.rotation.x = Math.PI / 2 : this.direction === "x" && (this.rotation.y = -Math.PI / 2);
|
|
427
|
+
}
|
|
428
|
+
showCircle() {
|
|
429
|
+
this.add(this.circle), this.remove(this.ring, this.angleSector);
|
|
430
|
+
}
|
|
431
|
+
showRing() {
|
|
432
|
+
this.add(this.ring, this.angleSector), this.remove(this.circle);
|
|
433
|
+
}
|
|
434
|
+
hide() {
|
|
435
|
+
this.remove(this.ring, this.angleSector, this.circle);
|
|
436
|
+
}
|
|
437
|
+
}, oe = class extends _.Mesh {
|
|
438
|
+
direction;
|
|
439
|
+
gapAngle = .02;
|
|
440
|
+
geometry = new _.RingGeometry(.25, .3, 20, 8, this.gapAngle, Math.PI / 2 - this.gapAngle * 2);
|
|
441
|
+
constructor(e) {
|
|
442
|
+
super(), this.material = new _.MeshBasicMaterial({
|
|
443
|
+
opacity: .6,
|
|
444
|
+
transparent: !0,
|
|
445
|
+
color: e.color ?? 16777215,
|
|
446
|
+
side: _.DoubleSide,
|
|
447
|
+
depthTest: !1
|
|
448
|
+
}), this.direction = e.direction, this.renderOrder = k.ROTATE_HELPER, this.geometry.name = `RotateHelperCircleGeometry-${this.direction}`;
|
|
449
|
+
}
|
|
450
|
+
}, se = class extends _.Group {
|
|
451
|
+
direction;
|
|
452
|
+
constructor(e) {
|
|
453
|
+
super(), this.direction = e.direction;
|
|
454
|
+
let t = .015, n = Array(8).fill(null).map((e, n) => {
|
|
455
|
+
let r = new _.RingGeometry(.25, .3, 20, 8, Math.PI / 4 * n + t, Math.PI / 4 - t * 2), i = new _.MeshBasicMaterial({
|
|
456
|
+
opacity: 1,
|
|
457
|
+
color: 16777215,
|
|
458
|
+
depthTest: !1,
|
|
459
|
+
depthWrite: !1,
|
|
460
|
+
transparent: !0,
|
|
461
|
+
side: _.DoubleSide
|
|
462
|
+
}), a = new _.Mesh(r, i);
|
|
463
|
+
return a.name = `AxesDashedRing-${this.direction}-${n}`, a;
|
|
464
|
+
});
|
|
465
|
+
this.add(...n);
|
|
466
|
+
}
|
|
467
|
+
}, ce = class extends _.Mesh {
|
|
468
|
+
direction;
|
|
469
|
+
baseAxes;
|
|
470
|
+
offsetAngle = (e) => e;
|
|
471
|
+
angleDirection;
|
|
472
|
+
constructor(e) {
|
|
473
|
+
switch (super(), e.direction) {
|
|
474
|
+
case "x":
|
|
475
|
+
this.baseAxes = new _.Vector3(0, 0, 1);
|
|
476
|
+
break;
|
|
477
|
+
case "y":
|
|
478
|
+
this.baseAxes = new _.Vector3(1, 0, 0);
|
|
479
|
+
break;
|
|
480
|
+
case "z": this.baseAxes = new _.Vector3(1, 0, 0);
|
|
481
|
+
}
|
|
482
|
+
this.geometry = new _.CircleGeometry(.3005, 48, 0, 1e-4), this.material = new _.MeshBasicMaterial({
|
|
483
|
+
opacity: .4,
|
|
484
|
+
color: e.color ?? 16777215,
|
|
485
|
+
depthTest: !1,
|
|
486
|
+
depthWrite: !1,
|
|
487
|
+
transparent: !0,
|
|
488
|
+
side: _.DoubleSide
|
|
489
|
+
}), this.direction = e.direction, this.angleDirection = this.direction === "z" ? 1 : -1;
|
|
490
|
+
}
|
|
491
|
+
setClockwiseDirection() {
|
|
492
|
+
this.angleDirection = -1;
|
|
493
|
+
}
|
|
494
|
+
setCounterClockwiseDirection() {
|
|
495
|
+
this.angleDirection = 1;
|
|
496
|
+
}
|
|
497
|
+
toggleDirection() {
|
|
498
|
+
this.angleDirection = this.angleDirection === 1 ? -1 : 1;
|
|
499
|
+
}
|
|
500
|
+
setBaseAxes(e) {
|
|
501
|
+
this.baseAxes = e.clone().normalize();
|
|
502
|
+
}
|
|
503
|
+
getDirection() {
|
|
504
|
+
return this.angleDirection === -1 ? "clockwise" : "counterclockwise";
|
|
505
|
+
}
|
|
506
|
+
};
|
|
507
|
+
//#endregion
|
|
508
|
+
//#region src/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.ts
|
|
509
|
+
function le() {
|
|
510
|
+
let e = z({
|
|
511
|
+
width: "100%",
|
|
512
|
+
height: "100%",
|
|
513
|
+
left: "0",
|
|
514
|
+
top: "0",
|
|
515
|
+
position: "absolute",
|
|
516
|
+
pointerEvents: "none"
|
|
517
|
+
}), t = z({
|
|
518
|
+
boxSizing: "border-box",
|
|
519
|
+
width: "100%",
|
|
520
|
+
height: "100%",
|
|
521
|
+
left: "0",
|
|
522
|
+
top: "0",
|
|
523
|
+
position: "relative",
|
|
524
|
+
display: "flex",
|
|
525
|
+
alignItems: "center",
|
|
526
|
+
justifyContent: "center"
|
|
527
|
+
}), n = z({
|
|
528
|
+
boxSizing: "border-box",
|
|
529
|
+
width: "100%",
|
|
530
|
+
height: "100%",
|
|
531
|
+
left: "0",
|
|
532
|
+
top: "0",
|
|
533
|
+
position: "absolute",
|
|
534
|
+
border: "1px solid rgba(255,255,255,0.4)"
|
|
535
|
+
});
|
|
536
|
+
e.appendChild(t), t.appendChild(n);
|
|
537
|
+
let r = "-4px", i = {
|
|
538
|
+
direction: "nesw",
|
|
539
|
+
element: V({
|
|
540
|
+
cursor: "nesw-resize",
|
|
541
|
+
left: r,
|
|
542
|
+
bottom: r
|
|
543
|
+
})
|
|
544
|
+
}, a = {
|
|
545
|
+
direction: "ns",
|
|
546
|
+
element: V({
|
|
547
|
+
cursor: "ns-resize",
|
|
548
|
+
bottom: r
|
|
549
|
+
})
|
|
550
|
+
}, o = {
|
|
551
|
+
direction: "nwse",
|
|
552
|
+
element: V({
|
|
553
|
+
cursor: "nwse-resize",
|
|
554
|
+
right: r,
|
|
555
|
+
bottom: r
|
|
556
|
+
})
|
|
557
|
+
}, s = {
|
|
558
|
+
direction: "ew",
|
|
559
|
+
element: V({
|
|
560
|
+
cursor: "ew-resize",
|
|
561
|
+
right: r
|
|
562
|
+
})
|
|
563
|
+
}, c = {
|
|
564
|
+
direction: "nesw",
|
|
565
|
+
element: V({
|
|
566
|
+
cursor: "nesw-resize",
|
|
567
|
+
right: r,
|
|
568
|
+
top: r
|
|
569
|
+
})
|
|
570
|
+
}, l = {
|
|
571
|
+
direction: "ns",
|
|
572
|
+
element: V({
|
|
573
|
+
cursor: "ns-resize",
|
|
574
|
+
top: r
|
|
575
|
+
})
|
|
576
|
+
}, u = {
|
|
577
|
+
direction: "nwse",
|
|
578
|
+
element: V({
|
|
579
|
+
cursor: "nwse-resize",
|
|
580
|
+
left: r,
|
|
581
|
+
top: r
|
|
582
|
+
})
|
|
583
|
+
}, d = {
|
|
584
|
+
direction: "ew",
|
|
585
|
+
element: V({
|
|
586
|
+
cursor: "ew-resize",
|
|
587
|
+
left: r
|
|
588
|
+
})
|
|
589
|
+
};
|
|
590
|
+
return [
|
|
591
|
+
a,
|
|
592
|
+
s,
|
|
593
|
+
l,
|
|
594
|
+
d,
|
|
595
|
+
i,
|
|
596
|
+
o,
|
|
597
|
+
c,
|
|
598
|
+
u
|
|
599
|
+
].forEach((e) => t.appendChild(e.element)), {
|
|
600
|
+
container: e,
|
|
601
|
+
spheres: [
|
|
602
|
+
i,
|
|
603
|
+
a,
|
|
604
|
+
o,
|
|
605
|
+
s,
|
|
606
|
+
c,
|
|
607
|
+
l,
|
|
608
|
+
u,
|
|
609
|
+
d
|
|
610
|
+
]
|
|
611
|
+
};
|
|
612
|
+
}
|
|
613
|
+
function V(e) {
|
|
614
|
+
let t = z({
|
|
615
|
+
background: "#FFFF00",
|
|
616
|
+
width: "9px",
|
|
617
|
+
height: "9px",
|
|
618
|
+
position: "absolute",
|
|
619
|
+
pointerEvents: "none",
|
|
620
|
+
borderRadius: "50%",
|
|
621
|
+
...e
|
|
622
|
+
}), n = z({
|
|
623
|
+
width: "15px",
|
|
624
|
+
height: "15px",
|
|
625
|
+
position: "absolute",
|
|
626
|
+
left: "50%",
|
|
627
|
+
top: "50%",
|
|
628
|
+
transform: "translate(-50%, -50%)",
|
|
629
|
+
pointerEvents: "none"
|
|
630
|
+
}), r = z({
|
|
631
|
+
width: "15px",
|
|
632
|
+
height: "15px",
|
|
633
|
+
cursor: e?.cursor,
|
|
634
|
+
pointerEvents: "auto",
|
|
635
|
+
background: "transparent"
|
|
636
|
+
});
|
|
637
|
+
return r.draggable = !0, n.appendChild(r), t.appendChild(n), t;
|
|
638
|
+
}
|
|
639
|
+
//#endregion
|
|
640
|
+
//#region src/shared-utils/Object3DHelper/utils/cameraHooks.ts
|
|
641
|
+
var H = /* @__PURE__ */ new Map();
|
|
642
|
+
function U(t) {
|
|
643
|
+
if (H.has(t)) return H.get(t).hooks;
|
|
644
|
+
let n = new e(), r = null, i, a = () => {
|
|
645
|
+
r = requestAnimationFrame(a);
|
|
646
|
+
let e = t.projectionMatrix.toArray().join(",") + t.matrixWorld.toArray().join(",");
|
|
647
|
+
e !== i && (i = e, n.emit("cameraUpdate"));
|
|
648
|
+
};
|
|
649
|
+
return a(), H.set(t, {
|
|
650
|
+
hooks: n,
|
|
651
|
+
dispose: () => {
|
|
652
|
+
H.delete(t), cancelAnimationFrame(r);
|
|
653
|
+
}
|
|
654
|
+
}), n;
|
|
655
|
+
}
|
|
656
|
+
//#endregion
|
|
657
|
+
//#region src/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.ts
|
|
658
|
+
var ue = class extends T {
|
|
659
|
+
name = "CSS3DScaleHelper";
|
|
660
|
+
points = [];
|
|
661
|
+
cornerPositions = [];
|
|
662
|
+
css3DInstance;
|
|
663
|
+
get helperObject() {
|
|
664
|
+
if (!this.css3DInstance?.css3DObject) throw Error("css3DInstance is not initialized");
|
|
665
|
+
return this.css3DInstance.css3DObject;
|
|
666
|
+
}
|
|
667
|
+
plane;
|
|
668
|
+
css3DRenderer = new p();
|
|
669
|
+
camera;
|
|
670
|
+
scene;
|
|
671
|
+
container;
|
|
672
|
+
enabled = !1;
|
|
673
|
+
initialScale;
|
|
674
|
+
constructor(e, t, n, r) {
|
|
675
|
+
super(e), this.camera = n, this.scene = r, this.container = t, this.initRectangleScaleHelper();
|
|
676
|
+
}
|
|
677
|
+
initQuaternion() {
|
|
678
|
+
this.quaternion.copy(this.originObject3D.quaternion);
|
|
679
|
+
}
|
|
680
|
+
applyMatrix4(e) {
|
|
681
|
+
super.applyMatrix4(e), this.helperObject.applyMatrix4(e), this.plane?.applyMatrix4(e), this.cornerPositions.forEach((t) => t.applyMatrix4(e));
|
|
682
|
+
}
|
|
683
|
+
showDraggingHelper() {}
|
|
684
|
+
applyHelperScaleMatrix4(e, t) {
|
|
685
|
+
this.plane?.scale.applyMatrix4(e), this.helperObject.applyScaleMatrix4(e), setTimeout(() => {
|
|
686
|
+
this.updateSphereCorrection();
|
|
687
|
+
}, 0);
|
|
688
|
+
}
|
|
689
|
+
updatePoints() {
|
|
690
|
+
let e = this.calculatePointPosition(this.cornerPositions);
|
|
691
|
+
this.points.forEach((t, n) => {
|
|
692
|
+
t.position.copy(e[n]);
|
|
693
|
+
});
|
|
694
|
+
}
|
|
695
|
+
update(e) {
|
|
696
|
+
this.css3DInstance?.css3DObject && this.helperObject.position.copy(this.originObject3D.position), this.plane && this.plane.position.copy(this.originObject3D.position), this.updatePoints(), this.css3DInstance && this.css3DInstance.show(), this.plane && (this.plane.visible = !0);
|
|
697
|
+
}
|
|
698
|
+
applyHelperQuaternion(e, t) {
|
|
699
|
+
let n = this.css3DInstance?.css3DObject;
|
|
700
|
+
if (n) {
|
|
701
|
+
let r = new _.Vector3().subVectors(n.position, t).applyQuaternion(e).add(t);
|
|
702
|
+
n.position.copy(r), n.applyQuaternion(e);
|
|
703
|
+
}
|
|
704
|
+
if (this.plane) {
|
|
705
|
+
let n = new _.Vector3().subVectors(this.plane.position, t).applyQuaternion(e).add(t);
|
|
706
|
+
this.plane.position.copy(n), this.plane.applyQuaternion(e);
|
|
707
|
+
}
|
|
708
|
+
this.cornerPositions.forEach((n) => {
|
|
709
|
+
let r = new _.Vector3().subVectors(n, t).applyQuaternion(e).add(t);
|
|
710
|
+
n.copy(r);
|
|
711
|
+
});
|
|
712
|
+
}
|
|
713
|
+
enable() {
|
|
714
|
+
this.enabled || (this.enabled = !0, this.css3DInstance?.enable(), this.plane && this.scene.add(this.plane));
|
|
715
|
+
}
|
|
716
|
+
disable() {
|
|
717
|
+
this.enabled && (this.enabled = !1, this.css3DInstance?.disable(), this.plane && this.scene.remove(this.plane));
|
|
718
|
+
}
|
|
719
|
+
show() {
|
|
720
|
+
this.css3DInstance?.show(), this.plane && (this.plane.visible = !0);
|
|
721
|
+
}
|
|
722
|
+
hide() {
|
|
723
|
+
this.css3DInstance?.hide(), this.plane && (this.plane.visible = !1);
|
|
724
|
+
}
|
|
725
|
+
dispose() {
|
|
726
|
+
this.disable(), this.css3DRenderer.dispose();
|
|
727
|
+
}
|
|
728
|
+
onScaleEnd() {
|
|
729
|
+
U(this.camera).emit("cameraUpdate");
|
|
730
|
+
}
|
|
731
|
+
updateSphereCorrection() {
|
|
732
|
+
if (!this.css3DInstance) return;
|
|
733
|
+
this.initialScale ||= {
|
|
734
|
+
x: this.originObject3D.scale.x,
|
|
735
|
+
y: this.originObject3D.scale.y
|
|
736
|
+
};
|
|
737
|
+
let e = this.originObject3D.scale, t = e.x / this.initialScale.x, n = e.y / this.initialScale.y, r = this.css3DInstance.css3DObject.container;
|
|
738
|
+
r.style.setProperty("--parent-scaleX", t.toString()), r.style.setProperty("--parent-scaleY", n.toString());
|
|
739
|
+
}
|
|
740
|
+
initRectangleScaleHelper() {
|
|
741
|
+
let e = this.getCornerPositions();
|
|
742
|
+
if (!e) return;
|
|
743
|
+
this.cornerPositions = e;
|
|
744
|
+
let t = this.css3DRenderer.create3DElement(this.camera, e, { ratio: .003 });
|
|
745
|
+
if (!t) return;
|
|
746
|
+
this.css3DInstance = t, t.appendToElement(this.container);
|
|
747
|
+
let n = t.css3DObject.container, { container: r, spheres: i } = le();
|
|
748
|
+
this.points = i.map((t, n) => ({
|
|
749
|
+
direction: t.direction,
|
|
750
|
+
point: t.element,
|
|
751
|
+
position: this.calculatePointPosition(e)[n]
|
|
752
|
+
})), n.insertBefore(r, n.children[0] ?? null), this.helperObject.position.copy(this.originObject3D.position), this.plane?.position.copy(this.originObject3D.position);
|
|
753
|
+
}
|
|
754
|
+
getCornerPositions() {
|
|
755
|
+
let { originObject3D: e } = this;
|
|
756
|
+
if (e.isCSS3DObject && e.cornerPoints) return e.cornerPoints;
|
|
757
|
+
console.error("当前物体暂时不支持 ScaleHelper");
|
|
758
|
+
}
|
|
759
|
+
calculatePointPosition(e) {
|
|
760
|
+
return [
|
|
761
|
+
e[0].clone(),
|
|
762
|
+
e[0].clone().add(e[1]).divideScalar(2),
|
|
763
|
+
e[1].clone(),
|
|
764
|
+
e[1].clone().add(e[2]).divideScalar(2),
|
|
765
|
+
e[2].clone(),
|
|
766
|
+
e[2].clone().add(e[3]).divideScalar(2),
|
|
767
|
+
e[3].clone(),
|
|
768
|
+
e[3].clone().add(e[0]).divideScalar(2)
|
|
769
|
+
];
|
|
770
|
+
}
|
|
771
|
+
}, de = class extends S {
|
|
772
|
+
name = "BoundingBoxHelper";
|
|
773
|
+
box;
|
|
774
|
+
outline;
|
|
775
|
+
positionAttribute;
|
|
776
|
+
constructor(e) {
|
|
777
|
+
super(e), this.positionAttribute = new _.BufferAttribute(/* @__PURE__ */ new Float32Array(24), 3), this.box = this.createBox(), this.outline = this.createOutline(), this.add(this.box, this.outline), this.update();
|
|
778
|
+
}
|
|
779
|
+
initQuaternion() {
|
|
780
|
+
this.quaternion.copy(this.originObject3D.quaternion);
|
|
781
|
+
}
|
|
782
|
+
setHelperQuaternion(e, t) {
|
|
783
|
+
y(this, e, t);
|
|
784
|
+
}
|
|
785
|
+
raycasterIntersectObject(e, t) {
|
|
786
|
+
return e.intersectObject(this, !1, t);
|
|
787
|
+
}
|
|
788
|
+
raycast(e, t) {
|
|
789
|
+
this.box.raycast(e, t);
|
|
790
|
+
}
|
|
791
|
+
update() {
|
|
792
|
+
let e = f(this.originObject3D);
|
|
793
|
+
if (!e) return;
|
|
794
|
+
let { min: t, max: n } = e;
|
|
795
|
+
this.positionAttribute.setXYZ(0, n.x, n.y, n.z), this.positionAttribute.setXYZ(1, t.x, n.y, n.z), this.positionAttribute.setXYZ(2, t.x, t.y, n.z), this.positionAttribute.setXYZ(3, n.x, t.y, n.z), this.positionAttribute.setXYZ(4, n.x, n.y, t.z), this.positionAttribute.setXYZ(5, t.x, n.y, t.z), this.positionAttribute.setXYZ(6, t.x, t.y, t.z), this.positionAttribute.setXYZ(7, n.x, t.y, t.z), this.positionAttribute.needsUpdate = !0;
|
|
796
|
+
}
|
|
797
|
+
createOutline() {
|
|
798
|
+
let e = new Uint16Array([
|
|
799
|
+
0,
|
|
800
|
+
1,
|
|
801
|
+
1,
|
|
802
|
+
2,
|
|
803
|
+
2,
|
|
804
|
+
3,
|
|
805
|
+
3,
|
|
806
|
+
0,
|
|
807
|
+
4,
|
|
808
|
+
5,
|
|
809
|
+
5,
|
|
810
|
+
6,
|
|
811
|
+
6,
|
|
812
|
+
7,
|
|
813
|
+
7,
|
|
814
|
+
4,
|
|
815
|
+
0,
|
|
816
|
+
4,
|
|
817
|
+
1,
|
|
818
|
+
5,
|
|
819
|
+
2,
|
|
820
|
+
6,
|
|
821
|
+
3,
|
|
822
|
+
7
|
|
823
|
+
]), t = new _.BufferGeometry();
|
|
824
|
+
t.setIndex(new _.BufferAttribute(e, 1)), t.setAttribute("position", this.positionAttribute);
|
|
825
|
+
let n = new _.LineBasicMaterial({
|
|
826
|
+
color: 64767,
|
|
827
|
+
linewidth: 1,
|
|
828
|
+
opacity: 1,
|
|
829
|
+
toneMapped: !1
|
|
830
|
+
}), r = new _.LineSegments(t, n);
|
|
831
|
+
return r.matrixAutoUpdate = !1, r;
|
|
832
|
+
}
|
|
833
|
+
createBox() {
|
|
834
|
+
let e = new Uint16Array([
|
|
835
|
+
0,
|
|
836
|
+
1,
|
|
837
|
+
2,
|
|
838
|
+
0,
|
|
839
|
+
2,
|
|
840
|
+
3,
|
|
841
|
+
0,
|
|
842
|
+
3,
|
|
843
|
+
7,
|
|
844
|
+
0,
|
|
845
|
+
7,
|
|
846
|
+
4,
|
|
847
|
+
0,
|
|
848
|
+
4,
|
|
849
|
+
5,
|
|
850
|
+
0,
|
|
851
|
+
5,
|
|
852
|
+
1,
|
|
853
|
+
6,
|
|
854
|
+
1,
|
|
855
|
+
5,
|
|
856
|
+
6,
|
|
857
|
+
2,
|
|
858
|
+
1,
|
|
859
|
+
6,
|
|
860
|
+
5,
|
|
861
|
+
4,
|
|
862
|
+
6,
|
|
863
|
+
4,
|
|
864
|
+
7,
|
|
865
|
+
6,
|
|
866
|
+
3,
|
|
867
|
+
2,
|
|
868
|
+
6,
|
|
869
|
+
7,
|
|
870
|
+
3
|
|
871
|
+
]), t = new _.BufferGeometry();
|
|
872
|
+
t.setIndex(new _.BufferAttribute(e, 1)), t.setAttribute("position", this.positionAttribute);
|
|
873
|
+
let n = new _.MeshBasicMaterial({
|
|
874
|
+
color: 64767,
|
|
875
|
+
opacity: .1,
|
|
876
|
+
depthTest: !1,
|
|
877
|
+
transparent: !0
|
|
878
|
+
});
|
|
879
|
+
return new _.Mesh(t, n);
|
|
880
|
+
}
|
|
881
|
+
}, W = class {
|
|
882
|
+
originObject3D;
|
|
883
|
+
hooks;
|
|
884
|
+
preventTapDefaultEvent = !1;
|
|
885
|
+
internalHooks;
|
|
886
|
+
disposers = [];
|
|
887
|
+
helperObject3D;
|
|
888
|
+
camera;
|
|
889
|
+
model;
|
|
890
|
+
scene;
|
|
891
|
+
container;
|
|
892
|
+
domEvents;
|
|
893
|
+
isDragging = !1;
|
|
894
|
+
enabled = !1;
|
|
895
|
+
name = "BaseController";
|
|
896
|
+
boundingBox;
|
|
897
|
+
config;
|
|
898
|
+
onRender;
|
|
899
|
+
cameraHooks;
|
|
900
|
+
otherControllers;
|
|
901
|
+
updateOtherControllers(e) {
|
|
902
|
+
this.otherControllers = e;
|
|
903
|
+
}
|
|
904
|
+
getIsDragging() {
|
|
905
|
+
return this.isDragging;
|
|
906
|
+
}
|
|
907
|
+
constructor(t, n) {
|
|
908
|
+
this.hooks = t.sharedHooks ?? new e(), this.internalHooks = t.sharedInternalHooks ?? new e(), this.camera = t.camera, this.model = t.model, this.originObject3D = t.originObject3D, this.helperObject3D = t.helperObject3D, this.container = t.container, this.scene = t.scene, this.domEvents = t.domEvents, this.onRender = t.onRender ?? (() => {}), this.config = n ?? {}, this.otherControllers = t.otherControllers, this.initialHelperPosition(), this.initialHelperQuaternion(), this.updateHelperScale(), this.cameraHooks = U(this.camera), this.enable();
|
|
909
|
+
let r = this.onSetOriginObjectScale.bind(this), i = this.onSetOriginObjectRotate.bind(this), a = this.onSetOriginObjectPosition.bind(this), o = this.onApplyOriginObjectScale.bind(this), s = this.onApplyOriginObjectRotate.bind(this), c = this.onApplyOriginObjectPosition.bind(this), l = this.initialHelperPosition.bind(this);
|
|
910
|
+
this.cameraHooks.on("cameraUpdate", this.updateHelperScale), this.internalHooks.on("initialHelperPosition", l), this.internalHooks.on("setObjectScale", r), this.internalHooks.on("setObjectRotate", i), this.internalHooks.on("setObjectPosition", a), this.internalHooks.on("applyObjectPosition", c), this.internalHooks.on("applyObjectRotate", s), this.internalHooks.on("applyObjectScale", o), this.hooks.on("moveEnd", this.updateHelperScale), this.internalHooks.on("setObjectPosition", this.updateHelperScale), this.internalHooks.on("initialHelperPosition", this.updateHelperScale), this.disposers.push(() => {
|
|
911
|
+
this.cameraHooks.off("cameraUpdate", this.updateHelperScale), this.internalHooks.off("initialHelperPosition", l), this.internalHooks.off("setObjectScale", r), this.internalHooks.off("setObjectRotate", i), this.internalHooks.off("setObjectPosition", a), this.internalHooks.off("applyObjectPosition", c), this.internalHooks.off("applyObjectRotate", s), this.internalHooks.off("applyObjectScale", o), this.hooks.off("moveEnd", this.updateHelperScale), this.internalHooks.off("setObjectPosition", this.updateHelperScale), this.internalHooks.off("initialHelperPosition", this.updateHelperScale);
|
|
912
|
+
});
|
|
913
|
+
}
|
|
914
|
+
initialHelperPosition() {
|
|
915
|
+
this.helperObject3D.initialPosition(this.calculateOffset(this.config.offset));
|
|
916
|
+
}
|
|
917
|
+
initialHelperQuaternion() {
|
|
918
|
+
this.helperObject3D.initQuaternion(this.config);
|
|
919
|
+
}
|
|
920
|
+
enable() {
|
|
921
|
+
this.enabled || (this.enabled = !0, this.scene.add(this.helperObject3D), this.helperObject3D.enable(), this.render());
|
|
922
|
+
}
|
|
923
|
+
disable() {
|
|
924
|
+
this.enabled && (this.enabled = !1, this.helperObject3D.disable(), this.render());
|
|
925
|
+
}
|
|
926
|
+
show() {
|
|
927
|
+
this.helperObject3D.show(), this.render();
|
|
928
|
+
}
|
|
929
|
+
hide() {
|
|
930
|
+
this.helperObject3D.hide(), this.render();
|
|
931
|
+
}
|
|
932
|
+
dispose() {
|
|
933
|
+
this.disposers?.forEach((e) => e?.()), this.helperObject3D.dispose(), this.render();
|
|
934
|
+
}
|
|
935
|
+
applyHelperMatrix4(e) {
|
|
936
|
+
this.helperObject3D.applyMatrix4(e);
|
|
937
|
+
}
|
|
938
|
+
applyHelperQuaternion(e, t) {
|
|
939
|
+
this.helperObject3D.applyHelperQuaternion(e, t);
|
|
940
|
+
}
|
|
941
|
+
applyHelperScaleMatrix4(e, t) {
|
|
942
|
+
this.helperObject3D.applyHelperScaleMatrix4(e, t);
|
|
943
|
+
}
|
|
944
|
+
onWantsTapGesture = (e) => {
|
|
945
|
+
if (this.getIntersectObject(e)) return !1;
|
|
946
|
+
};
|
|
947
|
+
updateHelperScale = () => {
|
|
948
|
+
"update" in this.helperObject3D && typeof this.helperObject3D.update == "function" && this.helperObject3D.update(this.camera), this.helperObject3D.setScaleByCamera(this.camera);
|
|
949
|
+
};
|
|
950
|
+
onWantsGesture(e, t, n) {
|
|
951
|
+
if (this.isDragging) return !1;
|
|
952
|
+
}
|
|
953
|
+
onIntersectionOnModelUpdate(e) {}
|
|
954
|
+
onApplyOriginObjectScale(e) {
|
|
955
|
+
this.applyHelperScaleMatrix4(e.matrix, e.origin);
|
|
956
|
+
}
|
|
957
|
+
onApplyOriginObjectRotate(e) {
|
|
958
|
+
this.applyHelperQuaternion(e.quaternion, e.origin);
|
|
959
|
+
}
|
|
960
|
+
onApplyOriginObjectPosition(e) {
|
|
961
|
+
this.applyHelperMatrix4(e.matrix);
|
|
962
|
+
}
|
|
963
|
+
onSetOriginObjectScale(e) {
|
|
964
|
+
this.helperObject3D.scale.copy(e), this.updateOffsetByScale(e);
|
|
965
|
+
}
|
|
966
|
+
onSetOriginObjectRotate(e, t) {
|
|
967
|
+
this.helperObject3D.setHelperQuaternion(e, t);
|
|
968
|
+
}
|
|
969
|
+
onSetOriginObjectPosition(e) {
|
|
970
|
+
this.helperObject3D.position.copy(e.clone().add(this.calculateOffset(this.config.offset)));
|
|
971
|
+
}
|
|
972
|
+
render() {
|
|
973
|
+
this.onRender();
|
|
974
|
+
}
|
|
975
|
+
updateOffsetByScale(e) {
|
|
976
|
+
if (this.boundingBox && this.config.offset) {
|
|
977
|
+
let t = this.originObject3D.position, n = new _.Vector3().subVectors(this.boundingBox.max, t).multiply(e).add(t), r = new _.Vector3().subVectors(this.boundingBox.min, t).multiply(e).add(t), i = this.calculateOffset(this.config.offset, {
|
|
978
|
+
min: r,
|
|
979
|
+
max: n
|
|
980
|
+
});
|
|
981
|
+
this.helperObject3D.initialPosition(i);
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
hoverListener(e, t = 16777215, n = 1) {
|
|
985
|
+
let i = r(e).filter(s), a = [];
|
|
986
|
+
for (let e of i) if (e.material || e instanceof _.Group) {
|
|
987
|
+
let r = e instanceof _.Group ? e.children.filter((e) => e instanceof _.Mesh) : [e];
|
|
988
|
+
r.forEach((e) => {
|
|
989
|
+
Array.isArray(e.material) ? (e.__originalColor__ = e.__originalColor__ ?? e.material.map((e) => e.color.clone()), e.__originalOpacity__ = e.__originalOpacity__ ?? e.material.map((e) => e.opacity)) : (e.__originalColor__ = e.__originalColor__ ?? e.material.color.clone(), e.__originalOpacity__ = e.__originalOpacity__ ?? e.material.opacity);
|
|
990
|
+
});
|
|
991
|
+
let i = () => {
|
|
992
|
+
r.forEach((e) => {
|
|
993
|
+
e.name === "ScaleHelperTransparentGroup" ? e.children[0] && (e.children[0].material.color.set(t), e.children[0].material.opacity = n) : Array.isArray(e.material) ? e.material.forEach((e) => {
|
|
994
|
+
e.color.set(t), e.opacity = n;
|
|
995
|
+
}) : (e.material.color.set(t), e.material.opacity = n);
|
|
996
|
+
}), this.render();
|
|
997
|
+
}, o = () => {
|
|
998
|
+
r.forEach((e) => {
|
|
999
|
+
if (e.name === "ScaleHelperTransparentGroup") e.children[0] && (e.children[0].material.color.set(16776960), e.children[0].material.opacity = 1);
|
|
1000
|
+
else if (Array.isArray(e.material)) {
|
|
1001
|
+
let t = e.__originalColor__, n = e.__originalOpacity__;
|
|
1002
|
+
e.material.forEach((e, r) => {
|
|
1003
|
+
t && t[r] && e.color.copy(t[r]), n && n[r] !== void 0 && (e.opacity = n[r]);
|
|
1004
|
+
});
|
|
1005
|
+
} else e.material.color.copy(e.__originalColor__), e.material.opacity = e.__originalOpacity__;
|
|
1006
|
+
}), this.render();
|
|
1007
|
+
}, s = (e) => {
|
|
1008
|
+
this.isDragging || i();
|
|
1009
|
+
}, c = (e) => {
|
|
1010
|
+
this.isDragging || o();
|
|
1011
|
+
};
|
|
1012
|
+
for (let e of r) this.domEvents.addEventListener(e, "mouseover", s), this.domEvents.addEventListener(e, "mouseout", c), this.hooks.on("moveStart", i), this.hooks.on("moveEnd", o), this.hooks.on("rotateEnd", o), this.hooks.on("scaleEnd", o), a.push(() => {
|
|
1013
|
+
this.domEvents.removeEventListener(e, "mouseover", s), this.domEvents.removeEventListener(e, "mouseout", c), this.hooks.off("moveStart", i), this.hooks.off("moveEnd", o), this.hooks.off("rotateEnd", o), this.hooks.off("scaleEnd", o);
|
|
1014
|
+
});
|
|
1015
|
+
}
|
|
1016
|
+
return () => a.forEach((e) => e?.());
|
|
1017
|
+
}
|
|
1018
|
+
getIntersectObject(e) {
|
|
1019
|
+
let t = this.camera.position, n = this.helperObject3D;
|
|
1020
|
+
if (!n) return;
|
|
1021
|
+
let r = this.helperObject3D.raycasterIntersectObject(e)[0];
|
|
1022
|
+
if (!r) return;
|
|
1023
|
+
let i = r;
|
|
1024
|
+
if (i.object = n, this.model.intersectRaycaster) {
|
|
1025
|
+
let n = this.model.intersectRaycaster(e)[0];
|
|
1026
|
+
if (n && n.point.distanceTo(t) < i.point.distanceTo(t)) return;
|
|
1027
|
+
}
|
|
1028
|
+
return i.object;
|
|
1029
|
+
}
|
|
1030
|
+
getBox = () => (this.boundingBox ||= f(this.originObject3D), this.boundingBox);
|
|
1031
|
+
calculateOffset(e, t) {
|
|
1032
|
+
let n = new _.Vector3(0, 0, 0);
|
|
1033
|
+
if (!e) return n;
|
|
1034
|
+
let r = () => t || this.getBox();
|
|
1035
|
+
if (typeof e.x == "number") n.setX(e.x);
|
|
1036
|
+
else if (typeof e.x == "object") {
|
|
1037
|
+
let t = r();
|
|
1038
|
+
n.setX((t.max.x - t.min.x) * e.x.percents);
|
|
1039
|
+
}
|
|
1040
|
+
if (typeof e.y == "number") n.setY(e.y);
|
|
1041
|
+
else if (typeof e.y == "object") {
|
|
1042
|
+
let t = r();
|
|
1043
|
+
n.setY((t.max.y - t.min.y) * e.y.percents);
|
|
1044
|
+
}
|
|
1045
|
+
if (typeof e.z == "number") n.setZ(e.z);
|
|
1046
|
+
else if (typeof e.z == "object") {
|
|
1047
|
+
let t = r();
|
|
1048
|
+
n.setZ((t.max.z - t.min.z) * e.z.percents);
|
|
1049
|
+
}
|
|
1050
|
+
return n;
|
|
1051
|
+
}
|
|
1052
|
+
};
|
|
1053
|
+
//#endregion
|
|
1054
|
+
//#region src/shared-utils/Object3DHelper/utils/solidGuide.ts
|
|
1055
|
+
function fe(e, t) {
|
|
1056
|
+
let n = 10, r = 10, i = e.isPerspectiveCamera, a = e.isOrthographicCamera;
|
|
1057
|
+
if (i) {
|
|
1058
|
+
let i = e, a = i.position.distanceTo(t), o = i.fov * Math.PI / 180;
|
|
1059
|
+
r = 2 * Math.tan(o / 2) * a, n = r * i.aspect;
|
|
1060
|
+
} else if (a) {
|
|
1061
|
+
let t = e;
|
|
1062
|
+
n = Math.abs(t.right - t.left), r = Math.abs(t.top - t.bottom);
|
|
1063
|
+
}
|
|
1064
|
+
let o = Math.sqrt(n * n + r * r), s = o * .8, c = Math.min(n, r) * .25, l = o * 1.2;
|
|
1065
|
+
return Math.max(c, Math.min(s, l));
|
|
1066
|
+
}
|
|
1067
|
+
var G = class {
|
|
1068
|
+
camera;
|
|
1069
|
+
container;
|
|
1070
|
+
defaults;
|
|
1071
|
+
constructor(e, t, n) {
|
|
1072
|
+
this.camera = e, this.container = t, this.defaults = { ...n || {} };
|
|
1073
|
+
}
|
|
1074
|
+
createSolidLine(e, t, n) {
|
|
1075
|
+
let r = {
|
|
1076
|
+
color: 16777215,
|
|
1077
|
+
renderOrder: k.DRAG_GUIDE_LINE,
|
|
1078
|
+
...this.defaults,
|
|
1079
|
+
...n || {}
|
|
1080
|
+
}, i = t.clone().normalize(), a = this.computeInfiniteLineLength(e), o = e.clone().add(i.clone().multiplyScalar(-a)), s = e.clone().add(i.clone().multiplyScalar(a)), c = new Float32Array([
|
|
1081
|
+
o.x,
|
|
1082
|
+
o.y,
|
|
1083
|
+
o.z,
|
|
1084
|
+
s.x,
|
|
1085
|
+
s.y,
|
|
1086
|
+
s.z
|
|
1087
|
+
]), l = new _.BufferGeometry();
|
|
1088
|
+
l.setAttribute("position", new _.BufferAttribute(c, 3));
|
|
1089
|
+
let u = new _.LineBasicMaterial({
|
|
1090
|
+
color: r.color,
|
|
1091
|
+
depthTest: !1,
|
|
1092
|
+
depthWrite: !1,
|
|
1093
|
+
transparent: !0,
|
|
1094
|
+
opacity: .65
|
|
1095
|
+
}), d = new _.Line(l, u);
|
|
1096
|
+
return d.renderOrder = r.renderOrder, d;
|
|
1097
|
+
}
|
|
1098
|
+
updateSolidLine(e, t, n, r) {
|
|
1099
|
+
let i = n.clone().normalize(), a = this.computeInfiniteLineLength(t), o = t.clone().add(i.clone().multiplyScalar(-a)), s = t.clone().add(i.clone().multiplyScalar(a)), c = new Float32Array([
|
|
1100
|
+
o.x,
|
|
1101
|
+
o.y,
|
|
1102
|
+
o.z,
|
|
1103
|
+
s.x,
|
|
1104
|
+
s.y,
|
|
1105
|
+
s.z
|
|
1106
|
+
]), l = e.geometry, u = l.getAttribute("position");
|
|
1107
|
+
u && u.itemSize === 3 && u.array.length === c.length ? (u.array.set(c), u.needsUpdate = !0) : l.setAttribute("position", new _.BufferAttribute(c, 3)), r?.color !== void 0 && e.material.color.setHex(r.color);
|
|
1108
|
+
}
|
|
1109
|
+
computeInfiniteLineLength(e) {
|
|
1110
|
+
return fe(this.camera, e) * 10;
|
|
1111
|
+
}
|
|
1112
|
+
dispose(e) {
|
|
1113
|
+
if (!e) return;
|
|
1114
|
+
e.geometry.dispose();
|
|
1115
|
+
let t = e.material;
|
|
1116
|
+
Array.isArray(t) ? t.forEach((e) => e.dispose()) : t.dispose();
|
|
1117
|
+
}
|
|
1118
|
+
updateDefaults(e) {
|
|
1119
|
+
this.defaults = {
|
|
1120
|
+
...this.defaults,
|
|
1121
|
+
...e
|
|
1122
|
+
};
|
|
1123
|
+
}
|
|
1124
|
+
}, pe = class extends W {
|
|
1125
|
+
get moveByMouseEnable() {
|
|
1126
|
+
return this._moveByMouse.enabled;
|
|
1127
|
+
}
|
|
1128
|
+
name = "MoveController";
|
|
1129
|
+
startInfo;
|
|
1130
|
+
dragGuideLine;
|
|
1131
|
+
solidGuide = new G(this.camera, this.container, this.config?.solidGuide ?? {});
|
|
1132
|
+
_moveByMouse = { enabled: !1 };
|
|
1133
|
+
mouseInfo;
|
|
1134
|
+
mousedownEventListenerDisposer;
|
|
1135
|
+
constructor(...e) {
|
|
1136
|
+
super(...e);
|
|
1137
|
+
let t = this.helperObject3D;
|
|
1138
|
+
if (this.hoverListener([
|
|
1139
|
+
t.xArrow,
|
|
1140
|
+
t.yArrow,
|
|
1141
|
+
t.zArrow
|
|
1142
|
+
]), t.centerHandle && t.centerHandle instanceof j) {
|
|
1143
|
+
let e = t.centerHandle, n = e.cube;
|
|
1144
|
+
this.domEvents.addEventListener(n, "mouseover", () => {
|
|
1145
|
+
this.isDragging || (Array.isArray(n.material) && n.material.forEach((e) => {
|
|
1146
|
+
e.color.set(16777215);
|
|
1147
|
+
}), this.render());
|
|
1148
|
+
}), this.domEvents.addEventListener(n, "mouseout", () => {
|
|
1149
|
+
this.isDragging || (e.update(this.camera), this.render());
|
|
1150
|
+
});
|
|
1151
|
+
}
|
|
1152
|
+
let n = this.show.bind(this), r = this.hide.bind(this), i = () => {
|
|
1153
|
+
this.helperObject3D.update(this.camera), this.isDragging && this.updateDragGuideLineScale(), this.render();
|
|
1154
|
+
};
|
|
1155
|
+
i(), this.domEvents.addEventListener(this.helperObject3D, "mousedown", this.dragStart), document.addEventListener("mousemove", this.dragging), document.addEventListener("mouseup", this.dragEnd), this.domEvents.addEventListener(this.helperObject3D, "touchstart", this.dragStart), document.addEventListener("touchmove", this.dragging), document.addEventListener("touchend", this.dragEnd), this.hooks.on("rotateStart", r), this.hooks.on("rotateEnd", n), this.hooks.on("scaleStart", r), this.hooks.on("scaleEnd", n), this.hooks.on("moveByMouseEnable", r), this.hooks.on("moveByMouseDisable", n), this.hooks.on("updateOtherHelpers", (e) => {
|
|
1156
|
+
this.helperObject3D.update(e.camera), this.render();
|
|
1157
|
+
}), this.cameraHooks.on("cameraUpdate", i), this.disposers.push(() => {
|
|
1158
|
+
this.domEvents.removeEventListener(this.helperObject3D, "mousedown", this.dragStart), document.removeEventListener("mousemove", this.dragging), document.removeEventListener("mouseup", this.dragEnd), this.domEvents.removeEventListener(this.helperObject3D, "touchstart", this.dragStart), document.removeEventListener("touchmove", this.dragging), document.removeEventListener("touchend", this.dragEnd), this.hooks.off("rotateStart", r), this.hooks.off("rotateEnd", n), this.hooks.off("scaleStart", r), this.hooks.off("scaleEnd", n), this.hooks.off("moveByMouseEnable", r), this.hooks.off("moveByMouseDisable", n), this.hooks.off("updateOtherHelpers"), this.cameraHooks.off("cameraUpdate", i);
|
|
1159
|
+
}), this.moveByMouseEnable && this.moveByMouse();
|
|
1160
|
+
}
|
|
1161
|
+
dispose() {
|
|
1162
|
+
super.dispose(), this.disposers?.forEach((e) => e?.());
|
|
1163
|
+
}
|
|
1164
|
+
moveByMouse(e) {
|
|
1165
|
+
this._moveByMouse = {
|
|
1166
|
+
enabled: !0,
|
|
1167
|
+
useFaceNormal: e?.useFaceNormal
|
|
1168
|
+
}, this.preventTapDefaultEvent = !0;
|
|
1169
|
+
let t = this.handleMouseDown.bind(this), n = this.handleMouseUp.bind(this);
|
|
1170
|
+
this.hooks.emit("moveByMouseEnable"), setTimeout(() => {
|
|
1171
|
+
this.container.addEventListener("mousedown", t), this.container.addEventListener("mouseup", n);
|
|
1172
|
+
}), this.mousedownEventListenerDisposer = () => {
|
|
1173
|
+
this.container.removeEventListener("mousedown", t), this.container.removeEventListener("mouseup", n);
|
|
1174
|
+
};
|
|
1175
|
+
}
|
|
1176
|
+
disableMoveByMouse() {
|
|
1177
|
+
this._moveByMouse = { enabled: !1 }, this.preventTapDefaultEvent = !1, this.hooks.emit("moveByMouseDisable"), this.mousedownEventListenerDisposer?.();
|
|
1178
|
+
}
|
|
1179
|
+
onIntersectionOnModelUpdate(e) {
|
|
1180
|
+
if (!this.moveByMouseEnable) return;
|
|
1181
|
+
let { point: t, face: n } = e;
|
|
1182
|
+
if (!this.hooks.emit("wantToMove", t)) {
|
|
1183
|
+
if (this.originObject3D.position.copy(t), (this._moveByMouse.useFaceNormal === !0 || typeof this._moveByMouse.useFaceNormal == "object" && this._moveByMouse.useFaceNormal.enable !== !1) && n?.normal) {
|
|
1184
|
+
let e = typeof this._moveByMouse.useFaceNormal == "object" && this._moveByMouse.useFaceNormal.alignmentVector ? this._moveByMouse.useFaceNormal.alignmentVector : {
|
|
1185
|
+
x: 0,
|
|
1186
|
+
y: 1,
|
|
1187
|
+
z: 0
|
|
1188
|
+
}, t = new _.Vector3(e.x ?? 0, e.y ?? 0, e.z ?? 0), r = typeof this._moveByMouse.useFaceNormal == "object" && this._moveByMouse.useFaceNormal.fixedFaceNormal ? this._moveByMouse.useFaceNormal.fixedFaceNormal(n.normal) : n.normal;
|
|
1189
|
+
this.originObject3D.quaternion.setFromUnitVectors(t, r), this.internalHooks.emit("setObjectRotate", this.originObject3D.quaternion.clone());
|
|
1190
|
+
}
|
|
1191
|
+
this.internalHooks.emit("setObjectPosition", t), this.hooks.emit("move", t);
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
handleMouseDown(e) {
|
|
1195
|
+
let { x: t, y: n } = e;
|
|
1196
|
+
this.mouseInfo = {
|
|
1197
|
+
x: t,
|
|
1198
|
+
y: n,
|
|
1199
|
+
mouseDownTimestamp: Date.now()
|
|
1200
|
+
};
|
|
1201
|
+
}
|
|
1202
|
+
handleMouseUp(e) {
|
|
1203
|
+
if (!this.mouseInfo) return;
|
|
1204
|
+
let { x: t, y: n } = e;
|
|
1205
|
+
this.mouseInfo.x === t && this.mouseInfo.y === n && Date.now() - this.mouseInfo.mouseDownTimestamp < 500 && (this.disableMoveByMouse(), this.mouseInfo = void 0);
|
|
1206
|
+
}
|
|
1207
|
+
dragStart = (e) => {
|
|
1208
|
+
if (this.moveByMouseEnable || this.isDragging) return;
|
|
1209
|
+
let t = e?.intersect;
|
|
1210
|
+
if (!t) return this.dragEnd();
|
|
1211
|
+
let n = (t?.object).direction;
|
|
1212
|
+
if (!n) return this.dragEnd();
|
|
1213
|
+
let r = new _.Vector3(1, 0, 0).applyQuaternion(this.helperObject3D.quaternion), i = new _.Vector3(0, 1, 0).applyQuaternion(this.helperObject3D.quaternion), a = new _.Vector3(0, 0, 1).applyQuaternion(this.helperObject3D.quaternion), o = (() => {
|
|
1214
|
+
switch (n) {
|
|
1215
|
+
case "x": return r;
|
|
1216
|
+
case "y": return i;
|
|
1217
|
+
case "z": return a;
|
|
1218
|
+
case "plane": return;
|
|
1219
|
+
}
|
|
1220
|
+
})(), s = t.point.clone();
|
|
1221
|
+
if (n === "plane") {
|
|
1222
|
+
let e = this.camera.position.clone(), t = s.clone(), r = t.clone().sub(e).normalize(), i = new _.Plane().setFromNormalAndCoplanarPoint(r, t), a = t.clone();
|
|
1223
|
+
this.startInfo = {
|
|
1224
|
+
draggingDirection: n,
|
|
1225
|
+
startVectorProject: a,
|
|
1226
|
+
line: new _.Line3(a.clone(), a.clone()),
|
|
1227
|
+
plane: i
|
|
1228
|
+
};
|
|
1229
|
+
} else {
|
|
1230
|
+
let e = new _.Line3(s.clone().sub(o.normalize()), s.clone().add(o.normalize()));
|
|
1231
|
+
this.startInfo = {
|
|
1232
|
+
draggingDirection: n,
|
|
1233
|
+
startVectorProject: s,
|
|
1234
|
+
line: e
|
|
1235
|
+
};
|
|
1236
|
+
try {
|
|
1237
|
+
let e = o.clone().normalize(), t = this.helperObject3D.getWorldPosition(new _.Vector3()), n = this.solidGuide.createSolidLine(t, e, {
|
|
1238
|
+
color: 16777215,
|
|
1239
|
+
renderOrder: k.DRAG_GUIDE_LINE
|
|
1240
|
+
});
|
|
1241
|
+
this.scene.add(n), this.dragGuideLine = n;
|
|
1242
|
+
} catch {}
|
|
1243
|
+
}
|
|
1244
|
+
let c = n === "plane" ? [] : [n];
|
|
1245
|
+
this.helperObject3D.showDraggingHelper(c), this.hooks.emit("moveStart", n), this.isDragging = !0;
|
|
1246
|
+
};
|
|
1247
|
+
dragging = (e) => {
|
|
1248
|
+
if (!this.isDragging || !this.startInfo) return;
|
|
1249
|
+
let t = "touches" in e ? e.touches[0].clientX : e.x, n = "touches" in e ? e.touches[0].clientY : e.y, r = O(this.camera, {
|
|
1250
|
+
x: t,
|
|
1251
|
+
y: n
|
|
1252
|
+
}, this.container);
|
|
1253
|
+
return r ? (this.move(r), !1) : this.dragEnd();
|
|
1254
|
+
};
|
|
1255
|
+
updateDragGuideLineScale() {
|
|
1256
|
+
if (!this.dragGuideLine || !this.startInfo) return;
|
|
1257
|
+
let { line: e } = this.startInfo, t = e.end.clone().sub(e.start).normalize();
|
|
1258
|
+
if (t.lengthSq() < 1e-6) return;
|
|
1259
|
+
let n = this.helperObject3D.getWorldPosition(new _.Vector3());
|
|
1260
|
+
this.solidGuide.updateSolidLine(this.dragGuideLine, n, t);
|
|
1261
|
+
}
|
|
1262
|
+
move(e) {
|
|
1263
|
+
if (!this.startInfo) return this.dragEnd();
|
|
1264
|
+
let { line: t, startVectorProject: n } = this.startInfo, r = this.originObject3D, i = this.startInfo.draggingDirection === "plane", a;
|
|
1265
|
+
if (i) {
|
|
1266
|
+
let t = this.startInfo.plane;
|
|
1267
|
+
if (!t) return;
|
|
1268
|
+
let n = new _.Vector3(), r = t.normal.dot(e.ray.direction);
|
|
1269
|
+
if (Math.abs(r) < 1e-6) return;
|
|
1270
|
+
let i = -(t.normal.dot(e.ray.origin) + t.constant) / r;
|
|
1271
|
+
if (i < 0) return;
|
|
1272
|
+
n.copy(e.ray.origin.clone().add(e.ray.direction.clone().multiplyScalar(i))), a = n;
|
|
1273
|
+
} else a = l({
|
|
1274
|
+
raycaster: e,
|
|
1275
|
+
line: t,
|
|
1276
|
+
clampToLine: !1
|
|
1277
|
+
});
|
|
1278
|
+
let o = r.position.clone(), s = a.clone().sub(n), c = new _.Matrix4();
|
|
1279
|
+
c.setPosition(s);
|
|
1280
|
+
let u = r.position.clone().applyMatrix4(c);
|
|
1281
|
+
if (this.hooks.emit("wantToMove", u)) return;
|
|
1282
|
+
let d = this.hooks.emitWithResult("moveBefore", u) ?? u, f = new _.Matrix4();
|
|
1283
|
+
f.setPosition(d.clone().sub(o)), r.position.copy(d), n.copy(a), this.internalHooks.emit("applyObjectPosition", { matrix: f }), this.hooks.emit("move", d);
|
|
1284
|
+
}
|
|
1285
|
+
dragEnd = () => {
|
|
1286
|
+
if (this.isDragging) {
|
|
1287
|
+
if (this.startInfo = void 0, this.isDragging = !1, this.dragGuideLine) {
|
|
1288
|
+
this.scene.remove(this.dragGuideLine), this.dragGuideLine.geometry.dispose();
|
|
1289
|
+
let e = this.dragGuideLine.material;
|
|
1290
|
+
Array.isArray(e) ? e.forEach((e) => e.dispose()) : e.dispose(), this.dragGuideLine = void 0;
|
|
1291
|
+
}
|
|
1292
|
+
this.helperObject3D.show(), this.hooks.emit("moveEnd");
|
|
1293
|
+
}
|
|
1294
|
+
};
|
|
1295
|
+
}, K = class {
|
|
1296
|
+
helperController;
|
|
1297
|
+
five;
|
|
1298
|
+
constructor(e, t, n, r, i, a, o, s, c) {
|
|
1299
|
+
let { camera: l, model: u, scene: d } = e, f = e.getElement();
|
|
1300
|
+
if (this.five = e, !l || !u || !f || !d) return;
|
|
1301
|
+
let p = () => {
|
|
1302
|
+
e.needsRender = !0;
|
|
1303
|
+
};
|
|
1304
|
+
this.helperController = new n({
|
|
1305
|
+
camera: l,
|
|
1306
|
+
model: u,
|
|
1307
|
+
domEvents: t,
|
|
1308
|
+
originObject3D: r,
|
|
1309
|
+
helperObject3D: i,
|
|
1310
|
+
container: f,
|
|
1311
|
+
scene: d,
|
|
1312
|
+
onRender: p,
|
|
1313
|
+
sharedHooks: o,
|
|
1314
|
+
sharedInternalHooks: s,
|
|
1315
|
+
otherControllers: c
|
|
1316
|
+
}, a), e.on("wantsTapGesture", this.onFiveWantsTapGesture), e.on("wantsGesture", this.onFiveWantsGesture), e.on("intersectionOnModelUpdate", this.onFiveIntersectionOnModelUpdate);
|
|
1317
|
+
}
|
|
1318
|
+
dispose() {
|
|
1319
|
+
this.five.off("wantsTapGesture", this.onFiveWantsTapGesture), this.five.off("wantsGesture", this.onFiveWantsGesture), this.five.off("intersectionOnModelUpdate", this.onFiveIntersectionOnModelUpdate), this.helperController?.dispose();
|
|
1320
|
+
}
|
|
1321
|
+
onFiveWantsTapGesture = (e) => {
|
|
1322
|
+
if (!this.helperController) return;
|
|
1323
|
+
if (this.helperController.preventTapDefaultEvent) return !1;
|
|
1324
|
+
let t = this.helperController.onWantsTapGesture(e);
|
|
1325
|
+
return this.five.needsRender = !0, t;
|
|
1326
|
+
};
|
|
1327
|
+
onFiveWantsGesture = (...e) => {
|
|
1328
|
+
if (!this.helperController) return;
|
|
1329
|
+
let t = this.helperController.onWantsGesture(...e);
|
|
1330
|
+
return this.five.needsRender = !0, t;
|
|
1331
|
+
};
|
|
1332
|
+
onFiveIntersectionOnModelUpdate = (...e) => {
|
|
1333
|
+
this.helperController && this.helperController.onIntersectionOnModelUpdate(...e);
|
|
1334
|
+
};
|
|
1335
|
+
}, q = "Object3DHelper@v1.0.1", me = () => {
|
|
1336
|
+
console.error(`${q} is disposed`);
|
|
1337
|
+
}, he = () => {
|
|
1338
|
+
console.warn(`${q} is disabled`);
|
|
1339
|
+
}, ge = () => {
|
|
1340
|
+
console.error(`${q} is disabled`);
|
|
1341
|
+
}, _e = class {
|
|
1342
|
+
controllers = {};
|
|
1343
|
+
state = {
|
|
1344
|
+
visible: !0,
|
|
1345
|
+
enabled: !0,
|
|
1346
|
+
disposed: !1
|
|
1347
|
+
};
|
|
1348
|
+
hooks = new e();
|
|
1349
|
+
eventListener = {};
|
|
1350
|
+
constructor(e) {
|
|
1351
|
+
e && this.addControllers(e), this.setState(this.state);
|
|
1352
|
+
}
|
|
1353
|
+
async show(e) {
|
|
1354
|
+
this.setState({ visible: !0 }, e);
|
|
1355
|
+
}
|
|
1356
|
+
async hide(e) {
|
|
1357
|
+
this.setState({ visible: !1 }, e);
|
|
1358
|
+
}
|
|
1359
|
+
enable(e) {
|
|
1360
|
+
this.setState({ enabled: !0 }, e);
|
|
1361
|
+
}
|
|
1362
|
+
disable(e) {
|
|
1363
|
+
this.setState({ enabled: !1 }, e);
|
|
1364
|
+
}
|
|
1365
|
+
dispose() {
|
|
1366
|
+
this.setState({ disposed: !0 });
|
|
1367
|
+
}
|
|
1368
|
+
setState(e, t) {
|
|
1369
|
+
if (this.state.disposed) return me();
|
|
1370
|
+
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0) return ge();
|
|
1371
|
+
let n = { ...this.state };
|
|
1372
|
+
this.state = {
|
|
1373
|
+
...this.state,
|
|
1374
|
+
...e
|
|
1375
|
+
}, e.disposed !== void 0 && e.disposed !== n.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && this.handleVisible(e.visible), e.enabled !== void 0 && this.handleEnable(e.enabled), this.hooks.emit("stateChange", {
|
|
1376
|
+
state: this.state,
|
|
1377
|
+
prevState: n
|
|
1378
|
+
});
|
|
1379
|
+
}
|
|
1380
|
+
addControllers(e) {
|
|
1381
|
+
this.controllers = {
|
|
1382
|
+
...this.controllers,
|
|
1383
|
+
...e
|
|
1384
|
+
}, this.setState(this.state);
|
|
1385
|
+
}
|
|
1386
|
+
initialHelperMatrix() {
|
|
1387
|
+
this.everyControllerDo((e) => {
|
|
1388
|
+
e.initialHelperPosition(), e.initialHelperQuaternion();
|
|
1389
|
+
});
|
|
1390
|
+
}
|
|
1391
|
+
getCurrentState() {
|
|
1392
|
+
return this.state;
|
|
1393
|
+
}
|
|
1394
|
+
handleEnable(e, t = !0) {
|
|
1395
|
+
e ? (this.everyControllerDo((e) => {
|
|
1396
|
+
e.enable();
|
|
1397
|
+
}), this.hooks.emit("enable", { userAction: t })) : (this.everyControllerDo((e) => {
|
|
1398
|
+
e.disable();
|
|
1399
|
+
}), this.hooks.emit("disable", { userAction: t })), this.state.enabled = e;
|
|
1400
|
+
}
|
|
1401
|
+
handleVisible(e, t = !0) {
|
|
1402
|
+
e ? (this.everyControllerDo((e) => {
|
|
1403
|
+
e.show();
|
|
1404
|
+
}), this.actionIfStateIsEnabled(() => this.hooks.emit("show", { userAction: t }))) : (this.everyControllerDo((e) => {
|
|
1405
|
+
e.hide();
|
|
1406
|
+
}), this.actionIfStateIsEnabled(() => this.hooks.emit("hide", { userAction: t }))), this.state.visible = e;
|
|
1407
|
+
}
|
|
1408
|
+
everyControllerDo(e) {
|
|
1409
|
+
Object.values(this.controllers).forEach((t) => {
|
|
1410
|
+
t && e(t);
|
|
1411
|
+
});
|
|
1412
|
+
}
|
|
1413
|
+
handleDispose() {
|
|
1414
|
+
Object.values(this.controllers).forEach((e) => {
|
|
1415
|
+
e?.dispose();
|
|
1416
|
+
});
|
|
1417
|
+
for (let e in this.controllers) {
|
|
1418
|
+
if (!e) continue;
|
|
1419
|
+
let t = e;
|
|
1420
|
+
this.eventListener[t]?.();
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
actionIfStateIsEnabled(e, t) {
|
|
1424
|
+
if (this.state.enabled) return e();
|
|
1425
|
+
t?.warnLog && he();
|
|
1426
|
+
}
|
|
1427
|
+
};
|
|
1428
|
+
//#endregion
|
|
1429
|
+
//#region src/shared-utils/math/deg2Rad.ts
|
|
1430
|
+
function J(e) {
|
|
1431
|
+
return e * Math.PI / 180;
|
|
1432
|
+
}
|
|
1433
|
+
//#endregion
|
|
1434
|
+
//#region src/shared-utils/Object3DHelper/Controller/RotateController.ts
|
|
1435
|
+
var Y = new _.Quaternion(), ve = class extends W {
|
|
1436
|
+
name = "RotateController";
|
|
1437
|
+
get rotateCenter() {
|
|
1438
|
+
return this.helperObject3D.position.clone();
|
|
1439
|
+
}
|
|
1440
|
+
startInfo;
|
|
1441
|
+
removeListener;
|
|
1442
|
+
constructor(...e) {
|
|
1443
|
+
super(...e);
|
|
1444
|
+
let t = this.helperObject3D;
|
|
1445
|
+
this.hoverListener([
|
|
1446
|
+
t.xCircle?.circle,
|
|
1447
|
+
t.yCircle?.circle,
|
|
1448
|
+
t.zCircle?.circle
|
|
1449
|
+
].filter(Boolean));
|
|
1450
|
+
let n = this.dragStart.bind(this), r = this.dragging.bind(this), i = this.dragEnd.bind(this), a = this.show.bind(this), o = this.hide.bind(this), s = () => {
|
|
1451
|
+
this.helperObject3D.update(this.camera), this.render();
|
|
1452
|
+
};
|
|
1453
|
+
s(), this.domEvents.addEventListener(this.helperObject3D, "mousedown", n), document.addEventListener("mousemove", r), document.addEventListener("mouseup", i), this.domEvents.addEventListener(this.helperObject3D, "touchstart", n), document.addEventListener("touchmove", r), document.addEventListener("touchend", i), this.hooks.on("moveStart", o), this.hooks.on("moveEnd", a), this.hooks.on("scaleStart", o), this.hooks.on("scaleEnd", a), this.hooks.on("moveByMouseEnable", o), this.hooks.on("moveByMouseDisable", a), this.hooks.on("updateOtherHelpers", (e) => {
|
|
1454
|
+
this.helperObject3D.update(e.camera), this.render();
|
|
1455
|
+
}), this.cameraHooks.on("cameraUpdate", s), this.disposers.push(() => {
|
|
1456
|
+
this.domEvents.removeEventListener(this.helperObject3D, "mousedown", n), document.removeEventListener("mousemove", r), document.removeEventListener("mouseup", i), this.domEvents.removeEventListener(this.helperObject3D, "touchstart", n), document.removeEventListener("touchmove", r), document.removeEventListener("touchend", i), this.hooks.off("moveStart", o), this.hooks.off("moveEnd", a), this.hooks.off("scaleStart", o), this.hooks.off("scaleEnd", a), this.hooks.off("moveByMouseEnable", o), this.hooks.off("moveByMouseDisable", a), this.hooks.off("updateOtherHelpers"), this.cameraHooks.off("cameraUpdate", s);
|
|
1457
|
+
});
|
|
1458
|
+
}
|
|
1459
|
+
setRotateAngle(e) {
|
|
1460
|
+
let { x: t = 0, y: n = 0, z: r = 0 } = e, i = new _.Euler(J(t), J(n), J(r)), a = new _.Quaternion().setFromEuler(i);
|
|
1461
|
+
if (this.hooks.emit("wantToRotate", a)) return;
|
|
1462
|
+
let { originObject3D: o, rotateCenter: s } = this;
|
|
1463
|
+
y(o, a, s), this.internalHooks.emit("setObjectRotate", a, s), this.hooks.emit("rotate", a), this.render();
|
|
1464
|
+
}
|
|
1465
|
+
getEulerAngle(e, t) {
|
|
1466
|
+
let { originObject3D: n } = this, r = new _.Euler().setFromQuaternion(n.quaternion), i = {
|
|
1467
|
+
x: h(r.x),
|
|
1468
|
+
y: h(r.y),
|
|
1469
|
+
z: h(r.z)
|
|
1470
|
+
}, a = {
|
|
1471
|
+
x: e === "x" ? t : i.x,
|
|
1472
|
+
y: e === "y" ? t : i.y,
|
|
1473
|
+
z: e === "z" ? t : i.z
|
|
1474
|
+
}, o = new _.Euler(J(a.x), J(a.y), J(a.z));
|
|
1475
|
+
return new _.Quaternion().setFromEuler(o);
|
|
1476
|
+
}
|
|
1477
|
+
onApplyOriginObjectRotate(e) {
|
|
1478
|
+
this.isDragging || super.onApplyOriginObjectRotate(e);
|
|
1479
|
+
}
|
|
1480
|
+
onApplyOriginObjectScale(e) {}
|
|
1481
|
+
dragStart(e) {
|
|
1482
|
+
if (this.isDragging) return;
|
|
1483
|
+
this.helperObject3D.update(this.camera);
|
|
1484
|
+
let t = e?.intersect;
|
|
1485
|
+
if (!t) return this.dragEnd();
|
|
1486
|
+
let n = (t?.object).direction;
|
|
1487
|
+
if (!n) return this.dragEnd();
|
|
1488
|
+
let r = t.point, i = this.getAngleHelper(n);
|
|
1489
|
+
this.setTipsAngle(0);
|
|
1490
|
+
let a = r.clone();
|
|
1491
|
+
a.y += .2, this.setTipsPosition(a);
|
|
1492
|
+
let o = this.helperObject3D.quaternion.clone(), s = (() => {
|
|
1493
|
+
if (n === "x") return new _.Vector3(1, 0, 0).applyQuaternion(o);
|
|
1494
|
+
if (n === "y") return new _.Vector3(0, 1, 0).applyQuaternion(o);
|
|
1495
|
+
if (n === "z") return new _.Vector3(0, 0, 1).applyQuaternion(o);
|
|
1496
|
+
})(), c = new _.Plane().setFromNormalAndCoplanarPoint(s, r), l = c.projectPoint(r.clone(), new _.Vector3()).clone().sub(this.rotateCenter), u = l.angleTo(i.baseAxes.clone().applyQuaternion(o)), d = i.offsetAngle(u);
|
|
1497
|
+
this.setAngleHelperStart(n, d), this.setAngleHelperLength(n, 0), this.startInfo = {
|
|
1498
|
+
direction: n,
|
|
1499
|
+
startVector: l,
|
|
1500
|
+
directionVector: s,
|
|
1501
|
+
plane: c,
|
|
1502
|
+
angleHelper: i,
|
|
1503
|
+
angle: 0,
|
|
1504
|
+
helperQuaternion: o.clone()
|
|
1505
|
+
}, Y = new _.Quaternion(), this.helperObject3D.showDraggingHelper([n]), this.hooks.emit("rotateStart", n), this.isDragging = !0;
|
|
1506
|
+
}
|
|
1507
|
+
getMatrix() {
|
|
1508
|
+
return this.originObject3D?.ext?.matrix;
|
|
1509
|
+
}
|
|
1510
|
+
getMatrixAngle(e, t) {
|
|
1511
|
+
let n;
|
|
1512
|
+
if (e && e.isMatrix4) {
|
|
1513
|
+
n = new _.Quaternion(), e.decompose(new _.Vector3(), n, new _.Vector3());
|
|
1514
|
+
let r = new _.Euler().setFromQuaternion(n);
|
|
1515
|
+
if (t === "x") return Math.round(h(r.z));
|
|
1516
|
+
if (t === "y") return Math.round(h(r.y));
|
|
1517
|
+
if (t === "z") return Math.round(h(r.x));
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
parseAngleByDirection(e) {
|
|
1521
|
+
let t = this.originObject3D?.ext?.matrix, n;
|
|
1522
|
+
if (t && t.isMatrix4) {
|
|
1523
|
+
n = new _.Quaternion(), t.decompose(new _.Vector3(), n, new _.Vector3());
|
|
1524
|
+
let r = new _.Euler().setFromQuaternion(n);
|
|
1525
|
+
if (e === "x") return Math.round(h(r.z));
|
|
1526
|
+
if (e === "y") return Math.round(h(r.y));
|
|
1527
|
+
if (e === "z") return Math.round(h(r.x));
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1530
|
+
dragging(e) {
|
|
1531
|
+
if (!this.isDragging) return;
|
|
1532
|
+
let t = "touches" in e ? e.touches[0].clientX : e.x, n = "touches" in e ? e.touches[0].clientY : e.y, r = O(this.camera, {
|
|
1533
|
+
x: t,
|
|
1534
|
+
y: n
|
|
1535
|
+
}, this.container);
|
|
1536
|
+
return r ? (this.rotate(r), !1) : this.dragEnd();
|
|
1537
|
+
}
|
|
1538
|
+
rotate(e) {
|
|
1539
|
+
if (!this.startInfo) return this.dragEnd();
|
|
1540
|
+
let { startVector: t, plane: n, angleHelper: r, direction: i, helperQuaternion: a } = this.startInfo, { originObject3D: o } = this, s = e.ray.intersectPlane(n, new _.Vector3());
|
|
1541
|
+
if (!s) return;
|
|
1542
|
+
let c = this.rotateCenter.clone(), l = n.projectPoint(s.clone(), new _.Vector3()).clone().sub(c), u = this.startInfo.directionVector.clone().normalize();
|
|
1543
|
+
l = l.clone().projectOnPlane(u).normalize().multiplyScalar(l.length());
|
|
1544
|
+
let d = new _.Quaternion().setFromUnitVectors(t.clone().normalize(), l.clone().normalize()), f = o.quaternion.clone().premultiply(d);
|
|
1545
|
+
if (t.angleTo(l) === 0 || this.hooks.emit("wantToRotate", f)) return;
|
|
1546
|
+
let p = new _.Euler().setFromQuaternion(new _.Quaternion().setFromUnitVectors(t.clone().normalize().applyQuaternion(a.clone().invert()), l.clone().normalize().applyQuaternion(a.clone().invert())), `${i.toUpperCase()}${"XZY".replace(i.toUpperCase(), "")}`)[i] * r.angleDirection;
|
|
1547
|
+
if (this.startInfo.angle += p, this.setAngleHelperLength(i, this.startInfo.angle), this.setTipsAngle(h(this.startInfo.angle)), c) {
|
|
1548
|
+
let e = new _.Vector3().subVectors(o.position, c).applyQuaternion(d).add(c);
|
|
1549
|
+
o.position.copy(e);
|
|
1550
|
+
}
|
|
1551
|
+
o.applyQuaternion(d), Y.premultiply(d), this.internalHooks.emit("applyObjectRotate", {
|
|
1552
|
+
quaternion: d,
|
|
1553
|
+
origin: c
|
|
1554
|
+
}), this.hooks.emit("rotate", o.quaternion), this.startInfo.startVector = l;
|
|
1555
|
+
}
|
|
1556
|
+
dragEnd() {
|
|
1557
|
+
this.isDragging && (this.applyHelperQuaternion(Y, this.rotateCenter), this.startInfo?.lineMeshes && this.startInfo.lineMeshes.forEach((e) => {
|
|
1558
|
+
this.scene.remove(e), e.geometry.dispose(), e.material instanceof _.Material && e.material.dispose();
|
|
1559
|
+
}), this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.show(), this.updateOtherHelpers(), this.hooks.emit("rotateEnd"));
|
|
1560
|
+
}
|
|
1561
|
+
updateOtherHelpers() {
|
|
1562
|
+
this.hooks.emit("updateOtherHelpers", { camera: this.camera });
|
|
1563
|
+
}
|
|
1564
|
+
getAngleHelper(e) {
|
|
1565
|
+
switch (e) {
|
|
1566
|
+
case "x": return this.helperObject3D.xCircle?.angleSector;
|
|
1567
|
+
case "y": return this.helperObject3D.yCircle?.angleSector;
|
|
1568
|
+
case "z": return this.helperObject3D.zCircle?.angleSector;
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
setAngleHelperStart(e, t) {
|
|
1572
|
+
let n = this.getAngleHelper(e);
|
|
1573
|
+
if (!n) console.warn("angleHelper is undefined");
|
|
1574
|
+
else if (n instanceof _.Mesh && n.geometry instanceof _.CircleGeometry) {
|
|
1575
|
+
let { radius: e, segments: r, thetaLength: i } = n.geometry.parameters;
|
|
1576
|
+
n.geometry = new _.CircleGeometry(e, r, t, i);
|
|
1577
|
+
} else console.warn("only support THREE.CircleGeometry");
|
|
1578
|
+
}
|
|
1579
|
+
setAngleHelperLength(e, t) {
|
|
1580
|
+
let n = t >= 0 ? Math.max(t, .001) : Math.min(t, -.001), r = this.getAngleHelper(e);
|
|
1581
|
+
if (r instanceof _.Mesh && r.geometry instanceof _.CircleGeometry) {
|
|
1582
|
+
let { radius: e, thetaStart: t } = r.geometry.parameters, i = Math.ceil(40 / (2 * Math.PI) * Math.abs(n));
|
|
1583
|
+
r.geometry = new _.CircleGeometry(e, i, t, n);
|
|
1584
|
+
} else console.warn("only support THREE.CircleGeometry");
|
|
1585
|
+
}
|
|
1586
|
+
setTipsAngle(e) {
|
|
1587
|
+
let t = this.helperObject3D.angleTips?.element;
|
|
1588
|
+
t && (t.innerText = `${e.toFixed(0)}°`);
|
|
1589
|
+
}
|
|
1590
|
+
setTipsPosition(e) {
|
|
1591
|
+
let t = this.helperObject3D.angleTips;
|
|
1592
|
+
if (!t) return;
|
|
1593
|
+
let { x: n, y: r, z: i } = e.project(this.camera);
|
|
1594
|
+
if (i > 1) return;
|
|
1595
|
+
let a = (n + 1) / 2 * 100 + "%", o = (-r + 1) / 2 * 100 + "%";
|
|
1596
|
+
t.setLeftTop(a, o);
|
|
1597
|
+
}
|
|
1598
|
+
}, ye = class extends W {
|
|
1599
|
+
startInfo;
|
|
1600
|
+
name = "RectangleScaleController";
|
|
1601
|
+
constructor(...e) {
|
|
1602
|
+
super(...e);
|
|
1603
|
+
}
|
|
1604
|
+
enable() {
|
|
1605
|
+
this.helperObject3D.enable(), super.enable();
|
|
1606
|
+
}
|
|
1607
|
+
disable() {
|
|
1608
|
+
this.helperObject3D.disable(), super.disable();
|
|
1609
|
+
}
|
|
1610
|
+
show() {
|
|
1611
|
+
this.helperObject3D.show(), super.show();
|
|
1612
|
+
}
|
|
1613
|
+
hide() {
|
|
1614
|
+
this.helperObject3D.hide(), super.hide();
|
|
1615
|
+
}
|
|
1616
|
+
onApplyOriginObjectPosition(e) {
|
|
1617
|
+
this.isDragging || super.onApplyOriginObjectPosition(e);
|
|
1618
|
+
}
|
|
1619
|
+
onApplyOriginObjectScale(e) {
|
|
1620
|
+
this.helperObject3D.applyHelperScaleMatrix4(e.matrix, e.origin);
|
|
1621
|
+
}
|
|
1622
|
+
getDragPlane() {
|
|
1623
|
+
let e = new _.Plane(), t = this.helperObject3D.cornerPositions;
|
|
1624
|
+
if (t.length !== 0) return t.length < 3 ? e.setFromNormalAndCoplanarPoint(this.originObject3D.getWorldDirection(new v()), t[0]) : e.setFromCoplanarPoints(t[0], t[1], t[2]), e;
|
|
1625
|
+
}
|
|
1626
|
+
dragStart(e, t) {
|
|
1627
|
+
this.helperObject3D.updatePoints?.();
|
|
1628
|
+
let n = this.getDragPlane();
|
|
1629
|
+
if (!n) return this.dragEnd();
|
|
1630
|
+
this.startInfo = {
|
|
1631
|
+
startPoint: {
|
|
1632
|
+
position: t.position.clone(),
|
|
1633
|
+
direction: t.direction
|
|
1634
|
+
},
|
|
1635
|
+
plane: n
|
|
1636
|
+
}, this.hooks.emit("scaleStart", t.direction), this.render(), this.isDragging = !0;
|
|
1637
|
+
}
|
|
1638
|
+
dragging(e) {
|
|
1639
|
+
if (!this.isDragging) return;
|
|
1640
|
+
let t = O(this.camera, e, this.container);
|
|
1641
|
+
if (!t) return this.dragEnd();
|
|
1642
|
+
this.scale(t);
|
|
1643
|
+
}
|
|
1644
|
+
scale(e) {
|
|
1645
|
+
if (!this.startInfo) return;
|
|
1646
|
+
let t = this.originObject3D, { startPoint: n, plane: r } = this.startInfo, i = this.helperObject3D.cornerPositions;
|
|
1647
|
+
if (i.length < 4) return this.dragEnd();
|
|
1648
|
+
let a = e.ray.intersectPlane(r, new v());
|
|
1649
|
+
if (!a || g(a, this.camera.position)) return;
|
|
1650
|
+
let o = new v().addVectors(i[0], i[2]).divideScalar(2), { position: s, direction: c } = n, l = new v().subVectors(i[1], i[0]), u = new v().subVectors(i[3], i[0]), d = (e) => {
|
|
1651
|
+
let t = new v(0, 0, 0);
|
|
1652
|
+
if (!this.startInfo) return t;
|
|
1653
|
+
let n = (e === "ew" ? l : u).clone(), r = s.clone().projectOnVector(n), i = a.clone().projectOnVector(n), c = o.clone().projectOnVector(n);
|
|
1654
|
+
if (i.equals(r)) return t;
|
|
1655
|
+
if (e === "ns" && typeof this.startInfo.dragPointInCenterBottom != "boolean") {
|
|
1656
|
+
let e = new v().subVectors(i, c), t = e.x < 0 && n.x >= 0, r = e.y < 0 && n.y >= 0, a = e.z < 0 && n.z >= 0;
|
|
1657
|
+
this.startInfo.dragPointInCenterBottom = t || r || a;
|
|
1658
|
+
}
|
|
1659
|
+
if (e === "ew" && typeof this.startInfo.dragPointInCenterLeft != "boolean") {
|
|
1660
|
+
let e = new v().subVectors(i, c), t = e.x < 0 && n.x >= 0, r = e.y < 0 && n.y >= 0, a = e.z < 0 && n.z >= 0;
|
|
1661
|
+
this.startInfo.dragPointInCenterLeft = t || r || a;
|
|
1662
|
+
}
|
|
1663
|
+
let d = new v().subVectors(i, r), f = d.length();
|
|
1664
|
+
return f > .3 ? (console.warn("offset.length() > 0.3, skipped", f), t) : d;
|
|
1665
|
+
}, f = d("ew"), p = d("ns"), m = () => {
|
|
1666
|
+
let e = f;
|
|
1667
|
+
this.helperObject3D.cornerPositions.forEach((t, n) => {
|
|
1668
|
+
this.startInfo?.dragPointInCenterLeft ? (n === 0 || n === 3) && t.add(e) : (n === 1 || n === 2) && t.add(e);
|
|
1669
|
+
});
|
|
1670
|
+
}, h = () => {
|
|
1671
|
+
let e = p;
|
|
1672
|
+
this.helperObject3D.cornerPositions.forEach((t, n) => {
|
|
1673
|
+
this.startInfo?.dragPointInCenterBottom ? (n === 0 || n === 1) && t.add(e) : (n === 2 || n === 3) && t.add(e);
|
|
1674
|
+
});
|
|
1675
|
+
};
|
|
1676
|
+
switch (c) {
|
|
1677
|
+
case "ew":
|
|
1678
|
+
m();
|
|
1679
|
+
break;
|
|
1680
|
+
case "ns":
|
|
1681
|
+
h();
|
|
1682
|
+
break;
|
|
1683
|
+
case "nesw":
|
|
1684
|
+
case "nwse": m(), h();
|
|
1685
|
+
}
|
|
1686
|
+
let y = new v().subVectors(i[1], i[0]).length() / l.length(), b = new v().subVectors(i[3], i[0]).length() / u.length(), x = new v(y, b, 1), S = new _.Matrix4().scale(x);
|
|
1687
|
+
t.isCSS3DObjectPlus && t.applyScaleMatrix4 ? t.applyScaleMatrix4(S) : t.scale.applyMatrix4(S), n.position.copy(a);
|
|
1688
|
+
let C = new v().addVectors(i[0], i[2]).divideScalar(2), w = new v().subVectors(C, o), T = new _.Matrix4().setPosition(w);
|
|
1689
|
+
t.applyMatrix4(T), this.helperObject3D.css3DInstance?.css3DObject.applyMatrix4(T), this.helperObject3D.plane?.applyMatrix4(T), this.internalHooks.emit("applyObjectScale", { matrix: S }), this.internalHooks.emit("applyObjectPosition", { matrix: T }), this.render();
|
|
1690
|
+
}
|
|
1691
|
+
dragEnd() {
|
|
1692
|
+
this.isDragging && (this.startInfo = void 0, this.isDragging = !1, "onScaleEnd" in this.helperObject3D && typeof this.helperObject3D.onScaleEnd == "function" && this.helperObject3D.onScaleEnd(), this.hooks.emit("scaleEnd"), this.render());
|
|
1693
|
+
}
|
|
1694
|
+
}, be = class extends ye {
|
|
1695
|
+
name = "CSS3DScaleController";
|
|
1696
|
+
constructor(...e) {
|
|
1697
|
+
super(...e), this.addHTMLEventListener();
|
|
1698
|
+
}
|
|
1699
|
+
addHTMLEventListener() {
|
|
1700
|
+
this.helperObject3D.points.forEach((e) => {
|
|
1701
|
+
if (!e) return;
|
|
1702
|
+
let t = e.point, n = (t) => this.dragStart(t, e), r = this.dragging.bind(this), i = this.dragEnd.bind(this);
|
|
1703
|
+
t.addEventListener("dragstart", n), t.addEventListener("drag", r), t.addEventListener("dragend", i);
|
|
1704
|
+
});
|
|
1705
|
+
}
|
|
1706
|
+
}, xe = class extends W {
|
|
1707
|
+
name = "BoundingBoxController";
|
|
1708
|
+
constructor(...e) {
|
|
1709
|
+
super(...e);
|
|
1710
|
+
}
|
|
1711
|
+
}, Se = class extends w {
|
|
1712
|
+
name = "ScaleHelper";
|
|
1713
|
+
scaleMeshes = [];
|
|
1714
|
+
lineConnections = [];
|
|
1715
|
+
positions = [];
|
|
1716
|
+
container;
|
|
1717
|
+
needsInitialScaling = !1;
|
|
1718
|
+
lastCamera = null;
|
|
1719
|
+
isInitializing = !1;
|
|
1720
|
+
constructor(e, t) {
|
|
1721
|
+
super(e, t), t && (this.positions = t.positions, this.container = t.container), this.raycast = () => {};
|
|
1722
|
+
}
|
|
1723
|
+
initQuaternion() {
|
|
1724
|
+
this.quaternion.copy(this.originObject3D.quaternion);
|
|
1725
|
+
}
|
|
1726
|
+
initialPosition(e) {
|
|
1727
|
+
if (this.isInitializing) console.warn("ScaleHelper: initialPosition called while already initializing, skipping");
|
|
1728
|
+
else {
|
|
1729
|
+
this.isInitializing = !0;
|
|
1730
|
+
try {
|
|
1731
|
+
this.position.copy(this.originObject3D.position);
|
|
1732
|
+
let e = typeof this.positions == "function" ? this.positions() : this.positions;
|
|
1733
|
+
if (!e) {
|
|
1734
|
+
this.isInitializing = !1;
|
|
1735
|
+
return;
|
|
1736
|
+
}
|
|
1737
|
+
this.clearAllSpheres(), this.scaleMeshes = e.map((e, t) => {
|
|
1738
|
+
let n = Ce();
|
|
1739
|
+
return n.position.copy(e.handlePosition), n.scalePosition = e, n.children.forEach((t) => {
|
|
1740
|
+
t.scalePosition = e;
|
|
1741
|
+
}), this.add(n), n;
|
|
1742
|
+
}), this.createLineConnections(), this.needsInitialScaling = !0, this.lastCamera && (this.applySphereScaling(this.lastCamera), this.applyLineScaling(this.lastCamera), this.needsInitialScaling = !1);
|
|
1743
|
+
} finally {
|
|
1744
|
+
this.isInitializing = !1;
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
clearAllSpheres() {
|
|
1749
|
+
this.scaleMeshes.forEach((e) => {
|
|
1750
|
+
this.remove(e);
|
|
1751
|
+
}), this.scaleMeshes = [];
|
|
1752
|
+
let e = this.children.filter((e) => e.name === "ScaleHelperSphere");
|
|
1753
|
+
e.length > 0 && e.forEach((e) => {
|
|
1754
|
+
this.remove(e);
|
|
1755
|
+
});
|
|
1756
|
+
}
|
|
1757
|
+
createLineConnections() {
|
|
1758
|
+
this.lineConnections.forEach((e) => {
|
|
1759
|
+
this.remove(e.line);
|
|
1760
|
+
}), this.lineConnections = [];
|
|
1761
|
+
let e = {
|
|
1762
|
+
top: "bottom",
|
|
1763
|
+
bottom: "top",
|
|
1764
|
+
left: "right",
|
|
1765
|
+
right: "left",
|
|
1766
|
+
front: "back",
|
|
1767
|
+
back: "front"
|
|
1768
|
+
}, t = /* @__PURE__ */ new Set();
|
|
1769
|
+
for (let n of this.scaleMeshes) {
|
|
1770
|
+
let r = n.scalePosition.id;
|
|
1771
|
+
if (!r || t.has(r)) continue;
|
|
1772
|
+
let i = e[r];
|
|
1773
|
+
if (!i) continue;
|
|
1774
|
+
let a = this.scaleMeshes.find((e) => e.scalePosition.id === i);
|
|
1775
|
+
if (!a) continue;
|
|
1776
|
+
let o = X(n.position.clone(), a.position.clone());
|
|
1777
|
+
this.add(o), this.lineConnections.push({
|
|
1778
|
+
line: o,
|
|
1779
|
+
mesh1: n,
|
|
1780
|
+
mesh2: a
|
|
1781
|
+
}), t.add(r), t.add(i);
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
updateHandlePositions() {
|
|
1785
|
+
let e = typeof this.positions == "function" ? this.positions() : this.positions;
|
|
1786
|
+
e && (e.forEach((e) => {
|
|
1787
|
+
let t = this.scaleMeshes.find((t) => t.scalePosition.id === e.id);
|
|
1788
|
+
t && (t.position.copy(e.handlePosition), t.scalePosition = e);
|
|
1789
|
+
}), this.updateLineConnections(), this.lastCamera && this.applySphereScaling(this.lastCamera));
|
|
1790
|
+
}
|
|
1791
|
+
update(e) {
|
|
1792
|
+
let t = e.type === "OrthographicCamera", n = e.position.clone(), r = this.originObject3D.getWorldPosition(new _.Vector3()), i = n.sub(r).normalize(), a = {
|
|
1793
|
+
front: new _.Vector3(0, 0, 1).applyQuaternion(this.originObject3D.getWorldQuaternion(new _.Quaternion())),
|
|
1794
|
+
back: new _.Vector3(0, 0, -1).applyQuaternion(this.originObject3D.getWorldQuaternion(new _.Quaternion())),
|
|
1795
|
+
left: new _.Vector3(-1, 0, 0).applyQuaternion(this.originObject3D.getWorldQuaternion(new _.Quaternion())),
|
|
1796
|
+
right: new _.Vector3(1, 0, 0).applyQuaternion(this.originObject3D.getWorldQuaternion(new _.Quaternion())),
|
|
1797
|
+
top: new _.Vector3(0, 1, 0).applyQuaternion(this.originObject3D.getWorldQuaternion(new _.Quaternion())),
|
|
1798
|
+
bottom: new _.Vector3(0, -1, 0).applyQuaternion(this.originObject3D.getWorldQuaternion(new _.Quaternion()))
|
|
1799
|
+
}, o = -1, s = "";
|
|
1800
|
+
Object.entries(a).forEach(([e, t]) => {
|
|
1801
|
+
let n = i.dot(t);
|
|
1802
|
+
n > o && (o = n, s = e);
|
|
1803
|
+
});
|
|
1804
|
+
let c = {
|
|
1805
|
+
top: "bottom",
|
|
1806
|
+
bottom: "top",
|
|
1807
|
+
left: "right",
|
|
1808
|
+
right: "left",
|
|
1809
|
+
front: "back",
|
|
1810
|
+
back: "front"
|
|
1811
|
+
};
|
|
1812
|
+
this.scaleMeshes.forEach((e) => {
|
|
1813
|
+
if (!t) {
|
|
1814
|
+
e.visible = !0;
|
|
1815
|
+
return;
|
|
1816
|
+
}
|
|
1817
|
+
let n = e.scalePosition.id, r = c[s];
|
|
1818
|
+
e.visible = n !== s && n !== r;
|
|
1819
|
+
}), this.updateLineConnections(), this.lastCamera && (this.applySphereScaling(this.lastCamera), this.applyLineScaling(this.lastCamera));
|
|
1820
|
+
}
|
|
1821
|
+
applySphereScaling(e) {
|
|
1822
|
+
this.updateMatrixWorld(!0), this.scaleMeshes.forEach((t) => {
|
|
1823
|
+
t.scale.setScalar(P(e, t.scalePosition.handlePosition.clone().applyMatrix4(this.matrixWorld)));
|
|
1824
|
+
});
|
|
1825
|
+
}
|
|
1826
|
+
applyLineScaling(e) {}
|
|
1827
|
+
showLineConnections() {
|
|
1828
|
+
this.lineConnections.forEach((e) => {
|
|
1829
|
+
let t = e.mesh1.visible && e.mesh2.visible;
|
|
1830
|
+
e.line.visible = t;
|
|
1831
|
+
});
|
|
1832
|
+
}
|
|
1833
|
+
hideLineConnections() {
|
|
1834
|
+
this.lineConnections.forEach((e) => {
|
|
1835
|
+
e.line.visible = !1;
|
|
1836
|
+
});
|
|
1837
|
+
}
|
|
1838
|
+
updateLineConnections() {
|
|
1839
|
+
this.lineConnections.forEach((e) => {
|
|
1840
|
+
e.line.scale.set(1, 1, 1), e.line.position.set(0, 0, 0), e.line.rotation.set(0, 0, 0);
|
|
1841
|
+
let t = e.line.geometry.attributes.position;
|
|
1842
|
+
t.setXYZ(0, e.mesh1.position.x, e.mesh1.position.y, e.mesh1.position.z), t.setXYZ(1, e.mesh2.position.x, e.mesh2.position.y, e.mesh2.position.z), t.needsUpdate = !0;
|
|
1843
|
+
let n = e.mesh1.visible && e.mesh2.visible;
|
|
1844
|
+
e.line.visible = n;
|
|
1845
|
+
});
|
|
1846
|
+
}
|
|
1847
|
+
setScaleByCamera(e) {
|
|
1848
|
+
this.lastCamera = e, this.applySphereScaling(e), this.applyLineScaling(e), this.needsInitialScaling && requestAnimationFrame(() => {
|
|
1849
|
+
this.applySphereScaling(e), this.applyLineScaling(e);
|
|
1850
|
+
}), this.needsInitialScaling = !1;
|
|
1851
|
+
}
|
|
1852
|
+
};
|
|
1853
|
+
function Ce() {
|
|
1854
|
+
let e = new _.SphereGeometry(.03, 16, 16), t = new _.MeshBasicMaterial({
|
|
1855
|
+
color: 16776960,
|
|
1856
|
+
side: _.DoubleSide,
|
|
1857
|
+
transparent: !0,
|
|
1858
|
+
opacity: 1,
|
|
1859
|
+
depthTest: !1,
|
|
1860
|
+
depthWrite: !1
|
|
1861
|
+
}), n = new _.Mesh(e, t);
|
|
1862
|
+
n.name = "ScaleHelperSphere", n.renderOrder = k.SCALE_HELPER_SPHERE;
|
|
1863
|
+
let r = new _.SphereGeometry(.12, 16, 16), i = new _.MeshBasicMaterial({
|
|
1864
|
+
transparent: !0,
|
|
1865
|
+
opacity: 0,
|
|
1866
|
+
side: _.DoubleSide,
|
|
1867
|
+
depthTest: !1,
|
|
1868
|
+
depthWrite: !1
|
|
1869
|
+
}), a = new _.Mesh(r, i);
|
|
1870
|
+
return a.name = "ScaleHelperTransparentGroup", a.renderOrder = k.SCALE_HELPER_SPHERE, a.add(n), a;
|
|
1871
|
+
}
|
|
1872
|
+
function X(e, t) {
|
|
1873
|
+
let n = new _.BufferGeometry(), r = [e, t];
|
|
1874
|
+
n.setFromPoints(r);
|
|
1875
|
+
let i = new _.LineBasicMaterial({
|
|
1876
|
+
color: 16776960,
|
|
1877
|
+
opacity: .75,
|
|
1878
|
+
transparent: !0,
|
|
1879
|
+
depthTest: !1,
|
|
1880
|
+
depthWrite: !1
|
|
1881
|
+
}), a = new _.Line(n, i);
|
|
1882
|
+
return a.name = "ScaleHelperSolidLine", a.renderOrder = k.SCALE_HELPER_LINE, a.raycast = () => {}, a;
|
|
1883
|
+
}
|
|
1884
|
+
//#endregion
|
|
1885
|
+
//#region src/shared-utils/Object3DHelper/Controller/ScaleController.ts
|
|
1886
|
+
var we = class extends W {
|
|
1887
|
+
name = "ScaleController";
|
|
1888
|
+
dragGuideLine;
|
|
1889
|
+
currentFacePatch;
|
|
1890
|
+
solidGuide = new G(this.camera, this.container, this.config?.solidGuide ?? {});
|
|
1891
|
+
startInfo;
|
|
1892
|
+
constructor(...e) {
|
|
1893
|
+
super(...e);
|
|
1894
|
+
let t = this.show.bind(this), n = this.hide.bind(this), r = () => {
|
|
1895
|
+
"update" in this.helperObject3D && typeof this.helperObject3D.update == "function" && this.helperObject3D.update(this.camera), this.isDragging && this.updateDragGuideLineScale(), this.render();
|
|
1896
|
+
};
|
|
1897
|
+
r(), this.domEvents.addEventListener(this.helperObject3D, "mousedown", this.dragStart), document.addEventListener("mousemove", this.dragging), document.addEventListener("mouseup", this.dragEnd), this.domEvents.addEventListener(this.helperObject3D, "touchstart", this.dragStart), document.addEventListener("touchmove", this.dragging), document.addEventListener("touchend", this.dragEnd), this.hooks.on("rotateStart", n), this.hooks.on("rotateEnd", t), this.hooks.on("moveStart", () => {
|
|
1898
|
+
n(), this.removeFaceMesh();
|
|
1899
|
+
}), this.hooks.on("moveEnd", t), this.hooks.on("moveByMouseEnable", n), this.hooks.on("moveByMouseDisable", t), this.hooks.on("updateOtherHelpers", (e) => {
|
|
1900
|
+
"update" in this.helperObject3D && typeof this.helperObject3D.update == "function" && this.helperObject3D.update(e.camera), this.isDragging && this.updateDragGuideLineScale(), this.render();
|
|
1901
|
+
}), this.cameraHooks.on("cameraUpdate", r), this.disposers.push(() => {
|
|
1902
|
+
if (this.domEvents.removeEventListener(this.helperObject3D, "mousedown", this.dragStart), document.removeEventListener("mousemove", this.dragging), document.removeEventListener("mouseup", this.dragEnd), this.domEvents.removeEventListener(this.helperObject3D, "touchstart", this.dragStart), document.removeEventListener("touchmove", this.dragging), document.removeEventListener("touchend", this.dragEnd), this.hooks.off("rotateStart", n), this.hooks.off("rotateEnd", t), this.hooks.off("moveStart", n), this.hooks.off("moveEnd", t), this.hooks.off("moveByMouseEnable", n), this.hooks.off("moveByMouseDisable", t), this.hooks.off("updateOtherHelpers"), this.cameraHooks.off("cameraUpdate", r), this.currentFacePatch) {
|
|
1903
|
+
this.scene.remove(this.currentFacePatch), this.currentFacePatch.geometry.dispose();
|
|
1904
|
+
let e = this.currentFacePatch.material;
|
|
1905
|
+
Array.isArray(e) ? e.forEach((e) => e.dispose()) : e.dispose(), this.currentFacePatch = void 0;
|
|
1906
|
+
}
|
|
1907
|
+
});
|
|
1908
|
+
}
|
|
1909
|
+
initialHelperPosition() {
|
|
1910
|
+
this.helperObject3D.initialPosition();
|
|
1911
|
+
let e = this;
|
|
1912
|
+
e.offHoverListener && e.offHoverListener(), e.offHoverListener = this.hoverListener(this.helperObject3D.scaleMeshes);
|
|
1913
|
+
}
|
|
1914
|
+
dragStart = (e) => {
|
|
1915
|
+
if (this.isDragging) return;
|
|
1916
|
+
this.isDragging = !0;
|
|
1917
|
+
let { intersect: t } = e, n = this.camera.position, r = new Set(this.helperObject3D.scaleMeshes.map((e) => e.uuid)), i = t.object;
|
|
1918
|
+
for (; i.parent && !r.has(i.uuid);) i = i.parent;
|
|
1919
|
+
let a = i, o = a.scalePosition.basePosition.clone(), s = a.scalePosition.handlePosition.clone(), c = s.clone().sub(o).clone(), u = new _.Line3(o, o.clone().add(c.normalize().multiplyScalar(5)));
|
|
1920
|
+
u.applyMatrix4(this.helperObject3D.matrixWorld);
|
|
1921
|
+
let d = new _.Raycaster(n, t.point.clone().sub(n)), f = l({
|
|
1922
|
+
raycaster: d,
|
|
1923
|
+
line: u
|
|
1924
|
+
});
|
|
1925
|
+
this.startInfo = {
|
|
1926
|
+
line: u,
|
|
1927
|
+
scaleStartPoint: f,
|
|
1928
|
+
draggingObject: a
|
|
1929
|
+
}, this.helperObject3D.scaleMeshes.forEach((e) => {
|
|
1930
|
+
e.uuid !== a.uuid && (e.visible = !1);
|
|
1931
|
+
}), "hideLineConnections" in this.helperObject3D && typeof this.helperObject3D.hideLineConnections == "function" && this.helperObject3D.hideLineConnections();
|
|
1932
|
+
try {
|
|
1933
|
+
this.originObject3D.updateMatrixWorld(!0), this.helperObject3D.updateMatrixWorld(!0);
|
|
1934
|
+
let e = this.getObjectWorldCenter(), t = s.clone().applyMatrix4(this.helperObject3D.matrixWorld).clone().sub(e).normalize(), n = e, r = this.solidGuide.createSolidLine(n, t, {
|
|
1935
|
+
color: 16777215,
|
|
1936
|
+
renderOrder: k.DRAG_GUIDE_LINE
|
|
1937
|
+
});
|
|
1938
|
+
this.isRectangleWithEdgeMesh() || this.scene.add(r), this.dragGuideLine = r, this.addFaceMesh();
|
|
1939
|
+
} catch {}
|
|
1940
|
+
a.visible = !0, this.hooks.emit("scaleStart");
|
|
1941
|
+
};
|
|
1942
|
+
getObjectWorldCenter() {
|
|
1943
|
+
if ("worldCenter" in this.originObject3D && typeof this.originObject3D.worldCenter == "object") return this.originObject3D.worldCenter.clone();
|
|
1944
|
+
let e = u(this.originObject3D);
|
|
1945
|
+
return e ? e.getCenter(new _.Vector3()) : this.originObject3D.getWorldPosition(new _.Vector3());
|
|
1946
|
+
}
|
|
1947
|
+
getMoveMeshes() {
|
|
1948
|
+
let e = [], t = this.helperObject3D.parent?.children?.find((e) => e.name === "MoveHelper")?.children ?? [];
|
|
1949
|
+
for (let n of t) n.name === "ArrowGroup" ? e.push(...n.children) : n.name === "center-plane-handle" && e.push(n);
|
|
1950
|
+
return e;
|
|
1951
|
+
}
|
|
1952
|
+
addHoverFaceMesh(e) {
|
|
1953
|
+
if (this.isMoveControllerDragging() || (this.removeFaceMesh(), !this.originObject3D.parent?.getWorldFacesGeometry)) return;
|
|
1954
|
+
let t = this.originObject3D.parent?.getWorldFacesGeometry(), n = this.helperObject3D.scaleMeshes, r = this.getMoveMeshes();
|
|
1955
|
+
if (e.intersectObjects(r, !1), e.intersectObjects(r, !1).length > 0) return;
|
|
1956
|
+
let i = null, a = null;
|
|
1957
|
+
for (let t of n) {
|
|
1958
|
+
if (!t.visible) continue;
|
|
1959
|
+
let n = e.intersectObject(t, !1);
|
|
1960
|
+
if (n && n.length > 0) {
|
|
1961
|
+
i = t, a = n[0].point.clone();
|
|
1962
|
+
break;
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
if (i && a && Array.isArray(t) && t.length > 0) {
|
|
1966
|
+
let e = null, n = Infinity;
|
|
1967
|
+
for (let r of t) {
|
|
1968
|
+
if (!r.vertices || r.vertices.length < 3) continue;
|
|
1969
|
+
let t = new _.Vector3();
|
|
1970
|
+
for (let e of r.vertices) t.add(e);
|
|
1971
|
+
t.divideScalar(r.vertices.length);
|
|
1972
|
+
let i = a.distanceTo(t);
|
|
1973
|
+
i < n && (n = i, e = r);
|
|
1974
|
+
}
|
|
1975
|
+
e && this.addFacePatch(e);
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
addFaceMesh() {
|
|
1979
|
+
if (this.isMoveControllerDragging()) return;
|
|
1980
|
+
let e = this.startInfo?.draggingObject;
|
|
1981
|
+
if (!e || !this.originObject3D.parent?.getWorldFacesGeometry) return;
|
|
1982
|
+
let t = this.originObject3D.parent?.getWorldFacesGeometry();
|
|
1983
|
+
if (t && t.length > 0) {
|
|
1984
|
+
let n = e.getWorldPosition(new _.Vector3()), r = Infinity, i = t[0];
|
|
1985
|
+
for (let e of t) {
|
|
1986
|
+
let t = e.center, a;
|
|
1987
|
+
if (t instanceof _.Vector3) a = t;
|
|
1988
|
+
else if (Array.isArray(t) && t.length === 3) a = new _.Vector3(t[0], t[1], t[2]);
|
|
1989
|
+
else continue;
|
|
1990
|
+
let o = a.distanceTo(n);
|
|
1991
|
+
o < r && (r = o, i = e);
|
|
1992
|
+
}
|
|
1993
|
+
this.addFacePatch(i);
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
removeFaceMesh() {
|
|
1997
|
+
if (this.currentFacePatch) {
|
|
1998
|
+
this.scene.remove(this.currentFacePatch), this.currentFacePatch.geometry.dispose();
|
|
1999
|
+
let e = this.currentFacePatch.material;
|
|
2000
|
+
Array.isArray(e) ? e.forEach((e) => e.dispose()) : e.dispose(), this.currentFacePatch = void 0;
|
|
2001
|
+
}
|
|
2002
|
+
}
|
|
2003
|
+
dragging = (e) => {
|
|
2004
|
+
let t = "touches" in e ? e.touches[0].clientX : e.x, n = "touches" in e ? e.touches[0].clientY : e.y, r = O(this.camera, {
|
|
2005
|
+
x: t,
|
|
2006
|
+
y: n
|
|
2007
|
+
}, this.container), i = this.isMoveControllerDragging();
|
|
2008
|
+
if (!this.isDragging && !i && r) this.addHoverFaceMesh(r);
|
|
2009
|
+
else if (this.startInfo) return r ? (this.scale(r), this.updateDragGuideLineDirection(), this.removeFaceMesh(), this.addFaceMesh(), !1) : this.dragEnd();
|
|
2010
|
+
};
|
|
2011
|
+
setScale(e) {
|
|
2012
|
+
let t = 1, n = 1, r = 1;
|
|
2013
|
+
typeof e == "number" ? (t = e, n = e, r = e) : typeof e == "object" && (t = e.x ?? 1, n = e.y ?? 1, r = e.z ?? 1);
|
|
2014
|
+
let i = new _.Vector3(t, n, r);
|
|
2015
|
+
this.hooks.emit("wantToScale", i) || (this.originObject3D.scale.copy(i), this.internalHooks.emit("setObjectScale", i), this.hooks.emit("scale", i), this.render());
|
|
2016
|
+
}
|
|
2017
|
+
isRectangleWithEdgeMesh = () => this.originObject3D.name === "RectangleWithEdgeMesh" && [
|
|
2018
|
+
"topleft",
|
|
2019
|
+
"topright",
|
|
2020
|
+
"bottomleft",
|
|
2021
|
+
"bottomright"
|
|
2022
|
+
].includes(this.startInfo.draggingObject.scalePosition.id);
|
|
2023
|
+
scale = (e) => {
|
|
2024
|
+
if (!this.startInfo) return;
|
|
2025
|
+
let { line: t, scaleStartPoint: n, draggingObject: r } = this.startInfo, { scalePosition: i } = r;
|
|
2026
|
+
if (this.isRectangleWithEdgeMesh()) {
|
|
2027
|
+
let o = this.originObject3D, s = o.geometry.attributes.position;
|
|
2028
|
+
if (!s) return [];
|
|
2029
|
+
let c = [], u = s.count;
|
|
2030
|
+
for (let e = 0; e < u; e++) {
|
|
2031
|
+
let t = new _.Vector3().fromBufferAttribute(s, e);
|
|
2032
|
+
o.updateMatrixWorld(!0), t.applyMatrix4(o.matrixWorld), c.push(t);
|
|
2033
|
+
}
|
|
2034
|
+
let d = c.slice(0, 4);
|
|
2035
|
+
if (!d || d.length < 4) return;
|
|
2036
|
+
let f = a(d).normalize(), p = new _.Plane().setFromNormalAndCoplanarPoint(f, d[0]), m = Math.abs(e.ray.direction.dot(f)) < .1, h;
|
|
2037
|
+
if (m) h = l({
|
|
2038
|
+
raycaster: e,
|
|
2039
|
+
line: t,
|
|
2040
|
+
clampToLine: !1
|
|
2041
|
+
}).applyMatrix4(new _.Matrix4().copy(this.helperObject3D.matrixWorld.clone().invert()));
|
|
2042
|
+
else {
|
|
2043
|
+
let t = new _.Vector3();
|
|
2044
|
+
if (e.ray.intersectPlane(p, t), !t) return;
|
|
2045
|
+
let n = new _.Matrix4().copy(this.helperObject3D.matrixWorld).invert();
|
|
2046
|
+
h = t.clone().applyMatrix4(n);
|
|
2047
|
+
}
|
|
2048
|
+
let g = n.clone().applyMatrix4(new _.Matrix4().copy(this.helperObject3D.matrixWorld).invert());
|
|
2049
|
+
this.config?.scaleCallback?.({
|
|
2050
|
+
intersectPoint: h,
|
|
2051
|
+
scalePosition: i,
|
|
2052
|
+
offset: h.clone().sub(g),
|
|
2053
|
+
updateHandlePositions: () => this.helperObject3D.updateHandlePositions()
|
|
2054
|
+
}) !== !1 && r.position.copy(h), this.hooks.emit("scale", new _.Vector3(1, 1, 1));
|
|
2055
|
+
return;
|
|
2056
|
+
}
|
|
2057
|
+
let o = l({
|
|
2058
|
+
raycaster: e,
|
|
2059
|
+
line: t,
|
|
2060
|
+
clampToLine: !1
|
|
2061
|
+
});
|
|
2062
|
+
o.applyMatrix4(new _.Matrix4().copy(this.helperObject3D.matrixWorld.clone().invert())), this.config?.scaleCallback?.({
|
|
2063
|
+
intersectPoint: o,
|
|
2064
|
+
scalePosition: i,
|
|
2065
|
+
offset: o.clone().sub(n),
|
|
2066
|
+
updateHandlePositions: () => this.helperObject3D.updateHandlePositions()
|
|
2067
|
+
}) !== !1 && r.position.copy(o.clone()), this.hooks.emit("scale", new _.Vector3(1, 1, 1));
|
|
2068
|
+
};
|
|
2069
|
+
dragEnd = () => {
|
|
2070
|
+
if (this.isDragging) {
|
|
2071
|
+
if (this.startInfo = void 0, this.isDragging = !1, this.helperObject3D.scaleMeshes.forEach((e) => {
|
|
2072
|
+
e.visible = !0;
|
|
2073
|
+
}), "showLineConnections" in this.helperObject3D && typeof this.helperObject3D.showLineConnections == "function" && this.helperObject3D.showLineConnections(), this.dragGuideLine) {
|
|
2074
|
+
this.scene.remove(this.dragGuideLine), this.dragGuideLine.geometry.dispose();
|
|
2075
|
+
let e = this.dragGuideLine.material;
|
|
2076
|
+
Array.isArray(e) ? e.forEach((e) => e.dispose()) : e.dispose(), this.dragGuideLine = void 0;
|
|
2077
|
+
}
|
|
2078
|
+
this.removeFaceMesh(), this.internalHooks.emit("initialHelperPosition"), this.hooks.emit("scaleEnd");
|
|
2079
|
+
}
|
|
2080
|
+
};
|
|
2081
|
+
updateDragGuideLineDirection() {
|
|
2082
|
+
if (!this.dragGuideLine || !this.startInfo) return;
|
|
2083
|
+
this.originObject3D.updateMatrixWorld(!0), this.helperObject3D.updateMatrixWorld(!0);
|
|
2084
|
+
let e = this.startInfo.line.delta(new _.Vector3()).normalize(), t = this.getObjectWorldCenter();
|
|
2085
|
+
this.solidGuide.updateSolidLine(this.dragGuideLine, t, e);
|
|
2086
|
+
}
|
|
2087
|
+
updateDragGuideLineScale() {
|
|
2088
|
+
if (!this.dragGuideLine || !this.startInfo) return;
|
|
2089
|
+
let { scalePosition: e } = this.startInfo.draggingObject, t = e.handlePosition.clone().applyMatrix4(this.helperObject3D.matrixWorld), n = e.basePosition.clone().applyMatrix4(this.helperObject3D.matrixWorld), r = t, i = t.clone().sub(n).normalize();
|
|
2090
|
+
this.solidGuide.updateSolidLine(this.dragGuideLine, r, i);
|
|
2091
|
+
}
|
|
2092
|
+
isMoveControllerDragging() {
|
|
2093
|
+
return this.otherControllers?.moveController?.getIsDragging() ?? !1;
|
|
2094
|
+
}
|
|
2095
|
+
addFacePatch(e) {
|
|
2096
|
+
if (this.currentFacePatch) {
|
|
2097
|
+
this.scene.remove(this.currentFacePatch), this.currentFacePatch.geometry.dispose();
|
|
2098
|
+
let e = this.currentFacePatch.material;
|
|
2099
|
+
Array.isArray(e) ? e.forEach((e) => e.dispose()) : e.dispose(), this.currentFacePatch = void 0;
|
|
2100
|
+
}
|
|
2101
|
+
if (!e.vertices || e.vertices.length < 3) {
|
|
2102
|
+
console.warn("Face has no vertices, cannot create patch");
|
|
2103
|
+
return;
|
|
2104
|
+
}
|
|
2105
|
+
let t = new _.BufferGeometry();
|
|
2106
|
+
if (e.vertices.length === 4) {
|
|
2107
|
+
let n = new Float32Array([
|
|
2108
|
+
e.vertices[0].x,
|
|
2109
|
+
e.vertices[0].y,
|
|
2110
|
+
e.vertices[0].z,
|
|
2111
|
+
e.vertices[1].x,
|
|
2112
|
+
e.vertices[1].y,
|
|
2113
|
+
e.vertices[1].z,
|
|
2114
|
+
e.vertices[2].x,
|
|
2115
|
+
e.vertices[2].y,
|
|
2116
|
+
e.vertices[2].z,
|
|
2117
|
+
e.vertices[0].x,
|
|
2118
|
+
e.vertices[0].y,
|
|
2119
|
+
e.vertices[0].z,
|
|
2120
|
+
e.vertices[2].x,
|
|
2121
|
+
e.vertices[2].y,
|
|
2122
|
+
e.vertices[2].z,
|
|
2123
|
+
e.vertices[3].x,
|
|
2124
|
+
e.vertices[3].y,
|
|
2125
|
+
e.vertices[3].z
|
|
2126
|
+
]);
|
|
2127
|
+
t.setAttribute("position", new _.BufferAttribute(n, 3)), t.setIndex([
|
|
2128
|
+
0,
|
|
2129
|
+
1,
|
|
2130
|
+
2,
|
|
2131
|
+
3,
|
|
2132
|
+
4,
|
|
2133
|
+
5
|
|
2134
|
+
]);
|
|
2135
|
+
} else {
|
|
2136
|
+
let n = new Float32Array(e.vertices.length * 3), r = new Uint16Array(e.vertices.length);
|
|
2137
|
+
e.vertices.forEach((e, t) => {
|
|
2138
|
+
n[t * 3] = e.x, n[t * 3 + 1] = e.y, n[t * 3 + 2] = e.z, r[t] = t;
|
|
2139
|
+
}), t.setAttribute("position", new _.BufferAttribute(n, 3)), t.setIndex(new _.BufferAttribute(r, 1));
|
|
2140
|
+
}
|
|
2141
|
+
t.computeVertexNormals();
|
|
2142
|
+
let n = new _.MeshBasicMaterial({
|
|
2143
|
+
color: 16777215,
|
|
2144
|
+
side: _.DoubleSide,
|
|
2145
|
+
depthTest: !1,
|
|
2146
|
+
depthWrite: !1,
|
|
2147
|
+
transparent: !0,
|
|
2148
|
+
opacity: .45
|
|
2149
|
+
}), r = new _.Mesh(t, n);
|
|
2150
|
+
return r.renderOrder = k.DRAG_FACE_PATCH, this.scene.add(r), this.currentFacePatch = r, this.render(), r;
|
|
2151
|
+
}
|
|
2152
|
+
};
|
|
2153
|
+
//#endregion
|
|
2154
|
+
//#region src/shared-utils/threex/domevents/index.js
|
|
2155
|
+
function Z(e, t) {
|
|
2156
|
+
this._camera = e || null, this._domElement = t || document, this._raycaster = new _.Raycaster(), this._selected = null, this._boundObjs = {};
|
|
2157
|
+
var n = this;
|
|
2158
|
+
this._$onClick = function() {
|
|
2159
|
+
n._onClick.apply(n, arguments);
|
|
2160
|
+
}, this._$onDblClick = function() {
|
|
2161
|
+
n._onDblClick.apply(n, arguments);
|
|
2162
|
+
}, this._$onMouseMove = function() {
|
|
2163
|
+
n._onMouseMove.apply(n, arguments);
|
|
2164
|
+
}, this._$onMouseDown = function() {
|
|
2165
|
+
n._onMouseDown.apply(n, arguments);
|
|
2166
|
+
}, this._$onMouseUp = function() {
|
|
2167
|
+
n._onMouseUp.apply(n, arguments);
|
|
2168
|
+
}, this._$onTouchMove = function() {
|
|
2169
|
+
n._onTouchMove.apply(n, arguments);
|
|
2170
|
+
}, this._$onTouchStart = function() {
|
|
2171
|
+
n._onTouchStart.apply(n, arguments);
|
|
2172
|
+
}, this._$onTouchEnd = function() {
|
|
2173
|
+
n._onTouchEnd.apply(n, arguments);
|
|
2174
|
+
}, this._$onContextmenu = function() {
|
|
2175
|
+
n._onContextmenu.apply(n, arguments);
|
|
2176
|
+
}, this._domElement.addEventListener("click", this._$onClick, !1), this._domElement.addEventListener("dblclick", this._$onDblClick, !1), this._domElement.addEventListener("mousemove", this._$onMouseMove, !1), this._domElement.addEventListener("mousedown", this._$onMouseDown, !1), this._domElement.addEventListener("mouseup", this._$onMouseUp, !1), this._domElement.addEventListener("touchmove", this._$onTouchMove, !1), this._domElement.addEventListener("touchstart", this._$onTouchStart, !1), this._domElement.addEventListener("touchend", this._$onTouchEnd, !1), this._domElement.addEventListener("contextmenu", this._$onContextmenu, !1);
|
|
2177
|
+
}
|
|
2178
|
+
Z.prototype.destroy = function() {
|
|
2179
|
+
this._domElement.removeEventListener("click", this._$onClick, !1), this._domElement.removeEventListener("dblclick", this._$onDblClick, !1), this._domElement.removeEventListener("mousemove", this._$onMouseMove, !1), this._domElement.removeEventListener("mousedown", this._$onMouseDown, !1), this._domElement.removeEventListener("mouseup", this._$onMouseUp, !1), this._domElement.removeEventListener("touchmove", this._$onTouchMove, !1), this._domElement.removeEventListener("touchstart", this._$onTouchStart, !1), this._domElement.removeEventListener("touchend", this._$onTouchEnd, !1), this._domElement.removeEventListener("contextmenu", this._$onContextmenu, !1);
|
|
2180
|
+
}, Z.eventNames = [
|
|
2181
|
+
"click",
|
|
2182
|
+
"dblclick",
|
|
2183
|
+
"mouseover",
|
|
2184
|
+
"mouseout",
|
|
2185
|
+
"mousemove",
|
|
2186
|
+
"mousedown",
|
|
2187
|
+
"mouseup",
|
|
2188
|
+
"contextmenu",
|
|
2189
|
+
"touchstart",
|
|
2190
|
+
"touchend"
|
|
2191
|
+
], Z.prototype._getRelativeMouseXY = function(e) {
|
|
2192
|
+
var t = e.target || e.srcElement;
|
|
2193
|
+
t.nodeType === 3 && (t = t.parentNode);
|
|
2194
|
+
var n = {
|
|
2195
|
+
x: 0,
|
|
2196
|
+
y: 0
|
|
2197
|
+
}, r = t, i = getComputedStyle(r, null);
|
|
2198
|
+
n.y += parseInt(i.getPropertyValue("padding-top"), 10), n.x += parseInt(i.getPropertyValue("padding-left"), 10);
|
|
2199
|
+
do
|
|
2200
|
+
n.x += r.offsetLeft, n.y += r.offsetTop, i = getComputedStyle(r, null), n.x += parseInt(i.getPropertyValue("border-left-width"), 10), n.y += parseInt(i.getPropertyValue("border-top-width"), 10);
|
|
2201
|
+
while (r = r.offsetParent);
|
|
2202
|
+
var a = {
|
|
2203
|
+
width: t === window ? window.innerWidth : t.offsetWidth,
|
|
2204
|
+
height: t === window ? window.innerHeight : t.offsetHeight
|
|
2205
|
+
};
|
|
2206
|
+
return {
|
|
2207
|
+
x: Number((e.pageX - n.x) / a.width) * 2 - 1,
|
|
2208
|
+
y: -((e.pageY - n.y) / a.height) * 2 + 1
|
|
2209
|
+
};
|
|
2210
|
+
}, Z.prototype._objectCtxInit = function(e) {
|
|
2211
|
+
e._3xDomEvent = {};
|
|
2212
|
+
}, Z.prototype._objectCtxDeinit = function(e) {
|
|
2213
|
+
delete e._3xDomEvent;
|
|
2214
|
+
}, Z.prototype._objectCtxIsInit = function(e) {
|
|
2215
|
+
return !!e._3xDomEvent;
|
|
2216
|
+
}, Z.prototype._objectCtxGet = function(e) {
|
|
2217
|
+
return e._3xDomEvent;
|
|
2218
|
+
}, Z.prototype.camera = function(e) {
|
|
2219
|
+
return e && (this._camera = e), this._camera;
|
|
2220
|
+
}, Z.prototype.bind = function(e, t, n, r) {
|
|
2221
|
+
console.assert(Z.eventNames.indexOf(t) !== -1, "not available events:" + t), this._objectCtxIsInit(e) || this._objectCtxInit(e);
|
|
2222
|
+
var i = this._objectCtxGet(e);
|
|
2223
|
+
i[t + "Handlers"] || (i[t + "Handlers"] = []), i[t + "Handlers"].push({
|
|
2224
|
+
callback: n,
|
|
2225
|
+
useCapture: r
|
|
2226
|
+
}), this._boundObjs[t] === void 0 && (this._boundObjs[t] = []), this._boundObjs[t].push(e);
|
|
2227
|
+
}, Z.prototype.addEventListener = Z.prototype.bind, Z.prototype.unbind = function(e, t, n, r) {
|
|
2228
|
+
console.assert(Z.eventNames.indexOf(t) !== -1, "not available events:" + t), this._objectCtxIsInit(e) || this._objectCtxInit(e);
|
|
2229
|
+
var i = this._objectCtxGet(e);
|
|
2230
|
+
i[t + "Handlers"] || (i[t + "Handlers"] = []);
|
|
2231
|
+
for (var a = i[t + "Handlers"], o = 0; o < a.length; o++) {
|
|
2232
|
+
var s = a[o];
|
|
2233
|
+
if (n == s.callback && r == s.useCapture) {
|
|
2234
|
+
a.splice(o, 1);
|
|
2235
|
+
break;
|
|
2236
|
+
}
|
|
2237
|
+
}
|
|
2238
|
+
var c = this._boundObjs[t].indexOf(e);
|
|
2239
|
+
this._boundObjs[t].splice(c, 1);
|
|
2240
|
+
}, Z.prototype.removeEventListener = Z.prototype.unbind, Z.prototype._bound = function(e, t) {
|
|
2241
|
+
var n = this._objectCtxGet(t);
|
|
2242
|
+
return n ? !!n[e + "Handlers"] : !1;
|
|
2243
|
+
}, Z.prototype._isObjectVisible = function(e) {
|
|
2244
|
+
for (var t = e; t;) {
|
|
2245
|
+
if (t.visible === !1) return !1;
|
|
2246
|
+
t = t.parent;
|
|
2247
|
+
}
|
|
2248
|
+
return !0;
|
|
2249
|
+
}, Z.prototype._filterVisibleObjects = function(e) {
|
|
2250
|
+
var t = this;
|
|
2251
|
+
return e.filter(function(e) {
|
|
2252
|
+
return t._isObjectVisible(e);
|
|
2253
|
+
});
|
|
2254
|
+
}, Z.prototype._onMove = function(e, t, n, r) {
|
|
2255
|
+
var i = this._boundObjs[e];
|
|
2256
|
+
if (i !== void 0 && i.length !== 0) {
|
|
2257
|
+
var a = this._filterVisibleObjects(i);
|
|
2258
|
+
if (a.length !== 0) {
|
|
2259
|
+
var o = new _.Vector2();
|
|
2260
|
+
o.set(t, n), this._raycaster.setFromCamera(o, this._camera);
|
|
2261
|
+
var s = this._raycaster.intersectObjects(a), c = this;
|
|
2262
|
+
s = s.filter(function(e) {
|
|
2263
|
+
return c._isObjectVisible(e.object);
|
|
2264
|
+
}), s.sort(function(e, t) {
|
|
2265
|
+
var n = e.object.renderOrder || 0, r = t.object.renderOrder || 0;
|
|
2266
|
+
return n === r ? e.distance - t.distance : r - n;
|
|
2267
|
+
});
|
|
2268
|
+
var l = this._selected;
|
|
2269
|
+
if (s.length > 0) {
|
|
2270
|
+
var u, d, f, p = s[0], m = p.object;
|
|
2271
|
+
this._selected = m, f = this._bound("mousemove", m), l != m && (u = this._bound("mouseover", m), d = l && this._bound("mouseout", l));
|
|
2272
|
+
} else d = l && this._bound("mouseout", l), this._selected = null;
|
|
2273
|
+
f && this._notify("mousemove", m, r, p), u && this._notify("mouseover", m, r, p), d && this._notify("mouseout", l, r, p);
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
}, Z.prototype._onEvent = function(e, t, n, r) {
|
|
2277
|
+
var i = this._boundObjs[e];
|
|
2278
|
+
if (i !== void 0 && i.length !== 0) {
|
|
2279
|
+
var a = this._filterVisibleObjects(i);
|
|
2280
|
+
if (a.length !== 0) {
|
|
2281
|
+
var o = new _.Vector2();
|
|
2282
|
+
o.set(t, n), this._raycaster.setFromCamera(o, this._camera);
|
|
2283
|
+
var s = this._raycaster.intersectObjects(a, !0), c = this;
|
|
2284
|
+
if (s = s.filter(function(e) {
|
|
2285
|
+
return c._isObjectVisible(e.object);
|
|
2286
|
+
}), s.sort(function(e, t) {
|
|
2287
|
+
var n = e.object.renderOrder || 0, r = t.object.renderOrder || 0;
|
|
2288
|
+
return n === r ? e.distance - t.distance : r - n;
|
|
2289
|
+
}), s.length !== 0) {
|
|
2290
|
+
for (var l = s[0], u = l.object, d = this._objectCtxGet(u), f = u.parent; d === void 0 && f;) d = this._objectCtxGet(f), f = f.parent;
|
|
2291
|
+
d && this._notify(e, u, r, l);
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
}, Z.prototype._notify = function(e, t, n, r) {
|
|
2296
|
+
var i = this._objectCtxGet(t), a = i ? i[e + "Handlers"] : null;
|
|
2297
|
+
if (!i || !a || a.length === 0) t.parent && this._notify(e, t.parent, n, r);
|
|
2298
|
+
else for (var a = i[e + "Handlers"], o = 0; o < a.length; o++) {
|
|
2299
|
+
var s = a[o], c = !0;
|
|
2300
|
+
s.callback({
|
|
2301
|
+
type: e,
|
|
2302
|
+
target: t,
|
|
2303
|
+
origDomEvent: n,
|
|
2304
|
+
intersect: r,
|
|
2305
|
+
stopPropagation: function() {
|
|
2306
|
+
c = !1;
|
|
2307
|
+
}
|
|
2308
|
+
}), c && s.useCapture === !1 && t.parent && this._notify(e, t.parent, n, r);
|
|
2309
|
+
}
|
|
2310
|
+
}, Z.prototype._onMouseDown = function(e) {
|
|
2311
|
+
return this._onMouseEvent("mousedown", e);
|
|
2312
|
+
}, Z.prototype._onMouseUp = function(e) {
|
|
2313
|
+
return this._onMouseEvent("mouseup", e);
|
|
2314
|
+
}, Z.prototype._onMouseEvent = function(e, t) {
|
|
2315
|
+
var n = this._getRelativeMouseXY(t);
|
|
2316
|
+
this._onEvent(e, n.x, n.y, t);
|
|
2317
|
+
}, Z.prototype._onMouseMove = function(e) {
|
|
2318
|
+
var t = this._getRelativeMouseXY(e);
|
|
2319
|
+
this._onMove("mousemove", t.x, t.y, e), this._onMove("mouseover", t.x, t.y, e), this._onMove("mouseout", t.x, t.y, e);
|
|
2320
|
+
}, Z.prototype._onClick = function(e) {
|
|
2321
|
+
this._onMouseEvent("click", e);
|
|
2322
|
+
}, Z.prototype._onDblClick = function(e) {
|
|
2323
|
+
this._onMouseEvent("dblclick", e);
|
|
2324
|
+
}, Z.prototype._onContextmenu = function(e) {
|
|
2325
|
+
this._onMouseEvent("contextmenu", e);
|
|
2326
|
+
}, Z.prototype._onTouchStart = function(e) {
|
|
2327
|
+
return this._onTouchEvent("touchstart", e);
|
|
2328
|
+
}, Z.prototype._onTouchEnd = function(e) {
|
|
2329
|
+
return this._onTouchEvent("touchend", e);
|
|
2330
|
+
}, Z.prototype._onTouchMove = function(e) {
|
|
2331
|
+
if (e.touches.length == 1) {
|
|
2332
|
+
var t = Number(e.touches[0].pageX / window.innerWidth) * 2 - 1, n = -(e.touches[0].pageY / window.innerHeight) * 2 + 1;
|
|
2333
|
+
this._onMove("mousemove", t, n, e), this._onMove("mouseover", t, n, e), this._onMove("mouseout", t, n, e);
|
|
2334
|
+
}
|
|
2335
|
+
}, Z.prototype._onTouchEvent = function(e, t) {
|
|
2336
|
+
var n = t.touches;
|
|
2337
|
+
if (n.length == 0 && (n = t.changedTouches), n.length == 1) {
|
|
2338
|
+
var r = Number(n[0].pageX / window.innerWidth) * 2 - 1, i = -(n[0].pageY / window.innerHeight) * 2 + 1;
|
|
2339
|
+
this._onEvent(e, r, i, t);
|
|
2340
|
+
}
|
|
2341
|
+
};
|
|
2342
|
+
//#endregion
|
|
2343
|
+
//#region src/Object3DHelperPlugin/Controller.ts
|
|
2344
|
+
var Q = "Object3DHelperPlugin", $ = Q, Te = () => {
|
|
2345
|
+
console.error(`${$} is disposed`);
|
|
2346
|
+
}, Ee = () => {
|
|
2347
|
+
console.warn(`${$} is disabled`);
|
|
2348
|
+
}, De = () => {
|
|
2349
|
+
console.error(`${$} is disabled`);
|
|
2350
|
+
}, Oe = class extends m {
|
|
2351
|
+
name = Q;
|
|
2352
|
+
state = {
|
|
2353
|
+
visible: !0,
|
|
2354
|
+
enabled: !0,
|
|
2355
|
+
disposed: !1
|
|
2356
|
+
};
|
|
2357
|
+
objectHelperMap = /* @__PURE__ */ new Map();
|
|
2358
|
+
css3DObjectParentMap = /* @__PURE__ */ new Map();
|
|
2359
|
+
css3DObjectModeMap = /* @__PURE__ */ new Map();
|
|
2360
|
+
css3DRender;
|
|
2361
|
+
constructor(e) {
|
|
2362
|
+
super(e), this.five = e, this.css3DRender = new p(this.five.scene);
|
|
2363
|
+
}
|
|
2364
|
+
async show(e) {
|
|
2365
|
+
this.setState({ visible: !0 }, e);
|
|
2366
|
+
}
|
|
2367
|
+
async hide(e) {
|
|
2368
|
+
this.setState({ visible: !1 }, e);
|
|
2369
|
+
}
|
|
2370
|
+
enable(e) {
|
|
2371
|
+
this.setState({ enabled: !0 }, e);
|
|
2372
|
+
}
|
|
2373
|
+
disable(e) {
|
|
2374
|
+
this.setState({ enabled: !1 }, e);
|
|
2375
|
+
}
|
|
2376
|
+
dispose() {
|
|
2377
|
+
this.setState({ disposed: !0 });
|
|
2378
|
+
}
|
|
2379
|
+
setState(e, t) {
|
|
2380
|
+
if (this.state.disposed) return Te();
|
|
2381
|
+
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0) return De();
|
|
2382
|
+
let n = { ...this.state };
|
|
2383
|
+
this.state = {
|
|
2384
|
+
...this.state,
|
|
2385
|
+
...e
|
|
2386
|
+
}, e.disposed !== void 0 && e.disposed !== n.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== n.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== n.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", {
|
|
2387
|
+
state: this.state,
|
|
2388
|
+
prevState: n
|
|
2389
|
+
});
|
|
2390
|
+
}
|
|
2391
|
+
getObject3DHelper(e) {
|
|
2392
|
+
return this.objectHelperMap.get(e);
|
|
2393
|
+
}
|
|
2394
|
+
addObject3DHelper(r, i = {}) {
|
|
2395
|
+
if (!r) {
|
|
2396
|
+
console.error("Object3D is undefined");
|
|
2397
|
+
return;
|
|
2398
|
+
}
|
|
2399
|
+
if (this.objectHelperMap.has(r)) {
|
|
2400
|
+
console.warn(`Object3DHelperPlugin: object3D ${r.name} is already has helper`);
|
|
2401
|
+
return;
|
|
2402
|
+
}
|
|
2403
|
+
let a = new _e(), o = [], s = this.five.getElement()?.parentElement, c = this.five.camera, l = {
|
|
2404
|
+
moveHelper: !0,
|
|
2405
|
+
rotateHelper: !0,
|
|
2406
|
+
scaleHelper: !0,
|
|
2407
|
+
boundingBoxHelper: !1,
|
|
2408
|
+
positionFrom: "objectPosition",
|
|
2409
|
+
...i
|
|
2410
|
+
}, { moveHelper: u, rotateHelper: d, scaleHelper: f, boundingBoxHelper: p } = l, m = a.hooks, h = new e(), g = new Z(this.five.camera, this.five.getElement()), _ = (e) => {
|
|
2411
|
+
if (e) return typeof e == "boolean" ? e : e.enable;
|
|
2412
|
+
}, v = {};
|
|
2413
|
+
if (_(u)) {
|
|
2414
|
+
let e = {
|
|
2415
|
+
...this.getConfig(l.moveHelper),
|
|
2416
|
+
...l
|
|
2417
|
+
}, t = new R(r, { ...e }), n = new K(this.five, g, pe, r, t, e, m, h);
|
|
2418
|
+
v.moveController = n.helperController, o.push(() => n.dispose());
|
|
2419
|
+
}
|
|
2420
|
+
if (_(d)) {
|
|
2421
|
+
let e = {
|
|
2422
|
+
...this.getConfig(l.rotateHelper),
|
|
2423
|
+
...l
|
|
2424
|
+
}, t = new ae(r, {
|
|
2425
|
+
container: s,
|
|
2426
|
+
...e
|
|
2427
|
+
}), n = new K(this.five, g, ve, r, t, e, m, h);
|
|
2428
|
+
v.rotateController = n.helperController, o.push(() => n.dispose());
|
|
2429
|
+
}
|
|
2430
|
+
if (_(p)) {
|
|
2431
|
+
let e = new de(r), t = new K(this.five, g, xe, r, e, void 0, m, h);
|
|
2432
|
+
v.boundingBoxController = t.helperController, o.push(() => t.dispose());
|
|
2433
|
+
}
|
|
2434
|
+
if (_(f)) {
|
|
2435
|
+
if (r.isCSS3DObject && s) {
|
|
2436
|
+
let e = new ue(r, s, c, this.five.scene), i = new K(this.five, g, be, r, e, void 0, m, h);
|
|
2437
|
+
v.scaleController = i.helperController, o.push(() => i.dispose()), n(this.five).then(() => {
|
|
2438
|
+
if (r.isCSS3DObjectPlus) {
|
|
2439
|
+
let e = r;
|
|
2440
|
+
if (!e || e.mode !== "front") return;
|
|
2441
|
+
let n = this.css3DRender.behindModeCSS3DRenderer.wrapper ?? t(this.five);
|
|
2442
|
+
n && (this.css3DObjectParentMap.set(e, e.parent), e.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(n), this.css3DRender.getBehindCSS3DObjectGroup()?.add(e), this.css3DRender.render(this.five.camera));
|
|
2443
|
+
} else r.isCSS3DObject && (this.css3DObjectModeMap.set(r, r.mode), r.mode = "behind");
|
|
2444
|
+
});
|
|
2445
|
+
} else {
|
|
2446
|
+
let e = {
|
|
2447
|
+
...this.getConfig(l.scaleHelper),
|
|
2448
|
+
...l
|
|
2449
|
+
}, t = new Se(r, e), n = new K(this.five, g, we, r, t, e, m, h);
|
|
2450
|
+
v.scaleController = n.helperController, o.push(() => n.dispose());
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2453
|
+
return Object.values(v).forEach((e) => {
|
|
2454
|
+
e && typeof e.updateOtherControllers == "function" && e.updateOtherControllers(v);
|
|
2455
|
+
}), a.addControllers(v), this.objectHelperMap.set(r, {
|
|
2456
|
+
helper: a,
|
|
2457
|
+
disposers: o
|
|
2458
|
+
}), a.controllers;
|
|
2459
|
+
}
|
|
2460
|
+
removeObject3DHelper(e) {
|
|
2461
|
+
if (!this.objectHelperMap.has(e)) return;
|
|
2462
|
+
let { helper: t, disposers: n } = this.objectHelperMap.get(e);
|
|
2463
|
+
if (t) {
|
|
2464
|
+
if (e.isCSS3DObjectPlus) {
|
|
2465
|
+
let t = e, n = this.css3DObjectParentMap.get(t);
|
|
2466
|
+
n && n.add(t), this.css3DRender.render(this.five.camera);
|
|
2467
|
+
} else e.isCSS3DObject && (e.mode = this.css3DObjectModeMap.get(e));
|
|
2468
|
+
this.objectHelperMap.delete(e), t.dispose(), n?.forEach((e) => e?.());
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
handleEnable(e, t = !0) {
|
|
2472
|
+
e ? (this.everyHelperDo((e) => e.enable()), this.hooks.emit("enable", { userAction: t })) : (this.everyHelperDo((e) => e.disable()), this.hooks.emit("disable", { userAction: t })), this.state.enabled = e;
|
|
2473
|
+
}
|
|
2474
|
+
handleVisible(e, t = !0) {
|
|
2475
|
+
e ? (this.everyHelperDo((e) => e.show()), this.actionIfStateIsEnabled(() => this.hooks.emit("show", { userAction: t }))) : (this.everyHelperDo((e) => e.hide()), this.actionIfStateIsEnabled(() => this.hooks.emit("hide", { userAction: t }))), this.state.visible = e;
|
|
2476
|
+
}
|
|
2477
|
+
handleDispose() {
|
|
2478
|
+
this.everyHelperDo((e, t) => {
|
|
2479
|
+
e.dispose(), t?.forEach((e) => e?.());
|
|
2480
|
+
});
|
|
2481
|
+
}
|
|
2482
|
+
everyHelperDo(e) {
|
|
2483
|
+
this.objectHelperMap.forEach(({ helper: t, disposers: n }) => {
|
|
2484
|
+
t && e(t, n);
|
|
2485
|
+
});
|
|
2486
|
+
}
|
|
2487
|
+
actionIfStateIsEnabled(e, t) {
|
|
2488
|
+
if (this.state.enabled) return e();
|
|
2489
|
+
t?.warnLog && Ee();
|
|
2490
|
+
}
|
|
2491
|
+
getConfig(e) {
|
|
2492
|
+
if (e && typeof e != "boolean" && e.enable) return e;
|
|
2493
|
+
}
|
|
2494
|
+
};
|
|
2495
|
+
//#endregion
|
|
2496
|
+
export { Oe as t };
|
|
2497
|
+
|
|
2498
|
+
//# sourceMappingURL=Controller-Csut_kcH.js.map
|