@realsee/dnalogel 2.16.0-10 → 2.16.0-11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.js +688 -240
- package/dist/GuideLinePlugin/Controller.d.ts +4 -3
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
- package/dist/GuideLinePlugin/typing.d.ts +0 -1
- package/dist/index.cjs.js +100 -86
- package/dist/index.js +14560 -7717
- package/dist/index.umd.js +93 -79
- package/dist/shared-utils/animationFrame/BetterTween.d.ts +3 -2
- package/dist/shared-utils/animationFrame/index.d.ts +1 -1
- package/dist/shared-utils/animationFrame/tween.d.ts +32 -23
- package/dist/shared-utils/svelte/resizeObserver.d.ts +2 -10
- package/dist/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +26 -26
- package/docs/classes/GuideLineItem.GuideLineItem.html +16 -16
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +38 -26
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +47 -47
- package/docs/classes/Util.BetterTween.html +29 -18
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/PanoVideoPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isAbsoluteURL.html +5 -5
- package/docs/functions/Util.isModelLike.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.isPanoramaLike.html +5 -5
- package/docs/functions/Util.nextFrame.html +18 -7
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +7 -18
- package/docs/functions/Util.uuid.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -7
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +11 -11
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +16 -16
- package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -15
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +14 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +11 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +12 -12
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/CruisePluginTypes.html +5 -5
- package/docs/modules/GuideLineItem.html +5 -5
- package/docs/modules/GuideLineModeItem.html +5 -5
- package/docs/modules/GuideLinePluginType.html +5 -5
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
- package/docs/types/GuideLinePluginType.PathItem.html +5 -5
- package/docs/types/GuideLinePluginType.PluginData.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CSS3DRenderPlugin/Controller.js +47 -13
- package/libs/CSS3DRenderPlugin/index.js +6 -8
- package/libs/CSS3DRenderPlugin/utils/even.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -0
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +37 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +1 -1
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +22 -18
- package/libs/CameraMovementPlugin/index.js +7 -9
- package/libs/CruisePlugin/Controller.js +161 -52
- package/libs/CruisePlugin/index.js +36 -30
- package/libs/CruisePlugin/utils/coordinatesToVector.js +3 -0
- package/libs/GuideLinePlugin/Components/Tag.js +14 -2
- package/libs/GuideLinePlugin/Controller.d.ts +4 -3
- package/libs/GuideLinePlugin/Controller.js +119 -100
- package/libs/GuideLinePlugin/GuideLineItem/index.js +6 -6
- package/libs/GuideLinePlugin/GuideLineItem.js +29 -22
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +129 -73
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
- package/libs/GuideLinePlugin/GuideLineModeItem.js +28 -21
- package/libs/GuideLinePlugin/index.js +37 -30
- package/libs/GuideLinePlugin/typing.d.ts +0 -1
- package/libs/GuideLinePlugin/typing.js +7 -9
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +24 -18
- package/libs/GuideLinePlugin/utils/getPoint.js +4 -0
- package/libs/GuideLinePlugin/utils/index.js +17 -14
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +83 -34
- package/libs/ItemLabelPlugin/ItemLabelItem.js +91 -14
- package/libs/ItemLabelPlugin/Plugin.js +2 -2
- package/libs/ItemLabelPlugin/index.js +8 -9
- package/libs/ModelChassisCompassPlugin/Plugin.js +25 -25
- package/libs/ModelChassisCompassPlugin/index.js +3 -4
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +14 -14
- package/libs/ModelEntryDoorGuidePlugin/index.js +3 -4
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +46 -10
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +60 -7
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +3 -3
- package/libs/ModelItemLabelPlugin/index.js +6 -7
- package/libs/ModelRoomLabelPlugin/Controller.js +18 -1
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +58 -4
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +50 -20
- package/libs/ModelTVVideoPlugin/Plugin.js +6 -8
- package/libs/ModelTVVideoPlugin/index.js +6 -9
- package/libs/ModelViewPlugin/Plugin.js +3 -3
- package/libs/ModelViewPlugin/index.js +3 -4
- package/libs/Object3DHelperPlugin/Controller.js +62 -42
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +2 -1
- package/libs/Object3DHelperPlugin/index.js +7 -9
- package/libs/PanoCompassPlugin/Controller.js +54 -4
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -1
- package/libs/PanoCompassPlugin/index.js +3 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +37 -12
- package/libs/PanoDoorLabelPlugin/Controller.js +9 -6
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +39 -13
- package/libs/PanoDoorLabelPlugin/index.js +5 -7
- package/libs/PanoMeasurePlugin/Controller/EditController.js +22 -4
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +9 -5
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +2 -2
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -3
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +5 -5
- package/libs/PanoMeasurePlugin/Controller/index.js +42 -12
- package/libs/PanoMeasurePlugin/Model/index.js +4 -4
- package/libs/PanoMeasurePlugin/Model/line.js +8 -8
- package/libs/PanoMeasurePlugin/Model/polyline.js +25 -24
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +2 -2
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +2 -1
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +21 -20
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +14 -10
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +6 -4
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +3 -3
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +15 -12
- package/libs/PanoMeasurePlugin/index.js +14 -15
- package/libs/PanoMeasurePlugin/typings/index.js +1 -3
- package/libs/PanoRulerPlugin/Plugin.js +54 -54
- package/libs/PanoRulerPlugin/index.js +3 -4
- package/libs/PanoRulerProPlugin/Controller.js +14 -15
- package/libs/PanoRulerProPlugin/RulerItem.js +134 -45
- package/libs/PanoRulerProPlugin/RulerItems.js +49 -40
- package/libs/PanoRulerProPlugin/index.js +4 -5
- package/libs/PanoSpatialTagPlugin/Components/origins.js +47 -8
- package/libs/PanoSpatialTagPlugin/Components/tag.js +79 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +5 -7
- package/libs/PanoSpatialTagPlugin/index.js +4 -7
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +45 -20
- package/libs/PanoTagPlugin/Components/Common/Audio.js +46 -8
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +218 -54
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +64 -11
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +50 -27
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +151 -26
- package/libs/PanoTagPlugin/Components/Common/Media.js +222 -89
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +171 -22
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +100 -28
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +87 -8
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +66 -13
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +69 -27
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +87 -13
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +29 -6
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +99 -14
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +169 -44
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +31 -6
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +11 -4
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +90 -35
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +33 -7
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +174 -35
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +76 -24
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +87 -14
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +84 -17
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +23 -6
- package/libs/PanoTagPlugin/Components/Tag/index.js +265 -41
- package/libs/PanoTagPlugin/Components/TagContainer.js +111 -58
- package/libs/PanoTagPlugin/Components/TagItem.js +201 -28
- package/libs/PanoTagPlugin/controller/TagCache.js +21 -19
- package/libs/PanoTagPlugin/controller/TagComputer.js +39 -18
- package/libs/PanoTagPlugin/controller/TagRender.js +46 -15
- package/libs/PanoTagPlugin/controller/TagUtil.js +25 -9
- package/libs/PanoTagPlugin/controller/index.js +90 -28
- package/libs/PanoTagPlugin/index.js +18 -19
- package/libs/PanoTagPlugin/tag.config.js +4 -0
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -0
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +7 -7
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +4 -0
- package/libs/PanoTagPlugin/utils/tagPosition.js +1 -1
- package/libs/PanoVideoPlugin/Controller.js +53 -39
- package/libs/PanoVideoPlugin/VideoMeshController.js +89 -43
- package/libs/PanoVideoPlugin/index.js +6 -7
- package/libs/_commonjsHelpers.js +4 -0
- package/libs/base/BasePlugin.js +23 -15
- package/libs/base/BasePluginWithData.js +2 -2
- package/libs/components/PaintBrush/Controller.js +15 -4
- package/libs/components/PaintBrush/Subscribe.js +37 -0
- package/libs/components/PaintBrush/index.js +17 -4
- package/libs/components/PaintBrush/tween.js +2 -2
- package/libs/components/index.js +1 -1
- package/libs/floorplan/Components/BaseImage.js +24 -6
- package/libs/floorplan/Components/Camera.js +73 -27
- package/libs/floorplan/Components/Compass.js +20 -3
- package/libs/floorplan/Components/CurrentFloor.js +189 -50
- package/libs/floorplan/Components/Main.js +202 -54
- package/libs/floorplan/Components/Normalmage.js +5 -2
- package/libs/floorplan/Components/RoomHighlight/Room.js +38 -5
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +105 -58
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +91 -18
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +106 -37
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +42 -13
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +15 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -3
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +37 -3
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +125 -51
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +80 -15
- package/libs/floorplan/Components/SvgImage.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +117 -75
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +96 -53
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +43 -15
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -22
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +61 -39
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +128 -33
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +39 -36
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -6
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +83 -64
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -6
- package/libs/floorplan/index.js +1 -3
- package/libs/floorplan/typings/floorplanServerData.js +80 -80
- package/libs/index.js +136 -129
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +29 -1
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +10 -1
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +5 -2
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +9 -8
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +4 -1
- package/libs/shared-utils/Object3DHelper/index.js +15 -0
- package/libs/shared-utils/Subscribe.js +38 -1
- package/libs/shared-utils/animationFrame/BetterTween.d.ts +3 -2
- package/libs/shared-utils/animationFrame/BetterTween.js +19 -12
- package/libs/shared-utils/animationFrame/index.d.ts +1 -1
- package/libs/shared-utils/animationFrame/index.js +14 -14
- package/libs/shared-utils/animationFrame/tween.d.ts +32 -23
- package/libs/shared-utils/animationFrame/tween.js +15 -15
- package/libs/shared-utils/audio.js +9 -9
- package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
- package/libs/shared-utils/createCanvasTextTexture.js +3 -3
- package/libs/shared-utils/five/changeMode.js +11 -11
- package/libs/shared-utils/index.js +15 -15
- package/libs/shared-utils/log.js +2 -2
- package/libs/shared-utils/math/Interval.js +2 -0
- package/libs/shared-utils/math/Rectangle.js +2 -0
- package/libs/shared-utils/svelte/resizeObserver.d.ts +2 -10
- package/libs/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
- package/libs/shared-utils/three/FivePointSelector.js +1 -1
- package/libs/shared-utils/three/Magnifier.js +10 -7
- package/libs/shared-utils/three/PointDomHelper.js +11 -10
- package/libs/shared-utils/three/index.js +1 -2
- package/libs/shared-utils/three/loadTexture.js +10 -10
- package/libs/shared-utils/threex/domevents/index.js +2 -2
- package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +403 -0
- package/libs/vendor/classnames/index.js +47 -0
- package/libs/vendor/easy-reactive/main.js +3 -0
- package/libs/vendor/{simply-reactive → easy-reactive}/src/simply-reactive.js +8 -8
- package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/object.js +1 -1
- package/libs/vendor/gl-vec2/add.js +7 -0
- package/libs/vendor/gl-vec2/dot.js +7 -0
- package/libs/vendor/gl-vec2/normalize.js +8 -0
- package/libs/vendor/gl-vec2/set.js +7 -0
- package/libs/vendor/gl-vec2/subtract.js +7 -0
- package/libs/vendor/lodash.clonedeep/index.js +457 -0
- package/libs/vendor/lodash.get/index.js +236 -0
- package/libs/vendor/lodash.isequal/index.js +489 -0
- package/libs/vendor/object-assign-deep/objectAssignDeep.js +62 -0
- package/libs/vendor/polyline-miter-util/index.js +18 -0
- package/libs/vendor/polyline-normals/index.js +28 -0
- package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +155 -134
- package/libs/vendor/svelte/easing/index.js +4 -5
- package/libs/vendor/svelte/index.js +1 -1
- package/libs/vendor/svelte/internal/index.js +412 -388
- package/libs/vendor/svelte/store/index.js +6 -6
- package/libs/vendor/svelte/transition/index.js +23 -20
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -3
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +338 -71
- package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +7 -1
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +19 -3
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +30 -7
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +15 -3
- package/libs/vendor/svelte-carousel/src/utils/clones.js +1 -0
- package/libs/vendor/svelte-carousel/src/utils/lazy.js +3 -0
- package/package.json +11 -13
- package/dist/GuideLinePlugin/utils/getArrowMaterial.d.ts +0 -4
- package/libs/vendor/simply-reactive/main.js +0 -3
- /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/subscription.js +0 -0
- /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/watcher.js +0 -0
|
@@ -1,72 +1,94 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { SvelteComponent as k, init as y, safe_not_equal as x, append_styles as I, element as _, attr as h, insert as v, update_keyed_each as $, noop as g, detach as j, space as w, set_style as r, append as d, destroy_block as z } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
function O(s) {
|
|
3
|
+
I(s, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
const l =
|
|
5
|
+
function m(s, t, e) {
|
|
6
|
+
const l = s.slice();
|
|
7
7
|
return l[1] = t[e], l;
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
let e, l,
|
|
9
|
+
function b(s, t) {
|
|
10
|
+
let e, l, a = `${/*extraObject*/
|
|
11
|
+
t[1].icon.width / 16}rem`, p = `${/*extraObject*/
|
|
12
|
+
t[1].icon.height / 16}rem`, i, n = `${/*extraObject*/
|
|
13
|
+
t[1].positionInImage.y * 100}%`, o = `${/*extraObject*/
|
|
14
|
+
t[1].positionInImage.x * 100}%`;
|
|
11
15
|
return {
|
|
12
|
-
key:
|
|
16
|
+
key: s,
|
|
13
17
|
first: null,
|
|
14
18
|
c() {
|
|
15
|
-
e =
|
|
19
|
+
e = _("div"), l = _("div"), i = w(), h(l, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"), r(l, "background-image", `url(${/*extraObject*/
|
|
20
|
+
t[1].icon.url})`), r(l, "width", a), r(l, "height", p), h(e, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"), r(e, "top", n), r(e, "left", o), this.first = e;
|
|
16
21
|
},
|
|
17
|
-
m(f,
|
|
18
|
-
|
|
22
|
+
m(f, c) {
|
|
23
|
+
v(f, e, c), d(e, l), d(e, i);
|
|
19
24
|
},
|
|
20
|
-
p(f,
|
|
21
|
-
t = f,
|
|
25
|
+
p(f, c) {
|
|
26
|
+
t = f, c & /*extraObjects*/
|
|
27
|
+
1 && r(l, "background-image", `url(${/*extraObject*/
|
|
28
|
+
t[1].icon.url})`);
|
|
29
|
+
const u = c & /*extraObjects*/
|
|
30
|
+
1;
|
|
31
|
+
u && r(l, "width", a), u && r(l, "height", p), c & /*extraObjects*/
|
|
32
|
+
1 && n !== (n = `${/*extraObject*/
|
|
33
|
+
t[1].positionInImage.y * 100}%`) && r(e, "top", n), c & /*extraObjects*/
|
|
34
|
+
1 && o !== (o = `${/*extraObject*/
|
|
35
|
+
t[1].positionInImage.x * 100}%`) && r(e, "left", o);
|
|
22
36
|
},
|
|
23
37
|
d(f) {
|
|
24
|
-
f &&
|
|
38
|
+
f && j(e);
|
|
25
39
|
}
|
|
26
40
|
};
|
|
27
41
|
}
|
|
28
|
-
function
|
|
29
|
-
let t, e = [], l = /* @__PURE__ */ new Map(),
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
42
|
+
function q(s) {
|
|
43
|
+
let t, e = [], l = /* @__PURE__ */ new Map(), a = (
|
|
44
|
+
/*extraObjects*/
|
|
45
|
+
s[0]
|
|
46
|
+
);
|
|
47
|
+
const p = (i) => (
|
|
48
|
+
/*extraObject*/
|
|
49
|
+
i[1].id
|
|
50
|
+
);
|
|
51
|
+
for (let i = 0; i < a.length; i += 1) {
|
|
52
|
+
let n = m(s, a, i), o = p(n);
|
|
53
|
+
l.set(o, e[i] = b(o, n));
|
|
34
54
|
}
|
|
35
55
|
return {
|
|
36
56
|
c() {
|
|
37
|
-
t =
|
|
57
|
+
t = _("div");
|
|
38
58
|
for (let i = 0; i < e.length; i += 1)
|
|
39
59
|
e[i].c();
|
|
40
|
-
|
|
60
|
+
h(t, "class", "plugin-pano-floorplan__extra-objects svelte-1i87fz7");
|
|
41
61
|
},
|
|
42
|
-
m(i,
|
|
43
|
-
|
|
44
|
-
for (let
|
|
45
|
-
e[
|
|
62
|
+
m(i, n) {
|
|
63
|
+
v(i, t, n);
|
|
64
|
+
for (let o = 0; o < e.length; o += 1)
|
|
65
|
+
e[o] && e[o].m(t, null);
|
|
46
66
|
},
|
|
47
|
-
p(i, [
|
|
48
|
-
|
|
67
|
+
p(i, [n]) {
|
|
68
|
+
n & /*extraObjects*/
|
|
69
|
+
1 && (a = /*extraObjects*/
|
|
70
|
+
i[0], e = $(e, n, p, 1, i, a, l, t, z, b, null, m));
|
|
49
71
|
},
|
|
50
|
-
i:
|
|
51
|
-
o:
|
|
72
|
+
i: g,
|
|
73
|
+
o: g,
|
|
52
74
|
d(i) {
|
|
53
|
-
i &&
|
|
54
|
-
for (let
|
|
55
|
-
e[
|
|
75
|
+
i && j(t);
|
|
76
|
+
for (let n = 0; n < e.length; n += 1)
|
|
77
|
+
e[n].d();
|
|
56
78
|
}
|
|
57
79
|
};
|
|
58
80
|
}
|
|
59
|
-
function
|
|
81
|
+
function C(s, t, e) {
|
|
60
82
|
let { extraObjects: l = [] } = t;
|
|
61
|
-
return
|
|
62
|
-
"extraObjects" in
|
|
83
|
+
return s.$$set = (a) => {
|
|
84
|
+
"extraObjects" in a && e(0, l = a.extraObjects);
|
|
63
85
|
}, [l];
|
|
64
86
|
}
|
|
65
|
-
class
|
|
87
|
+
class M extends k {
|
|
66
88
|
constructor(t) {
|
|
67
|
-
super(),
|
|
89
|
+
super(), y(this, t, C, q, x, { extraObjects: 0 }, O);
|
|
68
90
|
}
|
|
69
91
|
}
|
|
70
92
|
export {
|
|
71
|
-
|
|
93
|
+
M as default
|
|
72
94
|
};
|
|
@@ -16,7 +16,10 @@ function re(i) {
|
|
|
16
16
|
T(i, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
|
|
17
17
|
}
|
|
18
18
|
function M(i) {
|
|
19
|
-
let e, l, n, o, r =
|
|
19
|
+
let e, l, n, o, r = (
|
|
20
|
+
/*clientWidth*/
|
|
21
|
+
i[7] !== 0 && F(i)
|
|
22
|
+
);
|
|
20
23
|
return {
|
|
21
24
|
c() {
|
|
22
25
|
e = P("div"), r && r.c(), R(e, "class", "plugin-floorplan-radar svelte-1mvqyqq");
|
|
@@ -24,12 +27,24 @@ function M(i) {
|
|
|
24
27
|
m(f, m) {
|
|
25
28
|
y(f, e, m), r && r.m(e, null), l = !0, n || (o = [
|
|
26
29
|
Y(ne.call(null, e)),
|
|
27
|
-
H(
|
|
28
|
-
|
|
30
|
+
H(
|
|
31
|
+
e,
|
|
32
|
+
"clientWidth",
|
|
33
|
+
/*clientWidth_handler*/
|
|
34
|
+
i[13]
|
|
35
|
+
),
|
|
36
|
+
H(
|
|
37
|
+
e,
|
|
38
|
+
"clientHeight",
|
|
39
|
+
/*clientHeight_handler*/
|
|
40
|
+
i[14]
|
|
41
|
+
)
|
|
29
42
|
], n = !0);
|
|
30
43
|
},
|
|
31
44
|
p(f, m) {
|
|
32
|
-
|
|
45
|
+
/*clientWidth*/
|
|
46
|
+
f[7] !== 0 ? r ? (r.p(f, m), m & /*clientWidth*/
|
|
47
|
+
128 && u(r, 1)) : (r = F(f), r.c(), u(r, 1), r.m(e, null)) : r && (B(), p(r, 1, 1, () => {
|
|
33
48
|
r = null;
|
|
34
49
|
}), N());
|
|
35
50
|
},
|
|
@@ -45,16 +60,39 @@ function M(i) {
|
|
|
45
60
|
};
|
|
46
61
|
}
|
|
47
62
|
function F(i) {
|
|
48
|
-
let e, l, n, o, r = `${
|
|
63
|
+
let e, l, n, o, r = `${/*contentWidth*/
|
|
64
|
+
i[9]}px`, f = `${/*contentHeight*/
|
|
65
|
+
i[12]}px`, m;
|
|
49
66
|
const c = [
|
|
50
67
|
{
|
|
51
|
-
five:
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
68
|
+
five: (
|
|
69
|
+
/*five*/
|
|
70
|
+
i[0]
|
|
71
|
+
),
|
|
72
|
+
pxmm: (
|
|
73
|
+
/*pxmm*/
|
|
74
|
+
i[10]
|
|
75
|
+
),
|
|
76
|
+
floorIndex: (
|
|
77
|
+
/*floorIndex*/
|
|
78
|
+
i[11]
|
|
79
|
+
),
|
|
80
|
+
floorplanData: (
|
|
81
|
+
/*floorplanData*/
|
|
82
|
+
i[3]
|
|
83
|
+
),
|
|
84
|
+
hoverEnable: (
|
|
85
|
+
/*hoverEnable*/
|
|
86
|
+
i[2]
|
|
87
|
+
),
|
|
88
|
+
extraObjects: (
|
|
89
|
+
/*extraObjects*/
|
|
90
|
+
i[5]
|
|
91
|
+
),
|
|
92
|
+
highlightData: (
|
|
93
|
+
/*highlightData*/
|
|
94
|
+
i[6]
|
|
95
|
+
)
|
|
58
96
|
}
|
|
59
97
|
];
|
|
60
98
|
let h = {};
|
|
@@ -63,10 +101,22 @@ function F(i) {
|
|
|
63
101
|
l = new te({ props: h });
|
|
64
102
|
const g = [
|
|
65
103
|
{
|
|
66
|
-
pxmm:
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
104
|
+
pxmm: (
|
|
105
|
+
/*pxmm*/
|
|
106
|
+
i[10]
|
|
107
|
+
),
|
|
108
|
+
five: (
|
|
109
|
+
/*five*/
|
|
110
|
+
i[0]
|
|
111
|
+
),
|
|
112
|
+
floorplanData: (
|
|
113
|
+
/*floorplanData*/
|
|
114
|
+
i[3]
|
|
115
|
+
),
|
|
116
|
+
cameraImageUrl: (
|
|
117
|
+
/*cameraImageUrl*/
|
|
118
|
+
i[4]
|
|
119
|
+
)
|
|
70
120
|
}
|
|
71
121
|
];
|
|
72
122
|
let d = {};
|
|
@@ -80,27 +130,66 @@ function F(i) {
|
|
|
80
130
|
y(t, e, s), C(l, e, null), $(e, n), C(o, e, null), m = !0;
|
|
81
131
|
},
|
|
82
132
|
p(t, s) {
|
|
83
|
-
const _ = s &
|
|
133
|
+
const _ = s & /*five, pxmm, floorIndex, floorplanData, hoverEnable, extraObjects, highlightData*/
|
|
134
|
+
3181 ? S(c, [
|
|
84
135
|
{
|
|
85
|
-
five:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
136
|
+
five: (
|
|
137
|
+
/*five*/
|
|
138
|
+
t[0]
|
|
139
|
+
),
|
|
140
|
+
pxmm: (
|
|
141
|
+
/*pxmm*/
|
|
142
|
+
t[10]
|
|
143
|
+
),
|
|
144
|
+
floorIndex: (
|
|
145
|
+
/*floorIndex*/
|
|
146
|
+
t[11]
|
|
147
|
+
),
|
|
148
|
+
floorplanData: (
|
|
149
|
+
/*floorplanData*/
|
|
150
|
+
t[3]
|
|
151
|
+
),
|
|
152
|
+
hoverEnable: (
|
|
153
|
+
/*hoverEnable*/
|
|
154
|
+
t[2]
|
|
155
|
+
),
|
|
156
|
+
extraObjects: (
|
|
157
|
+
/*extraObjects*/
|
|
158
|
+
t[5]
|
|
159
|
+
),
|
|
160
|
+
highlightData: (
|
|
161
|
+
/*highlightData*/
|
|
162
|
+
t[6]
|
|
163
|
+
)
|
|
92
164
|
}
|
|
93
165
|
]) : {};
|
|
94
166
|
l.$set(_);
|
|
95
|
-
const v = s &
|
|
167
|
+
const v = s & /*pxmm, five, floorplanData, cameraImageUrl*/
|
|
168
|
+
1049 ? S(g, [
|
|
96
169
|
{
|
|
97
|
-
pxmm:
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
170
|
+
pxmm: (
|
|
171
|
+
/*pxmm*/
|
|
172
|
+
t[10]
|
|
173
|
+
),
|
|
174
|
+
five: (
|
|
175
|
+
/*five*/
|
|
176
|
+
t[0]
|
|
177
|
+
),
|
|
178
|
+
floorplanData: (
|
|
179
|
+
/*floorplanData*/
|
|
180
|
+
t[3]
|
|
181
|
+
),
|
|
182
|
+
cameraImageUrl: (
|
|
183
|
+
/*cameraImageUrl*/
|
|
184
|
+
t[4]
|
|
185
|
+
)
|
|
101
186
|
}
|
|
102
187
|
]) : {};
|
|
103
|
-
o.$set(v), s &
|
|
188
|
+
o.$set(v), s & /*contentWidth*/
|
|
189
|
+
512 && r !== (r = `${/*contentWidth*/
|
|
190
|
+
t[9]}px`) && q(e, "width", r), s & /*contentHeight*/
|
|
191
|
+
4096 && f !== (f = `${/*contentHeight*/
|
|
192
|
+
t[12]}px`) && q(e, "height", f);
|
|
104
193
|
},
|
|
105
194
|
i(t) {
|
|
106
195
|
m || (u(l.$$.fragment, t), u(o.$$.fragment, t), m = !0);
|
|
@@ -114,7 +203,10 @@ function F(i) {
|
|
|
114
203
|
};
|
|
115
204
|
}
|
|
116
205
|
function le(i) {
|
|
117
|
-
let e, l, n =
|
|
206
|
+
let e, l, n = (
|
|
207
|
+
/*visible*/
|
|
208
|
+
i[1] && M(i)
|
|
209
|
+
);
|
|
118
210
|
return {
|
|
119
211
|
c() {
|
|
120
212
|
n && n.c(), e = V();
|
|
@@ -123,7 +215,9 @@ function le(i) {
|
|
|
123
215
|
n && n.m(o, r), y(o, e, r), l = !0;
|
|
124
216
|
},
|
|
125
217
|
p(o, [r]) {
|
|
126
|
-
|
|
218
|
+
/*visible*/
|
|
219
|
+
o[1] ? n ? (n.p(o, r), r & /*visible*/
|
|
220
|
+
2 && u(n, 1)) : (n = M(o), n.c(), u(n, 1), n.m(e.parentNode, e)) : n && (B(), p(n, 1, 1, () => {
|
|
127
221
|
n = null;
|
|
128
222
|
}), N());
|
|
129
223
|
},
|
|
@@ -155,7 +249,8 @@ function ie(i, e, l) {
|
|
|
155
249
|
return i.$$set = (a) => {
|
|
156
250
|
"five" in a && l(0, n = a.five), "visible" in a && l(1, o = a.visible), "hoverEnable" in a && l(2, r = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, m = a.cameraImageUrl), "extraObjects" in a && l(5, c = a.extraObjects), "highlightData" in a && l(6, h = a.highlightData);
|
|
157
251
|
}, i.$$.update = () => {
|
|
158
|
-
if (i.$$.dirty &
|
|
252
|
+
if (i.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
|
|
253
|
+
904) {
|
|
159
254
|
const a = Math.min(t, s), { max: O, min: E } = f.bounding, b = O.x - E.x, D = O.y - E.y, U = function() {
|
|
160
255
|
return b > D ? [a, a / b * D] : [a / D * b, a];
|
|
161
256
|
}();
|
|
@@ -2,35 +2,35 @@ var g = Object.defineProperty, w = Object.defineProperties;
|
|
|
2
2
|
var v = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var f = Object.getOwnPropertySymbols;
|
|
4
4
|
var A = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var u = (r, i, t) => i in r ? g(r, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[i] = t, p = (r, i) => {
|
|
6
6
|
for (var t in i || (i = {}))
|
|
7
|
-
A.call(i, t) &&
|
|
7
|
+
A.call(i, t) && u(r, t, i[t]);
|
|
8
8
|
if (f)
|
|
9
9
|
for (var t of f(i))
|
|
10
|
-
S.call(i, t) &&
|
|
10
|
+
S.call(i, t) && u(r, t, i[t]);
|
|
11
11
|
return r;
|
|
12
12
|
}, b = (r, i) => w(r, v(i));
|
|
13
|
-
var o = (r, i, t) => (
|
|
14
|
-
var
|
|
13
|
+
var o = (r, i, t) => (u(r, typeof i != "symbol" ? i + "" : i, t), t);
|
|
14
|
+
var c = (r, i, t) => new Promise((e, s) => {
|
|
15
15
|
var h = (n) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
18
|
-
} catch (
|
|
19
|
-
s(
|
|
17
|
+
d(t.next(n));
|
|
18
|
+
} catch (l) {
|
|
19
|
+
s(l);
|
|
20
20
|
}
|
|
21
21
|
}, a = (n) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
24
|
-
} catch (
|
|
25
|
-
s(
|
|
23
|
+
d(t.throw(n));
|
|
24
|
+
} catch (l) {
|
|
25
|
+
s(l);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, d = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(h, a);
|
|
28
|
+
d((t = t.apply(r, i)).next());
|
|
29
29
|
});
|
|
30
|
-
import
|
|
31
|
-
import { equal as
|
|
32
|
-
import { CAMERA_IMAGE as
|
|
33
|
-
import { Controller as
|
|
30
|
+
import _ from "./Components/Main.js";
|
|
31
|
+
import { equal as y } from "../../shared-utils/equal.js";
|
|
32
|
+
import { CAMERA_IMAGE as D } from "../Assets/camera.js";
|
|
33
|
+
import { Controller as O } from "../../base/BasePluginWithData.js";
|
|
34
34
|
import { formatData as m, formatExtraObjects as C } from "../utils/formatData.js";
|
|
35
35
|
import "../../vendor/svelte/internal/index.js";
|
|
36
36
|
import "./Components/Camera.js";
|
|
@@ -51,7 +51,7 @@ import "../../shared-utils/Subscribe.js";
|
|
|
51
51
|
import "@realsee/five";
|
|
52
52
|
import "hammerjs";
|
|
53
53
|
import "three";
|
|
54
|
-
import "
|
|
54
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
55
55
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
56
56
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
57
57
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -66,15 +66,16 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
66
66
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
67
67
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
68
68
|
import "../../shared-utils/isAbsoluteURL.js";
|
|
69
|
-
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
70
|
-
import "../../shared-utils/animationFrame/index.js";
|
|
71
69
|
import "../Assets/floorplanExtraObject.js";
|
|
72
|
-
class
|
|
70
|
+
class ft extends O {
|
|
73
71
|
constructor(t, e) {
|
|
74
72
|
super(t);
|
|
73
|
+
// =============== public properties =================
|
|
75
74
|
o(this, "name", "panoFloorplanRadarPlugin");
|
|
76
75
|
o(this, "state");
|
|
76
|
+
// =============== protected properties =================
|
|
77
77
|
o(this, "data");
|
|
78
|
+
// =============== private properties =================
|
|
78
79
|
o(this, "app");
|
|
79
80
|
o(this, "wrapperSelector", "");
|
|
80
81
|
o(this, "wrapper", null);
|
|
@@ -86,7 +87,7 @@ class mt extends y {
|
|
|
86
87
|
this.disposed = !0, (t = this.app) == null || t.$destroy(), this.wrapper = null, this.wrapperSelector = "", this.hooks.emit("dispose");
|
|
87
88
|
});
|
|
88
89
|
o(this, "highlight", (t) => {
|
|
89
|
-
|
|
90
|
+
this.state.config.highlightEnable && (this.highlightData = t, this.render());
|
|
90
91
|
});
|
|
91
92
|
o(this, "unhighlight", () => {
|
|
92
93
|
this.highlightData = {}, this.render();
|
|
@@ -100,21 +101,21 @@ class mt extends y {
|
|
|
100
101
|
const s = {
|
|
101
102
|
hoverEnable: !0,
|
|
102
103
|
highlightEnable: !0,
|
|
103
|
-
cameraImageUrl:
|
|
104
|
+
cameraImageUrl: D
|
|
104
105
|
}, h = e != null && e.configs ? e.configs : {}, a = p(p({}, s), h);
|
|
105
|
-
this.state = { enabled: !0, visible: !0, config: a }, e != null && e.wrapper && console.warn("
|
|
106
|
+
this.state = { enabled: !0, visible: !0, config: a }, e != null && e.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (e == null ? void 0 : e.wrapper) == "string" ? this.wrapperSelector = e.wrapper : (e == null ? void 0 : e.wrapper) instanceof Element && (this.wrapper = e.wrapper), t.once("dispose", this.dispose);
|
|
106
107
|
}
|
|
107
108
|
load(t, e, s = !0) {
|
|
108
|
-
return
|
|
109
|
-
function h(
|
|
110
|
-
return Object.prototype.hasOwnProperty.apply(
|
|
109
|
+
return c(this, null, function* () {
|
|
110
|
+
function h(l) {
|
|
111
|
+
return Object.prototype.hasOwnProperty.apply(l, ["version"]);
|
|
111
112
|
}
|
|
112
|
-
const a = JSON.parse(JSON.stringify(t)),
|
|
113
|
-
this.data = yield m(
|
|
113
|
+
const a = JSON.parse(JSON.stringify(t)), d = h(a) ? a.data : a, n = this.data;
|
|
114
|
+
this.data = yield m(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, n), e && this.updateState(e, s), this.render();
|
|
114
115
|
});
|
|
115
116
|
}
|
|
116
117
|
show() {
|
|
117
|
-
return
|
|
118
|
+
return c(this, arguments, function* (t = {}) {
|
|
118
119
|
if (this.state.visible)
|
|
119
120
|
return;
|
|
120
121
|
const e = t.userAction !== void 0 ? t.userAction : !0;
|
|
@@ -122,7 +123,7 @@ class mt extends y {
|
|
|
122
123
|
});
|
|
123
124
|
}
|
|
124
125
|
hide() {
|
|
125
|
-
return
|
|
126
|
+
return c(this, arguments, function* (t = {}) {
|
|
126
127
|
if (!this.state.visible)
|
|
127
128
|
return;
|
|
128
129
|
const e = t.userAction !== void 0 ? t.userAction : !0;
|
|
@@ -141,6 +142,7 @@ class mt extends y {
|
|
|
141
142
|
const e = t.userAction !== void 0 ? t.userAction : !0;
|
|
142
143
|
this.updateState({ enabled: !1 }, t.userAction || e), this._disable({ userAction: e });
|
|
143
144
|
}
|
|
145
|
+
/** 更改插件 State */
|
|
144
146
|
setState(t, e = {}) {
|
|
145
147
|
const s = this.state, h = e.userAction !== void 0 ? e.userAction : !0;
|
|
146
148
|
if (this.updateState(t, h), t.enabled !== void 0 && s.enabled !== t.enabled) {
|
|
@@ -152,6 +154,7 @@ class mt extends y {
|
|
|
152
154
|
t.visible ? this._show(a) : this._hide(a);
|
|
153
155
|
}
|
|
154
156
|
}
|
|
157
|
+
/** 把插件的渲染DOM插入到对应的容器中去 */
|
|
155
158
|
appendTo(t) {
|
|
156
159
|
this.wrapper = t, this.render();
|
|
157
160
|
}
|
|
@@ -159,10 +162,10 @@ class mt extends y {
|
|
|
159
162
|
this.setState({ config: t }, { userAction: e }), this.render();
|
|
160
163
|
}
|
|
161
164
|
setExtraObjectsWith3DPositions(t) {
|
|
162
|
-
|
|
165
|
+
this.data && (this.extraObjects = C(t, this.five, this.data), this.render());
|
|
163
166
|
}
|
|
164
167
|
formatData(t) {
|
|
165
|
-
return
|
|
168
|
+
return c(this, null, function* () {
|
|
166
169
|
return yield m(t.data);
|
|
167
170
|
});
|
|
168
171
|
}
|
|
@@ -184,7 +187,7 @@ class mt extends y {
|
|
|
184
187
|
}
|
|
185
188
|
updateState(t, e) {
|
|
186
189
|
const s = this.state;
|
|
187
|
-
this.state = p(p({}, this.state), t), !
|
|
190
|
+
this.state = p(p({}, this.state), t), !y(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: e });
|
|
188
191
|
}
|
|
189
192
|
render() {
|
|
190
193
|
if (this.disposed || !this.state.enabled)
|
|
@@ -202,9 +205,9 @@ class mt extends y {
|
|
|
202
205
|
extraObjects: this.extraObjects,
|
|
203
206
|
highlightData: this.highlightData
|
|
204
207
|
});
|
|
205
|
-
this.app ? this.app.$set(t) : this.app = new
|
|
208
|
+
this.app ? this.app.$set(t) : this.app = new _({ target: this.wrapper, props: t });
|
|
206
209
|
}
|
|
207
210
|
}
|
|
208
211
|
export {
|
|
209
|
-
|
|
212
|
+
ft as Controller
|
|
210
213
|
};
|
|
@@ -22,7 +22,7 @@ import "../../shared-utils/Subscribe.js";
|
|
|
22
22
|
import "@realsee/five";
|
|
23
23
|
import "hammerjs";
|
|
24
24
|
import "three";
|
|
25
|
-
import "
|
|
25
|
+
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
26
26
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
27
27
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
28
28
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -37,12 +37,10 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
|
37
37
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
38
38
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
39
39
|
import "../../shared-utils/isAbsoluteURL.js";
|
|
40
|
-
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
41
|
-
import "../../shared-utils/animationFrame/index.js";
|
|
42
40
|
import "../utils/formatData.js";
|
|
43
41
|
import "../Assets/floorplanExtraObject.js";
|
|
44
|
-
const
|
|
42
|
+
const S = (o, r) => new t(o, r);
|
|
45
43
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
S as PanoFloorplanRadarPlugin,
|
|
45
|
+
S as default
|
|
48
46
|
};
|