@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,18 +1,23 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import
|
|
1
|
+
import { SvelteComponent as J, init as K, safe_not_equal as O, append_styles as Q, empty as U, insert as I, transition_in as _, transition_out as g, check_outros as z, detach as P, getContext as W, element as Z, space as X, attr as d, toggle_class as T, set_style as C, append as Y, group_outros as L, binding_callbacks as x, noop as v, create_component as E, mount_component as F, destroy_component as G } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
import $ from "./Tag/index.js";
|
|
3
3
|
import "three";
|
|
4
|
-
import { noTypecheck as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
4
|
+
import { noTypecheck as j } from "../utils/noTypecheck.js";
|
|
5
|
+
import tt from "./Common/TagPoint.js";
|
|
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";
|
|
7
12
|
import "./Tag/TextTag/index.js";
|
|
8
13
|
import "./Tag/TextTag/TextTag.js";
|
|
9
14
|
import "./Common/Line/Straight.js";
|
|
10
|
-
import "../../
|
|
15
|
+
import "../../vendor/svelte/transition/index.js";
|
|
11
16
|
import "../../vendor/svelte/easing/index.js";
|
|
17
|
+
import "../../shared-utils/uuid.js";
|
|
12
18
|
import "./Common/Shadow.js";
|
|
13
19
|
import "./Common/Text/FlyMText.js";
|
|
14
20
|
import "./Common/Text/FlyText.js";
|
|
15
|
-
import "animejs";
|
|
16
21
|
import "../../shared-utils/isNil.js";
|
|
17
22
|
import "../utils/search.js";
|
|
18
23
|
import "../utils/constants.js";
|
|
@@ -59,9 +64,6 @@ import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
|
|
|
59
64
|
import "../../vendor/svelte-carousel/src/utils/interval.js";
|
|
60
65
|
import "./Common/MediaItem.js";
|
|
61
66
|
import "./Tag/MarketingTag.js";
|
|
62
|
-
import "hammerjs";
|
|
63
|
-
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
64
|
-
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
65
67
|
import "../../shared-utils/positionToVector3.js";
|
|
66
68
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
67
69
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -76,8 +78,6 @@ import "../../shared-utils/three/centerPoint.js";
|
|
|
76
78
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
77
79
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
78
80
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
79
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
80
|
-
import "../../shared-utils/three/THREESphere.js";
|
|
81
81
|
import "./Tag/AudioTag/index.js";
|
|
82
82
|
import "./Tag/AudioTag/AudioTag.js";
|
|
83
83
|
import "./Common/Audio.js";
|
|
@@ -131,354 +131,352 @@ import "../../shared-utils/five/getFloorIndex.js";
|
|
|
131
131
|
import "../../shared-utils/safeObj.js";
|
|
132
132
|
import "../utils/Cache.js";
|
|
133
133
|
import "../../CruisePlugin/utils/sleep.js";
|
|
134
|
-
function
|
|
135
|
-
|
|
134
|
+
function et(o) {
|
|
135
|
+
Q(o, "svelte-2g2g8a", ".tag.svelte-2g2g8a{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto;will-change:opacity;transition:opacity 0.2s linear}.tag.enableZIndex.svelte-2g2g8a{position:absolute}.tag.hide.svelte-2g2g8a{opacity:0;pointer-events:none}.tag.hide.svelte-2g2g8a *{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a{pointer-events:none !important}.tag.unClickable.svelte-2g2g8a *{pointer-events:none !important}");
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
let t, i, e,
|
|
139
|
-
const
|
|
140
|
-
function
|
|
137
|
+
function B(o) {
|
|
138
|
+
let t, i, e, r, n, a, b, k, s;
|
|
139
|
+
const S = [ot, it], u = [];
|
|
140
|
+
function M(p, l) {
|
|
141
141
|
return (
|
|
142
142
|
/*havePoint*/
|
|
143
|
-
|
|
143
|
+
p[15] ? 0 : 1
|
|
144
144
|
);
|
|
145
145
|
}
|
|
146
|
-
i =
|
|
147
|
-
const
|
|
148
|
-
function
|
|
146
|
+
i = M(o), e = u[i] = S[i](o);
|
|
147
|
+
const m = [nt, rt], c = [];
|
|
148
|
+
function y(p, l) {
|
|
149
149
|
return (
|
|
150
150
|
/*haveContent*/
|
|
151
|
-
|
|
151
|
+
p[14] ? 0 : 1
|
|
152
152
|
);
|
|
153
153
|
}
|
|
154
|
-
return
|
|
154
|
+
return n = y(o), a = c[n] = m[n](o), {
|
|
155
155
|
c() {
|
|
156
|
-
t =
|
|
156
|
+
t = Z("div"), e.c(), r = X(), a.c(), d(t, "class", "tag svelte-2g2g8a"), d(
|
|
157
157
|
t,
|
|
158
158
|
"data-tag-id",
|
|
159
159
|
/*id*/
|
|
160
|
-
|
|
161
|
-
),
|
|
160
|
+
o[13]
|
|
161
|
+
), d(
|
|
162
162
|
t,
|
|
163
163
|
"data-tag-unfolded",
|
|
164
164
|
/*unfolded*/
|
|
165
|
-
|
|
166
|
-
),
|
|
167
|
-
|
|
168
|
-
|
|
165
|
+
o[6]
|
|
166
|
+
), d(t, "data-content-type", b = /*tag*/
|
|
167
|
+
o[0].contentType), d(t, "id", k = `tag-${/*id*/
|
|
168
|
+
o[13]}`), T(
|
|
169
169
|
t,
|
|
170
170
|
"unClickable",
|
|
171
171
|
/*tag*/
|
|
172
|
-
|
|
173
|
-
),
|
|
172
|
+
o[0].config.clickable === !1
|
|
173
|
+
), T(
|
|
174
174
|
t,
|
|
175
175
|
"hide",
|
|
176
176
|
/*hide*/
|
|
177
|
-
|
|
178
|
-
),
|
|
177
|
+
o[11]
|
|
178
|
+
), T(
|
|
179
179
|
t,
|
|
180
180
|
"enableZIndex",
|
|
181
181
|
/*zIndex*/
|
|
182
|
-
|
|
183
|
-
),
|
|
182
|
+
o[8]
|
|
183
|
+
), C(
|
|
184
184
|
t,
|
|
185
185
|
"z-index",
|
|
186
186
|
/*zIndex*/
|
|
187
|
-
|
|
188
|
-
),
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
187
|
+
o[8]
|
|
188
|
+
), C(t, "transform", `translate3d(${/*left*/
|
|
189
|
+
o[10]}, ${/*top*/
|
|
190
|
+
o[9]}, 0) scale(${/*screenPosition*/
|
|
191
|
+
o[7].scale})`);
|
|
192
192
|
},
|
|
193
|
-
m(
|
|
194
|
-
|
|
193
|
+
m(p, l) {
|
|
194
|
+
I(p, t, l), u[i].m(t, null), Y(t, r), c[n].m(t, null), o[17](t), s = !0;
|
|
195
195
|
},
|
|
196
|
-
p(
|
|
197
|
-
let
|
|
198
|
-
i =
|
|
199
|
-
|
|
200
|
-
}),
|
|
201
|
-
let
|
|
202
|
-
|
|
203
|
-
c[
|
|
204
|
-
}),
|
|
205
|
-
8192) &&
|
|
196
|
+
p(p, l) {
|
|
197
|
+
let h = i;
|
|
198
|
+
i = M(p), i === h ? u[i].p(p, l) : (L(), g(u[h], 1, 1, () => {
|
|
199
|
+
u[h] = null;
|
|
200
|
+
}), z(), e = u[i], e ? e.p(p, l) : (e = u[i] = S[i](p), e.c()), _(e, 1), e.m(t, r));
|
|
201
|
+
let w = n;
|
|
202
|
+
n = y(p), n === w ? c[n].p(p, l) : (L(), g(c[w], 1, 1, () => {
|
|
203
|
+
c[w] = null;
|
|
204
|
+
}), z(), a = c[n], a ? a.p(p, l) : (a = c[n] = m[n](p), a.c()), _(a, 1), a.m(t, null)), (!s || l & /*id*/
|
|
205
|
+
8192) && d(
|
|
206
206
|
t,
|
|
207
207
|
"data-tag-id",
|
|
208
208
|
/*id*/
|
|
209
|
-
|
|
209
|
+
p[13]
|
|
210
210
|
), (!s || l & /*unfolded*/
|
|
211
|
-
64) &&
|
|
211
|
+
64) && d(
|
|
212
212
|
t,
|
|
213
213
|
"data-tag-unfolded",
|
|
214
214
|
/*unfolded*/
|
|
215
|
-
|
|
215
|
+
p[6]
|
|
216
216
|
), (!s || l & /*tag*/
|
|
217
|
-
1 &&
|
|
218
|
-
|
|
219
|
-
8192 &&
|
|
220
|
-
|
|
221
|
-
1) &&
|
|
217
|
+
1 && b !== (b = /*tag*/
|
|
218
|
+
p[0].contentType)) && d(t, "data-content-type", b), (!s || l & /*id*/
|
|
219
|
+
8192 && k !== (k = `tag-${/*id*/
|
|
220
|
+
p[13]}`)) && d(t, "id", k), (!s || l & /*tag*/
|
|
221
|
+
1) && T(
|
|
222
222
|
t,
|
|
223
223
|
"unClickable",
|
|
224
224
|
/*tag*/
|
|
225
|
-
|
|
225
|
+
p[0].config.clickable === !1
|
|
226
226
|
), (!s || l & /*hide*/
|
|
227
|
-
2048) &&
|
|
227
|
+
2048) && T(
|
|
228
228
|
t,
|
|
229
229
|
"hide",
|
|
230
230
|
/*hide*/
|
|
231
|
-
|
|
231
|
+
p[11]
|
|
232
232
|
), (!s || l & /*zIndex*/
|
|
233
|
-
256) &&
|
|
233
|
+
256) && T(
|
|
234
234
|
t,
|
|
235
235
|
"enableZIndex",
|
|
236
236
|
/*zIndex*/
|
|
237
|
-
|
|
237
|
+
p[8]
|
|
238
238
|
), l & /*zIndex*/
|
|
239
|
-
256 &&
|
|
239
|
+
256 && C(
|
|
240
240
|
t,
|
|
241
241
|
"z-index",
|
|
242
242
|
/*zIndex*/
|
|
243
|
-
|
|
243
|
+
p[8]
|
|
244
244
|
), l & /*left, top, screenPosition*/
|
|
245
|
-
1664 &&
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
245
|
+
1664 && C(t, "transform", `translate3d(${/*left*/
|
|
246
|
+
p[10]}, ${/*top*/
|
|
247
|
+
p[9]}, 0) scale(${/*screenPosition*/
|
|
248
|
+
p[7].scale})`);
|
|
249
249
|
},
|
|
250
|
-
i(
|
|
251
|
-
s || (
|
|
252
|
-
s && (u || (u = B(t, F, {}, !0)), u.run(1));
|
|
253
|
-
}), s = !0);
|
|
250
|
+
i(p) {
|
|
251
|
+
s || (_(e), _(a), s = !0);
|
|
254
252
|
},
|
|
255
|
-
o(
|
|
256
|
-
|
|
253
|
+
o(p) {
|
|
254
|
+
g(e), g(a), s = !1;
|
|
257
255
|
},
|
|
258
|
-
d(
|
|
259
|
-
|
|
256
|
+
d(p) {
|
|
257
|
+
p && P(t), u[i].d(), c[n].d(), o[17](null);
|
|
260
258
|
}
|
|
261
259
|
};
|
|
262
260
|
}
|
|
263
|
-
function
|
|
261
|
+
function it(o) {
|
|
264
262
|
let t;
|
|
265
263
|
return {
|
|
266
264
|
c() {
|
|
267
|
-
t =
|
|
265
|
+
t = Z("div"), d(t, "data-info", "tag point is disable");
|
|
268
266
|
},
|
|
269
267
|
m(i, e) {
|
|
270
|
-
|
|
268
|
+
I(i, t, e);
|
|
271
269
|
},
|
|
272
|
-
p:
|
|
273
|
-
i:
|
|
274
|
-
o:
|
|
270
|
+
p: v,
|
|
271
|
+
i: v,
|
|
272
|
+
o: v,
|
|
275
273
|
d(i) {
|
|
276
|
-
i &&
|
|
274
|
+
i && P(t);
|
|
277
275
|
}
|
|
278
276
|
};
|
|
279
277
|
}
|
|
280
|
-
function
|
|
278
|
+
function ot(o) {
|
|
281
279
|
let t, i;
|
|
282
|
-
return t = new
|
|
280
|
+
return t = new tt({ props: { tag: (
|
|
283
281
|
/*tag*/
|
|
284
|
-
|
|
282
|
+
o[0]
|
|
285
283
|
) } }), {
|
|
286
284
|
c() {
|
|
287
|
-
|
|
285
|
+
E(t.$$.fragment);
|
|
288
286
|
},
|
|
289
|
-
m(e,
|
|
290
|
-
|
|
287
|
+
m(e, r) {
|
|
288
|
+
F(t, e, r), i = !0;
|
|
291
289
|
},
|
|
292
|
-
p(e,
|
|
293
|
-
const
|
|
294
|
-
|
|
295
|
-
1 && (
|
|
296
|
-
e[0]), t.$set(
|
|
290
|
+
p(e, r) {
|
|
291
|
+
const n = {};
|
|
292
|
+
r & /*tag*/
|
|
293
|
+
1 && (n.tag = /*tag*/
|
|
294
|
+
e[0]), t.$set(n);
|
|
297
295
|
},
|
|
298
296
|
i(e) {
|
|
299
|
-
i || (
|
|
297
|
+
i || (_(t.$$.fragment, e), i = !0);
|
|
300
298
|
},
|
|
301
299
|
o(e) {
|
|
302
|
-
|
|
300
|
+
g(t.$$.fragment, e), i = !1;
|
|
303
301
|
},
|
|
304
302
|
d(e) {
|
|
305
|
-
|
|
303
|
+
G(t, e);
|
|
306
304
|
}
|
|
307
305
|
};
|
|
308
306
|
}
|
|
309
|
-
function
|
|
307
|
+
function rt(o) {
|
|
310
308
|
let t;
|
|
311
309
|
return {
|
|
312
310
|
c() {
|
|
313
|
-
t =
|
|
311
|
+
t = Z("div"), d(t, "data-info", "tag content is disable");
|
|
314
312
|
},
|
|
315
313
|
m(i, e) {
|
|
316
|
-
|
|
314
|
+
I(i, t, e);
|
|
317
315
|
},
|
|
318
|
-
p:
|
|
319
|
-
i:
|
|
320
|
-
o:
|
|
316
|
+
p: v,
|
|
317
|
+
i: v,
|
|
318
|
+
o: v,
|
|
321
319
|
d(i) {
|
|
322
|
-
i &&
|
|
320
|
+
i && P(t);
|
|
323
321
|
}
|
|
324
322
|
};
|
|
325
323
|
}
|
|
326
|
-
function
|
|
324
|
+
function nt(o) {
|
|
327
325
|
let t, i;
|
|
328
|
-
return t = new
|
|
326
|
+
return t = new $({
|
|
329
327
|
props: {
|
|
330
328
|
mediaStore: (
|
|
331
329
|
/*mediaStore*/
|
|
332
|
-
|
|
330
|
+
o[1]
|
|
333
331
|
),
|
|
334
|
-
tag:
|
|
332
|
+
tag: j(
|
|
335
333
|
/*tag*/
|
|
336
|
-
|
|
334
|
+
o[0]
|
|
337
335
|
),
|
|
338
336
|
hooks: (
|
|
339
337
|
/*hooks*/
|
|
340
|
-
|
|
338
|
+
o[16]
|
|
341
339
|
),
|
|
342
340
|
state: (
|
|
343
341
|
/*state*/
|
|
344
|
-
|
|
342
|
+
o[4]
|
|
345
343
|
),
|
|
346
344
|
temporaryState: (
|
|
347
345
|
/*temporaryState*/
|
|
348
|
-
|
|
346
|
+
o[5]
|
|
349
347
|
),
|
|
350
348
|
rendererMap: (
|
|
351
349
|
/*rendererMap*/
|
|
352
|
-
|
|
350
|
+
o[2]
|
|
353
351
|
),
|
|
354
352
|
contentTypeMap: (
|
|
355
353
|
/*contentTypeMap*/
|
|
356
|
-
|
|
354
|
+
o[3]
|
|
357
355
|
)
|
|
358
356
|
}
|
|
359
357
|
}), {
|
|
360
358
|
c() {
|
|
361
|
-
|
|
359
|
+
E(t.$$.fragment);
|
|
362
360
|
},
|
|
363
|
-
m(e,
|
|
364
|
-
|
|
361
|
+
m(e, r) {
|
|
362
|
+
F(t, e, r), i = !0;
|
|
365
363
|
},
|
|
366
|
-
p(e,
|
|
367
|
-
const
|
|
368
|
-
|
|
369
|
-
2 && (
|
|
370
|
-
e[1]),
|
|
371
|
-
1 && (
|
|
364
|
+
p(e, r) {
|
|
365
|
+
const n = {};
|
|
366
|
+
r & /*mediaStore*/
|
|
367
|
+
2 && (n.mediaStore = /*mediaStore*/
|
|
368
|
+
e[1]), r & /*tag*/
|
|
369
|
+
1 && (n.tag = j(
|
|
372
370
|
/*tag*/
|
|
373
371
|
e[0]
|
|
374
|
-
)),
|
|
375
|
-
16 && (
|
|
376
|
-
e[4]),
|
|
377
|
-
32 && (
|
|
378
|
-
e[5]),
|
|
379
|
-
4 && (
|
|
380
|
-
e[2]),
|
|
381
|
-
8 && (
|
|
382
|
-
e[3]), t.$set(
|
|
372
|
+
)), r & /*state*/
|
|
373
|
+
16 && (n.state = /*state*/
|
|
374
|
+
e[4]), r & /*temporaryState*/
|
|
375
|
+
32 && (n.temporaryState = /*temporaryState*/
|
|
376
|
+
e[5]), r & /*rendererMap*/
|
|
377
|
+
4 && (n.rendererMap = /*rendererMap*/
|
|
378
|
+
e[2]), r & /*contentTypeMap*/
|
|
379
|
+
8 && (n.contentTypeMap = /*contentTypeMap*/
|
|
380
|
+
e[3]), t.$set(n);
|
|
383
381
|
},
|
|
384
382
|
i(e) {
|
|
385
|
-
i || (
|
|
383
|
+
i || (_(t.$$.fragment, e), i = !0);
|
|
386
384
|
},
|
|
387
385
|
o(e) {
|
|
388
|
-
|
|
386
|
+
g(t.$$.fragment, e), i = !1;
|
|
389
387
|
},
|
|
390
388
|
d(e) {
|
|
391
|
-
|
|
389
|
+
G(t, e);
|
|
392
390
|
}
|
|
393
391
|
};
|
|
394
392
|
}
|
|
395
|
-
function
|
|
393
|
+
function pt(o) {
|
|
396
394
|
let t, i, e = (
|
|
397
395
|
/*screenPosition*/
|
|
398
|
-
|
|
399
|
-
|
|
396
|
+
o[7] && !/*disable*/
|
|
397
|
+
o[12] && B(o)
|
|
400
398
|
);
|
|
401
399
|
return {
|
|
402
400
|
c() {
|
|
403
|
-
e && e.c(), t =
|
|
401
|
+
e && e.c(), t = U();
|
|
404
402
|
},
|
|
405
|
-
m(
|
|
406
|
-
e && e.m(
|
|
403
|
+
m(r, n) {
|
|
404
|
+
e && e.m(r, n), I(r, t, n), i = !0;
|
|
407
405
|
},
|
|
408
|
-
p(
|
|
406
|
+
p(r, [n]) {
|
|
409
407
|
/*screenPosition*/
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
4224 &&
|
|
408
|
+
r[7] && !/*disable*/
|
|
409
|
+
r[12] ? e ? (e.p(r, n), n & /*screenPosition, disable*/
|
|
410
|
+
4224 && _(e, 1)) : (e = B(r), e.c(), _(e, 1), e.m(t.parentNode, t)) : e && (L(), g(e, 1, 1, () => {
|
|
413
411
|
e = null;
|
|
414
|
-
}),
|
|
412
|
+
}), z());
|
|
415
413
|
},
|
|
416
|
-
i(
|
|
417
|
-
i || (
|
|
414
|
+
i(r) {
|
|
415
|
+
i || (_(e), i = !0);
|
|
418
416
|
},
|
|
419
|
-
o(
|
|
420
|
-
|
|
417
|
+
o(r) {
|
|
418
|
+
g(e), i = !1;
|
|
421
419
|
},
|
|
422
|
-
d(
|
|
423
|
-
e && e.d(
|
|
420
|
+
d(r) {
|
|
421
|
+
e && e.d(r), r && P(t);
|
|
424
422
|
}
|
|
425
423
|
};
|
|
426
424
|
}
|
|
427
|
-
function
|
|
428
|
-
let e,
|
|
429
|
-
const w =
|
|
430
|
-
function
|
|
431
|
-
|
|
425
|
+
function mt(o, t, i) {
|
|
426
|
+
let e, r, n, a, b, k, s, S, u, M, { tag: m } = t, { mediaStore: c } = t, { rendererMap: y = /* @__PURE__ */ new Map() } = t, { contentTypeMap: p = /* @__PURE__ */ new Map() } = t, { state: l } = t, { temporaryState: h } = t;
|
|
427
|
+
const w = W("hooks");
|
|
428
|
+
function H(f) {
|
|
429
|
+
x[f ? "unshift" : "push"](() => {
|
|
432
430
|
m.dom = f, i(0, m);
|
|
433
431
|
});
|
|
434
432
|
}
|
|
435
|
-
return
|
|
436
|
-
"tag" in f && i(0, m = f.tag), "mediaStore" in f && i(1,
|
|
437
|
-
},
|
|
438
|
-
var f, A, D
|
|
439
|
-
|
|
433
|
+
return o.$$set = (f) => {
|
|
434
|
+
"tag" in f && i(0, m = f.tag), "mediaStore" in f && i(1, c = f.mediaStore), "rendererMap" in f && i(2, y = f.rendererMap), "contentTypeMap" in f && i(3, p = f.contentTypeMap), "state" in f && i(4, l = f.state), "temporaryState" in f && i(5, h = f.temporaryState);
|
|
435
|
+
}, o.$$.update = () => {
|
|
436
|
+
var f, q, A, D;
|
|
437
|
+
o.$$.dirty & /*tag, rendererMap*/
|
|
440
438
|
5 && i(15, e = (() => {
|
|
441
|
-
var R, V
|
|
442
|
-
return !(((
|
|
443
|
-
})()),
|
|
444
|
-
1 && i(14,
|
|
445
|
-
1 && i(13,
|
|
446
|
-
1 && i(7, a = m.screenPosition),
|
|
447
|
-
1 && i(12,
|
|
448
|
-
129 && i(11,
|
|
449
|
-
1 && i(6,
|
|
450
|
-
128 && i(10,
|
|
451
|
-
128 && i(9,
|
|
452
|
-
65 && i(8,
|
|
439
|
+
var N, R, V;
|
|
440
|
+
return !(((R = (N = m.style) == null ? void 0 : N.point) == null ? void 0 : R.enabled) === !1 || ((V = y.get(m.contentType)) == null ? void 0 : V.usePoint) === !1 || m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" || m.contentType === "Panorama" || m.contentType === "Audio" && m.data.appearance === "plane");
|
|
441
|
+
})()), o.$$.dirty & /*tag*/
|
|
442
|
+
1 && i(14, r = (() => m.stickType === "2DPoint")()), o.$$.dirty & /*tag*/
|
|
443
|
+
1 && i(13, n = m.id), o.$$.dirty & /*tag*/
|
|
444
|
+
1 && i(7, a = m.screenPosition), o.$$.dirty & /*tag*/
|
|
445
|
+
1 && i(12, b = m.enabled === !1 || !m.state), o.$$.dirty & /*tag, screenPosition*/
|
|
446
|
+
129 && i(11, k = !((f = m.state) != null && f.visible) || ((q = m.temporaryState) == null ? void 0 : q.visible) === !1 || !a), o.$$.dirty & /*tag*/
|
|
447
|
+
1 && i(6, s = (A = m.state) == null ? void 0 : A.unfolded), o.$$.dirty & /*screenPosition*/
|
|
448
|
+
128 && i(10, S = (a == null ? void 0 : a.leftPx) + "px"), o.$$.dirty & /*screenPosition*/
|
|
449
|
+
128 && i(9, u = (a == null ? void 0 : a.topPx) + "px"), o.$$.dirty & /*unfolded, tag*/
|
|
450
|
+
65 && i(8, M = s ? ((D = m.zIndex) != null ? D : 0) + (s ? 1e6 : 0) : void 0);
|
|
453
451
|
}, [
|
|
454
452
|
m,
|
|
455
|
-
S,
|
|
456
453
|
c,
|
|
457
|
-
|
|
458
|
-
|
|
454
|
+
y,
|
|
455
|
+
p,
|
|
459
456
|
l,
|
|
460
|
-
|
|
461
|
-
a,
|
|
462
|
-
d,
|
|
463
|
-
v,
|
|
457
|
+
h,
|
|
464
458
|
s,
|
|
465
|
-
|
|
459
|
+
a,
|
|
460
|
+
M,
|
|
461
|
+
u,
|
|
462
|
+
S,
|
|
466
463
|
k,
|
|
467
|
-
|
|
464
|
+
b,
|
|
468
465
|
n,
|
|
466
|
+
r,
|
|
469
467
|
e,
|
|
470
468
|
w,
|
|
471
|
-
|
|
469
|
+
H
|
|
472
470
|
];
|
|
473
471
|
}
|
|
474
|
-
class
|
|
472
|
+
class Ai extends J {
|
|
475
473
|
constructor(t) {
|
|
476
|
-
super(),
|
|
474
|
+
super(), K(
|
|
477
475
|
this,
|
|
478
476
|
t,
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
477
|
+
mt,
|
|
478
|
+
pt,
|
|
479
|
+
O,
|
|
482
480
|
{
|
|
483
481
|
tag: 0,
|
|
484
482
|
mediaStore: 1,
|
|
@@ -487,10 +485,10 @@ class Ri extends O {
|
|
|
487
485
|
state: 4,
|
|
488
486
|
temporaryState: 5
|
|
489
487
|
},
|
|
490
|
-
|
|
488
|
+
et
|
|
491
489
|
);
|
|
492
490
|
}
|
|
493
491
|
}
|
|
494
492
|
export {
|
|
495
|
-
|
|
493
|
+
Ai as default
|
|
496
494
|
};
|
|
@@ -84,6 +84,7 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
|
|
|
84
84
|
initialConfig: TagData['config'];
|
|
85
85
|
private computedConfig;
|
|
86
86
|
cache: Cache;
|
|
87
|
+
entryFromModel?: boolean;
|
|
87
88
|
get sharedCache(): Cache;
|
|
88
89
|
constructor(plugin: PanoTagPluginController, tagData: TagData);
|
|
89
90
|
/**
|
|
@@ -105,6 +106,10 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
|
|
|
105
106
|
* @description 展开
|
|
106
107
|
*/
|
|
107
108
|
unfold(): void;
|
|
109
|
+
/**
|
|
110
|
+
* @description 展开自己,收起其他标签
|
|
111
|
+
*/
|
|
112
|
+
unfoldAndFoldOthers(): void;
|
|
108
113
|
/**
|
|
109
114
|
* @description 收起
|
|
110
115
|
*/
|
|
@@ -140,7 +145,6 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
|
|
|
140
145
|
*/
|
|
141
146
|
set(tag: PartialObjectDeep<Tag<C>>, deepMerge?: boolean): void;
|
|
142
147
|
updateConfig(): void;
|
|
143
|
-
updateVisibleState(): void;
|
|
144
148
|
updateVisible(): void;
|
|
145
149
|
updateZIndex(): void;
|
|
146
150
|
getConfig(tagData?: TagData, params?: {
|
|
@@ -159,6 +163,15 @@ export declare abstract class BaseTag<C extends TagContentType = TagContentType,
|
|
|
159
163
|
value: boolean;
|
|
160
164
|
reason?: any;
|
|
161
165
|
};
|
|
166
|
+
/**
|
|
167
|
+
* @description 计算标签可见性
|
|
168
|
+
*/
|
|
169
|
+
protected computeVisibleByFiveMode(config: Exclude<Extract<TagConfig['visibleConfig'], Record<any, any>>, Function>, mode: Mode): {
|
|
170
|
+
value: boolean;
|
|
171
|
+
reason: string;
|
|
172
|
+
visibleFiveMode: (Mode | "all" | Mode[] | "PanoramaLike" | "ModelLike") | ((tag: import("../..").TagInstance) => Mode | "all" | Mode[] | "PanoramaLike" | "ModelLike");
|
|
173
|
+
mode: Mode;
|
|
174
|
+
};
|
|
162
175
|
/** 通过射线检测标签可用性 */
|
|
163
176
|
protected computeVisibleByIntersect(panoIndex?: number): {
|
|
164
177
|
value: boolean;
|