@realsee/dnalogel 2.2.5 → 2.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  2. package/dist/index.cjs.js +17 -17
  3. package/dist/index.js +849 -887
  4. package/dist/index.umd.js +17 -17
  5. package/dist/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  6. package/docs/assets/main.js +1 -1
  7. package/docs/classes/CruisePluginController.html +24 -24
  8. package/docs/classes/Magnifier.html +16 -16
  9. package/docs/classes/ModelRoomLabelController.html +11 -11
  10. package/docs/classes/Object3DHelperController.html +24 -24
  11. package/docs/classes/PaintBrush.html +15 -15
  12. package/docs/classes/PanoTagPluginController.html +39 -39
  13. package/docs/classes/Util.BetterTween.html +8 -8
  14. package/docs/classes/Util.FivePointSelector.html +12 -12
  15. package/docs/classes/Util.Interval.html +12 -12
  16. package/docs/classes/Util.Magnifier.html +17 -17
  17. package/docs/classes/Util.PointDomHelper.html +11 -11
  18. package/docs/classes/Util.PointHelper.html +11 -11
  19. package/docs/classes/Util.Rectangle.html +13 -13
  20. package/docs/enums/CameraMovementEffect.html +7 -7
  21. package/docs/enums/ContentType.html +12 -12
  22. package/docs/enums/DIRECTION.html +9 -9
  23. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  24. package/docs/enums/DimensionType.html +7 -7
  25. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  26. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  27. package/docs/enums/LinkType.html +7 -7
  28. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  29. package/docs/enums/PointType.html +7 -7
  30. package/docs/enums/Rotation.html +8 -8
  31. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  32. package/docs/functions/CameraMovementPlugin.html +4 -4
  33. package/docs/functions/CruisePlugin.html +4 -4
  34. package/docs/functions/GuideLinePlugin.html +5 -5
  35. package/docs/functions/ItemLabelPlugin.html +4 -4
  36. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  37. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  38. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  39. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  40. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  41. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  42. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  43. package/docs/functions/ModelViewPlugin.html +4 -4
  44. package/docs/functions/Object3DHelperPlugin.html +4 -4
  45. package/docs/functions/PanoCompassPlugin.html +4 -4
  46. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  47. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  48. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  49. package/docs/functions/PanoMeasurePlugin.html +4 -4
  50. package/docs/functions/PanoRulerPlugin.html +4 -4
  51. package/docs/functions/PanoRulerProPlugin.html +4 -4
  52. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  53. package/docs/functions/PanoTagPlugin.html +4 -4
  54. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  55. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  56. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  57. package/docs/functions/Util.getFrameTime.html +5 -5
  58. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  59. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  60. package/docs/functions/Util.isNil.html +5 -5
  61. package/docs/functions/Util.nextFrame.html +5 -5
  62. package/docs/functions/Util.notNil.html +5 -5
  63. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  64. package/docs/functions/Util.tweenProgress.html +5 -5
  65. package/docs/functions/pluginFlag.html +5 -5
  66. package/docs/index.html +4 -4
  67. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  68. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  69. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  70. package/docs/interfaces/ContentTypeMap.html +12 -12
  71. package/docs/interfaces/FloorplanBounding.html +8 -8
  72. package/docs/interfaces/FloorplanData.html +10 -10
  73. package/docs/interfaces/FloorplanEntrance.html +11 -11
  74. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  75. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  76. package/docs/interfaces/FloorplanFloorData.html +9 -9
  77. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  78. package/docs/interfaces/FloorplanObserver.html +9 -9
  79. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  80. package/docs/interfaces/FloorplanPosition.html +7 -7
  81. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  82. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  83. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  84. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  85. package/docs/interfaces/FloorplanServerData.html +7 -7
  86. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  87. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  88. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  89. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  90. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  91. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  92. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  93. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  94. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  95. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  96. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  97. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  98. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  99. package/docs/interfaces/LineJson.html +7 -7
  100. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  101. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  102. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  103. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  104. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  105. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  106. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  107. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  108. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  109. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  110. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  111. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  112. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  113. package/docs/interfaces/Object3DHelperState.html +8 -8
  114. package/docs/interfaces/OpenParameter.html +7 -7
  115. package/docs/interfaces/PaintBrushAction.html +12 -12
  116. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  117. package/docs/interfaces/PaintBrushState.html +10 -10
  118. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  119. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  120. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  121. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  122. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  123. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  124. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  125. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  126. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  127. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  128. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  129. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  130. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  131. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  132. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  133. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  134. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  135. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  136. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  137. package/docs/interfaces/Point.html +8 -8
  138. package/docs/interfaces/PointJson.html +8 -8
  139. package/docs/interfaces/Room.html +9 -9
  140. package/docs/interfaces/RoomInfo.html +7 -7
  141. package/docs/interfaces/RoomLabel.html +14 -14
  142. package/docs/interfaces/RoomRules.html +5 -5
  143. package/docs/interfaces/Rooms.html +5 -5
  144. package/docs/interfaces/Scissor.html +9 -9
  145. package/docs/interfaces/TagConfig.html +10 -10
  146. package/docs/interfaces/Tags.html +9 -9
  147. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  148. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  149. package/docs/modules/Util.html +5 -5
  150. package/docs/modules.html +4 -4
  151. package/docs/types/ArrayPosition.html +5 -5
  152. package/docs/types/CSS3DRenderExportType.html +5 -5
  153. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  154. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  155. package/docs/types/Color.html +5 -5
  156. package/docs/types/ContentTypeConfigKey.html +5 -5
  157. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  158. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  159. package/docs/types/Create3DElementReturnType.html +5 -5
  160. package/docs/types/CruisePluginExportType.html +5 -5
  161. package/docs/types/Direction-1.html +5 -5
  162. package/docs/types/Direction4.html +5 -5
  163. package/docs/types/FloorplanRuleLabels.html +5 -5
  164. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  165. package/docs/types/GuideLinePluginExportType.html +5 -5
  166. package/docs/types/HelperEventMap.html +5 -5
  167. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  168. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  169. package/docs/types/MediaData.html +5 -5
  170. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -6
  171. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  172. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  173. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  174. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  175. package/docs/types/MoveArgs.html +5 -5
  176. package/docs/types/MoveOpts.html +5 -5
  177. package/docs/types/Object3DHelperEventMap.html +5 -5
  178. package/docs/types/ObjectFit.html +5 -5
  179. package/docs/types/PaintBrushEventMap.html +5 -5
  180. package/docs/types/PanoCompassPluginData.html +5 -5
  181. package/docs/types/PanoCompassPluginExportType.html +5 -5
  182. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  183. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  184. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  185. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  186. package/docs/types/PanoMeasureReturnType.html +5 -5
  187. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  188. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  189. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  190. package/docs/types/PlaneTag.html +5 -5
  191. package/docs/types/PointTag.html +5 -5
  192. package/docs/types/Position.html +5 -5
  193. package/docs/types/RotateArgs.html +5 -5
  194. package/docs/types/RotateOpts.html +5 -5
  195. package/docs/types/RuleLabelsKey.html +5 -5
  196. package/docs/types/RuleLabelsValue.html +5 -5
  197. package/docs/types/Tag.html +5 -5
  198. package/docs/types/Tag2D.html +5 -5
  199. package/docs/types/Tag3D.html +5 -5
  200. package/docs/types/TagId.html +5 -5
  201. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  202. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  203. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  204. package/docs/variables/PLUGIN.html +5 -5
  205. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  206. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  207. package/docs/variables/VERSION.html +5 -5
  208. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  209. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  210. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  211. package/libs/CSS3DRenderPlugin/CSS3DRender.js +39 -33
  212. package/libs/CSS3DRenderPlugin/Controller.js +30 -22
  213. package/libs/CSS3DRenderPlugin/index.js +12 -3
  214. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +2 -1
  215. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
  216. package/libs/CameraMovementPlugin/index.js +13 -0
  217. package/libs/CruisePlugin/Controller.js +52 -41
  218. package/libs/CruisePlugin/index.js +26 -3
  219. package/libs/CruisePlugin/typing.js +1 -0
  220. package/libs/GuideLinePlugin/Controller.js +14 -9
  221. package/libs/GuideLinePlugin/index.js +14 -3
  222. package/libs/GuideLinePlugin/typing.js +1 -0
  223. package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -2
  224. package/libs/ItemLabelPlugin/ItemLabelItem.js +11 -11
  225. package/libs/ItemLabelPlugin/Plugin.js +33 -23
  226. package/libs/ItemLabelPlugin/events.type.js +1 -0
  227. package/libs/ItemLabelPlugin/index.js +16 -2
  228. package/libs/ModelChassisCompassPlugin/Plugin.js +3 -2
  229. package/libs/ModelChassisCompassPlugin/index.js +8 -0
  230. package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
  231. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +52 -44
  232. package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
  233. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
  234. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
  235. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
  236. package/libs/ModelItemLabelPlugin/index.js +12 -2
  237. package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
  238. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
  239. package/libs/ModelRoomLabelPlugin/index.js +10 -3
  240. package/libs/ModelRoomLabelPlugin/typings.js +1 -0
  241. package/libs/ModelTVVideoPlugin/Plugin.js +35 -25
  242. package/libs/ModelTVVideoPlugin/index.js +17 -0
  243. package/libs/ModelViewPlugin/Plugin.js +2 -1
  244. package/libs/ModelViewPlugin/index.js +6 -0
  245. package/libs/Object3DHelperPlugin/Controller.js +48 -27
  246. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
  247. package/libs/Object3DHelperPlugin/index.js +40 -3
  248. package/libs/Object3DHelperPlugin/typings.js +1 -0
  249. package/libs/PanoCompassPlugin/Controller.js +25 -13
  250. package/libs/PanoCompassPlugin/index.js +23 -3
  251. package/libs/PanoCompassPlugin/typings.js +1 -0
  252. package/libs/PanoCursorRaycasterPlugin/index.js +4 -2
  253. package/libs/PanoDoorLabelPlugin/BaseController.js +27 -26
  254. package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
  255. package/libs/PanoDoorLabelPlugin/index.js +12 -2
  256. package/libs/PanoDoorLabelPlugin/typings.js +1 -0
  257. package/libs/PanoMeasurePlugin/index.js +56 -5
  258. package/libs/PanoRulerPlugin/Plugin.js +22 -17
  259. package/libs/PanoRulerPlugin/index.js +9 -0
  260. package/libs/PanoRulerPlugin/style.js +1 -1
  261. package/libs/PanoRulerPlugin/typings.js +1 -0
  262. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  263. package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
  264. package/libs/PanoRulerProPlugin/index.js +16 -3
  265. package/libs/PanoRulerProPlugin/typings.js +1 -0
  266. package/libs/PanoSpatialTagPlugin/Components/origins.js +41 -42
  267. package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
  268. package/libs/PanoSpatialTagPlugin/Plugin.js +74 -62
  269. package/libs/PanoSpatialTagPlugin/index.js +20 -0
  270. package/libs/PanoSpatialTagPlugin/store.js +1 -0
  271. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  272. package/libs/PanoTagPlugin/Components/Common/Audio.js +43 -43
  273. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +7 -7
  274. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +28 -29
  275. package/libs/PanoTagPlugin/Components/Common/Media.js +92 -100
  276. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
  277. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +59 -68
  278. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +13 -15
  279. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +26 -28
  280. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
  281. package/libs/PanoTagPlugin/Components/Common/Shadow.js +12 -13
  282. package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
  283. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +24 -32
  284. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  285. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +97 -118
  286. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +6 -8
  287. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +51 -83
  288. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
  289. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +48 -59
  290. package/libs/PanoTagPlugin/Components/Tag/index.js +75 -104
  291. package/libs/PanoTagPlugin/Components/TagContainer.js +65 -108
  292. package/libs/PanoTagPlugin/Components/TagWrapper.js +78 -116
  293. package/libs/PanoTagPlugin/controller/index.js +2 -2
  294. package/libs/PanoTagPlugin/index.js +82 -3
  295. package/libs/PanoTagPlugin/tag.config.js +2 -1
  296. package/libs/floorplan/Components/BaseImage.js +7 -7
  297. package/libs/floorplan/Components/Camera.js +24 -24
  298. package/libs/floorplan/Components/Compass.js +3 -3
  299. package/libs/floorplan/Components/CurrentFloor.js +47 -56
  300. package/libs/floorplan/Components/Main.js +80 -99
  301. package/libs/floorplan/Components/Normalmage.js +5 -5
  302. package/libs/floorplan/Components/RoomHighlight/Room.js +11 -11
  303. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +13 -14
  304. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +32 -32
  305. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +47 -47
  306. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +23 -23
  307. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +14 -14
  308. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +13 -13
  309. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +13 -13
  310. package/libs/floorplan/Components/RuleLabels/RuleItem.js +54 -54
  311. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +15 -15
  312. package/libs/floorplan/Components/SvgImage.js +12 -12
  313. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -81
  314. package/libs/floorplan/MapviewFloorplanPlugin/index.js +47 -3
  315. package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -0
  316. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +166 -135
  317. package/libs/floorplan/ModelFloorplanPlugin/index.js +47 -3
  318. package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
  319. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +3 -3
  320. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
  321. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +38 -38
  322. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +71 -80
  323. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +51 -36
  324. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +24 -3
  325. package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
  326. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +155 -126
  327. package/libs/floorplan/TopviewFloorplanPlugin/index.js +44 -3
  328. package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
  329. package/libs/floorplan/TopviewFloorplanPlugin/style.js +11 -0
  330. package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
  331. package/libs/floorplan/typings/index.js +1 -0
  332. package/libs/index.js +34 -34
  333. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
  334. package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js} +0 -0
  335. package/libs/vendor/svelte/internal/index.js +151 -152
  336. package/package.json +17 -18
  337. package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
@@ -2,16 +2,16 @@ var G = Object.defineProperty, K = Object.defineProperties;
2
2
  var U = Object.getOwnPropertyDescriptors;
3
3
  var E = Object.getOwnPropertySymbols;
4
4
  var T = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
5
- var x = (g, c, e) => c in g ? G(g, c, { enumerable: !0, configurable: !0, writable: !0, value: e }) : g[c] = e, S = (g, c) => {
5
+ var x = (v, c, e) => c in v ? G(v, c, { enumerable: !0, configurable: !0, writable: !0, value: e }) : v[c] = e, S = (v, c) => {
6
6
  for (var e in c || (c = {}))
7
- T.call(c, e) && x(g, e, c[e]);
7
+ T.call(c, e) && x(v, e, c[e]);
8
8
  if (E)
9
9
  for (var e of E(c))
10
- A.call(c, e) && x(g, e, c[e]);
11
- return g;
12
- }, L = (g, c) => K(g, U(c));
13
- var P = (g, c, e) => (x(g, typeof c != "symbol" ? c + "" : c, e), e);
14
- var y = (g, c, e) => new Promise((t, i) => {
10
+ A.call(c, e) && x(v, e, c[e]);
11
+ return v;
12
+ }, L = (v, c) => K(v, U(c));
13
+ var P = (v, c, e) => (x(v, typeof c != "symbol" ? c + "" : c, e), e);
14
+ var g = (v, c, e) => new Promise((t, i) => {
15
15
  var a = (s) => {
16
16
  try {
17
17
  n(e.next(s));
@@ -25,19 +25,29 @@ var y = (g, c, e) => new Promise((t, i) => {
25
25
  i(r);
26
26
  }
27
27
  }, n = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(a, o);
28
- n((e = e.apply(g, c)).next());
28
+ n((e = e.apply(v, c)).next());
29
29
  });
30
30
  import { Controller as O } from "../base/BasePluginWithData.js";
31
31
  import { GuideLinePlugin as V } from "../GuideLinePlugin/index.js";
32
32
  import { uuid as k } from "../shared-utils/uuid.js";
33
33
  import { coordinatesAngle as Q } from "./utils/coordinatesAngle.js";
34
- import { safeCall as _ } from "./utils/safeCall.js";
35
- import { equal as $ } from "../shared-utils/equal.js";
34
+ import { safeCall as $ } from "./utils/safeCall.js";
35
+ import { equal as _ } from "../shared-utils/equal.js";
36
36
  import { vectorToCoordinates as R } from "./utils/vectorToCoordinates.js";
37
37
  import * as N from "three";
38
38
  import { linerValue as j } from "./utils/linerValue.js";
39
39
  import { sleep as H } from "./utils/sleep.js";
40
- const M = "v1.0.6", D = "CruisePlugin", w = `${D}@${M}`, F = () => {
40
+ import "../base/BasePlugin.js";
41
+ import "../shared-utils/Subscribe.js";
42
+ import "../GuideLinePlugin/Controller.js";
43
+ import "../GuideLinePlugin/utils/getLineGeometries.js";
44
+ import "polyline-normals";
45
+ import "../GuideLinePlugin/utils/getArrowMaterial.js";
46
+ import "../shared-utils/isNil.js";
47
+ import "./utils/coordinatesToVector.js";
48
+ import "../shared-utils/isTruelyObject.js";
49
+ import "./utils/formatRad.js";
50
+ const M = "v1.0.6", D = "CruisePlugin", w = `${D}@${M}`, ve = (v) => `${w}--${v}`, F = () => {
41
51
  console.error(`${w} is disposed`);
42
52
  }, J = () => {
43
53
  console.warn(`${w} is disabled`);
@@ -80,11 +90,11 @@ class B extends O {
80
90
  });
81
91
  }
82
92
  load(e, t, i) {
83
- return y(this, null, function* () {
84
- var d, v, f, l, u;
93
+ return g(this, null, function* () {
94
+ var d, y, f, l, u;
85
95
  if (this.state.disposed)
86
96
  return F();
87
- this.privateState.fiveOriginGetProgress || (v = (d = this.five.controller) == null ? void 0 : d.cameraMotion) != null && v.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (l = (f = this.five.controller) == null ? void 0 : f.cameraMotion) == null ? void 0 : l.getProgress), this.clear();
97
+ this.privateState.fiveOriginGetProgress || (y = (d = this.five.controller) == null ? void 0 : d.cameraMotion) != null && y.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (l = (f = this.five.controller) == null ? void 0 : f.cameraMotion) == null ? void 0 : l.getProgress), this.clear();
88
98
  const a = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, o = yield this.formatData(e);
89
99
  this.data = o, this.hooks.emit("dataChange", o, a);
90
100
  let n = [], s;
@@ -121,12 +131,12 @@ class B extends O {
121
131
  this.setState({ playing: !1 }, e);
122
132
  }
123
133
  show(e) {
124
- return y(this, null, function* () {
134
+ return g(this, null, function* () {
125
135
  this.setState({ visible: !0 }, e);
126
136
  });
127
137
  }
128
138
  hide(e) {
129
- return y(this, null, function* () {
139
+ return g(this, null, function* () {
130
140
  this.setState({ visible: !1 }, e);
131
141
  });
132
142
  }
@@ -146,10 +156,10 @@ class B extends O {
146
156
  if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
147
157
  return q();
148
158
  const i = S({}, this.state);
149
- this.state = S(S({}, this.state), e), e.disposed !== void 0 && e.disposed !== i.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== i.visible && this.handleVisible(e.visible, t == null ? void 0 : t.userAction), e.enabled !== void 0 && e.enabled !== i.enabled && this.handleEnable(e.enabled, t == null ? void 0 : t.userAction), e.playing !== void 0 && e.playing !== i.playing && this.changePlayState(e.playing, t), e.speed !== void 0 && e.speed !== i.speed && this.changeSpeed(e.speed, t == null ? void 0 : t.userAction), $(i, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: (a = t == null ? void 0 : t.userAction) != null ? a : !0 });
159
+ this.state = S(S({}, this.state), e), e.disposed !== void 0 && e.disposed !== i.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== i.visible && this.handleVisible(e.visible, t == null ? void 0 : t.userAction), e.enabled !== void 0 && e.enabled !== i.enabled && this.handleEnable(e.enabled, t == null ? void 0 : t.userAction), e.playing !== void 0 && e.playing !== i.playing && this.changePlayState(e.playing, t), e.speed !== void 0 && e.speed !== i.speed && this.changeSpeed(e.speed, t == null ? void 0 : t.userAction), _(i, this.state, { deep: !0 }) || this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: (a = t == null ? void 0 : t.userAction) != null ? a : !0 });
150
160
  }
151
161
  formatData(e) {
152
- return y(this, null, function* () {
162
+ return g(this, null, function* () {
153
163
  this.five.work || (yield this.waitFiveLoaded());
154
164
  const t = this.five.work.observers, i = (() => {
155
165
  const a = e;
@@ -170,11 +180,11 @@ class B extends O {
170
180
  return this.privateState.moveToFirstPanoEffect = n, i.panoIndexList.forEach((s, r) => {
171
181
  const d = (() => {
172
182
  var h, m, p, b;
173
- const v = i.panoIndexList.slice(r).find((I) => I !== s);
174
- if (v === void 0)
183
+ const y = i.panoIndexList.slice(r).find((I) => I !== s);
184
+ if (y === void 0)
175
185
  return;
176
- const f = (h = t[s]) == null ? void 0 : h.position, l = (m = t[v]) == null ? void 0 : m.position;
177
- if (!l || !f || ((p = t[s]) == null ? void 0 : p.floorIndex) !== ((b = t[v]) == null ? void 0 : b.floorIndex))
186
+ const f = (h = t[s]) == null ? void 0 : h.position, l = (m = t[y]) == null ? void 0 : m.position;
187
+ if (!l || !f || ((p = t[s]) == null ? void 0 : p.floorIndex) !== ((b = t[y]) == null ? void 0 : b.floorIndex))
178
188
  return;
179
189
  const u = new N.Vector3().subVectors(l, f);
180
190
  return R(u);
@@ -206,7 +216,7 @@ class B extends O {
206
216
  ), e ? this.handlePlay(t) : this.handlePause(t), this.state.playing = e;
207
217
  }
208
218
  handlePlay(e) {
209
- return y(this, null, function* () {
219
+ return g(this, null, function* () {
210
220
  var l;
211
221
  const { data: t, state: i, privateState: a, hooks: o } = this;
212
222
  if (a.playing || !(t != null && t.keyframes) || (t == null ? void 0 : t.keyframes.length) === 0)
@@ -216,7 +226,7 @@ class B extends O {
216
226
  const s = t.keyframes, r = this.getPauseData();
217
227
  (e == null ? void 0 : e.notEmitEvent) !== !0 && o.emit("play", { userAction: (l = e == null ? void 0 : e.userAction) != null ? l : !0 });
218
228
  let d = !1;
219
- const f = yield (() => y(this, null, function* () {
229
+ const f = yield (() => g(this, null, function* () {
220
230
  var u, h;
221
231
  if ((e == null ? void 0 : e.playFromIndex) !== void 0)
222
232
  return e.playFromIndex;
@@ -257,7 +267,7 @@ class B extends O {
257
267
  t.playing = !1, i.playing !== !1 && (i.playing = !1, this.setPauseData(), i.broke || this.forceInteruptUpdateCamera(), (e == null ? void 0 : e.notEmitEvent) !== !0 && a.emit("pause", { userAction: (o = e == null ? void 0 : e.userAction) != null ? o : !0 }));
258
268
  }
259
269
  playKeyframe(e, t) {
260
- return y(this, null, function* () {
270
+ return g(this, null, function* () {
261
271
  var a;
262
272
  const { privateState: i } = this;
263
273
  return ((a = this.privateState.currentPlayKeyframe) == null ? void 0 : a.keyframe.id) !== e.id && (this.privateState.currentPlayKeyframe = { keyframe: e }), i.currentPlayQueue.push(this.getPlayPromise(e, t)), this.actionPromiseQueue();
@@ -272,7 +282,7 @@ class B extends O {
272
282
  };
273
283
  }
274
284
  getPlayPromise(e, t) {
275
- return y(this, null, function* () {
285
+ return g(this, null, function* () {
276
286
  var a;
277
287
  const i = e.data;
278
288
  if ((a = t == null ? void 0 : t.duration) != null || e.start !== void 0 && e.end !== void 0 && e.end - e.start, !!i)
@@ -304,7 +314,7 @@ class B extends O {
304
314
  });
305
315
  }
306
316
  actionPromiseQueue() {
307
- return y(this, null, function* () {
317
+ return g(this, null, function* () {
308
318
  const { privateState: e } = this;
309
319
  return new Promise((t, i) => {
310
320
  if (e.currentPlayQueue.length === 0) {
@@ -321,7 +331,7 @@ class B extends O {
321
331
  });
322
332
  }
323
333
  move(e, t) {
324
- return y(this, null, function* () {
334
+ return g(this, null, function* () {
325
335
  if (e.mode && e.mode !== this.five.currentMode)
326
336
  yield this.changeMode(e);
327
337
  else if (e.panoIndex !== this.five.panoIndex)
@@ -331,7 +341,7 @@ class B extends O {
331
341
  });
332
342
  }
333
343
  rotate(e, t) {
334
- return y(this, null, function* () {
344
+ return g(this, null, function* () {
335
345
  if (e.mode && e.mode !== this.five.currentMode)
336
346
  yield this.changeMode({ mode: e.mode, panoIndex: e.panoIndex });
337
347
  else if (e.panoIndex && e.panoIndex !== this.five.panoIndex)
@@ -340,16 +350,16 @@ class B extends O {
340
350
  });
341
351
  }
342
352
  updateCamera(e, t = 800) {
343
- return y(this, null, function* () {
353
+ return g(this, null, function* () {
344
354
  const { five: i, privateState: a, state: o } = this;
345
355
  let n = t;
346
356
  const s = (() => {
347
357
  var f, l;
348
- const d = (f = o.config) == null ? void 0 : f.speedConfig, v = (l = e.rotateSpeed) != null ? l : d == null ? void 0 : d.rotateSpeed;
358
+ const d = (f = o.config) == null ? void 0 : f.speedConfig, y = (l = e.rotateSpeed) != null ? l : d == null ? void 0 : d.rotateSpeed;
349
359
  if ((d == null ? void 0 : d.rotateSpeedUnit) === void 0)
350
- return v;
351
- if (v !== void 0)
352
- return d.rotateSpeedUnit === "rad/ms" ? v : v / 1e3;
360
+ return y;
361
+ if (y !== void 0)
362
+ return d.rotateSpeedUnit === "rad/ms" ? y : y / 1e3;
353
363
  })();
354
364
  if (s) {
355
365
  const d = this.five.getCurrentState();
@@ -358,20 +368,20 @@ class B extends O {
358
368
  a.currentPlayKeyframe && (a.currentPlayKeyframe.originDuration = n);
359
369
  const r = this.getSpeededDuration(n);
360
370
  return new Promise((d) => {
361
- _(() => i.updateCamera(e, r)), setTimeout(() => d(), r);
371
+ $(() => i.updateCamera(e, r)), setTimeout(() => d(), r);
362
372
  });
363
373
  });
364
374
  }
365
375
  changePano(e, t) {
366
- return y(this, null, function* () {
367
- var v;
376
+ return g(this, null, function* () {
377
+ var y;
368
378
  const { five: i, privateState: a, state: o } = this;
369
379
  if (typeof e.panoIndex != "number" || e.panoIndex === i.panoIndex)
370
380
  return;
371
381
  i.getCurrentState().mode;
372
382
  const n = i.getCurrentState().mode !== "Panorama";
373
383
  n && (this.privateState.modeChanging = !0);
374
- let s = (v = t == null ? void 0 : t.duration) != null ? v : 800;
384
+ let s = (y = t == null ? void 0 : t.duration) != null ? y : 800;
375
385
  const r = (() => {
376
386
  var u, h;
377
387
  const f = (u = o.config) == null ? void 0 : u.speedConfig, l = (h = e.moveSpeed) != null ? h : f == null ? void 0 : f.moveSpeed;
@@ -416,7 +426,7 @@ class B extends O {
416
426
  return this.five.controller.cameraMotion.progress;
417
427
  }
418
428
  changeMode(e, t) {
419
- return y(this, null, function* () {
429
+ return g(this, null, function* () {
420
430
  e.mode && e.mode !== this.five.currentMode && (this.privateState.modeChanging = !0, console.log("this.privateState.modeChanging", this.privateState.modeChanging), yield this.five.changeMode(e.mode, e, t), this.privateState.modeChanging = !1);
421
431
  });
422
432
  }
@@ -456,7 +466,7 @@ class B extends O {
456
466
  t != null && t.warnLog && J();
457
467
  }
458
468
  waitFiveLoaded() {
459
- return y(this, null, function* () {
469
+ return g(this, null, function* () {
460
470
  return new Promise((e) => {
461
471
  if (this.five.work) {
462
472
  e();
@@ -480,5 +490,6 @@ class B extends O {
480
490
  }
481
491
  P(B, "PluginVersion", M);
482
492
  export {
483
- B as CruisePluginController
493
+ B as default,
494
+ ve as pluginFlag
484
495
  };
@@ -1,5 +1,28 @@
1
- import { CruisePluginController as o } from "./Controller.js";
2
- const i = (r) => new o(r);
1
+ import o from "./Controller.js";
2
+ import { default as y } from "./Controller.js";
3
+ import "../base/BasePluginWithData.js";
4
+ import "../base/BasePlugin.js";
5
+ import "../shared-utils/Subscribe.js";
6
+ import "../GuideLinePlugin/index.js";
7
+ import "../GuideLinePlugin/Controller.js";
8
+ import "three";
9
+ import "../GuideLinePlugin/utils/getLineGeometries.js";
10
+ import "polyline-normals";
11
+ import "../GuideLinePlugin/utils/getArrowMaterial.js";
12
+ import "../shared-utils/isNil.js";
13
+ import "../shared-utils/equal.js";
14
+ import "../shared-utils/isTruelyObject.js";
15
+ import "../shared-utils/uuid.js";
16
+ import "./utils/coordinatesAngle.js";
17
+ import "./utils/coordinatesToVector.js";
18
+ import "./utils/safeCall.js";
19
+ import "./utils/vectorToCoordinates.js";
20
+ import "./utils/formatRad.js";
21
+ import "./utils/linerValue.js";
22
+ import "./utils/sleep.js";
23
+ const k = (r) => new o(r);
3
24
  export {
4
- i as CruisePlugin
25
+ k as CruisePlugin,
26
+ y as CruisePluginController,
27
+ k as default
5
28
  };
@@ -0,0 +1 @@
1
+
@@ -1,15 +1,15 @@
1
1
  var k = Object.defineProperty;
2
2
  var G = Object.getOwnPropertySymbols;
3
3
  var x = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
4
- var b = (n, s, e) => s in n ? k(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e, c = (n, s) => {
4
+ var m = (n, s, e) => s in n ? k(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e, c = (n, s) => {
5
5
  for (var e in s || (s = {}))
6
- x.call(s, e) && b(n, e, s[e]);
6
+ x.call(s, e) && m(n, e, s[e]);
7
7
  if (G)
8
8
  for (var e of G(s))
9
- P.call(s, e) && b(n, e, s[e]);
9
+ P.call(s, e) && m(n, e, s[e]);
10
10
  return n;
11
11
  };
12
- var d = (n, s, e) => (b(n, typeof s != "symbol" ? s + "" : s, e), e);
12
+ var d = (n, s, e) => (m(n, typeof s != "symbol" ? s + "" : s, e), e);
13
13
  var u = (n, s, e) => new Promise((i, t) => {
14
14
  var a = (r) => {
15
15
  try {
@@ -27,11 +27,15 @@ var u = (n, s, e) => new Promise((i, t) => {
27
27
  o((e = e.apply(n, s)).next());
28
28
  });
29
29
  import { Controller as $ } from "../base/BasePluginWithData.js";
30
- import * as m from "three";
30
+ import * as b from "three";
31
31
  import { getLineGeometries as y } from "./utils/getLineGeometries.js";
32
32
  import { getArrowMaterial as M } from "./utils/getArrowMaterial.js";
33
33
  import { notNil as w } from "../shared-utils/isNil.js";
34
34
  import { equal as N } from "../shared-utils/equal.js";
35
+ import "../base/BasePlugin.js";
36
+ import "../shared-utils/Subscribe.js";
37
+ import "polyline-normals";
38
+ import "../shared-utils/isTruelyObject.js";
35
39
  const L = "v1.0.1", S = "GuideLinePlugin", v = `${S}@${L}`, E = (n) => `${v}--${n}`;
36
40
  class I extends $ {
37
41
  constructor(e, i) {
@@ -101,13 +105,13 @@ class I extends $ {
101
105
  this.linesGroup && this.five.scene.add(this.linesGroup);
102
106
  }
103
107
  getLinesGroup(e) {
104
- const i = e.map(this.getLine.bind(this)).filter(w), t = new m.Group();
108
+ const i = e.map(this.getLine.bind(this)).filter(w), t = new b.Group();
105
109
  if (t.name = E("route-group"), i.length !== 0)
106
110
  return t.add(...i), t;
107
111
  }
108
112
  getLine(e) {
109
113
  var o, r, l, g;
110
- const i = new m.Group(), t = e.panoIndexList.map((p) => {
114
+ const i = new b.Group(), t = e.panoIndexList.map((p) => {
111
115
  var f;
112
116
  return (f = this.five.work.observers[p]) == null ? void 0 : f.standingPosition;
113
117
  }).filter(w), a = y(t, {
@@ -119,7 +123,7 @@ class I extends $ {
119
123
  return;
120
124
  const h = M({ textureUrl: (g = e.arrowTextureUrl) != null ? g : this.staticPrefix + "/release/web/arrow6.b6ce0c62.png" });
121
125
  return a.forEach((p) => {
122
- const f = new m.Mesh(p, h);
126
+ const f = new b.Mesh(p, h);
123
127
  f.name = E("route-line-mesh"), i.add(f);
124
128
  }), i;
125
129
  }
@@ -139,5 +143,6 @@ class I extends $ {
139
143
  }
140
144
  d(I, "lasestVersion", L);
141
145
  export {
142
- I as Controller
146
+ I as default,
147
+ E as pluginFlag
143
148
  };
@@ -1,5 +1,16 @@
1
- import { Controller as n } from "./Controller.js";
2
- const i = (o, e) => new n(o, e);
1
+ import t from "./Controller.js";
2
+ import "../base/BasePluginWithData.js";
3
+ import "../base/BasePlugin.js";
4
+ import "../shared-utils/Subscribe.js";
5
+ import "three";
6
+ import "./utils/getLineGeometries.js";
7
+ import "polyline-normals";
8
+ import "./utils/getArrowMaterial.js";
9
+ import "../shared-utils/isNil.js";
10
+ import "../shared-utils/equal.js";
11
+ import "../shared-utils/isTruelyObject.js";
12
+ const c = (o, r) => new t(o, r);
3
13
  export {
4
- i as GuideLinePlugin
14
+ c as GuideLinePlugin,
15
+ c as default
5
16
  };
@@ -0,0 +1 @@
1
+
@@ -98,7 +98,7 @@ function Te(i) {
98
98
  t = _e("div");
99
99
  for (let c = 0; c < e.length; c += 1)
100
100
  e[c].c();
101
- be(t, "class", "item-labels-container svelte-gk8s47"), Ie(() => i[12].call(t)), W(t, "opacity", i[5] ? 1 : 0, !1);
101
+ be(t, "class", "item-labels-container svelte-gk8s47"), Ie(() => i[12].call(t)), W(t, "opacity", i[5] ? 1 : 0);
102
102
  },
103
103
  m(c, a) {
104
104
  v(c, t, a);
@@ -107,7 +107,7 @@ function Te(i) {
107
107
  f = ge(t, i[12].bind(t)), o = !0;
108
108
  },
109
109
  p(c, a) {
110
- a[0] & 71 && (d = c[1], G(), e = ke(e, a, h, 1, c, d, r, t, Le, Y, null, q), Z()), a[0] & 32 && W(t, "opacity", c[5] ? 1 : 0, !1);
110
+ a[0] & 71 && (d = c[1], G(), e = ke(e, a, h, 1, c, d, r, t, Le, Y, null, q), Z()), a[0] & 32 && W(t, "opacity", c[5] ? 1 : 0);
111
111
  },
112
112
  i(c) {
113
113
  if (!o) {
@@ -11,11 +11,11 @@ function D(l) {
11
11
  c() {
12
12
  a && a.c(), e = z(), t = w("div"), n = w("span"), h = L(s), o = z(), m = w("span"), g = L(r), c(n, "class", "item-model svelte-gduhqw"), c(m, "class", "item-name svelte-gduhqw"), c(t, "class", "item-label-text svelte-gduhqw");
13
13
  },
14
- m(i, f) {
15
- a && a.m(i, f), q(i, e, f), q(i, t, f), v(t, n), v(n, h), v(t, o), v(t, m), v(m, g);
14
+ m(i, b) {
15
+ a && a.m(i, b), q(i, e, b), q(i, t, b), v(t, n), v(n, h), v(t, o), v(t, m), v(m, g);
16
16
  },
17
- p(i, f) {
18
- i[0].icon ? a ? a.p(i, f) : (a = E(i), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), f & 1 && s !== (s = (i[0].code || i[0].id) + "") && C(h, s), f & 1 && r !== (r = i[0].name + "") && C(g, r);
17
+ p(i, b) {
18
+ i[0].icon ? a ? a.p(i, b) : (a = E(i), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), b & 1 && s !== (s = (i[0].code || i[0].id) + "") && C(h, s), b & 1 && r !== (r = i[0].name + "") && C(g, r);
19
19
  },
20
20
  d(i) {
21
21
  a && a.d(i), i && y(e), i && y(t);
@@ -59,25 +59,25 @@ function H(l) {
59
59
  function i(d, u) {
60
60
  return u & 1 && (n = null), n == null && (n = !!Boolean(typeof d[0].render == "function")), n ? G : D;
61
61
  }
62
- let f = i(l, -1), b = f(l);
62
+ let b = i(l, -1), f = b(l);
63
63
  return {
64
64
  c() {
65
- e = w("div"), t = w("div"), b.c(), h = z(), o = w("div"), c(t, "class", s = p(k("item-label-item__text-wrap", {
65
+ e = w("div"), t = w("div"), f.c(), h = z(), o = w("div"), c(t, "class", s = p(k("item-label-item__text-wrap", {
66
66
  "item-label-item__custom": Boolean(typeof l[0].render == "function")
67
- })) + " svelte-gduhqw"), _(t, "bottom", `${l[0].strokeLength}px`), c(o, "class", m = p(k("item-label-item__bar", { anchor: l[1] })) + " svelte-gduhqw"), _(o, "height", `${l[0].strokeLength}px`), c(e, "class", r = p(k("item-label-item", { fold: l[0].isFold })) + " svelte-gduhqw"), _(e, "z-index", l[0].zIndex, !1), _(e, "transform", l[0].transform, !1);
67
+ })) + " svelte-gduhqw"), _(t, "bottom", `${l[0].strokeLength}px`), c(o, "class", m = p(k("item-label-item__bar", { anchor: l[1] })) + " svelte-gduhqw"), _(o, "height", `${l[0].strokeLength}px`), c(e, "class", r = p(k("item-label-item", { fold: l[0].isFold })) + " svelte-gduhqw"), _(e, "z-index", l[0].zIndex), _(e, "transform", l[0].transform);
68
68
  },
69
69
  m(d, u) {
70
- q(d, e, u), v(e, t), b.m(t, null), v(e, h), v(e, o), g || (a = j(t, "click", l[4]), g = !0);
70
+ q(d, e, u), v(e, t), f.m(t, null), v(e, h), v(e, o), g || (a = j(t, "click", l[4]), g = !0);
71
71
  },
72
72
  p(d, [u]) {
73
- f === (f = i(d, u)) && b ? b.p(d, u) : (b.d(1), b = f(d), b && (b.c(), b.m(t, null))), u & 1 && s !== (s = p(k("item-label-item__text-wrap", {
73
+ b === (b = i(d, u)) && f ? f.p(d, u) : (f.d(1), f = b(d), f && (f.c(), f.m(t, null))), u & 1 && s !== (s = p(k("item-label-item__text-wrap", {
74
74
  "item-label-item__custom": Boolean(typeof d[0].render == "function")
75
- })) + " svelte-gduhqw") && c(t, "class", s), u & 1 && _(t, "bottom", `${d[0].strokeLength}px`), u & 2 && m !== (m = p(k("item-label-item__bar", { anchor: d[1] })) + " svelte-gduhqw") && c(o, "class", m), u & 1 && _(o, "height", `${d[0].strokeLength}px`), u & 1 && r !== (r = p(k("item-label-item", { fold: d[0].isFold })) + " svelte-gduhqw") && c(e, "class", r), u & 1 && _(e, "z-index", d[0].zIndex, !1), u & 1 && _(e, "transform", d[0].transform, !1);
75
+ })) + " svelte-gduhqw") && c(t, "class", s), u & 1 && _(t, "bottom", `${d[0].strokeLength}px`), u & 2 && m !== (m = p(k("item-label-item__bar", { anchor: d[1] })) + " svelte-gduhqw") && c(o, "class", m), u & 1 && _(o, "height", `${d[0].strokeLength}px`), u & 1 && r !== (r = p(k("item-label-item", { fold: d[0].isFold })) + " svelte-gduhqw") && c(e, "class", r), u & 1 && _(e, "z-index", d[0].zIndex), u & 1 && _(e, "transform", d[0].transform);
76
76
  },
77
77
  i: I,
78
78
  o: I,
79
79
  d(d) {
80
- d && y(e), b.d(), g = !1, a();
80
+ d && y(e), f.d(), g = !1, a();
81
81
  }
82
82
  };
83
83
  }
@@ -1,9 +1,18 @@
1
- import { Subscribe as f, Five as E } from "@realsee/five";
1
+ import { Subscribe as L, Five as E } from "@realsee/five";
2
2
  import g from "./ItemLabelComponent.js";
3
3
  import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as h } from "./typings.js";
4
4
  import { parseItemLabelPluginData as v } from "./utils/parseData.js";
5
- const P = void 0, V = (o, n) => {
6
- var d, c, b, u;
5
+ import "../vendor/svelte/internal/index.js";
6
+ import "three";
7
+ import "./ItemLabelItem.js";
8
+ import "classnames";
9
+ import "../shared-utils/debounce.js";
10
+ import "./utils/isImpacted.js";
11
+ import "./utils/getStrokeLength.js";
12
+ import "./utils/getLabelTransform.js";
13
+ import "./utils/transform2RenderData.js";
14
+ const P = void 0, O = (o, t) => {
15
+ var d, c, b, p;
7
16
  const e = {
8
17
  container: document.createElement("div"),
9
18
  data: null,
@@ -12,11 +21,11 @@ const P = void 0, V = (o, n) => {
12
21
  itemLabels: [],
13
22
  wrapper: null,
14
23
  app: void 0,
15
- hooks: new f(),
16
- modelOcclusionEnable: (d = n == null ? void 0 : n.modelOcclusionEnable) != null ? d : !0,
17
- onlyVisibleInPanorama: (c = n == null ? void 0 : n.onlyVisibleInPanorama) != null ? c : !0,
18
- displayStrategyType: (b = n == null ? void 0 : n.displayStrategyType) != null ? b : h.SMALL,
19
- maxVisibleDistance: (u = n == null ? void 0 : n.maxVisibleDistance) != null ? u : P
24
+ hooks: new L(),
25
+ modelOcclusionEnable: (d = t == null ? void 0 : t.modelOcclusionEnable) != null ? d : !0,
26
+ onlyVisibleInPanorama: (c = t == null ? void 0 : t.onlyVisibleInPanorama) != null ? c : !0,
27
+ displayStrategyType: (b = t == null ? void 0 : t.displayStrategyType) != null ? b : h.SMALL,
28
+ maxVisibleDistance: (p = t == null ? void 0 : t.maxVisibleDistance) != null ? p : P
20
29
  };
21
30
  e.container.setAttribute("class", "item-label-plugin-container"), e.container.style.cssText = `
22
31
  position: absolute;
@@ -26,15 +35,15 @@ const P = void 0, V = (o, n) => {
26
35
  height: 100%;
27
36
  z-index: 5;
28
37
  `, e.container.style.pointerEvents = "none";
29
- const p = (t) => (e.wrapper = t, t.appendChild(e.container), i(), !0), m = (t) => {
30
- e.itemLabels = v(t), i();
31
- }, l = () => (e.enabled || (e.enabled = !0, i()), !0), a = () => (e.enabled && (e.enabled = !1, i()), !0), r = () => {
32
- L(), e.container.remove();
38
+ const u = (n) => (e.wrapper = n, n.appendChild(e.container), i(), !0), m = (n) => {
39
+ e.itemLabels = v(n), i();
40
+ }, l = () => (e.enabled || (e.enabled = !0, i()), !0), r = () => (e.enabled && (e.enabled = !1, i()), !0), a = () => {
41
+ f(), e.container.remove();
33
42
  }, i = () => {
34
- var t;
43
+ var n;
35
44
  if (!!e.wrapper) {
36
45
  if (!e.enabled || !e.fiveModeEnabled) {
37
- (t = e.app) == null || t.$destroy(), e.app = void 0;
46
+ (n = e.app) == null || n.$destroy(), e.app = void 0;
38
47
  return;
39
48
  }
40
49
  e.app ? e.app.$set({
@@ -55,12 +64,12 @@ const P = void 0, V = (o, n) => {
55
64
  });
56
65
  }
57
66
  }, y = () => {
58
- o.on("modeChange", s), o.once("dispose", r);
59
- }, L = () => {
67
+ o.on("modeChange", s), o.once("dispose", a);
68
+ }, f = () => {
60
69
  o.off("modeChange", s);
61
- }, s = (t) => {
62
- if (t !== E.Mode.Panorama) {
63
- e.fiveModeEnabled = !1, a();
70
+ }, s = (n) => {
71
+ if (n !== E.Mode.Panorama) {
72
+ e.fiveModeEnabled = !1, r();
64
73
  return;
65
74
  }
66
75
  o.once("initAnimationEnded", () => {
@@ -68,14 +77,15 @@ const P = void 0, V = (o, n) => {
68
77
  });
69
78
  };
70
79
  return y(), {
71
- appendTo: p,
80
+ appendTo: u,
72
81
  load: m,
73
82
  enable: l,
74
- disable: a,
75
- dispose: r,
83
+ disable: r,
84
+ dispose: a,
76
85
  hooks: e.hooks
77
86
  };
78
87
  };
79
88
  export {
80
- V as Plugin
89
+ O as Plugin,
90
+ O as default
81
91
  };
@@ -1,11 +1,25 @@
1
+ import "./Plugin.js";
2
+ import { Plugin as f, Plugin as E } from "./Plugin.js";
3
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as b } from "./typings.js";
1
4
  import "@realsee/five";
5
+ import "./ItemLabelComponent.js";
2
6
  import "../vendor/svelte/internal/index.js";
3
7
  import "three";
8
+ import "./ItemLabelItem.js";
4
9
  import "classnames";
5
- const t = {
10
+ import "../shared-utils/debounce.js";
11
+ import "./utils/isImpacted.js";
12
+ import "./utils/getStrokeLength.js";
13
+ import "./utils/getLabelTransform.js";
14
+ import "./utils/transform2RenderData.js";
15
+ import "./utils/parseData.js";
16
+ const s = {
6
17
  name: "ItemLabelPlugin",
7
18
  version: 0
8
19
  };
9
20
  export {
10
- t as itemLabelPluginServerParams
21
+ b as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
22
+ f as ItemLabelPlugin,
23
+ E as default,
24
+ s as itemLabelPluginServerParams
11
25
  };
@@ -17,7 +17,7 @@ var M = (t, i, s) => new Promise((l, o) => {
17
17
  import * as h from "three";
18
18
  import { FBXLoader as E } from "three/examples/jsm/loaders/FBXLoader";
19
19
  import { bject3d2LocalMatrix as U } from "../shared-utils/object3d2LocalMatrix.js";
20
- import { transfromToMeshBasicMaterial as C } from "../shared-utils/three/transfromToMeshBasicMaterial.js";
20
+ import { transfromToMeshBasicMaterial as C } from "../shared-utils/three/transformToMeshBasicMaterial.js";
21
21
  const X = (t, i) => {
22
22
  var x;
23
23
  const s = i.fbx_url || "//vrlab-static.ljcdn.com/release/web/v3/dipan3/dipan.FBX", l = (x = i.north_rad) != null ? x : void 0, o = {}, m = (e) => M(void 0, null, function* () {
@@ -66,5 +66,6 @@ const X = (t, i) => {
66
66
  } };
67
67
  };
68
68
  export {
69
- X as ModelChassisCompassPlugin
69
+ X as ModelChassisCompassPlugin,
70
+ X as default
70
71
  };
@@ -1,2 +1,10 @@
1
+ import "./Plugin.js";
2
+ import { ModelChassisCompassPlugin as t, ModelChassisCompassPlugin as C } from "./Plugin.js";
1
3
  import "three";
2
4
  import "three/examples/jsm/loaders/FBXLoader";
5
+ import "../shared-utils/object3d2LocalMatrix.js";
6
+ import "../shared-utils/three/transformToMeshBasicMaterial.js";
7
+ export {
8
+ t as ModelChassisCompassPlugin,
9
+ C as default
10
+ };
@@ -7,6 +7,7 @@ export interface ModelEntryDoorGuidePluginData {
7
7
  }
8
8
  export declare type ModelEntryDoorGuidePluginParameterType = {
9
9
  animationEnabled?: boolean;
10
+ name?: string;
10
11
  } & ModelEntryDoorGuidePluginData;
11
12
  export interface ModelEntryDoorGuidePluginExportType {
12
13
  enable: (config?: {