@realsee/dnalogel 3.0.0-4 → 3.0.0-5
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/index.cjs.js +17 -17
- package/dist/index.js +417 -416
- package/dist/index.umd.js +17 -17
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +31 -31
- package/docs/classes/CSS3DRender.html +30 -30
- package/docs/classes/CruisePluginController.html +25 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
- package/docs/classes/Magnifier.html +19 -19
- package/docs/classes/ModelRoomLabelController.html +10 -10
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +14 -14
- package/docs/classes/PanoMeasurePluginLine.html +26 -26
- package/docs/classes/PanoMeasurePluginModel.html +26 -26
- package/docs/classes/PanoMeasurePluginPoint.html +10 -10
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +44 -44
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.Interval.html +11 -11
- package/docs/classes/Util.LineSegments.html +7 -7
- package/docs/classes/Util.Magnifier.html +19 -19
- package/docs/classes/Util.Object3D.html +7 -7
- package/docs/classes/Util.PointDomHelper.html +10 -10
- package/docs/classes/Util.PointHelper.html +10 -10
- package/docs/classes/Util.PointSelectorHelper.html +15 -15
- package/docs/classes/Util.Rectangle.html +12 -12
- package/docs/enums/CameraMovementEffect.html +6 -6
- package/docs/enums/ContentType.html +19 -19
- package/docs/enums/DIRECTION.html +8 -8
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/DimensionType.html +6 -6
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
- package/docs/enums/PaintBrushTypeEnum.html +7 -7
- package/docs/enums/PointType.html +6 -6
- package/docs/enums/Rotation.html +7 -7
- package/docs/functions/AreaMakerPlugin.html +4 -4
- package/docs/functions/CSS3DRenderPlugin.html +3 -3
- package/docs/functions/CameraMovementPlugin.html +3 -3
- package/docs/functions/CruisePlugin.html +3 -3
- package/docs/functions/CurrentPanoImagePlugin.html +3 -3
- package/docs/functions/GuideLinePlugin.html +4 -4
- package/docs/functions/ItemLabelPlugin.html +3 -3
- package/docs/functions/MapviewFloorplanPlugin.html +3 -3
- package/docs/functions/ModelChassisCompassPlugin.html +3 -3
- package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
- package/docs/functions/ModelFloorplanPlugin.html +3 -3
- package/docs/functions/ModelItemLabelPlugin.html +3 -3
- package/docs/functions/ModelRoomLabelPlugin.html +3 -3
- package/docs/functions/ModelTVVideoPlugin.html +3 -3
- package/docs/functions/ModelViewPlugin.html +3 -3
- package/docs/functions/Object3DHelperPlugin.html +3 -3
- package/docs/functions/PanoCompassPlugin.html +3 -3
- package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
- package/docs/functions/PanoDoorLabelPlugin.html +3 -3
- package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
- package/docs/functions/PanoMeasurePlugin.html +3 -3
- package/docs/functions/PanoRulerPlugin.html +3 -3
- package/docs/functions/PanoRulerProPlugin.html +3 -3
- package/docs/functions/PanoSpatialTagPlugin.html +3 -3
- package/docs/functions/PanoTagPlugin.html +3 -3
- package/docs/functions/PanoVideoPlugin.html +3 -3
- package/docs/functions/PipelinePlugin.html +3 -3
- package/docs/functions/TopviewFloorplanPlugin.html +3 -3
- package/docs/functions/Util.absoluteUrl.html +4 -4
- package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
- package/docs/functions/Util.equal.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +4 -4
- package/docs/functions/Util.getCoordsFromElement.html +4 -4
- package/docs/functions/Util.getFrameTime.html +4 -4
- package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
- package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
- package/docs/functions/Util.isAbsoluteURL.html +4 -4
- package/docs/functions/Util.isModelLike.html +4 -4
- package/docs/functions/Util.isNil.html +4 -4
- package/docs/functions/Util.isPanoramaLike.html +4 -4
- package/docs/functions/Util.nextFrame.html +4 -4
- package/docs/functions/Util.notNil.html +4 -4
- package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
- package/docs/functions/Util.tweenProgress.html +4 -4
- package/docs/functions/Util.uuid.html +4 -4
- package/docs/functions/pluginFlag.html +4 -4
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.Config.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +14 -14
- package/docs/interfaces/AreaMakerPluginType.Params.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +8 -8
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/AreaMakerPluginType.State.html +7 -7
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
- package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
- package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
- package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
- package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
- package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
- package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
- package/docs/interfaces/EventMap.html +14 -14
- package/docs/interfaces/FloorplanBounding.html +7 -7
- package/docs/interfaces/FloorplanData.html +9 -9
- package/docs/interfaces/FloorplanEntrance.html +10 -10
- package/docs/interfaces/FloorplanExtraObject.html +9 -9
- package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
- package/docs/interfaces/FloorplanFloorData.html +8 -8
- package/docs/interfaces/FloorplanImagePosition.html +6 -6
- package/docs/interfaces/FloorplanObserver.html +8 -8
- package/docs/interfaces/FloorplanOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanPosition.html +6 -6
- package/docs/interfaces/FloorplanRoomItem.html +12 -12
- package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
- package/docs/interfaces/FloorplanServerBounding.html +7 -7
- package/docs/interfaces/FloorplanServerComputedData.html +9 -9
- package/docs/interfaces/FloorplanServerData.html +6 -6
- package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
- package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
- package/docs/interfaces/FloorplanServerEntrance.html +10 -10
- package/docs/interfaces/FloorplanServerFloorData.html +8 -8
- package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
- package/docs/interfaces/FloorplanServerObserver.html +8 -8
- package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
- package/docs/interfaces/FloorplanServerPosition.html +6 -6
- package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
- package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
- package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
- package/docs/interfaces/HelperOffset.html +7 -7
- package/docs/interfaces/ImagePlaneGroup.html +5 -5
- package/docs/interfaces/ItemLabelPluginData.html +5 -5
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
- package/docs/interfaces/MinMax.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
- package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
- package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
- package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
- package/docs/interfaces/ModelViewPluginExportType.html +10 -10
- package/docs/interfaces/Object3DHelperState.html +7 -7
- package/docs/interfaces/ObjectHelperControllers.html +8 -8
- package/docs/interfaces/PaintBrushAction.html +11 -11
- package/docs/interfaces/PaintBrushConfigs.html +11 -11
- package/docs/interfaces/PaintBrushState.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
- package/docs/interfaces/PanoMeasureParameterType.html +15 -15
- package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
- package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
- package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
- package/docs/interfaces/PanoRulerProPluginState.html +7 -7
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
- package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
- package/docs/interfaces/Point.html +7 -7
- package/docs/interfaces/Room.html +8 -8
- package/docs/interfaces/RoomInfo.html +6 -6
- package/docs/interfaces/RoomLabel.html +13 -13
- package/docs/interfaces/RoomRules.html +4 -4
- package/docs/interfaces/Rooms.html +4 -4
- package/docs/interfaces/Scissor.html +8 -8
- package/docs/interfaces/State.html +7 -7
- package/docs/interfaces/TagCacheInterface.html +11 -11
- package/docs/interfaces/TagConfig.html +13 -13
- package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
- package/docs/interfaces/TagIconUrl.html +11 -11
- package/docs/interfaces/TagObjectGroup.html +5 -5
- package/docs/interfaces/TagStyle.html +5 -5
- package/docs/interfaces/Tags.html +8 -8
- package/docs/interfaces/TemporaryState.html +5 -5
- package/docs/interfaces/Util.MagnifierParameter.html +10 -10
- package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
- package/docs/interfaces/Util.PointIntersection.html +7 -7
- package/docs/modules/AreaMakerPluginType.html +4 -4
- package/docs/modules/CruisePluginTypes.html +4 -4
- package/docs/modules/CurrentPanoImagePluginType.html +4 -4
- package/docs/modules/GuideLineItem.html +4 -4
- package/docs/modules/GuideLineModeItem.html +4 -4
- package/docs/modules/GuideLinePluginType.html +4 -4
- package/docs/modules/PanoVideoPluginType.html +4 -4
- package/docs/modules/Util.html +4 -4
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +4 -4
- package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
- package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
- package/docs/types/ArrayPosition.html +4 -4
- package/docs/types/AudioAppearance.html +4 -4
- package/docs/types/AudioTagTypeConfigKey.html +4 -4
- package/docs/types/CSS3DRenderExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginExportType.html +4 -4
- package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
- package/docs/types/ClassFunctionParameters.html +4 -4
- package/docs/types/Color.html +4 -4
- package/docs/types/ContentTypeConfigKey.html +4 -4
- package/docs/types/ContentTypeConfigKeySplit.html +4 -4
- package/docs/types/ContentTypeMap.html +4 -4
- package/docs/types/Create3DDomContainerReturnType.html +4 -4
- package/docs/types/Create3DElementReturnType.html +4 -4
- package/docs/types/CruisePluginExportType.html +4 -4
- package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
- package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
- package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
- package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
- package/docs/types/DeprecatedTagProperty.html +4 -4
- package/docs/types/Direction-1.html +4 -4
- package/docs/types/Direction4.html +4 -4
- package/docs/types/ElementRenderer.html +4 -4
- package/docs/types/FloorplanRuleLabels.html +4 -4
- package/docs/types/FloorplanServerRuleLabels.html +4 -4
- package/docs/types/GuideLinePluginExportType.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
- package/docs/types/GuideLinePluginType.PathItem.html +4 -4
- package/docs/types/GuideLinePluginType.PluginData.html +4 -4
- package/docs/types/HelperEventMap.html +4 -4
- package/docs/types/LoadTagConfig.html +4 -4
- package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/MediaData.html +4 -4
- package/docs/types/MediaStore.html +4 -4
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
- package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
- package/docs/types/ModelId.html +4 -4
- package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
- package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
- package/docs/types/MoveArgs.html +4 -4
- package/docs/types/MoveOpts.html +4 -4
- package/docs/types/Object3DHelperEventMap.html +4 -4
- package/docs/types/ObjectFit.html +4 -4
- package/docs/types/PaintBrushEventMap.html +4 -4
- package/docs/types/PanoCompassPluginData.html +4 -4
- package/docs/types/PanoCompassPluginExportType.html +4 -4
- package/docs/types/PanoCompassPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
- package/docs/types/PanoIndex.html +4 -4
- package/docs/types/PanoMeasurePluginEvent.html +4 -4
- package/docs/types/PanoMeasureReturnType.html +4 -4
- package/docs/types/PanoSpatialTagPluginId.html +4 -4
- package/docs/types/PanoTagPluginExportInterface.html +4 -4
- package/docs/types/PanoTagPluginParamsInterface.html +4 -4
- package/docs/types/PanoVideoPluginParameterType.html +4 -4
- package/docs/types/PanoVideoPluginReturnType.html +4 -4
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
- package/docs/types/PipelinePluginParameterType.html +4 -4
- package/docs/types/PipelinePluginReturnType.html +4 -4
- package/docs/types/PlaneTag.html +4 -4
- package/docs/types/Point2DTag.html +4 -4
- package/docs/types/Point3DTag.html +4 -4
- package/docs/types/PointTag.html +4 -4
- package/docs/types/PointTagInstance.html +4 -4
- package/docs/types/Position.html +4 -4
- package/docs/types/RotateArgs.html +4 -4
- package/docs/types/RotateOpts.html +4 -4
- package/docs/types/RuleLabelsKey.html +4 -4
- package/docs/types/RuleLabelsValue.html +4 -4
- package/docs/types/StickType.html +4 -4
- package/docs/types/Tag.html +4 -4
- package/docs/types/Tag2D.html +4 -4
- package/docs/types/Tag3D.html +4 -4
- package/docs/types/TagConfigByKey.html +4 -4
- package/docs/types/TagContentType.html +4 -4
- package/docs/types/TagDimensionType.html +4 -4
- package/docs/types/TagElement.html +4 -4
- package/docs/types/TagEvents.html +4 -4
- package/docs/types/TagGLTFObject.html +4 -4
- package/docs/types/TagHooks.html +4 -4
- package/docs/types/TagId.html +4 -4
- package/docs/types/TagInstance.html +4 -4
- package/docs/types/TagPointType.html +4 -4
- package/docs/types/TagRendererMap.html +4 -4
- package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
- package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
- package/docs/types/WorkCode.html +4 -4
- package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
- package/docs/variables/PLUGIN.html +4 -4
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
- package/docs/variables/ROOM_TYPE_MAP.html +4 -4
- package/docs/variables/defaultGlobalConfig.html +4 -4
- package/docs/variables/itemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
- package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
- package/libs/PanoTagPlugin/controller/TagUtil.js +59 -58
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/five/FiveDomEvents.js +30 -31
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
var H = Object.defineProperty, J = Object.defineProperties;
|
|
2
2
|
var U = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var L = Object.getOwnPropertySymbols;
|
|
4
|
+
var X = Object.prototype.hasOwnProperty, q = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var k = (a, r, e) => r in a ? H(a, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[r] = e, C = (a, r) => {
|
|
6
6
|
for (var e in r || (r = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
7
|
+
X.call(r, e) && k(a, e, r[e]);
|
|
8
|
+
if (L)
|
|
9
|
+
for (var e of L(r))
|
|
10
|
+
q.call(r, e) && k(a, e, r[e]);
|
|
11
11
|
return a;
|
|
12
|
-
},
|
|
12
|
+
}, x = (a, r) => J(a, U(r));
|
|
13
13
|
var d = (a, r, e) => (k(a, typeof r != "symbol" ? r + "" : r, e), e);
|
|
14
|
-
import { defaultGlobalConfig as
|
|
14
|
+
import { defaultGlobalConfig as K } from "../typings/tag/TagConfig.js";
|
|
15
15
|
import { objectAssignDeepExports as b } from "../../vendor/object-assign-deep/objectAssignDeep.js";
|
|
16
|
-
import * as
|
|
17
|
-
import { DefaultConfig as
|
|
18
|
-
import { anyPositionToVector3 as
|
|
16
|
+
import * as Q from "three";
|
|
17
|
+
import { DefaultConfig as Y } from "../tag.config.js";
|
|
18
|
+
import { anyPositionToVector3 as Z, arrayPositionToVector3 as w } from "../../shared-utils/positionToVector3.js";
|
|
19
19
|
import { planeNormal as E } from "../utils/planeNormal.js";
|
|
20
|
-
import { getTagCenterPosition as
|
|
21
|
-
import { normalPositionToPositions as
|
|
22
|
-
import { TagCache as
|
|
23
|
-
import { writable as
|
|
24
|
-
import { isIOSWX as
|
|
25
|
-
import { Five as
|
|
26
|
-
import { isMediaPlaneTag as
|
|
27
|
-
import { VideoPlane as
|
|
28
|
-
import { FiveDomEvents as
|
|
29
|
-
import
|
|
30
|
-
import { isPanoramaLike as W, isModelLike as
|
|
20
|
+
import { getTagCenterPosition as R } from "../utils/tagPosition.js";
|
|
21
|
+
import { normalPositionToPositions as ee } from "../utils/normalPositionToPositions.js";
|
|
22
|
+
import { TagCache as ie } from "./TagCache.js";
|
|
23
|
+
import { writable as te } from "../../vendor/svelte/store/index.js";
|
|
24
|
+
import { isIOSWX as oe } from "../../shared-utils/device.js";
|
|
25
|
+
import { Five as ne } from "@realsee/five";
|
|
26
|
+
import { isMediaPlaneTag as re, isMediaModelTag as B, isPlaneTag as se, isPoint3DTag as fe } from "../utils/tag/tagCheck.js";
|
|
27
|
+
import { VideoPlane as ae } from "../utils/model/mediaPlane.js";
|
|
28
|
+
import { FiveDomEvents as le } from "../../shared-utils/five/FiveDomEvents.js";
|
|
29
|
+
import N from "../utils/tag/adaptConfig.js";
|
|
30
|
+
import { isPanoramaLike as W, isModelLike as G } from "../../shared-utils/five/mode.js";
|
|
31
31
|
import "hammerjs";
|
|
32
32
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
33
33
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
34
34
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
35
|
-
import { entries as
|
|
35
|
+
import { entries as _ } from "../../shared-utils/typescript/entries.js";
|
|
36
36
|
import { getUrlExt as $ } from "../../shared-utils/url/getUrl.js";
|
|
37
37
|
import "../../shared-utils/three/centerPoint.js";
|
|
38
38
|
import "../../base/BasePlugin.js";
|
|
@@ -58,12 +58,12 @@ import "../Assets/Icon.js";
|
|
|
58
58
|
import "../../shared-utils/three/getPositionsByObjectFit.js";
|
|
59
59
|
import "../../shared-utils/three/FragmentTransparencyMaterial.js";
|
|
60
60
|
import "../../shared-utils/three/getNormal.js";
|
|
61
|
-
class
|
|
61
|
+
class oi extends ie {
|
|
62
62
|
constructor(e) {
|
|
63
63
|
super(e);
|
|
64
64
|
d(this, "tags", []);
|
|
65
|
-
d(this, "config",
|
|
66
|
-
d(this, "mediaStore",
|
|
65
|
+
d(this, "config", Y);
|
|
66
|
+
d(this, "mediaStore", te({
|
|
67
67
|
currentMediaElement: null
|
|
68
68
|
}));
|
|
69
69
|
/** css3DRenderPlugin */
|
|
@@ -74,10 +74,10 @@ class ti extends ee {
|
|
|
74
74
|
resizeObserverDisposerAdding: !1,
|
|
75
75
|
css3DRenderDisposer: /* @__PURE__ */ new Map()
|
|
76
76
|
});
|
|
77
|
-
d(this, "domEvents", new
|
|
77
|
+
d(this, "domEvents", new le(this.five));
|
|
78
78
|
d(this, "mouseInfo");
|
|
79
79
|
d(this, "loadVideoFirstFrame", () => {
|
|
80
|
-
|
|
80
|
+
oe && this.hooks.emit("loadVideoFirstFrame");
|
|
81
81
|
});
|
|
82
82
|
d(this, "preventWhenMouseDown", () => {
|
|
83
83
|
var e;
|
|
@@ -87,7 +87,7 @@ class ti extends ee {
|
|
|
87
87
|
this.five.on("wantsMoveToPano", this.preventWhenMouseDown), this.five.on("wantsTapGesture", this.preventWhenMouseDown), this.mediaStore.subscribe(({ currentMediaElement: i }) => {
|
|
88
88
|
this.tags.forEach((o) => {
|
|
89
89
|
var t;
|
|
90
|
-
if (o.mediaPlane instanceof
|
|
90
|
+
if (o.mediaPlane instanceof ae && i !== o.mediaPlane.videoInstance) {
|
|
91
91
|
if (!((t = o.mediaPlane.videoInstance) != null && t.src) || i === o.mediaPlane.videoInstance)
|
|
92
92
|
return;
|
|
93
93
|
o.mediaPlane.pause();
|
|
@@ -125,11 +125,12 @@ class ti extends ee {
|
|
|
125
125
|
}
|
|
126
126
|
updateTagConfig() {
|
|
127
127
|
this.clearCache(), this.tags.forEach((e) => {
|
|
128
|
-
var
|
|
128
|
+
var o;
|
|
129
129
|
const i = this.getTagConfig(e, { useCache: !1 });
|
|
130
|
-
e.config = i
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
if (e.config = i, e.config.initialData) {
|
|
131
|
+
const t = JSON.parse(JSON.stringify(e.data));
|
|
132
|
+
e.data = (o = i.initialData) != null && o.important ? b(e.data, t, i.initialData) : b(e.data, i.initialData, t);
|
|
133
|
+
}
|
|
133
134
|
});
|
|
134
135
|
}
|
|
135
136
|
can(e, i) {
|
|
@@ -159,15 +160,15 @@ class ti extends ee {
|
|
|
159
160
|
return;
|
|
160
161
|
const t = e.data.mediaData;
|
|
161
162
|
if (!(!t || t.length === 0) && o.renderType === "Mesh") {
|
|
162
|
-
if (
|
|
163
|
+
if (re(e)) {
|
|
163
164
|
if (t.length === 1) {
|
|
164
165
|
if (t[0].type === "Video")
|
|
165
166
|
return "Mesh";
|
|
166
167
|
if (t[0].type === "Image")
|
|
167
|
-
return $(t[0].url) === "gif" ? "
|
|
168
|
+
return $(t[0].url) === "gif" ? "Dom" : "Mesh";
|
|
168
169
|
}
|
|
169
170
|
} else if (B(e))
|
|
170
|
-
return t.length === 1 && t[0].type === "Image" ? $(t[0].url) === "gif" ? "
|
|
171
|
+
return t.length === 1 && t[0].type === "Image" ? $(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
|
|
171
172
|
}
|
|
172
173
|
})();
|
|
173
174
|
return i != null ? i : "Dom";
|
|
@@ -187,13 +188,13 @@ class ti extends ee {
|
|
|
187
188
|
const f = (n = (s = this.five.work) == null ? void 0 : s.observers[o]) == null ? void 0 : n.position;
|
|
188
189
|
if (f === void 0)
|
|
189
190
|
throw new Error(`getAngle(): observerPosition is ${f}`);
|
|
190
|
-
const c = (() => e.stickType === "3DPoint" ?
|
|
191
|
+
const c = (() => e.stickType === "3DPoint" ? Z(e.normal) : E(e.position))();
|
|
191
192
|
if (!c)
|
|
192
193
|
return;
|
|
193
|
-
const g =
|
|
194
|
+
const g = R(e);
|
|
194
195
|
if (!g)
|
|
195
196
|
return;
|
|
196
|
-
const u = new
|
|
197
|
+
const u = new Q.Vector3().copy(f).sub(g), v = c.angleTo(u) * 180 / Math.PI;
|
|
197
198
|
return t.angle = v, t.angle;
|
|
198
199
|
}
|
|
199
200
|
}
|
|
@@ -205,7 +206,7 @@ class ti extends ee {
|
|
|
205
206
|
const o = C(C({}, this.five.getCurrentState()), i), { panoIndex: t, mode: s } = o, n = W(s) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
|
|
206
207
|
if ((n == null ? void 0 : n.distance) !== void 0)
|
|
207
208
|
return n.distance;
|
|
208
|
-
const f =
|
|
209
|
+
const f = R(e);
|
|
209
210
|
if (!f)
|
|
210
211
|
return -1;
|
|
211
212
|
if (W(s)) {
|
|
@@ -215,16 +216,16 @@ class ti extends ee {
|
|
|
215
216
|
const v = u.distanceTo(f);
|
|
216
217
|
return n && (n.distance = v), v;
|
|
217
218
|
}
|
|
218
|
-
if (
|
|
219
|
+
if (G(s))
|
|
219
220
|
return this.five.camera.position.distanceTo(f);
|
|
220
221
|
}
|
|
221
222
|
getPositions(e) {
|
|
222
|
-
if (
|
|
223
|
+
if (se(e))
|
|
223
224
|
return e.position;
|
|
224
225
|
if (B(e))
|
|
225
226
|
return e.data.mediaPosition;
|
|
226
|
-
if (
|
|
227
|
-
return
|
|
227
|
+
if (fe(e))
|
|
228
|
+
return ee(this.five.camera.position, w(e.position), w(e.normal));
|
|
228
229
|
}
|
|
229
230
|
addObjectClickHandler(e, i, o) {
|
|
230
231
|
if (!i || !this.domEvents)
|
|
@@ -282,7 +283,7 @@ class ti extends ee {
|
|
|
282
283
|
* @description: 获取merge后的配置
|
|
283
284
|
*/
|
|
284
285
|
calculateTagConfig(e, i) {
|
|
285
|
-
var v, j, A;
|
|
286
|
+
var v, j, A, S;
|
|
286
287
|
const o = (v = i == null ? void 0 : i.useCache) != null ? v : !0;
|
|
287
288
|
if (!e)
|
|
288
289
|
return (j = this.config.globalConfig) != null ? j : {};
|
|
@@ -290,8 +291,8 @@ class ti extends ee {
|
|
|
290
291
|
return e.config;
|
|
291
292
|
const t = {}, s = {}, n = {};
|
|
292
293
|
this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([p, h]) => {
|
|
293
|
-
var
|
|
294
|
-
const l = p, D = l.split("-"),
|
|
294
|
+
var O, V;
|
|
295
|
+
const l = p, D = l.split("-"), I = p.startsWith("["), y = I ? D[0].slice(1, -1) : void 0, T = I ? D.slice(1) : D, M = y ? ["PanoramaLike", "ModelLike"].includes(y) ? (O = s[y]) != null ? O : s[y] = {} : (V = n[y]) != null ? V : n[y] = {} : t;
|
|
295
296
|
if (!M[l]) {
|
|
296
297
|
if (T.length === 0 && (M[l] = h), T.length === 1) {
|
|
297
298
|
const [m] = T;
|
|
@@ -304,30 +305,30 @@ class ti extends ee {
|
|
|
304
305
|
if (T.length === 3) {
|
|
305
306
|
const [m = "Any", P, z] = T;
|
|
306
307
|
if (P === "Audio" && e.contentType === "Audio") {
|
|
307
|
-
const
|
|
308
|
-
(
|
|
308
|
+
const F = e;
|
|
309
|
+
(F.stickType === m || m === "Any") && F.data.appearance === z && (M[l] = h);
|
|
309
310
|
}
|
|
310
311
|
}
|
|
311
312
|
}
|
|
312
313
|
});
|
|
313
314
|
const f = b(
|
|
314
315
|
{},
|
|
315
|
-
|
|
316
|
+
K,
|
|
316
317
|
this.config.globalConfig,
|
|
317
318
|
...Object.values(t),
|
|
318
|
-
e.config
|
|
319
|
-
), c = {}, g = Object.values(
|
|
320
|
-
|
|
319
|
+
(S = e.config) != null && S._isMerged ? e.initialConfig : e.config
|
|
320
|
+
), c = {}, g = Object.values(ne.Mode);
|
|
321
|
+
_(s).forEach(([p, h]) => {
|
|
321
322
|
g.forEach((l) => {
|
|
322
|
-
(p === "PanoramaLike" && W(l) || p === "ModelLike" &&
|
|
323
|
+
(p === "PanoramaLike" && W(l) || p === "ModelLike" && G(l)) && (c[l] = b({}, f, ...Object.values(h)));
|
|
323
324
|
});
|
|
324
|
-
}),
|
|
325
|
+
}), _(n).forEach(([p, h]) => {
|
|
325
326
|
c[p] = b({}, f, ...Object.values(h));
|
|
326
327
|
});
|
|
327
|
-
const u =
|
|
328
|
-
return
|
|
328
|
+
const u = x(C({}, f), { configWithFiveMode: c });
|
|
329
|
+
return N(u, e), Object.values(c).forEach((p) => N(p, e)), u._isMerged = !0, u;
|
|
329
330
|
}
|
|
330
331
|
}
|
|
331
332
|
export {
|
|
332
|
-
|
|
333
|
+
oi as TagUtil
|
|
333
334
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,30 +1,29 @@
|
|
|
1
|
-
var
|
|
2
|
-
var H = Object.getOwnPropertyDescriptors;
|
|
1
|
+
var b = Object.defineProperty;
|
|
3
2
|
var m = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var f = (
|
|
3
|
+
var O = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var f = (d, e, t) => e in d ? b(d, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : d[e] = t, p = (d, e) => {
|
|
6
5
|
for (var t in e || (e = {}))
|
|
7
|
-
|
|
6
|
+
O.call(e, t) && f(d, t, e[t]);
|
|
8
7
|
if (m)
|
|
9
8
|
for (var t of m(e))
|
|
10
|
-
|
|
11
|
-
return
|
|
12
|
-
}
|
|
13
|
-
var u = (
|
|
14
|
-
import { getObjectVisible as
|
|
15
|
-
class
|
|
9
|
+
g.call(e, t) && f(d, t, e[t]);
|
|
10
|
+
return d;
|
|
11
|
+
};
|
|
12
|
+
var u = (d, e, t) => (f(d, typeof e != "symbol" ? e + "" : e, t), t);
|
|
13
|
+
import { getObjectVisible as H } from "../three/getObjectVisible.js";
|
|
14
|
+
class I {
|
|
16
15
|
constructor(e) {
|
|
17
16
|
u(this, "five");
|
|
18
17
|
u(this, "boundObject", {});
|
|
19
18
|
u(this, "handleWantsTapGesture", (e) => {
|
|
20
|
-
var
|
|
19
|
+
var s;
|
|
21
20
|
const t = "click", n = this.boundObject[t];
|
|
22
21
|
if (!n || (n == null ? void 0 : n.length) === 0)
|
|
23
22
|
return;
|
|
24
|
-
const o = this.five.model.intersectRaycaster(e),
|
|
25
|
-
if (o.length > 0 &&
|
|
23
|
+
const o = this.five.model.intersectRaycaster(e), i = e.intersectObjects(n, !0);
|
|
24
|
+
if (o.length > 0 && i.length > 0 && o[0].distance < i[0].distance)
|
|
26
25
|
return;
|
|
27
|
-
const r = (
|
|
26
|
+
const r = (s = i[0]) == null ? void 0 : s.object;
|
|
28
27
|
if (!r || !this.objectIsBound(r))
|
|
29
28
|
return;
|
|
30
29
|
if (this.notify(t, r))
|
|
@@ -38,29 +37,29 @@ class G {
|
|
|
38
37
|
});
|
|
39
38
|
// eslint-disable-next-line max-params
|
|
40
39
|
u(this, "notify", (e, t, n, o) => {
|
|
41
|
-
let
|
|
40
|
+
let i = !1, r = [];
|
|
42
41
|
const l = [t];
|
|
43
|
-
let
|
|
44
|
-
for (;
|
|
45
|
-
|
|
42
|
+
let s = t;
|
|
43
|
+
for (; s.parent; )
|
|
44
|
+
s = s.parent, l.push(s);
|
|
46
45
|
for (const a of l) {
|
|
47
|
-
if (
|
|
46
|
+
if (i)
|
|
48
47
|
break;
|
|
49
48
|
const h = a._domEvent;
|
|
50
49
|
if (!h)
|
|
51
50
|
continue;
|
|
52
51
|
const E = h[`${e}Handler`];
|
|
53
52
|
if (E)
|
|
54
|
-
for (const [
|
|
55
|
-
if (v != null && v.checkVisible && !
|
|
53
|
+
for (const [_, v] of E) {
|
|
54
|
+
if (v != null && v.checkVisible && !H(a))
|
|
56
55
|
continue;
|
|
57
|
-
const c =
|
|
56
|
+
const c = _({
|
|
58
57
|
type: e,
|
|
59
58
|
target: a,
|
|
60
59
|
origDomEvent: n,
|
|
61
60
|
intersect: o,
|
|
62
61
|
stopPropagation: () => {
|
|
63
|
-
|
|
62
|
+
i = !0;
|
|
64
63
|
}
|
|
65
64
|
});
|
|
66
65
|
r.push(c != null ? c : !0);
|
|
@@ -93,17 +92,17 @@ class G {
|
|
|
93
92
|
* @return {void}
|
|
94
93
|
*/
|
|
95
94
|
addEventListener(e, t, n, o) {
|
|
96
|
-
var
|
|
97
|
-
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n,
|
|
95
|
+
var i;
|
|
96
|
+
e._domEvent || (e._domEvent = {}), e._domEvent[`${t}Handler`] || (e._domEvent[`${t}Handler`] = []), this.boundObject[t] || (this.boundObject[t] = []), e._domEvent[`${t}Handler`].push([n, p({ checkVisible: !0 }, o)]), (i = this.boundObject[t]) == null || i.push(e);
|
|
98
97
|
}
|
|
99
98
|
removeEventListener(e, t, n, ...o) {
|
|
100
99
|
var r, l;
|
|
101
100
|
if (!e._domEvent || !e._domEvent[`${t}Handler`])
|
|
102
101
|
return;
|
|
103
|
-
const
|
|
104
|
-
if (
|
|
105
|
-
const
|
|
106
|
-
|
|
102
|
+
const i = e._domEvent[`${t}Handler`].findIndex((s) => s[0] === n);
|
|
103
|
+
if (i !== -1 && (e._domEvent[`${t}Handler`].splice(i, 1), e._domEvent[`${t}Handler`].length === 0 && delete e._domEvent[`${t}Handler`], e._domEvent && Object.keys(e._domEvent).length === 0 && delete e._domEvent, !e._domEvent)) {
|
|
104
|
+
const s = (r = this.boundObject[t]) == null ? void 0 : r.findIndex((a) => a === e);
|
|
105
|
+
s !== -1 && ((l = this.boundObject[t]) == null || l.splice(s, 1));
|
|
107
106
|
}
|
|
108
107
|
}
|
|
109
108
|
dispose() {
|
|
@@ -111,5 +110,5 @@ class G {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
export {
|
|
114
|
-
|
|
113
|
+
I as FiveDomEvents
|
|
115
114
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.0.0-
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.0.0-5",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
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": "3.0.0-
|
|
10
|
+
"version": "3.0.0-5",
|
|
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*",
|