@realsee/dnalogel 2.16.0-4 → 2.16.0-6
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/CruisePlugin/index.d.ts +2 -0
- package/dist/CruisePlugin/typing.d.ts +32 -40
- package/dist/GuideLinePlugin/Controller.d.ts +2 -0
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +6 -0
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +37 -5
- package/dist/GuideLinePlugin/typing.d.ts +33 -4
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +5 -5
- package/dist/index.cjs.js +61 -61
- package/dist/index.js +8345 -8265
- package/dist/index.umd.js +54 -54
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +32 -31
- package/docs/classes/CruisePluginController.html +39 -38
- package/docs/classes/GuideLineItem.GuideLineItem.html +49 -16
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +218 -49
- package/docs/classes/Magnifier.html +21 -20
- package/docs/classes/ModelRoomLabelController.html +12 -11
- package/docs/classes/Object3DHelperController.html +26 -25
- package/docs/classes/PaintBrush.html +16 -15
- package/docs/classes/PanoMeasurePluginLine.html +24 -23
- package/docs/classes/PanoMeasurePluginModel.html +23 -22
- package/docs/classes/PanoMeasurePluginPoint.html +15 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -26
- package/docs/classes/PanoTagPluginController.html +48 -47
- package/docs/classes/Util.BetterTween.html +9 -8
- package/docs/classes/Util.FivePointSelector.html +13 -12
- package/docs/classes/Util.Interval.html +13 -12
- package/docs/classes/Util.Magnifier.html +18 -17
- package/docs/classes/Util.PointDomHelper.html +12 -11
- package/docs/classes/Util.PointHelper.html +12 -11
- package/docs/classes/Util.Rectangle.html +14 -13
- package/docs/enums/CameraMovementEffect.html +8 -7
- package/docs/enums/ContentType.html +20 -19
- package/docs/enums/DIRECTION.html +10 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/DimensionType.html +8 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/PaintBrushTypeEnum.html +9 -8
- package/docs/enums/Rotation.html +9 -8
- package/docs/functions/CSS3DRenderPlugin.html +5 -4
- package/docs/functions/CameraMovementPlugin.html +5 -4
- package/docs/functions/CruisePlugin.html +5 -4
- package/docs/functions/GuideLinePlugin.html +6 -5
- package/docs/functions/ItemLabelPlugin.html +5 -4
- package/docs/functions/MapviewFloorplanPlugin.html +5 -4
- package/docs/functions/ModelChassisCompassPlugin.html +5 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
- package/docs/functions/ModelFloorplanPlugin.html +5 -4
- package/docs/functions/ModelItemLabelPlugin.html +5 -4
- package/docs/functions/ModelRoomLabelPlugin.html +5 -4
- package/docs/functions/ModelTVVideoPlugin.html +5 -4
- package/docs/functions/ModelViewPlugin.html +5 -4
- package/docs/functions/Object3DHelperPlugin.html +5 -4
- package/docs/functions/PanoCompassPlugin.html +5 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
- package/docs/functions/PanoDoorLabelPlugin.html +5 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
- package/docs/functions/PanoMeasurePlugin.html +5 -4
- package/docs/functions/PanoRulerPlugin.html +5 -4
- package/docs/functions/PanoRulerProPlugin.html +5 -4
- package/docs/functions/PanoSpatialTagPlugin.html +5 -4
- package/docs/functions/PanoTagPlugin.html +5 -4
- package/docs/functions/PanoVideoPlugin.html +5 -4
- package/docs/functions/TopviewFloorplanPlugin.html +5 -4
- package/docs/functions/Util.getCoordsFromClient.html +6 -5
- package/docs/functions/Util.getCoordsFromElement.html +6 -5
- package/docs/functions/Util.getFrameTime.html +6 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
- package/docs/functions/Util.isAbsoluteURL.html +6 -5
- package/docs/functions/Util.isModelLike.html +6 -5
- package/docs/functions/Util.isNil.html +6 -5
- package/docs/functions/Util.isPanoramaLike.html +6 -5
- package/docs/functions/Util.nextFrame.html +6 -5
- package/docs/functions/Util.notNil.html +6 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
- package/docs/functions/Util.tweenProgress.html +6 -5
- package/docs/functions/Util.uuid.html +6 -5
- package/docs/functions/pluginFlag.html +6 -5
- package/docs/index.html +5 -4
- package/docs/interfaces/AddTagConfig.html +7 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +107 -0
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +112 -0
- package/docs/interfaces/CruisePluginTypes.EventMap.html +429 -0
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +120 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +141 -0
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +143 -0
- package/docs/interfaces/CruisePluginTypes.PluginData.html +95 -0
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +83 -0
- package/docs/interfaces/CruisePluginTypes.PluginState.html +148 -0
- package/docs/interfaces/EventMap.html +16 -15
- package/docs/interfaces/FloorplanBounding.html +9 -8
- package/docs/interfaces/FloorplanData.html +11 -10
- package/docs/interfaces/FloorplanEntrance.html +12 -11
- package/docs/interfaces/FloorplanExtraObject.html +11 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
- package/docs/interfaces/FloorplanFloorData.html +10 -9
- package/docs/interfaces/FloorplanImagePosition.html +8 -7
- package/docs/interfaces/FloorplanObserver.html +10 -9
- package/docs/interfaces/FloorplanOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanPosition.html +8 -7
- package/docs/interfaces/FloorplanRoomItem.html +14 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
- package/docs/interfaces/FloorplanServerBounding.html +9 -8
- package/docs/interfaces/FloorplanServerComputedData.html +11 -10
- package/docs/interfaces/FloorplanServerData.html +8 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
- package/docs/interfaces/FloorplanServerEntrance.html +12 -11
- package/docs/interfaces/FloorplanServerFloorData.html +10 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
- package/docs/interfaces/FloorplanServerObserver.html +10 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanServerPosition.html +8 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +15 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -11
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +179 -0
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +211 -0
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +293 -0
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +8 -7
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +7 -6
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +8 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +10 -9
- package/docs/interfaces/GuideLinePluginType.Route.html +11 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -9
- package/docs/interfaces/HelperOffset.html +9 -8
- package/docs/interfaces/ImagePlaneGroup.html +7 -6
- package/docs/interfaces/ItemLabelPluginData.html +7 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
- package/docs/interfaces/MinMax.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
- package/docs/interfaces/ModelViewPluginExportType.html +12 -11
- package/docs/interfaces/Object3DHelperState.html +9 -8
- package/docs/interfaces/ObjectHelperControllers.html +10 -9
- package/docs/interfaces/PaintBrushAction.html +13 -12
- package/docs/interfaces/PaintBrushConfigs.html +13 -12
- package/docs/interfaces/PaintBrushState.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
- package/docs/interfaces/PanoMeasureParameterType.html +15 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
- package/docs/interfaces/PanoRulerProPluginState.html +9 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +11 -10
- package/docs/interfaces/Point.html +9 -8
- package/docs/interfaces/Room.html +10 -9
- package/docs/interfaces/RoomInfo.html +8 -7
- package/docs/interfaces/RoomLabel.html +15 -14
- package/docs/interfaces/RoomRules.html +6 -5
- package/docs/interfaces/Rooms.html +6 -5
- package/docs/interfaces/Scissor.html +10 -9
- package/docs/interfaces/State.html +9 -8
- package/docs/interfaces/TagCacheInterface.html +13 -12
- package/docs/interfaces/TagConfig.html +12 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +7 -6
- package/docs/interfaces/TagIconUrl.html +12 -11
- package/docs/interfaces/TagObjectGroup.html +7 -6
- package/docs/interfaces/TagStyle.html +7 -6
- package/docs/interfaces/Tags.html +10 -9
- package/docs/interfaces/TemporaryState.html +7 -6
- package/docs/interfaces/Util.MagnifierParameter.html +12 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
- package/docs/modules/CruisePluginTypes.html +88 -0
- package/docs/modules/GuideLineItem.html +6 -5
- package/docs/modules/GuideLineModeItem.html +6 -5
- package/docs/modules/GuideLinePluginType.html +14 -5
- package/docs/modules/PanoVideoPluginType.html +6 -5
- package/docs/modules/Util.html +6 -5
- package/docs/modules.html +7 -5
- package/docs/types/ArrayPosition.html +6 -5
- package/docs/types/AudioAppearance.html +6 -5
- package/docs/types/AudioTagTypeConfigKey.html +6 -5
- package/docs/types/CSS3DRenderExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
- package/docs/types/ClassFunctionParameters.html +6 -5
- package/docs/types/Color.html +6 -5
- package/docs/types/ContentTypeConfigKey.html +6 -5
- package/docs/types/ContentTypeConfigKeySplit.html +6 -5
- package/docs/types/ContentTypeMap.html +6 -5
- package/docs/types/Create3DDomContainerReturnType.html +6 -5
- package/docs/types/Create3DElementReturnType.html +6 -5
- package/docs/types/CruisePluginExportType.html +6 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +60 -0
- package/docs/types/CruisePluginTypes.MoveEffect.html +60 -0
- package/docs/types/Direction-1.html +6 -5
- package/docs/types/Direction4.html +6 -5
- package/docs/types/FloorplanRuleLabels.html +6 -5
- package/docs/types/FloorplanServerRuleLabels.html +6 -5
- package/docs/types/GuideLinePluginExportType.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +11 -6
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +105 -0
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +10 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +10 -5
- package/docs/types/GuideLinePluginType.PathItem.html +10 -5
- package/docs/types/GuideLinePluginType.PluginData.html +10 -5
- package/docs/types/HelperEventMap.html +6 -5
- package/docs/types/LoadTagConfig.html +6 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/MediaData.html +6 -5
- package/docs/types/MediaStore.html +6 -5
- package/docs/types/ModelElement.html +6 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
- package/docs/types/MoveArgs.html +6 -5
- package/docs/types/MoveOpts.html +6 -5
- package/docs/types/Object3DHelperEventMap.html +6 -5
- package/docs/types/ObjectFit.html +6 -5
- package/docs/types/PaintBrushEventMap.html +6 -5
- package/docs/types/PanoCompassPluginData.html +6 -5
- package/docs/types/PanoCompassPluginExportType.html +6 -5
- package/docs/types/PanoCompassPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
- package/docs/types/PanoIndex.html +6 -5
- package/docs/types/PanoMeasurePluginEvent.html +6 -5
- package/docs/types/PanoMeasureReturnType.html +6 -5
- package/docs/types/PanoSpatialTagPluginId.html +6 -5
- package/docs/types/PanoTagPluginExportInterface.html +6 -5
- package/docs/types/PanoTagPluginParamsInterface.html +6 -5
- package/docs/types/PanoVideoPluginParameterType.html +6 -5
- package/docs/types/PanoVideoPluginReturnType.html +6 -5
- package/docs/types/PlaneTag.html +6 -5
- package/docs/types/PlaneTagElement.html +6 -5
- package/docs/types/Point2DElement.html +6 -5
- package/docs/types/Point2DTag.html +6 -5
- package/docs/types/Point3DElement.html +6 -5
- package/docs/types/Point3DTag.html +6 -5
- package/docs/types/PointTag.html +6 -5
- package/docs/types/PointTagElement.html +6 -5
- package/docs/types/Position.html +6 -5
- package/docs/types/RotateArgs.html +6 -5
- package/docs/types/RotateOpts.html +6 -5
- package/docs/types/RuleLabelsKey.html +6 -5
- package/docs/types/RuleLabelsValue.html +6 -5
- package/docs/types/StickType.html +6 -5
- package/docs/types/Tag.html +6 -5
- package/docs/types/Tag2D.html +6 -5
- package/docs/types/Tag3D.html +6 -5
- package/docs/types/TagContentType.html +6 -5
- package/docs/types/TagDimensionType.html +6 -5
- package/docs/types/TagElement.html +6 -5
- package/docs/types/TagEvents.html +6 -5
- package/docs/types/TagGLTFObject.html +6 -5
- package/docs/types/TagHooks.html +6 -5
- package/docs/types/TagIconSize.html +6 -5
- package/docs/types/TagId.html +6 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/WorkCode.html +6 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
- package/docs/variables/PLUGIN.html +6 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
- package/docs/variables/ROOM_TYPE_MAP.html +6 -5
- package/docs/variables/itemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
- package/libs/CruisePlugin/Controller.js +221 -118
- package/libs/CruisePlugin/index.d.ts +2 -0
- package/libs/CruisePlugin/index.js +109 -5
- package/libs/CruisePlugin/typing/index.js +6 -0
- package/libs/CruisePlugin/typing.d.ts +32 -40
- package/libs/GuideLinePlugin/Controller.d.ts +2 -0
- package/libs/GuideLinePlugin/Controller.js +198 -85
- package/libs/GuideLinePlugin/GuideLineItem/index.js +109 -22
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +6 -0
- package/libs/GuideLinePlugin/GuideLineItem.js +122 -4
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +72 -49
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +37 -5
- package/libs/GuideLinePlugin/GuideLineModeItem.js +105 -2
- package/libs/GuideLinePlugin/index.js +118 -7
- package/libs/GuideLinePlugin/typing.d.ts +33 -4
- package/libs/GuideLinePlugin/typing.js +34 -1
- package/libs/GuideLinePlugin/utils/index.js +17 -4
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +5 -5
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +39 -37
- package/package.json +1 -1
|
@@ -9,7 +9,10 @@ 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
|
|
12
|
+
import "object-assign-deep";
|
|
13
|
+
import { GuideLineModeItem as li } from "./GuideLineModeItem/index.js";
|
|
14
|
+
import "../PanoTagPlugin/controller/index.js";
|
|
15
|
+
import "@realsee/five/gltf-loader";
|
|
13
16
|
import "polyline-normals";
|
|
14
17
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
15
18
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -24,6 +27,106 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
24
27
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
25
28
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
26
29
|
import "../shared-utils/animationFrame/index.js";
|
|
30
|
+
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
31
|
+
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
32
|
+
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
33
|
+
import "../PanoTagPlugin/utils/debounce.js";
|
|
34
|
+
import "../PanoTagPlugin/utils/throttle.js";
|
|
35
|
+
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
36
|
+
import "../PanoTagPlugin/utils/tag/format.js";
|
|
37
|
+
import "../shared-utils/audio.js";
|
|
38
|
+
import "../PanoTagPlugin/controller/TagRender.js";
|
|
39
|
+
import "../PanoTagPlugin/controller/TagComputer.js";
|
|
40
|
+
import "../PanoTagPlugin/utils/tagPosition.js";
|
|
41
|
+
import "../PanoTagPlugin/utils/checkRange.js";
|
|
42
|
+
import "../shared-utils/isNil.js";
|
|
43
|
+
import "../PanoTagPlugin/controller/TagUtil.js";
|
|
44
|
+
import "../PanoTagPlugin/tag.config.js";
|
|
45
|
+
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
46
|
+
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
47
|
+
import "../PanoTagPlugin/controller/TagCache.js";
|
|
48
|
+
import "../base/BasePlugin.js";
|
|
49
|
+
import "../shared-utils/isAbsoluteURL.js";
|
|
50
|
+
import "../vendor/svelte/store/index.js";
|
|
51
|
+
import "../vendor/svelte/internal/index.js";
|
|
52
|
+
import "../PanoTagPlugin/utils/device.js";
|
|
53
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
54
|
+
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
55
|
+
import "../PanoTagPlugin/Components/TagItem.js";
|
|
56
|
+
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
57
|
+
import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
|
|
58
|
+
import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
|
|
59
|
+
import "../PanoTagPlugin/Components/Common/Line/Straight.js";
|
|
60
|
+
import "../vendor/svelte/transition/index.js";
|
|
61
|
+
import "../vendor/svelte/easing/index.js";
|
|
62
|
+
import "../shared-utils/uuid.js";
|
|
63
|
+
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
64
|
+
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
65
|
+
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
66
|
+
import "animejs";
|
|
67
|
+
import "../PanoTagPlugin/utils/search.js";
|
|
68
|
+
import "../PanoTagPlugin/utils/constants.js";
|
|
69
|
+
import "../PanoTagPlugin/Components/Common/Arrow.js";
|
|
70
|
+
import "../PanoTagPlugin/Assets/Icon.js";
|
|
71
|
+
import "../PanoTagPlugin/utils/doUtil.js";
|
|
72
|
+
import "../shared-utils/svelte/resizeObserver.js";
|
|
73
|
+
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
74
|
+
import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
|
|
75
|
+
import "../PanoTagPlugin/Components/Common/Text/MText.js";
|
|
76
|
+
import "../PanoTagPlugin/utils/px2rem.js";
|
|
77
|
+
import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
|
|
78
|
+
import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
|
|
79
|
+
import "../PanoTagPlugin/Components/Common/Media.js";
|
|
80
|
+
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
81
|
+
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
82
|
+
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
83
|
+
import "../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
|
|
84
|
+
import "../vendor/svelte-carousel/src/direction.js";
|
|
85
|
+
import "../vendor/svelte-carousel/src/components/Progress/Progress.js";
|
|
86
|
+
import "../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
|
|
87
|
+
import "../vendor/svelte-carousel/src/actions/swipeable/event.js";
|
|
88
|
+
import "../vendor/svelte-carousel/src/utils/event.js";
|
|
89
|
+
import "../vendor/svelte-carousel/src/units.js";
|
|
90
|
+
import "../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
|
|
91
|
+
import "../vendor/svelte-carousel/src/actions/hoverable/event.js";
|
|
92
|
+
import "../vendor/svelte-carousel/src/actions/tappable/tappable.js";
|
|
93
|
+
import "../vendor/svelte-carousel/src/utils/math.js";
|
|
94
|
+
import "../vendor/svelte-carousel/src/actions/tappable/event.js";
|
|
95
|
+
import "../vendor/svelte-carousel/src/utils/page.js";
|
|
96
|
+
import "../vendor/svelte-carousel/src/utils/clones.js";
|
|
97
|
+
import "../vendor/svelte-carousel/src/utils/object.js";
|
|
98
|
+
import "../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
99
|
+
import "../vendor/simply-reactive/src/simply-reactive.js";
|
|
100
|
+
import "lodash.get";
|
|
101
|
+
import "lodash.clonedeep";
|
|
102
|
+
import "../vendor/simply-reactive/src/utils/subscription.js";
|
|
103
|
+
import "../vendor/simply-reactive/src/utils/object.js";
|
|
104
|
+
import "lodash.isequal";
|
|
105
|
+
import "../vendor/simply-reactive/src/utils/watcher.js";
|
|
106
|
+
import "../vendor/svelte-carousel/src/utils/lazy.js";
|
|
107
|
+
import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
108
|
+
import "../vendor/svelte-carousel/src/utils/interval.js";
|
|
109
|
+
import "../PanoTagPlugin/Components/Common/MediaItem.js";
|
|
110
|
+
import "../PanoTagPlugin/Components/Tag/MarketingTag.js";
|
|
111
|
+
import "../PanoTagPlugin/utils/noTypecheck.js";
|
|
112
|
+
import "../PanoTagPlugin/Components/Tag/AudioTag/index.js";
|
|
113
|
+
import "../PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js";
|
|
114
|
+
import "../PanoTagPlugin/Components/Common/Audio.js";
|
|
115
|
+
import "../PanoTagPlugin/utils/audio/SharedAudio.js";
|
|
116
|
+
import "../PanoTagPlugin/Components/Common/Icon/audioIcon.js";
|
|
117
|
+
import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
118
|
+
import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
119
|
+
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
120
|
+
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
121
|
+
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
122
|
+
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
123
|
+
import "classnames";
|
|
124
|
+
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
125
|
+
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
126
|
+
import "../CSS3DRenderPlugin/index.js";
|
|
127
|
+
import "../CSS3DRenderPlugin/Controller.js";
|
|
128
|
+
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
129
|
+
import "../shared-utils/three/GLTFLoader.js";
|
|
27
130
|
export {
|
|
28
|
-
|
|
131
|
+
li as GuideLineModeItem
|
|
29
132
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import t from "./Controller.js";
|
|
2
|
-
import { GuideLineItem$1 as
|
|
3
|
-
import { GuideLineModeItem$1 as
|
|
2
|
+
import { GuideLineItem$1 as Qo } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as So } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -30,13 +30,124 @@ import "polyline-normals";
|
|
|
30
30
|
import "../shared-utils/uuid.js";
|
|
31
31
|
import "../shared-utils/three/loadTexture.js";
|
|
32
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
|
+
import "../CruisePlugin/Controller.js";
|
|
46
|
+
import "./index.js";
|
|
47
|
+
import "../CruisePlugin/utils/coordinatesAngle.js";
|
|
48
|
+
import "../CruisePlugin/utils/coordinatesToVector.js";
|
|
49
|
+
import "../CruisePlugin/utils/safeCall.js";
|
|
50
|
+
import "../CruisePlugin/utils/vectorToCoordinates.js";
|
|
51
|
+
import "../CruisePlugin/utils/formatRad.js";
|
|
52
|
+
import "../CruisePlugin/utils/linerValue.js";
|
|
53
|
+
import "../CruisePlugin/utils/sleep.js";
|
|
33
54
|
import "../shared-utils/log.js";
|
|
34
55
|
import "./utils/createLineGeometry.js";
|
|
35
56
|
import "../shared-utils/five/mode.js";
|
|
36
|
-
|
|
57
|
+
import "../PanoTagPlugin/controller/index.js";
|
|
58
|
+
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
59
|
+
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
60
|
+
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
61
|
+
import "../PanoTagPlugin/utils/debounce.js";
|
|
62
|
+
import "../PanoTagPlugin/utils/throttle.js";
|
|
63
|
+
import "../PanoTagPlugin/utils/resizeObserver.js";
|
|
64
|
+
import "../PanoTagPlugin/utils/tag/format.js";
|
|
65
|
+
import "../shared-utils/audio.js";
|
|
66
|
+
import "../PanoTagPlugin/controller/TagRender.js";
|
|
67
|
+
import "../PanoTagPlugin/controller/TagComputer.js";
|
|
68
|
+
import "../PanoTagPlugin/utils/tagPosition.js";
|
|
69
|
+
import "../PanoTagPlugin/utils/checkRange.js";
|
|
70
|
+
import "../shared-utils/isNil.js";
|
|
71
|
+
import "../PanoTagPlugin/controller/TagUtil.js";
|
|
72
|
+
import "../PanoTagPlugin/tag.config.js";
|
|
73
|
+
import "../PanoTagPlugin/utils/planeNormal.js";
|
|
74
|
+
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
75
|
+
import "../PanoTagPlugin/controller/TagCache.js";
|
|
76
|
+
import "../vendor/svelte/store/index.js";
|
|
77
|
+
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
78
|
+
import "../PanoTagPlugin/Components/TagItem.js";
|
|
79
|
+
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
80
|
+
import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
|
|
81
|
+
import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
|
|
82
|
+
import "../PanoTagPlugin/Components/Common/Line/Straight.js";
|
|
83
|
+
import "../vendor/svelte/transition/index.js";
|
|
84
|
+
import "../vendor/svelte/easing/index.js";
|
|
85
|
+
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
86
|
+
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
87
|
+
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
88
|
+
import "../PanoTagPlugin/utils/search.js";
|
|
89
|
+
import "../PanoTagPlugin/Components/Common/Arrow.js";
|
|
90
|
+
import "../PanoTagPlugin/Assets/Icon.js";
|
|
91
|
+
import "../PanoTagPlugin/utils/doUtil.js";
|
|
92
|
+
import "../shared-utils/svelte/resizeObserver.js";
|
|
93
|
+
import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
|
|
94
|
+
import "../PanoTagPlugin/Components/Common/Text/MText.js";
|
|
95
|
+
import "../PanoTagPlugin/utils/px2rem.js";
|
|
96
|
+
import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
|
|
97
|
+
import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
|
|
98
|
+
import "../PanoTagPlugin/Components/Common/Media.js";
|
|
99
|
+
import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
|
|
100
|
+
import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
|
|
101
|
+
import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
|
|
102
|
+
import "../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
|
|
103
|
+
import "../vendor/svelte-carousel/src/direction.js";
|
|
104
|
+
import "../vendor/svelte-carousel/src/components/Progress/Progress.js";
|
|
105
|
+
import "../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
|
|
106
|
+
import "../vendor/svelte-carousel/src/actions/swipeable/event.js";
|
|
107
|
+
import "../vendor/svelte-carousel/src/utils/event.js";
|
|
108
|
+
import "../vendor/svelte-carousel/src/units.js";
|
|
109
|
+
import "../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
|
|
110
|
+
import "../vendor/svelte-carousel/src/actions/hoverable/event.js";
|
|
111
|
+
import "../vendor/svelte-carousel/src/actions/tappable/tappable.js";
|
|
112
|
+
import "../vendor/svelte-carousel/src/utils/math.js";
|
|
113
|
+
import "../vendor/svelte-carousel/src/actions/tappable/event.js";
|
|
114
|
+
import "../vendor/svelte-carousel/src/utils/page.js";
|
|
115
|
+
import "../vendor/svelte-carousel/src/utils/clones.js";
|
|
116
|
+
import "../vendor/svelte-carousel/src/utils/object.js";
|
|
117
|
+
import "../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
118
|
+
import "../vendor/simply-reactive/src/simply-reactive.js";
|
|
119
|
+
import "../vendor/simply-reactive/src/utils/subscription.js";
|
|
120
|
+
import "../vendor/simply-reactive/src/utils/object.js";
|
|
121
|
+
import "../vendor/simply-reactive/src/utils/watcher.js";
|
|
122
|
+
import "../vendor/svelte-carousel/src/utils/lazy.js";
|
|
123
|
+
import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
124
|
+
import "../vendor/svelte-carousel/src/utils/interval.js";
|
|
125
|
+
import "../PanoTagPlugin/Components/Common/MediaItem.js";
|
|
126
|
+
import "../PanoTagPlugin/Components/Tag/MarketingTag.js";
|
|
127
|
+
import "../PanoTagPlugin/utils/noTypecheck.js";
|
|
128
|
+
import "../PanoTagPlugin/Components/Tag/AudioTag/index.js";
|
|
129
|
+
import "../PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js";
|
|
130
|
+
import "../PanoTagPlugin/Components/Common/Audio.js";
|
|
131
|
+
import "../PanoTagPlugin/utils/audio/SharedAudio.js";
|
|
132
|
+
import "../PanoTagPlugin/Components/Common/Icon/audioIcon.js";
|
|
133
|
+
import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
134
|
+
import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
|
|
135
|
+
import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
136
|
+
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
137
|
+
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
138
|
+
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
139
|
+
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
140
|
+
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
141
|
+
import "../CSS3DRenderPlugin/index.js";
|
|
142
|
+
import "../CSS3DRenderPlugin/Controller.js";
|
|
143
|
+
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
144
|
+
import "../shared-utils/to.js";
|
|
145
|
+
import "../shared-utils/five/changeMode.js";
|
|
146
|
+
import "../shared-utils/nearlyEqual.js";
|
|
147
|
+
const Ko = (i, o) => new t(i, o);
|
|
37
148
|
export {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
149
|
+
Qo as GuideLineItem,
|
|
150
|
+
So as GuideLineModeItem,
|
|
151
|
+
Ko as GuideLinePlugin,
|
|
152
|
+
Ko as default
|
|
42
153
|
};
|
|
@@ -1,6 +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
5
|
export interface RouteConfig {
|
|
5
6
|
arrowTextureUrl?: string;
|
|
6
7
|
skipPanoIndexMesh?: boolean;
|
|
@@ -40,6 +41,14 @@ export interface EventMap extends BasePluginWithData.EventMap<PluginState, Plugi
|
|
|
40
41
|
userAction: boolean;
|
|
41
42
|
}) => void;
|
|
42
43
|
}
|
|
44
|
+
export declare type GuideLineItemEventMap = {
|
|
45
|
+
walkStart: (options: {
|
|
46
|
+
userAction: boolean;
|
|
47
|
+
}) => void;
|
|
48
|
+
walkEnded: (options: {
|
|
49
|
+
userAction: boolean;
|
|
50
|
+
}) => void;
|
|
51
|
+
};
|
|
43
52
|
export declare type GuideLinePluginExportType = ReturnType<typeof GuideLinePlugin>;
|
|
44
53
|
export interface LineGeometriesConfig {
|
|
45
54
|
/** 是否越过点位圆环。可以开启此选项来使越过点位,使其不会重叠显示 */
|
|
@@ -66,10 +75,22 @@ export declare type GuideLineItem = RequireAtLeastOne<{
|
|
|
66
75
|
/** 路径:由多个曲线组合而成的路径,路径为空时,会使用 pano_group 自动创建 */
|
|
67
76
|
path?: PathItem[];
|
|
68
77
|
/** 全景态使用的数据 */
|
|
69
|
-
panorama_style?:
|
|
78
|
+
panorama_style?: PanoramaGuideLineStyle;
|
|
70
79
|
/** 模型态使用的数据 */
|
|
71
|
-
model_style?:
|
|
80
|
+
model_style?: ModelGuideLineStyle;
|
|
72
81
|
}, 'id' | 'render_id'>;
|
|
82
|
+
/** 全景路径样式 */
|
|
83
|
+
export interface PanoramaGuideLineStyle extends GuideLineStyle {
|
|
84
|
+
start_tag?: Tag;
|
|
85
|
+
end_tag?: Tag;
|
|
86
|
+
}
|
|
87
|
+
/** 模型路径样式 */
|
|
88
|
+
export interface ModelGuideLineStyle extends GuideLineStyle {
|
|
89
|
+
start_tag?: ModelGuideLineTag;
|
|
90
|
+
end_tag?: ModelGuideLineTag;
|
|
91
|
+
}
|
|
92
|
+
/** 不同模态下的路线数据 */
|
|
93
|
+
export declare type GuideLineStyle = GuideLineGeometryStyle & GuideLineMaterialStyle;
|
|
73
94
|
/** 影响形状的样式 */
|
|
74
95
|
export interface GuideLineGeometryStyle {
|
|
75
96
|
/** scale 之前的路线宽度,默认值是 0.5 */
|
|
@@ -97,10 +118,18 @@ export interface GuideLineMaterialStyle {
|
|
|
97
118
|
url: string;
|
|
98
119
|
};
|
|
99
120
|
}
|
|
100
|
-
/**
|
|
101
|
-
export
|
|
121
|
+
/** 模型路线引导标签 */
|
|
122
|
+
export interface ModelGuideLineTag extends Tag<'Custom', '2DPoint'> {
|
|
123
|
+
position: number[];
|
|
124
|
+
data: {
|
|
125
|
+
text: string;
|
|
126
|
+
icon_url: string;
|
|
127
|
+
text_background_url: string;
|
|
128
|
+
};
|
|
129
|
+
}
|
|
102
130
|
/** 目前只支持 CatmullRomCurve3 */
|
|
103
131
|
export declare type PathItem = CatmullRomCurve3;
|
|
132
|
+
/** @link https://threejs.org/docs/index.html?q=cu#api/zh/extras/curves/CatmullRomCurve3 */
|
|
104
133
|
export interface CatmullRomCurve3 {
|
|
105
134
|
type: 'CatmullRomCurve3';
|
|
106
135
|
points: number[][];
|
|
@@ -1 +1,34 @@
|
|
|
1
|
-
|
|
1
|
+
import "@realsee/five";
|
|
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";
|
|
@@ -7,6 +7,19 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
|
7
7
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
8
8
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
9
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";
|
|
10
23
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
11
24
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
12
25
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -20,13 +33,13 @@ import "../../shared-utils/three/centerPoint.js";
|
|
|
20
33
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
21
34
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
22
35
|
import "../../shared-utils/animationFrame/index.js";
|
|
23
|
-
function
|
|
36
|
+
function O(o) {
|
|
24
37
|
const t = o.data, m = o.item, r = o.mode === "panorama" ? t.panorama_style : t.model_style;
|
|
25
38
|
if (!r)
|
|
26
39
|
return;
|
|
27
|
-
const
|
|
28
|
-
t.path ? m.setGeometryByPath(
|
|
40
|
+
const i = t.path, p = r, e = r;
|
|
41
|
+
t.path ? m.setGeometryByPath(i, p) : t.pano_group && m.setGeometryByPanoGroup(t.pano_group, p), m.setMartial(e);
|
|
29
42
|
}
|
|
30
43
|
export {
|
|
31
|
-
|
|
44
|
+
O as updateGuideLineModeItemByData
|
|
32
45
|
};
|
|
@@ -31,7 +31,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
31
31
|
* @description: 获取merge后的配置
|
|
32
32
|
* TODO: 缓存
|
|
33
33
|
*/
|
|
34
|
-
getTagConfig(tag: Tag<any, any>): TagConfig<"
|
|
34
|
+
getTagConfig(tag: Tag<any, any>): TagConfig<"Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown", StickType>;
|
|
35
35
|
protected loadVideoFirstFrame(): void;
|
|
36
36
|
protected updateTagConfig(params?: {
|
|
37
37
|
force?: boolean;
|
|
@@ -50,12 +50,12 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
50
50
|
protected preventWhenMouseDown: () => false | void;
|
|
51
51
|
protected addObjectClickHandler(tag: TagElement, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
|
|
52
52
|
protected getTagNormal(tag: TagElement<any, 'Plane'> | TagElement<any, 'Model'> | TagElement<any, '3DPoint'>): THREE.Vector3;
|
|
53
|
-
protected get filterPointTag(): PointTagElement<"
|
|
54
|
-
protected get filter2DPointTag(): Point2DElement<"
|
|
55
|
-
protected get filter3DPointTag(): Point3DElement<"
|
|
53
|
+
protected get filterPointTag(): PointTagElement<"Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
|
|
54
|
+
protected get filter2DPointTag(): Point2DElement<"Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
|
|
55
|
+
protected get filter3DPointTag(): Point3DElement<"Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
|
|
56
56
|
protected get filterImagePlane(): PlaneTagElement<"MediaPlane">[];
|
|
57
57
|
protected get filterMediaModel(): ModelElement<"MediaModel">[];
|
|
58
|
-
protected get filterModelTag(): ModelElement<"
|
|
58
|
+
protected get filterModelTag(): ModelElement<"Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
|
|
59
59
|
protected get filterCSS3DTag(): (TagElement<any, "Plane"> | TagElement<any, "Model"> | TagElement<any, "3DPoint">)[];
|
|
60
60
|
/**
|
|
61
61
|
* @description 检查是否已经销毁
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -12,7 +12,7 @@ import { isAbsoluteURL as a } from "../shared-utils/isAbsoluteURL.js";
|
|
|
12
12
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
13
13
|
class R {
|
|
14
14
|
constructor(t, r) {
|
|
15
|
-
s(this, "VERSION", "2.16.0-
|
|
15
|
+
s(this, "VERSION", "2.16.0-6");
|
|
16
16
|
s(this, "five");
|
|
17
17
|
s(this, "hooks", new m());
|
|
18
18
|
s(this, "staticPrefix", "//vrlab-static.ljcdn.com");
|
package/libs/index.js
CHANGED
|
@@ -14,13 +14,13 @@ import { ModelChassisCompassPlugin as up } from "./ModelChassisCompassPlugin/Plu
|
|
|
14
14
|
import { ModelEntryDoorGuidePlugin as xp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
15
15
|
import { CameraMovementPlugin as sp } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
16
16
|
import { CameraMovementEffect as Mp, Rotation as Tp } from "./CameraMovementPlugin/typing.js";
|
|
17
|
-
import { PanoRulerPlugin as
|
|
17
|
+
import { PanoRulerPlugin as Cp } from "./PanoRulerPlugin/Plugin.js";
|
|
18
18
|
import { PanoRulerProPlugin as Ep } from "./PanoRulerProPlugin/index.js";
|
|
19
19
|
import { PanoCompassPlugin as Ip } from "./PanoCompassPlugin/index.js";
|
|
20
20
|
import { PanoMeasurePlugin as Op } from "./PanoMeasurePlugin/index.js";
|
|
21
21
|
import { PanoSpatialTagPlugin as cp } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
22
|
-
import { modelItemLabelPluginServerParams as
|
|
23
|
-
import { ModelTVVideoPlugin as
|
|
22
|
+
import { modelItemLabelPluginServerParams as Ap } from "./ModelItemLabelPlugin/index.js";
|
|
23
|
+
import { ModelTVVideoPlugin as Gp } from "./ModelTVVideoPlugin/Plugin.js";
|
|
24
24
|
import { DIRECTION as vp } from "./ModelTVVideoPlugin/typings.js";
|
|
25
25
|
import { itemLabelPluginServerParams as Vp } from "./ItemLabelPlugin/index.js";
|
|
26
26
|
import { PanoDoorLabelPlugin as hp } from "./PanoDoorLabelPlugin/index.js";
|
|
@@ -41,13 +41,14 @@ import { ModelItemLabelPlugin as fe } from "./ModelItemLabelPlugin/ModelItemLabe
|
|
|
41
41
|
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as ge } from "./ItemLabelPlugin/typings.js";
|
|
42
42
|
import { Plugin as de } from "./ItemLabelPlugin/Plugin.js";
|
|
43
43
|
import { GuideLineItem$1 as Te } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
44
|
-
import { GuideLineModeItem$1 as
|
|
44
|
+
import { GuideLineModeItem$1 as Ce } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
45
45
|
import { default as Ee } from "./CruisePlugin/Controller.js";
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
46
|
+
import { typing as Ie } from "./CruisePlugin/typing/index.js";
|
|
47
|
+
import { default as Oe, pluginFlag as Se } from "./PanoTagPlugin/controller/index.js";
|
|
48
|
+
import { ContentType as ye } from "./PanoTagPlugin/typings/tag/TagData.js";
|
|
49
|
+
import { DimensionType as De } from "./PanoTagPlugin/typings/tag/Utils.js";
|
|
50
|
+
import { Object3DHelperController as Ye, PLUGIN as ve } from "./Object3DHelperPlugin/Controller.js";
|
|
51
|
+
import { typings as Ve } from "./PanoVideoPlugin/typings/index.js";
|
|
51
52
|
import "./components/PaintBrush/Controller.js";
|
|
52
53
|
import "./components/PaintBrush/utils.js";
|
|
53
54
|
import "./components/PaintBrush/tween.js";
|
|
@@ -214,18 +215,19 @@ import "./PanoDoorLabelPlugin/utils.js";
|
|
|
214
215
|
import "./GuideLinePlugin/Controller.js";
|
|
215
216
|
import "polyline-normals";
|
|
216
217
|
import "object-assign-deep";
|
|
218
|
+
import "@realsee/five/gltf-loader";
|
|
219
|
+
import "./PanoTagPlugin/utils/device.js";
|
|
220
|
+
import "./shared-utils/threex/domevents/index.js";
|
|
221
|
+
import "animejs";
|
|
222
|
+
import "./PanoTagPlugin/utils/constants.js";
|
|
223
|
+
import "lodash.get";
|
|
224
|
+
import "lodash.clonedeep";
|
|
225
|
+
import "lodash.isequal";
|
|
226
|
+
import "./shared-utils/three/GLTFLoader.js";
|
|
217
227
|
import "./shared-utils/log.js";
|
|
218
228
|
import "./GuideLinePlugin/utils/createLineGeometry.js";
|
|
219
229
|
import "./shared-utils/five/mode.js";
|
|
220
|
-
import "./CruisePlugin/utils/coordinatesAngle.js";
|
|
221
|
-
import "./CruisePlugin/utils/coordinatesToVector.js";
|
|
222
|
-
import "./CruisePlugin/utils/safeCall.js";
|
|
223
|
-
import "./CruisePlugin/utils/vectorToCoordinates.js";
|
|
224
|
-
import "./CruisePlugin/utils/formatRad.js";
|
|
225
|
-
import "./CruisePlugin/utils/linerValue.js";
|
|
226
|
-
import "./CruisePlugin/utils/sleep.js";
|
|
227
230
|
import "./PanoTagPlugin/utils/addDebugPoints.js";
|
|
228
|
-
import "@realsee/five/gltf-loader";
|
|
229
231
|
import "./PanoTagPlugin/utils/tag/tagCheck.js";
|
|
230
232
|
import "./PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
231
233
|
import "./PanoTagPlugin/utils/debounce.js";
|
|
@@ -243,8 +245,6 @@ import "./PanoTagPlugin/tag.config.js";
|
|
|
243
245
|
import "./PanoTagPlugin/utils/planeNormal.js";
|
|
244
246
|
import "./PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
245
247
|
import "./PanoTagPlugin/controller/TagCache.js";
|
|
246
|
-
import "./PanoTagPlugin/utils/device.js";
|
|
247
|
-
import "./shared-utils/threex/domevents/index.js";
|
|
248
248
|
import "./PanoTagPlugin/Components/TagContainer.js";
|
|
249
249
|
import "./PanoTagPlugin/Components/TagItem.js";
|
|
250
250
|
import "./PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -254,9 +254,7 @@ import "./PanoTagPlugin/Components/Common/Line/Straight.js";
|
|
|
254
254
|
import "./PanoTagPlugin/Components/Common/Shadow.js";
|
|
255
255
|
import "./PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
256
256
|
import "./PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
257
|
-
import "animejs";
|
|
258
257
|
import "./PanoTagPlugin/utils/search.js";
|
|
259
|
-
import "./PanoTagPlugin/utils/constants.js";
|
|
260
258
|
import "./PanoTagPlugin/Components/Common/Arrow.js";
|
|
261
259
|
import "./PanoTagPlugin/Assets/Icon.js";
|
|
262
260
|
import "./PanoTagPlugin/utils/doUtil.js";
|
|
@@ -286,11 +284,8 @@ import "./vendor/svelte-carousel/src/utils/clones.js";
|
|
|
286
284
|
import "./vendor/svelte-carousel/src/utils/object.js";
|
|
287
285
|
import "./vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
288
286
|
import "./vendor/simply-reactive/src/simply-reactive.js";
|
|
289
|
-
import "lodash.get";
|
|
290
|
-
import "lodash.clonedeep";
|
|
291
287
|
import "./vendor/simply-reactive/src/utils/subscription.js";
|
|
292
288
|
import "./vendor/simply-reactive/src/utils/object.js";
|
|
293
|
-
import "lodash.isequal";
|
|
294
289
|
import "./vendor/simply-reactive/src/utils/watcher.js";
|
|
295
290
|
import "./vendor/svelte-carousel/src/utils/lazy.js";
|
|
296
291
|
import "./vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
@@ -311,7 +306,13 @@ import "./PanoTagPlugin/utils/getImageInfo.js";
|
|
|
311
306
|
import "./PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
312
307
|
import "./PanoTagPlugin/Components/Common/TagPoint.js";
|
|
313
308
|
import "./PanoTagPlugin/utils/model/imagePlane.js";
|
|
314
|
-
import "./
|
|
309
|
+
import "./CruisePlugin/utils/coordinatesAngle.js";
|
|
310
|
+
import "./CruisePlugin/utils/coordinatesToVector.js";
|
|
311
|
+
import "./CruisePlugin/utils/safeCall.js";
|
|
312
|
+
import "./CruisePlugin/utils/vectorToCoordinates.js";
|
|
313
|
+
import "./CruisePlugin/utils/formatRad.js";
|
|
314
|
+
import "./CruisePlugin/utils/linerValue.js";
|
|
315
|
+
import "./CruisePlugin/utils/sleep.js";
|
|
315
316
|
import "./shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
316
317
|
import "./shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
317
318
|
import "./shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
@@ -353,22 +354,23 @@ import "./shared-utils/three/PointHelper.js";
|
|
|
353
354
|
import "./shared-utils/three/Assets/index.js";
|
|
354
355
|
import "./shared-utils/three/PointDomHelper.js";
|
|
355
356
|
import "./shared-utils/three/FivePointSelector.js";
|
|
356
|
-
console.info("@realsee/dnalogel %cv2.16.0-
|
|
357
|
+
console.info("@realsee/dnalogel %cv2.16.0-6", "background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px");
|
|
357
358
|
export {
|
|
358
359
|
Xp as CSS3DRender,
|
|
359
360
|
jm as CSS3DRenderPlugin,
|
|
360
361
|
Mp as CameraMovementEffect,
|
|
361
362
|
sp as CameraMovementPlugin,
|
|
362
|
-
|
|
363
|
+
ye as ContentType,
|
|
363
364
|
Up as CruisePlugin,
|
|
364
365
|
Ee as CruisePluginController,
|
|
366
|
+
Ie as CruisePluginTypes,
|
|
365
367
|
vp as DIRECTION,
|
|
366
368
|
Pe as DISPLAY_STRATEGY_TYPE,
|
|
367
|
-
|
|
369
|
+
De as DimensionType,
|
|
368
370
|
Wm as FLOOR_PLAN_ATTACHED_TO,
|
|
369
371
|
lp as FLOOR_TYPE_MAP,
|
|
370
372
|
Te as GuideLineItem,
|
|
371
|
-
|
|
373
|
+
Ce as GuideLineModeItem,
|
|
372
374
|
Bp as GuideLinePlugin,
|
|
373
375
|
ge as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
374
376
|
de as ItemLabelPlugin,
|
|
@@ -379,11 +381,11 @@ export {
|
|
|
379
381
|
Zm as ModelFloorplanPlugin,
|
|
380
382
|
fe as ModelItemLabelPlugin,
|
|
381
383
|
Jm as ModelRoomLabelPlugin,
|
|
382
|
-
|
|
384
|
+
Gp as ModelTVVideoPlugin,
|
|
383
385
|
Um as ModelViewPlugin,
|
|
384
|
-
|
|
386
|
+
Ye as Object3DHelperController,
|
|
385
387
|
qp as Object3DHelperPlugin,
|
|
386
|
-
|
|
388
|
+
ve as PLUGIN,
|
|
387
389
|
hm as PaintBrush,
|
|
388
390
|
Bm as PaintBrushTypeEnum,
|
|
389
391
|
Ip as PanoCompassPlugin,
|
|
@@ -395,20 +397,20 @@ export {
|
|
|
395
397
|
oe as PanoMeasurePluginModel,
|
|
396
398
|
te as PanoMeasurePluginPoint,
|
|
397
399
|
ee as PanoMeasurePluginPolyline,
|
|
398
|
-
|
|
400
|
+
Cp as PanoRulerPlugin,
|
|
399
401
|
Ep as PanoRulerProPlugin,
|
|
400
402
|
cp as PanoSpatialTagPlugin,
|
|
401
403
|
jp as PanoTagPlugin,
|
|
402
|
-
|
|
404
|
+
Oe as PanoTagPluginController,
|
|
403
405
|
Jp as PanoVideoPlugin,
|
|
404
|
-
|
|
406
|
+
Ve as PanoVideoPluginType,
|
|
405
407
|
np as ROOM_FETILE_TYPE_MAP,
|
|
406
408
|
ap as ROOM_TYPE_MAP,
|
|
407
409
|
Tp as Rotation,
|
|
408
410
|
ip as TopviewFloorplanPlugin,
|
|
409
411
|
Qp as Util,
|
|
410
412
|
Vp as itemLabelPluginServerParams,
|
|
411
|
-
|
|
413
|
+
Ap as modelItemLabelPluginServerParams,
|
|
412
414
|
Km as modelRoomLabelPluginServerParams,
|
|
413
|
-
|
|
415
|
+
Se as pluginFlag
|
|
414
416
|
};
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.16.0-
|
|
10
|
+
"version": "2.16.0-6",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|