@realsee/dnalogel 2.22.0-dev.8 → 2.23.0
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/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
- package/dist/index.cjs.js +65 -65
- package/dist/index.js +4614 -4447
- package/dist/index.umd.js +58 -58
- 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 +13 -13
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +48 -48
- 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/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 +6 -6
- 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 +8 -8
- 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 +6 -6
- 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 +14 -14
- 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/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/CruisePlugin/Controller.js +103 -90
- package/libs/CruisePlugin/index.js +22 -9
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +38 -25
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +24 -11
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +48 -37
- package/libs/PanoMeasurePlugin/Components/Controller1.js +59 -48
- package/libs/PanoMeasurePlugin/Components/Tip.js +74 -64
- package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +25 -15
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -5
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
- package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
- package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +95 -82
- package/libs/PanoTagPlugin/index.js +26 -13
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +16 -13
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +25 -20
- package/libs/floorplan/Components/Main.js +58 -49
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +126 -112
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +1 -1
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -1,12 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { safe_not_equal as Z } from "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as x, element as C, space as $, attr as _, toggle_class as R, insert as B, append as v, detach as D, text as N, set_style as Q, listen as V } from "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { transition_in as h, transition_out as k, check_outros as z, create_bidirectional_transition as E, group_outros as A } from "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
4
|
+
import { add_render_callback as I } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
5
|
+
import { onMount as ee, onDestroy as te } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
6
|
+
import { SvelteComponent as oe, init as re, create_component as K, mount_component as q, destroy_component as O } from "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
7
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
2
8
|
import ie from "./Common/Switcher1.js";
|
|
3
9
|
import le from "./Common/CircleButton.js";
|
|
4
10
|
import F from "../Controller/EditController.js";
|
|
5
11
|
import ne from "./Common/Exit.js";
|
|
6
|
-
import { fade as S } from "../../vendor/svelte/transition/index.js";
|
|
12
|
+
import { fade as S } from "../../vendor/svelte/src/runtime/transition/index.js";
|
|
7
13
|
import { IconUndo as se, IconOk as ae } from "./Common/icons/index.js";
|
|
14
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
15
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
16
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
17
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
18
|
+
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
8
19
|
import "../Modules/UIController/mobileHTML.js";
|
|
9
|
-
import "../../vendor/svelte/easing/index.js";
|
|
20
|
+
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
10
21
|
import "../Model/line.js";
|
|
11
22
|
import "../../shared-utils/uuid.js";
|
|
12
23
|
import "../utils/line.js";
|
|
@@ -70,8 +81,8 @@ import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
|
70
81
|
import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
71
82
|
import "../utils/findAssociatedLines.js";
|
|
72
83
|
import "../utils/math.js";
|
|
73
|
-
function
|
|
74
|
-
|
|
84
|
+
function me(o) {
|
|
85
|
+
x(o, "svelte-ldjbp8", "*.forbid.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none;position:relative;width:100%;height:100%;z-index:2;color:white}.Measure-Controller.svelte-ldjbp8 .mode-switcher.svelte-ldjbp8{margin-top:2.25rem}.Measure-Controller.svelte-ldjbp8 .bottom.svelte-ldjbp8{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-ldjbp8 .bottom .mask.svelte-ldjbp8{position:absolute;bottom:0;width:100%;height:12.5rem;background-size:100%;z-index:-1;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5))}.Measure-Controller.svelte-ldjbp8 .bottom .center.svelte-ldjbp8{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-ldjbp8 .controller.svelte-ldjbp8{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-ldjbp8 .controller .button.svelte-ldjbp8{cursor:pointer;display:flex;align-items:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;color:#fff;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-ldjbp8 .controller .button .icon.svelte-ldjbp8{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin:0 0.25rem}.Measure-Controller.svelte-ldjbp8 .controller .main-button.svelte-ldjbp8{margin-left:1.75rem;margin-right:1.75rem;font-size:0.875rem;font-weight:bold}");
|
|
75
86
|
}
|
|
76
87
|
function G(o) {
|
|
77
88
|
let t, l;
|
|
@@ -84,10 +95,10 @@ function G(o) {
|
|
|
84
95
|
}
|
|
85
96
|
}), {
|
|
86
97
|
c() {
|
|
87
|
-
|
|
98
|
+
K(t.$$.fragment);
|
|
88
99
|
},
|
|
89
100
|
m(e, i) {
|
|
90
|
-
|
|
101
|
+
q(t, e, i), l = !0;
|
|
91
102
|
},
|
|
92
103
|
p(e, i) {
|
|
93
104
|
const n = {};
|
|
@@ -102,7 +113,7 @@ function G(o) {
|
|
|
102
113
|
k(t.$$.fragment, e), l = !1;
|
|
103
114
|
},
|
|
104
115
|
d(e) {
|
|
105
|
-
|
|
116
|
+
O(t, e);
|
|
106
117
|
}
|
|
107
118
|
};
|
|
108
119
|
}
|
|
@@ -122,22 +133,22 @@ function H(o) {
|
|
|
122
133
|
}
|
|
123
134
|
}), {
|
|
124
135
|
c() {
|
|
125
|
-
t = C("div"),
|
|
136
|
+
t = C("div"), K(l.$$.fragment), _(t, "class", "mode-switcher svelte-ldjbp8");
|
|
126
137
|
},
|
|
127
|
-
m(n,
|
|
128
|
-
B(n, t,
|
|
138
|
+
m(n, m) {
|
|
139
|
+
B(n, t, m), q(l, t, null), i = !0;
|
|
129
140
|
},
|
|
130
|
-
p(n,
|
|
141
|
+
p(n, m) {
|
|
131
142
|
o = n;
|
|
132
143
|
const b = {};
|
|
133
|
-
|
|
144
|
+
m & /*measureController*/
|
|
134
145
|
1 && (b.defaultKey = /*measureController*/
|
|
135
|
-
o[0].currentMeasureType),
|
|
146
|
+
o[0].currentMeasureType), m & /*measureController*/
|
|
136
147
|
1 && (b.onChange = /*measureController*/
|
|
137
148
|
o[0].changeMeasureType), l.$set(b);
|
|
138
149
|
},
|
|
139
150
|
i(n) {
|
|
140
|
-
i || (h(l.$$.fragment, n), n &&
|
|
151
|
+
i || (h(l.$$.fragment, n), n && I(() => {
|
|
141
152
|
i && (e || (e = E(t, S, { duration: P }, !0)), e.run(1));
|
|
142
153
|
}), i = !0);
|
|
143
154
|
},
|
|
@@ -145,12 +156,12 @@ function H(o) {
|
|
|
145
156
|
k(l.$$.fragment, n), n && (e || (e = E(t, S, { duration: P }, !1)), e.run(0)), i = !1;
|
|
146
157
|
},
|
|
147
158
|
d(n) {
|
|
148
|
-
n && D(t),
|
|
159
|
+
n && D(t), O(l), n && e && e.end();
|
|
149
160
|
}
|
|
150
161
|
};
|
|
151
162
|
}
|
|
152
163
|
function J(o) {
|
|
153
|
-
let t, l, e, i, n,
|
|
164
|
+
let t, l, e, i, n, m, b;
|
|
154
165
|
return {
|
|
155
166
|
c() {
|
|
156
167
|
t = C("div"), l = C("div"), e = N(`
|
|
@@ -162,12 +173,12 @@ function J(o) {
|
|
|
162
173
|
);
|
|
163
174
|
},
|
|
164
175
|
m(r, u) {
|
|
165
|
-
B(r, t, u), v(t, l), v(t, e), n = !0,
|
|
176
|
+
B(r, t, u), v(t, l), v(t, e), n = !0, m || (b = V(
|
|
166
177
|
t,
|
|
167
178
|
"click",
|
|
168
179
|
/*click_handler*/
|
|
169
180
|
o[12]
|
|
170
|
-
),
|
|
181
|
+
), m = !0);
|
|
171
182
|
},
|
|
172
183
|
p(r, u) {
|
|
173
184
|
o = r, (!n || u & /*buttonState*/
|
|
@@ -179,7 +190,7 @@ function J(o) {
|
|
|
179
190
|
);
|
|
180
191
|
},
|
|
181
192
|
i(r) {
|
|
182
|
-
n || (r &&
|
|
193
|
+
n || (r && I(() => {
|
|
183
194
|
n && (i || (i = E(t, S, { duration: P }, !0)), i.run(1));
|
|
184
195
|
}), n = !0);
|
|
185
196
|
},
|
|
@@ -187,30 +198,30 @@ function J(o) {
|
|
|
187
198
|
r && (i || (i = E(t, S, { duration: P }, !1)), i.run(0)), n = !1;
|
|
188
199
|
},
|
|
189
200
|
d(r) {
|
|
190
|
-
r && D(t), r && i && i.end(),
|
|
201
|
+
r && D(t), r && i && i.end(), m = !1, b();
|
|
191
202
|
}
|
|
192
203
|
};
|
|
193
204
|
}
|
|
194
205
|
function L(o) {
|
|
195
|
-
let t, l, e, i, n,
|
|
206
|
+
let t, l, e, i, n, m, b;
|
|
196
207
|
return {
|
|
197
208
|
c() {
|
|
198
209
|
t = C("div"), l = C("div"), e = N(`
|
|
199
210
|
结束`), _(l, "class", "icon svelte-ldjbp8"), Q(l, "background-image", `url(${ae})`), _(t, "class", "button svelte-ldjbp8");
|
|
200
211
|
},
|
|
201
212
|
m(r, u) {
|
|
202
|
-
B(r, t, u), v(t, l), v(t, e), n = !0,
|
|
213
|
+
B(r, t, u), v(t, l), v(t, e), n = !0, m || (b = V(
|
|
203
214
|
t,
|
|
204
215
|
"click",
|
|
205
216
|
/*complete*/
|
|
206
217
|
o[9]
|
|
207
|
-
),
|
|
218
|
+
), m = !0);
|
|
208
219
|
},
|
|
209
220
|
p(r, u) {
|
|
210
221
|
o = r;
|
|
211
222
|
},
|
|
212
223
|
i(r) {
|
|
213
|
-
n || (r &&
|
|
224
|
+
n || (r && I(() => {
|
|
214
225
|
n && (i || (i = E(t, S, { duration: P }, !0)), i.run(1));
|
|
215
226
|
}), n = !0);
|
|
216
227
|
},
|
|
@@ -218,15 +229,15 @@ function L(o) {
|
|
|
218
229
|
r && (i || (i = E(t, S, { duration: P }, !1)), i.run(0)), n = !1;
|
|
219
230
|
},
|
|
220
231
|
d(r) {
|
|
221
|
-
r && D(t), r && i && i.end(),
|
|
232
|
+
r && D(t), r && i && i.end(), m = !1, b();
|
|
222
233
|
}
|
|
223
234
|
};
|
|
224
235
|
}
|
|
225
|
-
function
|
|
226
|
-
let t, l, e, i, n,
|
|
236
|
+
function pe(o) {
|
|
237
|
+
let t, l, e, i, n, m, b, r, u, j, w, y, T, a = (
|
|
227
238
|
/*showExit*/
|
|
228
239
|
o[1] && G(o)
|
|
229
|
-
),
|
|
240
|
+
), p = (
|
|
230
241
|
/*measureController*/
|
|
231
242
|
o[0].allowMeasureType.length >= 2 && /*buttonState*/
|
|
232
243
|
o[2] === "start" && H(o)
|
|
@@ -262,11 +273,11 @@ function me(o) {
|
|
|
262
273
|
);
|
|
263
274
|
return {
|
|
264
275
|
c() {
|
|
265
|
-
t = C("div"), a && a.c(), l = $(), e = C("div"), i = C("div"), n = $(),
|
|
266
|
-
o[4]), _(r, "class", "controller svelte-ldjbp8"), _(
|
|
276
|
+
t = C("div"), a && a.c(), l = $(), e = C("div"), i = C("div"), n = $(), m = C("div"), p && p.c(), b = $(), r = C("div"), f && f.c(), u = $(), j = C("div"), K(w.$$.fragment), y = $(), d && d.c(), _(i, "class", "mask svelte-ldjbp8"), _(j, "class", "main-button svelte-ldjbp8"), R(j, "forbid", !/*allowAddPoint*/
|
|
277
|
+
o[4]), _(r, "class", "controller svelte-ldjbp8"), _(m, "class", "center svelte-ldjbp8"), _(e, "class", "bottom svelte-ldjbp8"), _(t, "class", "Measure-Controller svelte-ldjbp8");
|
|
267
278
|
},
|
|
268
279
|
m(s, c) {
|
|
269
|
-
B(s, t, c), a && a.m(t, null), v(t, l), v(t, e), v(e, i), v(e, n), v(e,
|
|
280
|
+
B(s, t, c), a && a.m(t, null), v(t, l), v(t, e), v(e, i), v(e, n), v(e, m), p && p.m(m, null), v(m, b), v(m, r), f && f.m(r, null), v(r, u), v(r, j), q(w, j, null), v(r, y), d && d.m(r, null), T = !0;
|
|
270
281
|
},
|
|
271
282
|
p(s, [c]) {
|
|
272
283
|
/*showExit*/
|
|
@@ -275,9 +286,9 @@ function me(o) {
|
|
|
275
286
|
a = null;
|
|
276
287
|
}), z()), /*measureController*/
|
|
277
288
|
s[0].allowMeasureType.length >= 2 && /*buttonState*/
|
|
278
|
-
s[2] === "start" ?
|
|
279
|
-
5 && h(
|
|
280
|
-
|
|
289
|
+
s[2] === "start" ? p ? (p.p(s, c), c & /*measureController, buttonState*/
|
|
290
|
+
5 && h(p, 1)) : (p = H(s), p.c(), h(p, 1), p.m(m, b)) : p && (A(), k(p, 1, 1, () => {
|
|
291
|
+
p = null;
|
|
281
292
|
}), z()), /*showButton*/
|
|
282
293
|
s[3] ? f ? (f.p(s, c), c & /*showButton*/
|
|
283
294
|
8 && h(f, 1)) : (f = J(s), f.c(), h(f, 1), f.m(r, u)) : f && (A(), k(f, 1, 1, () => {
|
|
@@ -305,13 +316,13 @@ function me(o) {
|
|
|
305
316
|
}), z());
|
|
306
317
|
},
|
|
307
318
|
i(s) {
|
|
308
|
-
T || (h(a), h(
|
|
319
|
+
T || (h(a), h(p), h(f), h(w.$$.fragment, s), h(d), T = !0);
|
|
309
320
|
},
|
|
310
321
|
o(s) {
|
|
311
|
-
k(a), k(
|
|
322
|
+
k(a), k(p), k(f), k(w.$$.fragment, s), k(d), T = !1;
|
|
312
323
|
},
|
|
313
324
|
d(s) {
|
|
314
|
-
s && D(t), a && a.d(),
|
|
325
|
+
s && D(t), a && a.d(), p && p.d(), f && f.d(), O(w), d && d.d();
|
|
315
326
|
}
|
|
316
327
|
};
|
|
317
328
|
}
|
|
@@ -323,7 +334,7 @@ function fe(o, t, l) {
|
|
|
323
334
|
add: "添加",
|
|
324
335
|
end: "结束",
|
|
325
336
|
complete: "完成"
|
|
326
|
-
},
|
|
337
|
+
}, m = {
|
|
327
338
|
start: "white",
|
|
328
339
|
add: "white",
|
|
329
340
|
end: "blue",
|
|
@@ -338,7 +349,7 @@ function fe(o, t, l) {
|
|
|
338
349
|
e.controller instanceof F && e.controller.complete();
|
|
339
350
|
}, a = (g) => {
|
|
340
351
|
l(2, u = g);
|
|
341
|
-
},
|
|
352
|
+
}, p = () => {
|
|
342
353
|
y(), M("allow");
|
|
343
354
|
}, f = () => {
|
|
344
355
|
a("complete");
|
|
@@ -355,13 +366,13 @@ function fe(o, t, l) {
|
|
|
355
366
|
}, W = (g) => {
|
|
356
367
|
g.isEmpty && a("start");
|
|
357
368
|
};
|
|
358
|
-
|
|
369
|
+
ee(() => {
|
|
359
370
|
e.hook.on("revoke", W), e.hook.on("measureTypeChange", U), e.hook.on("modeChange", c), e.hook.on("pointsChange", s), e.hook.on("allowAddPointStateChange", M), e.hook.on("readyComplete", f), e.hook.on("notReadyComplete", d), e.hook.on("complete", c);
|
|
360
|
-
}),
|
|
371
|
+
}), te(() => {
|
|
361
372
|
e.hook.off("measureTypeChange", U), e.hook.off("modeChange", c), e.hook.off("allowAddPointStateChange", M), e.hook.off("readyComplete", f), e.hook.off("pointsChange", s), e.hook.off("notReadyComplete", d), e.hook.off("complete", c);
|
|
362
373
|
});
|
|
363
374
|
const X = () => e.revoke(), Y = () => {
|
|
364
|
-
u === "start" ? w() : u === "add" ? y() : (u === "end" || u === "complete") &&
|
|
375
|
+
u === "start" ? w() : u === "add" ? y() : (u === "end" || u === "complete") && p();
|
|
365
376
|
};
|
|
366
377
|
return o.$$set = (g) => {
|
|
367
378
|
"measureController" in g && l(0, e = g.measureController), "showExit" in g && l(1, i = g.showExit);
|
|
@@ -375,21 +386,21 @@ function fe(o, t, l) {
|
|
|
375
386
|
b,
|
|
376
387
|
r,
|
|
377
388
|
n,
|
|
378
|
-
|
|
389
|
+
m,
|
|
379
390
|
w,
|
|
380
391
|
y,
|
|
381
392
|
T,
|
|
382
|
-
|
|
393
|
+
p,
|
|
383
394
|
j,
|
|
384
395
|
X,
|
|
385
396
|
Y
|
|
386
397
|
];
|
|
387
398
|
}
|
|
388
|
-
class
|
|
399
|
+
class Ft extends oe {
|
|
389
400
|
constructor(t) {
|
|
390
|
-
super(),
|
|
401
|
+
super(), re(this, t, fe, pe, Z, { measureController: 0, showExit: 1 }, me);
|
|
391
402
|
}
|
|
392
403
|
}
|
|
393
404
|
export {
|
|
394
|
-
|
|
405
|
+
Ft as default
|
|
395
406
|
};
|
|
@@ -1,120 +1,130 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "../../vendor/svelte/
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { safe_not_equal as D } from "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as E, empty as N, insert as w, detach as q, element as b, text as O, attr as k, append as C, set_data as P } from "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { transition_in as d, transition_out as y, check_outros as W, create_bidirectional_transition as T, group_outros as j } from "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
4
|
+
import { add_render_callback as A, binding_callbacks as B } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
5
|
+
import { onMount as F, onDestroy as G } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
6
|
+
import { SvelteComponent as H, init as I } from "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
7
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
8
|
+
import { fade as v } from "../../vendor/svelte/src/runtime/transition/index.js";
|
|
9
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
10
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
11
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
12
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
13
|
+
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
14
|
+
function J(n) {
|
|
15
|
+
E(n, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
|
|
6
16
|
}
|
|
7
|
-
function M(
|
|
8
|
-
let
|
|
17
|
+
function M(n) {
|
|
18
|
+
let i, e, t, r, s;
|
|
9
19
|
return {
|
|
10
20
|
c() {
|
|
11
|
-
|
|
21
|
+
i = b("div"), e = b("div"), t = O(
|
|
12
22
|
/*tip*/
|
|
13
|
-
|
|
14
|
-
),
|
|
23
|
+
n[2]
|
|
24
|
+
), k(e, "class", "text svelte-1q8gtp4"), k(i, "class", "Measure-Tips svelte-1q8gtp4");
|
|
15
25
|
},
|
|
16
|
-
m(l,
|
|
17
|
-
w(l,
|
|
26
|
+
m(l, f) {
|
|
27
|
+
w(l, i, f), C(i, e), C(e, t), n[6](e), s = !0;
|
|
18
28
|
},
|
|
19
|
-
p(l,
|
|
20
|
-
(!
|
|
21
|
-
4) &&
|
|
22
|
-
|
|
29
|
+
p(l, f) {
|
|
30
|
+
(!s || f & /*tip*/
|
|
31
|
+
4) && P(
|
|
32
|
+
t,
|
|
23
33
|
/*tip*/
|
|
24
34
|
l[2]
|
|
25
35
|
);
|
|
26
36
|
},
|
|
27
37
|
i(l) {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}),
|
|
38
|
+
s || (l && A(() => {
|
|
39
|
+
s && (r || (r = T(i, v, {}, !0)), r.run(1));
|
|
40
|
+
}), s = !0);
|
|
31
41
|
},
|
|
32
42
|
o(l) {
|
|
33
|
-
|
|
43
|
+
l && (r || (r = T(i, v, {}, !1)), r.run(0)), s = !1;
|
|
34
44
|
},
|
|
35
45
|
d(l) {
|
|
36
|
-
l && q(
|
|
46
|
+
l && q(i), n[6](null), l && r && r.end();
|
|
37
47
|
}
|
|
38
48
|
};
|
|
39
49
|
}
|
|
40
|
-
function K(
|
|
41
|
-
let
|
|
50
|
+
function K(n) {
|
|
51
|
+
let i, e = (
|
|
42
52
|
/*visible*/
|
|
43
|
-
|
|
53
|
+
n[0] && M(n)
|
|
44
54
|
);
|
|
45
55
|
return {
|
|
46
56
|
c() {
|
|
47
|
-
e && e.c(),
|
|
57
|
+
e && e.c(), i = N();
|
|
48
58
|
},
|
|
49
59
|
m(t, r) {
|
|
50
|
-
e && e.m(t, r), w(t,
|
|
60
|
+
e && e.m(t, r), w(t, i, r);
|
|
51
61
|
},
|
|
52
62
|
p(t, [r]) {
|
|
53
63
|
/*visible*/
|
|
54
64
|
t[0] ? e ? (e.p(t, r), r & /*visible*/
|
|
55
|
-
1 &&
|
|
65
|
+
1 && d(e, 1)) : (e = M(t), e.c(), d(e, 1), e.m(i.parentNode, i)) : e && (j(), y(e, 1, 1, () => {
|
|
56
66
|
e = null;
|
|
57
67
|
}), W());
|
|
58
68
|
},
|
|
59
69
|
i(t) {
|
|
60
|
-
|
|
70
|
+
d(e);
|
|
61
71
|
},
|
|
62
72
|
o(t) {
|
|
63
|
-
|
|
73
|
+
y(e);
|
|
64
74
|
},
|
|
65
75
|
d(t) {
|
|
66
|
-
|
|
76
|
+
t && q(i), e && e.d(t);
|
|
67
77
|
}
|
|
68
78
|
};
|
|
69
79
|
}
|
|
70
|
-
function L(
|
|
71
|
-
let { measureController:
|
|
80
|
+
function L(n, i, e) {
|
|
81
|
+
let { measureController: t } = i, { tips: r } = i, { tipStyle: s = {} } = i, { visible: l = !0 } = i, f = null;
|
|
72
82
|
const x = (o) => {
|
|
73
|
-
const z =
|
|
74
|
-
let
|
|
75
|
-
return
|
|
83
|
+
const z = t.currentMeasureType;
|
|
84
|
+
let p = "";
|
|
85
|
+
return p = r[o], p === void 0 && (p = r[z][o]), p;
|
|
76
86
|
}, u = (o) => {
|
|
77
|
-
|
|
78
|
-
},
|
|
79
|
-
|
|
87
|
+
e(2, c = x(o));
|
|
88
|
+
}, a = () => {
|
|
89
|
+
e(2, c = "");
|
|
80
90
|
};
|
|
81
|
-
let
|
|
82
|
-
const
|
|
83
|
-
o === "Edit" &&
|
|
91
|
+
let c = "";
|
|
92
|
+
const m = (o) => {
|
|
93
|
+
o === "Edit" && t.changeMeasureType ? u("start") : a();
|
|
84
94
|
}, h = () => {
|
|
85
|
-
|
|
95
|
+
t.getCurrentMode() === "Watch" && a();
|
|
86
96
|
}, g = () => {
|
|
87
|
-
|
|
97
|
+
t.getCurrentMode() === "Edit" && u("start");
|
|
88
98
|
}, _ = (o) => {
|
|
89
|
-
|
|
99
|
+
t.currentMeasureType === "area" && (o.length >= 2 ? u("close") : o.length === 0 ? u("start") : a());
|
|
90
100
|
};
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}),
|
|
94
|
-
|
|
101
|
+
F(() => {
|
|
102
|
+
m(t.getCurrentMode()), t.hook.on("modeChange", m), t.hook.on("complete", h), t.hook.on("pointsChange", _), t.hook.on("measureTypeChange", g);
|
|
103
|
+
}), G(() => {
|
|
104
|
+
t.hook.off("modeChange", m), t.hook.off("complete", h), t.hook.off("pointsChange", _), t.hook.off("measureTypeChange", g), a();
|
|
95
105
|
});
|
|
96
106
|
function S(o) {
|
|
97
|
-
|
|
98
|
-
|
|
107
|
+
B[o ? "unshift" : "push"](() => {
|
|
108
|
+
f = o, e(1, f), e(5, s);
|
|
99
109
|
});
|
|
100
110
|
}
|
|
101
|
-
return
|
|
102
|
-
"measureController" in o &&
|
|
103
|
-
},
|
|
104
|
-
if (
|
|
105
|
-
34 &&
|
|
106
|
-
for (const o in
|
|
107
|
-
|
|
108
|
-
}, [l,
|
|
111
|
+
return n.$$set = (o) => {
|
|
112
|
+
"measureController" in o && e(3, t = o.measureController), "tips" in o && e(4, r = o.tips), "tipStyle" in o && e(5, s = o.tipStyle), "visible" in o && e(0, l = o.visible);
|
|
113
|
+
}, n.$$.update = () => {
|
|
114
|
+
if (n.$$.dirty & /*textDom, tipStyle*/
|
|
115
|
+
34 && f)
|
|
116
|
+
for (const o in s)
|
|
117
|
+
s.hasOwnProperty(o) && e(1, f.style[o] = s[o], f);
|
|
118
|
+
}, [l, f, c, t, r, s, S];
|
|
109
119
|
}
|
|
110
|
-
class
|
|
111
|
-
constructor(
|
|
112
|
-
super(),
|
|
120
|
+
class ne extends H {
|
|
121
|
+
constructor(i) {
|
|
122
|
+
super(), I(
|
|
113
123
|
this,
|
|
114
|
-
|
|
124
|
+
i,
|
|
115
125
|
L,
|
|
116
126
|
K,
|
|
117
|
-
|
|
127
|
+
D,
|
|
118
128
|
{
|
|
119
129
|
measureController: 3,
|
|
120
130
|
tips: 4,
|
|
@@ -126,5 +136,5 @@ class V extends D {
|
|
|
126
136
|
}
|
|
127
137
|
}
|
|
128
138
|
export {
|
|
129
|
-
|
|
139
|
+
ne as default
|
|
130
140
|
};
|