@realsee/dnalogel 2.16.0-10 → 2.16.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/components/index.js +688 -240
- package/dist/CruisePlugin/typing.d.ts +1 -1
- package/dist/GuideLinePlugin/Controller.d.ts +5 -4
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +7 -1
- package/dist/GuideLinePlugin/typing.d.ts +8 -9
- package/dist/GuideLinePlugin/utils/index.d.ts +1 -1
- package/dist/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/line.d.ts +2 -2
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +2 -2
- package/dist/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagRender.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -2
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -3
- package/dist/PanoTagPlugin/utils/tagPosition.d.ts +1 -1
- package/dist/PanoVideoPlugin/utils/index.d.ts +1 -1
- package/dist/index.cjs.js +100 -86
- package/dist/index.js +14859 -8028
- package/dist/index.umd.js +93 -79
- package/dist/shared-utils/Object3DHelper/Controller/BoundingBoxController.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/dist/shared-utils/animationFrame/BetterTween.d.ts +3 -2
- package/dist/shared-utils/animationFrame/index.d.ts +1 -1
- package/dist/shared-utils/animationFrame/tween.d.ts +32 -23
- package/dist/shared-utils/five/mode.d.ts +1 -1
- package/dist/shared-utils/svelte/resizeObserver.d.ts +2 -10
- package/dist/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +26 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +16 -16
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +38 -26
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +47 -47
- package/docs/classes/Util.BetterTween.html +29 -18
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/PanoVideoPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isAbsoluteURL.html +5 -5
- package/docs/functions/Util.isModelLike.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.isPanoramaLike.html +5 -5
- package/docs/functions/Util.nextFrame.html +18 -7
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +7 -18
- package/docs/functions/Util.uuid.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +11 -11
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +26 -26
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -15
- package/docs/interfaces/GuideLinePluginType.Route.html +17 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +12 -12
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/CruisePluginTypes.html +5 -5
- package/docs/modules/GuideLineItem.html +5 -5
- package/docs/modules/GuideLineModeItem.html +5 -5
- package/docs/modules/GuideLinePluginType.html +5 -7
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -6
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -6
- package/docs/types/GuideLinePluginType.PathItem.html +5 -6
- package/docs/types/GuideLinePluginType.PluginData.html +17 -7
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CSS3DRenderPlugin/Controller.js +48 -14
- package/libs/CSS3DRenderPlugin/index.js +7 -9
- package/libs/CSS3DRenderPlugin/utils/even.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +37 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +1 -1
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +22 -18
- package/libs/CameraMovementPlugin/index.js +7 -9
- package/libs/CruisePlugin/Controller.js +163 -54
- package/libs/CruisePlugin/index.js +38 -32
- package/libs/CruisePlugin/typing.d.ts +1 -1
- package/libs/CruisePlugin/utils/coordinatesToVector.js +3 -0
- package/libs/GuideLinePlugin/Components/Tag.js +14 -2
- package/libs/GuideLinePlugin/Controller.d.ts +5 -4
- package/libs/GuideLinePlugin/Controller.js +147 -135
- package/libs/GuideLinePlugin/GuideLineItem/index.js +26 -30
- package/libs/GuideLinePlugin/GuideLineItem.js +30 -23
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +126 -72
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +7 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +30 -23
- package/libs/GuideLinePlugin/index.js +40 -33
- package/libs/GuideLinePlugin/typing.d.ts +8 -9
- package/libs/GuideLinePlugin/typing.js +1 -34
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +24 -18
- package/libs/GuideLinePlugin/utils/getPoint.js +4 -0
- package/libs/GuideLinePlugin/utils/index.d.ts +1 -1
- package/libs/GuideLinePlugin/utils/index.js +9 -44
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +83 -34
- package/libs/ItemLabelPlugin/ItemLabelItem.js +91 -14
- package/libs/ItemLabelPlugin/Plugin.js +2 -2
- package/libs/ItemLabelPlugin/index.js +8 -9
- package/libs/ModelChassisCompassPlugin/Plugin.js +25 -25
- package/libs/ModelChassisCompassPlugin/index.js +3 -4
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +14 -14
- package/libs/ModelEntryDoorGuidePlugin/index.js +3 -4
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +46 -10
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +60 -7
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +3 -3
- package/libs/ModelItemLabelPlugin/index.js +6 -7
- package/libs/ModelRoomLabelPlugin/Controller.js +18 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +58 -4
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +50 -20
- package/libs/ModelTVVideoPlugin/Plugin.js +7 -9
- package/libs/ModelTVVideoPlugin/index.js +7 -10
- package/libs/ModelViewPlugin/Plugin.js +3 -3
- package/libs/ModelViewPlugin/index.js +3 -4
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +62 -42
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +2 -1
- package/libs/Object3DHelperPlugin/index.js +9 -11
- package/libs/PanoCompassPlugin/Controller.js +54 -4
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -1
- package/libs/PanoCompassPlugin/index.js +3 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +37 -12
- package/libs/PanoDoorLabelPlugin/Controller.js +9 -6
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +39 -13
- package/libs/PanoDoorLabelPlugin/index.js +5 -7
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +25 -7
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +11 -7
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +7 -7
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +8 -8
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +44 -14
- package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/index.js +7 -7
- package/libs/PanoMeasurePlugin/Model/line.d.ts +2 -2
- package/libs/PanoMeasurePlugin/Model/line.js +9 -9
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/polyline.js +26 -25
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +2 -1
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +21 -20
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +14 -10
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +8 -7
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +3 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +12 -13
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +5 -6
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +15 -12
- package/libs/PanoMeasurePlugin/index.js +15 -16
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +2 -2
- package/libs/PanoMeasurePlugin/typings/event.type.js +1 -4
- package/libs/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/typings/index.js +1 -20
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +8 -11
- package/libs/PanoRulerPlugin/Plugin.js +54 -54
- package/libs/PanoRulerPlugin/index.js +3 -4
- package/libs/PanoRulerProPlugin/Controller.js +14 -15
- package/libs/PanoRulerProPlugin/RulerItem.js +134 -45
- package/libs/PanoRulerProPlugin/RulerItems.js +49 -40
- package/libs/PanoRulerProPlugin/index.js +4 -5
- package/libs/PanoSpatialTagPlugin/Components/origins.js +47 -8
- package/libs/PanoSpatialTagPlugin/Components/tag.js +79 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +5 -7
- package/libs/PanoSpatialTagPlugin/index.js +4 -7
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +45 -20
- package/libs/PanoTagPlugin/Components/Common/Audio.js +46 -8
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +220 -58
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +64 -11
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +50 -27
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +151 -26
- package/libs/PanoTagPlugin/Components/Common/Media.js +222 -89
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +171 -22
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +100 -28
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +97 -20
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +68 -17
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +71 -31
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +87 -13
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +29 -6
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +99 -14
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +171 -48
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +43 -20
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +11 -4
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +80 -27
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +41 -17
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +175 -36
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +76 -24
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +87 -14
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +99 -34
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +38 -23
- package/libs/PanoTagPlugin/Components/Tag/index.js +266 -44
- package/libs/PanoTagPlugin/Components/TagContainer.js +112 -61
- package/libs/PanoTagPlugin/Components/TagItem.js +202 -31
- package/libs/PanoTagPlugin/controller/TagCache.js +22 -20
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +40 -21
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +50 -19
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +30 -16
- package/libs/PanoTagPlugin/controller/index.js +93 -31
- package/libs/PanoTagPlugin/index.js +21 -22
- package/libs/PanoTagPlugin/tag.config.js +4 -0
- package/libs/PanoTagPlugin/typings/index.js +4 -7
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -3
- package/libs/PanoTagPlugin/typings/tag/Utils.js +2 -5
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +8 -6
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +7 -7
- package/libs/PanoTagPlugin/utils/index.js +33 -35
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +4 -0
- package/libs/PanoTagPlugin/utils/planeNormal.js +2 -4
- package/libs/PanoTagPlugin/utils/tagPosition.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/tagPosition.js +8 -10
- package/libs/PanoVideoPlugin/Controller.js +54 -40
- package/libs/PanoVideoPlugin/VideoMeshController.js +90 -44
- package/libs/PanoVideoPlugin/index.js +7 -8
- package/libs/PanoVideoPlugin/utils/index.d.ts +1 -1
- package/libs/PanoVideoPlugin/utils/index.js +0 -1
- package/libs/_commonjsHelpers.js +4 -0
- package/libs/base/BasePlugin.js +24 -16
- package/libs/base/BasePluginWithData.js +2 -2
- package/libs/components/PaintBrush/Controller.js +15 -4
- package/libs/components/PaintBrush/Subscribe.js +37 -0
- package/libs/components/PaintBrush/index.js +17 -4
- package/libs/components/PaintBrush/tween.js +2 -2
- package/libs/components/index.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +24 -6
- package/libs/floorplan/Components/Camera.js +73 -27
- package/libs/floorplan/Components/Compass.js +20 -3
- package/libs/floorplan/Components/CurrentFloor.js +189 -50
- package/libs/floorplan/Components/Main.js +202 -54
- package/libs/floorplan/Components/Normalmage.js +5 -2
- package/libs/floorplan/Components/RoomHighlight/Room.js +38 -5
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +105 -58
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +91 -18
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +106 -37
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +42 -13
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +15 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +37 -3
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +125 -51
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +80 -15
- package/libs/floorplan/Components/SvgImage.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +118 -76
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +5 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +97 -54
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +43 -15
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -22
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +61 -39
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +128 -33
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -37
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +5 -7
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +84 -65
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -7
- package/libs/floorplan/index.js +2 -4
- package/libs/floorplan/typings/floorplanServerData.js +80 -80
- package/libs/index.js +136 -129
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +29 -1
- package/libs/shared-utils/Object3DHelper/Controller/BoundingBoxController.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/BoundingBoxController.js +2 -3
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +10 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +5 -2
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +9 -8
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +4 -1
- package/libs/shared-utils/Object3DHelper/index.js +15 -0
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -2
- package/libs/shared-utils/Subscribe.js +38 -1
- package/libs/shared-utils/animationFrame/BetterTween.d.ts +3 -2
- package/libs/shared-utils/animationFrame/BetterTween.js +19 -12
- package/libs/shared-utils/animationFrame/index.d.ts +1 -1
- package/libs/shared-utils/animationFrame/index.js +14 -14
- package/libs/shared-utils/animationFrame/tween.d.ts +32 -23
- package/libs/shared-utils/animationFrame/tween.js +15 -15
- package/libs/shared-utils/audio.js +9 -9
- package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
- package/libs/shared-utils/createCanvasTextTexture.js +3 -3
- package/libs/shared-utils/five/changeMode.js +11 -11
- package/libs/shared-utils/five/index.js +1 -1
- package/libs/shared-utils/five/mode.d.ts +1 -1
- package/libs/shared-utils/five/mode.js +2 -3
- package/libs/shared-utils/index.js +15 -15
- package/libs/shared-utils/log.js +2 -2
- package/libs/shared-utils/math/Interval.js +2 -0
- package/libs/shared-utils/math/Rectangle.js +2 -0
- package/libs/shared-utils/svelte/resizeObserver.d.ts +2 -10
- package/libs/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
- package/libs/shared-utils/three/FivePointSelector.js +1 -1
- package/libs/shared-utils/three/Magnifier.js +10 -7
- package/libs/shared-utils/three/PointDomHelper.js +12 -11
- package/libs/shared-utils/three/index.js +1 -2
- package/libs/shared-utils/three/loadTexture.js +10 -10
- package/libs/shared-utils/threex/domevents/index.js +2 -2
- package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +403 -0
- package/libs/vendor/classnames/index.js +47 -0
- package/libs/vendor/easy-reactive/main.js +3 -0
- package/libs/vendor/{simply-reactive → easy-reactive}/src/simply-reactive.js +8 -8
- package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/object.js +1 -1
- package/libs/vendor/gl-vec2/add.js +7 -0
- package/libs/vendor/gl-vec2/dot.js +7 -0
- package/libs/vendor/gl-vec2/normalize.js +8 -0
- package/libs/vendor/gl-vec2/set.js +7 -0
- package/libs/vendor/gl-vec2/subtract.js +7 -0
- package/libs/vendor/lodash.clonedeep/index.js +457 -0
- package/libs/vendor/lodash.get/index.js +236 -0
- package/libs/vendor/lodash.isequal/index.js +489 -0
- package/libs/vendor/object-assign-deep/objectAssignDeep.js +62 -0
- package/libs/vendor/polyline-miter-util/index.js +18 -0
- package/libs/vendor/polyline-normals/index.js +28 -0
- package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +155 -134
- package/libs/vendor/svelte/easing/index.js +4 -5
- package/libs/vendor/svelte/index.js +1 -1
- package/libs/vendor/svelte/internal/index.js +412 -388
- package/libs/vendor/svelte/store/index.js +6 -6
- package/libs/vendor/svelte/transition/index.js +23 -20
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -3
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +338 -71
- package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +7 -1
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +19 -3
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +30 -7
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +15 -3
- package/libs/vendor/svelte-carousel/src/utils/clones.js +1 -0
- package/libs/vendor/svelte-carousel/src/utils/lazy.js +3 -0
- package/package.json +11 -13
- package/dist/GuideLinePlugin/utils/getArrowMaterial.d.ts +0 -4
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +0 -77
- package/libs/typings/math.type.js +0 -1
- package/libs/vendor/simply-reactive/main.js +0 -3
- /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/subscription.js +0 -0
- /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/watcher.js +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type GuideLinePlugin from './Controller';
|
|
2
2
|
import type { Five } from '@realsee/five';
|
|
3
3
|
import type * as PluginType from './typing';
|
|
4
|
+
import type { GuideLineItem } from './GuideLineItem';
|
|
4
5
|
import * as THREE from 'three';
|
|
5
|
-
import { GuideLineItem } from './GuideLineItem';
|
|
6
6
|
import { PanoTagPluginController, Tag } from '../PanoTagPlugin';
|
|
7
7
|
/** @link https://threejs.org/docs/index.html#api/en/extras/curves/CatmullRomCurve3 */
|
|
8
8
|
declare type CatmullRomCurve3RestParams = Omit<PluginType.CatmullRomCurve3, 'type' | 'points'>;
|
|
@@ -33,6 +33,8 @@ declare class GuideLineModeItem {
|
|
|
33
33
|
private plugin;
|
|
34
34
|
private textureHasLoaded;
|
|
35
35
|
private disposed;
|
|
36
|
+
private flowAnime;
|
|
37
|
+
private flickerAnime;
|
|
36
38
|
constructor(five: Five, options: {
|
|
37
39
|
mode: PluginType.GuideLineModeItemMode;
|
|
38
40
|
plugin: GuideLinePlugin;
|
|
@@ -69,6 +71,8 @@ declare class GuideLineModeItem {
|
|
|
69
71
|
setTextureUrl(url: string): void;
|
|
70
72
|
setStartTag(tag: Tag): void;
|
|
71
73
|
setEndTag(tag: Tag): void;
|
|
74
|
+
/** 闪烁 */
|
|
75
|
+
flicker(): void;
|
|
72
76
|
private setTag;
|
|
73
77
|
private onTagContainerChange;
|
|
74
78
|
/** 当设置 GuideLinePLugin 展示 */
|
|
@@ -91,6 +95,8 @@ declare class GuideLineModeItem {
|
|
|
91
95
|
private doHide;
|
|
92
96
|
/** 通过 panoIndex 数组计算路径 */
|
|
93
97
|
private getPathFromPanoGroup;
|
|
98
|
+
private onFlowAnimeUpdate;
|
|
99
|
+
private onFlickerAnimeUpdate;
|
|
94
100
|
private logWarning;
|
|
95
101
|
private logError;
|
|
96
102
|
}
|
|
@@ -4,18 +4,22 @@ import "./utils/createLineGeometry.js";
|
|
|
4
4
|
import "../shared-utils/five/mode.js";
|
|
5
5
|
import "hammerjs";
|
|
6
6
|
import "@realsee/five";
|
|
7
|
-
import "
|
|
7
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
8
8
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
9
9
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
10
10
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
11
11
|
import "../shared-utils/three/loadTexture.js";
|
|
12
|
-
import "object-assign-deep";
|
|
13
|
-
import { GuideLineModeItem as si } from "./GuideLineModeItem/index.js";
|
|
14
|
-
import "./utils/index.js";
|
|
15
12
|
import "../PanoTagPlugin/controller/index.js";
|
|
16
|
-
import "@realsee/five/gltf-loader";
|
|
17
13
|
import "./Components/Tag.js";
|
|
18
|
-
import "
|
|
14
|
+
import "./utils/index.js";
|
|
15
|
+
import { GuideLineModeItem as Ci } from "./GuideLineModeItem/index.js";
|
|
16
|
+
import "../vendor/polyline-normals/index.js";
|
|
17
|
+
import "../vendor/polyline-miter-util/index.js";
|
|
18
|
+
import "../vendor/gl-vec2/add.js";
|
|
19
|
+
import "../vendor/gl-vec2/set.js";
|
|
20
|
+
import "../vendor/gl-vec2/normalize.js";
|
|
21
|
+
import "../vendor/gl-vec2/subtract.js";
|
|
22
|
+
import "../vendor/gl-vec2/dot.js";
|
|
19
23
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
20
24
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
21
25
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -29,17 +33,7 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
29
33
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
30
34
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
31
35
|
import "../shared-utils/animationFrame/index.js";
|
|
32
|
-
import "../vendor/
|
|
33
|
-
import "../PanoTagPlugin/utils/device.js";
|
|
34
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
35
|
-
import "animejs";
|
|
36
|
-
import "../PanoTagPlugin/utils/constants.js";
|
|
37
|
-
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
38
|
-
import "lodash.get";
|
|
39
|
-
import "lodash.clonedeep";
|
|
40
|
-
import "lodash.isequal";
|
|
41
|
-
import "classnames";
|
|
42
|
-
import "../shared-utils/three/GLTFLoader.js";
|
|
36
|
+
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
43
37
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
44
38
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
45
39
|
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
@@ -61,6 +55,9 @@ import "../PanoTagPlugin/controller/TagCache.js";
|
|
|
61
55
|
import "../base/BasePlugin.js";
|
|
62
56
|
import "../shared-utils/isAbsoluteURL.js";
|
|
63
57
|
import "../vendor/svelte/store/index.js";
|
|
58
|
+
import "../vendor/svelte/internal/index.js";
|
|
59
|
+
import "../PanoTagPlugin/utils/device.js";
|
|
60
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
64
61
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
65
62
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
66
63
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -73,11 +70,14 @@ import "../shared-utils/uuid.js";
|
|
|
73
70
|
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
74
71
|
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
75
72
|
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
73
|
+
import "animejs";
|
|
76
74
|
import "../PanoTagPlugin/utils/search.js";
|
|
75
|
+
import "../PanoTagPlugin/utils/constants.js";
|
|
77
76
|
import "../PanoTagPlugin/Components/Common/Arrow.js";
|
|
78
77
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
79
78
|
import "../PanoTagPlugin/utils/doUtil.js";
|
|
80
79
|
import "../shared-utils/svelte/resizeObserver.js";
|
|
80
|
+
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
81
81
|
import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
|
|
82
82
|
import "../PanoTagPlugin/Components/Common/Text/MText.js";
|
|
83
83
|
import "../PanoTagPlugin/utils/px2rem.js";
|
|
@@ -103,10 +103,14 @@ import "../vendor/svelte-carousel/src/utils/page.js";
|
|
|
103
103
|
import "../vendor/svelte-carousel/src/utils/clones.js";
|
|
104
104
|
import "../vendor/svelte-carousel/src/utils/object.js";
|
|
105
105
|
import "../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
106
|
-
import "../vendor/
|
|
107
|
-
import "../vendor/
|
|
108
|
-
import "../
|
|
109
|
-
import "../vendor/
|
|
106
|
+
import "../vendor/easy-reactive/src/simply-reactive.js";
|
|
107
|
+
import "../vendor/lodash.get/index.js";
|
|
108
|
+
import "../_commonjsHelpers.js";
|
|
109
|
+
import "../vendor/lodash.clonedeep/index.js";
|
|
110
|
+
import "../vendor/easy-reactive/src/utils/subscription.js";
|
|
111
|
+
import "../vendor/easy-reactive/src/utils/object.js";
|
|
112
|
+
import "../vendor/lodash.isequal/index.js";
|
|
113
|
+
import "../vendor/easy-reactive/src/utils/watcher.js";
|
|
110
114
|
import "../vendor/svelte-carousel/src/utils/lazy.js";
|
|
111
115
|
import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
112
116
|
import "../vendor/svelte-carousel/src/utils/interval.js";
|
|
@@ -124,11 +128,14 @@ import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
|
124
128
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
125
129
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
126
130
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
131
|
+
import "../vendor/classnames/index.js";
|
|
127
132
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
128
|
-
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
129
133
|
import "../CSS3DRenderPlugin/index.js";
|
|
130
134
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
131
135
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
136
|
+
import "../shared-utils/three/GLTFLoader.js";
|
|
137
|
+
import "@realsee/five/gltf-loader";
|
|
138
|
+
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
132
139
|
export {
|
|
133
|
-
|
|
140
|
+
Ci as GuideLineModeItem
|
|
134
141
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as Zo } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as it } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
7
|
-
import "@realsee/five";
|
|
8
7
|
import "hammerjs";
|
|
9
8
|
import "three";
|
|
10
|
-
import "@
|
|
9
|
+
import "@realsee/five";
|
|
10
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
11
11
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
12
12
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
13
13
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -22,28 +22,11 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
24
|
import "../shared-utils/isAbsoluteURL.js";
|
|
25
|
-
import "../shared-utils/animationFrame/BetterTween.js";
|
|
26
|
-
import "../shared-utils/animationFrame/index.js";
|
|
27
25
|
import "../shared-utils/equal.js";
|
|
28
26
|
import "../shared-utils/isTruelyObject.js";
|
|
29
|
-
import "polyline-normals";
|
|
30
|
-
import "../shared-utils/uuid.js";
|
|
31
|
-
import "../shared-utils/three/loadTexture.js";
|
|
32
|
-
import "object-assign-deep";
|
|
33
|
-
import "@realsee/five/gltf-loader";
|
|
34
|
-
import "../vendor/svelte/internal/index.js";
|
|
35
|
-
import "../PanoTagPlugin/utils/device.js";
|
|
36
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
37
|
-
import "animejs";
|
|
38
|
-
import "../PanoTagPlugin/utils/constants.js";
|
|
39
|
-
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
40
|
-
import "lodash.get";
|
|
41
|
-
import "lodash.clonedeep";
|
|
42
|
-
import "lodash.isequal";
|
|
43
|
-
import "classnames";
|
|
44
|
-
import "../shared-utils/three/GLTFLoader.js";
|
|
45
27
|
import "../CruisePlugin/Controller.js";
|
|
46
28
|
import "./index.js";
|
|
29
|
+
import "../shared-utils/uuid.js";
|
|
47
30
|
import "../CruisePlugin/utils/coordinatesAngle.js";
|
|
48
31
|
import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
49
32
|
import "../CruisePlugin/utils/safeCall.js";
|
|
@@ -51,10 +34,20 @@ import "../CruisePlugin/utils/vectorToCoordinates.js";
|
|
|
51
34
|
import "../CruisePlugin/utils/formatRad.js";
|
|
52
35
|
import "../CruisePlugin/utils/linerValue.js";
|
|
53
36
|
import "../CruisePlugin/utils/sleep.js";
|
|
37
|
+
import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
54
38
|
import "../shared-utils/log.js";
|
|
55
39
|
import "./utils/createLineGeometry.js";
|
|
40
|
+
import "../vendor/polyline-normals/index.js";
|
|
41
|
+
import "../vendor/polyline-miter-util/index.js";
|
|
42
|
+
import "../vendor/gl-vec2/add.js";
|
|
43
|
+
import "../vendor/gl-vec2/set.js";
|
|
44
|
+
import "../vendor/gl-vec2/normalize.js";
|
|
45
|
+
import "../vendor/gl-vec2/subtract.js";
|
|
46
|
+
import "../vendor/gl-vec2/dot.js";
|
|
56
47
|
import "../shared-utils/five/mode.js";
|
|
57
|
-
import "
|
|
48
|
+
import "../shared-utils/animationFrame/BetterTween.js";
|
|
49
|
+
import "../shared-utils/animationFrame/index.js";
|
|
50
|
+
import "../shared-utils/three/loadTexture.js";
|
|
58
51
|
import "../PanoTagPlugin/controller/index.js";
|
|
59
52
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
60
53
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
@@ -75,6 +68,9 @@ import "../PanoTagPlugin/utils/planeNormal.js";
|
|
|
75
68
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
76
69
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
77
70
|
import "../vendor/svelte/store/index.js";
|
|
71
|
+
import "../vendor/svelte/internal/index.js";
|
|
72
|
+
import "../PanoTagPlugin/utils/device.js";
|
|
73
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
78
74
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
79
75
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
80
76
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -86,11 +82,14 @@ import "../vendor/svelte/easing/index.js";
|
|
|
86
82
|
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
87
83
|
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
88
84
|
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
85
|
+
import "animejs";
|
|
89
86
|
import "../PanoTagPlugin/utils/search.js";
|
|
87
|
+
import "../PanoTagPlugin/utils/constants.js";
|
|
90
88
|
import "../PanoTagPlugin/Components/Common/Arrow.js";
|
|
91
89
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
92
90
|
import "../PanoTagPlugin/utils/doUtil.js";
|
|
93
91
|
import "../shared-utils/svelte/resizeObserver.js";
|
|
92
|
+
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
94
93
|
import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
|
|
95
94
|
import "../PanoTagPlugin/Components/Common/Text/MText.js";
|
|
96
95
|
import "../PanoTagPlugin/utils/px2rem.js";
|
|
@@ -116,10 +115,14 @@ import "../vendor/svelte-carousel/src/utils/page.js";
|
|
|
116
115
|
import "../vendor/svelte-carousel/src/utils/clones.js";
|
|
117
116
|
import "../vendor/svelte-carousel/src/utils/object.js";
|
|
118
117
|
import "../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
119
|
-
import "../vendor/
|
|
120
|
-
import "../vendor/
|
|
121
|
-
import "../
|
|
122
|
-
import "../vendor/
|
|
118
|
+
import "../vendor/easy-reactive/src/simply-reactive.js";
|
|
119
|
+
import "../vendor/lodash.get/index.js";
|
|
120
|
+
import "../_commonjsHelpers.js";
|
|
121
|
+
import "../vendor/lodash.clonedeep/index.js";
|
|
122
|
+
import "../vendor/easy-reactive/src/utils/subscription.js";
|
|
123
|
+
import "../vendor/easy-reactive/src/utils/object.js";
|
|
124
|
+
import "../vendor/lodash.isequal/index.js";
|
|
125
|
+
import "../vendor/easy-reactive/src/utils/watcher.js";
|
|
123
126
|
import "../vendor/svelte-carousel/src/utils/lazy.js";
|
|
124
127
|
import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
125
128
|
import "../vendor/svelte-carousel/src/utils/interval.js";
|
|
@@ -137,19 +140,23 @@ import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
|
137
140
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
138
141
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
139
142
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
143
|
+
import "../vendor/classnames/index.js";
|
|
140
144
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
141
|
-
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
142
145
|
import "../CSS3DRenderPlugin/index.js";
|
|
143
146
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
144
147
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
148
|
+
import "../shared-utils/three/GLTFLoader.js";
|
|
149
|
+
import "@realsee/five/gltf-loader";
|
|
150
|
+
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
145
151
|
import "./Components/Tag.js";
|
|
152
|
+
import "./utils/index.js";
|
|
146
153
|
import "../shared-utils/to.js";
|
|
147
154
|
import "../shared-utils/five/changeMode.js";
|
|
148
155
|
import "../shared-utils/nearlyEqual.js";
|
|
149
|
-
const
|
|
156
|
+
const Wo = (i, o) => new t(i, o);
|
|
150
157
|
export {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
158
|
+
Zo as GuideLineItem,
|
|
159
|
+
it as GuideLineModeItem,
|
|
160
|
+
Wo as GuideLinePlugin,
|
|
161
|
+
Wo as default
|
|
155
162
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type GuideLinePlugin from '.';
|
|
2
2
|
import type { RequireAtLeastOne } from 'type-fest';
|
|
3
3
|
import type * as BasePluginWithData from '../base/BasePluginWithData';
|
|
4
|
-
import { Tag } from '../PanoTagPlugin';
|
|
4
|
+
import type { Tag } from '../PanoTagPlugin';
|
|
5
5
|
export interface RouteConfig {
|
|
6
6
|
arrowTextureUrl?: string;
|
|
7
7
|
skipPanoIndexMesh?: boolean;
|
|
@@ -9,23 +9,22 @@ export interface RouteConfig {
|
|
|
9
9
|
unitHeight?: number;
|
|
10
10
|
}
|
|
11
11
|
export interface Route extends RouteConfig {
|
|
12
|
+
id?: number;
|
|
12
13
|
panoIndexList: number[];
|
|
13
14
|
}
|
|
14
|
-
export interface PluginDataV1 {
|
|
15
|
-
routes: Route[];
|
|
16
|
-
config?: RouteConfig;
|
|
17
|
-
}
|
|
18
15
|
export interface PluginDataV2 {
|
|
19
|
-
/** 路线数据 */
|
|
20
|
-
lines: GuideLineItem[];
|
|
21
16
|
}
|
|
22
|
-
export declare type PluginData =
|
|
17
|
+
export declare type PluginData = {
|
|
18
|
+
/** 路线数据 */
|
|
19
|
+
lines?: GuideLineItem[];
|
|
20
|
+
routes?: Route[];
|
|
21
|
+
config?: RouteConfig;
|
|
22
|
+
};
|
|
23
23
|
export interface PluginServerData extends BasePluginWithData.ServerData {
|
|
24
24
|
data: PluginData;
|
|
25
25
|
}
|
|
26
26
|
export interface PluginState extends BasePluginWithData.State {
|
|
27
27
|
visible: boolean;
|
|
28
|
-
disposed: boolean;
|
|
29
28
|
}
|
|
30
29
|
export interface EventMap extends BasePluginWithData.EventMap<PluginState, PluginData> {
|
|
31
30
|
show: (options: {
|
|
@@ -1,34 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import "object-assign-deep";
|
|
3
|
-
import "three";
|
|
4
|
-
import "@realsee/five/gltf-loader";
|
|
5
|
-
import "../shared-utils/three/loadTexture.js";
|
|
6
|
-
import "hammerjs";
|
|
7
|
-
import "@tweenjs/tween.js";
|
|
8
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
9
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
10
|
-
import "../shared-utils/animationFrame/BetterTween.js";
|
|
11
|
-
import "../vendor/svelte/internal/index.js";
|
|
12
|
-
import "../PanoTagPlugin/utils/device.js";
|
|
13
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
14
|
-
import "animejs";
|
|
15
|
-
import "../PanoTagPlugin/utils/constants.js";
|
|
16
|
-
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
17
|
-
import "lodash.get";
|
|
18
|
-
import "lodash.clonedeep";
|
|
19
|
-
import "lodash.isequal";
|
|
20
|
-
import "classnames";
|
|
21
|
-
import "../shared-utils/three/GLTFLoader.js";
|
|
22
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
23
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
24
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
25
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
26
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
27
|
-
import "../shared-utils/Subscribe.js";
|
|
28
|
-
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
29
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
30
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
31
|
-
import "../shared-utils/three/centerPoint.js";
|
|
32
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
33
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
34
|
-
import "../shared-utils/animationFrame/index.js";
|
|
1
|
+
|
|
@@ -1,43 +1,49 @@
|
|
|
1
1
|
import * as n from "three";
|
|
2
2
|
import { Vector3 as P } from "three";
|
|
3
|
-
import G from "polyline-normals";
|
|
3
|
+
import { polylineNormals as G } from "../../vendor/polyline-normals/index.js";
|
|
4
|
+
import "../../vendor/polyline-miter-util/index.js";
|
|
5
|
+
import "../../vendor/gl-vec2/add.js";
|
|
6
|
+
import "../../vendor/gl-vec2/set.js";
|
|
7
|
+
import "../../vendor/gl-vec2/normalize.js";
|
|
8
|
+
import "../../vendor/gl-vec2/subtract.js";
|
|
9
|
+
import "../../vendor/gl-vec2/dot.js";
|
|
4
10
|
const z = 2, M = 3, X = 3, k = 2;
|
|
5
|
-
function
|
|
6
|
-
const i = e.width,
|
|
7
|
-
if (
|
|
11
|
+
function Q(e) {
|
|
12
|
+
const i = e.width, g = e.unitLength / i, c = i / 2, E = e.path;
|
|
13
|
+
if (E.length === 0)
|
|
8
14
|
return { geometry: new n.BufferGeometry(), maxU: 0 };
|
|
9
15
|
const h = new n.CurvePath();
|
|
10
|
-
|
|
16
|
+
E.forEach((t) => {
|
|
11
17
|
const a = I(t);
|
|
12
18
|
a && h.add(a);
|
|
13
19
|
});
|
|
14
|
-
const x = Math.ceil(h.getLength() * 100), o = h.getPoints(x), w = o.length, L = G(o.map((t) => [t.x, t.z])), B = (w - 1) * z * M,
|
|
15
|
-
let
|
|
20
|
+
const x = Math.ceil(h.getLength() * 100), o = h.getPoints(x), w = o.length, L = G(o.map((t) => [t.x, t.z])), B = (w - 1) * z * M, y = 2 * w, C = y * X, U = y * k, r = new Uint32Array(B), s = new Float32Array(C), u = new Float32Array(U);
|
|
21
|
+
let d = 0, N = 0;
|
|
16
22
|
for (let t = 0; t < o.length; t++) {
|
|
17
|
-
const [a, R] = L[t][0], T = o[t], { x: A, y: _, z: b } = T,
|
|
18
|
-
s[t * 6 + 0] =
|
|
23
|
+
const [a, R] = L[t][0], T = o[t], { x: A, y: _, z: b } = T, l = new P(A + a * c, _ + 0.05, b + R * c);
|
|
24
|
+
s[t * 6 + 0] = l.x, s[t * 6 + 1] = l.y, s[t * 6 + 2] = l.z;
|
|
19
25
|
const f = new P(A - a * c, _ + 0.05, b - R * c);
|
|
20
|
-
s[t * 6 + 3] = f.x, s[t * 6 + 4] = f.y, s[t * 6 + 5] = f.z,
|
|
21
|
-
const
|
|
22
|
-
if (N =
|
|
23
|
-
const V = new n.Vector3().lerpVectors(
|
|
26
|
+
s[t * 6 + 3] = f.x, s[t * 6 + 4] = f.y, s[t * 6 + 5] = f.z, d += t > 0 ? o[t - 1].clone().sub(o[t]).length() : 0;
|
|
27
|
+
const p = d / i / g;
|
|
28
|
+
if (N = p, u[t * 4 + 0] = 0, u[t * 4 + 1] = p, u[t * 4 + 2] = 1, u[t * 4 + 3] = p, e.skipPositions) {
|
|
29
|
+
const V = new n.Vector3().lerpVectors(l, f, 0.5);
|
|
24
30
|
if (e.skipPositions.some((F) => F.distanceTo(V) < 0.26))
|
|
25
31
|
continue;
|
|
26
32
|
}
|
|
27
33
|
t !== o.length - 1 && (r[t * 6 + 0] = t * 2 + 0, r[t * 6 + 1] = t * 2 + 2, r[t * 6 + 2] = t * 2 + 1, r[t * 6 + 3] = t * 2 + 2, r[t * 6 + 4] = t * 2 + 3, r[t * 6 + 5] = t * 2 + 1);
|
|
28
34
|
}
|
|
29
|
-
const
|
|
30
|
-
return
|
|
35
|
+
const m = new n.BufferGeometry();
|
|
36
|
+
return m.setAttribute("position", new n.BufferAttribute(s, 3)), m.setAttribute("uv", new n.BufferAttribute(u, 2)), m.setIndex(new n.BufferAttribute(r, 1)), { geometry: m, maxU: N };
|
|
31
37
|
}
|
|
32
38
|
function I(e) {
|
|
33
39
|
if (O(e)) {
|
|
34
|
-
const i = [e.closed, e.curve_type, e.tension],
|
|
35
|
-
return new n.CatmullRomCurve3(
|
|
40
|
+
const i = [e.closed, e.curve_type, e.tension], v = e.points.map((c) => new n.Vector3().fromArray(c));
|
|
41
|
+
return new n.CatmullRomCurve3(v, ...i);
|
|
36
42
|
}
|
|
37
43
|
}
|
|
38
44
|
function O(e) {
|
|
39
45
|
return e.type === "CatmullRomCurve3";
|
|
40
46
|
}
|
|
41
47
|
export {
|
|
42
|
-
|
|
48
|
+
Q as createLineGeometry
|
|
43
49
|
};
|
|
@@ -3,9 +3,13 @@ const o = [];
|
|
|
3
3
|
function c(r = new e.Vector3(1, 1, 1), a = 0) {
|
|
4
4
|
const n = new e.SphereGeometry(0.02, 16, 16), t = [
|
|
5
5
|
new e.MeshBasicMaterial({ color: 16776960 }),
|
|
6
|
+
// 黄
|
|
6
7
|
new e.MeshBasicMaterial({ color: 16711935 }),
|
|
8
|
+
// 粉
|
|
7
9
|
new e.MeshBasicMaterial({ color: 16711680 }),
|
|
10
|
+
// 红
|
|
8
11
|
new e.MeshBasicMaterial({ color: 65535 })
|
|
12
|
+
// 蓝
|
|
9
13
|
][a], s = new e.Mesh(n, t);
|
|
10
14
|
return t.depthTest = !1, t.transparent = !0, t.opacity = 0.6, t.side = e.DoubleSide, s.position.copy(r), o.push(s), s;
|
|
11
15
|
}
|
|
@@ -1,49 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import "hammerjs";
|
|
5
|
-
import "@tweenjs/tween.js";
|
|
6
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
7
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
8
|
-
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
9
|
-
import "../../shared-utils/three/loadTexture.js";
|
|
10
|
-
import "object-assign-deep";
|
|
11
|
-
import "@realsee/five/gltf-loader";
|
|
12
|
-
import "../../vendor/svelte/internal/index.js";
|
|
13
|
-
import "../../PanoTagPlugin/utils/device.js";
|
|
14
|
-
import "../../shared-utils/threex/domevents/index.js";
|
|
15
|
-
import "animejs";
|
|
16
|
-
import "../../PanoTagPlugin/utils/constants.js";
|
|
17
|
-
import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
18
|
-
import "lodash.get";
|
|
19
|
-
import "lodash.clonedeep";
|
|
20
|
-
import "lodash.isequal";
|
|
21
|
-
import "classnames";
|
|
22
|
-
import "../../shared-utils/three/GLTFLoader.js";
|
|
23
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
24
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
25
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
26
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
27
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
28
|
-
import "../../shared-utils/Subscribe.js";
|
|
29
|
-
import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
30
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
31
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
32
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
33
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
34
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
35
|
-
import "../../shared-utils/animationFrame/index.js";
|
|
36
|
-
function O(o) {
|
|
37
|
-
const t = o.data, r = o.item, i = o.mode === "panorama" ? t.panorama_style : t.model_style;
|
|
38
|
-
if (!i)
|
|
1
|
+
function s(e) {
|
|
2
|
+
const t = e.data, o = e.item, a = e.mode === "panorama" ? t.panorama_style : t.model_style;
|
|
3
|
+
if (!a)
|
|
39
4
|
return;
|
|
40
|
-
const
|
|
41
|
-
t.path ?
|
|
5
|
+
const r = t.path, n = a, i = a;
|
|
6
|
+
t.path ? o.setGeometryByPath(r, n) : t.pano_group && o.setGeometryByPanoGroup(t.pano_group, n), o.setMartial(i);
|
|
42
7
|
}
|
|
43
|
-
function
|
|
44
|
-
return
|
|
8
|
+
function l(e) {
|
|
9
|
+
return e.length === 0 ? [] : e.filter((t, o) => t !== e[o - 1]);
|
|
45
10
|
}
|
|
46
11
|
export {
|
|
47
|
-
|
|
48
|
-
|
|
12
|
+
l as filterAdjacentDistinct,
|
|
13
|
+
s as updateGuideLineModeItemByData
|
|
49
14
|
};
|