@realsee/dnalogel 2.16.0-7 → 2.16.0-9
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/GuideLinePlugin/GuideLineModeItem.d.ts +1 -1
- package/dist/GuideLinePlugin/typing.d.ts +0 -1
- package/dist/GuideLinePlugin/utils/index.d.ts +6 -0
- package/dist/index.cjs.js +45 -45
- package/dist/index.js +1808 -1807
- package/dist/index.umd.js +28 -28
- package/dist/shared-utils/five/changeMode.d.ts +2 -4
- 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 +28 -28
- 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 +8 -8
- 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 +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- 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 +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +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 +21 -23
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -9
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -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 -5
- 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 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
- package/docs/types/GuideLinePluginType.PathItem.html +5 -5
- package/docs/types/GuideLinePluginType.PluginData.html +5 -5
- 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/CruisePlugin/Controller.js +15 -14
- package/libs/CruisePlugin/index.js +20 -19
- package/libs/GuideLinePlugin/Components/Tag.js +23 -34
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +15 -14
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +25 -23
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +14 -13
- package/libs/GuideLinePlugin/index.js +8 -7
- package/libs/GuideLinePlugin/typing.d.ts +0 -1
- package/libs/GuideLinePlugin/utils/index.d.ts +6 -0
- package/libs/GuideLinePlugin/utils/index.js +8 -4
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/index.js +110 -109
- package/libs/shared-utils/five/changeMode.d.ts +2 -4
- package/libs/shared-utils/five/changeMode.js +36 -27
- package/package.json +1 -1
|
@@ -67,9 +67,21 @@ import "../GuideLinePlugin/utils/createLineGeometry.js";
|
|
|
67
67
|
import "polyline-normals";
|
|
68
68
|
import "../shared-utils/five/mode.js";
|
|
69
69
|
import "../shared-utils/three/loadTexture.js";
|
|
70
|
+
import "../GuideLinePlugin/utils/index.js";
|
|
71
|
+
import "@realsee/five/gltf-loader";
|
|
72
|
+
import "../vendor/svelte/internal/index.js";
|
|
73
|
+
import "../PanoTagPlugin/utils/device.js";
|
|
74
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
75
|
+
import "animejs";
|
|
76
|
+
import "../PanoTagPlugin/utils/constants.js";
|
|
77
|
+
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
78
|
+
import "lodash.get";
|
|
79
|
+
import "lodash.clonedeep";
|
|
80
|
+
import "lodash.isequal";
|
|
81
|
+
import "classnames";
|
|
82
|
+
import "../shared-utils/three/GLTFLoader.js";
|
|
70
83
|
import "../PanoTagPlugin/controller/index.js";
|
|
71
84
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
72
|
-
import "@realsee/five/gltf-loader";
|
|
73
85
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
74
86
|
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
75
87
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
@@ -88,9 +100,6 @@ import "../PanoTagPlugin/utils/planeNormal.js";
|
|
|
88
100
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
89
101
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
90
102
|
import "../vendor/svelte/store/index.js";
|
|
91
|
-
import "../vendor/svelte/internal/index.js";
|
|
92
|
-
import "../PanoTagPlugin/utils/device.js";
|
|
93
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
94
103
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
95
104
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
96
105
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -102,14 +111,11 @@ import "../vendor/svelte/easing/index.js";
|
|
|
102
111
|
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
103
112
|
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
104
113
|
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
105
|
-
import "animejs";
|
|
106
114
|
import "../PanoTagPlugin/utils/search.js";
|
|
107
|
-
import "../PanoTagPlugin/utils/constants.js";
|
|
108
115
|
import "../PanoTagPlugin/Components/Common/Arrow.js";
|
|
109
116
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
110
117
|
import "../PanoTagPlugin/utils/doUtil.js";
|
|
111
118
|
import "../shared-utils/svelte/resizeObserver.js";
|
|
112
|
-
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
113
119
|
import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
|
|
114
120
|
import "../PanoTagPlugin/Components/Common/Text/MText.js";
|
|
115
121
|
import "../PanoTagPlugin/utils/px2rem.js";
|
|
@@ -136,11 +142,8 @@ import "../vendor/svelte-carousel/src/utils/clones.js";
|
|
|
136
142
|
import "../vendor/svelte-carousel/src/utils/object.js";
|
|
137
143
|
import "../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
138
144
|
import "../vendor/simply-reactive/src/simply-reactive.js";
|
|
139
|
-
import "lodash.get";
|
|
140
|
-
import "lodash.clonedeep";
|
|
141
145
|
import "../vendor/simply-reactive/src/utils/subscription.js";
|
|
142
146
|
import "../vendor/simply-reactive/src/utils/object.js";
|
|
143
|
-
import "lodash.isequal";
|
|
144
147
|
import "../vendor/simply-reactive/src/utils/watcher.js";
|
|
145
148
|
import "../vendor/svelte-carousel/src/utils/lazy.js";
|
|
146
149
|
import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
@@ -159,13 +162,11 @@ import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
|
159
162
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
160
163
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
161
164
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
162
|
-
import "classnames";
|
|
163
165
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
164
166
|
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
165
167
|
import "../CSS3DRenderPlugin/index.js";
|
|
166
168
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
167
169
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
168
|
-
import "../shared-utils/three/GLTFLoader.js";
|
|
169
170
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
170
171
|
import "./Controller.js";
|
|
171
172
|
import "../shared-utils/to.js";
|
|
@@ -174,7 +175,7 @@ import "../shared-utils/nearlyEqual.js";
|
|
|
174
175
|
import "./utils/coordinatesToVector.js";
|
|
175
176
|
import "../shared-utils/isTruelyObject.js";
|
|
176
177
|
import "./utils/formatRad.js";
|
|
177
|
-
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`,
|
|
178
|
+
const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`, Ui = (c) => `${x}--${c}`, D = () => {
|
|
178
179
|
console.error(`${x} is disposed`);
|
|
179
180
|
}, W = () => {
|
|
180
181
|
console.warn(`${x} is disabled`);
|
|
@@ -626,5 +627,5 @@ class z extends V {
|
|
|
626
627
|
I(z, "PluginVersion", M);
|
|
627
628
|
export {
|
|
628
629
|
z as default,
|
|
629
|
-
|
|
630
|
+
Ui as pluginFlag
|
|
630
631
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import o from "./Controller.js";
|
|
2
|
-
import { default as
|
|
3
|
-
import { typing as
|
|
2
|
+
import { default as Uo } from "./Controller.js";
|
|
3
|
+
import { typing as Wo } from "./typing/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -36,9 +36,21 @@ import "../GuideLinePlugin/utils/createLineGeometry.js";
|
|
|
36
36
|
import "polyline-normals";
|
|
37
37
|
import "../shared-utils/five/mode.js";
|
|
38
38
|
import "../shared-utils/three/loadTexture.js";
|
|
39
|
+
import "../GuideLinePlugin/utils/index.js";
|
|
40
|
+
import "@realsee/five/gltf-loader";
|
|
41
|
+
import "../vendor/svelte/internal/index.js";
|
|
42
|
+
import "../PanoTagPlugin/utils/device.js";
|
|
43
|
+
import "../shared-utils/threex/domevents/index.js";
|
|
44
|
+
import "animejs";
|
|
45
|
+
import "../PanoTagPlugin/utils/constants.js";
|
|
46
|
+
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
47
|
+
import "lodash.get";
|
|
48
|
+
import "lodash.clonedeep";
|
|
49
|
+
import "lodash.isequal";
|
|
50
|
+
import "classnames";
|
|
51
|
+
import "../shared-utils/three/GLTFLoader.js";
|
|
39
52
|
import "../PanoTagPlugin/controller/index.js";
|
|
40
53
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
41
|
-
import "@realsee/five/gltf-loader";
|
|
42
54
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
43
55
|
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
44
56
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
@@ -57,9 +69,6 @@ import "../PanoTagPlugin/utils/planeNormal.js";
|
|
|
57
69
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
58
70
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
59
71
|
import "../vendor/svelte/store/index.js";
|
|
60
|
-
import "../vendor/svelte/internal/index.js";
|
|
61
|
-
import "../PanoTagPlugin/utils/device.js";
|
|
62
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
63
72
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
64
73
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
65
74
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -72,14 +81,11 @@ import "../shared-utils/uuid.js";
|
|
|
72
81
|
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
73
82
|
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
74
83
|
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
75
|
-
import "animejs";
|
|
76
84
|
import "../PanoTagPlugin/utils/search.js";
|
|
77
|
-
import "../PanoTagPlugin/utils/constants.js";
|
|
78
85
|
import "../PanoTagPlugin/Components/Common/Arrow.js";
|
|
79
86
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
80
87
|
import "../PanoTagPlugin/utils/doUtil.js";
|
|
81
88
|
import "../shared-utils/svelte/resizeObserver.js";
|
|
82
|
-
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
83
89
|
import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
|
|
84
90
|
import "../PanoTagPlugin/Components/Common/Text/MText.js";
|
|
85
91
|
import "../PanoTagPlugin/utils/px2rem.js";
|
|
@@ -106,11 +112,8 @@ import "../vendor/svelte-carousel/src/utils/clones.js";
|
|
|
106
112
|
import "../vendor/svelte-carousel/src/utils/object.js";
|
|
107
113
|
import "../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
108
114
|
import "../vendor/simply-reactive/src/simply-reactive.js";
|
|
109
|
-
import "lodash.get";
|
|
110
|
-
import "lodash.clonedeep";
|
|
111
115
|
import "../vendor/simply-reactive/src/utils/subscription.js";
|
|
112
116
|
import "../vendor/simply-reactive/src/utils/object.js";
|
|
113
|
-
import "lodash.isequal";
|
|
114
117
|
import "../vendor/simply-reactive/src/utils/watcher.js";
|
|
115
118
|
import "../vendor/svelte-carousel/src/utils/lazy.js";
|
|
116
119
|
import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
@@ -129,13 +132,11 @@ import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
|
129
132
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
130
133
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
131
134
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
132
|
-
import "classnames";
|
|
133
135
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
134
136
|
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
135
137
|
import "../CSS3DRenderPlugin/index.js";
|
|
136
138
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
137
139
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
138
|
-
import "../shared-utils/three/GLTFLoader.js";
|
|
139
140
|
import "../GuideLinePlugin/Components/Tag.js";
|
|
140
141
|
import "../shared-utils/to.js";
|
|
141
142
|
import "../shared-utils/five/changeMode.js";
|
|
@@ -147,10 +148,10 @@ import "./utils/vectorToCoordinates.js";
|
|
|
147
148
|
import "./utils/formatRad.js";
|
|
148
149
|
import "./utils/linerValue.js";
|
|
149
150
|
import "./utils/sleep.js";
|
|
150
|
-
const
|
|
151
|
+
const Qo = (r) => new o(r);
|
|
151
152
|
export {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
Qo as CruisePlugin,
|
|
154
|
+
Uo as CruisePluginController,
|
|
155
|
+
Wo as CruisePluginTypes,
|
|
156
|
+
Qo as default
|
|
156
157
|
};
|
|
@@ -1,49 +1,38 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { SvelteComponent as p, init as z, safe_not_equal as T, append_styles as x, element as s, space as v, text as q, attr as o, set_style as A, insert as N, append as i, set_data as E, noop as b, detach as I } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
function y(r) {
|
|
3
|
+
x(r, "svelte-1i0lthz", ".guide-line__tag.svelte-1i0lthz{position:relative}.guide-line__tag-point.svelte-1i0lthz{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-1i0lthz{position:absolute;left:50%;bottom:0.0625rem;width:0.125rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-1i0lthz{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-1i0lthz{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-1i0lthz{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-source:url('https://vrlab-static.ljcdn.com/release/web/jsl/test2.2ea9ddee.png');border-image-slice:6 25 6 18 fill;color:#fff}");
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
let e,
|
|
5
|
+
function D(r) {
|
|
6
|
+
let e, l, u, a, m, t, g, h, d, f;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
e = s("div"),
|
|
9
|
+
e = s("div"), l = s("div"), u = v(), a = s("div"), m = v(), t = s("div"), g = s("div"), h = v(), d = s("div"), f = q(r[0]), o(l, "class", "guide-line__tag-point svelte-1i0lthz"), o(a, "class", "guide-line__tag-line svelte-1i0lthz"), o(g, "class", "guide-line__tag-icon svelte-1i0lthz"), A(g, "background-image", `url(${r[1]})`), o(d, "class", "guide-line__tag-text svelte-1i0lthz"), A(d, "border-image-source", `url(${r[2]})`), o(t, "class", "guide-line__tag-content svelte-1i0lthz"), o(e, "class", "guide-line__tag svelte-1i0lthz");
|
|
10
10
|
},
|
|
11
|
-
m(
|
|
12
|
-
|
|
11
|
+
m(n, c) {
|
|
12
|
+
N(n, e, c), i(e, l), i(e, u), i(e, a), i(e, m), i(e, t), i(t, g), i(t, h), i(t, d), i(d, f);
|
|
13
13
|
},
|
|
14
|
-
p(
|
|
15
|
-
|
|
14
|
+
p(n, [c]) {
|
|
15
|
+
c & 2 && A(g, "background-image", `url(${n[1]})`), c & 1 && E(f, n[0]);
|
|
16
16
|
},
|
|
17
|
-
i:
|
|
18
|
-
o:
|
|
19
|
-
d(
|
|
20
|
-
|
|
17
|
+
i: b,
|
|
18
|
+
o: b,
|
|
19
|
+
d(n) {
|
|
20
|
+
n && I(e);
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
function
|
|
25
|
-
let { text:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
function G(r, e, l) {
|
|
25
|
+
let { text: u = "" } = e, { icon_url: a = "" } = e;
|
|
26
|
+
const m = "data:image/png;base64,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";
|
|
27
|
+
return r.$$set = (t) => {
|
|
28
|
+
"text" in t && l(0, u = t.text), "icon_url" in t && l(1, a = t.icon_url);
|
|
29
|
+
}, [u, a, m];
|
|
29
30
|
}
|
|
30
|
-
class
|
|
31
|
+
class k extends p {
|
|
31
32
|
constructor(e) {
|
|
32
|
-
super(),
|
|
33
|
-
this,
|
|
34
|
-
e,
|
|
35
|
-
S,
|
|
36
|
-
C,
|
|
37
|
-
p,
|
|
38
|
-
{
|
|
39
|
-
text: 0,
|
|
40
|
-
icon_url: 1,
|
|
41
|
-
text_background_url: 2
|
|
42
|
-
},
|
|
43
|
-
q
|
|
44
|
-
);
|
|
33
|
+
super(), z(this, e, G, D, T, { text: 0, icon_url: 1 }, y);
|
|
45
34
|
}
|
|
46
35
|
}
|
|
47
36
|
export {
|
|
48
|
-
|
|
37
|
+
k as default
|
|
49
38
|
};
|
|
@@ -61,6 +61,7 @@ import "./GuideLineModeItem/index.js";
|
|
|
61
61
|
import "../shared-utils/log.js";
|
|
62
62
|
import "./utils/createLineGeometry.js";
|
|
63
63
|
import "../shared-utils/five/mode.js";
|
|
64
|
+
import "./utils/index.js";
|
|
64
65
|
import "../PanoTagPlugin/controller/index.js";
|
|
65
66
|
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
66
67
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
@@ -173,11 +174,11 @@ import "../CruisePlugin/utils/vectorToCoordinates.js";
|
|
|
173
174
|
import "../CruisePlugin/utils/formatRad.js";
|
|
174
175
|
import "../CruisePlugin/utils/linerValue.js";
|
|
175
176
|
import "../CruisePlugin/utils/sleep.js";
|
|
176
|
-
const v = "v1.1.0", c = "GuideLinePlugin", f = `${c}@${v}`,
|
|
177
|
+
const v = "v1.1.0", c = "GuideLinePlugin", f = `${c}@${v}`, cr = (e) => `${f}--${e}`;
|
|
177
178
|
function E(e) {
|
|
178
179
|
return Object.hasOwn(e, "routes");
|
|
179
180
|
}
|
|
180
|
-
class
|
|
181
|
+
class fr extends G {
|
|
181
182
|
constructor(i, t) {
|
|
182
183
|
super(i, t);
|
|
183
184
|
p(this, "version", v);
|
|
@@ -296,6 +297,6 @@ class cr extends G {
|
|
|
296
297
|
}
|
|
297
298
|
}
|
|
298
299
|
export {
|
|
299
|
-
|
|
300
|
-
|
|
300
|
+
fr as default,
|
|
301
|
+
cr as pluginFlag
|
|
301
302
|
};
|
|
@@ -5,7 +5,7 @@ import "../shared-utils/log.js";
|
|
|
5
5
|
import "../shared-utils/to.js";
|
|
6
6
|
import "@realsee/five";
|
|
7
7
|
import "../shared-utils/five/changeMode.js";
|
|
8
|
-
import { GuideLineItem as
|
|
8
|
+
import { GuideLineItem as Pm } from "./GuideLineItem/index.js";
|
|
9
9
|
import "three";
|
|
10
10
|
import "./utils/createLineGeometry.js";
|
|
11
11
|
import "polyline-normals";
|
|
@@ -29,9 +29,21 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
29
29
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
30
30
|
import "../shared-utils/animationFrame/index.js";
|
|
31
31
|
import "../shared-utils/three/loadTexture.js";
|
|
32
|
+
import "./utils/index.js";
|
|
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";
|
|
32
45
|
import "../PanoTagPlugin/controller/index.js";
|
|
33
46
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
34
|
-
import "@realsee/five/gltf-loader";
|
|
35
47
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
36
48
|
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
37
49
|
import "../PanoTagPlugin/utils/debounce.js";
|
|
@@ -52,9 +64,6 @@ import "../PanoTagPlugin/controller/TagCache.js";
|
|
|
52
64
|
import "../base/BasePlugin.js";
|
|
53
65
|
import "../shared-utils/isAbsoluteURL.js";
|
|
54
66
|
import "../vendor/svelte/store/index.js";
|
|
55
|
-
import "../vendor/svelte/internal/index.js";
|
|
56
|
-
import "../PanoTagPlugin/utils/device.js";
|
|
57
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
58
67
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
59
68
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
60
69
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -67,14 +76,11 @@ import "../shared-utils/uuid.js";
|
|
|
67
76
|
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
68
77
|
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
69
78
|
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
70
|
-
import "animejs";
|
|
71
79
|
import "../PanoTagPlugin/utils/search.js";
|
|
72
|
-
import "../PanoTagPlugin/utils/constants.js";
|
|
73
80
|
import "../PanoTagPlugin/Components/Common/Arrow.js";
|
|
74
81
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
75
82
|
import "../PanoTagPlugin/utils/doUtil.js";
|
|
76
83
|
import "../shared-utils/svelte/resizeObserver.js";
|
|
77
|
-
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
78
84
|
import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
|
|
79
85
|
import "../PanoTagPlugin/Components/Common/Text/MText.js";
|
|
80
86
|
import "../PanoTagPlugin/utils/px2rem.js";
|
|
@@ -101,11 +107,8 @@ import "../vendor/svelte-carousel/src/utils/clones.js";
|
|
|
101
107
|
import "../vendor/svelte-carousel/src/utils/object.js";
|
|
102
108
|
import "../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
103
109
|
import "../vendor/simply-reactive/src/simply-reactive.js";
|
|
104
|
-
import "lodash.get";
|
|
105
|
-
import "lodash.clonedeep";
|
|
106
110
|
import "../vendor/simply-reactive/src/utils/subscription.js";
|
|
107
111
|
import "../vendor/simply-reactive/src/utils/object.js";
|
|
108
|
-
import "lodash.isequal";
|
|
109
112
|
import "../vendor/simply-reactive/src/utils/watcher.js";
|
|
110
113
|
import "../vendor/svelte-carousel/src/utils/lazy.js";
|
|
111
114
|
import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
@@ -124,13 +127,11 @@ import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
|
124
127
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
125
128
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
126
129
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
127
|
-
import "classnames";
|
|
128
130
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
129
131
|
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
130
132
|
import "../CSS3DRenderPlugin/index.js";
|
|
131
133
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
132
134
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
133
|
-
import "../shared-utils/three/GLTFLoader.js";
|
|
134
135
|
import "./Components/Tag.js";
|
|
135
136
|
import "../base/BasePluginWithData.js";
|
|
136
137
|
import "./index.js";
|
|
@@ -146,5 +147,5 @@ import "../CruisePlugin/utils/formatRad.js";
|
|
|
146
147
|
import "../CruisePlugin/utils/linerValue.js";
|
|
147
148
|
import "../CruisePlugin/utils/sleep.js";
|
|
148
149
|
export {
|
|
149
|
-
|
|
150
|
+
Pm as GuideLineItem
|
|
150
151
|
};
|
|
@@ -22,17 +22,18 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
22
22
|
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
23
23
|
import { loadTexture as w } from "../../shared-utils/three/loadTexture.js";
|
|
24
24
|
import "object-assign-deep";
|
|
25
|
+
import { filterAdjacentDistinct as U } from "../utils/index.js";
|
|
25
26
|
import p from "../../PanoTagPlugin/controller/index.js";
|
|
26
27
|
import "@realsee/five/gltf-loader";
|
|
27
|
-
import
|
|
28
|
-
const
|
|
28
|
+
import x from "../Components/Tag.js";
|
|
29
|
+
const L = `
|
|
29
30
|
varying vec2 vUv;
|
|
30
31
|
|
|
31
32
|
void main() {
|
|
32
33
|
vUv = uv;
|
|
33
34
|
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
|
|
34
35
|
}
|
|
35
|
-
`,
|
|
36
|
+
`, V = `
|
|
36
37
|
// \u662F\u5426\u4F7F\u7528\u989C\u8272
|
|
37
38
|
uniform int useMapColor;
|
|
38
39
|
// \u8D34\u56FE
|
|
@@ -90,7 +91,7 @@ const x = `
|
|
|
90
91
|
gl_FragColor.a = gl_FragColor.a * linearGradientOpacity();
|
|
91
92
|
}
|
|
92
93
|
`;
|
|
93
|
-
class
|
|
94
|
+
class G {
|
|
94
95
|
constructor(e, i) {
|
|
95
96
|
t(this, "startTagPlugin");
|
|
96
97
|
t(this, "endTagPlugin");
|
|
@@ -113,7 +114,7 @@ class V {
|
|
|
113
114
|
t(this, "plugin");
|
|
114
115
|
t(this, "textureHasLoaded", !1);
|
|
115
116
|
t(this, "disposed", !1);
|
|
116
|
-
t(this, "onTagContainerChange", (e, i) => new
|
|
117
|
+
t(this, "onTagContainerChange", (e, i) => new x({ target: e, intro: !0, props: i.data }).$destroy);
|
|
117
118
|
t(this, "onPluginShow", () => {
|
|
118
119
|
this.updateVisible();
|
|
119
120
|
});
|
|
@@ -139,8 +140,8 @@ class V {
|
|
|
139
140
|
t(this, "logError", (e) => F("GuideLineModeItem: ", e));
|
|
140
141
|
this.five = e, this.mode = i.mode, this.plugin = i.plugin, this.parent = i.parent, this.startTagPlugin = new p(this.five), this.endTagPlugin = new p(this.five);
|
|
141
142
|
const s = new o.BufferGeometry(), a = new o.ShaderMaterial({
|
|
142
|
-
vertexShader:
|
|
143
|
-
fragmentShader:
|
|
143
|
+
vertexShader: L,
|
|
144
|
+
fragmentShader: V,
|
|
144
145
|
transparent: !0,
|
|
145
146
|
uniforms: {
|
|
146
147
|
map: { value: null },
|
|
@@ -186,26 +187,27 @@ class V {
|
|
|
186
187
|
return this.logError("disposed");
|
|
187
188
|
if (!this.five.work)
|
|
188
189
|
return this.logError("setPathByPanoGroup: work is not ready");
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
this.
|
|
190
|
+
const s = U(e);
|
|
191
|
+
if (this._panoGroup = s, (i == null ? void 0 : i.skipPanoGroup) !== void 0) {
|
|
192
|
+
const n = i.skipPanoGroup ? s.map((u) => this.five.work.observers[u]).map((u) => u.standingPosition.clone()) : null;
|
|
193
|
+
this.skippedPositions = n;
|
|
192
194
|
}
|
|
193
|
-
const
|
|
194
|
-
this.path =
|
|
195
|
+
const a = this.getPathFromPanoGroup(s, this.five.work, i);
|
|
196
|
+
this.path = a, this.setGeometryByPath(a, i);
|
|
195
197
|
}
|
|
196
198
|
setGeometryByPath(e, i) {
|
|
197
199
|
var l, d, m;
|
|
198
200
|
if (this.disposed)
|
|
199
201
|
return this.logError("disposed");
|
|
200
|
-
const s = (l = i == null ? void 0 : i.scale) != null ? l : this.scale, a = (d = i == null ? void 0 : i.width) != null ? d : this.width,
|
|
201
|
-
this.path = e, this.scale = s, this.width = a, this.unitLength =
|
|
202
|
-
const { geometry:
|
|
202
|
+
const s = (l = i == null ? void 0 : i.scale) != null ? l : this.scale, a = (d = i == null ? void 0 : i.width) != null ? d : this.width, n = (m = i == null ? void 0 : i.unit_length) != null ? m : this.unitLength;
|
|
203
|
+
this.path = e, this.scale = s, this.width = a, this.unitLength = n;
|
|
204
|
+
const { geometry: u, maxU: c } = y({
|
|
203
205
|
path: e,
|
|
204
206
|
width: a * s,
|
|
205
|
-
unitLength:
|
|
207
|
+
unitLength: n * s,
|
|
206
208
|
skipPositions: this.skippedPositions
|
|
207
209
|
});
|
|
208
|
-
this.mesh.geometry =
|
|
210
|
+
this.mesh.geometry = u, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = c, this.five.needsRender = !0;
|
|
209
211
|
}
|
|
210
212
|
setMartial(e) {
|
|
211
213
|
var i;
|
|
@@ -268,18 +270,18 @@ class V {
|
|
|
268
270
|
getPathFromPanoGroup(e, i, s) {
|
|
269
271
|
if (e.length < 2)
|
|
270
272
|
return [];
|
|
271
|
-
const
|
|
272
|
-
return [f({ type: "CatmullRomCurve3", points:
|
|
273
|
+
const n = e.map((u) => i.observers[u]).map((u) => u.standingPosition.toArray());
|
|
274
|
+
return [f({ type: "CatmullRomCurve3", points: n }, s)];
|
|
273
275
|
}
|
|
274
276
|
}
|
|
275
277
|
function T(r) {
|
|
276
278
|
return r.contentType === "Custom";
|
|
277
279
|
}
|
|
278
|
-
const
|
|
280
|
+
const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
279
281
|
__proto__: null,
|
|
280
|
-
GuideLineModeItem:
|
|
282
|
+
GuideLineModeItem: G
|
|
281
283
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
282
284
|
export {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
+
G as GuideLineModeItem,
|
|
286
|
+
J as GuideLineModeItem$1
|
|
285
287
|
};
|
|
@@ -48,7 +48,7 @@ declare class GuideLineModeItem {
|
|
|
48
48
|
/** 设置缩放 */
|
|
49
49
|
setScale(scale: number): void;
|
|
50
50
|
/** 通过点位设置线条形状 */
|
|
51
|
-
setGeometryByPanoGroup(
|
|
51
|
+
setGeometryByPanoGroup(_panoGroup: number[], options?: CatmullRomCurve3RestParams & PluginType.GuideLineGeometryStyle & {
|
|
52
52
|
skipPanoGroup?: boolean;
|
|
53
53
|
}): void;
|
|
54
54
|
/** 通过路径设置线条形状 */
|
|
@@ -10,7 +10,8 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
10
10
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
11
11
|
import "../shared-utils/three/loadTexture.js";
|
|
12
12
|
import "object-assign-deep";
|
|
13
|
-
import { GuideLineModeItem as
|
|
13
|
+
import { GuideLineModeItem as si } from "./GuideLineModeItem/index.js";
|
|
14
|
+
import "./utils/index.js";
|
|
14
15
|
import "../PanoTagPlugin/controller/index.js";
|
|
15
16
|
import "@realsee/five/gltf-loader";
|
|
16
17
|
import "./Components/Tag.js";
|
|
@@ -28,6 +29,17 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
28
29
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
29
30
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
30
31
|
import "../shared-utils/animationFrame/index.js";
|
|
32
|
+
import "../vendor/svelte/internal/index.js";
|
|
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";
|
|
31
43
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
32
44
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
33
45
|
import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
|
|
@@ -49,9 +61,6 @@ import "../PanoTagPlugin/controller/TagCache.js";
|
|
|
49
61
|
import "../base/BasePlugin.js";
|
|
50
62
|
import "../shared-utils/isAbsoluteURL.js";
|
|
51
63
|
import "../vendor/svelte/store/index.js";
|
|
52
|
-
import "../vendor/svelte/internal/index.js";
|
|
53
|
-
import "../PanoTagPlugin/utils/device.js";
|
|
54
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
55
64
|
import "../PanoTagPlugin/Components/TagContainer.js";
|
|
56
65
|
import "../PanoTagPlugin/Components/TagItem.js";
|
|
57
66
|
import "../PanoTagPlugin/Components/Tag/index.js";
|
|
@@ -64,14 +73,11 @@ import "../shared-utils/uuid.js";
|
|
|
64
73
|
import "../PanoTagPlugin/Components/Common/Shadow.js";
|
|
65
74
|
import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
|
|
66
75
|
import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
|
|
67
|
-
import "animejs";
|
|
68
76
|
import "../PanoTagPlugin/utils/search.js";
|
|
69
|
-
import "../PanoTagPlugin/utils/constants.js";
|
|
70
77
|
import "../PanoTagPlugin/Components/Common/Arrow.js";
|
|
71
78
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
72
79
|
import "../PanoTagPlugin/utils/doUtil.js";
|
|
73
80
|
import "../shared-utils/svelte/resizeObserver.js";
|
|
74
|
-
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
75
81
|
import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
|
|
76
82
|
import "../PanoTagPlugin/Components/Common/Text/MText.js";
|
|
77
83
|
import "../PanoTagPlugin/utils/px2rem.js";
|
|
@@ -98,11 +104,8 @@ import "../vendor/svelte-carousel/src/utils/clones.js";
|
|
|
98
104
|
import "../vendor/svelte-carousel/src/utils/object.js";
|
|
99
105
|
import "../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
|
|
100
106
|
import "../vendor/simply-reactive/src/simply-reactive.js";
|
|
101
|
-
import "lodash.get";
|
|
102
|
-
import "lodash.clonedeep";
|
|
103
107
|
import "../vendor/simply-reactive/src/utils/subscription.js";
|
|
104
108
|
import "../vendor/simply-reactive/src/utils/object.js";
|
|
105
|
-
import "lodash.isequal";
|
|
106
109
|
import "../vendor/simply-reactive/src/utils/watcher.js";
|
|
107
110
|
import "../vendor/svelte-carousel/src/utils/lazy.js";
|
|
108
111
|
import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
@@ -121,13 +124,11 @@ import "../PanoTagPlugin/Components/Tag/LinkTag.js";
|
|
|
121
124
|
import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
|
|
122
125
|
import "../PanoTagPlugin/utils/getImageInfo.js";
|
|
123
126
|
import "../PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
124
|
-
import "classnames";
|
|
125
127
|
import "../PanoTagPlugin/Components/Common/TagPoint.js";
|
|
126
128
|
import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
127
129
|
import "../CSS3DRenderPlugin/index.js";
|
|
128
130
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
129
131
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
130
|
-
import "../shared-utils/three/GLTFLoader.js";
|
|
131
132
|
export {
|
|
132
|
-
|
|
133
|
+
si as GuideLineModeItem
|
|
133
134
|
};
|
|
@@ -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 So } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as Uo } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -54,6 +54,7 @@ import "../CruisePlugin/utils/sleep.js";
|
|
|
54
54
|
import "../shared-utils/log.js";
|
|
55
55
|
import "./utils/createLineGeometry.js";
|
|
56
56
|
import "../shared-utils/five/mode.js";
|
|
57
|
+
import "./utils/index.js";
|
|
57
58
|
import "../PanoTagPlugin/controller/index.js";
|
|
58
59
|
import "../PanoTagPlugin/utils/addDebugPoints.js";
|
|
59
60
|
import "../PanoTagPlugin/utils/tag/tagCheck.js";
|
|
@@ -145,10 +146,10 @@ import "./Components/Tag.js";
|
|
|
145
146
|
import "../shared-utils/to.js";
|
|
146
147
|
import "../shared-utils/five/changeMode.js";
|
|
147
148
|
import "../shared-utils/nearlyEqual.js";
|
|
148
|
-
const
|
|
149
|
+
const Oo = (i, o) => new t(i, o);
|
|
149
150
|
export {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
So as GuideLineItem,
|
|
152
|
+
Uo as GuideLineModeItem,
|
|
153
|
+
Oo as GuideLinePlugin,
|
|
154
|
+
Oo as default
|
|
154
155
|
};
|