@realsee/dnalogel 3.12.4 → 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 (500) 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 +4729 -4557
  7. package/dist/index.umd.js +56 -56
  8. package/docs/assets/custom.css +0 -0
  9. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +32 -32
  10. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +35 -35
  11. package/docs/classes/CSS3DRender.html +32 -32
  12. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  13. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +41 -41
  14. package/docs/classes/Magnifier.html +20 -20
  15. package/docs/classes/ModelRoomLabelController.html +11 -11
  16. package/docs/classes/MoveController.html +28 -28
  17. package/docs/classes/Object3DHelperController.html +25 -25
  18. package/docs/classes/PaintBrush.html +15 -15
  19. package/docs/classes/PanoMeasurePluginLine.html +27 -27
  20. package/docs/classes/PanoMeasurePluginModel.html +27 -27
  21. package/docs/classes/PanoMeasurePluginPoint.html +11 -11
  22. package/docs/classes/PanoMeasurePluginPolyline.html +27 -27
  23. package/docs/classes/PanoTagPluginController.html +51 -51
  24. package/docs/classes/Util.BetterTween.html +10 -10
  25. package/docs/classes/Util.Interval.html +12 -12
  26. package/docs/classes/Util.LineSegments.html +8 -8
  27. package/docs/classes/Util.Magnifier.html +20 -20
  28. package/docs/classes/Util.Object3D.html +9 -9
  29. package/docs/classes/Util.PointDomHelper.html +11 -11
  30. package/docs/classes/Util.PointHelper.html +11 -11
  31. package/docs/classes/Util.PointSelectorHelper.html +16 -16
  32. package/docs/classes/Util.Rectangle.html +13 -13
  33. package/docs/classes/WalkController.html +27 -27
  34. package/docs/enums/CameraMovementEffect.html +7 -7
  35. package/docs/enums/ContentType.html +21 -21
  36. package/docs/enums/DIRECTION.html +9 -9
  37. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  38. package/docs/enums/DimensionType.html +7 -7
  39. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  40. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  41. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  42. package/docs/enums/PointType.html +7 -7
  43. package/docs/enums/Rotation.html +8 -8
  44. package/docs/functions/AreaMakerPlugin.html +5 -5
  45. package/docs/functions/CSS3DRenderPlugin.html +5 -5
  46. package/docs/functions/CameraMovementPlugin.html +5 -5
  47. package/docs/functions/CruisePlugin.html +5 -5
  48. package/docs/functions/CurrentPanoImagePlugin.html +5 -5
  49. package/docs/functions/GuideLinePlugin.html +5 -5
  50. package/docs/functions/ItemLabelPlugin.html +5 -5
  51. package/docs/functions/MapviewFloorplanPlugin.html +5 -5
  52. package/docs/functions/ModelChassisCompassPlugin.html +5 -5
  53. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
  54. package/docs/functions/ModelFloorplanPlugin.html +5 -5
  55. package/docs/functions/ModelItemLabelPlugin.html +5 -5
  56. package/docs/functions/ModelRoomLabelPlugin.html +5 -5
  57. package/docs/functions/ModelTVVideoPlugin.html +5 -5
  58. package/docs/functions/ModelViewPlugin.html +5 -5
  59. package/docs/functions/MovePlugin.html +5 -5
  60. package/docs/functions/Object3DHelperPlugin.html +5 -5
  61. package/docs/functions/PanoCompassPlugin.html +5 -5
  62. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
  63. package/docs/functions/PanoDoorLabelPlugin.html +5 -5
  64. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
  65. package/docs/functions/PanoMeasurePlugin.html +5 -5
  66. package/docs/functions/PanoRulerPlugin.html +5 -5
  67. package/docs/functions/PanoRulerProPlugin.html +5 -5
  68. package/docs/functions/PanoSpatialTagPlugin.html +5 -5
  69. package/docs/functions/PanoTagPlugin.html +5 -5
  70. package/docs/functions/PanoVideoPlugin.html +5 -5
  71. package/docs/functions/PipelinePlugin.html +5 -5
  72. package/docs/functions/TopviewFloorplanPlugin.html +5 -5
  73. package/docs/functions/Util.absoluteUrl.html +5 -5
  74. package/docs/functions/Util.checkFiveModelLoaded.html +5 -5
  75. package/docs/functions/Util.equal.html +5 -5
  76. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  77. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  78. package/docs/functions/Util.getFrameTime.html +5 -5
  79. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  80. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  81. package/docs/functions/Util.isAbsoluteURL.html +5 -5
  82. package/docs/functions/Util.isModelLike.html +5 -5
  83. package/docs/functions/Util.isNil.html +5 -5
  84. package/docs/functions/Util.isPanoramaLike.html +5 -5
  85. package/docs/functions/Util.nextFrame.html +5 -5
  86. package/docs/functions/Util.notNil.html +5 -5
  87. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  88. package/docs/functions/Util.tweenProgress.html +5 -5
  89. package/docs/functions/Util.uuid.html +5 -5
  90. package/docs/functions/pluginFlag.html +5 -5
  91. package/docs/index.html +20 -21
  92. package/docs/interfaces/AddTagConfig.html +6 -6
  93. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +6 -6
  94. package/docs/interfaces/AreaMakerPluginType.Config.html +7 -7
  95. package/docs/interfaces/AreaMakerPluginType.EventMap.html +15 -15
  96. package/docs/interfaces/AreaMakerPluginType.Params.html +7 -7
  97. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +11 -11
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -9
  99. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +6 -6
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +6 -6
  101. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +6 -6
  102. package/docs/interfaces/AreaMakerPluginType.State.html +8 -8
  103. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  104. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  105. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  106. package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
  107. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
  108. package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -21
  109. package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
  110. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
  111. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
  112. package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
  113. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  114. package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
  115. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +11 -11
  116. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +12 -12
  117. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +7 -7
  118. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +6 -6
  119. package/docs/interfaces/CurrentPanoImagePluginType.State.html +8 -8
  120. package/docs/interfaces/EventMap.html +15 -15
  121. package/docs/interfaces/FloorplanBounding.html +8 -8
  122. package/docs/interfaces/FloorplanData.html +10 -10
  123. package/docs/interfaces/FloorplanEntrance.html +11 -11
  124. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  125. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  126. package/docs/interfaces/FloorplanFloorData.html +9 -9
  127. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  128. package/docs/interfaces/FloorplanObserver.html +9 -9
  129. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  130. package/docs/interfaces/FloorplanPosition.html +7 -7
  131. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  132. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  133. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  134. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  135. package/docs/interfaces/FloorplanServerData.html +7 -7
  136. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  137. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  138. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  139. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  140. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  141. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  142. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  143. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  144. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  145. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  146. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -9
  147. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
  148. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
  149. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
  150. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
  151. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +13 -13
  152. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +6 -6
  153. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
  154. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +19 -19
  155. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +7 -7
  156. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
  157. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -5
  158. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  159. package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -8
  160. package/docs/interfaces/GuideLinePluginType.Route.html +11 -11
  161. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
  162. package/docs/interfaces/HelperOffset.html +8 -8
  163. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  164. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  165. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  166. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  167. package/docs/interfaces/MinMax.html +7 -7
  168. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  169. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  170. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  171. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  172. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  173. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  174. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  175. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  176. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  177. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  178. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  179. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  180. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  181. package/docs/interfaces/Object3DHelperState.html +8 -8
  182. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  183. package/docs/interfaces/PaintBrushAction.html +12 -12
  184. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  185. package/docs/interfaces/PaintBrushState.html +10 -10
  186. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  187. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  188. package/docs/interfaces/PanoMeasureParameterType.html +16 -16
  189. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  190. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  191. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  192. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  193. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  194. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  195. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  196. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  197. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  198. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  199. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  200. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  201. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  202. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  203. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  204. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  205. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  206. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  207. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  208. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  209. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  210. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  211. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  212. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  213. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  214. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  215. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  216. package/docs/interfaces/Point.html +8 -8
  217. package/docs/interfaces/Room.html +9 -9
  218. package/docs/interfaces/RoomInfo.html +7 -7
  219. package/docs/interfaces/RoomLabel.html +14 -14
  220. package/docs/interfaces/RoomRules.html +5 -5
  221. package/docs/interfaces/Rooms.html +5 -5
  222. package/docs/interfaces/Scissor.html +9 -9
  223. package/docs/interfaces/State.html +8 -8
  224. package/docs/interfaces/TagCacheInterface.html +12 -12
  225. package/docs/interfaces/TagConfig.html +30 -30
  226. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  227. package/docs/interfaces/TagIconUrl.html +12 -12
  228. package/docs/interfaces/TagObjectGroup.html +6 -6
  229. package/docs/interfaces/TagStyle.html +6 -6
  230. package/docs/interfaces/Tags.html +9 -9
  231. package/docs/interfaces/TemporaryState.html +6 -6
  232. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  233. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  234. package/docs/interfaces/Util.PointIntersection.html +8 -8
  235. package/docs/modules/AreaMakerPluginType.html +5 -5
  236. package/docs/modules/CruisePluginTypes.html +5 -5
  237. package/docs/modules/CurrentPanoImagePluginType.html +5 -5
  238. package/docs/modules/GuideLineItem.html +5 -5
  239. package/docs/modules/GuideLineModeItem.html +5 -5
  240. package/docs/modules/GuideLinePluginType.html +5 -5
  241. package/docs/modules/PanoVideoPluginType.html +5 -5
  242. package/docs/modules/Util.html +5 -5
  243. package/docs/modules.html +4 -4
  244. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +5 -5
  245. package/docs/types/AreaMakerPluginType.ItemRenderer.html +5 -5
  246. package/docs/types/AreaMakerPluginType.PluginData.html +5 -5
  247. package/docs/types/AreaMakerPluginType.ServerData.html +5 -5
  248. package/docs/types/ArrayPosition.html +5 -5
  249. package/docs/types/AudioAppearance.html +5 -5
  250. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  251. package/docs/types/CSS3DRenderExportType.html +5 -5
  252. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  253. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  254. package/docs/types/ClassFunctionParameters.html +5 -5
  255. package/docs/types/Color.html +5 -5
  256. package/docs/types/ContentTypeConfigKey.html +5 -5
  257. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  258. package/docs/types/ContentTypeMap.html +5 -5
  259. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  260. package/docs/types/Create3DElementReturnType.html +5 -5
  261. package/docs/types/CruisePluginExportType.html +5 -5
  262. package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
  263. package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
  264. package/docs/types/CurrentPanoImagePluginExportType.html +5 -5
  265. package/docs/types/DeprecatedMediaPlaneProperty.html +5 -5
  266. package/docs/types/DeprecatedTagProperty.html +5 -5
  267. package/docs/types/Direction-1.html +5 -5
  268. package/docs/types/Direction4.html +5 -5
  269. package/docs/types/ElementRenderer.html +5 -5
  270. package/docs/types/FloorplanRuleLabels.html +5 -5
  271. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  272. package/docs/types/GuideLinePluginExportType.html +5 -5
  273. package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -5
  274. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
  275. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
  276. package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
  277. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -5
  278. package/docs/types/GuideLinePluginType.PathItem.html +5 -5
  279. package/docs/types/GuideLinePluginType.PluginData.html +5 -5
  280. package/docs/types/HelperEventMap.html +5 -5
  281. package/docs/types/LoadTagConfig.html +5 -5
  282. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  283. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  284. package/docs/types/MediaData.html +5 -5
  285. package/docs/types/MediaStore.html +5 -5
  286. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  287. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  288. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  289. package/docs/types/ModelId.html +5 -5
  290. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  291. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  292. package/docs/types/MoveArgs.html +5 -5
  293. package/docs/types/MoveOpts.html +5 -5
  294. package/docs/types/Object3DHelperEventMap.html +5 -5
  295. package/docs/types/ObjectFit.html +5 -5
  296. package/docs/types/PaintBrushEventMap.html +5 -5
  297. package/docs/types/PanoCompassPluginData.html +5 -5
  298. package/docs/types/PanoCompassPluginExportType.html +5 -5
  299. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  300. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  301. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  302. package/docs/types/PanoIndex.html +5 -5
  303. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  304. package/docs/types/PanoMeasureReturnType.html +5 -5
  305. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  306. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  307. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  308. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  309. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  310. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -5
  311. package/docs/types/PipelinePluginParameterType.html +5 -5
  312. package/docs/types/PipelinePluginReturnType.html +5 -5
  313. package/docs/types/PlaneTag.html +5 -5
  314. package/docs/types/Point2DTag.html +5 -5
  315. package/docs/types/Point3DTag.html +5 -5
  316. package/docs/types/PointTag.html +5 -5
  317. package/docs/types/PointTagInstance.html +5 -5
  318. package/docs/types/Position.html +5 -5
  319. package/docs/types/RotateArgs.html +5 -5
  320. package/docs/types/RotateOpts.html +5 -5
  321. package/docs/types/RuleLabelsKey.html +5 -5
  322. package/docs/types/RuleLabelsValue.html +5 -5
  323. package/docs/types/StickType.html +5 -5
  324. package/docs/types/Tag.html +5 -5
  325. package/docs/types/Tag2D.html +5 -5
  326. package/docs/types/Tag3D.html +5 -5
  327. package/docs/types/TagConfigByKey.html +5 -5
  328. package/docs/types/TagContentType.html +5 -5
  329. package/docs/types/TagContentTypeMapping.html +5 -5
  330. package/docs/types/TagDimensionType.html +5 -5
  331. package/docs/types/TagElement.html +5 -5
  332. package/docs/types/TagEvents.html +5 -5
  333. package/docs/types/TagGLTFObject.html +5 -5
  334. package/docs/types/TagHooks.html +5 -5
  335. package/docs/types/TagId.html +5 -5
  336. package/docs/types/TagInstance.html +5 -5
  337. package/docs/types/TagPointType.html +5 -5
  338. package/docs/types/TagRendererMap.html +5 -5
  339. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  340. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  341. package/docs/types/WorkCode.html +5 -5
  342. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  343. package/docs/variables/PLUGIN.html +5 -5
  344. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  345. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  346. package/docs/variables/defaultGlobalConfig.html +5 -5
  347. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  348. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  349. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  350. package/libs/AreaMakerPlugin/Controller.js +54 -44
  351. package/libs/AreaMakerPlugin/index.js +13 -3
  352. package/libs/AreaMakerPlugin/utils/Item.js +13 -3
  353. package/libs/CruisePlugin/Work.js +19 -6
  354. package/libs/CruisePlugin/index.js +23 -10
  355. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  356. package/libs/GuideLinePlugin/Controller.js +46 -33
  357. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  358. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  359. package/libs/GuideLinePlugin/index.js +24 -11
  360. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  361. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  362. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  363. package/libs/ItemLabelPlugin/index.js +16 -5
  364. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  365. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  366. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  367. package/libs/ModelItemLabelPlugin/index.js +16 -5
  368. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  369. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  370. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  371. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  372. package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
  373. package/libs/PanoDoorLabelPlugin/Controller.js +72 -62
  374. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  375. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  376. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  377. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  378. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  379. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  380. package/libs/PanoMeasurePlugin/Components/Controller0.js +74 -63
  381. package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
  382. package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
  383. package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
  384. package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
  385. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +33 -22
  386. package/libs/PanoMeasurePlugin/index.js +27 -16
  387. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  388. package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
  389. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  390. package/libs/PanoRulerProPlugin/index.js +15 -4
  391. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  392. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  393. package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
  394. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  395. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  396. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  397. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  398. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  399. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
  400. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
  401. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  402. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  403. package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
  404. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  405. package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
  406. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  407. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  408. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
  409. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
  410. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  411. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
  412. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  413. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  414. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  415. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  416. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  417. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +216 -198
  418. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  419. package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
  420. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
  421. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
  422. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  423. package/libs/PanoTagPlugin/Components/Tag/index.js +155 -142
  424. package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
  425. package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
  426. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  427. package/libs/PanoTagPlugin/controller/TagRender.js +33 -18
  428. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
  429. package/libs/PanoTagPlugin/controller/index.js +32 -19
  430. package/libs/PanoTagPlugin/index.js +28 -15
  431. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  432. package/libs/base/BasePlugin.js +1 -1
  433. package/libs/components/AreaLabel/LabelItem.js +59 -54
  434. package/libs/floorplan/Components/BaseImage.js +43 -39
  435. package/libs/floorplan/Components/Camera.js +41 -32
  436. package/libs/floorplan/Components/Compass.js +27 -24
  437. package/libs/floorplan/Components/CurrentFloor.js +54 -49
  438. package/libs/floorplan/Components/Main.js +56 -47
  439. package/libs/floorplan/Components/MissingFloor.js +24 -21
  440. package/libs/floorplan/Components/Normalmage.js +25 -22
  441. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  442. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  443. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
  444. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
  445. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  446. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  447. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  448. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  449. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  450. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  451. package/libs/floorplan/Components/SvgImage.js +30 -27
  452. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
  453. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  454. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
  455. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  456. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
  457. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
  458. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
  459. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
  460. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +24 -12
  461. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  462. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +33 -21
  463. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  464. package/libs/floorplan/index.js +1 -0
  465. package/libs/index.js +138 -124
  466. package/libs/shared-utils/logger.js +1 -1
  467. package/libs/vendor/classnames/index.js +32 -32
  468. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  469. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  470. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  471. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  472. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  473. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  474. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  475. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  476. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  477. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  478. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  479. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  480. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  481. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  482. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  483. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  484. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  485. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  486. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  487. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  488. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  489. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  490. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  491. package/libs/vendor/svelte/src/shared/version.js +4 -0
  492. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
  493. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  494. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  495. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  496. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  497. package/package.json +11 -8
  498. package/libs/vendor/svelte/internal/index.js +0 -749
  499. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  500. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,19 +1,19 @@
1
1
  var b = Object.defineProperty;
2
2
  var w = Object.getOwnPropertySymbols;
3
3
  var T = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
4
- var p = (s, e, t) => e in s ? b(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, h = (s, e) => {
5
- for (var t in e || (e = {}))
6
- T.call(e, t) && p(s, t, e[t]);
4
+ var p = (s, t, e) => t in s ? b(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, a = (s, t) => {
5
+ for (var e in t || (t = {}))
6
+ T.call(t, e) && p(s, e, t[e]);
7
7
  if (w)
8
- for (var t of w(e))
9
- U.call(e, t) && p(s, t, e[t]);
8
+ for (var e of w(t))
9
+ U.call(t, e) && p(s, e, t[e]);
10
10
  return s;
11
11
  };
12
- var i = (s, e, t) => (p(s, typeof e != "symbol" ? e + "" : e, t), t);
12
+ var i = (s, t, e) => (p(s, typeof t != "symbol" ? t + "" : t, e), e);
13
13
  import l from "./EditController.js";
14
14
  import P from "./ViewController.js";
15
15
  import v from "./WatchController.js";
16
- import a from "./MixedController.js";
16
+ import m from "./MixedController.js";
17
17
  import { omit as k } from "../../shared-utils/filter.js";
18
18
  import { Group as D } from "three";
19
19
  import { Model as E } from "../Model/index.js";
@@ -98,19 +98,30 @@ import "../Modules/UIController/MainBtnController.js";
98
98
  import "../Modules/UIController/mobileMainBtnController.js";
99
99
  import "../Modules/UIController/Revoke/index.js";
100
100
  import "../Components/Controller0.js";
101
- import "../../vendor/svelte/internal/index.js";
101
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
102
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
103
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
104
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
105
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
106
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
107
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
108
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
109
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
110
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
111
+ import "../../vendor/svelte/src/shared/version.js";
102
112
  import "../Components/Common/Switcher0.js";
113
+ import "../../vendor/svelte/src/runtime/internal/each.js";
103
114
  import "../Components/Common/Exit.js";
104
115
  import "../Components/Common/icons/index.js";
105
116
  import "../Components/Controller1.js";
106
117
  import "../Components/Common/Switcher1.js";
107
118
  import "../Components/Common/CircleButton.js";
108
- import "../../vendor/svelte/transition/index.js";
109
- import "../../vendor/svelte/easing/index.js";
119
+ import "../../vendor/svelte/src/runtime/transition/index.js";
120
+ import "../../vendor/svelte/src/runtime/easing/index.js";
110
121
  import "../../vendor/object-assign-deep/objectAssignDeep.js";
111
122
  import "../Components/Tip.js";
112
- class Et {
113
- constructor(e, t) {
123
+ class He {
124
+ constructor(t, e) {
114
125
  i(this, "hasOpen", !1);
115
126
  i(this, "hook", new x());
116
127
  i(this, "magnifier");
@@ -134,115 +145,115 @@ class Et {
134
145
  * @description 还原点位展示和默认鼠标 UI
135
146
  */
136
147
  i(this, "disable", () => {
137
- var e, t, r, o;
138
- this.hasOpen = !1, this.container.style.opacity = "0", (e = this.controller) == null || e.dispose(), (t = this.useUIController) == null || t.hide(), (r = this.useGuideController) == null || r.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
148
+ var t, e, r, o;
149
+ this.hasOpen = !1, this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (r = this.useGuideController) == null || r.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
139
150
  });
140
- i(this, "getCurrentMode", () => this.controller instanceof l ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof a ? "Mixed" : this.controller instanceof P ? "View" : null);
151
+ i(this, "getCurrentMode", () => this.controller instanceof l ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof m ? "Mixed" : this.controller instanceof P ? "View" : null);
141
152
  /** 变更场景
142
153
  * @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
143
154
  */
144
- i(this, "changeMode", (e) => {
155
+ i(this, "changeMode", (t) => {
145
156
  var o;
146
- if (!this.hasOpen || this.getCurrentMode() === e)
157
+ if (!this.hasOpen || this.getCurrentMode() === t)
147
158
  return;
148
159
  (o = this.controller) == null || o.dispose();
149
- const t = {
160
+ const e = {
150
161
  View: P,
151
162
  Watch: v,
152
163
  Edit: l,
153
- Mixed: a
164
+ Mixed: m
154
165
  };
155
- if (!t[e])
166
+ if (!e[t])
156
167
  throw new Error("不存在的 Mode");
157
168
  const r = this.createControllerParams();
158
- this.controller = new t[e](r), this.hook.emit("modeChange", e);
169
+ this.controller = new e[t](r), this.hook.emit("modeChange", t);
159
170
  });
160
171
  /**
161
172
  * @description: 切换测量的类型
162
173
  */
163
- i(this, "changeMeasureType", (e) => {
164
- this.currentMeasureType = e, this.hook.emit("measureTypeChange", e);
174
+ i(this, "changeMeasureType", (t) => {
175
+ this.currentMeasureType = t, this.hook.emit("measureTypeChange", t);
165
176
  });
166
177
  var n, c, u, d, f, g, M, y, C;
167
- this.five = e, this.params = t, this.config = k(t, ["openParams", "magnifierParams"]), this.model = new E(this.config), this.isMobile = (c = (n = t == null ? void 0 : t.openParams) == null ? void 0 : n.isMobile) != null ? c : !1, this.magnifier = new A(e, (u = t.magnifierParams) != null ? u : { width: 190, height: 190, scale: 2 }), this.allowMeasureType = Array.from(new Set((f = (d = t.editParams) == null ? void 0 : d.allowMeasureType) != null ? f : ["line"])), this.currentMeasureType = (g = this.allowMeasureType[0]) != null ? g : "line", this.group = new D(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
168
- const r = (y = (M = t.editParams) == null ? void 0 : M.pointSelectorMode) != null ? y : B ? "fixed" : "cursor", o = (C = this.params.openParams) != null ? C : {};
178
+ this.five = t, this.params = e, this.config = k(e, ["openParams", "magnifierParams"]), this.model = new E(this.config), this.isMobile = (c = (n = e == null ? void 0 : e.openParams) == null ? void 0 : n.isMobile) != null ? c : !1, this.magnifier = new A(t, (u = e.magnifierParams) != null ? u : { width: 190, height: 190, scale: 2 }), this.allowMeasureType = Array.from(new Set((f = (d = e.editParams) == null ? void 0 : d.allowMeasureType) != null ? f : ["line"])), this.currentMeasureType = (g = this.allowMeasureType[0]) != null ? g : "line", this.group = new D(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
179
+ const r = (y = (M = e.editParams) == null ? void 0 : M.pointSelectorMode) != null ? y : B ? "fixed" : "cursor", o = (C = this.params.openParams) != null ? C : {};
169
180
  if (this.params.useUIController !== !1) {
170
- const m = h({
181
+ const h = a({
171
182
  container: this.container,
172
183
  openParams: o,
173
- i18n: t.i18n,
184
+ i18n: e.i18n,
174
185
  pointSelectorMode: r,
175
186
  useNewUI: this.allowMeasureType.length > 1
176
187
  }, I(this.params.useUIController));
177
- this.useUIController = new S(this, m);
188
+ this.useUIController = new S(this, h);
178
189
  }
179
190
  if (this.params.useGuideController !== !1) {
180
- const m = h({
191
+ const h = a({
181
192
  container: this.container,
182
193
  pointSelectorMode: r,
183
- i18n: t.i18n
194
+ i18n: e.i18n
184
195
  }, I(this.params.useGuideController));
185
- this.useGuideController = new L(this, m);
196
+ this.useGuideController = new L(this, h);
186
197
  }
187
198
  }
188
- appendTo(e) {
189
- e.append(this.container);
199
+ appendTo(t) {
200
+ t.append(this.container);
190
201
  }
191
202
  clear() {
192
203
  this.model.clear();
193
204
  }
194
205
  dispose() {
195
- var e, t;
196
- this.disable(), this.clear(), (e = this.useUIController) == null || e.dispose(), (t = this.magnifier) == null || t.dispose(), this.five.needsRender = !0;
206
+ var t, e;
207
+ this.disable(), this.clear(), (t = this.useUIController) == null || t.dispose(), (e = this.magnifier) == null || e.dispose(), this.five.needsRender = !0;
197
208
  }
198
209
  /** 加载数据
199
210
  * @description 数据加载时会覆盖当前已保存的数据
200
211
  * @description 如果当前正在编辑中,会自动退出并保存编辑
201
212
  */
202
- load(e) {
203
- this.model.parse(e), this.save();
213
+ load(t) {
214
+ this.model.parse(t), this.save();
204
215
  }
205
216
  /** 插件功能入口
206
217
  * @description 会隐藏鼠标的默认聚焦环
207
218
  * @description 会隐藏当前 VR 内的点位展示
208
219
  */
209
- enable(e) {
210
- var t;
211
- this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.opacity = "1", e != null && e.mode ? this.changeMode(e.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (t = this.useUIController) == null || t.show(), this.shortcutKeyController = new O(this, this.five), this.hook.emit("enable", !0));
220
+ enable(t) {
221
+ var e;
222
+ this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (e = this.useUIController) == null || e.show(), this.shortcutKeyController = new O(this, this.five), this.hook.emit("enable", !0));
212
223
  }
213
224
  /** 进入编辑模式 */
214
- edit(e) {
215
- e && this.changeMeasureType(e);
216
- const t = this.isMobile ? "Mixed" : "Edit";
217
- this.changeMode(t);
225
+ edit(t) {
226
+ t && this.changeMeasureType(t);
227
+ const e = this.isMobile ? "Mixed" : "Edit";
228
+ this.changeMode(e);
218
229
  }
219
230
  /** 撤销编辑 */
220
231
  revoke() {
221
232
  this.controller instanceof l && this.controller.revoke();
222
233
  }
223
- removePolyline(e) {
224
- this.model.removePolyline(e);
234
+ removePolyline(t) {
235
+ this.model.removePolyline(t);
225
236
  }
226
- removeArea(e) {
227
- this.model.removeArea(e);
237
+ removeArea(t) {
238
+ this.model.removeArea(t);
228
239
  }
229
- removePolylineByID(e) {
230
- const t = this.model.getPolylineByID(e);
231
- t && this.model.removePolyline(t);
240
+ removePolylineByID(t) {
241
+ const e = this.model.getPolylineByID(t);
242
+ e && this.model.removePolyline(e);
232
243
  }
233
- getPolylineByID(e) {
234
- return this.model.getPolylineByID(e);
244
+ getPolylineByID(t) {
245
+ return this.model.getPolylineByID(t);
235
246
  }
236
247
  getEditedPolyline() {
237
248
  }
238
249
  /**
239
250
  * 高亮当前线段
240
251
  */
241
- highlightLine(e) {
252
+ highlightLine(t) {
242
253
  if (this.getCurrentMode() !== "Watch")
243
254
  return !1;
244
- const t = this.model.getLineByID(e);
245
- return t ? (this.controller.highlightLine(t), !0) : !1;
255
+ const e = this.model.getLineByID(t);
256
+ return e ? (this.controller.highlightLine(e), !0) : !1;
246
257
  }
247
258
  clearHighlightLines() {
248
259
  return this.getCurrentMode() !== "Watch" ? !1 : (this.controller.clearHighlightLines(), !0);
@@ -250,22 +261,22 @@ class Et {
250
261
  /** 保存编辑
251
262
  * @description 以下情况可能报错
252
263
  */
253
- save(e) {
264
+ save(t) {
254
265
  var o;
255
- if (!(this.controller instanceof l) && !(this.controller instanceof a))
266
+ if (!(this.controller instanceof l) && !(this.controller instanceof m))
256
267
  return this;
257
- const t = (o = e == null ? void 0 : e.mode) != null ? o : "View", r = this.controller.model.areas;
268
+ const e = (o = t == null ? void 0 : t.mode) != null ? o : "View", r = this.controller.model.areas;
258
269
  return this.controller instanceof l ? this.controller.complete() : r.forEach((n) => {
259
270
  n.showArea(), this.model.addArea(n);
260
- }), this.changeMode(t), this;
271
+ }), this.changeMode(e), this;
261
272
  }
262
273
  /** Mixed 模式才有用,添加起点 */
263
274
  addStartPoint() {
264
- this.controller instanceof a && this.hook.emit("willChangeState", "watching", "editing");
275
+ this.controller instanceof m && this.hook.emit("willChangeState", "watching", "editing");
265
276
  }
266
277
  /** Mixed 模式才有用,添加终点 */
267
278
  addEndPoint() {
268
- this.controller instanceof a && this.hook.emit("willChangeState", "editing", "watching");
279
+ this.controller instanceof m && this.hook.emit("willChangeState", "editing", "watching");
269
280
  }
270
281
  /** 导出数据 */
271
282
  toJson() {
@@ -276,24 +287,24 @@ class Et {
276
287
  * @description 改变插件的模式(pc端模式或移动端模式)
277
288
  * @param isMobile true为移动端模式,false为pc端
278
289
  */
279
- changeIsMobile(e) {
290
+ changeIsMobile(t) {
280
291
  }
281
- changeConfigs(e) {
282
- var t, r;
283
- Object.assign(this.config, e), (t = this.controller) == null || t.updateDistanceUI(), (r = this.controller) == null || r.updateAreaUI();
292
+ changeConfigs(t) {
293
+ var e, r;
294
+ Object.assign(this.config, t), (e = this.controller) == null || e.updateDistanceUI(), (r = this.controller) == null || r.updateAreaUI();
284
295
  }
285
296
  /** 设置线段的文本 */
286
- setCustomText(e, t) {
297
+ setCustomText(t, e) {
287
298
  var o;
288
- const r = this.model.getLineByID(e);
299
+ const r = this.model.getLineByID(t);
289
300
  if (!r)
290
301
  throw new Error("不存在的线段");
291
- r.setText(t), (o = this.controller) == null || o.updateDistanceUI();
302
+ r.setText(e), (o = this.controller) == null || o.updateDistanceUI();
292
303
  }
293
304
  createControllerParams() {
294
305
  var r, o;
295
- const e = (r = this.params.openParams) != null ? r : {}, t = (o = this.params.editParams) != null ? o : {};
296
- return e.isMobile = this.isMobile, {
306
+ const t = (r = this.params.openParams) != null ? r : {}, e = (o = this.params.editParams) != null ? o : {};
307
+ return t.isMobile = this.isMobile, {
297
308
  five: this.five,
298
309
  hook: this.hook,
299
310
  group: this.group,
@@ -301,15 +312,15 @@ class Et {
301
312
  config: this.config,
302
313
  magnifier: this.magnifier,
303
314
  container: this.container,
304
- openParams: e,
305
- editParams: t,
315
+ openParams: t,
316
+ editParams: e,
306
317
  magnifierParams: this.params.magnifierParams,
307
318
  getMeasureType: () => this.currentMeasureType,
308
- mouseGroup: G(h({}, e.crossHairParameter)),
319
+ mouseGroup: G(a({}, t.crossHairParameter)),
309
320
  userDistanceItemCreator: this.params.userDistanceItemCreator
310
321
  };
311
322
  }
312
323
  }
313
324
  export {
314
- Et as default
325
+ He as default
315
326
  };
@@ -1,12 +1,22 @@
1
- var s = Object.defineProperty;
2
- var r = (i, t, e) => t in i ? s(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
- var o = (i, t, e) => (r(i, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { objectAssignDeepExports as p } from "../../vendor/object-assign-deep/objectAssignDeep.js";
1
+ var r = Object.defineProperty;
2
+ var p = (e, t, i) => t in e ? r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
3
+ var o = (e, t, i) => (p(e, typeof t != "symbol" ? t + "" : t, i), i);
4
+ import { objectAssignDeepExports as s } from "../../vendor/object-assign-deep/objectAssignDeep.js";
5
5
  import l from "../Components/Tip.js";
6
- import "../../vendor/svelte/internal/index.js";
7
- import "../../vendor/svelte/transition/index.js";
8
- import "../../vendor/svelte/easing/index.js";
9
- const n = {
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/Component.js";
15
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
16
+ import "../../vendor/svelte/src/shared/version.js";
17
+ import "../../vendor/svelte/src/runtime/transition/index.js";
18
+ import "../../vendor/svelte/src/runtime/easing/index.js";
19
+ const m = {
10
20
  line: {
11
21
  start: "选择一个合适的位置开始测量,点击【结束】或【鼠标右键】结束测量"
12
22
  },
@@ -14,7 +24,7 @@ const n = {
14
24
  start: "选择一个合适的位置开始绘制平面",
15
25
  close: "选择3个点后将闭合平面,点击【结束】或【鼠标右键】将自动闭合"
16
26
  }
17
- }, c = {
27
+ }, n = {
18
28
  line: {
19
29
  start: ""
20
30
  },
@@ -23,17 +33,17 @@ const n = {
23
33
  close: "选择3个点后将闭合平面,点击结束自动闭合"
24
34
  }
25
35
  };
26
- class D {
27
- constructor(t, e) {
36
+ class j {
37
+ constructor(t, i) {
28
38
  o(this, "tipSvelteDom");
29
39
  this.tipSvelteDom = new l({
30
- target: e.container,
40
+ target: i.container,
31
41
  props: {
32
42
  measureController: t,
33
- tips: p({}, e.pointSelectorMode === "fixed" ? c : n, e.tips),
34
- i18n: e.i18n,
43
+ tips: s({}, i.pointSelectorMode === "fixed" ? n : m, i.tips),
44
+ i18n: i.i18n,
35
45
  visible: !0,
36
- tipStyle: e.tipStyle
46
+ tipStyle: i.tipStyle
37
47
  }
38
48
  });
39
49
  }
@@ -51,5 +61,5 @@ class D {
51
61
  }
52
62
  }
53
63
  export {
54
- D as GuideController
64
+ j as GuideController
55
65
  };
@@ -1,6 +1,6 @@
1
1
  var a = Object.defineProperty;
2
2
  var h = (r, o, t) => o in r ? a(r, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[o] = t;
3
- var e = (r, o, t) => (h(r, typeof o != "symbol" ? o + "" : o, t), t);
3
+ var i = (r, o, t) => (h(r, typeof o != "symbol" ? o + "" : o, t), t);
4
4
  import d from "./HTML.js";
5
5
  import u from "./mobileHTML.js";
6
6
  import { controllerBackgroundStyle as y, operatingSpaceStyle as f, uiWrapperStyle as v, textStyle as C, exitItemStyle as E, exitIconStyle as x } from "./style.js";
@@ -9,8 +9,19 @@ import { MobileMainBtnController as g } from "./mobileMainBtnController.js";
9
9
  import w from "./Revoke/index.js";
10
10
  import _ from "../../Components/Controller0.js";
11
11
  import b from "../../Components/Controller1.js";
12
- import "../../../vendor/svelte/internal/index.js";
12
+ import "../../../vendor/svelte/src/runtime/internal/utils.js";
13
+ import "../../../vendor/svelte/src/runtime/internal/dom.js";
14
+ import "../../../vendor/svelte/src/runtime/internal/transitions.js";
15
+ import "../../../vendor/svelte/src/runtime/internal/environment.js";
16
+ import "../../../vendor/svelte/src/runtime/internal/loop.js";
17
+ import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
18
+ import "../../../vendor/svelte/src/runtime/internal/scheduler.js";
19
+ import "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
20
+ import "../../../vendor/svelte/src/runtime/internal/Component.js";
21
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
22
+ import "../../../vendor/svelte/src/shared/version.js";
13
23
  import "../../Components/Common/Switcher0.js";
24
+ import "../../../vendor/svelte/src/runtime/internal/each.js";
14
25
  import "../../Components/Common/Exit.js";
15
26
  import "../../Controller/EditController.js";
16
27
  import "../../Model/line.js";
@@ -80,44 +91,44 @@ import "../../utils/math.js";
80
91
  import "../../Components/Common/icons/index.js";
81
92
  import "../../Components/Common/Switcher1.js";
82
93
  import "../../Components/Common/CircleButton.js";
83
- import "../../../vendor/svelte/transition/index.js";
84
- import "../../../vendor/svelte/easing/index.js";
85
- class to {
94
+ import "../../../vendor/svelte/src/runtime/transition/index.js";
95
+ import "../../../vendor/svelte/src/runtime/easing/index.js";
96
+ class ao {
86
97
  constructor(o, t) {
87
- e(this, "revoke");
88
- e(this, "container");
89
- e(this, "mainController");
90
- e(this, "disposers", []);
91
- e(this, "measureController");
92
- e(this, "mode");
93
- e(this, "svelteDom");
94
- e(this, "_params");
95
- e(this, "handleExit", () => {
98
+ i(this, "revoke");
99
+ i(this, "container");
100
+ i(this, "mainController");
101
+ i(this, "disposers", []);
102
+ i(this, "measureController");
103
+ i(this, "mode");
104
+ i(this, "svelteDom");
105
+ i(this, "_params");
106
+ i(this, "handleExit", () => {
96
107
  const o = this.container.querySelector(".fpm__exit-icon"), t = this.container.querySelector(".fpm__exit");
97
108
  if (!t || !o)
98
109
  throw new Error("cannot find dom");
99
110
  this.mode === "pc" && (Object.assign(t.style, E), Object.assign(o == null ? void 0 : o.style, x));
100
- const i = () => {
111
+ const e = () => {
101
112
  t.style.opacity = "1";
102
113
  }, s = () => {
103
114
  t.style.opacity = "0.85";
104
115
  }, n = () => {
105
116
  this.measureController.disable();
106
117
  };
107
- return t.addEventListener("click", n), t.addEventListener("mouseenter", i), t.addEventListener("mouseleave", s), () => {
108
- t.removeEventListener("click", n), t.removeEventListener("mouseenter", i), t.removeEventListener("mouseleave", s);
118
+ return t.addEventListener("click", n), t.addEventListener("mouseenter", e), t.addEventListener("mouseleave", s), () => {
119
+ t.removeEventListener("click", n), t.removeEventListener("mouseenter", e), t.removeEventListener("mouseleave", s);
109
120
  };
110
121
  });
111
122
  var s, n;
112
123
  this._params = t, this.measureController = o, this.mode = (s = t.mode) != null ? s : "pc", this.container = document.createElement("div"), this.container.innerHTML = this.mode === "mobile" ? u : d, this.container.classList.add("fpm__ui-controller", this.mode), this.container.style.background = "rgba(0, 0, 0, 0.15)";
113
- const i = (n = t.useNewUI) != null ? n : !1;
114
- if (i && (t.pointSelectorMode === "cursor" ? this.svelteDom = new _({
124
+ const e = (n = t.useNewUI) != null ? n : !1;
125
+ if (e && (t.pointSelectorMode === "cursor" ? this.svelteDom = new _({
115
126
  target: t.container,
116
127
  props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
117
128
  }) : t.pointSelectorMode === "fixed" && (this.svelteDom = new b({
118
129
  target: t.container,
119
130
  props: { measureController: this.measureController, i18n: t.i18n, showExit: t.showExit }
120
- }))), !i) {
131
+ }))), !e) {
121
132
  t.container.appendChild(this.container);
122
133
  const l = this.container.querySelectorAll(".fpm__text"), m = this.container.querySelector(".fpm_ui-bg"), p = this.container.querySelector(".fpm_operating-space");
123
134
  Object.assign(m == null ? void 0 : m.style, y), Object.assign(p == null ? void 0 : p.style, f), Object.assign(this.container.style, v), l.forEach((c) => Object.assign(c.style, C));
@@ -132,9 +143,9 @@ class to {
132
143
  }
133
144
  hide() {
134
145
  var o, t;
135
- return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((i) => i()), this.disposers = [], this;
146
+ return this.container.style.display = "none", this.container.style.opacity = "0", this.container.style.transform = "translate(0, 10px)", this.mode === "pc" && ((o = this.revoke) == null || o.dispose()), (t = this.mainController) == null || t.dispose(), this.disposers.forEach((e) => e()), this.disposers = [], this;
136
147
  }
137
148
  }
138
149
  export {
139
- to as UIController
150
+ ao as UIController
140
151
  };
@@ -1,9 +1,9 @@
1
1
  import t from "./Controller/index.js";
2
- import { default as Yo } from "./Modules/Magnifier.js";
3
- import { Model as _o } from "./Model/index.js";
4
- import { default as or } from "./Model/point.js";
5
- import { default as tr } from "./Model/line.js";
6
- import { Polyline as mr } from "./Model/polyline.js";
2
+ import { default as ar } from "./Modules/Magnifier.js";
3
+ import { Model as ur } from "./Model/index.js";
4
+ import { default as Pr } from "./Model/point.js";
5
+ import { default as fr } from "./Model/line.js";
6
+ import { Polyline as gr } from "./Model/polyline.js";
7
7
  import "./Controller/EditController.js";
8
8
  import "../shared-utils/throttle.js";
9
9
  import "./Controller/BaseController.js";
@@ -85,29 +85,40 @@ import "./Modules/UIController/MainBtnController.js";
85
85
  import "./Modules/UIController/mobileMainBtnController.js";
86
86
  import "./Modules/UIController/Revoke/index.js";
87
87
  import "./Components/Controller0.js";
88
- import "../vendor/svelte/internal/index.js";
88
+ import "../vendor/svelte/src/runtime/internal/utils.js";
89
+ import "../vendor/svelte/src/runtime/internal/dom.js";
90
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
91
+ import "../vendor/svelte/src/runtime/internal/environment.js";
92
+ import "../vendor/svelte/src/runtime/internal/loop.js";
93
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
94
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
95
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
96
+ import "../vendor/svelte/src/runtime/internal/Component.js";
97
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
98
+ import "../vendor/svelte/src/shared/version.js";
89
99
  import "./Components/Common/Switcher0.js";
100
+ import "../vendor/svelte/src/runtime/internal/each.js";
90
101
  import "./Components/Common/Exit.js";
91
102
  import "./Components/Common/icons/index.js";
92
103
  import "./Components/Controller1.js";
93
104
  import "./Components/Common/Switcher1.js";
94
105
  import "./Components/Common/CircleButton.js";
95
- import "../vendor/svelte/transition/index.js";
96
- import "../vendor/svelte/easing/index.js";
106
+ import "../vendor/svelte/src/runtime/transition/index.js";
107
+ import "../vendor/svelte/src/runtime/easing/index.js";
97
108
  import "./Modules/GuideController.js";
98
109
  import "../vendor/object-assign-deep/objectAssignDeep.js";
99
110
  import "./Components/Tip.js";
100
111
  import "./Controller/ShortcutKeyController.js";
101
112
  import "../shared-utils/safeObj.js";
102
- const Vo = function(o, r) {
113
+ const mr = function(o, r) {
103
114
  return new t(o, r);
104
115
  };
105
116
  export {
106
- Yo as Magnifier,
107
- Vo as PanoMeasurePlugin,
108
- tr as PanoMeasurePluginLine,
109
- _o as PanoMeasurePluginModel,
110
- or as PanoMeasurePluginPoint,
111
- mr as PanoMeasurePluginPolyline,
112
- Vo as default
117
+ ar as Magnifier,
118
+ mr as PanoMeasurePlugin,
119
+ fr as PanoMeasurePluginLine,
120
+ ur as PanoMeasurePluginModel,
121
+ Pr as PanoMeasurePluginPoint,
122
+ gr as PanoMeasurePluginPolyline,
123
+ mr as default
113
124
  };