@realsee/dnalogel 2.3.9-alpha.5 → 2.3.9-alpha.7
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/PanoTagPlugin/typings/controller.d.ts +2 -0
- package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
- package/dist/index.cjs.js +31 -31
- package/dist/index.js +3156 -3103
- package/dist/index.umd.js +31 -31
- package/dist/shared-utils/audio.d.ts +16 -4
- 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 +6 -6
- 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/PanoTagPlugin/Components/Common/Audio.js +88 -129
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +95 -72
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +131 -153
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +112 -105
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +52 -48
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +59 -43
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.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 +40 -39
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/typings/controller.d.ts +2 -0
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
- package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +107 -0
- package/libs/index.js +93 -92
- package/libs/shared-utils/audio.d.ts +16 -4
- package/libs/shared-utils/audio.js +38 -34
- 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 ep } from "./components/PaintBrush/index.js";
|
|
2
|
+
import { PaintBrushTypeEnum as np } from "./components/PaintBrush/typings.js";
|
|
3
|
+
import { ModelViewPlugin as ap } from "./ModelViewPlugin/Plugin.js";
|
|
4
|
+
import { CSS3DRenderPlugin as up } from "./CSS3DRenderPlugin/index.js";
|
|
5
|
+
import { PanoCursorRaycasterPlugin as gp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
6
|
+
import { ModelRoomLabelPlugin as sp, modelRoomLabelPluginServerParams as dp } from "./ModelRoomLabelPlugin/index.js";
|
|
7
|
+
import { FLOOR_PLAN_ATTACHED_TO as Mp } from "./floorplan/constant.js";
|
|
8
|
+
import { ModelFloorplanPlugin as Rp } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
9
|
+
import { MapviewFloorplanPlugin as Cp } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
10
|
+
import { TopviewFloorplanPlugin as Sp } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
11
|
+
import { PanoFloorplanRadarPlugin as Ap } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
12
|
+
import { FLOOR_TYPE_MAP as bp, ROOM_FETILE_TYPE_MAP as Yp, ROOM_TYPE_MAP as Fp } from "./floorplan/typings/floorplanServerData.js";
|
|
13
|
+
import { ModelChassisCompassPlugin as yp } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
14
|
+
import { ModelEntryDoorGuidePlugin as Np } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
15
|
+
import { CameraMovementPlugin as Vp } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
16
|
+
import { CameraMovementEffect as wp, Rotation as Bp } from "./CameraMovementPlugin/typing.js";
|
|
17
|
+
import { PanoRulerPlugin as Up } from "./PanoRulerPlugin/Plugin.js";
|
|
18
|
+
import { PanoRulerProPlugin as kp } from "./PanoRulerProPlugin/index.js";
|
|
19
|
+
import { PanoCompassPlugin as zp } from "./PanoCompassPlugin/index.js";
|
|
20
|
+
import { PanoMeasurePlugin as Kp } from "./PanoMeasurePlugin/index.js";
|
|
21
|
+
import { PanoSpatialTagPlugin as Wp } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
22
|
+
import { modelItemLabelPluginServerParams as Zp } from "./ModelItemLabelPlugin/index.js";
|
|
23
|
+
import { ModelTVVideoPlugin as oi } from "./ModelTVVideoPlugin/Plugin.js";
|
|
24
|
+
import { DIRECTION as ti } from "./ModelTVVideoPlugin/typings.js";
|
|
25
|
+
import { itemLabelPluginServerParams as pi } from "./ItemLabelPlugin/index.js";
|
|
26
|
+
import { PanoDoorLabelPlugin as ei } from "./PanoDoorLabelPlugin/index.js";
|
|
27
|
+
import { GuideLinePlugin as ni } from "./GuideLinePlugin/index.js";
|
|
28
|
+
import { CruisePlugin as ai } from "./CruisePlugin/index.js";
|
|
29
|
+
import { PanoTagPlugin as ui } from "./PanoTagPlugin/index.js";
|
|
30
|
+
import { Object3DHelperPlugin as gi } from "./Object3DHelperPlugin/index.js";
|
|
31
|
+
import { index as si } from "./shared-utils/index.js";
|
|
32
|
+
import { CSS3DRender as Li } from "./CSS3DRenderPlugin/CSS3DRender.js";
|
|
33
|
+
import { default as Ei } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
34
|
+
import { DISPLAY_STRATEGY_TYPE as _i } from "./ModelItemLabelPlugin/typings.js";
|
|
35
|
+
import { ModelItemLabelPlugin as Oi } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
36
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Ii } from "./ItemLabelPlugin/typings.js";
|
|
37
|
+
import { Plugin as Di } from "./ItemLabelPlugin/Plugin.js";
|
|
38
|
+
import { default as Yi } from "./CruisePlugin/Controller.js";
|
|
39
|
+
import { default as vi, pluginFlag as yi } from "./PanoTagPlugin/controller/index.js";
|
|
40
|
+
import { ContentType as Ni } from "./PanoTagPlugin/typings/tag/TagData.js";
|
|
41
|
+
import { DimensionType as Vi, PointType as hi } from "./PanoTagPlugin/typings/tag/Utils.js";
|
|
42
|
+
import { Object3DHelperController as Bi, PLUGIN as Hi, VERSION as Ui } 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";
|
|
@@ -256,6 +256,7 @@ 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
258
|
import "./shared-utils/audio.js";
|
|
259
|
+
import "./PanoTagPlugin/utils/audio/SharedAudio.js";
|
|
259
260
|
import "./PanoTagPlugin/Components/Common/Icon/audioIcon.js";
|
|
260
261
|
import "./PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
|
|
261
262
|
import "./PanoTagPlugin/utils/timeToString.js";
|
|
@@ -313,54 +314,54 @@ import "./shared-utils/three/Assets/index.js";
|
|
|
313
314
|
import "./shared-utils/three/PointDomHelper.js";
|
|
314
315
|
import "./shared-utils/three/FivePointSelector.js";
|
|
315
316
|
export {
|
|
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
|
-
|
|
365
|
-
|
|
317
|
+
Li as CSS3DRender,
|
|
318
|
+
up as CSS3DRenderPlugin,
|
|
319
|
+
wp as CameraMovementEffect,
|
|
320
|
+
Vp as CameraMovementPlugin,
|
|
321
|
+
Ni as ContentType,
|
|
322
|
+
ai as CruisePlugin,
|
|
323
|
+
Yi as CruisePluginController,
|
|
324
|
+
ti as DIRECTION,
|
|
325
|
+
_i as DISPLAY_STRATEGY_TYPE,
|
|
326
|
+
Vi as DimensionType,
|
|
327
|
+
Mp as FLOOR_PLAN_ATTACHED_TO,
|
|
328
|
+
bp as FLOOR_TYPE_MAP,
|
|
329
|
+
ni as GuideLinePlugin,
|
|
330
|
+
Ii as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
331
|
+
Di as ItemLabelPlugin,
|
|
332
|
+
Ei as Magnifier,
|
|
333
|
+
Cp as MapviewFloorplanPlugin,
|
|
334
|
+
yp as ModelChassisCompassPlugin,
|
|
335
|
+
Np as ModelEntryDoorGuidePlugin,
|
|
336
|
+
Rp as ModelFloorplanPlugin,
|
|
337
|
+
Oi as ModelItemLabelPlugin,
|
|
338
|
+
sp as ModelRoomLabelPlugin,
|
|
339
|
+
oi as ModelTVVideoPlugin,
|
|
340
|
+
ap as ModelViewPlugin,
|
|
341
|
+
Bi as Object3DHelperController,
|
|
342
|
+
gi as Object3DHelperPlugin,
|
|
343
|
+
Hi as PLUGIN,
|
|
344
|
+
ep as PaintBrush,
|
|
345
|
+
np as PaintBrushTypeEnum,
|
|
346
|
+
zp as PanoCompassPlugin,
|
|
347
|
+
gp as PanoCursorRaycasterPlugin,
|
|
348
|
+
ei as PanoDoorLabelPlugin,
|
|
349
|
+
Ap as PanoFloorplanRadarPlugin,
|
|
350
|
+
Kp as PanoMeasurePlugin,
|
|
351
|
+
Up as PanoRulerPlugin,
|
|
352
|
+
kp as PanoRulerProPlugin,
|
|
353
|
+
Wp as PanoSpatialTagPlugin,
|
|
354
|
+
ui as PanoTagPlugin,
|
|
355
|
+
vi as PanoTagPluginController,
|
|
356
|
+
hi as PointType,
|
|
357
|
+
Yp as ROOM_FETILE_TYPE_MAP,
|
|
358
|
+
Fp as ROOM_TYPE_MAP,
|
|
359
|
+
Bp as Rotation,
|
|
360
|
+
Sp as TopviewFloorplanPlugin,
|
|
361
|
+
si as Util,
|
|
362
|
+
Ui as VERSION,
|
|
363
|
+
pi as itemLabelPluginServerParams,
|
|
364
|
+
Zp as modelItemLabelPluginServerParams,
|
|
365
|
+
dp as modelRoomLabelPluginServerParams,
|
|
366
|
+
yi as pluginFlag
|
|
366
367
|
};
|
|
@@ -1,11 +1,22 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare
|
|
1
|
+
export declare const audioCache: Record<string, IAudio[]>;
|
|
2
|
+
export declare enum AudioNamespace {
|
|
3
|
+
Default = "default",
|
|
4
|
+
GetAudioDuration = "getAudioDuration",
|
|
5
|
+
PlayAudio = "playAudio"
|
|
6
|
+
}
|
|
7
|
+
export declare function getAudio(src?: string, params?: {
|
|
8
|
+
namespace?: string;
|
|
9
|
+
}): IAudio;
|
|
3
10
|
export declare function getAudioDuration(audio?: string | IAudio): Promise<number>;
|
|
4
|
-
export declare function waitForBlankAudioGenerated(checkInterval?: number, timeout?: number
|
|
11
|
+
export declare function waitForBlankAudioGenerated(checkInterval?: number, timeout?: number, params?: {
|
|
12
|
+
namespace?: string;
|
|
13
|
+
}): Promise<void>;
|
|
5
14
|
/**
|
|
6
15
|
* @description: 生成空音频
|
|
7
16
|
*/
|
|
8
|
-
export declare function generateBlankAudio(length: number
|
|
17
|
+
export declare function generateBlankAudio(length: number, params?: {
|
|
18
|
+
namespace?: string;
|
|
19
|
+
}): void;
|
|
9
20
|
export declare class IAudio extends Audio {
|
|
10
21
|
preload: "auto";
|
|
11
22
|
get isBlankAudio(): boolean;
|
|
@@ -16,4 +27,5 @@ export declare class IAudio extends Audio {
|
|
|
16
27
|
removeDocumentEventListener: () => void;
|
|
17
28
|
constructor(src?: string);
|
|
18
29
|
clear(): void;
|
|
30
|
+
private initAudio;
|
|
19
31
|
}
|
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
var l = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var r = (e, V, A) => (
|
|
4
|
-
var
|
|
5
|
-
var
|
|
2
|
+
var f = (e, V, A) => V in e ? l(e, V, { enumerable: !0, configurable: !0, writable: !0, value: A }) : e[V] = A;
|
|
3
|
+
var r = (e, V, A) => (f(e, typeof V != "symbol" ? V + "" : V, A), A);
|
|
4
|
+
var q = (e, V, A) => new Promise((t, n) => {
|
|
5
|
+
var i = (o) => {
|
|
6
6
|
try {
|
|
7
|
-
|
|
8
|
-
} catch (
|
|
9
|
-
|
|
7
|
+
d(A.next(o));
|
|
8
|
+
} catch (a) {
|
|
9
|
+
n(a);
|
|
10
10
|
}
|
|
11
|
-
}, h = (
|
|
11
|
+
}, h = (o) => {
|
|
12
12
|
try {
|
|
13
|
-
|
|
14
|
-
} catch (
|
|
15
|
-
|
|
13
|
+
d(A.throw(o));
|
|
14
|
+
} catch (a) {
|
|
15
|
+
n(a);
|
|
16
16
|
}
|
|
17
|
-
},
|
|
18
|
-
|
|
17
|
+
}, d = (o) => o.done ? t(o.value) : Promise.resolve(o.value).then(i, h);
|
|
18
|
+
d((A = A.apply(e, V)).next());
|
|
19
19
|
});
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
const u = "data:audio/mpeg;base64,//uQxAAAAAAAAAAAAAA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VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVU=", s = {};
|
|
21
|
+
var L = /* @__PURE__ */ ((e) => (e.Default = "default", e.GetAudioDuration = "getAudioDuration", e.PlayAudio = "playAudio", e))(L || {});
|
|
22
|
+
function m(e, V) {
|
|
23
|
+
const A = (V == null ? void 0 : V.namespace) || "default", t = s[A] || (s[A] = []);
|
|
24
|
+
let n = t.find((i) => !i.realSrc || i.realSrc === u);
|
|
25
|
+
return n || (console.warn("\u672A\u627E\u5230\u7F13\u5B58\u97F3\u9891\uFF0C\u5DF2\u65B0\u5EFA"), n = new c(u), t.push(n)), e && (n.src = e), n;
|
|
24
26
|
}
|
|
25
|
-
function
|
|
26
|
-
return
|
|
27
|
-
const V = (() => e instanceof
|
|
27
|
+
function g(e) {
|
|
28
|
+
return q(this, null, function* () {
|
|
29
|
+
const V = (() => e instanceof c ? e : m(e, { namespace: "getAudioDuration" }))(), A = yield new Promise((t) => {
|
|
28
30
|
V.duration ? V.isBlankAudio ? t(0) : t(V.duration) : (V.addEventListener("loadedmetadata", () => {
|
|
29
31
|
V.isBlankAudio ? t(0) : t(V.duration);
|
|
30
32
|
}), V.addEventListener("canplaythrough", () => {
|
|
@@ -34,16 +36,13 @@ function K(e) {
|
|
|
34
36
|
return typeof e == "string" && V.clear(), A;
|
|
35
37
|
});
|
|
36
38
|
}
|
|
37
|
-
function
|
|
38
|
-
const V = e -
|
|
39
|
-
if (!(
|
|
40
|
-
for (let
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
function f(e) {
|
|
44
|
-
e.inited || (e.src && (e.inited = !0, e.removeDocumentEventListener()), e.src === i && e.play());
|
|
39
|
+
function K(e, V) {
|
|
40
|
+
const A = (V == null ? void 0 : V.namespace) || "default", t = s[A] || (s[A] = []), n = e - t.length;
|
|
41
|
+
if (!(n <= 0))
|
|
42
|
+
for (let i = 0; i < n; i++)
|
|
43
|
+
t.push(new c(u));
|
|
45
44
|
}
|
|
46
|
-
class
|
|
45
|
+
class c extends Audio {
|
|
47
46
|
constructor(A) {
|
|
48
47
|
super(A);
|
|
49
48
|
r(this, "preload", "auto");
|
|
@@ -53,13 +52,13 @@ class d extends Audio {
|
|
|
53
52
|
this.realSrc = A != null ? A : "", super.addEventListener("ended", () => {
|
|
54
53
|
this.src = "";
|
|
55
54
|
});
|
|
56
|
-
const t = (
|
|
55
|
+
const t = this.initAudio.bind(this);
|
|
57
56
|
document.addEventListener("mousedown", t), document.addEventListener("click", t), document.addEventListener("touchstart", t), this.removeDocumentEventListener = () => {
|
|
58
57
|
document.removeEventListener("mousedown", t), document.removeEventListener("click", t), document.removeEventListener("touchstart", t);
|
|
59
58
|
};
|
|
60
59
|
}
|
|
61
60
|
get isBlankAudio() {
|
|
62
|
-
return this.realSrc ===
|
|
61
|
+
return this.realSrc === u || !this.realSrc;
|
|
63
62
|
}
|
|
64
63
|
get src() {
|
|
65
64
|
return super.src;
|
|
@@ -68,10 +67,15 @@ class d extends Audio {
|
|
|
68
67
|
super.src = A, this.realSrc = A;
|
|
69
68
|
}
|
|
70
69
|
clear() {
|
|
71
|
-
this.src =
|
|
70
|
+
this.src = u, this.currentTime = 0;
|
|
71
|
+
}
|
|
72
|
+
initAudio() {
|
|
73
|
+
this.inited || (this.src && (this.inited = !0, this.removeDocumentEventListener()), this.src === u && this.play());
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
76
|
export {
|
|
75
|
-
|
|
76
|
-
K as
|
|
77
|
+
L as AudioNamespace,
|
|
78
|
+
K as generateBlankAudio,
|
|
79
|
+
m as getAudio,
|
|
80
|
+
g as getAudioDuration
|
|
77
81
|
};
|
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.7",
|
|
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*",
|