@realsee/dnalogel 2.15.1-alpha.0 → 2.16.0-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -0
- package/dist/CruisePlugin/Controller.d.ts +1 -2
- package/dist/CruisePlugin/typing.d.ts +12 -2
- package/dist/GuideLinePlugin/Controller.d.ts +17 -11
- package/dist/GuideLinePlugin/GuideLineItem.d.ts +26 -0
- package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +61 -0
- package/dist/GuideLinePlugin/index.d.ts +3 -0
- package/dist/GuideLinePlugin/typing.d.ts +78 -1
- package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +19 -0
- package/dist/GuideLinePlugin/utils/index.d.ts +7 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +0 -3
- package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
- package/dist/base/BasePlugin.d.ts +1 -0
- package/dist/index.cjs.js +118 -118
- package/dist/index.js +4429 -4314
- package/dist/index.umd.js +117 -117
- package/dist/shared-utils/five/index.d.ts +1 -0
- package/dist/shared-utils/five/mode.d.ts +3 -0
- package/dist/shared-utils/index.d.ts +3 -0
- package/dist/shared-utils/isAbsoluteURL.d.ts +1 -0
- package/dist/shared-utils/log.d.ts +2 -0
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +33 -31
- package/docs/classes/CruisePluginController.html +43 -25
- package/docs/classes/GuideLineItem.GuideLineItem.html +168 -0
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +283 -0
- package/docs/classes/Magnifier.html +22 -20
- package/docs/classes/ModelRoomLabelController.html +13 -11
- package/docs/classes/Object3DHelperController.html +42 -24
- package/docs/classes/PaintBrush.html +17 -15
- package/docs/classes/PanoMeasurePluginLine.html +25 -23
- package/docs/classes/PanoMeasurePluginModel.html +24 -22
- package/docs/classes/PanoMeasurePluginPoint.html +16 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +28 -26
- package/docs/classes/PanoTagPluginController.html +64 -46
- package/docs/classes/Util.BetterTween.html +10 -8
- package/docs/classes/Util.FivePointSelector.html +14 -12
- package/docs/classes/Util.Interval.html +14 -12
- package/docs/classes/Util.Magnifier.html +19 -17
- package/docs/classes/Util.PointDomHelper.html +13 -11
- package/docs/classes/Util.PointHelper.html +13 -11
- package/docs/classes/Util.Rectangle.html +15 -13
- package/docs/enums/CameraMovementEffect.html +9 -7
- package/docs/enums/ContentType.html +21 -19
- package/docs/enums/DIRECTION.html +11 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -9
- package/docs/enums/DimensionType.html +9 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -9
- package/docs/enums/PaintBrushTypeEnum.html +10 -8
- package/docs/enums/Rotation.html +10 -8
- package/docs/functions/CSS3DRenderPlugin.html +6 -4
- package/docs/functions/CameraMovementPlugin.html +6 -4
- package/docs/functions/CruisePlugin.html +6 -4
- package/docs/functions/GuideLinePlugin.html +7 -5
- package/docs/functions/ItemLabelPlugin.html +6 -4
- package/docs/functions/MapviewFloorplanPlugin.html +6 -4
- package/docs/functions/ModelChassisCompassPlugin.html +6 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -4
- package/docs/functions/ModelFloorplanPlugin.html +6 -4
- package/docs/functions/ModelItemLabelPlugin.html +6 -4
- package/docs/functions/ModelRoomLabelPlugin.html +6 -4
- package/docs/functions/ModelTVVideoPlugin.html +6 -4
- package/docs/functions/ModelViewPlugin.html +6 -4
- package/docs/functions/Object3DHelperPlugin.html +6 -4
- package/docs/functions/PanoCompassPlugin.html +6 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +6 -4
- package/docs/functions/PanoDoorLabelPlugin.html +6 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +6 -4
- package/docs/functions/PanoMeasurePlugin.html +6 -4
- package/docs/functions/PanoRulerPlugin.html +6 -4
- package/docs/functions/PanoRulerProPlugin.html +6 -4
- package/docs/functions/PanoSpatialTagPlugin.html +6 -4
- package/docs/functions/PanoTagPlugin.html +6 -4
- package/docs/functions/PanoVideoPlugin.html +6 -4
- package/docs/functions/TopviewFloorplanPlugin.html +6 -4
- package/docs/functions/Util.getCoordsFromClient.html +12 -6
- package/docs/functions/Util.getCoordsFromElement.html +12 -6
- package/docs/functions/Util.getFrameTime.html +12 -6
- package/docs/functions/Util.getIntersectFromRelativePosition.html +12 -6
- package/docs/functions/Util.getRaycasterFromFivePointer.html +12 -6
- package/docs/functions/Util.isAbsoluteURL.html +78 -0
- package/docs/functions/Util.isModelLike.html +78 -0
- package/docs/functions/Util.isNil.html +12 -6
- package/docs/functions/Util.isPanoramaLike.html +78 -0
- package/docs/functions/Util.nextFrame.html +12 -6
- package/docs/functions/Util.notNil.html +12 -6
- package/docs/functions/Util.requestAnimationFrameInterval.html +12 -6
- package/docs/functions/Util.tweenProgress.html +12 -6
- package/docs/functions/Util.uuid.html +75 -0
- package/docs/functions/pluginFlag.html +7 -5
- package/docs/index.html +6 -4
- package/docs/interfaces/AddTagConfig.html +8 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -7
- package/docs/interfaces/EventMap.html +17 -15
- package/docs/interfaces/FloorplanBounding.html +10 -8
- package/docs/interfaces/FloorplanData.html +12 -10
- package/docs/interfaces/FloorplanEntrance.html +13 -11
- package/docs/interfaces/FloorplanExtraObject.html +12 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -8
- package/docs/interfaces/FloorplanFloorData.html +11 -9
- package/docs/interfaces/FloorplanImagePosition.html +9 -7
- package/docs/interfaces/FloorplanObserver.html +11 -9
- package/docs/interfaces/FloorplanOutlineItem.html +11 -9
- package/docs/interfaces/FloorplanPosition.html +9 -7
- package/docs/interfaces/FloorplanRoomItem.html +15 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -7
- package/docs/interfaces/FloorplanServerBounding.html +10 -8
- package/docs/interfaces/FloorplanServerComputedData.html +12 -10
- package/docs/interfaces/FloorplanServerData.html +9 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +12 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -8
- package/docs/interfaces/FloorplanServerEntrance.html +13 -11
- package/docs/interfaces/FloorplanServerFloorData.html +11 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -7
- package/docs/interfaces/FloorplanServerObserver.html +11 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +11 -9
- package/docs/interfaces/FloorplanServerPosition.html +9 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +16 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -7
- package/docs/interfaces/HelperOffset.html +10 -8
- package/docs/interfaces/ImagePlaneGroup.html +8 -6
- package/docs/interfaces/ItemLabelPluginData.html +8 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +11 -9
- package/docs/interfaces/MinMax.html +9 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +8 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +8 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +11 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -6
- package/docs/interfaces/ModelViewPluginExportType.html +13 -11
- package/docs/interfaces/Object3DHelperState.html +10 -8
- package/docs/interfaces/ObjectHelperControllers.html +11 -9
- package/docs/interfaces/PaintBrushAction.html +14 -12
- package/docs/interfaces/PaintBrushConfigs.html +14 -12
- package/docs/interfaces/PaintBrushState.html +12 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -5
- package/docs/interfaces/PanoMeasureParameterType.html +16 -14
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +12 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +11 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -7
- package/docs/interfaces/PanoRulerProPluginState.html +10 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -10
- package/docs/interfaces/Point.html +10 -8
- package/docs/interfaces/Room.html +11 -9
- package/docs/interfaces/RoomInfo.html +9 -7
- package/docs/interfaces/RoomLabel.html +16 -14
- package/docs/interfaces/RoomRules.html +7 -5
- package/docs/interfaces/Rooms.html +7 -5
- package/docs/interfaces/Scissor.html +11 -9
- package/docs/interfaces/State.html +10 -8
- package/docs/interfaces/TagCacheInterface.html +14 -12
- package/docs/interfaces/TagConfig.html +13 -11
- package/docs/interfaces/TagGLTFObjectGroup.html +8 -6
- package/docs/interfaces/TagIconUrl.html +13 -11
- package/docs/interfaces/TagObjectGroup.html +8 -6
- package/docs/interfaces/TagStyle.html +8 -6
- package/docs/interfaces/Tags.html +11 -9
- package/docs/interfaces/TemporaryState.html +8 -6
- package/docs/interfaces/Util.MagnifierParameter.html +13 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +10 -8
- package/docs/modules/GuideLineItem.html +52 -0
- package/docs/modules/GuideLineModeItem.html +52 -0
- package/docs/modules/PanoVideoPluginType.html +7 -5
- package/docs/modules/Util.html +16 -6
- package/docs/modules.html +9 -5
- package/docs/types/ArrayPosition.html +7 -5
- package/docs/types/AudioAppearance.html +7 -5
- package/docs/types/AudioTagTypeConfigKey.html +7 -5
- package/docs/types/CSS3DRenderExportType.html +7 -5
- package/docs/types/CSS3DRenderPluginExportType.html +7 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -5
- package/docs/types/ClassFunctionParameters.html +7 -5
- package/docs/types/Color.html +7 -5
- package/docs/types/ContentTypeConfigKey.html +7 -5
- package/docs/types/ContentTypeConfigKeySplit.html +7 -5
- package/docs/types/ContentTypeMap.html +7 -5
- package/docs/types/Create3DDomContainerReturnType.html +7 -5
- package/docs/types/Create3DElementReturnType.html +7 -5
- package/docs/types/CruisePluginExportType.html +7 -5
- package/docs/types/Direction-1.html +7 -5
- package/docs/types/Direction4.html +7 -5
- package/docs/types/FloorplanRuleLabels.html +7 -5
- package/docs/types/FloorplanServerRuleLabels.html +7 -5
- package/docs/types/GuideLinePluginExportType.html +7 -5
- package/docs/types/HelperEventMap.html +7 -5
- package/docs/types/LoadTagConfig.html +7 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -5
- package/docs/types/MediaData.html +7 -5
- package/docs/types/MediaStore.html +7 -5
- package/docs/types/ModelElement.html +7 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -5
- package/docs/types/MoveArgs.html +7 -5
- package/docs/types/MoveOpts.html +7 -5
- package/docs/types/Object3DHelperEventMap.html +7 -5
- package/docs/types/ObjectFit.html +7 -5
- package/docs/types/PaintBrushEventMap.html +7 -5
- package/docs/types/PanoCompassPluginData.html +7 -5
- package/docs/types/PanoCompassPluginExportType.html +7 -5
- package/docs/types/PanoCompassPluginParameterType.html +7 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -5
- package/docs/types/PanoIndex.html +7 -5
- package/docs/types/PanoMeasurePluginEvent.html +7 -5
- package/docs/types/PanoMeasureReturnType.html +7 -5
- package/docs/types/PanoSpatialTagPluginId.html +7 -5
- package/docs/types/PanoTagPluginExportInterface.html +7 -5
- package/docs/types/PanoTagPluginParamsInterface.html +7 -5
- package/docs/types/PanoVideoPluginParameterType.html +7 -5
- package/docs/types/PanoVideoPluginReturnType.html +7 -5
- package/docs/types/PlaneTag.html +7 -5
- package/docs/types/PlaneTagElement.html +7 -5
- package/docs/types/Point2DElement.html +7 -5
- package/docs/types/Point2DTag.html +7 -5
- package/docs/types/Point3DElement.html +7 -5
- package/docs/types/Point3DTag.html +7 -5
- package/docs/types/PointTag.html +7 -5
- package/docs/types/PointTagElement.html +7 -5
- package/docs/types/Position.html +7 -5
- package/docs/types/RotateArgs.html +7 -5
- package/docs/types/RotateOpts.html +7 -5
- package/docs/types/RuleLabelsKey.html +7 -5
- package/docs/types/RuleLabelsValue.html +7 -5
- package/docs/types/StickType.html +7 -5
- package/docs/types/Tag.html +7 -5
- package/docs/types/Tag2D.html +7 -5
- package/docs/types/Tag3D.html +7 -5
- package/docs/types/TagContentType.html +7 -5
- package/docs/types/TagDimensionType.html +7 -5
- package/docs/types/TagElement.html +8 -6
- package/docs/types/TagEvents.html +7 -5
- package/docs/types/TagGLTFObject.html +8 -6
- package/docs/types/TagHooks.html +7 -5
- package/docs/types/TagIconSize.html +7 -5
- package/docs/types/TagId.html +7 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -5
- package/docs/types/WorkCode.html +7 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -5
- package/docs/variables/PLUGIN.html +7 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -5
- package/docs/variables/ROOM_TYPE_MAP.html +7 -5
- package/docs/variables/itemLabelPluginServerParams.html +7 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -5
- package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -0
- package/libs/CSS3DRenderPlugin/Controller.js +40 -31
- package/libs/CSS3DRenderPlugin/index.js +12 -6
- package/libs/CruisePlugin/Controller.d.ts +1 -2
- package/libs/CruisePlugin/Controller.js +197 -174
- package/libs/CruisePlugin/index.js +33 -10
- package/libs/CruisePlugin/typing.d.ts +12 -2
- package/libs/GuideLinePlugin/Controller.d.ts +17 -11
- package/libs/GuideLinePlugin/Controller.js +111 -85
- package/libs/GuideLinePlugin/GuideLineItem/index.js +35 -0
- package/libs/GuideLinePlugin/GuideLineItem.d.ts +26 -0
- package/libs/GuideLinePlugin/GuideLineItem.js +31 -0
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +148 -0
- package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +61 -0
- package/libs/GuideLinePlugin/GuideLineModeItem.js +29 -0
- package/libs/GuideLinePlugin/index.d.ts +3 -0
- package/libs/GuideLinePlugin/index.js +33 -7
- package/libs/GuideLinePlugin/typing.d.ts +78 -1
- package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +19 -0
- package/libs/GuideLinePlugin/utils/createLineGeometry.js +35 -0
- package/libs/GuideLinePlugin/utils/dataFormatter.d.ts +2 -0
- package/libs/GuideLinePlugin/utils/dataFormatter.js +6 -0
- package/libs/GuideLinePlugin/utils/index.d.ts +7 -0
- package/libs/GuideLinePlugin/utils/index.js +32 -0
- package/libs/ModelTVVideoPlugin/Plugin.js +37 -31
- package/libs/ModelTVVideoPlugin/index.js +11 -5
- package/libs/Object3DHelperPlugin/Controller.js +33 -28
- package/libs/Object3DHelperPlugin/index.js +18 -13
- package/libs/PanoCompassPlugin/Controller.js +8 -6
- package/libs/PanoCompassPlugin/index.js +12 -10
- package/libs/PanoDoorLabelPlugin/BaseController.js +47 -28
- package/libs/PanoDoorLabelPlugin/Controller.js +40 -22
- package/libs/PanoDoorLabelPlugin/index.js +21 -3
- package/libs/PanoMeasurePlugin/typings/index.js +20 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +8 -3
- package/libs/PanoSpatialTagPlugin/index.js +8 -3
- package/libs/PanoTagPlugin/Components/Common/Media.js +49 -49
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
- package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +42 -22
- package/libs/PanoTagPlugin/controller/TagComputer.js +4 -3
- package/libs/PanoTagPlugin/controller/TagRender.js +53 -58
- package/libs/PanoTagPlugin/controller/TagUtil.js +8 -3
- package/libs/PanoTagPlugin/controller/index.js +13 -15
- package/libs/PanoTagPlugin/index.js +11 -10
- package/libs/PanoTagPlugin/typings/controller.d.ts +0 -3
- package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -1
- package/libs/PanoVideoPlugin/Controller.js +4 -3
- package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
- package/libs/PanoVideoPlugin/index.js +7 -6
- package/libs/base/BasePlugin.d.ts +1 -0
- package/libs/base/BasePlugin.js +21 -10
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +57 -38
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +22 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +48 -29
- package/libs/floorplan/ModelFloorplanPlugin/index.js +22 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +31 -11
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +23 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +59 -40
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +22 -3
- package/libs/floorplan/index.js +6 -0
- package/libs/index.js +77 -72
- package/libs/shared-utils/five/index.d.ts +1 -0
- package/libs/shared-utils/five/index.js +1 -0
- package/libs/shared-utils/five/mode.d.ts +3 -0
- package/libs/shared-utils/five/mode.js +11 -0
- package/libs/shared-utils/index.d.ts +3 -0
- package/libs/shared-utils/index.js +36 -29
- package/libs/shared-utils/isAbsoluteURL.d.ts +1 -0
- package/libs/shared-utils/isAbsoluteURL.js +6 -0
- package/libs/shared-utils/log.d.ts +2 -0
- package/libs/shared-utils/log.js +10 -0
- package/libs/shared-utils/three/PointDomHelper.js +1 -1
- package/package.json +2 -2
- package/dist/GuideLinePlugin/utils/getLineGeometries.d.ts +0 -16
- package/dist/shared-utils/logger.d.ts +0 -17
- package/libs/GuideLinePlugin/utils/getLineGeometries.d.ts +0 -16
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +0 -64
- package/libs/shared-utils/logger.d.ts +0 -17
- package/libs/shared-utils/logger.js +0 -16
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var j = Object.defineProperty;
|
|
2
2
|
var w = (l, p, t) => p in l ? j(l, p, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[p] = t;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var d = (l, p, t) => (w(l, typeof p != "symbol" ? p + "" : p, t), t);
|
|
4
|
+
var D = (l, p, t) => new Promise((e, i) => {
|
|
5
5
|
var o = (s) => {
|
|
6
6
|
try {
|
|
7
7
|
a(t.next(s));
|
|
@@ -18,16 +18,16 @@ var b = (l, p, t) => new Promise((e, i) => {
|
|
|
18
18
|
a((t = t.apply(l, p)).next());
|
|
19
19
|
});
|
|
20
20
|
import { TagComputer as O } from "./TagComputer.js";
|
|
21
|
-
import { Group as P, Quaternion as x, Vector3 as
|
|
21
|
+
import { Group as P, Quaternion as x, Vector3 as f, Matrix4 as T } from "three";
|
|
22
22
|
import G from "../Components/TagContainer.js";
|
|
23
23
|
import k from "../Components/Tag/index.js";
|
|
24
|
-
import { arrayPositionToVector3 as
|
|
24
|
+
import { arrayPositionToVector3 as b } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
25
25
|
import { centerPoint as A } from "../../shared-utils/three/centerPoint.js";
|
|
26
26
|
import "@realsee/five/gltf-loader";
|
|
27
27
|
import R from "../utils/model/imagePlane.js";
|
|
28
|
-
import { isMediaModelTag as
|
|
28
|
+
import { isMediaModelTag as S } from "../utils/tag/tagCheck.js";
|
|
29
29
|
import { CSS3DRenderPlugin as E } from "../../CSS3DRenderPlugin/index.js";
|
|
30
|
-
import { loadGLTF as
|
|
30
|
+
import { loadGLTF as V } from "../../shared-utils/three/GLTFLoader.js";
|
|
31
31
|
import "@realsee/five";
|
|
32
32
|
import "../utils/tagPosition.js";
|
|
33
33
|
import "../../shared-utils/three/loadTexture.js";
|
|
@@ -56,6 +56,7 @@ import "../utils/planeNormal.js";
|
|
|
56
56
|
import "../utils/normalPositionToPositions.js";
|
|
57
57
|
import "./TagCache.js";
|
|
58
58
|
import "../../base/BasePlugin.js";
|
|
59
|
+
import "../../shared-utils/isAbsoluteURL.js";
|
|
59
60
|
import "../../vendor/svelte/store/index.js";
|
|
60
61
|
import "../../vendor/svelte/internal/index.js";
|
|
61
62
|
import "../utils/device.js";
|
|
@@ -132,21 +133,21 @@ import "../Components/Tag/LinkTag.js";
|
|
|
132
133
|
import "../Components/Tag/CustomTag.js";
|
|
133
134
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
134
135
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
135
|
-
class
|
|
136
|
+
class Qe extends O {
|
|
136
137
|
constructor(t) {
|
|
137
138
|
super(t);
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
139
|
+
d(this, "group", new P());
|
|
140
|
+
d(this, "imagePlaneGroup", new P());
|
|
141
|
+
d(this, "gltfObjectGroup", new P());
|
|
142
|
+
d(this, "enabledModelTagSet", /* @__PURE__ */ new Set());
|
|
143
|
+
d(this, "temporaryState", { visible: !0 });
|
|
144
|
+
d(this, "TagContainerSvelte");
|
|
145
|
+
d(this, "loadModel", (t) => D(this, null, function* () {
|
|
145
146
|
var s;
|
|
146
147
|
const e = t.data.modelUrl;
|
|
147
148
|
if (!e)
|
|
148
149
|
return;
|
|
149
|
-
const i =
|
|
150
|
+
const i = V(e).then((r) => Object.assign(r.scene, { customID: t.id, isTagModel: !0 }));
|
|
150
151
|
t.model = { promise: i };
|
|
151
152
|
const o = yield i;
|
|
152
153
|
if (((s = t.model) == null ? void 0 : s.promise) !== i || (t.model.object = o, !this.tags.includes(t)))
|
|
@@ -155,13 +156,13 @@ class Le extends O {
|
|
|
155
156
|
const a = this.gltfObjectGroup.children.find((r) => r.customID === t.id);
|
|
156
157
|
if (a && this.gltfObjectGroup.remove(a), this.getRenderType(t) === "Mesh") {
|
|
157
158
|
if (!t.imagePlane) {
|
|
158
|
-
const r = t.data.mediaPosition.map(
|
|
159
|
-
t.imagePlane = new R(t.data.mediaData[0].url, t.data.mediaPosition.map(
|
|
160
|
-
const m = new
|
|
159
|
+
const r = t.data.mediaPosition.map(b);
|
|
160
|
+
t.imagePlane = new R(t.data.mediaData[0].url, t.data.mediaPosition.map(b));
|
|
161
|
+
const m = new f().addVectors(r[0], r[2]).divideScalar(2);
|
|
161
162
|
t.imagePlane.position.copy(m), o.add(t.imagePlane);
|
|
162
163
|
}
|
|
163
164
|
} else
|
|
164
|
-
|
|
165
|
+
this.updateTagCss3DObjectMatrix(t, o);
|
|
165
166
|
return this.gltfObjectGroup.add(o), o;
|
|
166
167
|
}));
|
|
167
168
|
this.group.name = "PanoTagPluginModelGroup", this.gltfObjectGroup.name = "PanoTagPluginGLTFObjectGroup", this.imagePlaneGroup.name = "ImagePlaneGroup", this.group.add(this.gltfObjectGroup), this.group.add(this.imagePlaneGroup);
|
|
@@ -181,7 +182,7 @@ class Le extends O {
|
|
|
181
182
|
const i = (n = e.data.mediaData[0]) == null ? void 0 : n.url;
|
|
182
183
|
if (!i || (e.imagePlane && (e.imagePlane.visible = (s = (a = e.state) == null ? void 0 : a.visible) != null ? s : !0), ((r = e.imagePlane) == null ? void 0 : r.imageSrc) === i))
|
|
183
184
|
return;
|
|
184
|
-
const o = e.position.map(
|
|
185
|
+
const o = e.position.map(b);
|
|
185
186
|
e.imagePlane = new R(i, o), e.imagePlane.setMatrixByCornerPoints(o), this.imagePlaneGroup.add(e.imagePlane);
|
|
186
187
|
});
|
|
187
188
|
}
|
|
@@ -189,7 +190,7 @@ class Le extends O {
|
|
|
189
190
|
this.sort([...this.filterCSS3DTag]).forEach((e) => {
|
|
190
191
|
var i, o;
|
|
191
192
|
if (e.tag3DContentSvelte) {
|
|
192
|
-
const { svelteApp: n,
|
|
193
|
+
const { svelteApp: n, domContainer: a, initialNormal: s, currentNormal: r } = e.tag3DContentSvelte;
|
|
193
194
|
if (n.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !s.equals(r)) {
|
|
194
195
|
const m = new x().setFromUnitVectors(s, r);
|
|
195
196
|
a.css3DObject.setRotationFromQuaternion(m);
|
|
@@ -209,47 +210,41 @@ class Le extends O {
|
|
|
209
210
|
const r = (o = this.getTagConfig(e).tag3DConfig) != null ? o : {};
|
|
210
211
|
if (this.getRenderType(e) === "BehindDom") {
|
|
211
212
|
r.mode = "behind", r.container = document.createElement("div");
|
|
212
|
-
const
|
|
213
|
-
r.container.style.backgroundColor =
|
|
214
|
-
var
|
|
213
|
+
const h = "black";
|
|
214
|
+
r.container.style.backgroundColor = h, r.container.style.border = `3px solid ${h}`, this.css3DRenderPlugin.hooks.on("render", () => {
|
|
215
|
+
var u;
|
|
215
216
|
if (m.css3DObject.opacityMesh) {
|
|
216
|
-
const
|
|
217
|
-
this.hooks.emit("click", { event:
|
|
217
|
+
const g = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (c) => {
|
|
218
|
+
this.hooks.emit("click", { event: c, target: "TagContent", tag: e });
|
|
218
219
|
});
|
|
219
|
-
(
|
|
220
|
+
(u = this.store.css3DRenderDisposer.get(e.id)) == null || u.push(g);
|
|
220
221
|
}
|
|
221
222
|
});
|
|
222
223
|
}
|
|
223
224
|
const m = this.css3DRenderPlugin.create3DDomContainer(n, r);
|
|
224
225
|
if (!m)
|
|
225
226
|
return;
|
|
226
|
-
this.store.css3DRenderDisposer.set(e.id, [m.dispose])
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
e.tag3DContentSvelte = {
|
|
238
|
-
svelteApp: u,
|
|
227
|
+
this.store.css3DRenderDisposer.set(e.id, [m.dispose]), e.tag3DContentSvelte = {
|
|
228
|
+
svelteApp: new k({
|
|
229
|
+
target: m.container,
|
|
230
|
+
props: {
|
|
231
|
+
tag: e,
|
|
232
|
+
hooks: this.hooks,
|
|
233
|
+
state: this.state,
|
|
234
|
+
mediaStore: this.mediaStore,
|
|
235
|
+
temporaryState: this.temporaryState
|
|
236
|
+
}
|
|
237
|
+
}),
|
|
239
238
|
domContainer: m,
|
|
240
|
-
css3DInstance: m,
|
|
241
239
|
initialNormal: a,
|
|
242
|
-
currentNormal: a
|
|
243
|
-
dispose: () => {
|
|
244
|
-
u.$destroy(), m.dispose();
|
|
245
|
-
}
|
|
240
|
+
currentNormal: a
|
|
246
241
|
};
|
|
247
242
|
}
|
|
248
243
|
}), this.clearUnusedPanelTag();
|
|
249
244
|
}
|
|
250
245
|
updateRenderModelTag() {
|
|
251
246
|
const t = (i) => !this.enabledModelTagSet.has(i.customID);
|
|
252
|
-
this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(t)), this.tags.filter(
|
|
247
|
+
this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(t)), this.tags.filter(S).forEach((i) => {
|
|
253
248
|
var o;
|
|
254
249
|
(o = i.model) == null || o.promise.then((n) => {
|
|
255
250
|
n.visible = this.getCurrentVisibleState(i);
|
|
@@ -263,20 +258,20 @@ class Le extends O {
|
|
|
263
258
|
});
|
|
264
259
|
}
|
|
265
260
|
updateTagCss3DObjectMatrix(t, e) {
|
|
266
|
-
var
|
|
267
|
-
const i = (M = (v = (
|
|
261
|
+
var C, v, M, y;
|
|
262
|
+
const i = (M = (v = (C = t.mergedConfig) == null ? void 0 : C.tag3DConfig) == null ? void 0 : v.ratio) != null ? M : 216e-5, o = (y = t.tag3DContentSvelte) == null ? void 0 : y.domContainer.css3DObject;
|
|
268
263
|
if (!o)
|
|
269
264
|
return;
|
|
270
|
-
const n =
|
|
265
|
+
const n = S(t) ? t.data.mediaPosition : t.position;
|
|
271
266
|
e.updateWorldMatrix(!1, !1);
|
|
272
|
-
const a = e.matrixWorld, s = new
|
|
273
|
-
|
|
274
|
-
const
|
|
275
|
-
|
|
267
|
+
const a = e.matrixWorld, s = new f().fromArray(n[0]), r = new f().fromArray(n[2]), m = A(s, r).add(new f(0, 0, 5e-4)), h = new T().setPosition(m), u = new T().makeScale(i, i, i), g = new T().multiply(a).multiply(h).multiply(u);
|
|
268
|
+
g.decompose(o.position, o.quaternion, o.scale);
|
|
269
|
+
const c = o.opacityMesh;
|
|
270
|
+
c && g.decompose(c.position, c.quaternion, c.scale);
|
|
276
271
|
}
|
|
277
272
|
addMediaModelTag(t) {
|
|
278
|
-
return
|
|
279
|
-
const e = t.filter(
|
|
273
|
+
return D(this, null, function* () {
|
|
274
|
+
const e = t.filter(S).map((i) => this.loadModel(i));
|
|
280
275
|
yield Promise.all(e), this.setModelMedialVisible(), this.updateRenderAllTags();
|
|
281
276
|
});
|
|
282
277
|
}
|
|
@@ -303,7 +298,7 @@ class Le extends O {
|
|
|
303
298
|
withAnimation: this.store.visibleWithAnimation
|
|
304
299
|
}), this.filterCSS3DTag.forEach((e) => {
|
|
305
300
|
var i, o, n, a, s;
|
|
306
|
-
(a = (o = (i = e.tag3DContentSvelte) == null ? void 0 : i.
|
|
301
|
+
(a = (o = (i = e.tag3DContentSvelte) == null ? void 0 : i.domContainer) == null ? void 0 : o.css3DObject) == null || a.setVisible((this.state.visible && ((n = e.state) == null ? void 0 : n.visible)) !== !1), (s = e.tag3DContentSvelte) == null || s.svelteApp.$set({
|
|
307
302
|
state: this.state,
|
|
308
303
|
temporaryState: this.temporaryState,
|
|
309
304
|
withAnimation: this.store.visibleWithAnimation
|
|
@@ -318,7 +313,7 @@ class Le extends O {
|
|
|
318
313
|
clearUnusedPanelTag() {
|
|
319
314
|
this.filter2DPointTag.forEach((t) => {
|
|
320
315
|
var e;
|
|
321
|
-
(e = t.tag3DContentSvelte) == null || e.
|
|
316
|
+
(e = t.tag3DContentSvelte) == null || e.domContainer.dispose(), t.tag3DContentSvelte = void 0;
|
|
322
317
|
});
|
|
323
318
|
for (const [t, e] of this.store.css3DRenderDisposer) {
|
|
324
319
|
const i = this.getTagById(t);
|
|
@@ -327,5 +322,5 @@ class Le extends O {
|
|
|
327
322
|
}
|
|
328
323
|
}
|
|
329
324
|
export {
|
|
330
|
-
|
|
325
|
+
Qe as TagRender
|
|
331
326
|
};
|
|
@@ -14,6 +14,9 @@ import { isIOSWX as A } from "../utils/device.js";
|
|
|
14
14
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
15
15
|
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
16
16
|
import "@realsee/five";
|
|
17
|
+
import "hammerjs";
|
|
18
|
+
import "@tweenjs/tween.js";
|
|
19
|
+
import "../../shared-utils/animationFrame/BetterTween.js";
|
|
17
20
|
import { isMediaPlaneTag as x, isMediaModelTag as v, isPlaneTag as V } from "../utils/tag/tagCheck.js";
|
|
18
21
|
import { DomEvents as L } from "../../shared-utils/threex/domevents/index.js";
|
|
19
22
|
import "@realsee/five/gltf-loader";
|
|
@@ -21,7 +24,7 @@ import "../../shared-utils/three/loadTexture.js";
|
|
|
21
24
|
import "../../shared-utils/three/centerPoint.js";
|
|
22
25
|
import "../../base/BasePlugin.js";
|
|
23
26
|
import "../../shared-utils/Subscribe.js";
|
|
24
|
-
import "../../
|
|
27
|
+
import "../../shared-utils/isAbsoluteURL.js";
|
|
25
28
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
26
29
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
27
30
|
import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -31,7 +34,9 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
|
31
34
|
import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
32
35
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
33
36
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
34
|
-
|
|
37
|
+
import "../../shared-utils/animationFrame/index.js";
|
|
38
|
+
import "../../vendor/svelte/internal/index.js";
|
|
39
|
+
class he extends b {
|
|
35
40
|
constructor(e) {
|
|
36
41
|
super(e);
|
|
37
42
|
a(this, "tags", []);
|
|
@@ -288,5 +293,5 @@ class le extends b {
|
|
|
288
293
|
}
|
|
289
294
|
}
|
|
290
295
|
export {
|
|
291
|
-
|
|
296
|
+
he as TagUtil
|
|
292
297
|
};
|
|
@@ -27,10 +27,10 @@ var f = (d, a, e) => new Promise((t, i) => {
|
|
|
27
27
|
}, r = (n) => n.done ? t(n.value) : Promise.resolve(n.value).then(s, o);
|
|
28
28
|
r((e = e.apply(d, a)).next());
|
|
29
29
|
});
|
|
30
|
-
import { Subscribe as
|
|
30
|
+
import { Subscribe as w } from "@realsee/five";
|
|
31
31
|
import c from "object-assign-deep";
|
|
32
32
|
import { arrayPositionToVector3 as C } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
33
|
-
import { addDebugPoints as
|
|
33
|
+
import { addDebugPoints as M } from "../utils/addDebugPoints.js";
|
|
34
34
|
import "three";
|
|
35
35
|
import "@realsee/five/gltf-loader";
|
|
36
36
|
import "../../shared-utils/three/loadTexture.js";
|
|
@@ -69,6 +69,7 @@ import "../utils/planeNormal.js";
|
|
|
69
69
|
import "../utils/normalPositionToPositions.js";
|
|
70
70
|
import "./TagCache.js";
|
|
71
71
|
import "../../base/BasePlugin.js";
|
|
72
|
+
import "../../shared-utils/isAbsoluteURL.js";
|
|
72
73
|
import "../../vendor/svelte/store/index.js";
|
|
73
74
|
import "../../vendor/svelte/internal/index.js";
|
|
74
75
|
import "../utils/device.js";
|
|
@@ -149,8 +150,8 @@ import "../../CSS3DRenderPlugin/index.js";
|
|
|
149
150
|
import "../../CSS3DRenderPlugin/Controller.js";
|
|
150
151
|
import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
151
152
|
import "../../shared-utils/three/GLTFLoader.js";
|
|
152
|
-
const D = "Dnalogel-PanoTagPlugin",
|
|
153
|
-
class
|
|
153
|
+
const D = "Dnalogel-PanoTagPlugin", Zt = (d) => `${D}--${d}`;
|
|
154
|
+
class ei extends k {
|
|
154
155
|
constructor(e, t) {
|
|
155
156
|
super(e);
|
|
156
157
|
p(this, "state", { enabled: !0, visible: !0 });
|
|
@@ -187,7 +188,7 @@ class Zt extends k {
|
|
|
187
188
|
const i = yield this.addTag(e.tagList, t);
|
|
188
189
|
if (this.debug)
|
|
189
190
|
try {
|
|
190
|
-
|
|
191
|
+
M(this.five, this.tags);
|
|
191
192
|
} catch (r) {
|
|
192
193
|
console.error(r);
|
|
193
194
|
}
|
|
@@ -203,7 +204,7 @@ class Zt extends k {
|
|
|
203
204
|
visible: void 0,
|
|
204
205
|
unfolded: !this.can("fold", o)
|
|
205
206
|
}, r.initialState),
|
|
206
|
-
hooks: new
|
|
207
|
+
hooks: new w(),
|
|
207
208
|
mergedConfig: r,
|
|
208
209
|
unfold: () => this.changeUnfoldedById(o.id, !0),
|
|
209
210
|
fold: () => this.changeUnfoldedById(o.id, !1),
|
|
@@ -323,16 +324,13 @@ class Zt extends k {
|
|
|
323
324
|
this.pauseCurrentMedia(), this.state.visible = !1, this.group.visible = !1, this.updateTagContainerVisible(), this.updateTagModelVisible(), this.five.needsRender = !0;
|
|
324
325
|
}
|
|
325
326
|
handleEnable() {
|
|
326
|
-
this.state.enabled = !0, this.store.eventListenerDisposer = this.addEventListener(), this.five.scene.children.includes(this.group) || this.five.scene.add(this.group), this.
|
|
327
|
-
var t;
|
|
328
|
-
(t = e == null ? void 0 : e.updateTagCss3DObjectMatrix) == null || t.call(e);
|
|
329
|
-
}), this.updateRenderAllTags(), this.five.needsRender = !0;
|
|
327
|
+
this.state.enabled = !0, this.store.eventListenerDisposer = this.addEventListener(), this.five.scene.children.includes(this.group) || this.five.scene.add(this.group), this.updateRenderAllTags(), this.five.needsRender = !0;
|
|
330
328
|
}
|
|
331
329
|
handleDisable() {
|
|
332
330
|
var e, t, i;
|
|
333
331
|
this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((s) => {
|
|
334
332
|
var o;
|
|
335
|
-
(o = s.tag3DContentSvelte) == null || o.
|
|
333
|
+
(o = s.tag3DContentSvelte) == null || o.svelteApp.$destroy(), s.tag3DContentSvelte = void 0;
|
|
336
334
|
}), this.five.needsRender = !0;
|
|
337
335
|
}
|
|
338
336
|
addEventListener() {
|
|
@@ -417,11 +415,11 @@ class Zt extends k {
|
|
|
417
415
|
}
|
|
418
416
|
changeTagMode(e, t) {
|
|
419
417
|
var i, s, o, r, n, h;
|
|
420
|
-
((i = this.getTagConfig(e)) == null ? void 0 : i.renderType) !== "Mesh" && ((r = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.
|
|
418
|
+
((i = this.getTagConfig(e)) == null ? void 0 : i.renderType) !== "Mesh" && ((r = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.domContainer) == null ? void 0 : o.css3DObject) == null ? void 0 : r.mode) !== t && ((n = e.config) != null && n.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((g) => g == null ? void 0 : g()), e.tag3DContentSvelte = void 0);
|
|
421
419
|
}
|
|
422
420
|
}
|
|
423
421
|
export {
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
422
|
+
ei as PanoTagPluginController,
|
|
423
|
+
ei as default,
|
|
424
|
+
Zt as pluginFlag
|
|
427
425
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import t from "./controller/index.js";
|
|
2
|
-
import { default as
|
|
3
|
-
import { ContentType as
|
|
4
|
-
import { DimensionType as
|
|
2
|
+
import { default as Fr, pluginFlag as br } from "./controller/index.js";
|
|
3
|
+
import { ContentType as jr } from "./typings/tag/TagData.js";
|
|
4
|
+
import { DimensionType as qr } from "./typings/tag/Utils.js";
|
|
5
5
|
import "@realsee/five";
|
|
6
6
|
import "object-assign-deep";
|
|
7
7
|
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
@@ -44,6 +44,7 @@ import "./utils/planeNormal.js";
|
|
|
44
44
|
import "./utils/normalPositionToPositions.js";
|
|
45
45
|
import "./controller/TagCache.js";
|
|
46
46
|
import "../base/BasePlugin.js";
|
|
47
|
+
import "../shared-utils/isAbsoluteURL.js";
|
|
47
48
|
import "../vendor/svelte/store/index.js";
|
|
48
49
|
import "../vendor/svelte/internal/index.js";
|
|
49
50
|
import "./utils/device.js";
|
|
@@ -124,12 +125,12 @@ import "../CSS3DRenderPlugin/index.js";
|
|
|
124
125
|
import "../CSS3DRenderPlugin/Controller.js";
|
|
125
126
|
import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
|
|
126
127
|
import "../shared-utils/three/GLTFLoader.js";
|
|
127
|
-
const
|
|
128
|
+
const cr = (o, r) => new t(o, r);
|
|
128
129
|
export {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
130
|
+
jr as ContentType,
|
|
131
|
+
qr as DimensionType,
|
|
132
|
+
cr as PanoTagPlugin,
|
|
133
|
+
Fr as PanoTagPluginController,
|
|
134
|
+
cr as default,
|
|
135
|
+
br as pluginFlag
|
|
135
136
|
};
|
|
@@ -89,12 +89,9 @@ export declare type TagElement<C extends TagContentType = TagContentType, S exte
|
|
|
89
89
|
};
|
|
90
90
|
tag3DContentSvelte: {
|
|
91
91
|
svelteApp: TagContentSvelte;
|
|
92
|
-
/** @deprecated rename to css3DInstance */
|
|
93
92
|
domContainer: NonNullable<Create3DDomContainerReturnType>;
|
|
94
|
-
css3DInstance: NonNullable<Create3DDomContainerReturnType>;
|
|
95
93
|
initialNormal: Vector3;
|
|
96
94
|
currentNormal: Vector3;
|
|
97
|
-
dispose: () => void;
|
|
98
95
|
};
|
|
99
96
|
imagePlane: ImagePlane;
|
|
100
97
|
model: {
|
|
@@ -42,7 +42,6 @@ export interface TagStyle {
|
|
|
42
42
|
export declare type TagGLTFObject = GLTFObject & {
|
|
43
43
|
customID: number | string;
|
|
44
44
|
isTagModel: boolean;
|
|
45
|
-
updateTagCss3DObjectMatrix?: () => void;
|
|
46
45
|
};
|
|
47
46
|
export interface TagObjectGroup extends Group {
|
|
48
47
|
children: Array<TagGLTFObjectGroup>;
|
|
@@ -14,9 +14,9 @@ var u = (o, r, e) => (s(o, typeof r != "symbol" ? r + "" : r, e), e);
|
|
|
14
14
|
import { VideoMeshController as p } from "./VideoMeshController.js";
|
|
15
15
|
import { Controller as A } from "../base/BasePlugin.js";
|
|
16
16
|
import "./utils/shader.js";
|
|
17
|
+
import "@realsee/five";
|
|
17
18
|
import "hammerjs";
|
|
18
19
|
import "three";
|
|
19
|
-
import "@realsee/five";
|
|
20
20
|
import "@tweenjs/tween.js";
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -35,7 +35,8 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
35
35
|
import "../shared-utils/animationFrame/index.js";
|
|
36
36
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
37
37
|
import "./utils/index.js";
|
|
38
|
-
|
|
38
|
+
import "../shared-utils/isAbsoluteURL.js";
|
|
39
|
+
class O extends A {
|
|
39
40
|
constructor(e) {
|
|
40
41
|
super(e);
|
|
41
42
|
u(this, "enabled", !0);
|
|
@@ -137,5 +138,5 @@ class N extends A {
|
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
export {
|
|
140
|
-
|
|
141
|
+
O as PanoVideoPluginController
|
|
141
142
|
};
|
|
@@ -2,9 +2,9 @@ var g = Object.defineProperty;
|
|
|
2
2
|
var F = (h, e, i) => e in h ? g(h, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : h[e] = i;
|
|
3
3
|
var t = (h, e, i) => (F(h, typeof e != "symbol" ? e + "" : e, i), i);
|
|
4
4
|
import { vertexShader as E, fragmentShader as I } from "./utils/shader.js";
|
|
5
|
+
import "@realsee/five";
|
|
5
6
|
import "hammerjs";
|
|
6
7
|
import { VideoTexture as D, LinearFilter as m, ShaderMaterial as P, Vector4 as A, SphereBufferGeometry as M, Mesh as x, Vector3 as f, Quaternion as C } from "three";
|
|
7
|
-
import "@realsee/five";
|
|
8
8
|
import "@tweenjs/tween.js";
|
|
9
9
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
10
10
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PanoVideoPluginController as r } from "./Controller.js";
|
|
2
|
-
import { typings as
|
|
2
|
+
import { typings as B } from "./typings/index.js";
|
|
3
3
|
import "./VideoMeshController.js";
|
|
4
4
|
import "./utils/shader.js";
|
|
5
|
+
import "@realsee/five";
|
|
5
6
|
import "hammerjs";
|
|
6
7
|
import "three";
|
|
7
|
-
import "@realsee/five";
|
|
8
8
|
import "@tweenjs/tween.js";
|
|
9
9
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
10
10
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
@@ -24,9 +24,10 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
24
24
|
import "../shared-utils/animationFrame/BetterTween.js";
|
|
25
25
|
import "./utils/index.js";
|
|
26
26
|
import "../base/BasePlugin.js";
|
|
27
|
-
|
|
27
|
+
import "../shared-utils/isAbsoluteURL.js";
|
|
28
|
+
const v = (o) => new r(o);
|
|
28
29
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
v as PanoVideoPlugin,
|
|
31
|
+
B as PanoVideoPluginType,
|
|
32
|
+
v as default
|
|
32
33
|
};
|
package/libs/base/BasePlugin.js
CHANGED
|
@@ -1,19 +1,30 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var s = (
|
|
4
|
-
import { Subscribe as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
var e = Object.defineProperty;
|
|
2
|
+
var o = (i, t, r) => t in i ? e(i, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[t] = r;
|
|
3
|
+
var s = (i, t, r) => (o(i, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
|
+
import { Subscribe as m } from "../shared-utils/Subscribe.js";
|
|
5
|
+
import "@realsee/five";
|
|
6
|
+
import "hammerjs";
|
|
7
|
+
import "three";
|
|
8
|
+
import "@tweenjs/tween.js";
|
|
9
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
10
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
11
|
+
import { isAbsoluteURL as a } from "../shared-utils/isAbsoluteURL.js";
|
|
12
|
+
import "../shared-utils/animationFrame/BetterTween.js";
|
|
13
|
+
class R {
|
|
14
|
+
constructor(t, r) {
|
|
15
|
+
s(this, "VERSION", "2.16.0-0");
|
|
8
16
|
s(this, "five");
|
|
9
|
-
s(this, "hooks", new
|
|
17
|
+
s(this, "hooks", new m());
|
|
10
18
|
s(this, "staticPrefix", "//vrlab-static.ljcdn.com");
|
|
11
|
-
this.five =
|
|
19
|
+
this.five = t, r != null && r.staticPrefix && (this.staticPrefix = r.staticPrefix);
|
|
12
20
|
}
|
|
13
21
|
getCurrentState() {
|
|
14
22
|
return this.state;
|
|
15
23
|
}
|
|
24
|
+
isAbsoluteURL(t) {
|
|
25
|
+
return a(t) ? t : `${this.staticPrefix}${t}`;
|
|
26
|
+
}
|
|
16
27
|
}
|
|
17
28
|
export {
|
|
18
|
-
|
|
29
|
+
R as Controller
|
|
19
30
|
};
|