@realsee/dnalogel 3.32.0-dev.0 → 3.32.1

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