@realsee/dnalogel 2.21.0-dev.6 → 2.21.0-dev.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.js +329 -329
- package/dist/CSS3DRenderPlugin/Controller.d.ts +4 -1
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +13 -13
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +3 -0
- package/dist/PanoMeasurePlugin/Model/area.d.ts +9 -1
- package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Model/line.d.ts +2 -0
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +4 -0
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
- package/dist/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
- package/dist/PanoMeasurePlugin/typings/data.d.ts +2 -1
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +3 -0
- package/dist/PanoMeasurePlugin/utils/dom/base.d.ts +4 -0
- package/dist/PanoMeasurePlugin/utils/geometryUtil.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
- package/dist/base/BasePlugin.d.ts +4 -1
- package/dist/components/PaintBrush/style.d.ts +1 -1
- package/dist/index.cjs.js +62 -62
- package/dist/index.js +6708 -6414
- package/dist/index.umd.js +55 -55
- package/dist/shared-utils/absoluteUrl.d.ts +5 -0
- package/dist/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
- package/dist/shared-utils/index.d.ts +1 -1
- package/dist/shared-utils/three/PointSelector.d.ts +37 -3
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +32 -31
- package/docs/classes/CruisePluginController.html +46 -43
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -20
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +36 -35
- package/docs/classes/Magnifier.html +21 -20
- package/docs/classes/ModelRoomLabelController.html +12 -11
- package/docs/classes/Object3DHelperController.html +45 -42
- package/docs/classes/PaintBrush.html +16 -15
- package/docs/classes/PanoMeasurePluginLine.html +46 -25
- package/docs/classes/PanoMeasurePluginModel.html +42 -26
- package/docs/classes/PanoMeasurePluginPoint.html +15 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +28 -27
- package/docs/classes/PanoTagPluginController.html +67 -64
- package/docs/classes/Util.BetterTween.html +10 -9
- package/docs/classes/Util.Interval.html +13 -12
- package/docs/classes/Util.Magnifier.html +19 -18
- package/docs/classes/Util.PointDomHelper.html +12 -11
- package/docs/classes/Util.PointHelper.html +12 -11
- package/docs/classes/Util.PointSelectorHelper.html +18 -17
- package/docs/classes/Util.Rectangle.html +14 -13
- package/docs/enums/CameraMovementEffect.html +8 -7
- package/docs/enums/ContentType.html +21 -20
- package/docs/enums/DIRECTION.html +10 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/DimensionType.html +8 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
- package/docs/enums/PaintBrushTypeEnum.html +9 -8
- package/docs/enums/PointType.html +8 -7
- package/docs/enums/Rotation.html +9 -8
- package/docs/functions/CSS3DRenderPlugin.html +5 -4
- package/docs/functions/CameraMovementPlugin.html +5 -4
- package/docs/functions/CruisePlugin.html +5 -4
- package/docs/functions/GuideLinePlugin.html +6 -5
- package/docs/functions/ItemLabelPlugin.html +5 -4
- package/docs/functions/MapviewFloorplanPlugin.html +5 -4
- package/docs/functions/ModelChassisCompassPlugin.html +5 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
- package/docs/functions/ModelFloorplanPlugin.html +5 -4
- package/docs/functions/ModelItemLabelPlugin.html +5 -4
- package/docs/functions/ModelRoomLabelPlugin.html +5 -4
- package/docs/functions/ModelTVVideoPlugin.html +5 -4
- package/docs/functions/ModelViewPlugin.html +5 -4
- package/docs/functions/Object3DHelperPlugin.html +5 -4
- package/docs/functions/PanoCompassPlugin.html +5 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
- package/docs/functions/PanoDoorLabelPlugin.html +5 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
- package/docs/functions/PanoMeasurePlugin.html +5 -4
- package/docs/functions/PanoRulerPlugin.html +5 -4
- package/docs/functions/PanoRulerProPlugin.html +5 -4
- package/docs/functions/PanoSpatialTagPlugin.html +5 -4
- package/docs/functions/PanoTagPlugin.html +5 -4
- package/docs/functions/PanoVideoPlugin.html +5 -4
- package/docs/functions/TopviewFloorplanPlugin.html +5 -4
- package/docs/functions/Util.absoluteUrl.html +370 -0
- package/docs/functions/Util.getCoordsFromClient.html +6 -5
- package/docs/functions/Util.getCoordsFromElement.html +6 -5
- package/docs/functions/Util.getFrameTime.html +6 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
- package/docs/functions/Util.isAbsoluteURL.html +6 -5
- package/docs/functions/Util.isModelLike.html +6 -5
- package/docs/functions/Util.isNil.html +6 -5
- package/docs/functions/Util.isPanoramaLike.html +6 -5
- package/docs/functions/Util.nextFrame.html +6 -5
- package/docs/functions/Util.notNil.html +6 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
- package/docs/functions/Util.tweenProgress.html +6 -5
- package/docs/functions/Util.uuid.html +6 -5
- package/docs/functions/pluginFlag.html +6 -5
- package/docs/index.html +6 -5
- package/docs/interfaces/AddTagConfig.html +7 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +9 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +13 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +15 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +15 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +10 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +8 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +12 -11
- package/docs/interfaces/EventMap.html +16 -15
- package/docs/interfaces/FloorplanBounding.html +9 -8
- package/docs/interfaces/FloorplanData.html +11 -10
- package/docs/interfaces/FloorplanEntrance.html +12 -11
- package/docs/interfaces/FloorplanExtraObject.html +11 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
- package/docs/interfaces/FloorplanFloorData.html +10 -9
- package/docs/interfaces/FloorplanImagePosition.html +8 -7
- package/docs/interfaces/FloorplanObserver.html +10 -9
- package/docs/interfaces/FloorplanOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanPosition.html +8 -7
- package/docs/interfaces/FloorplanRoomItem.html +14 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
- package/docs/interfaces/FloorplanServerBounding.html +9 -8
- package/docs/interfaces/FloorplanServerComputedData.html +11 -10
- package/docs/interfaces/FloorplanServerData.html +8 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
- package/docs/interfaces/FloorplanServerEntrance.html +12 -11
- package/docs/interfaces/FloorplanServerFloorData.html +10 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
- package/docs/interfaces/FloorplanServerObserver.html +10 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
- package/docs/interfaces/FloorplanServerPosition.html +8 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -8
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -13
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +19 -18
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -18
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +8 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -9
- package/docs/interfaces/HelperOffset.html +9 -8
- package/docs/interfaces/ImagePlaneGroup.html +7 -6
- package/docs/interfaces/ItemLabelPluginData.html +7 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
- package/docs/interfaces/MinMax.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
- package/docs/interfaces/ModelViewPluginExportType.html +12 -11
- package/docs/interfaces/Object3DHelperState.html +9 -8
- package/docs/interfaces/ObjectHelperControllers.html +10 -9
- package/docs/interfaces/PaintBrushAction.html +13 -12
- package/docs/interfaces/PaintBrushConfigs.html +13 -12
- package/docs/interfaces/PaintBrushState.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
- package/docs/interfaces/PanoMeasureParameterType.html +16 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
- package/docs/interfaces/PanoRulerProPluginState.html +9 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +7 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +11 -10
- package/docs/interfaces/Point.html +9 -8
- package/docs/interfaces/Room.html +10 -9
- package/docs/interfaces/RoomInfo.html +8 -7
- package/docs/interfaces/RoomLabel.html +15 -14
- package/docs/interfaces/RoomRules.html +6 -5
- package/docs/interfaces/Rooms.html +6 -5
- package/docs/interfaces/Scissor.html +10 -9
- package/docs/interfaces/State.html +9 -8
- package/docs/interfaces/TagCacheInterface.html +13 -12
- package/docs/interfaces/TagConfig.html +14 -13
- package/docs/interfaces/TagGLTFObjectGroup.html +7 -6
- package/docs/interfaces/TagIconUrl.html +13 -12
- package/docs/interfaces/TagObjectGroup.html +7 -6
- package/docs/interfaces/TagStyle.html +7 -6
- package/docs/interfaces/Tags.html +10 -9
- package/docs/interfaces/TemporaryState.html +7 -6
- package/docs/interfaces/Util.MagnifierParameter.html +12 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
- package/docs/interfaces/Util.PointIntersection.html +9 -8
- package/docs/modules/CruisePluginTypes.html +6 -5
- package/docs/modules/GuideLineItem.html +6 -5
- package/docs/modules/GuideLineModeItem.html +6 -5
- package/docs/modules/GuideLinePluginType.html +6 -5
- package/docs/modules/PanoVideoPluginType.html +6 -5
- package/docs/modules/Util.html +7 -5
- package/docs/modules.html +5 -4
- package/docs/types/ArrayPosition.html +6 -5
- package/docs/types/AudioAppearance.html +6 -5
- package/docs/types/AudioTagTypeConfigKey.html +6 -5
- package/docs/types/CSS3DRenderExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginExportType.html +6 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
- package/docs/types/ClassFunctionParameters.html +6 -5
- package/docs/types/Color.html +6 -5
- package/docs/types/ContentTypeConfigKey.html +6 -5
- package/docs/types/ContentTypeConfigKeySplit.html +6 -5
- package/docs/types/ContentTypeMap.html +6 -5
- package/docs/types/Create3DDomContainerReturnType.html +6 -5
- package/docs/types/Create3DElementReturnType.html +6 -5
- package/docs/types/CruisePluginExportType.html +6 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +6 -5
- package/docs/types/DeprecatedTagProperty.html +6 -5
- package/docs/types/Direction-1.html +6 -5
- package/docs/types/Direction4.html +6 -5
- package/docs/types/ElementRenderer.html +6 -5
- package/docs/types/FloorplanRuleLabels.html +6 -5
- package/docs/types/FloorplanServerRuleLabels.html +6 -5
- package/docs/types/GuideLinePluginExportType.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -5
- package/docs/types/GuideLinePluginType.PathItem.html +6 -5
- package/docs/types/GuideLinePluginType.PluginData.html +6 -5
- package/docs/types/HelperEventMap.html +6 -5
- package/docs/types/LoadTagConfig.html +6 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/MediaData.html +6 -5
- package/docs/types/MediaStore.html +6 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
- package/docs/types/MoveArgs.html +6 -5
- package/docs/types/MoveOpts.html +6 -5
- package/docs/types/Object3DHelperEventMap.html +6 -5
- package/docs/types/ObjectFit.html +6 -5
- package/docs/types/PaintBrushEventMap.html +6 -5
- package/docs/types/PanoCompassPluginData.html +6 -5
- package/docs/types/PanoCompassPluginExportType.html +6 -5
- package/docs/types/PanoCompassPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
- package/docs/types/PanoIndex.html +6 -5
- package/docs/types/PanoMeasurePluginEvent.html +6 -5
- package/docs/types/PanoMeasureReturnType.html +6 -5
- package/docs/types/PanoSpatialTagPluginId.html +6 -5
- package/docs/types/PanoTagPluginExportInterface.html +6 -5
- package/docs/types/PanoTagPluginParamsInterface.html +6 -5
- package/docs/types/PanoVideoPluginParameterType.html +6 -5
- package/docs/types/PanoVideoPluginReturnType.html +6 -5
- package/docs/types/PartialObjectDeep.html +6 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +6 -5
- package/docs/types/PlaneTag.html +6 -5
- package/docs/types/Point2DTag.html +6 -5
- package/docs/types/Point3DTag.html +6 -5
- package/docs/types/PointTag.html +6 -5
- package/docs/types/PointTagInstance.html +6 -5
- package/docs/types/Position.html +6 -5
- package/docs/types/RotateArgs.html +6 -5
- package/docs/types/RotateOpts.html +6 -5
- package/docs/types/RuleLabelsKey.html +6 -5
- package/docs/types/RuleLabelsValue.html +6 -5
- package/docs/types/StickType.html +6 -5
- package/docs/types/Tag.html +6 -5
- package/docs/types/Tag2D.html +6 -5
- package/docs/types/Tag3D.html +6 -5
- package/docs/types/TagContentType.html +6 -5
- package/docs/types/TagDimensionType.html +6 -5
- package/docs/types/TagElement.html +6 -5
- package/docs/types/TagEvents.html +6 -5
- package/docs/types/TagGLTFObject.html +6 -5
- package/docs/types/TagHooks.html +6 -5
- package/docs/types/TagId.html +6 -5
- package/docs/types/TagInstance.html +6 -5
- package/docs/types/TagPointType.html +6 -5
- package/docs/types/TagRendererMap.html +6 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
- package/docs/types/WorkCode.html +6 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
- package/docs/variables/PLUGIN.html +6 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
- package/docs/variables/ROOM_TYPE_MAP.html +6 -5
- package/docs/variables/itemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
- package/libs/CSS3DRenderPlugin/Controller.d.ts +4 -1
- package/libs/CSS3DRenderPlugin/Controller.js +31 -28
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CruisePlugin/Controller.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/Components/Tag.js +68 -68
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/ItemLabelPlugin/ItemLabelItem.js +82 -82
- package/libs/ModelTVVideoPlugin/Plugin.js +30 -29
- package/libs/ModelTVVideoPlugin/index.js +4 -3
- package/libs/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +20 -20
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +60 -60
- package/libs/PanoDoorLabelPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller0.js +131 -64
- package/libs/PanoMeasurePlugin/Components/Controller1.js +228 -153
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +13 -13
- package/libs/PanoMeasurePlugin/Controller/EditController.js +181 -112
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +13 -12
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +3 -0
- package/libs/PanoMeasurePlugin/Controller/index.js +64 -67
- package/libs/PanoMeasurePlugin/Model/area.d.ts +9 -1
- package/libs/PanoMeasurePlugin/Model/area.js +23 -11
- package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Model/index.js +47 -39
- package/libs/PanoMeasurePlugin/Model/line.d.ts +2 -0
- package/libs/PanoMeasurePlugin/Model/line.js +6 -0
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +4 -0
- package/libs/PanoMeasurePlugin/Model/polygon.js +18 -13
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +34 -24
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +23 -15
- package/libs/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
- package/libs/PanoMeasurePlugin/index.js +22 -20
- package/libs/PanoMeasurePlugin/typings/data.d.ts +2 -1
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +3 -0
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +36 -15
- package/libs/PanoMeasurePlugin/utils/dom/base.d.ts +4 -0
- package/libs/PanoMeasurePlugin/utils/dom/base.js +37 -31
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +38 -23
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +3 -3
- package/libs/PanoMeasurePlugin/utils/geometryUtil.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/geometryUtil.js +15 -13
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/PanoTagPlugin/index.js +1 -1
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/base/BasePlugin.d.ts +4 -1
- package/libs/base/BasePlugin.js +14 -11
- package/libs/components/PaintBrush/style.d.ts +1 -1
- package/libs/components/PaintBrush/style.js +4 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
- package/libs/index.js +7 -7
- package/libs/shared-utils/absoluteUrl.d.ts +5 -0
- package/libs/shared-utils/absoluteUrl.js +10 -0
- package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
- package/libs/shared-utils/index.d.ts +1 -1
- package/libs/shared-utils/index.js +17 -16
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/Magnifier.js +6 -5
- package/libs/shared-utils/three/PointSelector.d.ts +37 -3
- package/libs/shared-utils/three/PointSelector.js +84 -36
- package/libs/shared-utils/three/PointSelectorHelper.js +7 -7
- package/libs/vendor/svelte/internal/index.js +392 -345
- package/package.json +1 -1
- package/dist/shared-utils/isAbsoluteURL.d.ts +0 -1
- package/libs/shared-utils/isAbsoluteURL.d.ts +0 -1
- package/libs/shared-utils/isAbsoluteURL.js +0 -6
- /package/dist/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.d.ts +0 -0
- /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.d.ts +0 -0
- /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.js +0 -0
- /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.js +0 -0
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { classnames as
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { SvelteComponent as L, init as m, safe_not_equal as O, append_styles as p, element as C, space as S, attr as M, null_to_empty as u, insert as y, append as j, listen as P, noop as d, detach as v, binding_callbacks as Z } from "../vendor/svelte/internal/index.js";
|
|
2
|
+
import { classnames as s } from "../vendor/classnames/index.js";
|
|
3
|
+
function k(g) {
|
|
4
|
+
p(g, "svelte-1irjijd", '.plugin-DoorLabelPlugin-item.svelte-1irjijd.svelte-1irjijd{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;transition:opacity 0.3s ease}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd{position:absolute;top:50%;left:50%;border-radius:0.125rem;background:rgba(0, 0, 0, 0.35);line-height:0.75rem;padding:0.375rem;white-space:nowrap;font-size:0.75rem;font-style:normal;color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform ease 1s, background ease 0.3s, color ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd::after{content:"";display:block;position:absolute;top:-0.0625rem;left:-0.0625rem;bottom:-0.0625rem;right:-0.0625rem;border-radius:0.125rem;border:0.0625rem solid rgba(0, 0, 0, 0);-o-border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUAAAD///+l2Z/dAAAAAnRSTlMAIE397fAAAAAVSURBVAjXY2BjgCMQ+PABhIAASRwARxwD8fgzCQAAAAAASUVORK5CYII=") 4;border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUAAAD///+l2Z/dAAAAAnRSTlMAIE397fAAAAAVSURBVAjXY2BjgCMQ+PABhIAASRwARxwD8fgzCQAAAAAASUVORK5CYII=") 4;transition:opacity ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd:active,.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd:focus{background:rgba(0, 0, 0, 0.5);color:rgba(255, 255, 255, 0.5)}.plugin-DoorLabelPlugin-icon.svelte-1irjijd.svelte-1irjijd{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSIxMHB4IiB2aWV3Qm94PSIwIDAgMTAgMTAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aW1hZ2Ut566t5aS0PC90aXRsZT4KICAgIDxkZWZzPgogICAgICAgIDxyZWN0IGlkPSJwYXRoLTEiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCI+PC9yZWN0PgogICAgICAgI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NDk1OTUsOS4zMTI5MzAyOCBDOC4yOTUxNTg2OCw5LjM3NTA0NTM2IDguMjU2MTI1MzEsOS40MzEzMDk0NyA4LjE5NzAzMTE3LDkuNDY2OTk5NzMgQzguMTU3MzUxMTksOS40OTA5NjQ2OSA4LjExMjY2OTMxLDkuNTAyOTY2MzQgOC4wNjc5NzgxOCw5LjUwMzAwMDgzIEM4LjAyMzI4NzA2LDkuNTAzMDM1MzEgNy45Nzg1ODY3MSw5LjQ5MTEwMjYzIDcuOTM4ODY5OCw5LjQ2NzE5ODkzIEw3LjkzODg2OTgsOS40NjcxOTg5MyBMMS4zNzk5MTIxOCw1LjUxOTY3ODE1IEMxLjMyMDc2MzAyLDUuNDg0MDc5MTIgMS4yODE2NDI4Nyw1LjQyNzg3NTMyIDEuMjY2MjA5NzcsNS4zNjU3ODM5OCBDMS4yNTQ2OTI1Niw1LjMxOTQ0NzMyIDEuMjU2MzY2OTgsNS4yNjk4MzE4MiAxLjI3Mjc1MzMzLDUuMjIzMDU0MDUgTDEuMjcyNzUzMzMsNS4yMjMwNTQwNSBaIiBpZD0i566t5aS0IiBzdHJva2U9InVybCgjbGluZWFyR3JhZGllbnQtNCkiIHN0cm9rZS13aWR0aD0iMC41IiBmaWxsPSJ1cmwoI2xpbmVhckdyYWRpZW50LTMpIiBtYXNrPSJ1cmwoI21hc2stMikiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUuMDM5MjAwLCA1LjMwNTQ4MCkgc2NhbGUoMSwgLTEpIHJvdGF0ZSgtOTAuMDAwMDAwKSB0cmFuc2xhdGUoLTUuMDM5MjAwLCAtNS4zMDU0ODApICI+PC9wYXRoPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=") no-repeat;background-size:100%;display:inline-block;width:0.625rem;height:0.625rem;margin-left:0.25rem;transform-origin:center}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].left.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].forward.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].back.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].right.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd.svelte-1irjijd{color:#f9eac1}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSI4cHgiIHZpZXdCb3g9IjAgMCAxMCA4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPueureWktDwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8bGluZWFyR3JhZGllbnQgeDE9IjEwLjYzODU4ODQlIiB5MT0iMCUiIHgyPSI5Ni41MTYxNDc0JSIgeTI9IjEyOS43MzEzNTQlIiBpZD0ibGluZWFyR3JhZGllbnQtMSI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiNGRkYyQ0MiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0VBRDA5QSIgb2Zmc2V0PSI0OC43MTQ0NDc4JSI+PC9zdG9wPgogICAgICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjRDFCMTdFIiBvZmZzZXQ9IjEwMCUiPjwvc3RvcD4KICAgICAgICA8L2xpbmVhckdyYWRpZW50PgogICAgPC9kZWZzPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0i5pyq5p2l5a625aSH5Lu9LTI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzA1LjAwMDAwMCwgLTU0NS4wMDAwMDApI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jQ1NzczMTIgOC40OTU3ODI5NCwxLjYxNjQ1MTEgWiIgaWQ9IueureWktCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNS4wMzkyMDAsIDUuMzA1NDgwKSBzY2FsZSgxLCAtMSkgcm90YXRlKC05MC4wMDAwMDApIHRyYW5zbGF0ZSgtNS4wMzkyMDAsIC01LjMwNTQ4MCkgIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==") no-repeat}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd.svelte-1irjijd:active,.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd.svelte-1irjijd:focus{background:rgba(0, 0, 0, 0.5);color:rgba(249, 234, 193, 0.5)}');
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
let
|
|
6
|
+
function x(g) {
|
|
7
|
+
let I, i, t, a, A, l, r, o;
|
|
8
8
|
return {
|
|
9
9
|
c() {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
I = C("div"), i = C("div"), t = C("span"), t.textContent = `${/*name*/
|
|
11
|
+
g[8]}`, a = S(), A = C("i"), M(t, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), M(A, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), M(i, "class", l = u(s(
|
|
12
12
|
"plugin-DoorLabelPlugin-cnt",
|
|
13
13
|
/*props*/
|
|
14
|
-
|
|
15
|
-
)) + " svelte-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
g[0].toward
|
|
15
|
+
)) + " svelte-1irjijd"), M(i, "style", `transform: ${/*transform*/
|
|
16
|
+
g[6] || "initial"};pointer-events: ${/*inSight*/
|
|
17
|
+
g[5] ? "auto" : "none"};opacity: ${/*inSight*/
|
|
18
|
+
g[5] ? 1 : 0}`), M(
|
|
19
|
+
i,
|
|
20
20
|
"data-camera-toward",
|
|
21
21
|
/*cameraToward*/
|
|
22
|
-
|
|
23
|
-
),
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
g[7]
|
|
23
|
+
), M(I, "style", `left: ${/*left*/
|
|
24
|
+
g[3] || 0}%;top: ${/*top*/
|
|
25
|
+
g[4] || 0}%;opacity: ${/*inSight*/
|
|
26
|
+
g[5] ? 1 : 0}`), M(I, "class", "plugin-DoorLabelPlugin-item svelte-1irjijd");
|
|
27
27
|
},
|
|
28
|
-
m(
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
m(n, D) {
|
|
29
|
+
y(n, I, D), j(I, i), j(i, t), j(i, a), j(i, A), g[10](I), r || (o = P(
|
|
30
|
+
i,
|
|
31
31
|
"click",
|
|
32
32
|
/*click_handler*/
|
|
33
|
-
|
|
34
|
-
),
|
|
33
|
+
g[9]
|
|
34
|
+
), r = !0);
|
|
35
35
|
},
|
|
36
|
-
p(
|
|
37
|
-
|
|
38
|
-
1 &&
|
|
36
|
+
p(n, [D]) {
|
|
37
|
+
D & /*props*/
|
|
38
|
+
1 && l !== (l = u(s(
|
|
39
39
|
"plugin-DoorLabelPlugin-cnt",
|
|
40
40
|
/*props*/
|
|
41
|
-
|
|
42
|
-
)) + " svelte-
|
|
41
|
+
n[0].toward
|
|
42
|
+
)) + " svelte-1irjijd") && M(i, "class", l);
|
|
43
43
|
},
|
|
44
|
-
i:
|
|
45
|
-
o:
|
|
46
|
-
d(
|
|
47
|
-
|
|
44
|
+
i: d,
|
|
45
|
+
o: d,
|
|
46
|
+
d(n) {
|
|
47
|
+
n && v(I), g[10](null), r = !1, o();
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
let { props:
|
|
53
|
-
const
|
|
54
|
-
if (!
|
|
51
|
+
function U(g, I, i) {
|
|
52
|
+
let { props: t } = I, { onClick: a } = I, A, { left: l, top: r, inSight: o, transform: n, panoIndex: D, cameraToward: N, name: w } = t;
|
|
53
|
+
const z = () => {
|
|
54
|
+
if (!l || !r || !o || !A)
|
|
55
55
|
return;
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
},
|
|
59
|
-
|
|
56
|
+
const e = A.current.clientWidth / window.innerWidth * 100, c = A.current.clientHeight / window.innerHeight * 100;
|
|
57
|
+
l <= e / 2 || l >= 100 - e / 2 || r <= c / 2 || r >= 100 - c / 2;
|
|
58
|
+
}, b = (e) => {
|
|
59
|
+
a && a();
|
|
60
60
|
};
|
|
61
|
-
function
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
function T(e) {
|
|
62
|
+
Z[e ? "unshift" : "push"](() => {
|
|
63
|
+
A = e, i(2, A);
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
return
|
|
67
|
-
"props" in
|
|
68
|
-
},
|
|
66
|
+
return g.$$set = (e) => {
|
|
67
|
+
"props" in e && i(0, t = e.props), "onClick" in e && i(1, a = e.onClick);
|
|
68
|
+
}, z(), [
|
|
69
|
+
t,
|
|
69
70
|
a,
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
A,
|
|
72
|
+
l,
|
|
73
|
+
r,
|
|
72
74
|
o,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
L,
|
|
79
|
-
P
|
|
75
|
+
n,
|
|
76
|
+
N,
|
|
77
|
+
w,
|
|
78
|
+
b,
|
|
79
|
+
T
|
|
80
80
|
];
|
|
81
81
|
}
|
|
82
|
-
class
|
|
83
|
-
constructor(
|
|
84
|
-
super(),
|
|
82
|
+
class h extends L {
|
|
83
|
+
constructor(I) {
|
|
84
|
+
super(), m(this, I, U, x, O, { props: 0, onClick: 1 }, k);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
export {
|
|
88
|
-
|
|
88
|
+
h as default
|
|
89
89
|
};
|
|
@@ -19,7 +19,7 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
19
19
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
20
20
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
22
|
-
import "../shared-utils/
|
|
22
|
+
import "../shared-utils/absoluteUrl.js";
|
|
23
23
|
import "./DoorLabelItem.js";
|
|
24
24
|
import "../vendor/svelte/internal/index.js";
|
|
25
25
|
import "../vendor/classnames/index.js";
|
|
@@ -1,130 +1,197 @@
|
|
|
1
|
-
import { SvelteComponent as q, init as A, safe_not_equal as D, append_styles as T, binding_callbacks as W, bind as j, element as
|
|
1
|
+
import { SvelteComponent as q, init as A, safe_not_equal as D, append_styles as T, binding_callbacks as W, bind as j, element as d, create_component as C, space as _, attr as u, insert as E, mount_component as w, append as c, add_flush_callback as B, transition_in as k, transition_out as M, detach as S, destroy_component as $, onMount as F, onDestroy as G, listen as x, noop as H, run_all as J } from "../../vendor/svelte/internal/index.js";
|
|
2
2
|
import K from "./Common/Switcher0.js";
|
|
3
3
|
import L from "./Common/Exit.js";
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
import N from "../Controller/EditController.js";
|
|
5
|
+
import "../Model/line.js";
|
|
6
|
+
import "../../shared-utils/uuid.js";
|
|
7
|
+
import "../utils/line.js";
|
|
8
|
+
import "@realsee/five/line";
|
|
9
|
+
import "../utils/constants.js";
|
|
10
|
+
import "three";
|
|
11
|
+
import "@realsee/five";
|
|
12
|
+
import "../utils/dom/distanceItem.js";
|
|
13
|
+
import "../utils/dom/base.js";
|
|
14
|
+
import "../utils/isNDCPointInScreen.js";
|
|
15
|
+
import "../Model/point.js";
|
|
16
|
+
import "../../shared-utils/removeArrayItem.js";
|
|
17
|
+
import "../../shared-utils/throttle.js";
|
|
18
|
+
import "../Controller/BaseController.js";
|
|
19
|
+
import "../utils/ironbox.js";
|
|
20
|
+
import "../Model/polyline.js";
|
|
21
|
+
import "../Model/area.js";
|
|
22
|
+
import "../Model/polygon.js";
|
|
23
|
+
import "../../shared-utils/three/IObject3D.js";
|
|
24
|
+
import "../utils/generatePolygonGeometry.js";
|
|
25
|
+
import "earcut";
|
|
26
|
+
import "../utils/dom/areaDom.js";
|
|
27
|
+
import "../utils/geometryUtil.js";
|
|
28
|
+
import "../../shared-utils/three/centerPoint.js";
|
|
29
|
+
import "../utils/isIntersecting.js";
|
|
30
|
+
import "../../shared-utils/three/PointSelector.js";
|
|
31
|
+
import "../../shared-utils/three/PointSelectorHelper.js";
|
|
32
|
+
import "../../shared-utils/three/Magnifier.js";
|
|
33
|
+
import "hammerjs";
|
|
34
|
+
import "../../shared-utils/three/getIntersect.js";
|
|
35
|
+
import "../../shared-utils/three/PointHelper.js";
|
|
36
|
+
import "../../shared-utils/three/Assets/index.js";
|
|
37
|
+
import "../../shared-utils/three/PointDomHelper.js";
|
|
38
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
39
|
+
import "../Modules/rangePiece/html.js";
|
|
40
|
+
import "../../CSS3DRenderPlugin/index.js";
|
|
41
|
+
import "../../CSS3DRenderPlugin/Controller.js";
|
|
42
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
43
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
44
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
45
|
+
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
46
|
+
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
47
|
+
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
48
|
+
import "../../shared-utils/Subscribe.js";
|
|
49
|
+
import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
50
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
51
|
+
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
52
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
53
|
+
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
54
|
+
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
55
|
+
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
56
|
+
import "../../shared-utils/absoluteUrl.js";
|
|
57
|
+
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
58
|
+
import "../../shared-utils/animationFrame/index.js";
|
|
59
|
+
import "../../shared-utils/isTouchDevice.js";
|
|
60
|
+
import "../../shared-utils/getIntersectionFromEvent.js";
|
|
61
|
+
import "../../shared-utils/getPointFromHammerEvent.js";
|
|
62
|
+
import "../Modules/DeleteDom/index.js";
|
|
63
|
+
import "../Modules/DeleteDom/_Assets/delete.svg.js";
|
|
64
|
+
import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
65
|
+
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
66
|
+
import "../utils/findAssociatedLines.js";
|
|
67
|
+
import "../utils/math.js";
|
|
68
|
+
function O(n) {
|
|
69
|
+
T(n, "svelte-y31iee", ".Measure-Controller.svelte-y31iee.svelte-y31iee{pointer-events:none}.Measure-Controller.svelte-y31iee .mode-switcher.svelte-y31iee{margin-top:2.25rem}.Measure-Controller.svelte-y31iee .bottom.svelte-y31iee{position:absolute;width:100%;bottom:2.5rem}.Measure-Controller.svelte-y31iee .bottom .center.svelte-y31iee{display:flex;flex-direction:column;align-items:center}.Measure-Controller.svelte-y31iee .buttons.svelte-y31iee{pointer-events:all;cursor:pointer;display:flex;align-items:center;height:2.5rem;background:rgba(0, 0, 0, 0.2);color:rgba(255, 255, 255, 0.85);width:-moz-max-content;width:max-content;border-radius:624.9375rem;overflow:hidden}.Measure-Controller.svelte-y31iee .buttons .button.svelte-y31iee{font-size:0.875rem;padding:0rem 1rem}");
|
|
6
70
|
}
|
|
7
|
-
function I(
|
|
8
|
-
let t,
|
|
71
|
+
function I(n) {
|
|
72
|
+
let t, o, r, l, s, a;
|
|
9
73
|
return {
|
|
10
74
|
c() {
|
|
11
|
-
t =
|
|
75
|
+
t = d("div"), o = d("div"), o.textContent = "撤销", r = _(), l = d("div"), l.textContent = "结束", u(o, "class", "button svelte-y31iee"), u(l, "class", "button svelte-y31iee"), u(t, "class", "buttons svelte-y31iee");
|
|
12
76
|
},
|
|
13
|
-
m(
|
|
14
|
-
E(
|
|
77
|
+
m(m, p) {
|
|
78
|
+
E(m, t, p), c(t, o), c(t, r), c(t, l), s || (a = [
|
|
15
79
|
x(
|
|
16
|
-
|
|
80
|
+
o,
|
|
17
81
|
"click",
|
|
18
82
|
/*click_handler*/
|
|
19
|
-
|
|
83
|
+
n[4]
|
|
20
84
|
),
|
|
21
85
|
x(
|
|
22
|
-
|
|
86
|
+
l,
|
|
23
87
|
"click",
|
|
24
|
-
/*
|
|
25
|
-
|
|
88
|
+
/*complete*/
|
|
89
|
+
n[3]
|
|
26
90
|
)
|
|
27
|
-
],
|
|
91
|
+
], s = !0);
|
|
28
92
|
},
|
|
29
93
|
p: H,
|
|
30
|
-
d(
|
|
31
|
-
|
|
94
|
+
d(m) {
|
|
95
|
+
m && S(t), s = !1, J(a);
|
|
32
96
|
}
|
|
33
97
|
};
|
|
34
98
|
}
|
|
35
|
-
function
|
|
36
|
-
let t,
|
|
37
|
-
|
|
99
|
+
function P(n) {
|
|
100
|
+
let t, o, r, l, s, a, m, p, h, f;
|
|
101
|
+
o = new L({
|
|
38
102
|
props: {
|
|
39
103
|
onClick: (
|
|
40
104
|
/*measureController*/
|
|
41
|
-
|
|
105
|
+
n[0].disable
|
|
42
106
|
)
|
|
43
107
|
}
|
|
44
108
|
});
|
|
45
109
|
let e = (
|
|
46
110
|
/*showController*/
|
|
47
|
-
|
|
111
|
+
n[2] && I(n)
|
|
48
112
|
);
|
|
49
|
-
function z(
|
|
50
|
-
|
|
113
|
+
function z(i) {
|
|
114
|
+
n[6](i);
|
|
51
115
|
}
|
|
52
116
|
let b = {
|
|
53
117
|
options: [{ key: "line", value: "测距离" }, { key: "area", value: "测面积" }],
|
|
54
118
|
onChange: (
|
|
55
119
|
/*func*/
|
|
56
|
-
|
|
120
|
+
n[5]
|
|
57
121
|
)
|
|
58
122
|
};
|
|
59
123
|
return (
|
|
60
124
|
/*setSwitcherActiveIndex*/
|
|
61
|
-
|
|
62
|
-
|
|
125
|
+
n[1] !== void 0 && (b.setIndex = /*setSwitcherActiveIndex*/
|
|
126
|
+
n[1]), p = new K({ props: b }), W.push(() => j(p, "setIndex", z)), {
|
|
63
127
|
c() {
|
|
64
|
-
t =
|
|
128
|
+
t = d("div"), C(o.$$.fragment), r = _(), l = d("div"), s = d("div"), e && e.c(), a = _(), m = d("div"), C(p.$$.fragment), u(m, "class", "mode-switcher svelte-y31iee"), u(s, "class", "center svelte-y31iee"), u(l, "class", "bottom svelte-y31iee"), u(t, "class", "Measure-Controller svelte-y31iee");
|
|
65
129
|
},
|
|
66
|
-
m(
|
|
67
|
-
E(
|
|
130
|
+
m(i, v) {
|
|
131
|
+
E(i, t, v), w(o, t, null), c(t, r), c(t, l), c(l, s), e && e.m(s, null), c(s, a), c(s, m), w(p, m, null), f = !0;
|
|
68
132
|
},
|
|
69
|
-
p(
|
|
133
|
+
p(i, [v]) {
|
|
70
134
|
const y = {};
|
|
71
|
-
|
|
135
|
+
v & /*measureController*/
|
|
72
136
|
1 && (y.onClick = /*measureController*/
|
|
73
|
-
|
|
74
|
-
|
|
137
|
+
i[0].disable), o.$set(y), /*showController*/
|
|
138
|
+
i[2] ? e ? e.p(i, v) : (e = I(i), e.c(), e.m(s, a)) : e && (e.d(1), e = null);
|
|
75
139
|
const g = {};
|
|
76
|
-
|
|
140
|
+
v & /*measureController*/
|
|
77
141
|
1 && (g.onChange = /*func*/
|
|
78
|
-
|
|
79
|
-
2 && (
|
|
80
|
-
|
|
142
|
+
i[5]), !h && v & /*setSwitcherActiveIndex*/
|
|
143
|
+
2 && (h = !0, g.setIndex = /*setSwitcherActiveIndex*/
|
|
144
|
+
i[1], B(() => h = !1)), p.$set(g);
|
|
81
145
|
},
|
|
82
|
-
i(
|
|
83
|
-
|
|
146
|
+
i(i) {
|
|
147
|
+
f || (k(o.$$.fragment, i), k(p.$$.fragment, i), f = !0);
|
|
84
148
|
},
|
|
85
|
-
o(
|
|
86
|
-
M(
|
|
149
|
+
o(i) {
|
|
150
|
+
M(o.$$.fragment, i), M(p.$$.fragment, i), f = !1;
|
|
87
151
|
},
|
|
88
|
-
d(
|
|
89
|
-
|
|
152
|
+
d(i) {
|
|
153
|
+
i && S(t), $(o), e && e.d(), $(p);
|
|
90
154
|
}
|
|
91
155
|
}
|
|
92
156
|
);
|
|
93
157
|
}
|
|
94
|
-
function
|
|
95
|
-
let { measureController:
|
|
96
|
-
function
|
|
97
|
-
e === "Edit" ?
|
|
158
|
+
function Q(n, t, o) {
|
|
159
|
+
let { measureController: r } = t, l;
|
|
160
|
+
function s(e) {
|
|
161
|
+
e === "Edit" ? o(2, m = !0) : (l(null), o(2, m = !1));
|
|
162
|
+
}
|
|
163
|
+
function a() {
|
|
164
|
+
r.controller instanceof N && r.controller.complete(), r.save({ mode: "Watch" });
|
|
98
165
|
}
|
|
99
166
|
F(() => {
|
|
100
|
-
|
|
167
|
+
r.hook.on("modeChange", s);
|
|
101
168
|
}), G(() => {
|
|
102
|
-
|
|
169
|
+
r.hook.off("modeChange", s);
|
|
103
170
|
});
|
|
104
|
-
let
|
|
105
|
-
const
|
|
106
|
-
|
|
171
|
+
let m = !1;
|
|
172
|
+
const p = () => r.revoke(), h = (e) => {
|
|
173
|
+
r.save().changeMode("Edit"), r.changeMeasureType(e);
|
|
107
174
|
};
|
|
108
|
-
function
|
|
109
|
-
|
|
175
|
+
function f(e) {
|
|
176
|
+
l = e, o(1, l);
|
|
110
177
|
}
|
|
111
|
-
return
|
|
112
|
-
"measureController" in e &&
|
|
178
|
+
return n.$$set = (e) => {
|
|
179
|
+
"measureController" in e && o(0, r = e.measureController);
|
|
113
180
|
}, [
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
d,
|
|
181
|
+
r,
|
|
182
|
+
l,
|
|
183
|
+
m,
|
|
118
184
|
a,
|
|
119
185
|
p,
|
|
120
|
-
|
|
186
|
+
h,
|
|
187
|
+
f
|
|
121
188
|
];
|
|
122
189
|
}
|
|
123
|
-
class
|
|
190
|
+
class st extends q {
|
|
124
191
|
constructor(t) {
|
|
125
|
-
super(), A(this, t,
|
|
192
|
+
super(), A(this, t, Q, P, D, { measureController: 0 }, O);
|
|
126
193
|
}
|
|
127
194
|
}
|
|
128
195
|
export {
|
|
129
|
-
|
|
196
|
+
st as default
|
|
130
197
|
};
|