@realsee/dnalogel 2.1.2-alpha.2 → 2.1.2-alpha.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/docs/classes/CruisePluginController.html +4 -4
- package/docs/classes/Magnifier.html +4 -4
- package/docs/classes/ModelRoomLabelController.html +4 -4
- package/docs/classes/Object3DHelperController.html +4 -4
- package/docs/classes/PaintBrush.html +4 -4
- package/docs/classes/PanoTagPluginController.html +4 -4
- package/docs/classes/Util.BetterTween.html +4 -4
- package/docs/classes/Util.FivePointSelector.html +4 -4
- package/docs/classes/Util.Interval.html +4 -4
- package/docs/classes/Util.Magnifier.html +4 -4
- package/docs/classes/Util.PointDomHelper.html +4 -4
- package/docs/classes/Util.PointHelper.html +4 -4
- package/docs/classes/Util.Rectangle.html +4 -4
- package/docs/enums/CameraMovementEffect.html +4 -4
- package/docs/enums/ContentType.html +4 -4
- package/docs/enums/DIRECTION.html +4 -4
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +4 -4
- package/docs/enums/DimensionType.html +4 -4
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -4
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +4 -4
- package/docs/enums/LinkType.html +4 -4
- package/docs/enums/PaintBrushTypeEnum.html +4 -4
- package/docs/enums/PointType.html +4 -4
- package/docs/enums/Rotation.html +4 -4
- 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 +4 -4
- 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 +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
- package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
- package/docs/interfaces/CameraMovementPluginExportType.html +4 -4
- package/docs/interfaces/ContentTypeMap.html +4 -4
- package/docs/interfaces/FloorplanBounding.html +4 -4
- package/docs/interfaces/FloorplanData.html +4 -4
- package/docs/interfaces/FloorplanEntrance.html +4 -4
- package/docs/interfaces/FloorplanExtraObject.html +4 -4
- package/docs/interfaces/FloorplanExtraObject3D.html +4 -4
- package/docs/interfaces/FloorplanFloorData.html +4 -4
- package/docs/interfaces/FloorplanImagePosition.html +4 -4
- package/docs/interfaces/FloorplanObserver.html +4 -4
- package/docs/interfaces/FloorplanOutlineItem.html +4 -4
- package/docs/interfaces/FloorplanPosition.html +4 -4
- package/docs/interfaces/FloorplanRoomItem.html +4 -4
- package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
- package/docs/interfaces/FloorplanServerBounding.html +4 -4
- package/docs/interfaces/FloorplanServerComputedData.html +4 -4
- package/docs/interfaces/FloorplanServerData.html +4 -4
- package/docs/interfaces/FloorplanServerDoorItem.html +4 -4
- package/docs/interfaces/FloorplanServerDoorPosition.html +4 -4
- package/docs/interfaces/FloorplanServerEntrance.html +4 -4
- package/docs/interfaces/FloorplanServerFloorData.html +4 -4
- package/docs/interfaces/FloorplanServerImagePosition.html +4 -4
- package/docs/interfaces/FloorplanServerObserver.html +4 -4
- package/docs/interfaces/FloorplanServerOutlineItem.html +4 -4
- package/docs/interfaces/FloorplanServerPosition.html +4 -4
- package/docs/interfaces/FloorplanServerRoomItem.html +4 -4
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
- package/docs/interfaces/ItemLabelPluginData.html +4 -4
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +4 -4
- package/docs/interfaces/ItemLabelPluginParametersType.html +4 -4
- package/docs/interfaces/LineJson.html +4 -4
- package/docs/interfaces/ModelChassisCompassPluginData.html +4 -4
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -4
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +4 -4
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -4
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -4
- package/docs/interfaces/ModelItemLabelPluginData.html +4 -4
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +4 -4
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +4 -4
- package/docs/interfaces/ModelRoomLabelPluginData.html +4 -4
- package/docs/interfaces/ModelTVVideoPluginData.html +4 -4
- package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -4
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +4 -4
- package/docs/interfaces/ModelViewPluginExportType.html +4 -4
- package/docs/interfaces/Object3DHelperState.html +4 -4
- package/docs/interfaces/OpenParameter.html +4 -4
- package/docs/interfaces/PaintBrushAction.html +4 -4
- package/docs/interfaces/PaintBrushConfigs.html +4 -4
- package/docs/interfaces/PaintBrushState.html +4 -4
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +4 -4
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +4 -4
- package/docs/interfaces/PanoRulerPluginExportType.html +4 -4
- package/docs/interfaces/PanoRulerPluginOptions.html +4 -4
- package/docs/interfaces/PanoRulerPluginParameterType.html +4 -4
- package/docs/interfaces/PanoRulerProPluginExportType.html +4 -4
- package/docs/interfaces/PanoRulerProPluginOptions.html +4 -4
- package/docs/interfaces/PanoRulerProPluginParameterType.html +4 -4
- package/docs/interfaces/PanoRulerProPluginState.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +4 -4
- package/docs/interfaces/Point.html +4 -4
- package/docs/interfaces/PointJson.html +4 -4
- package/docs/interfaces/Room.html +4 -4
- package/docs/interfaces/RoomInfo.html +4 -4
- package/docs/interfaces/RoomLabel.html +4 -4
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +4 -4
- package/docs/interfaces/TagConfig.html +4 -4
- package/docs/interfaces/Tags.html +4 -4
- package/docs/interfaces/Util.MagnifierParameter.html +4 -4
- package/docs/interfaces/Util.MouseGroupParameter.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeyArray.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/VERSION.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/esm/CSS3DRenderPlugin/CSS3DRender.d.ts +167 -0
- package/esm/CSS3DRenderPlugin/CSS3DRender.js +327 -0
- package/esm/CSS3DRenderPlugin/Controller.d.ts +81 -0
- package/esm/CSS3DRenderPlugin/Controller.js +83 -0
- package/esm/CSS3DRenderPlugin/index.d.ts +5 -0
- package/esm/CSS3DRenderPlugin/index.js +14 -0
- package/esm/CSS3DRenderPlugin/typing.d.ts +26 -0
- package/esm/CSS3DRenderPlugin/typing.js +1 -0
- package/esm/CSS3DRenderPlugin/utils/CSS3DObjectPlus.d.ts +34 -0
- package/esm/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +65 -0
- package/esm/CSS3DRenderPlugin/utils/centerPoint.d.ts +2 -0
- package/esm/CSS3DRenderPlugin/utils/centerPoint.js +10 -0
- package/esm/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
- package/esm/CSS3DRenderPlugin/utils/evenNumber.js +7 -0
- package/esm/CSS3DRenderPlugin/utils/index.d.ts +4 -0
- package/esm/CSS3DRenderPlugin/utils/index.js +1 -0
- package/esm/CSS3DRenderPlugin/utils/positionToVector3.d.ts +13 -0
- package/esm/CSS3DRenderPlugin/utils/positionToVector3.js +6 -0
- package/esm/CSS3DRenderPlugin/utils/random.d.ts +1 -0
- package/esm/CSS3DRenderPlugin/utils/random.js +1 -0
- package/esm/CameraMovementPlugin/CameraMovementPlugin.d.ts +7 -0
- package/esm/CameraMovementPlugin/CameraMovementPlugin.js +87 -0
- package/esm/CameraMovementPlugin/index.d.ts +5 -0
- package/esm/CameraMovementPlugin/index.js +16 -0
- package/esm/CameraMovementPlugin/typing.d.ts +68 -0
- package/esm/CameraMovementPlugin/typing.js +5 -0
- package/esm/CruisePlugin/Controller.d.ts +172 -0
- package/esm/CruisePlugin/Controller.js +484 -0
- package/esm/CruisePlugin/index.d.ts +6 -0
- package/esm/CruisePlugin/index.js +28 -0
- package/esm/CruisePlugin/typing.d.ts +134 -0
- package/esm/CruisePlugin/utils/coordinatesAngle.d.ts +12 -0
- package/esm/CruisePlugin/utils/coordinatesAngle.js +8 -0
- package/esm/CruisePlugin/utils/coordinatesToVector.d.ts +7 -0
- package/esm/CruisePlugin/utils/coordinatesToVector.js +12 -0
- package/esm/CruisePlugin/utils/formatRad.d.ts +7 -0
- package/esm/CruisePlugin/utils/formatRad.js +7 -0
- package/esm/CruisePlugin/utils/linerValue.d.ts +1 -0
- package/esm/CruisePlugin/utils/linerValue.js +7 -0
- package/esm/CruisePlugin/utils/safeCall.d.ts +1 -0
- package/esm/CruisePlugin/utils/safeCall.js +28 -0
- package/esm/CruisePlugin/utils/sleep.d.ts +1 -0
- package/esm/CruisePlugin/utils/sleep.js +10 -0
- package/esm/CruisePlugin/utils/vectorToCoordinates.d.ts +7 -0
- package/esm/CruisePlugin/utils/vectorToCoordinates.js +10 -0
- package/esm/GuideLinePlugin/Controller.d.ts +51 -0
- package/esm/GuideLinePlugin/Controller.js +143 -0
- package/esm/GuideLinePlugin/index.d.ts +5 -0
- package/esm/GuideLinePlugin/index.js +16 -0
- package/esm/GuideLinePlugin/typing.d.ts +34 -0
- package/esm/GuideLinePlugin/utils/getArrowMaterial.d.ts +4 -0
- package/esm/GuideLinePlugin/utils/getArrowMaterial.js +13 -0
- package/esm/GuideLinePlugin/utils/getLineGeometries.d.ts +16 -0
- package/esm/GuideLinePlugin/utils/getLineGeometries.js +64 -0
- package/esm/GuideLinePlugin/utils/polyline-normals.d.ts +3 -0
- package/esm/ItemLabelPlugin/ItemLabelComponent.js +271 -0
- package/esm/ItemLabelPlugin/ItemLabelItem.js +134 -0
- package/esm/ItemLabelPlugin/Plugin.d.ts +4 -0
- package/esm/ItemLabelPlugin/Plugin.js +81 -0
- package/esm/ItemLabelPlugin/events.type.d.ts +9 -0
- package/esm/ItemLabelPlugin/index.d.ts +9 -0
- package/esm/ItemLabelPlugin/index.js +26 -0
- package/esm/ItemLabelPlugin/typings.d.ts +65 -0
- package/esm/ItemLabelPlugin/typings.js +4 -0
- package/esm/ItemLabelPlugin/utils/getLabelTransform.d.ts +1 -0
- package/esm/ItemLabelPlugin/utils/getLabelTransform.js +4 -0
- package/esm/ItemLabelPlugin/utils/getStrokeLength.d.ts +5 -0
- package/esm/ItemLabelPlugin/utils/getStrokeLength.js +16 -0
- package/esm/ItemLabelPlugin/utils/isImpacted.d.ts +8 -0
- package/esm/ItemLabelPlugin/utils/isImpacted.js +10 -0
- package/esm/ItemLabelPlugin/utils/parseData.d.ts +3 -0
- package/esm/ItemLabelPlugin/utils/parseData.js +21 -0
- package/esm/ItemLabelPlugin/utils/transform2RenderData.d.ts +3 -0
- package/esm/ItemLabelPlugin/utils/transform2RenderData.js +21 -0
- package/esm/ModelChassisCompassPlugin/Plugin.d.ts +19 -0
- package/esm/ModelChassisCompassPlugin/Plugin.js +70 -0
- package/esm/ModelChassisCompassPlugin/index.d.ts +4 -0
- package/esm/ModelChassisCompassPlugin/index.js +10 -0
- package/esm/ModelEntryDoorGuidePlugin/Plugin.d.ts +26 -0
- package/esm/ModelEntryDoorGuidePlugin/Plugin.js +77 -0
- package/esm/ModelEntryDoorGuidePlugin/index.d.ts +4 -0
- package/esm/ModelEntryDoorGuidePlugin/index.js +11 -0
- package/esm/ModelItemLabelPlugin/ItemLabelComponent.js +212 -0
- package/esm/ModelItemLabelPlugin/ItemLabelItem.js +43 -0
- package/esm/ModelItemLabelPlugin/ModelItemLabelPlugin.d.ts +4 -0
- package/esm/ModelItemLabelPlugin/ModelItemLabelPlugin.js +79 -0
- package/esm/ModelItemLabelPlugin/events.type.d.ts +9 -0
- package/esm/ModelItemLabelPlugin/events.type.js +1 -0
- package/esm/ModelItemLabelPlugin/index.d.ts +9 -0
- package/esm/ModelItemLabelPlugin/index.js +22 -0
- package/esm/ModelItemLabelPlugin/typings.d.ts +56 -0
- package/esm/ModelItemLabelPlugin/typings.js +4 -0
- package/esm/ModelItemLabelPlugin/utils/parseData.d.ts +3 -0
- package/esm/ModelItemLabelPlugin/utils/parseData.js +19 -0
- package/esm/ModelRoomLabelPlugin/Assets/roomLabelBg.d.ts +1 -0
- package/esm/ModelRoomLabelPlugin/Assets/roomLabelBg.js +4 -0
- package/esm/ModelRoomLabelPlugin/Controller.d.ts +36 -0
- package/esm/ModelRoomLabelPlugin/Controller.js +60 -0
- package/esm/ModelRoomLabelPlugin/RoomLabelItem.js +45 -0
- package/esm/ModelRoomLabelPlugin/RoomLabelItems.js +162 -0
- package/esm/ModelRoomLabelPlugin/index.d.ts +12 -0
- package/esm/ModelRoomLabelPlugin/index.js +17 -0
- package/esm/ModelRoomLabelPlugin/typings.d.ts +35 -0
- package/esm/ModelRoomLabelPlugin/utils/parseData.d.ts +3 -0
- package/esm/ModelRoomLabelPlugin/utils/parseData.js +16 -0
- package/esm/ModelTVVideoPlugin/Plugin.d.ts +4 -0
- package/esm/ModelTVVideoPlugin/Plugin.js +163 -0
- package/esm/ModelTVVideoPlugin/index.d.ts +5 -0
- package/esm/ModelTVVideoPlugin/index.js +19 -0
- package/esm/ModelTVVideoPlugin/typings.d.ts +25 -0
- package/esm/ModelTVVideoPlugin/typings.js +4 -0
- package/esm/ModelTVVideoPlugin/utils/parseData.d.ts +2 -0
- package/esm/ModelTVVideoPlugin/utils/parseData.js +20 -0
- package/esm/ModelViewPlugin/Plugin.d.ts +28 -0
- package/esm/ModelViewPlugin/Plugin.js +106 -0
- package/esm/ModelViewPlugin/index.d.ts +4 -0
- package/esm/ModelViewPlugin/index.js +8 -0
- package/esm/Object3DHelperPlugin/Controller.d.ts +65 -0
- package/esm/Object3DHelperPlugin/Controller.js +145 -0
- package/esm/Object3DHelperPlugin/FiveControllerWrapper.d.ts +19 -0
- package/esm/Object3DHelperPlugin/FiveControllerWrapper.js +31 -0
- package/esm/Object3DHelperPlugin/index.d.ts +6 -0
- package/esm/Object3DHelperPlugin/index.js +42 -0
- package/esm/Object3DHelperPlugin/typings.d.ts +24 -0
- package/esm/PanoCompassPlugin/Assets/roomInfoIcon.d.ts +1 -0
- package/esm/PanoCompassPlugin/Assets/roomInfoIcon.js +4 -0
- package/esm/PanoCompassPlugin/Controller.d.ts +84 -0
- package/esm/PanoCompassPlugin/Controller.js +224 -0
- package/esm/PanoCompassPlugin/getRoomInfoInstance.d.ts +8 -0
- package/esm/PanoCompassPlugin/getRoomInfoInstance.js +24 -0
- package/esm/PanoCompassPlugin/index.d.ts +7 -0
- package/esm/PanoCompassPlugin/index.js +25 -0
- package/esm/PanoCompassPlugin/typings.d.ts +57 -0
- package/esm/PanoCursorRaycasterPlugin/index.d.ts +48 -0
- package/esm/PanoCursorRaycasterPlugin/index.js +60 -0
- package/esm/PanoDoorLabelPlugin/BaseController.d.ts +60 -0
- package/esm/PanoDoorLabelPlugin/BaseController.js +59 -0
- package/esm/PanoDoorLabelPlugin/Controller.d.ts +37 -0
- package/esm/PanoDoorLabelPlugin/Controller.js +219 -0
- package/esm/PanoDoorLabelPlugin/DoorLabelItem.js +65 -0
- package/esm/PanoDoorLabelPlugin/index.d.ts +7 -0
- package/esm/PanoDoorLabelPlugin/index.js +15 -0
- package/esm/PanoDoorLabelPlugin/typings.d.ts +38 -0
- package/esm/PanoDoorLabelPlugin/utils.d.ts +5 -0
- package/esm/PanoDoorLabelPlugin/utils.js +23 -0
- package/esm/PanoMeasurePlugin/Controller/BaseController.d.ts +43 -0
- package/esm/PanoMeasurePlugin/Controller/BaseController.js +53 -0
- package/esm/PanoMeasurePlugin/Controller/EditController.d.ts +48 -0
- package/esm/PanoMeasurePlugin/Controller/EditController.js +102 -0
- package/esm/PanoMeasurePlugin/Controller/MixedController.d.ts +42 -0
- package/esm/PanoMeasurePlugin/Controller/MixedController.js +125 -0
- package/esm/PanoMeasurePlugin/Controller/ShortcutKeyController.d.ts +12 -0
- package/esm/PanoMeasurePlugin/Controller/ShortcutKeyController.js +33 -0
- package/esm/PanoMeasurePlugin/Controller/ViewController.d.ts +16 -0
- package/esm/PanoMeasurePlugin/Controller/ViewController.js +90 -0
- package/esm/PanoMeasurePlugin/Controller/WatchController.d.ts +26 -0
- package/esm/PanoMeasurePlugin/Controller/WatchController.js +154 -0
- package/esm/PanoMeasurePlugin/Controller/index.d.ts +73 -0
- package/esm/PanoMeasurePlugin/Controller/index.js +140 -0
- package/esm/PanoMeasurePlugin/Model/index.d.ts +35 -0
- package/esm/PanoMeasurePlugin/Model/index.js +92 -0
- package/esm/PanoMeasurePlugin/Model/line.d.ts +30 -0
- package/esm/PanoMeasurePlugin/Model/line.js +56 -0
- package/esm/PanoMeasurePlugin/Model/point.d.ts +16 -0
- package/esm/PanoMeasurePlugin/Model/point.js +30 -0
- package/esm/PanoMeasurePlugin/Model/polyline.d.ts +16 -0
- package/esm/PanoMeasurePlugin/Model/polyline.js +47 -0
- package/esm/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.d.ts +2 -0
- package/esm/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +14 -0
- package/esm/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.d.ts +2 -0
- package/esm/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +4 -0
- package/esm/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.d.ts +2 -0
- package/esm/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +4 -0
- package/esm/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +25 -0
- package/esm/PanoMeasurePlugin/Modules/DeleteDom/index.js +68 -0
- package/esm/PanoMeasurePlugin/Modules/FiveHelper.d.ts +11 -0
- package/esm/PanoMeasurePlugin/Modules/FiveHelper.js +28 -0
- package/esm/PanoMeasurePlugin/Modules/GuideController.d.ts +18 -0
- package/esm/PanoMeasurePlugin/Modules/GuideController.js +41 -0
- package/esm/PanoMeasurePlugin/Modules/Magnifier.d.ts +59 -0
- package/esm/PanoMeasurePlugin/Modules/Magnifier.js +103 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/HTML.d.ts +2 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/HTML.js +129 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +15 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +50 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +13 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +36 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/index.d.ts +20 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/index.js +48 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/mobileHTML.d.ts +4 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +82 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +12 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +39 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/style.d.ts +16 -0
- package/esm/PanoMeasurePlugin/Modules/UIController/style.js +62 -0
- package/esm/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +4 -0
- package/esm/PanoMeasurePlugin/Modules/rangePiece/html.js +66 -0
- package/esm/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +44 -0
- package/esm/PanoMeasurePlugin/Modules/rangePiece/index.js +130 -0
- package/esm/PanoMeasurePlugin/index.d.ts +10 -0
- package/esm/PanoMeasurePlugin/index.js +61 -0
- package/esm/PanoMeasurePlugin/typings/data.d.ts +37 -0
- package/esm/PanoMeasurePlugin/typings/event.type.d.ts +37 -0
- package/esm/PanoMeasurePlugin/typings/index.d.ts +8 -0
- package/esm/PanoMeasurePlugin/utils/calculateThreeMouse.d.ts +10 -0
- package/esm/PanoMeasurePlugin/utils/calculateThreeMouse.js +12 -0
- package/esm/PanoMeasurePlugin/utils/constants.d.ts +4 -0
- package/esm/PanoMeasurePlugin/utils/constants.js +36 -0
- package/esm/PanoMeasurePlugin/utils/distanceDom.d.ts +28 -0
- package/esm/PanoMeasurePlugin/utils/distanceDom.js +62 -0
- package/esm/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +2 -0
- package/esm/PanoMeasurePlugin/utils/findAssociatedLines.js +13 -0
- package/esm/PanoMeasurePlugin/utils/findClosestPoint.d.ts +10 -0
- package/esm/PanoMeasurePlugin/utils/findClosestPoint.js +15 -0
- package/esm/PanoMeasurePlugin/utils/getIntersectionFromEvent.d.ts +4 -0
- package/esm/PanoMeasurePlugin/utils/getIntersectionFromEvent.js +9 -0
- package/esm/PanoMeasurePlugin/utils/getPointFromHammerEvent.d.ts +10 -0
- package/esm/PanoMeasurePlugin/utils/getPointFromHammerEvent.js +8 -0
- package/esm/PanoMeasurePlugin/utils/ironbox.d.ts +1 -0
- package/esm/PanoMeasurePlugin/utils/ironbox.js +4 -0
- package/esm/PanoMeasurePlugin/utils/isNDCPointInScreen.d.ts +2 -0
- package/esm/PanoMeasurePlugin/utils/isNDCPointInScreen.js +7 -0
- package/esm/PanoMeasurePlugin/utils/line.d.ts +17 -0
- package/esm/PanoMeasurePlugin/utils/line.js +17 -0
- package/esm/PanoMeasurePlugin/utils/math.d.ts +17 -0
- package/esm/PanoMeasurePlugin/utils/math.js +12 -0
- package/esm/PanoMeasurePlugin/utils/mouseGroup.d.ts +7 -0
- package/esm/PanoMeasurePlugin/utils/mouseGroup.js +46 -0
- package/esm/PanoMeasurePlugin/utils/ndc2Screen.d.ts +5 -0
- package/esm/PanoMeasurePlugin/utils/ndc2Screen.js +8 -0
- package/esm/PanoRulerPlugin/Plugin.d.ts +34 -0
- package/esm/PanoRulerPlugin/Plugin.js +268 -0
- package/esm/PanoRulerPlugin/index.d.ts +5 -0
- package/esm/PanoRulerPlugin/index.js +11 -0
- package/esm/PanoRulerPlugin/style.d.ts +2 -0
- package/esm/PanoRulerPlugin/style.js +90 -0
- package/esm/PanoRulerPlugin/typings.d.ts +21 -0
- package/esm/PanoRulerProPlugin/Controller.d.ts +15 -0
- package/esm/PanoRulerProPlugin/Controller.js +93 -0
- package/esm/PanoRulerProPlugin/RulerItem.js +128 -0
- package/esm/PanoRulerProPlugin/RulerItems.js +180 -0
- package/esm/PanoRulerProPlugin/index.d.ts +8 -0
- package/esm/PanoRulerProPlugin/index.js +19 -0
- package/esm/PanoRulerProPlugin/typings.d.ts +46 -0
- package/esm/PanoSpatialTagPlugin/Components/origins.js +81 -0
- package/esm/PanoSpatialTagPlugin/Components/tag.js +124 -0
- package/esm/PanoSpatialTagPlugin/Plugin.d.ts +35 -0
- package/esm/PanoSpatialTagPlugin/Plugin.js +246 -0
- package/esm/PanoSpatialTagPlugin/index.d.ts +5 -0
- package/esm/PanoSpatialTagPlugin/index.js +25 -0
- package/esm/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/esm/PanoSpatialTagPlugin/store.js +5 -0
- package/esm/PanoSpatialTagPlugin/style.d.ts +1 -0
- package/esm/PanoSpatialTagPlugin/style.js +11 -0
- package/esm/PanoSpatialTagPlugin/typings.d.ts +40 -0
- package/esm/PanoSpatialTagPlugin/typings.js +1 -0
- package/esm/PanoTagPlugin/Assets/Icon.d.ts +3 -0
- package/esm/PanoTagPlugin/Assets/Icon.js +6 -0
- package/esm/PanoTagPlugin/Components/Common/Arrow.js +103 -0
- package/esm/PanoTagPlugin/Components/Common/Audio.js +166 -0
- package/esm/PanoTagPlugin/Components/Common/Line/Polyline.js +93 -0
- package/esm/PanoTagPlugin/Components/Common/Line/Straight.js +90 -0
- package/esm/PanoTagPlugin/Components/Common/Media.js +393 -0
- package/esm/PanoTagPlugin/Components/Common/MediaItem.js +139 -0
- package/esm/PanoTagPlugin/Components/Common/MultiLineText.js +170 -0
- package/esm/PanoTagPlugin/Components/Common/Point/CustomPoint.js +51 -0
- package/esm/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +51 -0
- package/esm/PanoTagPlugin/Components/Common/Point/PointSwitch.js +166 -0
- package/esm/PanoTagPlugin/Components/Common/Shadow.js +124 -0
- package/esm/PanoTagPlugin/Components/Common/Text.js +131 -0
- package/esm/PanoTagPlugin/Components/Tag/AudioTag.js +134 -0
- package/esm/PanoTagPlugin/Components/Tag/CustomTag.js +73 -0
- package/esm/PanoTagPlugin/Components/Tag/ImageTextTag.js +192 -0
- package/esm/PanoTagPlugin/Components/Tag/LinkTag.js +126 -0
- package/esm/PanoTagPlugin/Components/Tag/MarketingTag.js +258 -0
- package/esm/PanoTagPlugin/Components/Tag/MediaPlane.js +87 -0
- package/esm/PanoTagPlugin/Components/Tag/TextTag.js +122 -0
- package/esm/PanoTagPlugin/Components/Tag/index.js +290 -0
- package/esm/PanoTagPlugin/Components/TagContainer.js +156 -0
- package/esm/PanoTagPlugin/Components/TagWrapper.js +153 -0
- package/esm/PanoTagPlugin/controller/TagCacheController.d.ts +22 -0
- package/esm/PanoTagPlugin/controller/TagCacheController.js +31 -0
- package/esm/PanoTagPlugin/controller/TagComputer.d.ts +69 -0
- package/esm/PanoTagPlugin/controller/TagComputer.js +264 -0
- package/esm/PanoTagPlugin/controller/index.d.ts +144 -0
- package/esm/PanoTagPlugin/controller/index.js +376 -0
- package/esm/PanoTagPlugin/index.d.ts +8 -0
- package/esm/PanoTagPlugin/index.js +85 -0
- package/esm/PanoTagPlugin/tag.config.d.ts +7 -0
- package/esm/PanoTagPlugin/tag.config.js +43 -0
- package/esm/PanoTagPlugin/typings/controller.d.ts +103 -0
- package/esm/PanoTagPlugin/typings/controller.js +1 -0
- package/esm/PanoTagPlugin/typings/index.d.ts +2 -0
- package/esm/PanoTagPlugin/typings/index.js +1 -0
- package/esm/PanoTagPlugin/typings/tag.d.ts +247 -0
- package/esm/PanoTagPlugin/typings/tag.js +7 -0
- package/esm/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +2 -0
- package/esm/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +6 -0
- package/esm/PanoTagPlugin/utils/addDebugPoints.d.ts +3 -0
- package/esm/PanoTagPlugin/utils/addDebugPoints.js +27 -0
- package/esm/PanoTagPlugin/utils/checkRange.d.ts +4 -0
- package/esm/PanoTagPlugin/utils/checkRange.js +10 -0
- package/esm/PanoTagPlugin/utils/constants.d.ts +3 -0
- package/esm/PanoTagPlugin/utils/constants.js +7 -0
- package/esm/PanoTagPlugin/utils/debounce.d.ts +7 -0
- package/esm/PanoTagPlugin/utils/debounce.js +12 -0
- package/esm/PanoTagPlugin/utils/doUtil.d.ts +1 -0
- package/esm/PanoTagPlugin/utils/doUtil.js +12 -0
- package/esm/PanoTagPlugin/utils/index.d.ts +12 -0
- package/esm/PanoTagPlugin/utils/index.js +1 -0
- package/esm/PanoTagPlugin/utils/noTypecheck.d.ts +1 -0
- package/esm/PanoTagPlugin/utils/noTypecheck.js +4 -0
- package/esm/PanoTagPlugin/utils/normalPositionToPositions.d.ts +2 -0
- package/esm/PanoTagPlugin/utils/normalPositionToPositions.js +13 -0
- package/esm/PanoTagPlugin/utils/planeNormal.d.ts +4 -0
- package/esm/PanoTagPlugin/utils/planeNormal.js +11 -0
- package/esm/PanoTagPlugin/utils/resizeObserver.d.ts +4 -0
- package/esm/PanoTagPlugin/utils/resizeObserver.js +17 -0
- package/esm/PanoTagPlugin/utils/search.d.ts +11 -0
- package/esm/PanoTagPlugin/utils/search.js +15 -0
- package/esm/PanoTagPlugin/utils/tagPosition.d.ts +3 -0
- package/esm/PanoTagPlugin/utils/tagPosition.js +13 -0
- package/esm/PanoTagPlugin/utils/throttle.d.ts +7 -0
- package/esm/PanoTagPlugin/utils/throttle.js +11 -0
- package/esm/base/BasePlugin.d.ts +106 -0
- package/esm/base/BasePlugin.js +18 -0
- package/esm/base/BasePluginWithData.d.ts +34 -0
- package/esm/base/BasePluginWithData.js +6 -0
- package/esm/components/PaintBrush/Controller.d.ts +43 -0
- package/esm/components/PaintBrush/Controller.js +308 -0
- package/esm/components/PaintBrush/Subscribe.d.ts +76 -0
- package/esm/components/PaintBrush/Subscribe.js +47 -0
- package/esm/components/PaintBrush/index.d.ts +27 -0
- package/esm/components/PaintBrush/index.js +52 -0
- package/esm/components/PaintBrush/style.d.ts +2 -0
- package/esm/components/PaintBrush/style.js +104 -0
- package/esm/components/PaintBrush/tween.d.ts +7 -0
- package/esm/components/PaintBrush/tween.js +11 -0
- package/esm/components/PaintBrush/typings.d.ts +58 -0
- package/esm/components/PaintBrush/typings.js +4 -0
- package/esm/components/PaintBrush/utils.d.ts +26 -0
- package/esm/components/PaintBrush/utils.js +45 -0
- package/esm/components/index.d.ts +2 -0
- package/esm/components/index.js +13 -0
- package/esm/env.d.ts +1 -0
- package/esm/floorplan/Assets/camera.d.ts +1 -0
- package/esm/floorplan/Assets/camera.js +4 -0
- package/esm/floorplan/Assets/compass.d.ts +1 -0
- package/esm/floorplan/Assets/compass.js +4 -0
- package/esm/floorplan/Assets/floorplanExtraObject.d.ts +1 -0
- package/esm/floorplan/Assets/floorplanExtraObject.js +4 -0
- package/esm/floorplan/Components/BaseImage.js +103 -0
- package/esm/floorplan/Components/Camera.js +62 -0
- package/esm/floorplan/Components/Compass.js +60 -0
- package/esm/floorplan/Components/CurrentFloor.js +246 -0
- package/esm/floorplan/Components/Main.js +264 -0
- package/esm/floorplan/Components/Normalmage.js +37 -0
- package/esm/floorplan/Components/RoomHighlight/Room.js +61 -0
- package/esm/floorplan/Components/RoomHighlight/RoomHighlight.js +121 -0
- package/esm/floorplan/Components/RoomLabels/RoomLabel.js +153 -0
- package/esm/floorplan/Components/RoomLabels/RoomLabels.js +174 -0
- package/esm/floorplan/Components/RoomMaterials/RoomMaterial.js +196 -0
- package/esm/floorplan/Components/RoomMaterials/RoomMaterial_0.js +37 -0
- package/esm/floorplan/Components/RoomMaterials/RoomMaterial_1.js +39 -0
- package/esm/floorplan/Components/RoomMaterials/RoomMaterial_2.js +37 -0
- package/esm/floorplan/Components/RuleLabels/RuleItem.js +134 -0
- package/esm/floorplan/Components/RuleLabels/RuleLabels.js +139 -0
- package/esm/floorplan/Components/SvgImage.js +47 -0
- package/esm/floorplan/MapviewFloorplanPlugin/Controller.d.ts +97 -0
- package/esm/floorplan/MapviewFloorplanPlugin/Controller.js +321 -0
- package/esm/floorplan/MapviewFloorplanPlugin/index.d.ts +7 -0
- package/esm/floorplan/MapviewFloorplanPlugin/index.js +50 -0
- package/esm/floorplan/MapviewFloorplanPlugin/typing.d.ts +1 -0
- package/esm/floorplan/ModelFloorplanPlugin/Controller.d.ts +99 -0
- package/esm/floorplan/ModelFloorplanPlugin/Controller.js +316 -0
- package/esm/floorplan/ModelFloorplanPlugin/index.d.ts +7 -0
- package/esm/floorplan/ModelFloorplanPlugin/index.js +50 -0
- package/esm/floorplan/ModelFloorplanPlugin/typing.d.ts +1 -0
- package/esm/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +85 -0
- package/esm/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +129 -0
- package/esm/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +72 -0
- package/esm/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +183 -0
- package/esm/floorplan/PanoFloorplanRadarPlugin/Controller.d.ts +36 -0
- package/esm/floorplan/PanoFloorplanRadarPlugin/Controller.js +164 -0
- package/esm/floorplan/PanoFloorplanRadarPlugin/index.d.ts +7 -0
- package/esm/floorplan/PanoFloorplanRadarPlugin/index.js +27 -0
- package/esm/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +52 -0
- package/esm/floorplan/TopviewFloorplanPlugin/Controller.d.ts +69 -0
- package/esm/floorplan/TopviewFloorplanPlugin/Controller.js +273 -0
- package/esm/floorplan/TopviewFloorplanPlugin/index.d.ts +7 -0
- package/esm/floorplan/TopviewFloorplanPlugin/index.js +47 -0
- package/esm/floorplan/TopviewFloorplanPlugin/typing.d.ts +11 -0
- package/esm/floorplan/constant.d.ts +5 -0
- package/esm/floorplan/constant.js +4 -0
- package/esm/floorplan/index.d.ts +7 -0
- package/esm/floorplan/index.js +6 -0
- package/esm/floorplan/typings/floorplanData.d.ts +137 -0
- package/esm/floorplan/typings/floorplanData.js +1 -0
- package/esm/floorplan/typings/floorplanServerData.d.ts +144 -0
- package/esm/floorplan/typings/floorplanServerData.js +101 -0
- package/esm/floorplan/typings/index.d.ts +117 -0
- package/esm/floorplan/typings/utility.d.ts +2 -0
- package/esm/floorplan/utils/constant.d.ts +22 -0
- package/esm/floorplan/utils/constant.js +7 -0
- package/esm/floorplan/utils/correctFiveState.d.ts +15 -0
- package/esm/floorplan/utils/correctFiveState.js +54 -0
- package/esm/floorplan/utils/formatData.d.ts +5 -0
- package/esm/floorplan/utils/formatData.js +104 -0
- package/esm/floorplan/utils/formatPosition.d.ts +36 -0
- package/esm/floorplan/utils/formatPosition.js +35 -0
- package/esm/index.d.ts +23 -0
- package/esm/index.js +346 -0
- package/esm/shared-utils/Object3DHelper/Base/BaseController.d.ts +48 -0
- package/esm/shared-utils/Object3DHelper/Base/BaseController.js +151 -0
- package/esm/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +91 -0
- package/esm/shared-utils/Object3DHelper/Base/BaseHelper.js +51 -0
- package/esm/shared-utils/Object3DHelper/Constants/color.d.ts +12 -0
- package/esm/shared-utils/Object3DHelper/Constants/color.js +20 -0
- package/esm/shared-utils/Object3DHelper/Controller/CSS3DScaleController.d.ts +6 -0
- package/esm/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +18 -0
- package/esm/shared-utils/Object3DHelper/Controller/MoveController.d.ts +13 -0
- package/esm/shared-utils/Object3DHelper/Controller/MoveController.js +66 -0
- package/esm/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +37 -0
- package/esm/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +109 -0
- package/esm/shared-utils/Object3DHelper/Controller/RotateController.d.ts +22 -0
- package/esm/shared-utils/Object3DHelper/Controller/RotateController.js +134 -0
- package/esm/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.d.ts +11 -0
- package/esm/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +79 -0
- package/esm/shared-utils/Object3DHelper/Helper/HTML/tipsDom.d.ts +6 -0
- package/esm/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +41 -0
- package/esm/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.d.ts +2 -0
- package/esm/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +13 -0
- package/esm/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +13 -0
- package/esm/shared-utils/Object3DHelper/Helper/MoveHelper.js +30 -0
- package/esm/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.d.ts +17 -0
- package/esm/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js +35 -0
- package/esm/shared-utils/Object3DHelper/Helper/OutlineHelper.d.ts +11 -0
- package/esm/shared-utils/Object3DHelper/Helper/OutlineHelper.js +2 -0
- package/esm/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +40 -0
- package/esm/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +137 -0
- package/esm/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +55 -0
- package/esm/shared-utils/Object3DHelper/Helper/RotateHelper.js +136 -0
- package/esm/shared-utils/Object3DHelper/Helper/index.d.ts +5 -0
- package/esm/shared-utils/Object3DHelper/Helper/index.js +3 -0
- package/esm/shared-utils/Object3DHelper/index.d.ts +71 -0
- package/esm/shared-utils/Object3DHelper/index.js +169 -0
- package/esm/shared-utils/Object3DHelper/typings/Direction.d.ts +2 -0
- package/esm/shared-utils/Object3DHelper/typings/Direction.js +1 -0
- package/esm/shared-utils/Object3DHelper/typings/Hooks.d.ts +45 -0
- package/esm/shared-utils/Object3DHelper/typings/Hooks.js +1 -0
- package/esm/shared-utils/Object3DHelper/typings/Scissor.d.ts +17 -0
- package/esm/shared-utils/Object3DHelper/typings/Scissor.js +1 -0
- package/esm/shared-utils/Object3DHelper/typings/index.d.ts +5 -0
- package/esm/shared-utils/Object3DHelper/typings/index.js +1 -0
- package/esm/shared-utils/Object3DHelper/utils/calculateThreeMouse.d.ts +14 -0
- package/esm/shared-utils/Object3DHelper/utils/calculateThreeMouse.js +11 -0
- package/esm/shared-utils/Object3DHelper/utils/direction.d.ts +14 -0
- package/esm/shared-utils/Object3DHelper/utils/direction.js +22 -0
- package/esm/shared-utils/Object3DHelper/utils/filterNotColinearPoints.d.ts +2 -0
- package/esm/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -0
- package/esm/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +5 -0
- package/esm/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +14 -0
- package/esm/shared-utils/Object3DHelper/utils/getPoint.d.ts +3 -0
- package/esm/shared-utils/Object3DHelper/utils/getPoint.js +1 -0
- package/esm/shared-utils/Object3DHelper/utils/index.d.ts +8 -0
- package/esm/shared-utils/Object3DHelper/utils/index.js +1 -0
- package/esm/shared-utils/Object3DHelper/utils/normalPositionToPositions.d.ts +5 -0
- package/esm/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -0
- package/esm/shared-utils/Object3DHelper/utils/object3DBoundingPosition.d.ts +1 -0
- package/esm/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -0
- package/esm/shared-utils/Object3DHelper/utils/threex/domevents/index.d.ts +34 -0
- package/esm/shared-utils/Object3DHelper/utils/threex/domevents/index.js +191 -0
- package/esm/shared-utils/Object3DHelper/utils/vectorIsEqual.d.ts +2 -0
- package/esm/shared-utils/Object3DHelper/utils/vectorIsEqual.js +6 -0
- package/esm/shared-utils/Subscribe.d.ts +60 -0
- package/esm/shared-utils/Subscribe.js +50 -0
- package/esm/shared-utils/animationFrame/BetterTween.d.ts +11 -0
- package/esm/shared-utils/animationFrame/BetterTween.js +26 -0
- package/esm/shared-utils/animationFrame/calculateProgress.d.ts +8 -0
- package/esm/shared-utils/animationFrame/calculateProgress.js +6 -0
- package/esm/shared-utils/animationFrame/formatRad.d.ts +15 -0
- package/esm/shared-utils/animationFrame/formatRad.js +11 -0
- package/esm/shared-utils/animationFrame/index.d.ts +16 -0
- package/esm/shared-utils/animationFrame/index.js +28 -0
- package/esm/shared-utils/animationFrame/tween.d.ts +75 -0
- package/esm/shared-utils/animationFrame/tween.js +28 -0
- package/esm/shared-utils/changeModelCanvasOpacity.d.ts +2 -0
- package/esm/shared-utils/changeModelCanvasOpacity.js +12 -0
- package/esm/shared-utils/createCanvasTextTexture.d.ts +8 -0
- package/esm/shared-utils/createCanvasTextTexture.js +11 -0
- package/esm/shared-utils/createLine/index.d.ts +3 -0
- package/esm/shared-utils/createLine/index.js +9 -0
- package/esm/shared-utils/debounce.d.ts +6 -0
- package/esm/shared-utils/debounce.js +11 -0
- package/esm/shared-utils/equal.d.ts +11 -0
- package/esm/shared-utils/equal.js +54 -0
- package/esm/shared-utils/filter.d.ts +27 -0
- package/esm/shared-utils/filter.js +10 -0
- package/esm/shared-utils/five/changeMode.d.ts +5 -0
- package/esm/shared-utils/five/changeMode.js +39 -0
- package/esm/shared-utils/getPxmm.d.ts +19 -0
- package/esm/shared-utils/getPxmm.js +20 -0
- package/esm/shared-utils/index.d.ts +4 -0
- package/esm/shared-utils/index.js +35 -0
- package/esm/shared-utils/isNil.d.ts +10 -0
- package/esm/shared-utils/isNil.js +10 -0
- package/esm/shared-utils/isTruelyObject.d.ts +18 -0
- package/esm/shared-utils/isTruelyObject.js +6 -0
- package/esm/shared-utils/math/Interval.d.ts +13 -0
- package/esm/shared-utils/math/Interval.js +23 -0
- package/esm/shared-utils/math/Rectangle.d.ts +27 -0
- package/esm/shared-utils/math/Rectangle.js +23 -0
- package/esm/shared-utils/math/index.d.ts +2 -0
- package/esm/shared-utils/math/index.js +1 -0
- package/esm/shared-utils/math/planimetry.d.ts +116 -0
- package/esm/shared-utils/math/planimetry.js +43 -0
- package/esm/shared-utils/math/rad2Deg.d.ts +1 -0
- package/esm/shared-utils/math/rad2Deg.js +6 -0
- package/esm/shared-utils/nearlyEqual.d.ts +7 -0
- package/esm/shared-utils/nearlyEqual.js +6 -0
- package/esm/shared-utils/nextFrame.d.ts +1 -0
- package/esm/shared-utils/nextFrame.js +6 -0
- package/esm/shared-utils/noop.d.ts +5 -0
- package/esm/shared-utils/noop.js +5 -0
- package/esm/shared-utils/object3d2LocalMatrix.d.ts +12 -0
- package/esm/shared-utils/object3d2LocalMatrix.js +18 -0
- package/esm/shared-utils/removeArrayItem.d.ts +7 -0
- package/esm/shared-utils/removeArrayItem.js +8 -0
- package/esm/shared-utils/tap.d.ts +8 -0
- package/esm/shared-utils/tap.js +6 -0
- package/esm/shared-utils/three/Assets/index.d.ts +3 -0
- package/esm/shared-utils/three/Assets/index.js +4 -0
- package/esm/shared-utils/three/FivePointSelector.d.ts +36 -0
- package/esm/shared-utils/three/FivePointSelector.js +49 -0
- package/esm/shared-utils/three/Magnifier.d.ts +53 -0
- package/esm/shared-utils/three/Magnifier.js +104 -0
- package/esm/shared-utils/three/PointDomHelper.d.ts +18 -0
- package/esm/shared-utils/three/PointDomHelper.js +60 -0
- package/esm/shared-utils/three/PointHelper.d.ts +21 -0
- package/esm/shared-utils/three/PointHelper.js +73 -0
- package/esm/shared-utils/three/getCoords.d.ts +9 -0
- package/esm/shared-utils/three/getCoords.js +13 -0
- package/esm/shared-utils/three/getIntersect.d.ts +6 -0
- package/esm/shared-utils/three/getIntersect.js +8 -0
- package/esm/shared-utils/three/getRaycaster.d.ts +6 -0
- package/esm/shared-utils/three/getRaycaster.js +12 -0
- package/esm/shared-utils/three/index.d.ts +7 -0
- package/esm/shared-utils/three/index.js +6 -0
- package/esm/shared-utils/three/loadTexture.d.ts +2 -0
- package/esm/shared-utils/three/loadTexture.js +28 -0
- package/esm/shared-utils/three/transformPositionToVector3.d.ts +7 -0
- package/esm/shared-utils/three/transformPositionToVector3.js +5 -0
- package/esm/shared-utils/three/transfromToMeshBasicMaterial.d.ts +2 -0
- package/esm/shared-utils/three/transfromToMeshBasicMaterial.js +24 -0
- package/esm/shared-utils/throttle.d.ts +7 -0
- package/esm/shared-utils/throttle.js +11 -0
- package/esm/shared-utils/tinyEJSrender.d.ts +5 -0
- package/esm/shared-utils/tinyEJSrender.js +140 -0
- package/esm/shared-utils/to.d.ts +8 -0
- package/esm/shared-utils/to.js +28 -0
- package/esm/shared-utils/uuid.d.ts +5 -0
- package/esm/shared-utils/uuid.js +9 -0
- package/esm/typings/math.type.d.ts +44 -0
- package/esm/vendor/swiper/components-shared/get-changed-params.js +29 -0
- package/esm/vendor/swiper/components-shared/get-params.js +23 -0
- package/esm/vendor/swiper/components-shared/mount-swiper.js +14 -0
- package/esm/vendor/swiper/components-shared/params-list.js +120 -0
- package/esm/vendor/swiper/components-shared/update-swiper.js +36 -0
- package/esm/vendor/swiper/components-shared/utils.js +32 -0
- package/esm/vendor/swiper/svelte/swiper-slide.js +182 -0
- package/esm/vendor/swiper/svelte/swiper-svelte.js +3 -0
- package/esm/vendor/swiper/svelte/swiper.js +254 -0
- package/package.json +2 -1
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
var ae = Object.defineProperty, ce = Object.defineProperties;
|
|
2
|
+
var le = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var j = Object.getOwnPropertySymbols;
|
|
4
|
+
var de = Object.prototype.hasOwnProperty, me = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var H = (i, t, e) => t in i ? ae(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, k = (i, t) => {
|
|
6
|
+
for (var e in t || (t = {}))
|
|
7
|
+
de.call(t, e) && H(i, e, t[e]);
|
|
8
|
+
if (j)
|
|
9
|
+
for (var e of j(t))
|
|
10
|
+
me.call(t, e) && H(i, e, t[e]);
|
|
11
|
+
return i;
|
|
12
|
+
}, y = (i, t) => ce(i, le(t));
|
|
13
|
+
import { SvelteComponent as fe, init as ue, safe_not_equal as he, append_styles as pe, 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
|
+
import { Five as P } from "@realsee/five";
|
|
15
|
+
import { beforeUpdate as Me, onMount as ze, onDestroy as Ce } from "svelte";
|
|
16
|
+
import * as Ee from "three";
|
|
17
|
+
import { I as Fe } from "./ItemLabelItem.js";
|
|
18
|
+
import { d as Oe } from "../shared-utils/debounce.js";
|
|
19
|
+
import { i as B } from "./utils/isImpacted.js";
|
|
20
|
+
import { g as xe } from "./utils/getStrokeLength.js";
|
|
21
|
+
import { g as Ve } from "./utils/getLabelTransform.js";
|
|
22
|
+
import { t as N } from "./utils/transform2RenderData.js";
|
|
23
|
+
function ve(i) {
|
|
24
|
+
pe(i, "svelte-gk8s47", ".item-labels-container.svelte-gk8s47{width:100%;height:100%;position:relative}");
|
|
25
|
+
}
|
|
26
|
+
function q(i, t, e) {
|
|
27
|
+
const r = i.slice();
|
|
28
|
+
return r[30] = t[e], r;
|
|
29
|
+
}
|
|
30
|
+
function X(i) {
|
|
31
|
+
let t, e;
|
|
32
|
+
return t = new Fe({
|
|
33
|
+
props: {
|
|
34
|
+
itemLabel: i[30],
|
|
35
|
+
hooks: i[0],
|
|
36
|
+
anchorEnabled: i[2],
|
|
37
|
+
onIconClick: i[6]
|
|
38
|
+
}
|
|
39
|
+
}), {
|
|
40
|
+
c() {
|
|
41
|
+
Pe(t.$$.fragment);
|
|
42
|
+
},
|
|
43
|
+
m(r, f) {
|
|
44
|
+
we(t, r, f), e = !0;
|
|
45
|
+
},
|
|
46
|
+
p(r, f) {
|
|
47
|
+
const o = {};
|
|
48
|
+
f[0] & 2 && (o.itemLabel = r[30]), f[0] & 1 && (o.hooks = r[0]), f[0] & 4 && (o.anchorEnabled = r[2]), t.$set(o);
|
|
49
|
+
},
|
|
50
|
+
i(r) {
|
|
51
|
+
e || (w(t.$$.fragment, r), e = !0);
|
|
52
|
+
},
|
|
53
|
+
o(r) {
|
|
54
|
+
z(t.$$.fragment, r), e = !1;
|
|
55
|
+
},
|
|
56
|
+
d(r) {
|
|
57
|
+
Le(t, r);
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function Y(i, t) {
|
|
62
|
+
let e, r, f, o = t[30].visible && X(t);
|
|
63
|
+
return {
|
|
64
|
+
key: i,
|
|
65
|
+
first: null,
|
|
66
|
+
c() {
|
|
67
|
+
e = A(), o && o.c(), r = A(), this.first = e;
|
|
68
|
+
},
|
|
69
|
+
m(d, p) {
|
|
70
|
+
v(d, e, p), o && o.m(d, p), v(d, r, p), f = !0;
|
|
71
|
+
},
|
|
72
|
+
p(d, p) {
|
|
73
|
+
t = d, t[30].visible ? o ? (o.p(t, p), p[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
|
+
o = null;
|
|
75
|
+
}), G());
|
|
76
|
+
},
|
|
77
|
+
i(d) {
|
|
78
|
+
f || (w(o), f = !0);
|
|
79
|
+
},
|
|
80
|
+
o(d) {
|
|
81
|
+
z(o), f = !1;
|
|
82
|
+
},
|
|
83
|
+
d(d) {
|
|
84
|
+
d && T(e), o && o.d(d), d && T(r);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function Te(i) {
|
|
89
|
+
let t, e = [], r = /* @__PURE__ */ new Map(), f, o, d = i[1];
|
|
90
|
+
const p = (c) => c[30].id;
|
|
91
|
+
for (let c = 0; c < d.length; c += 1) {
|
|
92
|
+
let a = q(i, d, c), _ = p(a);
|
|
93
|
+
r.set(_, e[c] = Y(_, a));
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
c() {
|
|
97
|
+
t = _e("div");
|
|
98
|
+
for (let c = 0; c < e.length; c += 1)
|
|
99
|
+
e[c].c();
|
|
100
|
+
be(t, "class", "item-labels-container svelte-gk8s47"), Ie(() => i[12].call(t)), W(t, "opacity", i[5] ? 1 : 0, !1);
|
|
101
|
+
},
|
|
102
|
+
m(c, a) {
|
|
103
|
+
v(c, t, a);
|
|
104
|
+
for (let _ = 0; _ < e.length; _ += 1)
|
|
105
|
+
e[_].m(t, null);
|
|
106
|
+
f = ge(t, i[12].bind(t)), o = !0;
|
|
107
|
+
},
|
|
108
|
+
p(c, a) {
|
|
109
|
+
a[0] & 71 && (d = c[1], Z(), e = ke(e, a, p, 1, c, d, r, t, ye, Y, null, q), G()), a[0] & 32 && W(t, "opacity", c[5] ? 1 : 0, !1);
|
|
110
|
+
},
|
|
111
|
+
i(c) {
|
|
112
|
+
if (!o) {
|
|
113
|
+
for (let a = 0; a < d.length; a += 1)
|
|
114
|
+
w(e[a]);
|
|
115
|
+
o = !0;
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
o(c) {
|
|
119
|
+
for (let a = 0; a < e.length; a += 1)
|
|
120
|
+
z(e[a]);
|
|
121
|
+
o = !1;
|
|
122
|
+
},
|
|
123
|
+
d(c) {
|
|
124
|
+
c && T(t);
|
|
125
|
+
for (let a = 0; a < e.length; a += 1)
|
|
126
|
+
e[a].d();
|
|
127
|
+
f();
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
let De = 11;
|
|
132
|
+
function Ue(i, t, e) {
|
|
133
|
+
const { Raycaster: r, Vector3: f } = Ee;
|
|
134
|
+
let { five: o } = t, { modelOcclusionEnable: d } = t, { itemLabels: p } = 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
|
+
const K = (s, u) => {
|
|
136
|
+
const h = s.camera.position.clone(), m = new f(u.modelPosition[0], u.modelPosition[1], u.modelPosition[2]), n = m.distanceTo(h);
|
|
137
|
+
return _ !== void 0 && s.state.mode === P.Mode.Panorama && n > _ ? !1 : B(s, m.clone().sub(h).normalize(), h, n);
|
|
138
|
+
}, Q = (s) => {
|
|
139
|
+
const { camera: u, model: h } = 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
|
+
return Boolean(V);
|
|
141
|
+
}, $ = (s, u) => {
|
|
142
|
+
const h = new f(u.modelPosition[0], u.modelPosition[1], u.modelPosition[2]), m = s.project2d(h), n = m == null ? void 0 : m.x, l = m == null ? void 0 : m.y;
|
|
143
|
+
return [n, l];
|
|
144
|
+
}, ee = (s, u) => {
|
|
145
|
+
const h = u.map((n) => {
|
|
146
|
+
if (s.state.panoIndex !== n.panoIndex)
|
|
147
|
+
return y(k({}, n), { visible: !1 });
|
|
148
|
+
const l = $(s, n);
|
|
149
|
+
n.name.length * De;
|
|
150
|
+
const I = xe(n.modelPosition[1], a), b = s.currentMode === P.Mode.Panorama ? Q(new f(n.position[0], n.position[1], n.position[2])) : !0, x = d ? K(s, n) : !1, M = b && !x;
|
|
151
|
+
if (!M)
|
|
152
|
+
return y(k({}, n), { visible: M });
|
|
153
|
+
D.push(l);
|
|
154
|
+
const V = Ve(l);
|
|
155
|
+
return y(k({}, n), {
|
|
156
|
+
visible: M,
|
|
157
|
+
transform: V,
|
|
158
|
+
strokeLength: I
|
|
159
|
+
});
|
|
160
|
+
}), m = h.filter(({ visible: n }) => n).map((n) => ({
|
|
161
|
+
itemLabelItem: n,
|
|
162
|
+
distance: new f(n.modelPosition[0], n.modelPosition[1], n.modelPosition[2]).clone().distanceTo(s.camera.position)
|
|
163
|
+
})).sort((n, l) => n.distance - l.distance);
|
|
164
|
+
return h.map((n) => {
|
|
165
|
+
const l = m.findIndex((I) => I.itemLabelItem.id === n.id);
|
|
166
|
+
return l !== void 0 ? y(k({}, n), { zIndex: l * 10 }) : n;
|
|
167
|
+
});
|
|
168
|
+
}, L = () => {
|
|
169
|
+
D = [], e(1, g = ee(o, g));
|
|
170
|
+
}, U = () => {
|
|
171
|
+
e(5, O = !1), te();
|
|
172
|
+
}, te = Oe(
|
|
173
|
+
() => {
|
|
174
|
+
e(5, O = !0), L();
|
|
175
|
+
},
|
|
176
|
+
300
|
|
177
|
+
), R = () => {
|
|
178
|
+
o.once("renderFrame", L);
|
|
179
|
+
}, oe = () => {
|
|
180
|
+
window.addEventListener("resize", R, !1);
|
|
181
|
+
}, ne = () => {
|
|
182
|
+
C !== p && (e(1, g = N(p)), C = p, L());
|
|
183
|
+
}, se = (s, u) => {
|
|
184
|
+
let h = [];
|
|
185
|
+
for (let n = 0; n < u.length; n++) {
|
|
186
|
+
const { position: l, panoIndex: I } = u[n], b = s.distanceTo(l);
|
|
187
|
+
(_ === void 0 || b <= _ || o.state.mode !== P.Mode.Panorama) && h.push({ panoIndex: I, obVector: l, distance: b });
|
|
188
|
+
}
|
|
189
|
+
h = h.sort((n, l) => n.distance - l.distance);
|
|
190
|
+
let m;
|
|
191
|
+
for (let n = 0; n < h.length; n++) {
|
|
192
|
+
const { obVector: l, distance: I, panoIndex: b } = h[n];
|
|
193
|
+
if (!B(o, s, l, I)) {
|
|
194
|
+
m = b;
|
|
195
|
+
break;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
return typeof m == "number" ? u[m] : void 0;
|
|
199
|
+
}, ie = (s) => {
|
|
200
|
+
if (o.state.mode === P.Mode.Panorama)
|
|
201
|
+
return;
|
|
202
|
+
const u = o.work.observers, h = new f().fromArray(s.position), m = se(h, u);
|
|
203
|
+
if (m && (s.observerIndex = m.panoIndex), typeof s.observerIndex == "number") {
|
|
204
|
+
const n = u[s.observerIndex], l = h.clone().sub(n.position).normalize(), I = {
|
|
205
|
+
longitude: Math.PI + Math.atan2(l.x, l.z),
|
|
206
|
+
latitude: Math.acos(l.y / l.length()) - Math.PI / 2
|
|
207
|
+
};
|
|
208
|
+
o.setState(y(k({}, I), {
|
|
209
|
+
mode: P.Mode.Panorama,
|
|
210
|
+
panoIndex: s.observerIndex
|
|
211
|
+
})), o.once("initAnimationEnded", () => {
|
|
212
|
+
e(1, g = g.map((b) => y(k({}, b), {
|
|
213
|
+
isFold: b.id !== s.id
|
|
214
|
+
}))), o.once("cameraUpdate", () => {
|
|
215
|
+
e(1, g = g.map((b) => y(k({}, b), { isFold: !1 })));
|
|
216
|
+
});
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
Me(() => {
|
|
221
|
+
ne();
|
|
222
|
+
}), ze(() => {
|
|
223
|
+
e(1, g = N(p)), C = p, L(), oe(), o.on("cameraUpdate", U);
|
|
224
|
+
}), Ce(() => {
|
|
225
|
+
o.off("cameraUpdate", U), window.removeEventListener("resize", R, !1);
|
|
226
|
+
});
|
|
227
|
+
function re() {
|
|
228
|
+
E = this.clientWidth, F = this.clientHeight, e(3, E), e(4, F);
|
|
229
|
+
}
|
|
230
|
+
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, p = 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
|
+
}, [
|
|
233
|
+
c,
|
|
234
|
+
g,
|
|
235
|
+
J,
|
|
236
|
+
E,
|
|
237
|
+
F,
|
|
238
|
+
O,
|
|
239
|
+
ie,
|
|
240
|
+
o,
|
|
241
|
+
d,
|
|
242
|
+
p,
|
|
243
|
+
a,
|
|
244
|
+
_,
|
|
245
|
+
re
|
|
246
|
+
];
|
|
247
|
+
}
|
|
248
|
+
class Ye extends fe {
|
|
249
|
+
constructor(t) {
|
|
250
|
+
super(), ue(
|
|
251
|
+
this,
|
|
252
|
+
t,
|
|
253
|
+
Ue,
|
|
254
|
+
Te,
|
|
255
|
+
he,
|
|
256
|
+
{
|
|
257
|
+
five: 7,
|
|
258
|
+
modelOcclusionEnable: 8,
|
|
259
|
+
itemLabels: 9,
|
|
260
|
+
hooks: 0,
|
|
261
|
+
displayStrategyType: 10,
|
|
262
|
+
maxVisibleDistance: 11
|
|
263
|
+
},
|
|
264
|
+
ve,
|
|
265
|
+
[-1, -1]
|
|
266
|
+
);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
export {
|
|
270
|
+
Ye as I
|
|
271
|
+
};
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { SvelteComponent as B, init as x, safe_not_equal as F, append_styles as N, element as w, space as z, attr as c, null_to_empty as p, set_style as _, insert as q, append as v, listen as j, noop as I, detach as y, binding_callbacks as S, text as L, set_data as C } from "svelte/internal";
|
|
2
|
+
import k from "classnames";
|
|
3
|
+
function A(l) {
|
|
4
|
+
N(l, "svelte-gduhqw", `.item-label-item.svelte-gduhqw.svelte-gduhqw{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;animation:svelte-gduhqw-fadeIn .3s ease-in}.item-label-item.fold.svelte-gduhqw>.item-label-item__text-wrap.svelte-gduhqw{visibility:hidden}.item-label-item.fold.svelte-gduhqw>.item-label-item__bar.anchor.svelte-gduhqw{visibility:hidden}.item-label-item.fold.svelte-gduhqw>.item-label-item__bar.anchor.svelte-gduhqw:after{visibility:visible}.item-label-item__text-wrap.svelte-gduhqw.svelte-gduhqw{height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-gduhqw.svelte-gduhqw{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-gduhqw.svelte-gduhqw{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-gduhqw.svelte-gduhqw{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-gduhqw.svelte-gduhqw{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-gduhqw.svelte-gduhqw{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-gduhqw.svelte-gduhqw{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-gduhqw.svelte-gduhqw{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-gduhqw.svelte-gduhqw:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url("//vrlab-public.ljcdn.com/common/file/web/67e7a198-28c9-47dc-879b-507bd3ae600c.png ");background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@keyframes svelte-gduhqw-fadeIn{from{opacity:0
|
|
5
|
+
}to{opacity:1
|
|
6
|
+
}}`);
|
|
7
|
+
}
|
|
8
|
+
function D(l) {
|
|
9
|
+
let e, t, n, s = (l[0].code || l[0].id) + "", h, o, m, r = l[0].name + "", g, a = l[0].icon && E(l);
|
|
10
|
+
return {
|
|
11
|
+
c() {
|
|
12
|
+
a && a.c(), e = z(), t = w("div"), n = w("span"), h = L(s), o = z(), m = w("span"), g = L(r), c(n, "class", "item-model svelte-gduhqw"), c(m, "class", "item-name svelte-gduhqw"), c(t, "class", "item-label-text svelte-gduhqw");
|
|
13
|
+
},
|
|
14
|
+
m(i, f) {
|
|
15
|
+
a && a.m(i, f), q(i, e, f), q(i, t, f), v(t, n), v(n, h), v(t, o), v(t, m), v(m, g);
|
|
16
|
+
},
|
|
17
|
+
p(i, f) {
|
|
18
|
+
i[0].icon ? a ? a.p(i, f) : (a = E(i), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), f & 1 && s !== (s = (i[0].code || i[0].id) + "") && C(h, s), f & 1 && r !== (r = i[0].name + "") && C(g, r);
|
|
19
|
+
},
|
|
20
|
+
d(i) {
|
|
21
|
+
a && a.d(i), i && y(e), i && y(t);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function G(l) {
|
|
26
|
+
let e;
|
|
27
|
+
return {
|
|
28
|
+
c() {
|
|
29
|
+
e = w("div");
|
|
30
|
+
},
|
|
31
|
+
m(t, n) {
|
|
32
|
+
q(t, e, n), l[6](e);
|
|
33
|
+
},
|
|
34
|
+
p: I,
|
|
35
|
+
d(t) {
|
|
36
|
+
t && y(e), l[6](null);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function E(l) {
|
|
41
|
+
let e, t, n, s, h;
|
|
42
|
+
return {
|
|
43
|
+
c() {
|
|
44
|
+
e = w("div"), t = w("div"), c(t, "class", "icon svelte-gduhqw"), c(t, "style", n = `background-image: url(${l[0].icon})`), c(e, "class", "icon-wrap svelte-gduhqw");
|
|
45
|
+
},
|
|
46
|
+
m(o, m) {
|
|
47
|
+
q(o, e, m), v(e, t), s || (h = j(e, "click", l[7]), s = !0);
|
|
48
|
+
},
|
|
49
|
+
p(o, m) {
|
|
50
|
+
m & 1 && n !== (n = `background-image: url(${o[0].icon})`) && c(t, "style", n);
|
|
51
|
+
},
|
|
52
|
+
d(o) {
|
|
53
|
+
o && y(e), s = !1, h();
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function H(l) {
|
|
58
|
+
let e, t, n, s, h, o, m, r, g, a;
|
|
59
|
+
function i(d, u) {
|
|
60
|
+
return u & 1 && (n = null), n == null && (n = !!Boolean(typeof d[0].render == "function")), n ? G : D;
|
|
61
|
+
}
|
|
62
|
+
let f = i(l, -1), b = f(l);
|
|
63
|
+
return {
|
|
64
|
+
c() {
|
|
65
|
+
e = w("div"), t = w("div"), b.c(), h = z(), o = w("div"), c(t, "class", s = p(k("item-label-item__text-wrap", {
|
|
66
|
+
"item-label-item__custom": Boolean(typeof l[0].render == "function")
|
|
67
|
+
})) + " svelte-gduhqw"), _(t, "bottom", `${l[0].strokeLength}px`), c(o, "class", m = p(k("item-label-item__bar", { anchor: l[1] })) + " svelte-gduhqw"), _(o, "height", `${l[0].strokeLength}px`), c(e, "class", r = p(k("item-label-item", { fold: l[0].isFold })) + " svelte-gduhqw"), _(e, "z-index", l[0].zIndex, !1), _(e, "transform", l[0].transform, !1);
|
|
68
|
+
},
|
|
69
|
+
m(d, u) {
|
|
70
|
+
q(d, e, u), v(e, t), b.m(t, null), v(e, h), v(e, o), g || (a = j(t, "click", l[4]), g = !0);
|
|
71
|
+
},
|
|
72
|
+
p(d, [u]) {
|
|
73
|
+
f === (f = i(d, u)) && b ? b.p(d, u) : (b.d(1), b = f(d), b && (b.c(), b.m(t, null))), u & 1 && s !== (s = p(k("item-label-item__text-wrap", {
|
|
74
|
+
"item-label-item__custom": Boolean(typeof d[0].render == "function")
|
|
75
|
+
})) + " svelte-gduhqw") && c(t, "class", s), u & 1 && _(t, "bottom", `${d[0].strokeLength}px`), u & 2 && m !== (m = p(k("item-label-item__bar", { anchor: d[1] })) + " svelte-gduhqw") && c(o, "class", m), u & 1 && _(o, "height", `${d[0].strokeLength}px`), u & 1 && r !== (r = p(k("item-label-item", { fold: d[0].isFold })) + " svelte-gduhqw") && c(e, "class", r), u & 1 && _(e, "z-index", d[0].zIndex, !1), u & 1 && _(e, "transform", d[0].transform, !1);
|
|
76
|
+
},
|
|
77
|
+
i: I,
|
|
78
|
+
o: I,
|
|
79
|
+
d(d) {
|
|
80
|
+
d && y(e), b.d(), g = !1, a();
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
function J(l, e, t) {
|
|
85
|
+
let { itemLabel: n } = e, { hooks: s } = e, { anchorEnabled: h } = e, { onIconClick: o } = e;
|
|
86
|
+
function m() {
|
|
87
|
+
s.emit("onLabelClick", n);
|
|
88
|
+
}
|
|
89
|
+
let r;
|
|
90
|
+
function g(i) {
|
|
91
|
+
S[i ? "unshift" : "push"](() => {
|
|
92
|
+
r = i, t(3, r);
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
const a = (i) => o(n);
|
|
96
|
+
return l.$$set = (i) => {
|
|
97
|
+
"itemLabel" in i && t(0, n = i.itemLabel), "hooks" in i && t(5, s = i.hooks), "anchorEnabled" in i && t(1, h = i.anchorEnabled), "onIconClick" in i && t(2, o = i.onIconClick);
|
|
98
|
+
}, l.$$.update = () => {
|
|
99
|
+
if (l.$$.dirty & 9 && typeof n.render == "function" && r && r.children.length === 0) {
|
|
100
|
+
const i = n.render(n);
|
|
101
|
+
i && r.appendChild(i);
|
|
102
|
+
}
|
|
103
|
+
}, [
|
|
104
|
+
n,
|
|
105
|
+
h,
|
|
106
|
+
o,
|
|
107
|
+
r,
|
|
108
|
+
m,
|
|
109
|
+
s,
|
|
110
|
+
g,
|
|
111
|
+
a
|
|
112
|
+
];
|
|
113
|
+
}
|
|
114
|
+
class O extends B {
|
|
115
|
+
constructor(e) {
|
|
116
|
+
super(), x(
|
|
117
|
+
this,
|
|
118
|
+
e,
|
|
119
|
+
J,
|
|
120
|
+
H,
|
|
121
|
+
F,
|
|
122
|
+
{
|
|
123
|
+
itemLabel: 0,
|
|
124
|
+
hooks: 5,
|
|
125
|
+
anchorEnabled: 1,
|
|
126
|
+
onIconClick: 2
|
|
127
|
+
},
|
|
128
|
+
A
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
export {
|
|
133
|
+
O as I
|
|
134
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { FivePlugin } from "@realsee/five";
|
|
2
|
+
import { ItemLabelPluginExportReturnsType, ItemLabelPluginParametersType } from "./typings";
|
|
3
|
+
export declare const Plugin: FivePlugin<ItemLabelPluginParametersType, ItemLabelPluginExportReturnsType>;
|
|
4
|
+
export default Plugin;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { Subscribe as f, Five as E } from "@realsee/five";
|
|
2
|
+
import { I as g } from "./ItemLabelComponent.js";
|
|
3
|
+
import { I as h } from "./typings.js";
|
|
4
|
+
import { p as I } from "./utils/parseData.js";
|
|
5
|
+
const P = void 0, V = (o, n) => {
|
|
6
|
+
var d, c, b, u;
|
|
7
|
+
const e = {
|
|
8
|
+
container: document.createElement("div"),
|
|
9
|
+
data: null,
|
|
10
|
+
enabled: !0,
|
|
11
|
+
fiveModeEnabled: !0,
|
|
12
|
+
itemLabels: [],
|
|
13
|
+
wrapper: null,
|
|
14
|
+
app: void 0,
|
|
15
|
+
hooks: new f(),
|
|
16
|
+
modelOcclusionEnable: (d = n == null ? void 0 : n.modelOcclusionEnable) != null ? d : !0,
|
|
17
|
+
onlyVisibleInPanorama: (c = n == null ? void 0 : n.onlyVisibleInPanorama) != null ? c : !0,
|
|
18
|
+
displayStrategyType: (b = n == null ? void 0 : n.displayStrategyType) != null ? b : h.SMALL,
|
|
19
|
+
maxVisibleDistance: (u = n == null ? void 0 : n.maxVisibleDistance) != null ? u : P
|
|
20
|
+
};
|
|
21
|
+
e.container.setAttribute("class", "item-label-plugin-container"), e.container.style.cssText = `
|
|
22
|
+
position: absolute;
|
|
23
|
+
left: 0;
|
|
24
|
+
top: 0;
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: 100%;
|
|
27
|
+
z-index: 5;
|
|
28
|
+
`, e.container.style.pointerEvents = "none";
|
|
29
|
+
const p = (t) => (e.wrapper = t, t.appendChild(e.container), i(), !0), m = (t) => {
|
|
30
|
+
e.itemLabels = I(t), i();
|
|
31
|
+
}, l = () => (e.enabled || (e.enabled = !0, i()), !0), a = () => (e.enabled && (e.enabled = !1, i()), !0), r = () => {
|
|
32
|
+
L(), e.container.remove();
|
|
33
|
+
}, i = () => {
|
|
34
|
+
var t;
|
|
35
|
+
if (!!e.wrapper) {
|
|
36
|
+
if (!e.enabled || !e.fiveModeEnabled) {
|
|
37
|
+
(t = e.app) == null || t.$destroy(), e.app = void 0;
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
e.app ? e.app.$set({
|
|
41
|
+
five: o,
|
|
42
|
+
itemLabels: e.itemLabels
|
|
43
|
+
}) : e.app = new g({
|
|
44
|
+
target: e.container,
|
|
45
|
+
props: {
|
|
46
|
+
five: o,
|
|
47
|
+
modelOcclusionEnable: e.modelOcclusionEnable,
|
|
48
|
+
onlyVisibleInPanorama: e.onlyVisibleInPanorama,
|
|
49
|
+
itemLabels: e.itemLabels,
|
|
50
|
+
wrapper: e.wrapper,
|
|
51
|
+
hooks: e.hooks,
|
|
52
|
+
displayStrategyType: e.displayStrategyType,
|
|
53
|
+
maxVisibleDistance: e.maxVisibleDistance
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
}, y = () => {
|
|
58
|
+
o.on("modeChange", s), o.once("dispose", r);
|
|
59
|
+
}, L = () => {
|
|
60
|
+
o.off("modeChange", s);
|
|
61
|
+
}, s = (t) => {
|
|
62
|
+
if (t !== E.Mode.Panorama) {
|
|
63
|
+
e.fiveModeEnabled = !1, a();
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
o.once("initAnimationEnded", () => {
|
|
67
|
+
e.fiveModeEnabled = !0, l();
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
return y(), {
|
|
71
|
+
appendTo: p,
|
|
72
|
+
load: m,
|
|
73
|
+
enable: l,
|
|
74
|
+
disable: a,
|
|
75
|
+
dispose: r,
|
|
76
|
+
hooks: e.hooks
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export {
|
|
80
|
+
V as P
|
|
81
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SubscribeEventMap } from '@realsee/five';
|
|
2
|
+
import type { ItemLabel } from "./typings";
|
|
3
|
+
export interface ItemLabelEvent extends SubscribeEventMap {
|
|
4
|
+
/**
|
|
5
|
+
* 点击标签
|
|
6
|
+
*/
|
|
7
|
+
onLabelClick: (itemLabel: ItemLabel) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare type PluginEvent = ItemLabelEvent;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import ItemLabelPlugin from './Plugin';
|
|
2
|
+
export { ItemLabelPlugin };
|
|
3
|
+
export default ItemLabelPlugin;
|
|
4
|
+
export declare const itemLabelPluginServerParams: {
|
|
5
|
+
name: string;
|
|
6
|
+
version: number;
|
|
7
|
+
};
|
|
8
|
+
export type { ItemLabelPluginParametersType, ItemLabelPluginData, ItemLabelPluginExportReturnsType } from './typings';
|
|
9
|
+
export { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE } from './typings';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import "./Plugin.js";
|
|
2
|
+
import { P as E, P as T } from "./Plugin.js";
|
|
3
|
+
import { I as x } from "./typings.js";
|
|
4
|
+
import "@realsee/five";
|
|
5
|
+
import "./ItemLabelComponent.js";
|
|
6
|
+
import "svelte/internal";
|
|
7
|
+
import "svelte";
|
|
8
|
+
import "three";
|
|
9
|
+
import "./ItemLabelItem.js";
|
|
10
|
+
import "classnames";
|
|
11
|
+
import "../shared-utils/debounce.js";
|
|
12
|
+
import "./utils/isImpacted.js";
|
|
13
|
+
import "./utils/getStrokeLength.js";
|
|
14
|
+
import "./utils/getLabelTransform.js";
|
|
15
|
+
import "./utils/transform2RenderData.js";
|
|
16
|
+
import "./utils/parseData.js";
|
|
17
|
+
const _ = {
|
|
18
|
+
name: "ItemLabelPlugin",
|
|
19
|
+
version: 0
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
x as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
23
|
+
E as ItemLabelPlugin,
|
|
24
|
+
T as default,
|
|
25
|
+
_ as itemLabelPluginServerParams
|
|
26
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { Subscribe } from "@realsee/five";
|
|
2
|
+
import type { PluginEvent } from "./events.type";
|
|
3
|
+
import type ItemLabelComponent from './ItemLabelComponent.svelte';
|
|
4
|
+
export declare enum ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE {
|
|
5
|
+
SMALL = "small",
|
|
6
|
+
MIDLLE = "middle",
|
|
7
|
+
LARGE = "large",
|
|
8
|
+
EXTRA_LARGE = "x-large"
|
|
9
|
+
}
|
|
10
|
+
export interface ItemLabelPluginParametersType {
|
|
11
|
+
maxVisibleDistance?: number;
|
|
12
|
+
modelOcclusionEnable?: boolean;
|
|
13
|
+
onlyVisibleInPanorama?: boolean;
|
|
14
|
+
displayStrategyType?: Partial<ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE>;
|
|
15
|
+
}
|
|
16
|
+
export interface ItemLabelPluginData {
|
|
17
|
+
item_labels: Readonly<{
|
|
18
|
+
panoIndex: number;
|
|
19
|
+
id: string;
|
|
20
|
+
code: string;
|
|
21
|
+
name: string;
|
|
22
|
+
position: [number, number, number];
|
|
23
|
+
type?: string[];
|
|
24
|
+
icon?: string;
|
|
25
|
+
render?: (data: ItemLabel) => HTMLDivElement;
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>[];
|
|
28
|
+
}
|
|
29
|
+
export interface ItemLabel {
|
|
30
|
+
panoIndex: number;
|
|
31
|
+
id: string;
|
|
32
|
+
code: string;
|
|
33
|
+
name: string;
|
|
34
|
+
position: [number, number, number];
|
|
35
|
+
modelPosition: [number, number, number];
|
|
36
|
+
type?: string[];
|
|
37
|
+
icon?: string;
|
|
38
|
+
observerIndex?: number | undefined;
|
|
39
|
+
visible?: boolean;
|
|
40
|
+
isFold?: boolean;
|
|
41
|
+
render?: (data: ItemLabel) => HTMLDivElement;
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}
|
|
44
|
+
export interface ItemLabelPluginExportReturnsType {
|
|
45
|
+
appendTo: (wrapper: Element) => void;
|
|
46
|
+
load: (data: ItemLabelPluginData) => void;
|
|
47
|
+
disable: () => void;
|
|
48
|
+
enable: () => void;
|
|
49
|
+
dispose: () => void;
|
|
50
|
+
hooks: Subscribe<PluginEvent>;
|
|
51
|
+
}
|
|
52
|
+
export interface ItemLabelPluginState {
|
|
53
|
+
container: HTMLDivElement;
|
|
54
|
+
data: ItemLabelPluginData | null;
|
|
55
|
+
enabled: boolean;
|
|
56
|
+
itemLabels: ItemLabel[];
|
|
57
|
+
wrapper: HTMLElement | null;
|
|
58
|
+
fiveModeEnabled: boolean;
|
|
59
|
+
app?: ItemLabelComponent | undefined;
|
|
60
|
+
hooks: Subscribe<PluginEvent>;
|
|
61
|
+
modelOcclusionEnable: boolean;
|
|
62
|
+
onlyVisibleInPanorama: boolean;
|
|
63
|
+
displayStrategyType: Partial<ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE>;
|
|
64
|
+
maxVisibleDistance: number | undefined;
|
|
65
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getLabelTransform: (cssOffset: [number, number]) => string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { I as L } from "../typings.js";
|
|
2
|
+
const E = (r, t) => {
|
|
3
|
+
switch (t) {
|
|
4
|
+
case L.SMALL:
|
|
5
|
+
return Math.ceil(-27.78 * r + 85);
|
|
6
|
+
case L.MIDLLE:
|
|
7
|
+
return Math.ceil(-38.9 * r + 130);
|
|
8
|
+
case L.LARGE:
|
|
9
|
+
return Math.ceil(-44.44 * r + 140);
|
|
10
|
+
case L.EXTRA_LARGE:
|
|
11
|
+
return Math.ceil(-92.59 * r + 300);
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
E as g
|
|
16
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import type { Five } from "@realsee/five";
|
|
3
|
+
declare const Vector3: typeof THREE.Vector3;
|
|
4
|
+
/**
|
|
5
|
+
* 碰撞检测可见性
|
|
6
|
+
* */
|
|
7
|
+
export declare const isImpacted: (five: Five, sourceVector: THREE.Vector3, targetVector: THREE.Vector3, distance: number) => boolean;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as a from "three";
|
|
2
|
+
const { Raycaster: i, Vector3: m } = a, d = (c, n, t, o) => {
|
|
3
|
+
const r = n.clone().sub(t).normalize(), e = new i();
|
|
4
|
+
e.set(t, r);
|
|
5
|
+
const [s] = c.model.intersectRaycaster(e);
|
|
6
|
+
return s && s.distance + 0.01 < o;
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
d as i
|
|
10
|
+
};
|