@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
@@ -1,6 +1,5 @@
1
- import { SvelteComponent as v, init as k, safe_not_equal as b, append_styles as y, element as D, svg_element as R, attr as u, insert as _, append as w, update_keyed_each as q, check_outros as I, transition_in as g, transition_out as c, detach as p, assign as x, empty as H, create_component as B, mount_component as C, get_spread_update as M, destroy_component as S, group_outros as W, outro_and_destroy_block as j } from "../../../vendor/svelte/internal/index.js";
2
- import z from "./Room.js";
3
- import "../../utils/formatPosition.js";
1
+ import { SvelteComponent as v, init as k, safe_not_equal as b, append_styles as y, element as D, svg_element as R, attr as u, insert as d, append as w, group_outros as q, update_keyed_each as I, outro_and_destroy_block as x, check_outros as H, transition_in as g, transition_out as c, detach as p, assign as B, empty as C, create_component as M, mount_component as S, get_spread_update as W, destroy_component as j } from "../../../vendor/svelte/internal/index.js";
2
+ import { Room as z } from "./Room.js";
4
3
  function A(i) {
5
4
  y(i, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
6
5
  }
@@ -8,7 +7,7 @@ function m(i, t, r) {
8
7
  const o = i.slice();
9
8
  return o[5] = t[r], o;
10
9
  }
11
- function d(i, t) {
10
+ function _(i, t) {
12
11
  let r, o, a;
13
12
  const s = [
14
13
  {
@@ -19,19 +18,19 @@ function d(i, t) {
19
18
  ];
20
19
  let f = {};
21
20
  for (let l = 0; l < s.length; l += 1)
22
- f = x(f, s[l]);
21
+ f = B(f, s[l]);
23
22
  return o = new z({ props: f }), {
24
23
  key: i,
25
24
  first: null,
26
25
  c() {
27
- r = H(), B(o.$$.fragment), this.first = r;
26
+ r = C(), M(o.$$.fragment), this.first = r;
28
27
  },
29
28
  m(l, e) {
30
- _(l, r, e), C(o, l, e), a = !0;
29
+ d(l, r, e), S(o, l, e), a = !0;
31
30
  },
32
31
  p(l, e) {
33
32
  t = l;
34
- const n = e & 7 ? M(s, [
33
+ const n = e & 7 ? W(s, [
35
34
  {
36
35
  room: t[5],
37
36
  floorplanData: t[1],
@@ -47,7 +46,7 @@ function d(i, t) {
47
46
  c(o.$$.fragment, l), a = !1;
48
47
  },
49
48
  d(l) {
50
- l && p(r), S(o, l);
49
+ l && p(r), j(o, l);
51
50
  }
52
51
  };
53
52
  }
@@ -56,7 +55,7 @@ function E(i) {
56
55
  const l = (e) => e[5].id;
57
56
  for (let e = 0; e < f.length; e += 1) {
58
57
  let n = m(i, f, e), h = l(n);
59
- a.set(h, o[e] = d(h, n));
58
+ a.set(h, o[e] = _(h, n));
60
59
  }
61
60
  return {
62
61
  c() {
@@ -66,13 +65,13 @@ function E(i) {
66
65
  u(r, "width", "100%"), u(r, "height", "100%"), u(r, "viewBox", `0 0 ${i[3]} ${i[4]}`), u(r, "class", "svelte-1kqo6e4"), u(t, "class", "floorplan-plugin__room-highlight svelte-1kqo6e4");
67
66
  },
68
67
  m(e, n) {
69
- _(e, t, n), w(t, r);
68
+ d(e, t, n), w(t, r);
70
69
  for (let h = 0; h < o.length; h += 1)
71
70
  o[h].m(r, null);
72
71
  s = !0;
73
72
  },
74
73
  p(e, [n]) {
75
- n & 7 && (f = e[1].floorDatas[e[0]].rooms, W(), o = q(o, n, l, 1, e, f, a, r, j, d, null, m), I());
74
+ n & 7 && (f = e[1].floorDatas[e[0]].rooms, q(), o = I(o, n, l, 1, e, f, a, r, x, _, null, m), H());
76
75
  },
77
76
  i(e) {
78
77
  if (!s) {
@@ -100,7 +99,7 @@ function F(i, t, r) {
100
99
  "floorIndex" in e && r(0, o = e.floorIndex), "floorplanData" in e && r(1, a = e.floorplanData), "hoveredRoom" in e && r(2, s = e.hoveredRoom);
101
100
  }, [o, a, s, f, l];
102
101
  }
103
- class L extends v {
102
+ class K extends v {
104
103
  constructor(t) {
105
104
  super(), k(
106
105
  this,
@@ -118,5 +117,5 @@ class L extends v {
118
117
  }
119
118
  }
120
119
  export {
121
- L as default
120
+ K as RoomHighlight
122
121
  };
@@ -19,41 +19,41 @@ function se(i) {
19
19
  }
20
20
  };
21
21
  }
22
- function fe(i) {
23
- let e, n = i[0].name + "", l, t, o, c;
22
+ function ce(i) {
23
+ let e, n = i[0].name + "", l, t, o, a;
24
24
  return {
25
25
  c() {
26
- e = k("span"), l = V(n), t = ie(), o = k("span"), c = V(i[5]), C(e, "class", "floorplan-plugin__room-name"), C(o, "class", "floorplan-plugin__room-size svelte-12pzct5");
26
+ e = k("span"), l = V(n), t = ie(), o = k("span"), a = V(i[5]), C(e, "class", "floorplan-plugin__room-name"), C(o, "class", "floorplan-plugin__room-size svelte-12pzct5");
27
27
  },
28
- m(a, f) {
29
- p(a, e, f), A(e, l), p(a, t, f), p(a, o, f), A(o, c);
28
+ m(f, c) {
29
+ p(f, e, c), A(e, l), p(f, t, c), p(f, o, c), A(o, a);
30
30
  },
31
- p(a, f) {
32
- f & 1 && n !== (n = a[0].name + "") && j(l, n), f & 32 && j(c, a[5]);
31
+ p(f, c) {
32
+ c & 1 && n !== (n = f[0].name + "") && j(l, n), c & 32 && j(a, f[5]);
33
33
  },
34
- d(a) {
35
- a && g(e), a && g(t), a && g(o);
34
+ d(f) {
35
+ f && g(e), f && g(t), f && g(o);
36
36
  }
37
37
  };
38
38
  }
39
- function ae(i) {
39
+ function fe(i) {
40
40
  let e;
41
- function n(o, c) {
41
+ function n(o, a) {
42
42
  if (o[1] === void 0)
43
- return fe;
43
+ return ce;
44
44
  if (o[4])
45
45
  return se;
46
46
  }
47
47
  let l = n(i), t = l && l(i);
48
48
  return {
49
49
  c() {
50
- e = k("div"), t && t.c(), C(e, "class", "floorplan-plugin__room-label-item svelte-12pzct5"), _(e, "left", i[6], !1), _(e, "top", i[7], !1), _(e, "font-size", i[8], !1), _(e, "opacity", i[3] ? "1" : "0", !1);
50
+ e = k("div"), t && t.c(), C(e, "class", "floorplan-plugin__room-label-item svelte-12pzct5"), _(e, "left", i[6]), _(e, "top", i[7]), _(e, "font-size", i[8]), _(e, "opacity", i[3] ? "1" : "0");
51
51
  },
52
- m(o, c) {
53
- p(o, e, c), t && t.m(e, null), i[16](e);
52
+ m(o, a) {
53
+ p(o, e, a), t && t.m(e, null), i[16](e);
54
54
  },
55
- p(o, [c]) {
56
- l === (l = n(o)) && t ? t.p(o, c) : (t && t.d(1), t = l && l(o), t && (t.c(), t.m(e, null))), c & 8 && _(e, "opacity", o[3] ? "1" : "0", !1);
55
+ p(o, [a]) {
56
+ l === (l = n(o)) && t ? t.p(o, a) : (t && t.d(1), t = l && l(o), t && (t.c(), t.m(e, null))), a & 8 && _(e, "opacity", o[3] ? "1" : "0");
57
57
  },
58
58
  i: E,
59
59
  o: E,
@@ -62,17 +62,17 @@ function ae(i) {
62
62
  }
63
63
  };
64
64
  }
65
- function ce(i, e) {
65
+ function ae(i, e) {
66
66
  const n = i[0], l = i[1];
67
67
  let t = !1;
68
- for (let o = 0, c = e.length - 1; o < e.length; c = o++) {
69
- const a = e[o][0], f = e[o][1], h = e[c][0], r = e[c][1];
70
- f > l != r > l && n < (h - a) * (l - f) / (r - f) + a && (t = !t);
68
+ for (let o = 0, a = e.length - 1; o < e.length; a = o++) {
69
+ const f = e[o][0], c = e[o][1], h = e[a][0], r = e[a][1];
70
+ c > l != r > l && n < (h - f) * (l - c) / (r - c) + f && (t = !t);
71
71
  }
72
72
  return t;
73
73
  }
74
74
  function re(i, e, n) {
75
- let l, t, o, c, { pxmm: a } = e, { room: f } = e, { hoveredRoom: h } = e, { getRoomAreaText: r } = e, { getLabelElement: m } = e, { adaptiveRoomLabelVisibleEnable: v } = e;
75
+ let l, t, o, a, { pxmm: f } = e, { room: c } = e, { hoveredRoom: h } = e, { getRoomAreaText: r } = e, { getLabelElement: m } = e, { adaptiveRoomLabelVisibleEnable: v } = e;
76
76
  function M(s, b) {
77
77
  if (b.width === 0 || b.height === 0)
78
78
  return () => !1;
@@ -84,13 +84,13 @@ function re(i, e, n) {
84
84
  [z - R, w - L],
85
85
  [z - R, w + L],
86
86
  [z + R, w + L]
87
- ].every((T) => ce(T, K));
87
+ ].every((T) => ae(T, K));
88
88
  };
89
89
  }
90
- const W = document.body.clientWidth, x = document.body.clientHeight, I = f.roomLabel, D = I.positionInImage.x * 100 + "%", S = I.positionInImage.y * 100 + "%", q = (W < 500 || x < 500 ? 10 : 14) / 16 + "rem";
90
+ const W = document.body.clientWidth, x = document.body.clientHeight, I = c.roomLabel, D = I.positionInImage.x * 100 + "%", S = I.positionInImage.y * 100 + "%", q = (W < 500 || x < 500 ? 10 : 14) / 16 + "rem";
91
91
  let H = !1, u, y;
92
92
  h.subscribe(function(b) {
93
- n(13, H = !!b && b.id === f.id);
93
+ n(13, H = !!b && b.id === c.id);
94
94
  }), ee(() => {
95
95
  const s = u == null ? void 0 : u.getClientRects()[0];
96
96
  n(14, y = {
@@ -104,20 +104,20 @@ function re(i, e, n) {
104
104
  });
105
105
  }
106
106
  return i.$$set = (s) => {
107
- "pxmm" in s && n(9, a = s.pxmm), "room" in s && n(0, f = s.room), "hoveredRoom" in s && n(10, h = s.hoveredRoom), "getRoomAreaText" in s && n(11, r = s.getRoomAreaText), "getLabelElement" in s && n(1, m = s.getLabelElement), "adaptiveRoomLabelVisibleEnable" in s && n(12, v = s.adaptiveRoomLabelVisibleEnable);
107
+ "pxmm" in s && n(9, f = s.pxmm), "room" in s && n(0, c = s.room), "hoveredRoom" in s && n(10, h = s.hoveredRoom), "getRoomAreaText" in s && n(11, r = s.getRoomAreaText), "getLabelElement" in s && n(1, m = s.getLabelElement), "adaptiveRoomLabelVisibleEnable" in s && n(12, v = s.adaptiveRoomLabelVisibleEnable);
108
108
  }, i.$$.update = () => {
109
- i.$$.dirty & 2049 && n(5, l = f.size ? r(f.size) : ""), i.$$.dirty & 16385 && n(15, t = y ? M(f, y) : void 0), i.$$.dirty & 3 && n(4, o = m == null ? void 0 : m(f)), i.$$.dirty & 45568 && n(3, c = v ? H ? !0 : !!(t != null && t(a)) : !0);
109
+ i.$$.dirty & 2049 && n(5, l = c.size ? r(c.size) : ""), i.$$.dirty & 16385 && n(15, t = y ? M(c, y) : void 0), i.$$.dirty & 3 && n(4, o = m == null ? void 0 : m(c)), i.$$.dirty & 45568 && n(3, a = v ? H ? !0 : !!(t != null && t(f)) : !0);
110
110
  }, [
111
- f,
111
+ c,
112
112
  m,
113
113
  u,
114
- c,
114
+ a,
115
115
  o,
116
116
  l,
117
117
  D,
118
118
  S,
119
119
  q,
120
- a,
120
+ f,
121
121
  h,
122
122
  r,
123
123
  v,
@@ -133,7 +133,7 @@ class be extends O {
133
133
  this,
134
134
  e,
135
135
  re,
136
- ae,
136
+ fe,
137
137
  Z,
138
138
  {
139
139
  pxmm: 9,
@@ -148,5 +148,5 @@ class be extends O {
148
148
  }
149
149
  }
150
150
  export {
151
- be as default
151
+ be as RoomLabel
152
152
  };
@@ -1,39 +1,39 @@
1
- import { SvelteComponent as A, init as T, safe_not_equal as V, append_styles as D, empty as v, insert as b, transition_in as _, transition_out as d, check_outros as L, detach as c, element as z, attr as I, add_render_callback as w, add_resize_listener as W, group_outros as k, update_keyed_each as q, outro_and_destroy_block as C, assign as M, create_component as N, mount_component as S, get_spread_update as j, destroy_component as B } from "../../../vendor/svelte/internal/index.js";
2
- import F from "./RoomLabel.js";
3
- function G(r) {
4
- D(r, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
1
+ import { SvelteComponent as A, init as T, safe_not_equal as V, append_styles as D, empty as v, insert as b, transition_in as u, group_outros as L, transition_out as d, check_outros as k, detach as c, element as z, attr as I, add_render_callback as w, add_resize_listener as W, update_keyed_each as q, outro_and_destroy_block as C, assign as M, create_component as N, mount_component as S, get_spread_update as j, destroy_component as B } from "../../../vendor/svelte/internal/index.js";
2
+ import { RoomLabel as F } from "./RoomLabel.js";
3
+ function G(a) {
4
+ D(a, "svelte-13xux0b", ".floorplan-plugin__room-labels.svelte-13xux0b{width:100%;height:100%;position:absolute;left:0;top:0;z-index:20;pointer-events:none}");
5
5
  }
6
- function g(r, e, o) {
7
- const t = r.slice();
6
+ function g(a, e, o) {
7
+ const t = a.slice();
8
8
  return t[10] = e[o], t;
9
9
  }
10
- function R(r) {
11
- let e, o = [], t = /* @__PURE__ */ new Map(), i, m, s = r[6];
12
- const a = (l) => l[10].id;
10
+ function R(a) {
11
+ let e, o = [], t = /* @__PURE__ */ new Map(), i, m, s = a[6];
12
+ const r = (l) => l[10].id;
13
13
  for (let l = 0; l < s.length; l += 1) {
14
- let n = g(r, s, l), u = a(n);
15
- t.set(u, o[l] = p(u, n));
14
+ let n = g(a, s, l), _ = r(n);
15
+ t.set(_, o[l] = p(_, n));
16
16
  }
17
17
  return {
18
18
  c() {
19
19
  e = z("div");
20
20
  for (let l = 0; l < o.length; l += 1)
21
21
  o[l].c();
22
- I(e, "class", "floorplan-plugin__room-labels svelte-13xux0b"), w(() => r[9].call(e));
22
+ I(e, "class", "floorplan-plugin__room-labels svelte-13xux0b"), w(() => a[9].call(e));
23
23
  },
24
24
  m(l, n) {
25
25
  b(l, e, n);
26
- for (let u = 0; u < o.length; u += 1)
27
- o[u].m(e, null);
28
- i = W(e, r[9].bind(e)), m = !0;
26
+ for (let _ = 0; _ < o.length; _ += 1)
27
+ o[_].m(e, null);
28
+ i = W(e, a[9].bind(e)), m = !0;
29
29
  },
30
30
  p(l, n) {
31
- n & 111 && (s = l[6], k(), o = q(o, n, a, 1, l, s, t, e, C, p, null, g), L());
31
+ n & 111 && (s = l[6], L(), o = q(o, n, r, 1, l, s, t, e, C, p, null, g), k());
32
32
  },
33
33
  i(l) {
34
34
  if (!m) {
35
35
  for (let n = 0; n < s.length; n += 1)
36
- _(o[n]);
36
+ u(o[n]);
37
37
  m = !0;
38
38
  }
39
39
  },
@@ -50,7 +50,7 @@ function R(r) {
50
50
  }
51
51
  };
52
52
  }
53
- function p(r, e) {
53
+ function p(a, e) {
54
54
  let o, t, i;
55
55
  const m = [
56
56
  {
@@ -63,19 +63,19 @@ function p(r, e) {
63
63
  }
64
64
  ];
65
65
  let s = {};
66
- for (let a = 0; a < m.length; a += 1)
67
- s = M(s, m[a]);
66
+ for (let r = 0; r < m.length; r += 1)
67
+ s = M(s, m[r]);
68
68
  return t = new F({ props: s }), {
69
- key: r,
69
+ key: a,
70
70
  first: null,
71
71
  c() {
72
72
  o = v(), N(t.$$.fragment), this.first = o;
73
73
  },
74
- m(a, l) {
75
- b(a, o, l), S(t, a, l), i = !0;
74
+ m(r, l) {
75
+ b(r, o, l), S(t, r, l), i = !0;
76
76
  },
77
- p(a, l) {
78
- e = a;
77
+ p(r, l) {
78
+ e = r;
79
79
  const n = l & 111 ? j(m, [
80
80
  {
81
81
  pxmm: e[5],
@@ -88,19 +88,19 @@ function p(r, e) {
88
88
  ]) : {};
89
89
  t.$set(n);
90
90
  },
91
- i(a) {
92
- i || (_(t.$$.fragment, a), i = !0);
91
+ i(r) {
92
+ i || (u(t.$$.fragment, r), i = !0);
93
93
  },
94
- o(a) {
95
- d(t.$$.fragment, a), i = !1;
94
+ o(r) {
95
+ d(t.$$.fragment, r), i = !1;
96
96
  },
97
- d(a) {
98
- a && c(o), B(t, a);
97
+ d(r) {
98
+ r && c(o), B(t, r);
99
99
  }
100
100
  };
101
101
  }
102
- function H(r) {
103
- let e, o, t = r[6] && R(r);
102
+ function H(a) {
103
+ let e, o, t = a[6] && R(a);
104
104
  return {
105
105
  c() {
106
106
  t && t.c(), e = v();
@@ -109,12 +109,12 @@ function H(r) {
109
109
  t && t.m(i, m), b(i, e, m), o = !0;
110
110
  },
111
111
  p(i, [m]) {
112
- i[6] ? t ? (t.p(i, m), m & 64 && _(t, 1)) : (t = R(i), t.c(), _(t, 1), t.m(e.parentNode, e)) : t && (k(), d(t, 1, 1, () => {
112
+ i[6] ? t ? (t.p(i, m), m & 64 && u(t, 1)) : (t = R(i), t.c(), u(t, 1), t.m(e.parentNode, e)) : t && (L(), d(t, 1, 1, () => {
113
113
  t = null;
114
- }), L());
114
+ }), k());
115
115
  },
116
116
  i(i) {
117
- o || (_(t), o = !0);
117
+ o || (u(t), o = !0);
118
118
  },
119
119
  o(i) {
120
120
  d(t), o = !1;
@@ -124,24 +124,24 @@ function H(r) {
124
124
  }
125
125
  };
126
126
  }
127
- function J(r, e, o) {
128
- let t, { floorIndex: i } = e, { floorplanData: m } = e, { hoveredRoom: s } = e, { getRoomAreaText: a } = e, { getLabelElement: l } = e, { adaptiveRoomLabelVisibleEnable: n } = e, u = 0, h = 0;
127
+ function J(a, e, o) {
128
+ let t, { floorIndex: i } = e, { floorplanData: m } = e, { hoveredRoom: s } = e, { getRoomAreaText: r } = e, { getLabelElement: l } = e, { adaptiveRoomLabelVisibleEnable: n } = e, _ = 0, h = 0;
129
129
  function E() {
130
- u = this.clientWidth, o(4, u);
130
+ _ = this.clientWidth, o(4, _);
131
131
  }
132
- return r.$$set = (f) => {
133
- "floorIndex" in f && o(7, i = f.floorIndex), "floorplanData" in f && o(8, m = f.floorplanData), "hoveredRoom" in f && o(0, s = f.hoveredRoom), "getRoomAreaText" in f && o(1, a = f.getRoomAreaText), "getLabelElement" in f && o(2, l = f.getLabelElement), "adaptiveRoomLabelVisibleEnable" in f && o(3, n = f.adaptiveRoomLabelVisibleEnable);
134
- }, r.$$.update = () => {
135
- if (r.$$.dirty & 384 && o(6, t = m.floorDatas[i].rooms), r.$$.dirty & 272) {
132
+ return a.$$set = (f) => {
133
+ "floorIndex" in f && o(7, i = f.floorIndex), "floorplanData" in f && o(8, m = f.floorplanData), "hoveredRoom" in f && o(0, s = f.hoveredRoom), "getRoomAreaText" in f && o(1, r = f.getRoomAreaText), "getLabelElement" in f && o(2, l = f.getLabelElement), "adaptiveRoomLabelVisibleEnable" in f && o(3, n = f.adaptiveRoomLabelVisibleEnable);
134
+ }, a.$$.update = () => {
135
+ if (a.$$.dirty & 384 && o(6, t = m.floorDatas[i].rooms), a.$$.dirty & 272) {
136
136
  const { max: f, min: x } = m.bounding, y = f.x - x.x;
137
- o(5, h = u / y);
137
+ o(5, h = _ / y);
138
138
  }
139
139
  }, [
140
140
  s,
141
- a,
141
+ r,
142
142
  l,
143
143
  n,
144
- u,
144
+ _,
145
145
  h,
146
146
  t,
147
147
  i,
@@ -170,5 +170,5 @@ class P extends A {
170
170
  }
171
171
  }
172
172
  export {
173
- P as default
173
+ P as RoomLabels
174
174
  };
@@ -10,11 +10,11 @@ var b = (l, e, o) => e in l ? M(l, e, { enumerable: !0, configurable: !0, writab
10
10
  q.call(e, o) && b(l, o, e[o]);
11
11
  return l;
12
12
  }, v = (l, e) => R(l, B(e));
13
- import { SvelteComponent as C, init as F, safe_not_equal as H, append_styles as P, element as S, attr as m, insert as x, transition_in as c, check_outros as w, transition_out as s, detach as D, destroy_each as W, svg_element as j, group_outros as I, create_component as p, mount_component as h, destroy_component as g } from "../../../vendor/svelte/internal/index.js";
13
+ import { SvelteComponent as C, init as F, safe_not_equal as H, append_styles as P, element as S, attr as m, insert as x, transition_in as u, group_outros as w, check_outros as D, transition_out as s, detach as I, destroy_each as W, svg_element as j, create_component as p, mount_component as h, destroy_component as g } from "../../../vendor/svelte/internal/index.js";
14
14
  import { formatFloorplanPoint as z } from "../../utils/formatPosition.js";
15
- import A from "./RoomMaterial_0.js";
16
- import E from "./RoomMaterial_1.js";
17
- import G from "./RoomMaterial_2.js";
15
+ import { RoomMaterial_0 as A } from "./RoomMaterial_0.js";
16
+ import { RoomMaterial_1 as E } from "./RoomMaterial_1.js";
17
+ import { RoomMaterial_2 as G } from "./RoomMaterial_2.js";
18
18
  function J(l) {
19
19
  P(l, "svelte-1dykexu", ".floorplan-plugin__room-material.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%}svg.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}");
20
20
  }
@@ -36,7 +36,7 @@ function K(l) {
36
36
  n & 1 && (i.path = t[5].path), e.$set(i);
37
37
  },
38
38
  i(t) {
39
- o || (c(e.$$.fragment, t), o = !0);
39
+ o || (u(e.$$.fragment, t), o = !0);
40
40
  },
41
41
  o(t) {
42
42
  s(e.$$.fragment, t), o = !1;
@@ -60,7 +60,7 @@ function L(l) {
60
60
  n & 1 && (i.path = t[5].path), e.$set(i);
61
61
  },
62
62
  i(t) {
63
- o || (c(e.$$.fragment, t), o = !0);
63
+ o || (u(e.$$.fragment, t), o = !0);
64
64
  },
65
65
  o(t) {
66
66
  s(e.$$.fragment, t), o = !1;
@@ -84,7 +84,7 @@ function N(l) {
84
84
  n & 1 && (i.path = t[5].path), e.$set(i);
85
85
  },
86
86
  i(t) {
87
- o || (c(e.$$.fragment, t), o = !0);
87
+ o || (u(e.$$.fragment, t), o = !0);
88
88
  },
89
89
  o(t) {
90
90
  s(e.$$.fragment, t), o = !1;
@@ -97,30 +97,30 @@ function N(l) {
97
97
  function $(l) {
98
98
  let e, o, t, n;
99
99
  const i = [N, L, K], a = [];
100
- function f(r, u) {
100
+ function f(r, c) {
101
101
  return r[5].floorType === 1 ? 0 : r[5].floorType === 0 ? 1 : 2;
102
102
  }
103
103
  return o = f(l), t = a[o] = i[o](l), {
104
104
  c() {
105
105
  e = j("svg"), t.c(), m(e, "width", "100%"), m(e, "height", "100%"), m(e, "viewBox", `0 0 ${l[1]} ${l[2]}`), m(e, "class", "svelte-1dykexu");
106
106
  },
107
- m(r, u) {
108
- x(r, e, u), a[o].m(e, null), n = !0;
107
+ m(r, c) {
108
+ x(r, e, c), a[o].m(e, null), n = !0;
109
109
  },
110
- p(r, u) {
110
+ p(r, c) {
111
111
  let _ = o;
112
- o = f(r), o === _ ? a[o].p(r, u) : (I(), s(a[_], 1, 1, () => {
112
+ o = f(r), o === _ ? a[o].p(r, c) : (w(), s(a[_], 1, 1, () => {
113
113
  a[_] = null;
114
- }), w(), t = a[o], t ? t.p(r, u) : (t = a[o] = i[o](r), t.c()), c(t, 1), t.m(e, null));
114
+ }), D(), t = a[o], t ? t.p(r, c) : (t = a[o] = i[o](r), t.c()), u(t, 1), t.m(e, null));
115
115
  },
116
116
  i(r) {
117
- n || (c(t), n = !0);
117
+ n || (u(t), n = !0);
118
118
  },
119
119
  o(r) {
120
120
  s(t), n = !1;
121
121
  },
122
122
  d(r) {
123
- r && D(e), a[o].d();
123
+ r && I(e), a[o].d();
124
124
  }
125
125
  };
126
126
  }
@@ -149,18 +149,18 @@ function O(l) {
149
149
  t = a[0];
150
150
  let r;
151
151
  for (r = 0; r < t.length; r += 1) {
152
- const u = y(a, t, r);
153
- n[r] ? (n[r].p(u, f), c(n[r], 1)) : (n[r] = $(u), n[r].c(), c(n[r], 1), n[r].m(e, null));
152
+ const c = y(a, t, r);
153
+ n[r] ? (n[r].p(c, f), u(n[r], 1)) : (n[r] = $(c), n[r].c(), u(n[r], 1), n[r].m(e, null));
154
154
  }
155
- for (I(), r = t.length; r < n.length; r += 1)
155
+ for (w(), r = t.length; r < n.length; r += 1)
156
156
  i(r);
157
- w();
157
+ D();
158
158
  }
159
159
  },
160
160
  i(a) {
161
161
  if (!o) {
162
162
  for (let f = 0; f < t.length; f += 1)
163
- c(n[f]);
163
+ u(n[f]);
164
164
  o = !0;
165
165
  }
166
166
  },
@@ -171,7 +171,7 @@ function O(l) {
171
171
  o = !1;
172
172
  },
173
173
  d(a) {
174
- a && D(e), W(n, a);
174
+ a && I(e), W(n, a);
175
175
  }
176
176
  };
177
177
  }
@@ -182,7 +182,7 @@ function Q(l, e, o) {
182
182
  "floorIndex" in r && o(3, n = r.floorIndex), "floorplanData" in r && o(4, i = r.floorplanData);
183
183
  }, l.$$.update = () => {
184
184
  l.$$.dirty & 24 && o(0, t = i.floorDatas[n].rooms.map((r) => v(k({}, r), {
185
- path: r.path.map((u) => z(u, i.bounding))
185
+ path: r.path.map((c) => z(c, i.bounding))
186
186
  })));
187
187
  }, [t, a, f, n, i];
188
188
  }
@@ -192,5 +192,5 @@ class te extends C {
192
192
  }
193
193
  }
194
194
  export {
195
- te as default
195
+ te as RoomMaterial
196
196
  };
@@ -1,37 +1,37 @@
1
- import { SvelteComponent as f, init as u, safe_not_equal as c, svg_element as d, attr as i, insert as h, noop as p, detach as m } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as c, init as f, safe_not_equal as h, svg_element as m, attr as i, insert as u, noop as p, detach as d } from "../../../vendor/svelte/internal/index.js";
2
2
  import { pathD as s } from "../../utils/formatPosition.js";
3
3
  function l(n) {
4
4
  let t;
5
5
  return {
6
6
  c() {
7
- t = d("path"), i(t, "d", n[0]), i(t, "fill", "#2F313A");
7
+ t = m("path"), i(t, "d", n[0]), i(t, "fill", "#2F313A");
8
8
  },
9
- m(e, a) {
10
- h(e, t, a);
9
+ m(e, r) {
10
+ u(e, t, r);
11
11
  },
12
- p(e, [a]) {
13
- a & 1 && i(t, "d", e[0]);
12
+ p(e, [r]) {
13
+ r & 1 && i(t, "d", e[0]);
14
14
  },
15
15
  i: p,
16
16
  o: p,
17
17
  d(e) {
18
- e && m(t);
18
+ e && d(t);
19
19
  }
20
20
  };
21
21
  }
22
22
  function _(n, t, e) {
23
- let a, { path: r } = t;
23
+ let r, { path: a } = t;
24
24
  return n.$$set = (o) => {
25
- "path" in o && e(1, r = o.path);
25
+ "path" in o && e(1, a = o.path);
26
26
  }, n.$$.update = () => {
27
- n.$$.dirty & 2 && e(0, a = s(r, { needZ: !0 }));
28
- }, [a, r];
27
+ n.$$.dirty & 2 && e(0, r = s(a, { needZ: !0 }));
28
+ }, [r, a];
29
29
  }
30
- class q extends f {
30
+ class q extends c {
31
31
  constructor(t) {
32
- super(), u(this, t, _, l, c, { path: 1 });
32
+ super(), f(this, t, _, l, h, { path: 1 });
33
33
  }
34
34
  }
35
35
  export {
36
- q as default
36
+ q as RoomMaterial_0
37
37
  };
@@ -1,13 +1,13 @@
1
- import { SvelteComponent as _, init as w, safe_not_equal as y, svg_element as l, space as k, attr as t, insert as h, append as d, noop as c, detach as m } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as _, init as w, safe_not_equal as y, svg_element as h, space as k, attr as t, insert as l, append as d, noop as c, detach as m } from "../../../vendor/svelte/internal/index.js";
2
2
  import { pathD as M } from "../../utils/formatPosition.js";
3
3
  function v(n) {
4
- let i, e, p, a, f, o;
4
+ let a, e, i, p, f, o;
5
5
  return {
6
6
  c() {
7
- i = l("defs"), e = l("pattern"), p = l("rect"), a = l("path"), f = k(), o = l("path"), t(p, "x", "0"), t(p, "y", "0"), t(p, "width", n[1]), t(p, "height", n[1]), t(p, "fill", "#323747"), t(a, "d", n[2]), t(a, "stroke", "#ffffff"), t(a, "stroke-opacity", "0.06"), t(a, "stroke-width", "0.5"), t(a, "fill", "none"), t(e, "id", "fpm-room-pattern-0"), t(e, "x", "0"), t(e, "y", "0"), t(e, "width", n[1]), t(e, "height", n[1]), t(e, "patternUnits", "userSpaceOnUse"), t(e, "patternTransform", "scale(50 50)"), t(o, "d", n[0]), t(o, "fill", "url(#fpm-room-pattern-0)");
7
+ a = h("defs"), e = h("pattern"), i = h("rect"), p = h("path"), f = k(), o = h("path"), t(i, "x", "0"), t(i, "y", "0"), t(i, "width", n[1]), t(i, "height", n[1]), t(i, "fill", "#323747"), t(p, "d", n[2]), t(p, "stroke", "#ffffff"), t(p, "stroke-opacity", "0.06"), t(p, "stroke-width", "0.5"), t(p, "fill", "none"), t(e, "id", "fpm-room-pattern-0"), t(e, "x", "0"), t(e, "y", "0"), t(e, "width", n[1]), t(e, "height", n[1]), t(e, "patternUnits", "userSpaceOnUse"), t(e, "patternTransform", "scale(50 50)"), t(o, "d", n[0]), t(o, "fill", "url(#fpm-room-pattern-0)");
8
8
  },
9
9
  m(r, s) {
10
- h(r, i, s), d(i, e), d(e, p), d(e, a), h(r, f, s), h(r, o, s);
10
+ l(r, a, s), d(a, e), d(e, i), d(e, p), l(r, f, s), l(r, o, s);
11
11
  },
12
12
  p(r, [s]) {
13
13
  s & 1 && t(o, "d", r[0]);
@@ -15,25 +15,25 @@ function v(n) {
15
15
  i: c,
16
16
  o: c,
17
17
  d(r) {
18
- r && m(i), r && m(f), r && m(o);
18
+ r && m(a), r && m(f), r && m(o);
19
19
  }
20
20
  };
21
21
  }
22
22
  const u = 6;
23
- function D(n, i, e) {
24
- let p, { path: a } = i;
23
+ function D(n, a, e) {
24
+ let i, { path: p } = a;
25
25
  const f = u * 2, o = `M0 ${u} h ${f} M${u} 0 v ${f}`;
26
26
  return n.$$set = (r) => {
27
- "path" in r && e(3, a = r.path);
27
+ "path" in r && e(3, p = r.path);
28
28
  }, n.$$.update = () => {
29
- n.$$.dirty & 8 && e(0, p = M(a, { needZ: !0 }));
30
- }, [p, f, o, a];
29
+ n.$$.dirty & 8 && e(0, i = M(p, { needZ: !0 }));
30
+ }, [i, f, o, p];
31
31
  }
32
32
  class $ extends _ {
33
- constructor(i) {
34
- super(), w(this, i, D, v, y, { path: 3 });
33
+ constructor(a) {
34
+ super(), w(this, a, D, v, y, { path: 3 });
35
35
  }
36
36
  }
37
37
  export {
38
- $ as default
38
+ $ as RoomMaterial_1
39
39
  };