@realsee/dnalogel 2.21.0-dev.7 → 2.21.0-dev.9

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 (342) hide show
  1. package/dist/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
  2. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +11 -0
  3. package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  4. package/dist/PanoMeasurePlugin/Model/area.d.ts +8 -1
  5. package/dist/PanoMeasurePlugin/Model/line.d.ts +1 -0
  6. package/dist/PanoMeasurePlugin/Model/polygon.d.ts +1 -0
  7. package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  8. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +4 -0
  9. package/dist/index.cjs.js +54 -52
  10. package/dist/index.js +5119 -4997
  11. package/dist/index.umd.js +47 -45
  12. package/docs/classes/CSS3DRender.html +30 -30
  13. package/docs/classes/CruisePluginController.html +25 -25
  14. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  15. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  16. package/docs/classes/Magnifier.html +19 -19
  17. package/docs/classes/ModelRoomLabelController.html +10 -10
  18. package/docs/classes/Object3DHelperController.html +24 -24
  19. package/docs/classes/PaintBrush.html +14 -14
  20. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  21. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  22. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  23. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  24. package/docs/classes/PanoTagPluginController.html +46 -46
  25. package/docs/classes/Util.BetterTween.html +8 -8
  26. package/docs/classes/Util.Interval.html +11 -11
  27. package/docs/classes/Util.Magnifier.html +17 -17
  28. package/docs/classes/Util.PointDomHelper.html +10 -10
  29. package/docs/classes/Util.PointHelper.html +10 -10
  30. package/docs/classes/Util.PointSelectorHelper.html +16 -16
  31. package/docs/classes/Util.Rectangle.html +12 -12
  32. package/docs/enums/CameraMovementEffect.html +6 -6
  33. package/docs/enums/ContentType.html +19 -19
  34. package/docs/enums/DIRECTION.html +8 -8
  35. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/DimensionType.html +6 -6
  37. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  38. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  39. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  40. package/docs/enums/PointType.html +6 -6
  41. package/docs/enums/Rotation.html +7 -7
  42. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  43. package/docs/functions/CameraMovementPlugin.html +3 -3
  44. package/docs/functions/CruisePlugin.html +3 -3
  45. package/docs/functions/GuideLinePlugin.html +4 -4
  46. package/docs/functions/ItemLabelPlugin.html +3 -3
  47. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  48. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  49. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  50. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  51. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  52. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  53. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  54. package/docs/functions/ModelViewPlugin.html +3 -3
  55. package/docs/functions/Object3DHelperPlugin.html +3 -3
  56. package/docs/functions/PanoCompassPlugin.html +3 -3
  57. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  58. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  59. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  60. package/docs/functions/PanoMeasurePlugin.html +3 -3
  61. package/docs/functions/PanoRulerPlugin.html +3 -3
  62. package/docs/functions/PanoRulerProPlugin.html +3 -3
  63. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  64. package/docs/functions/PanoTagPlugin.html +3 -3
  65. package/docs/functions/PanoVideoPlugin.html +3 -3
  66. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  67. package/docs/functions/Util.absoluteUrl.html +4 -4
  68. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  69. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  70. package/docs/functions/Util.getFrameTime.html +4 -4
  71. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  72. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  73. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  74. package/docs/functions/Util.isModelLike.html +4 -4
  75. package/docs/functions/Util.isNil.html +4 -4
  76. package/docs/functions/Util.isPanoramaLike.html +4 -4
  77. package/docs/functions/Util.nextFrame.html +4 -4
  78. package/docs/functions/Util.notNil.html +4 -4
  79. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  80. package/docs/functions/Util.tweenProgress.html +4 -4
  81. package/docs/functions/Util.uuid.html +4 -4
  82. package/docs/functions/pluginFlag.html +4 -4
  83. package/docs/index.html +4 -4
  84. package/docs/interfaces/AddTagConfig.html +5 -5
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  86. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  87. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  88. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  89. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  90. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  91. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  92. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  93. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  94. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  95. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  96. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  97. package/docs/interfaces/EventMap.html +14 -14
  98. package/docs/interfaces/FloorplanBounding.html +7 -7
  99. package/docs/interfaces/FloorplanData.html +9 -9
  100. package/docs/interfaces/FloorplanEntrance.html +10 -10
  101. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  102. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  103. package/docs/interfaces/FloorplanFloorData.html +8 -8
  104. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  105. package/docs/interfaces/FloorplanObserver.html +8 -8
  106. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  107. package/docs/interfaces/FloorplanPosition.html +6 -6
  108. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  109. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  110. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  111. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  112. package/docs/interfaces/FloorplanServerData.html +6 -6
  113. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  114. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  115. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  116. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  117. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  118. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  119. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  120. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  121. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  122. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  123. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  124. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  125. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  126. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  127. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  128. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  129. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  130. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  131. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  132. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  133. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  134. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  135. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  136. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  137. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  138. package/docs/interfaces/HelperOffset.html +7 -7
  139. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  140. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  141. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  142. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  143. package/docs/interfaces/MinMax.html +6 -6
  144. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  145. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  146. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  147. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  148. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  149. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  150. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  151. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  152. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  153. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  154. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  155. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  156. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  157. package/docs/interfaces/Object3DHelperState.html +7 -7
  158. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  159. package/docs/interfaces/PaintBrushAction.html +11 -11
  160. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  161. package/docs/interfaces/PaintBrushState.html +9 -9
  162. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  163. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  164. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  165. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  166. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  167. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  168. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  169. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  170. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  171. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  172. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  173. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  174. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  175. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  176. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  177. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  178. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  179. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  180. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  181. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  182. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  183. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  184. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  185. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  186. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  187. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  188. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  189. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  190. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  191. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  192. package/docs/interfaces/Point.html +7 -7
  193. package/docs/interfaces/Room.html +8 -8
  194. package/docs/interfaces/RoomInfo.html +6 -6
  195. package/docs/interfaces/RoomLabel.html +13 -13
  196. package/docs/interfaces/RoomRules.html +4 -4
  197. package/docs/interfaces/Rooms.html +4 -4
  198. package/docs/interfaces/Scissor.html +8 -8
  199. package/docs/interfaces/State.html +7 -7
  200. package/docs/interfaces/TagCacheInterface.html +11 -11
  201. package/docs/interfaces/TagConfig.html +12 -12
  202. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  203. package/docs/interfaces/TagIconUrl.html +11 -11
  204. package/docs/interfaces/TagObjectGroup.html +5 -5
  205. package/docs/interfaces/TagStyle.html +5 -5
  206. package/docs/interfaces/Tags.html +8 -8
  207. package/docs/interfaces/TemporaryState.html +5 -5
  208. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  209. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  210. package/docs/interfaces/Util.PointIntersection.html +7 -7
  211. package/docs/modules/CruisePluginTypes.html +4 -4
  212. package/docs/modules/GuideLineItem.html +4 -4
  213. package/docs/modules/GuideLineModeItem.html +4 -4
  214. package/docs/modules/GuideLinePluginType.html +4 -4
  215. package/docs/modules/PanoVideoPluginType.html +4 -4
  216. package/docs/modules/Util.html +4 -4
  217. package/docs/modules.html +4 -4
  218. package/docs/types/ArrayPosition.html +4 -4
  219. package/docs/types/AudioAppearance.html +4 -4
  220. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  221. package/docs/types/CSS3DRenderExportType.html +4 -4
  222. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  223. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  224. package/docs/types/ClassFunctionParameters.html +4 -4
  225. package/docs/types/Color.html +4 -4
  226. package/docs/types/ContentTypeConfigKey.html +4 -4
  227. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  228. package/docs/types/ContentTypeMap.html +4 -4
  229. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  230. package/docs/types/Create3DElementReturnType.html +4 -4
  231. package/docs/types/CruisePluginExportType.html +4 -4
  232. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  233. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  234. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  235. package/docs/types/DeprecatedTagProperty.html +4 -4
  236. package/docs/types/Direction-1.html +4 -4
  237. package/docs/types/Direction4.html +4 -4
  238. package/docs/types/ElementRenderer.html +4 -4
  239. package/docs/types/FloorplanRuleLabels.html +4 -4
  240. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  241. package/docs/types/GuideLinePluginExportType.html +4 -4
  242. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  243. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  244. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  245. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  246. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  247. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  248. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  249. package/docs/types/HelperEventMap.html +4 -4
  250. package/docs/types/LoadTagConfig.html +4 -4
  251. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  252. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  253. package/docs/types/MediaData.html +4 -4
  254. package/docs/types/MediaStore.html +4 -4
  255. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  256. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  257. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  258. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  259. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  260. package/docs/types/MoveArgs.html +4 -4
  261. package/docs/types/MoveOpts.html +4 -4
  262. package/docs/types/Object3DHelperEventMap.html +4 -4
  263. package/docs/types/ObjectFit.html +4 -4
  264. package/docs/types/PaintBrushEventMap.html +4 -4
  265. package/docs/types/PanoCompassPluginData.html +4 -4
  266. package/docs/types/PanoCompassPluginExportType.html +4 -4
  267. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  268. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  269. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  270. package/docs/types/PanoIndex.html +4 -4
  271. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  272. package/docs/types/PanoMeasureReturnType.html +4 -4
  273. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  274. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  275. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  276. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  277. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  278. package/docs/types/PartialObjectDeep.html +4 -4
  279. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  280. package/docs/types/PlaneTag.html +4 -4
  281. package/docs/types/Point2DTag.html +4 -4
  282. package/docs/types/Point3DTag.html +4 -4
  283. package/docs/types/PointTag.html +4 -4
  284. package/docs/types/PointTagInstance.html +4 -4
  285. package/docs/types/Position.html +4 -4
  286. package/docs/types/RotateArgs.html +4 -4
  287. package/docs/types/RotateOpts.html +4 -4
  288. package/docs/types/RuleLabelsKey.html +4 -4
  289. package/docs/types/RuleLabelsValue.html +4 -4
  290. package/docs/types/StickType.html +4 -4
  291. package/docs/types/Tag.html +4 -4
  292. package/docs/types/Tag2D.html +4 -4
  293. package/docs/types/Tag3D.html +4 -4
  294. package/docs/types/TagContentType.html +4 -4
  295. package/docs/types/TagDimensionType.html +4 -4
  296. package/docs/types/TagElement.html +4 -4
  297. package/docs/types/TagEvents.html +4 -4
  298. package/docs/types/TagGLTFObject.html +4 -4
  299. package/docs/types/TagHooks.html +4 -4
  300. package/docs/types/TagId.html +4 -4
  301. package/docs/types/TagInstance.html +4 -4
  302. package/docs/types/TagPointType.html +4 -4
  303. package/docs/types/TagRendererMap.html +4 -4
  304. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  305. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  306. package/docs/types/WorkCode.html +4 -4
  307. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  308. package/docs/variables/PLUGIN.html +4 -4
  309. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  310. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  311. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  312. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  313. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  314. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +106 -110
  315. package/libs/PanoMeasurePlugin/Components/Common/icons/index.d.ts +4 -0
  316. package/libs/PanoMeasurePlugin/Components/Common/icons/index.js +7 -0
  317. package/libs/PanoMeasurePlugin/Components/Controller0.js +189 -79
  318. package/libs/PanoMeasurePlugin/Components/Controller1.js +214 -180
  319. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +11 -0
  320. package/libs/PanoMeasurePlugin/Controller/EditController.js +174 -137
  321. package/libs/PanoMeasurePlugin/Controller/MixedController.js +5 -5
  322. package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  323. package/libs/PanoMeasurePlugin/Controller/WatchController.js +13 -12
  324. package/libs/PanoMeasurePlugin/Controller/index.js +5 -4
  325. package/libs/PanoMeasurePlugin/Model/area.d.ts +8 -1
  326. package/libs/PanoMeasurePlugin/Model/area.js +21 -14
  327. package/libs/PanoMeasurePlugin/Model/line.d.ts +1 -0
  328. package/libs/PanoMeasurePlugin/Model/line.js +23 -22
  329. package/libs/PanoMeasurePlugin/Model/polygon.d.ts +1 -0
  330. package/libs/PanoMeasurePlugin/Model/polygon.js +16 -14
  331. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  332. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +34 -24
  333. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +4 -0
  334. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +45 -38
  335. package/libs/PanoMeasurePlugin/index.js +17 -16
  336. package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +3 -3
  337. package/libs/base/BasePlugin.js +1 -1
  338. package/libs/index.js +112 -111
  339. package/libs/shared-utils/logger.js +1 -1
  340. package/libs/shared-utils/three/PointSelector.js +7 -7
  341. package/libs/shared-utils/three/PointSelectorHelper.js +7 -7
  342. package/package.json +1 -1
@@ -1,130 +1,240 @@
1
- import { SvelteComponent as q, init as A, safe_not_equal as D, append_styles as T, binding_callbacks as W, bind as j, element as f, create_component as C, space as _, attr as m, insert as E, mount_component as k, append as u, add_flush_callback as B, transition_in as w, transition_out as M, detach as S, destroy_component as $, onMount as F, onDestroy as G, listen as x, noop as H, run_all as J } from "../../vendor/svelte/internal/index.js";
2
- import K from "./Common/Switcher0.js";
3
- import L from "./Common/Exit.js";
4
- function N(l) {
5
- T(l, "svelte-y31iee", ".Measure-Controller.svelte-y31iee.svelte-y31iee{pointer-events:none}.Measure-Controller.svelte-y31iee .mode-switcher.svelte-y31iee{margin-top:2.25rem}.Measure-Controller.svelte-y31iee .bottom.svelte-y31iee{position:absolute;width:100%;bottom:2.5rem}.Measure-Controller.svelte-y31iee .bottom .center.svelte-y31iee{display:flex;flex-direction:column;align-items:center}.Measure-Controller.svelte-y31iee .buttons.svelte-y31iee{pointer-events:all;cursor:pointer;display:flex;align-items:center;height:2.5rem;background:rgba(0, 0, 0, 0.2);color:rgba(255, 255, 255, 0.85);width:-moz-max-content;width:max-content;border-radius:624.9375rem;overflow:hidden}.Measure-Controller.svelte-y31iee .buttons .button.svelte-y31iee{font-size:0.875rem;padding:0rem 1rem}");
1
+ import { SvelteComponent as D, init as L, safe_not_equal as O, append_styles as T, binding_callbacks as U, bind as W, element as f, space as k, create_component as z, attr as v, insert as S, append as u, mount_component as A, transition_in as h, transition_out as b, check_outros as j, add_flush_callback as B, detach as $, destroy_component as q, onMount as F, onDestroy as G, text as M, set_style as I, listen as x, noop as H, run_all as J, group_outros as K } from "../../vendor/svelte/internal/index.js";
2
+ import N from "./Common/Switcher0.js";
3
+ import P from "./Common/Exit.js";
4
+ import Q from "../Controller/EditController.js";
5
+ import { IconLine as R, IconArea as V, IconUndo as X, IconOk as Y } from "./Common/icons/index.js";
6
+ import "../Model/line.js";
7
+ import "../../shared-utils/uuid.js";
8
+ import "../utils/line.js";
9
+ import "@realsee/five/line";
10
+ import "../utils/constants.js";
11
+ import "three";
12
+ import "@realsee/five";
13
+ import "../utils/dom/distanceItem.js";
14
+ import "../utils/dom/base.js";
15
+ import "../utils/isNDCPointInScreen.js";
16
+ import "../Model/point.js";
17
+ import "../../shared-utils/removeArrayItem.js";
18
+ import "../../shared-utils/throttle.js";
19
+ import "../Controller/BaseController.js";
20
+ import "../utils/ironbox.js";
21
+ import "../Model/polyline.js";
22
+ import "../Model/area.js";
23
+ import "../Model/polygon.js";
24
+ import "../../shared-utils/three/IObject3D.js";
25
+ import "../utils/generatePolygonGeometry.js";
26
+ import "earcut";
27
+ import "../utils/dom/areaDom.js";
28
+ import "../utils/geometryUtil.js";
29
+ import "../../shared-utils/three/centerPoint.js";
30
+ import "../utils/isIntersecting.js";
31
+ import "../../shared-utils/three/PointSelector.js";
32
+ import "../../shared-utils/three/PointSelectorHelper.js";
33
+ import "../../shared-utils/three/Magnifier.js";
34
+ import "hammerjs";
35
+ import "../../shared-utils/three/getIntersect.js";
36
+ import "../../shared-utils/three/PointHelper.js";
37
+ import "../../shared-utils/three/Assets/index.js";
38
+ import "../../shared-utils/three/PointDomHelper.js";
39
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
40
+ import "../Modules/rangePiece/html.js";
41
+ import "../../CSS3DRenderPlugin/index.js";
42
+ import "../../CSS3DRenderPlugin/Controller.js";
43
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
44
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
45
+ import "three/examples/jsm/renderers/CSS3DRenderer";
46
+ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
47
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
48
+ import "../../CSS3DRenderPlugin/utils/even.js";
49
+ import "../../shared-utils/Subscribe.js";
50
+ import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
51
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
52
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
53
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
54
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
55
+ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
56
+ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
57
+ import "../../shared-utils/absoluteUrl.js";
58
+ import "../../shared-utils/animationFrame/BetterTween.js";
59
+ import "../../shared-utils/animationFrame/index.js";
60
+ import "../../shared-utils/isTouchDevice.js";
61
+ import "../../shared-utils/getIntersectionFromEvent.js";
62
+ import "../../shared-utils/getPointFromHammerEvent.js";
63
+ import "../Modules/DeleteDom/index.js";
64
+ import "../Modules/DeleteDom/_Assets/delete.svg.js";
65
+ import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
66
+ import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
67
+ import "../utils/findAssociatedLines.js";
68
+ import "../utils/math.js";
69
+ function Z(i) {
70
+ T(i, "svelte-1g8r5nw", '.Measure-Controller.svelte-1g8r5nw.svelte-1g8r5nw{pointer-events:none}.Measure-Controller.svelte-1g8r5nw .mode-switcher.svelte-1g8r5nw{margin-top:2.25rem}.Measure-Controller.svelte-1g8r5nw .bottom.svelte-1g8r5nw{position:absolute;width:100%;bottom:2.5rem}.Measure-Controller.svelte-1g8r5nw .bottom .center.svelte-1g8r5nw{display:flex;flex-direction:column;align-items:center}.Measure-Controller.svelte-1g8r5nw .buttons.svelte-1g8r5nw{pointer-events:all;cursor:pointer;display:flex;align-items:center;height:2.5rem;background:rgba(0, 0, 0, 0.2);color:rgba(255, 255, 255, 0.85);width:-moz-max-content;width:max-content;border-radius:624.9375rem;overflow:hidden}.Measure-Controller.svelte-1g8r5nw .buttons .button.svelte-1g8r5nw{display:flex;align-items:center;position:relative;font-size:0.875rem;padding:0rem 1rem}.Measure-Controller.svelte-1g8r5nw .buttons .button .icon.svelte-1g8r5nw{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin:0 0.25rem}.Measure-Controller.svelte-1g8r5nw .buttons .button.svelte-1g8r5nw::after{content:"";position:absolute;display:block;right:-0.03125rem;height:1.5rem;width:0.0625rem;background-image:linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);background-size:100%;background-repeat:no-repeat;background-position:center}.Measure-Controller.svelte-1g8r5nw .buttons .button.svelte-1g8r5nw:last-child::after{display:none}');
6
71
  }
7
- function I(l) {
8
- let t, n, i, s, r, c;
72
+ function y(i) {
73
+ let t, o;
74
+ return t = new P({
75
+ props: {
76
+ onClick: (
77
+ /*measureController*/
78
+ i[0].disable
79
+ )
80
+ }
81
+ }), {
82
+ c() {
83
+ z(t.$$.fragment);
84
+ },
85
+ m(e, s) {
86
+ A(t, e, s), o = !0;
87
+ },
88
+ p(e, s) {
89
+ const a = {};
90
+ s & /*measureController*/
91
+ 1 && (a.onClick = /*measureController*/
92
+ e[0].disable), t.$set(a);
93
+ },
94
+ i(e) {
95
+ o || (h(t.$$.fragment, e), o = !0);
96
+ },
97
+ o(e) {
98
+ b(t.$$.fragment, e), o = !1;
99
+ },
100
+ d(e) {
101
+ q(t, e);
102
+ }
103
+ };
104
+ }
105
+ function E(i) {
106
+ let t, o, e, s, a, p, m, d, g, r;
9
107
  return {
10
108
  c() {
11
- t = f("div"), n = f("div"), n.textContent = "撤销", i = _(), s = f("div"), s.textContent = "结束", m(n, "class", "button svelte-y31iee"), m(s, "class", "button svelte-y31iee"), m(t, "class", "buttons svelte-y31iee");
109
+ t = f("div"), o = f("div"), e = f("div"), s = M(`
110
+ 撤销`), a = k(), p = f("div"), m = f("div"), d = M(`
111
+ 结束`), v(e, "class", "icon svelte-1g8r5nw"), I(e, "background-image", `url(${X})`), v(o, "class", "button svelte-1g8r5nw"), v(m, "class", "icon svelte-1g8r5nw"), I(m, "background-image", `url(${Y})`), v(p, "class", "button svelte-1g8r5nw"), v(t, "class", "buttons svelte-1g8r5nw");
12
112
  },
13
- m(d, a) {
14
- E(d, t, a), u(t, n), u(t, i), u(t, s), r || (c = [
113
+ m(n, c) {
114
+ S(n, t, c), u(t, o), u(o, e), u(o, s), u(t, a), u(t, p), u(p, m), u(p, d), g || (r = [
15
115
  x(
16
- n,
116
+ o,
17
117
  "click",
18
118
  /*click_handler*/
19
- l[3]
119
+ i[5]
20
120
  ),
21
121
  x(
22
- s,
122
+ p,
23
123
  "click",
24
- /*click_handler_1*/
25
- l[4]
124
+ /*complete*/
125
+ i[4]
26
126
  )
27
- ], r = !0);
127
+ ], g = !0);
28
128
  },
29
129
  p: H,
30
- d(d) {
31
- d && S(t), r = !1, J(c);
130
+ d(n) {
131
+ n && $(t), g = !1, J(r);
32
132
  }
33
133
  };
34
134
  }
35
- function O(l) {
36
- let t, n, i, s, r, c, d, a, p, v;
37
- n = new L({
38
- props: {
39
- onClick: (
40
- /*measureController*/
41
- l[0].disable
42
- )
43
- }
44
- });
45
- let e = (
135
+ function ee(i) {
136
+ let t, o, e, s, a, p, m, d, g, r = (
137
+ /*showExit*/
138
+ i[1] && y(i)
139
+ ), n = (
46
140
  /*showController*/
47
- l[2] && I(l)
141
+ i[3] && E(i)
48
142
  );
49
- function z(o) {
50
- l[6](o);
143
+ function c(l) {
144
+ i[7](l);
51
145
  }
52
- let b = {
53
- options: [{ key: "line", value: "测距离" }, { key: "area", value: "测面积" }],
146
+ let C = {
147
+ options: [
148
+ {
149
+ key: "line",
150
+ value: "测距离",
151
+ icon: R
152
+ },
153
+ {
154
+ key: "area",
155
+ value: "测面积",
156
+ icon: V
157
+ }
158
+ ],
54
159
  onChange: (
55
160
  /*func*/
56
- l[5]
161
+ i[6]
57
162
  )
58
163
  };
59
164
  return (
60
165
  /*setSwitcherActiveIndex*/
61
- l[1] !== void 0 && (b.setIndex = /*setSwitcherActiveIndex*/
62
- l[1]), a = new K({ props: b }), W.push(() => j(a, "setIndex", z)), {
166
+ i[2] !== void 0 && (C.setIndex = /*setSwitcherActiveIndex*/
167
+ i[2]), m = new N({ props: C }), U.push(() => W(m, "setIndex", c)), {
63
168
  c() {
64
- t = f("div"), C(n.$$.fragment), i = _(), s = f("div"), r = f("div"), e && e.c(), c = _(), d = f("div"), C(a.$$.fragment), m(d, "class", "mode-switcher svelte-y31iee"), m(r, "class", "center svelte-y31iee"), m(s, "class", "bottom svelte-y31iee"), m(t, "class", "Measure-Controller svelte-y31iee");
169
+ t = f("div"), r && r.c(), o = k(), e = f("div"), s = f("div"), n && n.c(), a = k(), p = f("div"), z(m.$$.fragment), v(p, "class", "mode-switcher svelte-1g8r5nw"), v(s, "class", "center svelte-1g8r5nw"), v(e, "class", "bottom svelte-1g8r5nw"), v(t, "class", "Measure-Controller svelte-1g8r5nw");
65
170
  },
66
- m(o, h) {
67
- E(o, t, h), k(n, t, null), u(t, i), u(t, s), u(s, r), e && e.m(r, null), u(r, c), u(r, d), k(a, d, null), v = !0;
171
+ m(l, w) {
172
+ S(l, t, w), r && r.m(t, null), u(t, o), u(t, e), u(e, s), n && n.m(s, null), u(s, a), u(s, p), A(m, p, null), g = !0;
68
173
  },
69
- p(o, [h]) {
70
- const y = {};
71
- h & /*measureController*/
72
- 1 && (y.onClick = /*measureController*/
73
- o[0].disable), n.$set(y), /*showController*/
74
- o[2] ? e ? e.p(o, h) : (e = I(o), e.c(), e.m(r, c)) : e && (e.d(1), e = null);
75
- const g = {};
76
- h & /*measureController*/
77
- 1 && (g.onChange = /*func*/
78
- o[5]), !p && h & /*setSwitcherActiveIndex*/
79
- 2 && (p = !0, g.setIndex = /*setSwitcherActiveIndex*/
80
- o[1], B(() => p = !1)), a.$set(g);
174
+ p(l, [w]) {
175
+ /*showExit*/
176
+ l[1] ? r ? (r.p(l, w), w & /*showExit*/
177
+ 2 && h(r, 1)) : (r = y(l), r.c(), h(r, 1), r.m(t, o)) : r && (K(), b(r, 1, 1, () => {
178
+ r = null;
179
+ }), j()), /*showController*/
180
+ l[3] ? n ? n.p(l, w) : (n = E(l), n.c(), n.m(s, a)) : n && (n.d(1), n = null);
181
+ const _ = {};
182
+ w & /*measureController*/
183
+ 1 && (_.onChange = /*func*/
184
+ l[6]), !d && w & /*setSwitcherActiveIndex*/
185
+ 4 && (d = !0, _.setIndex = /*setSwitcherActiveIndex*/
186
+ l[2], B(() => d = !1)), m.$set(_);
81
187
  },
82
- i(o) {
83
- v || (w(n.$$.fragment, o), w(a.$$.fragment, o), v = !0);
188
+ i(l) {
189
+ g || (h(r), h(m.$$.fragment, l), g = !0);
84
190
  },
85
- o(o) {
86
- M(n.$$.fragment, o), M(a.$$.fragment, o), v = !1;
191
+ o(l) {
192
+ b(r), b(m.$$.fragment, l), g = !1;
87
193
  },
88
- d(o) {
89
- o && S(t), $(n), e && e.d(), $(a);
194
+ d(l) {
195
+ l && $(t), r && r.d(), n && n.d(), q(m);
90
196
  }
91
197
  }
92
198
  );
93
199
  }
94
- function P(l, t, n) {
95
- let { measureController: i } = t, s;
96
- function r(e) {
97
- e === "Edit" ? n(2, c = !0) : (s(null), n(2, c = !1));
200
+ function te(i, t, o) {
201
+ let { measureController: e } = t, { showExit: s = !1 } = t, a;
202
+ function p(c) {
203
+ c === "Edit" ? o(3, d = !0) : (a(null), o(3, d = !1));
204
+ }
205
+ function m() {
206
+ e.controller instanceof Q && e.controller.complete(), e.save({ mode: "Watch" });
98
207
  }
99
208
  F(() => {
100
- i.hook.on("modeChange", r);
209
+ e.hook.on("modeChange", p);
101
210
  }), G(() => {
102
- i.hook.off("modeChange", r);
211
+ e.hook.off("modeChange", p);
103
212
  });
104
- let c = !1;
105
- const d = () => i.revoke(), a = () => i.save({ mode: "Watch" }), p = (e) => {
106
- i.save().changeMode("Edit"), i.changeMeasureType(e);
213
+ let d = !1;
214
+ const g = () => e.revoke(), r = (c) => {
215
+ e.save().changeMode("Edit"), e.changeMeasureType(c);
107
216
  };
108
- function v(e) {
109
- s = e, n(1, s);
217
+ function n(c) {
218
+ a = c, o(2, a);
110
219
  }
111
- return l.$$set = (e) => {
112
- "measureController" in e && n(0, i = e.measureController);
220
+ return i.$$set = (c) => {
221
+ "measureController" in c && o(0, e = c.measureController), "showExit" in c && o(1, s = c.showExit);
113
222
  }, [
114
- i,
223
+ e,
115
224
  s,
116
- c,
117
- d,
118
225
  a,
119
- p,
120
- v
226
+ d,
227
+ m,
228
+ g,
229
+ r,
230
+ n
121
231
  ];
122
232
  }
123
- class V extends q {
233
+ class vt extends D {
124
234
  constructor(t) {
125
- super(), A(this, t, P, O, D, { measureController: 0 }, N);
235
+ super(), L(this, t, te, ee, O, { measureController: 0, showExit: 1 }, Z);
126
236
  }
127
237
  }
128
238
  export {
129
- V as default
239
+ vt as default
130
240
  };