@realsee/dnalogel 3.12.7 → 3.14.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 (355) hide show
  1. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +5 -0
  2. package/dist/GuideLinePlugin/typing.d.ts +13 -0
  3. package/dist/index.cjs.js +25 -7
  4. package/dist/index.js +41 -8
  5. package/dist/index.umd.js +25 -7
  6. package/docs/assets/highlight.css +9 -2
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  9. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  10. package/docs/classes/CSS3DRender.html +4 -4
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +73 -40
  13. package/docs/classes/Magnifier.html +3 -3
  14. package/docs/classes/ModelRoomLabelController.html +3 -3
  15. package/docs/classes/MoveController.html +3 -3
  16. package/docs/classes/Object3DHelperController.html +3 -3
  17. package/docs/classes/PaintBrush.html +3 -3
  18. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  19. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  20. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  21. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  22. package/docs/classes/PanoTagPluginController.html +3 -3
  23. package/docs/classes/Util.BetterTween.html +3 -3
  24. package/docs/classes/Util.Interval.html +3 -3
  25. package/docs/classes/Util.LineSegments.html +3 -3
  26. package/docs/classes/Util.Magnifier.html +3 -3
  27. package/docs/classes/Util.Object3D.html +3 -3
  28. package/docs/classes/Util.PointDomHelper.html +3 -3
  29. package/docs/classes/Util.PointHelper.html +3 -3
  30. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  31. package/docs/classes/Util.Rectangle.html +3 -3
  32. package/docs/classes/WalkController.html +3 -3
  33. package/docs/enums/CameraMovementEffect.html +3 -3
  34. package/docs/enums/ContentType.html +3 -3
  35. package/docs/enums/DIRECTION.html +3 -3
  36. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  37. package/docs/enums/DimensionType.html +3 -3
  38. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  39. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  40. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  41. package/docs/enums/PointType.html +3 -3
  42. package/docs/enums/Rotation.html +3 -3
  43. package/docs/functions/AreaMakerPlugin.html +3 -3
  44. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  45. package/docs/functions/CameraMovementPlugin.html +3 -3
  46. package/docs/functions/CruisePlugin.html +3 -3
  47. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  48. package/docs/functions/GuideLinePlugin.html +3 -3
  49. package/docs/functions/ItemLabelPlugin.html +3 -3
  50. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  51. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  52. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  53. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  54. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  55. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  56. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  57. package/docs/functions/ModelViewPlugin.html +3 -3
  58. package/docs/functions/MovePlugin.html +3 -3
  59. package/docs/functions/Object3DHelperPlugin.html +3 -3
  60. package/docs/functions/PanoCompassPlugin.html +3 -3
  61. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  62. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  63. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  64. package/docs/functions/PanoMeasurePlugin.html +3 -3
  65. package/docs/functions/PanoRulerPlugin.html +3 -3
  66. package/docs/functions/PanoRulerProPlugin.html +3 -3
  67. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  68. package/docs/functions/PanoTagPlugin.html +3 -3
  69. package/docs/functions/PanoVideoPlugin.html +3 -3
  70. package/docs/functions/PipelinePlugin.html +3 -3
  71. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  72. package/docs/functions/Util.absoluteUrl.html +3 -3
  73. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  74. package/docs/functions/Util.equal.html +3 -3
  75. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  76. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  77. package/docs/functions/Util.getFrameTime.html +3 -3
  78. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  79. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  80. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  81. package/docs/functions/Util.isModelLike.html +3 -3
  82. package/docs/functions/Util.isNil.html +3 -3
  83. package/docs/functions/Util.isPanoramaLike.html +3 -3
  84. package/docs/functions/Util.nextFrame.html +3 -3
  85. package/docs/functions/Util.notNil.html +3 -3
  86. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  87. package/docs/functions/Util.tweenProgress.html +3 -3
  88. package/docs/functions/Util.uuid.html +3 -3
  89. package/docs/functions/pluginFlag.html +3 -3
  90. package/docs/index.html +4 -4
  91. package/docs/interfaces/AddTagConfig.html +3 -3
  92. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  93. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  94. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  95. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  96. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  97. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  98. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  99. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  100. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  101. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  102. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  103. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  104. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  105. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  106. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  107. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  108. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  109. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  110. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  111. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  112. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  113. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  114. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  115. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  116. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  117. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  118. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  119. package/docs/interfaces/EventMap.html +3 -3
  120. package/docs/interfaces/FloorplanBounding.html +3 -3
  121. package/docs/interfaces/FloorplanData.html +3 -3
  122. package/docs/interfaces/FloorplanEntrance.html +3 -3
  123. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  124. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  125. package/docs/interfaces/FloorplanFloorData.html +3 -3
  126. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  127. package/docs/interfaces/FloorplanObserver.html +3 -3
  128. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  129. package/docs/interfaces/FloorplanPosition.html +3 -3
  130. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  131. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  132. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  133. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  134. package/docs/interfaces/FloorplanServerData.html +3 -3
  135. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  136. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  137. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  138. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  139. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  140. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  141. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  142. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  143. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  144. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  145. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  146. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  147. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  148. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  149. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  150. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +39 -7
  151. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  152. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  153. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +41 -7
  154. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  155. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +41 -7
  156. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  157. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  161. package/docs/interfaces/HelperOffset.html +3 -3
  162. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  163. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  164. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  165. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  166. package/docs/interfaces/MinMax.html +3 -3
  167. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  168. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  169. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  170. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  171. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  172. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  173. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  174. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  175. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  176. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  177. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  178. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  179. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  180. package/docs/interfaces/Object3DHelperState.html +3 -3
  181. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  182. package/docs/interfaces/PaintBrushAction.html +3 -3
  183. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  184. package/docs/interfaces/PaintBrushState.html +3 -3
  185. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  186. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  187. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  188. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  189. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  190. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  191. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  192. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  193. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  194. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  195. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  196. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  197. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  198. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  199. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  200. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  201. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  202. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  203. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  204. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  205. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  206. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  207. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  208. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  209. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  210. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  211. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  212. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  213. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  214. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  215. package/docs/interfaces/Point.html +3 -3
  216. package/docs/interfaces/Room.html +3 -3
  217. package/docs/interfaces/RoomInfo.html +3 -3
  218. package/docs/interfaces/RoomLabel.html +3 -3
  219. package/docs/interfaces/RoomRules.html +3 -3
  220. package/docs/interfaces/Rooms.html +3 -3
  221. package/docs/interfaces/Scissor.html +3 -3
  222. package/docs/interfaces/State.html +3 -3
  223. package/docs/interfaces/TagCacheInterface.html +3 -3
  224. package/docs/interfaces/TagConfig.html +3 -3
  225. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  226. package/docs/interfaces/TagIconUrl.html +3 -3
  227. package/docs/interfaces/TagObjectGroup.html +3 -3
  228. package/docs/interfaces/TagStyle.html +3 -3
  229. package/docs/interfaces/Tags.html +3 -3
  230. package/docs/interfaces/TemporaryState.html +3 -3
  231. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  232. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  233. package/docs/interfaces/Util.PointIntersection.html +3 -3
  234. package/docs/modules/AreaMakerPluginType.html +3 -3
  235. package/docs/modules/CruisePluginTypes.html +3 -3
  236. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  237. package/docs/modules/GuideLineItem.html +3 -3
  238. package/docs/modules/GuideLineModeItem.html +3 -3
  239. package/docs/modules/GuideLinePluginType.html +3 -3
  240. package/docs/modules/PanoVideoPluginType.html +3 -3
  241. package/docs/modules/Util.html +3 -3
  242. package/docs/modules.html +4 -4
  243. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  244. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  245. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  246. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  247. package/docs/types/ArrayPosition.html +3 -3
  248. package/docs/types/AudioAppearance.html +3 -3
  249. package/docs/types/AudioTagTypeConfigKey.html +3 -3
  250. package/docs/types/CSS3DRenderExportType.html +3 -3
  251. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  252. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  253. package/docs/types/ClassFunctionParameters.html +3 -3
  254. package/docs/types/Color.html +3 -3
  255. package/docs/types/ContentTypeConfigKey.html +3 -3
  256. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  257. package/docs/types/ContentTypeMap.html +3 -3
  258. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  259. package/docs/types/Create3DElementReturnType.html +3 -3
  260. package/docs/types/CruisePluginExportType.html +3 -3
  261. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  262. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  263. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  264. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  265. package/docs/types/DeprecatedTagProperty.html +3 -3
  266. package/docs/types/Direction-1.html +3 -3
  267. package/docs/types/Direction4.html +3 -3
  268. package/docs/types/ElementRenderer.html +3 -3
  269. package/docs/types/FloorplanRuleLabels.html +3 -3
  270. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  271. package/docs/types/GuideLinePluginExportType.html +3 -3
  272. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  273. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  274. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  275. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  276. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  277. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  278. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  279. package/docs/types/HelperEventMap.html +3 -3
  280. package/docs/types/LoadTagConfig.html +3 -3
  281. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  282. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  283. package/docs/types/MediaData.html +3 -3
  284. package/docs/types/MediaStore.html +3 -3
  285. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  286. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  287. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  288. package/docs/types/ModelId.html +3 -3
  289. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  290. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  291. package/docs/types/MoveArgs.html +3 -3
  292. package/docs/types/MoveOpts.html +3 -3
  293. package/docs/types/Object3DHelperEventMap.html +3 -3
  294. package/docs/types/ObjectFit.html +3 -3
  295. package/docs/types/PaintBrushEventMap.html +3 -3
  296. package/docs/types/PanoCompassPluginData.html +3 -3
  297. package/docs/types/PanoCompassPluginExportType.html +3 -3
  298. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  299. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  300. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  301. package/docs/types/PanoIndex.html +3 -3
  302. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  303. package/docs/types/PanoMeasureReturnType.html +3 -3
  304. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  305. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  306. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  307. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  308. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  309. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  310. package/docs/types/PipelinePluginParameterType.html +3 -3
  311. package/docs/types/PipelinePluginReturnType.html +3 -3
  312. package/docs/types/PlaneTag.html +3 -3
  313. package/docs/types/Point2DTag.html +3 -3
  314. package/docs/types/Point3DTag.html +3 -3
  315. package/docs/types/PointTag.html +3 -3
  316. package/docs/types/PointTagInstance.html +3 -3
  317. package/docs/types/Position.html +3 -3
  318. package/docs/types/RotateArgs.html +3 -3
  319. package/docs/types/RotateOpts.html +3 -3
  320. package/docs/types/RuleLabelsKey.html +3 -3
  321. package/docs/types/RuleLabelsValue.html +3 -3
  322. package/docs/types/StickType.html +3 -3
  323. package/docs/types/Tag.html +3 -3
  324. package/docs/types/Tag2D.html +3 -3
  325. package/docs/types/Tag3D.html +3 -3
  326. package/docs/types/TagConfigByKey.html +3 -3
  327. package/docs/types/TagContentType.html +3 -3
  328. package/docs/types/TagContentTypeMapping.html +3 -3
  329. package/docs/types/TagDimensionType.html +3 -3
  330. package/docs/types/TagElement.html +3 -3
  331. package/docs/types/TagEvents.html +3 -3
  332. package/docs/types/TagGLTFObject.html +3 -3
  333. package/docs/types/TagHooks.html +3 -3
  334. package/docs/types/TagId.html +3 -3
  335. package/docs/types/TagInstance.html +3 -3
  336. package/docs/types/TagPointType.html +3 -3
  337. package/docs/types/TagRendererMap.html +3 -3
  338. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  339. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  340. package/docs/types/WorkCode.html +3 -3
  341. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  342. package/docs/variables/PLUGIN.html +3 -3
  343. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  344. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  345. package/docs/variables/defaultGlobalConfig.html +3 -3
  346. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  347. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  348. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  349. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +102 -69
  350. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +5 -0
  351. package/libs/GuideLinePlugin/typing.d.ts +13 -0
  352. package/libs/base/BasePlugin.js +1 -1
  353. package/libs/shared-utils/logger.js +1 -1
  354. package/libs/shared-utils/three/loadTexture.js +2 -2
  355. package/package.json +1 -1
@@ -1,32 +1,32 @@
1
1
  var P = Object.defineProperty, V = Object.defineProperties;
2
2
  var T = Object.getOwnPropertyDescriptors;
3
3
  var k = Object.getOwnPropertySymbols;
4
- var F = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable;
4
+ var U = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
5
5
  var v = (h, e, t) => e in h ? P(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, d = (h, e) => {
6
6
  for (var t in e || (e = {}))
7
- F.call(e, t) && v(h, t, e[t]);
7
+ U.call(e, t) && v(h, t, e[t]);
8
8
  if (k)
9
9
  for (var t of k(e))
10
- L.call(e, t) && v(h, t, e[t]);
10
+ x.call(e, t) && v(h, t, e[t]);
11
11
  return h;
12
12
  }, p = (h, e) => V(h, T(e));
13
13
  var i = (h, e, t) => (v(h, typeof e != "symbol" ? e + "" : e, t), t);
14
14
  import * as n from "three";
15
- import { logWarning as S, logError as U } from "../../shared-utils/log.js";
16
- import { createLineGeometry as x } from "../utils/createLineGeometry.js";
17
- import { isPanoramaLike as M, isModelLike as O } from "../../shared-utils/five/mode.js";
15
+ import { logWarning as F, logError as L } from "../../shared-utils/log.js";
16
+ import { createLineGeometry as S } from "../utils/createLineGeometry.js";
17
+ import { isPanoramaLike as _, isModelLike as O } from "../../shared-utils/five/mode.js";
18
18
  import "hammerjs";
19
19
  import "@realsee/five";
20
20
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
21
21
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
22
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
- import { BetterTween as _, tweenProgress as A } from "../../shared-utils/animationFrame/BetterTween.js";
24
- import { loadTexture as G } from "../../shared-utils/three/loadTexture.js";
23
+ import { BetterTween as M, tweenProgress as E } from "../../shared-utils/animationFrame/BetterTween.js";
24
+ import { loadTexture as A } from "../../shared-utils/three/loadTexture.js";
25
25
  import w from "../../PanoTagPlugin/controller/index.js";
26
- import E from "../Components/Tag.js";
26
+ import G from "../Components/Tag.js";
27
27
  import { filterAdjacentDistinct as B } from "../utils/index.js";
28
- import { objectAssignDeepExports as I } from "../../vendor/object-assign-deep/objectAssignDeep.js";
29
- const R = (
28
+ import { objectAssignDeepExports as W } from "../../vendor/object-assign-deep/objectAssignDeep.js";
29
+ const I = (
30
30
  /* glsl */
31
31
  `
32
32
  varying vec2 vUv;
@@ -36,7 +36,7 @@ const R = (
36
36
  gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
37
37
  }
38
38
  `
39
- ), W = (
39
+ ), R = (
40
40
  /* glsl */
41
41
  `
42
42
  // 是否使用颜色
@@ -53,8 +53,12 @@ const R = (
53
53
  uniform vec3 borderColor;
54
54
  // 边框透明度
55
55
  uniform float borderOpacity;
56
+ // 边框宽度
57
+ uniform float borderWidth;
56
58
  // 背景透明度
57
59
  uniform float backgroundOpacity;
60
+ // @link https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip
61
+ uniform int backgroundClip;
58
62
  // 整体透明度
59
63
  uniform float opacity;
60
64
  // 最大 U 值
@@ -97,18 +101,32 @@ const R = (
97
101
 
98
102
  vec4 getBorder() {
99
103
  float u = vUv.x;
100
- float borderSize = 0.05;
101
- if (u <= borderSize || u >= 1.0 - borderSize) {
104
+ if (u <= borderWidth || u >= 1.0 - borderWidth) {
102
105
  return vec4(borderColor, borderOpacity);
103
106
  }
104
107
  return vec4(0.0, 0.0, 0.0, 0.0);
105
108
  }
106
109
 
110
+ vec4 getBackground() {
111
+ // border-box
112
+ if (backgroundClip == 0) {
113
+ return vec4(backgroundColor, backgroundOpacity);
114
+ } else {
115
+ // padding-box
116
+ float u = vUv.x;
117
+ if (u > borderWidth && u < 1.0 - borderWidth) {
118
+ return vec4(backgroundColor, backgroundOpacity);
119
+ }
120
+ return vec4(0.0, 0.0, 0.0, 0.0);
121
+ }
122
+ }
123
+
107
124
  void main() {
108
125
  vec4 image = getImage();
109
126
  vec4 border = getBorder();
127
+ vec4 background = getBackground();
110
128
  // 设置背景颜色
111
- gl_FragColor = vec4(backgroundColor, backgroundOpacity);
129
+ gl_FragColor = background;
112
130
  // 混合颜色和背景
113
131
  gl_FragColor = mix(gl_FragColor, image, image.a);
114
132
  // 混合边框
@@ -155,8 +173,8 @@ class N {
155
173
  i(this, "plugin");
156
174
  i(this, "textureHasLoaded", !1);
157
175
  i(this, "disposed", !1);
158
- i(this, "flowAnime", new _({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
159
- i(this, "flickerAnime", A(300).yoyo(!0).repeat(5));
176
+ i(this, "flowAnime", new M({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
177
+ i(this, "flickerAnime", E(300).yoyo(!0).repeat(5));
160
178
  /** 缓存 panoGroup 中每个点距离起点的长度 */
161
179
  i(this, "cacheLengths", []);
162
180
  /** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
@@ -175,7 +193,7 @@ class N {
175
193
  });
176
194
  /** 模型状态变更 */
177
195
  i(this, "onFiveModeChange", (e) => {
178
- this.modeVisible = this.mode === "panorama" ? M(e) : O(e), this.updateVisible();
196
+ this.modeVisible = this.mode === "panorama" ? _(e) : O(e), this.updateVisible();
179
197
  });
180
198
  i(this, "onFiveModelShownFloorChange", (e) => {
181
199
  this.floorVisible = e === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(e), this.updateVisible();
@@ -190,21 +208,21 @@ class N {
190
208
  this.mesh.material.uniforms.vOffset.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
191
209
  });
192
210
  i(this, "onFlickerAnimeUpdate", (e) => {
193
- var s, o, a, l;
194
- const { progress: t } = e, r = 1 - t;
195
- this.mesh.material.uniforms.flicker.value = r, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && y(this.startTagContainer.tag) && ((a = this.startTagContainer.app) == null || a.$set(p(d({}, this.startTagContainer.tag.data), {
196
- opacity: r,
211
+ var r, o, a, l;
212
+ const { progress: t } = e, s = 1 - t;
213
+ this.mesh.material.uniforms.flicker.value = s, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && b(this.startTagContainer.tag) && ((a = this.startTagContainer.app) == null || a.$set(p(d({}, this.startTagContainer.tag.data), {
214
+ opacity: s,
197
215
  name: this.name,
198
- distance: Math.round((o = (s = this.curvePath) == null ? void 0 : s.getLength()) != null ? o : 0)
199
- }))), this.endTagContainer.tag && y(this.endTagContainer.tag) && ((l = this.endTagContainer.app) == null || l.$set(p(d({}, this.endTagContainer.tag.data), { opacity: r })));
216
+ distance: Math.round((o = (r = this.curvePath) == null ? void 0 : r.getLength()) != null ? o : 0)
217
+ }))), this.endTagContainer.tag && b(this.endTagContainer.tag) && ((l = this.endTagContainer.app) == null || l.$set(p(d({}, this.endTagContainer.tag.data), { opacity: s })));
200
218
  });
201
- i(this, "logWarning", (e) => S("GuideLineModeItem: ", e));
202
- i(this, "logError", (e) => U("GuideLineModeItem: ", e));
219
+ i(this, "logWarning", (e) => F("GuideLineModeItem: ", e));
220
+ i(this, "logError", (e) => L("GuideLineModeItem: ", e));
203
221
  var o, a;
204
222
  this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.startTagContainer = { tag: null, plugin: new w(this.five) }, this.endTagContainer = { tag: null, plugin: new w(this.five) };
205
- const r = new n.BufferGeometry(), s = new n.ShaderMaterial({
206
- vertexShader: R,
207
- fragmentShader: W,
223
+ const s = new n.BufferGeometry(), r = new n.ShaderMaterial({
224
+ vertexShader: I,
225
+ fragmentShader: R,
208
226
  transparent: !0,
209
227
  uniforms: {
210
228
  map: { value: null },
@@ -215,13 +233,15 @@ class N {
215
233
  backgroundOpacity: { value: 0 },
216
234
  borderColor: { value: new n.Color() },
217
235
  borderOpacity: { value: 0 },
236
+ backgroundClip: { value: 0 },
237
+ borderWidth: { value: 0.05 },
218
238
  opacity: { value: 1 },
219
239
  flicker: { value: 1 },
220
240
  maxU: { value: 0 },
221
241
  vOffset: { value: 0 }
222
242
  }
223
243
  });
224
- this.mesh = new n.Mesh(r, s), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((a = (o = this.five.model) == null ? void 0 : o.shownFloor) != null ? a : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
244
+ this.mesh = new n.Mesh(s, r), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.updateVisible(), this.onFiveModeChange(this.five.getCurrentState().mode), this.onFiveModelShownFloorChange((a = (o = this.five.model) == null ? void 0 : o.shownFloor) != null ? a : null), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.parent.hooks.on("show", this.updateVisible), this.parent.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("show", this.updateVisible), this.plugin.hooks.on("hide", this.updateVisible), this.plugin.hooks.on("enable", this.updateVisible), this.plugin.hooks.on("disable", this.updateVisible), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.five.on("modelShownFloorChange", this.onFiveModelShownFloorChange);
225
245
  }
226
246
  get panoGroup() {
227
247
  return this._panoGroup;
@@ -268,25 +288,25 @@ class N {
268
288
  return this.logError("disposed");
269
289
  if (!this.five.work)
270
290
  return this.logError("setPathByPanoGroup: work is not ready");
271
- const r = B(e);
272
- if (this._panoGroup = r, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
273
- const o = t.skipPanoGroup ? r.map((a) => this.plugin.workUtils.getObserverStandingPosition(a)) : null;
291
+ const s = B(e);
292
+ if (this._panoGroup = s, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
293
+ const o = t.skipPanoGroup ? s.map((a) => this.plugin.workUtils.getObserverStandingPosition(a)) : null;
274
294
  this.skippedPositions = o;
275
295
  }
276
- const s = this.getPathFromPanoGroup(r, this.five.work, t);
277
- this.path = s, this.setGeometryByPath(s, t);
296
+ const r = this.getPathFromPanoGroup(s, this.five.work, t);
297
+ this.path = r, this.setGeometryByPath(r, t);
278
298
  }
279
299
  /** 通过路径设置线条形状 */
280
300
  setGeometryByPath(e, t) {
281
- var c, b, C;
301
+ var c, y, C;
282
302
  if (this.disposed)
283
303
  return this.logError("disposed");
284
- const r = (c = t == null ? void 0 : t.scale) != null ? c : this.scale, s = (b = t == null ? void 0 : t.width) != null ? b : this.width, o = (C = t == null ? void 0 : t.unit_length) != null ? C : this.unitLength;
285
- this.scale = r, this.width = s, this.unitLength = o;
286
- const { geometry: a, maxU: l, curvePath: u, curvePoints: g } = x({
304
+ const s = (c = t == null ? void 0 : t.scale) != null ? c : this.scale, r = (y = t == null ? void 0 : t.width) != null ? y : this.width, o = (C = t == null ? void 0 : t.unit_length) != null ? C : this.unitLength;
305
+ this.scale = s, this.width = r, this.unitLength = o;
306
+ const { geometry: a, maxU: l, curvePath: u, curvePoints: g } = S({
287
307
  path: e,
288
- width: s * r,
289
- unitLength: o * r,
308
+ width: r * s,
309
+ unitLength: o * s,
290
310
  skipPositions: this.skippedPositions
291
311
  });
292
312
  this._curvePath = u, this._curvePoints = g, this.mesh.geometry = a, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = l, this.five.needsRender = !0;
@@ -295,28 +315,28 @@ class N {
295
315
  }
296
316
  /** 设置线条材质 */
297
317
  setMartial(e) {
298
- var r;
318
+ var s;
299
319
  if (this.disposed)
300
320
  return this.logError("disposed");
301
- (e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), ((r = e == null ? void 0 : e.texture) == null ? void 0 : r.url) !== void 0 && this.setTextureUrl(e.texture.url), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity);
321
+ (e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), ((s = e == null ? void 0 : e.texture) == null ? void 0 : s.url) !== void 0 && this.setTextureUrl(e.texture.url), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity), (e == null ? void 0 : e.border_width) !== void 0 && this.setBorderWidth(e.border_width), (e == null ? void 0 : e.background_clip) !== void 0 && this.setBackgroundClip(e.background_clip);
302
322
  const t = d(d({}, this.materialStyle), e);
303
323
  this.materialStyle = t;
304
324
  }
305
325
  /** 设置模型状态 */
306
326
  setMeshStyle(e) {
307
327
  if (e != null && e.translate) {
308
- const s = new n.Vector3(), o = new n.Vector3().fromArray(e.translate);
309
- o.y += this.heightOffset, s.add(o), this.mesh.position.copy(s), r(this.startTagContainer, o), r(this.endTagContainer, o);
328
+ const r = new n.Vector3(), o = new n.Vector3().fromArray(e.translate);
329
+ o.y += this.heightOffset, r.add(o), this.mesh.position.copy(r), s(this.startTagContainer, o), s(this.endTagContainer, o);
310
330
  }
311
331
  const t = d(d({}, this.meshStyle), e);
312
332
  this.meshStyle = t;
313
- function r(s, o) {
314
- if (!s.tag)
333
+ function s(r, o) {
334
+ if (!r.tag)
315
335
  return;
316
- const a = new n.Vector3().fromArray(s.tag.position);
336
+ const a = new n.Vector3().fromArray(r.tag.position);
317
337
  a.add(o);
318
338
  const l = a.toArray();
319
- s.plugin.changeTagById(s.tag.id, { position: l });
339
+ r.plugin.changeTagById(r.tag.id, { position: l });
320
340
  }
321
341
  }
322
342
  /** 设置 Y 轴上的偏移量,为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
@@ -342,6 +362,19 @@ class N {
342
362
  return this.logError("disposed");
343
363
  this.mesh.material.uniforms.borderOpacity.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
344
364
  }
365
+ setBackgroundClip(e) {
366
+ if (this.disposed)
367
+ return this.logError("disposed");
368
+ this.mesh.material.uniforms.backgroundClip.value = e === "border-box" ? 0 : 1, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
369
+ }
370
+ /**
371
+ * @description: 设置边框宽度
372
+ */
373
+ setBorderWidth(e) {
374
+ if (this.disposed)
375
+ return this.logError("disposed");
376
+ this.mesh.material.uniforms.borderWidth.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
377
+ }
345
378
  /** 设置背景颜色 */
346
379
  setBackgroundColor(e) {
347
380
  if (this.disposed)
@@ -370,15 +403,15 @@ class N {
370
403
  setTextureUrl(e) {
371
404
  if (this.disposed)
372
405
  return this.logError("disposed");
373
- this.textureUrl = e, G(e).then((t) => {
406
+ this.textureUrl = e, A(e).then((t) => {
374
407
  this.disposed || this.textureUrl === e && (t.wrapT = n.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
375
408
  });
376
409
  }
377
410
  setVisibleFloorIndexes(e) {
378
- var t, r;
411
+ var t, s;
379
412
  if (this.disposed)
380
413
  return this.logError("disposed");
381
- this._visibleFloorIndexes = e, this.onFiveModelShownFloorChange((r = (t = this.five.model) == null ? void 0 : t.shownFloor) != null ? r : null);
414
+ this._visibleFloorIndexes = e, this.onFiveModelShownFloorChange((s = (t = this.five.model) == null ? void 0 : t.shownFloor) != null ? s : null);
382
415
  }
383
416
  setStartTag(e) {
384
417
  this.setTag("start", e);
@@ -405,39 +438,39 @@ class N {
405
438
  var u;
406
439
  if (!this.curvePoints || !this.curvePath)
407
440
  return [];
408
- const e = this.curvePoints.length, t = this.curvePath.getLength(), r = e - 1, s = t / r, o = (u = this.curvePath.getLengths(r)) != null ? u : [], a = [];
441
+ const e = this.curvePoints.length, t = this.curvePath.getLength(), s = e - 1, r = t / s, o = (u = this.curvePath.getLengths(s)) != null ? u : [], a = [];
409
442
  let l = 0;
410
443
  for (let g = 0; g < e; g++) {
411
444
  const m = this.curvePoints[g], f = this.plugin.workUtils.getObserverStandingPosition(l);
412
445
  if (!f)
413
446
  break;
414
- f.clone().setY(0).distanceTo(m.clone().setY(0)) < s && (a.push(o[g]), l += 1);
447
+ f.clone().setY(0).distanceTo(m.clone().setY(0)) < r && (a.push(o[g]), l += 1);
415
448
  }
416
449
  return a;
417
450
  }
418
451
  setTag(e, t) {
419
- const r = this.curvePath, s = e === "start" ? this.startTagContainer : this.endTagContainer;
452
+ const s = this.curvePath, r = e === "start" ? this.startTagContainer : this.endTagContainer;
420
453
  if (!(t != null && t.data))
421
- return s.plugin.clearTags();
422
- const a = I({}, {
454
+ return r.plugin.clearTags();
455
+ const a = W({}, {
423
456
  contentType: "Custom",
424
457
  stickType: "2DPoint",
425
458
  config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
426
459
  style: { point: { enabled: !1 } },
427
460
  data: {}
428
461
  }, t);
429
- s.tag = a, y(a) && (s.tag.element = (u) => {
462
+ r.tag = a, b(a) && (r.tag.element = (u) => {
430
463
  var f, c;
431
- (f = s.app) == null || f.$destroy();
432
- const g = e === "start" ? p(d({}, a.data), { name: this.name, distance: Math.round((c = r.getLength()) != null ? c : 0), i18n: this.plugin.config.i18n }) : a.data, m = new E({ target: u, intro: !0, props: g });
433
- return s.app = m, () => m.$destroy();
434
- }), s.plugin.load({ tagList: [s.tag] });
464
+ (f = r.app) == null || f.$destroy();
465
+ const g = e === "start" ? p(d({}, a.data), { name: this.name, distance: Math.round((c = s.getLength()) != null ? c : 0), i18n: this.plugin.config.i18n }) : a.data, m = new G({ target: u, intro: !0, props: g });
466
+ return r.app = m, () => m.$destroy();
467
+ }), r.plugin.load({ tagList: [r.tag] });
435
468
  const l = this.meshStyle.translate;
436
469
  if (l && a.position) {
437
470
  const u = new n.Vector3().fromArray(a.position), g = new n.Vector3().fromArray(l);
438
471
  u.add(g), u.y += this.heightOffset;
439
472
  const m = u.toArray();
440
- s.plugin.changeTagById(s.tag.id, { position: m });
473
+ r.plugin.changeTagById(r.tag.id, { position: m });
441
474
  }
442
475
  }
443
476
  doShow() {
@@ -447,21 +480,21 @@ class N {
447
480
  this.mode === "model" && this.flowAnime.stop(), this.five.scene.remove(this.mesh), this.startTagContainer.plugin.hide(), this.endTagContainer.plugin.hide(), this.five.needsRender = !0;
448
481
  }
449
482
  /** 通过 panoIndex 数组计算路径 */
450
- getPathFromPanoGroup(e, t, r) {
483
+ getPathFromPanoGroup(e, t, s) {
451
484
  if (e.length < 2)
452
485
  return [];
453
- const s = e.map((o) => this.plugin.workUtils.getObserverStandingPosition(o).toArray());
454
- return [d({ type: "CatmullRomCurve3", points: s }, r)];
486
+ const r = e.map((o) => this.plugin.workUtils.getObserverStandingPosition(o).toArray());
487
+ return [d({ type: "CatmullRomCurve3", points: r }, s)];
455
488
  }
456
489
  }
457
- function y(h) {
490
+ function b(h) {
458
491
  return h.contentType === "Custom";
459
492
  }
460
- const se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
493
+ const re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
461
494
  __proto__: null,
462
495
  GuideLineModeItem: N
463
496
  }, Symbol.toStringTag, { value: "Module" }));
464
497
  export {
465
498
  N as GuideLineModeItem,
466
- se as GuideLineModeItem$1
499
+ re as GuideLineModeItem$1
467
500
  };
@@ -93,6 +93,11 @@ declare class GuideLineModeItem {
93
93
  setBorderColor(color: string): void;
94
94
  /** 设置边框透明度 */
95
95
  setBorderOpacity(opacity: number): void;
96
+ setBackgroundClip(backgroundClip: PluginType.GuideLineMaterialStyle['background_clip']): void;
97
+ /**
98
+ * @description: 设置边框宽度
99
+ */
100
+ setBorderWidth(width: number): void;
96
101
  /** 设置背景颜色 */
97
102
  setBackgroundColor(color: string): void;
98
103
  /** 设置背景透明度 */
@@ -124,6 +124,19 @@ export interface GuideLineMaterialStyle {
124
124
  border_color?: string;
125
125
  /** 边框透明度 */
126
126
  border_opacity?: number;
127
+ /**
128
+ * @description: 背景裁剪
129
+ * @param border-box 背景在边框下方
130
+ * @param padding-box 背景不在边框下方
131
+ * @default border-box
132
+ * @link https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip
133
+ */
134
+ background_clip?: 'border-box' | 'padding-box';
135
+ /**
136
+ * @description 边框宽度
137
+ * @default 0.05
138
+ */
139
+ border_width?: number;
127
140
  /** 透明度 */
128
141
  opacity?: number;
129
142
  /** 贴图 */
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.12.7");
17
+ i(this, "VERSION", "3.14.0");
18
18
  i(this, "five");
19
19
  /**
20
20
  * @description: 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.12.7",
3
+ "%c %c@realsee/dnalogel %cv3.14.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",
@@ -20,14 +20,14 @@ function p(n) {
20
20
  return i(this, null, function* () {
21
21
  return new Promise((e, t) => {
22
22
  m.load(n, e, void 0, t);
23
- }).then((e) => (e.encoding = a.sRGBEncoding, e));
23
+ }).then((e) => (e.encoding = a.sRGBEncoding, e.minFilter = a.NearestFilter, e.magFilter = a.NearestFilter, e));
24
24
  });
25
25
  }
26
26
  function u(n) {
27
27
  return i(this, null, function* () {
28
28
  return p(n).then((e) => {
29
29
  const t = n.startsWith("data:") ? n.includes("png") : new URL(n, location.href).pathname.toLowerCase().endsWith(".png");
30
- return e.minFilter = a.NearestFilter, e.magFilter = a.NearestFilter, { texture: e, transparent: t };
30
+ return { texture: e, transparent: t };
31
31
  });
32
32
  });
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.12.7",
3
+ "version": "3.14.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",