@realsee/dnalogel 2.1.2-alpha.0 → 2.1.2-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -12
- package/dist/CSS3DRenderPlugin/index..js +88 -0
- package/dist/CSS3DRenderPlugin/index.cjs.js +1 -0
- package/dist/CameraMovementPlugin/index..js +11 -0
- package/dist/CameraMovementPlugin/index.cjs.js +1 -0
- package/dist/CruisePlugin/index..js +527 -0
- package/dist/CruisePlugin/index.cjs.js +1 -0
- package/dist/GuideLinePlugin/index..js +214 -0
- package/dist/GuideLinePlugin/index.cjs.js +1 -0
- package/dist/ItemLabelPlugin/index..js +508 -0
- package/dist/ItemLabelPlugin/index.cjs.js +10 -0
- package/dist/ModelChassisCompassPlugin/index..js +9 -0
- package/dist/ModelChassisCompassPlugin/index.cjs.js +1 -0
- package/dist/ModelEntryDoorGuidePlugin/index..js +9 -0
- package/dist/ModelEntryDoorGuidePlugin/index.cjs.js +1 -0
- package/dist/ModelItemLabelPlugin/index..js +334 -0
- package/dist/ModelItemLabelPlugin/index.cjs.js +10 -0
- package/dist/ModelRoomLabelPlugin/index..js +274 -0
- package/dist/ModelRoomLabelPlugin/index.cjs.js +1 -0
- package/dist/ModelTVVideoPlugin/index..js +12 -0
- package/dist/ModelTVVideoPlugin/index.cjs.js +1 -0
- package/dist/ModelViewPlugin/index..js +8 -0
- package/dist/ModelViewPlugin/index.cjs.js +1 -0
- package/dist/Object3DHelperPlugin/index..js +1414 -0
- package/dist/Object3DHelperPlugin/index.cjs.js +1 -0
- package/dist/PanoCompassPlugin/index..js +258 -0
- package/dist/PanoCompassPlugin/index.cjs.js +1 -0
- package/dist/PanoCursorRaycasterPlugin/index..js +63 -0
- package/dist/PanoCursorRaycasterPlugin/index.cjs.js +1 -0
- package/dist/PanoDoorLabelPlugin/index..js +340 -0
- package/dist/PanoDoorLabelPlugin/index.cjs.js +1 -0
- package/dist/PanoMeasurePlugin/index..js +15 -0
- package/dist/PanoMeasurePlugin/index.cjs.js +1 -0
- package/dist/PanoRulerPlugin/index..js +9 -0
- package/dist/PanoRulerPlugin/index.cjs.js +1 -0
- package/dist/PanoRulerProPlugin/index..js +395 -0
- package/dist/PanoRulerProPlugin/index.cjs.js +1 -0
- package/dist/PanoSpatialTagPlugin/index..js +15 -0
- package/dist/PanoSpatialTagPlugin/index.cjs.js +1 -0
- package/dist/PanoTagPlugin/index..js +4522 -0
- package/dist/PanoTagPlugin/index.cjs.js +17 -0
- package/dist/chunks/cjs/BasePlugin.57e5204f.cjs.js +1 -0
- package/dist/chunks/cjs/BasePluginWithData.0a28882d.cjs.js +1 -0
- package/dist/chunks/cjs/CSS3DRender.15349564.cjs.js +1 -0
- package/dist/chunks/cjs/CameraMovementPlugin.2b342576.cjs.js +1 -0
- package/dist/chunks/cjs/Plugin.5f616fb3.cjs.js +1 -0
- package/dist/chunks/cjs/Plugin.609da4aa.cjs.js +94 -0
- package/dist/chunks/cjs/Plugin.67936d0e.cjs.js +16 -0
- package/dist/chunks/cjs/Plugin.8a110c53.cjs.js +1 -0
- package/dist/chunks/cjs/Plugin.9971108a.cjs.js +1 -0
- package/dist/chunks/cjs/Plugin.fd42bf8a.cjs.js +1 -0
- package/dist/chunks/cjs/Subscribe.5398d5c6.cjs.js +1 -0
- package/dist/chunks/cjs/changeModelCanvasOpacity.8d84f111.cjs.js +1 -0
- package/dist/chunks/cjs/correctFiveState.4c8472bd.cjs.js +1 -0
- package/dist/chunks/cjs/debounce.93dfb637.cjs.js +1 -0
- package/dist/chunks/cjs/equal.e9fcbd4e.cjs.js +1 -0
- package/dist/chunks/cjs/filter.cf9ebbb3.cjs.js +1 -0
- package/dist/chunks/cjs/formatData.81e95011.cjs.js +10 -0
- package/dist/chunks/cjs/index.30b7baeb.cjs.js +101 -0
- package/dist/chunks/cjs/index.686e84d1.cjs.js +290 -0
- package/dist/chunks/cjs/index.7d2010ce.cjs.js +1 -0
- package/dist/chunks/cjs/isNil.b3a58990.cjs.js +1 -0
- package/dist/chunks/cjs/planimetry.7fce816a.cjs.js +1 -0
- package/dist/chunks/cjs/throttle.86c209eb.cjs.js +1 -0
- package/dist/chunks/cjs/transfromToMeshBasicMaterial.9db6d46a.cjs.js +1 -0
- package/dist/chunks/cjs/uuid.29ed9c88.cjs.js +1 -0
- package/dist/chunks/es/BasePlugin.813e25f7.es.js +18 -0
- package/dist/chunks/es/BasePluginWithData.4bf4e649.es.js +6 -0
- package/dist/chunks/es/CSS3DRender.5652510e.es.js +393 -0
- package/dist/chunks/es/CameraMovementPlugin.4a7c3e46.es.js +120 -0
- package/dist/chunks/es/Plugin.26c2df05.es.js +106 -0
- package/dist/chunks/es/Plugin.435485ed.es.js +584 -0
- package/dist/chunks/es/Plugin.a98418f0.es.js +82 -0
- package/dist/chunks/es/Plugin.ae4ee6f8.es.js +82 -0
- package/dist/chunks/es/Plugin.dd11e0ad.es.js +180 -0
- package/dist/chunks/es/Plugin.f4cf895f.es.js +355 -0
- package/dist/chunks/es/Subscribe.c73e0f91.es.js +50 -0
- package/dist/chunks/es/changeModelCanvasOpacity.45ef9fd6.es.js +1551 -0
- package/dist/chunks/es/correctFiveState.e7feab9f.es.js +66 -0
- package/dist/chunks/es/debounce.ef83f417.es.js +11 -0
- package/dist/chunks/es/equal.7db4a6f7.es.js +56 -0
- package/dist/chunks/es/filter.97ec06c4.es.js +12 -0
- package/dist/chunks/es/formatData.a2b39ef9.es.js +483 -0
- package/dist/chunks/es/index.a273f06e.es.js +532 -0
- package/dist/chunks/es/index.b8fdb59b.es.js +50 -0
- package/dist/chunks/es/index.f74f4851.es.js +1787 -0
- package/dist/chunks/es/isNil.212842d9.es.js +10 -0
- package/dist/chunks/es/planimetry.b0b4a28d.es.js +43 -0
- package/dist/chunks/es/throttle.db66bac3.es.js +11 -0
- package/dist/chunks/es/transfromToMeshBasicMaterial.849ee069.es.js +24 -0
- package/dist/chunks/es/uuid.676cb2c8.es.js +9 -0
- package/dist/components/PaintBrush/index..js +6 -0
- package/dist/components/PaintBrush/index.cjs.js +1 -0
- package/dist/components/index..js +7 -0
- package/dist/components/index.cjs.js +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/index..js +324 -0
- package/dist/floorplan/MapviewFloorplanPlugin/index.cjs.js +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/index..js +320 -0
- package/dist/floorplan/ModelFloorplanPlugin/index.cjs.js +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/index..js +613 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/index.cjs.js +1 -0
- package/dist/floorplan/TopviewFloorplanPlugin/index..js +277 -0
- package/dist/floorplan/TopviewFloorplanPlugin/index.cjs.js +1 -0
- package/dist/index..js +530 -0
- package/dist/index.cjs.js +3 -543
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +6 -11
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeyArray.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -5
- package/libs/CSS3DRenderPlugin/Controller.js +6 -7
- package/libs/CSS3DRenderPlugin/index.js +3 -4
- package/libs/CSS3DRenderPlugin/typing.js +1 -0
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -3
- package/libs/CSS3DRenderPlugin/utils/index.js +1 -0
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +1 -2
- package/libs/CSS3DRenderPlugin/utils/random.js +1 -0
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +16 -17
- package/libs/CameraMovementPlugin/index.js +3 -0
- package/libs/CruisePlugin/Controller.js +4 -4
- package/libs/CruisePlugin/index.js +3 -6
- package/libs/CruisePlugin/utils/linerValue.js +4 -4
- package/libs/GuideLinePlugin/Controller.js +3 -4
- package/libs/GuideLinePlugin/index.js +3 -4
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +34 -32
- package/libs/ItemLabelPlugin/Plugin.js +5 -6
- package/libs/ModelChassisCompassPlugin/Plugin.js +3 -4
- package/libs/ModelChassisCompassPlugin/index.js +2 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +22 -23
- package/libs/ModelEntryDoorGuidePlugin/index.js +2 -0
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +4 -3
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +5 -6
- package/libs/ModelItemLabelPlugin/events.type.js +1 -0
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +11 -10
- package/libs/ModelRoomLabelPlugin/index.js +0 -1
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -2
- package/libs/ModelTVVideoPlugin/index.js +2 -0
- package/libs/ModelViewPlugin/Plugin.js +1 -2
- package/libs/ModelViewPlugin/index.js +2 -0
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +6 -7
- package/libs/Object3DHelperPlugin/index.js +1 -6
- package/libs/PanoCompassPlugin/index.js +3 -4
- package/libs/PanoCursorRaycasterPlugin/index.js +7 -8
- package/libs/PanoDoorLabelPlugin/index.js +1 -2
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +17 -17
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +9 -9
- package/libs/PanoMeasurePlugin/Controller/index.js +8 -8
- package/libs/PanoMeasurePlugin/Model/index.js +3 -3
- package/libs/PanoMeasurePlugin/Model/line.js +11 -11
- package/libs/PanoMeasurePlugin/Model/point.js +7 -7
- package/libs/PanoMeasurePlugin/Model/polyline.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +3 -4
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +5 -5
- package/libs/PanoMeasurePlugin/index.js +3 -4
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +2 -2
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
- package/libs/PanoMeasurePlugin/utils/line.js +0 -1
- package/libs/PanoMeasurePlugin/utils/math.js +1 -2
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
- package/libs/PanoRulerPlugin/Plugin.js +2 -3
- package/libs/PanoRulerPlugin/index.js +2 -0
- package/libs/PanoRulerPlugin/style.js +1 -1
- package/libs/PanoRulerProPlugin/Controller.js +15 -15
- package/libs/PanoRulerProPlugin/RulerItems.js +7 -4
- package/libs/PanoRulerProPlugin/index.js +3 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
- package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
- package/libs/PanoSpatialTagPlugin/Plugin.js +2 -3
- package/libs/PanoSpatialTagPlugin/index.js +6 -0
- package/libs/PanoSpatialTagPlugin/typings.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Media.js +43 -36
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +88 -78
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +5 -4
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +30 -27
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +20 -14
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +114 -92
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +71 -52
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +62 -50
- package/libs/PanoTagPlugin/Components/Tag/index.js +92 -63
- package/libs/PanoTagPlugin/Components/TagContainer.js +108 -64
- package/libs/PanoTagPlugin/Components/TagWrapper.js +113 -75
- package/libs/PanoTagPlugin/controller/index.js +0 -1
- package/libs/PanoTagPlugin/index.js +3 -7
- package/libs/PanoTagPlugin/tag.config.js +1 -2
- package/libs/PanoTagPlugin/typings/controller.js +1 -0
- package/libs/PanoTagPlugin/typings/index.js +1 -0
- package/libs/PanoTagPlugin/utils/constants.js +1 -2
- package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
- package/libs/PanoTagPlugin/utils/index.js +1 -0
- package/libs/components/PaintBrush/Controller.js +3 -3
- package/libs/components/PaintBrush/style.js +1 -1
- package/libs/components/PaintBrush/tween.js +4 -4
- package/libs/components/index.js +2 -0
- package/libs/floorplan/Components/Camera.js +1 -1
- package/libs/floorplan/Components/CurrentFloor.js +51 -41
- package/libs/floorplan/Components/Main.js +41 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +3 -3
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +3 -2
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +37 -36
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +7 -7
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -4
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +7 -7
- package/libs/floorplan/ModelFloorplanPlugin/index.js +2 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +6 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -65
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +2 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +2 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -5
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -4
- package/libs/floorplan/index.js +6 -0
- package/libs/floorplan/typings/floorplanData.js +1 -0
- package/libs/floorplan/utils/correctFiveState.js +19 -19
- package/libs/floorplan/utils/formatData.js +16 -16
- package/libs/floorplan/utils/formatPosition.js +7 -7
- package/libs/index.js +344 -90
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +2 -3
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +1 -3
- package/libs/shared-utils/Object3DHelper/Constants/color.js +0 -1
- package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +1 -2
- package/libs/shared-utils/Object3DHelper/Helper/index.js +3 -0
- package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/getPoint.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -1
- package/libs/shared-utils/animationFrame/index.js +13 -16
- package/libs/shared-utils/animationFrame/tween.js +0 -2
- package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
- package/libs/shared-utils/createCanvasTextTexture.js +6 -6
- package/libs/shared-utils/createLine/index.js +3 -3
- package/libs/shared-utils/debounce.js +5 -5
- package/libs/shared-utils/equal.js +16 -16
- package/libs/shared-utils/filter.js +1 -1
- package/libs/shared-utils/five/changeMode.js +14 -14
- package/libs/shared-utils/getPxmm.js +7 -8
- package/libs/shared-utils/index.js +33 -29
- package/libs/shared-utils/isTruelyObject.js +1 -1
- package/libs/shared-utils/math/index.js +1 -0
- package/libs/shared-utils/math/planimetry.js +1 -6
- package/libs/shared-utils/math/rad2Deg.js +3 -3
- package/libs/shared-utils/nearlyEqual.js +3 -3
- package/libs/shared-utils/noop.js +1 -1
- package/libs/shared-utils/object3d2LocalMatrix.js +6 -7
- package/libs/shared-utils/removeArrayItem.js +5 -5
- package/libs/shared-utils/tap.js +3 -3
- package/libs/shared-utils/three/index.js +6 -0
- package/libs/shared-utils/three/transformPositionToVector3.js +2 -2
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +12 -12
- package/libs/shared-utils/throttle.js +2 -2
- package/libs/shared-utils/tinyEJSrender.js +7 -7
- package/libs/shared-utils/to.js +14 -15
- package/libs/shared-utils/uuid.js +0 -1
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/get-changed-params.js +0 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/get-params.js +0 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/mount-swiper.js +0 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/params-list.js +0 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/update-swiper.js +0 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/utils.js +0 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/svelte/swiper-slide.js +1 -1
- package/libs/vendor/swiper/svelte/swiper-svelte.js +3 -0
- package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/svelte/swiper.js +1 -1
- package/package.json +19 -17
- package/dist/index.es.js +0 -16650
- package/dist/index.js +0 -16650
- package/dist/index.umd.js +0 -556
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.1.2-alpha.
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.1.2-alpha.10</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.1.2-alpha.10"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
2
|
<div class="tsd-toolbar-contents container">
|
|
3
3
|
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
4
|
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<div id="tsd-toolbar-links"></div></div>
|
|
7
7
|
<ul class="results">
|
|
8
8
|
<li class="state loading">Preparing search index...</li>
|
|
9
|
-
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.1.2-alpha.
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.1.2-alpha.10</a></div>
|
|
10
10
|
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
11
|
<div class="container container-main">
|
|
12
12
|
<div class="col-8 col-content">
|
|
13
13
|
<div class="tsd-page-title">
|
|
14
14
|
<ul class="tsd-breadcrumb">
|
|
15
|
-
<li><a href="../modules.html">如视看房插件合集 - v2.1.2-alpha.
|
|
15
|
+
<li><a href="../modules.html">如视看房插件合集 - v2.1.2-alpha.10</a></li>
|
|
16
16
|
<li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul>
|
|
17
17
|
<h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
|
|
18
18
|
<div class="tsd-signature">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span> </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<li class="tsd-parameter">
|
|
25
25
|
<h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
|
|
26
26
|
<ul>
|
|
27
|
-
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/
|
|
27
|
+
<li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/ca1a1ce/plugins/src/ModelRoomLabelPlugin/index.ts#L12">plugins/src/ModelRoomLabelPlugin/index.ts:12</a></li></ul></aside></div>
|
|
28
28
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
29
29
|
<div class="tsd-navigation settings">
|
|
30
30
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
42
42
|
<div class="tsd-accordion-details">
|
|
43
43
|
<ul>
|
|
44
|
-
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.1.2-<wbr/>alpha.
|
|
44
|
+
<li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.1.2-<wbr/>alpha.10</a>
|
|
45
45
|
<ul>
|
|
46
46
|
<li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
|
|
47
47
|
<nav class="tsd-navigation secondary menu-sticky">
|
|
@@ -32,7 +32,6 @@ import { Subscribe as se } from "../shared-utils/Subscribe.js";
|
|
|
32
32
|
import { evenNumber as N } from "./utils/evenNumber.js";
|
|
33
33
|
import { anyPositionToVector3 as oe } from "./utils/positionToVector3.js";
|
|
34
34
|
import { CSS3DObjectPlus as ne } from "./utils/CSS3DObjectPlus.js";
|
|
35
|
-
import { MinRatio as Se } from "./utils/CSS3DObjectPlus.js";
|
|
36
35
|
const re = "v2.0.1", _ = "CSS3DRenderer", m = `${_}@${re}`, V = (b) => `${m}--${b}`, o = {};
|
|
37
36
|
class fe {
|
|
38
37
|
constructor() {
|
|
@@ -324,8 +323,5 @@ class fe {
|
|
|
324
323
|
}
|
|
325
324
|
}
|
|
326
325
|
export {
|
|
327
|
-
fe as CSS3DRender
|
|
328
|
-
Se as MinRatio,
|
|
329
|
-
m as PLUGIN,
|
|
330
|
-
o as globalStore
|
|
326
|
+
fe as CSS3DRender
|
|
331
327
|
};
|
|
@@ -41,14 +41,14 @@ class N extends w {
|
|
|
41
41
|
this.setContainer(p || document.body, "front");
|
|
42
42
|
const f = this.getBehindFiveElement();
|
|
43
43
|
f && this.setContainer(f, "behind"), this.appendToElement(p || document.body, r);
|
|
44
|
-
const
|
|
45
|
-
if (!
|
|
44
|
+
const c = this.create3DElement(this.five.camera, e, m(v({}, i), { autoRender: !1 }));
|
|
45
|
+
if (!c)
|
|
46
46
|
return;
|
|
47
|
-
const
|
|
47
|
+
const u = c.render, b = () => {
|
|
48
48
|
var a;
|
|
49
|
-
r === "front" &&
|
|
49
|
+
r === "front" && u(), r === "behind" && ((a = this.five.model) != null && a.loaded ? u() : this.five.once("modelLoaded", () => u()));
|
|
50
50
|
};
|
|
51
|
-
return d && b(), m(v({},
|
|
51
|
+
return d && b(), m(v({}, c), { render: d ? void 0 : b });
|
|
52
52
|
});
|
|
53
53
|
this.five = e;
|
|
54
54
|
}
|
|
@@ -79,6 +79,5 @@ class N extends w {
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
export {
|
|
82
|
-
|
|
83
|
-
N as default
|
|
82
|
+
N as Controller
|
|
84
83
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "three";
|
|
@@ -2,6 +2,5 @@ import { Vector3 as t } from "three";
|
|
|
2
2
|
const n = ({ x: r, y: e, z: o }) => new t(r, e, o), c = ([r, e, o]) => new t(r, e, o), s = (r) => r instanceof t ? r : Array.isArray(r) ? c(r) : n(r);
|
|
3
3
|
export {
|
|
4
4
|
s as anyPositionToVector3,
|
|
5
|
-
c as arrayPositionToVector3
|
|
6
|
-
n as positionToVector3
|
|
5
|
+
c as arrayPositionToVector3
|
|
7
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var b = (e, o,
|
|
1
|
+
var b = (e, o, a) => new Promise((m, p) => {
|
|
2
2
|
var t = (d) => {
|
|
3
3
|
try {
|
|
4
|
-
a
|
|
4
|
+
n(a.next(d));
|
|
5
5
|
} catch (f) {
|
|
6
6
|
p(f);
|
|
7
7
|
}
|
|
8
8
|
}, i = (d) => {
|
|
9
9
|
try {
|
|
10
|
-
a
|
|
10
|
+
n(a.throw(d));
|
|
11
11
|
} catch (f) {
|
|
12
12
|
p(f);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, n = (d) => d.done ? m(d.value) : Promise.resolve(d.value).then(t, i);
|
|
15
|
+
n((a = a.apply(e, o)).next());
|
|
16
16
|
});
|
|
17
17
|
import { Five as y } from "@realsee/five";
|
|
18
18
|
import * as h from "@tweenjs/tween.js";
|
|
@@ -20,12 +20,12 @@ import { tweenProgress as T } from "../shared-utils/animationFrame/tween.js";
|
|
|
20
20
|
import { Rotation as r } from "./typing.js";
|
|
21
21
|
import { formatLatitude as P, formatLongitude as v } from "../shared-utils/animationFrame/formatRad.js";
|
|
22
22
|
import { progressNumber as I } from "../shared-utils/animationFrame/calculateProgress.js";
|
|
23
|
-
const w = (e, o,
|
|
23
|
+
const w = (e, o, a) => {
|
|
24
24
|
const m = Math.PI, p = m * 2;
|
|
25
|
-
return e = v(e), o = v(o),
|
|
25
|
+
return e = v(e), o = v(o), a === r.Anticlockwise && e < o && (e += p), a === r.Clockwise && o < e && (o += p), a === r.Loop && o - e > m ? w(e, o, r.Anticlockwise) : a === r.Loop && e - o > m ? w(e, o, r.Clockwise) : { from: e, to: o };
|
|
26
26
|
}, R = (e) => {
|
|
27
|
-
const o = {},
|
|
28
|
-
return o.interruptCallback && o.interruptCallback(!1),
|
|
27
|
+
const o = {}, a = (d, f, ...L) => b(void 0, [d, f, ...L], function* (t, i, n = { preload: !0 }) {
|
|
28
|
+
return o.interruptCallback && o.interruptCallback(!1), n.asyncStartCallback && (yield n.asyncStartCallback()), t.mode && t.mode !== e.currentMode && (yield e.changeMode(t.mode)), n.preload && t.panoIndex !== void 0 && t.panoIndex !== e.panoIndex && (yield e.preloadPano(t.panoIndex)), n.asyncEndCallback && (yield n.asyncEndCallback()), t.panoIndex === void 0 && t.fov === void 0 && t.latitude === void 0 && t.longitude === void 0 ? !0 : yield new Promise((u, l) => {
|
|
29
29
|
const c = t.panoIndex !== void 0 ? t.panoIndex : e.panoIndex;
|
|
30
30
|
c !== void 0 ? e.moveToPano(
|
|
31
31
|
c,
|
|
@@ -40,20 +40,20 @@ const w = (e, o, n) => {
|
|
|
40
40
|
) : l(!1);
|
|
41
41
|
});
|
|
42
42
|
}), m = (t) => {
|
|
43
|
-
const i = e.state,
|
|
43
|
+
const i = e.state, n = P(i.latitude), d = P(t.latitude), { from: f, to: L } = w(
|
|
44
44
|
i.longitude,
|
|
45
45
|
t.longitude,
|
|
46
46
|
t.rotation || r.Loop
|
|
47
47
|
), u = i.fov, l = t.fov;
|
|
48
48
|
return {
|
|
49
|
-
from: { latitude:
|
|
49
|
+
from: { latitude: n, longitude: f, fov: u },
|
|
50
50
|
to: { latitude: d, longitude: L, fov: l }
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
return {
|
|
54
|
-
move:
|
|
55
|
-
rotate: (d, f, ...L) => b(void 0, [d, f, ...L], function* (t, i,
|
|
56
|
-
o.interruptCallback && o.interruptCallback(!1),
|
|
54
|
+
move: a,
|
|
55
|
+
rotate: (d, f, ...L) => b(void 0, [d, f, ...L], function* (t, i, n = {}) {
|
|
56
|
+
o.interruptCallback && o.interruptCallback(!1), n.asyncStartCallback && (yield n.asyncStartCallback()), e.currentMode !== y.Mode.Panorama && (yield e.changeMode(y.Mode.Panorama)), t.panoIndex !== void 0 && t.panoIndex !== e.panoIndex && (n.preload && (yield e.preloadPano(t.panoIndex)), yield new Promise((c, k) => {
|
|
57
57
|
if (!t.panoIndex) {
|
|
58
58
|
c(!0);
|
|
59
59
|
return;
|
|
@@ -62,7 +62,7 @@ const w = (e, o, n) => {
|
|
|
62
62
|
moveEndCallback: () => c(!0),
|
|
63
63
|
moveCancelCallback: () => k(!1)
|
|
64
64
|
});
|
|
65
|
-
})),
|
|
65
|
+
})), n.asyncEndCallback && (yield n.asyncEndCallback());
|
|
66
66
|
const { from: u, to: l } = m(t);
|
|
67
67
|
return yield new Promise((c) => {
|
|
68
68
|
const k = ({ progress: s }) => {
|
|
@@ -83,6 +83,5 @@ const w = (e, o, n) => {
|
|
|
83
83
|
};
|
|
84
84
|
};
|
|
85
85
|
export {
|
|
86
|
-
R as CameraMovementPlugin
|
|
87
|
-
R as default
|
|
86
|
+
R as CameraMovementPlugin
|
|
88
87
|
};
|
|
@@ -29,13 +29,13 @@ var y = (g, c, e) => new Promise((t, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
import { Controller as O } from "../base/BasePluginWithData.js";
|
|
31
31
|
import { GuideLinePlugin as V } from "../GuideLinePlugin/index.js";
|
|
32
|
-
import k from "../shared-utils/uuid.js";
|
|
32
|
+
import { uuid as k } from "../shared-utils/uuid.js";
|
|
33
33
|
import { coordinatesAngle as Q } from "./utils/coordinatesAngle.js";
|
|
34
34
|
import { safeCall as _ } from "./utils/safeCall.js";
|
|
35
|
-
import $ from "../shared-utils/equal.js";
|
|
35
|
+
import { equal as $ } from "../shared-utils/equal.js";
|
|
36
36
|
import { vectorToCoordinates as R } from "./utils/vectorToCoordinates.js";
|
|
37
37
|
import * as N from "three";
|
|
38
|
-
import j from "./utils/linerValue.js";
|
|
38
|
+
import { linerValue as j } from "./utils/linerValue.js";
|
|
39
39
|
import { sleep as H } from "./utils/sleep.js";
|
|
40
40
|
const M = "v1.0.6", D = "CruisePlugin", w = `${D}@${M}`, F = () => {
|
|
41
41
|
console.error(`${w} is disposed`);
|
|
@@ -480,5 +480,5 @@ class B extends O {
|
|
|
480
480
|
}
|
|
481
481
|
P(B, "PluginVersion", M);
|
|
482
482
|
export {
|
|
483
|
-
B as
|
|
483
|
+
B as CruisePluginController
|
|
484
484
|
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const l = (r) => new e(r);
|
|
1
|
+
import { CruisePluginController as o } from "./Controller.js";
|
|
2
|
+
const i = (r) => new o(r);
|
|
4
3
|
export {
|
|
5
|
-
|
|
6
|
-
i as CruisePluginController,
|
|
7
|
-
l as default
|
|
4
|
+
i as CruisePlugin
|
|
8
5
|
};
|
|
@@ -28,10 +28,10 @@ var u = (n, s, e) => new Promise((i, t) => {
|
|
|
28
28
|
});
|
|
29
29
|
import { Controller as $ } from "../base/BasePluginWithData.js";
|
|
30
30
|
import * as m from "three";
|
|
31
|
-
import y from "./utils/getLineGeometries.js";
|
|
31
|
+
import { getLineGeometries as y } from "./utils/getLineGeometries.js";
|
|
32
32
|
import { getArrowMaterial as M } from "./utils/getArrowMaterial.js";
|
|
33
33
|
import { notNil as w } from "../shared-utils/isNil.js";
|
|
34
|
-
import N from "../shared-utils/equal.js";
|
|
34
|
+
import { equal as N } from "../shared-utils/equal.js";
|
|
35
35
|
const L = "v1.0.1", S = "GuideLinePlugin", v = `${S}@${L}`, E = (n) => `${v}--${n}`;
|
|
36
36
|
class I extends $ {
|
|
37
37
|
constructor(e, i) {
|
|
@@ -139,6 +139,5 @@ class I extends $ {
|
|
|
139
139
|
}
|
|
140
140
|
d(I, "lasestVersion", L);
|
|
141
141
|
export {
|
|
142
|
-
I as
|
|
143
|
-
E as pluginFlag
|
|
142
|
+
I as Controller
|
|
144
143
|
};
|
|
@@ -10,18 +10,20 @@ var H = (i, t, e) => t in i ? ae(i, t, { enumerable: !0, configurable: !0, writa
|
|
|
10
10
|
me.call(t, e) && H(i, e, t[e]);
|
|
11
11
|
return i;
|
|
12
12
|
}, y = (i, t) => ce(i, le(t));
|
|
13
|
-
import { SvelteComponent as fe, init as ue, safe_not_equal as
|
|
13
|
+
import { SvelteComponent as fe, init as ue, safe_not_equal as pe, append_styles as he, element as _e, attr as be, add_render_callback as Ie, set_style as W, insert as v, add_resize_listener as ge, group_outros as Z, update_keyed_each as ke, outro_and_destroy_block as ye, check_outros as G, transition_in as w, transition_out as z, detach as T, empty as A, create_component as Pe, mount_component as we, destroy_component as Le } from "svelte/internal";
|
|
14
14
|
import { Five as P } from "@realsee/five";
|
|
15
15
|
import { beforeUpdate as Me, onMount as ze, onDestroy as Ce } from "svelte";
|
|
16
16
|
import * as Ee from "three";
|
|
17
17
|
import Fe from "./ItemLabelItem.js";
|
|
18
|
-
import Oe from "../shared-utils/debounce.js";
|
|
18
|
+
import { debounce as Oe } from "../shared-utils/debounce.js";
|
|
19
19
|
import { isImpacted as B } from "./utils/isImpacted.js";
|
|
20
20
|
import { getStrokeLength as xe } from "./utils/getStrokeLength.js";
|
|
21
21
|
import { getLabelTransform as Ve } from "./utils/getLabelTransform.js";
|
|
22
22
|
import { transform2RenderData as N } from "./utils/transform2RenderData.js";
|
|
23
|
+
import "classnames";
|
|
24
|
+
import "./typings.js";
|
|
23
25
|
function ve(i) {
|
|
24
|
-
|
|
26
|
+
he(i, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
|
|
25
27
|
}
|
|
26
28
|
function q(i, t, e) {
|
|
27
29
|
const r = i.slice();
|
|
@@ -66,11 +68,11 @@ function Y(i, t) {
|
|
|
66
68
|
c() {
|
|
67
69
|
e = A(), o && o.c(), r = A(), this.first = e;
|
|
68
70
|
},
|
|
69
|
-
m(d,
|
|
70
|
-
v(d, e,
|
|
71
|
+
m(d, h) {
|
|
72
|
+
v(d, e, h), o && o.m(d, h), v(d, r, h), f = !0;
|
|
71
73
|
},
|
|
72
|
-
p(d,
|
|
73
|
-
t = d, t[30].visible ? o ? (o.p(t,
|
|
74
|
+
p(d, h) {
|
|
75
|
+
t = d, t[30].visible ? o ? (o.p(t, h), h[0] & 2 && w(o, 1)) : (o = X(t), o.c(), w(o, 1), o.m(r.parentNode, r)) : o && (Z(), z(o, 1, 1, () => {
|
|
74
76
|
o = null;
|
|
75
77
|
}), G());
|
|
76
78
|
},
|
|
@@ -87,9 +89,9 @@ function Y(i, t) {
|
|
|
87
89
|
}
|
|
88
90
|
function Te(i) {
|
|
89
91
|
let t, e = [], r = /* @__PURE__ */ new Map(), f, o, d = i[1];
|
|
90
|
-
const
|
|
92
|
+
const h = (c) => c[30].id;
|
|
91
93
|
for (let c = 0; c < d.length; c += 1) {
|
|
92
|
-
let a = q(i, d, c), _ =
|
|
94
|
+
let a = q(i, d, c), _ = h(a);
|
|
93
95
|
r.set(_, e[c] = Y(_, a));
|
|
94
96
|
}
|
|
95
97
|
return {
|
|
@@ -106,7 +108,7 @@ function Te(i) {
|
|
|
106
108
|
f = ge(t, i[12].bind(t)), o = !0;
|
|
107
109
|
},
|
|
108
110
|
p(c, a) {
|
|
109
|
-
a[0] & 71 && (d = c[1], Z(), e = ke(e, a,
|
|
111
|
+
a[0] & 71 && (d = c[1], Z(), e = ke(e, a, h, 1, c, d, r, t, ye, Y, null, q), G()), a[0] & 32 && W(t, "opacity", c[5] ? 1 : 0, !1);
|
|
110
112
|
},
|
|
111
113
|
i(c) {
|
|
112
114
|
if (!o) {
|
|
@@ -131,18 +133,18 @@ function Te(i) {
|
|
|
131
133
|
let De = 11;
|
|
132
134
|
function Ue(i, t, e) {
|
|
133
135
|
const { Raycaster: r, Vector3: f } = Ee;
|
|
134
|
-
let { five: o } = t, { modelOcclusionEnable: d } = t, { itemLabels:
|
|
136
|
+
let { five: o } = t, { modelOcclusionEnable: d } = t, { itemLabels: h } = t, { hooks: c } = t, { displayStrategyType: a } = t, { maxVisibleDistance: _ } = t, C = null, g = null, J = (o == null ? void 0 : o.currentMode) === P.Mode.Panorama, E, F, D = [], O = !0;
|
|
135
137
|
const K = (s, u) => {
|
|
136
|
-
const
|
|
137
|
-
return _ !== void 0 && s.state.mode === P.Mode.Panorama && n > _ ? !1 : B(s, m.clone().sub(
|
|
138
|
+
const p = s.camera.position.clone(), m = new f(u.modelPosition[0], u.modelPosition[1], u.modelPosition[2]), n = m.distanceTo(p);
|
|
139
|
+
return _ !== void 0 && s.state.mode === P.Mode.Panorama && n > _ ? !1 : B(s, m.clone().sub(p).normalize(), p, n);
|
|
138
140
|
}, Q = (s) => {
|
|
139
|
-
const { camera: u, model:
|
|
141
|
+
const { camera: u, model: p } = o, { x: m, y: n, z: l } = s.clone().project(u), I = (m + 1) / 2, b = (2 - (n + 1)) / 2, V = Math.abs(l) < 1 && [I, b].every((S) => S < 1 && S >= 0);
|
|
140
142
|
return Boolean(V);
|
|
141
143
|
}, $ = (s, u) => {
|
|
142
|
-
const
|
|
144
|
+
const p = new f(u.modelPosition[0], u.modelPosition[1], u.modelPosition[2]), m = s.project2d(p), n = m == null ? void 0 : m.x, l = m == null ? void 0 : m.y;
|
|
143
145
|
return [n, l];
|
|
144
146
|
}, ee = (s, u) => {
|
|
145
|
-
const
|
|
147
|
+
const p = u.map((n) => {
|
|
146
148
|
if (s.state.panoIndex !== n.panoIndex)
|
|
147
149
|
return y(k({}, n), { visible: !1 });
|
|
148
150
|
const l = $(s, n);
|
|
@@ -157,11 +159,11 @@ function Ue(i, t, e) {
|
|
|
157
159
|
transform: V,
|
|
158
160
|
strokeLength: I
|
|
159
161
|
});
|
|
160
|
-
}), m =
|
|
162
|
+
}), m = p.filter(({ visible: n }) => n).map((n) => ({
|
|
161
163
|
itemLabelItem: n,
|
|
162
164
|
distance: new f(n.modelPosition[0], n.modelPosition[1], n.modelPosition[2]).clone().distanceTo(s.camera.position)
|
|
163
165
|
})).sort((n, l) => n.distance - l.distance);
|
|
164
|
-
return
|
|
166
|
+
return p.map((n) => {
|
|
165
167
|
const l = m.findIndex((I) => I.itemLabelItem.id === n.id);
|
|
166
168
|
return l !== void 0 ? y(k({}, n), { zIndex: l * 10 }) : n;
|
|
167
169
|
});
|
|
@@ -179,17 +181,17 @@ function Ue(i, t, e) {
|
|
|
179
181
|
}, oe = () => {
|
|
180
182
|
window.addEventListener("resize", R, !1);
|
|
181
183
|
}, ne = () => {
|
|
182
|
-
C !==
|
|
184
|
+
C !== h && (e(1, g = N(h)), C = h, L());
|
|
183
185
|
}, se = (s, u) => {
|
|
184
|
-
let
|
|
186
|
+
let p = [];
|
|
185
187
|
for (let n = 0; n < u.length; n++) {
|
|
186
188
|
const { position: l, panoIndex: I } = u[n], b = s.distanceTo(l);
|
|
187
|
-
(_ === void 0 || b <= _ || o.state.mode !== P.Mode.Panorama) &&
|
|
189
|
+
(_ === void 0 || b <= _ || o.state.mode !== P.Mode.Panorama) && p.push({ panoIndex: I, obVector: l, distance: b });
|
|
188
190
|
}
|
|
189
|
-
|
|
191
|
+
p = p.sort((n, l) => n.distance - l.distance);
|
|
190
192
|
let m;
|
|
191
|
-
for (let n = 0; n <
|
|
192
|
-
const { obVector: l, distance: I, panoIndex: b } =
|
|
193
|
+
for (let n = 0; n < p.length; n++) {
|
|
194
|
+
const { obVector: l, distance: I, panoIndex: b } = p[n];
|
|
193
195
|
if (!B(o, s, l, I)) {
|
|
194
196
|
m = b;
|
|
195
197
|
break;
|
|
@@ -199,9 +201,9 @@ function Ue(i, t, e) {
|
|
|
199
201
|
}, ie = (s) => {
|
|
200
202
|
if (o.state.mode === P.Mode.Panorama)
|
|
201
203
|
return;
|
|
202
|
-
const u = o.work.observers,
|
|
204
|
+
const u = o.work.observers, p = new f().fromArray(s.position), m = se(p, u);
|
|
203
205
|
if (m && (s.observerIndex = m.panoIndex), typeof s.observerIndex == "number") {
|
|
204
|
-
const n = u[s.observerIndex], l =
|
|
206
|
+
const n = u[s.observerIndex], l = p.clone().sub(n.position).normalize(), I = {
|
|
205
207
|
longitude: Math.PI + Math.atan2(l.x, l.z),
|
|
206
208
|
latitude: Math.acos(l.y / l.length()) - Math.PI / 2
|
|
207
209
|
};
|
|
@@ -220,7 +222,7 @@ function Ue(i, t, e) {
|
|
|
220
222
|
Me(() => {
|
|
221
223
|
ne();
|
|
222
224
|
}), ze(() => {
|
|
223
|
-
e(1, g = N(
|
|
225
|
+
e(1, g = N(h)), C = h, L(), oe(), o.on("cameraUpdate", U);
|
|
224
226
|
}), Ce(() => {
|
|
225
227
|
o.off("cameraUpdate", U), window.removeEventListener("resize", R, !1);
|
|
226
228
|
});
|
|
@@ -228,7 +230,7 @@ function Ue(i, t, e) {
|
|
|
228
230
|
E = this.clientWidth, F = this.clientHeight, e(3, E), e(4, F);
|
|
229
231
|
}
|
|
230
232
|
return i.$$set = (s) => {
|
|
231
|
-
"five" in s && e(7, o = s.five), "modelOcclusionEnable" in s && e(8, d = s.modelOcclusionEnable), "itemLabels" in s && e(9,
|
|
233
|
+
"five" in s && e(7, o = s.five), "modelOcclusionEnable" in s && e(8, d = s.modelOcclusionEnable), "itemLabels" in s && e(9, h = s.itemLabels), "hooks" in s && e(0, c = s.hooks), "displayStrategyType" in s && e(10, a = s.displayStrategyType), "maxVisibleDistance" in s && e(11, _ = s.maxVisibleDistance);
|
|
232
234
|
}, [
|
|
233
235
|
c,
|
|
234
236
|
g,
|
|
@@ -239,20 +241,20 @@ function Ue(i, t, e) {
|
|
|
239
241
|
ie,
|
|
240
242
|
o,
|
|
241
243
|
d,
|
|
242
|
-
|
|
244
|
+
h,
|
|
243
245
|
a,
|
|
244
246
|
_,
|
|
245
247
|
re
|
|
246
248
|
];
|
|
247
249
|
}
|
|
248
|
-
class
|
|
250
|
+
class Ge extends fe {
|
|
249
251
|
constructor(t) {
|
|
250
252
|
super(), ue(
|
|
251
253
|
this,
|
|
252
254
|
t,
|
|
253
255
|
Ue,
|
|
254
256
|
Te,
|
|
255
|
-
|
|
257
|
+
pe,
|
|
256
258
|
{
|
|
257
259
|
five: 7,
|
|
258
260
|
modelOcclusionEnable: 8,
|
|
@@ -267,5 +269,5 @@ class Ye extends fe {
|
|
|
267
269
|
}
|
|
268
270
|
}
|
|
269
271
|
export {
|
|
270
|
-
|
|
272
|
+
Ge as default
|
|
271
273
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Subscribe as
|
|
1
|
+
import { Subscribe as f, Five as E } from "@realsee/five";
|
|
2
2
|
import g from "./ItemLabelComponent.js";
|
|
3
3
|
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as h } from "./typings.js";
|
|
4
4
|
import { parseItemLabelPluginData as v } from "./utils/parseData.js";
|
|
@@ -12,7 +12,7 @@ const P = void 0, V = (o, n) => {
|
|
|
12
12
|
itemLabels: [],
|
|
13
13
|
wrapper: null,
|
|
14
14
|
app: void 0,
|
|
15
|
-
hooks: new
|
|
15
|
+
hooks: new f(),
|
|
16
16
|
modelOcclusionEnable: (d = n == null ? void 0 : n.modelOcclusionEnable) != null ? d : !0,
|
|
17
17
|
onlyVisibleInPanorama: (c = n == null ? void 0 : n.onlyVisibleInPanorama) != null ? c : !0,
|
|
18
18
|
displayStrategyType: (b = n == null ? void 0 : n.displayStrategyType) != null ? b : h.SMALL,
|
|
@@ -29,7 +29,7 @@ const P = void 0, V = (o, n) => {
|
|
|
29
29
|
const p = (t) => (e.wrapper = t, t.appendChild(e.container), i(), !0), m = (t) => {
|
|
30
30
|
e.itemLabels = v(t), i();
|
|
31
31
|
}, l = () => (e.enabled || (e.enabled = !0, i()), !0), a = () => (e.enabled && (e.enabled = !1, i()), !0), r = () => {
|
|
32
|
-
|
|
32
|
+
L(), e.container.remove();
|
|
33
33
|
}, i = () => {
|
|
34
34
|
var t;
|
|
35
35
|
if (!!e.wrapper) {
|
|
@@ -56,7 +56,7 @@ const P = void 0, V = (o, n) => {
|
|
|
56
56
|
}
|
|
57
57
|
}, y = () => {
|
|
58
58
|
o.on("modeChange", s), o.once("dispose", r);
|
|
59
|
-
},
|
|
59
|
+
}, L = () => {
|
|
60
60
|
o.off("modeChange", s);
|
|
61
61
|
}, s = (t) => {
|
|
62
62
|
if (t !== E.Mode.Panorama) {
|
|
@@ -77,6 +77,5 @@ const P = void 0, V = (o, n) => {
|
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
79
|
export {
|
|
80
|
-
V as Plugin
|
|
81
|
-
V as default
|
|
80
|
+
V as Plugin
|
|
82
81
|
};
|
|
@@ -16,8 +16,8 @@ var M = (t, i, s) => new Promise((l, o) => {
|
|
|
16
16
|
});
|
|
17
17
|
import * as h from "three";
|
|
18
18
|
import { FBXLoader as E } from "three/examples/jsm/loaders/FBXLoader";
|
|
19
|
-
import U from "../shared-utils/object3d2LocalMatrix.js";
|
|
20
|
-
import C from "../shared-utils/three/transfromToMeshBasicMaterial.js";
|
|
19
|
+
import { bject3d2LocalMatrix as U } from "../shared-utils/object3d2LocalMatrix.js";
|
|
20
|
+
import { transfromToMeshBasicMaterial as C } from "../shared-utils/three/transfromToMeshBasicMaterial.js";
|
|
21
21
|
const X = (t, i) => {
|
|
22
22
|
var x;
|
|
23
23
|
const s = i.fbx_url || "//vrlab-static.ljcdn.com/release/web/v3/dipan3/dipan.FBX", l = (x = i.north_rad) != null ? x : void 0, o = {}, m = (e) => M(void 0, null, function* () {
|
|
@@ -66,6 +66,5 @@ const X = (t, i) => {
|
|
|
66
66
|
} };
|
|
67
67
|
};
|
|
68
68
|
export {
|
|
69
|
-
X as ModelChassisCompassPlugin
|
|
70
|
-
X as default
|
|
69
|
+
X as ModelChassisCompassPlugin
|
|
71
70
|
};
|