@realsee/dnalogel 3.0.0-10 → 3.0.0-12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +23 -23
- package/dist/index.js +76 -47
- package/dist/index.umd.js +24 -24
- package/dist/shared-utils/five/FiveDomEvents.d.ts +22 -9
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +10 -10
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +44 -44
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.LineSegments.html +7 -7
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.Object3D.html +7 -7
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/AreaMakerPlugin.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/CurrentPanoImagePlugin.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/PanoVideoPlugin.html +4 -4
- package/docs/functions/PipelinePlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
- package/docs/functions/Util.equal.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.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.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/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +15 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +13 -13
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/AreaMakerPluginType.html +4 -4
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/CurrentPanoImagePluginType.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.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/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.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/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.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/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.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/MediaStore.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/ModelId.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/PanoIndex.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/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PipelinePluginParameterType.html +4 -4
- package/docs/types/PipelinePluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.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/StickType.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/TagConfigByKey.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.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/defaultGlobalConfig.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/libs/PanoTagPlugin/controller/TagComputer.js +16 -14
- package/libs/PanoTagPlugin/controller/TagRender.js +48 -48
- package/libs/PanoTagPlugin/controller/index.js +33 -34
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/five/FiveDomEvents.d.ts +22 -9
- package/libs/shared-utils/five/FiveDomEvents.js +93 -65
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39,7 +39,7 @@ import dl from "animejs";
|
|
|
39
39
|
import { GLTFLoader as Zf } from "@realsee/five/gltf-loader";
|
|
40
40
|
function qf() {
|
|
41
41
|
console.debug(
|
|
42
|
-
"%c %c@realsee/dnalogel %cv3.0.0-
|
|
42
|
+
"%c %c@realsee/dnalogel %cv3.0.0-12",
|
|
43
43
|
[
|
|
44
44
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
45
45
|
"background-repeat: no-repeat",
|
|
@@ -6848,7 +6848,7 @@ let Vn = class {
|
|
|
6848
6848
|
/**
|
|
6849
6849
|
* @realsee/dnalogel 版本号
|
|
6850
6850
|
*/
|
|
6851
|
-
u(this, "VERSION", "3.0.0-
|
|
6851
|
+
u(this, "VERSION", "3.0.0-12");
|
|
6852
6852
|
u(this, "five");
|
|
6853
6853
|
/**
|
|
6854
6854
|
* 插件事件钩子
|
|
@@ -17121,18 +17121,36 @@ class N1 {
|
|
|
17121
17121
|
constructor(t) {
|
|
17122
17122
|
u(this, "five");
|
|
17123
17123
|
u(this, "boundObject", {});
|
|
17124
|
-
u(this, "
|
|
17125
|
-
|
|
17126
|
-
const e = "click", i = this.boundObject[e];
|
|
17127
|
-
if (!i || (i == null ? void 0 : i.length) === 0)
|
|
17124
|
+
u(this, "handleWantsGesture", (t, e) => {
|
|
17125
|
+
if (e.length !== 1)
|
|
17128
17126
|
return;
|
|
17129
|
-
const
|
|
17130
|
-
if (
|
|
17127
|
+
const i = e[0];
|
|
17128
|
+
if (i) {
|
|
17129
|
+
if (t === "mouseMove")
|
|
17130
|
+
return this.onDomEvent("hover", i.raycaster);
|
|
17131
|
+
if (t === "tap")
|
|
17132
|
+
return this.onDomEvent("click", i.raycaster);
|
|
17133
|
+
}
|
|
17134
|
+
});
|
|
17135
|
+
u(this, "onDomEvent", (t, e) => {
|
|
17136
|
+
const i = this.boundObject[t];
|
|
17137
|
+
if (!i || (i == null ? void 0 : i.length) === 0)
|
|
17131
17138
|
return;
|
|
17132
|
-
const
|
|
17133
|
-
|
|
17139
|
+
const s = (() => {
|
|
17140
|
+
var l;
|
|
17141
|
+
const r = e.intersectObjects(i, !0);
|
|
17142
|
+
if (r.length === 0)
|
|
17143
|
+
return;
|
|
17144
|
+
const a = this.five.model.intersectRaycaster(e);
|
|
17145
|
+
if (!(a.length > 0 && r.length > 0 && a[0].distance < r[0].distance))
|
|
17146
|
+
return (l = r[0]) == null ? void 0 : l.object;
|
|
17147
|
+
})();
|
|
17148
|
+
if (!s || !this.objectIsBound(s)) {
|
|
17149
|
+
for (const r of this.boundObject.hover)
|
|
17150
|
+
r._hovered && this.notify("unHover", r);
|
|
17134
17151
|
return;
|
|
17135
|
-
|
|
17152
|
+
}
|
|
17153
|
+
if (this.notify(t, s))
|
|
17136
17154
|
return !1;
|
|
17137
17155
|
});
|
|
17138
17156
|
u(this, "objectIsBound", (t) => {
|
|
@@ -17144,9 +17162,9 @@ class N1 {
|
|
|
17144
17162
|
// eslint-disable-next-line max-params
|
|
17145
17163
|
u(this, "notify", (t, e, i, s) => {
|
|
17146
17164
|
let o = !1, r = [];
|
|
17147
|
-
const a = [
|
|
17165
|
+
const a = [];
|
|
17148
17166
|
let l = e;
|
|
17149
|
-
for (; l.parent; )
|
|
17167
|
+
for (a.push(l); l.parent; )
|
|
17150
17168
|
l = l.parent, a.push(l);
|
|
17151
17169
|
for (const c of a) {
|
|
17152
17170
|
if (o)
|
|
@@ -17159,6 +17177,18 @@ class N1 {
|
|
|
17159
17177
|
for (const [f, m] of h) {
|
|
17160
17178
|
if (m != null && m.checkVisible && !Ea(c))
|
|
17161
17179
|
continue;
|
|
17180
|
+
if (t === "hover") {
|
|
17181
|
+
if (c._hovered)
|
|
17182
|
+
continue;
|
|
17183
|
+
c._hovered = !0;
|
|
17184
|
+
for (const A of this.boundObject.hover)
|
|
17185
|
+
A !== c && A._hovered && this.notify("unHover", A);
|
|
17186
|
+
}
|
|
17187
|
+
if (t === "unHover") {
|
|
17188
|
+
if (!c._hovered)
|
|
17189
|
+
continue;
|
|
17190
|
+
c._hovered = !1;
|
|
17191
|
+
}
|
|
17162
17192
|
const p = f({
|
|
17163
17193
|
type: t,
|
|
17164
17194
|
target: c,
|
|
@@ -17171,24 +17201,21 @@ class N1 {
|
|
|
17171
17201
|
r.push(p != null ? p : !0);
|
|
17172
17202
|
}
|
|
17173
17203
|
}
|
|
17174
|
-
|
|
17204
|
+
if (t === "click")
|
|
17205
|
+
return r.some((c) => c === !0);
|
|
17175
17206
|
});
|
|
17176
|
-
this.five = t, t.on("
|
|
17207
|
+
this.five = t, t.on("wantsGesture", this.handleWantsGesture);
|
|
17177
17208
|
}
|
|
17178
17209
|
/**
|
|
17179
17210
|
* @description: added 时自动绑定事件,removed时自动解绑事件,也就是说只有物体在场景中的时候才会触发事件
|
|
17180
17211
|
* @note: 注意:目前需要触发物体的 added 事件和 removed 事件才会生效
|
|
17181
17212
|
* @todo: added 和 removed 还是不太智能
|
|
17182
17213
|
*/
|
|
17183
|
-
addAutoBindEventListener(
|
|
17184
|
-
const e = t
|
|
17185
|
-
|
|
17186
|
-
|
|
17187
|
-
}
|
|
17188
|
-
this.removeEventListener(...t);
|
|
17189
|
-
}), e.addEventListener("dispose", () => {
|
|
17190
|
-
this.removeEventListener(...t);
|
|
17191
|
-
});
|
|
17214
|
+
addAutoBindEventListener(t, e, i, s) {
|
|
17215
|
+
const o = () => this.addEventListener(t, e, i, s), r = () => this.removeEventListener(t, e, i, s);
|
|
17216
|
+
return t.addEventListener("added", o), t.addEventListener("removed", r), t.addEventListener("dispose", r), () => {
|
|
17217
|
+
t.removeEventListener("added", o), t.removeEventListener("removed", r), t.removeEventListener("dispose", r);
|
|
17218
|
+
};
|
|
17192
17219
|
}
|
|
17193
17220
|
/**
|
|
17194
17221
|
* @description: add event listener
|
|
@@ -17212,7 +17239,8 @@ class N1 {
|
|
|
17212
17239
|
}
|
|
17213
17240
|
}
|
|
17214
17241
|
dispose() {
|
|
17215
|
-
|
|
17242
|
+
var t;
|
|
17243
|
+
(t = this.five) == null || t.off("wantsGesture", this.handleWantsGesture), this.boundObject = {};
|
|
17216
17244
|
}
|
|
17217
17245
|
}
|
|
17218
17246
|
function ed(n, t) {
|
|
@@ -17662,7 +17690,9 @@ class F1 extends H1 {
|
|
|
17662
17690
|
})() : void 0;
|
|
17663
17691
|
}
|
|
17664
17692
|
setTagZIndex(t) {
|
|
17665
|
-
|
|
17693
|
+
return t.forEach((e) => {
|
|
17694
|
+
e.zIndex = this.calculateTagZIndex(e);
|
|
17695
|
+
});
|
|
17666
17696
|
}
|
|
17667
17697
|
calculateTagZIndex(t) {
|
|
17668
17698
|
const e = this.getDistance(t);
|
|
@@ -27303,16 +27333,16 @@ class FP extends F1 {
|
|
|
27303
27333
|
return;
|
|
27304
27334
|
e.loading = !0;
|
|
27305
27335
|
const s = NP(i).then((l) => {
|
|
27306
|
-
var h, f
|
|
27336
|
+
var h, f;
|
|
27307
27337
|
const c = Object.assign(l.scene, {
|
|
27308
27338
|
customID: e.id,
|
|
27309
27339
|
isTagModel: !0,
|
|
27310
27340
|
removeEventListener: e.config.clickable === !1 ? () => {
|
|
27311
|
-
} : this.addObjectClickHandler(e, l.scene, (
|
|
27312
|
-
this.hooks.emit("click", { target: "TagModel", tag: e, event:
|
|
27341
|
+
} : this.addObjectClickHandler(e, l.scene, (m) => {
|
|
27342
|
+
this.hooks.emit("click", { target: "TagModel", tag: e, event: m });
|
|
27313
27343
|
})
|
|
27314
27344
|
});
|
|
27315
|
-
return c.visible = this.getCurrentVisibleState(e), new rs().fromArray(e.matrix).decompose(c.position, c.quaternion, c.scale), c.updateWorldMatrix(!0, !0), c.visible = this.getVisible(e), (
|
|
27345
|
+
return c.visible = this.getCurrentVisibleState(e), new rs().fromArray(e.matrix).decompose(c.position, c.quaternion, c.scale), c.updateWorldMatrix(!0, !0), c.visible = this.getVisible(e), (f = (h = e.config) == null ? void 0 : h.modelConfig) != null && f.autoLookAtEnabled && c.lookAt(this.five.camera.position.clone().setY(c.position.y)), c;
|
|
27316
27346
|
});
|
|
27317
27347
|
e.model = { promise: s };
|
|
27318
27348
|
const o = yield s;
|
|
@@ -27672,24 +27702,23 @@ class va extends FP {
|
|
|
27672
27702
|
this.updatePointTagPosition();
|
|
27673
27703
|
});
|
|
27674
27704
|
u(this, "handleFivePanoArrived", () => _(this, null, function* () {
|
|
27675
|
-
|
|
27676
|
-
|
|
27677
|
-
|
|
27678
|
-
|
|
27679
|
-
|
|
27680
|
-
|
|
27681
|
-
|
|
27682
|
-
|
|
27683
|
-
|
|
27684
|
-
if (!a)
|
|
27705
|
+
this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
|
|
27706
|
+
e.temporaryState = pe(V({}, e.temporaryState), { visible: !0 });
|
|
27707
|
+
}), this.tags.filter(b1).filter((e) => {
|
|
27708
|
+
var i, s;
|
|
27709
|
+
return (s = (i = e.config) == null ? void 0 : i.modelConfig) == null ? void 0 : s.autoLookAtEnabled;
|
|
27710
|
+
}).forEach((e) => {
|
|
27711
|
+
var c;
|
|
27712
|
+
const i = new I.Mesh(new I.BoxGeometry(), new I.MeshBasicMaterial()), s = (c = e.model) == null ? void 0 : c.object;
|
|
27713
|
+
if (!s)
|
|
27685
27714
|
return;
|
|
27686
|
-
|
|
27687
|
-
const
|
|
27688
|
-
|
|
27689
|
-
const
|
|
27690
|
-
|
|
27691
|
-
|
|
27692
|
-
}),
|
|
27715
|
+
i.position.copy(s.position), i.quaternion.copy(s.quaternion);
|
|
27716
|
+
const o = this.five.camera.position;
|
|
27717
|
+
i.lookAt(o.clone().setY(i.position.y));
|
|
27718
|
+
const r = s.quaternion.clone(), a = i.quaternion.clone(), l = An();
|
|
27719
|
+
l.onUpdate(({ progress: d }) => {
|
|
27720
|
+
s.quaternion.copy(r.clone().slerp(a, d));
|
|
27721
|
+
}), l.play();
|
|
27693
27722
|
}), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
|
|
27694
27723
|
}));
|
|
27695
27724
|
/** 楼层切换时,需要更新标签可见性 */
|