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

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 (328) hide show
  1. package/dist/index.cjs.js +34 -34
  2. package/dist/index.js +1786 -1787
  3. package/dist/index.umd.js +32 -32
  4. package/docs/classes/CSS3DRender.html +30 -30
  5. package/docs/classes/CruisePluginController.html +25 -25
  6. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  7. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  8. package/docs/classes/Magnifier.html +19 -19
  9. package/docs/classes/ModelRoomLabelController.html +10 -10
  10. package/docs/classes/Object3DHelperController.html +24 -24
  11. package/docs/classes/PaintBrush.html +14 -14
  12. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  13. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  14. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  15. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  16. package/docs/classes/PanoTagPluginController.html +46 -46
  17. package/docs/classes/Util.BetterTween.html +8 -8
  18. package/docs/classes/Util.Interval.html +11 -11
  19. package/docs/classes/Util.Magnifier.html +19 -19
  20. package/docs/classes/Util.PointDomHelper.html +10 -10
  21. package/docs/classes/Util.PointHelper.html +10 -10
  22. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  23. package/docs/classes/Util.Rectangle.html +12 -12
  24. package/docs/enums/CameraMovementEffect.html +6 -6
  25. package/docs/enums/ContentType.html +19 -19
  26. package/docs/enums/DIRECTION.html +8 -8
  27. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  28. package/docs/enums/DimensionType.html +6 -6
  29. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  30. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  31. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  32. package/docs/enums/PointType.html +6 -6
  33. package/docs/enums/Rotation.html +7 -7
  34. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  35. package/docs/functions/CameraMovementPlugin.html +3 -3
  36. package/docs/functions/CruisePlugin.html +3 -3
  37. package/docs/functions/GuideLinePlugin.html +4 -4
  38. package/docs/functions/ItemLabelPlugin.html +3 -3
  39. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  40. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  41. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  42. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  43. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  44. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  45. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  46. package/docs/functions/ModelViewPlugin.html +3 -3
  47. package/docs/functions/Object3DHelperPlugin.html +3 -3
  48. package/docs/functions/PanoCompassPlugin.html +3 -3
  49. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  50. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  51. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  52. package/docs/functions/PanoMeasurePlugin.html +3 -3
  53. package/docs/functions/PanoRulerPlugin.html +3 -3
  54. package/docs/functions/PanoRulerProPlugin.html +3 -3
  55. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  56. package/docs/functions/PanoTagPlugin.html +3 -3
  57. package/docs/functions/PanoVideoPlugin.html +3 -3
  58. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  59. package/docs/functions/Util.absoluteUrl.html +4 -4
  60. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  61. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  62. package/docs/functions/Util.getFrameTime.html +4 -4
  63. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  64. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  65. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  66. package/docs/functions/Util.isModelLike.html +4 -4
  67. package/docs/functions/Util.isNil.html +4 -4
  68. package/docs/functions/Util.isPanoramaLike.html +4 -4
  69. package/docs/functions/Util.nextFrame.html +4 -4
  70. package/docs/functions/Util.notNil.html +4 -4
  71. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  72. package/docs/functions/Util.tweenProgress.html +4 -4
  73. package/docs/functions/Util.uuid.html +4 -4
  74. package/docs/functions/pluginFlag.html +4 -4
  75. package/docs/index.html +4 -4
  76. package/docs/interfaces/AddTagConfig.html +5 -5
  77. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  78. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  79. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  80. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  81. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  82. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  83. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  84. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  85. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  86. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  87. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  88. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  89. package/docs/interfaces/EventMap.html +14 -14
  90. package/docs/interfaces/FloorplanBounding.html +7 -7
  91. package/docs/interfaces/FloorplanData.html +9 -9
  92. package/docs/interfaces/FloorplanEntrance.html +10 -10
  93. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  94. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  95. package/docs/interfaces/FloorplanFloorData.html +8 -8
  96. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  97. package/docs/interfaces/FloorplanObserver.html +8 -8
  98. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  99. package/docs/interfaces/FloorplanPosition.html +6 -6
  100. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  101. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  102. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  103. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  104. package/docs/interfaces/FloorplanServerData.html +6 -6
  105. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  106. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  107. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  108. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  109. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  110. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  111. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  112. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  113. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  114. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  115. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  116. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  117. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  118. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  119. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  120. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  121. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  122. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  123. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  124. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  125. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  126. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  127. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  128. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  129. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  130. package/docs/interfaces/HelperOffset.html +7 -7
  131. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  132. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  133. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  134. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  135. package/docs/interfaces/MinMax.html +6 -6
  136. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  137. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  138. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  139. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  140. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  141. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  142. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  143. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  144. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  145. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  146. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  147. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  148. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  149. package/docs/interfaces/Object3DHelperState.html +7 -7
  150. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  151. package/docs/interfaces/PaintBrushAction.html +11 -11
  152. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  153. package/docs/interfaces/PaintBrushState.html +9 -9
  154. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  155. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  156. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  157. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  158. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  159. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  160. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  161. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  162. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  163. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  164. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  165. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  166. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  167. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  168. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  169. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  170. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  171. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  172. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  173. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  174. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  175. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  176. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  177. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  178. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  179. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  180. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  181. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  182. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  183. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  184. package/docs/interfaces/Point.html +7 -7
  185. package/docs/interfaces/Room.html +8 -8
  186. package/docs/interfaces/RoomInfo.html +6 -6
  187. package/docs/interfaces/RoomLabel.html +13 -13
  188. package/docs/interfaces/RoomRules.html +4 -4
  189. package/docs/interfaces/Rooms.html +4 -4
  190. package/docs/interfaces/Scissor.html +8 -8
  191. package/docs/interfaces/State.html +7 -7
  192. package/docs/interfaces/TagCacheInterface.html +11 -11
  193. package/docs/interfaces/TagConfig.html +12 -12
  194. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  195. package/docs/interfaces/TagIconUrl.html +11 -11
  196. package/docs/interfaces/TagObjectGroup.html +5 -5
  197. package/docs/interfaces/TagStyle.html +5 -5
  198. package/docs/interfaces/Tags.html +8 -8
  199. package/docs/interfaces/TemporaryState.html +5 -5
  200. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  201. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  202. package/docs/interfaces/Util.PointIntersection.html +7 -7
  203. package/docs/modules/CruisePluginTypes.html +4 -4
  204. package/docs/modules/GuideLineItem.html +4 -4
  205. package/docs/modules/GuideLineModeItem.html +4 -4
  206. package/docs/modules/GuideLinePluginType.html +4 -4
  207. package/docs/modules/PanoVideoPluginType.html +4 -4
  208. package/docs/modules/Util.html +4 -4
  209. package/docs/modules.html +4 -4
  210. package/docs/types/ArrayPosition.html +4 -4
  211. package/docs/types/AudioAppearance.html +4 -4
  212. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  213. package/docs/types/CSS3DRenderExportType.html +4 -4
  214. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  215. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  216. package/docs/types/ClassFunctionParameters.html +4 -4
  217. package/docs/types/Color.html +4 -4
  218. package/docs/types/ContentTypeConfigKey.html +4 -4
  219. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  220. package/docs/types/ContentTypeMap.html +4 -4
  221. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  222. package/docs/types/Create3DElementReturnType.html +4 -4
  223. package/docs/types/CruisePluginExportType.html +4 -4
  224. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  225. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  226. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  227. package/docs/types/DeprecatedTagProperty.html +4 -4
  228. package/docs/types/Direction-1.html +4 -4
  229. package/docs/types/Direction4.html +4 -4
  230. package/docs/types/ElementRenderer.html +4 -4
  231. package/docs/types/FloorplanRuleLabels.html +4 -4
  232. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  233. package/docs/types/GuideLinePluginExportType.html +4 -4
  234. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  235. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  236. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  237. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  238. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  239. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  240. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  241. package/docs/types/HelperEventMap.html +4 -4
  242. package/docs/types/LoadTagConfig.html +4 -4
  243. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  244. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  245. package/docs/types/MediaData.html +4 -4
  246. package/docs/types/MediaStore.html +4 -4
  247. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  248. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  249. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  250. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  251. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  252. package/docs/types/MoveArgs.html +4 -4
  253. package/docs/types/MoveOpts.html +4 -4
  254. package/docs/types/Object3DHelperEventMap.html +4 -4
  255. package/docs/types/ObjectFit.html +4 -4
  256. package/docs/types/PaintBrushEventMap.html +4 -4
  257. package/docs/types/PanoCompassPluginData.html +4 -4
  258. package/docs/types/PanoCompassPluginExportType.html +4 -4
  259. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  260. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  261. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  262. package/docs/types/PanoIndex.html +4 -4
  263. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  264. package/docs/types/PanoMeasureReturnType.html +4 -4
  265. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  266. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  267. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  268. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  269. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  270. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  271. package/docs/types/PlaneTag.html +4 -4
  272. package/docs/types/Point2DTag.html +4 -4
  273. package/docs/types/Point3DTag.html +4 -4
  274. package/docs/types/PointTag.html +4 -4
  275. package/docs/types/PointTagInstance.html +4 -4
  276. package/docs/types/Position.html +4 -4
  277. package/docs/types/RotateArgs.html +4 -4
  278. package/docs/types/RotateOpts.html +4 -4
  279. package/docs/types/RuleLabelsKey.html +4 -4
  280. package/docs/types/RuleLabelsValue.html +4 -4
  281. package/docs/types/StickType.html +4 -4
  282. package/docs/types/Tag.html +4 -4
  283. package/docs/types/Tag2D.html +4 -4
  284. package/docs/types/Tag3D.html +4 -4
  285. package/docs/types/TagContentType.html +4 -4
  286. package/docs/types/TagDimensionType.html +4 -4
  287. package/docs/types/TagElement.html +4 -4
  288. package/docs/types/TagEvents.html +4 -4
  289. package/docs/types/TagGLTFObject.html +4 -4
  290. package/docs/types/TagHooks.html +4 -4
  291. package/docs/types/TagId.html +4 -4
  292. package/docs/types/TagInstance.html +4 -4
  293. package/docs/types/TagPointType.html +4 -4
  294. package/docs/types/TagRendererMap.html +4 -4
  295. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  296. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  297. package/docs/types/WorkCode.html +4 -4
  298. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  299. package/docs/variables/PLUGIN.html +4 -4
  300. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  301. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  302. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  303. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  304. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  305. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +81 -81
  306. package/libs/PanoMeasurePlugin/Components/Controller0.js +101 -89
  307. package/libs/PanoMeasurePlugin/Components/Controller1.js +167 -178
  308. package/libs/PanoMeasurePlugin/Components/Tip.js +58 -84
  309. package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -2
  310. package/libs/PanoMeasurePlugin/Controller/EditController.js +10 -10
  311. package/libs/PanoMeasurePlugin/Controller/MixedController.js +3 -2
  312. package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -2
  313. package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -4
  314. package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
  315. package/libs/PanoMeasurePlugin/Model/area.js +1 -1
  316. package/libs/PanoMeasurePlugin/Model/index.js +3 -2
  317. package/libs/PanoMeasurePlugin/Model/line.js +1 -0
  318. package/libs/PanoMeasurePlugin/Model/polyline.js +3 -2
  319. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +1 -1
  320. package/libs/PanoMeasurePlugin/Modules/GuideController.js +16 -40
  321. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
  322. package/libs/PanoMeasurePlugin/index.js +1 -1
  323. package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +21 -20
  324. package/libs/base/BasePlugin.js +1 -1
  325. package/libs/shared-utils/logger.js +1 -1
  326. package/libs/shared-utils/three/Magnifier.js +4 -4
  327. package/libs/shared-utils/three/PointSelector.js +14 -14
  328. package/package.json +1 -1
@@ -1,47 +1,23 @@
1
- import { SvelteComponent as D, init as q, safe_not_equal as E, append_styles as N, empty as O, insert as w, transition_in as d, transition_out as b, check_outros as P, detach as z, onMount as W, onDestroy as j, element as g, text as A, attr as k, append as y, set_data as B, add_render_callback as F, create_bidirectional_transition as C, group_outros as G, binding_callbacks as H } from "../../vendor/svelte/internal/index.js";
2
- import { fade as v } from "../../vendor/svelte/transition/index.js";
3
- import "@realsee/five/line";
4
- import "../utils/constants.js";
5
- import "three";
6
- import "@realsee/five";
7
- import "../Model/polygon.js";
8
- import "hammerjs";
9
- import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
10
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
11
- import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
1
+ import { SvelteComponent as W, init as q, safe_not_equal as z, append_styles as E, empty as N, insert as M, transition_in as m, transition_out as b, check_outros as O, detach as T, onMount as P, onDestroy as j, element as y, text as A, attr as g, append as k, set_data as B, add_render_callback as F, create_bidirectional_transition as x, group_outros as G, binding_callbacks as H } from "../../vendor/svelte/internal/index.js";
2
+ import { fade as C } from "../../vendor/svelte/transition/index.js";
12
3
  import "../../vendor/svelte/easing/index.js";
13
- import "../../shared-utils/three/IObject3D.js";
14
- import "../utils/generatePolygonGeometry.js";
15
- import "earcut";
16
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
17
- import "three/examples/jsm/renderers/CSS3DRenderer";
18
- import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
19
- import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
20
- import "../../CSS3DRenderPlugin/utils/even.js";
21
- import "../../shared-utils/Subscribe.js";
22
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
23
- import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
24
- import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
25
- import "../../shared-utils/three/centerPoint.js";
26
- import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
27
- import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
28
4
  function I(l) {
29
- N(l, "svelte-18z4ai8", ".Measure-Tips.svelte-18z4ai8.svelte-18z4ai8{box-sizing:border-box;position:absolute;pointer-events:none;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-18z4ai8 .text.svelte-18z4ai8{position:relative;margin:auto;width:-moz-max-content;width:max-content;max-width:100%;top:1.875rem;color:#fff;word-break:break-all;word-wrap:break-word}");
5
+ E(l, "svelte-1x2fiiy", ".Measure-Tips.svelte-1x2fiiy.svelte-1x2fiiy{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1x2fiiy .text.svelte-1x2fiiy{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)}");
30
6
  }
31
- function T(l) {
32
- let o, r, e, i, n;
7
+ function v(l) {
8
+ let n, o, e, i, r;
33
9
  return {
34
10
  c() {
35
- o = g("div"), r = g("div"), e = A(
11
+ n = y("div"), o = y("div"), e = A(
36
12
  /*tip*/
37
13
  l[2]
38
- ), k(r, "class", "text svelte-18z4ai8"), k(o, "class", "Measure-Tips svelte-18z4ai8");
14
+ ), g(o, "class", "text svelte-1x2fiiy"), g(n, "class", "Measure-Tips svelte-1x2fiiy");
39
15
  },
40
- m(s, a) {
41
- w(s, o, a), y(o, r), y(r, e), l[6](r), n = !0;
16
+ m(s, f) {
17
+ M(s, n, f), k(n, o), k(o, e), l[6](o), r = !0;
42
18
  },
43
- p(s, a) {
44
- (!n || a & /*tip*/
19
+ p(s, f) {
20
+ (!r || f & /*tip*/
45
21
  4) && B(
46
22
  e,
47
23
  /*tip*/
@@ -49,96 +25,94 @@ function T(l) {
49
25
  );
50
26
  },
51
27
  i(s) {
52
- n || (F(() => {
53
- n && (i || (i = C(o, v, {}, !0)), i.run(1));
54
- }), n = !0);
28
+ r || (F(() => {
29
+ r && (i || (i = x(n, C, {}, !0)), i.run(1));
30
+ }), r = !0);
55
31
  },
56
32
  o(s) {
57
- i || (i = C(o, v, {}, !1)), i.run(0), n = !1;
33
+ i || (i = x(n, C, {}, !1)), i.run(0), r = !1;
58
34
  },
59
35
  d(s) {
60
- s && z(o), l[6](null), s && i && i.end();
36
+ s && T(n), l[6](null), s && i && i.end();
61
37
  }
62
38
  };
63
39
  }
64
40
  function J(l) {
65
- let o, r, e = (
41
+ let n, o, e = (
66
42
  /*visible*/
67
- l[0] && T(l)
43
+ l[0] && v(l)
68
44
  );
69
45
  return {
70
46
  c() {
71
- e && e.c(), o = O();
47
+ e && e.c(), n = N();
72
48
  },
73
- m(i, n) {
74
- e && e.m(i, n), w(i, o, n), r = !0;
49
+ m(i, r) {
50
+ e && e.m(i, r), M(i, n, r), o = !0;
75
51
  },
76
- p(i, [n]) {
52
+ p(i, [r]) {
77
53
  /*visible*/
78
- i[0] ? e ? (e.p(i, n), n & /*visible*/
79
- 1 && d(e, 1)) : (e = T(i), e.c(), d(e, 1), e.m(o.parentNode, o)) : e && (G(), b(e, 1, 1, () => {
54
+ i[0] ? e ? (e.p(i, r), r & /*visible*/
55
+ 1 && m(e, 1)) : (e = v(i), e.c(), m(e, 1), e.m(n.parentNode, n)) : e && (G(), b(e, 1, 1, () => {
80
56
  e = null;
81
- }), P());
57
+ }), O());
82
58
  },
83
59
  i(i) {
84
- r || (d(e), r = !0);
60
+ o || (m(e), o = !0);
85
61
  },
86
62
  o(i) {
87
- b(e), r = !1;
63
+ b(e), o = !1;
88
64
  },
89
65
  d(i) {
90
- e && e.d(i), i && z(o);
66
+ e && e.d(i), i && T(n);
91
67
  }
92
68
  };
93
69
  }
94
- function K(l, o, r) {
95
- let { measureController: e } = o, { tips: i } = o, { tipStyle: n = {} } = o, { visible: s = !0 } = o, a = null;
96
- const M = (t) => {
97
- const S = e.currentMeasureType;
98
- let p = "";
99
- return p = i[t], p === void 0 && (p = i[S][t]), p;
100
- }, f = (t) => {
101
- r(2, c = M(t));
102
- }, m = () => {
103
- r(2, c = "");
70
+ function K(l, n, o) {
71
+ let { measureController: e } = n, { tips: i } = n, { tipStyle: r = {} } = n, { visible: s = !0 } = n, f = null;
72
+ const w = (t) => {
73
+ const D = e.currentMeasureType;
74
+ let c = "";
75
+ return c = i[t], c === void 0 && (c = i[D][t]), c;
76
+ }, a = (t) => {
77
+ o(2, d = w(t));
78
+ }, u = () => {
79
+ o(2, d = "");
104
80
  };
105
- let c = "";
106
- const u = (t) => {
107
- t === "Edit" ? e.changeMeasureType ? f("start") : f("select") : t === "Watch" ? f("select") : m();
81
+ let d = "";
82
+ const p = (t) => {
83
+ t === "Edit" ? e.changeMeasureType ? a("start") : a("select") : t === "Watch" ? a("select") : u();
108
84
  }, h = () => {
109
- f("select");
85
+ e.getCurrentMode() === "Watch" && a("select");
110
86
  }, _ = (t) => {
111
- e.currentMeasureType === "area" && (t.length >= 2 ? f("close") : t.length === 0 ? f("start") : m());
87
+ e.currentMeasureType === "area" && (t.length >= 2 ? a("close") : t.length === 0 ? a("start") : u());
112
88
  };
113
- W(() => {
114
- u(e.getCurrentMode()), e.hook.on("modeChange", u), e.hook.on("complete", h), e.hook.on("pointsChange", _);
89
+ P(() => {
90
+ p(e.getCurrentMode()), e.hook.on("modeChange", p), e.hook.on("complete", h), e.hook.on("pointsChange", _);
115
91
  }), j(() => {
116
- e.hook.off("modeChange", u), e.hook.off("complete", h), e.hook.off("pointsChange", _), m();
92
+ e.hook.off("modeChange", p), e.hook.off("complete", h), e.hook.off("pointsChange", _), u();
117
93
  });
118
- function x(t) {
94
+ function S(t) {
119
95
  H[t ? "unshift" : "push"](() => {
120
- a = t, r(1, a), r(5, n);
96
+ f = t, o(1, f), o(5, r);
121
97
  });
122
98
  }
123
99
  return l.$$set = (t) => {
124
- "measureController" in t && r(3, e = t.measureController), "tips" in t && r(4, i = t.tips), "tipStyle" in t && r(5, n = t.tipStyle), "visible" in t && r(0, s = t.visible);
100
+ "measureController" in t && o(3, e = t.measureController), "tips" in t && o(4, i = t.tips), "tipStyle" in t && o(5, r = t.tipStyle), "visible" in t && o(0, s = t.visible);
125
101
  }, l.$$.update = () => {
126
102
  if (l.$$.dirty & /*textDom, tipStyle*/
127
- 34 && a)
128
- for (const t in n)
129
- n.hasOwnProperty(t) && r(1, a.style[t] = n[t], a);
130
- l.$$.dirty & /*tip*/
131
- 4 && console.log({ tip: c });
132
- }, [s, a, c, e, i, n, x];
103
+ 34 && f)
104
+ for (const t in r)
105
+ r.hasOwnProperty(t) && o(1, f.style[t] = r[t], f);
106
+ }, [s, f, d, e, i, r, S];
133
107
  }
134
- class ge extends D {
135
- constructor(o) {
108
+ class U extends W {
109
+ constructor(n) {
136
110
  super(), q(
137
111
  this,
138
- o,
112
+ n,
139
113
  K,
140
114
  J,
141
- E,
115
+ z,
142
116
  {
143
117
  measureController: 3,
144
118
  tips: 4,
@@ -150,5 +124,5 @@ class ge extends D {
150
124
  }
151
125
  }
152
126
  export {
153
- ge as default
127
+ U as default
154
128
  };
@@ -13,8 +13,9 @@ 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 "../../shared-utils/removeArrayItem.js";
17
- class k {
18
+ class S {
18
19
  constructor(e) {
19
20
  t(this, "model");
20
21
  t(this, "five");
@@ -65,5 +66,5 @@ class k {
65
66
  }
66
67
  }
67
68
  export {
68
- k as default
69
+ S as default
69
70
  };
@@ -21,6 +21,7 @@ import "../utils/constants.js";
21
21
  import "@realsee/five";
22
22
  import "../utils/dom/distanceItem.js";
23
23
  import "../utils/dom/base.js";
24
+ import "../../shared-utils/three/centerPoint.js";
24
25
  import "../../shared-utils/removeArrayItem.js";
25
26
  import "../utils/ironbox.js";
26
27
  import "../Model/polygon.js";
@@ -29,7 +30,6 @@ import "../utils/generatePolygonGeometry.js";
29
30
  import "earcut";
30
31
  import "../utils/dom/areaDom.js";
31
32
  import "../utils/geometryUtil.js";
32
- import "../../shared-utils/three/centerPoint.js";
33
33
  import "../../shared-utils/three/PointSelectorHelper.js";
34
34
  import "../../shared-utils/three/Magnifier.js";
35
35
  import "hammerjs";
@@ -64,7 +64,7 @@ import "../../shared-utils/three/getIntersect.js";
64
64
  import "../Modules/DeleteDom/_Assets/delete.svg.js";
65
65
  import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
66
66
  import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
67
- const I = () => !1;
67
+ const E = () => !1;
68
68
  class Xe extends j {
69
69
  constructor(e) {
70
70
  var t;
@@ -81,7 +81,7 @@ class Xe extends j {
81
81
  o(this, "deleteDom");
82
82
  /** 根据 intersection 更新放大镜和吸附点 */
83
83
  o(this, "onIntersectionUpdate", H((e, t) => {
84
- typeof t == "boolean" && (t ? this.hook.emit("readyComplete") : this.hook.emit("notReadyComplete")), this.updateDashed();
84
+ this.currentMeasureType === "area" && typeof t == "boolean" && (t ? this.hook.emit("readyComplete") : this.hook.emit("notReadyComplete")), this.updateDashed();
85
85
  }, 20));
86
86
  /** 撤销编辑 */
87
87
  o(this, "revoke", () => {
@@ -225,8 +225,8 @@ class Xe extends j {
225
225
  const [p, v] = h.points, f = p.position.clone().project(r), u = v.position.clone().project(r);
226
226
  if (!w(f) && !w(u))
227
227
  return null;
228
- const E = new y(f.x * d, f.y * a), M = new y(u.x * d, u.y * a);
229
- return { id: h.id, points: [E, M] };
228
+ const I = new y(f.x * d, f.y * a), M = new y(u.x * d, u.y * a);
229
+ return { id: h.id, points: [I, M] };
230
230
  }).filter((h) => !!h);
231
231
  if (g.length === 0)
232
232
  return;
@@ -245,21 +245,21 @@ class Xe extends j {
245
245
  this.deleteDom.setTarget(t).setLines(t).updatePosition().show(), this.highlightLines(t), this.hook.emit("selectedChange", t);
246
246
  });
247
247
  o(this, "chooseArea", (e, t) => {
248
- this.deleteDom.setTarget(e).updatePosition(t.left, `calc(${t.top} - 1.5rem)`).show(), this.highlightArea(e);
248
+ console.log("choose area"), this.deleteDom.setTarget(e).updatePosition(t.left, `calc(${t.top} - 1.5rem)`).show(), this.highlightArea(e);
249
249
  });
250
250
  o(this, "deleteArea", (e) => {
251
251
  this.unHighlightArea(e), e.dispose(), this.deleteDom.hide();
252
252
  });
253
253
  o(this, "deleteLine", (e) => {
254
254
  const t = e[0], i = this.model.getPolylineByLine(t);
255
- i && (this.model.removePolyline(i), this.deleteDom.setLines([]).hide());
255
+ i && (this.model.removePolyline(i), i.lines.forEach((s) => this.removeLine(s)), this.deleteDom.setLines([]).hide());
256
256
  });
257
257
  this.fiveElement = this.five.getElement(), this.deleteDom = new G(this.five, {
258
258
  i18n: this.config.i18n,
259
259
  onClick: (i, s) => {
260
260
  var d;
261
261
  const r = s.type === "area", l = Array.isArray(s) && ((d = s[0]) == null ? void 0 : d.type) === "line";
262
- r && this.deleteArea(s), l && this.deleteLine(s);
262
+ console.log("target", s), r && this.deleteArea(s), l && this.deleteLine(s);
263
263
  },
264
264
  cancel: (i) => {
265
265
  var l;
@@ -281,13 +281,13 @@ class Xe extends j {
281
281
  i.areaItem.appendTo(this.container), i.areaItem.updateDomPosition(this.five), i.areaItem.setCanSelect(!0), this.group.add(i.polygon), i.polyline.lines.forEach((s) => {
282
282
  s.distanceItem.appendTo(this.container), s.distanceItem.update(this.five), this.group.add(s.mesh);
283
283
  });
284
- }), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsToMoveToPano", I), 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, (t = this.fiveElement) == null || t.addEventListener("mouseleave", this.onMouseLeave), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.refresh();
284
+ }), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("wantsTapGesture", this.wantsTapGesture), this.five.on("wantsToMoveToPano", E), 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, (t = this.fiveElement) == null || t.addEventListener("mouseleave", this.onMouseLeave), this.hook.emit("anchorChange", null), this.hook.emit("editedDashedLineChange", null), this.five.refresh();
285
285
  }
286
286
  dispose() {
287
287
  var e;
288
288
  super.dispose(), this.model.areas.forEach((t) => {
289
289
  (t.points.length < 2 || t.polygon.isBlank) && this.model.removeArea(t);
290
- }), this.five.helperVisible = !0, this.pointSelector.disable(), this.dashed.remove(), this.perpendicularDashed.remove(), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsTapGesture", this.wantsTapGesture), this.five.off("wantsToMoveToPano", I), this.pointSelector.hook.off("intersectionUpdate", this.onIntersectionUpdate), this.pointSelector.hook.off("select", this.onSelect), this.polyline.hook.off("lineAdded", this.onLineChanged), this.polyline.hook.off("lineRemoved", this.onLineChanged), (e = this.fiveElement) == null || e.removeEventListener("mouseleave", this.onMouseLeave), this.magnifier.dispose(), this.dashed.distanceItem.remove(), this.five.needsRender = !0;
290
+ }), this.five.helperVisible = !0, this.pointSelector.disable(), this.dashed.remove(), this.perpendicularDashed.remove(), this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("wantsTapGesture", this.wantsTapGesture), this.five.off("wantsToMoveToPano", E), this.pointSelector.hook.off("intersectionUpdate", this.onIntersectionUpdate), this.pointSelector.hook.off("select", this.onSelect), this.polyline.hook.off("lineAdded", this.onLineChanged), this.polyline.hook.off("lineRemoved", this.onLineChanged), (e = this.fiveElement) == null || e.removeEventListener("mouseleave", this.onMouseLeave), this.magnifier.dispose(), this.dashed.distanceItem.remove(), this.five.needsRender = !0;
291
291
  }
292
292
  getEditingLines() {
293
293
  return this.polyline.lines;
@@ -18,6 +18,7 @@ import "@realsee/five/line";
18
18
  import "../utils/constants.js";
19
19
  import "../utils/dom/distanceItem.js";
20
20
  import "../utils/dom/base.js";
21
+ import "../../shared-utils/three/centerPoint.js";
21
22
  import "../Model/point.js";
22
23
  import "../../shared-utils/removeArrayItem.js";
23
24
  import "../utils/ironbox.js";
@@ -30,7 +31,7 @@ import "../../shared-utils/animationFrame/index.js";
30
31
  import "../../shared-utils/noop.js";
31
32
  import "../utils/calculateThreeMouse.js";
32
33
  import "../utils/mouseGroup.js";
33
- class le extends T {
34
+ class de extends T {
34
35
  constructor(e) {
35
36
  super(e);
36
37
  t(this, "state", "watching");
@@ -144,5 +145,5 @@ class le extends T {
144
145
  }
145
146
  }
146
147
  export {
147
- le as default
148
+ de as default
148
149
  };
@@ -13,10 +13,11 @@ 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 "../utils/ironbox.js";
19
- class F extends h {
20
+ class R extends h {
20
21
  constructor(e) {
21
22
  super(e);
22
23
  s(this, "type", "view");
@@ -66,5 +67,5 @@ class F extends h {
66
67
  }
67
68
  }
68
69
  export {
69
- F as default
70
+ R as default
70
71
  };
@@ -23,6 +23,7 @@ import "../utils/constants.js";
23
23
  import "@realsee/five";
24
24
  import "../utils/dom/distanceItem.js";
25
25
  import "../utils/dom/base.js";
26
+ import "../../shared-utils/three/centerPoint.js";
26
27
  import "../Model/point.js";
27
28
  import "../../shared-utils/removeArrayItem.js";
28
29
  import "../utils/ironbox.js";
@@ -30,7 +31,6 @@ import "../utils/ndc2Screen.js";
30
31
  import "../Model/polyline.js";
31
32
  import "../utils/dom/areaDom.js";
32
33
  import "../utils/geometryUtil.js";
33
- import "../../shared-utils/three/centerPoint.js";
34
34
  import "../../shared-utils/three/IObject3D.js";
35
35
  import "../utils/generatePolygonGeometry.js";
36
36
  import "earcut";
@@ -136,7 +136,7 @@ class Pe extends G {
136
136
  );
137
137
  });
138
138
  s(this, "chooseArea", (e, i) => {
139
- this.deleteDom.setTarget(e).updatePosition(i.left, `calc(${i.top} - 20px)`).show(), this.highlightArea(e);
139
+ this.choose = e, this.deleteDom.updatePosition(i.left, `calc(${i.top} - 20px)`).show(), this.highlightArea(e);
140
140
  });
141
141
  s(this, "polylineRemoved", (e) => {
142
142
  e.lines.forEach((i) => this.removeLine(i)), this.hook.emit(
@@ -148,7 +148,7 @@ class Pe extends G {
148
148
  this.updateDistanceUI(), this.highlightedLines.length > 0 && this.deleteDom.updatePosition();
149
149
  });
150
150
  s(this, "deleteArea", (e) => {
151
- this.unHighlightArea(e), e.dispose(), this.deleteDom.hide();
151
+ console.log(e), this.unHighlightArea(e), e.dispose(), this.deleteDom.hide();
152
152
  });
153
153
  s(this, "deleteLine", () => {
154
154
  const e = this.highlightedLines[0], i = this.model.getPolylineByLine(e);
@@ -160,7 +160,7 @@ class Pe extends G {
160
160
  this.deleteDom = new R(this.five, {
161
161
  i18n: this.config.i18n,
162
162
  onClick: () => {
163
- this.choose === "line" ? this.deleteLine() : this.choose instanceof j && this.deleteArea(this.choose);
163
+ console.log(this.choose), this.choose === "line" ? this.deleteLine() : this.choose instanceof j && this.deleteArea(this.choose);
164
164
  },
165
165
  cancel: this.cancelDeleteClickCallback
166
166
  }).appendTo(this.container), this.model.getAllLines().forEach((t) => {
@@ -37,6 +37,7 @@ import "../utils/constants.js";
37
37
  import "../utils/dom/distanceItem.js";
38
38
  import "../utils/dom/base.js";
39
39
  import "../utils/isNDCPointInScreen.js";
40
+ import "../../shared-utils/three/centerPoint.js";
40
41
  import "../Model/point.js";
41
42
  import "../../shared-utils/removeArrayItem.js";
42
43
  import "../../shared-utils/throttle.js";
@@ -50,7 +51,6 @@ import "../utils/generatePolygonGeometry.js";
50
51
  import "earcut";
51
52
  import "../utils/dom/areaDom.js";
52
53
  import "../utils/geometryUtil.js";
53
- import "../../shared-utils/three/centerPoint.js";
54
54
  import "../utils/isIntersecting.js";
55
55
  import "../../shared-utils/three/PointSelector.js";
56
56
  import "../../shared-utils/three/PointSelectorHelper.js";
@@ -15,12 +15,12 @@ import "../utils/constants.js";
15
15
  import "../utils/dom/distanceItem.js";
16
16
  import "../utils/dom/base.js";
17
17
  import "../utils/isNDCPointInScreen.js";
18
+ import "../../shared-utils/three/centerPoint.js";
18
19
  import "../../shared-utils/three/IObject3D.js";
19
20
  import "../utils/generatePolygonGeometry.js";
20
21
  import "earcut";
21
22
  import "../../shared-utils/removeArrayItem.js";
22
23
  import "../utils/geometryUtil.js";
23
- import "../../shared-utils/three/centerPoint.js";
24
24
  class O {
25
25
  constructor(t, i) {
26
26
  e(this, "id", f());
@@ -12,9 +12,10 @@ import "three";
12
12
  import "../utils/dom/distanceItem.js";
13
13
  import "../utils/dom/base.js";
14
14
  import "../utils/isNDCPointInScreen.js";
15
+ import "../../shared-utils/three/centerPoint.js";
15
16
  import "./point.js";
16
17
  import "../../shared-utils/removeArrayItem.js";
17
- class I {
18
+ class v {
18
19
  constructor(e) {
19
20
  r(this, "config");
20
21
  r(this, "polylines", []);
@@ -95,5 +96,5 @@ class I {
95
96
  }
96
97
  }
97
98
  export {
98
- I as Model
99
+ v as Model
99
100
  };
@@ -10,6 +10,7 @@ import "../utils/constants.js";
10
10
  import "three";
11
11
  import "../utils/dom/base.js";
12
12
  import "../utils/isNDCPointInScreen.js";
13
+ import "../../shared-utils/three/centerPoint.js";
13
14
  class l {
14
15
  constructor(i, t, h) {
15
16
  e(this, "id");
@@ -12,8 +12,9 @@ import "three";
12
12
  import "../utils/dom/distanceItem.js";
13
13
  import "../utils/dom/base.js";
14
14
  import "../utils/isNDCPointInScreen.js";
15
+ import "../../shared-utils/three/centerPoint.js";
15
16
  import "../../shared-utils/removeArrayItem.js";
16
- class S {
17
+ class W {
17
18
  constructor(i) {
18
19
  s(this, "id", L());
19
20
  s(this, "lines", []);
@@ -112,5 +113,5 @@ class S {
112
113
  }
113
114
  }
114
115
  export {
115
- S as Polyline
116
+ W as Polyline
116
117
  };
@@ -17,7 +17,7 @@ class $ {
17
17
  n(this, "masking", document.createElement("div"));
18
18
  n(this, "target");
19
19
  n(this, "clickHandler", (t) => {
20
- this.onClick(t, this.target);
20
+ console.log("on click handler", this.onClick), this.onClick(t, this.target);
21
21
  });
22
22
  n(this, "cancelHandler", () => {
23
23
  this.cancel(this.target);
@@ -1,36 +1,12 @@
1
- var e = Object.defineProperty;
2
- var p = (o, t, i) => t in o ? e(o, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[t] = i;
3
- var r = (o, t, i) => (p(o, typeof t != "symbol" ? t + "" : t, i), i);
4
- import { objectAssignDeepExports as m } from "../../vendor/object-assign-deep/objectAssignDeep.js";
5
- import s from "../Components/Tip.js";
1
+ var o = Object.defineProperty;
2
+ var r = (i, t, e) => t in i ? o(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
+ var s = (i, t, e) => (r(i, typeof t != "symbol" ? t + "" : t, e), e);
4
+ import { objectAssignDeepExports as p } from "../../vendor/object-assign-deep/objectAssignDeep.js";
5
+ import l from "../Components/Tip.js";
6
6
  import "../../vendor/svelte/internal/index.js";
7
7
  import "../../vendor/svelte/transition/index.js";
8
8
  import "../../vendor/svelte/easing/index.js";
9
- import "@realsee/five/line";
10
- import "../utils/constants.js";
11
- import "three";
12
- import "@realsee/five";
13
- import "../Model/polygon.js";
14
- import "../../shared-utils/three/IObject3D.js";
15
- import "../utils/generatePolygonGeometry.js";
16
- import "earcut";
17
- import "hammerjs";
18
- import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
19
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
20
- import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
21
- import "three/examples/jsm/renderers/CSS3DRenderer";
22
- import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
23
- import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
24
- import "../../CSS3DRenderPlugin/utils/even.js";
25
- import "../../shared-utils/Subscribe.js";
26
- import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
27
- import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
28
- import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
29
- import "../../shared-utils/three/centerPoint.js";
30
- import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
31
- import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
32
- import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
33
- const l = {
9
+ const c = {
34
10
  select: "点击按钮选择功能",
35
11
  line: {
36
12
  start: "点击开始测量"
@@ -39,7 +15,7 @@ const l = {
39
15
  start: "点击开始测量",
40
16
  close: "选择三个点后将闭合平面,点击结束自动闭合"
41
17
  }
42
- }, c = {
18
+ }, n = {
43
19
  select: "点击按钮选择功能",
44
20
  line: {
45
21
  start: "点击开始按钮打点"
@@ -49,14 +25,14 @@ const l = {
49
25
  close: "选择三个点后将闭合平面,点击结束自动闭合"
50
26
  }
51
27
  };
52
- class K {
53
- constructor(t, i) {
54
- r(this, "tipSvelteDom");
55
- this.tipSvelteDom = new s({
56
- target: i.container,
28
+ class D {
29
+ constructor(t, e) {
30
+ s(this, "tipSvelteDom");
31
+ this.tipSvelteDom = new l({
32
+ target: e.container,
57
33
  props: {
58
34
  measureController: t,
59
- tips: m({}, i.pointSelectorMode === "fixed" ? c : l, i.tips),
35
+ tips: p({}, e.pointSelectorMode === "fixed" ? n : c, e.tips),
60
36
  visible: !0
61
37
  }
62
38
  });
@@ -67,13 +43,13 @@ class K {
67
43
  }
68
44
  show() {
69
45
  var t;
70
- return (t = this.tipSvelteDom) == null || t.set({ visible: !0 }), this;
46
+ return (t = this.tipSvelteDom) == null || t.$set({ visible: !0 }), this;
71
47
  }
72
48
  hide() {
73
49
  var t;
74
- return (t = this.tipSvelteDom) == null || t.set({ visible: !1 }), this;
50
+ return (t = this.tipSvelteDom) == null || t.$set({ visible: !1 }), this;
75
51
  }
76
52
  }
77
53
  export {
78
- K as GuideController
54
+ D as GuideController
79
55
  };
@@ -23,6 +23,7 @@ import "@realsee/five";
23
23
  import "../../utils/dom/distanceItem.js";
24
24
  import "../../utils/dom/base.js";
25
25
  import "../../utils/isNDCPointInScreen.js";
26
+ import "../../../shared-utils/three/centerPoint.js";
26
27
  import "../../Model/point.js";
27
28
  import "../../../shared-utils/removeArrayItem.js";
28
29
  import "../../../shared-utils/throttle.js";
@@ -36,7 +37,6 @@ import "../../utils/generatePolygonGeometry.js";
36
37
  import "earcut";
37
38
  import "../../utils/dom/areaDom.js";
38
39
  import "../../utils/geometryUtil.js";
39
- import "../../../shared-utils/three/centerPoint.js";
40
40
  import "../../utils/isIntersecting.js";
41
41
  import "../../../shared-utils/three/PointSelector.js";
42
42
  import "../../../shared-utils/three/PointSelectorHelper.js";
@@ -18,6 +18,7 @@ import "@realsee/five";
18
18
  import "./utils/dom/distanceItem.js";
19
19
  import "./utils/dom/base.js";
20
20
  import "./utils/isNDCPointInScreen.js";
21
+ import "../shared-utils/three/centerPoint.js";
21
22
  import "../shared-utils/removeArrayItem.js";
22
23
  import "./Model/area.js";
23
24
  import "./Model/polygon.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";