@realsee/dnalogel 2.2.5 → 2.2.7

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