@realsee/dnalogel 2.21.0-dev.10 → 2.21.0-dev.12

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 (344) hide show
  1. package/dist/PanoMeasurePlugin/Components/Tip.svelte.d.ts +1 -0
  2. package/dist/PanoMeasurePlugin/Model/area.d.ts +4 -0
  3. package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +15 -11
  4. package/dist/PanoMeasurePlugin/typings/event.type.d.ts +5 -1
  5. package/dist/PanoTagPlugin/controller/index.d.ts +2 -1
  6. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
  7. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -1
  8. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -4
  9. package/dist/index.cjs.js +54 -54
  10. package/dist/index.js +3818 -3665
  11. package/dist/index.umd.js +42 -42
  12. package/dist/shared-utils/three/PointSelector.d.ts +17 -1
  13. package/dist/shared-utils/three/PointSelectorHelper.d.ts +2 -11
  14. package/dist/typings/typings.d.ts +4 -0
  15. package/docs/assets/search.js +1 -1
  16. package/docs/classes/CSS3DRender.html +30 -31
  17. package/docs/classes/CruisePluginController.html +25 -26
  18. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -20
  19. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -35
  20. package/docs/classes/Magnifier.html +19 -20
  21. package/docs/classes/ModelRoomLabelController.html +10 -11
  22. package/docs/classes/Object3DHelperController.html +24 -25
  23. package/docs/classes/PaintBrush.html +14 -15
  24. package/docs/classes/PanoMeasurePluginLine.html +26 -27
  25. package/docs/classes/PanoMeasurePluginModel.html +26 -27
  26. package/docs/classes/PanoMeasurePluginPoint.html +13 -14
  27. package/docs/classes/PanoMeasurePluginPolyline.html +26 -27
  28. package/docs/classes/PanoTagPluginController.html +50 -51
  29. package/docs/classes/Util.BetterTween.html +8 -9
  30. package/docs/classes/Util.Interval.html +11 -12
  31. package/docs/classes/Util.Magnifier.html +19 -20
  32. package/docs/classes/Util.PointDomHelper.html +10 -11
  33. package/docs/classes/Util.PointHelper.html +10 -11
  34. package/docs/classes/Util.PointSelectorHelper.html +21 -59
  35. package/docs/classes/Util.Rectangle.html +12 -13
  36. package/docs/enums/CameraMovementEffect.html +6 -7
  37. package/docs/enums/ContentType.html +19 -20
  38. package/docs/enums/DIRECTION.html +8 -9
  39. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -9
  40. package/docs/enums/DimensionType.html +6 -7
  41. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -8
  42. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -9
  43. package/docs/enums/PaintBrushTypeEnum.html +7 -8
  44. package/docs/enums/PointType.html +6 -7
  45. package/docs/enums/Rotation.html +7 -8
  46. package/docs/functions/CSS3DRenderPlugin.html +3 -4
  47. package/docs/functions/CameraMovementPlugin.html +3 -4
  48. package/docs/functions/CruisePlugin.html +3 -4
  49. package/docs/functions/GuideLinePlugin.html +4 -5
  50. package/docs/functions/ItemLabelPlugin.html +3 -4
  51. package/docs/functions/MapviewFloorplanPlugin.html +3 -4
  52. package/docs/functions/ModelChassisCompassPlugin.html +3 -4
  53. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -4
  54. package/docs/functions/ModelFloorplanPlugin.html +3 -4
  55. package/docs/functions/ModelItemLabelPlugin.html +3 -4
  56. package/docs/functions/ModelRoomLabelPlugin.html +3 -4
  57. package/docs/functions/ModelTVVideoPlugin.html +3 -4
  58. package/docs/functions/ModelViewPlugin.html +3 -4
  59. package/docs/functions/Object3DHelperPlugin.html +3 -4
  60. package/docs/functions/PanoCompassPlugin.html +3 -4
  61. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -4
  62. package/docs/functions/PanoDoorLabelPlugin.html +3 -4
  63. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -4
  64. package/docs/functions/PanoMeasurePlugin.html +3 -4
  65. package/docs/functions/PanoRulerPlugin.html +3 -4
  66. package/docs/functions/PanoRulerProPlugin.html +3 -4
  67. package/docs/functions/PanoSpatialTagPlugin.html +3 -4
  68. package/docs/functions/PanoTagPlugin.html +3 -4
  69. package/docs/functions/PanoVideoPlugin.html +3 -4
  70. package/docs/functions/TopviewFloorplanPlugin.html +3 -4
  71. package/docs/functions/Util.absoluteUrl.html +4 -5
  72. package/docs/functions/Util.getCoordsFromClient.html +4 -5
  73. package/docs/functions/Util.getCoordsFromElement.html +4 -5
  74. package/docs/functions/Util.getFrameTime.html +4 -5
  75. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -5
  76. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -5
  77. package/docs/functions/Util.isAbsoluteURL.html +4 -5
  78. package/docs/functions/Util.isModelLike.html +4 -5
  79. package/docs/functions/Util.isNil.html +4 -5
  80. package/docs/functions/Util.isPanoramaLike.html +4 -5
  81. package/docs/functions/Util.nextFrame.html +4 -5
  82. package/docs/functions/Util.notNil.html +4 -5
  83. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -5
  84. package/docs/functions/Util.tweenProgress.html +4 -5
  85. package/docs/functions/Util.uuid.html +4 -5
  86. package/docs/functions/pluginFlag.html +4 -5
  87. package/docs/index.html +4 -5
  88. package/docs/interfaces/AddTagConfig.html +5 -6
  89. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -11
  90. package/docs/interfaces/CSS3DRenderPluginState.html +7 -8
  91. package/docs/interfaces/CameraMovementPluginExportType.html +6 -7
  92. package/docs/interfaces/CruisePluginTypes.Config.html +7 -8
  93. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -12
  94. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -20
  95. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -12
  96. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -14
  97. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -14
  98. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -9
  99. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -7
  100. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -11
  101. package/docs/interfaces/EventMap.html +14 -15
  102. package/docs/interfaces/FloorplanBounding.html +7 -8
  103. package/docs/interfaces/FloorplanData.html +9 -10
  104. package/docs/interfaces/FloorplanEntrance.html +10 -11
  105. package/docs/interfaces/FloorplanExtraObject.html +9 -10
  106. package/docs/interfaces/FloorplanExtraObject3D.html +7 -8
  107. package/docs/interfaces/FloorplanFloorData.html +8 -9
  108. package/docs/interfaces/FloorplanImagePosition.html +6 -7
  109. package/docs/interfaces/FloorplanObserver.html +8 -9
  110. package/docs/interfaces/FloorplanOutlineItem.html +8 -9
  111. package/docs/interfaces/FloorplanPosition.html +6 -7
  112. package/docs/interfaces/FloorplanRoomItem.html +12 -13
  113. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -7
  114. package/docs/interfaces/FloorplanServerBounding.html +7 -8
  115. package/docs/interfaces/FloorplanServerComputedData.html +9 -10
  116. package/docs/interfaces/FloorplanServerData.html +6 -7
  117. package/docs/interfaces/FloorplanServerDoorItem.html +9 -10
  118. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -8
  119. package/docs/interfaces/FloorplanServerEntrance.html +10 -11
  120. package/docs/interfaces/FloorplanServerFloorData.html +8 -9
  121. package/docs/interfaces/FloorplanServerImagePosition.html +6 -7
  122. package/docs/interfaces/FloorplanServerObserver.html +8 -9
  123. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -9
  124. package/docs/interfaces/FloorplanServerPosition.html +6 -7
  125. package/docs/interfaces/FloorplanServerRoomItem.html +13 -14
  126. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -7
  127. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -8
  128. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -10
  129. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -13
  130. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -8
  131. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -6
  132. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -13
  133. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -8
  134. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -18
  135. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -7
  136. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -18
  137. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -5
  138. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -7
  139. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -8
  140. package/docs/interfaces/GuideLinePluginType.Route.html +10 -11
  141. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -9
  142. package/docs/interfaces/HelperOffset.html +7 -8
  143. package/docs/interfaces/ImagePlaneGroup.html +5 -6
  144. package/docs/interfaces/ItemLabelPluginData.html +5 -6
  145. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -11
  146. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -9
  147. package/docs/interfaces/MinMax.html +6 -7
  148. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -7
  149. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -8
  150. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -7
  151. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -8
  152. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -8
  153. package/docs/interfaces/ModelItemLabelPluginData.html +5 -6
  154. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -11
  155. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -7
  156. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -6
  157. package/docs/interfaces/ModelTVVideoPluginData.html +8 -9
  158. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -8
  159. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -6
  160. package/docs/interfaces/ModelViewPluginExportType.html +10 -11
  161. package/docs/interfaces/Object3DHelperState.html +7 -8
  162. package/docs/interfaces/ObjectHelperControllers.html +8 -9
  163. package/docs/interfaces/PaintBrushAction.html +11 -12
  164. package/docs/interfaces/PaintBrushConfigs.html +11 -12
  165. package/docs/interfaces/PaintBrushState.html +9 -10
  166. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -10
  167. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -5
  168. package/docs/interfaces/PanoMeasureParameterType.html +14 -15
  169. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -8
  170. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -7
  171. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -7
  172. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -8
  173. package/docs/interfaces/PanoRulerPluginExportType.html +9 -10
  174. package/docs/interfaces/PanoRulerPluginOptions.html +6 -7
  175. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -8
  176. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -9
  177. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -7
  178. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -7
  179. package/docs/interfaces/PanoRulerProPluginState.html +7 -8
  180. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -5
  181. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -5
  182. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -11
  183. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -10
  184. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -13
  185. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -10
  186. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -13
  187. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -11
  188. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -10
  189. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -6
  190. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -8
  191. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -6
  192. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -9
  193. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -6
  194. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -8
  195. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -10
  196. package/docs/interfaces/Point.html +7 -8
  197. package/docs/interfaces/Room.html +8 -9
  198. package/docs/interfaces/RoomInfo.html +6 -7
  199. package/docs/interfaces/RoomLabel.html +13 -14
  200. package/docs/interfaces/RoomRules.html +4 -5
  201. package/docs/interfaces/Rooms.html +4 -5
  202. package/docs/interfaces/Scissor.html +8 -9
  203. package/docs/interfaces/State.html +7 -8
  204. package/docs/interfaces/TagCacheInterface.html +11 -12
  205. package/docs/interfaces/TagConfig.html +13 -14
  206. package/docs/interfaces/TagGLTFObjectGroup.html +5 -6
  207. package/docs/interfaces/TagIconUrl.html +11 -12
  208. package/docs/interfaces/TagObjectGroup.html +5 -6
  209. package/docs/interfaces/TagStyle.html +5 -6
  210. package/docs/interfaces/Tags.html +8 -9
  211. package/docs/interfaces/TemporaryState.html +5 -6
  212. package/docs/interfaces/Util.MagnifierParameter.html +10 -11
  213. package/docs/interfaces/Util.MouseGroupParameter.html +7 -8
  214. package/docs/interfaces/Util.PointIntersection.html +7 -8
  215. package/docs/modules/CruisePluginTypes.html +4 -5
  216. package/docs/modules/GuideLineItem.html +4 -5
  217. package/docs/modules/GuideLineModeItem.html +4 -5
  218. package/docs/modules/GuideLinePluginType.html +4 -5
  219. package/docs/modules/PanoVideoPluginType.html +4 -5
  220. package/docs/modules/Util.html +4 -5
  221. package/docs/modules.html +4 -6
  222. package/docs/types/ArrayPosition.html +4 -5
  223. package/docs/types/AudioAppearance.html +4 -5
  224. package/docs/types/AudioTagTypeConfigKey.html +4 -5
  225. package/docs/types/CSS3DRenderExportType.html +4 -5
  226. package/docs/types/CSS3DRenderPluginExportType.html +4 -5
  227. package/docs/types/CSS3DRenderPluginParameterType.html +4 -5
  228. package/docs/types/ClassFunctionParameters.html +4 -5
  229. package/docs/types/Color.html +4 -5
  230. package/docs/types/ContentTypeConfigKey.html +4 -5
  231. package/docs/types/ContentTypeConfigKeySplit.html +4 -5
  232. package/docs/types/ContentTypeMap.html +4 -5
  233. package/docs/types/Create3DDomContainerReturnType.html +4 -5
  234. package/docs/types/Create3DElementReturnType.html +4 -5
  235. package/docs/types/CruisePluginExportType.html +4 -5
  236. package/docs/types/CruisePluginTypes.CruiseData.html +4 -5
  237. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -5
  238. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -5
  239. package/docs/types/DeprecatedTagProperty.html +4 -5
  240. package/docs/types/Direction-1.html +4 -5
  241. package/docs/types/Direction4.html +4 -5
  242. package/docs/types/ElementRenderer.html +4 -5
  243. package/docs/types/FloorplanRuleLabels.html +4 -5
  244. package/docs/types/FloorplanServerRuleLabels.html +4 -5
  245. package/docs/types/GuideLinePluginExportType.html +4 -5
  246. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -5
  247. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -5
  248. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -5
  249. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -5
  250. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -5
  251. package/docs/types/GuideLinePluginType.PathItem.html +4 -5
  252. package/docs/types/GuideLinePluginType.PluginData.html +4 -5
  253. package/docs/types/HelperEventMap.html +4 -5
  254. package/docs/types/LoadTagConfig.html +4 -5
  255. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -5
  256. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -5
  257. package/docs/types/MediaData.html +4 -5
  258. package/docs/types/MediaStore.html +4 -5
  259. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -5
  260. package/docs/types/ModelFloorplanPluginParameterType.html +4 -5
  261. package/docs/types/ModelFloorplanPluginReturnType.html +4 -5
  262. package/docs/types/ModelRoomLabelPluginParameters.html +4 -5
  263. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -5
  264. package/docs/types/MoveArgs.html +4 -5
  265. package/docs/types/MoveOpts.html +4 -5
  266. package/docs/types/Object3DHelperEventMap.html +4 -5
  267. package/docs/types/ObjectFit.html +4 -5
  268. package/docs/types/PaintBrushEventMap.html +4 -5
  269. package/docs/types/PanoCompassPluginData.html +4 -5
  270. package/docs/types/PanoCompassPluginExportType.html +4 -5
  271. package/docs/types/PanoCompassPluginParameterType.html +4 -5
  272. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -5
  273. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -5
  274. package/docs/types/PanoIndex.html +4 -5
  275. package/docs/types/PanoMeasurePluginEvent.html +4 -5
  276. package/docs/types/PanoMeasureReturnType.html +4 -5
  277. package/docs/types/PanoSpatialTagPluginId.html +4 -5
  278. package/docs/types/PanoTagPluginExportInterface.html +4 -5
  279. package/docs/types/PanoTagPluginParamsInterface.html +4 -5
  280. package/docs/types/PanoVideoPluginParameterType.html +4 -5
  281. package/docs/types/PanoVideoPluginReturnType.html +4 -5
  282. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -5
  283. package/docs/types/PlaneTag.html +4 -5
  284. package/docs/types/Point2DTag.html +4 -5
  285. package/docs/types/Point3DTag.html +4 -5
  286. package/docs/types/PointTag.html +4 -5
  287. package/docs/types/PointTagInstance.html +4 -5
  288. package/docs/types/Position.html +4 -5
  289. package/docs/types/RotateArgs.html +4 -5
  290. package/docs/types/RotateOpts.html +4 -5
  291. package/docs/types/RuleLabelsKey.html +4 -5
  292. package/docs/types/RuleLabelsValue.html +4 -5
  293. package/docs/types/StickType.html +4 -5
  294. package/docs/types/Tag.html +4 -5
  295. package/docs/types/Tag2D.html +4 -5
  296. package/docs/types/Tag3D.html +4 -5
  297. package/docs/types/TagContentType.html +4 -5
  298. package/docs/types/TagDimensionType.html +4 -5
  299. package/docs/types/TagElement.html +4 -5
  300. package/docs/types/TagEvents.html +4 -5
  301. package/docs/types/TagGLTFObject.html +4 -5
  302. package/docs/types/TagHooks.html +4 -5
  303. package/docs/types/TagId.html +4 -5
  304. package/docs/types/TagInstance.html +4 -5
  305. package/docs/types/TagPointType.html +4 -5
  306. package/docs/types/TagRendererMap.html +4 -5
  307. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -5
  308. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -5
  309. package/docs/types/WorkCode.html +4 -5
  310. package/docs/variables/FLOOR_TYPE_MAP.html +4 -5
  311. package/docs/variables/PLUGIN.html +4 -5
  312. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -5
  313. package/docs/variables/ROOM_TYPE_MAP.html +4 -5
  314. package/docs/variables/itemLabelPluginServerParams.html +4 -5
  315. package/docs/variables/modelItemLabelPluginServerParams.html +4 -5
  316. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -5
  317. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +43 -43
  318. package/libs/PanoMeasurePlugin/Components/Controller0.js +101 -101
  319. package/libs/PanoMeasurePlugin/Components/Controller1.js +172 -168
  320. package/libs/PanoMeasurePlugin/Components/Tip.js +154 -0
  321. package/libs/PanoMeasurePlugin/Components/Tip.svelte.d.ts +1 -0
  322. package/libs/PanoMeasurePlugin/Controller/EditController.js +82 -76
  323. package/libs/PanoMeasurePlugin/Controller/index.js +23 -21
  324. package/libs/PanoMeasurePlugin/Model/area.d.ts +4 -0
  325. package/libs/PanoMeasurePlugin/Model/area.js +38 -31
  326. package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +15 -11
  327. package/libs/PanoMeasurePlugin/Modules/GuideController.js +67 -40
  328. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
  329. package/libs/PanoMeasurePlugin/index.js +16 -14
  330. package/libs/PanoMeasurePlugin/typings/event.type.d.ts +5 -1
  331. package/libs/PanoTagPlugin/controller/index.d.ts +2 -1
  332. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
  333. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -1
  334. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -4
  335. package/libs/base/BasePlugin.js +1 -1
  336. package/libs/index.js +111 -110
  337. package/libs/shared-utils/logger.js +1 -1
  338. package/libs/shared-utils/three/PointSelector.d.ts +17 -1
  339. package/libs/shared-utils/three/PointSelector.js +89 -34
  340. package/libs/shared-utils/three/PointSelectorHelper.d.ts +2 -11
  341. package/libs/shared-utils/three/PointSelectorHelper.js +32 -82
  342. package/libs/typings/typings.d.ts +4 -0
  343. package/package.json +1 -1
  344. package/docs/types/PartialObjectDeep.html +0 -361
@@ -0,0 +1 @@
1
+ export { SvelteComponentTyped as default } from 'svelte/internal';
@@ -22,6 +22,10 @@ export default class Area {
22
22
  readonly lightMesh: FiveLine;
23
23
  readonly areaItem: AreaItem;
24
24
  readonly hook: Subscribe<AreaHook>;
25
+ /**
26
+ * @description: 多边形的端点是否闭合
27
+ */
28
+ get isClosed(): boolean;
25
29
  /** 多边形mesh */
26
30
  polygon: PolygonMesh;
27
31
  /** 多边形顶点 */
@@ -1,25 +1,29 @@
1
1
  import type MeasureController from '../Controller';
2
+ import type { PartialObjectDeep } from '../../typings/typings';
3
+ import type { PointSelectorMode } from '../typings/data';
4
+ export interface MeasureTip {
5
+ select?: string;
6
+ line: {
7
+ start: string;
8
+ };
9
+ area: {
10
+ start: string;
11
+ close: string;
12
+ };
13
+ }
2
14
  export interface GuideControllerParams {
3
15
  container?: Element;
16
+ tips?: PartialObjectDeep<MeasureTip>;
4
17
  startTip?: string;
5
18
  endTip?: string;
6
19
  firstPointTip?: string;
7
20
  nextPointTip?: string;
21
+ pointSelectorMode?: PointSelectorMode;
8
22
  }
9
23
  export declare class GuideController {
10
- private measureController;
11
- private textDom;
12
- private container;
13
- private hasAnchor;
14
- /** 是否曾经切换到 Watch 模式过 */
15
- private hasChangedToWatch;
16
- private _params;
24
+ private tipSvelteDom?;
17
25
  constructor(measureController: MeasureController, params: GuideControllerParams);
18
26
  dispose(): void;
19
27
  show(): this;
20
28
  hide(): this;
21
- private initDom;
22
- private onModelChange;
23
- private anchorChange;
24
- private onEditedLineChange;
25
29
  }
@@ -27,8 +27,12 @@ type EditEvent = {
27
27
  revoke: (params: {
28
28
  isEmpty: boolean;
29
29
  }) => void;
30
- /** 差最后一次打点就可以完成完成 */
30
+ /** 点一下按钮就可以完成,如:测距中,差最后一次打点就可以完成线段;测面积中,当前点吸附到了多边形的开始点上,点一下就可以闭合多边形 */
31
31
  readyComplete: () => void;
32
+ /** 点击了撤销或者其他原因导致刚刚的 readyComplete 失效 */
33
+ notReadyComplete: () => void;
34
+ /** 选点 */
35
+ pointsChange: (points: any[]) => void;
32
36
  /** 一条线段或者一个面积编辑完成 */
33
37
  complete: () => void;
34
38
  /** 测量面积时,是否可以打点的状态是会一直变的 */
@@ -1,8 +1,9 @@
1
- import type { Tag, TagId, Tags, TagInstance, State, AddTagConfig, LoadTagConfig, ContentTypeConfigKey, TagConfig, PartialObjectDeep } from '../typings';
1
+ import type { Tag, TagId, Tags, TagInstance, State, AddTagConfig, LoadTagConfig, ContentTypeConfigKey, TagConfig } from '../typings';
2
2
  import type { PickTagContentTypeInContentTypeConfigKey, TagContentType } from '..';
3
3
  import type { ArrayPosition } from '../typings';
4
4
  import { type Five } from '@realsee/five';
5
5
  import { TagRender } from './TagRender';
6
+ import type { PartialObjectDeep } from '../../typings/typings';
6
7
  export declare const pluginFlag: (name: string) => string;
7
8
  declare class PanoTagPluginController extends TagRender {
8
9
  /** state */
@@ -2,8 +2,8 @@ import type { Create3DDomContainerParamsType } from '../../../CSS3DRenderPlugin/
2
2
  import type { Five, Mode } from '@realsee/five';
3
3
  import type { ContentTypeMap, TagContentType } from './TagData';
4
4
  import type { MinMax } from './Utils';
5
- import type { PartialObjectDeep } from './Utils';
6
5
  import type { TagInstance } from './TagInstance';
6
+ import type { PartialObjectDeep } from '../../../typings/typings';
7
7
  type ConfigFunction = (five: Five, tagState: {
8
8
  tag: TagInstance<any>;
9
9
  /** 标签点或中心点的到摄像机的距离 */
@@ -1,7 +1,7 @@
1
1
  import type { Tag } from './Tag';
2
2
  import type TagContentSvelte from '../../Components/Tag/index.svelte';
3
3
  import type { TagContentType } from './TagData';
4
- import type { PartialObjectDeep, StickType, TagGLTFObject } from './Utils';
4
+ import type { StickType, TagGLTFObject } from './Utils';
5
5
  import type { Create3DDomContainerReturnType } from '../../../CSS3DRenderPlugin';
6
6
  import type { Vector3 } from 'three';
7
7
  import type { ImagePlane, VideoPlane } from '../../utils/model/mediaPlane';
@@ -9,6 +9,7 @@ import type { TagEvents } from '../controller';
9
9
  import type { TagConfig } from './TagConfig';
10
10
  import type { Subscribe } from '@realsee/five';
11
11
  import type { SetRequired } from 'type-fest';
12
+ import type { PartialObjectDeep } from '../../../typings/typings';
12
13
  type RequiredTag<C extends TagContentType = TagContentType, S extends StickType = StickType> = SetRequired<Tag<C, S>, 'id' | 'data' | 'enabled' | 'config' | 'stickType' | 'contentType'>;
13
14
  export type TagInstance<C extends TagContentType = TagContentType, S extends StickType = StickType> = RequiredTag<C, S> & Partial<{
14
15
  screenPosition: {
@@ -2,16 +2,12 @@ import type { GLTFObject } from '@realsee/five/gltf-loader';
2
2
  import type { Group } from 'three';
3
3
  import type { TagContentType } from './TagData';
4
4
  import type { ImagePlane } from '../../utils/model/mediaPlane';
5
- import type { PartialDeep } from 'type-fest';
6
5
  import type { TagInstance } from './TagInstance';
7
6
  export type TagId = string | number;
8
7
  export type ArrayPosition = number[];
9
8
  export type Position = ArrayPosition;
10
9
  export type PanoIndex = number;
11
10
  export type WorkCode = string;
12
- export type PartialObjectDeep<ObjectType extends object> = {
13
- [KeyType in keyof ObjectType]?: PartialDeep<ObjectType[KeyType]>;
14
- };
15
11
  export interface MinMax {
16
12
  min?: number;
17
13
  max?: number;