@realsee/dnalogel 3.12.4 → 3.12.5

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 (500) hide show
  1. package/README.md +10 -11
  2. package/dist/Object3DHelperPlugin/Controller.d.ts +1 -1
  3. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  4. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  5. package/dist/index.cjs.js +65 -65
  6. package/dist/index.js +4729 -4557
  7. package/dist/index.umd.js +56 -56
  8. package/docs/assets/custom.css +0 -0
  9. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +32 -32
  10. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +35 -35
  11. package/docs/classes/CSS3DRender.html +32 -32
  12. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  13. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +41 -41
  14. package/docs/classes/Magnifier.html +20 -20
  15. package/docs/classes/ModelRoomLabelController.html +11 -11
  16. package/docs/classes/MoveController.html +28 -28
  17. package/docs/classes/Object3DHelperController.html +25 -25
  18. package/docs/classes/PaintBrush.html +15 -15
  19. package/docs/classes/PanoMeasurePluginLine.html +27 -27
  20. package/docs/classes/PanoMeasurePluginModel.html +27 -27
  21. package/docs/classes/PanoMeasurePluginPoint.html +11 -11
  22. package/docs/classes/PanoMeasurePluginPolyline.html +27 -27
  23. package/docs/classes/PanoTagPluginController.html +51 -51
  24. package/docs/classes/Util.BetterTween.html +10 -10
  25. package/docs/classes/Util.Interval.html +12 -12
  26. package/docs/classes/Util.LineSegments.html +8 -8
  27. package/docs/classes/Util.Magnifier.html +20 -20
  28. package/docs/classes/Util.Object3D.html +9 -9
  29. package/docs/classes/Util.PointDomHelper.html +11 -11
  30. package/docs/classes/Util.PointHelper.html +11 -11
  31. package/docs/classes/Util.PointSelectorHelper.html +16 -16
  32. package/docs/classes/Util.Rectangle.html +13 -13
  33. package/docs/classes/WalkController.html +27 -27
  34. package/docs/enums/CameraMovementEffect.html +7 -7
  35. package/docs/enums/ContentType.html +21 -21
  36. package/docs/enums/DIRECTION.html +9 -9
  37. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  38. package/docs/enums/DimensionType.html +7 -7
  39. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  40. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  41. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  42. package/docs/enums/PointType.html +7 -7
  43. package/docs/enums/Rotation.html +8 -8
  44. package/docs/functions/AreaMakerPlugin.html +5 -5
  45. package/docs/functions/CSS3DRenderPlugin.html +5 -5
  46. package/docs/functions/CameraMovementPlugin.html +5 -5
  47. package/docs/functions/CruisePlugin.html +5 -5
  48. package/docs/functions/CurrentPanoImagePlugin.html +5 -5
  49. package/docs/functions/GuideLinePlugin.html +5 -5
  50. package/docs/functions/ItemLabelPlugin.html +5 -5
  51. package/docs/functions/MapviewFloorplanPlugin.html +5 -5
  52. package/docs/functions/ModelChassisCompassPlugin.html +5 -5
  53. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
  54. package/docs/functions/ModelFloorplanPlugin.html +5 -5
  55. package/docs/functions/ModelItemLabelPlugin.html +5 -5
  56. package/docs/functions/ModelRoomLabelPlugin.html +5 -5
  57. package/docs/functions/ModelTVVideoPlugin.html +5 -5
  58. package/docs/functions/ModelViewPlugin.html +5 -5
  59. package/docs/functions/MovePlugin.html +5 -5
  60. package/docs/functions/Object3DHelperPlugin.html +5 -5
  61. package/docs/functions/PanoCompassPlugin.html +5 -5
  62. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
  63. package/docs/functions/PanoDoorLabelPlugin.html +5 -5
  64. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
  65. package/docs/functions/PanoMeasurePlugin.html +5 -5
  66. package/docs/functions/PanoRulerPlugin.html +5 -5
  67. package/docs/functions/PanoRulerProPlugin.html +5 -5
  68. package/docs/functions/PanoSpatialTagPlugin.html +5 -5
  69. package/docs/functions/PanoTagPlugin.html +5 -5
  70. package/docs/functions/PanoVideoPlugin.html +5 -5
  71. package/docs/functions/PipelinePlugin.html +5 -5
  72. package/docs/functions/TopviewFloorplanPlugin.html +5 -5
  73. package/docs/functions/Util.absoluteUrl.html +5 -5
  74. package/docs/functions/Util.checkFiveModelLoaded.html +5 -5
  75. package/docs/functions/Util.equal.html +5 -5
  76. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  77. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  78. package/docs/functions/Util.getFrameTime.html +5 -5
  79. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  80. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  81. package/docs/functions/Util.isAbsoluteURL.html +5 -5
  82. package/docs/functions/Util.isModelLike.html +5 -5
  83. package/docs/functions/Util.isNil.html +5 -5
  84. package/docs/functions/Util.isPanoramaLike.html +5 -5
  85. package/docs/functions/Util.nextFrame.html +5 -5
  86. package/docs/functions/Util.notNil.html +5 -5
  87. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  88. package/docs/functions/Util.tweenProgress.html +5 -5
  89. package/docs/functions/Util.uuid.html +5 -5
  90. package/docs/functions/pluginFlag.html +5 -5
  91. package/docs/index.html +20 -21
  92. package/docs/interfaces/AddTagConfig.html +6 -6
  93. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +6 -6
  94. package/docs/interfaces/AreaMakerPluginType.Config.html +7 -7
  95. package/docs/interfaces/AreaMakerPluginType.EventMap.html +15 -15
  96. package/docs/interfaces/AreaMakerPluginType.Params.html +7 -7
  97. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +11 -11
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -9
  99. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +6 -6
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +6 -6
  101. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +6 -6
  102. package/docs/interfaces/AreaMakerPluginType.State.html +8 -8
  103. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  104. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  105. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  106. package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
  107. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
  108. package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -21
  109. package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
  110. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
  111. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
  112. package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
  113. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  114. package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
  115. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +11 -11
  116. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +12 -12
  117. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +7 -7
  118. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +6 -6
  119. package/docs/interfaces/CurrentPanoImagePluginType.State.html +8 -8
  120. package/docs/interfaces/EventMap.html +15 -15
  121. package/docs/interfaces/FloorplanBounding.html +8 -8
  122. package/docs/interfaces/FloorplanData.html +10 -10
  123. package/docs/interfaces/FloorplanEntrance.html +11 -11
  124. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  125. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  126. package/docs/interfaces/FloorplanFloorData.html +9 -9
  127. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  128. package/docs/interfaces/FloorplanObserver.html +9 -9
  129. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  130. package/docs/interfaces/FloorplanPosition.html +7 -7
  131. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  132. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  133. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  134. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  135. package/docs/interfaces/FloorplanServerData.html +7 -7
  136. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  137. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  138. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  139. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  140. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  141. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  142. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  143. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  144. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  145. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  146. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -9
  147. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
  148. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
  149. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
  150. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
  151. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +13 -13
  152. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +6 -6
  153. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
  154. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +19 -19
  155. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +7 -7
  156. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
  157. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -5
  158. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  159. package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -8
  160. package/docs/interfaces/GuideLinePluginType.Route.html +11 -11
  161. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
  162. package/docs/interfaces/HelperOffset.html +8 -8
  163. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  164. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  165. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  166. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  167. package/docs/interfaces/MinMax.html +7 -7
  168. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  169. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  170. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  171. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  172. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  173. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  174. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  175. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  176. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  177. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  178. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  179. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  180. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  181. package/docs/interfaces/Object3DHelperState.html +8 -8
  182. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  183. package/docs/interfaces/PaintBrushAction.html +12 -12
  184. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  185. package/docs/interfaces/PaintBrushState.html +10 -10
  186. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  187. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  188. package/docs/interfaces/PanoMeasureParameterType.html +16 -16
  189. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  190. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  191. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  192. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  193. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  194. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  195. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  196. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  197. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  198. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  199. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  200. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  201. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  202. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  203. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  204. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  205. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  206. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  207. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  208. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  209. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  210. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  211. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  212. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  213. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  214. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  215. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  216. package/docs/interfaces/Point.html +8 -8
  217. package/docs/interfaces/Room.html +9 -9
  218. package/docs/interfaces/RoomInfo.html +7 -7
  219. package/docs/interfaces/RoomLabel.html +14 -14
  220. package/docs/interfaces/RoomRules.html +5 -5
  221. package/docs/interfaces/Rooms.html +5 -5
  222. package/docs/interfaces/Scissor.html +9 -9
  223. package/docs/interfaces/State.html +8 -8
  224. package/docs/interfaces/TagCacheInterface.html +12 -12
  225. package/docs/interfaces/TagConfig.html +30 -30
  226. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  227. package/docs/interfaces/TagIconUrl.html +12 -12
  228. package/docs/interfaces/TagObjectGroup.html +6 -6
  229. package/docs/interfaces/TagStyle.html +6 -6
  230. package/docs/interfaces/Tags.html +9 -9
  231. package/docs/interfaces/TemporaryState.html +6 -6
  232. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  233. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  234. package/docs/interfaces/Util.PointIntersection.html +8 -8
  235. package/docs/modules/AreaMakerPluginType.html +5 -5
  236. package/docs/modules/CruisePluginTypes.html +5 -5
  237. package/docs/modules/CurrentPanoImagePluginType.html +5 -5
  238. package/docs/modules/GuideLineItem.html +5 -5
  239. package/docs/modules/GuideLineModeItem.html +5 -5
  240. package/docs/modules/GuideLinePluginType.html +5 -5
  241. package/docs/modules/PanoVideoPluginType.html +5 -5
  242. package/docs/modules/Util.html +5 -5
  243. package/docs/modules.html +4 -4
  244. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +5 -5
  245. package/docs/types/AreaMakerPluginType.ItemRenderer.html +5 -5
  246. package/docs/types/AreaMakerPluginType.PluginData.html +5 -5
  247. package/docs/types/AreaMakerPluginType.ServerData.html +5 -5
  248. package/docs/types/ArrayPosition.html +5 -5
  249. package/docs/types/AudioAppearance.html +5 -5
  250. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  251. package/docs/types/CSS3DRenderExportType.html +5 -5
  252. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  253. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  254. package/docs/types/ClassFunctionParameters.html +5 -5
  255. package/docs/types/Color.html +5 -5
  256. package/docs/types/ContentTypeConfigKey.html +5 -5
  257. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  258. package/docs/types/ContentTypeMap.html +5 -5
  259. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  260. package/docs/types/Create3DElementReturnType.html +5 -5
  261. package/docs/types/CruisePluginExportType.html +5 -5
  262. package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
  263. package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
  264. package/docs/types/CurrentPanoImagePluginExportType.html +5 -5
  265. package/docs/types/DeprecatedMediaPlaneProperty.html +5 -5
  266. package/docs/types/DeprecatedTagProperty.html +5 -5
  267. package/docs/types/Direction-1.html +5 -5
  268. package/docs/types/Direction4.html +5 -5
  269. package/docs/types/ElementRenderer.html +5 -5
  270. package/docs/types/FloorplanRuleLabels.html +5 -5
  271. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  272. package/docs/types/GuideLinePluginExportType.html +5 -5
  273. package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -5
  274. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
  275. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
  276. package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
  277. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -5
  278. package/docs/types/GuideLinePluginType.PathItem.html +5 -5
  279. package/docs/types/GuideLinePluginType.PluginData.html +5 -5
  280. package/docs/types/HelperEventMap.html +5 -5
  281. package/docs/types/LoadTagConfig.html +5 -5
  282. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  283. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  284. package/docs/types/MediaData.html +5 -5
  285. package/docs/types/MediaStore.html +5 -5
  286. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  287. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  288. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  289. package/docs/types/ModelId.html +5 -5
  290. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  291. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  292. package/docs/types/MoveArgs.html +5 -5
  293. package/docs/types/MoveOpts.html +5 -5
  294. package/docs/types/Object3DHelperEventMap.html +5 -5
  295. package/docs/types/ObjectFit.html +5 -5
  296. package/docs/types/PaintBrushEventMap.html +5 -5
  297. package/docs/types/PanoCompassPluginData.html +5 -5
  298. package/docs/types/PanoCompassPluginExportType.html +5 -5
  299. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  300. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  301. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  302. package/docs/types/PanoIndex.html +5 -5
  303. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  304. package/docs/types/PanoMeasureReturnType.html +5 -5
  305. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  306. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  307. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  308. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  309. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  310. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -5
  311. package/docs/types/PipelinePluginParameterType.html +5 -5
  312. package/docs/types/PipelinePluginReturnType.html +5 -5
  313. package/docs/types/PlaneTag.html +5 -5
  314. package/docs/types/Point2DTag.html +5 -5
  315. package/docs/types/Point3DTag.html +5 -5
  316. package/docs/types/PointTag.html +5 -5
  317. package/docs/types/PointTagInstance.html +5 -5
  318. package/docs/types/Position.html +5 -5
  319. package/docs/types/RotateArgs.html +5 -5
  320. package/docs/types/RotateOpts.html +5 -5
  321. package/docs/types/RuleLabelsKey.html +5 -5
  322. package/docs/types/RuleLabelsValue.html +5 -5
  323. package/docs/types/StickType.html +5 -5
  324. package/docs/types/Tag.html +5 -5
  325. package/docs/types/Tag2D.html +5 -5
  326. package/docs/types/Tag3D.html +5 -5
  327. package/docs/types/TagConfigByKey.html +5 -5
  328. package/docs/types/TagContentType.html +5 -5
  329. package/docs/types/TagContentTypeMapping.html +5 -5
  330. package/docs/types/TagDimensionType.html +5 -5
  331. package/docs/types/TagElement.html +5 -5
  332. package/docs/types/TagEvents.html +5 -5
  333. package/docs/types/TagGLTFObject.html +5 -5
  334. package/docs/types/TagHooks.html +5 -5
  335. package/docs/types/TagId.html +5 -5
  336. package/docs/types/TagInstance.html +5 -5
  337. package/docs/types/TagPointType.html +5 -5
  338. package/docs/types/TagRendererMap.html +5 -5
  339. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  340. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  341. package/docs/types/WorkCode.html +5 -5
  342. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  343. package/docs/variables/PLUGIN.html +5 -5
  344. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  345. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  346. package/docs/variables/defaultGlobalConfig.html +5 -5
  347. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  348. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  349. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  350. package/libs/AreaMakerPlugin/Controller.js +54 -44
  351. package/libs/AreaMakerPlugin/index.js +13 -3
  352. package/libs/AreaMakerPlugin/utils/Item.js +13 -3
  353. package/libs/CruisePlugin/Work.js +19 -6
  354. package/libs/CruisePlugin/index.js +23 -10
  355. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  356. package/libs/GuideLinePlugin/Controller.js +46 -33
  357. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  358. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  359. package/libs/GuideLinePlugin/index.js +24 -11
  360. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  361. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  362. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  363. package/libs/ItemLabelPlugin/index.js +16 -5
  364. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  365. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  366. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  367. package/libs/ModelItemLabelPlugin/index.js +16 -5
  368. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  369. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  370. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  371. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  372. package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
  373. package/libs/PanoDoorLabelPlugin/Controller.js +72 -62
  374. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  375. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  376. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  377. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  378. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  379. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  380. package/libs/PanoMeasurePlugin/Components/Controller0.js +74 -63
  381. package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
  382. package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
  383. package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
  384. package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
  385. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +33 -22
  386. package/libs/PanoMeasurePlugin/index.js +27 -16
  387. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  388. package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
  389. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  390. package/libs/PanoRulerProPlugin/index.js +15 -4
  391. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  392. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  393. package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
  394. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  395. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  396. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  397. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  398. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  399. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
  400. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
  401. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  402. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  403. package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
  404. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  405. package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
  406. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  407. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  408. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
  409. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
  410. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  411. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
  412. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  413. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  414. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  415. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  416. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  417. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +216 -198
  418. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  419. package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
  420. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
  421. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
  422. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  423. package/libs/PanoTagPlugin/Components/Tag/index.js +155 -142
  424. package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
  425. package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
  426. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  427. package/libs/PanoTagPlugin/controller/TagRender.js +33 -18
  428. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
  429. package/libs/PanoTagPlugin/controller/index.js +32 -19
  430. package/libs/PanoTagPlugin/index.js +28 -15
  431. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  432. package/libs/base/BasePlugin.js +1 -1
  433. package/libs/components/AreaLabel/LabelItem.js +59 -54
  434. package/libs/floorplan/Components/BaseImage.js +43 -39
  435. package/libs/floorplan/Components/Camera.js +41 -32
  436. package/libs/floorplan/Components/Compass.js +27 -24
  437. package/libs/floorplan/Components/CurrentFloor.js +54 -49
  438. package/libs/floorplan/Components/Main.js +56 -47
  439. package/libs/floorplan/Components/MissingFloor.js +24 -21
  440. package/libs/floorplan/Components/Normalmage.js +25 -22
  441. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  442. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  443. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
  444. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
  445. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  446. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  447. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  448. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  449. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  450. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  451. package/libs/floorplan/Components/SvgImage.js +30 -27
  452. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
  453. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  454. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
  455. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  456. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
  457. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
  458. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
  459. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
  460. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +24 -12
  461. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  462. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +33 -21
  463. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  464. package/libs/floorplan/index.js +1 -0
  465. package/libs/index.js +138 -124
  466. package/libs/shared-utils/logger.js +1 -1
  467. package/libs/vendor/classnames/index.js +32 -32
  468. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  469. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  470. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  471. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  472. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  473. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  474. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  475. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  476. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  477. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  478. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  479. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  480. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  481. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  482. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  483. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  484. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  485. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  486. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  487. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  488. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  489. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  490. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  491. package/libs/vendor/svelte/src/shared/version.js +4 -0
  492. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
  493. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  494. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  495. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  496. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  497. package/package.json +11 -8
  498. package/libs/vendor/svelte/internal/index.js +0 -749
  499. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  500. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import * as a from "three";
2
- import { Subscribe as we, Five as ye } from "@realsee/five";
3
- import { CSS3DRenderPlugin as Te } from "../CSS3DRenderPlugin/index.js";
4
- import Me from "./Components/origins.js";
5
- import Pe from "./Components/tag.js";
6
- import { pluginStyle as xe } from "./style.js";
7
- import { render as Ee } from "../shared-utils/tinyEJSrender.js";
2
+ import { Subscribe as yo, Five as To } from "@realsee/five";
3
+ import { CSS3DRenderPlugin as Mo } from "../CSS3DRenderPlugin/index.js";
4
+ import Po from "./Components/origins.js";
5
+ import xo from "./Components/tag.js";
6
+ import { pluginStyle as Eo } from "./style.js";
7
+ import { render as jo } from "../shared-utils/tinyEJSrender.js";
8
8
  import "../CSS3DRenderPlugin/Controller.js";
9
9
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
10
10
  import "../shared-utils/positionToVector3.js";
@@ -26,48 +26,59 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
26
26
  import "hammerjs";
27
27
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
28
28
  import "../shared-utils/url/absoluteUrl.js";
29
- import "../vendor/svelte/internal/index.js";
29
+ import "../vendor/svelte/src/runtime/internal/utils.js";
30
+ import "../vendor/svelte/src/runtime/internal/dom.js";
31
+ import "../vendor/svelte/src/runtime/internal/each.js";
32
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
33
+ import "../vendor/svelte/src/runtime/internal/environment.js";
34
+ import "../vendor/svelte/src/runtime/internal/loop.js";
35
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
36
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
37
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
38
+ import "../vendor/svelte/src/runtime/internal/Component.js";
39
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
40
+ import "../vendor/svelte/src/shared/version.js";
30
41
  import "./store.js";
31
- import "../vendor/svelte/store/index.js";
32
- const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", to = (n, s) => {
42
+ import "../vendor/svelte/src/runtime/store/index.js";
43
+ const D = 1e-3, v = 0.01, Io = "https://vrlab-image4.ljcdn.com/release/web/PanoSpatialTagPlugin__blur.png", ue = (n, r) => {
33
44
  var k, z, q, B, G, J, K, Q;
34
- let j = s == null ? void 0 : s.container, y = 1.4;
35
- const ee = (k = s == null ? void 0 : s.wait) != null ? k : 200, oe = (z = s == null ? void 0 : s.maxNumberOnScreen) != null ? z : 3, I = (q = s == null ? void 0 : s.minRad) != null ? q : Math.PI / 4, L = (B = s == null ? void 0 : s.nearTolerance) != null ? B : 100, te = (G = s == null ? void 0 : s.upsideHeight) != null ? G : 1.6, A = (J = s == null ? void 0 : s.minDistance) != null ? J : 1.2, f = (K = s == null ? void 0 : s.maxDistance) != null ? K : 3.5, C = Te(n), S = document.createElement("div");
36
- S.classList.add("PanoSpatialTagPlugin"), Object.assign(S.style, xe);
37
- const V = new we();
45
+ let j = r == null ? void 0 : r.container, y = 1.4;
46
+ const oo = (k = r == null ? void 0 : r.wait) != null ? k : 200, eo = (z = r == null ? void 0 : r.maxNumberOnScreen) != null ? z : 3, I = (q = r == null ? void 0 : r.minRad) != null ? q : Math.PI / 4, L = (B = r == null ? void 0 : r.nearTolerance) != null ? B : 100, to = (G = r == null ? void 0 : r.upsideHeight) != null ? G : 1.6, A = (J = r == null ? void 0 : r.minDistance) != null ? J : 1.2, f = (K = r == null ? void 0 : r.maxDistance) != null ? K : 3.5, C = Mo(n), S = document.createElement("div");
47
+ S.classList.add("PanoSpatialTagPlugin"), Object.assign(S.style, Eo);
48
+ const V = new yo();
38
49
  let Z = new Image();
39
- Z.src = je;
40
- const e = {
50
+ Z.src = Io;
51
+ const o = {
41
52
  points: [],
42
53
  origins: [],
43
54
  tags: [],
44
55
  template: "",
45
56
  events: {},
46
- render: Ee,
57
+ render: jo,
47
58
  folded: !1,
48
59
  enabled: !0,
49
60
  forbidden: !0
50
- }, Y = new Me({
61
+ }, Y = new Po({
51
62
  target: S,
52
- props: { origins: e.origins }
53
- }), _ = (o, r) => {
54
- T(), r && M();
63
+ props: { origins: o.origins }
64
+ }), _ = (e, s) => {
65
+ T(), s && M();
55
66
  }, F = () => {
56
- e.forbidden && (e.forbidden = !1, M());
57
- }, H = (o, r) => {
58
- if (e.tags.length === 0)
67
+ o.forbidden && (o.forbidden = !1, M());
68
+ }, H = (e, s) => {
69
+ if (o.tags.length === 0)
59
70
  return;
60
- const p = r.longitude - n.state.longitude, t = n.camera.clone();
61
- t.position.copy(r.offset), t.rotateOnWorldAxis(new a.Vector3(0, 1, 0), p), t.updateProjectionMatrix(), t.updateMatrixWorld(!0);
71
+ const p = s.longitude - n.state.longitude, t = n.camera.clone();
72
+ t.position.copy(s.offset), t.rotateOnWorldAxis(new a.Vector3(0, 1, 0), p), t.updateProjectionMatrix(), t.updateMatrixWorld(!0);
62
73
  const g = new a.Frustum(), P = new a.Matrix4();
63
- P.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), g.setFromProjectionMatrix(P), e.tags.forEach((i) => {
74
+ P.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), g.setFromProjectionMatrix(P), o.tags.forEach((i) => {
64
75
  const $ = t.position.clone().setY(y).distanceTo(i.position);
65
76
  if ($ < A || $ > f || !g.containsPoint(i.position))
66
77
  return i.destroying = !0;
67
78
  const x = i.position.clone().sub(t.position).setY(0);
68
79
  if (x.angleTo(i.normal) > Math.PI / 2 - I && x.angleTo(i.normal) < Math.PI / 2 + I)
69
80
  return i.destroying = !0;
70
- }), e.tags.forEach((i) => {
81
+ }), o.tags.forEach((i) => {
71
82
  i.destroying ? i.app.$set({
72
83
  contentZoom: 0.1 + t.position.distanceTo(i.position) / f,
73
84
  lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(i.position) / f),
@@ -78,20 +89,20 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
78
89
  contentZoom: 0.1 + t.position.distanceTo(i.position) / f
79
90
  });
80
91
  }), setTimeout(() => {
81
- e.tags.forEach((i) => {
92
+ o.tags.forEach((i) => {
82
93
  i.destroying && (i.app.$destroy(), i = null);
83
- }), e.tags = e.tags.filter((i) => !i.destroying), T();
94
+ }), o.tags = o.tags.filter((i) => !i.destroying), T();
84
95
  }, 1900);
85
- }, N = (o) => {
86
- o !== ye.Mode.Panorama && !e.forbidden && (Y.$set({ origins: [] }), e.tags.forEach((r) => {
87
- r.app.$destroy(), r = null;
88
- }), e.origins = [], e.tags = [], e.forbidden = !0);
96
+ }, N = (e) => {
97
+ e !== To.Mode.Panorama && !o.forbidden && (Y.$set({ origins: [] }), o.tags.forEach((s) => {
98
+ s.app.$destroy(), s = null;
99
+ }), o.origins = [], o.tags = [], o.forbidden = !0);
89
100
  }, T = () => {
90
- if (e.forbidden || !e.enabled)
101
+ if (o.forbidden || !o.enabled)
91
102
  return;
92
- const o = n.camera, r = o.getWorldDirection(new a.Vector3());
93
- e.origins = e.tags.map((p) => {
94
- const t = p.position.clone().project(o), g = p.position.clone().sub(o.position).setY(0).angleTo(r.setY(0)) < Math.PI / 2;
103
+ const e = n.camera, s = e.getWorldDirection(new a.Vector3());
104
+ o.origins = o.tags.map((p) => {
105
+ const t = p.position.clone().project(e), g = p.position.clone().sub(e.position).setY(0).angleTo(s.setY(0)) < Math.PI / 2;
95
106
  return {
96
107
  id: p.id,
97
108
  front: g,
@@ -99,18 +110,18 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
99
110
  top: (-t.y + 1) / 2 * 100,
100
111
  destroying: p.destroying
101
112
  };
102
- }), Y.$set({ origins: e.origins });
113
+ }), Y.$set({ origins: o.origins });
103
114
  }, M = () => {
104
- e.forbidden || !e.enabled || (e.timeoutId && clearTimeout(e.timeoutId), e.timeoutId = setTimeout(() => {
105
- e.timeoutId = void 0;
106
- const o = ne();
107
- o.length && (e.tags = e.tags.concat(o), T());
108
- }, ee));
109
- }, ne = () => {
110
- const { clientWidth: o, clientHeight: r } = n.getElement(), p = [], t = n.camera, g = new a.Frustum(), P = new a.Matrix4(), i = t.getWorldDirection(new a.Vector3());
115
+ o.forbidden || !o.enabled || (o.timeoutId && clearTimeout(o.timeoutId), o.timeoutId = setTimeout(() => {
116
+ o.timeoutId = void 0;
117
+ const e = no();
118
+ e.length && (o.tags = o.tags.concat(e), T());
119
+ }, oo));
120
+ }, no = () => {
121
+ const { clientWidth: e, clientHeight: s } = n.getElement(), p = [], t = n.camera, g = new a.Frustum(), P = new a.Matrix4(), i = t.getWorldDirection(new a.Vector3());
111
122
  P.multiplyMatrices(t.projectionMatrix, t.matrixWorldInverse), g.setFromProjectionMatrix(P);
112
- const $ = e.tags.filter((d) => g.containsPoint(d.position) && !d.destroying).length, x = e.points.reduce((d, m) => {
113
- if (e.tags.find((l) => m.id === l.id && !l.destroying))
123
+ const $ = o.tags.filter((d) => g.containsPoint(d.position) && !d.destroying).length, x = o.points.reduce((d, m) => {
124
+ if (o.tags.find((l) => m.id === l.id && !l.destroying))
114
125
  return d;
115
126
  const u = t.position.clone().setY(y).distanceTo(m.position);
116
127
  if (u < A || u > f || !g.containsPoint(m.position))
@@ -119,11 +130,11 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
119
130
  if (E.angleTo(m.normal) > Math.PI / 2 - I && E.angleTo(m.normal) < Math.PI / 2 + I)
120
131
  return d;
121
132
  const w = m.position.clone().project(t);
122
- if (!e.tags.every((l) => {
133
+ if (!o.tags.every((l) => {
123
134
  if (l.position.clone().sub(t.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
124
135
  return !0;
125
136
  const b = l.position.clone().project(t);
126
- return Math.sqrt(Math.pow((w.x - b.x) / 2 * o, 2) + Math.pow((w.y - b.y) / 2 * r, 2)) > L;
137
+ return Math.sqrt(Math.pow((w.x - b.x) / 2 * e, 2) + Math.pow((w.y - b.y) / 2 * s, 2)) > L;
127
138
  }))
128
139
  return d;
129
140
  const h = {
@@ -148,16 +159,16 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
148
159
  }
149
160
  return c !== void 0 ? d.splice(c, 0, h) : d.push(h), d;
150
161
  }, []);
151
- for (let d = 0, m = x.length; d < m && !($ + p.length >= oe); d++) {
162
+ for (let d = 0, m = x.length; d < m && !($ + p.length >= eo); d++) {
152
163
  const u = x[d];
153
164
  if (p.find((c) => u.id === c.id))
154
165
  continue;
155
166
  const E = u.position.clone().project(t);
156
- if (!e.tags.concat(p).every((c) => {
167
+ if (!o.tags.concat(p).every((c) => {
157
168
  if (c.position.clone().sub(t.position).setY(0).angleTo(i.setY(0)) > Math.PI / 2)
158
169
  return !0;
159
170
  const l = c.position.clone().project(t);
160
- return Math.sqrt(Math.pow((E.x - l.x) / 2 * o, 2) + Math.pow((E.y - l.y) / 2 * r, 2)) > L;
171
+ return Math.sqrt(Math.pow((E.x - l.x) / 2 * e, 2) + Math.pow((E.y - l.y) / 2 * s, 2)) > L;
161
172
  }))
162
173
  continue;
163
174
  const w = new a.Raycaster(
@@ -165,95 +176,95 @@ const D = 1e-3, v = 0.01, je = "https://vrlab-image4.ljcdn.com/release/web/PanoS
165
176
  u.position.clone().sub(t.position.clone().setY(y)).normalize(),
166
177
  0,
167
178
  u.distance + v
168
- ), [h] = e.intersectObjects ? w.intersectObjects(e.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(w) : w.intersectObjects(n.model.children, !0);
179
+ ), [h] = o.intersectObjects ? w.intersectObjects(o.intersectObjects, !0) : n.model.loaded ? n.model.intersectRaycaster(w) : w.intersectObjects(n.model.children, !0);
169
180
  if (h && u.distance - h.distance < v) {
170
- const { position: c, normal: l, id: b, replacement: O } = u, me = new a.Plane().setFromNormalAndCoplanarPoint(l, c), X = c.clone().sub(t.position).cross(new a.Vector3(0, 1, 0)).setLength(D), fe = [
181
+ const { position: c, normal: l, id: b, replacement: O } = u, fo = new a.Plane().setFromNormalAndCoplanarPoint(l, c), X = c.clone().sub(t.position).cross(new a.Vector3(0, 1, 0)).setLength(D), uo = [
171
182
  c.clone(),
172
183
  c.clone().add(X),
173
184
  c.clone().add(new a.Vector3(0, D, 0)).add(X),
174
185
  c.clone().add(new a.Vector3(0, D, 0))
175
- ].map((be) => me.projectPoint(be, new a.Vector3())), { container: ue, dispose: ge } = C.create3DDomContainer(fe) || {}, he = new Pe({
176
- target: ue,
186
+ ].map((wo) => fo.projectPoint(wo, new a.Vector3())), { container: go, dispose: ho } = C.create3DDomContainer(uo) || {}, bo = new xo({
187
+ target: go,
177
188
  props: {
178
189
  id: b,
179
- content: e.render(e.template, O),
190
+ content: o.render(o.template, O),
180
191
  lineWidthZoom: 0.38 * (0.01 + t.position.distanceTo(c) / f),
181
192
  lineHeightZoom: 0.4 + (t.position.distanceTo(c) - A) / f * 0.6,
182
193
  contentZoom: 0.1 + t.position.distanceTo(c) / f,
183
- upsideDown: c.y > te,
184
- folded: e.folded,
185
- events: e.events,
194
+ upsideDown: c.y > to,
195
+ folded: o.folded,
196
+ events: o.events,
186
197
  hooks: V,
187
- dispose: ge
198
+ dispose: ho
188
199
  }
189
200
  });
190
201
  p.push({
191
202
  position: c,
192
203
  normal: l,
193
204
  id: b,
194
- app: he
205
+ app: bo
195
206
  });
196
207
  }
197
208
  }
198
209
  return p;
199
- }, ie = (o) => {
200
- e.points = o.points.map((r) => {
210
+ }, io = (e) => {
211
+ o.points = e.points.map((s) => {
201
212
  var p, t;
202
213
  return {
203
- id: r.id,
204
- position: new a.Vector3().fromArray(r.position),
205
- normal: new a.Vector3().fromArray(r.normal),
206
- replacement: (p = r.replacement) != null ? p : {},
207
- weight: (t = r.weight) != null ? t : -1
214
+ id: s.id,
215
+ position: new a.Vector3().fromArray(s.position),
216
+ normal: new a.Vector3().fromArray(s.normal),
217
+ replacement: (p = s.replacement) != null ? p : {},
218
+ weight: (t = s.weight) != null ? t : -1
208
219
  };
209
- }), o.render && (e.render = o.render), o.template && (e.template = o.template), o.events && (e.events = o.events), o.enabled === !1 && (e.enabled = o.enabled), o.folded === !0 && (e.folded = o.folded);
210
- }, se = (o) => {
211
- e.intersectObjects = o, M();
212
- }, re = () => {
213
- e.enabled = !0, M();
214
- }, ce = () => {
215
- e.enabled = !1, Y.$set({ origins: [] }), e.tags.forEach((o) => {
216
- o.app.$destroy(), o = null;
217
- }), e.origins = [], e.tags = [];
218
- }, de = () => {
219
- e.folded = !1, e.tags.forEach((o) => {
220
- o.app.$set({ folded: e.folded });
220
+ }), e.render && (o.render = e.render), e.template && (o.template = e.template), e.events && (o.events = e.events), e.enabled === !1 && (o.enabled = e.enabled), e.folded === !0 && (o.folded = e.folded);
221
+ }, ro = (e) => {
222
+ o.intersectObjects = e, M();
223
+ }, so = () => {
224
+ o.enabled = !0, M();
225
+ }, co = () => {
226
+ o.enabled = !1, Y.$set({ origins: [] }), o.tags.forEach((e) => {
227
+ e.app.$destroy(), e = null;
228
+ }), o.origins = [], o.tags = [];
229
+ }, lo = () => {
230
+ o.folded = !1, o.tags.forEach((e) => {
231
+ e.app.$set({ folded: o.folded });
221
232
  });
222
- }, le = () => {
223
- e.folded = !0, e.tags.forEach((o) => {
224
- o.app.$set({ folded: e.folded });
233
+ }, ao = () => {
234
+ o.folded = !0, o.tags.forEach((e) => {
235
+ e.app.$set({ folded: o.folded });
225
236
  });
226
- }, ae = (o) => {
227
- e.tags.forEach((r) => {
228
- r.id === o && r.app.$set({ folded: !1 });
237
+ }, po = (e) => {
238
+ o.tags.forEach((s) => {
239
+ s.id === e && s.app.$set({ folded: !1 });
229
240
  });
230
- }, pe = (o) => {
231
- e.tags.forEach((r) => {
232
- r.id === o && r.app.$set({ folded: !0 });
241
+ }, mo = (e) => {
242
+ o.tags.forEach((s) => {
243
+ s.id === e && s.app.$set({ folded: !0 });
233
244
  });
234
245
  }, U = () => {
235
246
  n.once("renderFrame", T);
236
247
  }, R = () => {
237
- j || (j = n.getElement().parentElement), j && j.appendChild(S), e.forbidden = !1, y = n.model.bounding.getCenter(new a.Vector3()).y, M(), n.on("panoWillArrive", H), n.on("panoArrived", F), n.on("modeChange", N), n.on("cameraUpdate", _);
248
+ j || (j = n.getElement().parentElement), j && j.appendChild(S), o.forbidden = !1, y = n.model.bounding.getCenter(new a.Vector3()).y, M(), n.on("panoWillArrive", H), n.on("panoArrived", F), n.on("modeChange", N), n.on("cameraUpdate", _);
238
249
  }, W = () => {
239
- Z = null, C.disposeAll(), Y.$destroy(), e.tags.forEach((o) => {
240
- o.app.$destroy(), o = null;
241
- }), e.origins = [], e.tags = [], n.off("modelLoaded", R), n.off("renderFrame", T), n.off("panoWillArrive", H), n.off("panoArrived", F), n.off("modeChange", N), n.off("cameraUpdate", _), n.off("dispose", W), window.removeEventListener("resize", U, !1);
250
+ Z = null, C.disposeAll(), Y.$destroy(), o.tags.forEach((e) => {
251
+ e.app.$destroy(), e = null;
252
+ }), o.origins = [], o.tags = [], n.off("modelLoaded", R), n.off("renderFrame", T), n.off("panoWillArrive", H), n.off("panoArrived", F), n.off("modeChange", N), n.off("cameraUpdate", _), n.off("dispose", W), window.removeEventListener("resize", U, !1);
242
253
  };
243
254
  return window.addEventListener("resize", U, !1), (Q = n == null ? void 0 : n.model) != null && Q.loaded ? R() : n.once("modelLoaded", R), n.on("dispose", W), {
244
- load: ie,
245
- setIntersectObjects: se,
246
- unfoldAll: de,
247
- foldAll: le,
248
- unfold: ae,
249
- fold: pe,
250
- enable: re,
251
- disable: ce,
255
+ load: io,
256
+ setIntersectObjects: ro,
257
+ unfoldAll: lo,
258
+ foldAll: ao,
259
+ unfold: po,
260
+ fold: mo,
261
+ enable: so,
262
+ disable: co,
252
263
  hooks: V,
253
264
  dispose: W
254
265
  };
255
266
  };
256
267
  export {
257
- to as PanoSpatialTagPlugin,
258
- to as default
268
+ ue as PanoSpatialTagPlugin,
269
+ ue as default
259
270
  };
@@ -24,9 +24,20 @@ import "hammerjs";
24
24
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
25
25
  import "../shared-utils/url/absoluteUrl.js";
26
26
  import "./Components/origins.js";
27
- import "../vendor/svelte/internal/index.js";
27
+ import "../vendor/svelte/src/runtime/internal/utils.js";
28
+ import "../vendor/svelte/src/runtime/internal/dom.js";
29
+ import "../vendor/svelte/src/runtime/internal/each.js";
30
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
31
+ import "../vendor/svelte/src/runtime/internal/environment.js";
32
+ import "../vendor/svelte/src/runtime/internal/loop.js";
33
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
34
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
35
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
36
+ import "../vendor/svelte/src/runtime/internal/Component.js";
37
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
38
+ import "../vendor/svelte/src/shared/version.js";
28
39
  import "./store.js";
29
- import "../vendor/svelte/store/index.js";
40
+ import "../vendor/svelte/src/runtime/store/index.js";
30
41
  import "./Components/tag.js";
31
42
  import "./style.js";
32
43
  import "../shared-utils/tinyEJSrender.js";
@@ -1 +1,2 @@
1
+ /// <reference types="svelte" />
1
2
  export declare const currentTarget: import("svelte/store").Writable<any>;
@@ -1,5 +1,5 @@
1
- import { writable as r } from "../vendor/svelte/store/index.js";
2
- import "../vendor/svelte/internal/index.js";
1
+ import { writable as r } from "../vendor/svelte/src/runtime/store/index.js";
2
+ import "../vendor/svelte/src/runtime/internal/utils.js";
3
3
  const e = r(null);
4
4
  export {
5
5
  e as currentTarget
@@ -1,13 +1,23 @@
1
- import { SvelteComponent as p, init as D, safe_not_equal as A, append_styles as I, empty as R, insert as y, transition_in as d, transition_out as _, check_outros as S, detach as k, element as v, create_component as z, space as C, attr as c, set_style as N, mount_component as O, append as q, listen as j, add_render_callback as B, create_in_transition as E, create_out_transition as F, destroy_component as G, group_outros as H, bubble as J } from "../../../vendor/svelte/internal/index.js";
2
- import { fade as w } from "../../../vendor/svelte/transition/index.js";
1
+ import { safe_not_equal as k } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as D, empty as A, insert as h, detach as y, element as v, space as I, attr as c, set_style as R, append as q, listen as S } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { transition_in as u, transition_out as _, check_outros as z, create_in_transition as C, create_out_transition as N, group_outros as O } from "../../../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { add_render_callback as j } from "../../../vendor/svelte/src/runtime/internal/scheduler.js";
5
+ import { bubble as B } from "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
6
+ import { SvelteComponent as E, init as F, create_component as G, mount_component as H, destroy_component as J } from "../../../vendor/svelte/src/runtime/internal/Component.js";
7
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
8
+ import { fade as p } from "../../../vendor/svelte/src/runtime/transition/index.js";
3
9
  import { Image_Arrow as K } from "../../Assets/Icon.js";
4
- import { cubicInOut as b } from "../../../vendor/svelte/easing/index.js";
10
+ import { cubicInOut as w } from "../../../vendor/svelte/src/runtime/easing/index.js";
5
11
  import L from "./Shadow.js";
12
+ import "../../../vendor/svelte/src/runtime/internal/environment.js";
13
+ import "../../../vendor/svelte/src/runtime/internal/loop.js";
14
+ import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
15
+ import "../../../vendor/svelte/src/shared/version.js";
6
16
  function M(i) {
7
- I(i, "svelte-1ogmlqq", ".arrow.svelte-1ogmlqq{width:100%;height:100%;background-size:100%;transition:transform 400ms ease-in-out;cursor:pointer;pointer-events:auto}.arrow-wrapper.svelte-1ogmlqq{position:relative;width:100%;height:100%}.arrow.left.svelte-1ogmlqq{transform:rotate(0deg)}.arrow.right.svelte-1ogmlqq{transform:rotate(-180deg)}.arrow.top.svelte-1ogmlqq{transform:rotate(90deg)}.arrow.bottom.svelte-1ogmlqq{transform:rotate(-90deg)}");
17
+ D(i, "svelte-1ogmlqq", ".arrow.svelte-1ogmlqq{width:100%;height:100%;background-size:100%;transition:transform 400ms ease-in-out;cursor:pointer;pointer-events:auto}.arrow-wrapper.svelte-1ogmlqq{position:relative;width:100%;height:100%}.arrow.left.svelte-1ogmlqq{transform:rotate(0deg)}.arrow.right.svelte-1ogmlqq{transform:rotate(-180deg)}.arrow.top.svelte-1ogmlqq{transform:rotate(90deg)}.arrow.bottom.svelte-1ogmlqq{transform:rotate(-90deg)}");
8
18
  }
9
- function h(i) {
10
- let r, o, e, t, l, f, s, u, n, g;
19
+ function b(i) {
20
+ let r, o, e, t, l, f, s, m, n, g;
11
21
  return o = new L({
12
22
  props: {
13
23
  center: !0,
@@ -16,25 +26,25 @@ function h(i) {
16
26
  }
17
27
  }), {
18
28
  c() {
19
- r = v("div"), z(o.$$.fragment), e = C(), t = v("div"), c(t, "class", l = "arrow " + /*direction*/
20
- i[0] + " svelte-1ogmlqq"), N(t, "background-image", "url(" + K + ")"), c(r, "class", "arrow-wrapper svelte-1ogmlqq");
29
+ r = v("div"), G(o.$$.fragment), e = I(), t = v("div"), c(t, "class", l = "arrow " + /*direction*/
30
+ i[0] + " svelte-1ogmlqq"), R(t, "background-image", "url(" + K + ")"), c(r, "class", "arrow-wrapper svelte-1ogmlqq");
21
31
  },
22
- m(a, m) {
23
- y(a, r, m), O(o, r, null), q(r, e), q(r, t), u = !0, n || (g = j(
32
+ m(a, d) {
33
+ h(a, r, d), H(o, r, null), q(r, e), q(r, t), m = !0, n || (g = S(
24
34
  t,
25
35
  "click",
26
36
  /*click_handler*/
27
37
  i[5]
28
38
  ), n = !0);
29
39
  },
30
- p(a, m) {
31
- i = a, (!u || m & /*direction*/
40
+ p(a, d) {
41
+ i = a, (!m || d & /*direction*/
32
42
  1 && l !== (l = "arrow " + /*direction*/
33
43
  i[0] + " svelte-1ogmlqq")) && c(t, "class", l);
34
44
  },
35
45
  i(a) {
36
- u || (d(o.$$.fragment, a), a && B(() => {
37
- u && (s && s.end(1), f = E(t, w, {
46
+ m || (u(o.$$.fragment, a), a && j(() => {
47
+ m && (s && s.end(1), f = C(t, p, {
38
48
  duration: (
39
49
  /*duration*/
40
50
  i[2]
@@ -43,12 +53,12 @@ function h(i) {
43
53
  /*inDelay*/
44
54
  i[3]
45
55
  ),
46
- easing: b
56
+ easing: w
47
57
  }), f.start());
48
- }), u = !0);
58
+ }), m = !0);
49
59
  },
50
60
  o(a) {
51
- _(o.$$.fragment, a), f && f.invalidate(), a && (s = F(t, w, {
61
+ _(o.$$.fragment, a), f && f.invalidate(), a && (s = N(t, p, {
52
62
  duration: (
53
63
  /*duration*/
54
64
  i[2]
@@ -57,61 +67,61 @@ function h(i) {
57
67
  /*outDelay*/
58
68
  i[4]
59
69
  ),
60
- easing: b
61
- })), u = !1;
70
+ easing: w
71
+ })), m = !1;
62
72
  },
63
73
  d(a) {
64
- a && k(r), G(o), a && s && s.end(), n = !1, g();
74
+ a && y(r), J(o), a && s && s.end(), n = !1, g();
65
75
  }
66
76
  };
67
77
  }
68
78
  function P(i) {
69
79
  let r, o, e = (
70
80
  /*visible*/
71
- i[1] && h(i)
81
+ i[1] && b(i)
72
82
  );
73
83
  return {
74
84
  c() {
75
- e && e.c(), r = R();
85
+ e && e.c(), r = A();
76
86
  },
77
87
  m(t, l) {
78
- e && e.m(t, l), y(t, r, l), o = !0;
88
+ e && e.m(t, l), h(t, r, l), o = !0;
79
89
  },
80
90
  p(t, [l]) {
81
91
  /*visible*/
82
92
  t[1] ? e ? (e.p(t, l), l & /*visible*/
83
- 2 && d(e, 1)) : (e = h(t), e.c(), d(e, 1), e.m(r.parentNode, r)) : e && (H(), _(e, 1, 1, () => {
93
+ 2 && u(e, 1)) : (e = b(t), e.c(), u(e, 1), e.m(r.parentNode, r)) : e && (O(), _(e, 1, 1, () => {
84
94
  e = null;
85
- }), S());
95
+ }), z());
86
96
  },
87
97
  i(t) {
88
- o || (d(e), o = !0);
98
+ o || (u(e), o = !0);
89
99
  },
90
100
  o(t) {
91
101
  _(e), o = !1;
92
102
  },
93
103
  d(t) {
94
- e && e.d(t), t && k(r);
104
+ t && y(r), e && e.d(t);
95
105
  }
96
106
  };
97
107
  }
98
108
  function Q(i, r, o) {
99
109
  let { direction: e = "right" } = r, { visible: t = !0 } = r, { duration: l = 0 } = r, { inDelay: f = 0 } = r, { outDelay: s = 0 } = r;
100
- function u(n) {
101
- J.call(this, i, n);
110
+ function m(n) {
111
+ B.call(this, i, n);
102
112
  }
103
113
  return i.$$set = (n) => {
104
114
  "direction" in n && o(0, e = n.direction), "visible" in n && o(1, t = n.visible), "duration" in n && o(2, l = n.duration), "inDelay" in n && o(3, f = n.inDelay), "outDelay" in n && o(4, s = n.outDelay);
105
- }, [e, t, l, f, s, u];
115
+ }, [e, t, l, f, s, m];
106
116
  }
107
- class Y extends p {
117
+ class le extends E {
108
118
  constructor(r) {
109
- super(), D(
119
+ super(), F(
110
120
  this,
111
121
  r,
112
122
  Q,
113
123
  P,
114
- A,
124
+ k,
115
125
  {
116
126
  direction: 0,
117
127
  visible: 1,
@@ -124,5 +134,5 @@ class Y extends p {
124
134
  }
125
135
  }
126
136
  export {
127
- Y as default
137
+ le as default
128
138
  };