@realsee/dnalogel 2.26.0 → 2.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/PanoMeasurePlugin/Model/point.d.ts +0 -4
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/dist/index.cjs.js +52 -52
- package/dist/index.js +2559 -2575
- package/dist/index.umd.js +45 -45
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +11 -48
- package/docs/classes/PanoMeasurePluginPolyline.html +40 -32
- package/docs/classes/PanoTagPluginController.html +46 -46
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +15 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +12 -12
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PipelinePluginParameterType.html +4 -4
- package/docs/types/PipelinePluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/PanoMeasurePlugin/Components/Controller0.js +2 -4
- package/libs/PanoMeasurePlugin/Components/Controller1.js +52 -54
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +2 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -7
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +14 -16
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +2 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +41 -43
- package/libs/PanoMeasurePlugin/Controller/index.js +26 -30
- package/libs/PanoMeasurePlugin/Model/area.js +2 -3
- package/libs/PanoMeasurePlugin/Model/index.js +2 -3
- package/libs/PanoMeasurePlugin/Model/line.js +20 -20
- package/libs/PanoMeasurePlugin/Model/point.d.ts +0 -4
- package/libs/PanoMeasurePlugin/Model/point.js +12 -20
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/polyline.js +59 -51
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +22 -24
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +2 -3
- package/libs/PanoMeasurePlugin/index.js +13 -15
- package/libs/PanoVideoPlugin/VideoMeshController.js +1 -2
- package/libs/base/BasePlugin.js +1 -1
- package/libs/index.js +110 -112
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
- package/dist/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +0 -2
- package/dist/shared-utils/removeArrayItem.d.ts +0 -7
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +0 -2
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.js +0 -13
- package/libs/shared-utils/removeArrayItem.d.ts +0 -7
- package/libs/shared-utils/removeArrayItem.js +0 -8
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { uuid as
|
|
7
|
-
import { Subscribe as
|
|
1
|
+
var c = Object.defineProperty;
|
|
2
|
+
var f = (r, i, e) => i in r ? c(r, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[i] = e;
|
|
3
|
+
var o = (r, i, e) => (f(r, typeof i != "symbol" ? i + "" : i, e), e);
|
|
4
|
+
import a from "./line.js";
|
|
5
|
+
import m from "./point.js";
|
|
6
|
+
import { uuid as P } from "../../shared-utils/uuid.js";
|
|
7
|
+
import { Subscribe as g } from "@realsee/five";
|
|
8
8
|
import "../utils/line.js";
|
|
9
9
|
import "@realsee/five/line";
|
|
10
10
|
import "../utils/constants.js";
|
|
@@ -13,38 +13,46 @@ import "../utils/dom/distanceItem.js";
|
|
|
13
13
|
import "../utils/dom/base.js";
|
|
14
14
|
import "../utils/isNDCPointInScreen.js";
|
|
15
15
|
import "../../shared-utils/three/centerPoint.js";
|
|
16
|
-
|
|
17
|
-
class W {
|
|
16
|
+
class M {
|
|
18
17
|
constructor(i) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
s(this, "hook", new v());
|
|
18
|
+
o(this, "id", P());
|
|
19
|
+
o(this, "lines", []);
|
|
20
|
+
o(this, "visiblePanoIndexes");
|
|
21
|
+
o(this, "model");
|
|
22
|
+
o(this, "type", "polyline");
|
|
23
|
+
o(this, "hook", new g());
|
|
26
24
|
this.model = i.model;
|
|
27
25
|
}
|
|
26
|
+
get points() {
|
|
27
|
+
const i = /* @__PURE__ */ new Set();
|
|
28
|
+
return this.lines.forEach((e) => {
|
|
29
|
+
i.add(e.points[0]), i.add(e.points[1]);
|
|
30
|
+
}), Array.from(i);
|
|
31
|
+
}
|
|
28
32
|
addLine(i) {
|
|
29
33
|
if (this.includes(i)) {
|
|
30
34
|
console.error(new Error("不能重复添加线段"));
|
|
31
35
|
return;
|
|
32
36
|
}
|
|
33
|
-
const
|
|
34
|
-
|
|
37
|
+
const e = this.getLastPoint(), l = e && i.findAnotherPoint(e);
|
|
38
|
+
if (e && !l) {
|
|
39
|
+
console.error(new Error("传入线段无法与当前折线进行连接"));
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
this.lines.push(i), this.hook.emit("lineAdded", i);
|
|
35
43
|
}
|
|
36
44
|
removeLine(i) {
|
|
37
|
-
if (this.lines.length
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
this.lines.pop(), this.lines.length === 0 ? this.points.slice(0, this.points.length) : this.points.pop(), this.hook.emit("lineRemoved", i);
|
|
45
|
+
if (this.lines.length === 0)
|
|
46
|
+
return;
|
|
47
|
+
if (!this.isLastLine(i)) {
|
|
48
|
+
console.error(new Error("传入线段不是当前折线的最后一段"));
|
|
49
|
+
return;
|
|
43
50
|
}
|
|
51
|
+
this.lines.pop() && this.hook.emit("lineRemoved", i);
|
|
44
52
|
}
|
|
45
53
|
isLastLine(i) {
|
|
46
|
-
const
|
|
47
|
-
return
|
|
54
|
+
const e = this.getLastLine();
|
|
55
|
+
return e ? i.id === e.id : !1;
|
|
48
56
|
}
|
|
49
57
|
getLastLine() {
|
|
50
58
|
return this.lines.slice(-1)[0];
|
|
@@ -57,17 +65,17 @@ class W {
|
|
|
57
65
|
}
|
|
58
66
|
clear() {
|
|
59
67
|
const i = this.lines.slice();
|
|
60
|
-
this.lines.
|
|
68
|
+
this.lines.length = 0, i.reduceRight((e, l) => this.hook.emit("lineRemoved", l), void 0);
|
|
61
69
|
}
|
|
62
70
|
/** 是否产生重叠 */
|
|
63
71
|
overlapWith(i) {
|
|
64
|
-
return i.type === "point" ? this.includes(i) : i.type === "line" ? i.points.some((
|
|
72
|
+
return i.type === "point" ? this.includes(i) : i.type === "line" ? i.points.some((e) => this.includes(e)) : i.type === "polyline" ? i.points.some((e) => this.includes(e)) : !0;
|
|
65
73
|
}
|
|
66
74
|
includes(i) {
|
|
67
|
-
return i.type === "point" ? this.points.find(({ id:
|
|
75
|
+
return i.type === "point" ? this.points.find(({ id: e }) => e === i.id) !== void 0 : i.type === "line" ? this.lines.find(({ id: e }) => e === i.id) !== void 0 : !1;
|
|
68
76
|
}
|
|
69
77
|
isEmpty() {
|
|
70
|
-
return this.
|
|
78
|
+
return this.lines.length === 0;
|
|
71
79
|
}
|
|
72
80
|
getLastPoint() {
|
|
73
81
|
return this.points.slice(-1)[0];
|
|
@@ -80,38 +88,38 @@ class W {
|
|
|
80
88
|
};
|
|
81
89
|
}
|
|
82
90
|
getPointByID(i) {
|
|
83
|
-
return this.points.find(({ id:
|
|
91
|
+
return this.points.find(({ id: e }) => e === i);
|
|
84
92
|
}
|
|
85
93
|
fromJson(i) {
|
|
86
94
|
this.clear(), this.id = i.id;
|
|
87
|
-
const { getPoint:
|
|
88
|
-
const [
|
|
89
|
-
if (!n || !
|
|
95
|
+
const { getPoint: e } = u(), l = i.lines.map((t) => {
|
|
96
|
+
const [d, p] = t.points, n = e(d), h = e(p);
|
|
97
|
+
if (!n || !h)
|
|
90
98
|
throw new Error("线上的点不存在");
|
|
91
|
-
const
|
|
92
|
-
return
|
|
93
|
-
})
|
|
94
|
-
this.
|
|
95
|
-
function
|
|
96
|
-
const
|
|
97
|
-
function
|
|
98
|
-
const
|
|
99
|
-
if (
|
|
100
|
-
return
|
|
101
|
-
const
|
|
102
|
-
return
|
|
99
|
+
const s = new a(n, h, this.model);
|
|
100
|
+
return s.id = t.id, s.text = t.text, s;
|
|
101
|
+
});
|
|
102
|
+
this.lines.push(...l), this.visiblePanoIndexes = i.visiblePanoIndexes;
|
|
103
|
+
function u() {
|
|
104
|
+
const t = /* @__PURE__ */ new Map();
|
|
105
|
+
function d(n) {
|
|
106
|
+
const h = t.get(n.id);
|
|
107
|
+
if (h)
|
|
108
|
+
return h;
|
|
109
|
+
const s = new m(n.position);
|
|
110
|
+
return s.id = n.id, t.set(n.id, s), s;
|
|
103
111
|
}
|
|
104
|
-
function
|
|
105
|
-
return Array.from(
|
|
112
|
+
function p() {
|
|
113
|
+
return Array.from(t.values());
|
|
106
114
|
}
|
|
107
|
-
return { getPoint:
|
|
115
|
+
return { getPoint: d, getAllPoints: p };
|
|
108
116
|
}
|
|
109
117
|
return this;
|
|
110
118
|
}
|
|
111
119
|
replace(i) {
|
|
112
|
-
this.id = i.id, this.clear(), this.lines.push(...i.lines)
|
|
120
|
+
this.id = i.id, this.clear(), this.lines.push(...i.lines);
|
|
113
121
|
}
|
|
114
122
|
}
|
|
115
123
|
export {
|
|
116
|
-
|
|
124
|
+
M as Polyline
|
|
117
125
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var a = Object.defineProperty;
|
|
2
|
-
var h = (r,
|
|
3
|
-
var
|
|
2
|
+
var h = (r, e, t) => e in r ? a(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
+
var o = (r, e, t) => (h(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import d from "./HTML.js";
|
|
5
5
|
import u from "./mobileHTML.js";
|
|
6
6
|
import { controllerBackgroundStyle as y, operatingSpaceStyle as f, uiWrapperStyle as v, textStyle as C, exitItemStyle as E, exitIconStyle as x } from "./style.js";
|
|
@@ -25,7 +25,6 @@ import "../../utils/dom/base.js";
|
|
|
25
25
|
import "../../utils/isNDCPointInScreen.js";
|
|
26
26
|
import "../../../shared-utils/three/centerPoint.js";
|
|
27
27
|
import "../../Model/point.js";
|
|
28
|
-
import "../../../shared-utils/removeArrayItem.js";
|
|
29
28
|
import "../../../shared-utils/throttle.js";
|
|
30
29
|
import "../../Controller/BaseController.js";
|
|
31
30
|
import "../../utils/ironbox.js";
|
|
@@ -75,28 +74,27 @@ import "../DeleteDom/index.js";
|
|
|
75
74
|
import "../DeleteDom/_Assets/delete.svg.js";
|
|
76
75
|
import "../DeleteDom/_Assets/delete_bg.png.js";
|
|
77
76
|
import "../DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
78
|
-
import "../../utils/findAssociatedLines.js";
|
|
79
77
|
import "../../utils/math.js";
|
|
80
78
|
import "../../Components/Common/icons/index.js";
|
|
81
79
|
import "../../Components/Common/Switcher1.js";
|
|
82
80
|
import "../../Components/Common/CircleButton.js";
|
|
83
81
|
import "../../../vendor/svelte/transition/index.js";
|
|
84
82
|
import "../../../vendor/svelte/easing/index.js";
|
|
85
|
-
class
|
|
86
|
-
constructor(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
const
|
|
97
|
-
if (!t || !
|
|
83
|
+
class Yt {
|
|
84
|
+
constructor(e, t) {
|
|
85
|
+
o(this, "revoke");
|
|
86
|
+
o(this, "container");
|
|
87
|
+
o(this, "mainController");
|
|
88
|
+
o(this, "disposers", []);
|
|
89
|
+
o(this, "measureController");
|
|
90
|
+
o(this, "mode");
|
|
91
|
+
o(this, "svelteDom");
|
|
92
|
+
o(this, "_params");
|
|
93
|
+
o(this, "handleExit", () => {
|
|
94
|
+
const e = this.container.querySelector(".fpm__exit-icon"), t = this.container.querySelector(".fpm__exit");
|
|
95
|
+
if (!t || !e)
|
|
98
96
|
throw new Error("cannot find dom");
|
|
99
|
-
this.mode === "pc" && (Object.assign(t.style, E), Object.assign(
|
|
97
|
+
this.mode === "pc" && (Object.assign(t.style, E), Object.assign(e == null ? void 0 : e.style, x));
|
|
100
98
|
const i = () => {
|
|
101
99
|
t.style.opacity = "1";
|
|
102
100
|
}, s = () => {
|
|
@@ -109,7 +107,7 @@ class to {
|
|
|
109
107
|
};
|
|
110
108
|
});
|
|
111
109
|
var s, n;
|
|
112
|
-
this._params = t, this.measureController =
|
|
110
|
+
this._params = t, this.measureController = e, this.mode = (s = t.mode) != null ? s : "pc", this.container = document.createElement("div"), this.container.innerHTML = this.mode === "mobile" ? u : d, this.container.classList.add("fpm__ui-controller", this.mode), this.container.style.background = "rgba(0, 0, 0, 0.15)";
|
|
113
111
|
const i = (n = t.useNewUI) != null ? n : !1;
|
|
114
112
|
if (i && (t.pointSelectorMode === "cursor" ? this.svelteDom = new _({
|
|
115
113
|
target: t.container,
|
|
@@ -124,17 +122,17 @@ class to {
|
|
|
124
122
|
}
|
|
125
123
|
}
|
|
126
124
|
dispose() {
|
|
127
|
-
var
|
|
128
|
-
this.hide(), (
|
|
125
|
+
var e;
|
|
126
|
+
this.hide(), (e = this.svelteDom) == null || e.$destroy(), this.container.remove();
|
|
129
127
|
}
|
|
130
128
|
show() {
|
|
131
129
|
return this.container.style.display = "block", this.container.style.opacity = "1", this.container.style.transform = "translate(0, 0)", this.mode === "pc" ? (this.revoke = new w(this.measureController, this.container), this.mainController = new S(this.measureController, this.container, this._params)) : this.mainController = new g(this.measureController, this.container, this._params), this.disposers.push(this.handleExit()), this;
|
|
132
130
|
}
|
|
133
131
|
hide() {
|
|
134
|
-
var
|
|
135
|
-
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((
|
|
132
|
+
var e, t;
|
|
133
|
+
return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((e = this.revoke) == null || e.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((i) => i()), this.disposers = [], this;
|
|
136
134
|
}
|
|
137
135
|
}
|
|
138
136
|
export {
|
|
139
|
-
|
|
137
|
+
Yt as UIController
|
|
140
138
|
};
|
|
@@ -19,8 +19,7 @@ import { noop as x } from "../../../shared-utils/noop.js";
|
|
|
19
19
|
import A from "../../utils/calculateThreeMouse.js";
|
|
20
20
|
import { getMouseGroup as X } from "../../utils/mouseGroup.js";
|
|
21
21
|
import "../../../shared-utils/uuid.js";
|
|
22
|
-
|
|
23
|
-
class L {
|
|
22
|
+
class V {
|
|
24
23
|
// eslint-disable-next-line @typescript-eslint/explicit-member-accessibility
|
|
25
24
|
constructor(t) {
|
|
26
25
|
i(this, "container", document.createElement("div"));
|
|
@@ -131,5 +130,5 @@ class L {
|
|
|
131
130
|
}
|
|
132
131
|
}
|
|
133
132
|
export {
|
|
134
|
-
|
|
133
|
+
V as default
|
|
135
134
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import t from "./Controller/index.js";
|
|
2
|
-
import { default as
|
|
3
|
-
import { Model as
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import { Polyline as
|
|
2
|
+
import { default as Wo } from "./Modules/Magnifier.js";
|
|
3
|
+
import { Model as Yo } from "./Model/index.js";
|
|
4
|
+
import { default as _o } from "./Model/point.js";
|
|
5
|
+
import { default as or } from "./Model/line.js";
|
|
6
|
+
import { Polyline as tr } from "./Model/polyline.js";
|
|
7
7
|
import "./Controller/EditController.js";
|
|
8
8
|
import "../shared-utils/throttle.js";
|
|
9
9
|
import "./Controller/BaseController.js";
|
|
@@ -18,7 +18,6 @@ import "./utils/dom/distanceItem.js";
|
|
|
18
18
|
import "./utils/dom/base.js";
|
|
19
19
|
import "./utils/isNDCPointInScreen.js";
|
|
20
20
|
import "../shared-utils/three/centerPoint.js";
|
|
21
|
-
import "../shared-utils/removeArrayItem.js";
|
|
22
21
|
import "./Model/area.js";
|
|
23
22
|
import "./Model/polygon.js";
|
|
24
23
|
import "../shared-utils/three/IObject3D.js";
|
|
@@ -64,7 +63,6 @@ import "./Modules/DeleteDom/index.js";
|
|
|
64
63
|
import "./Modules/DeleteDom/_Assets/delete.svg.js";
|
|
65
64
|
import "./Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
66
65
|
import "./Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
67
|
-
import "./utils/findAssociatedLines.js";
|
|
68
66
|
import "./utils/math.js";
|
|
69
67
|
import "./Controller/ViewController.js";
|
|
70
68
|
import "./Controller/WatchController.js";
|
|
@@ -99,15 +97,15 @@ import "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
|
99
97
|
import "./Components/Tip.js";
|
|
100
98
|
import "./Controller/ShortcutKeyController.js";
|
|
101
99
|
import "../shared-utils/safeObj.js";
|
|
102
|
-
const
|
|
100
|
+
const To = function(o, r) {
|
|
103
101
|
return new t(o, r);
|
|
104
102
|
};
|
|
105
103
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
104
|
+
Wo as Magnifier,
|
|
105
|
+
To as PanoMeasurePlugin,
|
|
106
|
+
or as PanoMeasurePluginLine,
|
|
107
|
+
Yo as PanoMeasurePluginModel,
|
|
108
|
+
_o as PanoMeasurePluginPoint,
|
|
109
|
+
tr as PanoMeasurePluginPolyline,
|
|
110
|
+
To as default
|
|
113
111
|
};
|
|
@@ -77,8 +77,7 @@ class K {
|
|
|
77
77
|
});
|
|
78
78
|
/** 兼容视频播放 */
|
|
79
79
|
t(this, "onFiveWantsMoveToPano", (e) => {
|
|
80
|
-
e === this.panoIndex && (this.hasVideoEverPlayed || this.video.play().catch((
|
|
81
|
-
console.error("🐶 ==> error:", i);
|
|
80
|
+
e === this.panoIndex && (this.hasVideoEverPlayed || this.video.play().catch(() => {
|
|
82
81
|
}));
|
|
83
82
|
});
|
|
84
83
|
/** 走到某个点位上时,挂载/卸载视频 */
|
package/libs/base/BasePlugin.js
CHANGED
package/libs/index.js
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
2
|
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
-
import { PaintBrush as
|
|
4
|
-
import { PaintBrushTypeEnum as
|
|
5
|
-
import { ModelViewPlugin as
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
10
|
-
import { ModelFloorplanPlugin as
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
12
|
-
import { TopviewFloorplanPlugin as
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
21
|
-
import { PanoCompassPlugin as
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import { PanoSpatialTagPlugin as
|
|
24
|
-
import { modelItemLabelPluginServerParams as
|
|
25
|
-
import { ModelTVVideoPlugin as
|
|
26
|
-
import { DIRECTION as
|
|
27
|
-
import { itemLabelPluginServerParams as
|
|
28
|
-
import { PanoDoorLabelPlugin as
|
|
29
|
-
import { GuideLinePlugin as
|
|
30
|
-
import { CruisePlugin as
|
|
31
|
-
import { PanoTagPlugin as
|
|
32
|
-
import { Object3DHelperPlugin as
|
|
33
|
-
import { PanoVideoPlugin as
|
|
34
|
-
import { PipelinePlugin as
|
|
35
|
-
import { index as
|
|
36
|
-
import { CSS3DRender as
|
|
37
|
-
import { Model as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { Polyline as
|
|
41
|
-
import { default as
|
|
42
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
43
|
-
import { ModelItemLabelPlugin as
|
|
44
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
45
|
-
import { Plugin as
|
|
46
|
-
import { GuideLineItem$1 as
|
|
47
|
-
import { GuideLineModeItem$1 as
|
|
48
|
-
import { default as
|
|
49
|
-
import { typing as
|
|
50
|
-
import { default as
|
|
51
|
-
import { ContentType as
|
|
52
|
-
import { Object3DHelperController as
|
|
53
|
-
import { typings as
|
|
3
|
+
import { PaintBrush as Ap } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as Gp } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Fp } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as vp } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as Vp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as hp, modelRoomLabelPluginServerParams as wp } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as Hp } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as jp } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as kp } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as zp } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as Kp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as Wp, ROOM_FETILE_TYPE_MAP as Xp, ROOM_TYPE_MAP as Zp } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as re } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as ie } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as pe } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as ne, Rotation as le } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as Pe } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as fe } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as ge } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as de } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as Te } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as Ce } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as Ee } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Ie } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as ye } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as Ae } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as Ge } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as Fe } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as ve } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as Ve } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as he } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as Be } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { index as Ue } from "./shared-utils/index.js";
|
|
36
|
+
import { CSS3DRender as $e } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
37
|
+
import { Model as qe } from "./PanoMeasurePlugin/Model/index.js";
|
|
38
|
+
import { default as Je } from "./PanoMeasurePlugin/Model/point.js";
|
|
39
|
+
import { default as Qe } from "./PanoMeasurePlugin/Model/line.js";
|
|
40
|
+
import { Polyline as Xe } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
41
|
+
import { default as on } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
42
|
+
import { DISPLAY_STRATEGY_TYPE as tn } from "./ModelItemLabelPlugin/typings.js";
|
|
43
|
+
import { ModelItemLabelPlugin as pn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
44
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as nn } from "./ItemLabelPlugin/typings.js";
|
|
45
|
+
import { Plugin as an } from "./ItemLabelPlugin/Plugin.js";
|
|
46
|
+
import { GuideLineItem$1 as un } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
47
|
+
import { GuideLineModeItem$1 as xn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
48
|
+
import { default as sn } from "./CruisePlugin/Controller.js";
|
|
49
|
+
import { typing as Mn } from "./CruisePlugin/typing/index.js";
|
|
50
|
+
import { default as Ln, pluginFlag as Cn } from "./PanoTagPlugin/controller/index.js";
|
|
51
|
+
import { ContentType as En, DimensionType as Rn, PointType as In } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
52
|
+
import { Object3DHelperController as yn, PLUGIN as Sn } from "./Object3DHelperPlugin/Controller.js";
|
|
53
|
+
import { typings as Dn } from "./PanoVideoPlugin/typings/index.js";
|
|
54
54
|
import "./components/PaintBrush/Controller.js";
|
|
55
55
|
import "./components/PaintBrush/utils.js";
|
|
56
56
|
import "./components/PaintBrush/tween.js";
|
|
@@ -164,7 +164,6 @@ import "./PanoMeasurePlugin/utils/constants.js";
|
|
|
164
164
|
import "./PanoMeasurePlugin/utils/dom/distanceItem.js";
|
|
165
165
|
import "./PanoMeasurePlugin/utils/dom/base.js";
|
|
166
166
|
import "./PanoMeasurePlugin/utils/isNDCPointInScreen.js";
|
|
167
|
-
import "./shared-utils/removeArrayItem.js";
|
|
168
167
|
import "./PanoMeasurePlugin/Model/area.js";
|
|
169
168
|
import "./PanoMeasurePlugin/Model/polygon.js";
|
|
170
169
|
import "./shared-utils/three/IObject3D.js";
|
|
@@ -189,7 +188,6 @@ import "./PanoMeasurePlugin/Modules/DeleteDom/index.js";
|
|
|
189
188
|
import "./PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js";
|
|
190
189
|
import "./PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
191
190
|
import "./PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
192
|
-
import "./PanoMeasurePlugin/utils/findAssociatedLines.js";
|
|
193
191
|
import "./PanoMeasurePlugin/utils/math.js";
|
|
194
192
|
import "./PanoMeasurePlugin/Controller/ViewController.js";
|
|
195
193
|
import "./PanoMeasurePlugin/Controller/WatchController.js";
|
|
@@ -401,63 +399,63 @@ import "./shared-utils/three/getRaycaster.js";
|
|
|
401
399
|
r();
|
|
402
400
|
o();
|
|
403
401
|
export {
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
402
|
+
$e as CSS3DRender,
|
|
403
|
+
vp as CSS3DRenderPlugin,
|
|
404
|
+
ne as CameraMovementEffect,
|
|
405
|
+
pe as CameraMovementPlugin,
|
|
406
|
+
En as ContentType,
|
|
407
|
+
Fe as CruisePlugin,
|
|
408
|
+
sn as CruisePluginController,
|
|
409
|
+
Mn as CruisePluginTypes,
|
|
410
|
+
Ie as DIRECTION,
|
|
411
|
+
tn as DISPLAY_STRATEGY_TYPE,
|
|
412
|
+
Rn as DimensionType,
|
|
413
|
+
Hp as FLOOR_PLAN_ATTACHED_TO,
|
|
414
|
+
Wp as FLOOR_TYPE_MAP,
|
|
415
|
+
un as GuideLineItem,
|
|
416
|
+
xn as GuideLineModeItem,
|
|
417
|
+
Ge as GuideLinePlugin,
|
|
418
|
+
nn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
419
|
+
an as ItemLabelPlugin,
|
|
420
|
+
on as Magnifier,
|
|
421
|
+
kp as MapviewFloorplanPlugin,
|
|
422
|
+
re as ModelChassisCompassPlugin,
|
|
423
|
+
ie as ModelEntryDoorGuidePlugin,
|
|
424
|
+
jp as ModelFloorplanPlugin,
|
|
425
|
+
pn as ModelItemLabelPlugin,
|
|
426
|
+
hp as ModelRoomLabelPlugin,
|
|
427
|
+
Ee as ModelTVVideoPlugin,
|
|
428
|
+
Fp as ModelViewPlugin,
|
|
429
|
+
yn as Object3DHelperController,
|
|
430
|
+
Ve as Object3DHelperPlugin,
|
|
431
|
+
Sn as PLUGIN,
|
|
432
|
+
Ap as PaintBrush,
|
|
433
|
+
Gp as PaintBrushTypeEnum,
|
|
434
|
+
ge as PanoCompassPlugin,
|
|
435
|
+
Vp as PanoCursorRaycasterPlugin,
|
|
436
|
+
Ae as PanoDoorLabelPlugin,
|
|
437
|
+
Kp as PanoFloorplanRadarPlugin,
|
|
438
|
+
de as PanoMeasurePlugin,
|
|
439
|
+
Qe as PanoMeasurePluginLine,
|
|
440
|
+
qe as PanoMeasurePluginModel,
|
|
441
|
+
Je as PanoMeasurePluginPoint,
|
|
442
|
+
Xe as PanoMeasurePluginPolyline,
|
|
443
|
+
Pe as PanoRulerPlugin,
|
|
444
|
+
fe as PanoRulerProPlugin,
|
|
445
|
+
Te as PanoSpatialTagPlugin,
|
|
446
|
+
ve as PanoTagPlugin,
|
|
447
|
+
Ln as PanoTagPluginController,
|
|
448
|
+
he as PanoVideoPlugin,
|
|
449
|
+
Dn as PanoVideoPluginType,
|
|
450
|
+
Be as PipelinePlugin,
|
|
451
|
+
In as PointType,
|
|
452
|
+
Xp as ROOM_FETILE_TYPE_MAP,
|
|
453
|
+
Zp as ROOM_TYPE_MAP,
|
|
454
|
+
le as Rotation,
|
|
455
|
+
zp as TopviewFloorplanPlugin,
|
|
456
|
+
Ue as Util,
|
|
457
|
+
ye as itemLabelPluginServerParams,
|
|
458
|
+
Ce as modelItemLabelPluginServerParams,
|
|
459
|
+
wp as modelRoomLabelPluginServerParams,
|
|
460
|
+
Cn as pluginFlag
|
|
463
461
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv2.26.
|
|
3
|
+
"%c %c@realsee/dnalogel %cv2.26.1",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.26.
|
|
10
|
+
"version": "2.26.1",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|