@realsee/dnalogel 2.27.3-dev.0 → 2.27.4-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 (379) hide show
  1. package/dist/AreaMakerPlugin/Controller.d.ts +94 -0
  2. package/dist/AreaMakerPlugin/index.d.ts +4 -0
  3. package/dist/AreaMakerPlugin/typing.d.ts +148 -0
  4. package/dist/AreaMakerPlugin/utils/Item.d.ts +114 -0
  5. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
  6. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +0 -2
  7. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
  8. package/dist/base/BasePluginWithData.d.ts +1 -1
  9. package/dist/components/AreaLabel/Assets/roomLabelBg.d.ts +1 -0
  10. package/dist/components/AreaLabel/LabelItem.svelte.d.ts +1 -0
  11. package/dist/index.cjs.js +52 -52
  12. package/dist/index.d.ts +1 -0
  13. package/dist/index.js +4946 -4289
  14. package/dist/index.umd.js +54 -54
  15. package/dist/shared-utils/index.d.ts +1 -0
  16. package/dist/shared-utils/math/planimetry.d.ts +1 -1
  17. package/dist/shared-utils/three/core/Object3D.d.ts +8 -0
  18. package/dist/shared-utils/three/index.d.ts +2 -0
  19. package/dist/shared-utils/three/objects/LineSegments.d.ts +9 -0
  20. package/docs/assets/search.js +1 -1
  21. package/docs/classes/AreaMakerPluginPluginType.AreaMakerController.html +711 -0
  22. package/docs/classes/AreaMakerPluginPluginType.AreaMakerItem.html +671 -0
  23. package/docs/classes/CSS3DRender.html +33 -31
  24. package/docs/classes/CruisePluginController.html +29 -27
  25. package/docs/classes/GuideLineItem.GuideLineItem.html +22 -20
  26. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +37 -35
  27. package/docs/classes/Magnifier.html +22 -20
  28. package/docs/classes/ModelRoomLabelController.html +13 -11
  29. package/docs/classes/Object3DHelperController.html +27 -25
  30. package/docs/classes/PaintBrush.html +17 -15
  31. package/docs/classes/PanoMeasurePluginLine.html +29 -27
  32. package/docs/classes/PanoMeasurePluginModel.html +29 -27
  33. package/docs/classes/PanoMeasurePluginPoint.html +13 -11
  34. package/docs/classes/PanoMeasurePluginPolyline.html +29 -27
  35. package/docs/classes/PanoTagPluginController.html +49 -47
  36. package/docs/classes/Util.BetterTween.html +13 -8
  37. package/docs/classes/Util.Interval.html +16 -11
  38. package/docs/classes/Util.LineSegments.html +379 -0
  39. package/docs/classes/Util.Magnifier.html +24 -19
  40. package/docs/classes/Util.Object3D.html +401 -0
  41. package/docs/classes/Util.PointDomHelper.html +15 -10
  42. package/docs/classes/Util.PointHelper.html +15 -10
  43. package/docs/classes/Util.PointSelectorHelper.html +20 -15
  44. package/docs/classes/Util.Rectangle.html +17 -12
  45. package/docs/enums/CameraMovementEffect.html +9 -7
  46. package/docs/enums/ContentType.html +22 -20
  47. package/docs/enums/DIRECTION.html +11 -9
  48. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -9
  49. package/docs/enums/DimensionType.html +9 -7
  50. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -8
  51. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -9
  52. package/docs/enums/PaintBrushTypeEnum.html +10 -8
  53. package/docs/enums/PointType.html +9 -7
  54. package/docs/enums/Rotation.html +10 -8
  55. package/docs/functions/AreaMakerPluginPlugin.html +284 -0
  56. package/docs/functions/CSS3DRenderPlugin.html +6 -4
  57. package/docs/functions/CameraMovementPlugin.html +6 -4
  58. package/docs/functions/CruisePlugin.html +7 -5
  59. package/docs/functions/GuideLinePlugin.html +7 -5
  60. package/docs/functions/ItemLabelPlugin.html +6 -4
  61. package/docs/functions/MapviewFloorplanPlugin.html +6 -4
  62. package/docs/functions/ModelChassisCompassPlugin.html +6 -4
  63. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -4
  64. package/docs/functions/ModelFloorplanPlugin.html +6 -4
  65. package/docs/functions/ModelItemLabelPlugin.html +6 -4
  66. package/docs/functions/ModelRoomLabelPlugin.html +6 -4
  67. package/docs/functions/ModelTVVideoPlugin.html +6 -4
  68. package/docs/functions/ModelViewPlugin.html +6 -4
  69. package/docs/functions/Object3DHelperPlugin.html +6 -4
  70. package/docs/functions/PanoCompassPlugin.html +6 -4
  71. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -4
  72. package/docs/functions/PanoDoorLabelPlugin.html +6 -4
  73. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -4
  74. package/docs/functions/PanoMeasurePlugin.html +6 -4
  75. package/docs/functions/PanoRulerPlugin.html +6 -4
  76. package/docs/functions/PanoRulerProPlugin.html +6 -4
  77. package/docs/functions/PanoSpatialTagPlugin.html +6 -4
  78. package/docs/functions/PanoTagPlugin.html +6 -4
  79. package/docs/functions/PanoVideoPlugin.html +6 -4
  80. package/docs/functions/PipelinePlugin.html +6 -4
  81. package/docs/functions/TopviewFloorplanPlugin.html +6 -4
  82. package/docs/functions/Util.absoluteUrl.html +9 -4
  83. package/docs/functions/Util.equal.html +333 -0
  84. package/docs/functions/Util.getCoordsFromClient.html +9 -4
  85. package/docs/functions/Util.getCoordsFromElement.html +9 -4
  86. package/docs/functions/Util.getFrameTime.html +9 -4
  87. package/docs/functions/Util.getIntersectFromRelativePosition.html +9 -4
  88. package/docs/functions/Util.getRaycasterFromFivePointer.html +9 -4
  89. package/docs/functions/Util.isAbsoluteURL.html +9 -4
  90. package/docs/functions/Util.isModelLike.html +9 -4
  91. package/docs/functions/Util.isNil.html +9 -4
  92. package/docs/functions/Util.isPanoramaLike.html +9 -4
  93. package/docs/functions/Util.nextFrame.html +9 -4
  94. package/docs/functions/Util.notNil.html +9 -4
  95. package/docs/functions/Util.requestAnimationFrameInterval.html +9 -4
  96. package/docs/functions/Util.tweenProgress.html +9 -4
  97. package/docs/functions/Util.uuid.html +9 -4
  98. package/docs/functions/pluginFlag.html +7 -5
  99. package/docs/index.html +7 -5
  100. package/docs/interfaces/AddTagConfig.html +8 -6
  101. package/docs/interfaces/AreaMakerPluginPluginType.AnimeOptions.html +325 -0
  102. package/docs/interfaces/AreaMakerPluginPluginType.Config.html +330 -0
  103. package/docs/interfaces/AreaMakerPluginPluginType.EventMap.html +616 -0
  104. package/docs/interfaces/AreaMakerPluginPluginType.Params.html +329 -0
  105. package/docs/interfaces/AreaMakerPluginPluginType.ServerAreaMakerItem.html +379 -0
  106. package/docs/interfaces/AreaMakerPluginPluginType.ServerAreaMakerItemV1.html +364 -0
  107. package/docs/interfaces/AreaMakerPluginPluginType.ServerDataV1.html +329 -0
  108. package/docs/interfaces/AreaMakerPluginPluginType.ServerDataV2.html +322 -0
  109. package/docs/interfaces/AreaMakerPluginPluginType.ShowHideOptions.html +321 -0
  110. package/docs/interfaces/AreaMakerPluginPluginType.State.html +350 -0
  111. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -11
  112. package/docs/interfaces/CSS3DRenderPluginState.html +10 -8
  113. package/docs/interfaces/CameraMovementPluginExportType.html +9 -7
  114. package/docs/interfaces/CruisePluginTypes.Config.html +10 -8
  115. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +14 -12
  116. package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -20
  117. package/docs/interfaces/CruisePluginTypes.MoveAction.html +14 -12
  118. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +16 -14
  119. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +16 -14
  120. package/docs/interfaces/CruisePluginTypes.PluginData.html +11 -9
  121. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +8 -6
  122. package/docs/interfaces/CruisePluginTypes.PluginState.html +13 -11
  123. package/docs/interfaces/EventMap.html +17 -15
  124. package/docs/interfaces/FloorplanBounding.html +10 -8
  125. package/docs/interfaces/FloorplanData.html +12 -10
  126. package/docs/interfaces/FloorplanEntrance.html +13 -11
  127. package/docs/interfaces/FloorplanExtraObject.html +12 -10
  128. package/docs/interfaces/FloorplanExtraObject3D.html +10 -8
  129. package/docs/interfaces/FloorplanFloorData.html +11 -9
  130. package/docs/interfaces/FloorplanImagePosition.html +9 -7
  131. package/docs/interfaces/FloorplanObserver.html +11 -9
  132. package/docs/interfaces/FloorplanOutlineItem.html +11 -9
  133. package/docs/interfaces/FloorplanPosition.html +9 -7
  134. package/docs/interfaces/FloorplanRoomItem.html +15 -13
  135. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -7
  136. package/docs/interfaces/FloorplanServerBounding.html +10 -8
  137. package/docs/interfaces/FloorplanServerComputedData.html +12 -10
  138. package/docs/interfaces/FloorplanServerData.html +9 -7
  139. package/docs/interfaces/FloorplanServerDoorItem.html +12 -10
  140. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -8
  141. package/docs/interfaces/FloorplanServerEntrance.html +13 -11
  142. package/docs/interfaces/FloorplanServerFloorData.html +11 -9
  143. package/docs/interfaces/FloorplanServerImagePosition.html +9 -7
  144. package/docs/interfaces/FloorplanServerObserver.html +11 -9
  145. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -9
  146. package/docs/interfaces/FloorplanServerPosition.html +9 -7
  147. package/docs/interfaces/FloorplanServerRoomItem.html +16 -14
  148. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -7
  149. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -8
  150. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +12 -10
  151. package/docs/interfaces/GuideLinePluginType.EventMap.html +15 -13
  152. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +10 -8
  153. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +8 -6
  154. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +15 -13
  155. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +10 -8
  156. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -18
  157. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +9 -7
  158. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -18
  159. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +7 -5
  160. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +8 -6
  161. package/docs/interfaces/GuideLinePluginType.PluginState.html +10 -8
  162. package/docs/interfaces/GuideLinePluginType.Route.html +13 -11
  163. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +11 -9
  164. package/docs/interfaces/HelperOffset.html +10 -8
  165. package/docs/interfaces/ImagePlaneGroup.html +8 -6
  166. package/docs/interfaces/ItemLabelPluginData.html +8 -6
  167. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -11
  168. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -9
  169. package/docs/interfaces/MinMax.html +9 -7
  170. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -7
  171. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -8
  172. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -7
  173. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -8
  174. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -8
  175. package/docs/interfaces/ModelItemLabelPluginData.html +8 -6
  176. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -11
  177. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -7
  178. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -6
  179. package/docs/interfaces/ModelTVVideoPluginData.html +11 -9
  180. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -8
  181. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -6
  182. package/docs/interfaces/ModelViewPluginExportType.html +13 -11
  183. package/docs/interfaces/Object3DHelperState.html +10 -8
  184. package/docs/interfaces/ObjectHelperControllers.html +11 -9
  185. package/docs/interfaces/PaintBrushAction.html +14 -12
  186. package/docs/interfaces/PaintBrushConfigs.html +14 -12
  187. package/docs/interfaces/PaintBrushState.html +12 -10
  188. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -10
  189. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -5
  190. package/docs/interfaces/PanoMeasureParameterType.html +18 -16
  191. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -8
  192. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -7
  193. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -7
  194. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -8
  195. package/docs/interfaces/PanoRulerPluginExportType.html +12 -10
  196. package/docs/interfaces/PanoRulerPluginOptions.html +9 -7
  197. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -8
  198. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -9
  199. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -7
  200. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -7
  201. package/docs/interfaces/PanoRulerProPluginState.html +10 -8
  202. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -5
  203. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -5
  204. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -11
  205. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -10
  206. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -13
  207. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -10
  208. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -13
  209. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -11
  210. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -10
  211. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -6
  212. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -8
  213. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -6
  214. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -9
  215. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -6
  216. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -8
  217. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -10
  218. package/docs/interfaces/Point.html +10 -8
  219. package/docs/interfaces/Room.html +11 -9
  220. package/docs/interfaces/RoomInfo.html +9 -7
  221. package/docs/interfaces/RoomLabel.html +16 -14
  222. package/docs/interfaces/RoomRules.html +7 -5
  223. package/docs/interfaces/Rooms.html +7 -5
  224. package/docs/interfaces/Scissor.html +11 -9
  225. package/docs/interfaces/State.html +10 -8
  226. package/docs/interfaces/TagCacheInterface.html +14 -12
  227. package/docs/interfaces/TagConfig.html +16 -14
  228. package/docs/interfaces/TagGLTFObjectGroup.html +8 -6
  229. package/docs/interfaces/TagIconUrl.html +14 -12
  230. package/docs/interfaces/TagObjectGroup.html +8 -6
  231. package/docs/interfaces/TagStyle.html +8 -6
  232. package/docs/interfaces/Tags.html +11 -9
  233. package/docs/interfaces/TemporaryState.html +8 -6
  234. package/docs/interfaces/Util.MagnifierParameter.html +15 -10
  235. package/docs/interfaces/Util.MouseGroupParameter.html +12 -7
  236. package/docs/interfaces/Util.PointIntersection.html +12 -7
  237. package/docs/modules/AreaMakerPluginPluginType.html +319 -0
  238. package/docs/modules/CruisePluginTypes.html +7 -5
  239. package/docs/modules/GuideLineItem.html +7 -5
  240. package/docs/modules/GuideLineModeItem.html +7 -5
  241. package/docs/modules/GuideLinePluginType.html +7 -5
  242. package/docs/modules/PanoVideoPluginType.html +7 -5
  243. package/docs/modules/Util.html +12 -4
  244. package/docs/modules.html +10 -6
  245. package/docs/types/AreaMakerPluginPluginType.AreaMakerItemEventMap.html +327 -0
  246. package/docs/types/AreaMakerPluginPluginType.PluginData.html +297 -0
  247. package/docs/types/AreaMakerPluginPluginType.ServerData.html +297 -0
  248. package/docs/types/ArrayPosition.html +7 -5
  249. package/docs/types/AudioAppearance.html +7 -5
  250. package/docs/types/AudioTagTypeConfigKey.html +7 -5
  251. package/docs/types/CSS3DRenderExportType.html +7 -5
  252. package/docs/types/CSS3DRenderPluginExportType.html +7 -5
  253. package/docs/types/CSS3DRenderPluginParameterType.html +7 -5
  254. package/docs/types/ClassFunctionParameters.html +7 -5
  255. package/docs/types/Color.html +7 -5
  256. package/docs/types/ContentTypeConfigKey.html +7 -5
  257. package/docs/types/ContentTypeConfigKeySplit.html +7 -5
  258. package/docs/types/ContentTypeMap.html +7 -5
  259. package/docs/types/Create3DDomContainerReturnType.html +7 -5
  260. package/docs/types/Create3DElementReturnType.html +7 -5
  261. package/docs/types/CruisePluginExportType.html +7 -5
  262. package/docs/types/CruisePluginTypes.CruiseData.html +7 -5
  263. package/docs/types/CruisePluginTypes.MoveEffect.html +7 -5
  264. package/docs/types/DeprecatedMediaPlaneProperty.html +7 -5
  265. package/docs/types/DeprecatedTagProperty.html +7 -5
  266. package/docs/types/Direction-1.html +7 -5
  267. package/docs/types/Direction4.html +7 -5
  268. package/docs/types/ElementRenderer.html +7 -5
  269. package/docs/types/FloorplanRuleLabels.html +7 -5
  270. package/docs/types/FloorplanServerRuleLabels.html +7 -5
  271. package/docs/types/GuideLinePluginExportType.html +7 -5
  272. package/docs/types/GuideLinePluginType.GuideLineItem.html +7 -5
  273. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +7 -5
  274. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +7 -5
  275. package/docs/types/GuideLinePluginType.GuideLineStyle.html +7 -5
  276. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +7 -5
  277. package/docs/types/GuideLinePluginType.PathItem.html +7 -5
  278. package/docs/types/GuideLinePluginType.PluginData.html +7 -5
  279. package/docs/types/HelperEventMap.html +7 -5
  280. package/docs/types/LoadTagConfig.html +7 -5
  281. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -5
  282. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -5
  283. package/docs/types/MediaData.html +7 -5
  284. package/docs/types/MediaStore.html +7 -5
  285. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -5
  286. package/docs/types/ModelFloorplanPluginParameterType.html +7 -5
  287. package/docs/types/ModelFloorplanPluginReturnType.html +7 -5
  288. package/docs/types/ModelRoomLabelPluginParameters.html +7 -5
  289. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -5
  290. package/docs/types/MoveArgs.html +7 -5
  291. package/docs/types/MoveOpts.html +7 -5
  292. package/docs/types/Object3DHelperEventMap.html +7 -5
  293. package/docs/types/ObjectFit.html +7 -5
  294. package/docs/types/PaintBrushEventMap.html +7 -5
  295. package/docs/types/PanoCompassPluginData.html +7 -5
  296. package/docs/types/PanoCompassPluginExportType.html +7 -5
  297. package/docs/types/PanoCompassPluginParameterType.html +7 -5
  298. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -5
  299. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -5
  300. package/docs/types/PanoIndex.html +7 -5
  301. package/docs/types/PanoMeasurePluginEvent.html +7 -5
  302. package/docs/types/PanoMeasureReturnType.html +7 -5
  303. package/docs/types/PanoSpatialTagPluginId.html +7 -5
  304. package/docs/types/PanoTagPluginExportInterface.html +7 -5
  305. package/docs/types/PanoTagPluginParamsInterface.html +7 -5
  306. package/docs/types/PanoVideoPluginParameterType.html +7 -5
  307. package/docs/types/PanoVideoPluginReturnType.html +7 -5
  308. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +7 -5
  309. package/docs/types/PipelinePluginParameterType.html +7 -5
  310. package/docs/types/PipelinePluginReturnType.html +7 -5
  311. package/docs/types/PlaneTag.html +7 -5
  312. package/docs/types/Point2DTag.html +7 -5
  313. package/docs/types/Point3DTag.html +7 -5
  314. package/docs/types/PointTag.html +7 -5
  315. package/docs/types/PointTagInstance.html +7 -5
  316. package/docs/types/Position.html +7 -5
  317. package/docs/types/RotateArgs.html +7 -5
  318. package/docs/types/RotateOpts.html +7 -5
  319. package/docs/types/RuleLabelsKey.html +7 -5
  320. package/docs/types/RuleLabelsValue.html +7 -5
  321. package/docs/types/StickType.html +7 -5
  322. package/docs/types/Tag.html +9 -12
  323. package/docs/types/Tag2D.html +7 -5
  324. package/docs/types/Tag3D.html +7 -5
  325. package/docs/types/TagConfigByKey.html +7 -5
  326. package/docs/types/TagContentType.html +7 -5
  327. package/docs/types/TagDimensionType.html +7 -5
  328. package/docs/types/TagElement.html +7 -5
  329. package/docs/types/TagEvents.html +7 -5
  330. package/docs/types/TagGLTFObject.html +7 -5
  331. package/docs/types/TagHooks.html +7 -5
  332. package/docs/types/TagId.html +7 -5
  333. package/docs/types/TagInstance.html +7 -5
  334. package/docs/types/TagPointType.html +7 -5
  335. package/docs/types/TagRendererMap.html +7 -5
  336. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -5
  337. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -5
  338. package/docs/types/WorkCode.html +7 -5
  339. package/docs/variables/FLOOR_TYPE_MAP.html +7 -5
  340. package/docs/variables/PLUGIN.html +7 -5
  341. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -5
  342. package/docs/variables/ROOM_TYPE_MAP.html +7 -5
  343. package/docs/variables/defaultGlobalConfig.html +8 -6
  344. package/docs/variables/itemLabelPluginServerParams.html +7 -5
  345. package/docs/variables/modelItemLabelPluginServerParams.html +7 -5
  346. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -5
  347. package/libs/AreaMakerPlugin/Controller.d.ts +94 -0
  348. package/libs/AreaMakerPlugin/Controller.js +336 -0
  349. package/libs/AreaMakerPlugin/index.d.ts +4 -0
  350. package/libs/AreaMakerPlugin/index.js +37 -0
  351. package/libs/AreaMakerPlugin/typing.d.ts +148 -0
  352. package/libs/AreaMakerPlugin/typing.js +1 -0
  353. package/libs/AreaMakerPlugin/utils/Item.d.ts +114 -0
  354. package/libs/AreaMakerPlugin/utils/Item.js +263 -0
  355. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +42 -39
  356. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
  357. package/libs/GuideLinePlugin/utils/createLineGeometry.js +13 -13
  358. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +0 -2
  359. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
  360. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +10 -10
  361. package/libs/base/BasePlugin.js +1 -1
  362. package/libs/base/BasePluginWithData.d.ts +1 -1
  363. package/libs/components/AreaLabel/Assets/roomLabelBg.d.ts +1 -0
  364. package/libs/components/AreaLabel/Assets/roomLabelBg.js +4 -0
  365. package/libs/components/AreaLabel/LabelItem.js +125 -0
  366. package/libs/components/AreaLabel/LabelItem.svelte.d.ts +1 -0
  367. package/libs/index.d.ts +1 -0
  368. package/libs/index.js +120 -112
  369. package/libs/shared-utils/index.d.ts +1 -0
  370. package/libs/shared-utils/index.js +27 -21
  371. package/libs/shared-utils/logger.js +1 -1
  372. package/libs/shared-utils/math/planimetry.d.ts +1 -1
  373. package/libs/shared-utils/math/planimetry.js +36 -29
  374. package/libs/shared-utils/three/core/Object3D.d.ts +8 -0
  375. package/libs/shared-utils/three/core/Object3D.js +22 -0
  376. package/libs/shared-utils/three/index.d.ts +2 -0
  377. package/libs/shared-utils/three/objects/LineSegments.d.ts +9 -0
  378. package/libs/shared-utils/three/objects/LineSegments.js +9 -0
  379. package/package.json +1 -1
package/libs/index.js CHANGED
@@ -1,57 +1,58 @@
1
1
  import { consoleVersion as o } from "./shared-utils/logger.js";
2
2
  import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
3
- import { PaintBrush as Dp } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as bp } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as Yp } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as cp } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as Np } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as wp, modelRoomLabelPluginServerParams as Bp } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as Up } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as $p } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as qp } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as Jp } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as Qp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FLOOR_TYPE_MAP as Xp, ROOM_FETILE_TYPE_MAP as Zp, ROOM_TYPE_MAP as oe } from "./floorplan/typings/floorplanServerData.js";
15
- import { ModelChassisCompassPlugin as te } from "./ModelChassisCompassPlugin/Plugin.js";
16
- import { ModelEntryDoorGuidePlugin as me } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
- import { CameraMovementPlugin as ee } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
- import { CameraMovementEffect as le, Rotation as ae } from "./CameraMovementPlugin/typing.js";
19
- import { PanoRulerPlugin as fe } from "./PanoRulerPlugin/Plugin.js";
20
- import { PanoRulerProPlugin as xe } from "./PanoRulerProPlugin/index.js";
21
- import { PanoCompassPlugin as se } from "./PanoCompassPlugin/index.js";
22
- import { PanoMeasurePlugin as Me } from "./PanoMeasurePlugin/index.js";
23
- import { PanoSpatialTagPlugin as Le } from "./PanoSpatialTagPlugin/Plugin.js";
24
- import { modelItemLabelPluginServerParams as _e } from "./ModelItemLabelPlugin/index.js";
25
- import { ModelTVVideoPlugin as Re } from "./ModelTVVideoPlugin/Plugin.js";
26
- import { DIRECTION as Oe } from "./ModelTVVideoPlugin/typings.js";
27
- import { itemLabelPluginServerParams as Se } from "./ItemLabelPlugin/index.js";
28
- import { PanoDoorLabelPlugin as De } from "./PanoDoorLabelPlugin/index.js";
29
- import { GuideLinePlugin as be } from "./GuideLinePlugin/index.js";
30
- import { CruisePlugin as Ye } from "./CruisePlugin/index.js";
31
- import { PanoTagPlugin as ce } from "./PanoTagPlugin/index.js";
32
- import { Object3DHelperPlugin as Ne } from "./Object3DHelperPlugin/index.js";
33
- import { PanoVideoPlugin as we } from "./PanoVideoPlugin/index.js";
34
- import { PipelinePlugin as He } from "./PipelinePlugin/index.js";
35
- import { index as je } from "./shared-utils/index.js";
36
- import { CSS3DRender as ke } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
37
- import { Model as ze } from "./PanoMeasurePlugin/Model/index.js";
38
- import { default as Ke } from "./PanoMeasurePlugin/Model/point.js";
39
- import { default as We } from "./PanoMeasurePlugin/Model/line.js";
40
- import { Polyline as Ze } from "./PanoMeasurePlugin/Model/polyline.js";
41
- import { default as rn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
42
- import { DISPLAY_STRATEGY_TYPE as mn } from "./ModelItemLabelPlugin/typings.js";
43
- import { ModelItemLabelPlugin as en } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
44
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as ln } from "./ItemLabelPlugin/typings.js";
45
- import { Plugin as Pn } from "./ItemLabelPlugin/Plugin.js";
46
- import { GuideLineItem$1 as un } from "./GuideLinePlugin/GuideLineItem/index.js";
47
- import { GuideLineModeItem$1 as gn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
48
- import { default as dn } from "./CruisePlugin/Controller.js";
49
- import { typing as Tn } from "./CruisePlugin/typing/index.js";
50
- import { default as Cn, pluginFlag as _n } from "./PanoTagPlugin/controller/index.js";
51
- import { defaultGlobalConfig as Rn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
52
- import { ContentType as On, DimensionType as yn, PointType as Sn } from "./PanoTagPlugin/Archive/deprecated.js";
53
- import { Object3DHelperController as Dn, PLUGIN as Gn } from "./Object3DHelperPlugin/Controller.js";
54
- import { typings as Fn } from "./PanoVideoPlugin/typings/index.js";
3
+ import { PaintBrush as cp } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as Np } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as wp } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as Hp } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as jp } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as kp, modelRoomLabelPluginServerParams as qp } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as Jp } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as Qp } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as Xp } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as oe } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as te } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FLOOR_TYPE_MAP as me, ROOM_FETILE_TYPE_MAP as pe, ROOM_TYPE_MAP as ee } from "./floorplan/typings/floorplanServerData.js";
15
+ import { ModelChassisCompassPlugin as le } from "./ModelChassisCompassPlugin/Plugin.js";
16
+ import { ModelEntryDoorGuidePlugin as Pe } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
+ import { CameraMovementPlugin as fe } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
+ import { CameraMovementEffect as ge, Rotation as se } from "./CameraMovementPlugin/typing.js";
19
+ import { PanoRulerPlugin as Me } from "./PanoRulerPlugin/Plugin.js";
20
+ import { PanoRulerProPlugin as Le } from "./PanoRulerProPlugin/index.js";
21
+ import { PanoCompassPlugin as _e } from "./PanoCompassPlugin/index.js";
22
+ import { PanoMeasurePlugin as Re } from "./PanoMeasurePlugin/index.js";
23
+ import { PanoSpatialTagPlugin as Oe } from "./PanoSpatialTagPlugin/Plugin.js";
24
+ import { modelItemLabelPluginServerParams as Ae } from "./ModelItemLabelPlugin/index.js";
25
+ import { ModelTVVideoPlugin as De } from "./ModelTVVideoPlugin/Plugin.js";
26
+ import { DIRECTION as be } from "./ModelTVVideoPlugin/typings.js";
27
+ import { itemLabelPluginServerParams as Ye } from "./ItemLabelPlugin/index.js";
28
+ import { PanoDoorLabelPlugin as ce } from "./PanoDoorLabelPlugin/index.js";
29
+ import { GuideLinePlugin as Ne } from "./GuideLinePlugin/index.js";
30
+ import { CruisePlugin as we } from "./CruisePlugin/index.js";
31
+ import { PanoTagPlugin as He } from "./PanoTagPlugin/index.js";
32
+ import { Object3DHelperPlugin as je } from "./Object3DHelperPlugin/index.js";
33
+ import { PanoVideoPlugin as ke } from "./PanoVideoPlugin/index.js";
34
+ import { PipelinePlugin as ze } from "./PipelinePlugin/index.js";
35
+ import { AreaMakerPluginPlugin as Ke } from "./AreaMakerPlugin/index.js";
36
+ import { index as We } from "./shared-utils/index.js";
37
+ import { CSS3DRender as Ze } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
38
+ import { Model as rn } from "./PanoMeasurePlugin/Model/index.js";
39
+ import { default as mn } from "./PanoMeasurePlugin/Model/point.js";
40
+ import { default as en } from "./PanoMeasurePlugin/Model/line.js";
41
+ import { Polyline as ln } from "./PanoMeasurePlugin/Model/polyline.js";
42
+ import { default as Pn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
43
+ import { DISPLAY_STRATEGY_TYPE as fn } from "./ModelItemLabelPlugin/typings.js";
44
+ import { ModelItemLabelPlugin as gn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
45
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as dn } from "./ItemLabelPlugin/typings.js";
46
+ import { Plugin as Tn } from "./ItemLabelPlugin/Plugin.js";
47
+ import { GuideLineItem$1 as Cn } from "./GuideLinePlugin/GuideLineItem/index.js";
48
+ import { GuideLineModeItem$1 as En } from "./GuideLinePlugin/GuideLineModeItem/index.js";
49
+ import { default as In } from "./CruisePlugin/Controller.js";
50
+ import { typing as yn } from "./CruisePlugin/typing/index.js";
51
+ import { default as Sn, pluginFlag as Dn } from "./PanoTagPlugin/controller/index.js";
52
+ import { defaultGlobalConfig as bn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
53
+ import { ContentType as Yn, DimensionType as vn, PointType as cn } from "./PanoTagPlugin/Archive/deprecated.js";
54
+ import { Object3DHelperController as Nn, PLUGIN as hn } from "./Object3DHelperPlugin/Controller.js";
55
+ import { typings as Bn } from "./PanoVideoPlugin/typings/index.js";
55
56
  import "./components/PaintBrush/Controller.js";
56
57
  import "./components/PaintBrush/utils.js";
57
58
  import "./components/PaintBrush/tween.js";
@@ -394,6 +395,12 @@ import "./PipelinePlugin/utils/Objects/Pipe.js";
394
395
  import "./shared-utils/three/Extras/Curves/BezierCurve3.js";
395
396
  import "./shared-utils/three/Extras/Core/Interpolations.js";
396
397
  import "./shared-utils/three/Extras/Core/Interpolations2.js";
398
+ import "./AreaMakerPlugin/Controller.js";
399
+ import "./AreaMakerPlugin/utils/Item.js";
400
+ import "./shared-utils/three/core/Object3D.js";
401
+ import "./shared-utils/three/objects/LineSegments.js";
402
+ import "./components/AreaLabel/LabelItem.js";
403
+ import "./components/AreaLabel/Assets/roomLabelBg.js";
397
404
  import "./shared-utils/math/Interval.js";
398
405
  import "./shared-utils/math/Rectangle.js";
399
406
  import "./shared-utils/three/getCoords.js";
@@ -401,64 +408,65 @@ import "./shared-utils/three/getRaycaster.js";
401
408
  r();
402
409
  o();
403
410
  export {
404
- ke as CSS3DRender,
405
- cp as CSS3DRenderPlugin,
406
- le as CameraMovementEffect,
407
- ee as CameraMovementPlugin,
408
- On as ContentType,
409
- Ye as CruisePlugin,
410
- dn as CruisePluginController,
411
- Tn as CruisePluginTypes,
412
- Oe as DIRECTION,
413
- mn as DISPLAY_STRATEGY_TYPE,
414
- yn as DimensionType,
415
- Up as FLOOR_PLAN_ATTACHED_TO,
416
- Xp as FLOOR_TYPE_MAP,
417
- un as GuideLineItem,
418
- gn as GuideLineModeItem,
419
- be as GuideLinePlugin,
420
- ln as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
421
- Pn as ItemLabelPlugin,
422
- rn as Magnifier,
423
- qp as MapviewFloorplanPlugin,
424
- te as ModelChassisCompassPlugin,
425
- me as ModelEntryDoorGuidePlugin,
426
- $p as ModelFloorplanPlugin,
427
- en as ModelItemLabelPlugin,
428
- wp as ModelRoomLabelPlugin,
429
- Re as ModelTVVideoPlugin,
430
- Yp as ModelViewPlugin,
431
- Dn as Object3DHelperController,
432
- Ne as Object3DHelperPlugin,
433
- Gn as PLUGIN,
434
- Dp as PaintBrush,
435
- bp as PaintBrushTypeEnum,
436
- se as PanoCompassPlugin,
437
- Np as PanoCursorRaycasterPlugin,
438
- De as PanoDoorLabelPlugin,
439
- Qp as PanoFloorplanRadarPlugin,
440
- Me as PanoMeasurePlugin,
441
- We as PanoMeasurePluginLine,
442
- ze as PanoMeasurePluginModel,
443
- Ke as PanoMeasurePluginPoint,
444
- Ze as PanoMeasurePluginPolyline,
445
- fe as PanoRulerPlugin,
446
- xe as PanoRulerProPlugin,
447
- Le as PanoSpatialTagPlugin,
448
- ce as PanoTagPlugin,
449
- Cn as PanoTagPluginController,
450
- we as PanoVideoPlugin,
451
- Fn as PanoVideoPluginType,
452
- He as PipelinePlugin,
453
- Sn as PointType,
454
- Zp as ROOM_FETILE_TYPE_MAP,
455
- oe as ROOM_TYPE_MAP,
456
- ae as Rotation,
457
- Jp as TopviewFloorplanPlugin,
458
- je as Util,
459
- Rn as defaultGlobalConfig,
460
- Se as itemLabelPluginServerParams,
461
- _e as modelItemLabelPluginServerParams,
462
- Bp as modelRoomLabelPluginServerParams,
463
- _n as pluginFlag
411
+ Ke as AreaMakerPluginPlugin,
412
+ Ze as CSS3DRender,
413
+ Hp as CSS3DRenderPlugin,
414
+ ge as CameraMovementEffect,
415
+ fe as CameraMovementPlugin,
416
+ Yn as ContentType,
417
+ we as CruisePlugin,
418
+ In as CruisePluginController,
419
+ yn as CruisePluginTypes,
420
+ be as DIRECTION,
421
+ fn as DISPLAY_STRATEGY_TYPE,
422
+ vn as DimensionType,
423
+ Jp as FLOOR_PLAN_ATTACHED_TO,
424
+ me as FLOOR_TYPE_MAP,
425
+ Cn as GuideLineItem,
426
+ En as GuideLineModeItem,
427
+ Ne as GuideLinePlugin,
428
+ dn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
429
+ Tn as ItemLabelPlugin,
430
+ Pn as Magnifier,
431
+ Xp as MapviewFloorplanPlugin,
432
+ le as ModelChassisCompassPlugin,
433
+ Pe as ModelEntryDoorGuidePlugin,
434
+ Qp as ModelFloorplanPlugin,
435
+ gn as ModelItemLabelPlugin,
436
+ kp as ModelRoomLabelPlugin,
437
+ De as ModelTVVideoPlugin,
438
+ wp as ModelViewPlugin,
439
+ Nn as Object3DHelperController,
440
+ je as Object3DHelperPlugin,
441
+ hn as PLUGIN,
442
+ cp as PaintBrush,
443
+ Np as PaintBrushTypeEnum,
444
+ _e as PanoCompassPlugin,
445
+ jp as PanoCursorRaycasterPlugin,
446
+ ce as PanoDoorLabelPlugin,
447
+ te as PanoFloorplanRadarPlugin,
448
+ Re as PanoMeasurePlugin,
449
+ en as PanoMeasurePluginLine,
450
+ rn as PanoMeasurePluginModel,
451
+ mn as PanoMeasurePluginPoint,
452
+ ln as PanoMeasurePluginPolyline,
453
+ Me as PanoRulerPlugin,
454
+ Le as PanoRulerProPlugin,
455
+ Oe as PanoSpatialTagPlugin,
456
+ He as PanoTagPlugin,
457
+ Sn as PanoTagPluginController,
458
+ ke as PanoVideoPlugin,
459
+ Bn as PanoVideoPluginType,
460
+ ze as PipelinePlugin,
461
+ cn as PointType,
462
+ pe as ROOM_FETILE_TYPE_MAP,
463
+ ee as ROOM_TYPE_MAP,
464
+ se as Rotation,
465
+ oe as TopviewFloorplanPlugin,
466
+ We as Util,
467
+ bn as defaultGlobalConfig,
468
+ Ye as itemLabelPluginServerParams,
469
+ Ae as modelItemLabelPluginServerParams,
470
+ qp as modelRoomLabelPluginServerParams,
471
+ Dn as pluginFlag
464
472
  };
@@ -5,3 +5,4 @@ export * from './isNil';
5
5
  export * from './uuid';
6
6
  export * from './absoluteUrl';
7
7
  export * from './animationFrame';
8
+ export { default as equal } from './equal';
@@ -3,41 +3,47 @@ import { Rectangle as r } from "./math/Rectangle.js";
3
3
  import { isModelLike as e, isPanoramaLike as t } from "./five/mode.js";
4
4
  import { Magnifier as m } from "./three/Magnifier.js";
5
5
  import { getCoordsFromClient as i, getCoordsFromElement as n } from "./three/getCoords.js";
6
- import { getRaycasterFromFivePointer as l } from "./three/getRaycaster.js";
7
- import { getIntersectFromRelativePosition as p } from "./three/getIntersect.js";
6
+ import { getRaycasterFromFivePointer as p } from "./three/getRaycaster.js";
7
+ import { getIntersectFromRelativePosition as l } from "./three/getIntersect.js";
8
8
  import { PointHelper as f } from "./three/PointHelper.js";
9
9
  import { PointDomHelper as a } from "./three/PointDomHelper.js";
10
10
  import { PointSelectorHelper as s } from "./three/PointSelectorHelper.js";
11
- import { isNil as g, notNil as u } from "./isNil.js";
12
- import { uuid as F } from "./uuid.js";
13
- import { absoluteUrl as P, isAbsoluteURL as c } from "./absoluteUrl.js";
14
- import { getFrameTime as d, nextFrame as b, requestAnimationFrameInterval as v } from "./animationFrame/index.js";
15
- import { BetterTween as R, tweenProgress as _ } from "./animationFrame/BetterTween.js";
16
- const U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11
+ import { Object3D as g } from "./three/core/Object3D.js";
12
+ import { LineSegments as u } from "./three/objects/LineSegments.js";
13
+ import { isNil as c, notNil as F } from "./isNil.js";
14
+ import { uuid as P } from "./uuid.js";
15
+ import { absoluteUrl as d, isAbsoluteURL as b } from "./absoluteUrl.js";
16
+ import { getFrameTime as v, nextFrame as L, requestAnimationFrameInterval as R } from "./animationFrame/index.js";
17
+ import { equal as S } from "./equal.js";
18
+ import { BetterTween as _, tweenProgress as j } from "./animationFrame/BetterTween.js";
19
+ const h = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17
20
  __proto__: null,
18
- BetterTween: R,
21
+ BetterTween: _,
19
22
  Interval: o,
23
+ LineSegments: u,
20
24
  Magnifier: m,
25
+ Object3D: g,
21
26
  PointDomHelper: a,
22
27
  PointHelper: f,
23
28
  PointSelectorHelper: s,
24
29
  Rectangle: r,
25
- absoluteUrl: P,
30
+ absoluteUrl: d,
31
+ equal: S,
26
32
  getCoordsFromClient: i,
27
33
  getCoordsFromElement: n,
28
- getFrameTime: d,
29
- getIntersectFromRelativePosition: p,
30
- getRaycasterFromFivePointer: l,
31
- isAbsoluteURL: c,
34
+ getFrameTime: v,
35
+ getIntersectFromRelativePosition: l,
36
+ getRaycasterFromFivePointer: p,
37
+ isAbsoluteURL: b,
32
38
  isModelLike: e,
33
- isNil: g,
39
+ isNil: c,
34
40
  isPanoramaLike: t,
35
- nextFrame: b,
36
- notNil: u,
37
- requestAnimationFrameInterval: v,
38
- tweenProgress: _,
39
- uuid: F
41
+ nextFrame: L,
42
+ notNil: F,
43
+ requestAnimationFrameInterval: R,
44
+ tweenProgress: j,
45
+ uuid: P
40
46
  }, Symbol.toStringTag, { value: "Module" }));
41
47
  export {
42
- U as index
48
+ h as index
43
49
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv2.27.3-dev.0",
3
+ "%c %c@realsee/dnalogel %cv2.27.4-0",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
@@ -111,6 +111,6 @@ export declare function getCenterPointOfPoints(points: Point[]): {
111
111
  x: number;
112
112
  y: number;
113
113
  };
114
- export declare function isIntersect(linePoints1: Point[], linePoints2: Point[]): 0 | 1;
114
+ export declare function isIntersect(linePoints1: Point[], linePoints2: Point[]): 1 | 0;
115
115
  export declare function getAreaSize(points: Point[]): number;
116
116
  export declare function getAreaSizeWithoutLine(points: Point[]): number;
@@ -1,43 +1,50 @@
1
- function I(r, x) {
2
- return r.x === x.x && r.y === x.y;
1
+ function I(x, r) {
2
+ return x.x === r.x && x.y === r.y;
3
3
  }
4
- function N(r, x) {
5
- return Math.abs(r) === 1 / 0 && Math.abs(x) === 1 / 0 ? !0 : Math.abs(r - x) < 1e-3;
4
+ function b(x, r) {
5
+ return Math.abs(x) === 1 / 0 && Math.abs(r) === 1 / 0 ? !0 : Math.abs(x - r) < 1e-3;
6
6
  }
7
- function m(r, x) {
8
- return (x.y - r.y) / (x.x - r.x);
7
+ function M(x, r) {
8
+ return (r.y - x.y) / (r.x - x.x);
9
9
  }
10
- function O(r, x, f) {
11
- const u = m(r[1], r[0]), y = m(x[1], x[0]);
12
- if (isNaN(u) || isNaN(y) || N(u, y))
10
+ function g(x, r, y) {
11
+ const a = M(x[1], x[0]), u = M(r[1], r[0]);
12
+ if (isNaN(a) || isNaN(u) || b(a, u))
13
13
  return !1;
14
- if (h(r[0], x))
15
- return r[0];
16
- if (h(r[1], x))
17
- return r[1];
18
- if (h(x[0], r))
14
+ if (m(x[0], r))
19
15
  return x[0];
20
- if (h(x[1], r))
16
+ if (m(x[1], r))
21
17
  return x[1];
22
- if (f && !L(r, x))
18
+ if (m(r[0], x))
19
+ return r[0];
20
+ if (m(r[1], x))
21
+ return r[1];
22
+ if (y && !O(x, r))
23
23
  return !1;
24
- const a = r[0], c = x[0];
24
+ const f = x[0], c = r[0];
25
+ if (Math.abs(a) === 1 / 0)
26
+ return { x: f.x, y: r[1].y - (r[1].x - f.x) * u };
25
27
  if (Math.abs(u) === 1 / 0)
26
- return { x: a.x, y: x[1].y - (x[1].x - a.x) * y };
27
- if (Math.abs(y) === 1 / 0)
28
- return { x: c.x, y: r[1].y - (r[1].x - c.x) * u };
29
- const b = (c.y - a.y + u * a.x - y * c.x) / (u - y), K = u * b - u * a.x + a.y;
30
- return { x: b, y: K };
28
+ return { x: c.x, y: x[1].y - (x[1].x - c.x) * a };
29
+ const t = (c.y - f.y + a * f.x - u * c.x) / (a - u), N = a * t - a * f.x + f.y;
30
+ return { x: t, y: N };
31
+ }
32
+ function m(x, r) {
33
+ return I(x, r[0]) || I(x, r[1]) ? !0 : (r[0].x - x.x) * (x.x - r[1].x) >= 0 && (r[0].y - x.y) * (x.y - r[1].y) >= 0 && b(M(r[0], x), M(x, r[1]));
31
34
  }
32
- function h(r, x) {
33
- return I(r, x[0]) || I(r, x[1]) ? !0 : (x[0].x - r.x) * (r.x - x[1].x) >= 0 && (x[0].y - r.y) * (r.y - x[1].y) >= 0 && N(m(x[0], r), m(r, x[1]));
35
+ function K(x) {
36
+ let r = 1 / 0, y = -1 / 0, a = 1 / 0, u = -1 / 0;
37
+ return x.forEach((f) => {
38
+ r = Math.min(r, f.x), y = Math.max(y, f.x), a = Math.min(a, f.y), u = Math.max(u, f.y);
39
+ }), { x: (r + y) / 2, y: (a + u) / 2 };
34
40
  }
35
- function M(r, x, f) {
36
- return (r.x - f.x) * (x.y - f.y) - (x.x - f.x) * (r.y - f.y);
41
+ function h(x, r, y) {
42
+ return (x.x - y.x) * (r.y - y.y) - (r.x - y.x) * (x.y - y.y);
37
43
  }
38
- function L(r, x) {
39
- return Math.max(r[0].x, r[1].x) >= Math.min(x[0].x, x[1].x) && Math.max(x[0].x, x[1].x) >= Math.min(r[0].x, r[1].x) && Math.max(r[0].y, r[1].y) >= Math.min(x[0].y, x[1].y) && M(x[0], r[1], r[0]) * M(r[1], x[1], r[0]) > 0 && M(r[0], x[1], x[0]) * M(x[1], r[1], x[0]) > 0 ? 1 : 0;
44
+ function O(x, r) {
45
+ return Math.max(x[0].x, x[1].x) >= Math.min(r[0].x, r[1].x) && Math.max(r[0].x, r[1].x) >= Math.min(x[0].x, x[1].x) && Math.max(x[0].y, x[1].y) >= Math.min(r[0].y, r[1].y) && h(r[0], x[1], x[0]) * h(x[1], r[1], x[0]) > 0 && h(x[0], r[1], r[0]) * h(r[1], x[1], r[0]) > 0 ? 1 : 0;
40
46
  }
41
47
  export {
42
- O as intersectionOfLine
48
+ K as getCenterPointOfPoints,
49
+ g as intersectionOfLine
43
50
  };
@@ -0,0 +1,8 @@
1
+ import * as THREE from 'three';
2
+ export declare class Object3D<ChildeItem extends THREE.Object3D = THREE.Object3D> extends THREE.Object3D {
3
+ children: ChildeItem[];
4
+ /** 获取 raycaster 与当前物体的交点 */
5
+ getRaycastIntersects(raycaster: THREE.Raycaster): THREE.Intersection[];
6
+ /** 获取 raycaster 与当前物体的第一个交点 */
7
+ getRaycastIntersection(raycaster: THREE.Raycaster): THREE.Intersection;
8
+ }
@@ -0,0 +1,22 @@
1
+ var a = Object.defineProperty;
2
+ var n = (s, e, t) => e in s ? a(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
3
+ var r = (s, e, t) => (n(s, typeof e != "symbol" ? e + "" : e, t), t);
4
+ import * as i from "three";
5
+ class y extends i.Object3D {
6
+ constructor() {
7
+ super(...arguments);
8
+ r(this, "children", []);
9
+ }
10
+ /** 获取 raycaster 与当前物体的交点 */
11
+ getRaycastIntersects(t) {
12
+ const c = [];
13
+ return this.raycast(t, c), c;
14
+ }
15
+ /** 获取 raycaster 与当前物体的第一个交点 */
16
+ getRaycastIntersection(t) {
17
+ return this.getRaycastIntersects(t)[0];
18
+ }
19
+ }
20
+ export {
21
+ y as Object3D
22
+ };
@@ -5,3 +5,5 @@ export * from './getIntersect';
5
5
  export * from './PointHelper';
6
6
  export * from './PointDomHelper';
7
7
  export * from './PointSelectorHelper';
8
+ export * from './core/Object3D';
9
+ export * from './objects/LineSegments';
@@ -0,0 +1,9 @@
1
+ /** @file three.js 中声明有问题,这里重载一下声明 */
2
+ import type { Geometry, BufferGeometry, Material } from 'three';
3
+ import { LineSegments as OriginLineSegments } from 'three';
4
+ declare class LineSegments<TGeometry extends Geometry | BufferGeometry = Geometry | BufferGeometry, TMaterial extends Material | Material[] = Material | Material[]> extends OriginLineSegments<TGeometry, TMaterial> {
5
+ geometry: TGeometry;
6
+ material: TMaterial;
7
+ constructor(geometry: TGeometry, material: TMaterial);
8
+ }
9
+ export { LineSegments };
@@ -0,0 +1,9 @@
1
+ import { LineSegments as n } from "three";
2
+ class m extends n {
3
+ constructor(e, s) {
4
+ super(e, s);
5
+ }
6
+ }
7
+ export {
8
+ m as LineSegments
9
+ };
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.27.3-dev.0",
10
+ "version": "2.27.4-0",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",