@realsee/dnalogel 2.21.0-dev.13 → 2.21.0-dev.15

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 (330) hide show
  1. package/dist/PanoMeasurePlugin/Controller/index.d.ts +1 -0
  2. package/dist/index.cjs.js +29 -29
  3. package/dist/index.js +1792 -1790
  4. package/dist/index.umd.js +32 -32
  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/Common/Switcher0.js +116 -116
  307. package/libs/PanoMeasurePlugin/Components/Controller0.js +101 -89
  308. package/libs/PanoMeasurePlugin/Components/Controller1.js +167 -178
  309. package/libs/PanoMeasurePlugin/Components/Tip.js +56 -82
  310. package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -2
  311. package/libs/PanoMeasurePlugin/Controller/EditController.js +9 -9
  312. package/libs/PanoMeasurePlugin/Controller/MixedController.js +3 -2
  313. package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -2
  314. package/libs/PanoMeasurePlugin/Controller/WatchController.js +11 -11
  315. package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -0
  316. package/libs/PanoMeasurePlugin/Controller/index.js +15 -12
  317. package/libs/PanoMeasurePlugin/Model/area.js +1 -1
  318. package/libs/PanoMeasurePlugin/Model/index.js +3 -2
  319. package/libs/PanoMeasurePlugin/Model/line.js +1 -0
  320. package/libs/PanoMeasurePlugin/Model/polyline.js +3 -2
  321. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +3 -3
  322. package/libs/PanoMeasurePlugin/Modules/GuideController.js +14 -38
  323. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
  324. package/libs/PanoMeasurePlugin/index.js +1 -1
  325. package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +21 -20
  326. package/libs/base/BasePlugin.js +1 -1
  327. package/libs/shared-utils/logger.js +1 -1
  328. package/libs/shared-utils/three/Magnifier.js +4 -4
  329. package/libs/shared-utils/three/PointSelector.js +14 -14
  330. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
- import { SvelteComponent as O, init as T, safe_not_equal as U, append_styles as W, binding_callbacks as j, bind as B, element as f, space as k, create_component as S, attr as g, insert as A, append as a, mount_component as $, transition_in as _, transition_out as C, check_outros as F, add_flush_callback as G, detach as q, destroy_component as D, onMount as H, onDestroy as J, text as I, set_style as x, listen as y, noop as K, run_all as N, group_outros as P } from "../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as R, init as T, safe_not_equal as U, append_styles as W, binding_callbacks as j, bind as B, element as h, space as _, create_component as q, attr as g, insert as D, append as f, mount_component as L, transition_in as k, transition_out as C, check_outros as F, add_flush_callback as G, detach as O, destroy_component as P, onMount as H, onDestroy as J, text as y, set_style as x, toggle_class as E, listen as z, run_all as K, group_outros as N } from "../../vendor/svelte/internal/index.js";
2
2
  import Q from "./Common/Switcher0.js";
3
- import R from "./Common/Exit.js";
4
- import V from "../Controller/EditController.js";
5
- import { IconLine as X, IconArea as Y, IconUndo as Z, IconOk as ee } from "./Common/icons/index.js";
3
+ import V from "./Common/Exit.js";
4
+ import X from "../Controller/EditController.js";
5
+ import { IconLine as Y, IconArea as Z, IconUndo as $, IconOk as ee } from "./Common/icons/index.js";
6
6
  import "../Model/line.js";
7
7
  import "../../shared-utils/uuid.js";
8
8
  import "../utils/line.js";
@@ -13,6 +13,7 @@ import "@realsee/five";
13
13
  import "../utils/dom/distanceItem.js";
14
14
  import "../utils/dom/base.js";
15
15
  import "../utils/isNDCPointInScreen.js";
16
+ import "../../shared-utils/three/centerPoint.js";
16
17
  import "../Model/point.js";
17
18
  import "../../shared-utils/removeArrayItem.js";
18
19
  import "../../shared-utils/throttle.js";
@@ -26,7 +27,6 @@ import "../utils/generatePolygonGeometry.js";
26
27
  import "earcut";
27
28
  import "../utils/dom/areaDom.js";
28
29
  import "../utils/geometryUtil.js";
29
- import "../../shared-utils/three/centerPoint.js";
30
30
  import "../utils/isIntersecting.js";
31
31
  import "../../shared-utils/three/PointSelector.js";
32
32
  import "../../shared-utils/three/PointSelectorHelper.js";
@@ -67,11 +67,11 @@ import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
67
67
  import "../utils/findAssociatedLines.js";
68
68
  import "../utils/math.js";
69
69
  function te(r) {
70
- W(r, "svelte-nlls1v", '.Measure-Controller.svelte-nlls1v.svelte-nlls1v{pointer-events:none}.Measure-Controller.svelte-nlls1v .mode-switcher.svelte-nlls1v{margin-top:2.25rem}.Measure-Controller.svelte-nlls1v .bottom.svelte-nlls1v{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-nlls1v .bottom .mask.svelte-nlls1v{position:absolute;bottom:0;width:100%;height:11.5rem;background-size:100%;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3))}.Measure-Controller.svelte-nlls1v .bottom .center.svelte-nlls1v{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-nlls1v .buttons.svelte-nlls1v{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-nlls1v .buttons .button.svelte-nlls1v{display:flex;align-items:center;position:relative;font-size:0.875rem;padding:0rem 1rem}.Measure-Controller.svelte-nlls1v .buttons .button .icon.svelte-nlls1v{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin:0 0.25rem}.Measure-Controller.svelte-nlls1v .buttons .button.svelte-nlls1v::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-nlls1v .buttons .button.svelte-nlls1v:last-child::after{display:none}');
70
+ W(r, "svelte-1ilw9f8", '*.forbid.svelte-1ilw9f8.svelte-1ilw9f8{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-1ilw9f8.svelte-1ilw9f8{pointer-events:none;position:relative;width:100%;height:100%;z-index:1}.Measure-Controller.svelte-1ilw9f8 .mode-switcher.svelte-1ilw9f8{margin-top:2.25rem}.Measure-Controller.svelte-1ilw9f8 .bottom.svelte-1ilw9f8{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-1ilw9f8 .bottom .mask.svelte-1ilw9f8{position:absolute;bottom:0;width:100%;height:11.5rem;background-size:100%;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3))}.Measure-Controller.svelte-1ilw9f8 .bottom .center.svelte-1ilw9f8{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-1ilw9f8 .buttons.svelte-1ilw9f8{pointer-events:all;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-1ilw9f8 .buttons .button.svelte-1ilw9f8{cursor:pointer;display:flex;align-items:center;position:relative;font-size:0.875rem;padding:0rem 1rem}.Measure-Controller.svelte-1ilw9f8 .buttons .button .icon.svelte-1ilw9f8{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin-right:0.25rem}.Measure-Controller.svelte-1ilw9f8 .buttons .button.svelte-1ilw9f8::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-1ilw9f8 .buttons .button.svelte-1ilw9f8:last-child::after{display:none}');
71
71
  }
72
- function E(r) {
73
- let o, l;
74
- return o = new R({
72
+ function S(r) {
73
+ let t, o;
74
+ return t = new V({
75
75
  props: {
76
76
  onClick: (
77
77
  /*measureController*/
@@ -80,161 +80,173 @@ function E(r) {
80
80
  }
81
81
  }), {
82
82
  c() {
83
- S(o.$$.fragment);
83
+ q(t.$$.fragment);
84
84
  },
85
- m(e, p) {
86
- $(o, e, p), l = !0;
85
+ m(e, c) {
86
+ L(t, e, c), o = !0;
87
87
  },
88
- p(e, p) {
89
- const c = {};
90
- p & /*measureController*/
91
- 1 && (c.onClick = /*measureController*/
92
- e[0].disable), o.$set(c);
88
+ p(e, c) {
89
+ const u = {};
90
+ c & /*measureController*/
91
+ 1 && (u.onClick = /*measureController*/
92
+ e[0].disable), t.$set(u);
93
93
  },
94
94
  i(e) {
95
- l || (_(o.$$.fragment, e), l = !0);
95
+ o || (k(t.$$.fragment, e), o = !0);
96
96
  },
97
97
  o(e) {
98
- C(o.$$.fragment, e), l = !1;
98
+ C(t.$$.fragment, e), o = !1;
99
99
  },
100
100
  d(e) {
101
- D(o, e);
101
+ P(t, e);
102
102
  }
103
103
  };
104
104
  }
105
- function z(r) {
106
- let o, l, e, p, c, i, d, u, s, b;
105
+ function A(r) {
106
+ let t, o, e, c, u, l, d, v, m, w;
107
107
  return {
108
108
  c() {
109
- o = f("div"), l = f("div"), e = f("div"), p = I(`
110
- 撤销`), c = k(), i = f("div"), d = f("div"), u = I(`
111
- 结束`), g(e, "class", "icon svelte-nlls1v"), x(e, "background-image", `url(${Z})`), g(l, "class", "button svelte-nlls1v"), g(d, "class", "icon svelte-nlls1v"), x(d, "background-image", `url(${ee})`), g(i, "class", "button svelte-nlls1v"), g(o, "class", "buttons svelte-nlls1v");
109
+ t = h("div"), o = h("div"), e = h("div"), c = y(`
110
+ 撤销`), u = _(), l = h("div"), d = h("div"), v = y(`
111
+ 结束`), g(e, "class", "icon svelte-1ilw9f8"), x(e, "background-image", `url(${$})`), g(o, "class", "button svelte-1ilw9f8"), E(o, "forbid", !/*canRevoke*/
112
+ r[2]), g(d, "class", "icon svelte-1ilw9f8"), x(d, "background-image", `url(${ee})`), g(l, "class", "button svelte-1ilw9f8"), g(t, "class", "buttons svelte-1ilw9f8");
112
113
  },
113
- m(v, t) {
114
- A(v, o, t), a(o, l), a(l, e), a(l, p), a(o, c), a(o, i), a(i, d), a(i, u), s || (b = [
115
- y(
116
- l,
114
+ m(p, i) {
115
+ D(p, t, i), f(t, o), f(o, e), f(o, c), f(t, u), f(t, l), f(l, d), f(l, v), m || (w = [
116
+ z(
117
+ o,
117
118
  "click",
118
119
  /*click_handler*/
119
- r[5]
120
+ r[6]
120
121
  ),
121
- y(
122
- i,
122
+ z(
123
+ l,
123
124
  "click",
124
125
  /*complete*/
125
- r[4]
126
+ r[5]
126
127
  )
127
- ], s = !0);
128
+ ], m = !0);
129
+ },
130
+ p(p, i) {
131
+ i & /*canRevoke*/
132
+ 4 && E(o, "forbid", !/*canRevoke*/
133
+ p[2]);
128
134
  },
129
- p: K,
130
- d(v) {
131
- v && q(o), s = !1, N(b);
135
+ d(p) {
136
+ p && O(t), m = !1, K(w);
132
137
  }
133
138
  };
134
139
  }
135
140
  function oe(r) {
136
- let o, l, e, p, c, i, d, u, s, b, v, t = (
141
+ let t, o, e, c, u, l, d, v, m, w, p, i = (
137
142
  /*showExit*/
138
- r[1] && E(r)
139
- ), m = (
143
+ r[1] && S(r)
144
+ ), s = (
140
145
  /*showController*/
141
- r[3] && z(r)
146
+ r[4] && A(r)
142
147
  );
143
- function L(n) {
144
- r[7](n);
148
+ function M(n) {
149
+ r[8](n);
145
150
  }
146
- let M = {
151
+ let a = {
147
152
  options: [
148
153
  {
149
154
  key: "line",
150
155
  value: "测距离",
151
- icon: X
156
+ icon: Y
152
157
  },
153
158
  {
154
159
  key: "area",
155
160
  value: "测面积",
156
- icon: Y
161
+ icon: Z
157
162
  }
158
163
  ],
159
164
  onChange: (
160
165
  /*func*/
161
- r[6]
166
+ r[7]
162
167
  )
163
168
  };
164
169
  return (
165
170
  /*setSwitcherActiveIndex*/
166
- r[2] !== void 0 && (M.setIndex = /*setSwitcherActiveIndex*/
167
- r[2]), s = new Q({ props: M }), j.push(() => B(s, "setIndex", L)), {
171
+ r[3] !== void 0 && (a.setIndex = /*setSwitcherActiveIndex*/
172
+ r[3]), m = new Q({ props: a }), j.push(() => B(m, "setIndex", M)), {
168
173
  c() {
169
- o = f("div"), t && t.c(), l = k(), e = f("div"), p = f("div"), c = k(), i = f("div"), m && m.c(), d = k(), u = f("div"), S(s.$$.fragment), g(p, "class", "mask svelte-nlls1v"), g(u, "class", "mode-switcher svelte-nlls1v"), g(i, "class", "center svelte-nlls1v"), g(e, "class", "bottom svelte-nlls1v"), g(o, "class", "Measure-Controller svelte-nlls1v");
174
+ t = h("div"), i && i.c(), o = _(), e = h("div"), c = h("div"), u = _(), l = h("div"), s && s.c(), d = _(), v = h("div"), q(m.$$.fragment), g(c, "class", "mask svelte-1ilw9f8"), g(v, "class", "mode-switcher svelte-1ilw9f8"), g(l, "class", "center svelte-1ilw9f8"), g(e, "class", "bottom svelte-1ilw9f8"), g(t, "class", "Measure-Controller svelte-1ilw9f8");
170
175
  },
171
- m(n, h) {
172
- A(n, o, h), t && t.m(o, null), a(o, l), a(o, e), a(e, p), a(e, c), a(e, i), m && m.m(i, null), a(i, d), a(i, u), $(s, u, null), v = !0;
176
+ m(n, b) {
177
+ D(n, t, b), i && i.m(t, null), f(t, o), f(t, e), f(e, c), f(e, u), f(e, l), s && s.m(l, null), f(l, d), f(l, v), L(m, v, null), p = !0;
173
178
  },
174
- p(n, [h]) {
179
+ p(n, [b]) {
175
180
  /*showExit*/
176
- n[1] ? t ? (t.p(n, h), h & /*showExit*/
177
- 2 && _(t, 1)) : (t = E(n), t.c(), _(t, 1), t.m(o, l)) : t && (P(), C(t, 1, 1, () => {
178
- t = null;
181
+ n[1] ? i ? (i.p(n, b), b & /*showExit*/
182
+ 2 && k(i, 1)) : (i = S(n), i.c(), k(i, 1), i.m(t, o)) : i && (N(), C(i, 1, 1, () => {
183
+ i = null;
179
184
  }), F()), /*showController*/
180
- n[3] ? m ? m.p(n, h) : (m = z(n), m.c(), m.m(i, d)) : m && (m.d(1), m = null);
181
- const w = {};
182
- h & /*measureController*/
183
- 1 && (w.onChange = /*func*/
184
- n[6]), !b && h & /*setSwitcherActiveIndex*/
185
- 4 && (b = !0, w.setIndex = /*setSwitcherActiveIndex*/
186
- n[2], G(() => b = !1)), s.$set(w);
185
+ n[4] ? s ? s.p(n, b) : (s = A(n), s.c(), s.m(l, d)) : s && (s.d(1), s = null);
186
+ const I = {};
187
+ b & /*measureController*/
188
+ 1 && (I.onChange = /*func*/
189
+ n[7]), !w && b & /*setSwitcherActiveIndex*/
190
+ 8 && (w = !0, I.setIndex = /*setSwitcherActiveIndex*/
191
+ n[3], G(() => w = !1)), m.$set(I);
187
192
  },
188
193
  i(n) {
189
- v || (_(t), _(s.$$.fragment, n), v = !0);
194
+ p || (k(i), k(m.$$.fragment, n), p = !0);
190
195
  },
191
196
  o(n) {
192
- C(t), C(s.$$.fragment, n), v = !1;
197
+ C(i), C(m.$$.fragment, n), p = !1;
193
198
  },
194
199
  d(n) {
195
- n && q(o), t && t.d(), m && m.d(), D(s);
200
+ n && O(t), i && i.d(), s && s.d(), P(m);
196
201
  }
197
202
  }
198
203
  );
199
204
  }
200
- function le(r, o, l) {
201
- let { measureController: e } = o, { showExit: p = !1 } = o, c;
202
- function i(t) {
203
- t === "Edit" ? l(3, u = !0) : (c(null), l(3, u = !1));
205
+ function ie(r, t, o) {
206
+ let { measureController: e } = t, { showExit: c = !1 } = t, u = !1, l;
207
+ function d(a) {
208
+ a === "Edit" ? o(4, p = !0) : (l(null), o(4, p = !1));
209
+ }
210
+ function v() {
211
+ e.controller instanceof X && e.controller.complete(), e.save({ mode: "Watch" });
204
212
  }
205
- function d() {
206
- e.controller instanceof V && e.controller.complete(), e.save({ mode: "Watch" });
213
+ function m(a) {
214
+ o(2, u = a.length > 0);
215
+ }
216
+ function w() {
217
+ o(2, u = !1);
207
218
  }
208
219
  H(() => {
209
- e.hook.on("modeChange", i);
220
+ e.hook.on("modeChange", d), e.hook.on("complete", w), e.hook.on("pointsChange", m);
210
221
  }), J(() => {
211
- e.hook.off("modeChange", i);
222
+ e.hook.off("modeChange", d), e.hook.off("complete", w), e.hook.off("pointsChange", m);
212
223
  });
213
- let u = !1;
214
- const s = () => e.revoke(), b = (t) => {
215
- e.save().changeMode("Edit"), e.changeMeasureType(t);
224
+ let p = !1;
225
+ const i = () => e.revoke(), s = (a) => {
226
+ e.save().changeMode("Edit"), e.changeMeasureType(a);
216
227
  };
217
- function v(t) {
218
- c = t, l(2, c);
228
+ function M(a) {
229
+ l = a, o(3, l);
219
230
  }
220
- return r.$$set = (t) => {
221
- "measureController" in t && l(0, e = t.measureController), "showExit" in t && l(1, p = t.showExit);
231
+ return r.$$set = (a) => {
232
+ "measureController" in a && o(0, e = a.measureController), "showExit" in a && o(1, c = a.showExit);
222
233
  }, [
223
234
  e,
224
- p,
225
235
  c,
226
236
  u,
227
- d,
237
+ l,
238
+ p,
239
+ v,
240
+ i,
228
241
  s,
229
- b,
230
- v
242
+ M
231
243
  ];
232
244
  }
233
- class ht extends O {
234
- constructor(o) {
235
- super(), T(this, o, le, oe, U, { measureController: 0, showExit: 1 }, te);
245
+ class wt extends R {
246
+ constructor(t) {
247
+ super(), T(this, t, ie, oe, U, { measureController: 0, showExit: 1 }, te);
236
248
  }
237
249
  }
238
250
  export {
239
- ht as default
251
+ wt as default
240
252
  };