@realsee/dnalogel 3.32.0-dev.0 → 3.32.1

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 (544) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/PanoSpatialTagPlugin/store.d.ts +0 -1
  3. package/dist/PanoTagPlugin/typings/controller.d.ts +0 -1
  4. package/dist/index.cjs.js +61 -61
  5. package/dist/index.js +5219 -5396
  6. package/dist/index.umd.js +57 -57
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +44 -34
  9. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +44 -34
  10. package/docs/classes/CSS3DRender.html +43 -33
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +31 -21
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +55 -45
  13. package/docs/classes/{Magnifier.html → ModelMakerPluginInstance.html} +200 -113
  14. package/docs/classes/ModelRoomLabelController.html +23 -13
  15. package/docs/classes/MoveController.html +43 -33
  16. package/docs/classes/Object3DHelperController.html +39 -47
  17. package/docs/classes/PaintBrush.html +27 -17
  18. package/docs/classes/PanoMeasurePluginLine.html +56 -36
  19. package/docs/classes/PanoMeasurePluginModel.html +42 -32
  20. package/docs/classes/PanoMeasurePluginPoint.html +23 -13
  21. package/docs/classes/PanoMeasurePluginPolyline.html +54 -34
  22. package/docs/classes/PanoTagPluginController.html +229 -123
  23. package/docs/classes/Sculpt.html +852 -0
  24. package/docs/classes/Util.BetterTween.html +27 -13
  25. package/docs/classes/Util.Interval.html +29 -15
  26. package/docs/classes/Util.LineSegments.html +25 -11
  27. package/docs/classes/Util.Magnifier.html +93 -60
  28. package/docs/classes/Util.Object3D.html +26 -12
  29. package/docs/classes/Util.PointDomHelper.html +28 -14
  30. package/docs/classes/Util.PointHelper.html +28 -14
  31. package/docs/classes/Util.PointSelectorHelper.html +34 -20
  32. package/docs/classes/Util.Rectangle.html +30 -16
  33. package/docs/classes/WalkController.html +39 -29
  34. package/docs/enums/CameraMovementEffect.html +19 -9
  35. package/docs/enums/ContentType.html +33 -23
  36. package/docs/enums/DIRECTION.html +21 -11
  37. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +21 -11
  38. package/docs/enums/DimensionType.html +19 -9
  39. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +20 -10
  40. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +21 -11
  41. package/docs/enums/PaintBrushTypeEnum.html +20 -10
  42. package/docs/enums/PointType.html +19 -9
  43. package/docs/enums/Rotation.html +20 -10
  44. package/docs/functions/AreaMakerPlugin.html +17 -7
  45. package/docs/functions/CSS3DRenderPlugin.html +17 -7
  46. package/docs/functions/CameraMovementPlugin.html +17 -7
  47. package/docs/functions/CruisePlugin.html +17 -7
  48. package/docs/functions/CurrentPanoImagePlugin.html +17 -7
  49. package/docs/functions/GuideLinePlugin.html +17 -7
  50. package/docs/functions/ItemLabelPlugin.html +17 -7
  51. package/docs/functions/MapviewFloorplanPlugin.html +17 -7
  52. package/docs/functions/ModelChassisCompassPlugin.html +17 -7
  53. package/docs/functions/ModelEntryDoorGuidePlugin.html +17 -7
  54. package/docs/functions/ModelFloorplanPlugin.html +17 -7
  55. package/docs/functions/ModelItemLabelPlugin.html +17 -7
  56. package/docs/functions/ModelMakerPlugin.html +303 -0
  57. package/docs/functions/ModelRoomLabelPlugin.html +17 -7
  58. package/docs/functions/ModelTVVideoPlugin.html +17 -7
  59. package/docs/functions/ModelViewPlugin.html +17 -7
  60. package/docs/functions/MovePlugin.html +18 -8
  61. package/docs/functions/Object3DHelperPlugin.html +17 -7
  62. package/docs/functions/PanoCompassPlugin.html +17 -7
  63. package/docs/functions/PanoCursorRaycasterPlugin.html +17 -7
  64. package/docs/functions/PanoDoorLabelPlugin.html +17 -7
  65. package/docs/functions/PanoFloorplanRadarPlugin.html +17 -7
  66. package/docs/functions/PanoMeasurePlugin.html +17 -7
  67. package/docs/functions/PanoRulerPlugin.html +17 -7
  68. package/docs/functions/PanoRulerProPlugin.html +17 -7
  69. package/docs/functions/PanoSpatialTagPlugin.html +17 -7
  70. package/docs/functions/PanoTagPlugin.html +17 -7
  71. package/docs/functions/PanoVideoPlugin.html +17 -7
  72. package/docs/functions/PipelinePlugin.html +17 -7
  73. package/docs/functions/SculptPlugin.html +306 -0
  74. package/docs/functions/TopviewFloorplanPlugin.html +17 -7
  75. package/docs/functions/Util.absoluteUrl.html +22 -8
  76. package/docs/functions/Util.blink.html +351 -0
  77. package/docs/functions/Util.checkFiveModelLoaded.html +22 -8
  78. package/docs/functions/Util.equal.html +22 -8
  79. package/docs/functions/Util.getCoordsFromClient.html +22 -8
  80. package/docs/functions/Util.getCoordsFromElement.html +22 -8
  81. package/docs/functions/Util.getFrameTime.html +22 -8
  82. package/docs/functions/Util.getIntersectFromRelativePosition.html +29 -10
  83. package/docs/functions/Util.getRaycasterFromFivePointer.html +22 -8
  84. package/docs/functions/Util.isAbsoluteURL.html +22 -8
  85. package/docs/functions/Util.isModelLike.html +22 -8
  86. package/docs/functions/Util.isNil.html +22 -8
  87. package/docs/functions/Util.isPanoramaLike.html +22 -8
  88. package/docs/functions/Util.nextFrame.html +22 -8
  89. package/docs/functions/Util.notNil.html +22 -8
  90. package/docs/functions/Util.reblink.html +349 -0
  91. package/docs/functions/Util.requestAnimationFrameInterval.html +22 -8
  92. package/docs/functions/Util.tweenProgress.html +22 -8
  93. package/docs/functions/Util.uuid.html +22 -8
  94. package/docs/functions/pluginFlag.html +17 -7
  95. package/docs/index.html +18 -7
  96. package/docs/interfaces/AddTagConfig.html +18 -8
  97. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +17 -7
  98. package/docs/interfaces/AreaMakerPluginType.Config.html +17 -7
  99. package/docs/interfaces/AreaMakerPluginType.EventMap.html +30 -20
  100. package/docs/interfaces/AreaMakerPluginType.Params.html +18 -8
  101. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -10
  102. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +19 -9
  103. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +17 -7
  104. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +17 -7
  105. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +17 -7
  106. package/docs/interfaces/AreaMakerPluginType.State.html +19 -9
  107. package/docs/interfaces/CSS3DRenderPluginEventMap.html +23 -13
  108. package/docs/interfaces/CSS3DRenderPluginState.html +20 -10
  109. package/docs/interfaces/CameraMovementPluginExportType.html +19 -9
  110. package/docs/interfaces/ContentTypeMapInterface.html +773 -0
  111. package/docs/interfaces/CruisePluginTypes.Config.html +21 -10
  112. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +24 -13
  113. package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -22
  114. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +352 -0
  115. package/docs/interfaces/CruisePluginTypes.MoveAction.html +39 -23
  116. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +30 -18
  117. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +30 -18
  118. package/docs/interfaces/CruisePluginTypes.PluginData.html +41 -30
  119. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +18 -7
  120. package/docs/interfaces/CruisePluginTypes.PluginState.html +25 -14
  121. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +23 -13
  122. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +24 -14
  123. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +19 -9
  124. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +18 -8
  125. package/docs/interfaces/CurrentPanoImagePluginType.State.html +20 -10
  126. package/docs/interfaces/EventMap.html +27 -17
  127. package/docs/interfaces/FloorplanBounding.html +20 -10
  128. package/docs/interfaces/FloorplanData.html +22 -12
  129. package/docs/interfaces/FloorplanEntrance.html +23 -13
  130. package/docs/interfaces/FloorplanExtraObject.html +22 -12
  131. package/docs/interfaces/FloorplanExtraObject3D.html +20 -10
  132. package/docs/interfaces/FloorplanFloorData.html +21 -11
  133. package/docs/interfaces/FloorplanImagePosition.html +19 -9
  134. package/docs/interfaces/FloorplanObserver.html +21 -11
  135. package/docs/interfaces/FloorplanOutlineItem.html +21 -11
  136. package/docs/interfaces/FloorplanPosition.html +19 -9
  137. package/docs/interfaces/FloorplanRoomItem.html +26 -16
  138. package/docs/interfaces/FloorplanRoomLabelItem.html +19 -9
  139. package/docs/interfaces/FloorplanServerBounding.html +20 -10
  140. package/docs/interfaces/FloorplanServerComputedData.html +22 -12
  141. package/docs/interfaces/FloorplanServerData.html +19 -9
  142. package/docs/interfaces/FloorplanServerDoorItem.html +22 -12
  143. package/docs/interfaces/FloorplanServerDoorPosition.html +20 -10
  144. package/docs/interfaces/FloorplanServerEntrance.html +23 -13
  145. package/docs/interfaces/FloorplanServerFloorData.html +21 -11
  146. package/docs/interfaces/FloorplanServerImagePosition.html +19 -9
  147. package/docs/interfaces/FloorplanServerObserver.html +21 -11
  148. package/docs/interfaces/FloorplanServerOutlineItem.html +21 -11
  149. package/docs/interfaces/FloorplanServerPosition.html +19 -9
  150. package/docs/interfaces/FloorplanServerRoomItem.html +27 -17
  151. package/docs/interfaces/FloorplanServerRoomLabelItem.html +19 -9
  152. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +20 -10
  153. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +21 -11
  154. package/docs/interfaces/GuideLinePluginType.EventMap.html +24 -14
  155. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +19 -9
  156. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +17 -7
  157. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +26 -16
  158. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +17 -7
  159. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +19 -9
  160. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +32 -22
  161. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +18 -8
  162. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +33 -23
  163. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +16 -6
  164. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +17 -7
  165. package/docs/interfaces/GuideLinePluginType.PluginState.html +19 -9
  166. package/docs/interfaces/GuideLinePluginType.Route.html +22 -12
  167. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +20 -10
  168. package/docs/interfaces/HelperOffset.html +20 -10
  169. package/docs/interfaces/ImagePlaneGroup.html +18 -8
  170. package/docs/interfaces/ItemLabelPluginData.html +18 -8
  171. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +23 -13
  172. package/docs/interfaces/ItemLabelPluginParametersType.html +21 -11
  173. package/docs/interfaces/MinMax.html +19 -9
  174. package/docs/interfaces/ModelChassisCompassPluginData.html +19 -9
  175. package/docs/interfaces/ModelChassisCompassPluginExportType.html +20 -10
  176. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +19 -9
  177. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +20 -10
  178. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +20 -10
  179. package/docs/interfaces/ModelItemLabelPluginData.html +18 -8
  180. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +23 -13
  181. package/docs/interfaces/ModelItemLabelPluginParametersType.html +19 -9
  182. package/docs/interfaces/ModelMakerPluginType.EventMap.html +556 -0
  183. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +349 -0
  184. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +391 -0
  185. package/docs/interfaces/ModelMakerPluginType.ServerData.html +332 -0
  186. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +401 -0
  187. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +381 -0
  188. package/docs/interfaces/ModelMakerPluginType.State.html +364 -0
  189. package/docs/interfaces/ModelRoomLabelPluginData.html +18 -8
  190. package/docs/interfaces/ModelTVVideoPluginData.html +21 -11
  191. package/docs/interfaces/ModelTVVideoPluginExportType.html +20 -10
  192. package/docs/interfaces/ModelTVVideoPluginParameterType.html +18 -8
  193. package/docs/interfaces/ModelViewPluginExportType.html +23 -13
  194. package/docs/interfaces/Object3DHelperState.html +20 -10
  195. package/docs/interfaces/ObjectHelperControllers.html +22 -12
  196. package/docs/interfaces/PaintBrushAction.html +24 -14
  197. package/docs/interfaces/PaintBrushConfigs.html +24 -14
  198. package/docs/interfaces/PaintBrushState.html +22 -12
  199. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +22 -12
  200. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +17 -7
  201. package/docs/interfaces/PanoMeasureParameterType.html +28 -18
  202. package/docs/interfaces/PanoMeasurePluginLineJson.html +20 -10
  203. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +19 -9
  204. package/docs/interfaces/PanoMeasurePluginPointJson.html +19 -9
  205. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +20 -10
  206. package/docs/interfaces/PanoRulerPluginExportType.html +22 -12
  207. package/docs/interfaces/PanoRulerPluginOptions.html +19 -9
  208. package/docs/interfaces/PanoRulerPluginParameterType.html +20 -10
  209. package/docs/interfaces/PanoRulerProPluginExportType.html +21 -11
  210. package/docs/interfaces/PanoRulerProPluginOptions.html +19 -9
  211. package/docs/interfaces/PanoRulerProPluginParameterType.html +19 -9
  212. package/docs/interfaces/PanoRulerProPluginState.html +20 -10
  213. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +17 -7
  214. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +17 -7
  215. package/docs/interfaces/PanoSpatialTagPluginData.html +23 -13
  216. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +22 -12
  217. package/docs/interfaces/PanoSpatialTagPluginExportType.html +25 -15
  218. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +22 -12
  219. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +25 -15
  220. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +23 -13
  221. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +22 -12
  222. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +18 -8
  223. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +20 -10
  224. package/docs/interfaces/PanoVideoPluginType.PluginData.html +18 -8
  225. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +21 -11
  226. package/docs/interfaces/PanoVideoPluginType.PluginState.html +18 -8
  227. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +20 -10
  228. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +22 -12
  229. package/docs/interfaces/Point.html +20 -10
  230. package/docs/interfaces/Room.html +21 -11
  231. package/docs/interfaces/RoomInfo.html +19 -9
  232. package/docs/interfaces/RoomLabel.html +26 -16
  233. package/docs/interfaces/RoomRules.html +17 -7
  234. package/docs/interfaces/Rooms.html +17 -7
  235. package/docs/interfaces/Scissor.html +21 -11
  236. package/docs/interfaces/State.html +20 -10
  237. package/docs/interfaces/TagCacheInterface.html +24 -14
  238. package/docs/interfaces/TagConfig.html +65 -49
  239. package/docs/interfaces/TagGLTFObjectGroup.html +18 -8
  240. package/docs/interfaces/TagIconUrl.html +24 -14
  241. package/docs/interfaces/TagObjectGroup.html +18 -8
  242. package/docs/interfaces/TagStyle.html +18 -8
  243. package/docs/interfaces/Tags.html +61 -437
  244. package/docs/interfaces/TemporaryState.html +18 -8
  245. package/docs/interfaces/Util.BlinkAnimeOptions.html +380 -0
  246. package/docs/interfaces/Util.MagnifierParameter.html +43 -24
  247. package/docs/interfaces/Util.MouseGroupParameter.html +25 -11
  248. package/docs/interfaces/Util.PointIntersection.html +33 -12
  249. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +387 -0
  250. package/docs/modules/AreaMakerPluginType.html +16 -6
  251. package/docs/modules/CruisePluginTypes.html +18 -6
  252. package/docs/modules/CurrentPanoImagePluginType.html +17 -7
  253. package/docs/modules/GuideLineItem.html +17 -7
  254. package/docs/modules/GuideLineModeItem.html +17 -7
  255. package/docs/modules/GuideLinePluginType.html +16 -6
  256. package/docs/modules/ModelMakerPluginType.html +339 -0
  257. package/docs/modules/PanoVideoPluginType.html +17 -7
  258. package/docs/modules/SculptData.html +318 -0
  259. package/docs/modules/Util.html +26 -8
  260. package/docs/modules.html +34 -11
  261. package/docs/types/AddObject3DHelperConfig.html +315 -0
  262. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +16 -6
  263. package/docs/types/AreaMakerPluginType.ItemRenderer.html +16 -6
  264. package/docs/types/AreaMakerPluginType.PluginData.html +16 -6
  265. package/docs/types/AreaMakerPluginType.ServerData.html +16 -6
  266. package/docs/types/ArrayPosition.html +17 -7
  267. package/docs/types/AudioAppearance.html +17 -7
  268. package/docs/types/CSS3DRenderExportType.html +17 -7
  269. package/docs/types/CSS3DRenderPluginExportType.html +17 -7
  270. package/docs/types/CSS3DRenderPluginParameterType.html +17 -7
  271. package/docs/types/ClassFunctionParameters.html +17 -7
  272. package/docs/types/Color.html +17 -7
  273. package/docs/types/ContentTypeConfigKey.html +17 -7
  274. package/docs/types/ContentTypeConfigKeySplit.html +18 -8
  275. package/docs/types/ContentTypeMap.html +17 -7
  276. package/docs/types/Create3DDomContainerReturnType.html +17 -7
  277. package/docs/types/Create3DElementReturnType.html +17 -7
  278. package/docs/types/CruisePluginExportType.html +17 -7
  279. package/docs/types/CruisePluginTypes.CruiseData.html +17 -6
  280. package/docs/types/CruisePluginTypes.MoveEffect.html +17 -6
  281. package/docs/types/CurrentPanoImagePluginExportType.html +17 -7
  282. package/docs/types/DeprecatedMediaPlaneProperty.html +17 -7
  283. package/docs/types/DeprecatedTagProperty.html +17 -7
  284. package/docs/types/Direction-1.html +17 -7
  285. package/docs/types/Direction4.html +17 -7
  286. package/docs/types/ElementRenderer.html +17 -7
  287. package/docs/types/FloorplanRuleLabels.html +17 -7
  288. package/docs/types/FloorplanServerRuleLabels.html +17 -7
  289. package/docs/types/GuideLinePluginExportType.html +17 -7
  290. package/docs/types/GuideLinePluginType.GuideLineItem.html +18 -8
  291. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +16 -6
  292. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +16 -6
  293. package/docs/types/GuideLinePluginType.GuideLineStyle.html +16 -6
  294. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +16 -6
  295. package/docs/types/GuideLinePluginType.PathItem.html +16 -6
  296. package/docs/types/GuideLinePluginType.PluginData.html +16 -6
  297. package/docs/types/HelperEventMap.html +17 -7
  298. package/docs/types/InternalHelperEventMap.html +29 -11
  299. package/docs/types/LoadTagConfig.html +17 -7
  300. package/docs/types/MapviewFloorplanPluginParameterType.html +17 -7
  301. package/docs/types/MapviewFloorplanPluginReturnType.html +17 -7
  302. package/docs/types/MediaData.html +20 -10
  303. package/docs/types/MediaStore.html +17 -7
  304. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +17 -7
  305. package/docs/types/ModelFloorplanPluginParameterType.html +17 -7
  306. package/docs/types/ModelFloorplanPluginReturnType.html +17 -7
  307. package/docs/types/ModelId.html +17 -7
  308. package/docs/types/ModelMakerPluginType.ElementRenderer.html +329 -0
  309. package/docs/types/ModelMakerPluginType.ItemType.html +308 -0
  310. package/docs/types/ModelRoomLabelPluginParameters.html +17 -7
  311. package/docs/types/ModelRoomLabelPluginReturnType.html +17 -7
  312. package/docs/types/MoveArgs.html +17 -7
  313. package/docs/types/MoveOpts.html +17 -7
  314. package/docs/types/Object3DHelperEventMap.html +17 -7
  315. package/docs/types/ObjectFit.html +17 -7
  316. package/docs/types/PaintBrushEventMap.html +17 -7
  317. package/docs/types/PanoCompassPluginData.html +17 -7
  318. package/docs/types/PanoCompassPluginExportType.html +17 -7
  319. package/docs/types/PanoCompassPluginParameterType.html +17 -7
  320. package/docs/types/PanoFloorplanRadarPluginParameterType.html +17 -7
  321. package/docs/types/PanoFloorplanRadarPluginReturnType.html +17 -7
  322. package/docs/types/PanoIndex.html +17 -7
  323. package/docs/types/PanoMeasurePluginEvent.html +17 -7
  324. package/docs/types/PanoMeasureReturnType.html +17 -7
  325. package/docs/types/PanoSpatialTagPluginId.html +17 -7
  326. package/docs/types/PanoTagPluginExportInterface.html +17 -7
  327. package/docs/types/PanoTagPluginParamsInterface.html +17 -7
  328. package/docs/types/PanoVideoPluginParameterType.html +17 -7
  329. package/docs/types/PanoVideoPluginReturnType.html +17 -7
  330. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +22 -12
  331. package/docs/types/PipelinePluginParameterType.html +17 -7
  332. package/docs/types/PipelinePluginReturnType.html +17 -7
  333. package/docs/types/PlaneTag.html +17 -7
  334. package/docs/types/Point2DTag.html +17 -7
  335. package/docs/types/Point3DTag.html +17 -7
  336. package/docs/types/PointTag.html +17 -7
  337. package/docs/types/PointTagInstance.html +17 -7
  338. package/docs/types/Position.html +17 -7
  339. package/docs/types/{AudioTagTypeConfigKey.html → PositionFrom.html} +28 -10
  340. package/docs/types/RotateArgs.html +17 -7
  341. package/docs/types/RotateOpts.html +17 -7
  342. package/docs/types/RuleLabelsKey.html +17 -7
  343. package/docs/types/RuleLabelsValue.html +17 -7
  344. package/docs/types/ScaleCallback.html +314 -0
  345. package/docs/types/ScalePosition.html +303 -0
  346. package/docs/types/SculptData.BoxData.html +306 -0
  347. package/docs/types/SculptData.CircleData.html +306 -0
  348. package/docs/types/SculptData.CylinderData.html +306 -0
  349. package/docs/types/SculptData.PointData.html +306 -0
  350. package/docs/types/SculptData.PolygonData.html +306 -0
  351. package/docs/types/SculptData.PolylineData.html +306 -0
  352. package/docs/types/SculptData.PrismData.html +306 -0
  353. package/docs/types/SculptData.RectangleData.html +306 -0
  354. package/docs/types/StickType.html +17 -7
  355. package/docs/types/Tag.html +35 -13
  356. package/docs/types/Tag2D.html +17 -7
  357. package/docs/types/Tag3D.html +17 -7
  358. package/docs/types/TagConfigByKey.html +18 -8
  359. package/docs/types/TagContentType.html +17 -7
  360. package/docs/types/TagContentTypeMapping.html +17 -7
  361. package/docs/types/TagDimensionType.html +17 -7
  362. package/docs/types/TagElement.html +17 -7
  363. package/docs/types/TagEvents.html +38 -12
  364. package/docs/types/TagGLTFObject.html +17 -7
  365. package/docs/types/TagHooks.html +17 -7
  366. package/docs/types/TagId.html +17 -7
  367. package/docs/types/TagInstance.html +44 -8
  368. package/docs/types/TagPointType.html +17 -7
  369. package/docs/types/TagRendererMap.html +17 -7
  370. package/docs/types/TopviewFloorplanPluginParameterType.html +17 -7
  371. package/docs/types/TopviewFloorplanPluginReturnType.html +17 -7
  372. package/docs/types/WorkCode.html +17 -7
  373. package/docs/variables/FLOOR_TYPE_MAP.html +17 -7
  374. package/docs/variables/PLUGIN.html +17 -7
  375. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +17 -7
  376. package/docs/variables/ROOM_TYPE_MAP.html +17 -7
  377. package/docs/variables/defaultGlobalConfig.html +17 -7
  378. package/docs/variables/itemLabelPluginServerParams.html +17 -7
  379. package/docs/variables/modelItemLabelPluginServerParams.html +17 -7
  380. package/docs/variables/modelRoomLabelPluginServerParams.html +17 -7
  381. package/libs/AreaMakerPlugin/Controller.js +44 -54
  382. package/libs/AreaMakerPlugin/index.js +3 -13
  383. package/libs/AreaMakerPlugin/utils/Item.js +3 -13
  384. package/libs/CSS3DRenderPlugin/Controller.js +9 -9
  385. package/libs/CSS3DRenderPlugin/index.js +1 -1
  386. package/libs/CruisePlugin/Move.js +38 -52
  387. package/libs/CruisePlugin/Work.js +7 -21
  388. package/libs/CruisePlugin/index.js +11 -25
  389. package/libs/GuideLinePlugin/Components/Tag.js +48 -58
  390. package/libs/GuideLinePlugin/Controller.js +34 -48
  391. package/libs/GuideLinePlugin/GuideLineItem.js +7 -21
  392. package/libs/GuideLinePlugin/GuideLineModeItem.js +7 -21
  393. package/libs/GuideLinePlugin/index.js +11 -25
  394. package/libs/ItemLabelPlugin/ItemLabelComponent.js +139 -152
  395. package/libs/ItemLabelPlugin/ItemLabelItem.js +57 -67
  396. package/libs/ItemLabelPlugin/Plugin.js +26 -37
  397. package/libs/ItemLabelPlugin/index.js +5 -16
  398. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +103 -116
  399. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +35 -45
  400. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +24 -35
  401. package/libs/ModelItemLabelPlugin/index.js +5 -16
  402. package/libs/ModelMakerPlugin/Controller.js +23 -33
  403. package/libs/ModelMakerPlugin/index.js +3 -13
  404. package/libs/ModelMakerPlugin/utils/Text.js +33 -43
  405. package/libs/ModelMakerPlugin/utils/tagRenderer.js +18 -28
  406. package/libs/ModelRoomLabelPlugin/Controller.js +8 -20
  407. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +42 -52
  408. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +61 -75
  409. package/libs/ModelRoomLabelPlugin/index.js +5 -17
  410. package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
  411. package/libs/ModelTVVideoPlugin/index.js +1 -1
  412. package/libs/Object3DHelperPlugin/Controller.js +9 -9
  413. package/libs/Object3DHelperPlugin/index.js +1 -1
  414. package/libs/PanoCompassPlugin/Controller.js +1 -1
  415. package/libs/PanoCompassPlugin/index.js +1 -1
  416. package/libs/PanoDoorLabelPlugin/Controller.js +28 -38
  417. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +45 -55
  418. package/libs/PanoDoorLabelPlugin/index.js +4 -14
  419. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +60 -70
  420. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +22 -32
  421. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +62 -75
  422. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +97 -110
  423. package/libs/PanoMeasurePlugin/Components/Controller0.js +62 -73
  424. package/libs/PanoMeasurePlugin/Components/Controller1.js +23 -34
  425. package/libs/PanoMeasurePlugin/Components/Tip.js +66 -76
  426. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
  427. package/libs/PanoMeasurePlugin/Controller/index.js +18 -29
  428. package/libs/PanoMeasurePlugin/Modules/GuideController.js +16 -26
  429. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +24 -35
  430. package/libs/PanoMeasurePlugin/index.js +17 -28
  431. package/libs/PanoRulerProPlugin/Controller.js +27 -38
  432. package/libs/PanoRulerProPlugin/RulerItem.js +79 -94
  433. package/libs/PanoRulerProPlugin/RulerItems.js +82 -95
  434. package/libs/PanoRulerProPlugin/index.js +4 -15
  435. package/libs/PanoSpatialTagPlugin/Components/origins.js +38 -51
  436. package/libs/PanoSpatialTagPlugin/Components/tag.js +22 -32
  437. package/libs/PanoSpatialTagPlugin/Plugin.js +105 -116
  438. package/libs/PanoSpatialTagPlugin/index.js +3 -14
  439. package/libs/PanoSpatialTagPlugin/store.d.ts +0 -1
  440. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  441. package/libs/PanoTagPlugin/Components/Common/Arrow.js +34 -44
  442. package/libs/PanoTagPlugin/Components/Common/Audio.js +89 -99
  443. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +112 -123
  444. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +45 -55
  445. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +49 -59
  446. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +69 -79
  447. package/libs/PanoTagPlugin/Components/Common/Media.js +131 -145
  448. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +25 -35
  449. package/libs/PanoTagPlugin/Components/Common/Shadow.js +48 -58
  450. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -35
  451. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +86 -97
  452. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +96 -109
  453. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +118 -128
  454. package/libs/PanoTagPlugin/Components/Common/TextItem.js +49 -59
  455. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +90 -100
  456. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +81 -92
  457. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +57 -68
  458. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +35 -45
  459. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +110 -122
  460. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +42 -53
  461. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +115 -130
  462. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -66
  463. package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +66 -76
  464. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +56 -66
  465. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +98 -109
  466. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +43 -54
  467. package/libs/PanoTagPlugin/Components/Tag/index.js +148 -161
  468. package/libs/PanoTagPlugin/Components/TagContainer.js +62 -77
  469. package/libs/PanoTagPlugin/Components/TagItem.js +169 -182
  470. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  471. package/libs/PanoTagPlugin/controller/TagRender.js +42 -52
  472. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
  473. package/libs/PanoTagPlugin/controller/index.js +49 -63
  474. package/libs/PanoTagPlugin/index.js +16 -30
  475. package/libs/PanoTagPlugin/typings/controller.d.ts +0 -1
  476. package/libs/base/BasePlugin.js +3 -3
  477. package/libs/components/AreaLabel/LabelItem.js +51 -56
  478. package/libs/floorplan/Components/BaseImage.js +39 -43
  479. package/libs/floorplan/Components/Camera.js +32 -41
  480. package/libs/floorplan/Components/Compass.js +24 -27
  481. package/libs/floorplan/Components/CurrentFloor.js +162 -167
  482. package/libs/floorplan/Components/Main.js +76 -85
  483. package/libs/floorplan/Components/MissingFloor.js +21 -24
  484. package/libs/floorplan/Components/Normalmage.js +22 -25
  485. package/libs/floorplan/Components/RoomHighlight/Room.js +25 -28
  486. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +61 -69
  487. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +101 -104
  488. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +57 -65
  489. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +118 -125
  490. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +22 -25
  491. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -43
  492. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +29 -32
  493. package/libs/floorplan/Components/RuleLabels/RuleItem.js +41 -49
  494. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +94 -102
  495. package/libs/floorplan/Components/SvgImage.js +27 -30
  496. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +6 -18
  497. package/libs/floorplan/MapviewFloorplanPlugin/index.js +7 -19
  498. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +46 -58
  499. package/libs/floorplan/ModelFloorplanPlugin/index.js +7 -19
  500. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +65 -77
  501. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -95
  502. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +53 -70
  503. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +100 -112
  504. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +28 -40
  505. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -16
  506. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +18 -30
  507. package/libs/floorplan/TopviewFloorplanPlugin/index.js +7 -19
  508. package/libs/floorplan/index.js +0 -1
  509. package/libs/index.js +130 -145
  510. package/libs/shared-utils/logger.js +1 -1
  511. package/libs/vendor/svelte/internal/index.js +749 -0
  512. package/libs/vendor/svelte/{src/runtime/store → store}/index.js +5 -5
  513. package/libs/vendor/svelte/{src/runtime/transition → transition}/index.js +1 -1
  514. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +25 -29
  515. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +225 -197
  516. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +12 -16
  517. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +59 -65
  518. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +29 -32
  519. package/package.json +6 -5
  520. package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +0 -2
  521. package/libs/vendor/svelte/src/runtime/internal/Component.js +0 -122
  522. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +0 -1
  523. package/libs/vendor/svelte/src/runtime/internal/animations.js +0 -1
  524. package/libs/vendor/svelte/src/runtime/internal/await_block.js +0 -47
  525. package/libs/vendor/svelte/src/runtime/internal/dev.js +0 -1
  526. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +0 -2
  527. package/libs/vendor/svelte/src/runtime/internal/dom.js +0 -214
  528. package/libs/vendor/svelte/src/runtime/internal/each.js +0 -46
  529. package/libs/vendor/svelte/src/runtime/internal/environment.js +0 -7
  530. package/libs/vendor/svelte/src/runtime/internal/globals.js +0 -7
  531. package/libs/vendor/svelte/src/runtime/internal/index.js +0 -1
  532. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +0 -63
  533. package/libs/vendor/svelte/src/runtime/internal/loop.js +0 -21
  534. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +0 -66
  535. package/libs/vendor/svelte/src/runtime/internal/spread.js +0 -26
  536. package/libs/vendor/svelte/src/runtime/internal/ssr.js +0 -1
  537. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +0 -48
  538. package/libs/vendor/svelte/src/runtime/internal/transitions.js +0 -192
  539. package/libs/vendor/svelte/src/runtime/internal/utils.js +0 -110
  540. package/libs/vendor/svelte/src/shared/boolean_attributes.js +0 -1
  541. package/libs/vendor/svelte/src/shared/utils/names.js +0 -1
  542. package/libs/vendor/svelte/src/shared/version.js +0 -4
  543. /package/libs/vendor/svelte/{src/runtime/easing → easing}/index.js +0 -0
  544. /package/libs/vendor/svelte/{src/runtime/index.js → index.js} +0 -0
@@ -1,23 +1,12 @@
1
- import { safe_not_equal as ee } from "../../vendor/svelte/src/runtime/internal/utils.js";
2
- import { append_styles as te, element as j, space as T, attr as w, toggle_class as D, insert as I, append as g, detach as K, text as V, set_style as W, listen as X, set_data as Y } from "../../vendor/svelte/src/runtime/internal/dom.js";
3
- import { transition_in as k, transition_out as _, check_outros as R, create_bidirectional_transition as E, group_outros as B } from "../../vendor/svelte/src/runtime/internal/transitions.js";
4
- import { add_render_callback as q } from "../../vendor/svelte/src/runtime/internal/scheduler.js";
5
- import { onMount as oe, onDestroy as re } from "../../vendor/svelte/src/runtime/internal/lifecycle.js";
6
- import { SvelteComponent as ie, init as le, create_component as O, mount_component as U, destroy_component as F } from "../../vendor/svelte/src/runtime/internal/Component.js";
7
- import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
1
+ import { SvelteComponent as ee, init as te, safe_not_equal as oe, append_styles as re, element as j, space as T, create_component as q, attr as w, toggle_class as D, insert as I, append as g, mount_component as O, transition_in as k, transition_out as _, check_outros as R, detach as K, destroy_component as U, onMount as ie, onDestroy as le, add_render_callback as F, create_bidirectional_transition as E, text as V, set_style as W, listen as X, set_data as Y, group_outros as B } from "../../vendor/svelte/internal/index.js";
8
2
  import ne from "./Common/Switcher1.js";
9
3
  import se from "./Common/CircleButton.js";
10
4
  import H from "../Controller/EditController.js";
11
5
  import ae from "./Common/Exit.js";
12
- import { fade as S } from "../../vendor/svelte/src/runtime/transition/index.js";
6
+ import { fade as S } from "../../vendor/svelte/transition/index.js";
13
7
  import { IconUndo as me, IconOk as pe } from "./Common/icons/index.js";
14
- import "../../vendor/svelte/src/runtime/internal/environment.js";
15
- import "../../vendor/svelte/src/runtime/internal/loop.js";
16
- import "../../vendor/svelte/src/runtime/internal/style_manager.js";
17
- import "../../vendor/svelte/src/shared/version.js";
18
- import "../../vendor/svelte/src/runtime/internal/each.js";
19
8
  import "../Modules/UIController/mobileHTML.js";
20
- import "../../vendor/svelte/src/runtime/easing/index.js";
9
+ import "../../vendor/svelte/easing/index.js";
21
10
  import "../Model/line.js";
22
11
  import "../../shared-utils/uuid.js";
23
12
  import "../utils/line.js";
@@ -73,8 +62,8 @@ import "../../shared-utils/three/PointDomHelper.js";
73
62
  import "../Modules/rangePiece/html.js";
74
63
  import "../../CSS3DRenderPlugin/index.js";
75
64
  import "../../CSS3DRenderPlugin/Controller.js";
76
- import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
77
65
  import "../../shared-utils/url/absoluteUrl.js";
66
+ import "../../shared-utils/five/fiveModelLoad.js";
78
67
  import "../../shared-utils/animationFrame/BetterTween.js";
79
68
  import "../../shared-utils/animationFrame/index.js";
80
69
  import "../../shared-utils/isTouchDevice.js";
@@ -86,7 +75,7 @@ import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
86
75
  import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
87
76
  import "../utils/math.js";
88
77
  function fe(o) {
89
- te(o, "svelte-ldjbp8", "*.forbid.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none;position:relative;width:100%;height:100%;z-index:2;color:white}.Measure-Controller.svelte-ldjbp8 .mode-switcher.svelte-ldjbp8{margin-top:2.25rem}.Measure-Controller.svelte-ldjbp8 .bottom.svelte-ldjbp8{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-ldjbp8 .bottom .mask.svelte-ldjbp8{position:absolute;bottom:0;width:100%;height:12.5rem;background-size:100%;z-index:-1;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5))}.Measure-Controller.svelte-ldjbp8 .bottom .center.svelte-ldjbp8{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-ldjbp8 .controller.svelte-ldjbp8{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-ldjbp8 .controller .button.svelte-ldjbp8{cursor:pointer;display:flex;align-items:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;color:#fff;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-ldjbp8 .controller .button .icon.svelte-ldjbp8{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin:0 0.25rem}.Measure-Controller.svelte-ldjbp8 .controller .main-button.svelte-ldjbp8{margin-left:1.75rem;margin-right:1.75rem;font-size:0.875rem;font-weight:bold}");
78
+ re(o, "svelte-ldjbp8", "*.forbid.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none;position:relative;width:100%;height:100%;z-index:2;color:white}.Measure-Controller.svelte-ldjbp8 .mode-switcher.svelte-ldjbp8{margin-top:2.25rem}.Measure-Controller.svelte-ldjbp8 .bottom.svelte-ldjbp8{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-ldjbp8 .bottom .mask.svelte-ldjbp8{position:absolute;bottom:0;width:100%;height:12.5rem;background-size:100%;z-index:-1;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5))}.Measure-Controller.svelte-ldjbp8 .bottom .center.svelte-ldjbp8{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-ldjbp8 .controller.svelte-ldjbp8{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-ldjbp8 .controller .button.svelte-ldjbp8{cursor:pointer;display:flex;align-items:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;color:#fff;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-ldjbp8 .controller .button .icon.svelte-ldjbp8{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin:0 0.25rem}.Measure-Controller.svelte-ldjbp8 .controller .main-button.svelte-ldjbp8{margin-left:1.75rem;margin-right:1.75rem;font-size:0.875rem;font-weight:bold}");
90
79
  }
91
80
  function J(o) {
92
81
  let t, i;
@@ -99,10 +88,10 @@ function J(o) {
99
88
  }
100
89
  }), {
101
90
  c() {
102
- O(t.$$.fragment);
91
+ q(t.$$.fragment);
103
92
  },
104
93
  m(e, a) {
105
- U(t, e, a), i = !0;
94
+ O(t, e, a), i = !0;
106
95
  },
107
96
  p(e, a) {
108
97
  const l = {};
@@ -117,7 +106,7 @@ function J(o) {
117
106
  _(t.$$.fragment, e), i = !1;
118
107
  },
119
108
  d(e) {
120
- F(t, e);
109
+ U(t, e);
121
110
  }
122
111
  };
123
112
  }
@@ -152,10 +141,10 @@ function L(o) {
152
141
  }
153
142
  }), {
154
143
  c() {
155
- t = j("div"), O(i.$$.fragment), w(t, "class", "mode-switcher svelte-ldjbp8");
144
+ t = j("div"), q(i.$$.fragment), w(t, "class", "mode-switcher svelte-ldjbp8");
156
145
  },
157
146
  m(l, n) {
158
- I(l, t, n), U(i, t, null), a = !0;
147
+ I(l, t, n), O(i, t, null), a = !0;
159
148
  },
160
149
  p(l, n) {
161
150
  o = l;
@@ -183,7 +172,7 @@ function L(o) {
183
172
  o[0].changeMeasureType), i.$set(m);
184
173
  },
185
174
  i(l) {
186
- a || (k(i.$$.fragment, l), l && q(() => {
175
+ a || (k(i.$$.fragment, l), l && F(() => {
187
176
  a && (e || (e = E(t, S, { duration: P }, !0)), e.run(1));
188
177
  }), a = !0);
189
178
  },
@@ -191,7 +180,7 @@ function L(o) {
191
180
  _(i.$$.fragment, l), l && (e || (e = E(t, S, { duration: P }, !1)), e.run(0)), a = !1;
192
181
  },
193
182
  d(l) {
194
- l && K(t), F(i), l && e && e.end();
183
+ l && K(t), U(i), l && e && e.end();
195
184
  }
196
185
  };
197
186
  }
@@ -229,7 +218,7 @@ function N(o) {
229
218
  );
230
219
  },
231
220
  i(r) {
232
- m || (r && q(() => {
221
+ m || (r && F(() => {
233
222
  m && (n || (n = E(t, S, { duration: P }, !0)), n.run(1));
234
223
  }), m = !0);
235
224
  },
@@ -264,7 +253,7 @@ function Q(o) {
264
253
  o[2]("结束") + "") && Y(l, a);
265
254
  },
266
255
  i(r) {
267
- m || (r && q(() => {
256
+ m || (r && F(() => {
268
257
  m && (n || (n = E(t, S, { duration: P }, !0)), n.run(1));
269
258
  }), m = !0);
270
259
  },
@@ -316,11 +305,11 @@ function ue(o) {
316
305
  );
317
306
  return {
318
307
  c() {
319
- t = j("div"), b && b.c(), i = T(), e = j("div"), a = j("div"), l = T(), n = j("div"), p && p.c(), m = T(), f = j("div"), u && u.c(), C = T(), r = j("div"), O(c.$$.fragment), z = T(), d && d.c(), w(a, "class", "mask svelte-ldjbp8"), w(r, "class", "main-button svelte-ldjbp8"), D(r, "forbid", !/*allowAddPoint*/
308
+ t = j("div"), b && b.c(), i = T(), e = j("div"), a = j("div"), l = T(), n = j("div"), p && p.c(), m = T(), f = j("div"), u && u.c(), C = T(), r = j("div"), q(c.$$.fragment), z = T(), d && d.c(), w(a, "class", "mask svelte-ldjbp8"), w(r, "class", "main-button svelte-ldjbp8"), D(r, "forbid", !/*allowAddPoint*/
320
309
  o[5]), w(f, "class", "controller svelte-ldjbp8"), w(n, "class", "center svelte-ldjbp8"), w(e, "class", "bottom svelte-ldjbp8"), w(t, "class", "Measure-Controller svelte-ldjbp8");
321
310
  },
322
311
  m(s, v) {
323
- I(s, t, v), b && b.m(t, null), g(t, i), g(t, e), g(e, a), g(e, l), g(e, n), p && p.m(n, null), g(n, m), g(n, f), u && u.m(f, null), g(f, C), g(f, r), U(c, r, null), g(f, z), d && d.m(f, null), M = !0;
312
+ I(s, t, v), b && b.m(t, null), g(t, i), g(t, e), g(e, a), g(e, l), g(e, n), p && p.m(n, null), g(n, m), g(n, f), u && u.m(f, null), g(f, C), g(f, r), O(c, r, null), g(f, z), d && d.m(f, null), M = !0;
324
313
  },
325
314
  p(s, [v]) {
326
315
  /*showExit*/
@@ -365,7 +354,7 @@ function ue(o) {
365
354
  _(b), _(p), _(u), _(c.$$.fragment, s), _(d), M = !1;
366
355
  },
367
356
  d(s) {
368
- s && K(t), b && b.d(), p && p.d(), u && u.d(), F(c), d && d.d();
357
+ s && K(t), b && b.d(), p && p.d(), u && u.d(), U(c), d && d.d();
369
358
  }
370
359
  };
371
360
  }
@@ -409,9 +398,9 @@ function de(o, t, i) {
409
398
  }, Z = (h) => {
410
399
  h.isEmpty && p("start");
411
400
  };
412
- oe(() => {
401
+ ie(() => {
413
402
  e.hook.on("revoke", Z), e.hook.on("measureTypeChange", G), e.hook.on("modeChange", y), e.hook.on("pointsChange", v), e.hook.on("allowAddPointStateChange", A), e.hook.on("readyComplete", d), e.hook.on("notReadyComplete", s), e.hook.on("complete", y);
414
- }), re(() => {
403
+ }), le(() => {
415
404
  e.hook.off("measureTypeChange", G), e.hook.off("modeChange", y), e.hook.off("allowAddPointStateChange", A), e.hook.off("readyComplete", d), e.hook.off("pointsChange", v), e.hook.off("notReadyComplete", s), e.hook.off("complete", y);
416
405
  });
417
406
  const $ = () => e.revoke(), x = () => {
@@ -440,14 +429,14 @@ function de(o, t, i) {
440
429
  x
441
430
  ];
442
431
  }
443
- class Vt extends ie {
432
+ class Kt extends ee {
444
433
  constructor(t) {
445
- super(), le(
434
+ super(), te(
446
435
  this,
447
436
  t,
448
437
  de,
449
438
  ue,
450
- ee,
439
+ oe,
451
440
  {
452
441
  measureController: 0,
453
442
  showExit: 1,
@@ -458,5 +447,5 @@ class Vt extends ie {
458
447
  }
459
448
  }
460
449
  export {
461
- Vt as default
450
+ Kt as default
462
451
  };
@@ -1,130 +1,120 @@
1
- import { safe_not_equal as E } from "../../vendor/svelte/src/runtime/internal/utils.js";
2
- import { append_styles as N, empty as O, insert as q, detach as x, element as k, text as P, attr as C, append as y, set_data as W } from "../../vendor/svelte/src/runtime/internal/dom.js";
3
- import { transition_in as h, transition_out as T, check_outros as j, create_bidirectional_transition as M, group_outros as A } from "../../vendor/svelte/src/runtime/internal/transitions.js";
4
- import { add_render_callback as B, binding_callbacks 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 I, init as J } from "../../vendor/svelte/src/runtime/internal/Component.js";
7
- import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
8
- import { fade as v } from "../../vendor/svelte/src/runtime/transition/index.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
- import "../../vendor/svelte/src/runtime/easing/index.js";
1
+ import { SvelteComponent as E, init as N, safe_not_equal as O, append_styles as P, empty as W, insert as q, transition_in as h, transition_out as k, check_outros as j, detach as x, onMount as A, onDestroy as B, element as C, text as F, attr as y, append as T, set_data as G, add_render_callback as H, create_bidirectional_transition as M, group_outros as I, binding_callbacks as J } from "../../vendor/svelte/internal/index.js";
2
+ import { fade as v } from "../../vendor/svelte/transition/index.js";
3
+ import "../../vendor/svelte/easing/index.js";
14
4
  function K(s) {
15
- N(s, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
5
+ P(s, "svelte-1q8gtp4", ".Measure-Tips.svelte-1q8gtp4.svelte-1q8gtp4{box-sizing:border-box;position:absolute;pointer-events:none;top:0;width:100%;padding:0 2.5rem}.Measure-Tips.svelte-1q8gtp4 .text.svelte-1q8gtp4{text-align:center;position:relative;max-width:100%;top:3.125rem;color:#fff;word-break:break-all;word-wrap:break-word;text-shadow:0 0.0625rem 0.375rem rgba(0, 0, 0, 0.5);font-size:1.25rem;font-weight:bold}");
16
6
  }
17
7
  function w(s) {
18
- let i, e, t, r, l;
8
+ let i, o, e, n, r;
19
9
  return {
20
10
  c() {
21
- i = k("div"), e = k("div"), t = P(
11
+ i = C("div"), o = C("div"), e = F(
22
12
  /*tip*/
23
13
  s[2]
24
- ), C(e, "class", "text svelte-1q8gtp4"), C(i, "class", "Measure-Tips svelte-1q8gtp4");
14
+ ), y(o, "class", "text svelte-1q8gtp4"), y(i, "class", "Measure-Tips svelte-1q8gtp4");
25
15
  },
26
- m(n, f) {
27
- q(n, i, f), y(i, e), y(e, t), s[7](e), l = !0;
16
+ m(l, f) {
17
+ q(l, i, f), T(i, o), T(o, e), s[7](o), r = !0;
28
18
  },
29
- p(n, f) {
30
- (!l || f & /*tip*/
31
- 4) && W(
32
- t,
19
+ p(l, f) {
20
+ (!r || f & /*tip*/
21
+ 4) && G(
22
+ e,
33
23
  /*tip*/
34
- n[2]
24
+ l[2]
35
25
  );
36
26
  },
37
- i(n) {
38
- l || (n && B(() => {
39
- l && (r || (r = M(i, v, {}, !0)), r.run(1));
40
- }), l = !0);
27
+ i(l) {
28
+ r || (H(() => {
29
+ r && (n || (n = M(i, v, {}, !0)), n.run(1));
30
+ }), r = !0);
41
31
  },
42
- o(n) {
43
- n && (r || (r = M(i, v, {}, !1)), r.run(0)), l = !1;
32
+ o(l) {
33
+ n || (n = M(i, v, {}, !1)), n.run(0), r = !1;
44
34
  },
45
- d(n) {
46
- n && x(i), s[7](null), n && r && r.end();
35
+ d(l) {
36
+ l && x(i), s[7](null), l && n && n.end();
47
37
  }
48
38
  };
49
39
  }
50
40
  function L(s) {
51
- let i, e = (
41
+ let i, o, e = (
52
42
  /*visible*/
53
43
  s[0] && w(s)
54
44
  );
55
45
  return {
56
46
  c() {
57
- e && e.c(), i = O();
47
+ e && e.c(), i = W();
58
48
  },
59
- m(t, r) {
60
- e && e.m(t, r), q(t, i, r);
49
+ m(n, r) {
50
+ e && e.m(n, r), q(n, i, r), o = !0;
61
51
  },
62
- p(t, [r]) {
52
+ p(n, [r]) {
63
53
  /*visible*/
64
- t[0] ? e ? (e.p(t, r), r & /*visible*/
65
- 1 && h(e, 1)) : (e = w(t), e.c(), h(e, 1), e.m(i.parentNode, i)) : e && (A(), T(e, 1, 1, () => {
54
+ n[0] ? e ? (e.p(n, r), r & /*visible*/
55
+ 1 && h(e, 1)) : (e = w(n), e.c(), h(e, 1), e.m(i.parentNode, i)) : e && (I(), k(e, 1, 1, () => {
66
56
  e = null;
67
57
  }), j());
68
58
  },
69
- i(t) {
70
- h(e);
59
+ i(n) {
60
+ o || (h(e), o = !0);
71
61
  },
72
- o(t) {
73
- T(e);
62
+ o(n) {
63
+ k(e), o = !1;
74
64
  },
75
- d(t) {
76
- t && x(i), e && e.d(t);
65
+ d(n) {
66
+ e && e.d(n), n && x(i);
77
67
  }
78
68
  };
79
69
  }
80
- function Q(s, i, e) {
81
- let { measureController: t } = i, { i18n: r = (o) => o } = i, { tips: l } = i, { tipStyle: n = {} } = i, { visible: f = !0 } = i, a = null;
82
- const S = (o) => {
83
- const D = t.currentMeasureType;
84
- let m = "";
85
- return m = l[o], m === void 0 && (m = l[D][o]), m;
86
- }, c = (o) => {
87
- e(2, p = r(S(o)));
70
+ function Q(s, i, o) {
71
+ let { measureController: e } = i, { i18n: n = (t) => t } = i, { tips: r } = i, { tipStyle: l = {} } = i, { visible: f = !0 } = i, a = null;
72
+ const S = (t) => {
73
+ const D = e.currentMeasureType;
74
+ let d = "";
75
+ return d = r[t], d === void 0 && (d = r[D][t]), d;
76
+ }, c = (t) => {
77
+ o(2, p = n(S(t)));
88
78
  }, u = () => {
89
- e(2, p = "");
79
+ o(2, p = "");
90
80
  };
91
81
  let p = "";
92
- const d = (o) => {
93
- o === "Edit" && t.changeMeasureType ? c("start") : u();
82
+ const m = (t) => {
83
+ t === "Edit" && e.changeMeasureType ? c("start") : u();
94
84
  }, g = () => {
95
- t.getCurrentMode() === "Watch" && u();
85
+ e.getCurrentMode() === "Watch" && u();
96
86
  }, _ = () => {
97
- t.getCurrentMode() === "Edit" && c("start");
98
- }, b = (o) => {
99
- t.currentMeasureType === "area" && (o.length >= 2 ? c("close") : o.length === 0 ? c("start") : u());
87
+ e.getCurrentMode() === "Edit" && c("start");
88
+ }, b = (t) => {
89
+ e.currentMeasureType === "area" && (t.length >= 2 ? c("close") : t.length === 0 ? c("start") : u());
100
90
  };
101
- G(() => {
102
- d(t.getCurrentMode()), t.hook.on("modeChange", d), t.hook.on("complete", g), t.hook.on("pointsChange", b), t.hook.on("measureTypeChange", _);
103
- }), H(() => {
104
- t.hook.off("modeChange", d), t.hook.off("complete", g), t.hook.off("pointsChange", b), t.hook.off("measureTypeChange", _), u();
91
+ A(() => {
92
+ m(e.getCurrentMode()), e.hook.on("modeChange", m), e.hook.on("complete", g), e.hook.on("pointsChange", b), e.hook.on("measureTypeChange", _);
93
+ }), B(() => {
94
+ e.hook.off("modeChange", m), e.hook.off("complete", g), e.hook.off("pointsChange", b), e.hook.off("measureTypeChange", _), u();
105
95
  });
106
- function z(o) {
107
- F[o ? "unshift" : "push"](() => {
108
- a = o, e(1, a), e(6, n);
96
+ function z(t) {
97
+ J[t ? "unshift" : "push"](() => {
98
+ a = t, o(1, a), o(6, l);
109
99
  });
110
100
  }
111
- return s.$$set = (o) => {
112
- "measureController" in o && e(3, t = o.measureController), "i18n" in o && e(4, r = o.i18n), "tips" in o && e(5, l = o.tips), "tipStyle" in o && e(6, n = o.tipStyle), "visible" in o && e(0, f = o.visible);
101
+ return s.$$set = (t) => {
102
+ "measureController" in t && o(3, e = t.measureController), "i18n" in t && o(4, n = t.i18n), "tips" in t && o(5, r = t.tips), "tipStyle" in t && o(6, l = t.tipStyle), "visible" in t && o(0, f = t.visible);
113
103
  }, s.$$.update = () => {
114
104
  if (s.$$.dirty & /*textDom, tipStyle*/
115
105
  66 && a)
116
- for (const o in n)
117
- n.hasOwnProperty(o) && e(1, a.style[o] = n[o], a);
118
- }, [f, a, p, t, r, l, n, z];
106
+ for (const t in l)
107
+ l.hasOwnProperty(t) && o(1, a.style[t] = l[t], a);
108
+ }, [f, a, p, e, n, r, l, z];
119
109
  }
120
- class se extends I {
110
+ class X extends E {
121
111
  constructor(i) {
122
- super(), J(
112
+ super(), N(
123
113
  this,
124
114
  i,
125
115
  Q,
126
116
  L,
127
- E,
117
+ O,
128
118
  {
129
119
  measureController: 3,
130
120
  i18n: 4,
@@ -137,5 +127,5 @@ class se extends I {
137
127
  }
138
128
  }
139
129
  export {
140
- se as default
130
+ X as default
141
131
  };
@@ -58,8 +58,8 @@ import "../../shared-utils/three/PointDomHelper.js";
58
58
  import "../Modules/rangePiece/html.js";
59
59
  import "../../CSS3DRenderPlugin/index.js";
60
60
  import "../../CSS3DRenderPlugin/Controller.js";
61
- import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
62
61
  import "../../shared-utils/url/absoluteUrl.js";
62
+ import "../../shared-utils/five/fiveModelLoad.js";
63
63
  import "../../shared-utils/animationFrame/BetterTween.js";
64
64
  import "../../shared-utils/animationFrame/index.js";
65
65
  import "../../shared-utils/isTouchDevice.js";
@@ -1,7 +1,7 @@
1
1
  var I = Object.defineProperty;
2
2
  var w = Object.getOwnPropertySymbols;
3
3
  var T = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
4
- var p = (s, t, e) => t in s ? I(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, h = (s, t) => {
4
+ var p = (s, t, e) => t in s ? I(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, a = (s, t) => {
5
5
  for (var e in t || (t = {}))
6
6
  T.call(t, e) && p(s, e, t[e]);
7
7
  if (w)
@@ -13,7 +13,7 @@ var r = (s, t, e) => (p(s, typeof t != "symbol" ? t + "" : t, e), e);
13
13
  import l from "./EditController.js";
14
14
  import P from "./ViewController.js";
15
15
  import v from "./WatchController.js";
16
- import m from "./MixedController.js";
16
+ import h from "./MixedController.js";
17
17
  import { omit as k } from "../../shared-utils/filter.js";
18
18
  import { Group as D } from "three";
19
19
  import { Model as E } from "../Model/index.js";
@@ -64,8 +64,8 @@ import "../../shared-utils/three/PointDomHelper.js";
64
64
  import "../Modules/rangePiece/html.js";
65
65
  import "../../CSS3DRenderPlugin/index.js";
66
66
  import "../../CSS3DRenderPlugin/Controller.js";
67
- import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
68
67
  import "../../shared-utils/url/absoluteUrl.js";
68
+ import "../../shared-utils/five/fiveModelLoad.js";
69
69
  import "../../shared-utils/positionToVector3.js";
70
70
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
71
71
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -102,29 +102,18 @@ import "../Modules/UIController/MainBtnController.js";
102
102
  import "../Modules/UIController/mobileMainBtnController.js";
103
103
  import "../Modules/UIController/Revoke/index.js";
104
104
  import "../Components/Controller0.js";
105
- import "../../vendor/svelte/src/runtime/internal/utils.js";
106
- import "../../vendor/svelte/src/runtime/internal/dom.js";
107
- import "../../vendor/svelte/src/runtime/internal/transitions.js";
108
- import "../../vendor/svelte/src/runtime/internal/environment.js";
109
- import "../../vendor/svelte/src/runtime/internal/loop.js";
110
- import "../../vendor/svelte/src/runtime/internal/style_manager.js";
111
- import "../../vendor/svelte/src/runtime/internal/scheduler.js";
112
- import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
113
- import "../../vendor/svelte/src/runtime/internal/Component.js";
114
- import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
115
- import "../../vendor/svelte/src/shared/version.js";
105
+ import "../../vendor/svelte/internal/index.js";
116
106
  import "../Components/Common/Switcher0.js";
117
- import "../../vendor/svelte/src/runtime/internal/each.js";
118
107
  import "../Components/Common/Exit.js";
119
108
  import "../Components/Common/icons/index.js";
120
109
  import "../Components/Controller1.js";
121
110
  import "../Components/Common/Switcher1.js";
122
111
  import "../Components/Common/CircleButton.js";
123
- import "../../vendor/svelte/src/runtime/transition/index.js";
124
- import "../../vendor/svelte/src/runtime/easing/index.js";
112
+ import "../../vendor/svelte/transition/index.js";
113
+ import "../../vendor/svelte/easing/index.js";
125
114
  import "../../vendor/object-assign-deep/objectAssignDeep.js";
126
115
  import "../Components/Tip.js";
127
- class Ne {
116
+ class Le {
128
117
  constructor(t, e) {
129
118
  r(this, "hasOpen", !1);
130
119
  r(this, "hook", new G());
@@ -152,7 +141,7 @@ class Ne {
152
141
  var t, e, i, o;
153
142
  this.hasOpen = !1, this.container.style.visibility = "hidden", this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (i = this.useGuideController) == null || i.hide(), (o = this.shortcutKeyController) == null || o.dispose(), this.controller = null, this.five.helperVisible = !0, this.five.scene.remove(this.group), this.five.needsRender = !0, this.hook.emit("disable", !0);
154
143
  });
155
- r(this, "getCurrentMode", () => this.controller instanceof l ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof m ? "Mixed" : this.controller instanceof P ? "View" : null);
144
+ r(this, "getCurrentMode", () => this.controller instanceof l ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof h ? "Mixed" : this.controller instanceof P ? "View" : null);
156
145
  /** 变更场景
157
146
  * @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
158
147
  */
@@ -165,7 +154,7 @@ class Ne {
165
154
  View: P,
166
155
  Watch: v,
167
156
  Edit: l,
168
- Mixed: m
157
+ Mixed: h
169
158
  };
170
159
  if (!e[t])
171
160
  throw new Error("不存在的 Mode");
@@ -182,22 +171,22 @@ class Ne {
182
171
  this.five = t, this.params = e, this.config = k(e, ["openParams", "magnifierParams"]), this.model = new E(this.config), this.isMobile = (c = (n = e == null ? void 0 : e.openParams) == null ? void 0 : n.isMobile) != null ? c : !1, this.magnifier = new A(t, (u = e.magnifierParams) != null ? u : { width: 190, height: 190, scale: 2 }), this.allowMeasureType = Array.from(new Set((f = (d = e.editParams) == null ? void 0 : d.allowMeasureType) != null ? f : ["line"])), this.currentMeasureType = (g = this.allowMeasureType[0]) != null ? g : "line", this.group = new D(), this.group.name = "plugin-measure-group", this.container.classList.add("five-plugin-measure-container"), this.container.style.position = "absolute", this.container.style.left = "0", this.container.style.top = "0", this.container.style.pointerEvents = "none", this.container.style.width = "100%", this.container.style.height = "100%", this.container.style.opacity = "0";
183
172
  const i = (M = (y = e.editParams) == null ? void 0 : y.pointSelectorMode) != null ? M : B ? "fixed" : "cursor", o = (C = this.params.openParams) != null ? C : {};
184
173
  if (this.params.useUIController !== !1) {
185
- const a = h({
174
+ const m = a({
186
175
  container: this.container,
187
176
  openParams: o,
188
177
  i18n: e.i18n,
189
178
  pointSelectorMode: i,
190
179
  useNewUI: this.allowMeasureType.length > 1
191
180
  }, b(this.params.useUIController));
192
- this.useUIController = new S(this, a);
181
+ this.useUIController = new S(this, m);
193
182
  }
194
183
  if (this.params.useGuideController !== !1) {
195
- const a = h({
184
+ const m = a({
196
185
  container: this.container,
197
186
  pointSelectorMode: i,
198
187
  i18n: e.i18n
199
188
  }, b(this.params.useGuideController));
200
- this.useGuideController = new L(this, a);
189
+ this.useGuideController = new L(this, m);
201
190
  }
202
191
  }
203
192
  appendTo(t) {
@@ -267,7 +256,7 @@ class Ne {
267
256
  */
268
257
  save(t) {
269
258
  var o;
270
- if (!(this.controller instanceof l) && !(this.controller instanceof m))
259
+ if (!(this.controller instanceof l) && !(this.controller instanceof h))
271
260
  return this;
272
261
  const e = (o = t == null ? void 0 : t.mode) != null ? o : "View", i = this.controller.model.areas;
273
262
  return this.controller instanceof l ? this.controller.complete() : i.forEach((n) => {
@@ -276,11 +265,11 @@ class Ne {
276
265
  }
277
266
  /** Mixed 模式才有用,添加起点 */
278
267
  addStartPoint() {
279
- this.controller instanceof m && this.hook.emit("willChangeState", "watching", "editing");
268
+ this.controller instanceof h && this.hook.emit("willChangeState", "watching", "editing");
280
269
  }
281
270
  /** Mixed 模式才有用,添加终点 */
282
271
  addEndPoint() {
283
- this.controller instanceof m && this.hook.emit("willChangeState", "editing", "watching");
272
+ this.controller instanceof h && this.hook.emit("willChangeState", "editing", "watching");
284
273
  }
285
274
  /** 导出数据 */
286
275
  toJson() {
@@ -320,11 +309,11 @@ class Ne {
320
309
  editParams: e,
321
310
  magnifierParams: this.params.magnifierParams,
322
311
  getMeasureType: () => this.currentMeasureType,
323
- mouseGroup: x(h({}, t.crossHairParameter)),
312
+ mouseGroup: x(a({}, t.crossHairParameter)),
324
313
  userDistanceItemCreator: this.params.userDistanceItemCreator
325
314
  };
326
315
  }
327
316
  }
328
317
  export {
329
- Ne as default
318
+ Le as default
330
319
  };
@@ -1,22 +1,12 @@
1
- var r = Object.defineProperty;
2
- var p = (e, t, i) => t in e ? r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
3
- var o = (e, t, i) => (p(e, typeof t != "symbol" ? t + "" : t, i), i);
4
- import { objectAssignDeepExports as s } from "../../vendor/object-assign-deep/objectAssignDeep.js";
1
+ var s = Object.defineProperty;
2
+ var r = (i, t, e) => t in i ? s(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
+ var o = (i, t, e) => (r(i, typeof t != "symbol" ? t + "" : t, e), e);
4
+ import { objectAssignDeepExports as p } from "../../vendor/object-assign-deep/objectAssignDeep.js";
5
5
  import l from "../Components/Tip.js";
6
- import "../../vendor/svelte/src/runtime/internal/utils.js";
7
- import "../../vendor/svelte/src/runtime/internal/dom.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/runtime/internal/scheduler.js";
13
- import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
14
- import "../../vendor/svelte/src/runtime/internal/Component.js";
15
- import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
16
- import "../../vendor/svelte/src/shared/version.js";
17
- import "../../vendor/svelte/src/runtime/transition/index.js";
18
- import "../../vendor/svelte/src/runtime/easing/index.js";
19
- const m = {
6
+ import "../../vendor/svelte/internal/index.js";
7
+ import "../../vendor/svelte/transition/index.js";
8
+ import "../../vendor/svelte/easing/index.js";
9
+ const n = {
20
10
  line: {
21
11
  start: "选择一个合适的位置开始测量,点击【结束】或【鼠标右键】结束测量"
22
12
  },
@@ -24,7 +14,7 @@ const m = {
24
14
  start: "选择一个合适的位置开始绘制平面",
25
15
  close: "选择3个点后将闭合平面,点击【结束】或【鼠标右键】将自动闭合"
26
16
  }
27
- }, n = {
17
+ }, c = {
28
18
  line: {
29
19
  start: ""
30
20
  },
@@ -33,17 +23,17 @@ const m = {
33
23
  close: "选择3个点后将闭合平面,点击结束自动闭合"
34
24
  }
35
25
  };
36
- class j {
37
- constructor(t, i) {
26
+ class D {
27
+ constructor(t, e) {
38
28
  o(this, "tipSvelteDom");
39
29
  this.tipSvelteDom = new l({
40
- target: i.container,
30
+ target: e.container,
41
31
  props: {
42
32
  measureController: t,
43
- tips: s({}, i.pointSelectorMode === "fixed" ? n : m, i.tips),
44
- i18n: i.i18n,
33
+ tips: p({}, e.pointSelectorMode === "fixed" ? c : n, e.tips),
34
+ i18n: e.i18n,
45
35
  visible: !0,
46
- tipStyle: i.tipStyle
36
+ tipStyle: e.tipStyle
47
37
  }
48
38
  });
49
39
  }
@@ -61,5 +51,5 @@ class j {
61
51
  }
62
52
  }
63
53
  export {
64
- j as GuideController
54
+ D as GuideController
65
55
  };