@realsee/dnalogel 3.31.1 → 3.32.0-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 (540) hide show
  1. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  2. package/dist/PanoTagPlugin/controller/TagCache.d.ts +1 -1
  3. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
  4. package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
  5. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  6. package/dist/index.cjs.js +66 -66
  7. package/dist/index.js +5849 -5666
  8. package/dist/index.umd.js +59 -59
  9. package/docs/assets/search.js +1 -1
  10. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +34 -44
  11. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
  12. package/docs/classes/CSS3DRender.html +33 -43
  13. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
  14. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -55
  15. package/docs/classes/{ModelMakerPluginInstance.html → Magnifier.html} +113 -200
  16. package/docs/classes/ModelRoomLabelController.html +13 -23
  17. package/docs/classes/MoveController.html +33 -43
  18. package/docs/classes/Object3DHelperController.html +47 -39
  19. package/docs/classes/PaintBrush.html +17 -27
  20. package/docs/classes/PanoMeasurePluginLine.html +36 -56
  21. package/docs/classes/PanoMeasurePluginModel.html +32 -42
  22. package/docs/classes/PanoMeasurePluginPoint.html +13 -23
  23. package/docs/classes/PanoMeasurePluginPolyline.html +34 -54
  24. package/docs/classes/PanoTagPluginController.html +110 -198
  25. package/docs/classes/Util.BetterTween.html +13 -27
  26. package/docs/classes/Util.Interval.html +15 -29
  27. package/docs/classes/Util.LineSegments.html +11 -25
  28. package/docs/classes/Util.Magnifier.html +60 -93
  29. package/docs/classes/Util.Object3D.html +12 -26
  30. package/docs/classes/Util.PointDomHelper.html +14 -28
  31. package/docs/classes/Util.PointHelper.html +14 -28
  32. package/docs/classes/Util.PointSelectorHelper.html +20 -34
  33. package/docs/classes/Util.Rectangle.html +16 -30
  34. package/docs/classes/WalkController.html +29 -39
  35. package/docs/enums/CameraMovementEffect.html +9 -19
  36. package/docs/enums/ContentType.html +23 -33
  37. package/docs/enums/DIRECTION.html +11 -21
  38. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
  39. package/docs/enums/DimensionType.html +9 -19
  40. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
  41. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
  42. package/docs/enums/PaintBrushTypeEnum.html +10 -20
  43. package/docs/enums/PointType.html +9 -19
  44. package/docs/enums/Rotation.html +10 -20
  45. package/docs/functions/AreaMakerPlugin.html +7 -17
  46. package/docs/functions/CSS3DRenderPlugin.html +7 -17
  47. package/docs/functions/CameraMovementPlugin.html +7 -17
  48. package/docs/functions/CruisePlugin.html +7 -17
  49. package/docs/functions/CurrentPanoImagePlugin.html +7 -17
  50. package/docs/functions/GuideLinePlugin.html +7 -17
  51. package/docs/functions/ItemLabelPlugin.html +7 -17
  52. package/docs/functions/MapviewFloorplanPlugin.html +7 -17
  53. package/docs/functions/ModelChassisCompassPlugin.html +7 -17
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
  55. package/docs/functions/ModelFloorplanPlugin.html +7 -17
  56. package/docs/functions/ModelItemLabelPlugin.html +7 -17
  57. package/docs/functions/ModelRoomLabelPlugin.html +7 -17
  58. package/docs/functions/ModelTVVideoPlugin.html +7 -17
  59. package/docs/functions/ModelViewPlugin.html +7 -17
  60. package/docs/functions/MovePlugin.html +8 -18
  61. package/docs/functions/Object3DHelperPlugin.html +7 -17
  62. package/docs/functions/PanoCompassPlugin.html +7 -17
  63. package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
  64. package/docs/functions/PanoDoorLabelPlugin.html +7 -17
  65. package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
  66. package/docs/functions/PanoMeasurePlugin.html +7 -17
  67. package/docs/functions/PanoRulerPlugin.html +7 -17
  68. package/docs/functions/PanoRulerProPlugin.html +7 -17
  69. package/docs/functions/PanoSpatialTagPlugin.html +7 -17
  70. package/docs/functions/PanoTagPlugin.html +7 -17
  71. package/docs/functions/PanoVideoPlugin.html +7 -17
  72. package/docs/functions/PipelinePlugin.html +7 -17
  73. package/docs/functions/TopviewFloorplanPlugin.html +7 -17
  74. package/docs/functions/Util.absoluteUrl.html +8 -22
  75. package/docs/functions/Util.checkFiveModelLoaded.html +8 -22
  76. package/docs/functions/Util.equal.html +8 -22
  77. package/docs/functions/Util.getCoordsFromClient.html +8 -22
  78. package/docs/functions/Util.getCoordsFromElement.html +8 -22
  79. package/docs/functions/Util.getFrameTime.html +8 -22
  80. package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -29
  81. package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -22
  82. package/docs/functions/Util.isAbsoluteURL.html +8 -22
  83. package/docs/functions/Util.isModelLike.html +8 -22
  84. package/docs/functions/Util.isNil.html +8 -22
  85. package/docs/functions/Util.isPanoramaLike.html +8 -22
  86. package/docs/functions/Util.nextFrame.html +8 -22
  87. package/docs/functions/Util.notNil.html +8 -22
  88. package/docs/functions/Util.requestAnimationFrameInterval.html +8 -22
  89. package/docs/functions/Util.tweenProgress.html +8 -22
  90. package/docs/functions/Util.uuid.html +8 -22
  91. package/docs/functions/pluginFlag.html +7 -17
  92. package/docs/index.html +7 -18
  93. package/docs/interfaces/AddTagConfig.html +8 -18
  94. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
  95. package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
  96. package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
  97. package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
  98. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
  99. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
  100. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
  101. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
  102. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
  103. package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
  104. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
  105. package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
  106. package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
  107. package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
  108. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
  109. package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
  110. package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
  111. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
  112. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
  113. package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
  114. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
  115. package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
  116. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
  117. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
  118. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
  119. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
  120. package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
  121. package/docs/interfaces/EventMap.html +17 -27
  122. package/docs/interfaces/FloorplanBounding.html +10 -20
  123. package/docs/interfaces/FloorplanData.html +12 -22
  124. package/docs/interfaces/FloorplanEntrance.html +13 -23
  125. package/docs/interfaces/FloorplanExtraObject.html +12 -22
  126. package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
  127. package/docs/interfaces/FloorplanFloorData.html +11 -21
  128. package/docs/interfaces/FloorplanImagePosition.html +9 -19
  129. package/docs/interfaces/FloorplanObserver.html +11 -21
  130. package/docs/interfaces/FloorplanOutlineItem.html +11 -21
  131. package/docs/interfaces/FloorplanPosition.html +9 -19
  132. package/docs/interfaces/FloorplanRoomItem.html +16 -26
  133. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
  134. package/docs/interfaces/FloorplanServerBounding.html +10 -20
  135. package/docs/interfaces/FloorplanServerComputedData.html +12 -22
  136. package/docs/interfaces/FloorplanServerData.html +9 -19
  137. package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
  138. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
  139. package/docs/interfaces/FloorplanServerEntrance.html +13 -23
  140. package/docs/interfaces/FloorplanServerFloorData.html +11 -21
  141. package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
  142. package/docs/interfaces/FloorplanServerObserver.html +11 -21
  143. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
  144. package/docs/interfaces/FloorplanServerPosition.html +9 -19
  145. package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
  146. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
  147. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
  148. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -21
  149. package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
  150. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
  151. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
  152. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
  153. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
  154. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
  155. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
  156. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
  157. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +23 -33
  158. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
  159. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
  160. package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
  161. package/docs/interfaces/GuideLinePluginType.Route.html +12 -22
  162. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -20
  163. package/docs/interfaces/HelperOffset.html +10 -20
  164. package/docs/interfaces/ImagePlaneGroup.html +8 -18
  165. package/docs/interfaces/ItemLabelPluginData.html +8 -18
  166. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
  167. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
  168. package/docs/interfaces/MinMax.html +9 -19
  169. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
  170. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
  171. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
  172. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
  173. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
  174. package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
  175. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
  176. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
  177. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
  178. package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
  179. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
  180. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
  181. package/docs/interfaces/ModelViewPluginExportType.html +13 -23
  182. package/docs/interfaces/Object3DHelperState.html +10 -20
  183. package/docs/interfaces/ObjectHelperControllers.html +12 -22
  184. package/docs/interfaces/PaintBrushAction.html +14 -24
  185. package/docs/interfaces/PaintBrushConfigs.html +14 -24
  186. package/docs/interfaces/PaintBrushState.html +12 -22
  187. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
  188. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
  189. package/docs/interfaces/PanoMeasureParameterType.html +18 -28
  190. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
  191. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
  192. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
  193. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -20
  194. package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
  195. package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
  196. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
  197. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
  198. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
  199. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
  200. package/docs/interfaces/PanoRulerProPluginState.html +10 -20
  201. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
  202. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
  203. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
  204. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
  205. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
  206. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
  207. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
  208. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
  209. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
  210. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
  211. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
  212. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
  213. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -21
  214. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
  215. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
  216. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
  217. package/docs/interfaces/Point.html +10 -20
  218. package/docs/interfaces/Room.html +11 -21
  219. package/docs/interfaces/RoomInfo.html +9 -19
  220. package/docs/interfaces/RoomLabel.html +16 -26
  221. package/docs/interfaces/RoomRules.html +7 -17
  222. package/docs/interfaces/Rooms.html +7 -17
  223. package/docs/interfaces/Scissor.html +11 -21
  224. package/docs/interfaces/State.html +10 -20
  225. package/docs/interfaces/TagCacheInterface.html +14 -24
  226. package/docs/interfaces/TagConfig.html +49 -65
  227. package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
  228. package/docs/interfaces/TagIconUrl.html +14 -24
  229. package/docs/interfaces/TagObjectGroup.html +8 -18
  230. package/docs/interfaces/TagStyle.html +8 -18
  231. package/docs/interfaces/Tags.html +437 -61
  232. package/docs/interfaces/TemporaryState.html +8 -18
  233. package/docs/interfaces/Util.MagnifierParameter.html +24 -43
  234. package/docs/interfaces/Util.MouseGroupParameter.html +11 -25
  235. package/docs/interfaces/Util.PointIntersection.html +12 -33
  236. package/docs/modules/AreaMakerPluginType.html +6 -16
  237. package/docs/modules/CruisePluginTypes.html +6 -18
  238. package/docs/modules/CurrentPanoImagePluginType.html +7 -17
  239. package/docs/modules/GuideLineItem.html +7 -17
  240. package/docs/modules/GuideLineModeItem.html +7 -17
  241. package/docs/modules/GuideLinePluginType.html +6 -16
  242. package/docs/modules/PanoVideoPluginType.html +7 -17
  243. package/docs/modules/Util.html +8 -26
  244. package/docs/modules.html +11 -34
  245. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
  246. package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
  247. package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
  248. package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
  249. package/docs/types/ArrayPosition.html +7 -17
  250. package/docs/types/AudioAppearance.html +7 -17
  251. package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
  252. package/docs/types/CSS3DRenderExportType.html +7 -17
  253. package/docs/types/CSS3DRenderPluginExportType.html +7 -17
  254. package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
  255. package/docs/types/ClassFunctionParameters.html +7 -17
  256. package/docs/types/Color.html +7 -17
  257. package/docs/types/ContentTypeConfigKey.html +7 -17
  258. package/docs/types/ContentTypeConfigKeySplit.html +8 -18
  259. package/docs/types/ContentTypeMap.html +7 -17
  260. package/docs/types/Create3DDomContainerReturnType.html +7 -17
  261. package/docs/types/Create3DElementReturnType.html +7 -17
  262. package/docs/types/CruisePluginExportType.html +7 -17
  263. package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
  264. package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
  265. package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
  266. package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
  267. package/docs/types/DeprecatedTagProperty.html +7 -17
  268. package/docs/types/Direction-1.html +7 -17
  269. package/docs/types/Direction4.html +7 -17
  270. package/docs/types/ElementRenderer.html +7 -17
  271. package/docs/types/FloorplanRuleLabels.html +7 -17
  272. package/docs/types/FloorplanServerRuleLabels.html +7 -17
  273. package/docs/types/GuideLinePluginExportType.html +7 -17
  274. package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
  275. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
  276. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
  277. package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
  278. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
  279. package/docs/types/GuideLinePluginType.PathItem.html +6 -16
  280. package/docs/types/GuideLinePluginType.PluginData.html +6 -16
  281. package/docs/types/HelperEventMap.html +7 -17
  282. package/docs/types/InternalHelperEventMap.html +11 -29
  283. package/docs/types/LoadTagConfig.html +7 -17
  284. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
  285. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
  286. package/docs/types/MediaData.html +10 -20
  287. package/docs/types/MediaStore.html +7 -17
  288. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
  289. package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
  290. package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
  291. package/docs/types/ModelId.html +7 -17
  292. package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
  293. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
  294. package/docs/types/MoveArgs.html +7 -17
  295. package/docs/types/MoveOpts.html +7 -17
  296. package/docs/types/Object3DHelperEventMap.html +7 -17
  297. package/docs/types/ObjectFit.html +7 -17
  298. package/docs/types/PaintBrushEventMap.html +7 -17
  299. package/docs/types/PanoCompassPluginData.html +7 -17
  300. package/docs/types/PanoCompassPluginExportType.html +7 -17
  301. package/docs/types/PanoCompassPluginParameterType.html +7 -17
  302. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
  303. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
  304. package/docs/types/PanoIndex.html +7 -17
  305. package/docs/types/PanoMeasurePluginEvent.html +7 -17
  306. package/docs/types/PanoMeasureReturnType.html +7 -17
  307. package/docs/types/PanoSpatialTagPluginId.html +7 -17
  308. package/docs/types/PanoTagPluginExportInterface.html +7 -17
  309. package/docs/types/PanoTagPluginParamsInterface.html +7 -17
  310. package/docs/types/PanoVideoPluginParameterType.html +7 -17
  311. package/docs/types/PanoVideoPluginReturnType.html +7 -17
  312. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
  313. package/docs/types/PipelinePluginParameterType.html +7 -17
  314. package/docs/types/PipelinePluginReturnType.html +7 -17
  315. package/docs/types/PlaneTag.html +7 -17
  316. package/docs/types/Point2DTag.html +7 -17
  317. package/docs/types/Point3DTag.html +7 -17
  318. package/docs/types/PointTag.html +7 -17
  319. package/docs/types/PointTagInstance.html +7 -17
  320. package/docs/types/Position.html +7 -17
  321. package/docs/types/RotateArgs.html +7 -17
  322. package/docs/types/RotateOpts.html +7 -17
  323. package/docs/types/RuleLabelsKey.html +7 -17
  324. package/docs/types/RuleLabelsValue.html +7 -17
  325. package/docs/types/StickType.html +7 -17
  326. package/docs/types/Tag.html +13 -35
  327. package/docs/types/Tag2D.html +7 -17
  328. package/docs/types/Tag3D.html +7 -17
  329. package/docs/types/TagConfigByKey.html +8 -18
  330. package/docs/types/TagContentType.html +7 -17
  331. package/docs/types/TagContentTypeMapping.html +7 -17
  332. package/docs/types/TagDimensionType.html +7 -17
  333. package/docs/types/TagElement.html +7 -17
  334. package/docs/types/TagEvents.html +12 -38
  335. package/docs/types/TagGLTFObject.html +7 -17
  336. package/docs/types/TagHooks.html +7 -17
  337. package/docs/types/TagId.html +7 -17
  338. package/docs/types/TagInstance.html +8 -44
  339. package/docs/types/TagPointType.html +7 -17
  340. package/docs/types/TagRendererMap.html +7 -17
  341. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
  342. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
  343. package/docs/types/WorkCode.html +7 -17
  344. package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
  345. package/docs/variables/PLUGIN.html +7 -17
  346. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
  347. package/docs/variables/ROOM_TYPE_MAP.html +7 -17
  348. package/docs/variables/defaultGlobalConfig.html +7 -17
  349. package/docs/variables/itemLabelPluginServerParams.html +7 -17
  350. package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
  351. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
  352. package/libs/AreaMakerPlugin/Controller.js +54 -44
  353. package/libs/AreaMakerPlugin/index.js +13 -3
  354. package/libs/AreaMakerPlugin/utils/Item.js +13 -3
  355. package/libs/CruisePlugin/Move.js +50 -37
  356. package/libs/CruisePlugin/Work.js +19 -6
  357. package/libs/CruisePlugin/index.js +23 -10
  358. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  359. package/libs/GuideLinePlugin/Controller.js +46 -33
  360. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  361. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  362. package/libs/GuideLinePlugin/index.js +23 -10
  363. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  364. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  365. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  366. package/libs/ItemLabelPlugin/index.js +16 -5
  367. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  368. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  369. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  370. package/libs/ModelItemLabelPlugin/index.js +16 -5
  371. package/libs/ModelMakerPlugin/Controller.js +33 -23
  372. package/libs/ModelMakerPlugin/index.js +13 -3
  373. package/libs/ModelMakerPlugin/utils/Text.js +43 -33
  374. package/libs/ModelMakerPlugin/utils/tagRenderer.js +28 -18
  375. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  376. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  377. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  378. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  379. package/libs/PanoDoorLabelPlugin/Controller.js +38 -28
  380. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  381. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  382. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  383. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  384. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  385. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  386. package/libs/PanoMeasurePlugin/Components/Controller0.js +72 -61
  387. package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
  388. package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
  389. package/libs/PanoMeasurePlugin/Controller/index.js +28 -17
  390. package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
  391. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +34 -23
  392. package/libs/PanoMeasurePlugin/index.js +27 -16
  393. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  394. package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
  395. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  396. package/libs/PanoRulerProPlugin/index.js +15 -4
  397. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  398. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  399. package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
  400. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  401. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  402. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  403. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  404. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  405. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
  406. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
  407. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  408. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  409. package/libs/PanoTagPlugin/Components/Common/Media.js +145 -131
  410. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +35 -25
  411. package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
  412. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  413. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  414. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
  415. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
  416. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  417. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
  418. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  419. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  420. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  421. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  422. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  423. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +130 -115
  424. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  425. package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
  426. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
  427. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
  428. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  429. package/libs/PanoTagPlugin/Components/Tag/index.js +161 -148
  430. package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
  431. package/libs/PanoTagPlugin/Components/TagItem.js +182 -169
  432. package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
  433. package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
  434. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  435. package/libs/PanoTagPlugin/controller/TagRender.js +56 -43
  436. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
  437. package/libs/PanoTagPlugin/controller/TagUtil.js +78 -70
  438. package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
  439. package/libs/PanoTagPlugin/controller/index.js +84 -65
  440. package/libs/PanoTagPlugin/index.js +28 -15
  441. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  442. package/libs/base/BasePlugin.js +3 -3
  443. package/libs/components/AreaLabel/LabelItem.js +56 -51
  444. package/libs/floorplan/Components/BaseImage.js +43 -39
  445. package/libs/floorplan/Components/Camera.js +41 -32
  446. package/libs/floorplan/Components/Compass.js +27 -24
  447. package/libs/floorplan/Components/CurrentFloor.js +167 -162
  448. package/libs/floorplan/Components/Main.js +85 -76
  449. package/libs/floorplan/Components/MissingFloor.js +24 -21
  450. package/libs/floorplan/Components/Normalmage.js +25 -22
  451. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  452. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  453. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +104 -101
  454. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +65 -57
  455. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  456. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  457. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  458. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  459. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  460. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  461. package/libs/floorplan/Components/SvgImage.js +30 -27
  462. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
  463. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  464. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
  465. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  466. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
  467. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
  468. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
  469. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
  470. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +40 -28
  471. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  472. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +30 -18
  473. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  474. package/libs/floorplan/index.js +1 -0
  475. package/libs/index.js +143 -129
  476. package/libs/shared-utils/logger.js +1 -1
  477. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  478. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  479. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  480. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  481. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  482. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  483. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  484. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  485. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  486. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  487. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  488. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  489. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  490. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  491. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  492. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  493. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  494. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  495. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  496. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  497. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  498. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  499. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  500. package/libs/vendor/svelte/src/shared/version.js +4 -0
  501. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
  502. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  503. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  504. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  505. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  506. package/package.json +5 -6
  507. package/docs/classes/Sculpt.html +0 -852
  508. package/docs/functions/ModelMakerPlugin.html +0 -303
  509. package/docs/functions/SculptPlugin.html +0 -306
  510. package/docs/functions/Util.blink.html +0 -351
  511. package/docs/functions/Util.reblink.html +0 -349
  512. package/docs/interfaces/ContentTypeMapInterface.html +0 -773
  513. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
  514. package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
  515. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
  516. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
  517. package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
  518. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
  519. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
  520. package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
  521. package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -380
  522. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -387
  523. package/docs/modules/ModelMakerPluginType.html +0 -339
  524. package/docs/modules/SculptData.html +0 -318
  525. package/docs/types/AddObject3DHelperConfig.html +0 -315
  526. package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
  527. package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
  528. package/docs/types/ScaleCallback.html +0 -314
  529. package/docs/types/ScalePosition.html +0 -303
  530. package/docs/types/SculptData.BoxData.html +0 -306
  531. package/docs/types/SculptData.CircleData.html +0 -306
  532. package/docs/types/SculptData.CylinderData.html +0 -306
  533. package/docs/types/SculptData.PointData.html +0 -306
  534. package/docs/types/SculptData.PolygonData.html +0 -306
  535. package/docs/types/SculptData.PolylineData.html +0 -306
  536. package/docs/types/SculptData.PrismData.html +0 -306
  537. package/docs/types/SculptData.RectangleData.html +0 -306
  538. package/libs/vendor/svelte/internal/index.js +0 -749
  539. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  540. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,127 +1,138 @@
1
- import { SvelteComponent as A, init as I, safe_not_equal as W, append_styles as q, element as k, space as w, attr as p, set_style as g, insert as S, append as d, noop as C, detach as y, destroy_each as T, text as Y, toggle_class as B, listen as D, set_data as E, binding_callbacks as K } from "../../../vendor/svelte/internal/index.js";
2
- function F(e) {
3
- q(e, "svelte-1mfj5mk", '.Switcher.svelte-1mfj5mk.svelte-1mfj5mk{pointer-events:all;position:relative;margin-bottom:1.5rem;box-sizing:border-box;width:-moz-max-content;width:max-content}.Switcher.svelte-1mfj5mk .svelte-1mfj5mk{transition-duration:300ms;transition-timing-function:ease-out}.Switcher.svelte-1mfj5mk .content.svelte-1mfj5mk{transition-property:opacity}.Switcher.svelte-1mfj5mk .highlight.svelte-1mfj5mk{transition-property:width}.Switcher.svelte-1mfj5mk .Switcher-buttons.svelte-1mfj5mk{transition-property:transform}.Switcher.svelte-1mfj5mk .Switcher-buttons.svelte-1mfj5mk{position:absolute;top:50%;left:0;transform:translate(0, -50%);width:-moz-max-content;width:max-content}.Switcher.svelte-1mfj5mk .Switcher-buttons .button.svelte-1mfj5mk{display:inline-block;margin:0 0.5625rem}.Switcher.svelte-1mfj5mk .highlight.svelte-1mfj5mk{height:2rem;background:rgba(0, 0, 0, 0.3);border-radius:624.9375rem}.Switcher.svelte-1mfj5mk .content.svelte-1mfj5mk{position:relative;padding:0 0.75rem}.Switcher.svelte-1mfj5mk .button:not(.active) .content.svelte-1mfj5mk::before{content:"";position:absolute;top:50%;left:10%;width:80%;transform:translateY(-50%);height:0;box-shadow:0 0 0.9375rem 0.3125rem rgba(0, 0, 0, 0.3)}');
1
+ import { safe_not_equal as I, noop as C } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as W, element as k, space as w, attr as p, set_style as g, insert as S, append as d, detach as y, destroy_each as q, text as T, toggle_class as B, listen as Y, set_data as D } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { binding_callbacks as K } from "../../../vendor/svelte/src/runtime/internal/scheduler.js";
4
+ import { ensure_array_like as z } from "../../../vendor/svelte/src/runtime/internal/each.js";
5
+ import { SvelteComponent as E, init as F } from "../../../vendor/svelte/src/runtime/internal/Component.js";
6
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
7
+ import "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
8
+ import "../../../vendor/svelte/src/runtime/internal/transitions.js";
9
+ import "../../../vendor/svelte/src/runtime/internal/environment.js";
10
+ import "../../../vendor/svelte/src/runtime/internal/loop.js";
11
+ import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
12
+ import "../../../vendor/svelte/src/shared/version.js";
13
+ function G(t) {
14
+ W(t, "svelte-1mfj5mk", '.Switcher.svelte-1mfj5mk.svelte-1mfj5mk{pointer-events:all;position:relative;margin-bottom:1.5rem;box-sizing:border-box;width:-moz-max-content;width:max-content}.Switcher.svelte-1mfj5mk .svelte-1mfj5mk{transition-duration:300ms;transition-timing-function:ease-out}.Switcher.svelte-1mfj5mk .content.svelte-1mfj5mk{transition-property:opacity}.Switcher.svelte-1mfj5mk .highlight.svelte-1mfj5mk{transition-property:width}.Switcher.svelte-1mfj5mk .Switcher-buttons.svelte-1mfj5mk{transition-property:transform}.Switcher.svelte-1mfj5mk .Switcher-buttons.svelte-1mfj5mk{position:absolute;top:50%;left:0;transform:translate(0, -50%);width:-moz-max-content;width:max-content}.Switcher.svelte-1mfj5mk .Switcher-buttons .button.svelte-1mfj5mk{display:inline-block;margin:0 0.5625rem}.Switcher.svelte-1mfj5mk .highlight.svelte-1mfj5mk{height:2rem;background:rgba(0, 0, 0, 0.3);border-radius:624.9375rem}.Switcher.svelte-1mfj5mk .content.svelte-1mfj5mk{position:relative;padding:0 0.75rem}.Switcher.svelte-1mfj5mk .button:not(.active) .content.svelte-1mfj5mk::before{content:"";position:absolute;top:50%;left:10%;width:80%;transform:translateY(-50%);height:0;box-shadow:0 0 0.9375rem 0.3125rem rgba(0, 0, 0, 0.3)}');
4
15
  }
5
- function z(e, t, n) {
6
- const s = e.slice();
7
- return s[13] = t[n], s[14] = t, s[15] = n, s;
16
+ function L(t, e, n) {
17
+ const s = t.slice();
18
+ return s[13] = e[n], s[14] = e, s[15] = n, s;
8
19
  }
9
- function L(e) {
10
- let t;
20
+ function R(t) {
21
+ let e;
11
22
  return {
12
23
  c() {
13
- t = k("span"), p(t, "class", "icon svelte-1mfj5mk"), g(
14
- t,
24
+ e = k("span"), p(e, "class", "icon svelte-1mfj5mk"), g(
25
+ e,
15
26
  "background-image",
16
27
  /*option*/
17
- e[13].icon
28
+ t[13].icon
18
29
  );
19
30
  },
20
31
  m(n, s) {
21
- S(n, t, s);
32
+ S(n, e, s);
22
33
  },
23
34
  p(n, s) {
24
35
  s & /*options*/
25
36
  1 && g(
26
- t,
37
+ e,
27
38
  "background-image",
28
39
  /*option*/
29
40
  n[13].icon
30
41
  );
31
42
  },
32
43
  d(n) {
33
- n && y(t);
44
+ n && y(e);
34
45
  }
35
46
  };
36
47
  }
37
- function R(e) {
38
- let t, n, s, f = (
48
+ function A(t) {
49
+ let e, n, s, r = (
39
50
  /*option*/
40
- e[13].value + ""
41
- ), c, o, i = (
51
+ t[13].value + ""
52
+ ), c, l, i = (
42
53
  /*index*/
43
- e[15]
44
- ), a, l, m = (
54
+ t[15]
55
+ ), a, o, m = (
45
56
  /*option*/
46
- e[13].icon && L(e)
57
+ t[13].icon && R(t)
47
58
  );
48
59
  const v = () => (
49
60
  /*div1_binding*/
50
- e[9](t, i)
61
+ t[9](e, i)
51
62
  ), b = () => (
52
63
  /*div1_binding*/
53
- e[9](null, i)
64
+ t[9](null, i)
54
65
  );
55
66
  function _() {
56
67
  return (
57
68
  /*click_handler*/
58
- e[10](
69
+ t[10](
59
70
  /*option*/
60
- e[13],
71
+ t[13],
61
72
  /*index*/
62
- e[15]
73
+ t[15]
63
74
  )
64
75
  );
65
76
  }
66
77
  return {
67
78
  c() {
68
- t = k("div"), n = k("div"), m && m.c(), s = w(), c = Y(f), o = w(), p(n, "class", "content svelte-1mfj5mk"), p(t, "class", "button svelte-1mfj5mk"), B(
69
- t,
79
+ e = k("div"), n = k("div"), m && m.c(), s = w(), c = T(r), l = w(), p(n, "class", "content svelte-1mfj5mk"), p(e, "class", "button svelte-1mfj5mk"), B(
80
+ e,
70
81
  "active",
71
82
  /*activeIndex*/
72
- e[4] === /*index*/
73
- e[15]
83
+ t[4] === /*index*/
84
+ t[15]
74
85
  );
75
86
  },
76
87
  m(u, h) {
77
- S(u, t, h), d(t, n), m && m.m(n, null), d(n, s), d(n, c), d(t, o), v(), a || (l = D(t, "click", _), a = !0);
88
+ S(u, e, h), d(e, n), m && m.m(n, null), d(n, s), d(n, c), d(e, l), v(), a || (o = Y(e, "click", _), a = !0);
78
89
  },
79
90
  p(u, h) {
80
- e = u, /*option*/
81
- e[13].icon ? m ? m.p(e, h) : (m = L(e), m.c(), m.m(n, s)) : m && (m.d(1), m = null), h & /*options*/
82
- 1 && f !== (f = /*option*/
83
- e[13].value + "") && E(c, f), i !== /*index*/
84
- e[15] && (b(), i = /*index*/
85
- e[15], v()), h & /*activeIndex*/
91
+ t = u, /*option*/
92
+ t[13].icon ? m ? m.p(t, h) : (m = R(t), m.c(), m.m(n, s)) : m && (m.d(1), m = null), h & /*options*/
93
+ 1 && r !== (r = /*option*/
94
+ t[13].value + "") && D(c, r), i !== /*index*/
95
+ t[15] && (b(), i = /*index*/
96
+ t[15], v()), h & /*activeIndex*/
86
97
  16 && B(
87
- t,
98
+ e,
88
99
  "active",
89
100
  /*activeIndex*/
90
- e[4] === /*index*/
91
- e[15]
101
+ t[4] === /*index*/
102
+ t[15]
92
103
  );
93
104
  },
94
105
  d(u) {
95
- u && y(t), m && m.d(), b(), a = !1, l();
106
+ u && y(e), m && m.d(), b(), a = !1, o();
96
107
  }
97
108
  };
98
109
  }
99
- function G(e) {
100
- let t, n, s, f, c = (
110
+ function H(t) {
111
+ let e, n, s, r, c = z(
101
112
  /*options*/
102
- e[0]
103
- ), o = [];
113
+ t[0]
114
+ ), l = [];
104
115
  for (let i = 0; i < c.length; i += 1)
105
- o[i] = R(z(e, c, i));
116
+ l[i] = A(L(t, c, i));
106
117
  return {
107
118
  c() {
108
- t = k("div"), n = k("div"), s = w(), f = k("div");
109
- for (let i = 0; i < o.length; i += 1)
110
- o[i].c();
119
+ e = k("div"), n = k("div"), s = w(), r = k("div");
120
+ for (let i = 0; i < l.length; i += 1)
121
+ l[i].c();
111
122
  p(n, "class", "highlight svelte-1mfj5mk"), g(
112
123
  n,
113
124
  "width",
114
125
  /*activeButtonWidth*/
115
- e[5] ? `${/*activeButtonWidth*/
116
- e[5]}px` : void 0
117
- ), p(f, "class", "Switcher-buttons svelte-1mfj5mk"), g(f, "transform", `translate(${/*activeButtonLeft*/
118
- e[6]}px, -50%)`), p(t, "class", "Switcher svelte-1mfj5mk");
126
+ t[5] ? `${/*activeButtonWidth*/
127
+ t[5]}px` : void 0
128
+ ), p(r, "class", "Switcher-buttons svelte-1mfj5mk"), g(r, "transform", `translate(${/*activeButtonLeft*/
129
+ t[6]}px, -50%)`), p(e, "class", "Switcher svelte-1mfj5mk");
119
130
  },
120
131
  m(i, a) {
121
- S(i, t, a), d(t, n), d(t, s), d(t, f);
122
- for (let l = 0; l < o.length; l += 1)
123
- o[l] && o[l].m(f, null);
124
- e[11](t);
132
+ S(i, e, a), d(e, n), d(e, s), d(e, r);
133
+ for (let o = 0; o < l.length; o += 1)
134
+ l[o] && l[o].m(r, null);
135
+ t[11](e);
125
136
  },
126
137
  p(i, [a]) {
127
138
  if (a & /*activeButtonWidth*/
@@ -133,79 +144,81 @@ function G(e) {
133
144
  i[5]}px` : void 0
134
145
  ), a & /*elementList, activeIndex, onChange, options*/
135
146
  23) {
136
- c = /*options*/
137
- i[0];
138
- let l;
139
- for (l = 0; l < c.length; l += 1) {
140
- const m = z(i, c, l);
141
- o[l] ? o[l].p(m, a) : (o[l] = R(m), o[l].c(), o[l].m(f, null));
147
+ c = z(
148
+ /*options*/
149
+ i[0]
150
+ );
151
+ let o;
152
+ for (o = 0; o < c.length; o += 1) {
153
+ const m = L(i, c, o);
154
+ l[o] ? l[o].p(m, a) : (l[o] = A(m), l[o].c(), l[o].m(r, null));
142
155
  }
143
- for (; l < o.length; l += 1)
144
- o[l].d(1);
145
- o.length = c.length;
156
+ for (; o < l.length; o += 1)
157
+ l[o].d(1);
158
+ l.length = c.length;
146
159
  }
147
160
  a & /*activeButtonLeft*/
148
- 64 && g(f, "transform", `translate(${/*activeButtonLeft*/
161
+ 64 && g(r, "transform", `translate(${/*activeButtonLeft*/
149
162
  i[6]}px, -50%)`);
150
163
  },
151
164
  i: C,
152
165
  o: C,
153
166
  d(i) {
154
- i && y(t), T(o, i), e[11](null);
167
+ i && y(e), q(l, i), t[11](null);
155
168
  }
156
169
  };
157
170
  }
158
- function H(e, t, n) {
159
- let s, f, { options: c } = t, { defaultKey: o = null } = t, { onChange: i } = t;
171
+ function J(t, e, n) {
172
+ let s, r, { options: c } = e, { defaultKey: l = null } = e, { onChange: i } = e;
160
173
  const a = [];
161
- let l, m, v = 0;
174
+ let o, m, v = 0;
162
175
  function b() {
163
- if (f && l) {
164
- n(5, m = f.clientWidth);
165
- const r = v + l.getBoundingClientRect().left - f.getBoundingClientRect().left;
166
- n(6, v = r);
176
+ if (r && o) {
177
+ n(5, m = r.clientWidth);
178
+ const f = v + o.getBoundingClientRect().left - r.getBoundingClientRect().left;
179
+ n(6, v = f);
167
180
  }
168
181
  }
169
- function _(r, j) {
170
- K[r ? "unshift" : "push"](() => {
171
- a[j] = r, n(2, a);
182
+ function _(f, j) {
183
+ K[f ? "unshift" : "push"](() => {
184
+ a[j] = f, n(2, a);
172
185
  });
173
186
  }
174
- const u = (r, j) => {
175
- i(r.key), n(4, s = j);
187
+ const u = (f, j) => {
188
+ i(f.key), n(4, s = j);
176
189
  };
177
- function h(r) {
178
- K[r ? "unshift" : "push"](() => {
179
- l = r, n(3, l);
190
+ function h(f) {
191
+ K[f ? "unshift" : "push"](() => {
192
+ o = f, n(3, o);
180
193
  });
181
194
  }
182
- return e.$$set = (r) => {
183
- "options" in r && n(0, c = r.options), "defaultKey" in r && n(7, o = r.defaultKey), "onChange" in r && n(1, i = r.onChange);
184
- }, e.$$.update = () => {
185
- e.$$.dirty & /*defaultKey, options*/
186
- 129 && n(4, s = o ? c.findIndex((r) => r.key === o) : 0), e.$$.dirty & /*elementList, activeIndex*/
187
- 20 && n(8, f = a[s]), e.$$.dirty & /*activeButton, container*/
188
- 264 && f && l && setTimeout(() => b(), 0);
195
+ return t.$$set = (f) => {
196
+ "options" in f && n(0, c = f.options), "defaultKey" in f && n(7, l = f.defaultKey), "onChange" in f && n(1, i = f.onChange);
197
+ }, t.$$.update = () => {
198
+ t.$$.dirty & /*defaultKey, options*/
199
+ 129 && n(4, s = l ? c.findIndex((f) => f.key === l) : 0), t.$$.dirty & /*elementList, activeIndex*/
200
+ 20 && n(8, r = a[s]), t.$$.dirty & /*activeButton, container*/
201
+ 264 && r && o && setTimeout(() => b(), 0);
189
202
  }, [
190
203
  c,
191
204
  i,
192
205
  a,
193
- l,
206
+ o,
194
207
  s,
195
208
  m,
196
209
  v,
197
- o,
198
- f,
210
+ l,
211
+ r,
199
212
  _,
200
213
  u,
201
214
  h
202
215
  ];
203
216
  }
204
- class M extends A {
205
- constructor(t) {
206
- super(), I(this, t, H, G, W, { options: 0, defaultKey: 7, onChange: 1 }, F);
217
+ class et extends E {
218
+ constructor(e) {
219
+ super(), F(this, e, J, H, I, { options: 0, defaultKey: 7, onChange: 1 }, G);
207
220
  }
208
221
  }
209
222
  export {
210
- M as default
223
+ et as default
211
224
  };
@@ -1,8 +1,19 @@
1
- import { SvelteComponent as j, init as x, safe_not_equal as B, append_styles as F, binding_callbacks as G, bind as H, element as h, space as C, create_component as P, attr as g, insert as R, append as s, mount_component as T, transition_in as w, transition_out as I, check_outros as J, add_flush_callback as K, detach as U, destroy_component as W, onMount as N, onDestroy as Q, text as y, set_style as E, toggle_class as z, listen as S, set_data as A, run_all as V, group_outros as X } from "../../vendor/svelte/internal/index.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
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
2
8
  import Y from "./Common/Switcher0.js";
3
9
  import Z from "./Common/Exit.js";
4
10
  import $ from "../Controller/EditController.js";
5
11
  import { IconLine as q, IconArea as D, IconUndo as ee, IconOk as te } from "./Common/icons/index.js";
12
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
13
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
14
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
15
+ import "../../vendor/svelte/src/shared/version.js";
16
+ import "../../vendor/svelte/src/runtime/internal/each.js";
6
17
  import "../Model/line.js";
7
18
  import "../../shared-utils/uuid.js";
8
19
  import "../utils/line.js";
@@ -71,10 +82,10 @@ import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
71
82
  import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
72
83
  import "../utils/math.js";
73
84
  function oe(n) {
74
- F(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}');
85
+ 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}');
75
86
  }
76
87
  function L(n) {
77
- let o, i;
88
+ let o, r;
78
89
  return o = new Z({
79
90
  props: {
80
91
  onClick: (
@@ -84,22 +95,22 @@ function L(n) {
84
95
  }
85
96
  }), {
86
97
  c() {
87
- P(o.$$.fragment);
98
+ T(o.$$.fragment);
88
99
  },
89
- m(t, f) {
90
- T(o, t, f), i = !0;
100
+ m(t, p) {
101
+ U(o, t, p), r = !0;
91
102
  },
92
- p(t, f) {
93
- const p = {};
94
- f & /*measureController*/
95
- 1 && (p.onClick = /*measureController*/
96
- t[0].disable), o.$set(p);
103
+ p(t, p) {
104
+ const f = {};
105
+ p & /*measureController*/
106
+ 1 && (f.onClick = /*measureController*/
107
+ t[0].disable), o.$set(f);
97
108
  },
98
109
  i(t) {
99
- i || (w(o.$$.fragment, t), i = !0);
110
+ r || (w(o.$$.fragment, t), r = !0);
100
111
  },
101
112
  o(t) {
102
- I(o.$$.fragment, t), i = !1;
113
+ I(o.$$.fragment, t), r = !1;
103
114
  },
104
115
  d(t) {
105
116
  W(o, t);
@@ -107,28 +118,28 @@ function L(n) {
107
118
  };
108
119
  }
109
120
  function O(n) {
110
- let o, i, t, f, p = (
121
+ let o, r, t, p, f = (
111
122
  /*i18n*/
112
123
  n[2]("撤销") + ""
113
- ), d, v, m, a, b, c = (
124
+ ), m, v, d, a, b, c = (
114
125
  /*i18n*/
115
126
  n[2]("结束") + ""
116
- ), r, l, _;
127
+ ), i, l, _;
117
128
  return {
118
129
  c() {
119
- o = h("div"), i = h("div"), t = h("div"), f = C(), d = y(p), v = C(), m = h("div"), a = h("div"), b = C(), r = y(c), g(t, "class", "icon svelte-468fdd"), E(t, "background-image", `url(${ee})`), g(i, "class", "button svelte-468fdd"), z(i, "forbid", !/*canRevoke*/
120
- n[3]), g(a, "class", "icon svelte-468fdd"), E(a, "background-image", `url(${te})`), g(m, "class", "button svelte-468fdd"), g(o, "class", "buttons svelte-468fdd");
130
+ o = h("div"), r = h("div"), t = h("div"), p = C(), m = y(f), 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*/
131
+ 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");
121
132
  },
122
133
  m(u, e) {
123
- R(u, o, e), s(o, i), s(i, t), s(i, f), s(i, d), s(o, v), s(o, m), s(m, a), s(m, b), s(m, r), l || (_ = [
134
+ P(u, o, e), s(o, r), s(r, t), s(r, p), s(r, m), s(o, v), s(o, d), s(d, a), s(d, b), s(d, i), l || (_ = [
124
135
  S(
125
- i,
136
+ r,
126
137
  "click",
127
138
  /*click_handler*/
128
139
  n[7]
129
140
  ),
130
141
  S(
131
- m,
142
+ d,
132
143
  "click",
133
144
  /*complete*/
134
145
  n[6]
@@ -137,20 +148,20 @@ function O(n) {
137
148
  },
138
149
  p(u, e) {
139
150
  e & /*i18n*/
140
- 4 && p !== (p = /*i18n*/
141
- u[2]("撤销") + "") && A(d, p), e & /*canRevoke*/
142
- 8 && z(i, "forbid", !/*canRevoke*/
151
+ 4 && f !== (f = /*i18n*/
152
+ u[2]("撤销") + "") && A(m, f), e & /*canRevoke*/
153
+ 8 && z(r, "forbid", !/*canRevoke*/
143
154
  u[3]), e & /*i18n*/
144
155
  4 && c !== (c = /*i18n*/
145
- u[2]("结束") + "") && A(r, c);
156
+ u[2]("结束") + "") && A(i, c);
146
157
  },
147
158
  d(u) {
148
- u && U(o), l = !1, V(_);
159
+ u && R(o), l = !1, x(_);
149
160
  }
150
161
  };
151
162
  }
152
- function ie(n) {
153
- let o, i, t, f, p, d, v, m, a, b, c, r = (
163
+ function re(n) {
164
+ let o, r, t, p, f, m, v, d, a, b, c, i = (
154
165
  /*showExit*/
155
166
  n[1] && L(n)
156
167
  ), l = (
@@ -187,20 +198,20 @@ function ie(n) {
187
198
  return (
188
199
  /*setSwitcherActiveIndex*/
189
200
  n[4] !== void 0 && (u.setIndex = /*setSwitcherActiveIndex*/
190
- n[4]), a = new Y({ props: u }), G.push(() => H(a, "setIndex", _)), {
201
+ n[4]), a = new Y({ props: u }), H.push(() => X(a, "setIndex", _)), {
191
202
  c() {
192
- o = h("div"), r && r.c(), i = C(), t = h("div"), f = h("div"), p = C(), d = h("div"), l && l.c(), v = C(), m = h("div"), P(a.$$.fragment), g(f, "class", "mask svelte-468fdd"), g(m, "class", "mode-switcher svelte-468fdd"), g(d, "class", "center svelte-468fdd"), g(t, "class", "bottom svelte-468fdd"), g(o, "class", "Measure-Controller svelte-468fdd");
203
+ o = h("div"), i && i.c(), r = C(), t = h("div"), p = h("div"), f = C(), m = h("div"), l && l.c(), v = C(), d = h("div"), T(a.$$.fragment), g(p, "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");
193
204
  },
194
205
  m(e, k) {
195
- R(e, o, k), r && r.m(o, null), s(o, i), s(o, t), s(t, f), s(t, p), s(t, d), l && l.m(d, null), s(d, v), s(d, m), T(a, m, null), c = !0;
206
+ P(e, o, k), i && i.m(o, null), s(o, r), s(o, t), s(t, p), s(t, f), s(t, m), l && l.m(m, null), s(m, v), s(m, d), U(a, d, null), c = !0;
196
207
  },
197
208
  p(e, [k]) {
198
209
  /*showExit*/
199
- e[1] ? r ? (r.p(e, k), k & /*showExit*/
200
- 2 && w(r, 1)) : (r = L(e), r.c(), w(r, 1), r.m(o, i)) : r && (X(), I(r, 1, 1, () => {
201
- r = null;
202
- }), J()), /*showController*/
203
- e[5] ? l ? l.p(e, k) : (l = O(e), l.c(), l.m(d, v)) : l && (l.d(1), l = null);
210
+ e[1] ? i ? (i.p(e, k), k & /*showExit*/
211
+ 2 && w(i, 1)) : (i = L(e), i.c(), w(i, 1), i.m(o, r)) : i && (G(), I(i, 1, 1, () => {
212
+ i = null;
213
+ }), F()), /*showController*/
214
+ e[5] ? l ? l.p(e, k) : (l = O(e), l.c(), l.m(m, v)) : l && (l.d(1), l = null);
204
215
  const M = {};
205
216
  k & /*i18n*/
206
217
  4 && (M.options = [
@@ -224,69 +235,69 @@ function ie(n) {
224
235
  1 && (M.onChange = /*func*/
225
236
  e[8]), !b && k & /*setSwitcherActiveIndex*/
226
237
  16 && (b = !0, M.setIndex = /*setSwitcherActiveIndex*/
227
- e[4], K(() => b = !1)), a.$set(M);
238
+ e[4], J(() => b = !1)), a.$set(M);
228
239
  },
229
240
  i(e) {
230
- c || (w(r), w(a.$$.fragment, e), c = !0);
241
+ c || (w(i), w(a.$$.fragment, e), c = !0);
231
242
  },
232
243
  o(e) {
233
- I(r), I(a.$$.fragment, e), c = !1;
244
+ I(i), I(a.$$.fragment, e), c = !1;
234
245
  },
235
246
  d(e) {
236
- e && U(o), r && r.d(), l && l.d(), W(a);
247
+ e && R(o), i && i.d(), l && l.d(), W(a);
237
248
  }
238
249
  }
239
250
  );
240
251
  }
241
- function re(n, o, i) {
242
- let { measureController: t } = o, { showExit: f = !1 } = o, { i18n: p = (e) => e } = o, d = !1, v;
243
- function m(e) {
244
- e === "Edit" ? i(5, r = !0) : (v(null), i(5, r = !1));
252
+ function ie(n, o, r) {
253
+ let { measureController: t } = o, { showExit: p = !1 } = o, { i18n: f = (e) => e } = o, m = !1, v;
254
+ function d(e) {
255
+ e === "Edit" ? r(5, i = !0) : (v(null), r(5, i = !1));
245
256
  }
246
257
  function a() {
247
258
  t.controller instanceof $ && t.controller.complete(), t.save({ mode: "Watch" });
248
259
  }
249
260
  function b(e) {
250
- i(3, d = e.length > 0);
261
+ r(3, m = e.length > 0);
251
262
  }
252
263
  function c() {
253
- i(3, d = !1);
264
+ r(3, m = !1);
254
265
  }
255
- N(() => {
256
- t.hook.on("modeChange", m), t.hook.on("complete", c), t.hook.on("pointsChange", b);
257
- }), Q(() => {
258
- t.hook.off("modeChange", m), t.hook.off("complete", c), t.hook.off("pointsChange", b);
266
+ K(() => {
267
+ t.hook.on("modeChange", d), t.hook.on("complete", c), t.hook.on("pointsChange", b);
268
+ }), N(() => {
269
+ t.hook.off("modeChange", d), t.hook.off("complete", c), t.hook.off("pointsChange", b);
259
270
  });
260
- let r = !1;
271
+ let i = !1;
261
272
  const l = () => t.revoke(), _ = (e) => {
262
273
  t.save().changeMode("Edit"), t.changeMeasureType(e);
263
274
  };
264
275
  function u(e) {
265
- v = e, i(4, v);
276
+ v = e, r(4, v);
266
277
  }
267
278
  return n.$$set = (e) => {
268
- "measureController" in e && i(0, t = e.measureController), "showExit" in e && i(1, f = e.showExit), "i18n" in e && i(2, p = e.i18n);
279
+ "measureController" in e && r(0, t = e.measureController), "showExit" in e && r(1, p = e.showExit), "i18n" in e && r(2, f = e.i18n);
269
280
  }, [
270
281
  t,
271
- f,
272
282
  p,
273
- d,
283
+ f,
284
+ m,
274
285
  v,
275
- r,
286
+ i,
276
287
  a,
277
288
  l,
278
289
  _,
279
290
  u
280
291
  ];
281
292
  }
282
- class Mt extends j {
293
+ class Pt extends Q {
283
294
  constructor(o) {
284
- super(), x(
295
+ super(), V(
285
296
  this,
286
297
  o,
287
- re,
288
298
  ie,
289
- B,
299
+ re,
300
+ j,
290
301
  {
291
302
  measureController: 0,
292
303
  showExit: 1,
@@ -297,5 +308,5 @@ class Mt extends j {
297
308
  }
298
309
  }
299
310
  export {
300
- Mt as default
311
+ Pt as default
301
312
  };