@realsee/dnalogel 2.22.0 → 2.23.1-dev.0

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