@realsee/dnalogel 2.22.0-dev.1 → 2.22.0-dev.3

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 (313) hide show
  1. package/dist/index.cjs.js +5 -5
  2. package/dist/index.js +17 -13
  3. package/dist/index.umd.js +5 -5
  4. package/dist/shared-utils/three/PointSelector.d.ts +1 -0
  5. package/docs/classes/CSS3DRender.html +30 -30
  6. package/docs/classes/CruisePluginController.html +25 -25
  7. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  8. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  9. package/docs/classes/Magnifier.html +19 -19
  10. package/docs/classes/ModelRoomLabelController.html +10 -10
  11. package/docs/classes/Object3DHelperController.html +24 -24
  12. package/docs/classes/PaintBrush.html +14 -14
  13. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  14. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  15. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  16. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  17. package/docs/classes/PanoTagPluginController.html +46 -46
  18. package/docs/classes/Util.BetterTween.html +8 -8
  19. package/docs/classes/Util.Interval.html +11 -11
  20. package/docs/classes/Util.Magnifier.html +19 -19
  21. package/docs/classes/Util.PointDomHelper.html +10 -10
  22. package/docs/classes/Util.PointHelper.html +10 -10
  23. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  24. package/docs/classes/Util.Rectangle.html +12 -12
  25. package/docs/enums/CameraMovementEffect.html +6 -6
  26. package/docs/enums/ContentType.html +19 -19
  27. package/docs/enums/DIRECTION.html +8 -8
  28. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  29. package/docs/enums/DimensionType.html +6 -6
  30. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  31. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  32. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  33. package/docs/enums/PointType.html +6 -6
  34. package/docs/enums/Rotation.html +7 -7
  35. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  36. package/docs/functions/CameraMovementPlugin.html +3 -3
  37. package/docs/functions/CruisePlugin.html +3 -3
  38. package/docs/functions/GuideLinePlugin.html +4 -4
  39. package/docs/functions/ItemLabelPlugin.html +3 -3
  40. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  41. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  42. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  43. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  44. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  45. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  46. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  47. package/docs/functions/ModelViewPlugin.html +3 -3
  48. package/docs/functions/Object3DHelperPlugin.html +3 -3
  49. package/docs/functions/PanoCompassPlugin.html +3 -3
  50. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  51. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  52. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  53. package/docs/functions/PanoMeasurePlugin.html +3 -3
  54. package/docs/functions/PanoRulerPlugin.html +3 -3
  55. package/docs/functions/PanoRulerProPlugin.html +3 -3
  56. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  57. package/docs/functions/PanoTagPlugin.html +3 -3
  58. package/docs/functions/PanoVideoPlugin.html +3 -3
  59. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  60. package/docs/functions/Util.absoluteUrl.html +4 -4
  61. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  62. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  63. package/docs/functions/Util.getFrameTime.html +4 -4
  64. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  65. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  66. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  67. package/docs/functions/Util.isModelLike.html +4 -4
  68. package/docs/functions/Util.isNil.html +4 -4
  69. package/docs/functions/Util.isPanoramaLike.html +4 -4
  70. package/docs/functions/Util.nextFrame.html +4 -4
  71. package/docs/functions/Util.notNil.html +4 -4
  72. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  73. package/docs/functions/Util.tweenProgress.html +4 -4
  74. package/docs/functions/Util.uuid.html +4 -4
  75. package/docs/functions/pluginFlag.html +4 -4
  76. package/docs/index.html +4 -4
  77. package/docs/interfaces/AddTagConfig.html +5 -5
  78. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  79. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  80. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  81. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  82. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  83. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  84. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  85. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  86. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  87. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  88. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  89. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  90. package/docs/interfaces/EventMap.html +14 -14
  91. package/docs/interfaces/FloorplanBounding.html +7 -7
  92. package/docs/interfaces/FloorplanData.html +9 -9
  93. package/docs/interfaces/FloorplanEntrance.html +10 -10
  94. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  95. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  96. package/docs/interfaces/FloorplanFloorData.html +8 -8
  97. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  98. package/docs/interfaces/FloorplanObserver.html +8 -8
  99. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  100. package/docs/interfaces/FloorplanPosition.html +6 -6
  101. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  102. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  103. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  104. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  105. package/docs/interfaces/FloorplanServerData.html +6 -6
  106. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  107. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  108. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  109. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  110. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  111. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  112. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  113. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  114. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  115. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  116. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  117. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  118. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  119. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  120. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  121. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  122. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  123. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  124. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  125. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  126. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  127. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  128. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  129. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  130. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  131. package/docs/interfaces/HelperOffset.html +7 -7
  132. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  133. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  134. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  135. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  136. package/docs/interfaces/MinMax.html +6 -6
  137. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  138. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  139. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  140. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  141. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  142. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  143. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  144. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  145. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  146. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  147. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  148. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  149. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  150. package/docs/interfaces/Object3DHelperState.html +7 -7
  151. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  152. package/docs/interfaces/PaintBrushAction.html +11 -11
  153. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  154. package/docs/interfaces/PaintBrushState.html +9 -9
  155. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  156. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  157. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  158. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  159. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  160. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  161. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  162. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  163. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  164. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  165. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  166. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  167. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  168. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  169. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  170. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  171. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  172. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  173. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  174. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  175. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  176. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  177. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  178. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  179. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  180. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  181. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  182. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  184. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  185. package/docs/interfaces/Point.html +7 -7
  186. package/docs/interfaces/Room.html +8 -8
  187. package/docs/interfaces/RoomInfo.html +6 -6
  188. package/docs/interfaces/RoomLabel.html +13 -13
  189. package/docs/interfaces/RoomRules.html +4 -4
  190. package/docs/interfaces/Rooms.html +4 -4
  191. package/docs/interfaces/Scissor.html +8 -8
  192. package/docs/interfaces/State.html +7 -7
  193. package/docs/interfaces/TagCacheInterface.html +11 -11
  194. package/docs/interfaces/TagConfig.html +12 -12
  195. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  196. package/docs/interfaces/TagIconUrl.html +11 -11
  197. package/docs/interfaces/TagObjectGroup.html +5 -5
  198. package/docs/interfaces/TagStyle.html +5 -5
  199. package/docs/interfaces/Tags.html +8 -8
  200. package/docs/interfaces/TemporaryState.html +5 -5
  201. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  202. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  203. package/docs/interfaces/Util.PointIntersection.html +7 -7
  204. package/docs/modules/CruisePluginTypes.html +4 -4
  205. package/docs/modules/GuideLineItem.html +4 -4
  206. package/docs/modules/GuideLineModeItem.html +4 -4
  207. package/docs/modules/GuideLinePluginType.html +4 -4
  208. package/docs/modules/PanoVideoPluginType.html +4 -4
  209. package/docs/modules/Util.html +4 -4
  210. package/docs/modules.html +4 -4
  211. package/docs/types/ArrayPosition.html +4 -4
  212. package/docs/types/AudioAppearance.html +4 -4
  213. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  214. package/docs/types/CSS3DRenderExportType.html +4 -4
  215. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  216. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  217. package/docs/types/ClassFunctionParameters.html +4 -4
  218. package/docs/types/Color.html +4 -4
  219. package/docs/types/ContentTypeConfigKey.html +4 -4
  220. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  221. package/docs/types/ContentTypeMap.html +4 -4
  222. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  223. package/docs/types/Create3DElementReturnType.html +4 -4
  224. package/docs/types/CruisePluginExportType.html +4 -4
  225. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  226. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  227. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  228. package/docs/types/DeprecatedTagProperty.html +4 -4
  229. package/docs/types/Direction-1.html +4 -4
  230. package/docs/types/Direction4.html +4 -4
  231. package/docs/types/ElementRenderer.html +4 -4
  232. package/docs/types/FloorplanRuleLabels.html +4 -4
  233. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  234. package/docs/types/GuideLinePluginExportType.html +4 -4
  235. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  236. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  237. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  238. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  239. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  240. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  241. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  242. package/docs/types/HelperEventMap.html +4 -4
  243. package/docs/types/LoadTagConfig.html +4 -4
  244. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  245. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  246. package/docs/types/MediaData.html +4 -4
  247. package/docs/types/MediaStore.html +4 -4
  248. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  249. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  250. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  251. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  252. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  253. package/docs/types/MoveArgs.html +4 -4
  254. package/docs/types/MoveOpts.html +4 -4
  255. package/docs/types/Object3DHelperEventMap.html +4 -4
  256. package/docs/types/ObjectFit.html +4 -4
  257. package/docs/types/PaintBrushEventMap.html +4 -4
  258. package/docs/types/PanoCompassPluginData.html +4 -4
  259. package/docs/types/PanoCompassPluginExportType.html +4 -4
  260. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  261. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  262. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  263. package/docs/types/PanoIndex.html +4 -4
  264. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  265. package/docs/types/PanoMeasureReturnType.html +4 -4
  266. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  267. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  268. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  269. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  270. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  271. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  272. package/docs/types/PlaneTag.html +4 -4
  273. package/docs/types/Point2DTag.html +4 -4
  274. package/docs/types/Point3DTag.html +4 -4
  275. package/docs/types/PointTag.html +4 -4
  276. package/docs/types/PointTagInstance.html +4 -4
  277. package/docs/types/Position.html +4 -4
  278. package/docs/types/RotateArgs.html +4 -4
  279. package/docs/types/RotateOpts.html +4 -4
  280. package/docs/types/RuleLabelsKey.html +4 -4
  281. package/docs/types/RuleLabelsValue.html +4 -4
  282. package/docs/types/StickType.html +4 -4
  283. package/docs/types/Tag.html +4 -4
  284. package/docs/types/Tag2D.html +4 -4
  285. package/docs/types/Tag3D.html +4 -4
  286. package/docs/types/TagContentType.html +4 -4
  287. package/docs/types/TagDimensionType.html +4 -4
  288. package/docs/types/TagElement.html +4 -4
  289. package/docs/types/TagEvents.html +4 -4
  290. package/docs/types/TagGLTFObject.html +4 -4
  291. package/docs/types/TagHooks.html +4 -4
  292. package/docs/types/TagId.html +4 -4
  293. package/docs/types/TagInstance.html +4 -4
  294. package/docs/types/TagPointType.html +4 -4
  295. package/docs/types/TagRendererMap.html +4 -4
  296. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  297. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  298. package/docs/types/WorkCode.html +4 -4
  299. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  300. package/docs/variables/PLUGIN.html +4 -4
  301. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  302. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  303. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  304. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  305. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  306. package/libs/PanoMeasurePlugin/Components/Tip.js +48 -48
  307. package/libs/PanoMeasurePlugin/Controller/EditController.js +73 -70
  308. package/libs/PanoMeasurePlugin/utils/dom/base.js +6 -6
  309. package/libs/base/BasePlugin.js +1 -1
  310. package/libs/shared-utils/logger.js +1 -1
  311. package/libs/shared-utils/three/PointSelector.d.ts +1 -0
  312. package/libs/shared-utils/three/PointSelector.js +16 -15
  313. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ import sl from "animejs";
39
39
  import { GLTFLoader as Df } from "@realsee/five/gltf-loader";
40
40
  function Sf() {
41
41
  console.debug(
42
- "%c %c@realsee/dnalogel %cv2.22.0-dev.1",
42
+ "%c %c@realsee/dnalogel %cv2.22.0-dev.3",
43
43
  [
44
44
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
45
45
  "background-repeat: no-repeat",
@@ -6823,7 +6823,7 @@ let ms = class {
6823
6823
  /**
6824
6824
  * @realsee/dnalogel 版本号
6825
6825
  */
6826
- f(this, "VERSION", "2.22.0-dev.1");
6826
+ f(this, "VERSION", "2.22.0-dev.3");
6827
6827
  f(this, "five");
6828
6828
  /**
6829
6829
  * 插件事件钩子
@@ -10093,7 +10093,7 @@ function nv(i) {
10093
10093
  }
10094
10094
  function iv(i) {
10095
10095
  const t = document.createElement("div");
10096
- return i != null && i.id && (t.id = i == null ? void 0 : i.id), t.classList.add("five-plugin-measure__distance"), t.style.position = "absolute", t.style.left = "0", t.style.top = "0", t.style.width = "0", t.style.height = "0", t.style.transform = "translate3d(0, 0, 0)", t.style.transformOrigin = "left top", i != null && i.style && Object.assign(t.style, i.style), t;
10096
+ return i != null && i.id && (t.id = i == null ? void 0 : i.id), t.classList.add("five-plugin-measure__distance"), t.style.position = "absolute", t.style.left = "0", t.style.top = "0", t.style.width = "0", t.style.height = "0", t.style.transformOrigin = "left top", i != null && i.style && Object.assign(t.style, i.style), t;
10097
10097
  }
10098
10098
  class hu {
10099
10099
  constructor(t) {
@@ -10700,6 +10700,7 @@ class uv {
10700
10700
  f(this, "adherePoints", null);
10701
10701
  /** 吸附点的半径 */
10702
10702
  f(this, "adherePointsRadius", 0.1);
10703
+ f(this, "lastFiveHelperVisible");
10703
10704
  /**
10704
10705
  * @description: 主动触发一次选点
10705
10706
  * @return: select 是否成功
@@ -10816,14 +10817,14 @@ class uv {
10816
10817
  const t = this.five.getElement();
10817
10818
  if (!t)
10818
10819
  throw new Error("five element not found");
10819
- this.hammer || (this.hammer = new us(t)), this.mode === "cursor" ? (this.five.on("intersectionOnModelUpdate", this.intersectionOnModelUpdate), this.five.on("wantsPanGesture", this.onFiveWantsPanGesture), this.five.on("wantsMoveToPano", $n), this.five.on("wantsChangeMode", $n), this.five.on("wantsTapGesture", $n), t.addEventListener("mousemove", this.updateByMousePosition), t.addEventListener("mouseenter", this.onEnter), t.addEventListener("mouseout", this.onLeave), this.hammer.on("tap", this.onTap), this.hammer.on("pan", this.onPan), this.hammer.on("press", this.onPress), this.hammer.on("panend", this.onPanEnd)) : this.mode === "fixed" && (this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter(), this.pointSelectorHelper.show()), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate);
10820
+ this.hammer || (this.hammer = new us(t)), this.mode === "cursor" ? (this.five.on("intersectionOnModelUpdate", this.intersectionOnModelUpdate), this.five.on("wantsPanGesture", this.onFiveWantsPanGesture), this.five.on("wantsMoveToPano", $n), this.five.on("wantsChangeMode", $n), this.five.on("wantsTapGesture", $n), this.lastFiveHelperVisible = this.five.helperVisible, this.five.helperVisible = !1, t.addEventListener("mousemove", this.updateByMousePosition), t.addEventListener("mouseenter", this.onEnter), t.addEventListener("mouseout", this.onLeave), this.hammer.on("tap", this.onTap), this.hammer.on("pan", this.onPan), this.hammer.on("press", this.onPress), this.hammer.on("panend", this.onPanEnd)) : this.mode === "fixed" && (this.five.on("panGesture", this.renderScreenCenter), this.five.on("interiaPan", this.renderScreenCenter), this.renderScreenCenter(), this.pointSelectorHelper.show()), this.pointSelectorHelper.hooks.on("intersectionUpdate", this.emitIntersectionUpdate);
10820
10821
  }
10821
10822
  disable() {
10822
10823
  if (!this.enabled)
10823
10824
  return;
10824
10825
  this.enabled = !1, this.pointSelectorHelper.disable();
10825
10826
  const t = this.five.getElement();
10826
- this.five.off("intersectionOnModelUpdate", this.intersectionOnModelUpdate), this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano", $n), this.five.off("wantsChangeMode", $n), this.five.off("wantsTapGesture", $n), t == null || t.removeEventListener("mousemove", this.updateByMousePosition), t == null || t.removeEventListener("mouseenter", this.onEnter), t == null || t.removeEventListener("mouseout", this.onLeave), this.hammer.off("tap", this.onTap), this.hammer.off("pan", this.onPan), this.hammer.off("press", this.onPress), this.hammer.off("panend", this.onPanEnd), this.five.off("panGesture", this.renderScreenCenter), this.five.off("interiaPan", this.renderScreenCenter), this.pointSelectorHelper.hooks.off("intersectionUpdate", this.emitIntersectionUpdate);
10827
+ this.five.off("intersectionOnModelUpdate", this.intersectionOnModelUpdate), this.five.off("wantsPanGesture", this.onFiveWantsPanGesture), this.five.off("wantsMoveToPano", $n), this.five.off("wantsChangeMode", $n), this.five.off("wantsTapGesture", $n), this.five.helperVisible = this.lastFiveHelperVisible, t == null || t.removeEventListener("mousemove", this.updateByMousePosition), t == null || t.removeEventListener("mouseenter", this.onEnter), t == null || t.removeEventListener("mouseout", this.onLeave), this.hammer.off("tap", this.onTap), this.hammer.off("pan", this.onPan), this.hammer.off("press", this.onPress), this.hammer.off("panend", this.onPanEnd), this.five.off("panGesture", this.renderScreenCenter), this.five.off("interiaPan", this.renderScreenCenter), this.pointSelectorHelper.hooks.off("intersectionUpdate", this.emitIntersectionUpdate);
10827
10828
  }
10828
10829
  dispose() {
10829
10830
  this.disable(), this.pointSelectorHelper.dispose();
@@ -10988,13 +10989,13 @@ class hn extends So {
10988
10989
  f(this, "revokeLine", (e) => {
10989
10990
  const n = e || this.polyline;
10990
10991
  if (n.lines.length === 0 && this.lastPoint) {
10991
- this.lastPoint = null, this.hasAppendDashed = !1, this.dashed.remove(), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.needsRender = !0;
10992
+ this.lastPoint = null, this.hasAppendDashed = !1, this.dashed.remove(), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.needsRender = !0, this.hook.emit("pointsChange", []);
10992
10993
  return;
10993
10994
  }
10994
10995
  if (n.lines.length === 0 && !this.lastPoint || !this.lastPoint)
10995
10996
  return;
10996
10997
  const s = n.lines[n.lines.length - 1], o = s.findAnotherPoint(this.lastPoint);
10997
- o && (this.lastPoint = o, this.hook.emit("anchorChange", o.position), this.group.remove(s.mesh), n.removeLine(s), s.distanceItem.remove(), this.updateDashed(), this.hook.emit("pointsChange", n.lines), this.five.needsRender = !0);
10998
+ o && (this.lastPoint = o, this.hook.emit("anchorChange", o.position), this.group.remove(s.mesh), n.removeLine(s), s.distanceItem.remove(), this.updateDashed(), this.five.needsRender = !0);
10998
10999
  });
10999
11000
  f(this, "onMouseLeave", () => {
11000
11001
  this.dashed.hide(), this.perpendicularDashed.hide(), this.area.hideArea();
@@ -11125,6 +11126,7 @@ class hn extends So {
11125
11126
  return this.chooseLine(A), !1;
11126
11127
  });
11127
11128
  f(this, "chooseLine", (e) => {
11129
+ console.log(e);
11128
11130
  const n = fo(e);
11129
11131
  this.deleteDom.setTarget(n).setLines(n).updatePosition().show(), this.highlightLines(n), this.hook.emit("selectedChange", n);
11130
11132
  });
@@ -11160,9 +11162,9 @@ class hn extends So {
11160
11162
  meshContainer: this.group,
11161
11163
  domContainer: this.container
11162
11164
  }), this.model.addPolyline(this.polyline), this.model.addArea(this.area), this.model.getAllLines().forEach((s) => {
11163
- s.distanceItem.appendTo(this.container), s.distanceItem.update(this.five), s.distanceItem.setCanSelect(!0), this.group.add(s.mesh);
11165
+ s.distanceItem.appendTo(this.container), s.distanceItem.update(this.five), s.distanceItem.setCanSelect(!0), s.hook.on("selected", this.chooseLine), this.group.add(s.mesh);
11164
11166
  }), this.model.getAllAreas().forEach((s) => {
11165
- s.areaItem.appendTo(this.container), s.areaItem.updateDomPosition(this.five), s.areaItem.setCanSelect(!0), this.group.add(s.polygon), s.polyline.lines.forEach((o) => {
11167
+ s.areaItem.appendTo(this.container), s.areaItem.updateDomPosition(this.five), s.areaItem.setCanSelect(!0), s.hook.on("selected", this.chooseArea), this.group.add(s.polygon), s.polyline.lines.forEach((o) => {
11166
11168
  o.distanceItem.appendTo(this.container), o.distanceItem.update(this.five), this.group.add(o.mesh);
11167
11169
  });
11168
11170
  }), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsToMoveToPano", oc), this.pointSelector.hook.on("intersectionUpdate", this.onIntersectionUpdate), this.pointSelector.hook.on("select", this.onSelect), this.pointSelector.hook.on("wantsSelect", this.onWantsSelect), this.polyline.hook.on("lineAdded", this.onLineChanged), this.polyline.hook.on("lineRemoved", this.onLineChanged), this.five.helperVisible = !1, (n = this.fiveElement) == null || n.addEventListener("mouseleave", this.onMouseLeave), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.refresh();
@@ -11180,7 +11182,9 @@ class hn extends So {
11180
11182
  this.onSelect();
11181
11183
  }
11182
11184
  complete() {
11183
- this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete()), this.area = new ia(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline = new mi({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
11185
+ this.hook.emit("complete"), this.currentMeasureType === "area" ? (this.area.points.length < 3 ? this.deleteArea(this.area) : (this.area.showArea(), this.area.complete(), this.area.hook.on("selected", this.chooseArea)), this.area = new ia(void 0, { five: this.five, model: this.model, meshContainer: this.group, domContainer: this.container }), this.model.addArea(this.area)) : this.currentMeasureType === "line" && (this.polyline.lines.forEach((e) => {
11186
+ e.hook.on("selected", this.chooseLine), e.distanceItem.setCanSelect(!0);
11187
+ }), this.polyline = new mi({ model: this.model }), this.model.addPolyline(this.polyline)), this.pointSelector.setAdherePoints(null), this.dashed.hide(), this.perpendicularDashed.hide(), this.lastPoint = void 0;
11184
11188
  }
11185
11189
  highlightArea(e) {
11186
11190
  this.highlightLines(e.polyline.lines), this.five.needsRender = !0;
@@ -11197,7 +11201,7 @@ class hn extends So {
11197
11201
  });
11198
11202
  }
11199
11203
  highlightLine(e) {
11200
- e.selected || (e.selected = !0, this.group.add(e.lightMesh), e.distanceItem.highlight(), this.five.needsRender = !0);
11204
+ this.unHighlightLines(this.model.getAllLines()), !e.selected && (e.selected = !0, this.group.add(e.lightMesh), e.distanceItem.highlight(), this.five.needsRender = !0);
11201
11205
  }
11202
11206
  }
11203
11207
  class rc extends So {
@@ -13373,7 +13377,7 @@ Ue.withOptions = function(t, e, n) {
13373
13377
  return To(t, e, n);
13374
13378
  };
13375
13379
  function g0(i) {
13376
- ue(i, "svelte-1kdvs98", ".Measure-Tips.svelte-1kdvs98.svelte-1kdvs98{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1kdvs98 .text.svelte-1kdvs98{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem}");
13380
+ ue(i, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
13377
13381
  }
13378
13382
  function Cc(i) {
13379
13383
  let t, e, n, s, o;
@@ -13382,7 +13386,7 @@ function Cc(i) {
13382
13386
  t = x("div"), e = x("div"), n = Me(
13383
13387
  /*tip*/
13384
13388
  i[2]
13385
- ), w(e, "class", "text svelte-1kdvs98"), w(t, "class", "Measure-Tips svelte-1kdvs98");
13389
+ ), w(e, "class", "text svelte-1q8gtp4"), w(t, "class", "Measure-Tips svelte-1q8gtp4");
13386
13390
  },
13387
13391
  m(r, a) {
13388
13392
  B(r, t, a), D(t, e), D(e, n), i[6](e), o = !0;