@realsee/dnalogel 2.3.9-alpha.2 → 2.3.9-alpha.3
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 +54 -54
- package/dist/index.js +4546 -4501
- package/dist/index.umd.js +47 -47
- package/dist/shared-utils/audio.d.ts +19 -0
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +41 -41
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +16 -16
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCache.html +10 -10
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/CruisePlugin/Controller.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/Audio.js +131 -132
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +66 -64
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +17 -16
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +46 -46
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +12 -11
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/index.js +93 -92
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +25 -32
- package/libs/shared-utils/audio.d.ts +19 -0
- package/libs/shared-utils/audio.js +75 -0
- package/package.json +1 -1
package/libs/index.js
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { PaintBrush as
|
|
2
|
-
import { PaintBrushTypeEnum as
|
|
3
|
-
import { ModelViewPlugin as
|
|
4
|
-
import { CSS3DRenderPlugin as
|
|
5
|
-
import { PanoCursorRaycasterPlugin as
|
|
6
|
-
import { ModelRoomLabelPlugin as
|
|
7
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
8
|
-
import { ModelFloorplanPlugin as
|
|
9
|
-
import { MapviewFloorplanPlugin as
|
|
10
|
-
import { TopviewFloorplanPlugin as
|
|
11
|
-
import { PanoFloorplanRadarPlugin as
|
|
12
|
-
import { FLOOR_TYPE_MAP as
|
|
13
|
-
import { ModelChassisCompassPlugin as
|
|
14
|
-
import { ModelEntryDoorGuidePlugin as
|
|
15
|
-
import { CameraMovementPlugin as
|
|
16
|
-
import { CameraMovementEffect as
|
|
17
|
-
import { PanoRulerPlugin as
|
|
18
|
-
import { PanoRulerProPlugin as
|
|
19
|
-
import { PanoCompassPlugin as
|
|
20
|
-
import { PanoMeasurePlugin as
|
|
21
|
-
import { PanoSpatialTagPlugin as
|
|
22
|
-
import { modelItemLabelPluginServerParams as
|
|
23
|
-
import { ModelTVVideoPlugin as
|
|
24
|
-
import { DIRECTION as
|
|
25
|
-
import { itemLabelPluginServerParams as
|
|
26
|
-
import { PanoDoorLabelPlugin as
|
|
27
|
-
import { GuideLinePlugin as
|
|
28
|
-
import { CruisePlugin as
|
|
29
|
-
import { PanoTagPlugin as
|
|
30
|
-
import { Object3DHelperPlugin as
|
|
31
|
-
import { index as
|
|
32
|
-
import { CSS3DRender as
|
|
33
|
-
import { default as
|
|
34
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
35
|
-
import { ModelItemLabelPlugin as
|
|
36
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
37
|
-
import { Plugin as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { ContentType as
|
|
41
|
-
import { DimensionType as
|
|
42
|
-
import { Object3DHelperController as
|
|
1
|
+
import { PaintBrush as ip } from "./components/PaintBrush/index.js";
|
|
2
|
+
import { PaintBrushTypeEnum as lp } from "./components/PaintBrush/typings.js";
|
|
3
|
+
import { ModelViewPlugin as Pp } from "./ModelViewPlugin/Plugin.js";
|
|
4
|
+
import { CSS3DRenderPlugin as fp } from "./CSS3DRenderPlugin/index.js";
|
|
5
|
+
import { PanoCursorRaycasterPlugin as xp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
6
|
+
import { ModelRoomLabelPlugin as Tp, modelRoomLabelPluginServerParams as sp } from "./ModelRoomLabelPlugin/index.js";
|
|
7
|
+
import { FLOOR_PLAN_ATTACHED_TO as Lp } from "./floorplan/constant.js";
|
|
8
|
+
import { ModelFloorplanPlugin as Ep } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
9
|
+
import { MapviewFloorplanPlugin as _p } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
10
|
+
import { TopviewFloorplanPlugin as Op } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
11
|
+
import { PanoFloorplanRadarPlugin as Ip } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
12
|
+
import { FLOOR_TYPE_MAP as Dp, ROOM_FETILE_TYPE_MAP as bp, ROOM_TYPE_MAP as Yp } from "./floorplan/typings/floorplanServerData.js";
|
|
13
|
+
import { ModelChassisCompassPlugin as vp } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
14
|
+
import { ModelEntryDoorGuidePlugin as Gp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
15
|
+
import { CameraMovementPlugin as cp } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
16
|
+
import { CameraMovementEffect as hp, Rotation as wp } from "./CameraMovementPlugin/typing.js";
|
|
17
|
+
import { PanoRulerPlugin as Hp } from "./PanoRulerPlugin/Plugin.js";
|
|
18
|
+
import { PanoRulerProPlugin as jp } from "./PanoRulerProPlugin/index.js";
|
|
19
|
+
import { PanoCompassPlugin as qp } from "./PanoCompassPlugin/index.js";
|
|
20
|
+
import { PanoMeasurePlugin as Jp } from "./PanoMeasurePlugin/index.js";
|
|
21
|
+
import { PanoSpatialTagPlugin as Qp } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
22
|
+
import { modelItemLabelPluginServerParams as Xp } from "./ModelItemLabelPlugin/index.js";
|
|
23
|
+
import { ModelTVVideoPlugin as $p } from "./ModelTVVideoPlugin/Plugin.js";
|
|
24
|
+
import { DIRECTION as ri } from "./ModelTVVideoPlugin/typings.js";
|
|
25
|
+
import { itemLabelPluginServerParams as mi } from "./ItemLabelPlugin/index.js";
|
|
26
|
+
import { PanoDoorLabelPlugin as ii } from "./PanoDoorLabelPlugin/index.js";
|
|
27
|
+
import { GuideLinePlugin as li } from "./GuideLinePlugin/index.js";
|
|
28
|
+
import { CruisePlugin as Pi } from "./CruisePlugin/index.js";
|
|
29
|
+
import { PanoTagPlugin as fi } from "./PanoTagPlugin/index.js";
|
|
30
|
+
import { Object3DHelperPlugin as xi } from "./Object3DHelperPlugin/index.js";
|
|
31
|
+
import { index as Ti } from "./shared-utils/index.js";
|
|
32
|
+
import { CSS3DRender as di } from "./CSS3DRenderPlugin/CSS3DRender.js";
|
|
33
|
+
import { default as Mi } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
34
|
+
import { DISPLAY_STRATEGY_TYPE as Ri } from "./ModelItemLabelPlugin/typings.js";
|
|
35
|
+
import { ModelItemLabelPlugin as Ci } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
36
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Si } from "./ItemLabelPlugin/typings.js";
|
|
37
|
+
import { Plugin as Ai } from "./ItemLabelPlugin/Plugin.js";
|
|
38
|
+
import { default as bi } from "./CruisePlugin/Controller.js";
|
|
39
|
+
import { default as Fi, pluginFlag as vi } from "./PanoTagPlugin/controller/index.js";
|
|
40
|
+
import { ContentType as Gi } from "./PanoTagPlugin/typings/tag/TagData.js";
|
|
41
|
+
import { DimensionType as ci, PointType as Vi } from "./PanoTagPlugin/typings/tag/Utils.js";
|
|
42
|
+
import { Object3DHelperController as wi, PLUGIN as Bi, VERSION as Hi } from "./Object3DHelperPlugin/Controller.js";
|
|
43
43
|
import "./components/PaintBrush/Controller.js";
|
|
44
44
|
import "./components/PaintBrush/utils.js";
|
|
45
45
|
import "./components/PaintBrush/tween.js";
|
|
@@ -255,6 +255,7 @@ import "./PanoTagPlugin/Components/Tag/MarketingTag.js";
|
|
|
255
255
|
import "./PanoTagPlugin/Components/Tag/AudioTag/index.js";
|
|
256
256
|
import "./PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js";
|
|
257
257
|
import "./PanoTagPlugin/Components/Common/Audio.js";
|
|
258
|
+
import "./shared-utils/audio.js";
|
|
258
259
|
import "./PanoTagPlugin/Components/Common/Icon/audioIcon.js";
|
|
259
260
|
import "./PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
260
261
|
import "./PanoTagPlugin/utils/timeToString.js";
|
|
@@ -312,54 +313,54 @@ import "./shared-utils/three/Assets/index.js";
|
|
|
312
313
|
import "./shared-utils/three/PointDomHelper.js";
|
|
313
314
|
import "./shared-utils/three/FivePointSelector.js";
|
|
314
315
|
export {
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
316
|
+
di as CSS3DRender,
|
|
317
|
+
fp as CSS3DRenderPlugin,
|
|
318
|
+
hp as CameraMovementEffect,
|
|
319
|
+
cp as CameraMovementPlugin,
|
|
320
|
+
Gi as ContentType,
|
|
321
|
+
Pi as CruisePlugin,
|
|
322
|
+
bi as CruisePluginController,
|
|
323
|
+
ri as DIRECTION,
|
|
324
|
+
Ri as DISPLAY_STRATEGY_TYPE,
|
|
325
|
+
ci as DimensionType,
|
|
326
|
+
Lp as FLOOR_PLAN_ATTACHED_TO,
|
|
327
|
+
Dp as FLOOR_TYPE_MAP,
|
|
328
|
+
li as GuideLinePlugin,
|
|
329
|
+
Si as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
330
|
+
Ai as ItemLabelPlugin,
|
|
331
|
+
Mi as Magnifier,
|
|
332
|
+
_p as MapviewFloorplanPlugin,
|
|
333
|
+
vp as ModelChassisCompassPlugin,
|
|
334
|
+
Gp as ModelEntryDoorGuidePlugin,
|
|
335
|
+
Ep as ModelFloorplanPlugin,
|
|
336
|
+
Ci as ModelItemLabelPlugin,
|
|
337
|
+
Tp as ModelRoomLabelPlugin,
|
|
338
|
+
$p as ModelTVVideoPlugin,
|
|
339
|
+
Pp as ModelViewPlugin,
|
|
340
|
+
wi as Object3DHelperController,
|
|
341
|
+
xi as Object3DHelperPlugin,
|
|
342
|
+
Bi as PLUGIN,
|
|
343
|
+
ip as PaintBrush,
|
|
344
|
+
lp as PaintBrushTypeEnum,
|
|
345
|
+
qp as PanoCompassPlugin,
|
|
346
|
+
xp as PanoCursorRaycasterPlugin,
|
|
347
|
+
ii as PanoDoorLabelPlugin,
|
|
348
|
+
Ip as PanoFloorplanRadarPlugin,
|
|
349
|
+
Jp as PanoMeasurePlugin,
|
|
350
|
+
Hp as PanoRulerPlugin,
|
|
351
|
+
jp as PanoRulerProPlugin,
|
|
352
|
+
Qp as PanoSpatialTagPlugin,
|
|
353
|
+
fi as PanoTagPlugin,
|
|
354
|
+
Fi as PanoTagPluginController,
|
|
355
|
+
Vi as PointType,
|
|
356
|
+
bp as ROOM_FETILE_TYPE_MAP,
|
|
357
|
+
Yp as ROOM_TYPE_MAP,
|
|
358
|
+
wp as Rotation,
|
|
359
|
+
Op as TopviewFloorplanPlugin,
|
|
360
|
+
Ti as Util,
|
|
361
|
+
Hi as VERSION,
|
|
362
|
+
mi as itemLabelPluginServerParams,
|
|
363
|
+
Xp as modelItemLabelPluginServerParams,
|
|
364
|
+
sp as modelRoomLabelPluginServerParams,
|
|
365
|
+
vi as pluginFlag
|
|
365
366
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var i = (
|
|
4
|
-
import { CSS3DRender as
|
|
5
|
-
import * as
|
|
6
|
-
import { RectangleScaleHelperAbstract as
|
|
1
|
+
var d = Object.defineProperty;
|
|
2
|
+
var u = (c, n, e) => n in c ? d(c, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[n] = e;
|
|
3
|
+
var i = (c, n, e) => (u(c, typeof n != "symbol" ? n + "" : n, e), e);
|
|
4
|
+
import { CSS3DRender as b } from "../../../CSS3DRenderPlugin/CSS3DRender.js";
|
|
5
|
+
import * as p from "three";
|
|
6
|
+
import { RectangleScaleHelperAbstract as D } from "../Base/BaseHelper.js";
|
|
7
7
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
|
-
import { rectangleScaleDom as
|
|
8
|
+
import { rectangleScaleDom as f } from "./HTML/rectangleScaleDom.js";
|
|
9
9
|
import "./OutlineHelper.js";
|
|
10
|
-
class
|
|
11
|
-
constructor(e, t, s,
|
|
10
|
+
class g extends D {
|
|
11
|
+
constructor(e, t, s, o) {
|
|
12
12
|
super(e);
|
|
13
13
|
i(this, "points", []);
|
|
14
14
|
i(this, "cornerPositions", []);
|
|
15
15
|
i(this, "css3DInstance");
|
|
16
16
|
i(this, "plane");
|
|
17
|
-
i(this, "css3DRenderer", new
|
|
17
|
+
i(this, "css3DRenderer", new b());
|
|
18
18
|
i(this, "camera");
|
|
19
19
|
i(this, "scene");
|
|
20
20
|
i(this, "container");
|
|
21
21
|
i(this, "enabled", !1);
|
|
22
|
-
this.camera = s, this.scene =
|
|
22
|
+
this.camera = s, this.scene = o, this.container = t, this.initRectangleScaleHelper();
|
|
23
23
|
}
|
|
24
24
|
get helperObject() {
|
|
25
25
|
var e;
|
|
@@ -52,19 +52,19 @@ class v extends m {
|
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
applyHelperQuaternion(e, t) {
|
|
55
|
-
var
|
|
56
|
-
const s = (
|
|
55
|
+
var o;
|
|
56
|
+
const s = (o = this.css3DInstance) == null ? void 0 : o.css3DObject;
|
|
57
57
|
if (s) {
|
|
58
|
-
const a = new
|
|
58
|
+
const a = new p.Vector3().subVectors(s.position, t).applyQuaternion(e).add(t);
|
|
59
59
|
s.position.copy(a), s.applyQuaternion(e);
|
|
60
60
|
}
|
|
61
61
|
if (this.plane) {
|
|
62
|
-
const a = new
|
|
62
|
+
const a = new p.Vector3().subVectors(this.plane.position, t).applyQuaternion(e).add(t);
|
|
63
63
|
this.plane.position.copy(a), this.plane.applyQuaternion(e);
|
|
64
64
|
}
|
|
65
65
|
this.cornerPositions.forEach((a) => {
|
|
66
|
-
const
|
|
67
|
-
a.copy(
|
|
66
|
+
const l = new p.Vector3().subVectors(a, t).applyQuaternion(e).add(t);
|
|
67
|
+
a.copy(l);
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
enable() {
|
|
@@ -87,7 +87,7 @@ class v extends m {
|
|
|
87
87
|
this.disable(), this.css3DRenderer.dispose();
|
|
88
88
|
}
|
|
89
89
|
initRectangleScaleHelper() {
|
|
90
|
-
var
|
|
90
|
+
var l;
|
|
91
91
|
const e = this.getCornerPositions();
|
|
92
92
|
if (!e)
|
|
93
93
|
return;
|
|
@@ -96,19 +96,12 @@ class v extends m {
|
|
|
96
96
|
if (!t)
|
|
97
97
|
return;
|
|
98
98
|
this.css3DInstance = t, t.appendToElement(this.container);
|
|
99
|
-
const s = t.css3DObject.container, { container:
|
|
100
|
-
this.points = a.map((
|
|
101
|
-
direction:
|
|
102
|
-
point:
|
|
103
|
-
position: this.calculatePointPosition(e)[
|
|
104
|
-
})), s.insertBefore(
|
|
105
|
-
const p = new c.PlaneGeometry(t.css3DObject.width, t.css3DObject.height), d = new c.MeshBasicMaterial({
|
|
106
|
-
color: 0,
|
|
107
|
-
opacity: 0.15,
|
|
108
|
-
transparent: !0,
|
|
109
|
-
side: c.DoubleSide
|
|
110
|
-
}), u = new c.Mesh(p, d);
|
|
111
|
-
this.scene.add(u), this.updatePosition();
|
|
99
|
+
const s = t.css3DObject.container, { container: o, squares: a } = f();
|
|
100
|
+
this.points = a.map((r, h) => ({
|
|
101
|
+
direction: r.direction,
|
|
102
|
+
point: r.element,
|
|
103
|
+
position: this.calculatePointPosition(e)[h]
|
|
104
|
+
})), s.insertBefore(o, (l = s.children[0]) != null ? l : null), this.updatePosition();
|
|
112
105
|
}
|
|
113
106
|
getCornerPositions() {
|
|
114
107
|
const { originObject3D: e } = this;
|
|
@@ -130,5 +123,5 @@ class v extends m {
|
|
|
130
123
|
}
|
|
131
124
|
}
|
|
132
125
|
export {
|
|
133
|
-
|
|
126
|
+
g as RectangleScaleHelper
|
|
134
127
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const audioList: IAudio[];
|
|
2
|
+
export declare function getAudio(src?: string): IAudio;
|
|
3
|
+
export declare function getAudioDuration(audio?: string | IAudio): Promise<number>;
|
|
4
|
+
export declare function waitForBlankAudioGenerated(checkInterval?: number, timeout?: number): Promise<void>;
|
|
5
|
+
/**
|
|
6
|
+
* @description: 生成空音频
|
|
7
|
+
*/
|
|
8
|
+
export declare function generateBlankAudio(length: number): void;
|
|
9
|
+
export declare class IAudio extends Audio {
|
|
10
|
+
preload: "metadata";
|
|
11
|
+
get isBlankAudio(): boolean;
|
|
12
|
+
get src(): string;
|
|
13
|
+
set src(paramsSrc: string);
|
|
14
|
+
realSrc: string;
|
|
15
|
+
inited: boolean;
|
|
16
|
+
removeDocumentEventListener: () => void;
|
|
17
|
+
constructor(src?: string);
|
|
18
|
+
clear(): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var m = Object.defineProperty;
|
|
2
|
+
var l = (e, V, A) => V in e ? m(e, V, { enumerable: !0, configurable: !0, writable: !0, value: A }) : e[V] = A;
|
|
3
|
+
var r = (e, V, A) => (l(e, typeof V != "symbol" ? V + "" : V, A), A);
|
|
4
|
+
var a = (e, V, A) => new Promise((t, c) => {
|
|
5
|
+
var u = (n) => {
|
|
6
|
+
try {
|
|
7
|
+
o(A.next(n));
|
|
8
|
+
} catch (q) {
|
|
9
|
+
c(q);
|
|
10
|
+
}
|
|
11
|
+
}, h = (n) => {
|
|
12
|
+
try {
|
|
13
|
+
o(A.throw(n));
|
|
14
|
+
} catch (q) {
|
|
15
|
+
c(q);
|
|
16
|
+
}
|
|
17
|
+
}, o = (n) => n.done ? t(n.value) : Promise.resolve(n.value).then(u, h);
|
|
18
|
+
o((A = A.apply(e, V)).next());
|
|
19
|
+
});
|
|
20
|
+
const i = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAAAAAAAAAAASW5mbwAAAA8AAAADAAAGhgBVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqr///////////////////////////////////////////8AAAA5TEFNRTMuOThyAc0AAAAAAAAAABSAJAiqQgAAgAAABobxtI73AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//uQxAACFEII9ACZ/sJZwWEoEb8w/////N//////JcxjHjf+7/v/H2PzCCFAiDtGeyBCIx7bJJ1mmEEMy6g8mm2c8nrGABB4h2Mkmn//4z/73u773R5qHHu/j/w7Kxkzh5lWRWdsifCkNAnY9Zc1HvDAhjhSHdFkHFzLmabt/AQxSg2wwzLhHIJOBnAWwVY4zrhIYhhc2kvhYDfQ4hDi2Gmh5KyFn8EcGIrHAngNgIwVIEMf5bzbAiTRoAD///8z/KVhkkWEle6IX+d/z4fvH3BShK1e5kmjkCMoxVmXhd4ROlTKo3iipasvTilY21q19ta30/v/0/idPX1v8PNxJL6ramnOVsdvMv2akO0iSYIzdJFirtzWXCZicS9vHqvSKyqm5XJBdqBwPxyfJdykhWTZ0G0ZyTZGpLKxsNwwoRhsx3tZfhwmeOBVISm3impAC/IT/8hP/EKEM1KMdVdVKM2rHV4x7HVXZvbVVKN/qq8CiV9VL9jjH/6l6qf7MBCjZmOqsAibjcP+qqqv0oxqpa/NVW286hPo1nz2L/h8+jXt//uSxCmDU2IK/ECN98KKtE5IYzNoCfbw+u9i5r8PoadUMFPKqWL4LK3T/LCraMSHGkW4bpLXR/E6LlHOVQxmslKVJ8IULktMN06N0FKCpHCoYsjC4F+Z0NVqdNFoGSTjSiyjzLdnZ2fNqTi2eHKONONKLMPMKLONKLMPQRJGlFxZRoKcJFAYEeIFiRQkUWUeYfef//Ko04soswso40UJAgMw8wosososy0EalnZyjQUGBRQGIFggOWUacWUeYmuadrZziQKKEgQsQLAhQkUJAgMQDghltLO1onp0cpkNInSFMqlYeSEJ5AHsqFdOwy1DA2sRmRJKxdKRfLhfLw5BzUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVUxBTUUzLjk4LjJVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVf/7ksRRA8AAAaQAAAAgAAA0gAAABFVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=", s = [];
|
|
21
|
+
function L(e) {
|
|
22
|
+
let V = s.find((A) => !A.realSrc || A.realSrc === i);
|
|
23
|
+
return V || (V = new d(i), s.push(V)), e && (V.src = e), V;
|
|
24
|
+
}
|
|
25
|
+
function K(e) {
|
|
26
|
+
return a(this, null, function* () {
|
|
27
|
+
const V = (() => e instanceof d ? e : L(e))(), A = yield new Promise((t) => {
|
|
28
|
+
V.duration ? V.isBlankAudio ? t(0) : t(V.duration) : V.addEventListener("loadedmetadata", () => {
|
|
29
|
+
V.isBlankAudio ? t(0) : t(V.duration);
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
return typeof e == "string" && V.clear(), A;
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function v(e) {
|
|
36
|
+
const V = e - s.length;
|
|
37
|
+
if (!(V <= 0))
|
|
38
|
+
for (let A = 0; A < V; A++)
|
|
39
|
+
s.push(new d(i));
|
|
40
|
+
}
|
|
41
|
+
function f(e) {
|
|
42
|
+
e.inited || (e.src && (e.inited = !0, e.removeDocumentEventListener()), e.src === i && e.play());
|
|
43
|
+
}
|
|
44
|
+
class d extends Audio {
|
|
45
|
+
constructor(A) {
|
|
46
|
+
super(A);
|
|
47
|
+
r(this, "preload", "metadata");
|
|
48
|
+
r(this, "realSrc", "");
|
|
49
|
+
r(this, "inited", !1);
|
|
50
|
+
r(this, "removeDocumentEventListener");
|
|
51
|
+
this.realSrc = A != null ? A : "", super.addEventListener("ended", () => {
|
|
52
|
+
this.src = "";
|
|
53
|
+
});
|
|
54
|
+
const t = () => f(this);
|
|
55
|
+
document.addEventListener("mousedown", t), document.addEventListener("click", t), document.addEventListener("touchstart", t), this.removeDocumentEventListener = () => {
|
|
56
|
+
document.removeEventListener("mousedown", t), document.removeEventListener("click", t), document.removeEventListener("touchstart", t);
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
get isBlankAudio() {
|
|
60
|
+
return this.realSrc === i || !this.realSrc;
|
|
61
|
+
}
|
|
62
|
+
get src() {
|
|
63
|
+
return super.src;
|
|
64
|
+
}
|
|
65
|
+
set src(A) {
|
|
66
|
+
super.src = A, this.realSrc = A;
|
|
67
|
+
}
|
|
68
|
+
clear() {
|
|
69
|
+
this.src = i, console.log(this.realSrc === i);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
export {
|
|
73
|
+
v as generateBlankAudio,
|
|
74
|
+
K as getAudioDuration
|
|
75
|
+
};
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "2.3.9-alpha.
|
|
10
|
+
"version": "2.3.9-alpha.3",
|
|
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*",
|