@realsee/dnalogel 2.22.0 → 2.23.1-dev.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 (455) hide show
  1. package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
  2. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
  3. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  4. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  5. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  6. package/dist/index.cjs.js +62 -66
  7. package/dist/index.js +5869 -5598
  8. package/dist/index.umd.js +55 -59
  9. package/docs/classes/CSS3DRender.html +30 -30
  10. package/docs/classes/CruisePluginController.html +25 -25
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  13. package/docs/classes/Magnifier.html +19 -19
  14. package/docs/classes/ModelRoomLabelController.html +10 -10
  15. package/docs/classes/Object3DHelperController.html +24 -24
  16. package/docs/classes/PaintBrush.html +14 -14
  17. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  18. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  19. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  20. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  21. package/docs/classes/PanoTagPluginController.html +48 -48
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.Interval.html +11 -11
  24. package/docs/classes/Util.Magnifier.html +19 -19
  25. package/docs/classes/Util.PointDomHelper.html +10 -10
  26. package/docs/classes/Util.PointHelper.html +10 -10
  27. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  28. package/docs/classes/Util.Rectangle.html +12 -12
  29. package/docs/enums/CameraMovementEffect.html +6 -6
  30. package/docs/enums/ContentType.html +19 -19
  31. package/docs/enums/DIRECTION.html +8 -8
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  33. package/docs/enums/DimensionType.html +6 -6
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  37. package/docs/enums/PointType.html +6 -6
  38. package/docs/enums/Rotation.html +7 -7
  39. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  40. package/docs/functions/CameraMovementPlugin.html +3 -3
  41. package/docs/functions/CruisePlugin.html +3 -3
  42. package/docs/functions/GuideLinePlugin.html +4 -4
  43. package/docs/functions/ItemLabelPlugin.html +3 -3
  44. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  45. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  46. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  47. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  48. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  49. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  50. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  51. package/docs/functions/ModelViewPlugin.html +3 -3
  52. package/docs/functions/Object3DHelperPlugin.html +3 -3
  53. package/docs/functions/PanoCompassPlugin.html +3 -3
  54. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  55. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  56. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  57. package/docs/functions/PanoMeasurePlugin.html +3 -3
  58. package/docs/functions/PanoRulerPlugin.html +3 -3
  59. package/docs/functions/PanoRulerProPlugin.html +3 -3
  60. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  61. package/docs/functions/PanoTagPlugin.html +3 -3
  62. package/docs/functions/PanoVideoPlugin.html +3 -3
  63. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  64. package/docs/functions/Util.absoluteUrl.html +4 -4
  65. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  66. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  67. package/docs/functions/Util.getFrameTime.html +4 -4
  68. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  69. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  70. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  71. package/docs/functions/Util.isModelLike.html +4 -4
  72. package/docs/functions/Util.isNil.html +4 -4
  73. package/docs/functions/Util.isPanoramaLike.html +4 -4
  74. package/docs/functions/Util.nextFrame.html +4 -4
  75. package/docs/functions/Util.notNil.html +4 -4
  76. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  77. package/docs/functions/Util.tweenProgress.html +4 -4
  78. package/docs/functions/Util.uuid.html +4 -4
  79. package/docs/functions/pluginFlag.html +4 -4
  80. package/docs/index.html +4 -4
  81. package/docs/interfaces/AddTagConfig.html +5 -5
  82. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  83. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  84. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  85. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  86. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  87. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  88. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  89. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  90. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  91. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  92. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  93. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  94. package/docs/interfaces/EventMap.html +14 -14
  95. package/docs/interfaces/FloorplanBounding.html +7 -7
  96. package/docs/interfaces/FloorplanData.html +9 -9
  97. package/docs/interfaces/FloorplanEntrance.html +10 -10
  98. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  99. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  100. package/docs/interfaces/FloorplanFloorData.html +8 -8
  101. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  102. package/docs/interfaces/FloorplanObserver.html +8 -8
  103. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  104. package/docs/interfaces/FloorplanPosition.html +6 -6
  105. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  106. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  107. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  108. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  109. package/docs/interfaces/FloorplanServerData.html +6 -6
  110. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  111. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  112. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  113. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  114. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  115. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  116. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  117. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  118. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  119. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  120. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -8
  121. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  122. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  123. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  124. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  125. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  126. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  127. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  128. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  129. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  130. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  131. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  132. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  133. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  134. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  135. package/docs/interfaces/HelperOffset.html +7 -7
  136. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  137. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  138. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  139. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  140. package/docs/interfaces/MinMax.html +6 -6
  141. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  142. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  143. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  144. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  145. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  146. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  147. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  148. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  149. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  150. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  151. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  152. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  153. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  154. package/docs/interfaces/Object3DHelperState.html +7 -7
  155. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  156. package/docs/interfaces/PaintBrushAction.html +11 -11
  157. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  158. package/docs/interfaces/PaintBrushState.html +9 -9
  159. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  160. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  161. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  162. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  163. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  164. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  165. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  166. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  167. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  168. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  169. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  170. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  171. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  172. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  173. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  174. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  175. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  176. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  177. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  178. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  179. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  180. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  181. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  182. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  184. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  185. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  186. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  187. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  188. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  189. package/docs/interfaces/Point.html +7 -7
  190. package/docs/interfaces/Room.html +8 -8
  191. package/docs/interfaces/RoomInfo.html +6 -6
  192. package/docs/interfaces/RoomLabel.html +13 -13
  193. package/docs/interfaces/RoomRules.html +4 -4
  194. package/docs/interfaces/Rooms.html +4 -4
  195. package/docs/interfaces/Scissor.html +8 -8
  196. package/docs/interfaces/State.html +7 -7
  197. package/docs/interfaces/TagCacheInterface.html +11 -11
  198. package/docs/interfaces/TagConfig.html +12 -12
  199. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  200. package/docs/interfaces/TagIconUrl.html +11 -11
  201. package/docs/interfaces/TagObjectGroup.html +5 -5
  202. package/docs/interfaces/TagStyle.html +5 -5
  203. package/docs/interfaces/Tags.html +8 -8
  204. package/docs/interfaces/TemporaryState.html +5 -5
  205. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  206. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  207. package/docs/interfaces/Util.PointIntersection.html +7 -7
  208. package/docs/modules/CruisePluginTypes.html +4 -4
  209. package/docs/modules/GuideLineItem.html +4 -4
  210. package/docs/modules/GuideLineModeItem.html +4 -4
  211. package/docs/modules/GuideLinePluginType.html +4 -4
  212. package/docs/modules/PanoVideoPluginType.html +4 -4
  213. package/docs/modules/Util.html +4 -4
  214. package/docs/modules.html +4 -4
  215. package/docs/types/ArrayPosition.html +4 -4
  216. package/docs/types/AudioAppearance.html +4 -4
  217. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  218. package/docs/types/CSS3DRenderExportType.html +4 -4
  219. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  220. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  221. package/docs/types/ClassFunctionParameters.html +4 -4
  222. package/docs/types/Color.html +4 -4
  223. package/docs/types/ContentTypeConfigKey.html +4 -4
  224. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  225. package/docs/types/ContentTypeMap.html +4 -4
  226. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  227. package/docs/types/Create3DElementReturnType.html +4 -4
  228. package/docs/types/CruisePluginExportType.html +4 -4
  229. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  230. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  231. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  232. package/docs/types/DeprecatedTagProperty.html +4 -4
  233. package/docs/types/Direction-1.html +4 -4
  234. package/docs/types/Direction4.html +4 -4
  235. package/docs/types/ElementRenderer.html +4 -4
  236. package/docs/types/FloorplanRuleLabels.html +4 -4
  237. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  238. package/docs/types/GuideLinePluginExportType.html +4 -4
  239. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  241. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  242. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  243. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  244. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  245. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  246. package/docs/types/HelperEventMap.html +4 -4
  247. package/docs/types/LoadTagConfig.html +4 -4
  248. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  249. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  250. package/docs/types/MediaData.html +4 -4
  251. package/docs/types/MediaStore.html +4 -4
  252. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  253. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  254. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  255. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  256. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  257. package/docs/types/MoveArgs.html +4 -4
  258. package/docs/types/MoveOpts.html +4 -4
  259. package/docs/types/Object3DHelperEventMap.html +4 -4
  260. package/docs/types/ObjectFit.html +4 -4
  261. package/docs/types/PaintBrushEventMap.html +4 -4
  262. package/docs/types/PanoCompassPluginData.html +4 -4
  263. package/docs/types/PanoCompassPluginExportType.html +4 -4
  264. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  265. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  266. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  267. package/docs/types/PanoIndex.html +4 -4
  268. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  269. package/docs/types/PanoMeasureReturnType.html +4 -4
  270. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  271. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  272. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  273. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  274. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  275. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  276. package/docs/types/PlaneTag.html +4 -4
  277. package/docs/types/Point2DTag.html +4 -4
  278. package/docs/types/Point3DTag.html +4 -4
  279. package/docs/types/PointTag.html +4 -4
  280. package/docs/types/PointTagInstance.html +4 -4
  281. package/docs/types/Position.html +4 -4
  282. package/docs/types/RotateArgs.html +4 -4
  283. package/docs/types/RotateOpts.html +4 -4
  284. package/docs/types/RuleLabelsKey.html +4 -4
  285. package/docs/types/RuleLabelsValue.html +4 -4
  286. package/docs/types/StickType.html +4 -4
  287. package/docs/types/Tag.html +4 -4
  288. package/docs/types/Tag2D.html +4 -4
  289. package/docs/types/Tag3D.html +4 -4
  290. package/docs/types/TagContentType.html +4 -4
  291. package/docs/types/TagDimensionType.html +4 -4
  292. package/docs/types/TagElement.html +4 -4
  293. package/docs/types/TagEvents.html +4 -4
  294. package/docs/types/TagGLTFObject.html +4 -4
  295. package/docs/types/TagHooks.html +4 -4
  296. package/docs/types/TagId.html +4 -4
  297. package/docs/types/TagInstance.html +4 -4
  298. package/docs/types/TagPointType.html +4 -4
  299. package/docs/types/TagRendererMap.html +4 -4
  300. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  301. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  302. package/docs/types/WorkCode.html +4 -4
  303. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  304. package/docs/variables/PLUGIN.html +4 -4
  305. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  306. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  307. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  308. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  309. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  310. package/libs/CruisePlugin/Controller.js +103 -90
  311. package/libs/CruisePlugin/index.js +22 -9
  312. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  313. package/libs/GuideLinePlugin/Controller.js +38 -25
  314. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  315. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  316. package/libs/GuideLinePlugin/index.js +24 -11
  317. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  318. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  319. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  320. package/libs/ItemLabelPlugin/index.js +16 -5
  321. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  322. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  323. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  324. package/libs/ModelItemLabelPlugin/index.js +16 -5
  325. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  326. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  327. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  328. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  329. package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
  330. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  331. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  332. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  333. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  334. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  335. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  336. package/libs/PanoMeasurePlugin/Components/Controller0.js +168 -112
  337. package/libs/PanoMeasurePlugin/Components/Controller1.js +244 -181
  338. package/libs/PanoMeasurePlugin/Components/Tip.js +83 -72
  339. package/libs/PanoMeasurePlugin/Controller/index.js +87 -71
  340. package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
  341. package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -15
  342. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
  343. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +36 -25
  344. package/libs/PanoMeasurePlugin/index.js +27 -16
  345. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  346. package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
  347. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  348. package/libs/PanoRulerProPlugin/index.js +15 -4
  349. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  350. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  351. package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
  352. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  353. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  354. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  355. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  356. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  357. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
  358. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
  359. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  360. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  361. package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
  362. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  363. package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
  364. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  365. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  366. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
  367. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
  368. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  369. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
  370. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  371. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  372. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  373. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  374. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  375. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
  376. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  377. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
  378. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
  379. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  380. package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
  381. package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
  382. package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
  383. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  384. package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
  385. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
  386. package/libs/PanoTagPlugin/controller/index.js +95 -82
  387. package/libs/PanoTagPlugin/index.js +26 -13
  388. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  389. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  390. package/libs/base/BasePlugin.js +1 -1
  391. package/libs/floorplan/Components/BaseImage.js +43 -39
  392. package/libs/floorplan/Components/Camera.js +16 -13
  393. package/libs/floorplan/Components/Compass.js +27 -24
  394. package/libs/floorplan/Components/CurrentFloor.js +25 -20
  395. package/libs/floorplan/Components/Main.js +58 -49
  396. package/libs/floorplan/Components/Normalmage.js +25 -22
  397. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  398. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  399. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
  400. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
  401. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  402. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  403. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  404. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  405. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  406. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  407. package/libs/floorplan/Components/SvgImage.js +30 -27
  408. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
  409. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  410. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
  411. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  412. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
  413. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
  414. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
  415. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
  416. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
  417. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  418. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
  419. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  420. package/libs/floorplan/index.js +1 -0
  421. package/libs/index.js +126 -112
  422. package/libs/shared-utils/logger.js +1 -1
  423. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  424. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  425. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  426. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  427. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  428. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  429. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  430. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  431. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  432. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  433. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  434. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  435. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  436. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  437. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  438. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  439. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  440. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  441. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  442. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  443. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  444. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  445. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  446. package/libs/vendor/svelte/src/shared/version.js +4 -0
  447. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
  448. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  449. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  450. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  451. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  452. package/package.json +1 -1
  453. package/libs/vendor/svelte/internal/index.js +0 -749
  454. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  455. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,15 +1,21 @@
1
- import { SvelteComponent as p, init as k, safe_not_equal as D, append_styles as b, element as y, svg_element as R, attr as g, insert as d, append as w, group_outros as q, update_keyed_each as I, outro_and_destroy_block as H, check_outros as B, transition_in as _, transition_out as c, detach as v, assign as C, empty as M, create_component as S, mount_component as W, get_spread_update as j, destroy_component as x } from "../../../vendor/svelte/internal/index.js";
2
- import { Room as z } from "./Room.js";
3
- function A(r) {
4
- b(r, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
1
+ import { safe_not_equal as k, assign as D } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as b, element as y, svg_element as R, attr as m, insert as d, append as w, detach as c, empty as q } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { group_outros as I, check_outros as H, transition_in as p, transition_out as v } from "../../../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { ensure_array_like as g, update_keyed_each as B, outro_and_destroy_block as C } from "../../../vendor/svelte/src/runtime/internal/each.js";
5
+ import { get_spread_update as M } from "../../../vendor/svelte/src/runtime/internal/spread.js";
6
+ import { SvelteComponent as S, init as W, create_component as j, mount_component as x, destroy_component as z } from "../../../vendor/svelte/src/runtime/internal/Component.js";
7
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
8
+ import { Room as A } from "./Room.js";
9
+ function E(i) {
10
+ b(i, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
5
11
  }
6
- function u(r, l, n) {
7
- const o = r.slice();
12
+ function _(i, l, n) {
13
+ const o = i.slice();
8
14
  return o[6] = l[n], o;
9
15
  }
10
- function m(r, l) {
16
+ function u(i, l) {
11
17
  let n, o, a;
12
- const s = [
18
+ const f = [
13
19
  {
14
20
  room: (
15
21
  /*room*/
@@ -34,21 +40,21 @@ function m(r, l) {
34
40
  }
35
41
  ];
36
42
  let h = {};
37
- for (let i = 0; i < s.length; i += 1)
38
- h = C(h, s[i]);
39
- return o = new z({ props: h }), {
40
- key: r,
43
+ for (let r = 0; r < f.length; r += 1)
44
+ h = D(h, f[r]);
45
+ return o = new A({ props: h }), {
46
+ key: i,
41
47
  first: null,
42
48
  c() {
43
- n = M(), S(o.$$.fragment), this.first = n;
49
+ n = q(), j(o.$$.fragment), this.first = n;
44
50
  },
45
- m(i, t) {
46
- d(i, n, t), W(o, i, t), a = !0;
51
+ m(r, t) {
52
+ d(r, n, t), x(o, r, t), a = !0;
47
53
  },
48
- p(i, t) {
49
- l = i;
54
+ p(r, t) {
55
+ l = r;
50
56
  const e = t & /*floorplanData, floorIndex, hoveredRoom, highlightData*/
51
- 15 ? j(s, [
57
+ 15 ? M(f, [
52
58
  {
53
59
  room: (
54
60
  /*room*/
@@ -74,107 +80,109 @@ function m(r, l) {
74
80
  ]) : {};
75
81
  o.$set(e);
76
82
  },
77
- i(i) {
78
- a || (_(o.$$.fragment, i), a = !0);
83
+ i(r) {
84
+ a || (p(o.$$.fragment, r), a = !0);
79
85
  },
80
- o(i) {
81
- c(o.$$.fragment, i), a = !1;
86
+ o(r) {
87
+ v(o.$$.fragment, r), a = !1;
82
88
  },
83
- d(i) {
84
- i && v(n), x(o, i);
89
+ d(r) {
90
+ r && c(n), z(o, r);
85
91
  }
86
92
  };
87
93
  }
88
- function E(r) {
89
- let l, n, o = [], a = /* @__PURE__ */ new Map(), s, h = (
94
+ function F(i) {
95
+ let l, n, o = [], a = /* @__PURE__ */ new Map(), f, h = g(
90
96
  /*floorplanData*/
91
- r[1].floorDatas[
97
+ i[1].floorDatas[
92
98
  /*floorIndex*/
93
- r[0]
99
+ i[0]
94
100
  ].rooms
95
101
  );
96
- const i = (t) => (
102
+ const r = (t) => (
97
103
  /*room*/
98
104
  t[6].id
99
105
  );
100
106
  for (let t = 0; t < h.length; t += 1) {
101
- let e = u(r, h, t), f = i(e);
102
- a.set(f, o[t] = m(f, e));
107
+ let e = _(i, h, t), s = r(e);
108
+ a.set(s, o[t] = u(s, e));
103
109
  }
104
110
  return {
105
111
  c() {
106
112
  l = y("div"), n = R("svg");
107
113
  for (let t = 0; t < o.length; t += 1)
108
114
  o[t].c();
109
- g(n, "width", "100%"), g(n, "height", "100%"), g(n, "viewBox", `0 0 ${/*boundingWidth*/
110
- r[4]} ${/*boundingHeight*/
111
- r[5]}`), g(n, "class", "svelte-1kqo6e4"), g(l, "class", "floorplan-plugin__room-highlight svelte-1kqo6e4");
115
+ m(n, "width", "100%"), m(n, "height", "100%"), m(n, "viewBox", `0 0 ${/*boundingWidth*/
116
+ i[4]} ${/*boundingHeight*/
117
+ i[5]}`), m(n, "class", "svelte-1kqo6e4"), m(l, "class", "floorplan-plugin__room-highlight svelte-1kqo6e4");
112
118
  },
113
119
  m(t, e) {
114
120
  d(t, l, e), w(l, n);
115
- for (let f = 0; f < o.length; f += 1)
116
- o[f] && o[f].m(n, null);
117
- s = !0;
121
+ for (let s = 0; s < o.length; s += 1)
122
+ o[s] && o[s].m(n, null);
123
+ f = !0;
118
124
  },
119
125
  p(t, [e]) {
120
126
  e & /*floorplanData, floorIndex, hoveredRoom, highlightData*/
121
- 15 && (h = /*floorplanData*/
122
- t[1].floorDatas[
123
- /*floorIndex*/
124
- t[0]
125
- ].rooms, q(), o = I(o, e, i, 1, t, h, a, n, H, m, null, u), B());
127
+ 15 && (h = g(
128
+ /*floorplanData*/
129
+ t[1].floorDatas[
130
+ /*floorIndex*/
131
+ t[0]
132
+ ].rooms
133
+ ), I(), o = B(o, e, r, 1, t, h, a, n, C, u, null, _), H());
126
134
  },
127
135
  i(t) {
128
- if (!s) {
136
+ if (!f) {
129
137
  for (let e = 0; e < h.length; e += 1)
130
- _(o[e]);
131
- s = !0;
138
+ p(o[e]);
139
+ f = !0;
132
140
  }
133
141
  },
134
142
  o(t) {
135
143
  for (let e = 0; e < o.length; e += 1)
136
- c(o[e]);
137
- s = !1;
144
+ v(o[e]);
145
+ f = !1;
138
146
  },
139
147
  d(t) {
140
- t && v(l);
148
+ t && c(l);
141
149
  for (let e = 0; e < o.length; e += 1)
142
150
  o[e].d();
143
151
  }
144
152
  };
145
153
  }
146
- function F(r, l, n) {
147
- let { floorIndex: o } = l, { floorplanData: a } = l, { highlightData: s } = l, { hoveredRoom: h } = l;
148
- const i = a.bounding.max.x - a.bounding.min.x, t = a.bounding.max.y - a.bounding.min.y;
149
- return r.$$set = (e) => {
150
- "floorIndex" in e && n(0, o = e.floorIndex), "floorplanData" in e && n(1, a = e.floorplanData), "highlightData" in e && n(2, s = e.highlightData), "hoveredRoom" in e && n(3, h = e.hoveredRoom);
154
+ function G(i, l, n) {
155
+ let { floorIndex: o } = l, { floorplanData: a } = l, { highlightData: f } = l, { hoveredRoom: h } = l;
156
+ const r = a.bounding.max.x - a.bounding.min.x, t = a.bounding.max.y - a.bounding.min.y;
157
+ return i.$$set = (e) => {
158
+ "floorIndex" in e && n(0, o = e.floorIndex), "floorplanData" in e && n(1, a = e.floorplanData), "highlightData" in e && n(2, f = e.highlightData), "hoveredRoom" in e && n(3, h = e.hoveredRoom);
151
159
  }, [
152
160
  o,
153
161
  a,
154
- s,
162
+ f,
155
163
  h,
156
- i,
164
+ r,
157
165
  t
158
166
  ];
159
167
  }
160
- class K extends p {
168
+ class U extends S {
161
169
  constructor(l) {
162
- super(), k(
170
+ super(), W(
163
171
  this,
164
172
  l,
173
+ G,
165
174
  F,
166
- E,
167
- D,
175
+ k,
168
176
  {
169
177
  floorIndex: 0,
170
178
  floorplanData: 1,
171
179
  highlightData: 2,
172
180
  hoveredRoom: 3
173
181
  },
174
- A
182
+ E
175
183
  );
176
184
  }
177
185
  }
178
186
  export {
179
- K as RoomHighlight
187
+ U as RoomHighlight
180
188
  };
@@ -1,19 +1,22 @@
1
- import { SvelteComponent as le, init as ne, safe_not_equal as fe, append_styles as re, element as I, attr as N, set_style as y, insert as b, action_destroyer as ae, listen as C, noop as V, detach as d, run_all as ce, empty as S, space as se, text as q, append as O, set_data as U, HtmlTag as me } from "../../../vendor/svelte/internal/index.js";
1
+ import { safe_not_equal as le, action_destroyer as ne, noop as C, run_all as fe } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as re, element as I, attr as N, set_style as y, insert as d, listen as V, detach as b, empty as S, space as ae, text as q, append as O, set_data as U, HtmlTag as ce } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { SvelteComponent as me, init as se } from "../../../vendor/svelte/src/runtime/internal/Component.js";
4
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
2
5
  import { svelteResizeObserver as ue } from "../../../shared-utils/svelte/resizeObserver.js";
3
- function be(n) {
6
+ function de(n) {
4
7
  re(n, "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
8
  }
6
- function de(n) {
9
+ function be(n) {
7
10
  let e, t = (
8
11
  /*userConfigElement*/
9
12
  n[8].outerHTML + ""
10
13
  ), l;
11
14
  return {
12
15
  c() {
13
- e = new me(!1), l = S(), e.a = l;
16
+ e = new ce(!1), l = S(), e.a = l;
14
17
  },
15
18
  m(o, i) {
16
- e.m(t, o, i), b(o, l, i);
19
+ e.m(t, o, i), d(o, l, i);
17
20
  },
18
21
  p(o, i) {
19
22
  i & /*userConfigElement*/
@@ -21,7 +24,7 @@ function de(n) {
21
24
  o[8].outerHTML + "") && e.p(t);
22
25
  },
23
26
  d(o) {
24
- o && d(l), o && e.d();
27
+ o && (b(l), e.d());
25
28
  }
26
29
  };
27
30
  }
@@ -35,10 +38,10 @@ function _e(n) {
35
38
  );
36
39
  return {
37
40
  c() {
38
- l && l.c(), e = se(), o && o.c(), t = S();
41
+ l && l.c(), e = ae(), o && o.c(), t = S();
39
42
  },
40
43
  m(i, f) {
41
- l && l.m(i, f), b(i, e, f), o && o.m(i, f), b(i, t, f);
44
+ l && l.m(i, f), d(i, e, f), o && o.m(i, f), d(i, t, f);
42
45
  },
43
46
  p(i, f) {
44
47
  /*roomNameEnable*/
@@ -46,7 +49,7 @@ function _e(n) {
46
49
  i[0] ? o ? o.p(i, f) : (o = M(i), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
47
50
  },
48
51
  d(i) {
49
- l && l.d(i), i && d(e), o && o.d(i), i && d(t);
52
+ i && (b(e), b(t)), l && l.d(i), o && o.d(i);
50
53
  }
51
54
  };
52
55
  }
@@ -60,7 +63,7 @@ function j(n) {
60
63
  e = I("span"), l = q(t), N(e, "class", "floorplan-plugin__room-name");
61
64
  },
62
65
  m(o, i) {
63
- b(o, e, i), O(e, l);
66
+ d(o, e, i), O(e, l);
64
67
  },
65
68
  p(o, i) {
66
69
  i & /*room*/
@@ -68,7 +71,7 @@ function j(n) {
68
71
  o[2].name + "") && U(l, t);
69
72
  },
70
73
  d(o) {
71
- o && d(e);
74
+ o && b(e);
72
75
  }
73
76
  };
74
77
  }
@@ -82,7 +85,7 @@ function M(n) {
82
85
  ), N(e, "class", "floorplan-plugin__room-size svelte-12pzct5");
83
86
  },
84
87
  m(l, o) {
85
- b(l, e, o), O(e, t);
88
+ d(l, e, o), O(e, t);
86
89
  },
87
90
  p(l, o) {
88
91
  o & /*roomAreaSize*/
@@ -93,7 +96,7 @@ function M(n) {
93
96
  );
94
97
  },
95
98
  d(l) {
96
- l && d(e);
99
+ l && b(e);
97
100
  }
98
101
  };
99
102
  }
@@ -109,7 +112,7 @@ function he(n) {
109
112
  /*userConfigElement*/
110
113
  a[8]
111
114
  )
112
- return de;
115
+ return be;
113
116
  }
114
117
  let i = o(n), f = i && i(n);
115
118
  return {
@@ -137,15 +140,15 @@ function he(n) {
137
140
  );
138
141
  },
139
142
  m(a, c) {
140
- b(a, e, c), f && f.m(e, null), t || (l = [
141
- ae(ue.call(null, e)),
142
- C(
143
+ d(a, e, c), f && f.m(e, null), t || (l = [
144
+ ne(ue.call(null, e)),
145
+ V(
143
146
  e,
144
147
  "clientWidth",
145
148
  /*clientWidth_handler*/
146
149
  n[19]
147
150
  ),
148
- C(
151
+ V(
149
152
  e,
150
153
  "clientHeight",
151
154
  /*clientHeight_handler*/
@@ -162,10 +165,10 @@ function he(n) {
162
165
  a[6] ? "1" : "0"
163
166
  );
164
167
  },
165
- i: V,
166
- o: V,
168
+ i: C,
169
+ o: C,
167
170
  d(a) {
168
- a && d(e), f && f.d(), t = !1, ce(l);
171
+ a && b(e), f && f.d(), t = !1, fe(l);
169
172
  }
170
173
  };
171
174
  }
@@ -173,31 +176,31 @@ function ye(n, e) {
173
176
  const t = n[0], l = n[1];
174
177
  let o = !1;
175
178
  for (let i = 0, f = e.length - 1; i < e.length; f = i++) {
176
- const a = e[i][0], c = e[i][1], g = e[f][0], _ = e[f][1];
177
- c > l != _ > l && t < (g - a) * (l - c) / (_ - c) + a && (o = !o);
179
+ const a = e[i][0], c = e[i][1], p = e[f][0], _ = e[f][1];
180
+ c > l != _ > l && t < (p - a) * (l - c) / (_ - c) + a && (o = !o);
178
181
  }
179
182
  return o;
180
183
  }
181
- function ge(n, e, t) {
182
- let l, o, i, f, a, { pxmm: c } = e, { roomAreaEnable: g } = e, { roomNameEnable: _ } = e, { room: s } = e, { hoveredRoom: z } = e, { getRoomAreaText: H } = e, { getLabelElement: h } = e, { adaptiveRoomLabelVisibleEnable: k } = e;
183
- function X(r, m) {
184
- if (m.width === 0 || m.height === 0)
184
+ function pe(n, e, t) {
185
+ let l, o, i, f, a, { pxmm: c } = e, { roomAreaEnable: p } = e, { roomNameEnable: _ } = e, { room: m } = e, { hoveredRoom: z } = e, { getRoomAreaText: H } = e, { getLabelElement: h } = e, { adaptiveRoomLabelVisibleEnable: k } = e;
186
+ function X(r, s) {
187
+ if (s.width === 0 || s.height === 0)
185
188
  return () => !1;
186
- const Q = r.path.map(({ x: W, y: u }) => [W, u]), Z = r.roomLabel.position, { x, y: $ } = Z, { width: ee, height: te } = m, p = ee / 2, R = te / 2;
189
+ const Q = r.path.map(({ x: W, y: u }) => [W, u]), Z = r.roomLabel.position, { x, y: $ } = Z, { width: ee, height: te } = s, g = ee / 2, R = te / 2;
187
190
  return function(u) {
188
191
  const E = x * u, L = $ * u, oe = Q.map(([T, ie]) => [T * u, ie * u]);
189
192
  return [
190
- [E + p, L - R],
191
- [E - p, L - R],
192
- [E - p, L + R],
193
- [E + p, L + R]
193
+ [E + g, L - R],
194
+ [E - g, L - R],
195
+ [E - g, L + R],
196
+ [E + g, L + R]
194
197
  ].every((T) => ye(T, oe));
195
198
  };
196
199
  }
197
- const Y = document.body.clientWidth, B = document.body.clientHeight, P = s.roomLabel, D = P.positionInImage.x * 100 + "%", F = P.positionInImage.y * 100 + "%", G = (Y < 500 || B < 500 ? 10 : 14) + "px";
200
+ const Y = document.body.clientWidth, B = document.body.clientHeight, P = m.roomLabel, D = P.positionInImage.x * 100 + "%", F = P.positionInImage.y * 100 + "%", G = (Y < 500 || B < 500 ? 10 : 14) + "px";
198
201
  let w = 0, A = 0, v = !1;
199
- z.subscribe(function(m) {
200
- t(16, v = !!m && m.id === s.id);
202
+ z.subscribe(function(s) {
203
+ t(16, v = !!s && s.id === m.id);
201
204
  });
202
205
  const J = (r) => {
203
206
  t(4, w = r.detail);
@@ -205,18 +208,18 @@ function ge(n, e, t) {
205
208
  t(5, A = r.detail);
206
209
  };
207
210
  return n.$$set = (r) => {
208
- "pxmm" in r && t(12, c = r.pxmm), "roomAreaEnable" in r && t(0, g = r.roomAreaEnable), "roomNameEnable" in r && t(1, _ = r.roomNameEnable), "room" in r && t(2, s = r.room), "hoveredRoom" in r && t(13, z = r.hoveredRoom), "getRoomAreaText" in r && t(14, H = r.getRoomAreaText), "getLabelElement" in r && t(3, h = r.getLabelElement), "adaptiveRoomLabelVisibleEnable" in r && t(15, k = r.adaptiveRoomLabelVisibleEnable);
211
+ "pxmm" in r && t(12, c = r.pxmm), "roomAreaEnable" in r && t(0, p = r.roomAreaEnable), "roomNameEnable" in r && t(1, _ = r.roomNameEnable), "room" in r && t(2, m = r.room), "hoveredRoom" in r && t(13, z = r.hoveredRoom), "getRoomAreaText" in r && t(14, H = r.getRoomAreaText), "getLabelElement" in r && t(3, h = r.getLabelElement), "adaptiveRoomLabelVisibleEnable" in r && t(15, k = r.adaptiveRoomLabelVisibleEnable);
209
212
  }, n.$$.update = () => {
210
213
  n.$$.dirty & /*getLabelElement, room*/
211
- 12 && t(8, l = h == null ? void 0 : h(s)), n.$$.dirty & /*room, getRoomAreaText*/
212
- 16388 && t(7, o = s.size ? H(s.size) : ""), n.$$.dirty & /*clientWidth, clientHeight*/
214
+ 12 && t(8, l = h == null ? void 0 : h(m)), n.$$.dirty & /*room, getRoomAreaText*/
215
+ 16388 && t(7, o = m.size ? H(m.size) : ""), n.$$.dirty & /*clientWidth, clientHeight*/
213
216
  48 && t(18, i = { width: w, height: A }), n.$$.dirty & /*labelElementSize, room*/
214
- 262148 && t(17, f = i ? X(s, i) : void 0), n.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHovered, isLabelInRoom, pxmm*/
217
+ 262148 && t(17, f = i ? X(m, i) : void 0), n.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHovered, isLabelInRoom, pxmm*/
215
218
  233472 && t(6, a = k ? v ? !0 : !!(f != null && f(c)) : !0);
216
219
  }, [
217
- g,
220
+ p,
218
221
  _,
219
- s,
222
+ m,
220
223
  h,
221
224
  w,
222
225
  A,
@@ -237,14 +240,14 @@ function ge(n, e, t) {
237
240
  K
238
241
  ];
239
242
  }
240
- class Le extends le {
243
+ class ke extends me {
241
244
  constructor(e) {
242
- super(), ne(
245
+ super(), se(
243
246
  this,
244
247
  e,
245
- ge,
248
+ pe,
246
249
  he,
247
- fe,
250
+ le,
248
251
  {
249
252
  pxmm: 12,
250
253
  roomAreaEnable: 0,
@@ -255,10 +258,10 @@ class Le extends le {
255
258
  getLabelElement: 3,
256
259
  adaptiveRoomLabelVisibleEnable: 15
257
260
  },
258
- be
261
+ de
259
262
  );
260
263
  }
261
264
  }
262
265
  export {
263
- Le as RoomLabel
266
+ ke as RoomLabel
264
267
  };