@realsee/dnalogel 2.28.0-dev.1 → 2.28.1-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/AreaMakerPlugin/Controller.d.ts +94 -0
- package/dist/AreaMakerPlugin/index.d.ts +4 -0
- package/dist/AreaMakerPlugin/typing.d.ts +148 -0
- package/dist/AreaMakerPlugin/utils/Item.d.ts +115 -0
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
- package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -4
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +2 -0
- package/dist/base/BasePluginWithData.d.ts +1 -1
- package/dist/components/AreaLabel/Assets/roomLabelBg.d.ts +1 -0
- package/dist/floorplan/index.d.ts +0 -1
- package/dist/floorplan/utils/correctFiveState.d.ts +2 -0
- package/dist/index.cjs.js +67 -67
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6901 -7187
- package/dist/index.umd.js +60 -60
- package/dist/shared-utils/index.d.ts +1 -0
- package/dist/shared-utils/math/planimetry.d.ts +1 -1
- package/dist/shared-utils/three/core/Object3D.d.ts +8 -0
- package/dist/shared-utils/three/index.d.ts +2 -0
- package/dist/shared-utils/three/loadVideoTexture.d.ts +1 -1
- package/dist/shared-utils/three/objects/LineSegments.d.ts +9 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginPluginType.AreaMakerController.html +711 -0
- package/docs/classes/AreaMakerPluginPluginType.AreaMakerItem.html +671 -0
- package/docs/classes/CSS3DRender.html +33 -34
- package/docs/classes/CruisePluginController.html +29 -30
- package/docs/classes/GuideLineItem.GuideLineItem.html +22 -23
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +37 -38
- package/docs/classes/Magnifier.html +22 -23
- package/docs/classes/ModelRoomLabelController.html +13 -14
- package/docs/classes/Object3DHelperController.html +27 -28
- package/docs/classes/PaintBrush.html +17 -18
- package/docs/classes/PanoMeasurePluginLine.html +29 -30
- package/docs/classes/PanoMeasurePluginModel.html +29 -30
- package/docs/classes/PanoMeasurePluginPoint.html +13 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +29 -30
- package/docs/classes/PanoTagPluginController.html +52 -53
- package/docs/classes/Util.BetterTween.html +13 -11
- package/docs/classes/Util.Interval.html +16 -14
- package/docs/classes/Util.LineSegments.html +379 -0
- package/docs/classes/Util.Magnifier.html +24 -22
- package/docs/classes/Util.Object3D.html +401 -0
- package/docs/classes/Util.PointDomHelper.html +15 -13
- package/docs/classes/Util.PointHelper.html +15 -13
- package/docs/classes/Util.PointSelectorHelper.html +20 -18
- package/docs/classes/Util.Rectangle.html +17 -15
- package/docs/enums/CameraMovementEffect.html +9 -10
- package/docs/enums/ContentType.html +22 -23
- package/docs/enums/DIRECTION.html +11 -12
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -12
- package/docs/enums/DimensionType.html +9 -10
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -11
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -12
- package/docs/enums/PaintBrushTypeEnum.html +10 -11
- package/docs/enums/PointType.html +9 -10
- package/docs/enums/Rotation.html +10 -11
- package/docs/functions/{FloorplanRoomsPlugin.html → AreaMakerPluginPlugin.html} +12 -13
- package/docs/functions/CSS3DRenderPlugin.html +6 -7
- package/docs/functions/CameraMovementPlugin.html +6 -7
- package/docs/functions/CruisePlugin.html +7 -8
- package/docs/functions/GuideLinePlugin.html +7 -8
- package/docs/functions/ItemLabelPlugin.html +6 -7
- package/docs/functions/MapviewFloorplanPlugin.html +6 -7
- package/docs/functions/ModelChassisCompassPlugin.html +6 -7
- package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -7
- package/docs/functions/ModelFloorplanPlugin.html +6 -7
- package/docs/functions/ModelItemLabelPlugin.html +6 -7
- package/docs/functions/ModelRoomLabelPlugin.html +6 -7
- package/docs/functions/ModelTVVideoPlugin.html +6 -7
- package/docs/functions/ModelViewPlugin.html +6 -7
- package/docs/functions/Object3DHelperPlugin.html +6 -7
- package/docs/functions/PanoCompassPlugin.html +6 -7
- package/docs/functions/PanoCursorRaycasterPlugin.html +6 -7
- package/docs/functions/PanoDoorLabelPlugin.html +6 -7
- package/docs/functions/PanoFloorplanRadarPlugin.html +6 -7
- package/docs/functions/PanoMeasurePlugin.html +6 -7
- package/docs/functions/PanoRulerPlugin.html +6 -7
- package/docs/functions/PanoRulerProPlugin.html +6 -7
- package/docs/functions/PanoSpatialTagPlugin.html +6 -7
- package/docs/functions/PanoTagPlugin.html +6 -7
- package/docs/functions/PanoVideoPlugin.html +6 -7
- package/docs/functions/PipelinePlugin.html +6 -7
- package/docs/functions/TopviewFloorplanPlugin.html +6 -7
- package/docs/functions/Util.absoluteUrl.html +9 -7
- package/docs/functions/Util.equal.html +333 -0
- package/docs/functions/Util.getCoordsFromClient.html +9 -7
- package/docs/functions/Util.getCoordsFromElement.html +9 -7
- package/docs/functions/Util.getFrameTime.html +9 -7
- package/docs/functions/Util.getIntersectFromRelativePosition.html +9 -7
- package/docs/functions/Util.getRaycasterFromFivePointer.html +9 -7
- package/docs/functions/Util.isAbsoluteURL.html +9 -7
- package/docs/functions/Util.isModelLike.html +9 -7
- package/docs/functions/Util.isNil.html +9 -7
- package/docs/functions/Util.isPanoramaLike.html +9 -7
- package/docs/functions/Util.nextFrame.html +9 -7
- package/docs/functions/Util.notNil.html +9 -7
- package/docs/functions/Util.requestAnimationFrameInterval.html +9 -7
- package/docs/functions/Util.tweenProgress.html +9 -7
- package/docs/functions/Util.uuid.html +9 -7
- package/docs/functions/pluginFlag.html +7 -8
- package/docs/index.html +7 -8
- package/docs/interfaces/AddTagConfig.html +8 -9
- package/docs/interfaces/AreaMakerPluginPluginType.AnimeOptions.html +325 -0
- package/docs/interfaces/AreaMakerPluginPluginType.Config.html +330 -0
- package/docs/interfaces/AreaMakerPluginPluginType.EventMap.html +616 -0
- package/docs/interfaces/AreaMakerPluginPluginType.Params.html +329 -0
- package/docs/interfaces/AreaMakerPluginPluginType.ServerAreaMakerItem.html +379 -0
- package/docs/interfaces/AreaMakerPluginPluginType.ServerAreaMakerItemV1.html +364 -0
- package/docs/interfaces/AreaMakerPluginPluginType.ServerDataV1.html +329 -0
- package/docs/interfaces/AreaMakerPluginPluginType.ServerDataV2.html +322 -0
- package/docs/interfaces/AreaMakerPluginPluginType.ShowHideOptions.html +321 -0
- package/docs/interfaces/AreaMakerPluginPluginType.State.html +350 -0
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -14
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -11
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -10
- package/docs/interfaces/CruisePluginTypes.Config.html +10 -11
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +14 -15
- package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -23
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +14 -15
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +16 -17
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +16 -17
- package/docs/interfaces/CruisePluginTypes.PluginData.html +11 -12
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +8 -9
- package/docs/interfaces/CruisePluginTypes.PluginState.html +13 -14
- package/docs/interfaces/EventMap.html +17 -18
- package/docs/interfaces/FloorplanBounding.html +10 -11
- package/docs/interfaces/FloorplanData.html +12 -13
- package/docs/interfaces/FloorplanEntrance.html +13 -14
- package/docs/interfaces/FloorplanExtraObject.html +12 -13
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -11
- package/docs/interfaces/FloorplanFloorData.html +11 -12
- package/docs/interfaces/FloorplanImagePosition.html +9 -10
- package/docs/interfaces/FloorplanObserver.html +11 -12
- package/docs/interfaces/FloorplanOutlineItem.html +11 -12
- package/docs/interfaces/FloorplanPosition.html +9 -10
- package/docs/interfaces/FloorplanRoomItem.html +15 -16
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -10
- package/docs/interfaces/FloorplanServerBounding.html +10 -11
- package/docs/interfaces/FloorplanServerComputedData.html +12 -13
- package/docs/interfaces/FloorplanServerData.html +9 -10
- package/docs/interfaces/FloorplanServerDoorItem.html +12 -13
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -11
- package/docs/interfaces/FloorplanServerEntrance.html +13 -14
- package/docs/interfaces/FloorplanServerFloorData.html +11 -12
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -10
- package/docs/interfaces/FloorplanServerObserver.html +11 -12
- package/docs/interfaces/FloorplanServerOutlineItem.html +11 -12
- package/docs/interfaces/FloorplanServerPosition.html +9 -10
- package/docs/interfaces/FloorplanServerRoomItem.html +16 -17
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -10
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -11
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +12 -13
- package/docs/interfaces/GuideLinePluginType.EventMap.html +15 -16
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +10 -11
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +8 -9
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +15 -16
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +10 -11
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -21
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +9 -10
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -21
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +7 -8
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +8 -9
- package/docs/interfaces/GuideLinePluginType.PluginState.html +10 -11
- package/docs/interfaces/GuideLinePluginType.Route.html +13 -14
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +11 -12
- package/docs/interfaces/HelperOffset.html +10 -11
- package/docs/interfaces/ImagePlaneGroup.html +8 -9
- package/docs/interfaces/ItemLabelPluginData.html +8 -9
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -14
- package/docs/interfaces/ItemLabelPluginParametersType.html +11 -12
- package/docs/interfaces/MinMax.html +9 -10
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -10
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -11
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -10
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -11
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -11
- package/docs/interfaces/ModelItemLabelPluginData.html +8 -9
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -14
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -10
- package/docs/interfaces/ModelRoomLabelPluginData.html +8 -9
- package/docs/interfaces/ModelTVVideoPluginData.html +11 -12
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -11
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -9
- package/docs/interfaces/ModelViewPluginExportType.html +13 -14
- package/docs/interfaces/Object3DHelperState.html +10 -11
- package/docs/interfaces/ObjectHelperControllers.html +11 -12
- package/docs/interfaces/PaintBrushAction.html +14 -15
- package/docs/interfaces/PaintBrushConfigs.html +14 -15
- package/docs/interfaces/PaintBrushState.html +12 -13
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -13
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -8
- package/docs/interfaces/PanoMeasureParameterType.html +18 -19
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -11
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -10
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -10
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +12 -13
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -10
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -11
- package/docs/interfaces/PanoRulerProPluginExportType.html +11 -12
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -10
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -10
- package/docs/interfaces/PanoRulerProPluginState.html +10 -11
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -8
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -8
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -14
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -13
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -16
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -13
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -16
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -14
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -13
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -9
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -11
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -9
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -12
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -9
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -11
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -13
- package/docs/interfaces/Point.html +10 -11
- package/docs/interfaces/Room.html +11 -12
- package/docs/interfaces/RoomInfo.html +9 -10
- package/docs/interfaces/RoomLabel.html +16 -17
- package/docs/interfaces/RoomRules.html +7 -8
- package/docs/interfaces/Rooms.html +7 -8
- package/docs/interfaces/Scissor.html +11 -12
- package/docs/interfaces/State.html +10 -11
- package/docs/interfaces/TagCacheInterface.html +14 -15
- package/docs/interfaces/TagConfig.html +17 -18
- package/docs/interfaces/TagGLTFObjectGroup.html +8 -9
- package/docs/interfaces/TagIconUrl.html +14 -15
- package/docs/interfaces/TagObjectGroup.html +8 -9
- package/docs/interfaces/TagStyle.html +8 -9
- package/docs/interfaces/Tags.html +11 -12
- package/docs/interfaces/TemporaryState.html +8 -9
- package/docs/interfaces/Util.MagnifierParameter.html +15 -13
- package/docs/interfaces/Util.MouseGroupParameter.html +12 -10
- package/docs/interfaces/Util.PointIntersection.html +12 -10
- package/docs/modules/AreaMakerPluginPluginType.html +319 -0
- package/docs/modules/CruisePluginTypes.html +7 -8
- package/docs/modules/GuideLineItem.html +7 -8
- package/docs/modules/GuideLineModeItem.html +7 -8
- package/docs/modules/GuideLinePluginType.html +7 -8
- package/docs/modules/PanoVideoPluginType.html +7 -8
- package/docs/modules/Util.html +12 -7
- package/docs/modules.html +10 -12
- package/docs/types/AreaMakerPluginPluginType.AreaMakerItemEventMap.html +327 -0
- package/docs/types/{FloorplanRoomsPluginReturnType.html → AreaMakerPluginPluginType.PluginData.html} +35 -14
- package/docs/types/{FloorplanRoomsPluginParameterType.html → AreaMakerPluginPluginType.ServerData.html} +35 -14
- package/docs/types/ArrayPosition.html +7 -8
- package/docs/types/AudioAppearance.html +7 -8
- package/docs/types/AudioTagTypeConfigKey.html +7 -8
- package/docs/types/CSS3DRenderExportType.html +7 -8
- package/docs/types/CSS3DRenderPluginExportType.html +7 -8
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -8
- package/docs/types/ClassFunctionParameters.html +7 -8
- package/docs/types/Color.html +7 -8
- package/docs/types/ContentTypeConfigKey.html +7 -8
- package/docs/types/ContentTypeConfigKeySplit.html +7 -8
- package/docs/types/ContentTypeMap.html +7 -8
- package/docs/types/Create3DDomContainerReturnType.html +7 -8
- package/docs/types/Create3DElementReturnType.html +7 -8
- package/docs/types/CruisePluginExportType.html +7 -8
- package/docs/types/CruisePluginTypes.CruiseData.html +7 -8
- package/docs/types/CruisePluginTypes.MoveEffect.html +7 -8
- package/docs/types/DeprecatedMediaPlaneProperty.html +7 -8
- package/docs/types/DeprecatedTagProperty.html +7 -8
- package/docs/types/Direction-1.html +7 -8
- package/docs/types/Direction4.html +7 -8
- package/docs/types/ElementRenderer.html +7 -8
- package/docs/types/FloorplanRuleLabels.html +7 -8
- package/docs/types/FloorplanServerRuleLabels.html +7 -8
- package/docs/types/GuideLinePluginExportType.html +7 -8
- package/docs/types/GuideLinePluginType.GuideLineItem.html +7 -8
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +7 -8
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +7 -8
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +7 -8
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +7 -8
- package/docs/types/GuideLinePluginType.PathItem.html +7 -8
- package/docs/types/GuideLinePluginType.PluginData.html +7 -8
- package/docs/types/HelperEventMap.html +7 -8
- package/docs/types/LoadTagConfig.html +7 -8
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -8
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -8
- package/docs/types/MediaData.html +7 -8
- package/docs/types/MediaStore.html +7 -8
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -8
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -8
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -8
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -8
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -8
- package/docs/types/MoveArgs.html +7 -8
- package/docs/types/MoveOpts.html +7 -8
- package/docs/types/Object3DHelperEventMap.html +7 -8
- package/docs/types/ObjectFit.html +7 -8
- package/docs/types/PaintBrushEventMap.html +7 -8
- package/docs/types/PanoCompassPluginData.html +7 -8
- package/docs/types/PanoCompassPluginExportType.html +7 -8
- package/docs/types/PanoCompassPluginParameterType.html +7 -8
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -8
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -8
- package/docs/types/PanoIndex.html +7 -8
- package/docs/types/PanoMeasurePluginEvent.html +7 -8
- package/docs/types/PanoMeasureReturnType.html +7 -8
- package/docs/types/PanoSpatialTagPluginId.html +7 -8
- package/docs/types/PanoTagPluginExportInterface.html +7 -8
- package/docs/types/PanoTagPluginParamsInterface.html +7 -8
- package/docs/types/PanoVideoPluginParameterType.html +7 -8
- package/docs/types/PanoVideoPluginReturnType.html +7 -8
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +7 -8
- package/docs/types/PipelinePluginParameterType.html +7 -8
- package/docs/types/PipelinePluginReturnType.html +7 -8
- package/docs/types/PlaneTag.html +7 -8
- package/docs/types/Point2DTag.html +7 -8
- package/docs/types/Point3DTag.html +7 -8
- package/docs/types/PointTag.html +7 -8
- package/docs/types/PointTagInstance.html +7 -8
- package/docs/types/Position.html +7 -8
- package/docs/types/RotateArgs.html +7 -8
- package/docs/types/RotateOpts.html +7 -8
- package/docs/types/RuleLabelsKey.html +7 -8
- package/docs/types/RuleLabelsValue.html +7 -8
- package/docs/types/StickType.html +7 -8
- package/docs/types/Tag.html +9 -10
- package/docs/types/Tag2D.html +7 -8
- package/docs/types/Tag3D.html +7 -8
- package/docs/types/TagConfigByKey.html +7 -8
- package/docs/types/TagContentType.html +7 -8
- package/docs/types/TagDimensionType.html +7 -8
- package/docs/types/TagElement.html +7 -8
- package/docs/types/TagEvents.html +7 -8
- package/docs/types/TagGLTFObject.html +7 -8
- package/docs/types/TagHooks.html +7 -8
- package/docs/types/TagId.html +7 -8
- package/docs/types/TagInstance.html +7 -8
- package/docs/types/TagPointType.html +7 -8
- package/docs/types/TagRendererMap.html +7 -8
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -8
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -8
- package/docs/types/WorkCode.html +7 -8
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -8
- package/docs/variables/PLUGIN.html +7 -8
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -8
- package/docs/variables/ROOM_TYPE_MAP.html +7 -8
- package/docs/variables/defaultGlobalConfig.html +8 -9
- package/docs/variables/itemLabelPluginServerParams.html +7 -8
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -8
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -8
- package/libs/AreaMakerPlugin/Controller.d.ts +94 -0
- package/libs/AreaMakerPlugin/Controller.js +336 -0
- package/libs/AreaMakerPlugin/index.d.ts +4 -0
- package/libs/AreaMakerPlugin/index.js +37 -0
- package/libs/AreaMakerPlugin/typing.d.ts +148 -0
- package/libs/AreaMakerPlugin/utils/Item.d.ts +115 -0
- package/libs/AreaMakerPlugin/utils/Item.js +266 -0
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +42 -39
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +13 -13
- package/libs/PanoTagPlugin/controller/TagRender.js +19 -18
- package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -4
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +10 -10
- package/libs/base/BasePlugin.js +1 -1
- package/libs/base/BasePluginWithData.d.ts +1 -1
- package/libs/components/AreaLabel/Assets/roomLabelBg.d.ts +1 -0
- package/libs/components/AreaLabel/Assets/roomLabelBg.js +4 -0
- package/libs/components/AreaLabel/LabelItem.js +125 -0
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +49 -48
- package/libs/floorplan/index.d.ts +0 -1
- package/libs/floorplan/utils/correctFiveState.d.ts +2 -0
- package/libs/floorplan/utils/correctFiveState.js +28 -28
- package/libs/index.d.ts +1 -0
- package/libs/index.js +120 -122
- package/libs/shared-utils/device.js +0 -1
- package/libs/shared-utils/five/changeMode.js +32 -29
- package/libs/shared-utils/index.d.ts +1 -0
- package/libs/shared-utils/index.js +27 -21
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/planimetry.d.ts +1 -1
- package/libs/shared-utils/math/planimetry.js +36 -29
- package/libs/shared-utils/three/core/Object3D.d.ts +8 -0
- package/libs/shared-utils/three/core/Object3D.js +22 -0
- package/libs/shared-utils/three/index.d.ts +2 -0
- package/libs/shared-utils/three/loadVideoTexture.d.ts +1 -1
- package/libs/shared-utils/three/loadVideoTexture.js +6 -6
- package/libs/shared-utils/three/objects/LineSegments.d.ts +9 -0
- package/libs/shared-utils/three/objects/LineSegments.js +9 -0
- package/libs/vendor/svelte/internal/index.js +79 -85
- package/package.json +2 -2
- package/dist/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +0 -114
- package/dist/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +0 -23
- package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +0 -1
- package/dist/floorplan/FloorplanRoomsPlugin/Controller.d.ts +0 -40
- package/dist/floorplan/FloorplanRoomsPlugin/index.d.ts +0 -6
- package/dist/floorplan/FloorplanRoomsPlugin/typing.d.ts +0 -60
- package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +0 -114
- package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.js +0 -51
- package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +0 -23
- package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.js +0 -25
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.js +0 -188
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.js +0 -94
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.js +0 -111
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.js +0 -191
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.js +0 -237
- package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +0 -1
- package/libs/floorplan/FloorplanRoomsPlugin/Controller.d.ts +0 -40
- package/libs/floorplan/FloorplanRoomsPlugin/Controller.js +0 -207
- package/libs/floorplan/FloorplanRoomsPlugin/index.d.ts +0 -6
- package/libs/floorplan/FloorplanRoomsPlugin/index.js +0 -43
- package/libs/floorplan/FloorplanRoomsPlugin/typing.d.ts +0 -60
- /package/dist/{floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts → components/AreaLabel/LabelItem.svelte.d.ts} +0 -0
- /package/libs/{floorplan/FloorplanRoomsPlugin → AreaMakerPlugin}/typing.js +0 -0
- /package/{dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts → libs/components/AreaLabel/LabelItem.svelte.d.ts} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** @file three.js 中声明有问题,这里重载一下声明 */
|
|
2
|
+
import type { Geometry, BufferGeometry, Material } from 'three';
|
|
3
|
+
import { LineSegments as OriginLineSegments } from 'three';
|
|
4
|
+
declare class LineSegments<TGeometry extends Geometry | BufferGeometry = Geometry | BufferGeometry, TMaterial extends Material | Material[] = Material | Material[]> extends OriginLineSegments<TGeometry, TMaterial> {
|
|
5
|
+
geometry: TGeometry;
|
|
6
|
+
material: TMaterial;
|
|
7
|
+
constructor(geometry: TGeometry, material: TMaterial);
|
|
8
|
+
}
|
|
9
|
+
export { LineSegments };
|
|
@@ -151,25 +151,20 @@ function lt(t, e, n, i) {
|
|
|
151
151
|
return t.addEventListener(e, n, i), () => t.removeEventListener(e, n, i);
|
|
152
152
|
}
|
|
153
153
|
function Zt(t) {
|
|
154
|
-
return function(e) {
|
|
155
|
-
return e.preventDefault(), t.call(this, e);
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
function te(t) {
|
|
159
154
|
return function(e) {
|
|
160
155
|
return e.stopPropagation(), t.call(this, e);
|
|
161
156
|
};
|
|
162
157
|
}
|
|
163
|
-
function
|
|
158
|
+
function te(t, e, n) {
|
|
164
159
|
n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
|
|
165
160
|
}
|
|
166
161
|
function At(t) {
|
|
167
162
|
return Array.from(t.childNodes);
|
|
168
163
|
}
|
|
169
|
-
function
|
|
164
|
+
function ee(t, e) {
|
|
170
165
|
e = "" + e, t.data !== e && (t.data = e);
|
|
171
166
|
}
|
|
172
|
-
function
|
|
167
|
+
function ne(t, e, n, i) {
|
|
173
168
|
n === null ? t.style.removeProperty(e) : t.style.setProperty(e, n, i ? "important" : "");
|
|
174
169
|
}
|
|
175
170
|
let W;
|
|
@@ -184,7 +179,7 @@ function Tt() {
|
|
|
184
179
|
}
|
|
185
180
|
return W;
|
|
186
181
|
}
|
|
187
|
-
function
|
|
182
|
+
function ie(t, e) {
|
|
188
183
|
getComputedStyle(t).position === "static" && (t.style.position = "relative");
|
|
189
184
|
const i = K("iframe");
|
|
190
185
|
i.setAttribute("style", "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
|
|
@@ -198,14 +193,14 @@ function re(t, e) {
|
|
|
198
193
|
(r || s && i.contentWindow) && s(), J(i);
|
|
199
194
|
};
|
|
200
195
|
}
|
|
201
|
-
function
|
|
196
|
+
function re(t, e, n) {
|
|
202
197
|
t.classList[n ? "add" : "remove"](e);
|
|
203
198
|
}
|
|
204
199
|
function yt(t, e, { bubbles: n = !1, cancelable: i = !1 } = {}) {
|
|
205
200
|
const r = document.createEvent("CustomEvent");
|
|
206
201
|
return r.initCustomEvent(t, n, i, e), r;
|
|
207
202
|
}
|
|
208
|
-
class
|
|
203
|
+
class se {
|
|
209
204
|
constructor(e = !1) {
|
|
210
205
|
this.is_svg = !1, this.is_svg = e, this.e = this.n = null;
|
|
211
206
|
}
|
|
@@ -271,28 +266,28 @@ function jt() {
|
|
|
271
266
|
}), H.clear());
|
|
272
267
|
});
|
|
273
268
|
}
|
|
274
|
-
let
|
|
269
|
+
let D;
|
|
275
270
|
function v(t) {
|
|
276
|
-
|
|
271
|
+
D = t;
|
|
277
272
|
}
|
|
278
273
|
function A() {
|
|
279
|
-
if (!
|
|
274
|
+
if (!D)
|
|
280
275
|
throw new Error("Function called outside component initialization");
|
|
281
|
-
return
|
|
276
|
+
return D;
|
|
282
277
|
}
|
|
283
|
-
function
|
|
278
|
+
function oe(t) {
|
|
284
279
|
A().$$.before_update.push(t);
|
|
285
280
|
}
|
|
286
|
-
function
|
|
281
|
+
function ce(t) {
|
|
287
282
|
A().$$.on_mount.push(t);
|
|
288
283
|
}
|
|
289
|
-
function
|
|
284
|
+
function ue(t) {
|
|
290
285
|
A().$$.after_update.push(t);
|
|
291
286
|
}
|
|
292
|
-
function
|
|
287
|
+
function le(t) {
|
|
293
288
|
A().$$.on_destroy.push(t);
|
|
294
289
|
}
|
|
295
|
-
function
|
|
290
|
+
function fe() {
|
|
296
291
|
const t = A();
|
|
297
292
|
return (e, n, { cancelable: i = !1 } = {}) => {
|
|
298
293
|
const r = t.$$.callbacks[e];
|
|
@@ -305,13 +300,13 @@ function ae() {
|
|
|
305
300
|
return !0;
|
|
306
301
|
};
|
|
307
302
|
}
|
|
308
|
-
function
|
|
303
|
+
function ae(t, e) {
|
|
309
304
|
return A().$$.context.set(t, e), e;
|
|
310
305
|
}
|
|
311
|
-
function
|
|
306
|
+
function de(t) {
|
|
312
307
|
return A().$$.context.get(t);
|
|
313
308
|
}
|
|
314
|
-
function
|
|
309
|
+
function he(t, e) {
|
|
315
310
|
const n = t.$$.callbacks[e.type];
|
|
316
311
|
n && n.slice().forEach((i) => i.call(this, e));
|
|
317
312
|
}
|
|
@@ -322,13 +317,13 @@ let Y = !1;
|
|
|
322
317
|
function wt() {
|
|
323
318
|
Y || (Y = !0, bt.then(rt));
|
|
324
319
|
}
|
|
325
|
-
function
|
|
320
|
+
function _e() {
|
|
326
321
|
return wt(), bt;
|
|
327
322
|
}
|
|
328
323
|
function z(t) {
|
|
329
324
|
S.push(t);
|
|
330
325
|
}
|
|
331
|
-
function
|
|
326
|
+
function pe(t) {
|
|
332
327
|
X.push(t);
|
|
333
328
|
}
|
|
334
329
|
const V = /* @__PURE__ */ new Set();
|
|
@@ -336,7 +331,7 @@ let C = 0;
|
|
|
336
331
|
function rt() {
|
|
337
332
|
if (C !== 0)
|
|
338
333
|
return;
|
|
339
|
-
const t =
|
|
334
|
+
const t = D;
|
|
340
335
|
do {
|
|
341
336
|
try {
|
|
342
337
|
for (; C < P.length; ) {
|
|
@@ -369,11 +364,11 @@ function zt(t) {
|
|
|
369
364
|
const e = [], n = [];
|
|
370
365
|
S.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), S = e;
|
|
371
366
|
}
|
|
372
|
-
let
|
|
367
|
+
let O;
|
|
373
368
|
function st() {
|
|
374
|
-
return
|
|
375
|
-
|
|
376
|
-
})),
|
|
369
|
+
return O || (O = Promise.resolve(), O.then(() => {
|
|
370
|
+
O = null;
|
|
371
|
+
})), O;
|
|
377
372
|
}
|
|
378
373
|
function T(t, e, n) {
|
|
379
374
|
t.dispatchEvent(yt(`${e ? "intro" : "outro"}${n}`));
|
|
@@ -388,7 +383,7 @@ function Lt() {
|
|
|
388
383
|
// parent group
|
|
389
384
|
};
|
|
390
385
|
}
|
|
391
|
-
function
|
|
386
|
+
function Ot() {
|
|
392
387
|
x.r || M(x.c), x = x.p;
|
|
393
388
|
}
|
|
394
389
|
function ot(t, e) {
|
|
@@ -405,7 +400,7 @@ function $t(t, e, n, i) {
|
|
|
405
400
|
i && i();
|
|
406
401
|
}
|
|
407
402
|
const ct = { duration: 0 };
|
|
408
|
-
function
|
|
403
|
+
function me(t, e, n) {
|
|
409
404
|
const i = { direction: "in" };
|
|
410
405
|
let r = e(t, n, i), s = !1, c, o, l = 0;
|
|
411
406
|
function u() {
|
|
@@ -440,7 +435,7 @@ function ge(t, e, n) {
|
|
|
440
435
|
}
|
|
441
436
|
};
|
|
442
437
|
}
|
|
443
|
-
function
|
|
438
|
+
function ge(t, e, n) {
|
|
444
439
|
const i = { direction: "out" };
|
|
445
440
|
let r = e(t, n, i), s = !0, c;
|
|
446
441
|
const o = x;
|
|
@@ -469,7 +464,7 @@ function ye(t, e, n) {
|
|
|
469
464
|
}
|
|
470
465
|
};
|
|
471
466
|
}
|
|
472
|
-
function
|
|
467
|
+
function ye(t, e, n, i) {
|
|
473
468
|
const r = { direction: "both" };
|
|
474
469
|
let s = e(t, n, r), c = i ? 0 : 1, o = null, l = null, u = null;
|
|
475
470
|
function _() {
|
|
@@ -515,7 +510,7 @@ function be(t, e, n, i) {
|
|
|
515
510
|
}
|
|
516
511
|
};
|
|
517
512
|
}
|
|
518
|
-
function
|
|
513
|
+
function be(t, e) {
|
|
519
514
|
const n = e.token = {};
|
|
520
515
|
function i(r, s, c, o) {
|
|
521
516
|
if (e.token !== n)
|
|
@@ -528,7 +523,7 @@ function we(t, e) {
|
|
|
528
523
|
e.block && (e.blocks ? e.blocks.forEach((a, d) => {
|
|
529
524
|
d !== s && a && (Lt(), $t(a, 1, 1, () => {
|
|
530
525
|
e.blocks[d] === a && (e.blocks[d] = null);
|
|
531
|
-
}),
|
|
526
|
+
}), Ot());
|
|
532
527
|
}) : e.block.d(1), u.c(), ot(u, 1), u.m(e.mount(), e.anchor), _ = !0), e.block = u, e.blocks && (e.blocks[s] = u), _ && rt();
|
|
533
528
|
}
|
|
534
529
|
if (xt(t)) {
|
|
@@ -546,20 +541,20 @@ function we(t, e) {
|
|
|
546
541
|
e.resolved = t;
|
|
547
542
|
}
|
|
548
543
|
}
|
|
549
|
-
function
|
|
544
|
+
function we(t, e, n) {
|
|
550
545
|
const i = e.slice(), { resolved: r } = t;
|
|
551
546
|
t.current === t.then && (i[t.value] = r), t.current === t.catch && (i[t.error] = r), t.block.p(i, n);
|
|
552
547
|
}
|
|
553
|
-
const
|
|
554
|
-
function
|
|
548
|
+
const $e = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : global;
|
|
549
|
+
function ke(t, e) {
|
|
555
550
|
t.d(1), e.delete(t.key);
|
|
556
551
|
}
|
|
557
|
-
function
|
|
552
|
+
function xe(t, e) {
|
|
558
553
|
$t(t, 1, 1, () => {
|
|
559
554
|
e.delete(t.key);
|
|
560
555
|
});
|
|
561
556
|
}
|
|
562
|
-
function
|
|
557
|
+
function Ee(t, e, n, i, r, s, c, o, l, u, _, a) {
|
|
563
558
|
let d = t.length, f = s.length, h = d;
|
|
564
559
|
const m = {};
|
|
565
560
|
for (; h--; )
|
|
@@ -586,7 +581,7 @@ function ve(t, e, n, i, r, s, c, o, l, u, _, a) {
|
|
|
586
581
|
Q(p[f - 1]);
|
|
587
582
|
return M(b), p;
|
|
588
583
|
}
|
|
589
|
-
function
|
|
584
|
+
function ve(t, e) {
|
|
590
585
|
const n = {}, i = {}, r = { $$scope: 1 };
|
|
591
586
|
let s = t.length;
|
|
592
587
|
for (; s--; ) {
|
|
@@ -605,17 +600,17 @@ function Ne(t, e) {
|
|
|
605
600
|
c in n || (n[c] = void 0);
|
|
606
601
|
return n;
|
|
607
602
|
}
|
|
608
|
-
function
|
|
603
|
+
function Ne(t) {
|
|
609
604
|
return typeof t == "object" && t !== null ? t : {};
|
|
610
605
|
}
|
|
611
|
-
function
|
|
606
|
+
function Me(t, e, n) {
|
|
612
607
|
const i = t.$$.props[e];
|
|
613
608
|
i !== void 0 && (t.$$.bound[i] = n, n(t.$$.ctx[i]));
|
|
614
609
|
}
|
|
615
|
-
function
|
|
610
|
+
function Ae(t) {
|
|
616
611
|
t && t.c();
|
|
617
612
|
}
|
|
618
|
-
function
|
|
613
|
+
function Dt(t, e, n, i) {
|
|
619
614
|
const { fragment: r, after_update: s } = t.$$;
|
|
620
615
|
r && r.m(e, n), i || z(() => {
|
|
621
616
|
const c = t.$$.on_mount.map(at).filter(L);
|
|
@@ -629,8 +624,8 @@ function Rt(t, e) {
|
|
|
629
624
|
function qt(t, e) {
|
|
630
625
|
t.$$.dirty[0] === -1 && (P.push(t), wt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
631
626
|
}
|
|
632
|
-
function
|
|
633
|
-
const l =
|
|
627
|
+
function Te(t, e, n, i, r, s, c, o = [-1]) {
|
|
628
|
+
const l = D;
|
|
634
629
|
v(t);
|
|
635
630
|
const u = t.$$ = {
|
|
636
631
|
fragment: null,
|
|
@@ -664,11 +659,11 @@ function Ce(t, e, n, i, r, s, c, o = [-1]) {
|
|
|
664
659
|
u.fragment && u.fragment.l(a), a.forEach(J);
|
|
665
660
|
} else
|
|
666
661
|
u.fragment && u.fragment.c();
|
|
667
|
-
e.intro && ot(t.$$.fragment),
|
|
662
|
+
e.intro && ot(t.$$.fragment), Dt(t, e.target, e.anchor, e.customElement), rt();
|
|
668
663
|
}
|
|
669
664
|
v(l);
|
|
670
665
|
}
|
|
671
|
-
class
|
|
666
|
+
class Ce {
|
|
672
667
|
$destroy() {
|
|
673
668
|
Rt(this, 1), this.$destroy = N;
|
|
674
669
|
}
|
|
@@ -686,70 +681,69 @@ class Pe {
|
|
|
686
681
|
}
|
|
687
682
|
}
|
|
688
683
|
export {
|
|
689
|
-
|
|
690
|
-
|
|
684
|
+
se as HtmlTag,
|
|
685
|
+
Ce as SvelteComponent,
|
|
691
686
|
Jt as action_destroyer,
|
|
692
|
-
|
|
687
|
+
pe as add_flush_callback,
|
|
693
688
|
z as add_render_callback,
|
|
694
|
-
|
|
695
|
-
|
|
689
|
+
ie as add_resize_listener,
|
|
690
|
+
ue as afterUpdate,
|
|
696
691
|
pt as append,
|
|
697
692
|
Qt as append_styles,
|
|
698
693
|
kt as assign,
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
694
|
+
te as attr,
|
|
695
|
+
oe as beforeUpdate,
|
|
696
|
+
Me as bind,
|
|
702
697
|
ft as binding_callbacks,
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
698
|
+
he as bubble,
|
|
699
|
+
Ot as check_outros,
|
|
700
|
+
fe as createEventDispatcher,
|
|
701
|
+
ye as create_bidirectional_transition,
|
|
702
|
+
Ae as create_component,
|
|
703
|
+
me as create_in_transition,
|
|
704
|
+
ge as create_out_transition,
|
|
710
705
|
Bt as create_slot,
|
|
711
|
-
|
|
706
|
+
ke as destroy_block,
|
|
712
707
|
Rt as destroy_component,
|
|
713
708
|
Vt as destroy_each,
|
|
714
709
|
J as detach,
|
|
715
710
|
K as element,
|
|
716
711
|
Yt as empty,
|
|
717
|
-
|
|
712
|
+
de as getContext,
|
|
718
713
|
Ut as get_all_dirty_from_scope,
|
|
719
714
|
Ht as get_slot_changes,
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
715
|
+
Ne as get_spread_object,
|
|
716
|
+
ve as get_spread_update,
|
|
717
|
+
$e as globals,
|
|
723
718
|
Lt as group_outros,
|
|
724
|
-
|
|
719
|
+
be as handle_promise,
|
|
725
720
|
Z as identity,
|
|
726
|
-
|
|
721
|
+
Te as init,
|
|
727
722
|
Nt as insert,
|
|
728
723
|
L as is_function,
|
|
729
724
|
lt as listen,
|
|
730
|
-
|
|
725
|
+
Dt as mount_component,
|
|
731
726
|
N as noop,
|
|
732
727
|
Gt as null_to_empty,
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
Zt as prevent_default,
|
|
728
|
+
le as onDestroy,
|
|
729
|
+
ce as onMount,
|
|
730
|
+
xe as outro_and_destroy_block,
|
|
737
731
|
M as run_all,
|
|
738
732
|
Ft as safe_not_equal,
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
733
|
+
ae as setContext,
|
|
734
|
+
ee as set_data,
|
|
735
|
+
ne as set_style,
|
|
742
736
|
Xt as space,
|
|
743
737
|
Kt as split_css_unit,
|
|
744
738
|
Wt as src_url_equal,
|
|
745
|
-
|
|
739
|
+
Zt as stop_propagation,
|
|
746
740
|
Mt as svg_element,
|
|
747
741
|
gt as text,
|
|
748
|
-
|
|
749
|
-
|
|
742
|
+
_e as tick,
|
|
743
|
+
re as toggle_class,
|
|
750
744
|
ot as transition_in,
|
|
751
745
|
$t as transition_out,
|
|
752
|
-
|
|
753
|
-
|
|
746
|
+
we as update_await_block_branch,
|
|
747
|
+
Ee as update_keyed_each,
|
|
754
748
|
It as update_slot_base
|
|
755
749
|
};
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.28.0
|
|
10
|
+
"version": "2.28.1-0",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
22
22
|
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
23
23
|
"docs": "typedoc --options ./typedoc.json",
|
|
24
|
-
"prepublishOnly": "run-p build
|
|
24
|
+
"prepublishOnly": "run-p build",
|
|
25
25
|
"postpublish": "cnpm sync @realsee/dnalogel"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { Subscribe } from '../../shared-utils/Subscribe';
|
|
2
|
-
/**
|
|
3
|
-
* 基本属性字段
|
|
4
|
-
*/
|
|
5
|
-
interface State {
|
|
6
|
-
/**
|
|
7
|
-
* 插件是否启用
|
|
8
|
-
*/
|
|
9
|
-
enabled: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* 插件UI是否展示
|
|
12
|
-
*/
|
|
13
|
-
visible?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* 插件的配置项
|
|
16
|
-
*/
|
|
17
|
-
config?: unknown;
|
|
18
|
-
}
|
|
19
|
-
interface BaseOptions {
|
|
20
|
-
/** 是否是用户行为 */
|
|
21
|
-
userAction?: boolean;
|
|
22
|
-
}
|
|
23
|
-
interface Config {
|
|
24
|
-
/** 静态资源前缀 */
|
|
25
|
-
staticPrefix?: string;
|
|
26
|
-
/** 国际化转换函数 */
|
|
27
|
-
i18n?: (key: string) => string;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* 插件基本事件
|
|
31
|
-
*/
|
|
32
|
-
type EventMap<PluginState> = {
|
|
33
|
-
/**
|
|
34
|
-
* 插件被销毁
|
|
35
|
-
*/
|
|
36
|
-
dispose: () => void;
|
|
37
|
-
/**
|
|
38
|
-
* 插件状态变化
|
|
39
|
-
* @param params.state 最新的State
|
|
40
|
-
* @param params.prevState 上一个State
|
|
41
|
-
* @param params.userAction 是否是用户触发
|
|
42
|
-
*/
|
|
43
|
-
stateChange: (params: {
|
|
44
|
-
state: PluginState;
|
|
45
|
-
prevState?: PluginState;
|
|
46
|
-
userAction: boolean;
|
|
47
|
-
}) => void;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* plugin 的基本控制器
|
|
51
|
-
*/
|
|
52
|
-
declare abstract class Controller<PluginState extends State, PluginEventMap extends EventMap<PluginState>> {
|
|
53
|
-
/**
|
|
54
|
-
* @realsee/dnalogel 版本号
|
|
55
|
-
*/
|
|
56
|
-
readonly VERSION: string;
|
|
57
|
-
/**
|
|
58
|
-
* 插件事件钩子
|
|
59
|
-
*/
|
|
60
|
-
hooks: Subscribe<PluginEventMap>;
|
|
61
|
-
readonly staticPrefix: string;
|
|
62
|
-
/**
|
|
63
|
-
* 当前状态
|
|
64
|
-
* @description
|
|
65
|
-
* ```text
|
|
66
|
-
* 可以通过 plugin.state 和 plugin.setState 来获取和设置。
|
|
67
|
-
* 通过 state 设置后,plugin 会通过合适的动画运动来达到设置的效果。
|
|
68
|
-
* 来迎合一些通过数据驱动的场景。
|
|
69
|
-
* ```
|
|
70
|
-
*/
|
|
71
|
-
abstract state: PluginState;
|
|
72
|
-
constructor(config?: Config);
|
|
73
|
-
/**
|
|
74
|
-
* 获取当前的插件状态,如果当初插件内存在需要通过动画变更的 state 值,则通过此方法可以得到中间状态
|
|
75
|
-
*/
|
|
76
|
-
getCurrentState(): PluginState;
|
|
77
|
-
/**
|
|
78
|
-
* 插件自身DOM添加到父容器
|
|
79
|
-
* @param wrapper
|
|
80
|
-
*/
|
|
81
|
-
appendTo?(wrapper: Element): void;
|
|
82
|
-
/**
|
|
83
|
-
* 展示UI
|
|
84
|
-
*/
|
|
85
|
-
show?(options?: BaseOptions): Promise<void>;
|
|
86
|
-
/**
|
|
87
|
-
* 隐藏UI
|
|
88
|
-
*/
|
|
89
|
-
hide?(options?: BaseOptions): Promise<void>;
|
|
90
|
-
/**
|
|
91
|
-
* 设置state
|
|
92
|
-
* @param state 插件的目标状态
|
|
93
|
-
* @param options 配置项
|
|
94
|
-
*/
|
|
95
|
-
setState?(state: Partial<PluginState>, options?: BaseOptions): void;
|
|
96
|
-
/**
|
|
97
|
-
* @description: 获取静态资源的url
|
|
98
|
-
*/
|
|
99
|
-
absoluteUrl(url: string): string;
|
|
100
|
-
/**
|
|
101
|
-
* 启用插件,让插件能够响应交互
|
|
102
|
-
*/
|
|
103
|
-
abstract enable(options?: BaseOptions): void;
|
|
104
|
-
/**
|
|
105
|
-
* 禁用插件,让插件停止响应交互
|
|
106
|
-
*/
|
|
107
|
-
abstract disable(options?: BaseOptions): void;
|
|
108
|
-
/**
|
|
109
|
-
* 插件进行销毁
|
|
110
|
-
*/
|
|
111
|
-
abstract dispose(): void;
|
|
112
|
-
}
|
|
113
|
-
export type { State, Config, EventMap, BaseOptions };
|
|
114
|
-
export { Controller };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as BasePlugin from './BasePlugin';
|
|
2
|
-
type State = BasePlugin.State;
|
|
3
|
-
type Config = BasePlugin.Config;
|
|
4
|
-
interface EventMap<PluginState, PluginData> extends BasePlugin.EventMap<PluginState> {
|
|
5
|
-
/** 数据变更 */
|
|
6
|
-
dataChange: (data: PluginData, prevData?: PluginData) => void;
|
|
7
|
-
/** 数据加载完成 */
|
|
8
|
-
dataLoaded: (data: PluginData) => void;
|
|
9
|
-
}
|
|
10
|
-
declare abstract class Controller<PluginState extends State, PluginEventMap extends EventMap<PluginState, PluginData>, PluginServerData, PluginData> extends BasePlugin.Controller<PluginState, PluginEventMap> {
|
|
11
|
-
protected abstract data?: PluginData;
|
|
12
|
-
/**
|
|
13
|
-
* 加载插件依赖数据
|
|
14
|
-
* @param serverData 插件数据
|
|
15
|
-
* @param state 插件 State
|
|
16
|
-
*/
|
|
17
|
-
abstract load(serverData: PluginServerData, state?: PluginState, userAction?: boolean): Promise<void>;
|
|
18
|
-
/** 把原始数据转化为插件数据 */
|
|
19
|
-
protected abstract formatData?(serverData: PluginServerData): Promise<PluginData>;
|
|
20
|
-
}
|
|
21
|
-
export type { State, EventMap, Config };
|
|
22
|
-
export type { BaseOptions } from './BasePlugin';
|
|
23
|
-
export { Controller };
|
package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { BaseOptions } from './BasePlugin';
|
|
2
|
-
import type { FloorplanServerData } from '../typings/floorplanServerData';
|
|
3
|
-
import type { FloorplanExtraObject3D } from '../typings/floorplanData';
|
|
4
|
-
import type { HighlightData } from '../typings';
|
|
5
|
-
import type { State, Config, EventMap, Parameters, PluginData, PluginServerData } from './typing';
|
|
6
|
-
import * as BasePlugin from './BasePluginWithData';
|
|
7
|
-
export declare class Controller extends BasePlugin.Controller<State, EventMap, PluginServerData, PluginData> {
|
|
8
|
-
name: string;
|
|
9
|
-
state: State;
|
|
10
|
-
protected data?: PluginData;
|
|
11
|
-
private app?;
|
|
12
|
-
private wrapperSelector;
|
|
13
|
-
private wrapper;
|
|
14
|
-
private disposed;
|
|
15
|
-
private extraObjects;
|
|
16
|
-
private highlightData;
|
|
17
|
-
constructor(params?: Parameters);
|
|
18
|
-
dispose: () => void;
|
|
19
|
-
load(serverData: PluginServerData | FloorplanServerData, state?: Partial<State>, userAction?: boolean): Promise<void>;
|
|
20
|
-
show(options?: BaseOptions): Promise<void>;
|
|
21
|
-
hide(options?: BaseOptions): Promise<void>;
|
|
22
|
-
enable(options?: BaseOptions): void;
|
|
23
|
-
disable(options?: BaseOptions): void;
|
|
24
|
-
highlight: (highlightData: HighlightData) => void;
|
|
25
|
-
unhighlight: () => void;
|
|
26
|
-
getHighlightData: () => HighlightData;
|
|
27
|
-
/** 更改插件 State */
|
|
28
|
-
setState(state: Partial<State>, options?: BaseOptions): void;
|
|
29
|
-
/** 把插件的渲染DOM插入到对应的容器中去 */
|
|
30
|
-
appendTo(wrapper: Element): void;
|
|
31
|
-
changeConfigs(config: Config, userAction?: boolean): void;
|
|
32
|
-
setExtraObjectsWith3DPositions(data: FloorplanExtraObject3D[]): void;
|
|
33
|
-
protected formatData(serverData: PluginServerData): Promise<PluginData>;
|
|
34
|
-
private _enable;
|
|
35
|
-
private _disable;
|
|
36
|
-
private _show;
|
|
37
|
-
private _hide;
|
|
38
|
-
private updateState;
|
|
39
|
-
private render;
|
|
40
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Parameters } from './typing';
|
|
2
|
-
import { Controller } from './Controller';
|
|
3
|
-
export declare const FloorplanRoomsPlugin: (params: any) => Controller;
|
|
4
|
-
export type FloorplanRoomsPluginParameterType = Parameters | undefined;
|
|
5
|
-
export type FloorplanRoomsPluginReturnType = InstanceType<typeof Controller>;
|
|
6
|
-
export default FloorplanRoomsPlugin;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import type * as BasePlugin from './BasePluginWithData';
|
|
2
|
-
import type { FloorplanData } from '../typings/floorplanData';
|
|
3
|
-
import type { FloorplanServerData } from '../typings/floorplanServerData';
|
|
4
|
-
export interface HighlightStyle {
|
|
5
|
-
color: string;
|
|
6
|
-
opacity: number;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface Config {
|
|
10
|
-
/** 鼠标放置在分间上时,是否要自动高亮分间 */
|
|
11
|
-
hoverEnable: boolean;
|
|
12
|
-
/** 支持highlight功能,默认为 false */
|
|
13
|
-
highlightEnable: boolean;
|
|
14
|
-
/** highlight的样式 */
|
|
15
|
-
highlightStyle?: HighlightStyle;
|
|
16
|
-
}
|
|
17
|
-
export interface State extends BasePlugin.State {
|
|
18
|
-
visible: boolean;
|
|
19
|
-
config: Config;
|
|
20
|
-
}
|
|
21
|
-
export interface EventMap extends BasePlugin.EventMap<State, FloorplanData> {
|
|
22
|
-
/** visible 从 false 到 true 的回调
|
|
23
|
-
* @param event.userAction 是否是用户操作
|
|
24
|
-
*/
|
|
25
|
-
show: (event: {
|
|
26
|
-
userAction: boolean;
|
|
27
|
-
}) => void;
|
|
28
|
-
/** visible 从 true 到 false 的回调
|
|
29
|
-
* @param event.userAction 是否是用户操作
|
|
30
|
-
*/
|
|
31
|
-
hide: (event: {
|
|
32
|
-
userAction: boolean;
|
|
33
|
-
}) => void;
|
|
34
|
-
/** enabled 从 false 到 true 的回调
|
|
35
|
-
* @param event.userAction 是否是用户操作
|
|
36
|
-
*/
|
|
37
|
-
enable: (event: {
|
|
38
|
-
userAction: boolean;
|
|
39
|
-
}) => void;
|
|
40
|
-
/** enabled 从 true 到 false 的回调
|
|
41
|
-
* @param event.userAction 是否是用户操作
|
|
42
|
-
*/
|
|
43
|
-
disable: (event: {
|
|
44
|
-
userAction: boolean;
|
|
45
|
-
}) => void;
|
|
46
|
-
}
|
|
47
|
-
/** 插件初始化参数 */
|
|
48
|
-
export interface Parameters extends Partial<Config> {
|
|
49
|
-
wrapper?: string | Element;
|
|
50
|
-
configs?: {
|
|
51
|
-
hoverEnable?: boolean;
|
|
52
|
-
highlightEnable?: boolean;
|
|
53
|
-
highlightStyle?: HighlightStyle;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
export interface PluginServerData {
|
|
57
|
-
version: number;
|
|
58
|
-
data: FloorplanServerData;
|
|
59
|
-
}
|
|
60
|
-
export type { FloorplanData as PluginData };
|