@realsee/dnalogel 3.64.23-alpha.1 → 3.64.23-alpha.16

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 (588) hide show
  1. package/CHANGELOG.md +5 -6
  2. package/dist/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
  3. package/dist/ModelMakerPlugin/Controller.d.ts +38 -1
  4. package/dist/ModelMakerPlugin/item/baseItem.d.ts +5 -0
  5. package/dist/ModelMakerPlugin/item/boxItem.d.ts +5 -1
  6. package/dist/ModelMakerPlugin/typings/data.d.ts +2 -0
  7. package/dist/ModelMakerPlugin/utils/BoxLabelItem.svelte.d.ts +1 -0
  8. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +5 -18
  9. package/dist/Sculpt/Meshes/Prism.d.ts +6 -1
  10. package/dist/floorplan/typings/floorplanData.d.ts +49 -0
  11. package/dist/floorplan/typings/floorplanServerData.d.ts +2 -0
  12. package/dist/index.cjs.js +136 -89
  13. package/dist/index.js +9947 -9610
  14. package/dist/index.umd.js +124 -77
  15. package/dist/shared-utils/three/index.d.ts +0 -4
  16. package/docs/assets/navigation.js +1 -1
  17. package/docs/assets/search.js +1 -1
  18. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +25 -25
  19. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +28 -28
  20. package/docs/classes/CSS3DRender.html +3 -3
  21. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  22. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +26 -26
  23. package/docs/classes/ModelMakerPluginInstance.html +30 -15
  24. package/docs/classes/ModelRoomLabelController.html +6 -6
  25. package/docs/classes/MoveController.html +17 -17
  26. package/docs/classes/Object3DHelperController.html +15 -15
  27. package/docs/classes/PaintBrush.html +5 -5
  28. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  29. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  30. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  31. package/docs/classes/PanoMeasurePluginPolyline.html +4 -4
  32. package/docs/classes/PanoTagPluginController.html +35 -37
  33. package/docs/classes/Sculpt.html +23 -23
  34. package/docs/classes/Util.BetterTween.html +2 -2
  35. package/docs/classes/Util.FiveDomEvents.html +4 -4
  36. package/docs/classes/Util.FivePuppet.html +3 -3
  37. package/docs/classes/Util.Interval.html +5 -5
  38. package/docs/classes/Util.LightTag.html +15 -15
  39. package/docs/classes/Util.LineSegments.html +2 -2
  40. package/docs/classes/Util.Magnifier.html +6 -6
  41. package/docs/classes/Util.Object3D.html +4 -4
  42. package/docs/classes/Util.PointHelper.html +2 -2
  43. package/docs/classes/Util.PointSelector.html +16 -16
  44. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  45. package/docs/classes/Util.Rectangle.html +5 -5
  46. package/docs/classes/Util.sculpt.BaseEditor.html +7 -7
  47. package/docs/classes/Util.sculpt.BoxMesh.html +10 -7
  48. package/docs/classes/Util.sculpt.BoxMeshEditor.html +7 -7
  49. package/docs/classes/Util.sculpt.CircleMesh.html +4 -4
  50. package/docs/classes/Util.sculpt.CircleMeshEditor.html +7 -7
  51. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +4 -4
  52. package/docs/classes/Util.sculpt.CylinderMesh.html +5 -5
  53. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +7 -7
  54. package/docs/classes/Util.sculpt.LineMesh.html +5 -5
  55. package/docs/classes/Util.sculpt.PointMesh.html +5 -5
  56. package/docs/classes/Util.sculpt.PolygonMesh.html +6 -6
  57. package/docs/classes/Util.sculpt.PrismMesh.html +10 -7
  58. package/docs/classes/Util.sculpt.PrismMeshEditor.html +7 -7
  59. package/docs/classes/Util.sculpt.RectangleMesh.html +7 -7
  60. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +7 -7
  61. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +7 -7
  62. package/docs/classes/WalkController.html +18 -18
  63. package/docs/enums/CameraMovementEffect.html +3 -3
  64. package/docs/enums/ContentType.html +18 -18
  65. package/docs/enums/DIRECTION.html +2 -2
  66. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  67. package/docs/enums/DimensionType.html +3 -3
  68. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  69. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  70. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  71. package/docs/enums/PointType.html +3 -3
  72. package/docs/enums/Rotation.html +3 -3
  73. package/docs/functions/AreaMakerPlugin.html +1 -1
  74. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  75. package/docs/functions/CameraMovementPlugin.html +2 -2
  76. package/docs/functions/CruisePlugin.html +1 -1
  77. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  78. package/docs/functions/GuideLinePlugin.html +1 -1
  79. package/docs/functions/ItemLabelPlugin.html +1 -1
  80. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  81. package/docs/functions/MeasurePlugin.html +1 -1
  82. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  83. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  84. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  85. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  86. package/docs/functions/ModelMakerPlugin.html +1 -1
  87. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  88. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  89. package/docs/functions/ModelViewPlugin.html +2 -2
  90. package/docs/functions/MovePlugin.html +1 -1
  91. package/docs/functions/Object3DHelperPlugin.html +1 -1
  92. package/docs/functions/PanoCompassPlugin.html +1 -1
  93. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  94. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  95. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  96. package/docs/functions/PanoMeasurePlugin.html +1 -1
  97. package/docs/functions/PanoRulerPlugin.html +2 -2
  98. package/docs/functions/PanoRulerProPlugin.html +2 -2
  99. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  100. package/docs/functions/PanoTagPlugin.html +1 -1
  101. package/docs/functions/PanoVideoPlugin.html +2 -2
  102. package/docs/functions/PipelinePlugin.html +1 -1
  103. package/docs/functions/SculptPlugin.html +2 -2
  104. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  105. package/docs/functions/Util.absoluteUrl.html +2 -2
  106. package/docs/functions/Util.awaitNextFrame.html +1 -1
  107. package/docs/functions/Util.blink.html +2 -2
  108. package/docs/functions/Util.bounding.html +1 -1
  109. package/docs/functions/Util.boundingBox.html +1 -1
  110. package/docs/functions/Util.boundingSphere.html +1 -1
  111. package/docs/functions/Util.boxVertex.html +2 -2
  112. package/docs/functions/Util.boxVertexes.html +1 -1
  113. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  114. package/docs/functions/Util.convexHull.html +2 -2
  115. package/docs/functions/Util.equal.html +2 -2
  116. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  117. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  118. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  119. package/docs/functions/Util.getFrameTime.html +2 -2
  120. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  121. package/docs/functions/Util.inside.html +1 -1
  122. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  123. package/docs/functions/Util.isModelLike.html +1 -1
  124. package/docs/functions/Util.isNil.html +2 -2
  125. package/docs/functions/Util.isPanoramaLike.html +1 -1
  126. package/docs/functions/Util.lookObject.html +2 -2
  127. package/docs/functions/Util.lookPoint.html +2 -2
  128. package/docs/functions/Util.nextFrame.html +1 -1
  129. package/docs/functions/Util.notNil.html +2 -2
  130. package/docs/functions/Util.reblink.html +2 -2
  131. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  132. package/docs/functions/Util.sculpt.createBox.html +1 -1
  133. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  134. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  135. package/docs/functions/Util.sculpt.createLine.html +2 -2
  136. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  137. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  138. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  139. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  140. package/docs/functions/Util.tag.html +1 -1
  141. package/docs/functions/Util.tweenProgress.html +1 -1
  142. package/docs/functions/Util.uuid.html +2 -2
  143. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  144. package/docs/functions/Util.worldBounding.html +1 -1
  145. package/docs/functions/Util.worldBoundingBox.html +1 -1
  146. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  147. package/docs/functions/createPolyline.html +2 -2
  148. package/docs/functions/pluginFlag.html +1 -1
  149. package/docs/hierarchy.html +1 -1
  150. package/docs/index.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  152. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  153. package/docs/interfaces/AreaMakerPluginType.EventMap.html +12 -12
  154. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  155. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +4 -4
  156. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  157. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  158. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  159. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  160. package/docs/interfaces/AreaMakerPluginType.State.html +5 -5
  161. package/docs/interfaces/CSS3DRenderPluginEventMap.html +4 -4
  162. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  163. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  164. package/docs/interfaces/ContentTypeMapInterface.html +15 -15
  165. package/docs/interfaces/CruisePluginTypes.Config.html +4 -4
  166. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.EventMap.html +17 -17
  168. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  169. package/docs/interfaces/CruisePluginTypes.MoveAction.html +8 -8
  170. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +9 -9
  171. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +10 -10
  172. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  173. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  174. package/docs/interfaces/CruisePluginTypes.PluginState.html +7 -7
  175. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +7 -7
  176. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +8 -8
  177. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  178. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  179. package/docs/interfaces/CurrentPanoImagePluginType.State.html +4 -4
  180. package/docs/interfaces/FloorplanBounding.html +5 -5
  181. package/docs/interfaces/FloorplanData.html +4 -3
  182. package/docs/interfaces/FloorplanEntrance.html +8 -8
  183. package/docs/interfaces/FloorplanExtraObject.html +5 -5
  184. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  185. package/docs/interfaces/FloorplanFloorData.html +3 -3
  186. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  187. package/docs/interfaces/FloorplanObserver.html +3 -3
  188. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  189. package/docs/interfaces/FloorplanPosition.html +3 -3
  190. package/docs/interfaces/FloorplanRoomItem.html +9 -9
  191. package/docs/interfaces/FloorplanRoomLabelItem.html +4 -4
  192. package/docs/interfaces/FloorplanServerBounding.html +5 -5
  193. package/docs/interfaces/FloorplanServerComputedData.html +3 -2
  194. package/docs/interfaces/FloorplanServerData.html +3 -3
  195. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  196. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  197. package/docs/interfaces/FloorplanServerEntrance.html +8 -8
  198. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  199. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  200. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  201. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  202. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  203. package/docs/interfaces/FloorplanServerRoomItem.html +10 -10
  204. package/docs/interfaces/FloorplanServerRoomLabelItem.html +4 -4
  205. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  207. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  208. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +3 -3
  209. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -5
  210. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  211. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  212. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  213. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  214. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  215. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -20
  217. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  218. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  219. package/docs/interfaces/GuideLinePluginType.PluginState.html +4 -4
  220. package/docs/interfaces/GuideLinePluginType.Route.html +6 -6
  221. package/docs/interfaces/HelperOffset.html +2 -2
  222. package/docs/interfaces/IFloorplanArea.html +25 -0
  223. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  224. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  225. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  226. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  227. package/docs/interfaces/MinMax.html +2 -2
  228. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  229. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  230. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  231. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  232. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  233. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  234. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  235. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.EventMap.html +10 -10
  237. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  238. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +5 -4
  239. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  240. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +4 -4
  241. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +4 -4
  242. package/docs/interfaces/ModelMakerPluginType.State.html +5 -5
  243. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  244. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  245. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  246. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  247. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  248. package/docs/interfaces/Object3DHelperState.html +2 -2
  249. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  250. package/docs/interfaces/PaintBrushAction.html +7 -7
  251. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  252. package/docs/interfaces/PaintBrushState.html +2 -2
  253. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +6 -6
  254. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  255. package/docs/interfaces/PanoMeasureParameterType.html +6 -6
  256. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  257. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  258. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  259. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +4 -4
  260. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  261. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  262. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  263. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  264. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  265. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  266. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  267. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  268. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  269. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  270. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  271. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  272. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  273. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  274. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  275. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  276. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  277. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -5
  278. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  279. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  280. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  281. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -5
  282. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +7 -7
  283. package/docs/interfaces/PluginEventMap.html +4 -4
  284. package/docs/interfaces/Point.html +2 -2
  285. package/docs/interfaces/Room.html +2 -2
  286. package/docs/interfaces/RoomInfo.html +2 -2
  287. package/docs/interfaces/RoomLabel.html +7 -7
  288. package/docs/interfaces/RoomRules.html +1 -1
  289. package/docs/interfaces/Rooms.html +1 -1
  290. package/docs/interfaces/Scissor.html +6 -6
  291. package/docs/interfaces/State.html +4 -4
  292. package/docs/interfaces/TagCacheInterface.html +3 -3
  293. package/docs/interfaces/TagConfig.html +11 -11
  294. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  295. package/docs/interfaces/TagIconUrl.html +9 -9
  296. package/docs/interfaces/TagObjectGroup.html +2 -2
  297. package/docs/interfaces/TagStyle.html +2 -2
  298. package/docs/interfaces/Tags.html +4 -4
  299. package/docs/interfaces/TemporaryState.html +2 -2
  300. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  301. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  302. package/docs/interfaces/Util.EventHandlerConfig.html +6 -6
  303. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  304. package/docs/interfaces/Util.FiveDomEventMap.html +10 -10
  305. package/docs/interfaces/Util.MagnifierParameter.html +5 -5
  306. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  307. package/docs/interfaces/Util.PointIntersection.html +11 -11
  308. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  309. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  310. package/docs/modules/AreaMakerPluginType.html +2 -2
  311. package/docs/modules/CruisePluginTypes.html +2 -2
  312. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  313. package/docs/modules/GuideLineItem.html +2 -2
  314. package/docs/modules/GuideLineModeItem.html +2 -2
  315. package/docs/modules/GuideLinePluginType.html +2 -2
  316. package/docs/modules/ModelMakerPluginType.html +2 -2
  317. package/docs/modules/PanoVideoPluginType.html +2 -2
  318. package/docs/modules/SculptData.html +2 -2
  319. package/docs/modules/SculptType.html +2 -2
  320. package/docs/modules/Util.html +2 -7
  321. package/docs/modules/Util.sculpt.html +2 -2
  322. package/docs/modules.html +3 -2
  323. package/docs/types/AddObject3DHelperConfig.html +2 -2
  324. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  325. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  326. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  327. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  328. package/docs/types/ArrayPosition.html +1 -1
  329. package/docs/types/AudioAppearance.html +1 -1
  330. package/docs/types/CSS3DRenderExportType.html +1 -1
  331. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  332. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  333. package/docs/types/ClassFunctionParameters.html +1 -1
  334. package/docs/types/Color.html +1 -1
  335. package/docs/types/ContentTypeConfigKey.html +1 -1
  336. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  337. package/docs/types/ContentTypeMap.html +1 -1
  338. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  339. package/docs/types/Create3DElementReturnType.html +1 -1
  340. package/docs/types/CruisePluginExportType.html +1 -1
  341. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  342. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  343. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  344. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  345. package/docs/types/DeprecatedTagProperty.html +2 -2
  346. package/docs/types/Direction-1.html +1 -1
  347. package/docs/types/Direction4.html +1 -1
  348. package/docs/types/ElementRenderer.html +2 -2
  349. package/docs/types/FloorplanRuleLabels.html +2 -2
  350. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  351. package/docs/types/GuideLinePluginExportType.html +1 -1
  352. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  353. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  354. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  355. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  356. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  357. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  358. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  359. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  360. package/docs/types/HelperEventMap.html +1 -1
  361. package/docs/types/InternalHelperEventMap.html +1 -1
  362. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  363. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  364. package/docs/types/MeasurePluginConfig.html +1 -1
  365. package/docs/types/MediaData.html +2 -2
  366. package/docs/types/MediaStore.html +1 -1
  367. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  368. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  369. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  370. package/docs/types/ModelId.html +1 -1
  371. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  372. package/docs/types/ModelMakerPluginType.ItemType.html +1 -1
  373. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  374. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  375. package/docs/types/MoveArgs.html +2 -2
  376. package/docs/types/MoveOpts.html +2 -2
  377. package/docs/types/Object3DHelperEventMap.html +1 -1
  378. package/docs/types/ObjectFit.html +1 -1
  379. package/docs/types/PaintBrushEventMap.html +1 -1
  380. package/docs/types/PanoCompassPluginData.html +1 -1
  381. package/docs/types/PanoCompassPluginExportType.html +1 -1
  382. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  383. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  384. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  385. package/docs/types/PanoIndex.html +1 -1
  386. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  387. package/docs/types/PanoMeasureReturnType.html +1 -1
  388. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  389. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  390. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  391. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  392. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  393. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  394. package/docs/types/PipelinePluginParameterType.html +1 -1
  395. package/docs/types/PipelinePluginReturnType.html +1 -1
  396. package/docs/types/PlaneTag.html +2 -2
  397. package/docs/types/Point2DTag.html +2 -2
  398. package/docs/types/Point3DTag.html +2 -2
  399. package/docs/types/PointTagInstance.html +1 -1
  400. package/docs/types/Position.html +1 -1
  401. package/docs/types/PositionFrom.html +1 -1
  402. package/docs/types/RotateArgs.html +2 -2
  403. package/docs/types/RotateOpts.html +2 -2
  404. package/docs/types/RuleLabelsKey.html +1 -1
  405. package/docs/types/RuleLabelsValue.html +1 -1
  406. package/docs/types/ScaleCallback.html +1 -1
  407. package/docs/types/ScalePosition.html +2 -2
  408. package/docs/types/SculptData.BoxData.html +1 -1
  409. package/docs/types/SculptData.CircleData.html +1 -1
  410. package/docs/types/SculptData.CylinderData.html +1 -1
  411. package/docs/types/SculptData.PointData.html +1 -1
  412. package/docs/types/SculptData.PolygonData.html +1 -1
  413. package/docs/types/SculptData.PolylineData.html +1 -1
  414. package/docs/types/SculptData.PrismData.html +1 -1
  415. package/docs/types/SculptData.RectangleData.html +1 -1
  416. package/docs/types/SculptType.Theme.html +2 -2
  417. package/docs/types/StickType.html +1 -1
  418. package/docs/types/Tag.html +2 -2
  419. package/docs/types/Tag2D.html +2 -2
  420. package/docs/types/Tag3D.html +2 -2
  421. package/docs/types/TagClickParams.html +1 -1
  422. package/docs/types/TagConfigByKey.html +1 -1
  423. package/docs/types/TagContentType.html +1 -1
  424. package/docs/types/TagContentTypeMapping.html +1 -1
  425. package/docs/types/TagDimensionType.html +1 -1
  426. package/docs/types/TagElement.html +2 -2
  427. package/docs/types/TagEvents.html +1 -1
  428. package/docs/types/TagGLTFObject.html +1 -1
  429. package/docs/types/TagHooks.html +1 -1
  430. package/docs/types/TagId.html +1 -1
  431. package/docs/types/TagInstance.html +1 -1
  432. package/docs/types/TagPointType.html +2 -2
  433. package/docs/types/TagRendererMap.html +1 -1
  434. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  435. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  436. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  437. package/docs/types/Util.AdherePoint.html +2 -2
  438. package/docs/types/Util.PointSelectorConfig.html +1 -1
  439. package/docs/types/WorkCode.html +1 -1
  440. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  441. package/docs/variables/PLUGIN.html +1 -1
  442. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  443. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  444. package/docs/variables/Util.animeMap.html +1 -1
  445. package/docs/variables/defaultGlobalConfig.html +1 -1
  446. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  447. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  448. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  449. package/libs/AreaMakerPlugin/Controller.js +2 -6
  450. package/libs/AreaMakerPlugin/index.js +5 -9
  451. package/libs/AreaMakerPlugin/utils/Item.js +3 -7
  452. package/libs/CSS3DRenderPlugin/Controller.js +1 -1
  453. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +12 -16
  454. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.d.ts +1 -1
  455. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +14 -13
  456. package/libs/CruisePlugin/BaseController.js +11 -15
  457. package/libs/CruisePlugin/Move.js +6 -10
  458. package/libs/CruisePlugin/Work.js +6 -10
  459. package/libs/CruisePlugin/index.js +15 -19
  460. package/libs/CurrentPanoImagePlugin/Controller.js +12 -16
  461. package/libs/CurrentPanoImagePlugin/index.js +9 -13
  462. package/libs/GuideLinePlugin/Controller.js +8 -12
  463. package/libs/GuideLinePlugin/GuideLineItem.js +11 -15
  464. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -4
  465. package/libs/GuideLinePlugin/GuideLineModeItem.js +6 -10
  466. package/libs/GuideLinePlugin/index.js +15 -19
  467. package/libs/MeasurePlugin/Controller.js +36 -40
  468. package/libs/MeasurePlugin/index.js +8 -12
  469. package/libs/MeasurePlugin/utils/MeasureMesh.js +8 -12
  470. package/libs/ModelMakerPlugin/Controller.d.ts +38 -1
  471. package/libs/ModelMakerPlugin/Controller.js +401 -140
  472. package/libs/ModelMakerPlugin/index.js +9 -12
  473. package/libs/ModelMakerPlugin/item/baseItem.d.ts +5 -0
  474. package/libs/ModelMakerPlugin/item/baseItem.js +47 -31
  475. package/libs/ModelMakerPlugin/item/boxItem.d.ts +5 -1
  476. package/libs/ModelMakerPlugin/item/boxItem.js +42 -23
  477. package/libs/ModelMakerPlugin/item/polygonItem.js +8 -12
  478. package/libs/ModelMakerPlugin/item/prismItem.js +2 -6
  479. package/libs/ModelMakerPlugin/typings/data.d.ts +2 -0
  480. package/libs/ModelMakerPlugin/utils/BoxLabelItem.js +204 -0
  481. package/libs/ModelMakerPlugin/utils/BoxLabelItem.svelte.d.ts +1 -0
  482. package/libs/ModelMakerPlugin/utils/tagRenderer.js +18 -10
  483. package/libs/ModelViewPlugin/Plugin.js +59 -63
  484. package/libs/ModelViewPlugin/index.js +5 -9
  485. package/libs/Object3DHelperPlugin/Controller.js +3 -3
  486. package/libs/Object3DHelperPlugin/index.js +10 -10
  487. package/libs/PanoCompassPlugin/Controller.js +9 -9
  488. package/libs/PanoCompassPlugin/index.js +9 -9
  489. package/libs/PanoDoorLabelPlugin/Controller.js +30 -34
  490. package/libs/PanoDoorLabelPlugin/index.js +9 -13
  491. package/libs/PanoMeasurePlugin/Components/Controller0.js +7 -11
  492. package/libs/PanoMeasurePlugin/Components/Controller1.js +7 -11
  493. package/libs/PanoMeasurePlugin/Controller/EditController.js +2 -6
  494. package/libs/PanoMeasurePlugin/Controller/WatchController.js +7 -11
  495. package/libs/PanoMeasurePlugin/Controller/index.js +7 -11
  496. package/libs/PanoMeasurePlugin/Model/area.js +15 -19
  497. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +0 -4
  498. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +7 -11
  499. package/libs/PanoMeasurePlugin/index.js +13 -17
  500. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +2 -6
  501. package/libs/PanoRulerProPlugin/Controller.js +7 -11
  502. package/libs/PanoRulerProPlugin/RulerItems.js +3 -7
  503. package/libs/PanoRulerProPlugin/index.js +8 -12
  504. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -28
  505. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +51 -55
  506. package/libs/PanoTagPlugin/Components/Tag/index.js +2 -6
  507. package/libs/PanoTagPlugin/Components/TagContainer.js +8 -12
  508. package/libs/PanoTagPlugin/Components/TagItem.js +46 -50
  509. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -7
  510. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +4 -8
  511. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +4 -8
  512. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +17 -21
  513. package/libs/PanoTagPlugin/controller/TagRender.js +21 -30
  514. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +5 -18
  515. package/libs/PanoTagPlugin/controller/TagUtil.js +120 -197
  516. package/libs/PanoTagPlugin/controller/index.js +10 -14
  517. package/libs/PanoTagPlugin/index.js +28 -32
  518. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +2 -6
  519. package/libs/PanoVideoPlugin/Controller.js +8 -12
  520. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -7
  521. package/libs/PanoVideoPlugin/index.js +11 -15
  522. package/libs/PipelinePlugin/Controller.js +2 -6
  523. package/libs/PipelinePlugin/index.js +9 -13
  524. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +13 -17
  525. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -7
  526. package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -5
  527. package/libs/Sculpt/Meshes/Circle.js +10 -11
  528. package/libs/Sculpt/Meshes/Cylinder.js +8 -9
  529. package/libs/Sculpt/Meshes/Line.js +3 -4
  530. package/libs/Sculpt/Meshes/LineWithDots.js +3 -4
  531. package/libs/Sculpt/Meshes/Point.js +6 -7
  532. package/libs/Sculpt/Meshes/Polygon.js +2 -3
  533. package/libs/Sculpt/Meshes/Prism.d.ts +6 -1
  534. package/libs/Sculpt/Meshes/Prism.js +37 -30
  535. package/libs/Sculpt/Meshes/Rectangle.js +2 -3
  536. package/libs/Sculpt/Objects/Base/index.js +0 -1
  537. package/libs/Sculpt/Objects/Line/Editor.js +6 -7
  538. package/libs/Sculpt/index.js +2 -3
  539. package/libs/Sculpt/utils/Meshes/getLengthHTML.js +1 -1
  540. package/libs/Sculpt/utils/three/ColoredMesh.js +2 -3
  541. package/libs/base/BasePlugin.js +6 -7
  542. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +146 -136
  543. package/libs/floorplan/Components/SvgImage.js +23 -17
  544. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +2 -6
  545. package/libs/floorplan/MapviewFloorplanPlugin/index.js +9 -13
  546. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +2 -6
  547. package/libs/floorplan/ModelFloorplanPlugin/index.js +9 -13
  548. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +44 -48
  549. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +9 -13
  550. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -6
  551. package/libs/floorplan/TopviewFloorplanPlugin/index.js +9 -13
  552. package/libs/floorplan/index.js +0 -1
  553. package/libs/floorplan/typings/floorplanData.d.ts +49 -0
  554. package/libs/floorplan/typings/floorplanServerData.d.ts +2 -0
  555. package/libs/floorplan/utils/formatData.js +14 -13
  556. package/libs/index.js +151 -155
  557. package/libs/shared-utils/CSS3DRender/CSS3DObject.js +2 -3
  558. package/libs/shared-utils/exports.js +38 -46
  559. package/libs/shared-utils/five/index.js +2 -3
  560. package/libs/shared-utils/five/lookObject.js +25 -26
  561. package/libs/shared-utils/index.js +0 -1
  562. package/libs/shared-utils/logger.js +1 -1
  563. package/libs/shared-utils/tag.js +3 -4
  564. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +7 -13
  565. package/libs/shared-utils/three/index.d.ts +0 -4
  566. package/libs/shared-utils/three/index.js +0 -1
  567. package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +91 -91
  568. package/package.json +1 -1
  569. package/dist/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +0 -4
  570. package/dist/shared-utils/three/LegacyPointHelper.d.ts +0 -22
  571. package/dist/shared-utils/three/PointDomHelper.d.ts +0 -18
  572. package/dist/shared-utils/three/getIntersect.d.ts +0 -21
  573. package/dist/shared-utils/three/getRaycaster.d.ts +0 -6
  574. package/docs/classes/Util.LegacyPointHelper.html +0 -7
  575. package/docs/classes/Util.PointDomHelper.html +0 -8
  576. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -1
  577. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -1
  578. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +0 -4
  579. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.d.ts +0 -4
  580. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +0 -67
  581. package/libs/shared-utils/three/LegacyPointHelper.d.ts +0 -22
  582. package/libs/shared-utils/three/LegacyPointHelper.js +0 -73
  583. package/libs/shared-utils/three/PointDomHelper.d.ts +0 -18
  584. package/libs/shared-utils/three/PointDomHelper.js +0 -69
  585. package/libs/shared-utils/three/getIntersect.d.ts +0 -21
  586. package/libs/shared-utils/three/getIntersect.js +0 -24
  587. package/libs/shared-utils/three/getRaycaster.d.ts +0 -6
  588. package/libs/shared-utils/three/getRaycaster.js +0 -12
@@ -1,4 +1,5 @@
1
1
  import { Controller as r } from "./Controller.js";
2
+ import "@realsee/five";
2
3
  import "../base/BasePluginWithData.js";
3
4
  import "../base/BasePlugin.js";
4
5
  import "../shared-utils/Subscribe.js";
@@ -35,30 +36,25 @@ import "../shared-utils/three/core/Five_LineMaterial2.js";
35
36
  import "../shared-utils/three/core/Sphere.js";
36
37
  import "../vendor/animejs/lib/anime.es.js";
37
38
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
38
- import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
39
- import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
40
- import "../shared-utils/createResizeObserver.js";
41
- import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
42
- import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
43
- import "../shared-utils/util.js";
44
- import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
39
+ import "../shared-utils/five/FivePuppet.js";
40
+ import "../shared-utils/five/fiveModelLoad.js";
45
41
  import "../shared-utils/three/PointSelector/utils/html.js";
46
42
  import "../shared-utils/CSS3DRender/index.js";
47
- import "../shared-utils/five/fiveModelLoad.js";
43
+ import "../shared-utils/CSS3DRender/CSS3DRenderer.js";
44
+ import "../shared-utils/createResizeObserver.js";
48
45
  import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
49
46
  import "../Sculpt/Meshes/Line.js";
50
47
  import "../Sculpt/typings/style.js";
51
48
  import "../shared-utils/three/IObject3D.js";
52
49
  import "../Sculpt/utils/Meshes/getLengthHTML.js";
53
50
  import "../shared-utils/three/applyObjectMatrixWorld.js";
51
+ import "../shared-utils/util.js";
54
52
  import "../shared-utils/three/core/LineGeometry.js";
55
53
  import "../shared-utils/three/core/LineMaterial.js";
56
54
  import "../shared-utils/three/core/Line2.js";
57
55
  import "../shared-utils/three/core/LineMaterial2.js";
58
56
  import "../Sculpt/utils/unit.js";
59
57
  import "../Sculpt/utils/renderDom.js";
60
- import "../shared-utils/five/FivePuppet.js";
61
- import "@realsee/five";
62
58
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
63
59
  import "../shared-utils/isTouchDevice.js";
64
60
  import "../shared-utils/five/getPosition.js";
@@ -94,11 +90,12 @@ import "../vendor/svelte/internal/index.js";
94
90
  import "../components/AreaLabel/LabelItem.js";
95
91
  import "../components/AreaLabel/Assets/roomLabelBg.js";
96
92
  import "../shared-utils/math/rad2Deg.js";
93
+ import "./utils/BoxLabelItem.js";
97
94
  import "./item/prismItem.js";
98
95
  import "./item/polygonItem.js";
99
96
  import "../CruisePlugin/utils/sleep.js";
100
97
  import "../shared-utils/constants.js";
101
- const Xo = (...o) => new r(...o);
98
+ const Uo = (...o) => new r(...o);
102
99
  export {
103
- Xo as ModelMakerPlugin
100
+ Uo as ModelMakerPlugin
104
101
  };
@@ -43,5 +43,10 @@ export declare class ModelMakerBaseItem extends Subscribe<Event> {
43
43
  disable(): void;
44
44
  updateVisible(): void;
45
45
  protected onClick(): boolean;
46
+ /**
47
+ * Helper method to find the controller instance
48
+ * Walks up the scene graph to find the ModelMakerPluginGroup
49
+ */
50
+ protected findController(): any;
46
51
  }
47
52
  export {};
@@ -1,11 +1,11 @@
1
1
  var p = Object.defineProperty;
2
- var h = (o, e, i) => e in o ? p(o, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[e] = i;
3
- var t = (o, e, i) => (h(o, typeof e != "symbol" ? e + "" : e, i), i);
2
+ var h = (r, o, i) => o in r ? p(r, o, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[o] = i;
3
+ var e = (r, o, i) => (h(r, typeof o != "symbol" ? o + "" : o, i), i);
4
4
  import * as l from "three";
5
- import { addIfNotExists as d } from "../../shared-utils/three/addIfNotExists.js";
6
- import { Subscribe as n } from "../../shared-utils/Subscribe.js";
5
+ import { addIfNotExists as n } from "../../shared-utils/three/addIfNotExists.js";
6
+ import { Subscribe as d } from "../../shared-utils/Subscribe.js";
7
7
  import { tag as a } from "../../shared-utils/tag.js";
8
- import { boundingBox as v } from "../../shared-utils/three/boundingBox.js";
8
+ import { boundingBox as u } from "../../shared-utils/three/boundingBox.js";
9
9
  import "../../shared-utils/positionToVector3.js";
10
10
  import "../../shared-utils/five/vector3ToScreen.js";
11
11
  import "../../shared-utils/five/getFiveModel.js";
@@ -37,52 +37,48 @@ import "../../shared-utils/three/core/Five_LineMaterial2.js";
37
37
  import "../../shared-utils/three/core/Sphere.js";
38
38
  import "../../vendor/animejs/lib/anime.es.js";
39
39
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
40
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
41
- import "../../shared-utils/CSS3DRender/CSS3DRenderer.js";
42
- import "../../shared-utils/createResizeObserver.js";
43
- import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
44
- import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
45
- import "../../shared-utils/util.js";
46
- import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
40
+ import "../../shared-utils/five/FivePuppet.js";
41
+ import "@realsee/five";
42
+ import "../../shared-utils/five/fiveModelLoad.js";
47
43
  import "../../shared-utils/three/PointSelector/utils/html.js";
48
44
  import "../../shared-utils/CSS3DRender/index.js";
49
- import "../../shared-utils/five/fiveModelLoad.js";
45
+ import "../../shared-utils/CSS3DRender/CSS3DRenderer.js";
46
+ import "../../shared-utils/createResizeObserver.js";
50
47
  import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
51
48
  import "../../Sculpt/Meshes/Line.js";
52
49
  import "../../Sculpt/typings/style.js";
53
50
  import "../../shared-utils/three/IObject3D.js";
54
51
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
55
52
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
53
+ import "../../shared-utils/util.js";
56
54
  import "../../shared-utils/three/core/LineGeometry.js";
57
55
  import "../../shared-utils/three/core/LineMaterial.js";
58
56
  import "../../shared-utils/three/core/Line2.js";
59
57
  import "../../shared-utils/three/core/LineMaterial2.js";
60
58
  import "../../Sculpt/utils/unit.js";
61
59
  import "../../Sculpt/utils/renderDom.js";
62
- import "../../shared-utils/five/FivePuppet.js";
63
- import "@realsee/five";
64
60
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
65
61
  import "../../shared-utils/isTouchDevice.js";
66
62
  import "../../shared-utils/five/getPosition.js";
67
63
  import "../../shared-utils/five/getRaycasterByNdcPosition.js";
68
64
  import "../../shared-utils/three/PointSelector/utils/contents.js";
69
65
  import "../../Sculpt/utils/three/rayOnLine.js";
70
- class Mi extends n {
66
+ class Di extends d {
71
67
  constructor(i) {
72
68
  var s, m;
73
69
  super();
74
- t(this, "type");
75
- t(this, "tag");
76
- t(this, "rawData");
77
- t(this, "model");
78
- t(this, "visibles", []);
79
- t(this, "five");
80
- t(this, "group");
81
- t(this, "fiveDomEvents");
82
- t(this, "disposers", []);
70
+ e(this, "type");
71
+ e(this, "tag");
72
+ e(this, "rawData");
73
+ e(this, "model");
74
+ e(this, "visibles", []);
75
+ e(this, "five");
76
+ e(this, "group");
77
+ e(this, "fiveDomEvents");
78
+ e(this, "disposers", []);
83
79
  this.five = i.five, this.model = i.model, this.group = i.group, this.type = i.type, this.rawData = i.rawData, this.fiveDomEvents = i.fiveDomEvents;
84
- const r = (m = (s = i.position) != null ? s : this.model.center) != null ? m : v(this.model).getCenter(new l.Vector3());
85
- this.tag = a(this.five, r, { wrapper: i.tagWrapper }), this.tag.extraObjectsForIntersectCheck.push(this.group);
80
+ const t = (m = (s = i.position) != null ? s : this.model.center) != null ? m : u(this.model).getCenter(new l.Vector3());
81
+ this.tag = a(this.five, t, { wrapper: i.tagWrapper }), this.tag.extraObjectsForIntersectCheck.push(this.group);
86
82
  }
87
83
  get container() {
88
84
  return this.tag.container;
@@ -100,7 +96,7 @@ class Mi extends n {
100
96
  this.visibles[0] = !1, this.updateVisible(), this.emit("hide");
101
97
  }
102
98
  enable() {
103
- d(this.group, this.model), this.five.needsRender = !0, this.model.updateMatrixWorld(!0), this.tag.setTransformMatrix(this.model.matrixWorld), this.tag.enable();
99
+ n(this.group, this.model), this.five.needsRender = !0, this.model.updateMatrixWorld(!0), this.tag.setTransformMatrix(this.model.matrixWorld), this.tag.enable();
104
100
  const i = this.onClick.bind(this);
105
101
  this.fiveDomEvents.removeEventListener(this.model, "click"), this.fiveDomEvents.addEventListener(this.model, "click", i, { skipPano: !0 }), this.disposers.push(() => {
106
102
  this.fiveDomEvents.removeEventListener(this.model, "click");
@@ -110,12 +106,32 @@ class Mi extends n {
110
106
  this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.disposers.forEach((i) => i()), this.disposers = [], this.emit("disable");
111
107
  }
112
108
  updateVisible() {
113
- !this.visibles.some((r) => r === !1) ? (this.tag.show(), this.model.visible = !0) : (this.tag.hide(), this.model.visible = !1), this.five.needsRender = !0;
109
+ !this.visibles.some((t) => t === !1) ? (this.tag.show(), this.model.visible = !0) : (this.tag.hide(), this.model.visible = !1), this.five.needsRender = !0;
114
110
  }
115
111
  onClick() {
116
- return this.emit("click", this);
112
+ const i = this.findController();
113
+ return i && i.items.forEach((t) => {
114
+ t !== this && t.tag && t.tag.visible && t.tag.hide();
115
+ }), this.emit("click", this);
116
+ }
117
+ /**
118
+ * Helper method to find the controller instance
119
+ * Walks up the scene graph to find the ModelMakerPluginGroup
120
+ */
121
+ findController() {
122
+ let i = this.model.parent;
123
+ for (; i; ) {
124
+ if (i.name === "ModelMakerPluginGroup") {
125
+ const t = window == null ? void 0 : window.__MODELMAKER_DEBUG__;
126
+ if (t && Array.isArray(t.items))
127
+ return t;
128
+ break;
129
+ }
130
+ i = i.parent;
131
+ }
132
+ return null;
117
133
  }
118
134
  }
119
135
  export {
120
- Mi as ModelMakerBaseItem
136
+ Di as ModelMakerBaseItem
121
137
  };
@@ -1,6 +1,10 @@
1
1
  import { ModelMakerBaseItem } from './baseItem';
2
+ import type { LightTag } from '../../shared-utils/tag';
2
3
  export declare class ModelMakerBoxItem extends ModelMakerBaseItem {
3
- constructor(...args: ConstructorParameters<typeof ModelMakerBaseItem>);
4
+ edgeTags: LightTag[];
5
+ constructor(params: ConstructorParameters<typeof ModelMakerBaseItem>[0] & {
6
+ edgeTags?: LightTag[];
7
+ });
4
8
  enable(): void;
5
9
  disable(): void;
6
10
  show(): void;
@@ -1,7 +1,18 @@
1
1
  var p = Object.defineProperty;
2
- var m = (o, i, t) => i in o ? p(o, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[i] = t;
3
- var r = (o, i, t) => (m(o, typeof i != "symbol" ? i + "" : i, t), t);
4
- import { ModelMakerBaseItem as s } from "./baseItem.js";
2
+ var a = Object.getOwnPropertySymbols;
3
+ var d = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
4
+ var n = (e, o, t) => o in e ? p(e, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[o] = t;
5
+ var h = (e, o) => {
6
+ var t = {};
7
+ for (var i in e)
8
+ d.call(e, i) && o.indexOf(i) < 0 && (t[i] = e[i]);
9
+ if (e != null && a)
10
+ for (var i of a(e))
11
+ o.indexOf(i) < 0 && g.call(e, i) && (t[i] = e[i]);
12
+ return t;
13
+ };
14
+ var r = (e, o, t) => (n(e, typeof o != "symbol" ? o + "" : o, t), t);
15
+ import { ModelMakerBaseItem as l } from "./baseItem.js";
5
16
  import "three";
6
17
  import "../../shared-utils/three/addIfNotExists.js";
7
18
  import "../../shared-utils/Subscribe.js";
@@ -37,30 +48,26 @@ import "../../shared-utils/three/core/Five_LineMaterial2.js";
37
48
  import "../../shared-utils/three/core/Sphere.js";
38
49
  import "../../vendor/animejs/lib/anime.es.js";
39
50
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
40
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
41
- import "../../shared-utils/CSS3DRender/CSS3DRenderer.js";
42
- import "../../shared-utils/createResizeObserver.js";
43
- import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
44
- import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
45
- import "../../shared-utils/util.js";
46
- import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
51
+ import "../../shared-utils/five/FivePuppet.js";
52
+ import "@realsee/five";
53
+ import "../../shared-utils/five/fiveModelLoad.js";
47
54
  import "../../shared-utils/three/PointSelector/utils/html.js";
48
55
  import "../../shared-utils/CSS3DRender/index.js";
49
- import "../../shared-utils/five/fiveModelLoad.js";
56
+ import "../../shared-utils/CSS3DRender/CSS3DRenderer.js";
57
+ import "../../shared-utils/createResizeObserver.js";
50
58
  import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
51
59
  import "../../Sculpt/Meshes/Line.js";
52
60
  import "../../Sculpt/typings/style.js";
53
61
  import "../../shared-utils/three/IObject3D.js";
54
62
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
55
63
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
64
+ import "../../shared-utils/util.js";
56
65
  import "../../shared-utils/three/core/LineGeometry.js";
57
66
  import "../../shared-utils/three/core/LineMaterial.js";
58
67
  import "../../shared-utils/three/core/Line2.js";
59
68
  import "../../shared-utils/three/core/LineMaterial2.js";
60
69
  import "../../Sculpt/utils/unit.js";
61
70
  import "../../Sculpt/utils/renderDom.js";
62
- import "../../shared-utils/five/FivePuppet.js";
63
- import "@realsee/five";
64
71
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
65
72
  import "../../shared-utils/isTouchDevice.js";
66
73
  import "../../shared-utils/five/getPosition.js";
@@ -68,30 +75,42 @@ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
68
75
  import "../../shared-utils/three/PointSelector/utils/contents.js";
69
76
  import "../../Sculpt/utils/three/rayOnLine.js";
70
77
  import "../../shared-utils/three/boundingBox.js";
71
- class Mi extends s {
72
- constructor(...t) {
73
- super(...t);
78
+ class Ii extends l {
79
+ constructor(t) {
80
+ const s = t, { edgeTags: i } = s, m = h(s, ["edgeTags"]);
81
+ super(m);
82
+ r(this, "edgeTags", []);
74
83
  r(this, "hideTag", () => {
75
- this.tag.hide();
84
+ this.tag.hide(), this.edgeTags.forEach((t) => t.hide());
76
85
  });
77
- this.enable(), this.tag.hide(), this.updateVisible();
86
+ i && (this.edgeTags = i), this.enable(), this.tag.hide(), this.updateVisible();
78
87
  }
79
88
  enable() {
80
89
  super.enable(), this.five.on("mode.change.request", this.hideTag), this.five.on("pano.request", this.hideTag);
81
90
  }
82
91
  disable() {
83
- super.disable(), this.five.off("mode.change.request", this.hideTag), this.five.off("pano.request", this.hideTag);
92
+ super.disable(), this.five.off("mode.change.request", this.hideTag), this.five.off("pano.request", this.hideTag), this.edgeTags.forEach((t) => t.destroy()), this.edgeTags = [];
84
93
  }
85
94
  show() {
86
- super.show(), this.tag.hide();
95
+ super.show(), this.tag.hide(), this.edgeTags.forEach((t) => t.hide());
87
96
  }
88
97
  onClick() {
89
- return this.tag.visible ? this.tag.hide() : this.tag.show({ force: !0 }), super.onClick(), !0;
98
+ const t = this.findController();
99
+ return t ? (t.forceFinishBoxAnimation(), this.five.currentMode !== "Panorama" ? (this.five.once("pano.arrived", () => {
100
+ t.playBoxAnimation(this.rawData.id).then(() => {
101
+ t.showItemTag(this.rawData.id), this.edgeTags.forEach((i) => i.show({ force: !0 }));
102
+ });
103
+ }), this.five.setState({
104
+ mode: "Panorama",
105
+ longitude: this.rawData.extend.longitude,
106
+ latitude: this.rawData.extend.latitude,
107
+ panoIndex: this.rawData.extend.index
108
+ })) : this.tag.visible ? (this.tag.hide(), this.edgeTags.forEach((i) => i.hide())) : (t.showItemTag(this.rawData.id), this.edgeTags.forEach((i) => i.show({ force: !0 })))) : (super.onClick(), this.tag.visible ? (this.tag.hide(), this.edgeTags.forEach((i) => i.hide())) : (this.tag.show({ force: !0 }), this.edgeTags.forEach((i) => i.show({ force: !0 })))), !0;
90
109
  }
91
110
  updateVisible() {
92
- !this.visibles.some((e) => e === !1) ? this.model.visible = !0 : (this.tag.hide(), this.model.visible = !1), this.five.needsRender = !0;
111
+ !this.visibles.some((i) => i === !1) ? this.model.visible = !0 : (this.tag.hide(), this.edgeTags.forEach((i) => i.hide()), this.model.visible = !1), this.five.needsRender = !0;
93
112
  }
94
113
  }
95
114
  export {
96
- Mi as ModelMakerBoxItem
115
+ Ii as ModelMakerBoxItem
97
116
  };
@@ -38,30 +38,26 @@ import "../../shared-utils/three/core/Five_LineMaterial2.js";
38
38
  import "../../shared-utils/three/core/Sphere.js";
39
39
  import "../../vendor/animejs/lib/anime.es.js";
40
40
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
41
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
42
- import "../../shared-utils/CSS3DRender/CSS3DRenderer.js";
43
- import "../../shared-utils/createResizeObserver.js";
44
- import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
45
- import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
46
- import "../../shared-utils/util.js";
47
- import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
41
+ import "../../shared-utils/five/FivePuppet.js";
42
+ import "@realsee/five";
43
+ import "../../shared-utils/five/fiveModelLoad.js";
48
44
  import "../../shared-utils/three/PointSelector/utils/html.js";
49
45
  import "../../shared-utils/CSS3DRender/index.js";
50
- import "../../shared-utils/five/fiveModelLoad.js";
46
+ import "../../shared-utils/CSS3DRender/CSS3DRenderer.js";
47
+ import "../../shared-utils/createResizeObserver.js";
51
48
  import "../../shared-utils/three/PointSelector/utils/PointHelper2.js";
52
49
  import "../../Sculpt/Meshes/Line.js";
53
50
  import "../../Sculpt/typings/style.js";
54
51
  import "../../shared-utils/three/IObject3D.js";
55
52
  import "../../Sculpt/utils/Meshes/getLengthHTML.js";
56
53
  import "../../shared-utils/three/applyObjectMatrixWorld.js";
54
+ import "../../shared-utils/util.js";
57
55
  import "../../shared-utils/three/core/LineGeometry.js";
58
56
  import "../../shared-utils/three/core/LineMaterial.js";
59
57
  import "../../shared-utils/three/core/Line2.js";
60
58
  import "../../shared-utils/three/core/LineMaterial2.js";
61
59
  import "../../Sculpt/utils/unit.js";
62
60
  import "../../Sculpt/utils/renderDom.js";
63
- import "../../shared-utils/five/FivePuppet.js";
64
- import "@realsee/five";
65
61
  import "../../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
66
62
  import "../../shared-utils/isTouchDevice.js";
67
63
  import "../../shared-utils/five/getPosition.js";
@@ -69,7 +65,7 @@ import "../../shared-utils/five/getRaycasterByNdcPosition.js";
69
65
  import "../../shared-utils/three/PointSelector/utils/contents.js";
70
66
  import "../../Sculpt/utils/three/rayOnLine.js";
71
67
  import "../../shared-utils/three/boundingBox.js";
72
- class ct extends a {
68
+ class bt extends a {
73
69
  constructor(...t) {
74
70
  super(...t);
75
71
  p(this, "onPanoArrived", (t) => {
@@ -94,5 +90,5 @@ class ct extends a {
94
90
  }
95
91
  }
96
92
  export {
97
- ct as ModelMakerPolygonItem
93
+ bt as ModelMakerPolygonItem
98
94
  };
@@ -23,7 +23,6 @@ import "../../shared-utils/three/core/Five_LineMaterial2.js";
23
23
  import { boundingBox as C, boxVertex as a } from "../../shared-utils/three/boundingBox.js";
24
24
  import "../../vendor/animejs/lib/anime.es.js";
25
25
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
26
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
27
26
  import "../../shared-utils/five/FivePuppet.js";
28
27
  import { ModelMakerBaseItem as S } from "./baseItem.js";
29
28
  import "../../shared-utils/positionToVector3.js";
@@ -73,12 +72,9 @@ import "../../shared-utils/five/getPosition.js";
73
72
  import "../../shared-utils/five/getRaycasterByNdcPosition.js";
74
73
  import "../../shared-utils/three/PointSelector/utils/contents.js";
75
74
  import "../../Sculpt/utils/three/rayOnLine.js";
76
- import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
77
- import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
78
- import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
79
75
  import "@realsee/five";
80
76
  import "../../shared-utils/three/addIfNotExists.js";
81
- class Ro extends S {
77
+ class Do extends S {
82
78
  constructor(...o) {
83
79
  const r = o[0], p = C(r.model), m = new b.Vector3().lerpVectors(a(p, 0), a(p, 5), 0.5);
84
80
  super(h(n({}, r), { position: m }));
@@ -102,5 +98,5 @@ class Ro extends S {
102
98
  }
103
99
  }
104
100
  export {
105
- Ro as ModelMakerPrismItem
101
+ Do as ModelMakerPrismItem
106
102
  };
@@ -20,6 +20,8 @@ export interface ServerBoxItem extends ServerBaseItem {
20
20
  color?: string;
21
21
  /** 透明度 */
22
22
  opacity?: number;
23
+ /** 标签位置(顶点坐标) */
24
+ positionIndex?: number;
23
25
  };
24
26
  }
25
27
  export interface ServerTrianglesItem extends ServerBaseItem {
@@ -0,0 +1,204 @@
1
+ import { SvelteComponent as L, init as S, safe_not_equal as q, append_styles as B, element as w, attr as _, set_style as o, insert as M, noop as C, detach as N, onMount as H, onDestroy as X, space as Y, text as j, toggle_class as m, append as c, listen as A, is_function as E, set_data as G, binding_callbacks as y } from "../../vendor/svelte/internal/index.js";
2
+ function J(i) {
3
+ B(i, "svelte-11sw1v", ".box-label-item.svelte-11sw1v{position:absolute;transform:translateY(-3.9375rem);cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#fff}.box-label-item__container.svelte-11sw1v{position:relative;display:flex;align-items:flex-start}.text-wrapper.svelte-11sw1v{position:relative}.text-wrapper.panorama.svelte-11sw1v{margin-left:0.375rem;margin-top:-0.3125rem}.text-wrapper.mapview.svelte-11sw1v{margin-left:0.375rem;margin-top:-0.4375rem}.box-label-item__text.svelte-11sw1v{font-family:PingFangSC-Medium;font-weight:500;color:#ffffff;letter-spacing:0;text-shadow:0 0.125rem 0.75rem #0000004d;pointer-events:all;white-space:nowrap}.box-label-item__text.panorama.svelte-11sw1v{height:1rem;font-size:1rem;line-height:1rem}.box-label-item__text.mapview.svelte-11sw1v{height:0.7rem;font-size:0.7rem;line-height:0.7rem}.box-label-item__bar.svelte-11sw1v{position:relative;width:0.0625rem;height:3.4375rem;transform-origin:top;background-image:linear-gradient(0deg, #ffffff1a 0%, #ffffff 100%);box-shadow:0 0.125rem 0.625rem 0 #0000004d;border-radius:0.03125rem}.box-label-item__dot.svelte-11sw1v{position:absolute;bottom:-0.625rem;left:50%;transform:translateX(-50%);width:0.25rem;height:0.25rem;background:#ffffff;box-shadow:0 0 0.3125rem 0 #ffffff;border-radius:50%}");
4
+ }
5
+ function D(i) {
6
+ let t, e, f, l, a, d, b, v;
7
+ return {
8
+ c() {
9
+ t = w("div"), e = w("div"), e.innerHTML = '<div class="box-label-item__dot svelte-11sw1v"></div>', f = Y(), l = w("div"), a = w("span"), d = j(
10
+ /*content*/
11
+ i[0]
12
+ ), _(e, "class", "box-label-item__bar svelte-11sw1v"), _(a, "class", "box-label-item__text svelte-11sw1v"), m(
13
+ a,
14
+ "panorama",
15
+ /*isPanoramaMode*/
16
+ i[9]
17
+ ), m(a, "mapview", !/*isPanoramaMode*/
18
+ i[9]), _(l, "class", "text-wrapper svelte-11sw1v"), m(
19
+ l,
20
+ "panorama",
21
+ /*isPanoramaMode*/
22
+ i[9]
23
+ ), m(l, "mapview", !/*isPanoramaMode*/
24
+ i[9]), _(t, "class", "box-label-item__container svelte-11sw1v");
25
+ },
26
+ m(s, r) {
27
+ M(s, t, r), c(t, e), i[14](e), c(t, f), c(t, l), c(l, a), c(a, d), i[15](a), b || (v = A(a, "click", function() {
28
+ E(
29
+ /*onClick*/
30
+ i[4]
31
+ ) && i[4].apply(this, arguments);
32
+ }), b = !0);
33
+ },
34
+ p(s, r) {
35
+ i = s, r & /*content*/
36
+ 1 && G(
37
+ d,
38
+ /*content*/
39
+ i[0]
40
+ ), r & /*isPanoramaMode*/
41
+ 512 && m(
42
+ a,
43
+ "panorama",
44
+ /*isPanoramaMode*/
45
+ i[9]
46
+ ), r & /*isPanoramaMode*/
47
+ 512 && m(a, "mapview", !/*isPanoramaMode*/
48
+ i[9]), r & /*isPanoramaMode*/
49
+ 512 && m(
50
+ l,
51
+ "panorama",
52
+ /*isPanoramaMode*/
53
+ i[9]
54
+ ), r & /*isPanoramaMode*/
55
+ 512 && m(l, "mapview", !/*isPanoramaMode*/
56
+ i[9]);
57
+ },
58
+ d(s) {
59
+ s && N(t), i[14](null), i[15](null), b = !1, v();
60
+ }
61
+ };
62
+ }
63
+ function K(i) {
64
+ let t, e = !/*rendererIfNeed*/
65
+ i[5] && D(i);
66
+ return {
67
+ c() {
68
+ t = w("div"), e && e.c(), _(t, "class", "box-label-item svelte-11sw1v"), o(
69
+ t,
70
+ "z-index",
71
+ /*zIndex*/
72
+ i[2]
73
+ ), o(
74
+ t,
75
+ "transform",
76
+ /*transform*/
77
+ i[3]
78
+ ), o(
79
+ t,
80
+ "opacity",
81
+ /*opacity*/
82
+ i[1]
83
+ ), o(
84
+ t,
85
+ "visibility",
86
+ /*visibility*/
87
+ i[10]
88
+ );
89
+ },
90
+ m(f, l) {
91
+ M(f, t, l), e && e.m(t, null), i[16](t);
92
+ },
93
+ p(f, [l]) {
94
+ /*rendererIfNeed*/
95
+ f[5] ? e && (e.d(1), e = null) : e ? e.p(f, l) : (e = D(f), e.c(), e.m(t, null)), l & /*zIndex*/
96
+ 4 && o(
97
+ t,
98
+ "z-index",
99
+ /*zIndex*/
100
+ f[2]
101
+ ), l & /*transform*/
102
+ 8 && o(
103
+ t,
104
+ "transform",
105
+ /*transform*/
106
+ f[3]
107
+ ), l & /*opacity*/
108
+ 2 && o(
109
+ t,
110
+ "opacity",
111
+ /*opacity*/
112
+ f[1]
113
+ ), l & /*visibility*/
114
+ 1024 && o(
115
+ t,
116
+ "visibility",
117
+ /*visibility*/
118
+ f[10]
119
+ );
120
+ },
121
+ i: C,
122
+ o: C,
123
+ d(f) {
124
+ f && N(t), e && e.d(), i[16](null);
125
+ }
126
+ };
127
+ }
128
+ function O(i, t, e) {
129
+ let f, { content: l } = t, { five: a = void 0 } = t, { visible: d = !0 } = t, { opacity: b = 1 } = t, { zIndex: v = 0 } = t, { transform: s = void 0 } = t, { onClick: r = () => {
130
+ } } = t, { rendererIfNeed: g = void 0 } = t, { rendererData: p = void 0 } = t, u, k, z, I = !0, h;
131
+ const x = (n) => {
132
+ e(9, I = a.state.mode === "Panorama");
133
+ };
134
+ H(() => {
135
+ u && typeof g == "function" && (h = g(u, p)), a && (e(9, I = a.state.mode === "Panorama"), a.on("cameraUpdate", x));
136
+ }), X(() => {
137
+ h == null || h(), a == null || a.off("cameraUpdate", x);
138
+ });
139
+ function P(n) {
140
+ y[n ? "unshift" : "push"](() => {
141
+ k = n, e(7, k);
142
+ });
143
+ }
144
+ function U(n) {
145
+ y[n ? "unshift" : "push"](() => {
146
+ z = n, e(8, z);
147
+ });
148
+ }
149
+ function F(n) {
150
+ y[n ? "unshift" : "push"](() => {
151
+ u = n, e(6, u);
152
+ });
153
+ }
154
+ return i.$$set = (n) => {
155
+ "content" in n && e(0, l = n.content), "five" in n && e(11, a = n.five), "visible" in n && e(12, d = n.visible), "opacity" in n && e(1, b = n.opacity), "zIndex" in n && e(2, v = n.zIndex), "transform" in n && e(3, s = n.transform), "onClick" in n && e(4, r = n.onClick), "rendererIfNeed" in n && e(5, g = n.rendererIfNeed), "rendererData" in n && e(13, p = n.rendererData);
156
+ }, i.$$.update = () => {
157
+ i.$$.dirty & /*visible*/
158
+ 4096 && e(10, f = d ? "visible" : "hidden");
159
+ }, [
160
+ l,
161
+ b,
162
+ v,
163
+ s,
164
+ r,
165
+ g,
166
+ u,
167
+ k,
168
+ z,
169
+ I,
170
+ f,
171
+ a,
172
+ d,
173
+ p,
174
+ P,
175
+ U,
176
+ F
177
+ ];
178
+ }
179
+ class R extends L {
180
+ constructor(t) {
181
+ super(), S(
182
+ this,
183
+ t,
184
+ O,
185
+ K,
186
+ q,
187
+ {
188
+ content: 0,
189
+ five: 11,
190
+ visible: 12,
191
+ opacity: 1,
192
+ zIndex: 2,
193
+ transform: 3,
194
+ onClick: 4,
195
+ rendererIfNeed: 5,
196
+ rendererData: 13
197
+ },
198
+ J
199
+ );
200
+ }
201
+ }
202
+ export {
203
+ R as default
204
+ };
@@ -0,0 +1 @@
1
+ export { SvelteComponentTyped as default } from 'svelte/internal';