@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,49 +1,49 @@
1
- import { SvelteComponent as L, init as k, safe_not_equal as z, append_styles as P, element as m, attr as c, set_style as o, insert as U, append as A, noop as d, detach as C } from "svelte/internal";
1
+ import { SvelteComponent as L, init as k, safe_not_equal as z, append_styles as P, element as c, attr as d, set_style as a, insert as U, append as A, noop as f, detach as C } from "../../vendor/svelte/internal/index.js";
2
2
  import { CAMERA_IMAGE as g } from "../Assets/camera.js";
3
3
  import { rad2Deg as R } from "../../shared-utils/math/rad2Deg.js";
4
- function S(a) {
5
- P(a, "svelte-17cl35n", ".floorplan__camera-position.svelte-17cl35n{position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17cl35n{position:absolute;background-repeat:no-repeat;background-size:100%}");
4
+ function S(t) {
5
+ P(t, "svelte-17cl35n", ".floorplan__camera-position.svelte-17cl35n{position:absolute;width:0;height:0}.floorplan__camera-rotate.svelte-17cl35n{position:absolute;background-repeat:no-repeat;background-size:100%}");
6
6
  }
7
- function w(a) {
8
- let t, e;
7
+ function w(t) {
8
+ let o, e;
9
9
  return {
10
10
  c() {
11
- t = m("div"), e = m("div"), c(e, "class", "floorplan__camera-rotate svelte-17cl35n"), o(e, "background-image", `url(${a[0] || g})`), o(e, "width", a[4], !1), o(e, "height", a[4], !1), o(e, "left", "-" + a[4], !1), o(e, "top", "-" + a[4], !1), o(e, "transform", `rotate(${a[3]}deg)`, !1), o(e, "transform-origin", `${a[4]} ${a[4]}`, !1), c(t, "class", "floorplan__camera-position svelte-17cl35n"), o(t, "left", a[1], !1), o(t, "top", a[2], !1);
11
+ o = c("div"), e = c("div"), d(e, "class", "floorplan__camera-rotate svelte-17cl35n"), a(e, "background-image", `url(${t[0] || g})`), a(e, "width", t[4]), a(e, "height", t[4]), a(e, "left", "-" + t[4]), a(e, "top", "-" + t[4]), a(e, "transform", `rotate(${t[3]}deg)`), a(e, "transform-origin", `${t[4]} ${t[4]}`), d(o, "class", "floorplan__camera-position svelte-17cl35n"), a(o, "left", t[1]), a(o, "top", t[2]);
12
12
  },
13
- m(n, i) {
14
- U(n, t, i), A(t, e);
13
+ m(n, l) {
14
+ U(n, o, l), A(o, e);
15
15
  },
16
- p(n, [i]) {
17
- i & 1 && o(e, "background-image", `url(${n[0] || g})`);
16
+ p(n, [l]) {
17
+ l & 1 && a(e, "background-image", `url(${n[0] || g})`);
18
18
  },
19
- i: d,
20
- o: d,
19
+ i: f,
20
+ o: f,
21
21
  d(n) {
22
- n && C(t);
22
+ n && C(o);
23
23
  }
24
24
  };
25
25
  }
26
- function E(a, t, e) {
27
- let { panoIndex: n } = t, { floorplanData: i } = t, { lastPanoramaLongitude: s } = t, { cameraImageUrl: r } = t;
28
- const { observers: u } = i, f = u[n], p = f.positionInImage.x, _ = f.positionInImage.y, I = p * 100 + "%", b = _ * 100 + "%", h = -R(s) + 45, v = document.body.clientWidth, y = document.body.clientHeight, D = `${(v < 500 || y < 500 ? 17 : 37) / 16}rem`;
29
- return a.$$set = (l) => {
30
- "panoIndex" in l && e(5, n = l.panoIndex), "floorplanData" in l && e(6, i = l.floorplanData), "lastPanoramaLongitude" in l && e(7, s = l.lastPanoramaLongitude), "cameraImageUrl" in l && e(0, r = l.cameraImageUrl);
26
+ function E(t, o, e) {
27
+ let { panoIndex: n } = o, { floorplanData: l } = o, { lastPanoramaLongitude: r } = o, { cameraImageUrl: s } = o;
28
+ const { observers: u } = l, m = u[n], p = m.positionInImage.x, _ = m.positionInImage.y, I = p * 100 + "%", b = _ * 100 + "%", h = -R(r) + 45, v = document.body.clientWidth, y = document.body.clientHeight, D = `${(v < 500 || y < 500 ? 17 : 37) / 16}rem`;
29
+ return t.$$set = (i) => {
30
+ "panoIndex" in i && e(5, n = i.panoIndex), "floorplanData" in i && e(6, l = i.floorplanData), "lastPanoramaLongitude" in i && e(7, r = i.lastPanoramaLongitude), "cameraImageUrl" in i && e(0, s = i.cameraImageUrl);
31
31
  }, [
32
- r,
32
+ s,
33
33
  I,
34
34
  b,
35
35
  h,
36
36
  D,
37
37
  n,
38
- i,
39
- s
38
+ l,
39
+ r
40
40
  ];
41
41
  }
42
42
  class G extends L {
43
- constructor(t) {
43
+ constructor(o) {
44
44
  super(), k(
45
45
  this,
46
- t,
46
+ o,
47
47
  E,
48
48
  w,
49
49
  z,
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as k, init as b, safe_not_equal as v, append_styles as D, empty as y, insert as d, noop as u, detach as g, element as f, space as w, text as S, attr as c, set_style as _, append as p, set_data as C } from "svelte/internal";
1
+ import { SvelteComponent as k, init as b, safe_not_equal as v, append_styles as D, empty as y, insert as d, noop as u, detach as g, element as c, space as w, text as S, attr as f, set_style as _, append as p, set_data as C } from "../../vendor/svelte/internal/index.js";
2
2
  import { COMPASS_IMAGE as x } from "../Assets/compass.js";
3
3
  function M(a) {
4
4
  D(a, "svelte-rpkaro", ".floorplan-plugin__compass.svelte-rpkaro{position:absolute;left:50%;top:-2.875rem;width:14.4375rem;height:2.5625rem;will-change:opacity;transform-origin:center 11.5rem}.floorplan-plugin__compass-image.svelte-rpkaro{width:100%;height:100%;position:absolute;left:0;top:0;opacity:0.1;background-repeat:no-repeat;background-size:100% 100%}.floorplan-plugin__compass-text.svelte-rpkaro{position:absolute;left:50%;top:0.9375rem;transform:translateX(-50%);opacity:0.2;font-weight:bold;font-size:0.625rem;color:#fff}");
@@ -7,7 +7,7 @@ function z(a) {
7
7
  let t, e, o, n, r;
8
8
  return {
9
9
  c() {
10
- t = f("div"), e = f("div"), o = w(), n = f("span"), r = S(a[0]), c(e, "class", "floorplan-plugin__compass-image svelte-rpkaro"), _(e, "background-image", `url(${x})`), c(n, "class", "floorplan-plugin__compass-text svelte-rpkaro"), c(t, "class", "floorplan-plugin__compass svelte-rpkaro"), _(t, "transform", a[2], !1);
10
+ t = c("div"), e = c("div"), o = w(), n = c("span"), r = S(a[0]), f(e, "class", "floorplan-plugin__compass-image svelte-rpkaro"), _(e, "background-image", `url(${x})`), f(n, "class", "floorplan-plugin__compass-text svelte-rpkaro"), f(t, "class", "floorplan-plugin__compass svelte-rpkaro"), _(t, "transform", a[2]);
11
11
  },
12
12
  m(s, l) {
13
13
  d(s, t, l), p(t, e), p(t, o), p(t, n), p(n, r);
@@ -1,5 +1,5 @@
1
- import { SvelteComponent as S, init as j, safe_not_equal as G, append_styles as J, assign as v, element as K, create_component as L, space as z, attr as C, null_to_empty as V, insert as N, mount_component as D, append as k, get_spread_update as I, transition_in as b, group_outros as w, transition_out as p, check_outros as A, detach as O, destroy_component as T } from "svelte/internal";
2
- import { writable as P } from "svelte/store";
1
+ import { SvelteComponent as S, init as j, safe_not_equal as G, append_styles as J, assign as v, element as K, create_component as L, space as z, attr as C, null_to_empty as V, insert as N, mount_component as D, append as k, get_spread_update as I, transition_in as b, transition_out as p, check_outros as w, detach as O, destroy_component as T, group_outros as A } from "../../vendor/svelte/internal/index.js";
2
+ import { writable as P } from "../../vendor/svelte/store/index.js";
3
3
  import Q from "./BaseImage.js";
4
4
  import U from "./RoomLabels/RoomLabels.js";
5
5
  import W from "./RuleLabels/RuleLabels.js";
@@ -8,7 +8,6 @@ import Y from "./RoomHighlight/RoomHighlight.js";
8
8
  import "./Normalmage.js";
9
9
  import "./SvgImage.js";
10
10
  import "./RoomLabels/RoomLabel.js";
11
- import "svelte";
12
11
  import "./RuleLabels/RuleItem.js";
13
12
  import "../utils/formatPosition.js";
14
13
  import "./RoomMaterials/RoomMaterial_0.js";
@@ -182,20 +181,20 @@ function y(n) {
182
181
  floorplanData: t[5]
183
182
  }
184
183
  ]) : {};
185
- o.$set(H), t[2] ? a ? (a.p(t, _), _ & 4 && b(a, 1)) : (a = q(t), a.c(), b(a, 1), a.m(l, i)) : a && (w(), p(a, 1, 1, () => {
184
+ o.$set(H), t[2] ? a ? (a.p(t, _), _ & 4 && b(a, 1)) : (a = q(t), a.c(), b(a, 1), a.m(l, i)) : a && (A(), p(a, 1, 1, () => {
186
185
  a = null;
187
- }), A());
186
+ }), w());
188
187
  const M = _ & 34 ? I(E, [
189
188
  {
190
189
  floorplanData: t[5],
191
190
  floorIndex: t[1]
192
191
  }
193
192
  ]) : {};
194
- e.$set(M), t[3] ? f ? (f.p(t, _), _ & 8 && b(f, 1)) : (f = B(t), f.c(), b(f, 1), f.m(l, g)) : f && (w(), p(f, 1, 1, () => {
193
+ e.$set(M), t[3] ? f ? (f.p(t, _), _ & 8 && b(f, 1)) : (f = B(t), f.c(), b(f, 1), f.m(l, g)) : f && (A(), p(f, 1, 1, () => {
195
194
  f = null;
196
- }), A()), t[4] ? m ? (m.p(t, _), _ & 16 && b(m, 1)) : (m = F(t), m.c(), b(m, 1), m.m(l, null)) : m && (w(), p(m, 1, 1, () => {
195
+ }), w()), t[4] ? m ? (m.p(t, _), _ & 16 && b(m, 1)) : (m = F(t), m.c(), b(m, 1), m.m(l, null)) : m && (A(), p(m, 1, 1, () => {
197
196
  m = null;
198
- }), A()), (!h || _ & 1 && d !== (d = V(`floorplan-plugin__floor${t[0] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && C(l, "class", d);
197
+ }), w()), (!h || _ & 1 && d !== (d = V(`floorplan-plugin__floor${t[0] ? " floorplan-plugin__floor--is-current" : ""}`) + " svelte-bl8zrz")) && C(l, "class", d);
199
198
  },
200
199
  i(t) {
201
200
  h || (b(o.$$.fragment, t), b(a), b(e.$$.fragment, t), b(f), b(m), h = !0);
@@ -227,7 +226,7 @@ function x(n, l, o) {
227
226
  E
228
227
  ];
229
228
  }
230
- class he extends S {
229
+ class pe extends S {
231
230
  constructor(l) {
232
231
  super(), j(
233
232
  this,
@@ -252,5 +251,5 @@ class he extends S {
252
251
  }
253
252
  }
254
253
  export {
255
- he as default
254
+ pe as default
256
255
  };
@@ -1,19 +1,18 @@
1
- import { SvelteComponent as S, init as j, safe_not_equal as p, append_styles as z, empty as G, insert as B, transition_in as g, group_outros as I, transition_out as _, check_outros as R, detach as F, assign as M, element as H, space as C, create_component as v, attr as J, append as P, mount_component as T, get_spread_update as N, add_render_callback as K, create_in_transition as O, destroy_each as Q, destroy_component as k } from "svelte/internal";
2
- import { linear as W } from "svelte/easing";
3
- import { fade as X } from "svelte/transition";
4
- import Y from "./Camera.js";
5
- import Z from "./Compass.js";
1
+ import { SvelteComponent as S, init as j, safe_not_equal as z, append_styles as G, empty as H, insert as B, transition_in as g, transition_out as _, check_outros as I, detach as F, assign as M, element as J, space as C, create_component as v, attr as K, append as P, mount_component as T, group_outros as R, get_spread_update as N, add_render_callback as O, create_in_transition as Q, identity as W, destroy_each as X, destroy_component as k } from "../../vendor/svelte/internal/index.js";
2
+ import { fade as Y } from "../../vendor/svelte/transition/index.js";
3
+ import Z from "./Camera.js";
4
+ import p from "./Compass.js";
6
5
  import y from "./CurrentFloor.js";
6
+ import "../../vendor/svelte/easing/index.js";
7
7
  import "../Assets/camera.js";
8
8
  import "../../shared-utils/math/rad2Deg.js";
9
9
  import "../Assets/compass.js";
10
- import "svelte/store";
10
+ import "../../vendor/svelte/store/index.js";
11
11
  import "./BaseImage.js";
12
12
  import "./Normalmage.js";
13
13
  import "./SvgImage.js";
14
14
  import "./RoomLabels/RoomLabels.js";
15
15
  import "./RoomLabels/RoomLabel.js";
16
- import "svelte";
17
16
  import "./RuleLabels/RuleLabels.js";
18
17
  import "./RuleLabels/RuleItem.js";
19
18
  import "./RoomMaterials/RoomMaterial.js";
@@ -24,7 +23,7 @@ import "./RoomMaterials/RoomMaterial_2.js";
24
23
  import "./RoomHighlight/RoomHighlight.js";
25
24
  import "./RoomHighlight/Room.js";
26
25
  function x(a) {
27
- z(a, "svelte-86bqav", ".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}");
26
+ G(a, "svelte-86bqav", ".floorplan-main.svelte-86bqav{width:100%;height:100%;pointer-events:none}");
28
27
  }
29
28
  function U(a, e, t) {
30
29
  const l = a.slice();
@@ -47,14 +46,14 @@ function V(a) {
47
46
  let E = {};
48
47
  for (let r = 0; r < h.length; r += 1)
49
48
  E = M(E, h[r]);
50
- l = new Y({ props: E });
49
+ l = new Z({ props: E });
51
50
  let m = a[6] && w(a);
52
51
  return {
53
52
  c() {
54
- e = H("div");
53
+ e = J("div");
55
54
  for (let r = 0; r < f.length; r += 1)
56
55
  f[r].c();
57
- t = C(), v(l.$$.fragment), i = C(), m && m.c(), J(e, "class", "floorplan-main svelte-86bqav");
56
+ t = C(), v(l.$$.fragment), i = C(), m && m.c(), K(e, "class", "floorplan-main svelte-86bqav");
58
57
  },
59
58
  m(r, s) {
60
59
  B(r, e, s);
@@ -70,9 +69,9 @@ function V(a) {
70
69
  const L = U(a, c, u);
71
70
  f[u] ? (f[u].p(L, s), g(f[u], 1)) : (f[u] = q(L), f[u].c(), g(f[u], 1), f[u].m(e, t));
72
71
  }
73
- for (I(), u = c.length; u < f.length; u += 1)
72
+ for (R(), u = c.length; u < f.length; u += 1)
74
73
  D(u);
75
- R();
74
+ I();
76
75
  }
77
76
  const d = s & 3592 ? N(h, [
78
77
  {
@@ -82,16 +81,16 @@ function V(a) {
82
81
  cameraImageUrl: a[11]
83
82
  }
84
83
  ]) : {};
85
- l.$set(d), a[6] ? m ? (m.p(a, s), s & 64 && g(m, 1)) : (m = w(a), m.c(), g(m, 1), m.m(e, null)) : m && (I(), _(m, 1, 1, () => {
84
+ l.$set(d), a[6] ? m ? (m.p(a, s), s & 64 && g(m, 1)) : (m = w(a), m.c(), g(m, 1), m.m(e, null)) : m && (R(), _(m, 1, 1, () => {
86
85
  m = null;
87
- }), R());
86
+ }), I());
88
87
  },
89
88
  i(r) {
90
89
  if (!b) {
91
90
  for (let s = 0; s < c.length; s += 1)
92
91
  g(f[s]);
93
- g(l.$$.fragment, r), g(m), n || K(() => {
94
- n = O(e, X, {
92
+ g(l.$$.fragment, r), g(m), n || O(() => {
93
+ n = Q(e, Y, {
95
94
  duration: a[0],
96
95
  easing: W
97
96
  }), n.start();
@@ -105,7 +104,7 @@ function V(a) {
105
104
  _(l.$$.fragment, r), _(m), b = !1;
106
105
  },
107
106
  d(r) {
108
- r && F(e), Q(f, r), k(l), m && m.d();
107
+ r && F(e), X(f, r), k(l), m && m.d();
109
108
  }
110
109
  };
111
110
  }
@@ -173,7 +172,7 @@ function q(a) {
173
172
  }
174
173
  function w(a) {
175
174
  let e, t;
176
- return e = new Z({
175
+ return e = new p({
177
176
  props: {
178
177
  floorplanData: a[9],
179
178
  northDesc: a[2]
@@ -204,15 +203,15 @@ function $(a) {
204
203
  let e, t, l = a[1] && V(a);
205
204
  return {
206
205
  c() {
207
- l && l.c(), e = G();
206
+ l && l.c(), e = H();
208
207
  },
209
208
  m(i, n) {
210
209
  l && l.m(i, n), B(i, e, n), t = !0;
211
210
  },
212
211
  p(i, [n]) {
213
- i[1] ? l ? (l.p(i, n), n & 2 && g(l, 1)) : (l = V(i), l.c(), g(l, 1), l.m(e.parentNode, e)) : l && (I(), _(l, 1, 1, () => {
212
+ i[1] ? l ? (l.p(i, n), n & 2 && g(l, 1)) : (l = V(i), l.c(), g(l, 1), l.m(e.parentNode, e)) : l && (R(), _(l, 1, 1, () => {
214
213
  l = null;
215
- }), R());
214
+ }), I());
216
215
  },
217
216
  i(i) {
218
217
  t || (g(l), t = !0);
@@ -248,14 +247,14 @@ function ee(a, e, t) {
248
247
  A
249
248
  ];
250
249
  }
251
- class Ae extends S {
250
+ class ke extends S {
252
251
  constructor(e) {
253
252
  super(), j(
254
253
  this,
255
254
  e,
256
255
  ee,
257
256
  $,
258
- p,
257
+ z,
259
258
  {
260
259
  duration: 0,
261
260
  visible: 1,
@@ -279,5 +278,5 @@ class Ae extends S {
279
278
  }
280
279
  }
281
280
  export {
282
- Ae as default
281
+ ke as default
283
282
  };
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as o, init as c, safe_not_equal as u, append_styles as f, element as m, src_url_equal as l, attr as s, insert as g, noop as a, detach as _ } from "svelte/internal";
1
+ import { SvelteComponent as o, init as c, safe_not_equal as u, append_styles as f, element as m, src_url_equal as l, attr as s, insert as g, noop as a, detach as _ } from "../../vendor/svelte/internal/index.js";
2
2
  function d(n) {
3
3
  f(n, "svelte-1gfoniz", "img.svelte-1gfoniz{width:100%;height:100%}");
4
4
  }
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as d, init as h, safe_not_equal as p, append_styles as _, svg_element as D, attr as r, insert as R, listen as i, noop as f, detach as g, run_all as y } from "svelte/internal";
1
+ import { SvelteComponent as d, init as h, safe_not_equal as p, append_styles as _, svg_element as D, attr as r, insert as R, listen as i, noop as f, detach as g, run_all as y } from "../../../vendor/svelte/internal/index.js";
2
2
  import { pathD as M, formatFloorplanPoint as b } from "../../utils/formatPosition.js";
3
3
  function q(t) {
4
4
  _(t, "svelte-19uvvss", "path.svelte-19uvvss{opacity:0}path.svelte-19uvvss:hover{opacity:0.1}");
@@ -1,4 +1,4 @@
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, 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 "svelte/internal";
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
2
  import z from "./Room.js";
3
3
  import "../../utils/formatPosition.js";
4
4
  function A(i) {
@@ -19,19 +19,19 @@ function d(i, t) {
19
19
  ];
20
20
  let f = {};
21
21
  for (let l = 0; l < s.length; l += 1)
22
- f = B(f, s[l]);
22
+ f = x(f, s[l]);
23
23
  return o = new z({ props: f }), {
24
24
  key: i,
25
25
  first: null,
26
26
  c() {
27
- r = C(), M(o.$$.fragment), this.first = r;
27
+ r = H(), B(o.$$.fragment), this.first = r;
28
28
  },
29
29
  m(l, e) {
30
- _(l, r, e), S(o, l, e), a = !0;
30
+ _(l, r, e), C(o, l, e), a = !0;
31
31
  },
32
32
  p(l, e) {
33
33
  t = l;
34
- const n = e & 7 ? W(s, [
34
+ const n = e & 7 ? M(s, [
35
35
  {
36
36
  room: t[5],
37
37
  floorplanData: t[1],
@@ -47,7 +47,7 @@ function d(i, t) {
47
47
  c(o.$$.fragment, l), a = !1;
48
48
  },
49
49
  d(l) {
50
- l && p(r), j(o, l);
50
+ l && p(r), S(o, l);
51
51
  }
52
52
  };
53
53
  }
@@ -72,7 +72,7 @@ function E(i) {
72
72
  s = !0;
73
73
  },
74
74
  p(e, [n]) {
75
- n & 7 && (f = e[1].floorDatas[e[0]].rooms, q(), o = I(o, n, l, 1, e, f, a, r, x, d, null, m), H());
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());
76
76
  },
77
77
  i(e) {
78
78
  if (!s) {
@@ -1,5 +1,4 @@
1
- import { SvelteComponent as O, init as Q, safe_not_equal as Z, append_styles as $, element as k, attr as C, set_style as _, insert as p, noop as E, detach as g, binding_callbacks as ee, HtmlTag as te, empty as oe, text as V, space as ne, append as A, set_data as j } from "svelte/internal";
2
- import { onMount as ie } from "svelte";
1
+ import { SvelteComponent as O, init as Q, safe_not_equal as Z, append_styles as $, element as k, attr as C, set_style as _, insert as p, noop as E, detach as g, onMount as ee, binding_callbacks as te, HtmlTag as oe, empty as ne, text as V, space as ie, append as A, set_data as j } from "../../../vendor/svelte/internal/index.js";
3
2
  function le(i) {
4
3
  $(i, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-size.svelte-12pzct5{opacity:0.45}");
5
4
  }
@@ -7,7 +6,7 @@ function se(i) {
7
6
  let e, n = i[4].outerHTML + "", l;
8
7
  return {
9
8
  c() {
10
- e = new te(!1), l = oe(), e.a = l;
9
+ e = new oe(!1), l = ne(), e.a = l;
11
10
  },
12
11
  m(t, o) {
13
12
  e.m(n, t, o), p(t, l, o);
@@ -20,41 +19,41 @@ function se(i) {
20
19
  }
21
20
  };
22
21
  }
23
- function fe(i) {
24
- 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;
25
24
  return {
26
25
  c() {
27
- e = k("span"), l = V(n), t = ne(), 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");
28
27
  },
29
- m(a, f) {
30
- 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);
31
30
  },
32
- p(a, f) {
33
- 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]);
34
33
  },
35
- d(a) {
36
- a && g(e), a && g(t), a && g(o);
34
+ d(f) {
35
+ f && g(e), f && g(t), f && g(o);
37
36
  }
38
37
  };
39
38
  }
40
- function ae(i) {
39
+ function fe(i) {
41
40
  let e;
42
- function n(o, c) {
41
+ function n(o, a) {
43
42
  if (o[1] === void 0)
44
- return fe;
43
+ return ce;
45
44
  if (o[4])
46
45
  return se;
47
46
  }
48
47
  let l = n(i), t = l && l(i);
49
48
  return {
50
49
  c() {
51
- 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");
52
51
  },
53
- m(o, c) {
54
- 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);
55
54
  },
56
- p(o, [c]) {
57
- 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");
58
57
  },
59
58
  i: E,
60
59
  o: E,
@@ -63,17 +62,17 @@ function ae(i) {
63
62
  }
64
63
  };
65
64
  }
66
- function ce(i, e) {
65
+ function ae(i, e) {
67
66
  const n = i[0], l = i[1];
68
67
  let t = !1;
69
- for (let o = 0, c = e.length - 1; o < e.length; c = o++) {
70
- const a = e[o][0], f = e[o][1], h = e[c][0], r = e[c][1];
71
- 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);
72
71
  }
73
72
  return t;
74
73
  }
75
74
  function re(i, e, n) {
76
- 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;
77
76
  function M(s, b) {
78
77
  if (b.width === 0 || b.height === 0)
79
78
  return () => !1;
@@ -85,14 +84,14 @@ function re(i, e, n) {
85
84
  [z - R, w - L],
86
85
  [z - R, w + L],
87
86
  [z + R, w + L]
88
- ].every((T) => ce(T, K));
87
+ ].every((T) => ae(T, K));
89
88
  };
90
89
  }
91
- 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";
92
91
  let H = !1, u, y;
93
92
  h.subscribe(function(b) {
94
- n(13, H = !!b && b.id === f.id);
95
- }), ie(() => {
93
+ n(13, H = !!b && b.id === c.id);
94
+ }), ee(() => {
96
95
  const s = u == null ? void 0 : u.getClientRects()[0];
97
96
  n(14, y = {
98
97
  width: s.width,
@@ -100,25 +99,25 @@ function re(i, e, n) {
100
99
  });
101
100
  });
102
101
  function U(s) {
103
- ee[s ? "unshift" : "push"](() => {
102
+ te[s ? "unshift" : "push"](() => {
104
103
  u = s, n(2, u);
105
104
  });
106
105
  }
107
106
  return i.$$set = (s) => {
108
- "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);
109
108
  }, i.$$.update = () => {
110
- 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);
111
110
  }, [
112
- f,
111
+ c,
113
112
  m,
114
113
  u,
115
- c,
114
+ a,
116
115
  o,
117
116
  l,
118
117
  D,
119
118
  S,
120
119
  q,
121
- a,
120
+ f,
122
121
  h,
123
122
  r,
124
123
  v,
@@ -128,13 +127,13 @@ function re(i, e, n) {
128
127
  U
129
128
  ];
130
129
  }
131
- class de extends O {
130
+ class be extends O {
132
131
  constructor(e) {
133
132
  super(), Q(
134
133
  this,
135
134
  e,
136
135
  re,
137
- ae,
136
+ fe,
138
137
  Z,
139
138
  {
140
139
  pxmm: 9,
@@ -149,5 +148,5 @@ class de extends O {
149
148
  }
150
149
  }
151
150
  export {
152
- de as default
151
+ be as default
153
152
  };