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

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 (311) hide show
  1. package/dist/index.cjs.js +34 -34
  2. package/dist/index.js +599 -597
  3. package/dist/index.umd.js +31 -31
  4. package/docs/classes/CSS3DRender.html +3 -3
  5. package/docs/classes/CruisePluginController.html +3 -3
  6. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  7. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  8. package/docs/classes/Magnifier.html +3 -3
  9. package/docs/classes/ModelRoomLabelController.html +3 -3
  10. package/docs/classes/Object3DHelperController.html +3 -3
  11. package/docs/classes/PaintBrush.html +3 -3
  12. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  13. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  14. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  15. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  16. package/docs/classes/PanoTagPluginController.html +3 -3
  17. package/docs/classes/Util.BetterTween.html +3 -3
  18. package/docs/classes/Util.Interval.html +3 -3
  19. package/docs/classes/Util.Magnifier.html +3 -3
  20. package/docs/classes/Util.PointDomHelper.html +3 -3
  21. package/docs/classes/Util.PointHelper.html +3 -3
  22. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  23. package/docs/classes/Util.Rectangle.html +3 -3
  24. package/docs/enums/CameraMovementEffect.html +3 -3
  25. package/docs/enums/ContentType.html +3 -3
  26. package/docs/enums/DIRECTION.html +3 -3
  27. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  28. package/docs/enums/DimensionType.html +3 -3
  29. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  30. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  31. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  32. package/docs/enums/PointType.html +3 -3
  33. package/docs/enums/Rotation.html +3 -3
  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 +3 -3
  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 +3 -3
  60. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  61. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  62. package/docs/functions/Util.getFrameTime.html +3 -3
  63. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  64. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  65. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  66. package/docs/functions/Util.isModelLike.html +3 -3
  67. package/docs/functions/Util.isNil.html +3 -3
  68. package/docs/functions/Util.isPanoramaLike.html +3 -3
  69. package/docs/functions/Util.nextFrame.html +3 -3
  70. package/docs/functions/Util.notNil.html +3 -3
  71. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  72. package/docs/functions/Util.tweenProgress.html +3 -3
  73. package/docs/functions/Util.uuid.html +3 -3
  74. package/docs/functions/pluginFlag.html +3 -3
  75. package/docs/index.html +4 -4
  76. package/docs/interfaces/AddTagConfig.html +3 -3
  77. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  78. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  79. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  80. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  81. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  82. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  83. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  84. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  85. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  86. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  87. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  88. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  89. package/docs/interfaces/EventMap.html +3 -3
  90. package/docs/interfaces/FloorplanBounding.html +3 -3
  91. package/docs/interfaces/FloorplanData.html +3 -3
  92. package/docs/interfaces/FloorplanEntrance.html +3 -3
  93. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  94. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  95. package/docs/interfaces/FloorplanFloorData.html +3 -3
  96. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  97. package/docs/interfaces/FloorplanObserver.html +3 -3
  98. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  99. package/docs/interfaces/FloorplanPosition.html +3 -3
  100. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  101. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  102. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  103. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  104. package/docs/interfaces/FloorplanServerData.html +3 -3
  105. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  106. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  107. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  108. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  109. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  110. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  111. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  112. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  113. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  114. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  115. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  116. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  117. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  118. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  119. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  120. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  121. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  122. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  123. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  124. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  125. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  126. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  127. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  128. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  129. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  130. package/docs/interfaces/HelperOffset.html +3 -3
  131. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  132. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  133. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  134. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  135. package/docs/interfaces/MinMax.html +3 -3
  136. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  137. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  138. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  139. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  140. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  141. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  142. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  143. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  144. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  145. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  146. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  147. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  148. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  149. package/docs/interfaces/Object3DHelperState.html +3 -3
  150. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  151. package/docs/interfaces/PaintBrushAction.html +3 -3
  152. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  153. package/docs/interfaces/PaintBrushState.html +3 -3
  154. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  155. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  156. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  157. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  158. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  159. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  160. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  161. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  162. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  163. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  164. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  165. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  166. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  167. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  168. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  169. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  170. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  171. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  172. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  173. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  174. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  175. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  176. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  177. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  178. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  179. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  180. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  181. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  182. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  183. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  184. package/docs/interfaces/Point.html +3 -3
  185. package/docs/interfaces/Room.html +3 -3
  186. package/docs/interfaces/RoomInfo.html +3 -3
  187. package/docs/interfaces/RoomLabel.html +3 -3
  188. package/docs/interfaces/RoomRules.html +3 -3
  189. package/docs/interfaces/Rooms.html +3 -3
  190. package/docs/interfaces/Scissor.html +3 -3
  191. package/docs/interfaces/State.html +3 -3
  192. package/docs/interfaces/TagCacheInterface.html +3 -3
  193. package/docs/interfaces/TagConfig.html +3 -3
  194. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  195. package/docs/interfaces/TagIconUrl.html +3 -3
  196. package/docs/interfaces/TagObjectGroup.html +3 -3
  197. package/docs/interfaces/TagStyle.html +3 -3
  198. package/docs/interfaces/Tags.html +3 -3
  199. package/docs/interfaces/TemporaryState.html +3 -3
  200. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  201. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  202. package/docs/interfaces/Util.PointIntersection.html +3 -3
  203. package/docs/modules/CruisePluginTypes.html +3 -3
  204. package/docs/modules/GuideLineItem.html +3 -3
  205. package/docs/modules/GuideLineModeItem.html +3 -3
  206. package/docs/modules/GuideLinePluginType.html +3 -3
  207. package/docs/modules/PanoVideoPluginType.html +3 -3
  208. package/docs/modules/Util.html +3 -3
  209. package/docs/modules.html +4 -4
  210. package/docs/types/ArrayPosition.html +3 -3
  211. package/docs/types/AudioAppearance.html +3 -3
  212. package/docs/types/AudioTagTypeConfigKey.html +3 -3
  213. package/docs/types/CSS3DRenderExportType.html +3 -3
  214. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  215. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  216. package/docs/types/ClassFunctionParameters.html +3 -3
  217. package/docs/types/Color.html +3 -3
  218. package/docs/types/ContentTypeConfigKey.html +3 -3
  219. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  220. package/docs/types/ContentTypeMap.html +3 -3
  221. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  222. package/docs/types/Create3DElementReturnType.html +3 -3
  223. package/docs/types/CruisePluginExportType.html +3 -3
  224. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  225. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  226. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  227. package/docs/types/DeprecatedTagProperty.html +3 -3
  228. package/docs/types/Direction-1.html +3 -3
  229. package/docs/types/Direction4.html +3 -3
  230. package/docs/types/ElementRenderer.html +3 -3
  231. package/docs/types/FloorplanRuleLabels.html +3 -3
  232. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  233. package/docs/types/GuideLinePluginExportType.html +3 -3
  234. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  235. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  236. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  237. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  238. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  239. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  240. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  241. package/docs/types/HelperEventMap.html +3 -3
  242. package/docs/types/LoadTagConfig.html +3 -3
  243. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  244. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  245. package/docs/types/MediaData.html +3 -3
  246. package/docs/types/MediaStore.html +3 -3
  247. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  248. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  249. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  250. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  251. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  252. package/docs/types/MoveArgs.html +3 -3
  253. package/docs/types/MoveOpts.html +3 -3
  254. package/docs/types/Object3DHelperEventMap.html +3 -3
  255. package/docs/types/ObjectFit.html +3 -3
  256. package/docs/types/PaintBrushEventMap.html +3 -3
  257. package/docs/types/PanoCompassPluginData.html +3 -3
  258. package/docs/types/PanoCompassPluginExportType.html +3 -3
  259. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  260. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  261. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  262. package/docs/types/PanoIndex.html +3 -3
  263. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  264. package/docs/types/PanoMeasureReturnType.html +3 -3
  265. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  266. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  267. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  268. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  269. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  270. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  271. package/docs/types/PlaneTag.html +3 -3
  272. package/docs/types/Point2DTag.html +3 -3
  273. package/docs/types/Point3DTag.html +3 -3
  274. package/docs/types/PointTag.html +3 -3
  275. package/docs/types/PointTagInstance.html +3 -3
  276. package/docs/types/Position.html +3 -3
  277. package/docs/types/RotateArgs.html +3 -3
  278. package/docs/types/RotateOpts.html +3 -3
  279. package/docs/types/RuleLabelsKey.html +3 -3
  280. package/docs/types/RuleLabelsValue.html +3 -3
  281. package/docs/types/StickType.html +3 -3
  282. package/docs/types/Tag.html +3 -3
  283. package/docs/types/Tag2D.html +3 -3
  284. package/docs/types/Tag3D.html +3 -3
  285. package/docs/types/TagContentType.html +3 -3
  286. package/docs/types/TagDimensionType.html +3 -3
  287. package/docs/types/TagElement.html +3 -3
  288. package/docs/types/TagEvents.html +3 -3
  289. package/docs/types/TagGLTFObject.html +3 -3
  290. package/docs/types/TagHooks.html +3 -3
  291. package/docs/types/TagId.html +3 -3
  292. package/docs/types/TagInstance.html +3 -3
  293. package/docs/types/TagPointType.html +3 -3
  294. package/docs/types/TagRendererMap.html +3 -3
  295. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  296. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  297. package/docs/types/WorkCode.html +3 -3
  298. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  299. package/docs/variables/PLUGIN.html +3 -3
  300. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  301. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  302. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  303. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  304. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  305. package/libs/PanoMeasurePlugin/Components/Controller0.js +83 -83
  306. package/libs/PanoMeasurePlugin/Components/Controller1.js +103 -103
  307. package/libs/PanoMeasurePlugin/Components/Tip.js +63 -63
  308. package/libs/PanoMeasurePlugin/Controller/EditController.js +73 -71
  309. package/libs/base/BasePlugin.js +1 -1
  310. package/libs/shared-utils/logger.js +1 -1
  311. package/package.json +1 -1
@@ -1,4 +1,4 @@
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";
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 C, create_component as q, attr as g, insert as D, append as p, mount_component as L, transition_in as _, transition_out as w, 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
3
  import V from "./Common/Exit.js";
4
4
  import X from "../Controller/EditController.js";
@@ -66,89 +66,89 @@ import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
66
66
  import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
67
67
  import "../utils/findAssociatedLines.js";
68
68
  import "../utils/math.js";
69
- function te(r) {
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}');
69
+ function te(i) {
70
+ W(i, "svelte-468fdd", '*.forbid.svelte-468fdd.svelte-468fdd{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-468fdd.svelte-468fdd{pointer-events:none;position:relative;width:100%;height:100%;z-index:2}.Measure-Controller.svelte-468fdd .mode-switcher.svelte-468fdd{margin-top:2.25rem}.Measure-Controller.svelte-468fdd .bottom.svelte-468fdd{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-468fdd .bottom .mask.svelte-468fdd{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-468fdd .bottom .center.svelte-468fdd{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-468fdd .buttons.svelte-468fdd{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-468fdd .buttons .button.svelte-468fdd{cursor:pointer;display:flex;align-items:center;position:relative;font-size:0.875rem;padding:0rem 1rem}.Measure-Controller.svelte-468fdd .buttons .button .icon.svelte-468fdd{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin-right:0.25rem}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd::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-468fdd .buttons .button.svelte-468fdd:last-child::after{display:none}');
71
71
  }
72
- function S(r) {
72
+ function S(i) {
73
73
  let t, o;
74
74
  return t = new V({
75
75
  props: {
76
76
  onClick: (
77
77
  /*measureController*/
78
- r[0].disable
78
+ i[0].disable
79
79
  )
80
80
  }
81
81
  }), {
82
82
  c() {
83
83
  q(t.$$.fragment);
84
84
  },
85
- m(e, c) {
86
- L(t, e, c), o = !0;
85
+ m(e, f) {
86
+ L(t, e, f), o = !0;
87
87
  },
88
- p(e, c) {
89
- const u = {};
90
- c & /*measureController*/
91
- 1 && (u.onClick = /*measureController*/
92
- e[0].disable), t.$set(u);
88
+ p(e, f) {
89
+ const c = {};
90
+ f & /*measureController*/
91
+ 1 && (c.onClick = /*measureController*/
92
+ e[0].disable), t.$set(c);
93
93
  },
94
94
  i(e) {
95
- o || (k(t.$$.fragment, e), o = !0);
95
+ o || (_(t.$$.fragment, e), o = !0);
96
96
  },
97
97
  o(e) {
98
- C(t.$$.fragment, e), o = !1;
98
+ w(t.$$.fragment, e), o = !1;
99
99
  },
100
100
  d(e) {
101
101
  P(t, e);
102
102
  }
103
103
  };
104
104
  }
105
- function A(r) {
106
- let t, o, e, c, u, l, d, v, m, w;
105
+ function A(i) {
106
+ let t, o, e, f, c, n, u, v, d, b;
107
107
  return {
108
108
  c() {
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");
109
+ t = h("div"), o = h("div"), e = h("div"), f = y(`
110
+ 撤销`), c = C(), n = h("div"), u = h("div"), v = y(`
111
+ 结束`), g(e, "class", "icon svelte-468fdd"), x(e, "background-image", `url(${$})`), g(o, "class", "button svelte-468fdd"), E(o, "forbid", !/*canRevoke*/
112
+ i[2]), g(u, "class", "icon svelte-468fdd"), x(u, "background-image", `url(${ee})`), g(n, "class", "button svelte-468fdd"), g(t, "class", "buttons svelte-468fdd");
113
113
  },
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 = [
114
+ m(a, r) {
115
+ D(a, t, r), p(t, o), p(o, e), p(o, f), p(t, c), p(t, n), p(n, u), p(n, v), d || (b = [
116
116
  z(
117
117
  o,
118
118
  "click",
119
119
  /*click_handler*/
120
- r[6]
120
+ i[6]
121
121
  ),
122
122
  z(
123
- l,
123
+ n,
124
124
  "click",
125
125
  /*complete*/
126
- r[5]
126
+ i[5]
127
127
  )
128
- ], m = !0);
128
+ ], d = !0);
129
129
  },
130
- p(p, i) {
131
- i & /*canRevoke*/
130
+ p(a, r) {
131
+ r & /*canRevoke*/
132
132
  4 && E(o, "forbid", !/*canRevoke*/
133
- p[2]);
133
+ a[2]);
134
134
  },
135
- d(p) {
136
- p && O(t), m = !1, K(w);
135
+ d(a) {
136
+ a && O(t), d = !1, K(b);
137
137
  }
138
138
  };
139
139
  }
140
- function oe(r) {
141
- let t, o, e, c, u, l, d, v, m, w, p, i = (
140
+ function oe(i) {
141
+ let t, o, e, f, c, n, u, v, d, b, a, r = (
142
142
  /*showExit*/
143
- r[1] && S(r)
143
+ i[1] && S(i)
144
144
  ), s = (
145
145
  /*showController*/
146
- r[4] && A(r)
146
+ i[4] && A(i)
147
147
  );
148
- function M(n) {
149
- r[8](n);
148
+ function M(l) {
149
+ i[8](l);
150
150
  }
151
- let a = {
151
+ let m = {
152
152
  options: [
153
153
  {
154
154
  key: "line",
@@ -163,90 +163,90 @@ function oe(r) {
163
163
  ],
164
164
  onChange: (
165
165
  /*func*/
166
- r[7]
166
+ i[7]
167
167
  )
168
168
  };
169
169
  return (
170
170
  /*setSwitcherActiveIndex*/
171
- r[3] !== void 0 && (a.setIndex = /*setSwitcherActiveIndex*/
172
- r[3]), m = new Q({ props: a }), j.push(() => B(m, "setIndex", M)), {
171
+ i[3] !== void 0 && (m.setIndex = /*setSwitcherActiveIndex*/
172
+ i[3]), d = new Q({ props: m }), j.push(() => B(d, "setIndex", M)), {
173
173
  c() {
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");
174
+ t = h("div"), r && r.c(), o = C(), e = h("div"), f = h("div"), c = C(), n = h("div"), s && s.c(), u = C(), v = h("div"), q(d.$$.fragment), g(f, "class", "mask svelte-468fdd"), g(v, "class", "mode-switcher svelte-468fdd"), g(n, "class", "center svelte-468fdd"), g(e, "class", "bottom svelte-468fdd"), g(t, "class", "Measure-Controller svelte-468fdd");
175
175
  },
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;
176
+ m(l, k) {
177
+ D(l, t, k), r && r.m(t, null), p(t, o), p(t, e), p(e, f), p(e, c), p(e, n), s && s.m(n, null), p(n, u), p(n, v), L(d, v, null), a = !0;
178
178
  },
179
- p(n, [b]) {
179
+ p(l, [k]) {
180
180
  /*showExit*/
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;
181
+ l[1] ? r ? (r.p(l, k), k & /*showExit*/
182
+ 2 && _(r, 1)) : (r = S(l), r.c(), _(r, 1), r.m(t, o)) : r && (N(), w(r, 1, 1, () => {
183
+ r = null;
184
184
  }), F()), /*showController*/
185
- n[4] ? s ? s.p(n, b) : (s = A(n), s.c(), s.m(l, d)) : s && (s.d(1), s = null);
185
+ l[4] ? s ? s.p(l, k) : (s = A(l), s.c(), s.m(n, u)) : s && (s.d(1), s = null);
186
186
  const I = {};
187
- b & /*measureController*/
187
+ k & /*measureController*/
188
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);
189
+ l[7]), !b && k & /*setSwitcherActiveIndex*/
190
+ 8 && (b = !0, I.setIndex = /*setSwitcherActiveIndex*/
191
+ l[3], G(() => b = !1)), d.$set(I);
192
192
  },
193
- i(n) {
194
- p || (k(i), k(m.$$.fragment, n), p = !0);
193
+ i(l) {
194
+ a || (_(r), _(d.$$.fragment, l), a = !0);
195
195
  },
196
- o(n) {
197
- C(i), C(m.$$.fragment, n), p = !1;
196
+ o(l) {
197
+ w(r), w(d.$$.fragment, l), a = !1;
198
198
  },
199
- d(n) {
200
- n && O(t), i && i.d(), s && s.d(), P(m);
199
+ d(l) {
200
+ l && O(t), r && r.d(), s && s.d(), P(d);
201
201
  }
202
202
  }
203
203
  );
204
204
  }
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));
205
+ function re(i, t, o) {
206
+ let { measureController: e } = t, { showExit: f = !1 } = t, c = !1, n;
207
+ function u(m) {
208
+ m === "Edit" ? o(4, a = !0) : (n(null), o(4, a = !1));
209
209
  }
210
210
  function v() {
211
211
  e.controller instanceof X && e.controller.complete(), e.save({ mode: "Watch" });
212
212
  }
213
- function m(a) {
214
- o(2, u = a.length > 0);
213
+ function d(m) {
214
+ o(2, c = m.length > 0);
215
215
  }
216
- function w() {
217
- o(2, u = !1);
216
+ function b() {
217
+ o(2, c = !1);
218
218
  }
219
219
  H(() => {
220
- e.hook.on("modeChange", d), e.hook.on("complete", w), e.hook.on("pointsChange", m);
220
+ e.hook.on("modeChange", u), e.hook.on("complete", b), e.hook.on("pointsChange", d);
221
221
  }), J(() => {
222
- e.hook.off("modeChange", d), e.hook.off("complete", w), e.hook.off("pointsChange", m);
222
+ e.hook.off("modeChange", u), e.hook.off("complete", b), e.hook.off("pointsChange", d);
223
223
  });
224
- let p = !1;
225
- const i = () => e.revoke(), s = (a) => {
226
- e.save().changeMode("Edit"), e.changeMeasureType(a);
224
+ let a = !1;
225
+ const r = () => e.revoke(), s = (m) => {
226
+ e.save().changeMode("Edit"), e.changeMeasureType(m);
227
227
  };
228
- function M(a) {
229
- l = a, o(3, l);
228
+ function M(m) {
229
+ n = m, o(3, n);
230
230
  }
231
- return r.$$set = (a) => {
232
- "measureController" in a && o(0, e = a.measureController), "showExit" in a && o(1, c = a.showExit);
231
+ return i.$$set = (m) => {
232
+ "measureController" in m && o(0, e = m.measureController), "showExit" in m && o(1, f = m.showExit);
233
233
  }, [
234
234
  e,
235
+ f,
235
236
  c,
236
- u,
237
- l,
238
- p,
237
+ n,
238
+ a,
239
239
  v,
240
- i,
240
+ r,
241
241
  s,
242
242
  M
243
243
  ];
244
244
  }
245
- class wt extends R {
245
+ class bt extends R {
246
246
  constructor(t) {
247
- super(), T(this, t, ie, oe, U, { measureController: 0, showExit: 1 }, te);
247
+ super(), T(this, t, re, oe, U, { measureController: 0, showExit: 1 }, te);
248
248
  }
249
249
  }
250
250
  export {
251
- wt as default
251
+ bt as default
252
252
  };