@realsee/dnalogel 2.27.1 → 2.28.0-dev.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/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +114 -0
- package/dist/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +23 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +1 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +1 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +1 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +1 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +1 -0
- package/dist/floorplan/FloorplanRoomsPlugin/Controller.d.ts +40 -0
- package/dist/floorplan/FloorplanRoomsPlugin/index.d.ts +6 -0
- package/dist/floorplan/FloorplanRoomsPlugin/typing.d.ts +60 -0
- package/dist/floorplan/index.d.ts +1 -0
- package/dist/index.cjs.js +67 -67
- package/dist/index.js +6888 -5937
- package/dist/index.umd.js +60 -60
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +33 -30
- package/docs/classes/CruisePluginController.html +28 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +22 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +37 -34
- package/docs/classes/Magnifier.html +22 -19
- package/docs/classes/ModelRoomLabelController.html +13 -10
- package/docs/classes/Object3DHelperController.html +27 -24
- package/docs/classes/PaintBrush.html +17 -14
- package/docs/classes/PanoMeasurePluginLine.html +29 -26
- package/docs/classes/PanoMeasurePluginModel.html +29 -26
- package/docs/classes/PanoMeasurePluginPoint.html +13 -10
- package/docs/classes/PanoMeasurePluginPolyline.html +29 -26
- package/docs/classes/PanoTagPluginController.html +49 -46
- package/docs/classes/Util.BetterTween.html +11 -8
- package/docs/classes/Util.Interval.html +14 -11
- package/docs/classes/Util.Magnifier.html +22 -19
- package/docs/classes/Util.PointDomHelper.html +13 -10
- package/docs/classes/Util.PointHelper.html +13 -10
- package/docs/classes/Util.PointSelectorHelper.html +18 -15
- package/docs/classes/Util.Rectangle.html +15 -12
- package/docs/enums/CameraMovementEffect.html +9 -6
- package/docs/enums/ContentType.html +22 -19
- package/docs/enums/DIRECTION.html +11 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -8
- package/docs/enums/DimensionType.html +9 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -8
- package/docs/enums/PaintBrushTypeEnum.html +10 -7
- package/docs/enums/PointType.html +9 -6
- package/docs/enums/Rotation.html +10 -7
- package/docs/functions/CSS3DRenderPlugin.html +6 -3
- package/docs/functions/CameraMovementPlugin.html +6 -3
- package/docs/functions/CruisePlugin.html +6 -3
- package/docs/functions/FloorplanRoomsPlugin.html +285 -0
- package/docs/functions/GuideLinePlugin.html +7 -4
- package/docs/functions/ItemLabelPlugin.html +6 -3
- package/docs/functions/MapviewFloorplanPlugin.html +6 -3
- package/docs/functions/ModelChassisCompassPlugin.html +6 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -3
- package/docs/functions/ModelFloorplanPlugin.html +6 -3
- package/docs/functions/ModelItemLabelPlugin.html +6 -3
- package/docs/functions/ModelRoomLabelPlugin.html +6 -3
- package/docs/functions/ModelTVVideoPlugin.html +6 -3
- package/docs/functions/ModelViewPlugin.html +6 -3
- package/docs/functions/Object3DHelperPlugin.html +6 -3
- package/docs/functions/PanoCompassPlugin.html +6 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +6 -3
- package/docs/functions/PanoDoorLabelPlugin.html +6 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +6 -3
- package/docs/functions/PanoMeasurePlugin.html +6 -3
- package/docs/functions/PanoRulerPlugin.html +6 -3
- package/docs/functions/PanoRulerProPlugin.html +6 -3
- package/docs/functions/PanoSpatialTagPlugin.html +6 -3
- package/docs/functions/PanoTagPlugin.html +6 -3
- package/docs/functions/PanoVideoPlugin.html +6 -3
- package/docs/functions/PipelinePlugin.html +6 -3
- package/docs/functions/TopviewFloorplanPlugin.html +6 -3
- package/docs/functions/Util.absoluteUrl.html +7 -4
- package/docs/functions/Util.getCoordsFromClient.html +7 -4
- package/docs/functions/Util.getCoordsFromElement.html +7 -4
- package/docs/functions/Util.getFrameTime.html +7 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +7 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +7 -4
- package/docs/functions/Util.isAbsoluteURL.html +7 -4
- package/docs/functions/Util.isModelLike.html +7 -4
- package/docs/functions/Util.isNil.html +7 -4
- package/docs/functions/Util.isPanoramaLike.html +7 -4
- package/docs/functions/Util.nextFrame.html +7 -4
- package/docs/functions/Util.notNil.html +7 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +7 -4
- package/docs/functions/Util.tweenProgress.html +7 -4
- package/docs/functions/Util.uuid.html +7 -4
- package/docs/functions/pluginFlag.html +7 -4
- package/docs/index.html +7 -4
- package/docs/interfaces/AddTagConfig.html +8 -5
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +10 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +14 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +14 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +16 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +16 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +11 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +8 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +13 -10
- package/docs/interfaces/EventMap.html +17 -14
- package/docs/interfaces/FloorplanBounding.html +10 -7
- package/docs/interfaces/FloorplanData.html +12 -9
- package/docs/interfaces/FloorplanEntrance.html +13 -10
- package/docs/interfaces/FloorplanExtraObject.html +12 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -7
- package/docs/interfaces/FloorplanFloorData.html +11 -8
- package/docs/interfaces/FloorplanImagePosition.html +9 -6
- package/docs/interfaces/FloorplanObserver.html +11 -8
- package/docs/interfaces/FloorplanOutlineItem.html +11 -8
- package/docs/interfaces/FloorplanPosition.html +9 -6
- package/docs/interfaces/FloorplanRoomItem.html +15 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -6
- package/docs/interfaces/FloorplanServerBounding.html +10 -7
- package/docs/interfaces/FloorplanServerComputedData.html +12 -9
- package/docs/interfaces/FloorplanServerData.html +9 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +12 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -7
- package/docs/interfaces/FloorplanServerEntrance.html +13 -10
- package/docs/interfaces/FloorplanServerFloorData.html +11 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -6
- package/docs/interfaces/FloorplanServerObserver.html +11 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +11 -8
- package/docs/interfaces/FloorplanServerPosition.html +9 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +16 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +12 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +15 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +10 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +8 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +15 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +10 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +9 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +7 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +8 -5
- package/docs/interfaces/GuideLinePluginType.PluginState.html +10 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +13 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +11 -8
- package/docs/interfaces/HelperOffset.html +10 -7
- package/docs/interfaces/ImagePlaneGroup.html +8 -5
- package/docs/interfaces/ItemLabelPluginData.html +8 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +11 -8
- package/docs/interfaces/MinMax.html +9 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +8 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +8 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +11 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -5
- package/docs/interfaces/ModelViewPluginExportType.html +13 -10
- package/docs/interfaces/Object3DHelperState.html +10 -7
- package/docs/interfaces/ObjectHelperControllers.html +11 -8
- package/docs/interfaces/PaintBrushAction.html +14 -11
- package/docs/interfaces/PaintBrushConfigs.html +14 -11
- package/docs/interfaces/PaintBrushState.html +12 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -4
- package/docs/interfaces/PanoMeasureParameterType.html +18 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +12 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +11 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -6
- package/docs/interfaces/PanoRulerProPluginState.html +10 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -9
- package/docs/interfaces/Point.html +10 -7
- package/docs/interfaces/Room.html +11 -8
- package/docs/interfaces/RoomInfo.html +9 -6
- package/docs/interfaces/RoomLabel.html +16 -13
- package/docs/interfaces/RoomRules.html +7 -4
- package/docs/interfaces/Rooms.html +7 -4
- package/docs/interfaces/Scissor.html +11 -8
- package/docs/interfaces/State.html +10 -7
- package/docs/interfaces/TagCacheInterface.html +14 -11
- package/docs/interfaces/TagConfig.html +16 -13
- package/docs/interfaces/TagGLTFObjectGroup.html +8 -5
- package/docs/interfaces/TagIconUrl.html +14 -11
- package/docs/interfaces/TagObjectGroup.html +8 -5
- package/docs/interfaces/TagStyle.html +8 -5
- package/docs/interfaces/Tags.html +11 -8
- package/docs/interfaces/TemporaryState.html +8 -5
- package/docs/interfaces/Util.MagnifierParameter.html +13 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +10 -7
- package/docs/interfaces/Util.PointIntersection.html +10 -7
- package/docs/modules/CruisePluginTypes.html +7 -4
- package/docs/modules/GuideLineItem.html +7 -4
- package/docs/modules/GuideLineModeItem.html +7 -4
- package/docs/modules/GuideLinePluginType.html +7 -4
- package/docs/modules/PanoVideoPluginType.html +7 -4
- package/docs/modules/Util.html +7 -4
- package/docs/modules.html +10 -4
- package/docs/types/ArrayPosition.html +7 -4
- package/docs/types/AudioAppearance.html +7 -4
- package/docs/types/AudioTagTypeConfigKey.html +7 -4
- package/docs/types/CSS3DRenderExportType.html +7 -4
- package/docs/types/CSS3DRenderPluginExportType.html +7 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -4
- package/docs/types/ClassFunctionParameters.html +7 -4
- package/docs/types/Color.html +7 -4
- package/docs/types/ContentTypeConfigKey.html +7 -4
- package/docs/types/ContentTypeConfigKeySplit.html +7 -4
- package/docs/types/ContentTypeMap.html +7 -4
- package/docs/types/Create3DDomContainerReturnType.html +7 -4
- package/docs/types/Create3DElementReturnType.html +7 -4
- package/docs/types/CruisePluginExportType.html +7 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +7 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +7 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +7 -4
- package/docs/types/DeprecatedTagProperty.html +7 -4
- package/docs/types/Direction-1.html +7 -4
- package/docs/types/Direction4.html +7 -4
- package/docs/types/ElementRenderer.html +7 -4
- package/docs/types/FloorplanRoomsPluginParameterType.html +276 -0
- package/docs/types/FloorplanRoomsPluginReturnType.html +276 -0
- package/docs/types/FloorplanRuleLabels.html +7 -4
- package/docs/types/FloorplanServerRuleLabels.html +7 -4
- package/docs/types/GuideLinePluginExportType.html +7 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +7 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +7 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +7 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +7 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +7 -4
- package/docs/types/GuideLinePluginType.PathItem.html +7 -4
- package/docs/types/GuideLinePluginType.PluginData.html +7 -4
- package/docs/types/HelperEventMap.html +7 -4
- package/docs/types/LoadTagConfig.html +7 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -4
- package/docs/types/MediaData.html +7 -4
- package/docs/types/MediaStore.html +7 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -4
- package/docs/types/MoveArgs.html +7 -4
- package/docs/types/MoveOpts.html +7 -4
- package/docs/types/Object3DHelperEventMap.html +7 -4
- package/docs/types/ObjectFit.html +7 -4
- package/docs/types/PaintBrushEventMap.html +7 -4
- package/docs/types/PanoCompassPluginData.html +7 -4
- package/docs/types/PanoCompassPluginExportType.html +7 -4
- package/docs/types/PanoCompassPluginParameterType.html +7 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -4
- package/docs/types/PanoIndex.html +7 -4
- package/docs/types/PanoMeasurePluginEvent.html +7 -4
- package/docs/types/PanoMeasureReturnType.html +7 -4
- package/docs/types/PanoSpatialTagPluginId.html +7 -4
- package/docs/types/PanoTagPluginExportInterface.html +7 -4
- package/docs/types/PanoTagPluginParamsInterface.html +7 -4
- package/docs/types/PanoVideoPluginParameterType.html +7 -4
- package/docs/types/PanoVideoPluginReturnType.html +7 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +7 -4
- package/docs/types/PipelinePluginParameterType.html +7 -4
- package/docs/types/PipelinePluginReturnType.html +7 -4
- package/docs/types/PlaneTag.html +7 -4
- package/docs/types/Point2DTag.html +7 -4
- package/docs/types/Point3DTag.html +7 -4
- package/docs/types/PointTag.html +7 -4
- package/docs/types/PointTagInstance.html +7 -4
- package/docs/types/Position.html +7 -4
- package/docs/types/RotateArgs.html +7 -4
- package/docs/types/RotateOpts.html +7 -4
- package/docs/types/RuleLabelsKey.html +7 -4
- package/docs/types/RuleLabelsValue.html +7 -4
- package/docs/types/StickType.html +7 -4
- package/docs/types/Tag.html +7 -4
- package/docs/types/Tag2D.html +7 -4
- package/docs/types/Tag3D.html +7 -4
- package/docs/types/TagConfigByKey.html +7 -4
- package/docs/types/TagContentType.html +7 -4
- package/docs/types/TagDimensionType.html +7 -4
- package/docs/types/TagElement.html +7 -4
- package/docs/types/TagEvents.html +7 -4
- package/docs/types/TagGLTFObject.html +7 -4
- package/docs/types/TagHooks.html +7 -4
- package/docs/types/TagId.html +7 -4
- package/docs/types/TagInstance.html +7 -4
- package/docs/types/TagPointType.html +7 -4
- package/docs/types/TagRendererMap.html +7 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -4
- package/docs/types/WorkCode.html +7 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -4
- package/docs/variables/PLUGIN.html +7 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -4
- package/docs/variables/ROOM_TYPE_MAP.html +7 -4
- package/docs/variables/defaultGlobalConfig.html +7 -4
- package/docs/variables/itemLabelPluginServerParams.html +7 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -4
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +114 -0
- package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.js +51 -0
- package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +23 -0
- package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.js +25 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.js +188 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.js +94 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.js +111 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.js +191 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.js +237 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +1 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Controller.d.ts +40 -0
- package/libs/floorplan/FloorplanRoomsPlugin/Controller.js +207 -0
- package/libs/floorplan/FloorplanRoomsPlugin/index.d.ts +6 -0
- package/libs/floorplan/FloorplanRoomsPlugin/index.js +43 -0
- package/libs/floorplan/FloorplanRoomsPlugin/typing.d.ts +60 -0
- package/libs/floorplan/FloorplanRoomsPlugin/typing.js +1 -0
- package/libs/floorplan/index.d.ts +1 -0
- package/libs/index.js +122 -112
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/svelte/internal/index.js +85 -79
- package/package.json +1 -1
|
@@ -0,0 +1,114 @@
|
|
|
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 };
|
|
@@ -0,0 +1,23 @@
|
|
|
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 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|
package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
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;
|
|
@@ -0,0 +1,60 @@
|
|
|
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 };
|
|
@@ -3,5 +3,6 @@ export * from './ModelFloorplanPlugin';
|
|
|
3
3
|
export * from './MapviewFloorplanPlugin';
|
|
4
4
|
export * from './TopviewFloorplanPlugin';
|
|
5
5
|
export * from './PanoFloorplanRadarPlugin';
|
|
6
|
+
export * from './FloorplanRoomsPlugin';
|
|
6
7
|
export * from './typings/floorplanServerData';
|
|
7
8
|
export * from './typings/floorplanData';
|