@realsee/dnalogel 2.22.0-dev.8 → 2.23.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 (451) hide show
  1. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  2. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  3. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  4. package/dist/index.cjs.js +65 -65
  5. package/dist/index.js +4614 -4447
  6. package/dist/index.umd.js +58 -58
  7. package/docs/classes/CSS3DRender.html +30 -30
  8. package/docs/classes/CruisePluginController.html +25 -25
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  11. package/docs/classes/Magnifier.html +19 -19
  12. package/docs/classes/ModelRoomLabelController.html +10 -10
  13. package/docs/classes/Object3DHelperController.html +24 -24
  14. package/docs/classes/PaintBrush.html +14 -14
  15. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  16. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  17. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  18. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  19. package/docs/classes/PanoTagPluginController.html +48 -48
  20. package/docs/classes/Util.BetterTween.html +8 -8
  21. package/docs/classes/Util.Interval.html +11 -11
  22. package/docs/classes/Util.Magnifier.html +19 -19
  23. package/docs/classes/Util.PointDomHelper.html +10 -10
  24. package/docs/classes/Util.PointHelper.html +10 -10
  25. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  26. package/docs/classes/Util.Rectangle.html +12 -12
  27. package/docs/enums/CameraMovementEffect.html +6 -6
  28. package/docs/enums/ContentType.html +19 -19
  29. package/docs/enums/DIRECTION.html +8 -8
  30. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  31. package/docs/enums/DimensionType.html +6 -6
  32. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  33. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  34. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  35. package/docs/enums/PointType.html +6 -6
  36. package/docs/enums/Rotation.html +7 -7
  37. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  38. package/docs/functions/CameraMovementPlugin.html +3 -3
  39. package/docs/functions/CruisePlugin.html +3 -3
  40. package/docs/functions/GuideLinePlugin.html +4 -4
  41. package/docs/functions/ItemLabelPlugin.html +3 -3
  42. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  43. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  44. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  45. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  46. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  47. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  48. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  49. package/docs/functions/ModelViewPlugin.html +3 -3
  50. package/docs/functions/Object3DHelperPlugin.html +3 -3
  51. package/docs/functions/PanoCompassPlugin.html +3 -3
  52. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  53. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  54. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  55. package/docs/functions/PanoMeasurePlugin.html +3 -3
  56. package/docs/functions/PanoRulerPlugin.html +3 -3
  57. package/docs/functions/PanoRulerProPlugin.html +3 -3
  58. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  59. package/docs/functions/PanoTagPlugin.html +3 -3
  60. package/docs/functions/PanoVideoPlugin.html +3 -3
  61. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  62. package/docs/functions/Util.absoluteUrl.html +4 -4
  63. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  64. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  65. package/docs/functions/Util.getFrameTime.html +4 -4
  66. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  67. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  68. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  69. package/docs/functions/Util.isModelLike.html +4 -4
  70. package/docs/functions/Util.isNil.html +4 -4
  71. package/docs/functions/Util.isPanoramaLike.html +4 -4
  72. package/docs/functions/Util.nextFrame.html +4 -4
  73. package/docs/functions/Util.notNil.html +4 -4
  74. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  75. package/docs/functions/Util.tweenProgress.html +4 -4
  76. package/docs/functions/Util.uuid.html +4 -4
  77. package/docs/functions/pluginFlag.html +4 -4
  78. package/docs/index.html +4 -4
  79. package/docs/interfaces/AddTagConfig.html +5 -5
  80. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  81. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  82. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  83. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  84. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  85. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  86. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  87. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  88. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  89. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  90. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  91. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  92. package/docs/interfaces/EventMap.html +14 -14
  93. package/docs/interfaces/FloorplanBounding.html +7 -7
  94. package/docs/interfaces/FloorplanData.html +9 -9
  95. package/docs/interfaces/FloorplanEntrance.html +10 -10
  96. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  97. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  98. package/docs/interfaces/FloorplanFloorData.html +8 -8
  99. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  100. package/docs/interfaces/FloorplanObserver.html +8 -8
  101. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  102. package/docs/interfaces/FloorplanPosition.html +6 -6
  103. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  104. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  105. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  106. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  107. package/docs/interfaces/FloorplanServerData.html +6 -6
  108. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  109. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  110. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  111. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  112. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  113. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  114. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  115. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  116. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  117. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  118. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -8
  119. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  120. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  121. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  122. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  123. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  124. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  125. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  126. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  127. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  128. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  129. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  130. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  131. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  132. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  133. package/docs/interfaces/HelperOffset.html +7 -7
  134. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  135. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  136. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  137. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  138. package/docs/interfaces/MinMax.html +6 -6
  139. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  140. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  141. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  142. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  143. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  144. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  145. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  146. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  147. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  148. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  149. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  150. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  151. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  152. package/docs/interfaces/Object3DHelperState.html +7 -7
  153. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  154. package/docs/interfaces/PaintBrushAction.html +11 -11
  155. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  156. package/docs/interfaces/PaintBrushState.html +9 -9
  157. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  158. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  159. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  160. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  161. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  162. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  163. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  164. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  165. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  166. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  167. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  168. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  169. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  170. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  171. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  172. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  173. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  174. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  175. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  176. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  177. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  178. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  179. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  180. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  181. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  182. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  184. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  185. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  186. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  187. package/docs/interfaces/Point.html +7 -7
  188. package/docs/interfaces/Room.html +8 -8
  189. package/docs/interfaces/RoomInfo.html +6 -6
  190. package/docs/interfaces/RoomLabel.html +13 -13
  191. package/docs/interfaces/RoomRules.html +4 -4
  192. package/docs/interfaces/Rooms.html +4 -4
  193. package/docs/interfaces/Scissor.html +8 -8
  194. package/docs/interfaces/State.html +7 -7
  195. package/docs/interfaces/TagCacheInterface.html +11 -11
  196. package/docs/interfaces/TagConfig.html +12 -12
  197. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  198. package/docs/interfaces/TagIconUrl.html +11 -11
  199. package/docs/interfaces/TagObjectGroup.html +5 -5
  200. package/docs/interfaces/TagStyle.html +5 -5
  201. package/docs/interfaces/Tags.html +8 -8
  202. package/docs/interfaces/TemporaryState.html +5 -5
  203. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  204. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  205. package/docs/interfaces/Util.PointIntersection.html +7 -7
  206. package/docs/modules/CruisePluginTypes.html +4 -4
  207. package/docs/modules/GuideLineItem.html +4 -4
  208. package/docs/modules/GuideLineModeItem.html +4 -4
  209. package/docs/modules/GuideLinePluginType.html +4 -4
  210. package/docs/modules/PanoVideoPluginType.html +4 -4
  211. package/docs/modules/Util.html +4 -4
  212. package/docs/modules.html +4 -4
  213. package/docs/types/ArrayPosition.html +4 -4
  214. package/docs/types/AudioAppearance.html +4 -4
  215. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  216. package/docs/types/CSS3DRenderExportType.html +4 -4
  217. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  218. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  219. package/docs/types/ClassFunctionParameters.html +4 -4
  220. package/docs/types/Color.html +4 -4
  221. package/docs/types/ContentTypeConfigKey.html +4 -4
  222. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  223. package/docs/types/ContentTypeMap.html +4 -4
  224. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  225. package/docs/types/Create3DElementReturnType.html +4 -4
  226. package/docs/types/CruisePluginExportType.html +4 -4
  227. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  228. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  229. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  230. package/docs/types/DeprecatedTagProperty.html +4 -4
  231. package/docs/types/Direction-1.html +4 -4
  232. package/docs/types/Direction4.html +4 -4
  233. package/docs/types/ElementRenderer.html +4 -4
  234. package/docs/types/FloorplanRuleLabels.html +4 -4
  235. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  236. package/docs/types/GuideLinePluginExportType.html +4 -4
  237. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  238. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  239. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  241. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  242. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  243. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  244. package/docs/types/HelperEventMap.html +4 -4
  245. package/docs/types/LoadTagConfig.html +4 -4
  246. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  247. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  248. package/docs/types/MediaData.html +4 -4
  249. package/docs/types/MediaStore.html +4 -4
  250. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  251. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  252. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  253. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  254. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  255. package/docs/types/MoveArgs.html +4 -4
  256. package/docs/types/MoveOpts.html +4 -4
  257. package/docs/types/Object3DHelperEventMap.html +4 -4
  258. package/docs/types/ObjectFit.html +4 -4
  259. package/docs/types/PaintBrushEventMap.html +4 -4
  260. package/docs/types/PanoCompassPluginData.html +4 -4
  261. package/docs/types/PanoCompassPluginExportType.html +4 -4
  262. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  263. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  264. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  265. package/docs/types/PanoIndex.html +4 -4
  266. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  267. package/docs/types/PanoMeasureReturnType.html +4 -4
  268. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  269. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  270. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  271. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  272. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  273. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  274. package/docs/types/PlaneTag.html +4 -4
  275. package/docs/types/Point2DTag.html +4 -4
  276. package/docs/types/Point3DTag.html +4 -4
  277. package/docs/types/PointTag.html +4 -4
  278. package/docs/types/PointTagInstance.html +4 -4
  279. package/docs/types/Position.html +4 -4
  280. package/docs/types/RotateArgs.html +4 -4
  281. package/docs/types/RotateOpts.html +4 -4
  282. package/docs/types/RuleLabelsKey.html +4 -4
  283. package/docs/types/RuleLabelsValue.html +4 -4
  284. package/docs/types/StickType.html +4 -4
  285. package/docs/types/Tag.html +4 -4
  286. package/docs/types/Tag2D.html +4 -4
  287. package/docs/types/Tag3D.html +4 -4
  288. package/docs/types/TagContentType.html +4 -4
  289. package/docs/types/TagDimensionType.html +4 -4
  290. package/docs/types/TagElement.html +4 -4
  291. package/docs/types/TagEvents.html +4 -4
  292. package/docs/types/TagGLTFObject.html +4 -4
  293. package/docs/types/TagHooks.html +4 -4
  294. package/docs/types/TagId.html +4 -4
  295. package/docs/types/TagInstance.html +4 -4
  296. package/docs/types/TagPointType.html +4 -4
  297. package/docs/types/TagRendererMap.html +4 -4
  298. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  299. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  300. package/docs/types/WorkCode.html +4 -4
  301. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  302. package/docs/variables/PLUGIN.html +4 -4
  303. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  304. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  305. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  306. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  307. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  308. package/libs/CruisePlugin/Controller.js +103 -90
  309. package/libs/CruisePlugin/index.js +22 -9
  310. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  311. package/libs/GuideLinePlugin/Controller.js +38 -25
  312. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  313. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  314. package/libs/GuideLinePlugin/index.js +24 -11
  315. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  316. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  317. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  318. package/libs/ItemLabelPlugin/index.js +16 -5
  319. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  320. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  321. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  322. package/libs/ModelItemLabelPlugin/index.js +16 -5
  323. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  324. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  325. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  326. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  327. package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
  328. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  329. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  330. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  331. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  332. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  333. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  334. package/libs/PanoMeasurePlugin/Components/Controller0.js +48 -37
  335. package/libs/PanoMeasurePlugin/Components/Controller1.js +59 -48
  336. package/libs/PanoMeasurePlugin/Components/Tip.js +74 -64
  337. package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
  338. package/libs/PanoMeasurePlugin/Modules/GuideController.js +25 -15
  339. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -5
  340. package/libs/PanoMeasurePlugin/index.js +27 -16
  341. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  342. package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
  343. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  344. package/libs/PanoRulerProPlugin/index.js +15 -4
  345. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  346. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  347. package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
  348. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  349. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  350. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  351. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  352. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  353. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
  354. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
  355. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  356. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  357. package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
  358. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  359. package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
  360. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  361. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  362. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
  363. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
  364. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  365. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
  366. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  367. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  368. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  369. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  370. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  371. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
  372. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  373. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
  374. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
  375. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  376. package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
  377. package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
  378. package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
  379. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  380. package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
  381. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
  382. package/libs/PanoTagPlugin/controller/index.js +95 -82
  383. package/libs/PanoTagPlugin/index.js +26 -13
  384. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  385. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  386. package/libs/base/BasePlugin.js +1 -1
  387. package/libs/floorplan/Components/BaseImage.js +43 -39
  388. package/libs/floorplan/Components/Camera.js +16 -13
  389. package/libs/floorplan/Components/Compass.js +27 -24
  390. package/libs/floorplan/Components/CurrentFloor.js +25 -20
  391. package/libs/floorplan/Components/Main.js +58 -49
  392. package/libs/floorplan/Components/Normalmage.js +25 -22
  393. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  394. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  395. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
  396. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
  397. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  398. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  399. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  400. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  401. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  402. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  403. package/libs/floorplan/Components/SvgImage.js +30 -27
  404. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
  405. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  406. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
  407. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  408. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
  409. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
  410. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
  411. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
  412. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
  413. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  414. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
  415. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  416. package/libs/floorplan/index.js +1 -0
  417. package/libs/index.js +126 -112
  418. package/libs/shared-utils/logger.js +1 -1
  419. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  420. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  421. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  422. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  423. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  424. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  425. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  426. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  427. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  428. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  429. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  430. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  431. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  432. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  433. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  434. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  435. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  436. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  437. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  438. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  439. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  440. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  441. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  442. package/libs/vendor/svelte/src/shared/version.js +4 -0
  443. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
  444. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  445. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  446. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  447. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  448. package/package.json +1 -1
  449. package/libs/vendor/svelte/internal/index.js +0 -749
  450. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  451. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,19 +1,19 @@
1
1
  var I = Object.defineProperty;
2
2
  var w = Object.getOwnPropertySymbols;
3
3
  var T = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
4
- var c = (s, e, t) => e in s ? I(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, m = (s, e) => {
5
- for (var t in e || (e = {}))
6
- T.call(e, t) && c(s, t, e[t]);
4
+ var c = (s, t, e) => t in s ? I(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, h = (s, t) => {
5
+ for (var e in t || (t = {}))
6
+ T.call(t, e) && c(s, e, t[e]);
7
7
  if (w)
8
- for (var t of w(e))
9
- E.call(e, t) && c(s, t, e[t]);
8
+ for (var e of w(t))
9
+ E.call(t, e) && c(s, e, t[e]);
10
10
  return s;
11
11
  };
12
- var i = (s, e, t) => (c(s, typeof e != "symbol" ? e + "" : e, t), t);
13
- import a from "./EditController.js";
12
+ var i = (s, t, e) => (c(s, typeof t != "symbol" ? t + "" : t, e), e);
13
+ import m from "./EditController.js";
14
14
  import P from "./ViewController.js";
15
15
  import v from "./WatchController.js";
16
- import h from "./MixedController.js";
16
+ import a 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 U } from "../Model/index.js";
@@ -97,19 +97,30 @@ import "../Modules/UIController/MainBtnController.js";
97
97
  import "../Modules/UIController/mobileMainBtnController.js";
98
98
  import "../Modules/UIController/Revoke/index.js";
99
99
  import "../Components/Controller0.js";
100
- import "../../vendor/svelte/internal/index.js";
100
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
101
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
102
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
103
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
104
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
105
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
106
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
107
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
108
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
109
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
110
+ import "../../vendor/svelte/src/shared/version.js";
101
111
  import "../Components/Common/Switcher0.js";
112
+ import "../../vendor/svelte/src/runtime/internal/each.js";
102
113
  import "../Components/Common/Exit.js";
103
114
  import "../Components/Common/icons/index.js";
104
115
  import "../Components/Controller1.js";
105
116
  import "../Components/Common/Switcher1.js";
106
117
  import "../Components/Common/CircleButton.js";
107
- import "../../vendor/svelte/transition/index.js";
108
- import "../../vendor/svelte/easing/index.js";
118
+ import "../../vendor/svelte/src/runtime/transition/index.js";
119
+ import "../../vendor/svelte/src/runtime/easing/index.js";
109
120
  import "../../vendor/object-assign-deep/objectAssignDeep.js";
110
121
  import "../Components/Tip.js";
111
- class Dt {
112
- constructor(e, t) {
122
+ class Ke {
123
+ constructor(t, e) {
113
124
  i(this, "hasOpen", !1);
114
125
  i(this, "hook", new x());
115
126
  i(this, "magnifier");
@@ -133,40 +144,40 @@ class Dt {
133
144
  * @description 还原点位展示和默认鼠标 UI
134
145
  */
135
146
  i(this, "disable", () => {
136
- var e, t, r, o;
137
- this.hasOpen = !1, this.container.style.opacity = "0", (e = this.controller) == null || e.dispose(), (t = this.useUIController) == null || t.hide(), (r = this.useGuideController) == null || r.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);
147
+ var t, e, r, o;
148
+ this.hasOpen = !1, this.container.style.opacity = "0", (t = this.controller) == null || t.dispose(), (e = this.useUIController) == null || e.hide(), (r = this.useGuideController) == null || r.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);
138
149
  });
139
- i(this, "getCurrentMode", () => this.controller instanceof a ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof h ? "Mixed" : this.controller instanceof P ? "View" : null);
150
+ i(this, "getCurrentMode", () => this.controller instanceof m ? "Edit" : this.controller instanceof v ? "Watch" : this.controller instanceof a ? "Mixed" : this.controller instanceof P ? "View" : null);
140
151
  /** 变更场景
141
152
  * @description 如果从编辑场景改变到观看场景,不会自动保存,默认丢弃所有改动
142
153
  */
143
- i(this, "changeMode", (e) => {
154
+ i(this, "changeMode", (t) => {
144
155
  var o;
145
- if (!this.hasOpen || this.getCurrentMode() === e)
156
+ if (!this.hasOpen || this.getCurrentMode() === t)
146
157
  return;
147
158
  (o = this.controller) == null || o.dispose();
148
- const t = {
159
+ const e = {
149
160
  View: P,
150
161
  Watch: v,
151
- Edit: a,
152
- Mixed: h
162
+ Edit: m,
163
+ Mixed: a
153
164
  };
154
- if (!t[e])
165
+ if (!e[t])
155
166
  throw new Error("不存在的 Mode");
156
167
  const r = this.createControllerParams();
157
- this.controller = new t[e](r), this.hook.emit("modeChange", e);
168
+ this.controller = new e[t](r), this.hook.emit("modeChange", t);
158
169
  });
159
170
  /**
160
171
  * @description: 切换测量的类型
161
172
  */
162
- i(this, "changeMeasureType", (e) => {
163
- this.currentMeasureType = e, this.hook.emit("measureTypeChange", e);
173
+ i(this, "changeMeasureType", (t) => {
174
+ this.currentMeasureType = t, this.hook.emit("measureTypeChange", t);
164
175
  });
165
176
  var l, n, u, d, f, g, y, M, C;
166
- this.five = e, this.params = t, this.config = k(t, ["openParams", "magnifierParams"]), this.model = new U(this.config), this.isMobile = (n = (l = t == null ? void 0 : t.openParams) == null ? void 0 : l.isMobile) != null ? n : !1, this.magnifier = new B(e, (u = t.magnifierParams) != null ? u : { width: 190, height: 190, scale: 2 }), this.allowMeasureType = Array.from(new Set((f = (d = t.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";
167
- const r = (M = (y = t.editParams) == null ? void 0 : y.pointSelectorMode) != null ? M : W ? "fixed" : "cursor", o = (C = this.params.openParams) != null ? C : {};
177
+ this.five = t, this.params = e, this.config = k(e, ["openParams", "magnifierParams"]), this.model = new U(this.config), this.isMobile = (n = (l = e == null ? void 0 : e.openParams) == null ? void 0 : l.isMobile) != null ? n : !1, this.magnifier = new B(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";
178
+ const r = (M = (y = e.editParams) == null ? void 0 : y.pointSelectorMode) != null ? M : W ? "fixed" : "cursor", o = (C = this.params.openParams) != null ? C : {};
168
179
  if (this.params.useUIController !== !1) {
169
- const p = m({
180
+ const p = h({
170
181
  container: this.container,
171
182
  openParams: o,
172
183
  pointSelectorMode: r,
@@ -175,68 +186,68 @@ class Dt {
175
186
  this.useUIController = new S(this, p);
176
187
  }
177
188
  if (this.params.useGuideController !== !1) {
178
- const p = m({ container: this.container, pointSelectorMode: r }, b(this.params.useGuideController));
189
+ const p = h({ container: this.container, pointSelectorMode: r }, b(this.params.useGuideController));
179
190
  this.useGuideController = new L(this, p);
180
191
  }
181
192
  }
182
- appendTo(e) {
183
- e.append(this.container);
193
+ appendTo(t) {
194
+ t.append(this.container);
184
195
  }
185
196
  clear() {
186
197
  this.model.clear();
187
198
  }
188
199
  dispose() {
189
- var e, t;
190
- this.disable(), this.clear(), (e = this.useUIController) == null || e.dispose(), (t = this.magnifier) == null || t.dispose(), this.five.needsRender = !0;
200
+ var t, e;
201
+ this.disable(), this.clear(), (t = this.useUIController) == null || t.dispose(), (e = this.magnifier) == null || e.dispose(), this.five.needsRender = !0;
191
202
  }
192
203
  /** 加载数据
193
204
  * @description 数据加载时会覆盖当前已保存的数据
194
205
  * @description 如果当前正在编辑中,会自动退出并保存编辑
195
206
  */
196
- load(e) {
197
- this.model.parse(e), this.save();
207
+ load(t) {
208
+ this.model.parse(t), this.save();
198
209
  }
199
210
  /** 插件功能入口
200
211
  * @description 会隐藏鼠标的默认聚焦环
201
212
  * @description 会隐藏当前 VR 内的点位展示
202
213
  */
203
- enable(e) {
204
- var t;
205
- this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.opacity = "1", e != null && e.mode ? this.changeMode(e.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (t = this.useUIController) == null || t.show(), this.shortcutKeyController = new O(this, this.five), this.hook.emit("enable", !0));
214
+ enable(t) {
215
+ var e;
216
+ this.hasOpen || (this.hasOpen = !0, this.five.scene.add(this.group), this.container.style.opacity = "1", t != null && t.mode ? this.changeMode(t.mode) : this.isMobile ? this.changeMode("Mixed") : this.changeMode("Watch"), (e = this.useUIController) == null || e.show(), this.shortcutKeyController = new O(this, this.five), this.hook.emit("enable", !0));
206
217
  }
207
218
  /** 进入编辑模式 */
208
- edit(e) {
209
- e && this.changeMeasureType(e);
210
- const t = this.isMobile ? "Mixed" : "Edit";
211
- this.changeMode(t);
219
+ edit(t) {
220
+ t && this.changeMeasureType(t);
221
+ const e = this.isMobile ? "Mixed" : "Edit";
222
+ this.changeMode(e);
212
223
  }
213
224
  /** 撤销编辑 */
214
225
  revoke() {
215
- this.controller instanceof a && this.controller.revoke();
226
+ this.controller instanceof m && this.controller.revoke();
216
227
  }
217
- removePolyline(e) {
218
- this.model.removePolyline(e);
228
+ removePolyline(t) {
229
+ this.model.removePolyline(t);
219
230
  }
220
- removeArea(e) {
221
- this.model.removeArea(e);
231
+ removeArea(t) {
232
+ this.model.removeArea(t);
222
233
  }
223
- removePolylineByID(e) {
224
- const t = this.model.getPolylineByID(e);
225
- t && this.model.removePolyline(t);
234
+ removePolylineByID(t) {
235
+ const e = this.model.getPolylineByID(t);
236
+ e && this.model.removePolyline(e);
226
237
  }
227
- getPolylineByID(e) {
228
- return this.model.getPolylineByID(e);
238
+ getPolylineByID(t) {
239
+ return this.model.getPolylineByID(t);
229
240
  }
230
241
  getEditedPolyline() {
231
242
  }
232
243
  /**
233
244
  * 高亮当前线段
234
245
  */
235
- highlightLine(e) {
246
+ highlightLine(t) {
236
247
  if (this.getCurrentMode() !== "Watch")
237
248
  return !1;
238
- const t = this.model.getLineByID(e);
239
- return t ? (this.controller.highlightLine(t), !0) : !1;
249
+ const e = this.model.getLineByID(t);
250
+ return e ? (this.controller.highlightLine(e), !0) : !1;
240
251
  }
241
252
  clearHighlightLines() {
242
253
  return this.getCurrentMode() !== "Watch" ? !1 : (this.controller.clearHighlightLines(), !0);
@@ -244,24 +255,24 @@ class Dt {
244
255
  /** 保存编辑
245
256
  * @description 以下情况可能报错
246
257
  */
247
- save(e) {
258
+ save(t) {
248
259
  var l;
249
- if (!(this.controller instanceof a) && !(this.controller instanceof h))
260
+ if (!(this.controller instanceof m) && !(this.controller instanceof a))
250
261
  return this;
251
- const t = (l = e == null ? void 0 : e.mode) != null ? l : "View", r = this.controller.model.polylines, o = this.controller.model.areas;
262
+ const e = (l = t == null ? void 0 : t.mode) != null ? l : "View", r = this.controller.model.polylines, o = this.controller.model.areas;
252
263
  return r.forEach((n) => {
253
264
  this.model.addPolyline(n);
254
- }), this.controller instanceof a ? this.controller.complete() : o.forEach((n) => {
265
+ }), this.controller instanceof m ? this.controller.complete() : o.forEach((n) => {
255
266
  n.showArea(), this.model.addArea(n);
256
- }), this.changeMode(t), this;
267
+ }), this.changeMode(e), this;
257
268
  }
258
269
  /** Mixed 模式才有用,添加起点 */
259
270
  addStartPoint() {
260
- this.controller instanceof h && this.hook.emit("willChangeState", "watching", "editing");
271
+ this.controller instanceof a && this.hook.emit("willChangeState", "watching", "editing");
261
272
  }
262
273
  /** Mixed 模式才有用,添加终点 */
263
274
  addEndPoint() {
264
- this.controller instanceof h && this.hook.emit("willChangeState", "editing", "watching");
275
+ this.controller instanceof a && this.hook.emit("willChangeState", "editing", "watching");
265
276
  }
266
277
  /** 导出数据 */
267
278
  toJson() {
@@ -272,24 +283,24 @@ class Dt {
272
283
  * @description 改变插件的模式(pc端模式或移动端模式)
273
284
  * @param isMobile true为移动端模式,false为pc端
274
285
  */
275
- changeIsMobile(e) {
286
+ changeIsMobile(t) {
276
287
  }
277
- changeConfigs(e) {
278
- var t;
279
- Object.assign(this.config, e), (t = this.controller) == null || t.updateDistanceUI();
288
+ changeConfigs(t) {
289
+ var e;
290
+ Object.assign(this.config, t), (e = this.controller) == null || e.updateDistanceUI();
280
291
  }
281
292
  /** 设置线段的文本 */
282
- setCustomText(e, t) {
293
+ setCustomText(t, e) {
283
294
  var o;
284
- const r = this.model.getLineByID(e);
295
+ const r = this.model.getLineByID(t);
285
296
  if (!r)
286
297
  throw new Error("不存在的线段");
287
- r.setText(t), (o = this.controller) == null || o.updateDistanceUI();
298
+ r.setText(e), (o = this.controller) == null || o.updateDistanceUI();
288
299
  }
289
300
  createControllerParams() {
290
301
  var r, o;
291
- const e = (r = this.params.openParams) != null ? r : {}, t = (o = this.params.editParams) != null ? o : {};
292
- return e.isMobile = this.isMobile, {
302
+ const t = (r = this.params.openParams) != null ? r : {}, e = (o = this.params.editParams) != null ? o : {};
303
+ return t.isMobile = this.isMobile, {
293
304
  five: this.five,
294
305
  hook: this.hook,
295
306
  group: this.group,
@@ -297,15 +308,15 @@ class Dt {
297
308
  config: this.config,
298
309
  magnifier: this.magnifier,
299
310
  container: this.container,
300
- openParams: e,
301
- editParams: t,
311
+ openParams: t,
312
+ editParams: e,
302
313
  magnifierParams: this.params.magnifierParams,
303
314
  getMeasureType: () => this.currentMeasureType,
304
- mouseGroup: G(m({}, e.crossHairParameter)),
315
+ mouseGroup: G(h({}, t.crossHairParameter)),
305
316
  userDistanceItemCreator: this.params.userDistanceItemCreator
306
317
  };
307
318
  }
308
319
  }
309
320
  export {
310
- Dt as default
321
+ Ke as default
311
322
  };
@@ -1,12 +1,22 @@
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";
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";
5
5
  import l from "../Components/Tip.js";
6
- import "../../vendor/svelte/internal/index.js";
7
- import "../../vendor/svelte/transition/index.js";
8
- import "../../vendor/svelte/easing/index.js";
9
- const n = {
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 = {
10
20
  line: {
11
21
  start: "选择一个合适的位置开始测量,点击【结束】或【鼠标右键】结束测量"
12
22
  },
@@ -14,7 +24,7 @@ const n = {
14
24
  start: "选择一个合适的位置开始绘制平面",
15
25
  close: "选择3个点后将闭合平面,点击【结束】或【鼠标右键】将自动闭合"
16
26
  }
17
- }, c = {
27
+ }, n = {
18
28
  line: {
19
29
  start: ""
20
30
  },
@@ -23,16 +33,16 @@ const n = {
23
33
  close: "选择3个点后将闭合平面,点击结束自动闭合"
24
34
  }
25
35
  };
26
- class u {
27
- constructor(t, e) {
36
+ class j {
37
+ constructor(t, i) {
28
38
  o(this, "tipSvelteDom");
29
39
  this.tipSvelteDom = new l({
30
- target: e.container,
40
+ target: i.container,
31
41
  props: {
32
42
  measureController: t,
33
- tips: p({}, e.pointSelectorMode === "fixed" ? c : n, e.tips),
43
+ tips: s({}, i.pointSelectorMode === "fixed" ? n : m, i.tips),
34
44
  visible: !0,
35
- tipStyle: e.tipStyle
45
+ tipStyle: i.tipStyle
36
46
  }
37
47
  });
38
48
  }
@@ -50,5 +60,5 @@ class u {
50
60
  }
51
61
  }
52
62
  export {
53
- u as GuideController
63
+ j as GuideController
54
64
  };
@@ -9,8 +9,19 @@ import { MobileMainBtnController as g } from "./mobileMainBtnController.js";
9
9
  import w from "./Revoke/index.js";
10
10
  import _ from "../../Components/Controller0.js";
11
11
  import b from "../../Components/Controller1.js";
12
- import "../../../vendor/svelte/internal/index.js";
12
+ import "../../../vendor/svelte/src/runtime/internal/utils.js";
13
+ import "../../../vendor/svelte/src/runtime/internal/dom.js";
14
+ import "../../../vendor/svelte/src/runtime/internal/transitions.js";
15
+ import "../../../vendor/svelte/src/runtime/internal/environment.js";
16
+ import "../../../vendor/svelte/src/runtime/internal/loop.js";
17
+ import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
18
+ import "../../../vendor/svelte/src/runtime/internal/scheduler.js";
19
+ import "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
20
+ import "../../../vendor/svelte/src/runtime/internal/Component.js";
21
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
22
+ import "../../../vendor/svelte/src/shared/version.js";
13
23
  import "../../Components/Common/Switcher0.js";
24
+ import "../../../vendor/svelte/src/runtime/internal/each.js";
14
25
  import "../../Components/Common/Exit.js";
15
26
  import "../../Controller/EditController.js";
16
27
  import "../../Model/line.js";
@@ -79,9 +90,9 @@ import "../../utils/math.js";
79
90
  import "../../Components/Common/icons/index.js";
80
91
  import "../../Components/Common/Switcher1.js";
81
92
  import "../../Components/Common/CircleButton.js";
82
- import "../../../vendor/svelte/transition/index.js";
83
- import "../../../vendor/svelte/easing/index.js";
84
- class Zt {
93
+ import "../../../vendor/svelte/src/runtime/transition/index.js";
94
+ import "../../../vendor/svelte/src/runtime/easing/index.js";
95
+ class co {
85
96
  constructor(o, t) {
86
97
  e(this, "revoke");
87
98
  e(this, "container");
@@ -135,5 +146,5 @@ class Zt {
135
146
  }
136
147
  }
137
148
  export {
138
- Zt as UIController
149
+ co as UIController
139
150
  };
@@ -1,9 +1,9 @@
1
1
  import t from "./Controller/index.js";
2
- import { default as Xo } from "./Modules/Magnifier.js";
3
- import { Model as Zo } from "./Model/index.js";
4
- import { default as $o } from "./Model/point.js";
5
- import { default as rr } from "./Model/line.js";
6
- import { Polyline as ir } from "./Model/polyline.js";
2
+ import { default as er } from "./Modules/Magnifier.js";
3
+ import { Model as nr } from "./Model/index.js";
4
+ import { default as lr } from "./Model/point.js";
5
+ import { default as sr } from "./Model/line.js";
6
+ import { Polyline as Mr } from "./Model/polyline.js";
7
7
  import "./Controller/EditController.js";
8
8
  import "../shared-utils/throttle.js";
9
9
  import "./Controller/BaseController.js";
@@ -84,29 +84,40 @@ import "./Modules/UIController/MainBtnController.js";
84
84
  import "./Modules/UIController/mobileMainBtnController.js";
85
85
  import "./Modules/UIController/Revoke/index.js";
86
86
  import "./Components/Controller0.js";
87
- import "../vendor/svelte/internal/index.js";
87
+ import "../vendor/svelte/src/runtime/internal/utils.js";
88
+ import "../vendor/svelte/src/runtime/internal/dom.js";
89
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
90
+ import "../vendor/svelte/src/runtime/internal/environment.js";
91
+ import "../vendor/svelte/src/runtime/internal/loop.js";
92
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
93
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
94
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
95
+ import "../vendor/svelte/src/runtime/internal/Component.js";
96
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
97
+ import "../vendor/svelte/src/shared/version.js";
88
98
  import "./Components/Common/Switcher0.js";
99
+ import "../vendor/svelte/src/runtime/internal/each.js";
89
100
  import "./Components/Common/Exit.js";
90
101
  import "./Components/Common/icons/index.js";
91
102
  import "./Components/Controller1.js";
92
103
  import "./Components/Common/Switcher1.js";
93
104
  import "./Components/Common/CircleButton.js";
94
- import "../vendor/svelte/transition/index.js";
95
- import "../vendor/svelte/easing/index.js";
105
+ import "../vendor/svelte/src/runtime/transition/index.js";
106
+ import "../vendor/svelte/src/runtime/easing/index.js";
96
107
  import "./Modules/GuideController.js";
97
108
  import "../vendor/object-assign-deep/objectAssignDeep.js";
98
109
  import "./Components/Tip.js";
99
110
  import "./Controller/ShortcutKeyController.js";
100
111
  import "../shared-utils/safeObj.js";
101
- const Uo = function(o, r) {
112
+ const ir = function(o, r) {
102
113
  return new t(o, r);
103
114
  };
104
115
  export {
105
- Xo as Magnifier,
106
- Uo as PanoMeasurePlugin,
107
- rr as PanoMeasurePluginLine,
108
- Zo as PanoMeasurePluginModel,
109
- $o as PanoMeasurePluginPoint,
110
- ir as PanoMeasurePluginPolyline,
111
- Uo as default
116
+ er as Magnifier,
117
+ ir as PanoMeasurePlugin,
118
+ sr as PanoMeasurePluginLine,
119
+ nr as PanoMeasurePluginModel,
120
+ lr as PanoMeasurePluginPoint,
121
+ Mr as PanoMeasurePluginPolyline,
122
+ ir as default
112
123
  };
@@ -1,33 +1,44 @@
1
- var m = Object.defineProperty;
2
- var f = Object.getOwnPropertySymbols;
1
+ var f = Object.defineProperty;
2
+ var c = Object.getOwnPropertySymbols;
3
3
  var v = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
4
- var p = (i, e, t) => e in i ? m(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, c = (i, e) => {
4
+ var m = (i, e, t) => e in i ? f(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, u = (i, e) => {
5
5
  for (var t in e || (e = {}))
6
- v.call(e, t) && p(i, t, e[t]);
7
- if (f)
8
- for (var t of f(e))
9
- b.call(e, t) && p(i, t, e[t]);
6
+ v.call(e, t) && m(i, t, e[t]);
7
+ if (c)
8
+ for (var t of c(e))
9
+ b.call(e, t) && m(i, t, e[t]);
10
10
  return i;
11
11
  };
12
- var r = (i, e, t) => (p(i, typeof e != "symbol" ? e + "" : e, t), t);
12
+ var s = (i, e, t) => (m(i, typeof e != "symbol" ? e + "" : e, t), t);
13
13
  var d = (i, e, t) => new Promise((a, o) => {
14
- var n = (s) => {
14
+ var n = (r) => {
15
15
  try {
16
- h(t.next(s));
17
- } catch (u) {
18
- o(u);
16
+ p(t.next(r));
17
+ } catch (h) {
18
+ o(h);
19
19
  }
20
- }, l = (s) => {
20
+ }, l = (r) => {
21
21
  try {
22
- h(t.throw(s));
23
- } catch (u) {
24
- o(u);
22
+ p(t.throw(r));
23
+ } catch (h) {
24
+ o(h);
25
25
  }
26
- }, h = (s) => s.done ? a(s.value) : Promise.resolve(s.value).then(n, l);
27
- h((t = t.apply(i, e)).next());
26
+ }, p = (r) => r.done ? a(r.value) : Promise.resolve(r.value).then(n, l);
27
+ p((t = t.apply(i, e)).next());
28
28
  });
29
29
  import I from "./RulerItems.js";
30
- import "../vendor/svelte/internal/index.js";
30
+ import "../vendor/svelte/src/runtime/internal/utils.js";
31
+ import "../vendor/svelte/src/runtime/internal/dom.js";
32
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
33
+ import "../vendor/svelte/src/runtime/internal/environment.js";
34
+ import "../vendor/svelte/src/runtime/internal/loop.js";
35
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
36
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
37
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
38
+ import "../vendor/svelte/src/runtime/internal/each.js";
39
+ import "../vendor/svelte/src/runtime/internal/Component.js";
40
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
41
+ import "../vendor/svelte/src/shared/version.js";
31
42
  import "@realsee/five";
32
43
  import "../shared-utils/animationFrame/index.js";
33
44
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -37,13 +48,13 @@ import "../shared-utils/math/planimetry.js";
37
48
  import "../shared-utils/throttle.js";
38
49
  import "three";
39
50
  import "./RulerItem.js";
40
- class A {
51
+ class K {
41
52
  constructor(e, t) {
42
- r(this, "five");
43
- r(this, "container", document.createElement("div"));
44
- r(this, "panoRulerProData");
45
- r(this, "rulerItems");
46
- r(this, "state", {
53
+ s(this, "five");
54
+ s(this, "container", document.createElement("div"));
55
+ s(this, "panoRulerProData");
56
+ s(this, "rulerItems");
57
+ s(this, "state", {
47
58
  enabled: !1,
48
59
  loaded: !1,
49
60
  options: {
@@ -55,7 +66,7 @@ class A {
55
66
  this.five = e, this.container.classList.add("panoRulerProPlugin-container"), this.container.setAttribute(
56
67
  "style",
57
68
  "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
58
- ), t && (t.data && this.load(t.data), this.state.options = c(c({}, this.state.options), t.options || {}), (a = t.options) != null && a.className && this.container.classList.add((o = t.options) == null ? void 0 : o.className)), this.five.once("modelLoaded", () => d(this, null, function* () {
69
+ ), t && (t.data && this.load(t.data), this.state.options = u(u({}, this.state.options), t.options || {}), (a = t.options) != null && a.className && this.container.classList.add((o = t.options) == null ? void 0 : o.className)), this.five.once("modelLoaded", () => d(this, null, function* () {
59
70
  var n, l;
60
71
  (l = (n = this.five.getElement()) == null ? void 0 : n.parentNode) == null || l.append(this.container);
61
72
  })), this.five.once("dispose", () => this.dispose());
@@ -99,5 +110,5 @@ class A {
99
110
  }
100
111
  }
101
112
  export {
102
- A as default
113
+ K as default
103
114
  };