@realsee/dnalogel 2.23.0 → 2.23.1-dev.0

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