@realsee/dnalogel 2.21.0-dev.6 → 2.21.0-dev.8

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 (426) hide show
  1. package/components/index.js +329 -329
  2. package/dist/CSS3DRenderPlugin/Controller.d.ts +4 -1
  3. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +13 -13
  4. package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  5. package/dist/PanoMeasurePlugin/Controller/index.d.ts +3 -0
  6. package/dist/PanoMeasurePlugin/Model/area.d.ts +9 -1
  7. package/dist/PanoMeasurePlugin/Model/index.d.ts +1 -0
  8. package/dist/PanoMeasurePlugin/Model/line.d.ts +2 -0
  9. package/dist/PanoMeasurePlugin/Model/polygon.d.ts +4 -0
  10. package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  11. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
  12. package/dist/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
  13. package/dist/PanoMeasurePlugin/typings/data.d.ts +2 -1
  14. package/dist/PanoMeasurePlugin/typings/event.type.d.ts +3 -0
  15. package/dist/PanoMeasurePlugin/utils/dom/base.d.ts +4 -0
  16. package/dist/PanoMeasurePlugin/utils/geometryUtil.d.ts +1 -1
  17. package/dist/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
  18. package/dist/base/BasePlugin.d.ts +4 -1
  19. package/dist/components/PaintBrush/style.d.ts +1 -1
  20. package/dist/index.cjs.js +62 -62
  21. package/dist/index.js +6708 -6414
  22. package/dist/index.umd.js +55 -55
  23. package/dist/shared-utils/absoluteUrl.d.ts +5 -0
  24. package/dist/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
  25. package/dist/shared-utils/index.d.ts +1 -1
  26. package/dist/shared-utils/three/PointSelector.d.ts +37 -3
  27. package/docs/assets/search.js +1 -1
  28. package/docs/classes/CSS3DRender.html +32 -31
  29. package/docs/classes/CruisePluginController.html +46 -43
  30. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -20
  31. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +36 -35
  32. package/docs/classes/Magnifier.html +21 -20
  33. package/docs/classes/ModelRoomLabelController.html +12 -11
  34. package/docs/classes/Object3DHelperController.html +45 -42
  35. package/docs/classes/PaintBrush.html +16 -15
  36. package/docs/classes/PanoMeasurePluginLine.html +46 -25
  37. package/docs/classes/PanoMeasurePluginModel.html +42 -26
  38. package/docs/classes/PanoMeasurePluginPoint.html +15 -14
  39. package/docs/classes/PanoMeasurePluginPolyline.html +28 -27
  40. package/docs/classes/PanoTagPluginController.html +67 -64
  41. package/docs/classes/Util.BetterTween.html +10 -9
  42. package/docs/classes/Util.Interval.html +13 -12
  43. package/docs/classes/Util.Magnifier.html +19 -18
  44. package/docs/classes/Util.PointDomHelper.html +12 -11
  45. package/docs/classes/Util.PointHelper.html +12 -11
  46. package/docs/classes/Util.PointSelectorHelper.html +18 -17
  47. package/docs/classes/Util.Rectangle.html +14 -13
  48. package/docs/enums/CameraMovementEffect.html +8 -7
  49. package/docs/enums/ContentType.html +21 -20
  50. package/docs/enums/DIRECTION.html +10 -9
  51. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
  52. package/docs/enums/DimensionType.html +8 -7
  53. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
  54. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
  55. package/docs/enums/PaintBrushTypeEnum.html +9 -8
  56. package/docs/enums/PointType.html +8 -7
  57. package/docs/enums/Rotation.html +9 -8
  58. package/docs/functions/CSS3DRenderPlugin.html +5 -4
  59. package/docs/functions/CameraMovementPlugin.html +5 -4
  60. package/docs/functions/CruisePlugin.html +5 -4
  61. package/docs/functions/GuideLinePlugin.html +6 -5
  62. package/docs/functions/ItemLabelPlugin.html +5 -4
  63. package/docs/functions/MapviewFloorplanPlugin.html +5 -4
  64. package/docs/functions/ModelChassisCompassPlugin.html +5 -4
  65. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
  66. package/docs/functions/ModelFloorplanPlugin.html +5 -4
  67. package/docs/functions/ModelItemLabelPlugin.html +5 -4
  68. package/docs/functions/ModelRoomLabelPlugin.html +5 -4
  69. package/docs/functions/ModelTVVideoPlugin.html +5 -4
  70. package/docs/functions/ModelViewPlugin.html +5 -4
  71. package/docs/functions/Object3DHelperPlugin.html +5 -4
  72. package/docs/functions/PanoCompassPlugin.html +5 -4
  73. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
  74. package/docs/functions/PanoDoorLabelPlugin.html +5 -4
  75. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
  76. package/docs/functions/PanoMeasurePlugin.html +5 -4
  77. package/docs/functions/PanoRulerPlugin.html +5 -4
  78. package/docs/functions/PanoRulerProPlugin.html +5 -4
  79. package/docs/functions/PanoSpatialTagPlugin.html +5 -4
  80. package/docs/functions/PanoTagPlugin.html +5 -4
  81. package/docs/functions/PanoVideoPlugin.html +5 -4
  82. package/docs/functions/TopviewFloorplanPlugin.html +5 -4
  83. package/docs/functions/Util.absoluteUrl.html +370 -0
  84. package/docs/functions/Util.getCoordsFromClient.html +6 -5
  85. package/docs/functions/Util.getCoordsFromElement.html +6 -5
  86. package/docs/functions/Util.getFrameTime.html +6 -5
  87. package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
  88. package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
  89. package/docs/functions/Util.isAbsoluteURL.html +6 -5
  90. package/docs/functions/Util.isModelLike.html +6 -5
  91. package/docs/functions/Util.isNil.html +6 -5
  92. package/docs/functions/Util.isPanoramaLike.html +6 -5
  93. package/docs/functions/Util.nextFrame.html +6 -5
  94. package/docs/functions/Util.notNil.html +6 -5
  95. package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
  96. package/docs/functions/Util.tweenProgress.html +6 -5
  97. package/docs/functions/Util.uuid.html +6 -5
  98. package/docs/functions/pluginFlag.html +6 -5
  99. package/docs/index.html +6 -5
  100. package/docs/interfaces/AddTagConfig.html +7 -6
  101. package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
  102. package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
  103. package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
  104. package/docs/interfaces/CruisePluginTypes.Config.html +9 -8
  105. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -12
  106. package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -20
  107. package/docs/interfaces/CruisePluginTypes.MoveAction.html +13 -12
  108. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +15 -14
  109. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +15 -14
  110. package/docs/interfaces/CruisePluginTypes.PluginData.html +10 -9
  111. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +8 -7
  112. package/docs/interfaces/CruisePluginTypes.PluginState.html +12 -11
  113. package/docs/interfaces/EventMap.html +16 -15
  114. package/docs/interfaces/FloorplanBounding.html +9 -8
  115. package/docs/interfaces/FloorplanData.html +11 -10
  116. package/docs/interfaces/FloorplanEntrance.html +12 -11
  117. package/docs/interfaces/FloorplanExtraObject.html +11 -10
  118. package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
  119. package/docs/interfaces/FloorplanFloorData.html +10 -9
  120. package/docs/interfaces/FloorplanImagePosition.html +8 -7
  121. package/docs/interfaces/FloorplanObserver.html +10 -9
  122. package/docs/interfaces/FloorplanOutlineItem.html +10 -9
  123. package/docs/interfaces/FloorplanPosition.html +8 -7
  124. package/docs/interfaces/FloorplanRoomItem.html +14 -13
  125. package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
  126. package/docs/interfaces/FloorplanServerBounding.html +9 -8
  127. package/docs/interfaces/FloorplanServerComputedData.html +11 -10
  128. package/docs/interfaces/FloorplanServerData.html +8 -7
  129. package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
  130. package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
  131. package/docs/interfaces/FloorplanServerEntrance.html +12 -11
  132. package/docs/interfaces/FloorplanServerFloorData.html +10 -9
  133. package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
  134. package/docs/interfaces/FloorplanServerObserver.html +10 -9
  135. package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
  136. package/docs/interfaces/FloorplanServerPosition.html +8 -7
  137. package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
  138. package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
  139. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -8
  140. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -10
  141. package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -13
  142. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -8
  143. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -6
  144. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -13
  145. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -8
  146. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +19 -18
  147. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -7
  148. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -18
  149. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -5
  150. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +8 -7
  151. package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -8
  152. package/docs/interfaces/GuideLinePluginType.Route.html +12 -11
  153. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -9
  154. package/docs/interfaces/HelperOffset.html +9 -8
  155. package/docs/interfaces/ImagePlaneGroup.html +7 -6
  156. package/docs/interfaces/ItemLabelPluginData.html +7 -6
  157. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
  158. package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
  159. package/docs/interfaces/MinMax.html +8 -7
  160. package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
  161. package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
  162. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
  163. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
  164. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
  165. package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
  166. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
  167. package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
  168. package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
  169. package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
  170. package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
  171. package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
  172. package/docs/interfaces/ModelViewPluginExportType.html +12 -11
  173. package/docs/interfaces/Object3DHelperState.html +9 -8
  174. package/docs/interfaces/ObjectHelperControllers.html +10 -9
  175. package/docs/interfaces/PaintBrushAction.html +13 -12
  176. package/docs/interfaces/PaintBrushConfigs.html +13 -12
  177. package/docs/interfaces/PaintBrushState.html +11 -10
  178. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
  179. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  180. package/docs/interfaces/PanoMeasureParameterType.html +16 -15
  181. package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
  182. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
  183. package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
  184. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
  185. package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
  186. package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
  187. package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
  188. package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
  189. package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
  190. package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
  191. package/docs/interfaces/PanoRulerProPluginState.html +9 -8
  192. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  193. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  194. package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
  195. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
  196. package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
  197. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
  198. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
  199. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
  200. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
  201. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +7 -6
  202. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -8
  203. package/docs/interfaces/PanoVideoPluginType.PluginData.html +7 -6
  204. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -9
  205. package/docs/interfaces/PanoVideoPluginType.PluginState.html +7 -6
  206. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -8
  207. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +11 -10
  208. package/docs/interfaces/Point.html +9 -8
  209. package/docs/interfaces/Room.html +10 -9
  210. package/docs/interfaces/RoomInfo.html +8 -7
  211. package/docs/interfaces/RoomLabel.html +15 -14
  212. package/docs/interfaces/RoomRules.html +6 -5
  213. package/docs/interfaces/Rooms.html +6 -5
  214. package/docs/interfaces/Scissor.html +10 -9
  215. package/docs/interfaces/State.html +9 -8
  216. package/docs/interfaces/TagCacheInterface.html +13 -12
  217. package/docs/interfaces/TagConfig.html +14 -13
  218. package/docs/interfaces/TagGLTFObjectGroup.html +7 -6
  219. package/docs/interfaces/TagIconUrl.html +13 -12
  220. package/docs/interfaces/TagObjectGroup.html +7 -6
  221. package/docs/interfaces/TagStyle.html +7 -6
  222. package/docs/interfaces/Tags.html +10 -9
  223. package/docs/interfaces/TemporaryState.html +7 -6
  224. package/docs/interfaces/Util.MagnifierParameter.html +12 -11
  225. package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
  226. package/docs/interfaces/Util.PointIntersection.html +9 -8
  227. package/docs/modules/CruisePluginTypes.html +6 -5
  228. package/docs/modules/GuideLineItem.html +6 -5
  229. package/docs/modules/GuideLineModeItem.html +6 -5
  230. package/docs/modules/GuideLinePluginType.html +6 -5
  231. package/docs/modules/PanoVideoPluginType.html +6 -5
  232. package/docs/modules/Util.html +7 -5
  233. package/docs/modules.html +5 -4
  234. package/docs/types/ArrayPosition.html +6 -5
  235. package/docs/types/AudioAppearance.html +6 -5
  236. package/docs/types/AudioTagTypeConfigKey.html +6 -5
  237. package/docs/types/CSS3DRenderExportType.html +6 -5
  238. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  239. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  240. package/docs/types/ClassFunctionParameters.html +6 -5
  241. package/docs/types/Color.html +6 -5
  242. package/docs/types/ContentTypeConfigKey.html +6 -5
  243. package/docs/types/ContentTypeConfigKeySplit.html +6 -5
  244. package/docs/types/ContentTypeMap.html +6 -5
  245. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  246. package/docs/types/Create3DElementReturnType.html +6 -5
  247. package/docs/types/CruisePluginExportType.html +6 -5
  248. package/docs/types/CruisePluginTypes.CruiseData.html +6 -5
  249. package/docs/types/CruisePluginTypes.MoveEffect.html +6 -5
  250. package/docs/types/DeprecatedMediaPlaneProperty.html +6 -5
  251. package/docs/types/DeprecatedTagProperty.html +6 -5
  252. package/docs/types/Direction-1.html +6 -5
  253. package/docs/types/Direction4.html +6 -5
  254. package/docs/types/ElementRenderer.html +6 -5
  255. package/docs/types/FloorplanRuleLabels.html +6 -5
  256. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  257. package/docs/types/GuideLinePluginExportType.html +6 -5
  258. package/docs/types/GuideLinePluginType.GuideLineItem.html +6 -5
  259. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -5
  260. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -5
  261. package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -5
  262. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -5
  263. package/docs/types/GuideLinePluginType.PathItem.html +6 -5
  264. package/docs/types/GuideLinePluginType.PluginData.html +6 -5
  265. package/docs/types/HelperEventMap.html +6 -5
  266. package/docs/types/LoadTagConfig.html +6 -5
  267. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  268. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  269. package/docs/types/MediaData.html +6 -5
  270. package/docs/types/MediaStore.html +6 -5
  271. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  272. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  273. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  274. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  275. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  276. package/docs/types/MoveArgs.html +6 -5
  277. package/docs/types/MoveOpts.html +6 -5
  278. package/docs/types/Object3DHelperEventMap.html +6 -5
  279. package/docs/types/ObjectFit.html +6 -5
  280. package/docs/types/PaintBrushEventMap.html +6 -5
  281. package/docs/types/PanoCompassPluginData.html +6 -5
  282. package/docs/types/PanoCompassPluginExportType.html +6 -5
  283. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  284. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  285. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  286. package/docs/types/PanoIndex.html +6 -5
  287. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  288. package/docs/types/PanoMeasureReturnType.html +6 -5
  289. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  290. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  291. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  292. package/docs/types/PanoVideoPluginParameterType.html +6 -5
  293. package/docs/types/PanoVideoPluginReturnType.html +6 -5
  294. package/docs/types/PartialObjectDeep.html +6 -5
  295. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +6 -5
  296. package/docs/types/PlaneTag.html +6 -5
  297. package/docs/types/Point2DTag.html +6 -5
  298. package/docs/types/Point3DTag.html +6 -5
  299. package/docs/types/PointTag.html +6 -5
  300. package/docs/types/PointTagInstance.html +6 -5
  301. package/docs/types/Position.html +6 -5
  302. package/docs/types/RotateArgs.html +6 -5
  303. package/docs/types/RotateOpts.html +6 -5
  304. package/docs/types/RuleLabelsKey.html +6 -5
  305. package/docs/types/RuleLabelsValue.html +6 -5
  306. package/docs/types/StickType.html +6 -5
  307. package/docs/types/Tag.html +6 -5
  308. package/docs/types/Tag2D.html +6 -5
  309. package/docs/types/Tag3D.html +6 -5
  310. package/docs/types/TagContentType.html +6 -5
  311. package/docs/types/TagDimensionType.html +6 -5
  312. package/docs/types/TagElement.html +6 -5
  313. package/docs/types/TagEvents.html +6 -5
  314. package/docs/types/TagGLTFObject.html +6 -5
  315. package/docs/types/TagHooks.html +6 -5
  316. package/docs/types/TagId.html +6 -5
  317. package/docs/types/TagInstance.html +6 -5
  318. package/docs/types/TagPointType.html +6 -5
  319. package/docs/types/TagRendererMap.html +6 -5
  320. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  321. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  322. package/docs/types/WorkCode.html +6 -5
  323. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  324. package/docs/variables/PLUGIN.html +6 -5
  325. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  326. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  327. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  328. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  329. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  330. package/libs/CSS3DRenderPlugin/Controller.d.ts +4 -1
  331. package/libs/CSS3DRenderPlugin/Controller.js +31 -28
  332. package/libs/CSS3DRenderPlugin/index.js +1 -1
  333. package/libs/CruisePlugin/Controller.js +1 -1
  334. package/libs/CruisePlugin/index.js +1 -1
  335. package/libs/GuideLinePlugin/Components/Tag.js +68 -68
  336. package/libs/GuideLinePlugin/Controller.js +1 -1
  337. package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
  338. package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
  339. package/libs/GuideLinePlugin/index.js +1 -1
  340. package/libs/ItemLabelPlugin/ItemLabelItem.js +82 -82
  341. package/libs/ModelTVVideoPlugin/Plugin.js +30 -29
  342. package/libs/ModelTVVideoPlugin/index.js +4 -3
  343. package/libs/Object3DHelperPlugin/Controller.js +1 -1
  344. package/libs/Object3DHelperPlugin/index.js +1 -1
  345. package/libs/PanoCompassPlugin/Controller.js +20 -20
  346. package/libs/PanoCompassPlugin/index.js +1 -1
  347. package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
  348. package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
  349. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +60 -60
  350. package/libs/PanoDoorLabelPlugin/index.js +1 -1
  351. package/libs/PanoMeasurePlugin/Components/Controller0.js +131 -64
  352. package/libs/PanoMeasurePlugin/Components/Controller1.js +228 -153
  353. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +13 -13
  354. package/libs/PanoMeasurePlugin/Controller/EditController.js +181 -112
  355. package/libs/PanoMeasurePlugin/Controller/MixedController.js +5 -5
  356. package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  357. package/libs/PanoMeasurePlugin/Controller/WatchController.js +13 -12
  358. package/libs/PanoMeasurePlugin/Controller/index.d.ts +3 -0
  359. package/libs/PanoMeasurePlugin/Controller/index.js +64 -67
  360. package/libs/PanoMeasurePlugin/Model/area.d.ts +9 -1
  361. package/libs/PanoMeasurePlugin/Model/area.js +23 -11
  362. package/libs/PanoMeasurePlugin/Model/index.d.ts +1 -0
  363. package/libs/PanoMeasurePlugin/Model/index.js +47 -39
  364. package/libs/PanoMeasurePlugin/Model/line.d.ts +2 -0
  365. package/libs/PanoMeasurePlugin/Model/line.js +6 -0
  366. package/libs/PanoMeasurePlugin/Model/polygon.d.ts +4 -0
  367. package/libs/PanoMeasurePlugin/Model/polygon.js +18 -13
  368. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  369. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +34 -24
  370. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
  371. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +23 -15
  372. package/libs/PanoMeasurePlugin/Modules/UIController/style.d.ts +0 -8
  373. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
  374. package/libs/PanoMeasurePlugin/index.js +22 -20
  375. package/libs/PanoMeasurePlugin/typings/data.d.ts +2 -1
  376. package/libs/PanoMeasurePlugin/typings/event.type.d.ts +3 -0
  377. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +36 -15
  378. package/libs/PanoMeasurePlugin/utils/dom/base.d.ts +4 -0
  379. package/libs/PanoMeasurePlugin/utils/dom/base.js +37 -31
  380. package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +38 -23
  381. package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +3 -3
  382. package/libs/PanoMeasurePlugin/utils/geometryUtil.d.ts +1 -1
  383. package/libs/PanoMeasurePlugin/utils/geometryUtil.js +15 -13
  384. package/libs/PanoMeasurePlugin/utils/ndc2Screen.d.ts +2 -1
  385. package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
  386. package/libs/PanoSpatialTagPlugin/index.js +1 -1
  387. package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
  388. package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
  389. package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
  390. package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
  391. package/libs/PanoTagPlugin/controller/index.js +1 -1
  392. package/libs/PanoTagPlugin/index.js +1 -1
  393. package/libs/PanoVideoPlugin/Controller.js +1 -1
  394. package/libs/PanoVideoPlugin/index.js +1 -1
  395. package/libs/base/BasePlugin.d.ts +4 -1
  396. package/libs/base/BasePlugin.js +14 -11
  397. package/libs/components/PaintBrush/style.d.ts +1 -1
  398. package/libs/components/PaintBrush/style.js +4 -4
  399. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
  400. package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
  401. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
  402. package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
  403. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  404. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
  405. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
  406. package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
  407. package/libs/index.js +7 -7
  408. package/libs/shared-utils/absoluteUrl.d.ts +5 -0
  409. package/libs/shared-utils/absoluteUrl.js +10 -0
  410. package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.d.ts +1 -1
  411. package/libs/shared-utils/index.d.ts +1 -1
  412. package/libs/shared-utils/index.js +17 -16
  413. package/libs/shared-utils/logger.js +1 -1
  414. package/libs/shared-utils/three/Magnifier.js +6 -5
  415. package/libs/shared-utils/three/PointSelector.d.ts +37 -3
  416. package/libs/shared-utils/three/PointSelector.js +84 -36
  417. package/libs/shared-utils/three/PointSelectorHelper.js +7 -7
  418. package/libs/vendor/svelte/internal/index.js +392 -345
  419. package/package.json +1 -1
  420. package/dist/shared-utils/isAbsoluteURL.d.ts +0 -1
  421. package/libs/shared-utils/isAbsoluteURL.d.ts +0 -1
  422. package/libs/shared-utils/isAbsoluteURL.js +0 -6
  423. /package/dist/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.d.ts +0 -0
  424. /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.d.ts +0 -0
  425. /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getIntersectionFromEvent.js +0 -0
  426. /package/libs/{PanoMeasurePlugin/utils → shared-utils}/getPointFromHammerEvent.js +0 -0
@@ -1,176 +1,176 @@
1
- import { SvelteComponent as B, init as x, safe_not_equal as F, append_styles as N, element as w, space as z, attr as c, null_to_empty as p, set_style as _, insert as q, append as v, listen as j, noop as I, detach as y, binding_callbacks as S, text as L, set_data as C } from "../vendor/svelte/internal/index.js";
2
- import { classnames as k } from "../vendor/classnames/index.js";
3
- function A(l) {
4
- N(l, "svelte-gduhqw", `.item-label-item.svelte-gduhqw.svelte-gduhqw{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;animation:svelte-gduhqw-fadeIn .3s ease-in}.item-label-item.fold.svelte-gduhqw>.item-label-item__text-wrap.svelte-gduhqw{visibility:hidden}.item-label-item.fold.svelte-gduhqw>.item-label-item__bar.anchor.svelte-gduhqw{visibility:hidden}.item-label-item.fold.svelte-gduhqw>.item-label-item__bar.anchor.svelte-gduhqw:after{visibility:visible}.item-label-item__text-wrap.svelte-gduhqw.svelte-gduhqw{height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-gduhqw.svelte-gduhqw{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-gduhqw.svelte-gduhqw{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-gduhqw.svelte-gduhqw{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-gduhqw.svelte-gduhqw{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-gduhqw.svelte-gduhqw{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-gduhqw.svelte-gduhqw{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-gduhqw.svelte-gduhqw{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-gduhqw.svelte-gduhqw:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url("//vrlab-public.ljcdn.com/common/file/web/67e7a198-28c9-47dc-879b-507bd3ae600c.png ");background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@keyframes svelte-gduhqw-fadeIn{from{opacity:0
1
+ import { SvelteComponent as C, init as O, safe_not_equal as B, append_styles as R, element as p, space as z, attr as c, null_to_empty as A, set_style as k, insert as j, append as g, listen as P, noop as I, detach as w, binding_callbacks as S, text as L, set_data as y } from "../vendor/svelte/internal/index.js";
2
+ import { classnames as _ } from "../vendor/classnames/index.js";
3
+ function x(l) {
4
+ R(l, "svelte-1jhufeh", `.item-label-item.svelte-1jhufeh.svelte-1jhufeh{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;animation:svelte-1jhufeh-fadeIn .3s ease-in}.item-label-item.fold.svelte-1jhufeh>.item-label-item__text-wrap.svelte-1jhufeh{visibility:hidden}.item-label-item.fold.svelte-1jhufeh>.item-label-item__bar.anchor.svelte-1jhufeh{visibility:hidden}.item-label-item.fold.svelte-1jhufeh>.item-label-item__bar.anchor.svelte-1jhufeh:after{visibility:visible}.item-label-item__text-wrap.svelte-1jhufeh.svelte-1jhufeh{height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-1jhufeh.svelte-1jhufeh{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-1jhufeh.svelte-1jhufeh{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-1jhufeh.svelte-1jhufeh{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-1jhufeh.svelte-1jhufeh{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-1jhufeh.svelte-1jhufeh{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-1jhufeh.svelte-1jhufeh{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-1jhufeh.svelte-1jhufeh{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-1jhufeh.svelte-1jhufeh:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAMAAAANIilAAAABcVBMVEUAAAAAAAD////////+/v45OTn////////39/fp6enPz8/7+/vw8PD+/v7x8fHc3NzHx8f////////+/v77+/vr6+v////7+/v5+fn////z8/P////////q6uqgoKD+/v79/f3m5ub+/v7////////////////39/f39/f////z8/P////t7e3s7Oz29vb////5+fn////h4eH////g4ODV1dX////////BwcH///////////+Ojo5zc3MlJSX////////////////////////7+/v////////////v7+/u7u7n5+f////39/f////09PT6+vr09PT+/v76+vr////5+fnv7+/09PTk5OT////////////////Jycn///++vr7///////+0tLT///9TU1P///8SEhL////////+/v76+vr////8/Pz39/ft7e3t7e36+vr////////X19fV1dX///+xsbF9fX1iYmL///////+K8mOEAAAAenRSTlMaAIDy8CD41cWRX9uk7Kl1VVEw6dWT/M/NvKyVkY475eWIgx0Z39rHv7axnZyZmIuKhn56emZjX1FEPTU0Kx4PCAX69fTgxcKkopWL7crJuri2sa6rnIyHhX54bVtZVU9NSUcsJSIcFROno6Hcwp+ekHVxbWhnRC8nDLc9s8oAAAOGSURBVEjHpdd3X9pAGAfwkBBDAoQmBJmWvUWWiIDIHoJb66x7a4d78Op7pBQ1J5DY33987vnyXEIu3CGy/0hvnDthM+l0hj3JScSudDKOdhNPpl1i8Ut624Gi6+trI3zW1tcdqGM7/SIC5/ZRR2SNJEm7JkHt7FAJjR18WIs40P3cAFxIOaIRna6ZOHxGunk+TDR1ukjUkSr0w86bcKShiz1OI4JMP8YAD9+4emM2Gm407IfIhzm0NxrhKNsLH4SvQ+RktyvUfZIMXYcPPsSFCcvY6EYW6ZPsxuiYZaLwAW5bDY70Da5paxjvm8d+UcjAUL/GzPtCnDF/mwFWhJ75Zs68x05gxxFRGQfa+RYXokHVCC4O4yOqYLTwBjNB+ncWEZnsbzrIvOLz4CW9g4jODn0ZPO/iZN0UmhaPp0Omq+Q/nLu6NO0hErJnurjKdTBzEdAhkqILXDAdbFkJ7EnDe4EVy198srpiwhE4X1RKDFOqviBwcNPK6gmPmeWlGDz+VdHqRPEVHo0tLTM8RpcX4G+flLe6kU/Cs1pYRnm8uriQhfoC+0ZDvbMLi6ttfO5fDCDCKFrvooAKAov+c4BZvy8EzaolCHRdIZ+fBThl9G0Ih1RCrBJWbPiMKYAZ409oMSqFWAktzJ9GBuDvRoVGOIQJMSas0CiM39u45v0M9tbaeLc6F5M+7dhcbRfgg+pcU/oNa85VDwDOzBtmpP9UKsN8BuCzeb1P+kPi08+fASyr6fVPUh/PJ72+xj/bZk5PSV0YlJ4z83iC4EipS5LkiAkeHxGcQerLwMARRzyW+QklhUgKpST8nXfYg+fHkjS89MPz0MFnhKdCSWpc8RBnPAZB3RUvLt7i3oob7f5juDzuikY81tjcHlcHg9xabdyUWDvF2ay3slecr1ptimNx9lhhs1bzXQxy5NZa6VMx9pS2Wt1H77cVjFartYvBdlDICDc0cbVa3Twd2NcOyuLwVqo+K1ebjgdcr0k+O1uXwThfl8vlhqm+99kASup5GINsYhhmG8d7UXzcBgo2e21cd9WlUll5/7G958ql8uxu7y0zS5SGSkOGBA51TRiGQAi232Y9v4kVQZGavpt6c6l3tLpNsc38gGOC01IeLg4Xi8NaLz1KkqO0VzvcTrFscYo4oLjiRAsKEXeJPRqxW0bsFWLGLVbiocyZSm5vbW0nU9BsIfyp/AGqAvfOkBaFawAAAABJRU5ErkJggg==');background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@keyframes svelte-1jhufeh-fadeIn{from{opacity:0
5
5
  }to{opacity:1
6
6
  }}`);
7
7
  }
8
- function D(l) {
8
+ function V(l) {
9
9
  let e, t, n, s = (
10
10
  /*itemLabel*/
11
11
  (l[0].code || /*itemLabel*/
12
12
  l[0].id) + ""
13
- ), h, o, m, r = (
13
+ ), u, o, f, r = (
14
14
  /*itemLabel*/
15
15
  l[0].name + ""
16
- ), g, a = (
16
+ ), v, a = (
17
17
  /*itemLabel*/
18
- l[0].icon && E(l)
18
+ l[0].icon && D(l)
19
19
  );
20
20
  return {
21
21
  c() {
22
- a && a.c(), e = z(), t = w("div"), n = w("span"), h = L(s), o = z(), m = w("span"), g = L(r), c(n, "class", "item-model svelte-gduhqw"), c(m, "class", "item-name svelte-gduhqw"), c(t, "class", "item-label-text svelte-gduhqw");
22
+ a && a.c(), e = z(), t = p("div"), n = p("span"), u = L(s), o = z(), f = p("span"), v = L(r), c(n, "class", "item-model svelte-1jhufeh"), c(f, "class", "item-name svelte-1jhufeh"), c(t, "class", "item-label-text svelte-1jhufeh");
23
23
  },
24
- m(i, b) {
25
- a && a.m(i, b), q(i, e, b), q(i, t, b), v(t, n), v(n, h), v(t, o), v(t, m), v(m, g);
24
+ m(i, d) {
25
+ a && a.m(i, d), j(i, e, d), j(i, t, d), g(t, n), g(n, u), g(t, o), g(t, f), g(f, v);
26
26
  },
27
- p(i, b) {
27
+ p(i, d) {
28
28
  /*itemLabel*/
29
- i[0].icon ? a ? a.p(i, b) : (a = E(i), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), b & /*itemLabel*/
29
+ i[0].icon ? a ? a.p(i, d) : (a = D(i), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), d & /*itemLabel*/
30
30
  1 && s !== (s = /*itemLabel*/
31
31
  (i[0].code || /*itemLabel*/
32
- i[0].id) + "") && C(h, s), b & /*itemLabel*/
32
+ i[0].id) + "") && y(u, s), d & /*itemLabel*/
33
33
  1 && r !== (r = /*itemLabel*/
34
- i[0].name + "") && C(g, r);
34
+ i[0].name + "") && y(v, r);
35
35
  },
36
36
  d(i) {
37
- a && a.d(i), i && y(e), i && y(t);
37
+ a && a.d(i), i && w(e), i && w(t);
38
38
  }
39
39
  };
40
40
  }
41
- function G(l) {
41
+ function E(l) {
42
42
  let e;
43
43
  return {
44
44
  c() {
45
- e = w("div");
45
+ e = p("div");
46
46
  },
47
47
  m(t, n) {
48
- q(t, e, n), l[6](e);
48
+ j(t, e, n), l[6](e);
49
49
  },
50
50
  p: I,
51
51
  d(t) {
52
- t && y(e), l[6](null);
52
+ t && w(e), l[6](null);
53
53
  }
54
54
  };
55
55
  }
56
- function E(l) {
57
- let e, t, n, s, h;
56
+ function D(l) {
57
+ let e, t, n, s, u;
58
58
  return {
59
59
  c() {
60
- e = w("div"), t = w("div"), c(t, "class", "icon svelte-gduhqw"), c(t, "style", n = `background-image: url(${/*itemLabel*/
61
- l[0].icon})`), c(e, "class", "icon-wrap svelte-gduhqw");
60
+ e = p("div"), t = p("div"), c(t, "class", "icon svelte-1jhufeh"), c(t, "style", n = `background-image: url(${/*itemLabel*/
61
+ l[0].icon})`), c(e, "class", "icon-wrap svelte-1jhufeh");
62
62
  },
63
- m(o, m) {
64
- q(o, e, m), v(e, t), s || (h = j(
63
+ m(o, f) {
64
+ j(o, e, f), g(e, t), s || (u = P(
65
65
  e,
66
66
  "click",
67
67
  /*click_handler*/
68
68
  l[7]
69
69
  ), s = !0);
70
70
  },
71
- p(o, m) {
72
- m & /*itemLabel*/
71
+ p(o, f) {
72
+ f & /*itemLabel*/
73
73
  1 && n !== (n = `background-image: url(${/*itemLabel*/
74
74
  o[0].icon})`) && c(t, "style", n);
75
75
  },
76
76
  d(o) {
77
- o && y(e), s = !1, h();
77
+ o && w(e), s = !1, u();
78
78
  }
79
79
  };
80
80
  }
81
- function H(l) {
82
- let e, t, n, s, h, o, m, r, g, a;
83
- function i(d, u) {
84
- return u & /*itemLabel*/
81
+ function G(l) {
82
+ let e, t, n, s, u, o, f, r, v, a;
83
+ function i(h, m) {
84
+ return m & /*itemLabel*/
85
85
  1 && (n = null), n == null && (n = typeof /*itemLabel*/
86
- d[0].render == "function"), n ? G : D;
86
+ h[0].render == "function"), n ? E : V;
87
87
  }
88
- let b = i(l, -1), f = b(l);
88
+ let d = i(l, -1), b = d(l);
89
89
  return {
90
90
  c() {
91
- e = w("div"), t = w("div"), f.c(), h = z(), o = w("div"), c(t, "class", s = p(k("item-label-item__text-wrap", {
91
+ e = p("div"), t = p("div"), b.c(), u = z(), o = p("div"), c(t, "class", s = A(_("item-label-item__text-wrap", {
92
92
  "item-label-item__custom": typeof /*itemLabel*/
93
93
  l[0].render == "function"
94
- })) + " svelte-gduhqw"), _(t, "bottom", `${/*itemLabel*/
95
- l[0].strokeLength}px`), c(o, "class", m = p(k("item-label-item__bar", { anchor: (
94
+ })) + " svelte-1jhufeh"), k(t, "bottom", `${/*itemLabel*/
95
+ l[0].strokeLength}px`), c(o, "class", f = A(_("item-label-item__bar", { anchor: (
96
96
  /*anchorEnabled*/
97
97
  l[1]
98
- ) })) + " svelte-gduhqw"), _(o, "height", `${/*itemLabel*/
99
- l[0].strokeLength}px`), c(e, "class", r = p(k("item-label-item", { fold: (
98
+ ) })) + " svelte-1jhufeh"), k(o, "height", `${/*itemLabel*/
99
+ l[0].strokeLength}px`), c(e, "class", r = A(_("item-label-item", { fold: (
100
100
  /*itemLabel*/
101
101
  l[0].isFold
102
- ) })) + " svelte-gduhqw"), _(
102
+ ) })) + " svelte-1jhufeh"), k(
103
103
  e,
104
104
  "z-index",
105
105
  /*itemLabel*/
106
106
  l[0].zIndex
107
- ), _(
107
+ ), k(
108
108
  e,
109
109
  "transform",
110
110
  /*itemLabel*/
111
111
  l[0].transform
112
112
  );
113
113
  },
114
- m(d, u) {
115
- q(d, e, u), v(e, t), f.m(t, null), v(e, h), v(e, o), g || (a = j(
114
+ m(h, m) {
115
+ j(h, e, m), g(e, t), b.m(t, null), g(e, u), g(e, o), v || (a = P(
116
116
  t,
117
117
  "click",
118
118
  /*onClick*/
119
119
  l[4]
120
- ), g = !0);
120
+ ), v = !0);
121
121
  },
122
- p(d, [u]) {
123
- b === (b = i(d, u)) && f ? f.p(d, u) : (f.d(1), f = b(d), f && (f.c(), f.m(t, null))), u & /*itemLabel*/
124
- 1 && s !== (s = p(k("item-label-item__text-wrap", {
122
+ p(h, [m]) {
123
+ d === (d = i(h, m)) && b ? b.p(h, m) : (b.d(1), b = d(h), b && (b.c(), b.m(t, null))), m & /*itemLabel*/
124
+ 1 && s !== (s = A(_("item-label-item__text-wrap", {
125
125
  "item-label-item__custom": typeof /*itemLabel*/
126
- d[0].render == "function"
127
- })) + " svelte-gduhqw") && c(t, "class", s), u & /*itemLabel*/
128
- 1 && _(t, "bottom", `${/*itemLabel*/
129
- d[0].strokeLength}px`), u & /*anchorEnabled*/
130
- 2 && m !== (m = p(k("item-label-item__bar", { anchor: (
126
+ h[0].render == "function"
127
+ })) + " svelte-1jhufeh") && c(t, "class", s), m & /*itemLabel*/
128
+ 1 && k(t, "bottom", `${/*itemLabel*/
129
+ h[0].strokeLength}px`), m & /*anchorEnabled*/
130
+ 2 && f !== (f = A(_("item-label-item__bar", { anchor: (
131
131
  /*anchorEnabled*/
132
- d[1]
133
- ) })) + " svelte-gduhqw") && c(o, "class", m), u & /*itemLabel*/
134
- 1 && _(o, "height", `${/*itemLabel*/
135
- d[0].strokeLength}px`), u & /*itemLabel*/
136
- 1 && r !== (r = p(k("item-label-item", { fold: (
132
+ h[1]
133
+ ) })) + " svelte-1jhufeh") && c(o, "class", f), m & /*itemLabel*/
134
+ 1 && k(o, "height", `${/*itemLabel*/
135
+ h[0].strokeLength}px`), m & /*itemLabel*/
136
+ 1 && r !== (r = A(_("item-label-item", { fold: (
137
137
  /*itemLabel*/
138
- d[0].isFold
139
- ) })) + " svelte-gduhqw") && c(e, "class", r), u & /*itemLabel*/
140
- 1 && _(
138
+ h[0].isFold
139
+ ) })) + " svelte-1jhufeh") && c(e, "class", r), m & /*itemLabel*/
140
+ 1 && k(
141
141
  e,
142
142
  "z-index",
143
143
  /*itemLabel*/
144
- d[0].zIndex
145
- ), u & /*itemLabel*/
146
- 1 && _(
144
+ h[0].zIndex
145
+ ), m & /*itemLabel*/
146
+ 1 && k(
147
147
  e,
148
148
  "transform",
149
149
  /*itemLabel*/
150
- d[0].transform
150
+ h[0].transform
151
151
  );
152
152
  },
153
153
  i: I,
154
154
  o: I,
155
- d(d) {
156
- d && y(e), f.d(), g = !1, a();
155
+ d(h) {
156
+ h && w(e), b.d(), v = !1, a();
157
157
  }
158
158
  };
159
159
  }
160
- function J(l, e, t) {
161
- let { itemLabel: n } = e, { hooks: s } = e, { anchorEnabled: h } = e, { onIconClick: o } = e;
162
- function m() {
160
+ function U(l, e, t) {
161
+ let { itemLabel: n } = e, { hooks: s } = e, { anchorEnabled: u } = e, { onIconClick: o } = e;
162
+ function f() {
163
163
  s.emit("onLabelClick", n);
164
164
  }
165
165
  let r;
166
- function g(i) {
166
+ function v(i) {
167
167
  S[i ? "unshift" : "push"](() => {
168
168
  r = i, t(3, r);
169
169
  });
170
170
  }
171
171
  const a = (i) => o(n);
172
172
  return l.$$set = (i) => {
173
- "itemLabel" in i && t(0, n = i.itemLabel), "hooks" in i && t(5, s = i.hooks), "anchorEnabled" in i && t(1, h = i.anchorEnabled), "onIconClick" in i && t(2, o = i.onIconClick);
173
+ "itemLabel" in i && t(0, n = i.itemLabel), "hooks" in i && t(5, s = i.hooks), "anchorEnabled" in i && t(1, u = i.anchorEnabled), "onIconClick" in i && t(2, o = i.onIconClick);
174
174
  }, l.$$.update = () => {
175
175
  if (l.$$.dirty & /*itemLabel, customElement*/
176
176
  9 && typeof n.render == "function" && r && r.children.length === 0) {
@@ -179,33 +179,33 @@ function J(l, e, t) {
179
179
  }
180
180
  }, [
181
181
  n,
182
- h,
182
+ u,
183
183
  o,
184
184
  r,
185
- m,
185
+ f,
186
186
  s,
187
- g,
187
+ v,
188
188
  a
189
189
  ];
190
190
  }
191
- class O extends B {
191
+ class K extends C {
192
192
  constructor(e) {
193
- super(), x(
193
+ super(), O(
194
194
  this,
195
195
  e,
196
- J,
197
- H,
198
- F,
196
+ U,
197
+ G,
198
+ B,
199
199
  {
200
200
  itemLabel: 0,
201
201
  hooks: 5,
202
202
  anchorEnabled: 1,
203
203
  onIconClick: 2
204
204
  },
205
- A
205
+ x
206
206
  );
207
207
  }
208
208
  }
209
209
  export {
210
- O as default
210
+ K as default
211
211
  };
@@ -1,22 +1,23 @@
1
- var R = (s, g, e) => new Promise((f, h) => {
1
+ var R = (s, g, e) => new Promise((f, v) => {
2
2
  var b = (m) => {
3
3
  try {
4
- v(e.next(m));
5
- } catch (y) {
6
- h(y);
4
+ h(e.next(m));
5
+ } catch (x) {
6
+ v(x);
7
7
  }
8
8
  }, w = (m) => {
9
9
  try {
10
- v(e.throw(m));
11
- } catch (y) {
12
- h(y);
10
+ h(e.throw(m));
11
+ } catch (x) {
12
+ v(x);
13
13
  }
14
- }, v = (m) => m.done ? f(m.value) : Promise.resolve(m.value).then(b, w);
15
- v((e = e.apply(s, g)).next());
14
+ }, h = (m) => m.done ? f(m.value) : Promise.resolve(m.value).then(b, w);
15
+ h((e = e.apply(s, g)).next());
16
16
  });
17
17
  import * as c from "three";
18
- import { parseModelTVVideoPoints as z } from "./utils/parseData.js";
19
- import { CSS3DRenderPlugin as I } from "../CSS3DRenderPlugin/index.js";
18
+ import { parseModelTVVideoPoints as S } from "./utils/parseData.js";
19
+ import { CSS3DRenderPlugin as z } from "../CSS3DRenderPlugin/index.js";
20
+ import { Image_Play_Icon_With_Text as O } from "../PanoTagPlugin/Assets/Icon.js";
20
21
  import "./typings.js";
21
22
  import "../CSS3DRenderPlugin/Controller.js";
22
23
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
@@ -37,8 +38,8 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
37
38
  import "hammerjs";
38
39
  import "@realsee/five";
39
40
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
40
- import "../shared-utils/isAbsoluteURL.js";
41
- const ne = (s, { videoElement: g }) => {
41
+ import "../shared-utils/absoluteUrl.js";
42
+ const ae = (s, { videoElement: g }) => {
42
43
  const e = {
43
44
  videoMeshes: [],
44
45
  videoTextureEnabled: !1,
@@ -46,12 +47,12 @@ const ne = (s, { videoElement: g }) => {
46
47
  rectPoints: [],
47
48
  enabled: !1,
48
49
  videoElement: g
49
- }, f = I(s), h = /* @__PURE__ */ new Map(), b = (t) => {
50
+ }, f = z(s), v = /* @__PURE__ */ new Map(), b = (t) => {
50
51
  e.videoTexture && (e.videoTexture.image.muted = t);
51
- }, w = () => e.videoTexture ? e.videoTexture.image.muted : !0, v = () => {
52
+ }, w = () => e.videoTexture ? e.videoTexture.image.muted : !0, h = () => {
52
53
  if (e.enabled || !e.videoTexture)
53
54
  return;
54
- e.enabled = !0, e.videoMeshes = y(), e.videoMeshes.forEach((n) => s.scene.add(n));
55
+ e.enabled = !0, e.videoMeshes = x(), e.videoMeshes.forEach((n) => s.scene.add(n));
55
56
  const t = () => {
56
57
  if (!e.videoTexture)
57
58
  return;
@@ -77,7 +78,7 @@ const ne = (s, { videoElement: g }) => {
77
78
  e.enabled && (e.enabled = !1, e.videoMeshes.forEach((t) => {
78
79
  t.geometry.dispose(), t.material.dispose(), s.scene.remove(t), e.videoTexture && e.videoTexture.image.pause();
79
80
  }), e.videoMeshes = [], s.needsRender = !0);
80
- }, y = () => e.rectPoints.map((t, n) => {
81
+ }, x = () => e.rectPoints.map((t, n) => {
81
82
  const i = new c.BufferGeometry(), o = 128, d = [];
82
83
  d.push(...t[0].toArray());
83
84
  for (let r = 1; r < o; r++)
@@ -111,20 +112,20 @@ const ne = (s, { videoElement: g }) => {
111
112
  side: c.DoubleSide
112
113
  }), p = new c.Mesh(i, l);
113
114
  p.renderOrder = 1, p.name = `ModelTVVideoPlugin-${n}-${performance.now()}`;
114
- const S = [t[1], t[2], t[3], t[0]], x = f.create3DDomContainer(S);
115
- if (x != null && x.container) {
115
+ const I = [t[1], t[2], t[3], t[0]], y = f.create3DDomContainer(I);
116
+ if (y != null && y.container) {
116
117
  const r = document.createElement("div");
117
- r.classList.add("play-icon"), r.style.width = "100%", r.style.height = "100%", r.style.display = "flex", r.style.justifyContent = "center", r.style.alignItems = "center", r.style.pointerEvents = "none", x.container.appendChild(r);
118
+ r.classList.add("play-icon"), r.style.width = "100%", r.style.height = "100%", r.style.display = "flex", r.style.justifyContent = "center", r.style.alignItems = "center", r.style.pointerEvents = "none", y.container.appendChild(r);
118
119
  const T = document.createElement("img");
119
- T.src = "//vrlab-static.ljcdn.com/release/web/play.2ada5b6f.png", T.style.width = "200px", T.style.pointerEvents = "auto", T.onclick = () => {
120
+ T.src = O, T.style.width = "200px", T.style.pointerEvents = "auto", T.onclick = () => {
120
121
  e.videoTexture.image.muted = !1, e.videoTexture.image.play();
121
- }, r.appendChild(T), h.set(p, x);
122
+ }, r.appendChild(T), v.set(p, y);
122
123
  }
123
124
  return p;
124
125
  }), F = (t) => {
125
126
  const n = new c.TextureLoader().load(t);
126
127
  return n.minFilter = c.LinearFilter, n.magFilter = c.LinearFilter, n.format = c.RGBFormat, n;
127
- }, L = (t, n) => {
128
+ }, P = (t, n) => {
128
129
  let i = n;
129
130
  return new Promise((o, d) => {
130
131
  const a = new XMLHttpRequest();
@@ -139,9 +140,9 @@ const ne = (s, { videoElement: g }) => {
139
140
  d(new Error("Video download Error: " + a.status));
140
141
  }, a.onerror = (u) => d(u), a.open("GET", t), a.responseType = "blob", a.send();
141
142
  });
142
- }, P = (t, n) => R(void 0, null, function* () {
143
+ }, L = (t, n) => R(void 0, null, function* () {
143
144
  const { video_src: i, video_poster_src: o, points: d } = t;
144
- e.videoSource = i, e.rectPoints = z(d).map((a) => a.map(({ x: u, y: l, z: p }) => new c.Vector3(u, l, p))), e.imageTexture = F(o), n && (e.videoElement = n), e.videoTexture = yield L(e.videoSource, e.videoElement), e.enabled = !!t.enable, e.enabled && v();
145
+ e.videoSource = i, e.rectPoints = S(d).map((a) => a.map(({ x: u, y: l, z: p }) => new c.Vector3(u, l, p))), e.imageTexture = F(o), n && (e.videoElement = n), e.videoTexture = yield P(e.videoSource, e.videoElement), e.enabled = !!t.enable, e.enabled && h();
145
146
  }), E = (t) => {
146
147
  if (!e.enabled)
147
148
  return;
@@ -154,7 +155,7 @@ const ne = (s, { videoElement: g }) => {
154
155
  if (!e.enabled)
155
156
  return;
156
157
  const t = s.camera.position;
157
- if (h.forEach((n, i) => {
158
+ if (v.forEach((n, i) => {
158
159
  const o = n.css3DObject.position.clone(), d = o.clone().sub(t).normalize(), a = new c.Raycaster(t, d), u = s.model.intersectRaycaster(a)[0], l = o.distanceTo(t), p = 0.01;
159
160
  u && u.distance + p < l ? n.hide() : n.show();
160
161
  }), !w()) {
@@ -178,9 +179,9 @@ const ne = (s, { videoElement: g }) => {
178
179
  e.videoMeshes.forEach((t) => {
179
180
  t && (t.needsRender = !0);
180
181
  });
181
- }), { enable: v, disable: m, load: P, dispose: V, state: e, css3DRenderPlugin: f };
182
+ }), { enable: h, disable: m, load: L, dispose: V, state: e, css3DRenderPlugin: f };
182
183
  };
183
184
  export {
184
- ne as ModelTVVideoPlugin,
185
- ne as default
185
+ ae as ModelTVVideoPlugin,
186
+ ae as default
186
187
  };
@@ -1,5 +1,5 @@
1
1
  import { ModelTVVideoPlugin as r } from "./Plugin.js";
2
- import { DIRECTION as b } from "./typings.js";
2
+ import { DIRECTION as c } from "./typings.js";
3
3
  import "three";
4
4
  import "./utils/parseData.js";
5
5
  import "../CSS3DRenderPlugin/index.js";
@@ -22,9 +22,10 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
22
22
  import "hammerjs";
23
23
  import "@realsee/five";
24
24
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
25
- import "../shared-utils/isAbsoluteURL.js";
25
+ import "../shared-utils/absoluteUrl.js";
26
+ import "../PanoTagPlugin/Assets/Icon.js";
26
27
  export {
27
- b as DIRECTION,
28
+ c as DIRECTION,
28
29
  r as ModelTVVideoPlugin,
29
30
  r as default
30
31
  };
@@ -47,7 +47,7 @@ import { ScaleController as A } from "../shared-utils/Object3DHelper/Controller/
47
47
  import "../shared-utils/Subscribe.js";
48
48
  import "hammerjs";
49
49
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
50
- import "../shared-utils/isAbsoluteURL.js";
50
+ import "../shared-utils/absoluteUrl.js";
51
51
  import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
52
52
  import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
53
53
  import "../shared-utils/three/IObject3D.js";
@@ -19,7 +19,7 @@ import "../shared-utils/three/centerPoint.js";
19
19
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
20
20
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
21
21
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
22
- import "../shared-utils/isAbsoluteURL.js";
22
+ import "../shared-utils/absoluteUrl.js";
23
23
  import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
24
24
  import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
25
25
  import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
@@ -1,36 +1,36 @@
1
1
  var D = Object.defineProperty;
2
- var g = Object.getOwnPropertySymbols;
2
+ var M = Object.getOwnPropertySymbols;
3
3
  var w = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
4
4
  var u = (h, n, e) => n in h ? D(h, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[n] = e, l = (h, n) => {
5
5
  for (var e in n || (n = {}))
6
6
  w.call(n, e) && u(h, e, n[e]);
7
- if (g)
8
- for (var e of g(n))
7
+ if (M)
8
+ for (var e of M(n))
9
9
  P.call(n, e) && u(h, e, n[e]);
10
10
  return h;
11
11
  };
12
12
  var i = (h, n, e) => (u(h, typeof n != "symbol" ? n + "" : n, e), e);
13
13
  var d = (h, n, e) => new Promise((t, o) => {
14
- var s = (m) => {
14
+ var s = (p) => {
15
15
  try {
16
- p(e.next(m));
16
+ m(e.next(p));
17
17
  } catch (c) {
18
18
  o(c);
19
19
  }
20
- }, r = (m) => {
20
+ }, r = (p) => {
21
21
  try {
22
- p(e.throw(m));
22
+ m(e.throw(p));
23
23
  } catch (c) {
24
24
  o(c);
25
25
  }
26
- }, p = (m) => m.done ? t(m.value) : Promise.resolve(m.value).then(s, r);
27
- p((e = e.apply(h, n)).next());
26
+ }, m = (p) => p.done ? t(p.value) : Promise.resolve(p.value).then(s, r);
27
+ m((e = e.apply(h, n)).next());
28
28
  });
29
29
  import * as a from "three";
30
30
  import { Five as C } from "@realsee/five";
31
31
  import { Controller as A } from "../base/BasePluginWithData.js";
32
32
  import { getRoomInfoInstance as _ } from "./getRoomInfoInstance.js";
33
- import { loadTexture as M } from "../shared-utils/three/loadTexture.js";
33
+ import { loadTexture as g } from "../shared-utils/three/loadTexture.js";
34
34
  import { CSS3DRenderPlugin as F } from "../CSS3DRenderPlugin/index.js";
35
35
  import { tweenProgress as W } from "../shared-utils/animationFrame/BetterTween.js";
36
36
  import "../base/BasePlugin.js";
@@ -50,7 +50,7 @@ import "../shared-utils/three/centerPoint.js";
50
50
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
51
51
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
52
52
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
53
- import "../shared-utils/isAbsoluteURL.js";
53
+ import "../shared-utils/absoluteUrl.js";
54
54
  import "./Assets/roomInfoIcon.js";
55
55
  import "../CSS3DRenderPlugin/Controller.js";
56
56
  import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
@@ -69,8 +69,8 @@ class re extends A {
69
69
  /**
70
70
  * @todo 图片转base64
71
71
  */
72
- compassImageUrl: "//vrlab-image4.ljcdn.com/release/web/v3/north-point-circle.96498e69.png",
73
- entryDoorImageUrl: "//vrlab-image4.ljcdn.com/release/web/enterDoor.831b8208.png"
72
+ compassImageUrl: this.absoluteUrl("/release/web/v3/north-point-circle.96498e69.png"),
73
+ entryDoorImageUrl: this.absoluteUrl("/release/web/enterDoor.831b8208.png")
74
74
  }
75
75
  });
76
76
  i(this, "data");
@@ -131,9 +131,9 @@ class re extends A {
131
131
  e !== this.five.panoIndex && ((t = this.compassMeshTween) == null || t.dispose(), (o = this.compassMesh) == null || o.material.setValues({ opacity: 0 }));
132
132
  });
133
133
  i(this, "onFivePanoArrived", (e) => {
134
- var o, s, r, p, m, c, I;
134
+ var o, s, r, m, p, c, I;
135
135
  const t = (r = (s = (o = this.five.work) == null ? void 0 : o.observers) == null ? void 0 : s[e]) == null ? void 0 : r.standingPosition;
136
- if (this.compassMesh && (this.compassMesh.position.copy(t.clone().setY(t.y + 0.01)), this.compassMesh.material.opacity === 0 && ((p = this.compassMeshTween) == null || p.dispose(), this.compassMeshTween = W(1e3).onUpdate(({ progress: y }) => {
136
+ if (this.compassMesh && (this.compassMesh.position.copy(t.clone().setY(t.y + 0.01)), this.compassMesh.material.opacity === 0 && ((m = this.compassMeshTween) == null || m.dispose(), this.compassMeshTween = W(1e3).onUpdate(({ progress: y }) => {
137
137
  var f;
138
138
  (f = this.compassMesh) == null || f.material.setValues({ opacity: y }), this.five.needsRender = !0;
139
139
  }).play())), this.entryDoorMesh) {
@@ -142,7 +142,7 @@ class re extends A {
142
142
  this.data.entrance.position.y,
143
143
  this.data.entrance.position.z
144
144
  ).clone().setY(t.y).sub(t).normalize(), b = t.clone().add(f.clone().multiplyScalar(0.7)).setY(t.y + 0.01);
145
- this.entryDoorMesh.rotation.z = new a.Vector3(0, 0, -1).angleTo(f), this.entryDoorMesh.position.copy(b), ((m = this.data) == null ? void 0 : m.room_observers[e].room.type) === 1 ? (c = this.entryDoorMesh) == null || c.material.setValues({ opacity: 1 }) : (I = this.entryDoorMesh) == null || I.material.setValues({ opacity: 0 });
145
+ this.entryDoorMesh.rotation.z = new a.Vector3(0, 0, -1).angleTo(f), this.entryDoorMesh.position.copy(b), ((p = this.data) == null ? void 0 : p.room_observers[e].room.type) === 1 ? (c = this.entryDoorMesh) == null || c.material.setValues({ opacity: 1 }) : (I = this.entryDoorMesh) == null || I.material.setValues({ opacity: 0 });
146
146
  }
147
147
  this.roomInfoInstance && this.roomInfoWrapperInstance && (this.roomInfoWrapperInstance.css3DObject.position.copy(t.clone().setY(t.y + 0.01)), this.roomInfoInstance.setRoom(this.data.room_observers[e].room)), this.five.needsRender = !0;
148
148
  });
@@ -247,16 +247,16 @@ class re extends A {
247
247
  */
248
248
  init() {
249
249
  return d(this, null, function* () {
250
- var o, s, r, p;
250
+ var o, s, r, m;
251
251
  const e = (s = (o = this.data) == null ? void 0 : o.north_rad) != null ? s : null;
252
252
  this._clearCompassIfNeed(), e !== null && (this.compassMesh = yield this.loadCompassMesh(), this.compassMesh.rotateX(-Math.PI / 2), this.compassMesh.rotateZ(e - Math.PI / 2), this.group.add(this.compassMesh));
253
- const t = (p = (r = this.data) == null ? void 0 : r.entrance) != null ? p : null;
253
+ const t = (m = (r = this.data) == null ? void 0 : r.entrance) != null ? m : null;
254
254
  this._clearEntryDoorIfNeed(), t !== null && (this.entryDoorMesh = yield this.loadEntryDoorMesh(), this.roomInfoWrapperInstance = this.loadRoomInfo(), this.roomInfoInstance = _(), this.entryDoorMesh.rotateX(-Math.PI / 2), this.roomInfoWrapperInstance && this.roomInfoInstance.appendTo(this.roomInfoWrapperInstance.container), this.group.add(this.entryDoorMesh)), this.onFivePanoArrived(this.five.panoIndex || 0), this.five.needsRender = !0;
255
255
  });
256
256
  }
257
257
  loadCompassMesh() {
258
258
  return d(this, null, function* () {
259
- const e = this.state.config.compassImageUrl, t = yield M(e), o = new a.CircleGeometry(0.7, 32), s = new a.MeshBasicMaterial({
259
+ const e = this.state.config.compassImageUrl, t = yield g(e), o = new a.CircleGeometry(0.7, 32), s = new a.MeshBasicMaterial({
260
260
  map: t,
261
261
  transparent: !0,
262
262
  opacity: 0,
@@ -267,7 +267,7 @@ class re extends A {
267
267
  }
268
268
  loadEntryDoorMesh() {
269
269
  return d(this, null, function* () {
270
- const e = this.state.config.entryDoorImageUrl, t = yield M(e), o = new a.PlaneGeometry(0.2, 0.16), s = new a.MeshBasicMaterial({
270
+ const e = this.state.config.entryDoorImageUrl, t = yield g(e), o = new a.PlaneGeometry(0.2, 0.16), s = new a.MeshBasicMaterial({
271
271
  map: t,
272
272
  transparent: !0,
273
273
  opacity: 0.8,
@@ -19,7 +19,7 @@ import "../shared-utils/three/centerPoint.js";
19
19
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
20
20
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
21
21
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
22
- import "../shared-utils/isAbsoluteURL.js";
22
+ import "../shared-utils/absoluteUrl.js";
23
23
  import "./getRoomInfoInstance.js";
24
24
  import "./Assets/roomInfoIcon.js";
25
25
  import "../shared-utils/three/loadTexture.js";
@@ -30,7 +30,7 @@ import "../shared-utils/three/centerPoint.js";
30
30
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
31
31
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
32
32
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
33
- import "../shared-utils/isAbsoluteURL.js";
33
+ import "../shared-utils/absoluteUrl.js";
34
34
  class H extends c {
35
35
  constructor(t) {
36
36
  super(t);
@@ -33,7 +33,7 @@ import "../shared-utils/three/centerPoint.js";
33
33
  import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
34
34
  import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
35
35
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
36
- import "../shared-utils/isAbsoluteURL.js";
36
+ import "../shared-utils/absoluteUrl.js";
37
37
  import "../vendor/svelte/internal/index.js";
38
38
  import "../vendor/classnames/index.js";
39
39
  const ee = { userAction: !0 };