@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,188 @@
|
|
|
1
|
+
import { SvelteComponent as O, init as k, safe_not_equal as w, assign as S, create_component as c, space as d, empty as x, mount_component as D, insert as _, get_spread_update as p, transition_in as s, transition_out as u, check_outros as C, destroy_component as E, detach as b, group_outros as F } from "../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import q from "./ExtraObjects.js";
|
|
3
|
+
import { BaseImage as B } from "../../../Components/BaseImage.js";
|
|
4
|
+
import H from "./RoomHighlight/RoomHighlight.js";
|
|
5
|
+
import "../../../Components/Normalmage.js";
|
|
6
|
+
import "../../../Components/SvgImage.js";
|
|
7
|
+
import "./RoomHighlight/Room.js";
|
|
8
|
+
import "../../../utils/formatPosition.js";
|
|
9
|
+
function j(h) {
|
|
10
|
+
let i, o;
|
|
11
|
+
const r = [
|
|
12
|
+
{
|
|
13
|
+
floorIndex: (
|
|
14
|
+
/*floorIndex*/
|
|
15
|
+
h[0]
|
|
16
|
+
),
|
|
17
|
+
floorplanData: (
|
|
18
|
+
/*floorplanData*/
|
|
19
|
+
h[2]
|
|
20
|
+
),
|
|
21
|
+
highlightEnable: (
|
|
22
|
+
/*highlightEnable*/
|
|
23
|
+
h[5]
|
|
24
|
+
),
|
|
25
|
+
highlightData: (
|
|
26
|
+
/*highlightData*/
|
|
27
|
+
h[3]
|
|
28
|
+
),
|
|
29
|
+
highlightStyle: (
|
|
30
|
+
/*highlightStyle*/
|
|
31
|
+
h[4]
|
|
32
|
+
)
|
|
33
|
+
}
|
|
34
|
+
];
|
|
35
|
+
let a = {};
|
|
36
|
+
for (let l = 0; l < r.length; l += 1)
|
|
37
|
+
a = S(a, r[l]);
|
|
38
|
+
return i = new H({ props: a }), {
|
|
39
|
+
c() {
|
|
40
|
+
c(i.$$.fragment);
|
|
41
|
+
},
|
|
42
|
+
m(l, f) {
|
|
43
|
+
D(i, l, f), o = !0;
|
|
44
|
+
},
|
|
45
|
+
p(l, f) {
|
|
46
|
+
const g = f & /*floorIndex, floorplanData, highlightEnable, highlightData, highlightStyle*/
|
|
47
|
+
61 ? p(r, [
|
|
48
|
+
{
|
|
49
|
+
floorIndex: (
|
|
50
|
+
/*floorIndex*/
|
|
51
|
+
l[0]
|
|
52
|
+
),
|
|
53
|
+
floorplanData: (
|
|
54
|
+
/*floorplanData*/
|
|
55
|
+
l[2]
|
|
56
|
+
),
|
|
57
|
+
highlightEnable: (
|
|
58
|
+
/*highlightEnable*/
|
|
59
|
+
l[5]
|
|
60
|
+
),
|
|
61
|
+
highlightData: (
|
|
62
|
+
/*highlightData*/
|
|
63
|
+
l[3]
|
|
64
|
+
),
|
|
65
|
+
highlightStyle: (
|
|
66
|
+
/*highlightStyle*/
|
|
67
|
+
l[4]
|
|
68
|
+
)
|
|
69
|
+
}
|
|
70
|
+
]) : {};
|
|
71
|
+
i.$set(g);
|
|
72
|
+
},
|
|
73
|
+
i(l) {
|
|
74
|
+
o || (s(i.$$.fragment, l), o = !0);
|
|
75
|
+
},
|
|
76
|
+
o(l) {
|
|
77
|
+
u(i.$$.fragment, l), o = !1;
|
|
78
|
+
},
|
|
79
|
+
d(l) {
|
|
80
|
+
E(i, l);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
function N(h) {
|
|
85
|
+
let i, o, r, a, l, f;
|
|
86
|
+
const g = [
|
|
87
|
+
{
|
|
88
|
+
floorIndex: (
|
|
89
|
+
/*floorIndex*/
|
|
90
|
+
h[0]
|
|
91
|
+
),
|
|
92
|
+
floorplanData: (
|
|
93
|
+
/*floorplanData*/
|
|
94
|
+
h[2]
|
|
95
|
+
)
|
|
96
|
+
}
|
|
97
|
+
];
|
|
98
|
+
let m = {};
|
|
99
|
+
for (let e = 0; e < g.length; e += 1)
|
|
100
|
+
m = S(m, g[e]);
|
|
101
|
+
i = new B({ props: m }), r = new q({
|
|
102
|
+
props: {
|
|
103
|
+
extraObjects: (
|
|
104
|
+
/*currentFloorExtraObjects*/
|
|
105
|
+
h[6]
|
|
106
|
+
)
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
let n = (
|
|
110
|
+
/*hoverEnable*/
|
|
111
|
+
h[1] && j(h)
|
|
112
|
+
);
|
|
113
|
+
return {
|
|
114
|
+
c() {
|
|
115
|
+
c(i.$$.fragment), o = d(), c(r.$$.fragment), a = d(), n && n.c(), l = x();
|
|
116
|
+
},
|
|
117
|
+
m(e, t) {
|
|
118
|
+
D(i, e, t), _(e, o, t), D(r, e, t), _(e, a, t), n && n.m(e, t), _(e, l, t), f = !0;
|
|
119
|
+
},
|
|
120
|
+
p(e, [t]) {
|
|
121
|
+
const y = t & /*floorIndex, floorplanData*/
|
|
122
|
+
5 ? p(g, [
|
|
123
|
+
{
|
|
124
|
+
floorIndex: (
|
|
125
|
+
/*floorIndex*/
|
|
126
|
+
e[0]
|
|
127
|
+
),
|
|
128
|
+
floorplanData: (
|
|
129
|
+
/*floorplanData*/
|
|
130
|
+
e[2]
|
|
131
|
+
)
|
|
132
|
+
}
|
|
133
|
+
]) : {};
|
|
134
|
+
i.$set(y);
|
|
135
|
+
const I = {};
|
|
136
|
+
t & /*currentFloorExtraObjects*/
|
|
137
|
+
64 && (I.extraObjects = /*currentFloorExtraObjects*/
|
|
138
|
+
e[6]), r.$set(I), /*hoverEnable*/
|
|
139
|
+
e[1] ? n ? (n.p(e, t), t & /*hoverEnable*/
|
|
140
|
+
2 && s(n, 1)) : (n = j(e), n.c(), s(n, 1), n.m(l.parentNode, l)) : n && (F(), u(n, 1, 1, () => {
|
|
141
|
+
n = null;
|
|
142
|
+
}), C());
|
|
143
|
+
},
|
|
144
|
+
i(e) {
|
|
145
|
+
f || (s(i.$$.fragment, e), s(r.$$.fragment, e), s(n), f = !0);
|
|
146
|
+
},
|
|
147
|
+
o(e) {
|
|
148
|
+
u(i.$$.fragment, e), u(r.$$.fragment, e), u(n), f = !1;
|
|
149
|
+
},
|
|
150
|
+
d(e) {
|
|
151
|
+
E(i, e), e && b(o), E(r, e), e && b(a), n && n.d(e), e && b(l);
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
function R(h, i, o) {
|
|
156
|
+
let r, { floorIndex: a } = i, { hoverEnable: l } = i, { floorplanData: f } = i, { extraObjects: g = [] } = i, { highlightData: m } = i, { highlightStyle: n } = i, { highlightEnable: e } = i;
|
|
157
|
+
return h.$$set = (t) => {
|
|
158
|
+
"floorIndex" in t && o(0, a = t.floorIndex), "hoverEnable" in t && o(1, l = t.hoverEnable), "floorplanData" in t && o(2, f = t.floorplanData), "extraObjects" in t && o(7, g = t.extraObjects), "highlightData" in t && o(3, m = t.highlightData), "highlightStyle" in t && o(4, n = t.highlightStyle), "highlightEnable" in t && o(5, e = t.highlightEnable);
|
|
159
|
+
}, h.$$.update = () => {
|
|
160
|
+
h.$$.dirty & /*extraObjects, floorIndex*/
|
|
161
|
+
129 && o(6, r = g == null ? void 0 : g.filter((t) => t.floorIndex === a));
|
|
162
|
+
}, [
|
|
163
|
+
a,
|
|
164
|
+
l,
|
|
165
|
+
f,
|
|
166
|
+
m,
|
|
167
|
+
n,
|
|
168
|
+
e,
|
|
169
|
+
r,
|
|
170
|
+
g
|
|
171
|
+
];
|
|
172
|
+
}
|
|
173
|
+
class P extends O {
|
|
174
|
+
constructor(i) {
|
|
175
|
+
super(), k(this, i, R, N, w, {
|
|
176
|
+
floorIndex: 0,
|
|
177
|
+
hoverEnable: 1,
|
|
178
|
+
floorplanData: 2,
|
|
179
|
+
extraObjects: 7,
|
|
180
|
+
highlightData: 3,
|
|
181
|
+
highlightStyle: 4,
|
|
182
|
+
highlightEnable: 5
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
export {
|
|
187
|
+
P as default
|
|
188
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -0,0 +1,94 @@
|
|
|
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
|
+
}
|
|
5
|
+
function m(s, t, e) {
|
|
6
|
+
const l = s.slice();
|
|
7
|
+
return l[1] = t[e], l;
|
|
8
|
+
}
|
|
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}%`;
|
|
15
|
+
return {
|
|
16
|
+
key: s,
|
|
17
|
+
first: null,
|
|
18
|
+
c() {
|
|
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;
|
|
21
|
+
},
|
|
22
|
+
m(f, c) {
|
|
23
|
+
v(f, e, c), d(e, l), d(e, i);
|
|
24
|
+
},
|
|
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);
|
|
36
|
+
},
|
|
37
|
+
d(f) {
|
|
38
|
+
f && j(e);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
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));
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
c() {
|
|
57
|
+
t = _("div");
|
|
58
|
+
for (let i = 0; i < e.length; i += 1)
|
|
59
|
+
e[i].c();
|
|
60
|
+
h(t, "class", "plugin-pano-floorplan__extra-objects svelte-1i87fz7");
|
|
61
|
+
},
|
|
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);
|
|
66
|
+
},
|
|
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));
|
|
71
|
+
},
|
|
72
|
+
i: g,
|
|
73
|
+
o: g,
|
|
74
|
+
d(i) {
|
|
75
|
+
i && j(t);
|
|
76
|
+
for (let n = 0; n < e.length; n += 1)
|
|
77
|
+
e[n].d();
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
function C(s, t, e) {
|
|
82
|
+
let { extraObjects: l = [] } = t;
|
|
83
|
+
return s.$$set = (a) => {
|
|
84
|
+
"extraObjects" in a && e(0, l = a.extraObjects);
|
|
85
|
+
}, [l];
|
|
86
|
+
}
|
|
87
|
+
class M extends k {
|
|
88
|
+
constructor(t) {
|
|
89
|
+
super(), y(this, t, C, q, x, { extraObjects: 0 }, O);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
export {
|
|
93
|
+
M as default
|
|
94
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { SvelteComponent as S, init as b, safe_not_equal as v, append_styles as I, svg_element as E, attr as f, insert as k, listen as y, noop as s, detach as C, run_all as F, prevent_default as K } from "../../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import { pathD as P, formatFloorplanPoint as R } from "../../../../utils/formatPosition.js";
|
|
3
|
+
function Z(l) {
|
|
4
|
+
I(l, "svelte-qq2273", "path.svelte-qq2273{--opacity:0;opacity:var(--opacity)}path.svelte-qq2273:hover{opacity:calc(var(--opacity) + 0.1)}");
|
|
5
|
+
}
|
|
6
|
+
function j(l) {
|
|
7
|
+
let t, i, a, r;
|
|
8
|
+
return {
|
|
9
|
+
c() {
|
|
10
|
+
t = E("path"), f(
|
|
11
|
+
t,
|
|
12
|
+
"d",
|
|
13
|
+
/*_pathD*/
|
|
14
|
+
l[4]
|
|
15
|
+
), f(t, "fill", "#fff"), f(
|
|
16
|
+
t,
|
|
17
|
+
"style",
|
|
18
|
+
/*style*/
|
|
19
|
+
l[2]
|
|
20
|
+
), f(t, "id", i = `${/*floorIndex*/
|
|
21
|
+
l[1]}_${/*room*/
|
|
22
|
+
l[0].id}`), f(t, "class", "svelte-qq2273");
|
|
23
|
+
},
|
|
24
|
+
m(o, h) {
|
|
25
|
+
k(o, t, h), a || (r = [
|
|
26
|
+
y(
|
|
27
|
+
t,
|
|
28
|
+
"click",
|
|
29
|
+
/*handleClick*/
|
|
30
|
+
l[3]
|
|
31
|
+
),
|
|
32
|
+
y(t, "keyup", K(w))
|
|
33
|
+
], a = !0);
|
|
34
|
+
},
|
|
35
|
+
p(o, [h]) {
|
|
36
|
+
h & /*style*/
|
|
37
|
+
4 && f(
|
|
38
|
+
t,
|
|
39
|
+
"style",
|
|
40
|
+
/*style*/
|
|
41
|
+
o[2]
|
|
42
|
+
), h & /*floorIndex, room*/
|
|
43
|
+
3 && i !== (i = `${/*floorIndex*/
|
|
44
|
+
o[1]}_${/*room*/
|
|
45
|
+
o[0].id}`) && f(t, "id", i);
|
|
46
|
+
},
|
|
47
|
+
i: s,
|
|
48
|
+
o: s,
|
|
49
|
+
d(o) {
|
|
50
|
+
o && C(t), a = !1, F(r);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function w(l) {
|
|
55
|
+
l.preventDefault();
|
|
56
|
+
}
|
|
57
|
+
function x(l, t, i) {
|
|
58
|
+
let a, r, { room: o } = t, { floorIndex: h } = t, { floorplanData: u } = t, { highlightData: n } = t, { highlightStyle: g } = t, { highlightEnable: d } = t;
|
|
59
|
+
const m = { color: "#ff0000", opacity: 0.5 }, _ = { color: "#ff0000", opacity: 0 };
|
|
60
|
+
function D(e) {
|
|
61
|
+
if (e.preventDefault(), !d)
|
|
62
|
+
return;
|
|
63
|
+
const c = `${h}_${o.id}`;
|
|
64
|
+
n != null && n[c] ? (i(5, n[c] = _, n), delete n[c]) : i(5, n[c] = g || m, n);
|
|
65
|
+
}
|
|
66
|
+
const { bounding: q } = u, p = P(o.path, {
|
|
67
|
+
needZ: !0,
|
|
68
|
+
format: (e) => R(e, q)
|
|
69
|
+
});
|
|
70
|
+
return l.$$set = (e) => {
|
|
71
|
+
"room" in e && i(0, o = e.room), "floorIndex" in e && i(1, h = e.floorIndex), "floorplanData" in e && i(6, u = e.floorplanData), "highlightData" in e && i(5, n = e.highlightData), "highlightStyle" in e && i(7, g = e.highlightStyle), "highlightEnable" in e && i(8, d = e.highlightEnable);
|
|
72
|
+
}, l.$$.update = () => {
|
|
73
|
+
l.$$.dirty & /*highlightData, floorIndex, room*/
|
|
74
|
+
35 && i(9, a = n[`${h}_${o.id}`]), l.$$.dirty & /*highlight*/
|
|
75
|
+
512 && i(2, r = a ? `fill: ${a.color}; --opacity: ${a.opacity}; pointer-events: ${a.disabled ? "none" : "auto"}` : null);
|
|
76
|
+
}, [
|
|
77
|
+
o,
|
|
78
|
+
h,
|
|
79
|
+
r,
|
|
80
|
+
D,
|
|
81
|
+
p,
|
|
82
|
+
n,
|
|
83
|
+
u,
|
|
84
|
+
g,
|
|
85
|
+
d,
|
|
86
|
+
a
|
|
87
|
+
];
|
|
88
|
+
}
|
|
89
|
+
class B extends S {
|
|
90
|
+
constructor(t) {
|
|
91
|
+
super(), b(
|
|
92
|
+
this,
|
|
93
|
+
t,
|
|
94
|
+
x,
|
|
95
|
+
j,
|
|
96
|
+
v,
|
|
97
|
+
{
|
|
98
|
+
room: 0,
|
|
99
|
+
floorIndex: 1,
|
|
100
|
+
floorplanData: 6,
|
|
101
|
+
highlightData: 5,
|
|
102
|
+
highlightStyle: 7,
|
|
103
|
+
highlightEnable: 8
|
|
104
|
+
},
|
|
105
|
+
Z
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
export {
|
|
110
|
+
B as default
|
|
111
|
+
};
|
package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|
package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.js
ADDED
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { SvelteComponent as y, init as k, safe_not_equal as D, append_styles as v, element as p, svg_element as w, attr as s, insert as m, append as S, update_keyed_each as q, check_outros as E, transition_in as d, transition_out as c, detach as b, assign as I, empty as H, create_component as R, mount_component as B, get_spread_update as C, destroy_component as M, group_outros as W, outro_and_destroy_block as j } from "../../../../../vendor/svelte/internal/index.js";
|
|
2
|
+
import z from "./Room.js";
|
|
3
|
+
import "../../../../utils/formatPosition.js";
|
|
4
|
+
function A(a) {
|
|
5
|
+
v(a, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
|
|
6
|
+
}
|
|
7
|
+
function u(a, e, i) {
|
|
8
|
+
const t = a.slice();
|
|
9
|
+
return t[7] = e[i], t;
|
|
10
|
+
}
|
|
11
|
+
function _(a, e) {
|
|
12
|
+
let i, t, g;
|
|
13
|
+
const f = [
|
|
14
|
+
{
|
|
15
|
+
room: (
|
|
16
|
+
/*room*/
|
|
17
|
+
e[7]
|
|
18
|
+
),
|
|
19
|
+
highlightEnable: (
|
|
20
|
+
/*highlightEnable*/
|
|
21
|
+
e[4]
|
|
22
|
+
),
|
|
23
|
+
floorplanData: (
|
|
24
|
+
/*floorplanData*/
|
|
25
|
+
e[1]
|
|
26
|
+
),
|
|
27
|
+
floorIndex: (
|
|
28
|
+
/*floorIndex*/
|
|
29
|
+
e[0]
|
|
30
|
+
),
|
|
31
|
+
highlightData: (
|
|
32
|
+
/*highlightData*/
|
|
33
|
+
e[2]
|
|
34
|
+
),
|
|
35
|
+
highlightStyle: (
|
|
36
|
+
/*highlightStyle*/
|
|
37
|
+
e[3]
|
|
38
|
+
)
|
|
39
|
+
}
|
|
40
|
+
];
|
|
41
|
+
let r = {};
|
|
42
|
+
for (let n = 0; n < f.length; n += 1)
|
|
43
|
+
r = I(r, f[n]);
|
|
44
|
+
return t = new z({ props: r }), {
|
|
45
|
+
key: a,
|
|
46
|
+
first: null,
|
|
47
|
+
c() {
|
|
48
|
+
i = H(), R(t.$$.fragment), this.first = i;
|
|
49
|
+
},
|
|
50
|
+
m(n, l) {
|
|
51
|
+
m(n, i, l), B(t, n, l), g = !0;
|
|
52
|
+
},
|
|
53
|
+
p(n, l) {
|
|
54
|
+
e = n;
|
|
55
|
+
const o = l & /*floorplanData, floorIndex, highlightEnable, highlightData, highlightStyle*/
|
|
56
|
+
31 ? C(f, [
|
|
57
|
+
{
|
|
58
|
+
room: (
|
|
59
|
+
/*room*/
|
|
60
|
+
e[7]
|
|
61
|
+
),
|
|
62
|
+
highlightEnable: (
|
|
63
|
+
/*highlightEnable*/
|
|
64
|
+
e[4]
|
|
65
|
+
),
|
|
66
|
+
floorplanData: (
|
|
67
|
+
/*floorplanData*/
|
|
68
|
+
e[1]
|
|
69
|
+
),
|
|
70
|
+
floorIndex: (
|
|
71
|
+
/*floorIndex*/
|
|
72
|
+
e[0]
|
|
73
|
+
),
|
|
74
|
+
highlightData: (
|
|
75
|
+
/*highlightData*/
|
|
76
|
+
e[2]
|
|
77
|
+
),
|
|
78
|
+
highlightStyle: (
|
|
79
|
+
/*highlightStyle*/
|
|
80
|
+
e[3]
|
|
81
|
+
)
|
|
82
|
+
}
|
|
83
|
+
]) : {};
|
|
84
|
+
t.$set(o);
|
|
85
|
+
},
|
|
86
|
+
i(n) {
|
|
87
|
+
g || (d(t.$$.fragment, n), g = !0);
|
|
88
|
+
},
|
|
89
|
+
o(n) {
|
|
90
|
+
c(t.$$.fragment, n), g = !1;
|
|
91
|
+
},
|
|
92
|
+
d(n) {
|
|
93
|
+
n && b(i), M(t, n);
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
function F(a) {
|
|
98
|
+
let e, i, t = [], g = /* @__PURE__ */ new Map(), f, r = (
|
|
99
|
+
/*floorplanData*/
|
|
100
|
+
a[1].floorDatas[
|
|
101
|
+
/*floorIndex*/
|
|
102
|
+
a[0]
|
|
103
|
+
].rooms
|
|
104
|
+
);
|
|
105
|
+
const n = (l) => (
|
|
106
|
+
/*room*/
|
|
107
|
+
l[7].id
|
|
108
|
+
);
|
|
109
|
+
for (let l = 0; l < r.length; l += 1) {
|
|
110
|
+
let o = u(a, r, l), h = n(o);
|
|
111
|
+
g.set(h, t[l] = _(h, o));
|
|
112
|
+
}
|
|
113
|
+
return {
|
|
114
|
+
c() {
|
|
115
|
+
e = p("div"), i = w("svg");
|
|
116
|
+
for (let l = 0; l < t.length; l += 1)
|
|
117
|
+
t[l].c();
|
|
118
|
+
s(i, "width", "100%"), s(i, "height", "100%"), s(i, "viewBox", `0 0 ${/*boundingWidth*/
|
|
119
|
+
a[5]} ${/*boundingHeight*/
|
|
120
|
+
a[6]}`), s(i, "class", "svelte-1kqo6e4"), s(e, "class", "floorplan-plugin__room-highlight svelte-1kqo6e4");
|
|
121
|
+
},
|
|
122
|
+
m(l, o) {
|
|
123
|
+
m(l, e, o), S(e, i);
|
|
124
|
+
for (let h = 0; h < t.length; h += 1)
|
|
125
|
+
t[h] && t[h].m(i, null);
|
|
126
|
+
f = !0;
|
|
127
|
+
},
|
|
128
|
+
p(l, [o]) {
|
|
129
|
+
o & /*floorplanData, floorIndex, highlightEnable, highlightData, highlightStyle*/
|
|
130
|
+
31 && (r = /*floorplanData*/
|
|
131
|
+
l[1].floorDatas[
|
|
132
|
+
/*floorIndex*/
|
|
133
|
+
l[0]
|
|
134
|
+
].rooms, W(), t = q(t, o, n, 1, l, r, g, i, j, _, null, u), E());
|
|
135
|
+
},
|
|
136
|
+
i(l) {
|
|
137
|
+
if (!f) {
|
|
138
|
+
for (let o = 0; o < r.length; o += 1)
|
|
139
|
+
d(t[o]);
|
|
140
|
+
f = !0;
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
o(l) {
|
|
144
|
+
for (let o = 0; o < t.length; o += 1)
|
|
145
|
+
c(t[o]);
|
|
146
|
+
f = !1;
|
|
147
|
+
},
|
|
148
|
+
d(l) {
|
|
149
|
+
l && b(e);
|
|
150
|
+
for (let o = 0; o < t.length; o += 1)
|
|
151
|
+
t[o].d();
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
function G(a, e, i) {
|
|
156
|
+
let { floorIndex: t } = e, { floorplanData: g } = e, { highlightData: f } = e, { highlightStyle: r } = e, { highlightEnable: n } = e;
|
|
157
|
+
const l = g.bounding.max.x - g.bounding.min.x, o = g.bounding.max.y - g.bounding.min.y;
|
|
158
|
+
return a.$$set = (h) => {
|
|
159
|
+
"floorIndex" in h && i(0, t = h.floorIndex), "floorplanData" in h && i(1, g = h.floorplanData), "highlightData" in h && i(2, f = h.highlightData), "highlightStyle" in h && i(3, r = h.highlightStyle), "highlightEnable" in h && i(4, n = h.highlightEnable);
|
|
160
|
+
}, [
|
|
161
|
+
t,
|
|
162
|
+
g,
|
|
163
|
+
f,
|
|
164
|
+
r,
|
|
165
|
+
n,
|
|
166
|
+
l,
|
|
167
|
+
o
|
|
168
|
+
];
|
|
169
|
+
}
|
|
170
|
+
class N extends y {
|
|
171
|
+
constructor(e) {
|
|
172
|
+
super(), k(
|
|
173
|
+
this,
|
|
174
|
+
e,
|
|
175
|
+
G,
|
|
176
|
+
F,
|
|
177
|
+
D,
|
|
178
|
+
{
|
|
179
|
+
floorIndex: 0,
|
|
180
|
+
floorplanData: 1,
|
|
181
|
+
highlightData: 2,
|
|
182
|
+
highlightStyle: 3,
|
|
183
|
+
highlightEnable: 4
|
|
184
|
+
},
|
|
185
|
+
A
|
|
186
|
+
);
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
export {
|
|
190
|
+
N as default
|
|
191
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponentTyped as default } from 'svelte/internal';
|