@realsee/dnalogel 2.22.0 → 2.23.1-dev.0
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/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
- package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
- package/dist/index.cjs.js +62 -66
- package/dist/index.js +5869 -5598
- package/dist/index.umd.js +55 -59
- 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 +13 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +48 -48
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.Magnifier.html +19 -19
- 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/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.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/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 +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- 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 +8 -8
- 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 +6 -6
- 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 +14 -14
- 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 +12 -12
- 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/CruisePluginTypes.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/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/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/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/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/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/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/CruisePlugin/Controller.js +103 -90
- package/libs/CruisePlugin/index.js +22 -9
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +38 -25
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +24 -11
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +168 -112
- package/libs/PanoMeasurePlugin/Components/Controller1.js +244 -181
- package/libs/PanoMeasurePlugin/Components/Tip.js +83 -72
- package/libs/PanoMeasurePlugin/Controller/index.js +87 -71
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -15
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +36 -25
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
- package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
- package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +95 -82
- package/libs/PanoTagPlugin/index.js +26 -13
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +16 -13
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +25 -20
- package/libs/floorplan/Components/Main.js +58 -49
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +126 -112
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +1 -1
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -12,19 +12,19 @@ var L = (c, u, e) => u in c ? T(c, u, { enumerable: !0, configurable: !0, writab
|
|
|
12
12
|
}, C = (c, u) => K(c, O(u));
|
|
13
13
|
var I = (c, u, e) => (L(c, typeof u != "symbol" ? u + "" : u, e), e);
|
|
14
14
|
var v = (c, u, e) => new Promise((t, i) => {
|
|
15
|
-
var r = (
|
|
15
|
+
var r = (d) => {
|
|
16
16
|
try {
|
|
17
|
-
s(e.next(
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
s(e.next(d));
|
|
18
|
+
} catch (o) {
|
|
19
|
+
i(o);
|
|
20
20
|
}
|
|
21
|
-
}, n = (
|
|
21
|
+
}, n = (d) => {
|
|
22
22
|
try {
|
|
23
|
-
s(e.throw(
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
s(e.throw(d));
|
|
24
|
+
} catch (o) {
|
|
25
|
+
i(o);
|
|
26
26
|
}
|
|
27
|
-
}, s = (
|
|
27
|
+
}, s = (d) => d.done ? t(d.value) : Promise.resolve(d.value).then(r, n);
|
|
28
28
|
s((e = e.apply(c, u)).next());
|
|
29
29
|
});
|
|
30
30
|
import { Controller as V } from "../base/BasePluginWithData.js";
|
|
@@ -92,8 +92,8 @@ import "../PanoTagPlugin/tag.config.js";
|
|
|
92
92
|
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
93
93
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
94
94
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
95
|
-
import "../vendor/svelte/store/index.js";
|
|
96
|
-
import "../vendor/svelte/internal/
|
|
95
|
+
import "../vendor/svelte/src/runtime/store/index.js";
|
|
96
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
97
97
|
import "../shared-utils/device.js";
|
|
98
98
|
import "../PanoTagPlugin/utils/model/mediaPlane.js";
|
|
99
99
|
import "../shared-utils/three/Quadrangle.js";
|
|
@@ -106,13 +106,24 @@ import "../shared-utils/five/FiveDomEvents.js";
|
|
|
106
106
|
import "../shared-utils/threex/domevents/index.js";
|
|
107
107
|
import "../shared-utils/five/getFloorIndex.js";
|
|
108
108
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
109
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
110
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
111
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
112
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
113
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
114
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
115
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
116
|
+
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
117
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
118
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
119
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
109
120
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
110
121
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
111
122
|
import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
|
|
112
123
|
import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
|
|
113
124
|
import "../PanoTagPlugin/Components/Common/Line/Straight.js";
|
|
114
|
-
import "../vendor/svelte/transition/index.js";
|
|
115
|
-
import "../vendor/svelte/easing/index.js";
|
|
125
|
+
import "../vendor/svelte/src/runtime/transition/index.js";
|
|
126
|
+
import "../vendor/svelte/src/runtime/easing/index.js";
|
|
116
127
|
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
117
128
|
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
118
129
|
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
@@ -129,6 +140,7 @@ import "../PanoTagPlugin/utils/px2rem.js";
|
|
|
129
140
|
import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
|
|
130
141
|
import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
|
|
131
142
|
import "../PanoTagPlugin/Components/Common/Media.js";
|
|
143
|
+
import "../vendor/svelte/src/runtime/internal/spread.js";
|
|
132
144
|
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
133
145
|
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
134
146
|
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -171,6 +183,7 @@ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
|
171
183
|
import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
172
184
|
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
173
185
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
186
|
+
import "../vendor/svelte/src/runtime/internal/await_block.js";
|
|
174
187
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
175
188
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
176
189
|
import "../vendor/classnames/index.js";
|
|
@@ -189,7 +202,7 @@ import "../shared-utils/nearlyEqual.js";
|
|
|
189
202
|
import "./utils/coordinatesToVector.js";
|
|
190
203
|
import "../shared-utils/isTruelyObject.js";
|
|
191
204
|
import "./utils/formatRad.js";
|
|
192
|
-
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`,
|
|
205
|
+
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`, dr = (c) => `${x}--${c}`, D = () => {
|
|
193
206
|
console.error(`${x} is disposed`);
|
|
194
207
|
}, W = () => {
|
|
195
208
|
console.warn(`${x} is disabled`);
|
|
@@ -236,26 +249,26 @@ class z extends V {
|
|
|
236
249
|
*/
|
|
237
250
|
load(e, t, i) {
|
|
238
251
|
return v(this, null, function* () {
|
|
239
|
-
var
|
|
252
|
+
var a, m, f, l, h, P;
|
|
240
253
|
if (this.state.disposed)
|
|
241
254
|
return D();
|
|
242
|
-
this.privateState.fiveOriginGetProgress || (
|
|
255
|
+
this.privateState.fiveOriginGetProgress || (m = (a = this.five.controller) == null ? void 0 : a.cameraMotion) != null && m.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (l = (f = this.five.controller) == null ? void 0 : f.cameraMotion) == null ? void 0 : l.getProgress), this.clear();
|
|
243
256
|
const r = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, n = yield this.formatData(e);
|
|
244
257
|
this.data = n, this.hooks.emit("dataChange", n, r);
|
|
245
|
-
let s = [],
|
|
246
|
-
const
|
|
247
|
-
|
|
258
|
+
let s = [], d;
|
|
259
|
+
const o = this.data.keyframes.filter((p) => p.data.panoIndex !== void 0);
|
|
260
|
+
o.filter((p, y) => {
|
|
248
261
|
var S;
|
|
249
|
-
return p.data.panoIndex !== ((S =
|
|
262
|
+
return p.data.panoIndex !== ((S = o[y - 1]) == null ? void 0 : S.data.panoIndex);
|
|
250
263
|
}).map((p) => p.data.panoIndex).forEach((p) => {
|
|
251
264
|
var S, k;
|
|
252
265
|
const y = (S = this.five.work.observers[p]) == null ? void 0 : S.floorIndex;
|
|
253
266
|
if (y !== void 0)
|
|
254
|
-
if (
|
|
267
|
+
if (d === y) {
|
|
255
268
|
const b = s.length - 1;
|
|
256
269
|
s[b] = [...(k = s[b]) != null ? k : [], p];
|
|
257
270
|
} else {
|
|
258
|
-
|
|
271
|
+
d = y;
|
|
259
272
|
const b = s.length;
|
|
260
273
|
s[b] = [p];
|
|
261
274
|
}
|
|
@@ -349,34 +362,34 @@ class z extends V {
|
|
|
349
362
|
return {
|
|
350
363
|
keyframesId: w(),
|
|
351
364
|
keyframes: i.keyframes.map((r, n) => {
|
|
352
|
-
var
|
|
353
|
-
const s = i.keyframes[n + 1],
|
|
354
|
-
return C(g({ id: (
|
|
365
|
+
var o;
|
|
366
|
+
const s = i.keyframes[n + 1], d = (() => !s || s.start === void 0 || r.end === void 0 ? 0 : s.start - r.end)();
|
|
367
|
+
return C(g({ id: (o = r.uuid) != null ? o : w(), moveIndex: n, stay: d, index: n }, r), { guildPluginOptions: i.guildPluginOptions });
|
|
355
368
|
})
|
|
356
369
|
};
|
|
357
370
|
if (i.panoIndexList) {
|
|
358
371
|
let r = [];
|
|
359
|
-
const { moveEffect: n, moveToFirstPanoEffect: s, moveToFirstPanoDuration:
|
|
360
|
-
return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration =
|
|
361
|
-
const
|
|
372
|
+
const { moveEffect: n, moveToFirstPanoEffect: s, moveToFirstPanoDuration: d } = i;
|
|
373
|
+
return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration = d, i.panoIndexList.forEach((o, a) => {
|
|
374
|
+
const m = (() => {
|
|
362
375
|
var p, y, S, k;
|
|
363
|
-
const f = i.panoIndexList.slice(
|
|
376
|
+
const f = i.panoIndexList.slice(a).find((b) => b !== o);
|
|
364
377
|
if (f === void 0)
|
|
365
378
|
return;
|
|
366
|
-
const l = (p = t[
|
|
367
|
-
if (!h || !l || ((S = t[
|
|
379
|
+
const l = (p = t[o]) == null ? void 0 : p.position, h = (y = t[f]) == null ? void 0 : y.position;
|
|
380
|
+
if (!h || !l || ((S = t[o]) == null ? void 0 : S.floorIndex) !== ((k = t[f]) == null ? void 0 : k.floorIndex))
|
|
368
381
|
return;
|
|
369
382
|
const P = new j.Vector3().subVectors(h, l);
|
|
370
383
|
return N(P.normalize());
|
|
371
384
|
})();
|
|
372
385
|
i.moveType === void 0 || i.moveType === "justMove" ? r.push({
|
|
373
|
-
moveIndex:
|
|
386
|
+
moveIndex: a,
|
|
374
387
|
stay: i.stay,
|
|
375
|
-
data: g({ effect: "Move", panoIndex:
|
|
376
|
-
}) : i.moveType === "moveAndRotate" && (r.push({ moveIndex:
|
|
388
|
+
data: g({ effect: "Move", panoIndex: o, moveEffect: n }, m != null ? m : {})
|
|
389
|
+
}) : i.moveType === "moveAndRotate" && (r.push({ moveIndex: a, stay: i.stay, data: { effect: "Move", panoIndex: o, moveEffect: n } }), m && r.push({ moveIndex: a, stay: i.stay, data: g({ effect: "Rotate", panoIndex: o }, m) }));
|
|
377
390
|
}), {
|
|
378
391
|
keyframesId: w(),
|
|
379
|
-
keyframes: r.map((
|
|
392
|
+
keyframes: r.map((o, a) => g({ id: w(), index: a }, o)),
|
|
380
393
|
guildPluginOptions: i.guildPluginOptions,
|
|
381
394
|
useGuildLine: i.useGuildLine
|
|
382
395
|
};
|
|
@@ -414,40 +427,40 @@ class z extends V {
|
|
|
414
427
|
return;
|
|
415
428
|
const s = w();
|
|
416
429
|
r.playId = s, r.playing = !0, r.broke = !1;
|
|
417
|
-
const
|
|
430
|
+
const d = t.keyframes, o = this.getPauseData();
|
|
418
431
|
(e == null ? void 0 : e.notEmitEvent) !== !0 && n.emit("play", { userAction: (l = e == null ? void 0 : e.userAction) != null ? l : !0 });
|
|
419
|
-
let
|
|
432
|
+
let a = !1;
|
|
420
433
|
const f = yield (() => v(this, null, function* () {
|
|
421
434
|
var h, P;
|
|
422
435
|
if ((e == null ? void 0 : e.playFromIndex) !== void 0)
|
|
423
436
|
return e.playFromIndex;
|
|
424
437
|
if ((e == null ? void 0 : e.playFromId) !== void 0)
|
|
425
438
|
return (h = this.data) == null ? void 0 : h.keyframes.findIndex((p) => p.id === e.playFromId);
|
|
426
|
-
if (
|
|
427
|
-
const p = (P = this.data) == null ? void 0 : P.keyframes.find((y) => y.id ===
|
|
428
|
-
if (
|
|
439
|
+
if (o != null && o.keyframeId) {
|
|
440
|
+
const p = (P = this.data) == null ? void 0 : P.keyframes.find((y) => y.id === o.keyframeId);
|
|
441
|
+
if (o != null && o.fiveState && (yield this.move(o.fiveState, {
|
|
429
442
|
moveEffect: r.moveToFirstPanoEffect,
|
|
430
443
|
duration: r.moveToFirstPanoDuration
|
|
431
444
|
})), p) {
|
|
432
445
|
if (p.data.effect === "Move")
|
|
433
446
|
return p.index;
|
|
434
447
|
if (p.data.effect === "Rotate") {
|
|
435
|
-
const y =
|
|
436
|
-
return yield this.playKeyframe(p, { duration: y }),
|
|
448
|
+
const y = o.duration !== void 0 ? o.duration * (1 - o.playedProgress) : void 0;
|
|
449
|
+
return yield this.playKeyframe(p, { duration: y }), a = !0, p.index + 1;
|
|
437
450
|
}
|
|
438
451
|
}
|
|
439
452
|
}
|
|
440
453
|
}))();
|
|
441
454
|
this.clearPauseData();
|
|
442
|
-
for (const h of
|
|
455
|
+
for (const h of d) {
|
|
443
456
|
if (r.broke || !i.playing || !r.playing || s !== r.playId)
|
|
444
457
|
return;
|
|
445
458
|
if (!(f !== void 0 && h.index < f))
|
|
446
459
|
try {
|
|
447
460
|
n.emit("playIndexChange", h.index, h), yield this.playKeyframe(h, {
|
|
448
|
-
moveEffect:
|
|
449
|
-
duration:
|
|
450
|
-
}), h.stay && (yield J(h.stay)),
|
|
461
|
+
moveEffect: a === !1 ? r.moveToFirstPanoEffect : void 0,
|
|
462
|
+
duration: a === !1 && typeof r.moveToFirstPanoDuration == "number" ? r.moveToFirstPanoDuration : void 0
|
|
463
|
+
}), h.stay && (yield J(h.stay)), a === !1 && (a = !0);
|
|
451
464
|
} catch (P) {
|
|
452
465
|
return Promise.resolve("broke");
|
|
453
466
|
}
|
|
@@ -492,29 +505,29 @@ class z extends V {
|
|
|
492
505
|
var n;
|
|
493
506
|
const r = e.data;
|
|
494
507
|
if (t.duration = (n = t.duration) != null ? n : e.start !== void 0 && e.end !== void 0 ? e.end - e.start : void 0, !!r)
|
|
495
|
-
return new Promise((s,
|
|
496
|
-
let
|
|
508
|
+
return new Promise((s, d) => {
|
|
509
|
+
let o = !1;
|
|
497
510
|
this.addInterruptListener(() => {
|
|
498
|
-
if (!
|
|
499
|
-
return this.hooks.emit("broke"), this.privateState.broke = !0, this.setState({ playing: !1 }),
|
|
511
|
+
if (!o)
|
|
512
|
+
return this.hooks.emit("broke"), this.privateState.broke = !0, this.setState({ playing: !1 }), o = !0, d(new Error("play is interupted"));
|
|
500
513
|
});
|
|
501
514
|
try {
|
|
502
|
-
if (
|
|
515
|
+
if (o)
|
|
503
516
|
return;
|
|
504
|
-
const
|
|
505
|
-
s(),
|
|
517
|
+
const a = () => {
|
|
518
|
+
s(), o = !0;
|
|
506
519
|
};
|
|
507
520
|
switch (r.effect) {
|
|
508
521
|
case "Move":
|
|
509
|
-
this.move(r, t).then(
|
|
522
|
+
this.move(r, t).then(a);
|
|
510
523
|
break;
|
|
511
524
|
case "Rotate":
|
|
512
|
-
this.rotate(r, t).then(
|
|
525
|
+
this.rotate(r, t).then(a);
|
|
513
526
|
break;
|
|
514
527
|
default:
|
|
515
|
-
this.rotate(r, t).then(
|
|
528
|
+
this.rotate(r, t).then(a);
|
|
516
529
|
}
|
|
517
|
-
} catch (
|
|
530
|
+
} catch (a) {
|
|
518
531
|
}
|
|
519
532
|
});
|
|
520
533
|
});
|
|
@@ -569,26 +582,26 @@ class z extends V {
|
|
|
569
582
|
*/
|
|
570
583
|
updateCamera(i) {
|
|
571
584
|
return v(this, arguments, function* (e, t = {}) {
|
|
572
|
-
const { five: r, privateState: n, state: s } = this,
|
|
585
|
+
const { five: r, privateState: n, state: s } = this, d = (() => {
|
|
573
586
|
var l, h;
|
|
574
|
-
const
|
|
575
|
-
if ((
|
|
587
|
+
const m = (l = s.config) == null ? void 0 : l.speedConfig, f = (h = e.rotateSpeed) != null ? h : m == null ? void 0 : m.rotateSpeed;
|
|
588
|
+
if ((m == null ? void 0 : m.rotateSpeedUnit) === void 0)
|
|
576
589
|
return f;
|
|
577
590
|
if (f !== void 0)
|
|
578
|
-
return
|
|
579
|
-
})(),
|
|
591
|
+
return m.rotateSpeedUnit === "rad/ms" ? f : f / 1e3;
|
|
592
|
+
})(), o = (() => {
|
|
580
593
|
if (t.duration)
|
|
581
594
|
return t.duration;
|
|
582
|
-
if (
|
|
583
|
-
const
|
|
584
|
-
return Q(
|
|
595
|
+
if (d) {
|
|
596
|
+
const m = this.five.getCurrentState();
|
|
597
|
+
return Q(m, e) / d;
|
|
585
598
|
}
|
|
586
599
|
return 800;
|
|
587
600
|
})();
|
|
588
|
-
n.currentPlayKeyframe && (n.currentPlayKeyframe.originDuration =
|
|
589
|
-
const
|
|
590
|
-
return new Promise((
|
|
591
|
-
_(() => r.updateCamera(e,
|
|
601
|
+
n.currentPlayKeyframe && (n.currentPlayKeyframe.originDuration = o);
|
|
602
|
+
const a = this.getSpeededDuration(o);
|
|
603
|
+
return new Promise((m) => {
|
|
604
|
+
_(() => r.updateCamera(e, a)), setTimeout(() => m(), a);
|
|
592
605
|
});
|
|
593
606
|
});
|
|
594
607
|
}
|
|
@@ -602,33 +615,33 @@ class z extends V {
|
|
|
602
615
|
return;
|
|
603
616
|
const s = i.getCurrentState().mode !== "Panorama";
|
|
604
617
|
s && (this.privateState.modeChanging = !0);
|
|
605
|
-
const
|
|
618
|
+
const d = (() => {
|
|
606
619
|
var f, l;
|
|
607
|
-
const
|
|
608
|
-
if ((
|
|
609
|
-
return
|
|
610
|
-
if (
|
|
611
|
-
return
|
|
612
|
-
})(),
|
|
620
|
+
const a = (f = n.config) == null ? void 0 : f.speedConfig, m = (l = e.moveSpeed) != null ? l : a == null ? void 0 : a.moveSpeed;
|
|
621
|
+
if ((a == null ? void 0 : a.moveSpeedUnit) === void 0)
|
|
622
|
+
return m;
|
|
623
|
+
if (m !== void 0)
|
|
624
|
+
return a.moveSpeedUnit === "m/ms" ? m : m / 1e3;
|
|
625
|
+
})(), o = (() => {
|
|
613
626
|
if (t != null && t.duration)
|
|
614
627
|
return t.duration;
|
|
615
|
-
if (
|
|
616
|
-
const
|
|
617
|
-
return
|
|
628
|
+
if (d && typeof i.panoIndex == "number" && typeof e.panoIndex == "number") {
|
|
629
|
+
const a = i.work.observers[i.panoIndex].position, m = i.work.observers[e.panoIndex].position;
|
|
630
|
+
return a.distanceTo(m) / d;
|
|
618
631
|
}
|
|
619
632
|
return 800;
|
|
620
633
|
})();
|
|
621
|
-
r.currentPlayKeyframe && (r.currentPlayKeyframe.originDuration =
|
|
622
|
-
var
|
|
634
|
+
r.currentPlayKeyframe && (r.currentPlayKeyframe.originDuration = o), yield new Promise((a) => {
|
|
635
|
+
var m, f, l;
|
|
623
636
|
i.moveToPano(e.panoIndex, {
|
|
624
637
|
latitude: e.latitude,
|
|
625
638
|
longitude: e.longitude,
|
|
626
639
|
fov: e.fov,
|
|
627
|
-
duration: this.getSpeededDuration(
|
|
628
|
-
effect: (l = (f = t == null ? void 0 : t.moveEffect) != null ? f : (
|
|
629
|
-
moveCancelCallback: () =>
|
|
630
|
-
moveEndCallback: () =>
|
|
631
|
-
}), s && i.once("panoArrived", () =>
|
|
640
|
+
duration: this.getSpeededDuration(o),
|
|
641
|
+
effect: (l = (f = t == null ? void 0 : t.moveEffect) != null ? f : (m = this.state.config) == null ? void 0 : m.moveEffect) != null ? l : e.moveEffect,
|
|
642
|
+
moveCancelCallback: () => a(),
|
|
643
|
+
moveEndCallback: () => a()
|
|
644
|
+
}), s && i.once("panoArrived", () => a());
|
|
632
645
|
}), s && (this.privateState.modeChanging = !1);
|
|
633
646
|
});
|
|
634
647
|
}
|
|
@@ -639,9 +652,9 @@ class z extends V {
|
|
|
639
652
|
const { state: i, privateState: r, hooks: n } = this, { currentPlayKeyframe: s } = r;
|
|
640
653
|
if (n.emit("speedChange", e, { userAction: t }), i.playing && s)
|
|
641
654
|
try {
|
|
642
|
-
const
|
|
643
|
-
r.currentPlayQueue.push(
|
|
644
|
-
} catch (
|
|
655
|
+
const d = s.originDuration !== void 0 ? s.originDuration * (1 - this.getProgress()) : void 0, o = this.playKeyframe(s.keyframe, { duration: d });
|
|
656
|
+
r.currentPlayQueue.push(o);
|
|
657
|
+
} catch (d) {
|
|
645
658
|
}
|
|
646
659
|
}
|
|
647
660
|
/**
|
|
@@ -744,5 +757,5 @@ class z extends V {
|
|
|
744
757
|
I(z, "PluginVersion", M);
|
|
745
758
|
export {
|
|
746
759
|
z as default,
|
|
747
|
-
|
|
760
|
+
dr as pluginFlag
|
|
748
761
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i from "./Controller.js";
|
|
2
|
-
import { typing as
|
|
2
|
+
import { typing as co } from "./typing/index.js";
|
|
3
3
|
import "../base/BasePluginWithData.js";
|
|
4
4
|
import "../base/BasePlugin.js";
|
|
5
5
|
import "../shared-utils/Subscribe.js";
|
|
@@ -60,8 +60,8 @@ import "../PanoTagPlugin/tag.config.js";
|
|
|
60
60
|
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
61
61
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
62
62
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
63
|
-
import "../vendor/svelte/store/index.js";
|
|
64
|
-
import "../vendor/svelte/internal/
|
|
63
|
+
import "../vendor/svelte/src/runtime/store/index.js";
|
|
64
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
65
65
|
import "../shared-utils/device.js";
|
|
66
66
|
import "../PanoTagPlugin/utils/model/mediaPlane.js";
|
|
67
67
|
import "../shared-utils/three/Quadrangle.js";
|
|
@@ -74,13 +74,24 @@ import "../shared-utils/five/FiveDomEvents.js";
|
|
|
74
74
|
import "../shared-utils/threex/domevents/index.js";
|
|
75
75
|
import "../shared-utils/five/getFloorIndex.js";
|
|
76
76
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
77
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
78
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
79
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
80
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
81
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
82
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
83
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
84
|
+
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
85
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
86
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
87
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
77
88
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
78
89
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
79
90
|
import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
|
|
80
91
|
import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
|
|
81
92
|
import "../PanoTagPlugin/Components/Common/Line/Straight.js";
|
|
82
|
-
import "../vendor/svelte/transition/index.js";
|
|
83
|
-
import "../vendor/svelte/easing/index.js";
|
|
93
|
+
import "../vendor/svelte/src/runtime/transition/index.js";
|
|
94
|
+
import "../vendor/svelte/src/runtime/easing/index.js";
|
|
84
95
|
import "../shared-utils/uuid.js";
|
|
85
96
|
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
86
97
|
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
@@ -98,6 +109,7 @@ import "../PanoTagPlugin/utils/px2rem.js";
|
|
|
98
109
|
import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
|
|
99
110
|
import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
|
|
100
111
|
import "../PanoTagPlugin/Components/Common/Media.js";
|
|
112
|
+
import "../vendor/svelte/src/runtime/internal/spread.js";
|
|
101
113
|
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
102
114
|
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
103
115
|
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
@@ -140,6 +152,7 @@ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
|
140
152
|
import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
141
153
|
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
142
154
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
155
|
+
import "../vendor/svelte/src/runtime/internal/await_block.js";
|
|
143
156
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
144
157
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
145
158
|
import "../vendor/classnames/index.js";
|
|
@@ -161,10 +174,10 @@ import "./utils/vectorToCoordinates.js";
|
|
|
161
174
|
import "./utils/formatRad.js";
|
|
162
175
|
import "./utils/linerValue.js";
|
|
163
176
|
import "./utils/sleep.js";
|
|
164
|
-
const
|
|
177
|
+
const Po = (r) => new i(r);
|
|
165
178
|
export {
|
|
166
|
-
|
|
179
|
+
Po as CruisePlugin,
|
|
167
180
|
i as CruisePluginController,
|
|
168
|
-
|
|
169
|
-
|
|
181
|
+
co as CruisePluginTypes,
|
|
182
|
+
Po as default
|
|
170
183
|
};
|