@realsee/dnalogel 3.12.3 → 3.12.5

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 (505) hide show
  1. package/README.md +10 -11
  2. package/dist/Object3DHelperPlugin/Controller.d.ts +1 -1
  3. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  4. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  5. package/dist/index.cjs.js +65 -65
  6. package/dist/index.js +4730 -4558
  7. package/dist/index.umd.js +56 -56
  8. package/docs/.nojekyll +1 -0
  9. package/docs/assets/custom.css +0 -0
  10. package/docs/assets/highlight.css +120 -0
  11. package/docs/assets/main.js +58 -0
  12. package/docs/assets/search.js +1 -0
  13. package/docs/assets/style.css +1367 -0
  14. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +730 -0
  15. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +693 -0
  16. package/docs/classes/CSS3DRender.html +777 -0
  17. package/docs/classes/GuideLineItem.GuideLineItem.html +480 -0
  18. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +860 -0
  19. package/docs/classes/Magnifier.html +484 -0
  20. package/docs/classes/ModelRoomLabelController.html +402 -0
  21. package/docs/classes/MoveController.html +680 -0
  22. package/docs/classes/Object3DHelperController.html +644 -0
  23. package/docs/classes/PaintBrush.html +506 -0
  24. package/docs/classes/PanoMeasurePluginLine.html +526 -0
  25. package/docs/classes/PanoMeasurePluginModel.html +575 -0
  26. package/docs/classes/PanoMeasurePluginPoint.html +366 -0
  27. package/docs/classes/PanoMeasurePluginPolyline.html +571 -0
  28. package/docs/classes/PanoTagPluginController.html +1131 -0
  29. package/docs/classes/Util.BetterTween.html +420 -0
  30. package/docs/classes/Util.Interval.html +436 -0
  31. package/docs/classes/Util.LineSegments.html +388 -0
  32. package/docs/classes/Util.Magnifier.html +507 -0
  33. package/docs/classes/Util.Object3D.html +410 -0
  34. package/docs/classes/Util.PointDomHelper.html +411 -0
  35. package/docs/classes/Util.PointHelper.html +402 -0
  36. package/docs/classes/Util.PointSelectorHelper.html +458 -0
  37. package/docs/classes/Util.Rectangle.html +459 -0
  38. package/docs/classes/WalkController.html +699 -0
  39. package/docs/enums/CameraMovementEffect.html +314 -0
  40. package/docs/enums/ContentType.html +460 -0
  41. package/docs/enums/DIRECTION.html +324 -0
  42. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +324 -0
  43. package/docs/enums/DimensionType.html +314 -0
  44. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +317 -0
  45. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +324 -0
  46. package/docs/enums/PaintBrushTypeEnum.html +317 -0
  47. package/docs/enums/PointType.html +314 -0
  48. package/docs/enums/Rotation.html +321 -0
  49. package/docs/functions/AreaMakerPlugin.html +294 -0
  50. package/docs/functions/CSS3DRenderPlugin.html +292 -0
  51. package/docs/functions/CameraMovementPlugin.html +297 -0
  52. package/docs/functions/CruisePlugin.html +294 -0
  53. package/docs/functions/CurrentPanoImagePlugin.html +294 -0
  54. package/docs/functions/GuideLinePlugin.html +294 -0
  55. package/docs/functions/ItemLabelPlugin.html +294 -0
  56. package/docs/functions/MapviewFloorplanPlugin.html +294 -0
  57. package/docs/functions/ModelChassisCompassPlugin.html +297 -0
  58. package/docs/functions/ModelEntryDoorGuidePlugin.html +297 -0
  59. package/docs/functions/ModelFloorplanPlugin.html +294 -0
  60. package/docs/functions/ModelItemLabelPlugin.html +294 -0
  61. package/docs/functions/ModelRoomLabelPlugin.html +292 -0
  62. package/docs/functions/ModelTVVideoPlugin.html +294 -0
  63. package/docs/functions/ModelViewPlugin.html +297 -0
  64. package/docs/functions/MovePlugin.html +294 -0
  65. package/docs/functions/Object3DHelperPlugin.html +292 -0
  66. package/docs/functions/PanoCompassPlugin.html +294 -0
  67. package/docs/functions/PanoCursorRaycasterPlugin.html +298 -0
  68. package/docs/functions/PanoDoorLabelPlugin.html +294 -0
  69. package/docs/functions/PanoFloorplanRadarPlugin.html +294 -0
  70. package/docs/functions/PanoMeasurePlugin.html +294 -0
  71. package/docs/functions/PanoRulerPlugin.html +297 -0
  72. package/docs/functions/PanoRulerProPlugin.html +297 -0
  73. package/docs/functions/PanoSpatialTagPlugin.html +297 -0
  74. package/docs/functions/PanoTagPlugin.html +299 -0
  75. package/docs/functions/PanoVideoPlugin.html +303 -0
  76. package/docs/functions/PipelinePlugin.html +292 -0
  77. package/docs/functions/TopviewFloorplanPlugin.html +294 -0
  78. package/docs/functions/Util.absoluteUrl.html +330 -0
  79. package/docs/functions/Util.checkFiveModelLoaded.html +333 -0
  80. package/docs/functions/Util.equal.html +342 -0
  81. package/docs/functions/Util.getCoordsFromClient.html +332 -0
  82. package/docs/functions/Util.getCoordsFromElement.html +332 -0
  83. package/docs/functions/Util.getFrameTime.html +324 -0
  84. package/docs/functions/Util.getIntersectFromRelativePosition.html +332 -0
  85. package/docs/functions/Util.getRaycasterFromFivePointer.html +332 -0
  86. package/docs/functions/Util.isAbsoluteURL.html +325 -0
  87. package/docs/functions/Util.isModelLike.html +325 -0
  88. package/docs/functions/Util.isNil.html +333 -0
  89. package/docs/functions/Util.isPanoramaLike.html +325 -0
  90. package/docs/functions/Util.nextFrame.html +338 -0
  91. package/docs/functions/Util.notNil.html +333 -0
  92. package/docs/functions/Util.requestAnimationFrameInterval.html +354 -0
  93. package/docs/functions/Util.tweenProgress.html +327 -0
  94. package/docs/functions/Util.uuid.html +323 -0
  95. package/docs/functions/pluginFlag.html +292 -0
  96. package/docs/index.html +357 -0
  97. package/docs/interfaces/AddTagConfig.html +307 -0
  98. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +334 -0
  99. package/docs/interfaces/AreaMakerPluginType.Config.html +339 -0
  100. package/docs/interfaces/AreaMakerPluginType.EventMap.html +625 -0
  101. package/docs/interfaces/AreaMakerPluginType.Params.html +338 -0
  102. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +396 -0
  103. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +381 -0
  104. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +338 -0
  105. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +331 -0
  106. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +330 -0
  107. package/docs/interfaces/AreaMakerPluginType.State.html +359 -0
  108. package/docs/interfaces/CSS3DRenderPluginEventMap.html +453 -0
  109. package/docs/interfaces/CSS3DRenderPluginState.html +329 -0
  110. package/docs/interfaces/CameraMovementPluginExportType.html +362 -0
  111. package/docs/interfaces/CruisePluginTypes.Config.html +363 -0
  112. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +365 -0
  113. package/docs/interfaces/CruisePluginTypes.EventMap.html +723 -0
  114. package/docs/interfaces/CruisePluginTypes.MoveAction.html +389 -0
  115. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +425 -0
  116. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +415 -0
  117. package/docs/interfaces/CruisePluginTypes.PluginData.html +355 -0
  118. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +323 -0
  119. package/docs/interfaces/CruisePluginTypes.PluginState.html +391 -0
  120. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +386 -0
  121. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +525 -0
  122. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +327 -0
  123. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +319 -0
  124. package/docs/interfaces/CurrentPanoImagePluginType.State.html +341 -0
  125. package/docs/interfaces/EventMap.html +546 -0
  126. package/docs/interfaces/FloorplanBounding.html +336 -0
  127. package/docs/interfaces/FloorplanData.html +339 -0
  128. package/docs/interfaces/FloorplanEntrance.html +364 -0
  129. package/docs/interfaces/FloorplanExtraObject.html +354 -0
  130. package/docs/interfaces/FloorplanExtraObject3D.html +343 -0
  131. package/docs/interfaces/FloorplanFloorData.html +332 -0
  132. package/docs/interfaces/FloorplanImagePosition.html +318 -0
  133. package/docs/interfaces/FloorplanObserver.html +336 -0
  134. package/docs/interfaces/FloorplanOutlineItem.html +332 -0
  135. package/docs/interfaces/FloorplanPosition.html +318 -0
  136. package/docs/interfaces/FloorplanRoomItem.html +383 -0
  137. package/docs/interfaces/FloorplanRoomLabelItem.html +324 -0
  138. package/docs/interfaces/FloorplanServerBounding.html +336 -0
  139. package/docs/interfaces/FloorplanServerComputedData.html +335 -0
  140. package/docs/interfaces/FloorplanServerData.html +318 -0
  141. package/docs/interfaces/FloorplanServerDoorItem.html +335 -0
  142. package/docs/interfaces/FloorplanServerDoorPosition.html +321 -0
  143. package/docs/interfaces/FloorplanServerEntrance.html +364 -0
  144. package/docs/interfaces/FloorplanServerFloorData.html +332 -0
  145. package/docs/interfaces/FloorplanServerImagePosition.html +318 -0
  146. package/docs/interfaces/FloorplanServerObserver.html +336 -0
  147. package/docs/interfaces/FloorplanServerOutlineItem.html +332 -0
  148. package/docs/interfaces/FloorplanServerPosition.html +318 -0
  149. package/docs/interfaces/FloorplanServerRoomItem.html +395 -0
  150. package/docs/interfaces/FloorplanServerRoomLabelItem.html +324 -0
  151. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +327 -0
  152. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +366 -0
  153. package/docs/interfaces/GuideLinePluginType.EventMap.html +530 -0
  154. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +361 -0
  155. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +352 -0
  156. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +419 -0
  157. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +341 -0
  158. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +351 -0
  159. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +487 -0
  160. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +348 -0
  161. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +487 -0
  162. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +313 -0
  163. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +334 -0
  164. package/docs/interfaces/GuideLinePluginType.PluginState.html +359 -0
  165. package/docs/interfaces/GuideLinePluginType.Route.html +375 -0
  166. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +357 -0
  167. package/docs/interfaces/HelperOffset.html +336 -0
  168. package/docs/interfaces/ImagePlaneGroup.html +310 -0
  169. package/docs/interfaces/ItemLabelPluginData.html +307 -0
  170. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +392 -0
  171. package/docs/interfaces/ItemLabelPluginParametersType.html +328 -0
  172. package/docs/interfaces/MinMax.html +314 -0
  173. package/docs/interfaces/ModelChassisCompassPluginData.html +314 -0
  174. package/docs/interfaces/ModelChassisCompassPluginExportType.html +350 -0
  175. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +314 -0
  176. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +321 -0
  177. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +358 -0
  178. package/docs/interfaces/ModelItemLabelPluginData.html +307 -0
  179. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +392 -0
  180. package/docs/interfaces/ModelItemLabelPluginParametersType.html +314 -0
  181. package/docs/interfaces/ModelRoomLabelPluginData.html +307 -0
  182. package/docs/interfaces/ModelTVVideoPluginData.html +328 -0
  183. package/docs/interfaces/ModelTVVideoPluginExportType.html +352 -0
  184. package/docs/interfaces/ModelTVVideoPluginParameterType.html +307 -0
  185. package/docs/interfaces/ModelViewPluginExportType.html +420 -0
  186. package/docs/interfaces/Object3DHelperState.html +321 -0
  187. package/docs/interfaces/ObjectHelperControllers.html +328 -0
  188. package/docs/interfaces/PaintBrushAction.html +367 -0
  189. package/docs/interfaces/PaintBrushConfigs.html +365 -0
  190. package/docs/interfaces/PaintBrushState.html +349 -0
  191. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +429 -0
  192. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +286 -0
  193. package/docs/interfaces/PanoMeasureParameterType.html +453 -0
  194. package/docs/interfaces/PanoMeasurePluginLineJson.html +321 -0
  195. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +318 -0
  196. package/docs/interfaces/PanoMeasurePluginPointJson.html +314 -0
  197. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +324 -0
  198. package/docs/interfaces/PanoRulerPluginExportType.html +381 -0
  199. package/docs/interfaces/PanoRulerPluginOptions.html +330 -0
  200. package/docs/interfaces/PanoRulerPluginParameterType.html +321 -0
  201. package/docs/interfaces/PanoRulerProPluginExportType.html +357 -0
  202. package/docs/interfaces/PanoRulerProPluginOptions.html +327 -0
  203. package/docs/interfaces/PanoRulerProPluginParameterType.html +314 -0
  204. package/docs/interfaces/PanoRulerProPluginState.html +321 -0
  205. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +300 -0
  206. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +289 -0
  207. package/docs/interfaces/PanoSpatialTagPluginData.html +357 -0
  208. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +339 -0
  209. package/docs/interfaces/PanoSpatialTagPluginExportType.html +435 -0
  210. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +335 -0
  211. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +356 -0
  212. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +342 -0
  213. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +335 -0
  214. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +327 -0
  215. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +345 -0
  216. package/docs/interfaces/PanoVideoPluginType.PluginData.html +318 -0
  217. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +424 -0
  218. package/docs/interfaces/PanoVideoPluginType.PluginState.html +318 -0
  219. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +353 -0
  220. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +372 -0
  221. package/docs/interfaces/Point.html +321 -0
  222. package/docs/interfaces/Room.html +328 -0
  223. package/docs/interfaces/RoomInfo.html +314 -0
  224. package/docs/interfaces/RoomLabel.html +390 -0
  225. package/docs/interfaces/RoomRules.html +289 -0
  226. package/docs/interfaces/Rooms.html +289 -0
  227. package/docs/interfaces/Scissor.html +348 -0
  228. package/docs/interfaces/State.html +335 -0
  229. package/docs/interfaces/TagCacheInterface.html +366 -0
  230. package/docs/interfaces/TagConfig.html +569 -0
  231. package/docs/interfaces/TagGLTFObjectGroup.html +310 -0
  232. package/docs/interfaces/TagIconUrl.html +367 -0
  233. package/docs/interfaces/TagObjectGroup.html +310 -0
  234. package/docs/interfaces/TagStyle.html +320 -0
  235. package/docs/interfaces/Tags.html +2824 -0
  236. package/docs/interfaces/TemporaryState.html +307 -0
  237. package/docs/interfaces/Util.MagnifierParameter.html +395 -0
  238. package/docs/interfaces/Util.MouseGroupParameter.html +354 -0
  239. package/docs/interfaces/Util.PointIntersection.html +369 -0
  240. package/docs/modules/AreaMakerPluginType.html +329 -0
  241. package/docs/modules/CruisePluginTypes.html +332 -0
  242. package/docs/modules/CurrentPanoImagePluginType.html +301 -0
  243. package/docs/modules/GuideLineItem.html +293 -0
  244. package/docs/modules/GuideLineModeItem.html +298 -0
  245. package/docs/modules/GuideLinePluginType.html +354 -0
  246. package/docs/modules/PanoVideoPluginType.html +305 -0
  247. package/docs/modules/Util.html +355 -0
  248. package/docs/modules.html +562 -0
  249. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +358 -0
  250. package/docs/types/AreaMakerPluginType.ItemRenderer.html +324 -0
  251. package/docs/types/AreaMakerPluginType.PluginData.html +306 -0
  252. package/docs/types/AreaMakerPluginType.ServerData.html +306 -0
  253. package/docs/types/ArrayPosition.html +283 -0
  254. package/docs/types/AudioAppearance.html +283 -0
  255. package/docs/types/AudioTagTypeConfigKey.html +283 -0
  256. package/docs/types/CSS3DRenderExportType.html +283 -0
  257. package/docs/types/CSS3DRenderPluginExportType.html +283 -0
  258. package/docs/types/CSS3DRenderPluginParameterType.html +283 -0
  259. package/docs/types/ClassFunctionParameters.html +290 -0
  260. package/docs/types/Color.html +283 -0
  261. package/docs/types/ContentTypeConfigKey.html +283 -0
  262. package/docs/types/ContentTypeConfigKeySplit.html +283 -0
  263. package/docs/types/ContentTypeMap.html +283 -0
  264. package/docs/types/Create3DDomContainerReturnType.html +283 -0
  265. package/docs/types/Create3DElementReturnType.html +283 -0
  266. package/docs/types/CruisePluginExportType.html +283 -0
  267. package/docs/types/CruisePluginTypes.CruiseData.html +322 -0
  268. package/docs/types/CruisePluginTypes.MoveEffect.html +299 -0
  269. package/docs/types/CurrentPanoImagePluginExportType.html +283 -0
  270. package/docs/types/DeprecatedMediaPlaneProperty.html +295 -0
  271. package/docs/types/DeprecatedTagProperty.html +298 -0
  272. package/docs/types/Direction-1.html +283 -0
  273. package/docs/types/Direction4.html +283 -0
  274. package/docs/types/ElementRenderer.html +307 -0
  275. package/docs/types/FloorplanRuleLabels.html +286 -0
  276. package/docs/types/FloorplanServerRuleLabels.html +283 -0
  277. package/docs/types/GuideLinePluginExportType.html +283 -0
  278. package/docs/types/GuideLinePluginType.GuideLineItem.html +356 -0
  279. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +377 -0
  280. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +310 -0
  281. package/docs/types/GuideLinePluginType.GuideLineStyle.html +313 -0
  282. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +313 -0
  283. package/docs/types/GuideLinePluginType.PathItem.html +313 -0
  284. package/docs/types/GuideLinePluginType.PluginData.html +322 -0
  285. package/docs/types/HelperEventMap.html +521 -0
  286. package/docs/types/LoadTagConfig.html +283 -0
  287. package/docs/types/MapviewFloorplanPluginParameterType.html +283 -0
  288. package/docs/types/MapviewFloorplanPluginReturnType.html +283 -0
  289. package/docs/types/MediaData.html +304 -0
  290. package/docs/types/MediaStore.html +288 -0
  291. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +290 -0
  292. package/docs/types/ModelFloorplanPluginParameterType.html +283 -0
  293. package/docs/types/ModelFloorplanPluginReturnType.html +283 -0
  294. package/docs/types/ModelId.html +283 -0
  295. package/docs/types/ModelRoomLabelPluginParameters.html +283 -0
  296. package/docs/types/ModelRoomLabelPluginReturnType.html +283 -0
  297. package/docs/types/MoveArgs.html +293 -0
  298. package/docs/types/MoveOpts.html +291 -0
  299. package/docs/types/Object3DHelperEventMap.html +376 -0
  300. package/docs/types/ObjectFit.html +283 -0
  301. package/docs/types/PaintBrushEventMap.html +314 -0
  302. package/docs/types/PanoCompassPluginData.html +283 -0
  303. package/docs/types/PanoCompassPluginExportType.html +283 -0
  304. package/docs/types/PanoCompassPluginParameterType.html +283 -0
  305. package/docs/types/PanoFloorplanRadarPluginParameterType.html +283 -0
  306. package/docs/types/PanoFloorplanRadarPluginReturnType.html +283 -0
  307. package/docs/types/PanoIndex.html +283 -0
  308. package/docs/types/PanoMeasurePluginEvent.html +283 -0
  309. package/docs/types/PanoMeasureReturnType.html +283 -0
  310. package/docs/types/PanoSpatialTagPluginId.html +283 -0
  311. package/docs/types/PanoTagPluginExportInterface.html +283 -0
  312. package/docs/types/PanoTagPluginParamsInterface.html +283 -0
  313. package/docs/types/PanoVideoPluginParameterType.html +283 -0
  314. package/docs/types/PanoVideoPluginReturnType.html +283 -0
  315. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +291 -0
  316. package/docs/types/PipelinePluginParameterType.html +283 -0
  317. package/docs/types/PipelinePluginReturnType.html +283 -0
  318. package/docs/types/PlaneTag.html +291 -0
  319. package/docs/types/Point2DTag.html +291 -0
  320. package/docs/types/Point3DTag.html +291 -0
  321. package/docs/types/PointTag.html +288 -0
  322. package/docs/types/PointTagInstance.html +288 -0
  323. package/docs/types/Position.html +283 -0
  324. package/docs/types/RotateArgs.html +295 -0
  325. package/docs/types/RotateOpts.html +291 -0
  326. package/docs/types/RuleLabelsKey.html +283 -0
  327. package/docs/types/RuleLabelsValue.html +283 -0
  328. package/docs/types/StickType.html +283 -0
  329. package/docs/types/Tag.html +349 -0
  330. package/docs/types/Tag2D.html +291 -0
  331. package/docs/types/Tag3D.html +291 -0
  332. package/docs/types/TagConfigByKey.html +288 -0
  333. package/docs/types/TagContentType.html +283 -0
  334. package/docs/types/TagContentTypeMapping.html +283 -0
  335. package/docs/types/TagDimensionType.html +285 -0
  336. package/docs/types/TagElement.html +293 -0
  337. package/docs/types/TagEvents.html +336 -0
  338. package/docs/types/TagGLTFObject.html +306 -0
  339. package/docs/types/TagHooks.html +283 -0
  340. package/docs/types/TagId.html +283 -0
  341. package/docs/types/TagInstance.html +361 -0
  342. package/docs/types/TagPointType.html +286 -0
  343. package/docs/types/TagRendererMap.html +290 -0
  344. package/docs/types/TopviewFloorplanPluginParameterType.html +283 -0
  345. package/docs/types/TopviewFloorplanPluginReturnType.html +283 -0
  346. package/docs/types/WorkCode.html +283 -0
  347. package/docs/variables/FLOOR_TYPE_MAP.html +293 -0
  348. package/docs/variables/PLUGIN.html +283 -0
  349. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +286 -0
  350. package/docs/variables/ROOM_TYPE_MAP.html +293 -0
  351. package/docs/variables/defaultGlobalConfig.html +283 -0
  352. package/docs/variables/itemLabelPluginServerParams.html +290 -0
  353. package/docs/variables/modelItemLabelPluginServerParams.html +290 -0
  354. package/docs/variables/modelRoomLabelPluginServerParams.html +290 -0
  355. package/libs/AreaMakerPlugin/Controller.js +54 -44
  356. package/libs/AreaMakerPlugin/index.js +13 -3
  357. package/libs/AreaMakerPlugin/utils/Item.js +13 -3
  358. package/libs/CruisePlugin/Work.js +19 -6
  359. package/libs/CruisePlugin/index.js +23 -10
  360. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  361. package/libs/GuideLinePlugin/Controller.js +46 -33
  362. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  363. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  364. package/libs/GuideLinePlugin/index.js +24 -11
  365. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  366. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  367. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  368. package/libs/ItemLabelPlugin/index.js +16 -5
  369. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  370. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  371. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  372. package/libs/ModelItemLabelPlugin/index.js +16 -5
  373. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  374. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  375. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  376. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  377. package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
  378. package/libs/PanoDoorLabelPlugin/Controller.js +72 -62
  379. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  380. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  381. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  382. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  383. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  384. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  385. package/libs/PanoMeasurePlugin/Components/Controller0.js +74 -63
  386. package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
  387. package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
  388. package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
  389. package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
  390. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +33 -22
  391. package/libs/PanoMeasurePlugin/index.js +27 -16
  392. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  393. package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
  394. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  395. package/libs/PanoRulerProPlugin/index.js +15 -4
  396. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  397. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  398. package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
  399. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  400. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  401. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  402. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  403. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  404. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
  405. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
  406. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  407. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  408. package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
  409. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  410. package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
  411. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  412. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  413. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
  414. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
  415. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  416. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
  417. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  418. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  419. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  420. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  421. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  422. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +216 -198
  423. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  424. package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
  425. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
  426. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
  427. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  428. package/libs/PanoTagPlugin/Components/Tag/index.js +155 -142
  429. package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
  430. package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
  431. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  432. package/libs/PanoTagPlugin/controller/TagRender.js +37 -22
  433. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
  434. package/libs/PanoTagPlugin/controller/index.js +32 -19
  435. package/libs/PanoTagPlugin/index.js +28 -15
  436. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  437. package/libs/base/BasePlugin.js +1 -1
  438. package/libs/components/AreaLabel/LabelItem.js +59 -54
  439. package/libs/floorplan/Components/BaseImage.js +43 -39
  440. package/libs/floorplan/Components/Camera.js +41 -32
  441. package/libs/floorplan/Components/Compass.js +27 -24
  442. package/libs/floorplan/Components/CurrentFloor.js +54 -49
  443. package/libs/floorplan/Components/Main.js +56 -47
  444. package/libs/floorplan/Components/MissingFloor.js +24 -21
  445. package/libs/floorplan/Components/Normalmage.js +25 -22
  446. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  447. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  448. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
  449. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
  450. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  451. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  452. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  453. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  454. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  455. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  456. package/libs/floorplan/Components/SvgImage.js +30 -27
  457. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
  458. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  459. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
  460. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  461. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
  462. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
  463. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
  464. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
  465. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +24 -12
  466. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  467. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +33 -21
  468. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  469. package/libs/floorplan/index.js +1 -0
  470. package/libs/index.js +138 -124
  471. package/libs/shared-utils/logger.js +1 -1
  472. package/libs/vendor/classnames/index.js +32 -32
  473. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  474. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  475. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  476. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  477. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  478. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  479. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  480. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  481. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  482. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  483. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  484. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  485. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  486. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  487. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  488. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  489. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  490. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  491. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  492. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  493. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  494. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  495. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  496. package/libs/vendor/svelte/src/shared/version.js +4 -0
  497. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
  498. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  499. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  500. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  501. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  502. package/package.json +11 -8
  503. package/libs/vendor/svelte/internal/index.js +0 -749
  504. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  505. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -11,21 +11,21 @@ var v = (d, s, t) => s in d ? A(d, s, { enumerable: !0, configurable: !0, writab
11
11
  return d;
12
12
  }, g = (d, s) => C(d, S(s));
13
13
  var o = (d, s, t) => (v(d, typeof s != "symbol" ? s + "" : s, t), t);
14
- var c = (d, s, t) => new Promise((e, i) => {
15
- var n = (a) => {
14
+ var p = (d, s, t) => new Promise((e, i) => {
15
+ var r = (a) => {
16
16
  try {
17
- r(t.next(a));
17
+ n(t.next(a));
18
18
  } catch (f) {
19
19
  i(f);
20
20
  }
21
21
  }, h = (a) => {
22
22
  try {
23
- r(t.throw(a));
23
+ n(t.throw(a));
24
24
  } catch (f) {
25
25
  i(f);
26
26
  }
27
- }, r = (a) => a.done ? e(a.value) : Promise.resolve(a.value).then(n, h);
28
- r((t = t.apply(d, s)).next());
27
+ }, n = (a) => a.done ? e(a.value) : Promise.resolve(a.value).then(r, h);
28
+ n((t = t.apply(d, s)).next());
29
29
  });
30
30
  import { to as I } from "../../shared-utils/to.js";
31
31
  import { equal as M } from "../../shared-utils/equal.js";
@@ -38,13 +38,25 @@ import { FLOOR_PLAN_ATTACHED_TO as O } from "../constant.js";
38
38
  import { Controller as D } from "../../base/BasePluginWithData.js";
39
39
  import { correctFiveState as T } from "../utils/correctFiveState.js";
40
40
  import { changeModelCanvasOpacity as F } from "../../shared-utils/changeModelCanvasOpacity.js";
41
- import { FIVE_CAMERA_DEFAULT_FOV as k, FloorplanErrorType as p, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
41
+ import { FIVE_CAMERA_DEFAULT_FOV as k, FloorplanErrorType as c, SHOW_ANIME_DURATION as H } from "../utils/constant.js";
42
42
  import "../../shared-utils/isTruelyObject.js";
43
- import "../../vendor/svelte/internal/index.js";
44
- import "../../vendor/svelte/transition/index.js";
45
- import "../../vendor/svelte/easing/index.js";
43
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
44
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
45
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
46
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
47
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
48
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
49
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
50
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
51
+ import "../../vendor/svelte/src/runtime/internal/each.js";
52
+ import "../../vendor/svelte/src/runtime/internal/spread.js";
53
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
54
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
55
+ import "../../vendor/svelte/src/shared/version.js";
56
+ import "../../vendor/svelte/src/runtime/transition/index.js";
57
+ import "../../vendor/svelte/src/runtime/easing/index.js";
46
58
  import "../Components/CurrentFloor.js";
47
- import "../../vendor/svelte/store/index.js";
59
+ import "../../vendor/svelte/src/runtime/store/index.js";
48
60
  import "../Components/BaseImage.js";
49
61
  import "../Components/Normalmage.js";
50
62
  import "../Components/SvgImage.js";
@@ -100,7 +112,7 @@ function G(d) {
100
112
  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);
101
113
  return e && i;
102
114
  }
103
- class Xt extends D {
115
+ class de extends D {
104
116
  constructor(t, e) {
105
117
  var a, f, m;
106
118
  super(t);
@@ -151,21 +163,21 @@ class Xt extends D {
151
163
  * @param opts.isAutoShow 是否是自动展示
152
164
  * @param opts.userAction 是否是用户行为
153
165
  */
154
- o(this, "show", (...e) => c(this, [...e], function* (t = {}) {
166
+ o(this, "show", (...e) => p(this, [...e], function* (t = {}) {
155
167
  if (!this.state.enabled || !this.showPromise && this.state.visible)
156
168
  return;
157
169
  const i = t.userAction !== void 0 ? t.userAction : !0;
158
170
  this.updateState({ visible: !0 }, i), this._show(t);
159
171
  }));
160
172
  /** 隐藏户型图 */
161
- o(this, "hide", (...e) => c(this, [...e], function* (t = {}) {
173
+ o(this, "hide", (...e) => p(this, [...e], function* (t = {}) {
162
174
  this.state.enabled && (this.isHiddenByHideFunc = !0, this.state.visible !== !1 && (this.updateState({ visible: !1 }, t.userAction || !0), this._hide(t)));
163
175
  }));
164
176
  /** 更新户型图大小 */
165
177
  o(this, "updateSize", () => {
166
178
  if (!this.data || !this.container || !this.wrapper)
167
179
  return !1;
168
- const { min: t, max: e } = this.data.bounding, i = e.x - t.x, n = e.y - t.y, h = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, r = L(this.five, this.wrapper, this.floorIndex, h), a = Math.ceil(i * r), f = Math.ceil(n * r);
180
+ const { min: t, max: e } = this.data.bounding, i = e.x - t.x, r = e.y - t.y, h = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, n = L(this.five, this.wrapper, this.floorIndex, h), a = Math.ceil(i * n), f = Math.ceil(r * n);
169
181
  return this.size.width === a && this.size.height === f || (this.container.style.width = a + "px", this.container.style.height = f + "px", this.size = { width: a, height: f }), !0;
170
182
  });
171
183
  o(this, "highlight", (t) => {
@@ -175,22 +187,22 @@ class Xt extends D {
175
187
  this.highlightData = {}, this.render();
176
188
  });
177
189
  o(this, "_disable", (t) => {
178
- var i, n, h;
190
+ var i, r, h;
179
191
  const { userAction: e } = t;
180
- this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, p.BreakOffByDisable), this.showPromise = void 0, (n = this.app) == null || n.$destroy(), this.app = void 0, (h = this.container) == null || h.remove(), this.removeEventListener();
192
+ this.hooks.emit("disable", { userAction: e }), (i = this.showRejection) == null || i.call(this, c.BreakOffByDisable), this.showPromise = void 0, (r = this.app) == null || r.$destroy(), this.app = void 0, (h = this.container) == null || h.remove(), this.removeEventListener();
181
193
  });
182
194
  o(this, "_enable", (t) => {
183
195
  const { userAction: e } = t;
184
196
  this.addEventListener(), this.wrapper && (this.wrapper.append(this.container), this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e }));
185
197
  });
186
- o(this, "_show", (t) => c(this, null, function* () {
198
+ o(this, "_show", (t) => p(this, null, function* () {
187
199
  var h;
188
200
  if (!this.state.enabled)
189
201
  return;
190
202
  if (!((h = this.five.model) != null && h.loaded))
191
- throw new Error(p.ModelNotLoaded);
203
+ throw new Error(c.ModelNotLoaded);
192
204
  if (!this.data)
193
- throw new Error(p.DataNotLoaded);
205
+ throw new Error(c.DataNotLoaded);
194
206
  if (this.showPromise)
195
207
  return this.showPromise;
196
208
  const e = {
@@ -199,36 +211,36 @@ class Xt extends D {
199
211
  immediately: !1,
200
212
  isAutoShow: !1,
201
213
  userAction: !0
202
- }, i = l(l({}, e), t), n = () => c(this, null, function* () {
214
+ }, i = l(l({}, e), t), r = () => p(this, null, function* () {
203
215
  this.hooks.emit("show", { userAction: i.userAction, auto: i.isAutoShow });
204
- let r = !1, a;
216
+ let n = !1, a;
205
217
  this.showRejection = (u) => {
206
- r = !0, a = u;
218
+ n = !0, a = u;
207
219
  };
208
220
  const [f] = yield I(T(this.five, this.showState, i.userAction));
209
221
  if (f)
210
222
  throw f;
211
- if (r)
212
- throw a ? new Error(a) : new Error(p.UnknownError);
223
+ if (n)
224
+ throw a ? new Error(a) : new Error(c.UnknownError);
213
225
  if (!this.updateSize())
214
- throw new Error(p.UpdateSizeError);
226
+ throw new Error(c.UpdateSizeError);
215
227
  this.floorIndex = i.floorIndex, this.five.model.show(this.floorIndex);
216
228
  });
217
- return this.isHiddenByHideFunc = !1, this.showPromise = n().then(() => {
229
+ return this.isHiddenByHideFunc = !1, this.showPromise = r().then(() => {
218
230
  this.showPromise = void 0, this.showRejection = void 0;
219
- const r = i.modelOpacity, a = i.immediately ? 0 : H;
220
- F(this.five, r, a), this.render(a), this.hooks.emit("showAnimationEnded", {
231
+ const n = i.modelOpacity, a = i.immediately ? 0 : H;
232
+ F(this.five, n, a), this.render(a), this.hooks.emit("showAnimationEnded", {
221
233
  auto: i.isAutoShow,
222
234
  userAction: i.userAction
223
235
  });
224
- }).catch((r) => {
225
- if (this.showPromise = void 0, this.showRejection = void 0, this.updateState({ visible: !1 }, i.userAction), !i.isAutoShow && r instanceof Error)
226
- throw r;
236
+ }).catch((n) => {
237
+ if (this.showPromise = void 0, this.showRejection = void 0, this.updateState({ visible: !1 }, i.userAction), !i.isAutoShow && n instanceof Error)
238
+ throw n;
227
239
  }), this.showPromise;
228
240
  }));
229
241
  o(this, "_hide", (t) => {
230
- var n;
231
- (n = this.showRejection) == null || n.call(this, p.BreakOffByHide), this.showPromise = void 0;
242
+ var r;
243
+ (r = this.showRejection) == null || r.call(this, c.BreakOffByHide), this.showPromise = void 0;
232
244
  const i = l(l({}, {
233
245
  userAction: !0,
234
246
  isAutoHide: !1
@@ -332,17 +344,17 @@ class Xt extends D {
332
344
  i18n: (u) => u,
333
345
  getRoomAreaText: (u) => (u / 1e6).toFixed(1) + "㎡",
334
346
  getRuleDistanceText: (u) => u.toString()
335
- }, n = e ? _(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), n.missingFloorConfig), r = g(l(l({}, i), n), { missingFloorConfig: h });
336
- this.state = { enabled: !0, visible: !1, config: r }, this.initContainer(), t.once("dispose", this.dispose), this.addEventListener();
347
+ }, r = e ? _(e, ["selector", "scale"]) : {}, h = l(l({}, i.missingFloorConfig), r.missingFloorConfig), n = g(l(l({}, i), r), { missingFloorConfig: h });
348
+ this.state = { enabled: !0, visible: !1, config: n }, this.initContainer(), t.once("dispose", this.dispose), this.addEventListener();
337
349
  }
338
350
  load(t, e, i = !0) {
339
- return c(this, null, function* () {
340
- function n(m) {
351
+ return p(this, null, function* () {
352
+ function r(m) {
341
353
  return Object.prototype.hasOwnProperty.apply(m, ["version"]);
342
354
  }
343
355
  const h = t;
344
356
  h && !h.version && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
345
- const r = JSON.parse(JSON.stringify(t)), a = n(r) ? r.data : r, f = this.data;
357
+ const n = JSON.parse(JSON.stringify(t)), a = r(n) ? n.data : n, f = this.data;
346
358
  this.data = yield b(a), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, f), e && this.updateState(e, i), this.render();
347
359
  });
348
360
  }
@@ -367,9 +379,9 @@ class Xt extends D {
367
379
  }
368
380
  /** 更改插件 State */
369
381
  setState(t, e = {}) {
370
- const i = this.state, n = e.userAction !== void 0 ? e.userAction : !0;
371
- if (this.updateState(t, n), t.enabled !== void 0 && i.enabled !== t.enabled && (t.enabled ? this._enable({ userAction: n }) : this._disable({ userAction: n })), t.visible !== void 0 && i.visible !== t.visible) {
372
- const h = { userAction: n };
382
+ const i = this.state, r = e.userAction !== void 0 ? e.userAction : !0;
383
+ if (this.updateState(t, r), t.enabled !== void 0 && i.enabled !== t.enabled && (t.enabled ? this._enable({ userAction: r }) : this._disable({ userAction: r })), t.visible !== void 0 && i.visible !== t.visible) {
384
+ const h = { userAction: r };
373
385
  t.visible ? this._show(h) : this._hide(h);
374
386
  }
375
387
  this.render();
@@ -378,13 +390,13 @@ class Xt extends D {
378
390
  this.updateState({ config: t }, e), this.render();
379
391
  }
380
392
  formatData(t) {
381
- return c(this, null, function* () {
393
+ return p(this, null, function* () {
382
394
  return yield b(t.data);
383
395
  });
384
396
  }
385
397
  updateState(t, e) {
386
- var r;
387
- const i = this.state, n = (r = t.config) != null && r.missingFloorConfig ? l(l({}, i.config.missingFloorConfig), t.config.missingFloorConfig) : i.config.missingFloorConfig, h = t.config ? g(l(l({}, i.config), t.config), { missingFloorConfig: n }) : i.config;
398
+ var n;
399
+ const i = this.state, r = (n = t.config) != null && n.missingFloorConfig ? l(l({}, i.config.missingFloorConfig), t.config.missingFloorConfig) : i.config.missingFloorConfig, h = t.config ? g(l(l({}, i.config), t.config), { missingFloorConfig: r }) : i.config;
388
400
  this.state = g(l(l({}, this.state), t), { config: h }), !M(this.state, i, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
389
401
  }
390
402
  /** 如果用户是通过 selector 设置父容器,需要在 modelLoaded 之后把 container 自动放到父容器里
@@ -429,5 +441,5 @@ class Xt extends D {
429
441
  }
430
442
  }
431
443
  export {
432
- Xt as Controller
444
+ de as Controller
433
445
  };
@@ -3,11 +3,23 @@ import "../../shared-utils/to.js";
3
3
  import "../../shared-utils/equal.js";
4
4
  import "../../shared-utils/isTruelyObject.js";
5
5
  import "../Components/Main.js";
6
- import "../../vendor/svelte/internal/index.js";
7
- import "../../vendor/svelte/transition/index.js";
8
- import "../../vendor/svelte/easing/index.js";
6
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
7
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
8
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
9
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
10
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
11
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
12
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
13
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
14
+ import "../../vendor/svelte/src/runtime/internal/each.js";
15
+ import "../../vendor/svelte/src/runtime/internal/spread.js";
16
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
17
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
18
+ import "../../vendor/svelte/src/shared/version.js";
19
+ import "../../vendor/svelte/src/runtime/transition/index.js";
20
+ import "../../vendor/svelte/src/runtime/easing/index.js";
9
21
  import "../Components/CurrentFloor.js";
10
- import "../../vendor/svelte/store/index.js";
22
+ import "../../vendor/svelte/src/runtime/store/index.js";
11
23
  import "../Components/BaseImage.js";
12
24
  import "../Components/Normalmage.js";
13
25
  import "../Components/SvgImage.js";
@@ -64,8 +76,8 @@ import "../utils/constant.js";
64
76
  import "../../shared-utils/nearlyEqual.js";
65
77
  import "../../shared-utils/five/changeMode.js";
66
78
  import "../../shared-utils/changeModelCanvasOpacity.js";
67
- const wo = (o, r) => new t(o, r);
79
+ const yo = (o, r) => new t(o, r);
68
80
  export {
69
- wo as ModelFloorplanPlugin,
70
- wo as default
81
+ yo as ModelFloorplanPlugin,
82
+ yo as default
71
83
  };
@@ -1,53 +1,65 @@
1
- import { SvelteComponent as T, init as W, safe_not_equal as E, append_styles as R, element as h, attr as _, set_style as s, insert as z, append as D, noop as q, detach as G, onMount as H } from "../../../vendor/svelte/internal/index.js";
1
+ import { safe_not_equal as T, noop as q } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as W, element as h, attr as x, set_style as l, insert as E, append as y, detach as R } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { onMount as z } from "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
4
+ import { SvelteComponent as G, init as H } from "../../../vendor/svelte/src/runtime/internal/Component.js";
5
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
2
6
  import { CAMERA_IMAGE as w } from "../../Assets/camera.js";
3
7
  import { throttle as O } from "../../../shared-utils/throttle.js";
4
- function j(r) {
5
- R(r, "svelte-1nqrlxd", ".plugin-radar__camera-wrapper.svelte-1nqrlxd{width:100%;height:100%;position:absolute;pointer-events:none}.plugin-radar__camera-position.svelte-1nqrlxd{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear}.plugin-radar__camera-rotate.svelte-1nqrlxd{position:absolute;left:-0.9375rem;top:-0.9375rem;width:1.0625rem;height:1.0625rem;transform-origin:0.9375rem 0.9375rem;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%}");
8
+ import "../../../vendor/svelte/src/runtime/internal/scheduler.js";
9
+ import "../../../vendor/svelte/src/runtime/internal/transitions.js";
10
+ import "../../../vendor/svelte/src/runtime/internal/environment.js";
11
+ import "../../../vendor/svelte/src/runtime/internal/loop.js";
12
+ import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
13
+ import "../../../vendor/svelte/src/shared/version.js";
14
+ function j(t) {
15
+ W(t, "svelte-1nqrlxd", ".plugin-radar__camera-wrapper.svelte-1nqrlxd{width:100%;height:100%;position:absolute;pointer-events:none}.plugin-radar__camera-position.svelte-1nqrlxd{position:absolute;left:0;top:0;width:0;height:0;transform:none;pointer-events:none;transition:transform 1s linear}.plugin-radar__camera-rotate.svelte-1nqrlxd{position:absolute;left:-0.9375rem;top:-0.9375rem;width:1.0625rem;height:1.0625rem;transform-origin:0.9375rem 0.9375rem;transform:rotate(45deg);background-repeat:no-repeat;background-size:100%}");
6
16
  }
7
- function B(r) {
8
- let n, e, a;
17
+ function B(t) {
18
+ let o, r, a;
9
19
  return {
10
20
  c() {
11
- n = h("div"), e = h("div"), a = h("div"), _(a, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), s(a, "background-image", "url(" + /*cameraImageUrl*/
12
- (r[0] || w) + ")"), s(
21
+ o = h("div"), r = h("div"), a = h("div"), x(a, "class", "plugin-radar__camera-rotate svelte-1nqrlxd"), l(a, "background-image", "url(" + /*cameraImageUrl*/
22
+ (t[0] || w) + ")"), l(
13
23
  a,
14
24
  "transform",
15
25
  /*rotateTransform*/
16
- r[1]
17
- ), _(e, "class", "plugin-radar__camera-position svelte-1nqrlxd"), s(
18
- e,
26
+ t[1]
27
+ ), x(r, "class", "plugin-radar__camera-position svelte-1nqrlxd"), l(
28
+ r,
19
29
  "transform",
20
30
  /*positionTransform*/
21
- r[2]
22
- ), _(n, "class", "plugin-radar__camera-wrapper svelte-1nqrlxd"), s(
23
- n,
31
+ t[2]
32
+ ), x(o, "class", "plugin-radar__camera-wrapper svelte-1nqrlxd"), l(
33
+ o,
24
34
  "opacity",
25
35
  /*hasCurrentFloorData*/
26
- r[3] ? 1 : 0
36
+ t[3] ? 1 : 0
27
37
  );
28
38
  },
29
- m(i, l) {
30
- z(i, n, l), D(n, e), D(e, a);
39
+ m(i, m) {
40
+ E(i, o, m), y(o, r), y(r, a);
31
41
  },
32
- p(i, [l]) {
33
- l & /*cameraImageUrl*/
34
- 1 && s(a, "background-image", "url(" + /*cameraImageUrl*/
35
- (i[0] || w) + ")"), (l & /*cameraImageUrl*/
36
- 1 || l & /*rotateTransform, cameraImageUrl*/
37
- 3) && s(
42
+ p(i, [m]) {
43
+ m & /*cameraImageUrl*/
44
+ 1 && l(a, "background-image", "url(" + /*cameraImageUrl*/
45
+ (i[0] || w) + ")");
46
+ const s = m & /*cameraImageUrl*/
47
+ 1;
48
+ (m & /*rotateTransform, cameraImageUrl*/
49
+ 3 || s) && l(
38
50
  a,
39
51
  "transform",
40
52
  /*rotateTransform*/
41
53
  i[1]
42
- ), l & /*positionTransform*/
43
- 4 && s(
44
- e,
54
+ ), m & /*positionTransform*/
55
+ 4 && l(
56
+ r,
45
57
  "transform",
46
58
  /*positionTransform*/
47
59
  i[2]
48
- ), l & /*hasCurrentFloorData*/
49
- 8 && s(
50
- n,
60
+ ), m & /*hasCurrentFloorData*/
61
+ 8 && l(
62
+ o,
51
63
  "opacity",
52
64
  /*hasCurrentFloorData*/
53
65
  i[3] ? 1 : 0
@@ -56,67 +68,67 @@ function B(r) {
56
68
  i: q,
57
69
  o: q,
58
70
  d(i) {
59
- i && G(n);
71
+ i && R(o);
60
72
  }
61
73
  };
62
74
  }
63
- function J(r) {
64
- return `rotate(${Math.floor(r / Math.PI * 180) * -1 + 45}deg)`;
75
+ function J(t) {
76
+ return `rotate(${Math.floor(t / Math.PI * 180) * -1 + 45}deg)`;
65
77
  }
66
- function K(r, n, e) {
67
- var y, A;
68
- let a, i, l, c, { five: o } = n, { pxmm: m } = n, { floorplanData: f } = n, { cameraImageUrl: x } = n, u = o.getCurrentState().panoIndex, p = o.getCurrentState().longitude, g = (A = (y = o.work.observers[o.getCurrentState().panoIndex]) == null ? void 0 : y.floorIndex) != null ? A : 0;
69
- function M(t, U) {
70
- const d = t.bounding, v = t.observers[U];
78
+ function K(t, o, r) {
79
+ var A, D;
80
+ let a, i, m, s, { five: n } = o, { pxmm: f } = o, { floorplanData: p } = o, { cameraImageUrl: _ } = o, c = n.getCurrentState().panoIndex, u = n.getCurrentState().longitude, g = (D = (A = n.work.observers[n.getCurrentState().panoIndex]) == null ? void 0 : A.floorIndex) != null ? D : 0;
81
+ function M(e, U) {
82
+ const d = e.bounding, v = e.observers[U];
71
83
  if (!v)
72
84
  return "";
73
- const k = (d.max.x - d.min.x) * m, F = (d.max.y - d.min.y) * m, P = Math.floor(v.positionInImage.x * k), S = Math.floor(v.positionInImage.y * F);
85
+ const k = (d.max.x - d.min.x) * f, F = (d.max.y - d.min.y) * f, P = Math.floor(v.positionInImage.x * k), S = Math.floor(v.positionInImage.y * F);
74
86
  return `translate(${P}px, ${S}px)`;
75
87
  }
76
- function I(t) {
77
- e(7, u = t);
88
+ function I(e) {
89
+ r(7, c = e);
78
90
  }
79
- function b(t) {
80
- e(9, g = o.work.observers[t].floorIndex);
91
+ function b(e) {
92
+ r(9, g = n.work.observers[e].floorIndex);
81
93
  }
82
94
  const C = O(
83
- (t) => {
84
- e(8, p = t.longitude);
95
+ (e) => {
96
+ r(8, u = e.longitude);
85
97
  },
86
98
  1e3 / 60
87
99
  );
88
- return H(() => (o.on("panoWillArrive", I), o.on("panoArrived", b), o.on("cameraDirectionUpdate", C), function() {
89
- o.off("panoWillArrive", I), o.off("panoArrived", b), o.off("cameraDirectionUpdate", C);
90
- })), r.$$set = (t) => {
91
- "five" in t && e(4, o = t.five), "pxmm" in t && e(5, m = t.pxmm), "floorplanData" in t && e(6, f = t.floorplanData), "cameraImageUrl" in t && e(0, x = t.cameraImageUrl);
92
- }, r.$$.update = () => {
93
- r.$$.dirty & /*floorplanData, floorIndex*/
94
- 576 && e(10, a = f.floorDatas[g]), r.$$.dirty & /*floorData*/
95
- 1024 && e(3, i = a.rooms.length > 0), r.$$.dirty & /*floorplanData, panoIndex*/
96
- 192 && e(2, l = M(f, u)), r.$$.dirty & /*longitude*/
97
- 256 && e(1, c = J(p));
100
+ return z(() => (n.on("panoWillArrive", I), n.on("panoArrived", b), n.on("cameraDirectionUpdate", C), function() {
101
+ n.off("panoWillArrive", I), n.off("panoArrived", b), n.off("cameraDirectionUpdate", C);
102
+ })), t.$$set = (e) => {
103
+ "five" in e && r(4, n = e.five), "pxmm" in e && r(5, f = e.pxmm), "floorplanData" in e && r(6, p = e.floorplanData), "cameraImageUrl" in e && r(0, _ = e.cameraImageUrl);
104
+ }, t.$$.update = () => {
105
+ t.$$.dirty & /*floorplanData, floorIndex*/
106
+ 576 && r(10, a = p.floorDatas[g]), t.$$.dirty & /*floorData*/
107
+ 1024 && r(3, i = a.rooms.length > 0), t.$$.dirty & /*floorplanData, panoIndex*/
108
+ 192 && r(2, m = M(p, c)), t.$$.dirty & /*longitude*/
109
+ 256 && r(1, s = J(u));
98
110
  }, [
99
- x,
100
- c,
101
- l,
102
- i,
103
- o,
111
+ _,
112
+ s,
104
113
  m,
114
+ i,
115
+ n,
105
116
  f,
106
- u,
107
117
  p,
118
+ c,
119
+ u,
108
120
  g,
109
121
  a
110
122
  ];
111
123
  }
112
- class V extends T {
113
- constructor(n) {
114
- super(), W(
124
+ class ar extends G {
125
+ constructor(o) {
126
+ super(), H(
115
127
  this,
116
- n,
128
+ o,
117
129
  K,
118
130
  B,
119
- E,
131
+ T,
120
132
  {
121
133
  five: 4,
122
134
  pxmm: 5,
@@ -128,5 +140,5 @@ class V extends T {
128
140
  }
129
141
  }
130
142
  export {
131
- V as default
143
+ ar as default
132
144
  };