@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,130 +1,138 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { safe_not_equal as j, assign as L } from "../../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as z, element as W, attr as H, set_style as c, insert as R, detach as w, empty as O } from "../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { group_outros as q, check_outros as A, transition_in as T, transition_out as I } from "../../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
4
|
+
import { ensure_array_like as y, update_keyed_each as C, outro_and_destroy_block as K } from "../../../vendor/svelte/src/runtime/internal/each.js";
|
|
5
|
+
import { get_spread_update as M } from "../../../vendor/svelte/src/runtime/internal/spread.js";
|
|
6
|
+
import { SvelteComponent as S, init as B, create_component as E, mount_component as F, destroy_component as G } from "../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
7
|
+
import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
8
|
+
import { RuleItem as J } from "./RuleItem.js";
|
|
9
|
+
function N(l) {
|
|
10
|
+
z(l, "svelte-1mzj9p3", ".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}");
|
|
5
11
|
}
|
|
6
|
-
function
|
|
7
|
-
const
|
|
8
|
-
return
|
|
12
|
+
function b(l, n, t) {
|
|
13
|
+
const o = l.slice();
|
|
14
|
+
return o[13] = n[t][0], o[14] = n[t][1], o;
|
|
9
15
|
}
|
|
10
|
-
function
|
|
11
|
-
let t,
|
|
16
|
+
function D(l, n) {
|
|
17
|
+
let t, o, i;
|
|
12
18
|
const a = [
|
|
13
19
|
{
|
|
14
20
|
type: (
|
|
15
21
|
/*type*/
|
|
16
|
-
|
|
22
|
+
n[13]
|
|
17
23
|
),
|
|
18
24
|
data: (
|
|
19
25
|
/*data*/
|
|
20
|
-
|
|
26
|
+
n[14]
|
|
21
27
|
),
|
|
22
28
|
bounding: (
|
|
23
29
|
/*bounding*/
|
|
24
|
-
|
|
30
|
+
n[1]
|
|
25
31
|
),
|
|
26
32
|
getRuleDistanceText: (
|
|
27
33
|
/*getRuleDistanceText*/
|
|
28
|
-
|
|
34
|
+
n[0]
|
|
29
35
|
)
|
|
30
36
|
}
|
|
31
37
|
];
|
|
32
|
-
let
|
|
38
|
+
let f = {};
|
|
33
39
|
for (let e = 0; e < a.length; e += 1)
|
|
34
|
-
|
|
35
|
-
return
|
|
36
|
-
key:
|
|
40
|
+
f = L(f, a[e]);
|
|
41
|
+
return o = new J({ props: f }), {
|
|
42
|
+
key: l,
|
|
37
43
|
first: null,
|
|
38
44
|
c() {
|
|
39
|
-
t =
|
|
45
|
+
t = O(), E(o.$$.fragment), this.first = t;
|
|
40
46
|
},
|
|
41
|
-
m(e,
|
|
42
|
-
|
|
47
|
+
m(e, r) {
|
|
48
|
+
R(e, t, r), F(o, e, r), i = !0;
|
|
43
49
|
},
|
|
44
|
-
p(e,
|
|
45
|
-
|
|
46
|
-
const u =
|
|
47
|
-
19 ?
|
|
50
|
+
p(e, r) {
|
|
51
|
+
n = e;
|
|
52
|
+
const u = r & /*ruleLabelArray, bounding, getRuleDistanceText*/
|
|
53
|
+
19 ? M(a, [
|
|
48
54
|
{
|
|
49
55
|
type: (
|
|
50
56
|
/*type*/
|
|
51
|
-
|
|
57
|
+
n[13]
|
|
52
58
|
),
|
|
53
59
|
data: (
|
|
54
60
|
/*data*/
|
|
55
|
-
|
|
61
|
+
n[14]
|
|
56
62
|
),
|
|
57
63
|
bounding: (
|
|
58
64
|
/*bounding*/
|
|
59
|
-
|
|
65
|
+
n[1]
|
|
60
66
|
),
|
|
61
67
|
getRuleDistanceText: (
|
|
62
68
|
/*getRuleDistanceText*/
|
|
63
|
-
|
|
69
|
+
n[0]
|
|
64
70
|
)
|
|
65
71
|
}
|
|
66
72
|
]) : {};
|
|
67
|
-
|
|
73
|
+
o.$set(u);
|
|
68
74
|
},
|
|
69
75
|
i(e) {
|
|
70
|
-
i || (
|
|
76
|
+
i || (T(o.$$.fragment, e), i = !0);
|
|
71
77
|
},
|
|
72
78
|
o(e) {
|
|
73
|
-
|
|
79
|
+
I(o.$$.fragment, e), i = !1;
|
|
74
80
|
},
|
|
75
81
|
d(e) {
|
|
76
|
-
e &&
|
|
82
|
+
e && w(t), G(o, e);
|
|
77
83
|
}
|
|
78
84
|
};
|
|
79
85
|
}
|
|
80
|
-
function
|
|
81
|
-
let
|
|
86
|
+
function P(l) {
|
|
87
|
+
let n, t = [], o = /* @__PURE__ */ new Map(), i, a = y(
|
|
82
88
|
/*ruleLabelArray*/
|
|
83
|
-
|
|
89
|
+
l[4]
|
|
84
90
|
);
|
|
85
|
-
const
|
|
91
|
+
const f = (e) => (
|
|
86
92
|
/*type*/
|
|
87
93
|
e[13]
|
|
88
94
|
);
|
|
89
95
|
for (let e = 0; e < a.length; e += 1) {
|
|
90
|
-
let
|
|
91
|
-
|
|
96
|
+
let r = b(l, a, e), u = f(r);
|
|
97
|
+
o.set(u, t[e] = D(u, r));
|
|
92
98
|
}
|
|
93
99
|
return {
|
|
94
100
|
c() {
|
|
95
|
-
|
|
101
|
+
n = W("div");
|
|
96
102
|
for (let e = 0; e < t.length; e += 1)
|
|
97
103
|
t[e].c();
|
|
98
|
-
H(
|
|
99
|
-
|
|
104
|
+
H(n, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), c(
|
|
105
|
+
n,
|
|
100
106
|
"width",
|
|
101
107
|
/*width*/
|
|
102
|
-
|
|
103
|
-
),
|
|
104
|
-
|
|
108
|
+
l[3]
|
|
109
|
+
), c(
|
|
110
|
+
n,
|
|
105
111
|
"height",
|
|
106
112
|
/*height*/
|
|
107
|
-
|
|
113
|
+
l[2]
|
|
108
114
|
);
|
|
109
115
|
},
|
|
110
|
-
m(e,
|
|
111
|
-
|
|
116
|
+
m(e, r) {
|
|
117
|
+
R(e, n, r);
|
|
112
118
|
for (let u = 0; u < t.length; u += 1)
|
|
113
|
-
t[u] && t[u].m(
|
|
119
|
+
t[u] && t[u].m(n, null);
|
|
114
120
|
i = !0;
|
|
115
121
|
},
|
|
116
|
-
p(e, [
|
|
117
|
-
|
|
118
|
-
19 && (a =
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
p(e, [r]) {
|
|
123
|
+
r & /*ruleLabelArray, bounding, getRuleDistanceText*/
|
|
124
|
+
19 && (a = y(
|
|
125
|
+
/*ruleLabelArray*/
|
|
126
|
+
e[4]
|
|
127
|
+
), q(), t = C(t, r, f, 1, e, a, o, n, K, D, null, b), A()), r & /*width*/
|
|
128
|
+
8 && c(
|
|
129
|
+
n,
|
|
122
130
|
"width",
|
|
123
131
|
/*width*/
|
|
124
132
|
e[3]
|
|
125
|
-
),
|
|
126
|
-
4 &&
|
|
127
|
-
|
|
133
|
+
), r & /*height*/
|
|
134
|
+
4 && c(
|
|
135
|
+
n,
|
|
128
136
|
"height",
|
|
129
137
|
/*height*/
|
|
130
138
|
e[2]
|
|
@@ -132,73 +140,73 @@ function N(o) {
|
|
|
132
140
|
},
|
|
133
141
|
i(e) {
|
|
134
142
|
if (!i) {
|
|
135
|
-
for (let
|
|
136
|
-
|
|
143
|
+
for (let r = 0; r < a.length; r += 1)
|
|
144
|
+
T(t[r]);
|
|
137
145
|
i = !0;
|
|
138
146
|
}
|
|
139
147
|
},
|
|
140
148
|
o(e) {
|
|
141
|
-
for (let
|
|
142
|
-
|
|
149
|
+
for (let r = 0; r < t.length; r += 1)
|
|
150
|
+
I(t[r]);
|
|
143
151
|
i = !1;
|
|
144
152
|
},
|
|
145
153
|
d(e) {
|
|
146
|
-
e &&
|
|
147
|
-
for (let
|
|
148
|
-
t[
|
|
154
|
+
e && w(n);
|
|
155
|
+
for (let r = 0; r < t.length; r += 1)
|
|
156
|
+
t[r].d();
|
|
149
157
|
}
|
|
150
158
|
};
|
|
151
159
|
}
|
|
152
|
-
const
|
|
153
|
-
function
|
|
154
|
-
let
|
|
155
|
-
return
|
|
156
|
-
"floorIndex" in
|
|
157
|
-
},
|
|
158
|
-
|
|
159
|
-
64 && t(1,
|
|
160
|
-
96 && t(11, i =
|
|
161
|
-
2048 && t(12, a = Object.keys(i)),
|
|
162
|
-
6144 && t(4,
|
|
163
|
-
2 && t(9, e =
|
|
164
|
-
2 && t(7,
|
|
165
|
-
2 && t(10, u =
|
|
166
|
-
2 && t(8,
|
|
167
|
-
1536 && t(3,
|
|
168
|
-
384 && t(2,
|
|
160
|
+
const k = 1e3, x = 180;
|
|
161
|
+
function Q(l, n, t) {
|
|
162
|
+
let o, i, a, f, e, r, u, _, g, d, { floorIndex: p } = n, { floorplanData: m } = n, { getRuleDistanceText: h } = n;
|
|
163
|
+
return l.$$set = (s) => {
|
|
164
|
+
"floorIndex" in s && t(5, p = s.floorIndex), "floorplanData" in s && t(6, m = s.floorplanData), "getRuleDistanceText" in s && t(0, h = s.getRuleDistanceText);
|
|
165
|
+
}, l.$$.update = () => {
|
|
166
|
+
l.$$.dirty & /*floorplanData*/
|
|
167
|
+
64 && t(1, o = m.bounding), l.$$.dirty & /*floorplanData, floorIndex*/
|
|
168
|
+
96 && t(11, i = m.floorDatas[p].rules), l.$$.dirty & /*ruleLabelData*/
|
|
169
|
+
2048 && t(12, a = Object.keys(i)), l.$$.dirty & /*ruleLabelDataKeys, ruleLabelData*/
|
|
170
|
+
6144 && t(4, f = a.map((s) => [s, i[s]])), l.$$.dirty & /*bounding*/
|
|
171
|
+
2 && t(9, e = o.max.x - o.min.x), l.$$.dirty & /*bounding*/
|
|
172
|
+
2 && t(7, r = o.max.y - o.min.y), l.$$.dirty & /*bounding*/
|
|
173
|
+
2 && t(10, u = o.max.x - o.min.x - (k - x) * 2), l.$$.dirty & /*bounding*/
|
|
174
|
+
2 && t(8, _ = o.max.y - o.min.y - (k - x) * 2), l.$$.dirty & /*contentWidth, boundingWidth*/
|
|
175
|
+
1536 && t(3, g = u / e * 100 + "%"), l.$$.dirty & /*contentHeight, boundingHeight*/
|
|
176
|
+
384 && t(2, d = _ / r * 100 + "%");
|
|
169
177
|
}, [
|
|
170
178
|
h,
|
|
171
|
-
|
|
172
|
-
p,
|
|
179
|
+
o,
|
|
173
180
|
d,
|
|
174
|
-
s,
|
|
175
181
|
g,
|
|
176
|
-
|
|
177
|
-
|
|
182
|
+
f,
|
|
183
|
+
p,
|
|
178
184
|
m,
|
|
185
|
+
r,
|
|
186
|
+
_,
|
|
179
187
|
e,
|
|
180
188
|
u,
|
|
181
189
|
i,
|
|
182
190
|
a
|
|
183
191
|
];
|
|
184
192
|
}
|
|
185
|
-
class
|
|
186
|
-
constructor(
|
|
187
|
-
super(),
|
|
193
|
+
class te extends S {
|
|
194
|
+
constructor(n) {
|
|
195
|
+
super(), B(
|
|
188
196
|
this,
|
|
189
|
-
|
|
197
|
+
n,
|
|
198
|
+
Q,
|
|
190
199
|
P,
|
|
191
|
-
|
|
192
|
-
L,
|
|
200
|
+
j,
|
|
193
201
|
{
|
|
194
202
|
floorIndex: 5,
|
|
195
203
|
floorplanData: 6,
|
|
196
204
|
getRuleDistanceText: 0
|
|
197
205
|
},
|
|
198
|
-
|
|
206
|
+
N
|
|
199
207
|
);
|
|
200
208
|
}
|
|
201
209
|
}
|
|
202
210
|
export {
|
|
203
|
-
|
|
211
|
+
te as RuleLabels
|
|
204
212
|
};
|
|
@@ -1,41 +1,44 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { safe_not_equal as r, noop as s } from "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as p, element as m, space as g, attr as c, insert as u, append as _, detach as d, HtmlTag as i } from "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { SvelteComponent as v, init as y } from "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
4
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
2
5
|
function h(n) {
|
|
3
|
-
|
|
6
|
+
p(n, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
|
|
4
7
|
}
|
|
5
8
|
function b(n) {
|
|
6
|
-
let
|
|
9
|
+
let t, a, f, l;
|
|
7
10
|
return {
|
|
8
11
|
c() {
|
|
9
|
-
|
|
12
|
+
t = m("div"), a = new i(!1), f = g(), l = new i(!1), a.a = f, l.a = null, c(t, "class", "floorplan-plugin__base-image svelte-ub47ya");
|
|
10
13
|
},
|
|
11
|
-
m(
|
|
12
|
-
|
|
14
|
+
m(e, o) {
|
|
15
|
+
u(e, t, o), a.m(
|
|
13
16
|
/*svgStyle*/
|
|
14
17
|
n[1],
|
|
15
|
-
|
|
16
|
-
),
|
|
18
|
+
t
|
|
19
|
+
), _(t, f), l.m(
|
|
17
20
|
/*content*/
|
|
18
21
|
n[0],
|
|
19
|
-
|
|
22
|
+
t
|
|
20
23
|
);
|
|
21
24
|
},
|
|
22
|
-
p(
|
|
23
|
-
|
|
24
|
-
1 &&
|
|
25
|
+
p(e, [o]) {
|
|
26
|
+
o & /*content*/
|
|
27
|
+
1 && l.p(
|
|
25
28
|
/*content*/
|
|
26
|
-
|
|
29
|
+
e[0]
|
|
27
30
|
);
|
|
28
31
|
},
|
|
29
|
-
i:
|
|
30
|
-
o,
|
|
31
|
-
d(
|
|
32
|
-
|
|
32
|
+
i: s,
|
|
33
|
+
o: s,
|
|
34
|
+
d(e) {
|
|
35
|
+
e && d(t);
|
|
33
36
|
}
|
|
34
37
|
};
|
|
35
38
|
}
|
|
36
|
-
function w(n,
|
|
37
|
-
let { content:
|
|
38
|
-
const
|
|
39
|
+
function w(n, t, a) {
|
|
40
|
+
let { content: f } = t;
|
|
41
|
+
const l = `
|
|
39
42
|
<style>
|
|
40
43
|
svg [type='lineGroup'] path {
|
|
41
44
|
fill: #ffffff;
|
|
@@ -45,15 +48,15 @@ function w(n, e, a) {
|
|
|
45
48
|
stroke: #ffffff;
|
|
46
49
|
}</style>
|
|
47
50
|
`;
|
|
48
|
-
return n.$$set = (
|
|
49
|
-
"content" in
|
|
50
|
-
}, [
|
|
51
|
+
return n.$$set = (e) => {
|
|
52
|
+
"content" in e && a(0, f = e.content);
|
|
53
|
+
}, [f, l];
|
|
51
54
|
}
|
|
52
|
-
class
|
|
53
|
-
constructor(
|
|
54
|
-
super(),
|
|
55
|
+
class q extends v {
|
|
56
|
+
constructor(t) {
|
|
57
|
+
super(), y(this, t, w, b, r, { content: 0 }, h);
|
|
55
58
|
}
|
|
56
59
|
}
|
|
57
60
|
export {
|
|
58
|
-
|
|
61
|
+
q as SvgImage
|
|
59
62
|
};
|
|
@@ -2,7 +2,7 @@ var E = Object.defineProperty, C = Object.defineProperties;
|
|
|
2
2
|
var P = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var w = Object.getOwnPropertySymbols;
|
|
4
4
|
var y = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var m = (h, r, t) => r in h ? E(h, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[r] = t,
|
|
5
|
+
var m = (h, r, t) => r in h ? E(h, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[r] = t, p = (h, r) => {
|
|
6
6
|
for (var t in r || (r = {}))
|
|
7
7
|
y.call(r, t) && m(h, t, r[t]);
|
|
8
8
|
if (w)
|
|
@@ -11,7 +11,7 @@ var m = (h, r, t) => r in h ? E(h, r, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return h;
|
|
12
12
|
}, v = (h, r) => C(h, P(r));
|
|
13
13
|
var o = (h, r, t) => (m(h, typeof r != "symbol" ? r + "" : r, t), t);
|
|
14
|
-
var
|
|
14
|
+
var c = (h, r, t) => new Promise((e, i) => {
|
|
15
15
|
var s = (d) => {
|
|
16
16
|
try {
|
|
17
17
|
n(t.next(d));
|
|
@@ -39,17 +39,29 @@ import { Controller as T } from "../../base/BasePluginWithData.js";
|
|
|
39
39
|
import { getPxmm as k, getAttachedY as H } from "../../shared-utils/getPxmm.js";
|
|
40
40
|
import { checkShowState as R, correctFiveState as G } from "../utils/correctFiveState.js";
|
|
41
41
|
import { changeModelCanvasOpacity as S } from "../../shared-utils/changeModelCanvasOpacity.js";
|
|
42
|
-
import { FloorplanErrorType as
|
|
42
|
+
import { FloorplanErrorType as u, SHOW_ANIME_DURATION as W } from "../utils/constant.js";
|
|
43
43
|
import "../../shared-utils/isTruelyObject.js";
|
|
44
|
-
import "../../vendor/svelte/internal/
|
|
45
|
-
import "../../vendor/svelte/
|
|
46
|
-
import "../../vendor/svelte/
|
|
44
|
+
import "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
45
|
+
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
46
|
+
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
47
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
48
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
49
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
50
|
+
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
51
|
+
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
52
|
+
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
53
|
+
import "../../vendor/svelte/src/runtime/internal/spread.js";
|
|
54
|
+
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
55
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
56
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
57
|
+
import "../../vendor/svelte/src/runtime/transition/index.js";
|
|
58
|
+
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
47
59
|
import "../Components/Camera.js";
|
|
48
60
|
import "../../shared-utils/math/rad2Deg.js";
|
|
49
61
|
import "../Components/Compass.js";
|
|
50
62
|
import "../Assets/compass.js";
|
|
51
63
|
import "../Components/CurrentFloor.js";
|
|
52
|
-
import "../../vendor/svelte/store/index.js";
|
|
64
|
+
import "../../vendor/svelte/src/runtime/store/index.js";
|
|
53
65
|
import "../Components/BaseImage.js";
|
|
54
66
|
import "../Components/Normalmage.js";
|
|
55
67
|
import "../Components/SvgImage.js";
|
|
@@ -97,7 +109,7 @@ function z(h) {
|
|
|
97
109
|
const { latitude: r, longitude: t } = h, e = Math.abs(r - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
|
|
98
110
|
return e && i;
|
|
99
111
|
}
|
|
100
|
-
class
|
|
112
|
+
class he extends T {
|
|
101
113
|
constructor(t, e) {
|
|
102
114
|
super(t);
|
|
103
115
|
// =============== public properties =================
|
|
@@ -146,14 +158,14 @@ class Kt extends T {
|
|
|
146
158
|
* @param opts.isAutoShow 是否是自动展示
|
|
147
159
|
* @param opts.userAction 是否是用户行为
|
|
148
160
|
*/
|
|
149
|
-
o(this, "show", (...e) =>
|
|
161
|
+
o(this, "show", (...e) => c(this, [...e], function* (t = {}) {
|
|
150
162
|
if (!this.state.enabled || !this.showPromise && this.state.visible)
|
|
151
163
|
return;
|
|
152
164
|
const i = t.userAction !== void 0 ? t.userAction : !0;
|
|
153
165
|
this.updateState({ visible: !0 }, i), this._show(t);
|
|
154
166
|
}));
|
|
155
167
|
/** 隐藏户型图 */
|
|
156
|
-
o(this, "hide", (...e) =>
|
|
168
|
+
o(this, "hide", (...e) => c(this, [...e], function* (t = {}) {
|
|
157
169
|
this.state.enabled && (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, t.userAction || !0), this._hide(t)));
|
|
158
170
|
}));
|
|
159
171
|
/** 更新户型图大小 */
|
|
@@ -172,20 +184,20 @@ class Kt extends T {
|
|
|
172
184
|
o(this, "_disable", (t) => {
|
|
173
185
|
var i, s, a;
|
|
174
186
|
const { userAction: e } = t;
|
|
175
|
-
this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this,
|
|
187
|
+
this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, u.BreakOffByDisable), this.showPromise = void 0, (s = this.app) == null || s.$destroy(), this.app = void 0, (a = this.container) == null || a.remove(), this.removeEventListener();
|
|
176
188
|
});
|
|
177
189
|
o(this, "_enable", (t) => {
|
|
178
190
|
const { userAction: e } = t;
|
|
179
191
|
this.addEventListener(), this.wrapper && (this.wrapper.append(this.container), this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e }));
|
|
180
192
|
});
|
|
181
|
-
o(this, "_show", (t) =>
|
|
193
|
+
o(this, "_show", (t) => c(this, null, function* () {
|
|
182
194
|
var a;
|
|
183
195
|
if (!this.state.enabled)
|
|
184
196
|
return;
|
|
185
197
|
if (!((a = this.five.model) != null && a.loaded))
|
|
186
|
-
throw new Error(
|
|
198
|
+
throw new Error(u.ModelNotLoaded);
|
|
187
199
|
if (!this.data)
|
|
188
|
-
throw new Error(
|
|
200
|
+
throw new Error(u.DataNotLoaded);
|
|
189
201
|
this.isHiddenByHideFunc = !1;
|
|
190
202
|
const e = {
|
|
191
203
|
floorIndex: this.floorIndex,
|
|
@@ -193,7 +205,7 @@ class Kt extends T {
|
|
|
193
205
|
immediately: !1,
|
|
194
206
|
isAutoShow: !1,
|
|
195
207
|
userAction: !0
|
|
196
|
-
}, i =
|
|
208
|
+
}, i = p(p({}, e), t), s = () => c(this, null, function* () {
|
|
197
209
|
this.hooks.emit("show", { userAction: i.userAction, auto: i.isAutoShow });
|
|
198
210
|
let n = !1, d;
|
|
199
211
|
this.showRejection = (A) => {
|
|
@@ -203,10 +215,10 @@ class Kt extends T {
|
|
|
203
215
|
if (l)
|
|
204
216
|
throw l;
|
|
205
217
|
if (n)
|
|
206
|
-
throw d ? new Error(d) : new Error(
|
|
218
|
+
throw d ? new Error(d) : new Error(u.UnknownError);
|
|
207
219
|
this.updateSize(), this.updatePosition(), this.floorIndex = i.floorIndex, this.five.model.show(this.floorIndex);
|
|
208
|
-
const
|
|
209
|
-
S(this.five,
|
|
220
|
+
const f = i.modelOpacity, g = i.immediately ? 0 : W;
|
|
221
|
+
S(this.five, f, g), this.render(g);
|
|
210
222
|
});
|
|
211
223
|
return this.showPromise = s().then(() => {
|
|
212
224
|
this.hooks.emit("showAnimationEnded", {
|
|
@@ -222,8 +234,8 @@ class Kt extends T {
|
|
|
222
234
|
}));
|
|
223
235
|
o(this, "_hide", (t) => {
|
|
224
236
|
var s;
|
|
225
|
-
(s = this.showRejection) == null || s.call(this,
|
|
226
|
-
const i =
|
|
237
|
+
(s = this.showRejection) == null || s.call(this, u.BreakOffByHide), this.showPromise = void 0;
|
|
238
|
+
const i = p(p({}, {
|
|
227
239
|
userAction: !0,
|
|
228
240
|
isAutoHide: !1
|
|
229
241
|
}), t);
|
|
@@ -314,7 +326,7 @@ class Kt extends T {
|
|
|
314
326
|
adaptiveRoomLabelVisibleEnable: !0,
|
|
315
327
|
getRoomAreaText: (n) => (n / 1e6).toFixed(1) + "㎡",
|
|
316
328
|
getRuleDistanceText: (n) => n.toString()
|
|
317
|
-
}, s = e ? O(e, ["selector", "scale"]) : {}, a =
|
|
329
|
+
}, s = e ? O(e, ["selector", "scale"]) : {}, a = p(p({}, i), s);
|
|
318
330
|
this.state = {
|
|
319
331
|
enabled: !0,
|
|
320
332
|
visible: !1,
|
|
@@ -322,9 +334,9 @@ class Kt extends T {
|
|
|
322
334
|
}, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
|
|
323
335
|
}
|
|
324
336
|
load(t, e, i = !0) {
|
|
325
|
-
return
|
|
326
|
-
function s(
|
|
327
|
-
return Object.prototype.hasOwnProperty.apply(
|
|
337
|
+
return c(this, null, function* () {
|
|
338
|
+
function s(f) {
|
|
339
|
+
return Object.prototype.hasOwnProperty.apply(f, ["version"]);
|
|
328
340
|
}
|
|
329
341
|
const a = t;
|
|
330
342
|
a && !a.version && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
|
|
@@ -372,13 +384,13 @@ class Kt extends T {
|
|
|
372
384
|
this.container.style.left = s * 100 + "%", this.container.style.top = a * 100 + "%";
|
|
373
385
|
}
|
|
374
386
|
formatData(t) {
|
|
375
|
-
return
|
|
387
|
+
return c(this, null, function* () {
|
|
376
388
|
return yield b(t.data);
|
|
377
389
|
});
|
|
378
390
|
}
|
|
379
391
|
updateState(t, e) {
|
|
380
|
-
const i = this.state, s = t.config ?
|
|
381
|
-
this.state = v(
|
|
392
|
+
const i = this.state, s = t.config ? p(p({}, i.config), t.config) : i.config;
|
|
393
|
+
this.state = v(p(p({}, this.state), t), { config: s }), !F(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
|
|
382
394
|
}
|
|
383
395
|
/** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
|
|
384
396
|
*
|
|
@@ -407,7 +419,7 @@ class Kt extends T {
|
|
|
407
419
|
render(t) {
|
|
408
420
|
if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
|
|
409
421
|
return;
|
|
410
|
-
const e = v(
|
|
422
|
+
const e = v(p({}, this.state.config), {
|
|
411
423
|
visible: this.state.visible,
|
|
412
424
|
duration: t != null ? t : 0,
|
|
413
425
|
panoIndex: this.panoIndex,
|
|
@@ -422,5 +434,5 @@ class Kt extends T {
|
|
|
422
434
|
}
|
|
423
435
|
}
|
|
424
436
|
export {
|
|
425
|
-
|
|
437
|
+
he as Controller
|
|
426
438
|
};
|
|
@@ -4,16 +4,28 @@ import "../../shared-utils/to.js";
|
|
|
4
4
|
import "../../shared-utils/equal.js";
|
|
5
5
|
import "../../shared-utils/isTruelyObject.js";
|
|
6
6
|
import "../Components/Main.js";
|
|
7
|
-
import "../../vendor/svelte/internal/
|
|
8
|
-
import "../../vendor/svelte/
|
|
9
|
-
import "../../vendor/svelte/
|
|
7
|
+
import "../../vendor/svelte/src/runtime/internal/utils.js";
|
|
8
|
+
import "../../vendor/svelte/src/runtime/internal/dom.js";
|
|
9
|
+
import "../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
10
|
+
import "../../vendor/svelte/src/runtime/internal/environment.js";
|
|
11
|
+
import "../../vendor/svelte/src/runtime/internal/loop.js";
|
|
12
|
+
import "../../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
13
|
+
import "../../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
14
|
+
import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
15
|
+
import "../../vendor/svelte/src/runtime/internal/each.js";
|
|
16
|
+
import "../../vendor/svelte/src/runtime/internal/spread.js";
|
|
17
|
+
import "../../vendor/svelte/src/runtime/internal/Component.js";
|
|
18
|
+
import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
19
|
+
import "../../vendor/svelte/src/shared/version.js";
|
|
20
|
+
import "../../vendor/svelte/src/runtime/transition/index.js";
|
|
21
|
+
import "../../vendor/svelte/src/runtime/easing/index.js";
|
|
10
22
|
import "../Components/Camera.js";
|
|
11
23
|
import "../Assets/camera.js";
|
|
12
24
|
import "../../shared-utils/math/rad2Deg.js";
|
|
13
25
|
import "../Components/Compass.js";
|
|
14
26
|
import "../Assets/compass.js";
|
|
15
27
|
import "../Components/CurrentFloor.js";
|
|
16
|
-
import "../../vendor/svelte/store/index.js";
|
|
28
|
+
import "../../vendor/svelte/src/runtime/store/index.js";
|
|
17
29
|
import "../Components/BaseImage.js";
|
|
18
30
|
import "../Components/Normalmage.js";
|
|
19
31
|
import "../Components/SvgImage.js";
|
|
@@ -61,8 +73,8 @@ import "../utils/constant.js";
|
|
|
61
73
|
import "../../shared-utils/nearlyEqual.js";
|
|
62
74
|
import "../../shared-utils/five/changeMode.js";
|
|
63
75
|
import "../../shared-utils/changeModelCanvasOpacity.js";
|
|
64
|
-
const
|
|
76
|
+
const jo = (o, r) => new t(o, r);
|
|
65
77
|
export {
|
|
66
|
-
|
|
67
|
-
|
|
78
|
+
jo as MapviewFloorplanPlugin,
|
|
79
|
+
jo as default
|
|
68
80
|
};
|