@realsee/dnalogel 2.16.0-6 → 2.16.0-7
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 -0
- package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -1
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +2435 -2347
- package/dist/index.umd.js +31 -31
- 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 +26 -26
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +47 -47
- package/docs/classes/Util.BetterTween.html +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 +19 -19
- 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 +26 -17
- 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 +3 -2
- package/libs/CruisePlugin/index.js +8 -7
- package/libs/GuideLinePlugin/Components/Tag.js +49 -0
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem/index.js +25 -25
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +38 -30
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +1 -0
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +8 -7
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +19 -16
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +92 -66
- package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/TagComputer.js +6 -0
- package/libs/PanoTagPlugin/controller/index.js +5 -5
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +110 -109
- package/package.json +1 -1
|
@@ -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 Ro } from "./GuideLineItem/index.js";
|
|
3
|
+
import { GuideLineModeItem$1 as To } from "./GuideLineModeItem/index.js";
|
|
4
4
|
import "../base/BasePluginWithData.js";
|
|
5
5
|
import "../base/BasePlugin.js";
|
|
6
6
|
import "../shared-utils/Subscribe.js";
|
|
@@ -141,13 +141,14 @@ import "../PanoTagPlugin/utils/model/imagePlane.js";
|
|
|
141
141
|
import "../CSS3DRenderPlugin/index.js";
|
|
142
142
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
143
143
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
144
|
+
import "./Components/Tag.js";
|
|
144
145
|
import "../shared-utils/to.js";
|
|
145
146
|
import "../shared-utils/five/changeMode.js";
|
|
146
147
|
import "../shared-utils/nearlyEqual.js";
|
|
147
|
-
const
|
|
148
|
+
const No = (i, o) => new t(i, o);
|
|
148
149
|
export {
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
Ro as GuideLineItem,
|
|
151
|
+
To as GuideLineModeItem,
|
|
152
|
+
No as GuideLinePlugin,
|
|
153
|
+
No as default
|
|
153
154
|
};
|
|
@@ -1,23 +1,26 @@
|
|
|
1
1
|
import * as n from "three";
|
|
2
|
-
import { Vector3 as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
2
|
+
import { Vector3 as P } from "three";
|
|
3
|
+
import G from "polyline-normals";
|
|
4
|
+
const z = 2, M = 3, X = 3, k = 2;
|
|
5
5
|
function Y(e) {
|
|
6
|
-
const i = e.width,
|
|
7
|
-
|
|
6
|
+
const i = e.width, E = e.unitLength / i, c = i / 2, p = e.path;
|
|
7
|
+
if (p.length === 0)
|
|
8
|
+
return { geometry: new n.BufferGeometry(), maxU: 0 };
|
|
9
|
+
const h = new n.CurvePath();
|
|
10
|
+
p.forEach((t) => {
|
|
8
11
|
const a = I(t);
|
|
9
|
-
a &&
|
|
12
|
+
a && h.add(a);
|
|
10
13
|
});
|
|
11
|
-
const x = Math.ceil(
|
|
12
|
-
let
|
|
14
|
+
const x = Math.ceil(h.getLength() * 100), o = h.getPoints(x), w = o.length, L = G(o.map((t) => [t.x, t.z])), B = (w - 1) * z * M, d = 2 * w, C = d * X, U = d * k, r = new Uint32Array(B), s = new Float32Array(C), u = new Float32Array(U);
|
|
15
|
+
let y = 0, N = 0;
|
|
13
16
|
for (let t = 0; t < o.length; t++) {
|
|
14
|
-
const [a, R] = L[t][0],
|
|
17
|
+
const [a, R] = L[t][0], T = o[t], { x: A, y: _, z: b } = T, m = new P(A + a * c, _ + 0.05, b + R * c);
|
|
15
18
|
s[t * 6 + 0] = m.x, s[t * 6 + 1] = m.y, s[t * 6 + 2] = m.z;
|
|
16
|
-
const
|
|
17
|
-
s[t * 6 + 3] =
|
|
18
|
-
const
|
|
19
|
-
if (N =
|
|
20
|
-
const V = new n.Vector3().lerpVectors(m,
|
|
19
|
+
const f = new P(A - a * c, _ + 0.05, b - R * c);
|
|
20
|
+
s[t * 6 + 3] = f.x, s[t * 6 + 4] = f.y, s[t * 6 + 5] = f.z, y += t > 0 ? o[t - 1].clone().sub(o[t]).length() : 0;
|
|
21
|
+
const v = y / i / E;
|
|
22
|
+
if (N = v, u[t * 4 + 0] = 0, u[t * 4 + 1] = v, u[t * 4 + 2] = 1, u[t * 4 + 3] = v, e.skipPositions) {
|
|
23
|
+
const V = new n.Vector3().lerpVectors(m, f, 0.5);
|
|
21
24
|
if (e.skipPositions.some((F) => F.distanceTo(V) < 0.26))
|
|
22
25
|
continue;
|
|
23
26
|
}
|
|
@@ -28,8 +31,8 @@ function Y(e) {
|
|
|
28
31
|
}
|
|
29
32
|
function I(e) {
|
|
30
33
|
if (O(e)) {
|
|
31
|
-
const i = [e.closed, e.curve_type, e.tension],
|
|
32
|
-
return new n.CatmullRomCurve3(
|
|
34
|
+
const i = [e.closed, e.curve_type, e.tension], g = e.points.map((c) => new n.Vector3().fromArray(c));
|
|
35
|
+
return new n.CatmullRomCurve3(g, ...i);
|
|
33
36
|
}
|
|
34
37
|
}
|
|
35
38
|
function O(e) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { Image_Default_Point as
|
|
1
|
+
import { SvelteComponent as B, init as E, safe_not_equal as G, append_styles as H, empty as J, insert as W, transition_in as v, transition_out as T, check_outros as K, detach as X, getContext as O, element as j, space as L, create_component as F, attr as b, set_style as y, toggle_class as _, append as g, mount_component as M, listen as Q, destroy_component as N, group_outros as V, bubble as Y } from "../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import Z from "./Shadow.js";
|
|
3
|
+
import x from "./Icon/Icon.js";
|
|
4
|
+
import { Image_Default_Point as ee } from "../../Assets/Icon.js";
|
|
5
5
|
import "../../../vendor/svelte/transition/index.js";
|
|
6
6
|
import "../../../vendor/svelte/easing/index.js";
|
|
7
7
|
import "three";
|
|
@@ -10,100 +10,126 @@ import "@realsee/five/gltf-loader";
|
|
|
10
10
|
import "../../../shared-utils/three/loadTexture.js";
|
|
11
11
|
import "../../utils/getImageInfo.js";
|
|
12
12
|
import "../../utils/px2rem.js";
|
|
13
|
-
function
|
|
14
|
-
|
|
13
|
+
function te(e) {
|
|
14
|
+
H(e, "svelte-1jkrwn7", '@charset "UTF-8";.tag-point-click-helper.svelte-1jkrwn7.svelte-1jkrwn7{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-1jkrwn7.svelte-1jkrwn7{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-1jkrwn7.svelte-1jkrwn7,.tag-unfolded-point.svelte-1jkrwn7.svelte-1jkrwn7{transition:all 0.5s}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:1;scale:1}');
|
|
15
15
|
}
|
|
16
|
-
function
|
|
17
|
-
let
|
|
18
|
-
return
|
|
16
|
+
function U(e) {
|
|
17
|
+
let t, l, n, o, a, f, w, u, r, s, c, h;
|
|
18
|
+
return o = new Z({
|
|
19
19
|
props: {
|
|
20
20
|
center: !0,
|
|
21
21
|
blurRadius: 15,
|
|
22
22
|
spreadRadius: 5,
|
|
23
23
|
opacity: 0.3
|
|
24
24
|
}
|
|
25
|
-
}),
|
|
25
|
+
}), r = new x({
|
|
26
26
|
props: {
|
|
27
|
-
icon:
|
|
28
|
-
width:
|
|
27
|
+
icon: e[2],
|
|
28
|
+
width: e[1]
|
|
29
29
|
}
|
|
30
|
-
}),
|
|
30
|
+
}), r.$on("iconLoaded", e[8]), {
|
|
31
31
|
c() {
|
|
32
|
-
|
|
32
|
+
t = j("div"), l = j("div"), n = L(), F(o.$$.fragment), a = L(), f = j("div"), w = L(), u = j("div"), F(r.$$.fragment), b(l, "class", "tag-point-click-helper svelte-1jkrwn7"), b(f, "class", "tag-unfolded-point svelte-1jkrwn7"), y(f, "transition-delay", (e[3] ? e[6] : 0) + "ms"), b(u, "class", "tag-folded-point svelte-1jkrwn7"), y(u, "transition-delay", (e[3] ? e[6] : 0) + "ms"), b(t, "class", "tag-point-wrapper svelte-1jkrwn7"), _(t, "unfolded", e[0]), _(t, "folded", e[3]);
|
|
33
33
|
},
|
|
34
|
-
m(
|
|
35
|
-
|
|
34
|
+
m(i, p) {
|
|
35
|
+
W(i, t, p), g(t, l), g(t, n), M(o, t, null), g(t, a), g(t, f), g(t, w), g(t, u), M(r, u, null), s = !0, c || (h = Q(l, "click", e[5]), c = !0);
|
|
36
36
|
},
|
|
37
|
-
p(
|
|
38
|
-
|
|
39
|
-
const
|
|
40
|
-
|
|
37
|
+
p(i, p) {
|
|
38
|
+
p & 8 && y(f, "transition-delay", (i[3] ? i[6] : 0) + "ms");
|
|
39
|
+
const k = {};
|
|
40
|
+
p & 4 && (k.icon = i[2]), p & 2 && (k.width = i[1]), r.$set(k), p & 8 && y(u, "transition-delay", (i[3] ? i[6] : 0) + "ms"), (!s || p & 1) && _(t, "unfolded", i[0]), (!s || p & 8) && _(t, "folded", i[3]);
|
|
41
41
|
},
|
|
42
|
-
i(
|
|
43
|
-
|
|
42
|
+
i(i) {
|
|
43
|
+
s || (v(o.$$.fragment, i), v(r.$$.fragment, i), s = !0);
|
|
44
44
|
},
|
|
45
|
-
o(
|
|
46
|
-
|
|
45
|
+
o(i) {
|
|
46
|
+
T(o.$$.fragment, i), T(r.$$.fragment, i), s = !1;
|
|
47
47
|
},
|
|
48
|
-
d(
|
|
49
|
-
|
|
48
|
+
d(i) {
|
|
49
|
+
i && X(t), N(o), N(r), c = !1, h();
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
let
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
function ne(e) {
|
|
54
|
+
let t, l, n = e[4] && U(e);
|
|
55
|
+
return {
|
|
56
|
+
c() {
|
|
57
|
+
n && n.c(), t = J();
|
|
58
|
+
},
|
|
59
|
+
m(o, a) {
|
|
60
|
+
n && n.m(o, a), W(o, t, a), l = !0;
|
|
61
|
+
},
|
|
62
|
+
p(o, [a]) {
|
|
63
|
+
o[4] ? n ? (n.p(o, a), a & 16 && v(n, 1)) : (n = U(o), n.c(), v(n, 1), n.m(t.parentNode, t)) : n && (V(), T(n, 1, 1, () => {
|
|
64
|
+
n = null;
|
|
65
|
+
}), K());
|
|
66
|
+
},
|
|
67
|
+
i(o) {
|
|
68
|
+
l || (v(n), l = !0);
|
|
69
|
+
},
|
|
70
|
+
o(o) {
|
|
71
|
+
T(n), l = !1;
|
|
72
|
+
},
|
|
73
|
+
d(o) {
|
|
74
|
+
n && n.d(o), o && X(t);
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
function oe(e, t, l) {
|
|
79
|
+
let n, o, a, f, w;
|
|
80
|
+
const u = O("hooks");
|
|
81
|
+
let { tag: r } = t, s, c = !1;
|
|
82
|
+
const h = () => {
|
|
83
|
+
r.style.point.enabled !== !1 && (s !== void 0 && clearTimeout(s), c = !0, s = setTimeout(
|
|
59
84
|
() => {
|
|
60
|
-
|
|
85
|
+
c = !1;
|
|
61
86
|
},
|
|
62
87
|
800
|
|
63
|
-
);
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
},
|
|
67
|
-
function
|
|
68
|
-
|
|
88
|
+
));
|
|
89
|
+
}, i = (d) => {
|
|
90
|
+
r.style.point.enabled !== !1 && (c || u.emit("click", { event: d, target: "TagPoint", tag: r }));
|
|
91
|
+
}, p = (() => r.contentType === "Text" && r.data.appearance === "plane" ? 500 : 800)();
|
|
92
|
+
function k(d) {
|
|
93
|
+
Y.call(this, e, d);
|
|
69
94
|
}
|
|
70
|
-
return
|
|
71
|
-
"tag" in
|
|
72
|
-
},
|
|
73
|
-
var
|
|
74
|
-
|
|
75
|
-
var $,
|
|
76
|
-
const
|
|
77
|
-
if (typeof
|
|
78
|
-
return
|
|
79
|
-
const
|
|
80
|
-
if (typeof
|
|
81
|
-
return
|
|
82
|
-
if (
|
|
95
|
+
return e.$$set = (d) => {
|
|
96
|
+
"tag" in d && l(7, r = d.tag);
|
|
97
|
+
}, e.$$.update = () => {
|
|
98
|
+
var d, P, z, C, S, D;
|
|
99
|
+
e.$$.dirty & 128 && l(4, n = ((P = (d = r.style) == null ? void 0 : d.point) == null ? void 0 : P.enabled) !== !1), e.$$.dirty & 128 && l(0, o = (z = r.state) == null ? void 0 : z.unfolded), e.$$.dirty & 1 && l(3, a = !o), e.$$.dirty & 128 && l(2, f = (S = (C = r.style) == null ? void 0 : C.point) != null && S.url ? (D = r.style) == null ? void 0 : D.point : { url: ee }), e.$$.dirty & 128 && l(1, w = (() => {
|
|
100
|
+
var R, $, q, A;
|
|
101
|
+
const I = ($ = (R = r.style) == null ? void 0 : R.point) == null ? void 0 : $.width;
|
|
102
|
+
if (typeof I == "number")
|
|
103
|
+
return I;
|
|
104
|
+
const m = (A = (q = r.style) == null ? void 0 : q.point) == null ? void 0 : A.size;
|
|
105
|
+
if (typeof m == "number")
|
|
106
|
+
return m;
|
|
107
|
+
if (m === "S")
|
|
83
108
|
return 18;
|
|
84
|
-
if (
|
|
109
|
+
if (m === "M")
|
|
85
110
|
return 20;
|
|
86
|
-
if (
|
|
111
|
+
if (m === "L")
|
|
87
112
|
return 24;
|
|
88
|
-
if (
|
|
113
|
+
if (m === "XL")
|
|
89
114
|
return 28;
|
|
90
115
|
})());
|
|
91
|
-
},
|
|
116
|
+
}, h(), [
|
|
117
|
+
o,
|
|
118
|
+
w,
|
|
92
119
|
f,
|
|
93
|
-
|
|
94
|
-
|
|
120
|
+
a,
|
|
121
|
+
n,
|
|
122
|
+
i,
|
|
95
123
|
p,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
o,
|
|
99
|
-
s
|
|
124
|
+
r,
|
|
125
|
+
k
|
|
100
126
|
];
|
|
101
127
|
}
|
|
102
|
-
class
|
|
103
|
-
constructor(
|
|
104
|
-
super(),
|
|
128
|
+
class we extends B {
|
|
129
|
+
constructor(t) {
|
|
130
|
+
super(), E(this, t, oe, ne, G, { tag: 7 }, te);
|
|
105
131
|
}
|
|
106
132
|
}
|
|
107
133
|
export {
|
|
108
|
-
|
|
134
|
+
we as default
|
|
109
135
|
};
|
|
@@ -34,6 +34,7 @@ export declare abstract class TagComputer extends TagUtil {
|
|
|
34
34
|
* @description: 一个点的标签
|
|
35
35
|
*/
|
|
36
36
|
protected setPointTagPosition(): void;
|
|
37
|
+
protected setVisible(): void;
|
|
37
38
|
protected setVisibleByPanoIndex(): void;
|
|
38
39
|
protected setModelMedialVisible(): void;
|
|
39
40
|
protected setUnfoldedByPanoIndex(): void;
|
|
@@ -237,6 +237,12 @@ class ge extends S {
|
|
|
237
237
|
i.pointTagStyle = { leftPercent: (n.x + 1) / 2 * 100, topPercent: (-n.y + 1) / 2 * 100 };
|
|
238
238
|
});
|
|
239
239
|
}
|
|
240
|
+
setVisible() {
|
|
241
|
+
this.tags.forEach((e) => {
|
|
242
|
+
const i = this.getVisible(e);
|
|
243
|
+
e.state && (e.state.visible = i);
|
|
244
|
+
});
|
|
245
|
+
}
|
|
240
246
|
setVisibleByPanoIndex() {
|
|
241
247
|
this.tags.forEach((e) => {
|
|
242
248
|
const i = this.getVisibleByPanoIndex(e);
|
|
@@ -37,9 +37,9 @@ import "../../shared-utils/three/loadTexture.js";
|
|
|
37
37
|
import { isMediaModelTag as v } from "../utils/tag/tagCheck.js";
|
|
38
38
|
import { waitFiveModelLoaded as I } from "../utils/actionAfterFiveModelLoad.js";
|
|
39
39
|
import { debounce as A } from "../utils/debounce.js";
|
|
40
|
-
import { throttle as
|
|
40
|
+
import { throttle as R } from "../utils/throttle.js";
|
|
41
41
|
import { resizeObserver as y } from "../utils/resizeObserver.js";
|
|
42
|
-
import
|
|
42
|
+
import B from "../utils/tag/format.js";
|
|
43
43
|
import { generateBlankAudio as O, AudioNamespace as _ } from "../../shared-utils/audio.js";
|
|
44
44
|
import { TagRender as k } from "./TagRender.js";
|
|
45
45
|
import "./TagComputer.js";
|
|
@@ -213,7 +213,7 @@ class ei extends k {
|
|
|
213
213
|
destroy: () => this.destroyTagById(o.id)
|
|
214
214
|
});
|
|
215
215
|
}).filter((o) => o.position);
|
|
216
|
-
return s.forEach(
|
|
216
|
+
return s.forEach(B), this.tags.push(...s), I(this.five).then(() => f(this, null, function* () {
|
|
217
217
|
var o, r, n;
|
|
218
218
|
this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.setVisibleAndUnfolded({ withAnimation: (n = t == null ? void 0 : t.withAnimation) != null ? n : !0 }).then(() => this.updateRenderAllTags()), this.updateRenderAllTags(), yield this.addMediaModelTag(s);
|
|
219
219
|
}));
|
|
@@ -310,7 +310,7 @@ class ei extends k {
|
|
|
310
310
|
setVisibleAndUnfolded() {
|
|
311
311
|
return f(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
|
|
312
312
|
if (!!this.isPanorama)
|
|
313
|
-
return this.
|
|
313
|
+
return this.setVisible(), e ? new Promise((t) => {
|
|
314
314
|
setTimeout(() => {
|
|
315
315
|
this.setUnfoldedByPanoIndex(), t();
|
|
316
316
|
}, 10);
|
|
@@ -355,7 +355,7 @@ class ei extends k {
|
|
|
355
355
|
}, i = () => {
|
|
356
356
|
!this.state.enabled || this.hide();
|
|
357
357
|
}, { observe: s, unobserve: o } = y(
|
|
358
|
-
|
|
358
|
+
R(() => {
|
|
359
359
|
!this.store.resizeObserverDisposer || i();
|
|
360
360
|
}, 500),
|
|
361
361
|
e
|
|
@@ -20,7 +20,9 @@ export declare enum DimensionType {
|
|
|
20
20
|
export declare type TagDimensionType = '2D' | '3D';
|
|
21
21
|
export declare type StickType = '2DPoint' | '3DPoint' | 'Plane' | 'Model';
|
|
22
22
|
export interface TagIconUrl {
|
|
23
|
-
url
|
|
23
|
+
url?: string;
|
|
24
|
+
/** 是否使用默认 tag point,默认为 true */
|
|
25
|
+
enabled?: boolean;
|
|
24
26
|
/** 指切图是几倍图,如 2倍图, 3倍图,默认值为 3 */
|
|
25
27
|
ratio?: number;
|
|
26
28
|
/** 指帧动画的雪碧图由几张图片构成 */
|
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-7");
|
|
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
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { PaintBrush as
|
|
2
|
-
import { PaintBrushTypeEnum as
|
|
3
|
-
import { ModelViewPlugin as
|
|
4
|
-
import { CSS3DRenderPlugin as
|
|
5
|
-
import { PanoCursorRaycasterPlugin as
|
|
6
|
-
import { ModelRoomLabelPlugin as
|
|
7
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
8
|
-
import { ModelFloorplanPlugin as
|
|
9
|
-
import { MapviewFloorplanPlugin as
|
|
10
|
-
import { TopviewFloorplanPlugin as
|
|
11
|
-
import { PanoFloorplanRadarPlugin as
|
|
12
|
-
import { FLOOR_TYPE_MAP as
|
|
13
|
-
import { ModelChassisCompassPlugin as
|
|
14
|
-
import { ModelEntryDoorGuidePlugin as
|
|
15
|
-
import { CameraMovementPlugin as
|
|
16
|
-
import { CameraMovementEffect as
|
|
17
|
-
import { PanoRulerPlugin as
|
|
18
|
-
import { PanoRulerProPlugin as
|
|
19
|
-
import { PanoCompassPlugin as
|
|
20
|
-
import { PanoMeasurePlugin as
|
|
21
|
-
import { PanoSpatialTagPlugin as
|
|
22
|
-
import { modelItemLabelPluginServerParams as
|
|
23
|
-
import { ModelTVVideoPlugin as
|
|
24
|
-
import { DIRECTION as
|
|
25
|
-
import { itemLabelPluginServerParams as
|
|
26
|
-
import { PanoDoorLabelPlugin as
|
|
27
|
-
import { GuideLinePlugin as
|
|
28
|
-
import { CruisePlugin as
|
|
29
|
-
import { PanoTagPlugin as
|
|
30
|
-
import { Object3DHelperPlugin as
|
|
31
|
-
import { PanoVideoPlugin as
|
|
32
|
-
import { index as
|
|
33
|
-
import { CSS3DRender as
|
|
34
|
-
import { Model as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { Polyline as
|
|
38
|
-
import { default as
|
|
39
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
40
|
-
import { ModelItemLabelPlugin as
|
|
41
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
42
|
-
import { Plugin as
|
|
43
|
-
import { GuideLineItem$1 as
|
|
44
|
-
import { GuideLineModeItem$1 as
|
|
45
|
-
import { default as
|
|
46
|
-
import { typing as
|
|
47
|
-
import { default as
|
|
48
|
-
import { ContentType as
|
|
49
|
-
import { DimensionType as
|
|
50
|
-
import { Object3DHelperController as
|
|
51
|
-
import { typings as
|
|
1
|
+
import { PaintBrush as wm } from "./components/PaintBrush/index.js";
|
|
2
|
+
import { PaintBrushTypeEnum as Hm } from "./components/PaintBrush/typings.js";
|
|
3
|
+
import { ModelViewPlugin as $m } from "./ModelViewPlugin/Plugin.js";
|
|
4
|
+
import { CSS3DRenderPlugin as km } from "./CSS3DRenderPlugin/index.js";
|
|
5
|
+
import { PanoCursorRaycasterPlugin as zm } from "./PanoCursorRaycasterPlugin/index.js";
|
|
6
|
+
import { ModelRoomLabelPlugin as Km, modelRoomLabelPluginServerParams as Qm } from "./ModelRoomLabelPlugin/index.js";
|
|
7
|
+
import { FLOOR_PLAN_ATTACHED_TO as Xm } from "./floorplan/constant.js";
|
|
8
|
+
import { ModelFloorplanPlugin as op } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
9
|
+
import { MapviewFloorplanPlugin as tp } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
10
|
+
import { TopviewFloorplanPlugin as mp } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
11
|
+
import { PanoFloorplanRadarPlugin as ep } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
12
|
+
import { FLOOR_TYPE_MAP as np, ROOM_FETILE_TYPE_MAP as ap, ROOM_TYPE_MAP as Pp } from "./floorplan/typings/floorplanServerData.js";
|
|
13
|
+
import { ModelChassisCompassPlugin as fp } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
14
|
+
import { ModelEntryDoorGuidePlugin as gp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
15
|
+
import { CameraMovementPlugin as dp } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
16
|
+
import { CameraMovementEffect as Tp, Rotation as Lp } from "./CameraMovementPlugin/typing.js";
|
|
17
|
+
import { PanoRulerPlugin as _p } from "./PanoRulerPlugin/Plugin.js";
|
|
18
|
+
import { PanoRulerProPlugin as Rp } from "./PanoRulerProPlugin/index.js";
|
|
19
|
+
import { PanoCompassPlugin as bp } from "./PanoCompassPlugin/index.js";
|
|
20
|
+
import { PanoMeasurePlugin as Sp } from "./PanoMeasurePlugin/index.js";
|
|
21
|
+
import { PanoSpatialTagPlugin as yp } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
22
|
+
import { modelItemLabelPluginServerParams as Dp } from "./ModelItemLabelPlugin/index.js";
|
|
23
|
+
import { ModelTVVideoPlugin as Yp } from "./ModelTVVideoPlugin/Plugin.js";
|
|
24
|
+
import { DIRECTION as Fp } from "./ModelTVVideoPlugin/typings.js";
|
|
25
|
+
import { itemLabelPluginServerParams as Np } from "./ItemLabelPlugin/index.js";
|
|
26
|
+
import { PanoDoorLabelPlugin as wp } from "./PanoDoorLabelPlugin/index.js";
|
|
27
|
+
import { GuideLinePlugin as Hp } from "./GuideLinePlugin/index.js";
|
|
28
|
+
import { CruisePlugin as $p } from "./CruisePlugin/index.js";
|
|
29
|
+
import { PanoTagPlugin as kp } from "./PanoTagPlugin/index.js";
|
|
30
|
+
import { Object3DHelperPlugin as zp } from "./Object3DHelperPlugin/index.js";
|
|
31
|
+
import { PanoVideoPlugin as Kp } from "./PanoVideoPlugin/index.js";
|
|
32
|
+
import { index as Wp } from "./shared-utils/index.js";
|
|
33
|
+
import { CSS3DRender as Zp } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
34
|
+
import { Model as re } from "./PanoMeasurePlugin/Model/index.js";
|
|
35
|
+
import { default as ie } from "./PanoMeasurePlugin/Model/point.js";
|
|
36
|
+
import { default as pe } from "./PanoMeasurePlugin/Model/line.js";
|
|
37
|
+
import { Polyline as le } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
38
|
+
import { default as ae } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
39
|
+
import { DISPLAY_STRATEGY_TYPE as ue } from "./ModelItemLabelPlugin/typings.js";
|
|
40
|
+
import { ModelItemLabelPlugin as xe } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
41
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as se } from "./ItemLabelPlugin/typings.js";
|
|
42
|
+
import { Plugin as Me } from "./ItemLabelPlugin/Plugin.js";
|
|
43
|
+
import { GuideLineItem$1 as Le } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
44
|
+
import { GuideLineModeItem$1 as _e } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
45
|
+
import { default as Re } from "./CruisePlugin/Controller.js";
|
|
46
|
+
import { typing as be } from "./CruisePlugin/typing/index.js";
|
|
47
|
+
import { default as Se, pluginFlag as ce } from "./PanoTagPlugin/controller/index.js";
|
|
48
|
+
import { ContentType as Ae } from "./PanoTagPlugin/typings/tag/TagData.js";
|
|
49
|
+
import { DimensionType as Ge } from "./PanoTagPlugin/typings/tag/Utils.js";
|
|
50
|
+
import { Object3DHelperController as ve, PLUGIN as Fe } from "./Object3DHelperPlugin/Controller.js";
|
|
51
|
+
import { typings as Ne } from "./PanoVideoPlugin/typings/index.js";
|
|
52
52
|
import "./components/PaintBrush/Controller.js";
|
|
53
53
|
import "./components/PaintBrush/utils.js";
|
|
54
54
|
import "./components/PaintBrush/tween.js";
|
|
@@ -306,6 +306,7 @@ import "./PanoTagPlugin/utils/getImageInfo.js";
|
|
|
306
306
|
import "./PanoTagPlugin/Components/Tag/CustomTag.js";
|
|
307
307
|
import "./PanoTagPlugin/Components/Common/TagPoint.js";
|
|
308
308
|
import "./PanoTagPlugin/utils/model/imagePlane.js";
|
|
309
|
+
import "./GuideLinePlugin/Components/Tag.js";
|
|
309
310
|
import "./CruisePlugin/utils/coordinatesAngle.js";
|
|
310
311
|
import "./CruisePlugin/utils/coordinatesToVector.js";
|
|
311
312
|
import "./CruisePlugin/utils/safeCall.js";
|
|
@@ -354,63 +355,63 @@ import "./shared-utils/three/PointHelper.js";
|
|
|
354
355
|
import "./shared-utils/three/Assets/index.js";
|
|
355
356
|
import "./shared-utils/three/PointDomHelper.js";
|
|
356
357
|
import "./shared-utils/three/FivePointSelector.js";
|
|
357
|
-
console.info("@realsee/dnalogel %cv2.16.0-
|
|
358
|
+
console.info("@realsee/dnalogel %cv2.16.0-7", "background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px");
|
|
358
359
|
export {
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
360
|
+
Zp as CSS3DRender,
|
|
361
|
+
km as CSS3DRenderPlugin,
|
|
362
|
+
Tp as CameraMovementEffect,
|
|
363
|
+
dp as CameraMovementPlugin,
|
|
364
|
+
Ae as ContentType,
|
|
365
|
+
$p as CruisePlugin,
|
|
366
|
+
Re as CruisePluginController,
|
|
367
|
+
be as CruisePluginTypes,
|
|
368
|
+
Fp as DIRECTION,
|
|
369
|
+
ue as DISPLAY_STRATEGY_TYPE,
|
|
370
|
+
Ge as DimensionType,
|
|
371
|
+
Xm as FLOOR_PLAN_ATTACHED_TO,
|
|
372
|
+
np as FLOOR_TYPE_MAP,
|
|
373
|
+
Le as GuideLineItem,
|
|
374
|
+
_e as GuideLineModeItem,
|
|
375
|
+
Hp as GuideLinePlugin,
|
|
376
|
+
se as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
377
|
+
Me as ItemLabelPlugin,
|
|
378
|
+
ae as Magnifier,
|
|
379
|
+
tp as MapviewFloorplanPlugin,
|
|
380
|
+
fp as ModelChassisCompassPlugin,
|
|
381
|
+
gp as ModelEntryDoorGuidePlugin,
|
|
382
|
+
op as ModelFloorplanPlugin,
|
|
383
|
+
xe as ModelItemLabelPlugin,
|
|
384
|
+
Km as ModelRoomLabelPlugin,
|
|
385
|
+
Yp as ModelTVVideoPlugin,
|
|
386
|
+
$m as ModelViewPlugin,
|
|
387
|
+
ve as Object3DHelperController,
|
|
388
|
+
zp as Object3DHelperPlugin,
|
|
389
|
+
Fe as PLUGIN,
|
|
390
|
+
wm as PaintBrush,
|
|
391
|
+
Hm as PaintBrushTypeEnum,
|
|
392
|
+
bp as PanoCompassPlugin,
|
|
393
|
+
zm as PanoCursorRaycasterPlugin,
|
|
394
|
+
wp as PanoDoorLabelPlugin,
|
|
395
|
+
ep as PanoFloorplanRadarPlugin,
|
|
396
|
+
Sp as PanoMeasurePlugin,
|
|
397
|
+
pe as PanoMeasurePluginLine,
|
|
398
|
+
re as PanoMeasurePluginModel,
|
|
399
|
+
ie as PanoMeasurePluginPoint,
|
|
400
|
+
le as PanoMeasurePluginPolyline,
|
|
401
|
+
_p as PanoRulerPlugin,
|
|
402
|
+
Rp as PanoRulerProPlugin,
|
|
403
|
+
yp as PanoSpatialTagPlugin,
|
|
404
|
+
kp as PanoTagPlugin,
|
|
405
|
+
Se as PanoTagPluginController,
|
|
406
|
+
Kp as PanoVideoPlugin,
|
|
407
|
+
Ne as PanoVideoPluginType,
|
|
408
|
+
ap as ROOM_FETILE_TYPE_MAP,
|
|
409
|
+
Pp as ROOM_TYPE_MAP,
|
|
410
|
+
Lp as Rotation,
|
|
411
|
+
mp as TopviewFloorplanPlugin,
|
|
412
|
+
Wp as Util,
|
|
413
|
+
Np as itemLabelPluginServerParams,
|
|
414
|
+
Dp as modelItemLabelPluginServerParams,
|
|
415
|
+
Qm as modelRoomLabelPluginServerParams,
|
|
416
|
+
ce as pluginFlag
|
|
416
417
|
};
|