@realsee/dnalogel 2.2.3 → 2.2.5-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (338) hide show
  1. package/dist/CSS3DRenderPlugin/CSS3DRender.d.ts +47 -34
  2. package/dist/CSS3DRenderPlugin/Controller.d.ts +5 -5
  3. package/dist/CSS3DRenderPlugin/index.d.ts +2 -1
  4. package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
  5. package/dist/CSS3DRenderPlugin/utils/even.d.ts +9 -0
  6. package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
  7. package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
  8. package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  9. package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +12 -0
  10. package/dist/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +25 -11
  11. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
  12. package/dist/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
  13. package/dist/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
  14. package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
  15. package/dist/Object3DHelperPlugin/Controller.d.ts +2 -0
  16. package/dist/index.cjs.js +63 -58
  17. package/dist/index.js +5827 -5094
  18. package/dist/index.umd.js +51 -46
  19. package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
  20. package/docs/assets/highlight.css +7 -0
  21. package/docs/assets/search.js +1 -1
  22. package/docs/classes/CSS3DRender.html +533 -0
  23. package/docs/classes/CruisePluginController.html +24 -24
  24. package/docs/classes/Magnifier.html +16 -16
  25. package/docs/classes/ModelRoomLabelController.html +11 -11
  26. package/docs/classes/Object3DHelperController.html +24 -24
  27. package/docs/classes/PaintBrush.html +15 -15
  28. package/docs/classes/PanoTagPluginController.html +39 -39
  29. package/docs/classes/Util.BetterTween.html +8 -8
  30. package/docs/classes/Util.FivePointSelector.html +12 -12
  31. package/docs/classes/Util.Interval.html +12 -12
  32. package/docs/classes/Util.Magnifier.html +17 -17
  33. package/docs/classes/Util.PointDomHelper.html +11 -11
  34. package/docs/classes/Util.PointHelper.html +11 -11
  35. package/docs/classes/Util.Rectangle.html +13 -13
  36. package/docs/enums/CameraMovementEffect.html +7 -7
  37. package/docs/enums/ContentType.html +12 -12
  38. package/docs/enums/DIRECTION.html +9 -9
  39. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  40. package/docs/enums/DimensionType.html +7 -7
  41. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  42. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  43. package/docs/enums/LinkType.html +7 -7
  44. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  45. package/docs/enums/PointType.html +7 -7
  46. package/docs/enums/Rotation.html +8 -8
  47. package/docs/functions/CSS3DRenderPlugin.html +6 -5
  48. package/docs/functions/CameraMovementPlugin.html +6 -5
  49. package/docs/functions/CruisePlugin.html +6 -5
  50. package/docs/functions/GuideLinePlugin.html +7 -6
  51. package/docs/functions/ItemLabelPlugin.html +6 -5
  52. package/docs/functions/MapviewFloorplanPlugin.html +6 -5
  53. package/docs/functions/ModelChassisCompassPlugin.html +6 -5
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -5
  55. package/docs/functions/ModelFloorplanPlugin.html +6 -5
  56. package/docs/functions/ModelItemLabelPlugin.html +6 -5
  57. package/docs/functions/ModelRoomLabelPlugin.html +6 -5
  58. package/docs/functions/ModelTVVideoPlugin.html +6 -5
  59. package/docs/functions/ModelViewPlugin.html +6 -5
  60. package/docs/functions/Object3DHelperPlugin.html +6 -5
  61. package/docs/functions/PanoCompassPlugin.html +6 -5
  62. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -5
  63. package/docs/functions/PanoDoorLabelPlugin.html +6 -5
  64. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -5
  65. package/docs/functions/PanoMeasurePlugin.html +6 -5
  66. package/docs/functions/PanoRulerPlugin.html +6 -5
  67. package/docs/functions/PanoRulerProPlugin.html +6 -5
  68. package/docs/functions/PanoSpatialTagPlugin.html +6 -5
  69. package/docs/functions/PanoTagPlugin.html +6 -5
  70. package/docs/functions/TopviewFloorplanPlugin.html +6 -5
  71. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  72. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  73. package/docs/functions/Util.getFrameTime.html +5 -5
  74. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  75. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  76. package/docs/functions/Util.isNil.html +5 -5
  77. package/docs/functions/Util.nextFrame.html +5 -5
  78. package/docs/functions/Util.notNil.html +5 -5
  79. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  80. package/docs/functions/Util.tweenProgress.html +5 -5
  81. package/docs/functions/pluginFlag.html +7 -6
  82. package/docs/index.html +6 -5
  83. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  84. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  85. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  86. package/docs/interfaces/ContentTypeMap.html +12 -12
  87. package/docs/interfaces/FloorplanBounding.html +8 -8
  88. package/docs/interfaces/FloorplanData.html +10 -10
  89. package/docs/interfaces/FloorplanEntrance.html +11 -11
  90. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  91. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  92. package/docs/interfaces/FloorplanFloorData.html +9 -9
  93. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  94. package/docs/interfaces/FloorplanObserver.html +9 -9
  95. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  96. package/docs/interfaces/FloorplanPosition.html +7 -7
  97. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  98. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  99. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  100. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  101. package/docs/interfaces/FloorplanServerData.html +7 -7
  102. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  103. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  104. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  105. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  106. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  107. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  108. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  109. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  110. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  111. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  112. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  113. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  114. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  115. package/docs/interfaces/LineJson.html +7 -7
  116. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  117. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  118. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  119. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  120. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  121. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  122. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  123. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  124. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  125. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  126. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  127. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  128. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  129. package/docs/interfaces/Object3DHelperState.html +8 -8
  130. package/docs/interfaces/OpenParameter.html +7 -7
  131. package/docs/interfaces/PaintBrushAction.html +12 -12
  132. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  133. package/docs/interfaces/PaintBrushState.html +10 -10
  134. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  135. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -6
  136. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  137. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  138. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  139. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  140. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  141. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  142. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  143. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  144. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -6
  145. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -6
  146. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  147. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  148. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  149. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  150. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  151. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  152. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  153. package/docs/interfaces/Point.html +8 -8
  154. package/docs/interfaces/PointJson.html +8 -8
  155. package/docs/interfaces/Room.html +9 -9
  156. package/docs/interfaces/RoomInfo.html +7 -7
  157. package/docs/interfaces/RoomLabel.html +14 -14
  158. package/docs/interfaces/RoomRules.html +7 -6
  159. package/docs/interfaces/Rooms.html +7 -6
  160. package/docs/interfaces/Scissor.html +9 -9
  161. package/docs/interfaces/TagConfig.html +10 -10
  162. package/docs/interfaces/Tags.html +9 -9
  163. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  164. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  165. package/docs/modules/Util.html +5 -5
  166. package/docs/modules.html +7 -5
  167. package/docs/types/ArrayPosition.html +7 -6
  168. package/docs/types/CSS3DRenderExportType.html +8 -7
  169. package/docs/types/CSS3DRenderPluginExportType.html +7 -6
  170. package/docs/types/CSS3DRenderPluginParameterType.html +7 -6
  171. package/docs/types/Color.html +7 -6
  172. package/docs/types/ContentTypeConfigKey.html +7 -6
  173. package/docs/types/ContentTypeConfigKeyArray.html +7 -6
  174. package/docs/types/Create3DDomContainerReturnType.html +7 -6
  175. package/docs/types/Create3DElementReturnType.html +8 -7
  176. package/docs/types/CruisePluginExportType.html +7 -6
  177. package/docs/types/Direction-1.html +7 -6
  178. package/docs/types/Direction4.html +7 -6
  179. package/docs/types/FloorplanRuleLabels.html +7 -6
  180. package/docs/types/FloorplanServerRuleLabels.html +7 -6
  181. package/docs/types/GuideLinePluginExportType.html +7 -6
  182. package/docs/types/HelperEventMap.html +7 -6
  183. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -6
  184. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -6
  185. package/docs/types/MediaData.html +7 -6
  186. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -6
  187. package/docs/types/ModelFloorplanPluginParameterType.html +7 -6
  188. package/docs/types/ModelFloorplanPluginReturnType.html +7 -6
  189. package/docs/types/ModelRoomLabelPluginParameters.html +7 -6
  190. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -6
  191. package/docs/types/MoveArgs.html +7 -6
  192. package/docs/types/MoveOpts.html +7 -6
  193. package/docs/types/Object3DHelperEventMap.html +7 -6
  194. package/docs/types/ObjectFit.html +7 -6
  195. package/docs/types/PaintBrushEventMap.html +7 -6
  196. package/docs/types/PanoCompassPluginData.html +7 -6
  197. package/docs/types/PanoCompassPluginExportType.html +7 -6
  198. package/docs/types/PanoCompassPluginParameterType.html +7 -6
  199. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -6
  200. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -6
  201. package/docs/types/PanoMeasurePluginEvent.html +7 -6
  202. package/docs/types/PanoMeasureReturnType.html +7 -6
  203. package/docs/types/PanoSpatialTagPluginId.html +7 -6
  204. package/docs/types/PanoTagPluginExportInterface.html +7 -6
  205. package/docs/types/PanoTagPluginParamsInterface.html +7 -6
  206. package/docs/types/PlaneTag.html +7 -6
  207. package/docs/types/PointTag.html +7 -6
  208. package/docs/types/Position.html +7 -6
  209. package/docs/types/RotateArgs.html +7 -6
  210. package/docs/types/RotateOpts.html +7 -6
  211. package/docs/types/RuleLabelsKey.html +7 -6
  212. package/docs/types/RuleLabelsValue.html +7 -6
  213. package/docs/types/Tag.html +7 -6
  214. package/docs/types/Tag2D.html +7 -6
  215. package/docs/types/Tag3D.html +7 -6
  216. package/docs/types/TagId.html +7 -6
  217. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -6
  218. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -6
  219. package/docs/variables/FLOOR_TYPE_MAP.html +7 -6
  220. package/docs/variables/PLUGIN.html +7 -6
  221. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -6
  222. package/docs/variables/ROOM_TYPE_MAP.html +7 -6
  223. package/docs/variables/VERSION.html +7 -6
  224. package/docs/variables/itemLabelPluginServerParams.html +7 -6
  225. package/docs/variables/modelItemLabelPluginServerParams.html +7 -6
  226. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -6
  227. package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +47 -34
  228. package/libs/CSS3DRenderPlugin/CSS3DRender.js +187 -251
  229. package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
  230. package/libs/CSS3DRenderPlugin/Controller.js +48 -57
  231. package/libs/CSS3DRenderPlugin/index.d.ts +2 -1
  232. package/libs/CSS3DRenderPlugin/index.js +3 -2
  233. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +4 -0
  234. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +22 -0
  235. package/libs/CSS3DRenderPlugin/utils/even.d.ts +9 -0
  236. package/libs/CSS3DRenderPlugin/utils/even.js +7 -0
  237. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +2 -0
  238. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +29 -0
  239. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +3 -0
  240. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +9 -0
  241. package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
  242. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +12 -0
  243. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +39 -0
  244. package/libs/CSS3DRenderPlugin/utils/{CSS3DObjectPlus.d.ts → three/CSS3DObject.d.ts} +25 -11
  245. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +93 -0
  246. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +14 -0
  247. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +46 -0
  248. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +12 -0
  249. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +39 -0
  250. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +6 -0
  251. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +18 -0
  252. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
  253. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +31 -0
  254. package/libs/CruisePlugin/Controller.js +16 -16
  255. package/libs/ItemLabelPlugin/ItemLabelComponent.js +13 -14
  256. package/libs/ItemLabelPlugin/ItemLabelItem.js +12 -12
  257. package/libs/ItemLabelPlugin/index.js +3 -4
  258. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +11 -12
  259. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
  260. package/libs/ModelItemLabelPlugin/index.js +3 -4
  261. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
  262. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +17 -18
  263. package/libs/ModelTVVideoPlugin/index.js +2 -1
  264. package/libs/Object3DHelperPlugin/Controller.d.ts +2 -0
  265. package/libs/Object3DHelperPlugin/Controller.js +89 -74
  266. package/libs/PanoDoorLabelPlugin/Controller.js +72 -73
  267. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -1
  268. package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
  269. package/libs/PanoRulerProPlugin/RulerItems.js +18 -19
  270. package/libs/PanoSpatialTagPlugin/Components/origins.js +41 -41
  271. package/libs/PanoSpatialTagPlugin/Components/tag.js +8 -9
  272. package/libs/PanoSpatialTagPlugin/index.js +3 -4
  273. package/libs/PanoSpatialTagPlugin/store.js +1 -1
  274. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  275. package/libs/PanoTagPlugin/Components/Common/Audio.js +25 -26
  276. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +8 -8
  277. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +30 -29
  278. package/libs/PanoTagPlugin/Components/Common/Media.js +75 -76
  279. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
  280. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +18 -19
  281. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +11 -11
  282. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +15 -15
  283. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +9 -9
  284. package/libs/PanoTagPlugin/Components/Common/Shadow.js +14 -13
  285. package/libs/PanoTagPlugin/Components/Common/Text.js +15 -16
  286. package/libs/PanoTagPlugin/Components/Common/TextItem.js +10 -10
  287. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +18 -19
  288. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +27 -28
  289. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +9 -10
  290. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +7 -6
  291. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +52 -81
  292. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +10 -11
  293. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +32 -33
  294. package/libs/PanoTagPlugin/Components/Tag/index.js +39 -40
  295. package/libs/PanoTagPlugin/Components/TagContainer.js +12 -13
  296. package/libs/PanoTagPlugin/Components/TagWrapper.js +9 -10
  297. package/libs/PanoTagPlugin/controller/index.js +1 -1
  298. package/libs/floorplan/Components/BaseImage.js +4 -4
  299. package/libs/floorplan/Components/Camera.js +23 -23
  300. package/libs/floorplan/Components/Compass.js +2 -2
  301. package/libs/floorplan/Components/CurrentFloor.js +9 -10
  302. package/libs/floorplan/Components/Main.js +24 -25
  303. package/libs/floorplan/Components/Normalmage.js +1 -1
  304. package/libs/floorplan/Components/RoomHighlight/Room.js +1 -1
  305. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +7 -7
  306. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +37 -38
  307. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +39 -40
  308. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +7 -7
  309. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -1
  310. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -1
  311. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -1
  312. package/libs/floorplan/Components/RuleLabels/RuleItem.js +53 -53
  313. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +8 -8
  314. package/libs/floorplan/Components/SvgImage.js +4 -4
  315. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +5 -6
  316. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +3 -3
  317. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +27 -27
  318. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +34 -35
  319. package/libs/floorplan/index.js +1 -5
  320. package/libs/index.js +110 -102
  321. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
  322. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +8 -7
  323. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
  324. package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
  325. package/libs/shared-utils/three/index.js +2 -1
  326. package/libs/vendor/svelte/easing/index.js +12 -0
  327. package/libs/vendor/svelte/index.js +1 -0
  328. package/libs/vendor/svelte/internal/index.js +641 -0
  329. package/libs/vendor/svelte/store/index.js +31 -0
  330. package/libs/vendor/svelte/transition/index.js +37 -0
  331. package/libs/vendor/swiper/svelte/swiper-slide.js +10 -11
  332. package/libs/vendor/swiper/svelte/swiper-svelte.js +1 -2
  333. package/libs/vendor/swiper/svelte/swiper.js +9 -10
  334. package/package.json +15 -15
  335. package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
  336. package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +0 -65
  337. package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +0 -3
  338. package/libs/CSS3DRenderPlugin/utils/evenNumber.js +0 -7
@@ -1,18 +1,17 @@
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 _, 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 "svelte/internal";
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
2
  import F from "./RoomLabel.js";
3
- import "svelte";
4
- function G(a) {
5
- 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}");
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}");
6
5
  }
7
- function g(a, e, o) {
8
- const t = a.slice();
6
+ function g(r, e, o) {
7
+ const t = r.slice();
9
8
  return t[10] = e[o], t;
10
9
  }
11
- function R(a) {
12
- let e, o = [], t = /* @__PURE__ */ new Map(), i, m, s = a[6];
13
- const r = (l) => l[10].id;
10
+ function R(r) {
11
+ let e, o = [], t = /* @__PURE__ */ new Map(), i, m, s = r[6];
12
+ const a = (l) => l[10].id;
14
13
  for (let l = 0; l < s.length; l += 1) {
15
- let n = g(a, s, l), u = r(n);
14
+ let n = g(r, s, l), u = a(n);
16
15
  t.set(u, o[l] = p(u, n));
17
16
  }
18
17
  return {
@@ -20,16 +19,16 @@ function R(a) {
20
19
  e = z("div");
21
20
  for (let l = 0; l < o.length; l += 1)
22
21
  o[l].c();
23
- I(e, "class", "floorplan-plugin__room-labels svelte-13xux0b"), w(() => a[9].call(e));
22
+ I(e, "class", "floorplan-plugin__room-labels svelte-13xux0b"), w(() => r[9].call(e));
24
23
  },
25
24
  m(l, n) {
26
25
  b(l, e, n);
27
26
  for (let u = 0; u < o.length; u += 1)
28
27
  o[u].m(e, null);
29
- i = W(e, a[9].bind(e)), m = !0;
28
+ i = W(e, r[9].bind(e)), m = !0;
30
29
  },
31
30
  p(l, n) {
32
- n & 111 && (s = l[6], L(), o = q(o, n, r, 1, l, s, t, e, C, p, null, g), k());
31
+ n & 111 && (s = l[6], k(), o = q(o, n, a, 1, l, s, t, e, C, p, null, g), L());
33
32
  },
34
33
  i(l) {
35
34
  if (!m) {
@@ -51,7 +50,7 @@ function R(a) {
51
50
  }
52
51
  };
53
52
  }
54
- function p(a, e) {
53
+ function p(r, e) {
55
54
  let o, t, i;
56
55
  const m = [
57
56
  {
@@ -64,19 +63,19 @@ function p(a, e) {
64
63
  }
65
64
  ];
66
65
  let s = {};
67
- for (let r = 0; r < m.length; r += 1)
68
- s = M(s, m[r]);
66
+ for (let a = 0; a < m.length; a += 1)
67
+ s = M(s, m[a]);
69
68
  return t = new F({ props: s }), {
70
- key: a,
69
+ key: r,
71
70
  first: null,
72
71
  c() {
73
72
  o = v(), N(t.$$.fragment), this.first = o;
74
73
  },
75
- m(r, l) {
76
- b(r, o, l), S(t, r, l), i = !0;
74
+ m(a, l) {
75
+ b(a, o, l), S(t, a, l), i = !0;
77
76
  },
78
- p(r, l) {
79
- e = r;
77
+ p(a, l) {
78
+ e = a;
80
79
  const n = l & 111 ? j(m, [
81
80
  {
82
81
  pxmm: e[5],
@@ -89,19 +88,19 @@ function p(a, e) {
89
88
  ]) : {};
90
89
  t.$set(n);
91
90
  },
92
- i(r) {
93
- i || (_(t.$$.fragment, r), i = !0);
91
+ i(a) {
92
+ i || (_(t.$$.fragment, a), i = !0);
94
93
  },
95
- o(r) {
96
- d(t.$$.fragment, r), i = !1;
94
+ o(a) {
95
+ d(t.$$.fragment, a), i = !1;
97
96
  },
98
- d(r) {
99
- r && c(o), B(t, r);
97
+ d(a) {
98
+ a && c(o), B(t, a);
100
99
  }
101
100
  };
102
101
  }
103
- function H(a) {
104
- let e, o, t = a[6] && R(a);
102
+ function H(r) {
103
+ let e, o, t = r[6] && R(r);
105
104
  return {
106
105
  c() {
107
106
  t && t.c(), e = v();
@@ -110,9 +109,9 @@ function H(a) {
110
109
  t && t.m(i, m), b(i, e, m), o = !0;
111
110
  },
112
111
  p(i, [m]) {
113
- i[6] ? t ? (t.p(i, m), m & 64 && _(t, 1)) : (t = R(i), t.c(), _(t, 1), t.m(e.parentNode, e)) : t && (L(), d(t, 1, 1, () => {
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, () => {
114
113
  t = null;
115
- }), k());
114
+ }), L());
116
115
  },
117
116
  i(i) {
118
117
  o || (_(t), o = !0);
@@ -125,21 +124,21 @@ function H(a) {
125
124
  }
126
125
  };
127
126
  }
128
- function J(a, e, o) {
129
- let t, { floorIndex: i } = e, { floorplanData: m } = e, { hoveredRoom: s } = e, { getRoomAreaText: r } = e, { getLabelElement: l } = e, { adaptiveRoomLabelVisibleEnable: n } = e, u = 0, h = 0;
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;
130
129
  function E() {
131
130
  u = this.clientWidth, o(4, u);
132
131
  }
133
- return a.$$set = (f) => {
134
- "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);
135
- }, a.$$.update = () => {
136
- if (a.$$.dirty & 384 && o(6, t = m.floorDatas[i].rooms), a.$$.dirty & 272) {
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) {
137
136
  const { max: f, min: x } = m.bounding, y = f.x - x.x;
138
137
  o(5, h = u / y);
139
138
  }
140
139
  }, [
141
140
  s,
142
- r,
141
+ a,
143
142
  l,
144
143
  n,
145
144
  u,
@@ -150,7 +149,7 @@ function J(a, e, o) {
150
149
  E
151
150
  ];
152
151
  }
153
- class Q extends A {
152
+ class P extends A {
154
153
  constructor(e) {
155
154
  super(), T(
156
155
  this,
@@ -171,5 +170,5 @@ class Q extends A {
171
170
  }
172
171
  }
173
172
  export {
174
- Q as default
173
+ P as default
175
174
  };
@@ -10,7 +10,7 @@ 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, 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 "svelte/internal";
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";
14
14
  import { formatFloorplanPoint as z } from "../../utils/formatPosition.js";
15
15
  import A from "./RoomMaterial_0.js";
16
16
  import E from "./RoomMaterial_1.js";
@@ -109,9 +109,9 @@ function $(l) {
109
109
  },
110
110
  p(r, u) {
111
111
  let _ = o;
112
- o = f(r), o === _ ? a[o].p(r, u) : (w(), s(a[_], 1, 1, () => {
112
+ o = f(r), o === _ ? a[o].p(r, u) : (I(), s(a[_], 1, 1, () => {
113
113
  a[_] = null;
114
- }), D(), t = a[o], t ? t.p(r, u) : (t = a[o] = i[o](r), t.c()), c(t, 1), t.m(e, 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));
115
115
  },
116
116
  i(r) {
117
117
  n || (c(t), n = !0);
@@ -120,7 +120,7 @@ function $(l) {
120
120
  s(t), n = !1;
121
121
  },
122
122
  d(r) {
123
- r && I(e), a[o].d();
123
+ r && D(e), a[o].d();
124
124
  }
125
125
  };
126
126
  }
@@ -152,9 +152,9 @@ function O(l) {
152
152
  const u = y(a, t, r);
153
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));
154
154
  }
155
- for (w(), r = t.length; r < n.length; r += 1)
155
+ for (I(), r = t.length; r < n.length; r += 1)
156
156
  i(r);
157
- D();
157
+ w();
158
158
  }
159
159
  },
160
160
  i(a) {
@@ -171,7 +171,7 @@ function O(l) {
171
171
  o = !1;
172
172
  },
173
173
  d(a) {
174
- a && I(e), W(n, a);
174
+ a && D(e), W(n, a);
175
175
  }
176
176
  };
177
177
  }
@@ -1,4 +1,4 @@
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 "svelte/internal";
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";
2
2
  import { pathD as s } from "../../utils/formatPosition.js";
3
3
  function l(n) {
4
4
  let t;
@@ -1,4 +1,4 @@
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 "svelte/internal";
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";
2
2
  import { pathD as M } from "../../utils/formatPosition.js";
3
3
  function v(n) {
4
4
  let i, e, p, a, f, o;
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as S, init as c, safe_not_equal as x, svg_element as o, space as U, attr as t, insert as s, append as w, noop as y, detach as m } from "svelte/internal";
1
+ import { SvelteComponent as S, init as c, safe_not_equal as x, svg_element as o, space as U, attr as t, insert as s, append as w, noop as y, detach as m } from "../../../vendor/svelte/internal/index.js";
2
2
  import { pathD as D } from "../../utils/formatPosition.js";
3
3
  function O(f) {
4
4
  let n, i, l, r, p, _, d, k, h, B, u;
@@ -1,20 +1,20 @@
1
- import { SvelteComponent as N, init as O, safe_not_equal as P, append_styles as S, element as h, space as R, attr as d, toggle_class as x, set_style as j, insert as D, append as c, update_keyed_each as X, destroy_block as Y, noop as T, detach as z, destroy_each as A, text as B, set_data as E } from "svelte/internal";
2
- function F(s) {
3
- S(s, "svelte-djlmk4", ".floorplan-plugin__rule-labels.svelte-djlmk4.svelte-djlmk4{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-djlmk4.svelte-djlmk4{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4.svelte-djlmk4{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4.svelte-djlmk4{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4.svelte-djlmk4{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-djlmk4.svelte-djlmk4{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale-wrapper.svelte-djlmk4{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-djlmk4.svelte-djlmk4{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale.svelte-djlmk4{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute}.floorplan-plugin__rule-labels--top.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-djlmk4.svelte-djlmk4{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-text-item.svelte-djlmk4{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-djlmk4.svelte-djlmk4{width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
1
+ import { SvelteComponent as N, init as O, safe_not_equal as P, append_styles as S, element as h, space as R, attr as d, toggle_class as x, set_style as j, insert as D, append as c, update_keyed_each as X, noop as T, detach as z, destroy_each as Y, text as A, set_data as B, destroy_block as E } from "../../../vendor/svelte/internal/index.js";
2
+ function F(r) {
3
+ S(r, "svelte-djlmk4", ".floorplan-plugin__rule-labels.svelte-djlmk4.svelte-djlmk4{position:absolute;display:flex}.floorplan-plugin__rule-labels--top.svelte-djlmk4.svelte-djlmk4{left:0;top:-1.25rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4.svelte-djlmk4{left:0;bottom:-1.25rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4.svelte-djlmk4{top:0;left:-1.25rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4.svelte-djlmk4{top:0;right:-1.25rem}.floorplan-plugin__rule-line.svelte-djlmk4.svelte-djlmk4{background:#fff;opacity:0.05;width:100%;height:100%}.floorplan-plugin__rule-scale-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute;width:0.3125rem;height:100%;left:50%;top:0;transform:translateX(-50%)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale-wrapper.svelte-djlmk4{width:100%;height:0.3125rem;top:50%;left:0;transform:translateY(-50%)}.floorplan-plugin__rule-scale.svelte-djlmk4.svelte-djlmk4{position:absolute;background:#fff;opacity:0.05;width:100%;height:0.0625rem}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-scale.svelte-djlmk4{width:0.0625rem;height:100%}.floorplan-plugin__rule-text-wrapper.svelte-djlmk4.svelte-djlmk4{position:absolute}.floorplan-plugin__rule-labels--top.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;top:0.625rem}.floorplan-plugin__rule-labels--bottom.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:100%;height:0;bottom:0.625rem}.floorplan-plugin__rule-labels--left.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;left:0.625rem}.floorplan-plugin__rule-labels--right.svelte-djlmk4 .floorplan-plugin__rule-text-wrapper.svelte-djlmk4{width:0;height:100%;right:0.625rem}.floorplan-plugin__rule-text-item.svelte-djlmk4.svelte-djlmk4{width:0;height:0;position:absolute;transform:rotate(90deg)}.floorplan-plugin__rule-labels.is-row.svelte-djlmk4 .floorplan-plugin__rule-text-item.svelte-djlmk4{transform:rotate(0)}.floorplan-plugin__rule-text.svelte-djlmk4.svelte-djlmk4{width:-moz-max-content;width:max-content;transform:translate(-50%, -50%);font-size:0.625rem;color:#fff;opacity:0.2}");
4
4
  }
5
- function q(s, e, n) {
6
- const i = s.slice();
5
+ function q(r, e, n) {
6
+ const i = r.slice();
7
7
  return i[11] = e[n], i[13] = n, i;
8
8
  }
9
- function C(s, e, n) {
10
- const i = s.slice();
9
+ function C(r, e, n) {
10
+ const i = r.slice();
11
11
  return i[14] = e[n], i;
12
12
  }
13
- function H(s) {
13
+ function H(r) {
14
14
  let e;
15
15
  return {
16
16
  c() {
17
- e = h("div"), d(e, "class", "floorplan-plugin__rule-scale svelte-djlmk4"), j(e, "left", s[14].left * 100 + "%", !1), j(e, "bottom", s[14].bottom * 100 + "%", !1);
17
+ e = h("div"), d(e, "class", "floorplan-plugin__rule-scale svelte-djlmk4"), j(e, "left", r[14].left * 100 + "%"), j(e, "bottom", r[14].bottom * 100 + "%");
18
18
  },
19
19
  m(n, i) {
20
20
  D(n, e, i);
@@ -25,91 +25,91 @@ function H(s) {
25
25
  }
26
26
  };
27
27
  }
28
- function I(s, e) {
29
- let n, i, f = e[1](e[11].distance) + "", u, m;
28
+ function I(r, e) {
29
+ let n, i, p = e[1](e[11].distance) + "", u, m;
30
30
  return {
31
- key: s,
31
+ key: r,
32
32
  first: null,
33
33
  c() {
34
- n = h("div"), i = h("div"), u = B(f), m = R(), d(i, "class", "floorplan-plugin__rule-text svelte-djlmk4"), x(i, "is-row", e[2]), d(n, "class", "floorplan-plugin__rule-text-item svelte-djlmk4"), j(n, "left", e[11].left * 100 + "%", !1), j(n, "bottom", e[11].bottom * 100 + "%", !1), this.first = n;
34
+ n = h("div"), i = h("div"), u = A(p), m = R(), d(i, "class", "floorplan-plugin__rule-text svelte-djlmk4"), x(i, "is-row", e[2]), d(n, "class", "floorplan-plugin__rule-text-item svelte-djlmk4"), j(n, "left", e[11].left * 100 + "%"), j(n, "bottom", e[11].bottom * 100 + "%"), this.first = n;
35
35
  },
36
- m(r, _) {
37
- D(r, n, _), c(n, i), c(i, u), c(n, m);
36
+ m(s, _) {
37
+ D(s, n, _), c(n, i), c(i, u), c(n, m);
38
38
  },
39
- p(r, _) {
40
- e = r, _ & 2 && f !== (f = e[1](e[11].distance) + "") && E(u, f);
39
+ p(s, _) {
40
+ e = s, _ & 2 && p !== (p = e[1](e[11].distance) + "") && B(u, p);
41
41
  },
42
- d(r) {
43
- r && z(n);
42
+ d(s) {
43
+ s && z(n);
44
44
  }
45
45
  };
46
46
  }
47
- function G(s) {
48
- let e, n, i, f, u, m, r = [], _ = /* @__PURE__ */ new Map(), g, p = s[3], a = [];
49
- for (let l = 0; l < p.length; l += 1)
50
- a[l] = H(C(s, p, l));
51
- let v = s[4];
47
+ function G(r) {
48
+ let e, n, i, p, u, m, s = [], _ = /* @__PURE__ */ new Map(), g, f = r[3], a = [];
49
+ for (let l = 0; l < f.length; l += 1)
50
+ a[l] = H(C(r, f, l));
51
+ let v = r[4];
52
52
  const w = (l) => l[13];
53
53
  for (let l = 0; l < v.length; l += 1) {
54
- let o = q(s, v, l), t = w(o);
55
- _.set(t, r[l] = I(t, o));
54
+ let o = q(r, v, l), t = w(o);
55
+ _.set(t, s[l] = I(t, o));
56
56
  }
57
57
  return {
58
58
  c() {
59
- e = h("div"), n = h("div"), i = R(), f = h("div");
59
+ e = h("div"), n = h("div"), i = R(), p = h("div");
60
60
  for (let l = 0; l < a.length; l += 1)
61
61
  a[l].c();
62
62
  u = R(), m = h("div");
63
- for (let l = 0; l < r.length; l += 1)
64
- r[l].c();
65
- d(n, "class", "floorplan-plugin__rule-line svelte-djlmk4"), d(f, "class", "floorplan-plugin__rule-scale-wrapper svelte-djlmk4"), x(f, "is-row", s[2]), d(m, "class", "floorplan-plugin__rule-text-wrapper svelte-djlmk4"), d(e, "class", g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + s[0] + " svelte-djlmk4"), x(e, "is-row", s[2]), j(e, "width", s[2] ? "100%" : 1 / 16 + "rem", !1), j(e, "height", s[2] ? 1 / 16 + "rem" : "100%", !1);
63
+ for (let l = 0; l < s.length; l += 1)
64
+ s[l].c();
65
+ d(n, "class", "floorplan-plugin__rule-line svelte-djlmk4"), d(p, "class", "floorplan-plugin__rule-scale-wrapper svelte-djlmk4"), x(p, "is-row", r[2]), d(m, "class", "floorplan-plugin__rule-text-wrapper svelte-djlmk4"), d(e, "class", g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + r[0] + " svelte-djlmk4"), x(e, "is-row", r[2]), j(e, "width", r[2] ? "100%" : 1 / 16 + "rem"), j(e, "height", r[2] ? 1 / 16 + "rem" : "100%");
66
66
  },
67
67
  m(l, o) {
68
- D(l, e, o), c(e, n), c(e, i), c(e, f);
68
+ D(l, e, o), c(e, n), c(e, i), c(e, p);
69
69
  for (let t = 0; t < a.length; t += 1)
70
- a[t].m(f, null);
70
+ a[t].m(p, null);
71
71
  c(e, u), c(e, m);
72
- for (let t = 0; t < r.length; t += 1)
73
- r[t].m(m, null);
72
+ for (let t = 0; t < s.length; t += 1)
73
+ s[t].m(m, null);
74
74
  },
75
75
  p(l, [o]) {
76
76
  if (o & 8) {
77
- p = l[3];
77
+ f = l[3];
78
78
  let t;
79
- for (t = 0; t < p.length; t += 1) {
80
- const y = C(l, p, t);
81
- a[t] ? a[t].p(y, o) : (a[t] = H(y), a[t].c(), a[t].m(f, null));
79
+ for (t = 0; t < f.length; t += 1) {
80
+ const y = C(l, f, t);
81
+ a[t] ? a[t].p(y, o) : (a[t] = H(y), a[t].c(), a[t].m(p, null));
82
82
  }
83
83
  for (; t < a.length; t += 1)
84
84
  a[t].d(1);
85
- a.length = p.length;
85
+ a.length = f.length;
86
86
  }
87
- o & 22 && (v = l[4], r = X(r, o, w, 1, l, v, _, m, Y, I, null, q)), o & 1 && g !== (g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + l[0] + " svelte-djlmk4") && d(e, "class", g), o & 5 && x(e, "is-row", l[2]);
87
+ o & 22 && (v = l[4], s = X(s, o, w, 1, l, v, _, m, E, I, null, q)), o & 1 && g !== (g = "floorplan-plugin__rule-labels floorplan-plugin__rule-labels--" + l[0] + " svelte-djlmk4") && d(e, "class", g), o & 5 && x(e, "is-row", l[2]);
88
88
  },
89
89
  i: T,
90
90
  o: T,
91
91
  d(l) {
92
- l && z(e), A(a, l);
93
- for (let o = 0; o < r.length; o += 1)
94
- r[o].d();
92
+ l && z(e), Y(a, l);
93
+ for (let o = 0; o < s.length; o += 1)
94
+ s[o].d();
95
95
  }
96
96
  };
97
97
  }
98
98
  const k = 1e3, b = 180;
99
- function J(s, e, n) {
100
- let { type: i } = e, { data: f } = e, { bounding: u } = e, { getRuleDistanceText: m } = e;
101
- const r = i === "top" || i === "bottom", _ = u.max.x - u.min.x - (k - b) * 2, g = u.max.y - u.min.y - (k - b) * 2, p = f.map(([l, o]) => r ? [l.x, o.x] : [l.y, o.y]).flat().sort().filter((l, o, t) => o === 0 ? !0 : l !== t[o - 1]), a = p.map((l) => {
102
- const o = r ? (l - u.min.x - k + b) / _ : 0, t = r ? 0 : (l - u.min.y - k + b) / g;
99
+ function J(r, e, n) {
100
+ let { type: i } = e, { data: p } = e, { bounding: u } = e, { getRuleDistanceText: m } = e;
101
+ const s = i === "top" || i === "bottom", _ = u.max.x - u.min.x - (k - b) * 2, g = u.max.y - u.min.y - (k - b) * 2, f = p.map(([l, o]) => s ? [l.x, o.x] : [l.y, o.y]).flat().sort().filter((l, o, t) => o === 0 ? !0 : l !== t[o - 1]), a = f.map((l) => {
102
+ const o = s ? (l - u.min.x - k + b) / _ : 0, t = s ? 0 : (l - u.min.y - k + b) / g;
103
103
  return { left: o, bottom: t };
104
104
  });
105
- a.unshift({ left: 0, bottom: 0 }), a.push(r ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
106
- const v = p[p.length - 1] - p[0], w = p.map((l, o, t) => {
107
- const y = o === 0 ? 0 : l - t[o - 1], W = o === 0 ? 0 : (l + t[o - 1]) / 2, L = r ? (W - u.min.x - k + b) / _ : 0, M = r ? 0 : (W - u.min.y - k + b) / g;
105
+ a.unshift({ left: 0, bottom: 0 }), a.push(s ? { left: 1, bottom: 0 } : { left: 0, bottom: 1 });
106
+ const v = f[f.length - 1] - f[0], w = f.map((l, o, t) => {
107
+ const y = o === 0 ? 0 : l - t[o - 1], W = o === 0 ? 0 : (l + t[o - 1]) / 2, L = s ? (W - u.min.x - k + b) / _ : 0, M = s ? 0 : (W - u.min.y - k + b) / g;
108
108
  return { left: L, bottom: M, distance: y };
109
109
  }).filter(({ distance: l }) => l / v > 0.1);
110
- return s.$$set = (l) => {
111
- "type" in l && n(0, i = l.type), "data" in l && n(5, f = l.data), "bounding" in l && n(6, u = l.bounding), "getRuleDistanceText" in l && n(1, m = l.getRuleDistanceText);
112
- }, [i, m, r, a, w, f, u];
110
+ return r.$$set = (l) => {
111
+ "type" in l && n(0, i = l.type), "data" in l && n(5, p = l.data), "bounding" in l && n(6, u = l.bounding), "getRuleDistanceText" in l && n(1, m = l.getRuleDistanceText);
112
+ }, [i, m, s, a, w, p, u];
113
113
  }
114
114
  class Q extends N {
115
115
  constructor(e) {
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as I, init as j, safe_not_equal as L, append_styles as z, element as W, attr as H, set_style as _, insert as k, group_outros as O, update_keyed_each as q, outro_and_destroy_block as A, check_outros as C, transition_in as R, transition_out as w, detach as T, assign as K, empty as M, create_component as S, mount_component as B, get_spread_update as E, destroy_component as F } from "svelte/internal";
1
+ import { SvelteComponent as I, init as j, safe_not_equal as L, append_styles as z, element as W, attr as H, set_style as _, insert as k, update_keyed_each as O, check_outros as q, transition_in as R, transition_out as w, detach as T, assign as A, empty as C, create_component as K, mount_component as M, get_spread_update as S, destroy_component as B, group_outros as E, outro_and_destroy_block as F } from "../../../vendor/svelte/internal/index.js";
2
2
  import G from "./RuleItem.js";
3
3
  function J(o) {
4
4
  z(o, "svelte-1mzj9p3", ".floorplan-plugin__rule-labels-wrapper.svelte-1mzj9p3{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);pointer-events:none}");
@@ -19,19 +19,19 @@ function b(o, l) {
19
19
  ];
20
20
  let s = {};
21
21
  for (let e = 0; e < a.length; e += 1)
22
- s = K(s, a[e]);
22
+ s = A(s, a[e]);
23
23
  return r = new G({ props: s }), {
24
24
  key: o,
25
25
  first: null,
26
26
  c() {
27
- t = M(), S(r.$$.fragment), this.first = t;
27
+ t = C(), K(r.$$.fragment), this.first = t;
28
28
  },
29
29
  m(e, n) {
30
- k(e, t, n), B(r, e, n), i = !0;
30
+ k(e, t, n), M(r, e, n), i = !0;
31
31
  },
32
32
  p(e, n) {
33
33
  l = e;
34
- const u = n & 19 ? E(a, [
34
+ const u = n & 19 ? S(a, [
35
35
  {
36
36
  type: l[13],
37
37
  data: l[14],
@@ -48,7 +48,7 @@ function b(o, l) {
48
48
  w(r.$$.fragment, e), i = !1;
49
49
  },
50
50
  d(e) {
51
- e && T(t), F(r, e);
51
+ e && T(t), B(r, e);
52
52
  }
53
53
  };
54
54
  }
@@ -64,7 +64,7 @@ function N(o) {
64
64
  l = W("div");
65
65
  for (let e = 0; e < t.length; e += 1)
66
66
  t[e].c();
67
- H(l, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), _(l, "width", o[3], !1), _(l, "height", o[2], !1);
67
+ H(l, "class", "floorplan-plugin__rule-labels-wrapper svelte-1mzj9p3"), _(l, "width", o[3]), _(l, "height", o[2]);
68
68
  },
69
69
  m(e, n) {
70
70
  k(e, l, n);
@@ -73,7 +73,7 @@ function N(o) {
73
73
  i = !0;
74
74
  },
75
75
  p(e, [n]) {
76
- n & 19 && (a = e[4], O(), t = q(t, n, s, 1, e, a, r, l, A, b, null, y), C()), n & 8 && _(l, "width", e[3], !1), n & 4 && _(l, "height", e[2], !1);
76
+ n & 19 && (a = e[4], E(), t = O(t, n, s, 1, e, a, r, l, F, b, null, y), q()), n & 8 && _(l, "width", e[3]), n & 4 && _(l, "height", e[2]);
77
77
  },
78
78
  i(e) {
79
79
  if (!i) {
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as p, init as r, safe_not_equal as g, append_styles as c, element as u, HtmlTag as o, space as m, attr as _, insert as d, append as v, noop as i, detach as y } from "svelte/internal";
1
+ import { SvelteComponent as p, init as r, safe_not_equal as g, append_styles as c, element as u, space as m, attr as _, insert as d, append as v, noop as o, detach as y, HtmlTag as i } from "../../vendor/svelte/internal/index.js";
2
2
  function h(n) {
3
3
  c(n, "svelte-ub47ya", ".floorplan-plugin__base-image.svelte-ub47ya{width:100%;height:100%}");
4
4
  }
@@ -6,7 +6,7 @@ function b(n) {
6
6
  let e, f, l, a;
7
7
  return {
8
8
  c() {
9
- e = u("div"), f = new o(!1), l = m(), a = new o(!1), f.a = l, a.a = null, _(e, "class", "floorplan-plugin__base-image svelte-ub47ya");
9
+ e = u("div"), f = new i(!1), l = m(), a = new i(!1), f.a = l, a.a = null, _(e, "class", "floorplan-plugin__base-image svelte-ub47ya");
10
10
  },
11
11
  m(t, s) {
12
12
  d(t, e, s), f.m(n[1], e), v(e, l), a.m(n[0], e);
@@ -14,8 +14,8 @@ function b(n) {
14
14
  p(t, [s]) {
15
15
  s & 1 && a.p(t[0]);
16
16
  },
17
- i,
18
- o: i,
17
+ i: o,
18
+ o,
19
19
  d(t) {
20
20
  t && y(e);
21
21
  }
@@ -1,5 +1,4 @@
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
- import { onMount as S } from "svelte";
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, onMount as S } from "../../../vendor/svelte/internal/index.js";
3
2
  import { CAMERA_IMAGE as b } from "../../Assets/camera.js";
4
3
  import { throttle as E } from "../../../shared-utils/throttle.js";
5
4
  function F(n) {
@@ -9,13 +8,13 @@ function R(n) {
9
8
  let a, t, o;
10
9
  return {
11
10
  c() {
12
- a = p("div"), t = p("div"), o = p("div"), g(o, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), l(o, "background-image", "url(" + (n[0] || b) + ")"), l(o, "transform", n[1], !1), g(t, "class", "plugin-radar__camera-position svelte-1nqrlxd"), l(t, "transform", n[2], !1), g(a, "class", "plugin-radar__camera-wrapper svelte-1nqrlxd");
11
+ a = p("div"), t = p("div"), o = p("div"), g(o, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), l(o, "background-image", "url(" + (n[0] || b) + ")"), l(o, "transform", n[1]), g(t, "class", "plugin-radar__camera-position svelte-1nqrlxd"), l(t, "transform", n[2]), g(a, "class", "plugin-radar__camera-wrapper svelte-1nqrlxd");
13
12
  },
14
13
  m(i, r) {
15
14
  W(i, a, r), x(a, t), x(t, o);
16
15
  },
17
16
  p(i, [r]) {
18
- r & 1 && l(o, "background-image", "url(" + (i[0] || b) + ")"), r & 2 && l(o, "transform", i[1], !1), r & 4 && l(t, "transform", i[2], !1);
17
+ r & 1 && l(o, "background-image", "url(" + (i[0] || b) + ")"), r & 2 && l(o, "transform", i[1]), r & 4 && l(t, "transform", i[2]);
19
18
  },
20
19
  i: I,
21
20
  o: I,
@@ -62,7 +61,7 @@ function G(n, a, t) {
62
61
  d
63
62
  ];
64
63
  }
65
- class J extends w {
64
+ class B extends w {
66
65
  constructor(a) {
67
66
  super(), y(
68
67
  this,
@@ -81,5 +80,5 @@ class J extends w {
81
80
  }
82
81
  }
83
82
  export {
84
- J as default
83
+ B as default
85
84
  };
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as E, init as O, safe_not_equal as C, assign as D, create_component as c, space as j, empty as H, mount_component as p, insert as h, get_spread_update as k, transition_in as g, group_outros as R, transition_out as _, check_outros as w, destroy_component as d, detach as b } from "svelte/internal";
1
+ import { SvelteComponent as E, init as O, safe_not_equal as C, assign as D, create_component as c, space as j, empty as H, mount_component as p, insert as h, get_spread_update as k, transition_in as g, transition_out as _, check_outros as R, destroy_component as d, detach as b, group_outros as w } from "../../../../vendor/svelte/internal/index.js";
2
2
  import F from "./ExtraObjects.js";
3
3
  import q from "../../../Components/BaseImage.js";
4
4
  import B from "../../../Components/RoomHighlight/RoomHighlight.js";
@@ -83,9 +83,9 @@ function N(f) {
83
83
  ]) : {};
84
84
  n.$set(v);
85
85
  const I = {};
86
- o & 32 && (I.extraObjects = e[5]), i.$set(I), e[3] ? r ? (r.p(e, o), o & 8 && g(r, 1)) : (r = x(e), r.c(), g(r, 1), r.m(t.parentNode, t)) : r && (R(), _(r, 1, 1, () => {
86
+ o & 32 && (I.extraObjects = e[5]), i.$set(I), e[3] ? r ? (r.p(e, o), o & 8 && g(r, 1)) : (r = x(e), r.c(), g(r, 1), r.m(t.parentNode, t)) : r && (w(), _(r, 1, 1, () => {
87
87
  r = null;
88
- }), w());
88
+ }), R());
89
89
  },
90
90
  i(e) {
91
91
  a || (g(n.$$.fragment, e), g(i.$$.fragment, e), g(r), a = !0);