@realsee/dnalogel 2.1.2-alpha.0 → 2.1.2-alpha.10

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 (494) hide show
  1. package/README.md +3 -12
  2. package/dist/CSS3DRenderPlugin/index..js +88 -0
  3. package/dist/CSS3DRenderPlugin/index.cjs.js +1 -0
  4. package/dist/CameraMovementPlugin/index..js +11 -0
  5. package/dist/CameraMovementPlugin/index.cjs.js +1 -0
  6. package/dist/CruisePlugin/index..js +527 -0
  7. package/dist/CruisePlugin/index.cjs.js +1 -0
  8. package/dist/GuideLinePlugin/index..js +214 -0
  9. package/dist/GuideLinePlugin/index.cjs.js +1 -0
  10. package/dist/ItemLabelPlugin/index..js +508 -0
  11. package/dist/ItemLabelPlugin/index.cjs.js +10 -0
  12. package/dist/ModelChassisCompassPlugin/index..js +9 -0
  13. package/dist/ModelChassisCompassPlugin/index.cjs.js +1 -0
  14. package/dist/ModelEntryDoorGuidePlugin/index..js +9 -0
  15. package/dist/ModelEntryDoorGuidePlugin/index.cjs.js +1 -0
  16. package/dist/ModelItemLabelPlugin/index..js +334 -0
  17. package/dist/ModelItemLabelPlugin/index.cjs.js +10 -0
  18. package/dist/ModelRoomLabelPlugin/index..js +274 -0
  19. package/dist/ModelRoomLabelPlugin/index.cjs.js +1 -0
  20. package/dist/ModelTVVideoPlugin/index..js +12 -0
  21. package/dist/ModelTVVideoPlugin/index.cjs.js +1 -0
  22. package/dist/ModelViewPlugin/index..js +8 -0
  23. package/dist/ModelViewPlugin/index.cjs.js +1 -0
  24. package/dist/Object3DHelperPlugin/index..js +1414 -0
  25. package/dist/Object3DHelperPlugin/index.cjs.js +1 -0
  26. package/dist/PanoCompassPlugin/index..js +258 -0
  27. package/dist/PanoCompassPlugin/index.cjs.js +1 -0
  28. package/dist/PanoCursorRaycasterPlugin/index..js +63 -0
  29. package/dist/PanoCursorRaycasterPlugin/index.cjs.js +1 -0
  30. package/dist/PanoDoorLabelPlugin/index..js +340 -0
  31. package/dist/PanoDoorLabelPlugin/index.cjs.js +1 -0
  32. package/dist/PanoMeasurePlugin/index..js +15 -0
  33. package/dist/PanoMeasurePlugin/index.cjs.js +1 -0
  34. package/dist/PanoRulerPlugin/index..js +9 -0
  35. package/dist/PanoRulerPlugin/index.cjs.js +1 -0
  36. package/dist/PanoRulerProPlugin/index..js +395 -0
  37. package/dist/PanoRulerProPlugin/index.cjs.js +1 -0
  38. package/dist/PanoSpatialTagPlugin/index..js +15 -0
  39. package/dist/PanoSpatialTagPlugin/index.cjs.js +1 -0
  40. package/dist/PanoTagPlugin/index..js +4522 -0
  41. package/dist/PanoTagPlugin/index.cjs.js +17 -0
  42. package/dist/chunks/cjs/BasePlugin.57e5204f.cjs.js +1 -0
  43. package/dist/chunks/cjs/BasePluginWithData.0a28882d.cjs.js +1 -0
  44. package/dist/chunks/cjs/CSS3DRender.15349564.cjs.js +1 -0
  45. package/dist/chunks/cjs/CameraMovementPlugin.2b342576.cjs.js +1 -0
  46. package/dist/chunks/cjs/Plugin.5f616fb3.cjs.js +1 -0
  47. package/dist/chunks/cjs/Plugin.609da4aa.cjs.js +94 -0
  48. package/dist/chunks/cjs/Plugin.67936d0e.cjs.js +16 -0
  49. package/dist/chunks/cjs/Plugin.8a110c53.cjs.js +1 -0
  50. package/dist/chunks/cjs/Plugin.9971108a.cjs.js +1 -0
  51. package/dist/chunks/cjs/Plugin.fd42bf8a.cjs.js +1 -0
  52. package/dist/chunks/cjs/Subscribe.5398d5c6.cjs.js +1 -0
  53. package/dist/chunks/cjs/changeModelCanvasOpacity.8d84f111.cjs.js +1 -0
  54. package/dist/chunks/cjs/correctFiveState.4c8472bd.cjs.js +1 -0
  55. package/dist/chunks/cjs/debounce.93dfb637.cjs.js +1 -0
  56. package/dist/chunks/cjs/equal.e9fcbd4e.cjs.js +1 -0
  57. package/dist/chunks/cjs/filter.cf9ebbb3.cjs.js +1 -0
  58. package/dist/chunks/cjs/formatData.81e95011.cjs.js +10 -0
  59. package/dist/chunks/cjs/index.30b7baeb.cjs.js +101 -0
  60. package/dist/chunks/cjs/index.686e84d1.cjs.js +290 -0
  61. package/dist/chunks/cjs/index.7d2010ce.cjs.js +1 -0
  62. package/dist/chunks/cjs/isNil.b3a58990.cjs.js +1 -0
  63. package/dist/chunks/cjs/planimetry.7fce816a.cjs.js +1 -0
  64. package/dist/chunks/cjs/throttle.86c209eb.cjs.js +1 -0
  65. package/dist/chunks/cjs/transfromToMeshBasicMaterial.9db6d46a.cjs.js +1 -0
  66. package/dist/chunks/cjs/uuid.29ed9c88.cjs.js +1 -0
  67. package/dist/chunks/es/BasePlugin.813e25f7.es.js +18 -0
  68. package/dist/chunks/es/BasePluginWithData.4bf4e649.es.js +6 -0
  69. package/dist/chunks/es/CSS3DRender.5652510e.es.js +393 -0
  70. package/dist/chunks/es/CameraMovementPlugin.4a7c3e46.es.js +120 -0
  71. package/dist/chunks/es/Plugin.26c2df05.es.js +106 -0
  72. package/dist/chunks/es/Plugin.435485ed.es.js +584 -0
  73. package/dist/chunks/es/Plugin.a98418f0.es.js +82 -0
  74. package/dist/chunks/es/Plugin.ae4ee6f8.es.js +82 -0
  75. package/dist/chunks/es/Plugin.dd11e0ad.es.js +180 -0
  76. package/dist/chunks/es/Plugin.f4cf895f.es.js +355 -0
  77. package/dist/chunks/es/Subscribe.c73e0f91.es.js +50 -0
  78. package/dist/chunks/es/changeModelCanvasOpacity.45ef9fd6.es.js +1551 -0
  79. package/dist/chunks/es/correctFiveState.e7feab9f.es.js +66 -0
  80. package/dist/chunks/es/debounce.ef83f417.es.js +11 -0
  81. package/dist/chunks/es/equal.7db4a6f7.es.js +56 -0
  82. package/dist/chunks/es/filter.97ec06c4.es.js +12 -0
  83. package/dist/chunks/es/formatData.a2b39ef9.es.js +483 -0
  84. package/dist/chunks/es/index.a273f06e.es.js +532 -0
  85. package/dist/chunks/es/index.b8fdb59b.es.js +50 -0
  86. package/dist/chunks/es/index.f74f4851.es.js +1787 -0
  87. package/dist/chunks/es/isNil.212842d9.es.js +10 -0
  88. package/dist/chunks/es/planimetry.b0b4a28d.es.js +43 -0
  89. package/dist/chunks/es/throttle.db66bac3.es.js +11 -0
  90. package/dist/chunks/es/transfromToMeshBasicMaterial.849ee069.es.js +24 -0
  91. package/dist/chunks/es/uuid.676cb2c8.es.js +9 -0
  92. package/dist/components/PaintBrush/index..js +6 -0
  93. package/dist/components/PaintBrush/index.cjs.js +1 -0
  94. package/dist/components/index..js +7 -0
  95. package/dist/components/index.cjs.js +1 -0
  96. package/dist/floorplan/MapviewFloorplanPlugin/index..js +324 -0
  97. package/dist/floorplan/MapviewFloorplanPlugin/index.cjs.js +1 -0
  98. package/dist/floorplan/ModelFloorplanPlugin/index..js +320 -0
  99. package/dist/floorplan/ModelFloorplanPlugin/index.cjs.js +1 -0
  100. package/dist/floorplan/PanoFloorplanRadarPlugin/index..js +613 -0
  101. package/dist/floorplan/PanoFloorplanRadarPlugin/index.cjs.js +1 -0
  102. package/dist/floorplan/TopviewFloorplanPlugin/index..js +277 -0
  103. package/dist/floorplan/TopviewFloorplanPlugin/index.cjs.js +1 -0
  104. package/dist/index..js +530 -0
  105. package/dist/index.cjs.js +3 -543
  106. package/docs/classes/CruisePluginController.html +24 -24
  107. package/docs/classes/Magnifier.html +16 -16
  108. package/docs/classes/ModelRoomLabelController.html +11 -11
  109. package/docs/classes/Object3DHelperController.html +24 -24
  110. package/docs/classes/PaintBrush.html +15 -15
  111. package/docs/classes/PanoTagPluginController.html +39 -39
  112. package/docs/classes/Util.BetterTween.html +8 -8
  113. package/docs/classes/Util.FivePointSelector.html +12 -12
  114. package/docs/classes/Util.Interval.html +12 -12
  115. package/docs/classes/Util.Magnifier.html +17 -17
  116. package/docs/classes/Util.PointDomHelper.html +11 -11
  117. package/docs/classes/Util.PointHelper.html +11 -11
  118. package/docs/classes/Util.Rectangle.html +13 -13
  119. package/docs/enums/CameraMovementEffect.html +7 -7
  120. package/docs/enums/ContentType.html +12 -12
  121. package/docs/enums/DIRECTION.html +9 -9
  122. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  123. package/docs/enums/DimensionType.html +7 -7
  124. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  125. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  126. package/docs/enums/LinkType.html +7 -7
  127. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  128. package/docs/enums/PointType.html +7 -7
  129. package/docs/enums/Rotation.html +8 -8
  130. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  131. package/docs/functions/CameraMovementPlugin.html +4 -4
  132. package/docs/functions/CruisePlugin.html +4 -4
  133. package/docs/functions/GuideLinePlugin.html +5 -5
  134. package/docs/functions/ItemLabelPlugin.html +4 -4
  135. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  136. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  137. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  138. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  139. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  140. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  141. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  142. package/docs/functions/ModelViewPlugin.html +4 -4
  143. package/docs/functions/Object3DHelperPlugin.html +4 -4
  144. package/docs/functions/PanoCompassPlugin.html +4 -4
  145. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  146. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  147. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  148. package/docs/functions/PanoMeasurePlugin.html +4 -4
  149. package/docs/functions/PanoRulerPlugin.html +4 -4
  150. package/docs/functions/PanoRulerProPlugin.html +4 -4
  151. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  152. package/docs/functions/PanoTagPlugin.html +4 -4
  153. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  154. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  155. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  156. package/docs/functions/Util.getFrameTime.html +5 -5
  157. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  158. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  159. package/docs/functions/Util.isNil.html +5 -5
  160. package/docs/functions/Util.nextFrame.html +5 -5
  161. package/docs/functions/Util.notNil.html +5 -5
  162. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  163. package/docs/functions/Util.tweenProgress.html +5 -5
  164. package/docs/functions/pluginFlag.html +5 -5
  165. package/docs/index.html +6 -11
  166. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  167. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  168. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  169. package/docs/interfaces/ContentTypeMap.html +12 -12
  170. package/docs/interfaces/FloorplanBounding.html +8 -8
  171. package/docs/interfaces/FloorplanData.html +10 -10
  172. package/docs/interfaces/FloorplanEntrance.html +11 -11
  173. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  174. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  175. package/docs/interfaces/FloorplanFloorData.html +9 -9
  176. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  177. package/docs/interfaces/FloorplanObserver.html +9 -9
  178. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  179. package/docs/interfaces/FloorplanPosition.html +7 -7
  180. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  181. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  182. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  183. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  184. package/docs/interfaces/FloorplanServerData.html +7 -7
  185. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  186. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  187. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  188. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  189. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  190. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  191. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  192. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  193. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  194. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  195. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  196. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  197. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  198. package/docs/interfaces/LineJson.html +7 -7
  199. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  200. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  201. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  202. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  203. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  204. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  205. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  206. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  207. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  208. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  209. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  210. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  211. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  212. package/docs/interfaces/Object3DHelperState.html +8 -8
  213. package/docs/interfaces/OpenParameter.html +7 -7
  214. package/docs/interfaces/PaintBrushAction.html +12 -12
  215. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  216. package/docs/interfaces/PaintBrushState.html +10 -10
  217. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  218. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  219. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  220. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  221. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  222. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  223. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  224. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  225. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  226. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  227. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  228. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  229. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  230. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  231. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  232. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  233. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  234. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  235. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  236. package/docs/interfaces/Point.html +8 -8
  237. package/docs/interfaces/PointJson.html +8 -8
  238. package/docs/interfaces/Room.html +9 -9
  239. package/docs/interfaces/RoomInfo.html +7 -7
  240. package/docs/interfaces/RoomLabel.html +14 -14
  241. package/docs/interfaces/RoomRules.html +5 -5
  242. package/docs/interfaces/Rooms.html +5 -5
  243. package/docs/interfaces/Scissor.html +9 -9
  244. package/docs/interfaces/TagConfig.html +10 -10
  245. package/docs/interfaces/Tags.html +9 -9
  246. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  247. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  248. package/docs/modules/Util.html +5 -5
  249. package/docs/modules.html +4 -4
  250. package/docs/types/ArrayPosition.html +5 -5
  251. package/docs/types/CSS3DRenderExportType.html +5 -5
  252. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  253. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  254. package/docs/types/Color.html +5 -5
  255. package/docs/types/ContentTypeConfigKey.html +5 -5
  256. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  257. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  258. package/docs/types/Create3DElementReturnType.html +5 -5
  259. package/docs/types/CruisePluginExportType.html +5 -5
  260. package/docs/types/Direction-1.html +5 -5
  261. package/docs/types/Direction4.html +5 -5
  262. package/docs/types/FloorplanRuleLabels.html +5 -5
  263. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  264. package/docs/types/GuideLinePluginExportType.html +5 -5
  265. package/docs/types/HelperEventMap.html +5 -5
  266. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  267. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  268. package/docs/types/MediaData.html +5 -5
  269. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  270. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  271. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  272. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  273. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  274. package/docs/types/MoveArgs.html +5 -5
  275. package/docs/types/MoveOpts.html +5 -5
  276. package/docs/types/Object3DHelperEventMap.html +5 -5
  277. package/docs/types/ObjectFit.html +5 -5
  278. package/docs/types/PaintBrushEventMap.html +5 -5
  279. package/docs/types/PanoCompassPluginData.html +5 -5
  280. package/docs/types/PanoCompassPluginExportType.html +5 -5
  281. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  282. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  283. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  284. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  285. package/docs/types/PanoMeasureReturnType.html +5 -5
  286. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  287. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  288. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  289. package/docs/types/PlaneTag.html +5 -5
  290. package/docs/types/PointTag.html +5 -5
  291. package/docs/types/Position.html +5 -5
  292. package/docs/types/RotateArgs.html +5 -5
  293. package/docs/types/RotateOpts.html +5 -5
  294. package/docs/types/RuleLabelsKey.html +5 -5
  295. package/docs/types/RuleLabelsValue.html +5 -5
  296. package/docs/types/Tag.html +5 -5
  297. package/docs/types/Tag2D.html +5 -5
  298. package/docs/types/Tag3D.html +5 -5
  299. package/docs/types/TagId.html +5 -5
  300. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  301. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  302. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  303. package/docs/variables/PLUGIN.html +5 -5
  304. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  305. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  306. package/docs/variables/VERSION.html +5 -5
  307. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  308. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  309. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  310. package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -5
  311. package/libs/CSS3DRenderPlugin/Controller.js +6 -7
  312. package/libs/CSS3DRenderPlugin/index.js +3 -4
  313. package/libs/CSS3DRenderPlugin/typing.js +1 -0
  314. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -3
  315. package/libs/CSS3DRenderPlugin/utils/index.js +1 -0
  316. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +1 -2
  317. package/libs/CSS3DRenderPlugin/utils/random.js +1 -0
  318. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +16 -17
  319. package/libs/CameraMovementPlugin/index.js +3 -0
  320. package/libs/CruisePlugin/Controller.js +4 -4
  321. package/libs/CruisePlugin/index.js +3 -6
  322. package/libs/CruisePlugin/utils/linerValue.js +4 -4
  323. package/libs/GuideLinePlugin/Controller.js +3 -4
  324. package/libs/GuideLinePlugin/index.js +3 -4
  325. package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
  326. package/libs/ItemLabelPlugin/ItemLabelComponent.js +34 -32
  327. package/libs/ItemLabelPlugin/Plugin.js +5 -6
  328. package/libs/ModelChassisCompassPlugin/Plugin.js +3 -4
  329. package/libs/ModelChassisCompassPlugin/index.js +2 -0
  330. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +22 -23
  331. package/libs/ModelEntryDoorGuidePlugin/index.js +2 -0
  332. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +4 -3
  333. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +5 -6
  334. package/libs/ModelItemLabelPlugin/events.type.js +1 -0
  335. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +11 -10
  336. package/libs/ModelRoomLabelPlugin/index.js +0 -1
  337. package/libs/ModelTVVideoPlugin/Plugin.js +1 -2
  338. package/libs/ModelTVVideoPlugin/index.js +2 -0
  339. package/libs/ModelViewPlugin/Plugin.js +1 -2
  340. package/libs/ModelViewPlugin/index.js +2 -0
  341. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +6 -7
  342. package/libs/Object3DHelperPlugin/index.js +1 -6
  343. package/libs/PanoCompassPlugin/index.js +3 -4
  344. package/libs/PanoCursorRaycasterPlugin/index.js +7 -8
  345. package/libs/PanoDoorLabelPlugin/index.js +1 -2
  346. package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -3
  347. package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -5
  348. package/libs/PanoMeasurePlugin/Controller/MixedController.js +17 -17
  349. package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -3
  350. package/libs/PanoMeasurePlugin/Controller/WatchController.js +9 -9
  351. package/libs/PanoMeasurePlugin/Controller/index.js +8 -8
  352. package/libs/PanoMeasurePlugin/Model/index.js +3 -3
  353. package/libs/PanoMeasurePlugin/Model/line.js +11 -11
  354. package/libs/PanoMeasurePlugin/Model/point.js +7 -7
  355. package/libs/PanoMeasurePlugin/Model/polyline.js +1 -1
  356. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
  357. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
  358. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
  359. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
  360. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
  361. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
  362. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
  363. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
  364. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
  365. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  366. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +3 -4
  367. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +5 -5
  368. package/libs/PanoMeasurePlugin/index.js +3 -4
  369. package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
  370. package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
  371. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +2 -2
  372. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
  373. package/libs/PanoMeasurePlugin/utils/line.js +0 -1
  374. package/libs/PanoMeasurePlugin/utils/math.js +1 -2
  375. package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
  376. package/libs/PanoRulerPlugin/Plugin.js +2 -3
  377. package/libs/PanoRulerPlugin/index.js +2 -0
  378. package/libs/PanoRulerPlugin/style.js +1 -1
  379. package/libs/PanoRulerProPlugin/Controller.js +15 -15
  380. package/libs/PanoRulerProPlugin/RulerItems.js +7 -4
  381. package/libs/PanoRulerProPlugin/index.js +3 -4
  382. package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
  383. package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
  384. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -3
  385. package/libs/PanoSpatialTagPlugin/index.js +6 -0
  386. package/libs/PanoSpatialTagPlugin/typings.js +1 -0
  387. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +1 -1
  388. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +1 -1
  389. package/libs/PanoTagPlugin/Components/Common/Media.js +43 -36
  390. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +88 -78
  391. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +5 -4
  392. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +3 -2
  393. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +30 -27
  394. package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
  395. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +20 -14
  396. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +114 -92
  397. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +3 -2
  398. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -2
  399. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +71 -52
  400. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +62 -50
  401. package/libs/PanoTagPlugin/Components/Tag/index.js +92 -63
  402. package/libs/PanoTagPlugin/Components/TagContainer.js +108 -64
  403. package/libs/PanoTagPlugin/Components/TagWrapper.js +113 -75
  404. package/libs/PanoTagPlugin/controller/index.js +0 -1
  405. package/libs/PanoTagPlugin/index.js +3 -7
  406. package/libs/PanoTagPlugin/tag.config.js +1 -2
  407. package/libs/PanoTagPlugin/typings/controller.js +1 -0
  408. package/libs/PanoTagPlugin/typings/index.js +1 -0
  409. package/libs/PanoTagPlugin/utils/constants.js +1 -2
  410. package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
  411. package/libs/PanoTagPlugin/utils/index.js +1 -0
  412. package/libs/components/PaintBrush/Controller.js +3 -3
  413. package/libs/components/PaintBrush/style.js +1 -1
  414. package/libs/components/PaintBrush/tween.js +4 -4
  415. package/libs/components/index.js +2 -0
  416. package/libs/floorplan/Components/Camera.js +1 -1
  417. package/libs/floorplan/Components/CurrentFloor.js +51 -41
  418. package/libs/floorplan/Components/Main.js +41 -22
  419. package/libs/floorplan/Components/RoomHighlight/Room.js +3 -3
  420. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +3 -2
  421. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +37 -36
  422. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -1
  423. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +7 -7
  424. package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -4
  425. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +7 -7
  426. package/libs/floorplan/ModelFloorplanPlugin/index.js +2 -3
  427. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  428. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +6 -2
  429. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -65
  430. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +2 -2
  431. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +2 -3
  432. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -5
  433. package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -4
  434. package/libs/floorplan/index.js +6 -0
  435. package/libs/floorplan/typings/floorplanData.js +1 -0
  436. package/libs/floorplan/utils/correctFiveState.js +19 -19
  437. package/libs/floorplan/utils/formatData.js +16 -16
  438. package/libs/floorplan/utils/formatPosition.js +7 -7
  439. package/libs/index.js +344 -90
  440. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +2 -3
  441. package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +1 -3
  442. package/libs/shared-utils/Object3DHelper/Constants/color.js +0 -1
  443. package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +1 -2
  444. package/libs/shared-utils/Object3DHelper/Helper/index.js +3 -0
  445. package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -0
  446. package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -0
  447. package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -0
  448. package/libs/shared-utils/Object3DHelper/typings/index.js +1 -0
  449. package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -0
  450. package/libs/shared-utils/Object3DHelper/utils/getPoint.js +1 -0
  451. package/libs/shared-utils/Object3DHelper/utils/index.js +1 -0
  452. package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -0
  453. package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -0
  454. package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -1
  455. package/libs/shared-utils/animationFrame/index.js +13 -16
  456. package/libs/shared-utils/animationFrame/tween.js +0 -2
  457. package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
  458. package/libs/shared-utils/createCanvasTextTexture.js +6 -6
  459. package/libs/shared-utils/createLine/index.js +3 -3
  460. package/libs/shared-utils/debounce.js +5 -5
  461. package/libs/shared-utils/equal.js +16 -16
  462. package/libs/shared-utils/filter.js +1 -1
  463. package/libs/shared-utils/five/changeMode.js +14 -14
  464. package/libs/shared-utils/getPxmm.js +7 -8
  465. package/libs/shared-utils/index.js +33 -29
  466. package/libs/shared-utils/isTruelyObject.js +1 -1
  467. package/libs/shared-utils/math/index.js +1 -0
  468. package/libs/shared-utils/math/planimetry.js +1 -6
  469. package/libs/shared-utils/math/rad2Deg.js +3 -3
  470. package/libs/shared-utils/nearlyEqual.js +3 -3
  471. package/libs/shared-utils/noop.js +1 -1
  472. package/libs/shared-utils/object3d2LocalMatrix.js +6 -7
  473. package/libs/shared-utils/removeArrayItem.js +5 -5
  474. package/libs/shared-utils/tap.js +3 -3
  475. package/libs/shared-utils/three/index.js +6 -0
  476. package/libs/shared-utils/three/transformPositionToVector3.js +2 -2
  477. package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +12 -12
  478. package/libs/shared-utils/throttle.js +2 -2
  479. package/libs/shared-utils/tinyEJSrender.js +7 -7
  480. package/libs/shared-utils/to.js +14 -15
  481. package/libs/shared-utils/uuid.js +0 -1
  482. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/get-changed-params.js +0 -0
  483. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/get-params.js +0 -0
  484. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/mount-swiper.js +0 -0
  485. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/params-list.js +0 -0
  486. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/update-swiper.js +0 -0
  487. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/components-shared/utils.js +0 -0
  488. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/svelte/swiper-slide.js +1 -1
  489. package/libs/vendor/swiper/svelte/swiper-svelte.js +3 -0
  490. package/libs/{node_modules/.pnpm/swiper@8.4.4/node_modules → vendor}/swiper/svelte/swiper.js +1 -1
  491. package/package.json +19 -17
  492. package/dist/index.es.js +0 -16650
  493. package/dist/index.js +0 -16650
  494. package/dist/index.umd.js +0 -556
@@ -28,16 +28,16 @@ var f = (h, o, e) => new Promise((t, i) => {
28
28
  r((e = e.apply(h, o)).next());
29
29
  });
30
30
  import { to as M } from "../../shared-utils/to.js";
31
- import x from "../../shared-utils/equal.js";
31
+ import { equal as x } from "../../shared-utils/equal.js";
32
32
  import y from "../Components/Main.js";
33
- import g from "../utils/formatData.js";
33
+ import { formatData as g } from "../utils/formatData.js";
34
34
  import { CAMERA_IMAGE as _ } from "../Assets/camera.js";
35
35
  import { omit as L } from "../../shared-utils/filter.js";
36
- import D from "../../shared-utils/getPxmm.js";
36
+ import { getPxmm as D } from "../../shared-utils/getPxmm.js";
37
37
  import { FLOOR_PLAN_ATTACHED_TO as O } from "../constant.js";
38
38
  import { Controller as k } from "../../base/BasePluginWithData.js";
39
- import T, { checkShowState as B } from "../utils/correctFiveState.js";
40
- import F from "../../shared-utils/changeModelCanvasOpacity.js";
39
+ import { checkShowState as T, correctFiveState as B } from "../utils/correctFiveState.js";
40
+ import { changeModelCanvasOpacity as F } from "../../shared-utils/changeModelCanvasOpacity.js";
41
41
  import { FIVE_CAMERA_DEFAULT_FOV as G, FloorplanErrorType as c, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
42
42
  function W(h) {
43
43
  const { latitude: o, longitude: e } = h, t = Math.abs(o - Math.PI / 2) > 5 * Math.PI / 180, i = e > 5 * (Math.PI / 180) && e < 355 * (Math.PI / 180);
@@ -81,7 +81,7 @@ class ee extends k {
81
81
  !this.state.enabled || (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, e.userAction || !0), this._hide(e)));
82
82
  }));
83
83
  s(this, "updateSize", () => {
84
- if (!this.data || !B(this.five, this.showState) || !this.container || !this.wrapper)
84
+ if (!this.data || !T(this.five, this.showState) || !this.container || !this.wrapper)
85
85
  return;
86
86
  const { min: e, max: t } = this.data.bounding, i = t.x - e.x, n = t.y - e.y, d = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, r = D(this.five, this.wrapper, this.floorIndex, d), a = Math.ceil(i * r), u = Math.ceil(n * r);
87
87
  this.size.width === a && this.size.height === u || (this.container.style.width = a + "px", this.container.style.height = u + "px", this.size = { width: a, height: u });
@@ -116,7 +116,7 @@ class ee extends k {
116
116
  this.showRejection = (A) => {
117
117
  r = !0, a = A;
118
118
  };
119
- const [u] = yield M(T(this.five, this.showState, i.userAction));
119
+ const [u] = yield M(B(this.five, this.showState, i.userAction));
120
120
  if (u)
121
121
  throw u;
122
122
  if (r)
@@ -1,6 +1,5 @@
1
1
  import { Controller as l } from "./Controller.js";
2
- const n = (o, r) => new l(o, r);
2
+ const e = (o, r) => new l(o, r);
3
3
  export {
4
- n as ModelFloorplanPlugin,
5
- n as default
4
+ e as ModelFloorplanPlugin
6
5
  };
@@ -1,7 +1,7 @@
1
1
  import { SvelteComponent as w, init as y, safe_not_equal as k, append_styles as T, element as p, attr as g, set_style as l, insert as W, append as x, noop as I, detach as P } from "svelte/internal";
2
2
  import { onMount as S } from "svelte";
3
3
  import { CAMERA_IMAGE as b } from "../../Assets/camera.js";
4
- import E from "../../../shared-utils/throttle.js";
4
+ import { throttle as E } from "../../../shared-utils/throttle.js";
5
5
  function F(n) {
6
6
  T(n, "svelte-1nqrlxd", ".plugin-radar__camera-wrapper.svelte-1nqrlxd{width:100%;height:100%;position:absolute;pointer-events:none}.plugin-radar__camera-position.svelte-1nqrlxd{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear}.plugin-radar__camera-rotate.svelte-1nqrlxd{position:absolute;left:-0.9375rem;top:-0.9375rem;width:1.0625rem;height:1.0625rem;transform-origin:0.9375rem 0.9375rem;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%}");
7
7
  }
@@ -2,6 +2,10 @@ import { SvelteComponent as E, init as O, safe_not_equal as C, assign as D, crea
2
2
  import F from "./ExtraObjects.js";
3
3
  import q from "../../../Components/BaseImage.js";
4
4
  import B from "../../../Components/RoomHighlight/RoomHighlight.js";
5
+ import "../../../Components/Normalmage.js";
6
+ import "../../../Components/SvgImage.js";
7
+ import "../../../Components/RoomHighlight/Room.js";
8
+ import "../../../utils/formatPosition.js";
5
9
  function x(f) {
6
10
  let n, l;
7
11
  const i = [
@@ -112,7 +116,7 @@ function S(f, n, l) {
112
116
  r
113
117
  ];
114
118
  }
115
- class J extends E {
119
+ class P extends E {
116
120
  constructor(n) {
117
121
  super(), O(this, n, S, N, C, {
118
122
  five: 0,
@@ -125,5 +129,5 @@ class J extends E {
125
129
  }
126
130
  }
127
131
  export {
128
- J as default
132
+ P as default
129
133
  };
@@ -1,29 +1,38 @@
1
- import { SvelteComponent as P, init as B, safe_not_equal as G, append_styles as J, empty as K, insert as I, transition_in as c, group_outros as C, transition_out as g, check_outros as M, detach as k, element as S, attr as F, add_render_callback as L, add_resize_listener as Q, assign as z, create_component as E, space as R, set_style as q, mount_component as O, append as T, get_spread_update as U, destroy_component as H } from "svelte/internal";
1
+ import { SvelteComponent as P, init as B, safe_not_equal as G, append_styles as J, empty as K, insert as I, transition_in as c, group_outros as C, transition_out as h, check_outros as M, detach as k, element as S, attr as F, add_render_callback as L, add_resize_listener as Q, assign as z, create_component as E, space as R, set_style as q, mount_component as O, append as T, get_spread_update as U, destroy_component as H } from "svelte/internal";
2
2
  import { onMount as V } from "svelte";
3
3
  import X from "./Camera.js";
4
4
  import Y from "./CurrentFloor/CurrentFloor.js";
5
+ import "../../Assets/camera.js";
6
+ import "../../../shared-utils/throttle.js";
7
+ import "./CurrentFloor/ExtraObjects.js";
8
+ import "../../Components/BaseImage.js";
9
+ import "../../Components/Normalmage.js";
10
+ import "../../Components/SvgImage.js";
11
+ import "../../Components/RoomHighlight/RoomHighlight.js";
12
+ import "../../Components/RoomHighlight/Room.js";
13
+ import "../../utils/formatPosition.js";
5
14
  function Z(i) {
6
15
  J(i, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
7
16
  }
8
17
  function W(i) {
9
- let t, l, r, e = i[6] !== 0 && A(i);
18
+ let t, l, n, e = i[6] !== 0 && A(i);
10
19
  return {
11
20
  c() {
12
21
  t = S("div"), e && e.c(), F(t, "class", "plugin-floorplan-radar svelte-1mvqyqq"), L(() => i[12].call(t));
13
22
  },
14
23
  m(o, f) {
15
- I(o, t, f), e && e.m(t, null), l = Q(t, i[12].bind(t)), r = !0;
24
+ I(o, t, f), e && e.m(t, null), l = Q(t, i[12].bind(t)), n = !0;
16
25
  },
17
26
  p(o, f) {
18
- o[6] !== 0 ? e ? (e.p(o, f), f & 64 && c(e, 1)) : (e = A(o), e.c(), c(e, 1), e.m(t, null)) : e && (C(), g(e, 1, 1, () => {
27
+ o[6] !== 0 ? e ? (e.p(o, f), f & 64 && c(e, 1)) : (e = A(o), e.c(), c(e, 1), e.m(t, null)) : e && (C(), h(e, 1, 1, () => {
19
28
  e = null;
20
29
  }), M());
21
30
  },
22
31
  i(o) {
23
- r || (c(e), r = !0);
32
+ n || (c(e), n = !0);
24
33
  },
25
34
  o(o) {
26
- g(e), r = !1;
35
+ h(e), n = !1;
27
36
  },
28
37
  d(o) {
29
38
  o && k(t), e && e.d(), l();
@@ -31,8 +40,8 @@ function W(i) {
31
40
  };
32
41
  }
33
42
  function A(i) {
34
- let t, l, r, e, o = `${i[8]}px`, f = `${i[11]}px`, u;
35
- const _ = [
43
+ let t, l, n, e, o = `${i[8]}px`, f = `${i[11]}px`, u;
44
+ const p = [
36
45
  {
37
46
  five: i[0],
38
47
  pxmm: i[9],
@@ -42,11 +51,11 @@ function A(i) {
42
51
  extraObjects: i[5]
43
52
  }
44
53
  ];
45
- let d = {};
46
- for (let n = 0; n < _.length; n += 1)
47
- d = z(d, _[n]);
48
- l = new Y({ props: d });
49
- const h = [
54
+ let _ = {};
55
+ for (let r = 0; r < p.length; r += 1)
56
+ _ = z(_, p[r]);
57
+ l = new Y({ props: _ });
58
+ const d = [
50
59
  {
51
60
  pxmm: i[9],
52
61
  five: i[0],
@@ -54,111 +63,111 @@ function A(i) {
54
63
  cameraImageUrl: i[4]
55
64
  }
56
65
  ];
57
- let m = {};
58
- for (let n = 0; n < h.length; n += 1)
59
- m = z(m, h[n]);
60
- return e = new X({ props: m }), {
66
+ let s = {};
67
+ for (let r = 0; r < d.length; r += 1)
68
+ s = z(s, d[r]);
69
+ return e = new X({ props: s }), {
61
70
  c() {
62
- t = S("div"), E(l.$$.fragment), r = R(), E(e.$$.fragment), F(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(t, "width", o, !1), q(t, "height", f, !1);
71
+ t = S("div"), E(l.$$.fragment), n = R(), E(e.$$.fragment), F(t, "class", "plugin-floorplan-radar-container svelte-1mvqyqq"), q(t, "width", o, !1), q(t, "height", f, !1);
63
72
  },
64
- m(n, s) {
65
- I(n, t, s), O(l, t, null), T(t, r), O(e, t, null), u = !0;
73
+ m(r, m) {
74
+ I(r, t, m), O(l, t, null), T(t, n), O(e, t, null), u = !0;
66
75
  },
67
- p(n, s) {
68
- const p = s & 1581 ? U(_, [
76
+ p(r, m) {
77
+ const g = m & 1581 ? U(p, [
69
78
  {
70
- five: n[0],
71
- pxmm: n[9],
72
- floorIndex: n[10],
73
- floorplanData: n[3],
74
- hoverEnable: n[2],
75
- extraObjects: n[5]
79
+ five: r[0],
80
+ pxmm: r[9],
81
+ floorIndex: r[10],
82
+ floorplanData: r[3],
83
+ hoverEnable: r[2],
84
+ extraObjects: r[5]
76
85
  }
77
86
  ]) : {};
78
- l.$set(p);
79
- const v = s & 537 ? U(h, [
87
+ l.$set(g);
88
+ const v = m & 537 ? U(d, [
80
89
  {
81
- pxmm: n[9],
82
- five: n[0],
83
- floorplanData: n[3],
84
- cameraImageUrl: n[4]
90
+ pxmm: r[9],
91
+ five: r[0],
92
+ floorplanData: r[3],
93
+ cameraImageUrl: r[4]
85
94
  }
86
95
  ]) : {};
87
- e.$set(v), s & 256 && o !== (o = `${n[8]}px`) && q(t, "width", o, !1), s & 2048 && f !== (f = `${n[11]}px`) && q(t, "height", f, !1);
96
+ e.$set(v), m & 256 && o !== (o = `${r[8]}px`) && q(t, "width", o, !1), m & 2048 && f !== (f = `${r[11]}px`) && q(t, "height", f, !1);
88
97
  },
89
- i(n) {
90
- u || (c(l.$$.fragment, n), c(e.$$.fragment, n), u = !0);
98
+ i(r) {
99
+ u || (c(l.$$.fragment, r), c(e.$$.fragment, r), u = !0);
91
100
  },
92
- o(n) {
93
- g(l.$$.fragment, n), g(e.$$.fragment, n), u = !1;
101
+ o(r) {
102
+ h(l.$$.fragment, r), h(e.$$.fragment, r), u = !1;
94
103
  },
95
- d(n) {
96
- n && k(t), H(l), H(e);
104
+ d(r) {
105
+ r && k(t), H(l), H(e);
97
106
  }
98
107
  };
99
108
  }
100
109
  function x(i) {
101
- let t, l, r = i[1] && W(i);
110
+ let t, l, n = i[1] && W(i);
102
111
  return {
103
112
  c() {
104
- r && r.c(), t = K();
113
+ n && n.c(), t = K();
105
114
  },
106
115
  m(e, o) {
107
- r && r.m(e, o), I(e, t, o), l = !0;
116
+ n && n.m(e, o), I(e, t, o), l = !0;
108
117
  },
109
118
  p(e, [o]) {
110
- e[1] ? r ? (r.p(e, o), o & 2 && c(r, 1)) : (r = W(e), r.c(), c(r, 1), r.m(t.parentNode, t)) : r && (C(), g(r, 1, 1, () => {
111
- r = null;
119
+ e[1] ? n ? (n.p(e, o), o & 2 && c(n, 1)) : (n = W(e), n.c(), c(n, 1), n.m(t.parentNode, t)) : n && (C(), h(n, 1, 1, () => {
120
+ n = null;
112
121
  }), M());
113
122
  },
114
123
  i(e) {
115
- l || (c(r), l = !0);
124
+ l || (c(n), l = !0);
116
125
  },
117
126
  o(e) {
118
- g(r), l = !1;
127
+ h(n), l = !1;
119
128
  },
120
129
  d(e) {
121
- r && r.d(e), e && k(t);
130
+ n && n.d(e), e && k(t);
122
131
  }
123
132
  };
124
133
  }
125
134
  function $(i, t, l) {
126
- let { five: r } = t, { visible: e } = t, { hoverEnable: o } = t, { floorplanData: f } = t, { cameraImageUrl: u } = t, { extraObjects: _ = [] } = t, d = 0, h = 0, m = 0, n = 0, s = 0, p = 0;
135
+ let { five: n } = t, { visible: e } = t, { hoverEnable: o } = t, { floorplanData: f } = t, { cameraImageUrl: u } = t, { extraObjects: p = [] } = t, _ = 0, d = 0, s = 0, r = 0, m = 0, g = 0;
127
136
  function v(a) {
128
- l(10, h = r.work.observers[a].floorIndex);
137
+ l(10, d = n.work.observers[a].floorIndex);
129
138
  }
130
- V(() => (r.on("panoArrived", v), () => {
131
- r.off("panoArrived", v);
139
+ V(() => (n.on("panoArrived", v), () => {
140
+ n.off("panoArrived", v);
132
141
  }));
133
142
  function N() {
134
- m = this.clientWidth, n = this.clientHeight, l(6, m), l(7, n);
143
+ s = this.clientWidth, r = this.clientHeight, l(6, s), l(7, r);
135
144
  }
136
145
  return i.$$set = (a) => {
137
- "five" in a && l(0, r = a.five), "visible" in a && l(1, e = a.visible), "hoverEnable" in a && l(2, o = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, u = a.cameraImageUrl), "extraObjects" in a && l(5, _ = a.extraObjects);
146
+ "five" in a && l(0, n = a.five), "visible" in a && l(1, e = a.visible), "hoverEnable" in a && l(2, o = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, u = a.cameraImageUrl), "extraObjects" in a && l(5, p = a.extraObjects);
138
147
  }, i.$$.update = () => {
139
148
  if (i.$$.dirty & 456) {
140
- const a = Math.min(m, n), { max: D, min: j } = f.bounding, b = D.x - j.x, y = D.y - j.y, w = function() {
149
+ const a = Math.min(s, r), { max: D, min: j } = f.bounding, b = D.x - j.x, y = D.y - j.y, w = function() {
141
150
  return b > y ? [a, a / b * y] : [a / y * b, a];
142
151
  }();
143
- l(8, s = w[0]), l(11, p = w[1]), l(9, d = s / b);
152
+ l(8, m = w[0]), l(11, g = w[1]), l(9, _ = m / b);
144
153
  }
145
154
  }, [
146
- r,
155
+ n,
147
156
  e,
148
157
  o,
149
158
  f,
150
159
  u,
151
- _,
152
- m,
153
- n,
160
+ p,
154
161
  s,
162
+ r,
163
+ m,
164
+ _,
155
165
  d,
156
- h,
157
- p,
166
+ g,
158
167
  N
159
168
  ];
160
169
  }
161
- class ie extends P {
170
+ class _e extends P {
162
171
  constructor(t) {
163
172
  super(), B(
164
173
  this,
@@ -179,5 +188,5 @@ class ie extends P {
179
188
  }
180
189
  }
181
190
  export {
182
- ie as default
191
+ _e as default
183
192
  };
@@ -28,10 +28,10 @@ var p = (r, i, t) => new Promise((e, s) => {
28
28
  d((t = t.apply(r, i)).next());
29
29
  });
30
30
  import y from "./Components/Main.js";
31
- import D from "../../shared-utils/equal.js";
31
+ import { equal as D } from "../../shared-utils/equal.js";
32
32
  import { CAMERA_IMAGE as E } from "../Assets/camera.js";
33
33
  import { Controller as C } from "../../base/BasePluginWithData.js";
34
- import w, { formatExtraObjects as O } from "../utils/formatData.js";
34
+ import { formatData as w, formatExtraObjects as O } from "../utils/formatData.js";
35
35
  class P extends C {
36
36
  constructor(t, e) {
37
37
  super(t);
@@ -1,6 +1,5 @@
1
1
  import { Controller as n } from "./Controller.js";
2
- const l = (o, r) => new n(o, r);
2
+ const t = (o, r) => new n(o, r);
3
3
  export {
4
- l as PanoFloorplanRadarPlugin,
5
- l as default
4
+ t as PanoFloorplanRadarPlugin
6
5
  };
@@ -28,16 +28,16 @@ var c = (h, n, e) => new Promise((t, i) => {
28
28
  a((e = e.apply(h, n)).next());
29
29
  });
30
30
  import * as x from "three";
31
- import S from "../../shared-utils/equal.js";
31
+ import { equal as S } from "../../shared-utils/equal.js";
32
32
  import y from "../Components/Main.js";
33
- import m from "../utils/formatData.js";
33
+ import { formatData as m } from "../utils/formatData.js";
34
34
  import { CAMERA_IMAGE as I } from "../Assets/camera.js";
35
35
  import { omit as _ } from "../../shared-utils/filter.js";
36
36
  import { FLOOR_PLAN_ATTACHED_TO as D } from "../constant.js";
37
37
  import { Controller as L } from "../../base/BasePluginWithData.js";
38
- import T from "../../shared-utils/five/changeMode.js";
39
- import M, { getAttachedY as P } from "../../shared-utils/getPxmm.js";
40
- import b from "../../shared-utils/changeModelCanvasOpacity.js";
38
+ import { changeMode as T } from "../../shared-utils/five/changeMode.js";
39
+ import { getPxmm as M, getAttachedY as P } from "../../shared-utils/getPxmm.js";
40
+ import { changeModelCanvasOpacity as b } from "../../shared-utils/changeModelCanvasOpacity.js";
41
41
  class j extends L {
42
42
  constructor(e, t) {
43
43
  super(e);
@@ -1,6 +1,5 @@
1
- import { Controller as e } from "./Controller.js";
2
- const n = (o, r) => new e(o, r);
1
+ import { Controller as n } from "./Controller.js";
2
+ const l = (o, r) => new n(o, r);
3
3
  export {
4
- n as TopviewFloorplanPlugin,
5
- n as default
4
+ l as TopviewFloorplanPlugin
6
5
  };
@@ -0,0 +1,6 @@
1
+ import "svelte/internal";
2
+ import "svelte/easing";
3
+ import "svelte/transition";
4
+ import "svelte/store";
5
+ import "svelte";
6
+ import "three";
@@ -1,38 +1,38 @@
1
- var f = (t, r, e) => new Promise((c, a) => {
1
+ var m = (t, r, e) => new Promise((d, a) => {
2
2
  var i = (o) => {
3
3
  try {
4
4
  u(e.next(o));
5
- } catch (d) {
6
- a(d);
5
+ } catch (c) {
6
+ a(c);
7
7
  }
8
8
  }, n = (o) => {
9
9
  try {
10
10
  u(e.throw(o));
11
- } catch (d) {
12
- a(d);
11
+ } catch (c) {
12
+ a(c);
13
13
  }
14
- }, u = (o) => o.done ? c(o.value) : Promise.resolve(o.value).then(i, n);
14
+ }, u = (o) => o.done ? d(o.value) : Promise.resolve(o.value).then(i, n);
15
15
  u((e = e.apply(t, r)).next());
16
16
  });
17
- import { to as l } from "../../shared-utils/to.js";
18
- import { FloorplanErrorType as m } from "./constant.js";
19
- import s from "../../shared-utils/nearlyEqual.js";
20
- import p from "../../shared-utils/five/changeMode.js";
17
+ import { to as f } from "../../shared-utils/to.js";
18
+ import { FloorplanErrorType as l } from "./constant.js";
19
+ import { nearlyEqual as s } from "../../shared-utils/nearlyEqual.js";
20
+ import { changeMode as p } from "../../shared-utils/five/changeMode.js";
21
21
  function g(t, r) {
22
22
  if (t.currentMode !== r.mode)
23
23
  return !1;
24
- const { latitude: e, longitude: c, fov: a } = r, { latitude: i, longitude: n } = t.getCurrentState(), u = t.camera.fov;
25
- return !(!s(e, i, 2) || !s(c, n, 2) || a !== u);
24
+ const { latitude: e, longitude: d, fov: a } = r, { latitude: i, longitude: n } = t.getCurrentState(), u = t.camera.fov;
25
+ return !(!s(e, i, 2) || !s(d, n, 2) || a !== u);
26
26
  }
27
27
  function F(t, r, e = !0) {
28
- return f(this, null, function* () {
28
+ return m(this, null, function* () {
29
29
  if (g(t, r) === !0)
30
30
  return;
31
31
  const a = t.getCurrentState();
32
32
  if (a.mode !== r.mode) {
33
- const [M] = yield l(p(t, [r.mode, r, void 0, e]));
33
+ const [M] = yield f(p(t, [r.mode, r, void 0, e]));
34
34
  if (M)
35
- throw new Error(m.ChangeModeError);
35
+ throw new Error(l.ChangeModeError);
36
36
  return;
37
37
  }
38
38
  const { latitude: i, longitude: n, fov: u } = a, o = Math.min(
@@ -43,12 +43,12 @@ function F(t, r, e = !0) {
43
43
  (n > Math.PI ? 2 * Math.PI - n : n) * 500,
44
44
  Math.abs(u - r.fov) * 10
45
45
  )
46
- ), [d] = yield l(t.updateCamera(r, o, e));
47
- if (d)
48
- throw new Error(m.UpdateCameraError);
46
+ ), [c] = yield f(t.updateCamera(r, o, e));
47
+ if (c)
48
+ throw new Error(l.UpdateCameraError);
49
49
  });
50
50
  }
51
51
  export {
52
52
  g as checkShowState,
53
- F as default
53
+ F as correctFiveState
54
54
  };
@@ -1,24 +1,24 @@
1
- var c = (o, r, e) => new Promise((l, n) => {
1
+ var c = (o, e, r) => new Promise((l, n) => {
2
2
  var i = (t) => {
3
3
  try {
4
- s(e.next(t));
4
+ s(r.next(t));
5
5
  } catch (p) {
6
6
  n(p);
7
7
  }
8
8
  }, m = (t) => {
9
9
  try {
10
- s(e.throw(t));
10
+ s(r.throw(t));
11
11
  } catch (p) {
12
12
  n(p);
13
13
  }
14
14
  }, s = (t) => t.done ? l(t.value) : Promise.resolve(t.value).then(i, m);
15
- s((e = e.apply(o, r)).next());
15
+ s((r = r.apply(o, e)).next());
16
16
  });
17
- import { FLOORPLAN_EXTRA_OBJECT_IMAGE as a } from "../Assets/floorplanExtraObject.js";
18
- import { getFloorIndexFromModelPosition as f, modelPosition2FloorplanPosition as u, floorplanPosition2ImagePosition as _ } from "./formatPosition.js";
17
+ import { FLOORPLAN_EXTRA_OBJECT_IMAGE as f } from "../Assets/floorplanExtraObject.js";
18
+ import { getFloorIndexFromModelPosition as a, modelPosition2FloorplanPosition as u, floorplanPosition2ImagePosition as _ } from "./formatPosition.js";
19
19
  function I(o) {
20
20
  return c(this, null, function* () {
21
- const r = new Headers({ "Content-Type": "text/plain" }), e = function(n) {
21
+ const e = new Headers({ "Content-Type": "text/plain" }), r = function(n) {
22
22
  return c(this, null, function* () {
23
23
  const i = {
24
24
  index: n.index,
@@ -26,13 +26,13 @@ function I(o) {
26
26
  svgUrl: n.svg_url
27
27
  };
28
28
  if (n.svg_url) {
29
- const m = yield fetch(n.svg_url, { headers: r }).then((s) => s.text());
29
+ const m = yield fetch(n.svg_url, { headers: e }).then((s) => s.text());
30
30
  i.svgContent = m;
31
31
  }
32
32
  return i;
33
33
  });
34
34
  };
35
- return yield Promise.all(o.map(e));
35
+ return yield Promise.all(o.map(r));
36
36
  });
37
37
  }
38
38
  function g(o) {
@@ -78,27 +78,27 @@ function v(o) {
78
78
  }
79
79
  function P(o) {
80
80
  return c(this, null, function* () {
81
- const r = yield I(o.outlines), e = o.computed_data.bounding, l = o.computed_data.floor_datas.map(x), n = o.computed_data.entrance ? v(o.computed_data.entrance) : null;
81
+ const e = yield I(o.outlines), r = o.computed_data.bounding, l = o.computed_data.floor_datas.map(x), n = o.computed_data.entrance ? v(o.computed_data.entrance) : null;
82
82
  return {
83
- outlines: r,
83
+ outlines: e,
84
84
  entrance: n,
85
- bounding: e,
85
+ bounding: r,
86
86
  floorDatas: l,
87
87
  observers: o.computed_data.observers.map(d)
88
88
  };
89
89
  });
90
90
  }
91
- function y(o, r, e) {
91
+ function y(o, e, r) {
92
92
  return o.map((n) => {
93
93
  const i = n.position, m = n.icon ? n.icon : {
94
- url: a,
94
+ url: f,
95
95
  width: 45,
96
96
  height: 48
97
- }, s = f(i, r), t = u(i, e), p = _(t, e);
97
+ }, s = a(i, e), t = u(i, r), p = _(t, r);
98
98
  return { floorIndex: s, icon: m, id: n.id, position: t, positionInImage: p };
99
99
  });
100
100
  }
101
101
  export {
102
- P as default,
102
+ P as formatData,
103
103
  y as formatExtraObjects
104
104
  };
@@ -1,12 +1,12 @@
1
- function f(o, t = {}) {
1
+ function a(o, t = {}) {
2
2
  let n = "";
3
3
  const { needZ: r, needA: i } = t;
4
- return (r ? o.slice().concat(o[0]) : o.slice()).forEach((c, e) => {
5
- const { x, y: s } = t.format ? t.format(c) : c, u = x + "," + s;
6
- return e === 0 ? (n += "M" + u, n) : i != null && i[e] ? (n += "A" + i[e] + "," + u, n) : (n += "L" + u, n);
4
+ return (r ? o.slice().concat(o[0]) : o.slice()).forEach((u, e) => {
5
+ const { x, y: s } = t.format ? t.format(u) : u, c = x + "," + s;
6
+ return e === 0 ? (n += "M" + c, n) : i != null && i[e] ? (n += "A" + i[e] + "," + c, n) : (n += "L" + c, n);
7
7
  }), n + (r ? "Z" : "");
8
8
  }
9
- function m({ x: o, y: t }, n) {
9
+ function f({ x: o, y: t }, n) {
10
10
  const { max: r, min: i } = n;
11
11
  return { x: o - i.x, y: r.y - t };
12
12
  }
@@ -27,9 +27,9 @@ function g(o, t) {
27
27
  );
28
28
  }
29
29
  export {
30
- m as default,
31
30
  l as floorplanPosition2ImagePosition,
31
+ f as formatFloorplanPoint,
32
32
  g as getFloorIndexFromModelPosition,
33
33
  d as modelPosition2FloorplanPosition,
34
- f as pathD
34
+ a as pathD
35
35
  };