@realsee/dnalogel 2.28.0-dev.0 → 2.28.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 +114 -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 +6898 -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/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 +114 -0
- package/libs/AreaMakerPlugin/utils/Item.js +263 -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/docs/.nojekyll +0 -1
- package/docs/assets/highlight.css +0 -120
- package/docs/assets/main.js +0 -58
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1367
- package/docs/classes/CSS3DRender.html +0 -770
- package/docs/classes/CruisePluginController.html +0 -669
- package/docs/classes/GuideLineItem.GuideLineItem.html +0 -488
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -789
- package/docs/classes/Magnifier.html +0 -477
- package/docs/classes/ModelRoomLabelController.html +0 -395
- package/docs/classes/Object3DHelperController.html +0 -637
- package/docs/classes/PaintBrush.html +0 -499
- package/docs/classes/PanoMeasurePluginLine.html +0 -519
- package/docs/classes/PanoMeasurePluginModel.html +0 -568
- package/docs/classes/PanoMeasurePluginPoint.html +0 -359
- package/docs/classes/PanoMeasurePluginPolyline.html +0 -564
- package/docs/classes/PanoTagPluginController.html +0 -1087
- package/docs/classes/Util.BetterTween.html +0 -409
- package/docs/classes/Util.Interval.html +0 -425
- package/docs/classes/Util.Magnifier.html +0 -496
- package/docs/classes/Util.PointDomHelper.html +0 -400
- package/docs/classes/Util.PointHelper.html +0 -391
- package/docs/classes/Util.PointSelectorHelper.html +0 -447
- package/docs/classes/Util.Rectangle.html +0 -448
- package/docs/enums/CameraMovementEffect.html +0 -307
- package/docs/enums/ContentType.html +0 -443
- package/docs/enums/DIRECTION.html +0 -317
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -317
- package/docs/enums/DimensionType.html +0 -307
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -310
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -317
- package/docs/enums/PaintBrushTypeEnum.html +0 -310
- package/docs/enums/PointType.html +0 -307
- package/docs/enums/Rotation.html +0 -314
- package/docs/functions/CSS3DRenderPlugin.html +0 -285
- package/docs/functions/CameraMovementPlugin.html +0 -290
- package/docs/functions/CruisePlugin.html +0 -287
- package/docs/functions/FloorplanRoomsPlugin.html +0 -285
- package/docs/functions/GuideLinePlugin.html +0 -287
- package/docs/functions/ItemLabelPlugin.html +0 -287
- package/docs/functions/MapviewFloorplanPlugin.html +0 -287
- package/docs/functions/ModelChassisCompassPlugin.html +0 -290
- package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -290
- package/docs/functions/ModelFloorplanPlugin.html +0 -287
- package/docs/functions/ModelItemLabelPlugin.html +0 -287
- package/docs/functions/ModelRoomLabelPlugin.html +0 -285
- package/docs/functions/ModelTVVideoPlugin.html +0 -287
- package/docs/functions/ModelViewPlugin.html +0 -290
- package/docs/functions/Object3DHelperPlugin.html +0 -285
- package/docs/functions/PanoCompassPlugin.html +0 -287
- package/docs/functions/PanoCursorRaycasterPlugin.html +0 -291
- package/docs/functions/PanoDoorLabelPlugin.html +0 -287
- package/docs/functions/PanoFloorplanRadarPlugin.html +0 -287
- package/docs/functions/PanoMeasurePlugin.html +0 -287
- package/docs/functions/PanoRulerPlugin.html +0 -290
- package/docs/functions/PanoRulerProPlugin.html +0 -290
- package/docs/functions/PanoSpatialTagPlugin.html +0 -290
- package/docs/functions/PanoTagPlugin.html +0 -292
- package/docs/functions/PanoVideoPlugin.html +0 -296
- package/docs/functions/PipelinePlugin.html +0 -285
- package/docs/functions/TopviewFloorplanPlugin.html +0 -287
- package/docs/functions/Util.absoluteUrl.html +0 -319
- package/docs/functions/Util.getCoordsFromClient.html +0 -321
- package/docs/functions/Util.getCoordsFromElement.html +0 -321
- package/docs/functions/Util.getFrameTime.html +0 -313
- package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -321
- package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -321
- package/docs/functions/Util.isAbsoluteURL.html +0 -314
- package/docs/functions/Util.isModelLike.html +0 -314
- package/docs/functions/Util.isNil.html +0 -322
- package/docs/functions/Util.isPanoramaLike.html +0 -314
- package/docs/functions/Util.nextFrame.html +0 -327
- package/docs/functions/Util.notNil.html +0 -322
- package/docs/functions/Util.requestAnimationFrameInterval.html +0 -343
- package/docs/functions/Util.tweenProgress.html +0 -316
- package/docs/functions/Util.uuid.html +0 -312
- package/docs/functions/pluginFlag.html +0 -285
- package/docs/index.html +0 -351
- package/docs/interfaces/AddTagConfig.html +0 -300
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -446
- package/docs/interfaces/CSS3DRenderPluginState.html +0 -322
- package/docs/interfaces/CameraMovementPluginExportType.html +0 -355
- package/docs/interfaces/CruisePluginTypes.Config.html +0 -356
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -358
- package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -693
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -382
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -418
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -408
- package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -348
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -316
- package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -405
- package/docs/interfaces/EventMap.html +0 -539
- package/docs/interfaces/FloorplanBounding.html +0 -329
- package/docs/interfaces/FloorplanData.html +0 -332
- package/docs/interfaces/FloorplanEntrance.html +0 -357
- package/docs/interfaces/FloorplanExtraObject.html +0 -347
- package/docs/interfaces/FloorplanExtraObject3D.html +0 -336
- package/docs/interfaces/FloorplanFloorData.html +0 -325
- package/docs/interfaces/FloorplanImagePosition.html +0 -311
- package/docs/interfaces/FloorplanObserver.html +0 -329
- package/docs/interfaces/FloorplanOutlineItem.html +0 -325
- package/docs/interfaces/FloorplanPosition.html +0 -311
- package/docs/interfaces/FloorplanRoomItem.html +0 -376
- package/docs/interfaces/FloorplanRoomLabelItem.html +0 -317
- package/docs/interfaces/FloorplanServerBounding.html +0 -329
- package/docs/interfaces/FloorplanServerComputedData.html +0 -328
- package/docs/interfaces/FloorplanServerData.html +0 -311
- package/docs/interfaces/FloorplanServerDoorItem.html +0 -328
- package/docs/interfaces/FloorplanServerDoorPosition.html +0 -314
- package/docs/interfaces/FloorplanServerEntrance.html +0 -357
- package/docs/interfaces/FloorplanServerFloorData.html +0 -325
- package/docs/interfaces/FloorplanServerImagePosition.html +0 -311
- package/docs/interfaces/FloorplanServerObserver.html +0 -329
- package/docs/interfaces/FloorplanServerOutlineItem.html +0 -325
- package/docs/interfaces/FloorplanServerPosition.html +0 -311
- package/docs/interfaces/FloorplanServerRoomItem.html +0 -388
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -317
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -320
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -358
- package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -522
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -353
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -344
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -411
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -343
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -468
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -340
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -468
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -305
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -326
- package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -351
- package/docs/interfaces/GuideLinePluginType.Route.html +0 -367
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -349
- package/docs/interfaces/HelperOffset.html +0 -329
- package/docs/interfaces/ImagePlaneGroup.html +0 -303
- package/docs/interfaces/ItemLabelPluginData.html +0 -300
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -385
- package/docs/interfaces/ItemLabelPluginParametersType.html +0 -321
- package/docs/interfaces/MinMax.html +0 -307
- package/docs/interfaces/ModelChassisCompassPluginData.html +0 -307
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -343
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -307
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -314
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -351
- package/docs/interfaces/ModelItemLabelPluginData.html +0 -300
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -385
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -307
- package/docs/interfaces/ModelRoomLabelPluginData.html +0 -300
- package/docs/interfaces/ModelTVVideoPluginData.html +0 -321
- package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -345
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -300
- package/docs/interfaces/ModelViewPluginExportType.html +0 -413
- package/docs/interfaces/Object3DHelperState.html +0 -314
- package/docs/interfaces/ObjectHelperControllers.html +0 -321
- package/docs/interfaces/PaintBrushAction.html +0 -360
- package/docs/interfaces/PaintBrushConfigs.html +0 -358
- package/docs/interfaces/PaintBrushState.html +0 -342
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -422
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -279
- package/docs/interfaces/PanoMeasureParameterType.html +0 -446
- package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -314
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -311
- package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -307
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -317
- package/docs/interfaces/PanoRulerPluginExportType.html +0 -374
- package/docs/interfaces/PanoRulerPluginOptions.html +0 -323
- package/docs/interfaces/PanoRulerPluginParameterType.html +0 -314
- package/docs/interfaces/PanoRulerProPluginExportType.html +0 -350
- package/docs/interfaces/PanoRulerProPluginOptions.html +0 -320
- package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -307
- package/docs/interfaces/PanoRulerProPluginState.html +0 -314
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -293
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -282
- package/docs/interfaces/PanoSpatialTagPluginData.html +0 -350
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -332
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -428
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -328
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -349
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -335
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -328
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -320
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -338
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -311
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -417
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -311
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -346
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -365
- package/docs/interfaces/Point.html +0 -314
- package/docs/interfaces/Room.html +0 -321
- package/docs/interfaces/RoomInfo.html +0 -307
- package/docs/interfaces/RoomLabel.html +0 -383
- package/docs/interfaces/RoomRules.html +0 -282
- package/docs/interfaces/Rooms.html +0 -282
- package/docs/interfaces/Scissor.html +0 -341
- package/docs/interfaces/State.html +0 -328
- package/docs/interfaces/TagCacheInterface.html +0 -352
- package/docs/interfaces/TagConfig.html +0 -542
- package/docs/interfaces/TagGLTFObjectGroup.html +0 -303
- package/docs/interfaces/TagIconUrl.html +0 -360
- package/docs/interfaces/TagObjectGroup.html +0 -303
- package/docs/interfaces/TagStyle.html +0 -313
- package/docs/interfaces/Tags.html +0 -543
- package/docs/interfaces/TemporaryState.html +0 -300
- package/docs/interfaces/Util.MagnifierParameter.html +0 -384
- package/docs/interfaces/Util.MouseGroupParameter.html +0 -343
- package/docs/interfaces/Util.PointIntersection.html +0 -358
- package/docs/modules/CruisePluginTypes.html +0 -325
- package/docs/modules/GuideLineItem.html +0 -286
- package/docs/modules/GuideLineModeItem.html +0 -291
- package/docs/modules/GuideLinePluginType.html +0 -345
- package/docs/modules/PanoVideoPluginType.html +0 -298
- package/docs/modules/Util.html +0 -340
- package/docs/modules.html +0 -534
- package/docs/types/ArrayPosition.html +0 -276
- package/docs/types/AudioAppearance.html +0 -276
- package/docs/types/AudioTagTypeConfigKey.html +0 -276
- package/docs/types/CSS3DRenderExportType.html +0 -276
- package/docs/types/CSS3DRenderPluginExportType.html +0 -276
- package/docs/types/CSS3DRenderPluginParameterType.html +0 -276
- package/docs/types/ClassFunctionParameters.html +0 -283
- package/docs/types/Color.html +0 -276
- package/docs/types/ContentTypeConfigKey.html +0 -276
- package/docs/types/ContentTypeConfigKeySplit.html +0 -276
- package/docs/types/ContentTypeMap.html +0 -276
- package/docs/types/Create3DDomContainerReturnType.html +0 -276
- package/docs/types/Create3DElementReturnType.html +0 -276
- package/docs/types/CruisePluginExportType.html +0 -276
- package/docs/types/CruisePluginTypes.CruiseData.html +0 -315
- package/docs/types/CruisePluginTypes.MoveEffect.html +0 -292
- package/docs/types/DeprecatedMediaPlaneProperty.html +0 -288
- package/docs/types/DeprecatedTagProperty.html +0 -291
- package/docs/types/Direction-1.html +0 -276
- package/docs/types/Direction4.html +0 -276
- package/docs/types/ElementRenderer.html +0 -300
- package/docs/types/FloorplanRoomsPluginParameterType.html +0 -276
- package/docs/types/FloorplanRoomsPluginReturnType.html +0 -276
- package/docs/types/FloorplanRuleLabels.html +0 -279
- package/docs/types/FloorplanServerRuleLabels.html +0 -276
- package/docs/types/GuideLinePluginExportType.html +0 -276
- package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -348
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -369
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -302
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -305
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -305
- package/docs/types/GuideLinePluginType.PathItem.html +0 -305
- package/docs/types/GuideLinePluginType.PluginData.html +0 -314
- package/docs/types/HelperEventMap.html +0 -514
- package/docs/types/LoadTagConfig.html +0 -276
- package/docs/types/MapviewFloorplanPluginParameterType.html +0 -276
- package/docs/types/MapviewFloorplanPluginReturnType.html +0 -276
- package/docs/types/MediaData.html +0 -292
- package/docs/types/MediaStore.html +0 -281
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -283
- package/docs/types/ModelFloorplanPluginParameterType.html +0 -276
- package/docs/types/ModelFloorplanPluginReturnType.html +0 -276
- package/docs/types/ModelRoomLabelPluginParameters.html +0 -276
- package/docs/types/ModelRoomLabelPluginReturnType.html +0 -276
- package/docs/types/MoveArgs.html +0 -286
- package/docs/types/MoveOpts.html +0 -284
- package/docs/types/Object3DHelperEventMap.html +0 -369
- package/docs/types/ObjectFit.html +0 -276
- package/docs/types/PaintBrushEventMap.html +0 -307
- package/docs/types/PanoCompassPluginData.html +0 -276
- package/docs/types/PanoCompassPluginExportType.html +0 -276
- package/docs/types/PanoCompassPluginParameterType.html +0 -276
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -276
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -276
- package/docs/types/PanoIndex.html +0 -276
- package/docs/types/PanoMeasurePluginEvent.html +0 -276
- package/docs/types/PanoMeasureReturnType.html +0 -276
- package/docs/types/PanoSpatialTagPluginId.html +0 -276
- package/docs/types/PanoTagPluginExportInterface.html +0 -276
- package/docs/types/PanoTagPluginParamsInterface.html +0 -276
- package/docs/types/PanoVideoPluginParameterType.html +0 -276
- package/docs/types/PanoVideoPluginReturnType.html +0 -276
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -284
- package/docs/types/PipelinePluginParameterType.html +0 -276
- package/docs/types/PipelinePluginReturnType.html +0 -276
- package/docs/types/PlaneTag.html +0 -284
- package/docs/types/Point2DTag.html +0 -284
- package/docs/types/Point3DTag.html +0 -284
- package/docs/types/PointTag.html +0 -281
- package/docs/types/PointTagInstance.html +0 -281
- package/docs/types/Position.html +0 -276
- package/docs/types/RotateArgs.html +0 -288
- package/docs/types/RotateOpts.html +0 -284
- package/docs/types/RuleLabelsKey.html +0 -276
- package/docs/types/RuleLabelsValue.html +0 -276
- package/docs/types/StickType.html +0 -276
- package/docs/types/Tag.html +0 -342
- package/docs/types/Tag2D.html +0 -284
- package/docs/types/Tag3D.html +0 -284
- package/docs/types/TagConfigByKey.html +0 -281
- package/docs/types/TagContentType.html +0 -276
- package/docs/types/TagDimensionType.html +0 -278
- package/docs/types/TagElement.html +0 -286
- package/docs/types/TagEvents.html +0 -329
- package/docs/types/TagGLTFObject.html +0 -299
- package/docs/types/TagHooks.html +0 -276
- package/docs/types/TagId.html +0 -276
- package/docs/types/TagInstance.html +0 -348
- package/docs/types/TagPointType.html +0 -279
- package/docs/types/TagRendererMap.html +0 -281
- package/docs/types/TopviewFloorplanPluginParameterType.html +0 -276
- package/docs/types/TopviewFloorplanPluginReturnType.html +0 -276
- package/docs/types/WorkCode.html +0 -276
- package/docs/variables/FLOOR_TYPE_MAP.html +0 -286
- package/docs/variables/PLUGIN.html +0 -276
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -279
- package/docs/variables/ROOM_TYPE_MAP.html +0 -286
- package/docs/variables/defaultGlobalConfig.html +0 -276
- package/docs/variables/itemLabelPluginServerParams.html +0 -283
- package/docs/variables/modelItemLabelPluginServerParams.html +0 -283
- package/docs/variables/modelRoomLabelPluginServerParams.html +0 -283
- 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
|
@@ -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 };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Controller as o } from "./BasePlugin.js";
|
|
2
|
-
import "../../shared-utils/Subscribe.js";
|
|
3
|
-
import "hammerjs";
|
|
4
|
-
import "three";
|
|
5
|
-
import "@realsee/five";
|
|
6
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
7
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
8
|
-
import "../../shared-utils/positionToVector3.js";
|
|
9
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
10
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
11
|
-
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
12
|
-
import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
13
|
-
import "../../CSS3DRenderPlugin/utils/even.js";
|
|
14
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
15
|
-
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
16
|
-
import "../../shared-utils/three/centerPoint.js";
|
|
17
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
18
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
19
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
20
|
-
import "../../shared-utils/absoluteUrl.js";
|
|
21
|
-
let q = class extends o {
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
q as Controller
|
|
25
|
-
};
|
|
@@ -1,188 +0,0 @@
|
|
|
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
|
-
};
|
package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1,94 +0,0 @@
|
|
|
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
|
-
};
|
package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1,111 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.js
DELETED
|
@@ -1,191 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|