@realsee/dnalogel 2.20.0-dev.16 → 2.20.0-dev.17

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.
Files changed (307) hide show
  1. package/dist/index.cjs.js +3 -3
  2. package/dist/index.js +8 -8
  3. package/dist/index.umd.js +3 -3
  4. package/docs/classes/CSS3DRender.html +30 -30
  5. package/docs/classes/CruisePluginController.html +25 -25
  6. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  7. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +30 -30
  8. package/docs/classes/Magnifier.html +19 -19
  9. package/docs/classes/ModelRoomLabelController.html +10 -10
  10. package/docs/classes/Object3DHelperController.html +24 -24
  11. package/docs/classes/PaintBrush.html +14 -14
  12. package/docs/classes/PanoMeasurePluginLine.html +22 -22
  13. package/docs/classes/PanoMeasurePluginModel.html +21 -21
  14. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  15. package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
  16. package/docs/classes/PanoTagPluginController.html +46 -46
  17. package/docs/classes/Util.BetterTween.html +8 -8
  18. package/docs/classes/Util.FivePointSelector.html +11 -11
  19. package/docs/classes/Util.Interval.html +11 -11
  20. package/docs/classes/Util.Magnifier.html +16 -16
  21. package/docs/classes/Util.PointDomHelper.html +10 -10
  22. package/docs/classes/Util.PointHelper.html +10 -10
  23. package/docs/classes/Util.Rectangle.html +12 -12
  24. package/docs/enums/CameraMovementEffect.html +6 -6
  25. package/docs/enums/ContentType.html +19 -19
  26. package/docs/enums/DIRECTION.html +8 -8
  27. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  28. package/docs/enums/DimensionType.html +6 -6
  29. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  30. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  31. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  32. package/docs/enums/PointType.html +6 -6
  33. package/docs/enums/Rotation.html +7 -7
  34. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  35. package/docs/functions/CameraMovementPlugin.html +3 -3
  36. package/docs/functions/CruisePlugin.html +3 -3
  37. package/docs/functions/GuideLinePlugin.html +4 -4
  38. package/docs/functions/ItemLabelPlugin.html +3 -3
  39. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  40. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  41. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  42. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  43. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  44. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  45. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  46. package/docs/functions/ModelViewPlugin.html +3 -3
  47. package/docs/functions/Object3DHelperPlugin.html +3 -3
  48. package/docs/functions/PanoCompassPlugin.html +3 -3
  49. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  50. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  51. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  52. package/docs/functions/PanoMeasurePlugin.html +3 -3
  53. package/docs/functions/PanoRulerPlugin.html +3 -3
  54. package/docs/functions/PanoRulerProPlugin.html +3 -3
  55. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  56. package/docs/functions/PanoTagPlugin.html +3 -3
  57. package/docs/functions/PanoVideoPlugin.html +3 -3
  58. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  59. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  60. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  61. package/docs/functions/Util.getFrameTime.html +4 -4
  62. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  63. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  64. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  65. package/docs/functions/Util.isModelLike.html +4 -4
  66. package/docs/functions/Util.isNil.html +4 -4
  67. package/docs/functions/Util.isPanoramaLike.html +4 -4
  68. package/docs/functions/Util.nextFrame.html +4 -4
  69. package/docs/functions/Util.notNil.html +4 -4
  70. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  71. package/docs/functions/Util.tweenProgress.html +4 -4
  72. package/docs/functions/Util.uuid.html +4 -4
  73. package/docs/functions/pluginFlag.html +4 -4
  74. package/docs/index.html +4 -4
  75. package/docs/interfaces/AddTagConfig.html +5 -5
  76. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  77. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  78. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  79. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  80. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  81. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  82. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  83. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  84. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  85. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  86. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  87. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  88. package/docs/interfaces/EventMap.html +14 -14
  89. package/docs/interfaces/FloorplanBounding.html +7 -7
  90. package/docs/interfaces/FloorplanData.html +9 -9
  91. package/docs/interfaces/FloorplanEntrance.html +10 -10
  92. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  93. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  94. package/docs/interfaces/FloorplanFloorData.html +8 -8
  95. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  96. package/docs/interfaces/FloorplanObserver.html +8 -8
  97. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  98. package/docs/interfaces/FloorplanPosition.html +6 -6
  99. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  100. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  101. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  102. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  103. package/docs/interfaces/FloorplanServerData.html +6 -6
  104. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  105. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  106. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  107. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  108. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  109. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  110. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  111. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  112. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  113. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  114. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  115. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  116. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  117. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  118. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  119. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  120. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  121. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  122. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  123. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  124. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  125. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  126. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  127. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  128. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  129. package/docs/interfaces/HelperOffset.html +7 -7
  130. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  131. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  132. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  133. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  134. package/docs/interfaces/MinMax.html +6 -6
  135. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  136. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  137. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  138. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  139. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  140. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  141. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  142. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  143. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  144. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  145. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  146. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  147. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  148. package/docs/interfaces/Object3DHelperState.html +7 -7
  149. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  150. package/docs/interfaces/PaintBrushAction.html +11 -11
  151. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  152. package/docs/interfaces/PaintBrushState.html +9 -9
  153. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  154. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  155. package/docs/interfaces/PanoMeasureParameterType.html +13 -13
  156. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  157. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  158. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  159. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  160. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  161. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  162. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  163. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  164. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  165. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  166. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  167. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  168. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  169. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  170. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  171. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  172. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  173. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  174. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  175. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  176. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  177. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  178. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  179. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  180. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  181. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  182. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  183. package/docs/interfaces/Point.html +7 -7
  184. package/docs/interfaces/Room.html +8 -8
  185. package/docs/interfaces/RoomInfo.html +6 -6
  186. package/docs/interfaces/RoomLabel.html +13 -13
  187. package/docs/interfaces/RoomRules.html +4 -4
  188. package/docs/interfaces/Rooms.html +4 -4
  189. package/docs/interfaces/Scissor.html +8 -8
  190. package/docs/interfaces/State.html +7 -7
  191. package/docs/interfaces/TagCacheInterface.html +11 -11
  192. package/docs/interfaces/TagConfig.html +12 -12
  193. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  194. package/docs/interfaces/TagIconUrl.html +11 -11
  195. package/docs/interfaces/TagObjectGroup.html +5 -5
  196. package/docs/interfaces/TagStyle.html +5 -5
  197. package/docs/interfaces/Tags.html +8 -8
  198. package/docs/interfaces/TemporaryState.html +5 -5
  199. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  200. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  201. package/docs/modules/CruisePluginTypes.html +4 -4
  202. package/docs/modules/GuideLineItem.html +4 -4
  203. package/docs/modules/GuideLineModeItem.html +4 -4
  204. package/docs/modules/GuideLinePluginType.html +4 -4
  205. package/docs/modules/PanoVideoPluginType.html +4 -4
  206. package/docs/modules/Util.html +4 -4
  207. package/docs/modules.html +4 -4
  208. package/docs/types/ArrayPosition.html +4 -4
  209. package/docs/types/AudioAppearance.html +4 -4
  210. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  211. package/docs/types/CSS3DRenderExportType.html +4 -4
  212. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  213. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  214. package/docs/types/ClassFunctionParameters.html +4 -4
  215. package/docs/types/Color.html +4 -4
  216. package/docs/types/ContentTypeConfigKey.html +4 -4
  217. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  218. package/docs/types/ContentTypeMap.html +4 -4
  219. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  220. package/docs/types/Create3DElementReturnType.html +4 -4
  221. package/docs/types/CruisePluginExportType.html +4 -4
  222. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  223. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  224. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  225. package/docs/types/DeprecatedTagProperty.html +4 -4
  226. package/docs/types/Direction-1.html +4 -4
  227. package/docs/types/Direction4.html +4 -4
  228. package/docs/types/ElementRenderer.html +4 -4
  229. package/docs/types/FloorplanRuleLabels.html +4 -4
  230. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  231. package/docs/types/GuideLinePluginExportType.html +4 -4
  232. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  233. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  234. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  235. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  236. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  237. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  238. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  239. package/docs/types/HelperEventMap.html +4 -4
  240. package/docs/types/LoadTagConfig.html +4 -4
  241. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  242. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  243. package/docs/types/MediaData.html +4 -4
  244. package/docs/types/MediaStore.html +4 -4
  245. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  246. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  247. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  248. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  249. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  250. package/docs/types/MoveArgs.html +4 -4
  251. package/docs/types/MoveOpts.html +4 -4
  252. package/docs/types/Object3DHelperEventMap.html +4 -4
  253. package/docs/types/ObjectFit.html +4 -4
  254. package/docs/types/PaintBrushEventMap.html +4 -4
  255. package/docs/types/PanoCompassPluginData.html +4 -4
  256. package/docs/types/PanoCompassPluginExportType.html +4 -4
  257. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  258. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  259. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  260. package/docs/types/PanoIndex.html +4 -4
  261. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  262. package/docs/types/PanoMeasureReturnType.html +4 -4
  263. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  264. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  265. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  266. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  267. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  268. package/docs/types/PartialObjectDeep.html +4 -4
  269. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  270. package/docs/types/PlaneTag.html +4 -4
  271. package/docs/types/Point2DTag.html +4 -4
  272. package/docs/types/Point3DTag.html +4 -4
  273. package/docs/types/PointTag.html +4 -4
  274. package/docs/types/PointTagInstance.html +4 -4
  275. package/docs/types/Position.html +4 -4
  276. package/docs/types/RotateArgs.html +4 -4
  277. package/docs/types/RotateOpts.html +4 -4
  278. package/docs/types/RuleLabelsKey.html +4 -4
  279. package/docs/types/RuleLabelsValue.html +4 -4
  280. package/docs/types/StickType.html +4 -4
  281. package/docs/types/Tag.html +4 -4
  282. package/docs/types/Tag2D.html +4 -4
  283. package/docs/types/Tag3D.html +4 -4
  284. package/docs/types/TagContentType.html +4 -4
  285. package/docs/types/TagDimensionType.html +4 -4
  286. package/docs/types/TagElement.html +4 -4
  287. package/docs/types/TagEvents.html +4 -4
  288. package/docs/types/TagGLTFObject.html +4 -4
  289. package/docs/types/TagHooks.html +4 -4
  290. package/docs/types/TagId.html +4 -4
  291. package/docs/types/TagInstance.html +4 -4
  292. package/docs/types/TagPointType.html +4 -4
  293. package/docs/types/TagRendererMap.html +4 -4
  294. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  295. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  296. package/docs/types/WorkCode.html +4 -4
  297. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  298. package/docs/variables/PLUGIN.html +4 -4
  299. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  300. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  301. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  302. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  303. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  304. package/libs/PanoTagPlugin/controller/index.js +35 -35
  305. package/libs/base/BasePlugin.js +1 -1
  306. package/libs/shared-utils/logger.js +1 -1
  307. package/package.json +1 -1
@@ -2,32 +2,32 @@ var E = Object.defineProperty, F = Object.defineProperties;
2
2
  var w = Object.getOwnPropertyDescriptors;
3
3
  var C = Object.getOwnPropertySymbols;
4
4
  var U = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
5
- var v = (h, a, e) => a in h ? E(h, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[a] = e, f = (h, a) => {
5
+ var b = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, f = (d, a) => {
6
6
  for (var e in a || (a = {}))
7
- U.call(a, e) && v(h, e, a[e]);
7
+ U.call(a, e) && b(d, e, a[e]);
8
8
  if (C)
9
9
  for (var e of C(a))
10
- I.call(a, e) && v(h, e, a[e]);
11
- return h;
12
- }, u = (h, a) => F(h, w(a));
13
- var m = (h, a, e) => (v(h, typeof a != "symbol" ? a + "" : a, e), e);
14
- var p = (h, a, e) => new Promise((t, i) => {
10
+ I.call(a, e) && b(d, e, a[e]);
11
+ return d;
12
+ }, u = (d, a) => F(d, w(a));
13
+ var m = (d, a, e) => (b(d, typeof a != "symbol" ? a + "" : a, e), e);
14
+ var p = (d, a, e) => new Promise((t, i) => {
15
15
  var s = (r) => {
16
16
  try {
17
17
  n(e.next(r));
18
- } catch (d) {
19
- i(d);
18
+ } catch (h) {
19
+ i(h);
20
20
  }
21
21
  }, o = (r) => {
22
22
  try {
23
23
  n(e.throw(r));
24
- } catch (d) {
25
- i(d);
24
+ } catch (h) {
25
+ i(h);
26
26
  }
27
27
  }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(s, o);
28
- n((e = e.apply(h, a)).next());
28
+ n((e = e.apply(d, a)).next());
29
29
  });
30
- import * as b from "three";
30
+ import * as T from "three";
31
31
  import { Subscribe as B } from "@realsee/five";
32
32
  import { objectAssignDeepExports as c } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
33
  import { arrayPositionToVector3 as A } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
@@ -38,8 +38,8 @@ import { debounce as D } from "../utils/debounce.js";
38
38
  import { throttle as _ } from "../utils/throttle.js";
39
39
  import { resizeObserver as S } from "../utils/resizeObserver.js";
40
40
  import L from "../utils/tag/format.js";
41
- import { generateBlankAudio as G, AudioNamespace as V } from "../../shared-utils/audio.js";
42
- import { TagRender as N } from "./TagRender.js";
41
+ import { generateBlankAudio as G, AudioNamespace as N } from "../../shared-utils/audio.js";
42
+ import { TagRender as V } from "./TagRender.js";
43
43
  import { uuid as z } from "../../shared-utils/uuid.js";
44
44
  import "hammerjs";
45
45
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -158,8 +158,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
158
158
  import "../../shared-utils/three/GLTFLoader.js";
159
159
  import "@realsee/five/gltf-loader";
160
160
  import "../../shared-utils/animationFrame/index.js";
161
- const M = "Dnalogel-PanoTagPlugin", pi = (h) => `${M}--${h}`;
162
- class ci extends N {
161
+ const M = "Dnalogel-PanoTagPlugin", pi = (d) => `${M}--${d}`;
162
+ class ci extends V {
163
163
  constructor(e, t) {
164
164
  super(e);
165
165
  /** state */
@@ -186,7 +186,7 @@ class ci extends N {
186
186
  typeof t == "object" && ((i = t.visibleFiveMode) != null && i.includes("Floorplan") || (s = t.visibleFiveMode) != null && s.includes("Mapview")) && (e.state.visible = this.getVisibleByFiveMode(e));
187
187
  }), this.updateRenderAllTags();
188
188
  });
189
- this.params = c({}, { debug: !1, config: this.config }, f({}, t)), this.debug = this.params.debug, this.config = this.params.config, G(1, { namespace: V.PlayAudio });
189
+ this.params = c({}, { debug: !1, config: this.config }, f({}, t)), this.debug = this.params.debug, this.config = this.params.config, G(1, { namespace: N.PlayAudio });
190
190
  try {
191
191
  const i = window;
192
192
  Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
@@ -219,12 +219,12 @@ class ci extends N {
219
219
  addTag(e, t) {
220
220
  return p(this, null, function* () {
221
221
  const s = (Array.isArray(e) ? e : [e]).map((o) => {
222
- var d, l;
223
- const n = this.getTagConfig(o);
222
+ var l, g;
223
+ const n = this.getTagConfig(o), r = o.data;
224
224
  return u(f({}, o), {
225
- enabled: (d = o.enabled) != null ? d : !0,
226
- id: (l = o.id) != null ? l : z(),
227
- data: c(o.data, n.initialData, o.data),
225
+ enabled: (l = o.enabled) != null ? l : !0,
226
+ id: (g = o.id) != null ? g : z(),
227
+ data: c(r, n.initialData, JSON.parse(JSON.stringify(r))),
228
228
  state: f({
229
229
  visible: void 0,
230
230
  unfolded: !this.can("fold", o)
@@ -237,7 +237,7 @@ class ci extends N {
237
237
  enable: () => this.changeEnabledById(o.id, !0),
238
238
  disable: () => this.changeEnabledById(o.id, !1),
239
239
  destroy: () => this.destroyTagById(o.id),
240
- changeData: (g) => this.changeDataById(o.id, g)
240
+ changeData: (v) => this.changeDataById(o.id, v)
241
241
  });
242
242
  }).filter((o) => o.position);
243
243
  return s.forEach(L), this.tags.push(...s), k(this.five).then(() => p(this, null, function* () {
@@ -304,8 +304,8 @@ class ci extends N {
304
304
  dispose() {
305
305
  var e, t, i, s, o, n;
306
306
  this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
307
- var d;
308
- return (d = r.tag3DContentSvelte) == null ? void 0 : d.svelteApp.$destroy();
307
+ var h;
308
+ return (h = r.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
309
309
  }), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (s = (i = this.store).eventListenerDisposer) == null || s.call(i), this.store.eventListenerDisposer = void 0, (n = (o = this.store).resizeObserverDisposer) == null || n.call(o), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.clearCache(), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
310
310
  }
311
311
  changeUnfoldedById(e, t) {
@@ -399,9 +399,9 @@ class ci extends N {
399
399
  * @description: 添加 cameraUpdate, panoArrived 等事件监听
400
400
  */
401
401
  addEventListener() {
402
- const { five: e, hooks: t } = this, i = this.handleFiveWantsMoveToPano.bind(this), s = this.handleFiveModeChange.bind(this), o = this.handleFiveCameraUpdate.bind(this), n = this.handleFiveCameraUpdateDebounce(), r = this.handleFivePanoArrived.bind(this), d = this.loadVideoFirstFrame.bind(this), l = this.clickhandler.bind(this), g = this.five.currentMode;
403
- return g && this.handleFiveModeChange(g), this.handleFivePanoArrived(), e.on("wantsMoveToPano", i), e.on("modeChange", s), e.on("initAnimationEnded", this.handleFiveInitAnimationEnded), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", o), e.on("cameraUpdate", n), e.on("panoArrived", r), e.on("panoArrived", d), t.on("click", l), () => {
404
- e.off("wantsMoveToPano", i), e.off("modeChange", s), e.off("initAnimationEnded", this.handleFiveInitAnimationEnded), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", o), e.off("cameraUpdate", n), e.off("panoArrived", r), e.off("panoArrived", d), t.off("click", l), this.store.eventListenerDisposer = void 0;
402
+ const { five: e, hooks: t } = this, i = this.handleFiveWantsMoveToPano.bind(this), s = this.handleFiveModeChange.bind(this), o = this.handleFiveCameraUpdate.bind(this), n = this.handleFiveCameraUpdateDebounce(), r = this.handleFivePanoArrived.bind(this), h = this.loadVideoFirstFrame.bind(this), l = this.clickhandler.bind(this), g = this.five.currentMode;
403
+ return g && this.handleFiveModeChange(g), this.handleFivePanoArrived(), e.on("wantsMoveToPano", i), e.on("modeChange", s), e.on("initAnimationEnded", this.handleFiveInitAnimationEnded), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", o), e.on("cameraUpdate", n), e.on("panoArrived", r), e.on("panoArrived", h), t.on("click", l), () => {
404
+ e.off("wantsMoveToPano", i), e.off("modeChange", s), e.off("initAnimationEnded", this.handleFiveInitAnimationEnded), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", o), e.off("cameraUpdate", n), e.off("panoArrived", r), e.off("panoArrived", h), t.off("click", l), this.store.eventListenerDisposer = void 0;
405
405
  };
406
406
  }
407
407
  addResizeListener() {
@@ -489,16 +489,16 @@ class ci extends N {
489
489
  var o, n;
490
490
  return (n = (o = s.config) == null ? void 0 : o.modelConfig) == null ? void 0 : n.autoLookAtEnabled;
491
491
  }).forEach((s) => {
492
- var T;
493
- const o = new b.Mesh(new b.BoxGeometry(), new b.MeshBasicMaterial()), n = (T = s.model) == null ? void 0 : T.object;
492
+ var v;
493
+ const o = new T.Mesh(new T.BoxGeometry(), new T.MeshBasicMaterial()), n = (v = s.model) == null ? void 0 : v.object;
494
494
  if (!n)
495
495
  return;
496
496
  o.position.copy(n.position), o.quaternion.copy(n.quaternion);
497
497
  const r = this.five.camera.position;
498
498
  o.lookAt(r.clone().setY(o.position.y));
499
- const d = n.quaternion.clone(), l = o.quaternion.clone(), g = x();
499
+ const h = n.quaternion.clone(), l = o.quaternion.clone(), g = x();
500
500
  g.onUpdate(({ progress: P }) => {
501
- n.quaternion.copy(d.clone().slerp(l, P));
501
+ n.quaternion.copy(h.clone().slerp(l, P));
502
502
  }), g.play();
503
503
  }), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
504
504
  });
@@ -514,8 +514,8 @@ class ci extends N {
514
514
  });
515
515
  }
516
516
  changeTagMode(e, t) {
517
- var i, s, o, n, r, d;
518
- ((i = this.getTagConfig(e)) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (d = this.store.css3DRenderDisposer.get(e.id)) == null || d.forEach((l) => l == null ? void 0 : l()), e.tag3DContentSvelte = void 0);
517
+ var i, s, o, n, r, h;
518
+ ((i = this.getTagConfig(e)) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.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((l) => l == null ? void 0 : l()), e.tag3DContentSvelte = void 0);
519
519
  }
520
520
  }
521
521
  export {
@@ -14,7 +14,7 @@ let n = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- e(this, "VERSION", "2.20.0-dev.16");
17
+ e(this, "VERSION", "2.20.0-dev.17");
18
18
  e(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.info(
3
- "%c %c@realsee/dnalogel %cv2.20.0-dev.16",
3
+ "%c %c@realsee/dnalogel %cv2.20.0-dev.17",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.20.0-dev.16",
10
+ "version": "2.20.0-dev.17",
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*",