@realsee/dnalogel 3.42.0-alpha-tag.44 → 3.42.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/CHANGELOG.md +12 -7
- package/dist/ModelMakerPlugin/Controller.d.ts +1 -2
- package/dist/Object3DHelperPlugin/Controller.d.ts +61 -0
- package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +14 -1
- package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +4 -0
- package/dist/PanoTagPlugin/controller/index.d.ts +4 -4
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +5 -0
- package/dist/index.cjs.js +31 -31
- package/dist/index.js +1205 -1185
- package/dist/index.umd.js +38 -38
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +7 -1
- package/libs/ModelMakerPlugin/Controller.d.ts +1 -2
- package/libs/ModelMakerPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.d.ts +61 -0
- package/libs/Object3DHelperPlugin/Controller.js +3 -3
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +39 -19
- package/libs/PanoTagPlugin/Components/Tag/index.js +138 -133
- package/libs/PanoTagPlugin/Components/TagItem.js +194 -196
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +14 -1
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +251 -236
- package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +4 -0
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +27 -23
- package/libs/PanoTagPlugin/controller/index.d.ts +4 -4
- package/libs/PanoTagPlugin/controller/index.js +19 -17
- package/libs/PanoTagPlugin/tag.config.js +2 -6
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +5 -0
- package/libs/PanoTagPlugin/utils/tag/format.js +3 -3
- package/libs/PipelinePlugin/utils/formatData.js +16 -16
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +22 -21
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +7 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +3 -2
- package/README.md +0 -116
- package/docs/.nojekyll +0 -1
- package/docs/assets/custom.css +0 -0
- package/docs/assets/highlight.css +0 -127
- package/docs/assets/main.js +0 -58
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1367
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -731
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -694
- package/docs/classes/CSS3DRender.html +0 -778
- package/docs/classes/GuideLineItem.GuideLineItem.html +0 -481
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -894
- package/docs/classes/Magnifier.html +0 -485
- package/docs/classes/ModelRoomLabelController.html +0 -403
- package/docs/classes/MoveController.html +0 -681
- package/docs/classes/Object3DHelperController.html +0 -645
- package/docs/classes/PaintBrush.html +0 -507
- package/docs/classes/PanoMeasurePluginLine.html +0 -527
- package/docs/classes/PanoMeasurePluginModel.html +0 -576
- package/docs/classes/PanoMeasurePluginPoint.html +0 -367
- package/docs/classes/PanoMeasurePluginPolyline.html +0 -572
- package/docs/classes/PanoTagPluginController.html +0 -1132
- package/docs/classes/Util.BetterTween.html +0 -421
- package/docs/classes/Util.Interval.html +0 -437
- package/docs/classes/Util.LineSegments.html +0 -389
- package/docs/classes/Util.Magnifier.html +0 -508
- package/docs/classes/Util.Object3D.html +0 -411
- package/docs/classes/Util.PointDomHelper.html +0 -412
- package/docs/classes/Util.PointHelper.html +0 -403
- package/docs/classes/Util.PointSelectorHelper.html +0 -459
- package/docs/classes/Util.Rectangle.html +0 -460
- package/docs/classes/WalkController.html +0 -700
- package/docs/enums/CameraMovementEffect.html +0 -315
- package/docs/enums/ContentType.html +0 -461
- package/docs/enums/DIRECTION.html +0 -325
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -325
- package/docs/enums/DimensionType.html +0 -315
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -318
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -325
- package/docs/enums/PaintBrushTypeEnum.html +0 -318
- package/docs/enums/PointType.html +0 -315
- package/docs/enums/Rotation.html +0 -322
- package/docs/functions/AreaMakerPlugin.html +0 -295
- package/docs/functions/CSS3DRenderPlugin.html +0 -293
- package/docs/functions/CameraMovementPlugin.html +0 -298
- package/docs/functions/CruisePlugin.html +0 -295
- package/docs/functions/CurrentPanoImagePlugin.html +0 -295
- package/docs/functions/GuideLinePlugin.html +0 -295
- package/docs/functions/ItemLabelPlugin.html +0 -295
- package/docs/functions/MapviewFloorplanPlugin.html +0 -295
- package/docs/functions/ModelChassisCompassPlugin.html +0 -298
- package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -298
- package/docs/functions/ModelFloorplanPlugin.html +0 -295
- package/docs/functions/ModelItemLabelPlugin.html +0 -295
- package/docs/functions/ModelRoomLabelPlugin.html +0 -293
- package/docs/functions/ModelTVVideoPlugin.html +0 -295
- package/docs/functions/ModelViewPlugin.html +0 -298
- package/docs/functions/MovePlugin.html +0 -295
- package/docs/functions/Object3DHelperPlugin.html +0 -293
- package/docs/functions/PanoCompassPlugin.html +0 -295
- package/docs/functions/PanoCursorRaycasterPlugin.html +0 -299
- package/docs/functions/PanoDoorLabelPlugin.html +0 -295
- package/docs/functions/PanoFloorplanRadarPlugin.html +0 -295
- package/docs/functions/PanoMeasurePlugin.html +0 -295
- package/docs/functions/PanoRulerPlugin.html +0 -298
- package/docs/functions/PanoRulerProPlugin.html +0 -298
- package/docs/functions/PanoSpatialTagPlugin.html +0 -298
- package/docs/functions/PanoTagPlugin.html +0 -300
- package/docs/functions/PanoVideoPlugin.html +0 -304
- package/docs/functions/PipelinePlugin.html +0 -293
- package/docs/functions/TopviewFloorplanPlugin.html +0 -295
- package/docs/functions/Util.absoluteUrl.html +0 -331
- package/docs/functions/Util.checkFiveModelLoaded.html +0 -334
- package/docs/functions/Util.equal.html +0 -343
- package/docs/functions/Util.getCoordsFromClient.html +0 -333
- package/docs/functions/Util.getCoordsFromElement.html +0 -333
- package/docs/functions/Util.getFrameTime.html +0 -325
- package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -333
- package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -333
- package/docs/functions/Util.isAbsoluteURL.html +0 -326
- package/docs/functions/Util.isModelLike.html +0 -326
- package/docs/functions/Util.isNil.html +0 -334
- package/docs/functions/Util.isPanoramaLike.html +0 -326
- package/docs/functions/Util.nextFrame.html +0 -339
- package/docs/functions/Util.notNil.html +0 -334
- package/docs/functions/Util.requestAnimationFrameInterval.html +0 -355
- package/docs/functions/Util.tweenProgress.html +0 -328
- package/docs/functions/Util.uuid.html +0 -324
- package/docs/functions/pluginFlag.html +0 -293
- package/docs/index.html +0 -358
- package/docs/interfaces/AddTagConfig.html +0 -308
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -335
- package/docs/interfaces/AreaMakerPluginType.Config.html +0 -340
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -626
- package/docs/interfaces/AreaMakerPluginType.Params.html +0 -339
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -397
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -382
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -339
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -332
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -331
- package/docs/interfaces/AreaMakerPluginType.State.html +0 -360
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -454
- package/docs/interfaces/CSS3DRenderPluginState.html +0 -330
- package/docs/interfaces/CameraMovementPluginExportType.html +0 -363
- package/docs/interfaces/CruisePluginTypes.Config.html +0 -364
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -366
- package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -724
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -390
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -426
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -416
- package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -356
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -324
- package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -392
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -387
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -526
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -328
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -320
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -342
- package/docs/interfaces/EventMap.html +0 -547
- package/docs/interfaces/FloorplanBounding.html +0 -337
- package/docs/interfaces/FloorplanData.html +0 -340
- package/docs/interfaces/FloorplanEntrance.html +0 -365
- package/docs/interfaces/FloorplanExtraObject.html +0 -355
- package/docs/interfaces/FloorplanExtraObject3D.html +0 -344
- package/docs/interfaces/FloorplanFloorData.html +0 -333
- package/docs/interfaces/FloorplanImagePosition.html +0 -319
- package/docs/interfaces/FloorplanObserver.html +0 -337
- package/docs/interfaces/FloorplanOutlineItem.html +0 -333
- package/docs/interfaces/FloorplanPosition.html +0 -319
- package/docs/interfaces/FloorplanRoomItem.html +0 -407
- package/docs/interfaces/FloorplanRoomLabelItem.html +0 -325
- package/docs/interfaces/FloorplanServerBounding.html +0 -337
- package/docs/interfaces/FloorplanServerComputedData.html +0 -336
- package/docs/interfaces/FloorplanServerData.html +0 -319
- package/docs/interfaces/FloorplanServerDoorItem.html +0 -336
- package/docs/interfaces/FloorplanServerDoorPosition.html +0 -322
- package/docs/interfaces/FloorplanServerEntrance.html +0 -365
- package/docs/interfaces/FloorplanServerFloorData.html +0 -333
- package/docs/interfaces/FloorplanServerImagePosition.html +0 -319
- package/docs/interfaces/FloorplanServerObserver.html +0 -337
- package/docs/interfaces/FloorplanServerOutlineItem.html +0 -333
- package/docs/interfaces/FloorplanServerPosition.html +0 -319
- package/docs/interfaces/FloorplanServerRoomItem.html +0 -419
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -325
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -328
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -367
- package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -531
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -362
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -353
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -452
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -342
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -352
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -522
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -349
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -532
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -314
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -335
- package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -360
- package/docs/interfaces/GuideLinePluginType.Route.html +0 -376
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -358
- package/docs/interfaces/HelperOffset.html +0 -337
- package/docs/interfaces/ImagePlaneGroup.html +0 -311
- package/docs/interfaces/ItemLabelPluginData.html +0 -308
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -393
- package/docs/interfaces/ItemLabelPluginParametersType.html +0 -329
- package/docs/interfaces/MinMax.html +0 -315
- package/docs/interfaces/ModelChassisCompassPluginData.html +0 -315
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -351
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -315
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -322
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -359
- package/docs/interfaces/ModelItemLabelPluginData.html +0 -308
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -393
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -315
- package/docs/interfaces/ModelRoomLabelPluginData.html +0 -308
- package/docs/interfaces/ModelTVVideoPluginData.html +0 -329
- package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -353
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -308
- package/docs/interfaces/ModelViewPluginExportType.html +0 -421
- package/docs/interfaces/Object3DHelperState.html +0 -322
- package/docs/interfaces/ObjectHelperControllers.html +0 -329
- package/docs/interfaces/PaintBrushAction.html +0 -368
- package/docs/interfaces/PaintBrushConfigs.html +0 -366
- package/docs/interfaces/PaintBrushState.html +0 -350
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -430
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -287
- package/docs/interfaces/PanoMeasureParameterType.html +0 -454
- package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -322
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -319
- package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -315
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -325
- package/docs/interfaces/PanoRulerPluginExportType.html +0 -382
- package/docs/interfaces/PanoRulerPluginOptions.html +0 -331
- package/docs/interfaces/PanoRulerPluginParameterType.html +0 -322
- package/docs/interfaces/PanoRulerProPluginExportType.html +0 -358
- package/docs/interfaces/PanoRulerProPluginOptions.html +0 -328
- package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -315
- package/docs/interfaces/PanoRulerProPluginState.html +0 -322
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -301
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -290
- package/docs/interfaces/PanoSpatialTagPluginData.html +0 -358
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -340
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -436
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -336
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -357
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -343
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -336
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -328
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -346
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -319
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -425
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -319
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -354
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -373
- package/docs/interfaces/Point.html +0 -322
- package/docs/interfaces/Room.html +0 -329
- package/docs/interfaces/RoomInfo.html +0 -315
- package/docs/interfaces/RoomLabel.html +0 -391
- package/docs/interfaces/RoomRules.html +0 -290
- package/docs/interfaces/Rooms.html +0 -290
- package/docs/interfaces/Scissor.html +0 -349
- package/docs/interfaces/State.html +0 -336
- package/docs/interfaces/TagCacheInterface.html +0 -367
- package/docs/interfaces/TagConfig.html +0 -570
- package/docs/interfaces/TagGLTFObjectGroup.html +0 -311
- package/docs/interfaces/TagIconUrl.html +0 -368
- package/docs/interfaces/TagObjectGroup.html +0 -311
- package/docs/interfaces/TagStyle.html +0 -321
- package/docs/interfaces/Tags.html +0 -2825
- package/docs/interfaces/TemporaryState.html +0 -308
- package/docs/interfaces/Util.MagnifierParameter.html +0 -396
- package/docs/interfaces/Util.MouseGroupParameter.html +0 -355
- package/docs/interfaces/Util.PointIntersection.html +0 -370
- package/docs/modules/AreaMakerPluginType.html +0 -330
- package/docs/modules/CruisePluginTypes.html +0 -333
- package/docs/modules/CurrentPanoImagePluginType.html +0 -302
- package/docs/modules/GuideLineItem.html +0 -294
- package/docs/modules/GuideLineModeItem.html +0 -299
- package/docs/modules/GuideLinePluginType.html +0 -355
- package/docs/modules/PanoVideoPluginType.html +0 -306
- package/docs/modules/Util.html +0 -356
- package/docs/modules.html +0 -564
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -359
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +0 -325
- package/docs/types/AreaMakerPluginType.PluginData.html +0 -307
- package/docs/types/AreaMakerPluginType.ServerData.html +0 -307
- package/docs/types/ArrayPosition.html +0 -284
- package/docs/types/AudioAppearance.html +0 -284
- package/docs/types/AudioTagTypeConfigKey.html +0 -284
- package/docs/types/CSS3DRenderExportType.html +0 -284
- package/docs/types/CSS3DRenderPluginExportType.html +0 -284
- package/docs/types/CSS3DRenderPluginParameterType.html +0 -284
- package/docs/types/ClassFunctionParameters.html +0 -291
- package/docs/types/Color.html +0 -284
- package/docs/types/ContentTypeConfigKey.html +0 -284
- package/docs/types/ContentTypeConfigKeySplit.html +0 -284
- package/docs/types/ContentTypeMap.html +0 -284
- package/docs/types/Create3DDomContainerReturnType.html +0 -284
- package/docs/types/Create3DElementReturnType.html +0 -284
- package/docs/types/CruisePluginExportType.html +0 -284
- package/docs/types/CruisePluginTypes.CruiseData.html +0 -323
- package/docs/types/CruisePluginTypes.MoveEffect.html +0 -300
- package/docs/types/CurrentPanoImagePluginExportType.html +0 -284
- package/docs/types/DeprecatedMediaPlaneProperty.html +0 -296
- package/docs/types/DeprecatedTagProperty.html +0 -299
- package/docs/types/Direction-1.html +0 -284
- package/docs/types/Direction4.html +0 -284
- package/docs/types/ElementRenderer.html +0 -308
- package/docs/types/FloorplanRuleLabels.html +0 -287
- package/docs/types/FloorplanServerRuleLabels.html +0 -284
- package/docs/types/GuideLinePluginExportType.html +0 -284
- package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -357
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -378
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -311
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -314
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -314
- package/docs/types/GuideLinePluginType.PathItem.html +0 -314
- package/docs/types/GuideLinePluginType.PluginData.html +0 -323
- package/docs/types/HelperEventMap.html +0 -429
- package/docs/types/InternalHelperEventMap.html +0 -380
- package/docs/types/LoadTagConfig.html +0 -284
- package/docs/types/MapviewFloorplanPluginParameterType.html +0 -284
- package/docs/types/MapviewFloorplanPluginReturnType.html +0 -284
- package/docs/types/MediaData.html +0 -305
- package/docs/types/MediaStore.html +0 -289
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -291
- package/docs/types/ModelFloorplanPluginParameterType.html +0 -284
- package/docs/types/ModelFloorplanPluginReturnType.html +0 -284
- package/docs/types/ModelId.html +0 -284
- package/docs/types/ModelRoomLabelPluginParameters.html +0 -284
- package/docs/types/ModelRoomLabelPluginReturnType.html +0 -284
- package/docs/types/MoveArgs.html +0 -294
- package/docs/types/MoveOpts.html +0 -292
- package/docs/types/Object3DHelperEventMap.html +0 -377
- package/docs/types/ObjectFit.html +0 -284
- package/docs/types/PaintBrushEventMap.html +0 -315
- package/docs/types/PanoCompassPluginData.html +0 -284
- package/docs/types/PanoCompassPluginExportType.html +0 -284
- package/docs/types/PanoCompassPluginParameterType.html +0 -284
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -284
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -284
- package/docs/types/PanoIndex.html +0 -284
- package/docs/types/PanoMeasurePluginEvent.html +0 -284
- package/docs/types/PanoMeasureReturnType.html +0 -284
- package/docs/types/PanoSpatialTagPluginId.html +0 -284
- package/docs/types/PanoTagPluginExportInterface.html +0 -284
- package/docs/types/PanoTagPluginParamsInterface.html +0 -284
- package/docs/types/PanoVideoPluginParameterType.html +0 -284
- package/docs/types/PanoVideoPluginReturnType.html +0 -284
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -292
- package/docs/types/PipelinePluginParameterType.html +0 -284
- package/docs/types/PipelinePluginReturnType.html +0 -284
- package/docs/types/PlaneTag.html +0 -292
- package/docs/types/Point2DTag.html +0 -292
- package/docs/types/Point3DTag.html +0 -292
- package/docs/types/PointTag.html +0 -289
- package/docs/types/PointTagInstance.html +0 -289
- package/docs/types/Position.html +0 -284
- package/docs/types/RotateArgs.html +0 -296
- package/docs/types/RotateOpts.html +0 -292
- package/docs/types/RuleLabelsKey.html +0 -284
- package/docs/types/RuleLabelsValue.html +0 -284
- package/docs/types/StickType.html +0 -284
- package/docs/types/Tag.html +0 -350
- package/docs/types/Tag2D.html +0 -292
- package/docs/types/Tag3D.html +0 -292
- package/docs/types/TagConfigByKey.html +0 -289
- package/docs/types/TagContentType.html +0 -284
- package/docs/types/TagContentTypeMapping.html +0 -284
- package/docs/types/TagDimensionType.html +0 -286
- package/docs/types/TagElement.html +0 -294
- package/docs/types/TagEvents.html +0 -337
- package/docs/types/TagGLTFObject.html +0 -307
- package/docs/types/TagHooks.html +0 -284
- package/docs/types/TagId.html +0 -284
- package/docs/types/TagInstance.html +0 -362
- package/docs/types/TagPointType.html +0 -287
- package/docs/types/TagRendererMap.html +0 -291
- package/docs/types/TopviewFloorplanPluginParameterType.html +0 -284
- package/docs/types/TopviewFloorplanPluginReturnType.html +0 -284
- package/docs/types/WorkCode.html +0 -284
- package/docs/variables/FLOOR_TYPE_MAP.html +0 -294
- package/docs/variables/PLUGIN.html +0 -284
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -287
- package/docs/variables/ROOM_TYPE_MAP.html +0 -294
- package/docs/variables/defaultGlobalConfig.html +0 -284
- package/docs/variables/itemLabelPluginServerParams.html +0 -291
- package/docs/variables/modelItemLabelPluginServerParams.html +0 -291
- package/docs/variables/modelRoomLabelPluginServerParams.html +0 -291
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Create3DElementReturnType } from '../../../CSS3DRenderPlugin';
|
|
2
|
-
import
|
|
2
|
+
import * as THREE from 'three';
|
|
3
3
|
import type { Group, Mesh, Object3D } from 'three';
|
|
4
4
|
import { Vector3 } from 'three';
|
|
5
5
|
import type { Direction, Direction4, PositionFrom, ScalePosition } from '../typings';
|
|
@@ -19,7 +19,7 @@ export interface HelperOffset {
|
|
|
19
19
|
}
|
|
20
20
|
export type Color = THREE.Color | string | number;
|
|
21
21
|
export type ClassFunctionParameters<C extends new (...params: any[]) => any, F extends keyof InstanceType<C>> = Parameters<InstanceType<C>[F]>;
|
|
22
|
-
export type PositionFrom = 'objectPosition' | 'boundingBox' | THREE.Vector3 | (() => THREE.Vector3);
|
|
22
|
+
export type PositionFrom = 'objectPosition' | 'boundingBox' | 'boundingSphere' | THREE.Vector3 | ((object: THREE.Object3D) => THREE.Vector3);
|
|
23
23
|
export interface ObjectHelperControllers {
|
|
24
24
|
moveController?: MoveController;
|
|
25
25
|
rotateController?: RotateController;
|
|
@@ -33,6 +33,12 @@ export type ScaleCallback = (params: {
|
|
|
33
33
|
}) => any;
|
|
34
34
|
export type ScalePosition = {
|
|
35
35
|
id?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @description 拖动块的位置
|
|
38
|
+
*/
|
|
36
39
|
handlePosition: THREE.Vector3;
|
|
40
|
+
/**
|
|
41
|
+
* @description 基于什么位置去拖动,比如要向上拉伸一个物体,handlePosition在物体顶部,basePosition在物体底部
|
|
42
|
+
*/
|
|
37
43
|
basePosition: THREE.Vector3;
|
|
38
44
|
};
|
|
@@ -3,14 +3,13 @@ import * as BasePlugin from '../base/BasePluginWithData';
|
|
|
3
3
|
import type * as PluginType from './typings';
|
|
4
4
|
import * as THREE from 'three';
|
|
5
5
|
import type { ModelMakerBaseItem } from './item/baseItem';
|
|
6
|
-
import type { FiveDomEvents } from '../shared-utils/five/FiveDomEvents';
|
|
7
6
|
export declare class Controller extends BasePlugin.Controller<PluginType.State, PluginType.EventMap, PluginType.ServerData, PluginType.ServerData> {
|
|
8
7
|
state: PluginType.State;
|
|
9
8
|
items: ModelMakerBaseItem[];
|
|
10
9
|
group: THREE.Group;
|
|
11
|
-
fiveDomEvents: FiveDomEvents;
|
|
12
10
|
protected data: PluginType.ServerData;
|
|
13
11
|
private tagRendererMap;
|
|
12
|
+
private fiveDomEvents;
|
|
14
13
|
private zFightingOffset;
|
|
15
14
|
private tagWrapper;
|
|
16
15
|
private occlusionVisibility;
|
|
@@ -99,9 +99,9 @@ class at extends z {
|
|
|
99
99
|
n(this, "state");
|
|
100
100
|
n(this, "items", []);
|
|
101
101
|
n(this, "group", new c.Group());
|
|
102
|
-
n(this, "fiveDomEvents");
|
|
103
102
|
n(this, "data");
|
|
104
103
|
n(this, "tagRendererMap", {});
|
|
104
|
+
n(this, "fiveDomEvents");
|
|
105
105
|
n(this, "zFightingOffset", 0);
|
|
106
106
|
n(this, "tagWrapper");
|
|
107
107
|
n(this, "occlusionVisibility");
|
|
@@ -6,26 +6,87 @@ import type { Object3DHelperState, ObjectHelperControllers, PositionFrom, ScaleC
|
|
|
6
6
|
import type { HelperConfig, HelperOffset, Object3DHelperPluginEventMap, Object3DHelperPluginState } from './typings';
|
|
7
7
|
export declare const PLUGIN = "Object3DHelperPlugin";
|
|
8
8
|
export type AddObject3DHelperConfig = {
|
|
9
|
+
/**
|
|
10
|
+
* @description 辅助坐标轴的位置,基于 object local 坐标系。
|
|
11
|
+
* ```markdown
|
|
12
|
+
* 'boundingBox': 物体 boundingBox 的中心
|
|
13
|
+
* 'boundingSphere': 物体 boundingSphere 的中心
|
|
14
|
+
* `THREE.Vector3`: 指定 Vector3
|
|
15
|
+
* `(object3D) => THREE.Vector3`: 指定 Vector3
|
|
16
|
+
* ```
|
|
17
|
+
* @default 'objectPosition'
|
|
18
|
+
*/
|
|
9
19
|
positionFrom?: PositionFrom;
|
|
20
|
+
/**
|
|
21
|
+
* @description 辅助坐标轴的位置偏移量
|
|
22
|
+
*/
|
|
10
23
|
offset?: HelperOffset;
|
|
24
|
+
/**
|
|
25
|
+
* @description 辅助坐标轴的y轴方向
|
|
26
|
+
*/
|
|
11
27
|
yAxis?: THREE.Vector3;
|
|
28
|
+
/**
|
|
29
|
+
* @description 辅助坐标轴的x轴方向
|
|
30
|
+
*/
|
|
12
31
|
xAxis?: THREE.Vector3;
|
|
32
|
+
/**
|
|
33
|
+
* @description 辅助坐标轴的z轴方向
|
|
34
|
+
*/
|
|
13
35
|
zAxis?: THREE.Vector3;
|
|
36
|
+
/**
|
|
37
|
+
* @description 位移的配置
|
|
38
|
+
*/
|
|
14
39
|
moveHelper?: HelperConfig<{
|
|
40
|
+
/**
|
|
41
|
+
* @description 是否开启X轴位移功能
|
|
42
|
+
*/
|
|
15
43
|
xArrowEnable?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* @description 是否开启Y轴位移功能
|
|
46
|
+
*/
|
|
16
47
|
yArrowEnable?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* @description 是否开启Z轴位移功能
|
|
50
|
+
*/
|
|
17
51
|
zArrowEnable?: boolean;
|
|
18
52
|
}>;
|
|
53
|
+
/**
|
|
54
|
+
* @description 旋转的配置
|
|
55
|
+
*/
|
|
19
56
|
rotateHelper?: HelperConfig<{
|
|
57
|
+
/**
|
|
58
|
+
* @description 是否开启X轴旋转功能
|
|
59
|
+
*/
|
|
20
60
|
yzCircleEnable?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* @description 是否开启Y轴旋转功能
|
|
63
|
+
*/
|
|
21
64
|
xzCircleEnable?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* @description 是否开启Z轴旋转功能
|
|
67
|
+
*/
|
|
22
68
|
xyCircleEnable?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* @description 旋转时的角度提示
|
|
71
|
+
*/
|
|
23
72
|
angleTipsEnable?: boolean;
|
|
24
73
|
}>;
|
|
74
|
+
/**
|
|
75
|
+
* @description 缩放的配置
|
|
76
|
+
*/
|
|
25
77
|
scaleHelper?: HelperConfig<{
|
|
78
|
+
/**
|
|
79
|
+
* @description 缩放 handlers 的位置
|
|
80
|
+
*/
|
|
26
81
|
positions?: Array<ScalePosition> | (() => Array<ScalePosition>);
|
|
82
|
+
/**
|
|
83
|
+
* @description 缩放 handler 被拖动后的回调
|
|
84
|
+
*/
|
|
27
85
|
scaleCallback?: ScaleCallback;
|
|
28
86
|
}>;
|
|
87
|
+
/**
|
|
88
|
+
* @description 物体包围盒
|
|
89
|
+
*/
|
|
29
90
|
boundingBoxHelper?: HelperConfig;
|
|
30
91
|
};
|
|
31
92
|
export declare class Object3DHelperController extends BasePlugin.Controller<Object3DHelperPluginState, Object3DHelperPluginEventMap> {
|
|
@@ -95,7 +95,7 @@ const w = "Object3DHelperPlugin", D = w, X = () => {
|
|
|
95
95
|
}, Z = () => {
|
|
96
96
|
console.error(`${D} is disabled`);
|
|
97
97
|
};
|
|
98
|
-
class
|
|
98
|
+
class ar extends L {
|
|
99
99
|
constructor(e) {
|
|
100
100
|
super(e);
|
|
101
101
|
f(this, "name", w);
|
|
@@ -177,7 +177,7 @@ class dr extends L {
|
|
|
177
177
|
scaleHelper: !0,
|
|
178
178
|
boundingBoxHelper: !1,
|
|
179
179
|
positionFrom: "objectPosition"
|
|
180
|
-
}), t), { moveHelper: y, rotateHelper: B, scaleHelper: j, boundingBoxHelper: k
|
|
180
|
+
}), t), { moveHelper: y, rotateHelper: B, scaleHelper: j, boundingBoxHelper: k } = p, u = new R(), v = new R(), C = (i) => {
|
|
181
181
|
if (i)
|
|
182
182
|
return typeof i == "boolean" ? i : i.enable;
|
|
183
183
|
};
|
|
@@ -267,6 +267,6 @@ class dr extends L {
|
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
269
|
export {
|
|
270
|
-
|
|
270
|
+
ar as Object3DHelperController,
|
|
271
271
|
D as PLUGIN
|
|
272
272
|
};
|
|
@@ -1,19 +1,39 @@
|
|
|
1
|
-
import { SvelteComponent as F, init as M, safe_not_equal as U, append_styles as W, element as h, space as _, create_component as I, attr as z, set_style as y, toggle_class as b, insert as X, append as
|
|
1
|
+
import { SvelteComponent as F, init as M, safe_not_equal as U, append_styles as W, element as h, space as _, create_component as I, attr as z, set_style as y, toggle_class as b, insert as X, append as m, mount_component as R, listen as B, transition_in as j, transition_out as q, detach as E, destroy_component as A, getContext as G, bubble as H } from "../../../vendor/svelte/internal/index.js";
|
|
2
2
|
import J from "./Shadow.js";
|
|
3
3
|
import K from "./Icon/Icon.js";
|
|
4
4
|
import { Image_Default_Point as N } from "../../Assets/Icon.js";
|
|
5
|
+
import "three";
|
|
6
|
+
import "hammerjs";
|
|
7
|
+
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
8
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
9
|
+
import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
10
|
+
import "../../../shared-utils/three/THREESphere.js";
|
|
11
|
+
import "animejs";
|
|
5
12
|
import "../../../vendor/svelte/transition/index.js";
|
|
6
13
|
import "../../../vendor/svelte/easing/index.js";
|
|
7
|
-
import "three";
|
|
8
14
|
import "../../utils/noTypecheck.js";
|
|
9
15
|
import "../../utils/getImageInfo.js";
|
|
10
16
|
import "../../utils/px2rem.js";
|
|
17
|
+
import "../../../shared-utils/positionToVector3.js";
|
|
18
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
19
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
20
|
+
import "../../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
21
|
+
import "../../../shared-utils/util.js";
|
|
22
|
+
import "../../../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
23
|
+
import "../../../CSS3DRenderPlugin/utils/even.js";
|
|
24
|
+
import "../../../shared-utils/Subscribe.js";
|
|
25
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
26
|
+
import "../../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
27
|
+
import "../../../shared-utils/three/centerPoint.js";
|
|
28
|
+
import "../../../shared-utils/three/getObjectVisible.js";
|
|
29
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
30
|
+
import "../../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
11
31
|
function O(t) {
|
|
12
32
|
W(t, "svelte-7aiuwz", '@charset "UTF-8";.tag-point-click-helper.svelte-7aiuwz.svelte-7aiuwz{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-7aiuwz.svelte-7aiuwz{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-folded-point.svelte-7aiuwz.svelte-7aiuwz,.tag-unfolded-point.svelte-7aiuwz.svelte-7aiuwz{transition:all 0.5s}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-folded-point.svelte-7aiuwz{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-7aiuwz .tag-unfolded-point.svelte-7aiuwz{opacity:1;scale:1}');
|
|
13
33
|
}
|
|
14
34
|
function Q(t) {
|
|
15
|
-
let i, r, d,
|
|
16
|
-
return
|
|
35
|
+
let i, r, d, p, c, u, w, o, a, l, g, v;
|
|
36
|
+
return p = new J({
|
|
17
37
|
props: {
|
|
18
38
|
center: !0,
|
|
19
39
|
blurRadius: 15,
|
|
@@ -37,8 +57,8 @@ function Q(t) {
|
|
|
37
57
|
t[7]
|
|
38
58
|
), {
|
|
39
59
|
c() {
|
|
40
|
-
i = h("div"), r = h("div"), d = _(), I(
|
|
41
|
-
|
|
60
|
+
i = h("div"), r = h("div"), d = _(), I(p.$$.fragment), c = _(), u = h("div"), w = _(), o = h("div"), I(a.$$.fragment), z(r, "class", "tag-point-click-helper svelte-7aiuwz"), z(u, "class", "tag-unfolded-point svelte-7aiuwz"), y(
|
|
61
|
+
u,
|
|
42
62
|
"transition-delay",
|
|
43
63
|
/*folded*/
|
|
44
64
|
(t[3] ? (
|
|
@@ -66,7 +86,7 @@ function Q(t) {
|
|
|
66
86
|
);
|
|
67
87
|
},
|
|
68
88
|
m(e, s) {
|
|
69
|
-
X(e, i, s),
|
|
89
|
+
X(e, i, s), m(i, r), m(i, d), R(p, i, null), m(i, c), m(i, u), m(i, w), m(i, o), R(a, o, null), l = !0, g || (v = B(
|
|
70
90
|
r,
|
|
71
91
|
"click",
|
|
72
92
|
/*handlePointClick*/
|
|
@@ -76,7 +96,7 @@ function Q(t) {
|
|
|
76
96
|
p(e, [s]) {
|
|
77
97
|
s & /*folded*/
|
|
78
98
|
8 && y(
|
|
79
|
-
|
|
99
|
+
u,
|
|
80
100
|
"transition-delay",
|
|
81
101
|
/*folded*/
|
|
82
102
|
(e[3] ? (
|
|
@@ -113,18 +133,18 @@ function Q(t) {
|
|
|
113
133
|
);
|
|
114
134
|
},
|
|
115
135
|
i(e) {
|
|
116
|
-
l || (j(
|
|
136
|
+
l || (j(p.$$.fragment, e), j(a.$$.fragment, e), l = !0);
|
|
117
137
|
},
|
|
118
138
|
o(e) {
|
|
119
|
-
q(
|
|
139
|
+
q(p.$$.fragment, e), q(a.$$.fragment, e), l = !1;
|
|
120
140
|
},
|
|
121
141
|
d(e) {
|
|
122
|
-
e && E(i), A(
|
|
142
|
+
e && E(i), A(p), A(a), g = !1, v();
|
|
123
143
|
}
|
|
124
144
|
};
|
|
125
145
|
}
|
|
126
146
|
function V(t, i, r) {
|
|
127
|
-
let d,
|
|
147
|
+
let d, p, c, u;
|
|
128
148
|
const w = G("hooks");
|
|
129
149
|
let { tag: o } = i, a, l = !1;
|
|
130
150
|
const g = () => {
|
|
@@ -146,9 +166,9 @@ function V(t, i, r) {
|
|
|
146
166
|
var n, k, T, L;
|
|
147
167
|
t.$$.dirty & /*tag*/
|
|
148
168
|
64 && r(0, d = (n = o.state) == null ? void 0 : n.unfolded), t.$$.dirty & /*unfolded*/
|
|
149
|
-
1 && r(3,
|
|
150
|
-
64 && r(2,
|
|
151
|
-
64 && r(1,
|
|
169
|
+
1 && r(3, p = !d), t.$$.dirty & /*tag*/
|
|
170
|
+
64 && r(2, c = (T = (k = o.style) == null ? void 0 : k.point) != null && T.url ? (L = o.style) == null ? void 0 : L.point : { url: N }), t.$$.dirty & /*tag*/
|
|
171
|
+
64 && r(1, u = (() => {
|
|
152
172
|
var $, C, S, D;
|
|
153
173
|
const P = (C = ($ = o.style) == null ? void 0 : $.point) == null ? void 0 : C.width;
|
|
154
174
|
if (typeof P == "number")
|
|
@@ -167,20 +187,20 @@ function V(t, i, r) {
|
|
|
167
187
|
})());
|
|
168
188
|
}, g(), [
|
|
169
189
|
d,
|
|
170
|
-
p,
|
|
171
|
-
m,
|
|
172
190
|
u,
|
|
191
|
+
c,
|
|
192
|
+
p,
|
|
173
193
|
v,
|
|
174
194
|
e,
|
|
175
195
|
o,
|
|
176
196
|
s
|
|
177
197
|
];
|
|
178
198
|
}
|
|
179
|
-
class
|
|
199
|
+
class $t extends F {
|
|
180
200
|
constructor(i) {
|
|
181
201
|
super(), M(this, i, V, Q, U, { tag: 6 }, O);
|
|
182
202
|
}
|
|
183
203
|
}
|
|
184
204
|
export {
|
|
185
|
-
|
|
205
|
+
$t as default
|
|
186
206
|
};
|