@realsee/dnalogel 3.64.19 → 3.64.21-dev.1

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/CHANGELOG.md +10 -2
  2. package/dist/floorplan/Components/RoomMaterials/RoomTriangle.svelte.d.ts +1 -0
  3. package/dist/floorplan/typings/floorplanData.d.ts +2 -0
  4. package/dist/index.cjs.js +60 -60
  5. package/dist/index.js +5222 -5019
  6. package/dist/index.umd.js +50 -50
  7. package/docs/assets/navigation.js +1 -1
  8. package/docs/assets/search.js +1 -1
  9. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  10. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  11. package/docs/classes/CSS3DRender.html +2 -2
  12. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  13. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +19 -19
  14. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  15. package/docs/classes/ModelRoomLabelController.html +2 -2
  16. package/docs/classes/MoveController.html +2 -2
  17. package/docs/classes/Object3DHelperController.html +2 -2
  18. package/docs/classes/PaintBrush.html +2 -2
  19. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  20. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  21. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  22. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  23. package/docs/classes/PanoTagPluginController.html +2 -2
  24. package/docs/classes/Sculpt.html +2 -2
  25. package/docs/classes/Util.BetterTween.html +2 -2
  26. package/docs/classes/Util.FiveDomEvents.html +2 -2
  27. package/docs/classes/Util.FivePuppet.html +2 -2
  28. package/docs/classes/Util.Interval.html +2 -2
  29. package/docs/classes/Util.LightTag.html +2 -2
  30. package/docs/classes/Util.LineSegments.html +2 -2
  31. package/docs/classes/Util.Magnifier.html +2 -2
  32. package/docs/classes/Util.Object3D.html +2 -2
  33. package/docs/classes/Util.PointHelper.html +2 -2
  34. package/docs/classes/Util.PointSelector.html +2 -2
  35. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  36. package/docs/classes/Util.Rectangle.html +2 -2
  37. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  38. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  39. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  40. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  41. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  42. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  43. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  44. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  45. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  47. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  50. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  52. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  53. package/docs/classes/WalkController.html +2 -2
  54. package/docs/enums/CameraMovementEffect.html +2 -2
  55. package/docs/enums/ContentType.html +2 -2
  56. package/docs/enums/DIRECTION.html +2 -2
  57. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  58. package/docs/enums/DimensionType.html +2 -2
  59. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  60. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  61. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  62. package/docs/enums/PointType.html +2 -2
  63. package/docs/enums/Rotation.html +2 -2
  64. package/docs/functions/AreaMakerPlugin.html +1 -1
  65. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  66. package/docs/functions/CameraMovementPlugin.html +2 -2
  67. package/docs/functions/CruisePlugin.html +1 -1
  68. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  69. package/docs/functions/GuideLinePlugin.html +1 -1
  70. package/docs/functions/ItemLabelPlugin.html +1 -1
  71. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  72. package/docs/functions/MeasurePlugin.html +1 -1
  73. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  74. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  75. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  76. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  77. package/docs/functions/ModelMakerPlugin.html +1 -1
  78. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  79. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  80. package/docs/functions/ModelViewPlugin.html +2 -2
  81. package/docs/functions/MovePlugin.html +1 -1
  82. package/docs/functions/Object3DHelperPlugin.html +1 -1
  83. package/docs/functions/PanoCompassPlugin.html +1 -1
  84. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  85. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  86. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  87. package/docs/functions/PanoMeasurePlugin.html +1 -1
  88. package/docs/functions/PanoRulerPlugin.html +2 -2
  89. package/docs/functions/PanoRulerProPlugin.html +2 -2
  90. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  91. package/docs/functions/PanoTagPlugin.html +1 -1
  92. package/docs/functions/PanoVideoPlugin.html +2 -2
  93. package/docs/functions/PipelinePlugin.html +1 -1
  94. package/docs/functions/SculptPlugin.html +2 -2
  95. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  96. package/docs/functions/Util.absoluteUrl.html +2 -2
  97. package/docs/functions/Util.awaitNextFrame.html +1 -1
  98. package/docs/functions/Util.blink.html +2 -2
  99. package/docs/functions/Util.bounding.html +1 -1
  100. package/docs/functions/Util.boundingBox.html +1 -1
  101. package/docs/functions/Util.boundingSphere.html +1 -1
  102. package/docs/functions/Util.boxVertex.html +2 -2
  103. package/docs/functions/Util.boxVertexes.html +1 -1
  104. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  105. package/docs/functions/Util.convexHull.html +2 -2
  106. package/docs/functions/Util.equal.html +2 -2
  107. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  108. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  109. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  110. package/docs/functions/Util.getFrameTime.html +2 -2
  111. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  112. package/docs/functions/Util.inside.html +1 -1
  113. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  114. package/docs/functions/Util.isModelLike.html +1 -1
  115. package/docs/functions/Util.isNil.html +2 -2
  116. package/docs/functions/Util.isPanoramaLike.html +1 -1
  117. package/docs/functions/Util.lookObject.html +2 -2
  118. package/docs/functions/Util.lookPoint.html +2 -2
  119. package/docs/functions/Util.nextFrame.html +1 -1
  120. package/docs/functions/Util.notNil.html +2 -2
  121. package/docs/functions/Util.reblink.html +2 -2
  122. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  123. package/docs/functions/Util.sculpt.createBox.html +1 -1
  124. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  125. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  126. package/docs/functions/Util.sculpt.createLine.html +2 -2
  127. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  128. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  129. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  130. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  131. package/docs/functions/Util.tag.html +1 -1
  132. package/docs/functions/Util.tweenProgress.html +1 -1
  133. package/docs/functions/Util.uuid.html +2 -2
  134. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  135. package/docs/functions/Util.worldBounding.html +1 -1
  136. package/docs/functions/Util.worldBoundingBox.html +1 -1
  137. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  138. package/docs/functions/createPolyline.html +2 -2
  139. package/docs/functions/pluginFlag.html +1 -1
  140. package/docs/hierarchy.html +1 -1
  141. package/docs/index.html +2 -2
  142. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  143. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  144. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  145. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  146. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  147. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  148. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  149. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  152. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  153. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  154. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  155. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  156. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  157. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  158. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  159. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  160. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  161. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  162. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  163. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  166. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  167. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  168. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  169. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  170. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  171. package/docs/interfaces/FloorplanBounding.html +2 -2
  172. package/docs/interfaces/FloorplanData.html +3 -3
  173. package/docs/interfaces/FloorplanEntrance.html +2 -2
  174. package/docs/interfaces/FloorplanExtraObject.html +5 -5
  175. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  176. package/docs/interfaces/FloorplanFloorData.html +3 -3
  177. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  178. package/docs/interfaces/FloorplanObserver.html +3 -3
  179. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  180. package/docs/interfaces/FloorplanPosition.html +2 -2
  181. package/docs/interfaces/FloorplanRoomItem.html +5 -5
  182. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  183. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  184. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  185. package/docs/interfaces/FloorplanServerData.html +2 -2
  186. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  187. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  188. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  189. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  190. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  191. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  192. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  193. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  194. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  195. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  196. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  197. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  198. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  199. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  200. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  202. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  209. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  212. package/docs/interfaces/HelperOffset.html +2 -2
  213. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  214. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  215. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  216. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  217. package/docs/interfaces/MinMax.html +2 -2
  218. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  219. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  220. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  221. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  222. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  223. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  224. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  225. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  226. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  227. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  228. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  229. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  230. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  231. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  232. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  233. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  234. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  235. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  236. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  237. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  238. package/docs/interfaces/Object3DHelperState.html +2 -2
  239. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  240. package/docs/interfaces/PaintBrushAction.html +2 -2
  241. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  242. package/docs/interfaces/PaintBrushState.html +2 -2
  243. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  244. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  245. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  246. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  247. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  248. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  249. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  250. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  251. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  252. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  253. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  254. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  255. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  256. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  257. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  258. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  259. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  260. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  261. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  262. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  263. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  264. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  265. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  266. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  267. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  268. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  269. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  270. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  271. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  272. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  273. package/docs/interfaces/PluginEventMap.html +2 -2
  274. package/docs/interfaces/Point.html +2 -2
  275. package/docs/interfaces/Room.html +2 -2
  276. package/docs/interfaces/RoomInfo.html +2 -2
  277. package/docs/interfaces/RoomLabel.html +2 -2
  278. package/docs/interfaces/RoomRules.html +1 -1
  279. package/docs/interfaces/Rooms.html +1 -1
  280. package/docs/interfaces/Scissor.html +2 -2
  281. package/docs/interfaces/State.html +2 -2
  282. package/docs/interfaces/TagCacheInterface.html +2 -2
  283. package/docs/interfaces/TagConfig.html +2 -2
  284. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  285. package/docs/interfaces/TagIconUrl.html +2 -2
  286. package/docs/interfaces/TagObjectGroup.html +2 -2
  287. package/docs/interfaces/TagStyle.html +2 -2
  288. package/docs/interfaces/Tags.html +2 -2
  289. package/docs/interfaces/TemporaryState.html +2 -2
  290. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  291. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  292. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  293. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  294. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  295. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  296. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  297. package/docs/interfaces/Util.PointIntersection.html +2 -2
  298. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  299. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  300. package/docs/modules/AreaMakerPluginType.html +2 -2
  301. package/docs/modules/CruisePluginTypes.html +2 -2
  302. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  303. package/docs/modules/GuideLineItem.html +2 -2
  304. package/docs/modules/GuideLineModeItem.html +2 -2
  305. package/docs/modules/GuideLinePluginType.html +2 -2
  306. package/docs/modules/ModelMakerPluginType.html +2 -2
  307. package/docs/modules/PanoVideoPluginType.html +2 -2
  308. package/docs/modules/SculptData.html +2 -2
  309. package/docs/modules/SculptType.html +2 -2
  310. package/docs/modules/Util.html +2 -2
  311. package/docs/modules/Util.sculpt.html +2 -2
  312. package/docs/modules.html +2 -2
  313. package/docs/types/AddObject3DHelperConfig.html +2 -2
  314. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  315. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  316. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  317. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  318. package/docs/types/ArrayPosition.html +1 -1
  319. package/docs/types/AudioAppearance.html +1 -1
  320. package/docs/types/CSS3DRenderExportType.html +1 -1
  321. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  322. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  323. package/docs/types/ClassFunctionParameters.html +1 -1
  324. package/docs/types/Color.html +1 -1
  325. package/docs/types/ContentTypeConfigKey.html +1 -1
  326. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  327. package/docs/types/ContentTypeMap.html +1 -1
  328. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  329. package/docs/types/Create3DElementReturnType.html +1 -1
  330. package/docs/types/CruisePluginExportType.html +1 -1
  331. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  332. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  333. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  334. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  335. package/docs/types/DeprecatedTagProperty.html +2 -2
  336. package/docs/types/Direction-1.html +1 -1
  337. package/docs/types/Direction4.html +1 -1
  338. package/docs/types/ElementRenderer.html +2 -2
  339. package/docs/types/FloorplanRuleLabels.html +2 -2
  340. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  341. package/docs/types/GuideLinePluginExportType.html +1 -1
  342. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  343. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  344. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  345. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  346. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  347. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  348. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  349. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  350. package/docs/types/HelperEventMap.html +1 -1
  351. package/docs/types/InternalHelperEventMap.html +1 -1
  352. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  353. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  354. package/docs/types/MeasurePluginConfig.html +1 -1
  355. package/docs/types/MediaData.html +2 -2
  356. package/docs/types/MediaStore.html +1 -1
  357. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  358. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  359. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  360. package/docs/types/ModelId.html +1 -1
  361. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  362. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  363. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  364. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  365. package/docs/types/MoveArgs.html +2 -2
  366. package/docs/types/MoveOpts.html +2 -2
  367. package/docs/types/Object3DHelperEventMap.html +1 -1
  368. package/docs/types/ObjectFit.html +1 -1
  369. package/docs/types/PaintBrushEventMap.html +1 -1
  370. package/docs/types/PanoCompassPluginData.html +1 -1
  371. package/docs/types/PanoCompassPluginExportType.html +1 -1
  372. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  373. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  374. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  375. package/docs/types/PanoIndex.html +1 -1
  376. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  377. package/docs/types/PanoMeasureReturnType.html +1 -1
  378. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  379. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  380. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  381. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  382. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  383. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  384. package/docs/types/PipelinePluginParameterType.html +1 -1
  385. package/docs/types/PipelinePluginReturnType.html +1 -1
  386. package/docs/types/PlaneTag.html +2 -2
  387. package/docs/types/Point2DTag.html +2 -2
  388. package/docs/types/Point3DTag.html +2 -2
  389. package/docs/types/PointTagInstance.html +1 -1
  390. package/docs/types/Position.html +1 -1
  391. package/docs/types/PositionFrom.html +1 -1
  392. package/docs/types/RotateArgs.html +2 -2
  393. package/docs/types/RotateOpts.html +2 -2
  394. package/docs/types/RuleLabelsKey.html +1 -1
  395. package/docs/types/RuleLabelsValue.html +1 -1
  396. package/docs/types/ScaleCallback.html +1 -1
  397. package/docs/types/ScalePosition.html +2 -2
  398. package/docs/types/SculptData.BoxData.html +1 -1
  399. package/docs/types/SculptData.CircleData.html +1 -1
  400. package/docs/types/SculptData.CylinderData.html +1 -1
  401. package/docs/types/SculptData.PointData.html +1 -1
  402. package/docs/types/SculptData.PolygonData.html +1 -1
  403. package/docs/types/SculptData.PolylineData.html +1 -1
  404. package/docs/types/SculptData.PrismData.html +1 -1
  405. package/docs/types/SculptData.RectangleData.html +1 -1
  406. package/docs/types/SculptType.Theme.html +2 -2
  407. package/docs/types/StickType.html +1 -1
  408. package/docs/types/Tag.html +2 -2
  409. package/docs/types/Tag2D.html +2 -2
  410. package/docs/types/Tag3D.html +2 -2
  411. package/docs/types/TagClickParams.html +1 -1
  412. package/docs/types/TagConfigByKey.html +1 -1
  413. package/docs/types/TagContentType.html +1 -1
  414. package/docs/types/TagContentTypeMapping.html +1 -1
  415. package/docs/types/TagDimensionType.html +1 -1
  416. package/docs/types/TagElement.html +2 -2
  417. package/docs/types/TagEvents.html +1 -1
  418. package/docs/types/TagGLTFObject.html +1 -1
  419. package/docs/types/TagHooks.html +1 -1
  420. package/docs/types/TagId.html +1 -1
  421. package/docs/types/TagInstance.html +1 -1
  422. package/docs/types/TagPointType.html +2 -2
  423. package/docs/types/TagRendererMap.html +1 -1
  424. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  425. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  426. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  427. package/docs/types/Util.AdherePoint.html +2 -2
  428. package/docs/types/Util.PointSelectorConfig.html +1 -1
  429. package/docs/types/WorkCode.html +1 -1
  430. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  431. package/docs/variables/PLUGIN.html +1 -1
  432. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  433. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  434. package/docs/variables/Util.animeMap.html +1 -1
  435. package/docs/variables/defaultGlobalConfig.html +1 -1
  436. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  437. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  438. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  439. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +28 -28
  440. package/libs/base/BasePlugin.js +4 -4
  441. package/libs/floorplan/Components/CurrentFloor.js +38 -22
  442. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +246 -155
  443. package/libs/floorplan/Components/RoomMaterials/RoomTriangle.js +103 -0
  444. package/libs/floorplan/Components/RoomMaterials/RoomTriangle.svelte.d.ts +1 -0
  445. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -4
  446. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
  447. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
  448. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  449. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  450. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  451. package/libs/floorplan/typings/floorplanData.d.ts +2 -0
  452. package/libs/floorplan/utils/formatData.js +17 -18
  453. package/libs/index.js +146 -145
  454. package/libs/shared-utils/logger.js +1 -1
  455. package/package.json +1 -1
@@ -1,225 +1,316 @@
1
- var M = Object.defineProperty, R = Object.defineProperties;
2
- var B = Object.getOwnPropertyDescriptors;
3
- var d = Object.getOwnPropertySymbols;
4
- var T = Object.prototype.hasOwnProperty, q = Object.prototype.propertyIsEnumerable;
5
- var b = (l, e, o) => e in l ? M(l, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : l[e] = o, k = (l, e) => {
6
- for (var o in e || (e = {}))
7
- T.call(e, o) && b(l, o, e[o]);
8
- if (d)
9
- for (var o of d(e))
10
- q.call(e, o) && b(l, o, e[o]);
11
- return l;
12
- }, v = (l, e) => R(l, B(e));
13
- import { SvelteComponent as C, init as F, safe_not_equal as H, append_styles as P, element as S, attr as m, insert as x, transition_in as u, group_outros as w, check_outros as D, transition_out as s, detach as I, destroy_each as W, svg_element as j, create_component as p, mount_component as h, destroy_component as g } from "../../../vendor/svelte/internal/index.js";
14
- import { formatFloorplanPoint as z } from "../../utils/formatPosition.js";
15
- import { RoomMaterial_0 as A } from "./RoomMaterial_0.js";
16
- import { RoomMaterial_1 as E } from "./RoomMaterial_1.js";
17
- import { RoomMaterial_2 as G } from "./RoomMaterial_2.js";
18
- function J(l) {
19
- P(l, "svelte-1dykexu", ".floorplan-plugin__room-material.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%}svg.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}");
1
+ var T = Object.defineProperty, S = Object.defineProperties;
2
+ var q = Object.getOwnPropertyDescriptors;
3
+ var D = Object.getOwnPropertySymbols;
4
+ var C = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
5
+ var E = (i, e, n) => e in i ? T(i, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : i[e] = n, B = (i, e) => {
6
+ for (var n in e || (e = {}))
7
+ C.call(e, n) && E(i, n, e[n]);
8
+ if (D)
9
+ for (var n of D(e))
10
+ F.call(e, n) && E(i, n, e[n]);
11
+ return i;
12
+ }, R = (i, e) => S(i, q(e));
13
+ import { SvelteComponent as H, init as N, safe_not_equal as P, append_styles as W, element as j, attr as h, insert as d, transition_in as _, group_outros as $, check_outros as A, transition_out as g, detach as p, destroy_each as G, svg_element as M, space as J, empty as K, create_component as v, mount_component as y, destroy_component as k } from "../../../vendor/svelte/internal/index.js";
14
+ import { formatFloorplanPoint as O } from "../../utils/formatPosition.js";
15
+ import { RoomMaterial_0 as Q } from "./RoomMaterial_0.js";
16
+ import { RoomMaterial_1 as U } from "./RoomMaterial_1.js";
17
+ import { RoomMaterial_2 as V } from "./RoomMaterial_2.js";
18
+ import { RoomTriangle as X } from "./RoomTriangle.js";
19
+ function Y(i) {
20
+ W(i, "svelte-1dykexu", ".floorplan-plugin__room-material.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%}svg.svelte-1dykexu{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible}");
20
21
  }
21
- function y(l, e, o) {
22
- const t = l.slice();
23
- return t[5] = e[o], t;
22
+ function z(i, e, n) {
23
+ const o = i.slice();
24
+ return o[8] = e[n], o;
24
25
  }
25
- function K(l) {
26
- let e, o;
27
- return e = new E({ props: { path: (
26
+ function Z(i) {
27
+ let e, n;
28
+ return e = new U({ props: { path: (
28
29
  /*room*/
29
- l[5].path
30
+ i[8].path
30
31
  ) } }), {
31
32
  c() {
32
- p(e.$$.fragment);
33
+ v(e.$$.fragment);
33
34
  },
34
- m(t, n) {
35
- h(e, t, n), o = !0;
35
+ m(o, t) {
36
+ y(e, o, t), n = !0;
36
37
  },
37
- p(t, n) {
38
- const i = {};
39
- n & /*rooms*/
40
- 1 && (i.path = /*room*/
41
- t[5].path), e.$set(i);
38
+ p(o, t) {
39
+ const r = {};
40
+ t & /*rooms*/
41
+ 2 && (r.path = /*room*/
42
+ o[8].path), e.$set(r);
42
43
  },
43
- i(t) {
44
- o || (u(e.$$.fragment, t), o = !0);
44
+ i(o) {
45
+ n || (_(e.$$.fragment, o), n = !0);
45
46
  },
46
- o(t) {
47
- s(e.$$.fragment, t), o = !1;
47
+ o(o) {
48
+ g(e.$$.fragment, o), n = !1;
48
49
  },
49
- d(t) {
50
- g(e, t);
50
+ d(o) {
51
+ k(e, o);
51
52
  }
52
53
  };
53
54
  }
54
- function L(l) {
55
- let e, o;
56
- return e = new G({ props: { path: (
55
+ function x(i) {
56
+ let e, n;
57
+ return e = new V({ props: { path: (
57
58
  /*room*/
58
- l[5].path
59
+ i[8].path
59
60
  ) } }), {
60
61
  c() {
61
- p(e.$$.fragment);
62
+ v(e.$$.fragment);
62
63
  },
63
- m(t, n) {
64
- h(e, t, n), o = !0;
64
+ m(o, t) {
65
+ y(e, o, t), n = !0;
65
66
  },
66
- p(t, n) {
67
- const i = {};
68
- n & /*rooms*/
69
- 1 && (i.path = /*room*/
70
- t[5].path), e.$set(i);
67
+ p(o, t) {
68
+ const r = {};
69
+ t & /*rooms*/
70
+ 2 && (r.path = /*room*/
71
+ o[8].path), e.$set(r);
71
72
  },
72
- i(t) {
73
- o || (u(e.$$.fragment, t), o = !0);
73
+ i(o) {
74
+ n || (_(e.$$.fragment, o), n = !0);
74
75
  },
75
- o(t) {
76
- s(e.$$.fragment, t), o = !1;
76
+ o(o) {
77
+ g(e.$$.fragment, o), n = !1;
77
78
  },
78
- d(t) {
79
- g(e, t);
79
+ d(o) {
80
+ k(e, o);
80
81
  }
81
82
  };
82
83
  }
83
- function N(l) {
84
- let e, o;
85
- return e = new A({ props: { path: (
84
+ function ee(i) {
85
+ let e, n;
86
+ return e = new Q({ props: { path: (
86
87
  /*room*/
87
- l[5].path
88
+ i[8].path
88
89
  ) } }), {
89
90
  c() {
90
- p(e.$$.fragment);
91
+ v(e.$$.fragment);
91
92
  },
92
- m(t, n) {
93
- h(e, t, n), o = !0;
93
+ m(o, t) {
94
+ y(e, o, t), n = !0;
94
95
  },
95
- p(t, n) {
96
- const i = {};
97
- n & /*rooms*/
98
- 1 && (i.path = /*room*/
99
- t[5].path), e.$set(i);
96
+ p(o, t) {
97
+ const r = {};
98
+ t & /*rooms*/
99
+ 2 && (r.path = /*room*/
100
+ o[8].path), e.$set(r);
100
101
  },
101
- i(t) {
102
- o || (u(e.$$.fragment, t), o = !0);
102
+ i(o) {
103
+ n || (_(e.$$.fragment, o), n = !0);
103
104
  },
104
- o(t) {
105
- s(e.$$.fragment, t), o = !1;
105
+ o(o) {
106
+ g(e.$$.fragment, o), n = !1;
106
107
  },
107
- d(t) {
108
- g(e, t);
108
+ d(o) {
109
+ k(e, o);
109
110
  }
110
111
  };
111
112
  }
112
- function $(l) {
113
- let e, o, t, n;
114
- const i = [N, L, K], a = [];
115
- function f(r, c) {
113
+ function I(i) {
114
+ let e, n, o, t;
115
+ return n = new X({
116
+ props: { dimension: (
117
+ /*room*/
118
+ i[8].dimension
119
+ ) }
120
+ }), {
121
+ c() {
122
+ e = M("svg"), v(n.$$.fragment), h(e, "width", "100%"), h(e, "height", "100%"), h(e, "viewBox", o = `${/*floorplanData*/
123
+ i[0].bounding.min.x} ${/*floorplanData*/
124
+ i[0].bounding.min.y} ${/*boundingWidth*/
125
+ i[2]} ${/*boundingHeight*/
126
+ i[3]}`), h(e, "class", "svelte-1dykexu");
127
+ },
128
+ m(r, l) {
129
+ d(r, e, l), y(n, e, null), t = !0;
130
+ },
131
+ p(r, l) {
132
+ const m = {};
133
+ l & /*rooms*/
134
+ 2 && (m.dimension = /*room*/
135
+ r[8].dimension), n.$set(m), (!t || l & /*floorplanData*/
136
+ 1 && o !== (o = `${/*floorplanData*/
137
+ r[0].bounding.min.x} ${/*floorplanData*/
138
+ r[0].bounding.min.y} ${/*boundingWidth*/
139
+ r[2]} ${/*boundingHeight*/
140
+ r[3]}`)) && h(e, "viewBox", o);
141
+ },
142
+ i(r) {
143
+ t || (_(n.$$.fragment, r), t = !0);
144
+ },
145
+ o(r) {
146
+ g(n.$$.fragment, r), t = !1;
147
+ },
148
+ d(r) {
149
+ r && p(e), k(n);
150
+ }
151
+ };
152
+ }
153
+ function L(i) {
154
+ let e, n, o, t, r = (
155
+ /*allowShowArrow*/
156
+ i[4] && /*room*/
157
+ i[8].dimension && Array.isArray(
158
+ /*room*/
159
+ i[8].dimension.vertical
160
+ ) && /*room*/
161
+ i[8].dimension.vertical.length > 0 && Array.isArray(
162
+ /*room*/
163
+ i[8].dimension.horizontal
164
+ ) && /*room*/
165
+ i[8].dimension.horizontal.length > 0
166
+ ), l, m;
167
+ const f = [ee, x, Z], u = [];
168
+ function b(s, c) {
116
169
  return (
117
170
  /*room*/
118
- r[5].floorType === 1 ? 0 : (
171
+ s[8].floorType === 1 ? 0 : (
119
172
  /*room*/
120
- r[5].floorType === 0 ? 1 : 2
173
+ s[8].floorType === 0 ? 1 : 2
121
174
  )
122
175
  );
123
176
  }
124
- return o = f(l), t = a[o] = i[o](l), {
177
+ n = b(i), o = u[n] = f[n](i);
178
+ let a = r && I(i);
179
+ return {
125
180
  c() {
126
- e = j("svg"), t.c(), m(e, "width", "100%"), m(e, "height", "100%"), m(e, "viewBox", `0 0 ${/*boundingWidth*/
127
- l[1]} ${/*boundingHeight*/
128
- l[2]}`), m(e, "class", "svelte-1dykexu");
181
+ e = M("svg"), o.c(), t = J(), a && a.c(), l = K(), h(e, "width", "100%"), h(e, "height", "100%"), h(e, "viewBox", `0 0 ${/*boundingWidth*/
182
+ i[2]} ${/*boundingHeight*/
183
+ i[3]}`), h(e, "class", "svelte-1dykexu");
129
184
  },
130
- m(r, c) {
131
- x(r, e, c), a[o].m(e, null), n = !0;
185
+ m(s, c) {
186
+ d(s, e, c), u[n].m(e, null), d(s, t, c), a && a.m(s, c), d(s, l, c), m = !0;
132
187
  },
133
- p(r, c) {
134
- let _ = o;
135
- o = f(r), o === _ ? a[o].p(r, c) : (w(), s(a[_], 1, 1, () => {
136
- a[_] = null;
137
- }), D(), t = a[o], t ? t.p(r, c) : (t = a[o] = i[o](r), t.c()), u(t, 1), t.m(e, null));
188
+ p(s, c) {
189
+ let w = n;
190
+ n = b(s), n === w ? u[n].p(s, c) : ($(), g(u[w], 1, 1, () => {
191
+ u[w] = null;
192
+ }), A(), o = u[n], o ? o.p(s, c) : (o = u[n] = f[n](s), o.c()), _(o, 1), o.m(e, null)), c & /*rooms*/
193
+ 2 && (r = /*allowShowArrow*/
194
+ s[4] && /*room*/
195
+ s[8].dimension && Array.isArray(
196
+ /*room*/
197
+ s[8].dimension.vertical
198
+ ) && /*room*/
199
+ s[8].dimension.vertical.length > 0 && Array.isArray(
200
+ /*room*/
201
+ s[8].dimension.horizontal
202
+ ) && /*room*/
203
+ s[8].dimension.horizontal.length > 0), r ? a ? (a.p(s, c), c & /*rooms*/
204
+ 2 && _(a, 1)) : (a = I(s), a.c(), _(a, 1), a.m(l.parentNode, l)) : a && ($(), g(a, 1, 1, () => {
205
+ a = null;
206
+ }), A());
138
207
  },
139
- i(r) {
140
- n || (u(t), n = !0);
208
+ i(s) {
209
+ m || (_(o), _(a), m = !0);
141
210
  },
142
- o(r) {
143
- s(t), n = !1;
211
+ o(s) {
212
+ g(o), g(a), m = !1;
144
213
  },
145
- d(r) {
146
- r && I(e), a[o].d();
214
+ d(s) {
215
+ s && p(e), u[n].d(), s && p(t), a && a.d(s), s && p(l);
147
216
  }
148
217
  };
149
218
  }
150
- function O(l) {
151
- let e, o, t = (
219
+ function oe(i) {
220
+ let e, n, o = (
152
221
  /*rooms*/
153
- l[0]
154
- ), n = [];
155
- for (let a = 0; a < t.length; a += 1)
156
- n[a] = $(y(l, t, a));
157
- const i = (a) => s(n[a], 1, 1, () => {
158
- n[a] = null;
222
+ i[1]
223
+ ), t = [];
224
+ for (let l = 0; l < o.length; l += 1)
225
+ t[l] = L(z(i, o, l));
226
+ const r = (l) => g(t[l], 1, 1, () => {
227
+ t[l] = null;
159
228
  });
160
229
  return {
161
230
  c() {
162
- e = S("div");
163
- for (let a = 0; a < n.length; a += 1)
164
- n[a].c();
165
- m(e, "class", "floorplan-plugin__room-material svelte-1dykexu");
166
- },
167
- m(a, f) {
168
- x(a, e, f);
169
- for (let r = 0; r < n.length; r += 1)
170
- n[r] && n[r].m(e, null);
171
- o = !0;
172
- },
173
- p(a, [f]) {
174
- if (f & /*boundingWidth, boundingHeight, rooms*/
175
- 7) {
176
- t = /*rooms*/
177
- a[0];
178
- let r;
179
- for (r = 0; r < t.length; r += 1) {
180
- const c = y(a, t, r);
181
- n[r] ? (n[r].p(c, f), u(n[r], 1)) : (n[r] = $(c), n[r].c(), u(n[r], 1), n[r].m(e, null));
231
+ e = j("div");
232
+ for (let l = 0; l < t.length; l += 1)
233
+ t[l].c();
234
+ h(e, "class", "floorplan-plugin__room-material svelte-1dykexu");
235
+ },
236
+ m(l, m) {
237
+ d(l, e, m);
238
+ for (let f = 0; f < t.length; f += 1)
239
+ t[f] && t[f].m(e, null);
240
+ n = !0;
241
+ },
242
+ p(l, [m]) {
243
+ if (m & /*floorplanData, boundingWidth, boundingHeight, rooms, allowShowArrow, Array*/
244
+ 31) {
245
+ o = /*rooms*/
246
+ l[1];
247
+ let f;
248
+ for (f = 0; f < o.length; f += 1) {
249
+ const u = z(l, o, f);
250
+ t[f] ? (t[f].p(u, m), _(t[f], 1)) : (t[f] = L(u), t[f].c(), _(t[f], 1), t[f].m(e, null));
182
251
  }
183
- for (w(), r = t.length; r < n.length; r += 1)
184
- i(r);
185
- D();
252
+ for ($(), f = o.length; f < t.length; f += 1)
253
+ r(f);
254
+ A();
186
255
  }
187
256
  },
188
- i(a) {
189
- if (!o) {
190
- for (let f = 0; f < t.length; f += 1)
191
- u(n[f]);
192
- o = !0;
257
+ i(l) {
258
+ if (!n) {
259
+ for (let m = 0; m < o.length; m += 1)
260
+ _(t[m]);
261
+ n = !0;
193
262
  }
194
263
  },
195
- o(a) {
196
- n = n.filter(Boolean);
197
- for (let f = 0; f < n.length; f += 1)
198
- s(n[f]);
199
- o = !1;
264
+ o(l) {
265
+ t = t.filter(Boolean);
266
+ for (let m = 0; m < t.length; m += 1)
267
+ g(t[m]);
268
+ n = !1;
200
269
  },
201
- d(a) {
202
- a && I(e), W(n, a);
270
+ d(l) {
271
+ l && p(e), G(t, l);
203
272
  }
204
273
  };
205
274
  }
206
- function Q(l, e, o) {
207
- let t, { floorIndex: n } = e, { floorplanData: i } = e;
208
- const a = i.bounding.max.x - i.bounding.min.x, f = i.bounding.max.y - i.bounding.min.y;
209
- return l.$$set = (r) => {
210
- "floorIndex" in r && o(3, n = r.floorIndex), "floorplanData" in r && o(4, i = r.floorplanData);
211
- }, l.$$.update = () => {
212
- l.$$.dirty & /*floorplanData, floorIndex*/
213
- 24 && o(0, t = i.floorDatas[n].rooms.map((r) => v(k({}, r), {
214
- path: r.path.map((c) => z(c, i.bounding))
275
+ function ne(i, e, n) {
276
+ let o, { roomLabelsEnable: t } = e, { roomDimensionEnable: r } = e, { floorIndex: l } = e, { floorplanData: m } = e;
277
+ const f = m.bounding.max.x - m.bounding.min.x, u = m.bounding.max.y - m.bounding.min.y, b = t && r;
278
+ return i.$$set = (a) => {
279
+ "roomLabelsEnable" in a && n(5, t = a.roomLabelsEnable), "roomDimensionEnable" in a && n(6, r = a.roomDimensionEnable), "floorIndex" in a && n(7, l = a.floorIndex), "floorplanData" in a && n(0, m = a.floorplanData);
280
+ }, i.$$.update = () => {
281
+ i.$$.dirty & /*floorplanData, floorIndex*/
282
+ 129 && n(1, o = m.floorDatas[l].rooms.map((a) => R(B({}, a), {
283
+ path: a.path.map((s) => O(s, m.bounding))
215
284
  })));
216
- }, [t, a, f, n, i];
285
+ }, [
286
+ m,
287
+ o,
288
+ f,
289
+ u,
290
+ b,
291
+ t,
292
+ r,
293
+ l
294
+ ];
217
295
  }
218
- class te extends C {
296
+ class fe extends H {
219
297
  constructor(e) {
220
- super(), F(this, e, Q, O, H, { floorIndex: 3, floorplanData: 4 }, J);
298
+ super(), N(
299
+ this,
300
+ e,
301
+ ne,
302
+ oe,
303
+ P,
304
+ {
305
+ roomLabelsEnable: 5,
306
+ roomDimensionEnable: 6,
307
+ floorIndex: 7,
308
+ floorplanData: 0
309
+ },
310
+ Y
311
+ );
221
312
  }
222
313
  }
223
314
  export {
224
- te as RoomMaterial
315
+ fe as RoomMaterial
225
316
  };
@@ -0,0 +1,103 @@
1
+ import { SvelteComponent as d, init as m, safe_not_equal as v, svg_element as u, attr as n, insert as z, noop as l, detach as f } from "../../../vendor/svelte/internal/index.js";
2
+ import { pathD as r } from "../../utils/formatPosition.js";
3
+ function g(i) {
4
+ let e;
5
+ return {
6
+ c() {
7
+ e = u("path"), n(
8
+ e,
9
+ "d",
10
+ /*mergedPath*/
11
+ i[0]
12
+ ), n(e, "fill", "#969696"), n(e, "stroke", "#969696"), n(e, "stroke-width", "1"), n(e, "fill-rule", "evenodd");
13
+ },
14
+ m(o, t) {
15
+ z(o, e, t);
16
+ },
17
+ p: l,
18
+ i: l,
19
+ o: l,
20
+ d(o) {
21
+ o && f(e);
22
+ }
23
+ };
24
+ }
25
+ function p(i, e, o) {
26
+ let { dimension: t } = e;
27
+ const x = r(
28
+ [
29
+ {
30
+ x: t.vertical[1].x,
31
+ y: t.vertical[1].y - 53
32
+ },
33
+ {
34
+ x: t.vertical[1].x - 60,
35
+ y: t.vertical[1].y - 124
36
+ },
37
+ {
38
+ x: t.vertical[1].x + 60,
39
+ y: t.vertical[1].y - 124
40
+ }
41
+ ],
42
+ { needZ: !0 }
43
+ ), y = r(
44
+ [
45
+ {
46
+ x: t.vertical[0].x,
47
+ y: t.vertical[0].y + 53
48
+ },
49
+ {
50
+ x: t.vertical[0].x - 60,
51
+ y: t.vertical[0].y + 124
52
+ },
53
+ {
54
+ x: t.vertical[0].x + 60,
55
+ y: t.vertical[0].y + 124
56
+ }
57
+ ],
58
+ { needZ: !0 }
59
+ ), s = r(
60
+ [
61
+ {
62
+ x: t.horizontal[0].x + 53,
63
+ y: t.horizontal[0].y
64
+ },
65
+ {
66
+ x: t.horizontal[0].x + 124,
67
+ y: t.horizontal[0].y + 60
68
+ },
69
+ {
70
+ x: t.horizontal[0].x + 124,
71
+ y: t.horizontal[0].y - 60
72
+ }
73
+ ],
74
+ { needZ: !0 }
75
+ ), h = r(
76
+ [
77
+ {
78
+ x: t.horizontal[1].x - 53,
79
+ y: t.horizontal[1].y
80
+ },
81
+ {
82
+ x: t.horizontal[1].x - 124,
83
+ y: t.horizontal[1].y + 60
84
+ },
85
+ {
86
+ x: t.horizontal[1].x - 124,
87
+ y: t.horizontal[1].y - 60
88
+ }
89
+ ],
90
+ { needZ: !0 }
91
+ ), a = `${x} ${y} ${s} ${h}`;
92
+ return console.log("绘制三角形:", a), i.$$set = (c) => {
93
+ "dimension" in c && o(1, t = c.dimension);
94
+ }, [a, t];
95
+ }
96
+ class _ extends d {
97
+ constructor(e) {
98
+ super(), m(this, e, p, g, v, { dimension: 1 });
99
+ }
100
+ }
101
+ export {
102
+ _ as RoomTriangle
103
+ };
@@ -0,0 +1 @@
1
+ export { SvelteComponentTyped as default } from 'svelte/internal';
@@ -76,6 +76,7 @@ import "../utils/formatPosition.js";
76
76
  import "../Components/RoomMaterials/RoomMaterial_0.js";
77
77
  import "../Components/RoomMaterials/RoomMaterial_1.js";
78
78
  import "../Components/RoomMaterials/RoomMaterial_2.js";
79
+ import "../Components/RoomMaterials/RoomTriangle.js";
79
80
  import "../Components/RoomHighlight/RoomHighlight.js";
80
81
  import "../Components/RoomHighlight/Room.js";
81
82
  import "../Components/MissingFloor.js";
@@ -144,7 +145,7 @@ function Z(l) {
144
145
  const { latitude: h, longitude: t } = l, e = Math.abs(h - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
145
146
  return e && i;
146
147
  }
147
- class Ke extends G {
148
+ class Qe extends G {
148
149
  constructor(t, e) {
149
150
  var n, d;
150
151
  super(t);
@@ -378,7 +379,7 @@ class Ke extends G {
378
379
  getRoomDimensionText: (p, u) => (p / 1e3).toFixed(1) + "m × " + (u / 1e3).toFixed(1) + "m",
379
380
  getRuleDistanceText: (p) => p.toString()
380
381
  }, s = e ? F(e, ["selector", "scale"]) : {}, a = m(m({}, i.missingFloorConfig), s.missingFloorConfig), r = g(m(m({}, i), s), { missingFloorConfig: a });
381
- this.state = { enabled: !0, visible: !1, config: r }, this.initContainer(), Y(t).then(this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener(), console.log("baseConfig: ", i);
382
+ this.state = { enabled: !0, visible: !1, config: r }, this.initContainer(), Y(t).then(this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
382
383
  }
383
384
  load(t, e, i = !0) {
384
385
  return f(this, null, function* () {
@@ -388,7 +389,7 @@ class Ke extends G {
388
389
  const a = t;
389
390
  a && q(a.version) && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
390
391
  const r = JSON.parse(JSON.stringify(t)), n = s(r) ? r.data : r, d = this.data;
391
- this.data = yield A(n), console.log(this.data), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, d), e && this.updateState(e, i), this.render();
392
+ this.data = yield A(n), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, d), e && this.updateState(e, i), this.render();
392
393
  });
393
394
  }
394
395
  loadItems(t) {
@@ -503,5 +504,5 @@ class Ke extends G {
503
504
  }
504
505
  }
505
506
  export {
506
- Ke as Controller
507
+ Qe as Controller
507
508
  };
@@ -26,6 +26,7 @@ import "../utils/formatPosition.js";
26
26
  import "../Components/RoomMaterials/RoomMaterial_0.js";
27
27
  import "../Components/RoomMaterials/RoomMaterial_1.js";
28
28
  import "../Components/RoomMaterials/RoomMaterial_2.js";
29
+ import "../Components/RoomMaterials/RoomTriangle.js";
29
30
  import "../Components/RoomHighlight/RoomHighlight.js";
30
31
  import "../Components/RoomHighlight/Room.js";
31
32
  import "../Components/MissingFloor.js";
@@ -107,8 +108,8 @@ import "../utils/constant.js";
107
108
  import "../../shared-utils/nearlyEqual.js";
108
109
  import "../../shared-utils/five/changeMode.js";
109
110
  import "../../shared-utils/changeModelCanvasOpacity.js";
110
- const mr = (o, r) => new t(o, r);
111
+ const er = (o, r) => new t(o, r);
111
112
  export {
112
- mr as MapviewFloorplanPlugin,
113
- mr as default
113
+ er as MapviewFloorplanPlugin,
114
+ er as default
114
115
  };
@@ -74,6 +74,7 @@ import "../utils/formatPosition.js";
74
74
  import "../Components/RoomMaterials/RoomMaterial_0.js";
75
75
  import "../Components/RoomMaterials/RoomMaterial_1.js";
76
76
  import "../Components/RoomMaterials/RoomMaterial_2.js";
77
+ import "../Components/RoomMaterials/RoomTriangle.js";
77
78
  import "../Components/RoomHighlight/RoomHighlight.js";
78
79
  import "../Components/RoomHighlight/Room.js";
79
80
  import "../Components/MissingFloor.js";
@@ -142,7 +143,7 @@ function z(d) {
142
143
  const { latitude: s, longitude: t } = d, e = Math.abs(s - Math.PI / 2) < 10 * Math.PI / 180, i = t < 30 * (Math.PI / 180) || t > 330 * (Math.PI / 180);
143
144
  return e && i;
144
145
  }
145
- class Ne extends T {
146
+ class Ue extends T {
146
147
  constructor(t, e) {
147
148
  var a, p, c;
148
149
  super(t);
@@ -476,5 +477,5 @@ class Ne extends T {
476
477
  }
477
478
  }
478
479
  export {
479
- Ne as Controller
480
+ Ue as Controller
480
481
  };