@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
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
export declare class Object3D<ChildeItem extends THREE.Object3D = THREE.Object3D> extends THREE.Object3D {
|
|
3
|
+
children: ChildeItem[];
|
|
4
|
+
/** 获取 raycaster 与当前物体的交点 */
|
|
5
|
+
getRaycastIntersects(raycaster: THREE.Raycaster): THREE.Intersection[];
|
|
6
|
+
/** 获取 raycaster 与当前物体的第一个交点 */
|
|
7
|
+
getRaycastIntersection(raycaster: THREE.Raycaster): THREE.Intersection;
|
|
8
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var a = Object.defineProperty;
|
|
2
|
+
var n = (s, e, t) => e in s ? a(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
|
+
var r = (s, e, t) => (n(s, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
+
import * as i from "three";
|
|
5
|
+
class y extends i.Object3D {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
r(this, "children", []);
|
|
9
|
+
}
|
|
10
|
+
/** 获取 raycaster 与当前物体的交点 */
|
|
11
|
+
getRaycastIntersects(t) {
|
|
12
|
+
const c = [];
|
|
13
|
+
return this.raycast(t, c), c;
|
|
14
|
+
}
|
|
15
|
+
/** 获取 raycaster 与当前物体的第一个交点 */
|
|
16
|
+
getRaycastIntersection(t) {
|
|
17
|
+
return this.getRaycastIntersects(t)[0];
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
y as Object3D
|
|
22
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as THREE from 'three';
|
|
2
|
-
import {
|
|
2
|
+
import type { Overwrite } from '../../typings/utils.type';
|
|
3
3
|
export default function loadVideoTexture(src: string, videoElement?: HTMLVideoElement): Promise<Overwrite<THREE.VideoTexture, {
|
|
4
4
|
image: HTMLVideoElement;
|
|
5
5
|
}>>;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as a from "three";
|
|
2
|
-
import { isWX as d
|
|
3
|
-
function
|
|
2
|
+
import { isWX as d } from "../device.js";
|
|
3
|
+
function c(i, r) {
|
|
4
4
|
let n = !d;
|
|
5
5
|
const e = r != null ? r : document.createElement("video");
|
|
6
6
|
e.preload = "metadata", e.crossOrigin = "anonymous", e.muted = !0, e.loop = !0, e.playsInline = !0, e.autoplay = !0;
|
|
7
7
|
const t = new a.VideoTexture(e);
|
|
8
|
-
t.minFilter = a.LinearFilter, t.magFilter = a.LinearFilter, t.encoding = a.sRGBEncoding, t.metadataLoaded = !1, e.src =
|
|
8
|
+
t.minFilter = a.LinearFilter, t.magFilter = a.LinearFilter, t.encoding = a.sRGBEncoding, t.metadataLoaded = !1, e.src = i;
|
|
9
9
|
const o = () => {
|
|
10
10
|
t.metadataLoaded || (t.dispatchEvent({ type: "videoLoaded" }), t.metadataLoaded = !0);
|
|
11
11
|
};
|
|
12
12
|
if (d || (e.onloadedmetadata = () => {
|
|
13
13
|
o();
|
|
14
14
|
}), d) {
|
|
15
|
-
const
|
|
15
|
+
const u = () => {
|
|
16
16
|
if (!n) {
|
|
17
17
|
if (!e.paused) {
|
|
18
18
|
o();
|
|
@@ -23,10 +23,10 @@ function m(u, r) {
|
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
|
-
document.addEventListener("click",
|
|
26
|
+
document.addEventListener("click", u, { once: !0 }), document.addEventListener("touchend", u, { once: !0 });
|
|
27
27
|
}
|
|
28
28
|
return t;
|
|
29
29
|
}
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
c as getVideoTexture
|
|
32
32
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** @file three.js 中声明有问题,这里重载一下声明 */
|
|
2
|
+
import type { Geometry, BufferGeometry, Material } from 'three';
|
|
3
|
+
import { LineSegments as OriginLineSegments } from 'three';
|
|
4
|
+
declare class LineSegments<TGeometry extends Geometry | BufferGeometry = Geometry | BufferGeometry, TMaterial extends Material | Material[] = Material | Material[]> extends OriginLineSegments<TGeometry, TMaterial> {
|
|
5
|
+
geometry: TGeometry;
|
|
6
|
+
material: TMaterial;
|
|
7
|
+
constructor(geometry: TGeometry, material: TMaterial);
|
|
8
|
+
}
|
|
9
|
+
export { LineSegments };
|
|
@@ -151,25 +151,20 @@ function lt(t, e, n, i) {
|
|
|
151
151
|
return t.addEventListener(e, n, i), () => t.removeEventListener(e, n, i);
|
|
152
152
|
}
|
|
153
153
|
function Zt(t) {
|
|
154
|
-
return function(e) {
|
|
155
|
-
return e.preventDefault(), t.call(this, e);
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
function te(t) {
|
|
159
154
|
return function(e) {
|
|
160
155
|
return e.stopPropagation(), t.call(this, e);
|
|
161
156
|
};
|
|
162
157
|
}
|
|
163
|
-
function
|
|
158
|
+
function te(t, e, n) {
|
|
164
159
|
n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
|
|
165
160
|
}
|
|
166
161
|
function At(t) {
|
|
167
162
|
return Array.from(t.childNodes);
|
|
168
163
|
}
|
|
169
|
-
function
|
|
164
|
+
function ee(t, e) {
|
|
170
165
|
e = "" + e, t.data !== e && (t.data = e);
|
|
171
166
|
}
|
|
172
|
-
function
|
|
167
|
+
function ne(t, e, n, i) {
|
|
173
168
|
n === null ? t.style.removeProperty(e) : t.style.setProperty(e, n, i ? "important" : "");
|
|
174
169
|
}
|
|
175
170
|
let W;
|
|
@@ -184,7 +179,7 @@ function Tt() {
|
|
|
184
179
|
}
|
|
185
180
|
return W;
|
|
186
181
|
}
|
|
187
|
-
function
|
|
182
|
+
function ie(t, e) {
|
|
188
183
|
getComputedStyle(t).position === "static" && (t.style.position = "relative");
|
|
189
184
|
const i = K("iframe");
|
|
190
185
|
i.setAttribute("style", "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
|
|
@@ -198,14 +193,14 @@ function re(t, e) {
|
|
|
198
193
|
(r || s && i.contentWindow) && s(), J(i);
|
|
199
194
|
};
|
|
200
195
|
}
|
|
201
|
-
function
|
|
196
|
+
function re(t, e, n) {
|
|
202
197
|
t.classList[n ? "add" : "remove"](e);
|
|
203
198
|
}
|
|
204
199
|
function yt(t, e, { bubbles: n = !1, cancelable: i = !1 } = {}) {
|
|
205
200
|
const r = document.createEvent("CustomEvent");
|
|
206
201
|
return r.initCustomEvent(t, n, i, e), r;
|
|
207
202
|
}
|
|
208
|
-
class
|
|
203
|
+
class se {
|
|
209
204
|
constructor(e = !1) {
|
|
210
205
|
this.is_svg = !1, this.is_svg = e, this.e = this.n = null;
|
|
211
206
|
}
|
|
@@ -271,28 +266,28 @@ function jt() {
|
|
|
271
266
|
}), H.clear());
|
|
272
267
|
});
|
|
273
268
|
}
|
|
274
|
-
let
|
|
269
|
+
let D;
|
|
275
270
|
function v(t) {
|
|
276
|
-
|
|
271
|
+
D = t;
|
|
277
272
|
}
|
|
278
273
|
function A() {
|
|
279
|
-
if (!
|
|
274
|
+
if (!D)
|
|
280
275
|
throw new Error("Function called outside component initialization");
|
|
281
|
-
return
|
|
276
|
+
return D;
|
|
282
277
|
}
|
|
283
|
-
function
|
|
278
|
+
function oe(t) {
|
|
284
279
|
A().$$.before_update.push(t);
|
|
285
280
|
}
|
|
286
|
-
function
|
|
281
|
+
function ce(t) {
|
|
287
282
|
A().$$.on_mount.push(t);
|
|
288
283
|
}
|
|
289
|
-
function
|
|
284
|
+
function ue(t) {
|
|
290
285
|
A().$$.after_update.push(t);
|
|
291
286
|
}
|
|
292
|
-
function
|
|
287
|
+
function le(t) {
|
|
293
288
|
A().$$.on_destroy.push(t);
|
|
294
289
|
}
|
|
295
|
-
function
|
|
290
|
+
function fe() {
|
|
296
291
|
const t = A();
|
|
297
292
|
return (e, n, { cancelable: i = !1 } = {}) => {
|
|
298
293
|
const r = t.$$.callbacks[e];
|
|
@@ -305,13 +300,13 @@ function ae() {
|
|
|
305
300
|
return !0;
|
|
306
301
|
};
|
|
307
302
|
}
|
|
308
|
-
function
|
|
303
|
+
function ae(t, e) {
|
|
309
304
|
return A().$$.context.set(t, e), e;
|
|
310
305
|
}
|
|
311
|
-
function
|
|
306
|
+
function de(t) {
|
|
312
307
|
return A().$$.context.get(t);
|
|
313
308
|
}
|
|
314
|
-
function
|
|
309
|
+
function he(t, e) {
|
|
315
310
|
const n = t.$$.callbacks[e.type];
|
|
316
311
|
n && n.slice().forEach((i) => i.call(this, e));
|
|
317
312
|
}
|
|
@@ -322,13 +317,13 @@ let Y = !1;
|
|
|
322
317
|
function wt() {
|
|
323
318
|
Y || (Y = !0, bt.then(rt));
|
|
324
319
|
}
|
|
325
|
-
function
|
|
320
|
+
function _e() {
|
|
326
321
|
return wt(), bt;
|
|
327
322
|
}
|
|
328
323
|
function z(t) {
|
|
329
324
|
S.push(t);
|
|
330
325
|
}
|
|
331
|
-
function
|
|
326
|
+
function pe(t) {
|
|
332
327
|
X.push(t);
|
|
333
328
|
}
|
|
334
329
|
const V = /* @__PURE__ */ new Set();
|
|
@@ -336,7 +331,7 @@ let C = 0;
|
|
|
336
331
|
function rt() {
|
|
337
332
|
if (C !== 0)
|
|
338
333
|
return;
|
|
339
|
-
const t =
|
|
334
|
+
const t = D;
|
|
340
335
|
do {
|
|
341
336
|
try {
|
|
342
337
|
for (; C < P.length; ) {
|
|
@@ -369,11 +364,11 @@ function zt(t) {
|
|
|
369
364
|
const e = [], n = [];
|
|
370
365
|
S.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), S = e;
|
|
371
366
|
}
|
|
372
|
-
let
|
|
367
|
+
let O;
|
|
373
368
|
function st() {
|
|
374
|
-
return
|
|
375
|
-
|
|
376
|
-
})),
|
|
369
|
+
return O || (O = Promise.resolve(), O.then(() => {
|
|
370
|
+
O = null;
|
|
371
|
+
})), O;
|
|
377
372
|
}
|
|
378
373
|
function T(t, e, n) {
|
|
379
374
|
t.dispatchEvent(yt(`${e ? "intro" : "outro"}${n}`));
|
|
@@ -388,7 +383,7 @@ function Lt() {
|
|
|
388
383
|
// parent group
|
|
389
384
|
};
|
|
390
385
|
}
|
|
391
|
-
function
|
|
386
|
+
function Ot() {
|
|
392
387
|
x.r || M(x.c), x = x.p;
|
|
393
388
|
}
|
|
394
389
|
function ot(t, e) {
|
|
@@ -405,7 +400,7 @@ function $t(t, e, n, i) {
|
|
|
405
400
|
i && i();
|
|
406
401
|
}
|
|
407
402
|
const ct = { duration: 0 };
|
|
408
|
-
function
|
|
403
|
+
function me(t, e, n) {
|
|
409
404
|
const i = { direction: "in" };
|
|
410
405
|
let r = e(t, n, i), s = !1, c, o, l = 0;
|
|
411
406
|
function u() {
|
|
@@ -440,7 +435,7 @@ function ge(t, e, n) {
|
|
|
440
435
|
}
|
|
441
436
|
};
|
|
442
437
|
}
|
|
443
|
-
function
|
|
438
|
+
function ge(t, e, n) {
|
|
444
439
|
const i = { direction: "out" };
|
|
445
440
|
let r = e(t, n, i), s = !0, c;
|
|
446
441
|
const o = x;
|
|
@@ -469,7 +464,7 @@ function ye(t, e, n) {
|
|
|
469
464
|
}
|
|
470
465
|
};
|
|
471
466
|
}
|
|
472
|
-
function
|
|
467
|
+
function ye(t, e, n, i) {
|
|
473
468
|
const r = { direction: "both" };
|
|
474
469
|
let s = e(t, n, r), c = i ? 0 : 1, o = null, l = null, u = null;
|
|
475
470
|
function _() {
|
|
@@ -515,7 +510,7 @@ function be(t, e, n, i) {
|
|
|
515
510
|
}
|
|
516
511
|
};
|
|
517
512
|
}
|
|
518
|
-
function
|
|
513
|
+
function be(t, e) {
|
|
519
514
|
const n = e.token = {};
|
|
520
515
|
function i(r, s, c, o) {
|
|
521
516
|
if (e.token !== n)
|
|
@@ -528,7 +523,7 @@ function we(t, e) {
|
|
|
528
523
|
e.block && (e.blocks ? e.blocks.forEach((a, d) => {
|
|
529
524
|
d !== s && a && (Lt(), $t(a, 1, 1, () => {
|
|
530
525
|
e.blocks[d] === a && (e.blocks[d] = null);
|
|
531
|
-
}),
|
|
526
|
+
}), Ot());
|
|
532
527
|
}) : e.block.d(1), u.c(), ot(u, 1), u.m(e.mount(), e.anchor), _ = !0), e.block = u, e.blocks && (e.blocks[s] = u), _ && rt();
|
|
533
528
|
}
|
|
534
529
|
if (xt(t)) {
|
|
@@ -546,20 +541,20 @@ function we(t, e) {
|
|
|
546
541
|
e.resolved = t;
|
|
547
542
|
}
|
|
548
543
|
}
|
|
549
|
-
function
|
|
544
|
+
function we(t, e, n) {
|
|
550
545
|
const i = e.slice(), { resolved: r } = t;
|
|
551
546
|
t.current === t.then && (i[t.value] = r), t.current === t.catch && (i[t.error] = r), t.block.p(i, n);
|
|
552
547
|
}
|
|
553
|
-
const
|
|
554
|
-
function
|
|
548
|
+
const $e = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : global;
|
|
549
|
+
function ke(t, e) {
|
|
555
550
|
t.d(1), e.delete(t.key);
|
|
556
551
|
}
|
|
557
|
-
function
|
|
552
|
+
function xe(t, e) {
|
|
558
553
|
$t(t, 1, 1, () => {
|
|
559
554
|
e.delete(t.key);
|
|
560
555
|
});
|
|
561
556
|
}
|
|
562
|
-
function
|
|
557
|
+
function Ee(t, e, n, i, r, s, c, o, l, u, _, a) {
|
|
563
558
|
let d = t.length, f = s.length, h = d;
|
|
564
559
|
const m = {};
|
|
565
560
|
for (; h--; )
|
|
@@ -586,7 +581,7 @@ function ve(t, e, n, i, r, s, c, o, l, u, _, a) {
|
|
|
586
581
|
Q(p[f - 1]);
|
|
587
582
|
return M(b), p;
|
|
588
583
|
}
|
|
589
|
-
function
|
|
584
|
+
function ve(t, e) {
|
|
590
585
|
const n = {}, i = {}, r = { $$scope: 1 };
|
|
591
586
|
let s = t.length;
|
|
592
587
|
for (; s--; ) {
|
|
@@ -605,17 +600,17 @@ function Ne(t, e) {
|
|
|
605
600
|
c in n || (n[c] = void 0);
|
|
606
601
|
return n;
|
|
607
602
|
}
|
|
608
|
-
function
|
|
603
|
+
function Ne(t) {
|
|
609
604
|
return typeof t == "object" && t !== null ? t : {};
|
|
610
605
|
}
|
|
611
|
-
function
|
|
606
|
+
function Me(t, e, n) {
|
|
612
607
|
const i = t.$$.props[e];
|
|
613
608
|
i !== void 0 && (t.$$.bound[i] = n, n(t.$$.ctx[i]));
|
|
614
609
|
}
|
|
615
|
-
function
|
|
610
|
+
function Ae(t) {
|
|
616
611
|
t && t.c();
|
|
617
612
|
}
|
|
618
|
-
function
|
|
613
|
+
function Dt(t, e, n, i) {
|
|
619
614
|
const { fragment: r, after_update: s } = t.$$;
|
|
620
615
|
r && r.m(e, n), i || z(() => {
|
|
621
616
|
const c = t.$$.on_mount.map(at).filter(L);
|
|
@@ -629,8 +624,8 @@ function Rt(t, e) {
|
|
|
629
624
|
function qt(t, e) {
|
|
630
625
|
t.$$.dirty[0] === -1 && (P.push(t), wt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
|
|
631
626
|
}
|
|
632
|
-
function
|
|
633
|
-
const l =
|
|
627
|
+
function Te(t, e, n, i, r, s, c, o = [-1]) {
|
|
628
|
+
const l = D;
|
|
634
629
|
v(t);
|
|
635
630
|
const u = t.$$ = {
|
|
636
631
|
fragment: null,
|
|
@@ -664,11 +659,11 @@ function Ce(t, e, n, i, r, s, c, o = [-1]) {
|
|
|
664
659
|
u.fragment && u.fragment.l(a), a.forEach(J);
|
|
665
660
|
} else
|
|
666
661
|
u.fragment && u.fragment.c();
|
|
667
|
-
e.intro && ot(t.$$.fragment),
|
|
662
|
+
e.intro && ot(t.$$.fragment), Dt(t, e.target, e.anchor, e.customElement), rt();
|
|
668
663
|
}
|
|
669
664
|
v(l);
|
|
670
665
|
}
|
|
671
|
-
class
|
|
666
|
+
class Ce {
|
|
672
667
|
$destroy() {
|
|
673
668
|
Rt(this, 1), this.$destroy = N;
|
|
674
669
|
}
|
|
@@ -686,70 +681,69 @@ class Pe {
|
|
|
686
681
|
}
|
|
687
682
|
}
|
|
688
683
|
export {
|
|
689
|
-
|
|
690
|
-
|
|
684
|
+
se as HtmlTag,
|
|
685
|
+
Ce as SvelteComponent,
|
|
691
686
|
Jt as action_destroyer,
|
|
692
|
-
|
|
687
|
+
pe as add_flush_callback,
|
|
693
688
|
z as add_render_callback,
|
|
694
|
-
|
|
695
|
-
|
|
689
|
+
ie as add_resize_listener,
|
|
690
|
+
ue as afterUpdate,
|
|
696
691
|
pt as append,
|
|
697
692
|
Qt as append_styles,
|
|
698
693
|
kt as assign,
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
694
|
+
te as attr,
|
|
695
|
+
oe as beforeUpdate,
|
|
696
|
+
Me as bind,
|
|
702
697
|
ft as binding_callbacks,
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
698
|
+
he as bubble,
|
|
699
|
+
Ot as check_outros,
|
|
700
|
+
fe as createEventDispatcher,
|
|
701
|
+
ye as create_bidirectional_transition,
|
|
702
|
+
Ae as create_component,
|
|
703
|
+
me as create_in_transition,
|
|
704
|
+
ge as create_out_transition,
|
|
710
705
|
Bt as create_slot,
|
|
711
|
-
|
|
706
|
+
ke as destroy_block,
|
|
712
707
|
Rt as destroy_component,
|
|
713
708
|
Vt as destroy_each,
|
|
714
709
|
J as detach,
|
|
715
710
|
K as element,
|
|
716
711
|
Yt as empty,
|
|
717
|
-
|
|
712
|
+
de as getContext,
|
|
718
713
|
Ut as get_all_dirty_from_scope,
|
|
719
714
|
Ht as get_slot_changes,
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
715
|
+
Ne as get_spread_object,
|
|
716
|
+
ve as get_spread_update,
|
|
717
|
+
$e as globals,
|
|
723
718
|
Lt as group_outros,
|
|
724
|
-
|
|
719
|
+
be as handle_promise,
|
|
725
720
|
Z as identity,
|
|
726
|
-
|
|
721
|
+
Te as init,
|
|
727
722
|
Nt as insert,
|
|
728
723
|
L as is_function,
|
|
729
724
|
lt as listen,
|
|
730
|
-
|
|
725
|
+
Dt as mount_component,
|
|
731
726
|
N as noop,
|
|
732
727
|
Gt as null_to_empty,
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
Zt as prevent_default,
|
|
728
|
+
le as onDestroy,
|
|
729
|
+
ce as onMount,
|
|
730
|
+
xe as outro_and_destroy_block,
|
|
737
731
|
M as run_all,
|
|
738
732
|
Ft as safe_not_equal,
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
733
|
+
ae as setContext,
|
|
734
|
+
ee as set_data,
|
|
735
|
+
ne as set_style,
|
|
742
736
|
Xt as space,
|
|
743
737
|
Kt as split_css_unit,
|
|
744
738
|
Wt as src_url_equal,
|
|
745
|
-
|
|
739
|
+
Zt as stop_propagation,
|
|
746
740
|
Mt as svg_element,
|
|
747
741
|
gt as text,
|
|
748
|
-
|
|
749
|
-
|
|
742
|
+
_e as tick,
|
|
743
|
+
re as toggle_class,
|
|
750
744
|
ot as transition_in,
|
|
751
745
|
$t as transition_out,
|
|
752
|
-
|
|
753
|
-
|
|
746
|
+
we as update_await_block_branch,
|
|
747
|
+
Ee as update_keyed_each,
|
|
754
748
|
It as update_slot_base
|
|
755
749
|
};
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.28.0
|
|
10
|
+
"version": "2.28.0",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
22
22
|
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
23
23
|
"docs": "typedoc --options ./typedoc.json",
|
|
24
|
-
"prepublishOnly": "run-p build
|
|
24
|
+
"prepublishOnly": "run-p build",
|
|
25
25
|
"postpublish": "cnpm sync @realsee/dnalogel"
|
|
26
26
|
},
|
|
27
27
|
"files": [
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { Subscribe } from '../../shared-utils/Subscribe';
|
|
2
|
-
/**
|
|
3
|
-
* 基本属性字段
|
|
4
|
-
*/
|
|
5
|
-
interface State {
|
|
6
|
-
/**
|
|
7
|
-
* 插件是否启用
|
|
8
|
-
*/
|
|
9
|
-
enabled: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* 插件UI是否展示
|
|
12
|
-
*/
|
|
13
|
-
visible?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* 插件的配置项
|
|
16
|
-
*/
|
|
17
|
-
config?: unknown;
|
|
18
|
-
}
|
|
19
|
-
interface BaseOptions {
|
|
20
|
-
/** 是否是用户行为 */
|
|
21
|
-
userAction?: boolean;
|
|
22
|
-
}
|
|
23
|
-
interface Config {
|
|
24
|
-
/** 静态资源前缀 */
|
|
25
|
-
staticPrefix?: string;
|
|
26
|
-
/** 国际化转换函数 */
|
|
27
|
-
i18n?: (key: string) => string;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* 插件基本事件
|
|
31
|
-
*/
|
|
32
|
-
type EventMap<PluginState> = {
|
|
33
|
-
/**
|
|
34
|
-
* 插件被销毁
|
|
35
|
-
*/
|
|
36
|
-
dispose: () => void;
|
|
37
|
-
/**
|
|
38
|
-
* 插件状态变化
|
|
39
|
-
* @param params.state 最新的State
|
|
40
|
-
* @param params.prevState 上一个State
|
|
41
|
-
* @param params.userAction 是否是用户触发
|
|
42
|
-
*/
|
|
43
|
-
stateChange: (params: {
|
|
44
|
-
state: PluginState;
|
|
45
|
-
prevState?: PluginState;
|
|
46
|
-
userAction: boolean;
|
|
47
|
-
}) => void;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* plugin 的基本控制器
|
|
51
|
-
*/
|
|
52
|
-
declare abstract class Controller<PluginState extends State, PluginEventMap extends EventMap<PluginState>> {
|
|
53
|
-
/**
|
|
54
|
-
* @realsee/dnalogel 版本号
|
|
55
|
-
*/
|
|
56
|
-
readonly VERSION: string;
|
|
57
|
-
/**
|
|
58
|
-
* 插件事件钩子
|
|
59
|
-
*/
|
|
60
|
-
hooks: Subscribe<PluginEventMap>;
|
|
61
|
-
readonly staticPrefix: string;
|
|
62
|
-
/**
|
|
63
|
-
* 当前状态
|
|
64
|
-
* @description
|
|
65
|
-
* ```text
|
|
66
|
-
* 可以通过 plugin.state 和 plugin.setState 来获取和设置。
|
|
67
|
-
* 通过 state 设置后,plugin 会通过合适的动画运动来达到设置的效果。
|
|
68
|
-
* 来迎合一些通过数据驱动的场景。
|
|
69
|
-
* ```
|
|
70
|
-
*/
|
|
71
|
-
abstract state: PluginState;
|
|
72
|
-
constructor(config?: Config);
|
|
73
|
-
/**
|
|
74
|
-
* 获取当前的插件状态,如果当初插件内存在需要通过动画变更的 state 值,则通过此方法可以得到中间状态
|
|
75
|
-
*/
|
|
76
|
-
getCurrentState(): PluginState;
|
|
77
|
-
/**
|
|
78
|
-
* 插件自身DOM添加到父容器
|
|
79
|
-
* @param wrapper
|
|
80
|
-
*/
|
|
81
|
-
appendTo?(wrapper: Element): void;
|
|
82
|
-
/**
|
|
83
|
-
* 展示UI
|
|
84
|
-
*/
|
|
85
|
-
show?(options?: BaseOptions): Promise<void>;
|
|
86
|
-
/**
|
|
87
|
-
* 隐藏UI
|
|
88
|
-
*/
|
|
89
|
-
hide?(options?: BaseOptions): Promise<void>;
|
|
90
|
-
/**
|
|
91
|
-
* 设置state
|
|
92
|
-
* @param state 插件的目标状态
|
|
93
|
-
* @param options 配置项
|
|
94
|
-
*/
|
|
95
|
-
setState?(state: Partial<PluginState>, options?: BaseOptions): void;
|
|
96
|
-
/**
|
|
97
|
-
* @description: 获取静态资源的url
|
|
98
|
-
*/
|
|
99
|
-
absoluteUrl(url: string): string;
|
|
100
|
-
/**
|
|
101
|
-
* 启用插件,让插件能够响应交互
|
|
102
|
-
*/
|
|
103
|
-
abstract enable(options?: BaseOptions): void;
|
|
104
|
-
/**
|
|
105
|
-
* 禁用插件,让插件停止响应交互
|
|
106
|
-
*/
|
|
107
|
-
abstract disable(options?: BaseOptions): void;
|
|
108
|
-
/**
|
|
109
|
-
* 插件进行销毁
|
|
110
|
-
*/
|
|
111
|
-
abstract dispose(): void;
|
|
112
|
-
}
|
|
113
|
-
export type { State, Config, EventMap, BaseOptions };
|
|
114
|
-
export { Controller };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as BasePlugin from './BasePlugin';
|
|
2
|
-
type State = BasePlugin.State;
|
|
3
|
-
type Config = BasePlugin.Config;
|
|
4
|
-
interface EventMap<PluginState, PluginData> extends BasePlugin.EventMap<PluginState> {
|
|
5
|
-
/** 数据变更 */
|
|
6
|
-
dataChange: (data: PluginData, prevData?: PluginData) => void;
|
|
7
|
-
/** 数据加载完成 */
|
|
8
|
-
dataLoaded: (data: PluginData) => void;
|
|
9
|
-
}
|
|
10
|
-
declare abstract class Controller<PluginState extends State, PluginEventMap extends EventMap<PluginState, PluginData>, PluginServerData, PluginData> extends BasePlugin.Controller<PluginState, PluginEventMap> {
|
|
11
|
-
protected abstract data?: PluginData;
|
|
12
|
-
/**
|
|
13
|
-
* 加载插件依赖数据
|
|
14
|
-
* @param serverData 插件数据
|
|
15
|
-
* @param state 插件 State
|
|
16
|
-
*/
|
|
17
|
-
abstract load(serverData: PluginServerData, state?: PluginState, userAction?: boolean): Promise<void>;
|
|
18
|
-
/** 把原始数据转化为插件数据 */
|
|
19
|
-
protected abstract formatData?(serverData: PluginServerData): Promise<PluginData>;
|
|
20
|
-
}
|
|
21
|
-
export type { State, EventMap, Config };
|
|
22
|
-
export type { BaseOptions } from './BasePlugin';
|
|
23
|
-
export { Controller };
|
package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SvelteComponentTyped as default } from 'svelte/internal';
|