@realsee/dnalogel 3.36.2 → 3.36.4

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 (437) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -3
  3. package/dist/CruisePlugin/BaseController.d.ts +0 -3
  4. package/dist/GuideLinePlugin/Controller.d.ts +0 -4
  5. package/dist/ModelMakerPlugin/Controller.d.ts +1 -0
  6. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +1 -4
  7. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -10
  8. package/dist/base/BasePlugin.d.ts +6 -0
  9. package/dist/index.cjs.js +30 -30
  10. package/dist/index.js +934 -937
  11. package/dist/index.umd.js +29 -29
  12. package/docs/assets/search.js +1 -1
  13. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +50 -12
  14. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  15. package/docs/classes/CSS3DRender.html +3 -3
  16. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  17. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  18. package/docs/classes/ModelMakerPluginInstance.html +54 -11
  19. package/docs/classes/ModelRoomLabelController.html +3 -3
  20. package/docs/classes/MoveController.html +37 -21
  21. package/docs/classes/Object3DHelperController.html +58 -15
  22. package/docs/classes/PaintBrush.html +3 -3
  23. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  24. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  25. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  26. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  27. package/docs/classes/PanoTagPluginController.html +53 -45
  28. package/docs/classes/Sculpt.html +3 -3
  29. package/docs/classes/Util.BetterTween.html +3 -3
  30. package/docs/classes/Util.Interval.html +3 -3
  31. package/docs/classes/Util.LineSegments.html +3 -3
  32. package/docs/classes/Util.Magnifier.html +3 -3
  33. package/docs/classes/Util.Object3D.html +3 -3
  34. package/docs/classes/Util.PointDomHelper.html +3 -3
  35. package/docs/classes/Util.PointHelper.html +3 -3
  36. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  37. package/docs/classes/Util.Rectangle.html +3 -3
  38. package/docs/classes/WalkController.html +37 -21
  39. package/docs/enums/CameraMovementEffect.html +3 -3
  40. package/docs/enums/ContentType.html +3 -3
  41. package/docs/enums/DIRECTION.html +3 -3
  42. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  43. package/docs/enums/DimensionType.html +3 -3
  44. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  45. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  46. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  47. package/docs/enums/PointType.html +3 -3
  48. package/docs/enums/Rotation.html +3 -3
  49. package/docs/functions/AreaMakerPlugin.html +3 -3
  50. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  51. package/docs/functions/CameraMovementPlugin.html +3 -3
  52. package/docs/functions/CruisePlugin.html +3 -3
  53. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  54. package/docs/functions/GuideLinePlugin.html +3 -3
  55. package/docs/functions/ItemLabelPlugin.html +3 -3
  56. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  57. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  58. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  59. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  60. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  61. package/docs/functions/ModelMakerPlugin.html +3 -3
  62. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  63. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  64. package/docs/functions/ModelViewPlugin.html +3 -3
  65. package/docs/functions/MovePlugin.html +3 -3
  66. package/docs/functions/Object3DHelperPlugin.html +3 -3
  67. package/docs/functions/PanoCompassPlugin.html +3 -3
  68. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  69. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  70. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  71. package/docs/functions/PanoMeasurePlugin.html +3 -3
  72. package/docs/functions/PanoRulerPlugin.html +3 -3
  73. package/docs/functions/PanoRulerProPlugin.html +3 -3
  74. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  75. package/docs/functions/PanoTagPlugin.html +3 -3
  76. package/docs/functions/PanoVideoPlugin.html +3 -3
  77. package/docs/functions/PipelinePlugin.html +3 -3
  78. package/docs/functions/SculptPlugin.html +3 -3
  79. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  80. package/docs/functions/Util.absoluteUrl.html +3 -3
  81. package/docs/functions/Util.blink.html +3 -3
  82. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  83. package/docs/functions/Util.equal.html +3 -3
  84. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  85. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  86. package/docs/functions/Util.getFrameTime.html +3 -3
  87. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  88. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  89. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  90. package/docs/functions/Util.isModelLike.html +3 -3
  91. package/docs/functions/Util.isNil.html +3 -3
  92. package/docs/functions/Util.isPanoramaLike.html +3 -3
  93. package/docs/functions/Util.nextFrame.html +3 -3
  94. package/docs/functions/Util.notNil.html +3 -3
  95. package/docs/functions/Util.reblink.html +3 -3
  96. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  97. package/docs/functions/Util.tweenProgress.html +3 -3
  98. package/docs/functions/Util.uuid.html +3 -3
  99. package/docs/functions/pluginFlag.html +3 -3
  100. package/docs/index.html +4 -4
  101. package/docs/interfaces/AddTagConfig.html +3 -3
  102. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  104. package/docs/interfaces/AreaMakerPluginType.EventMap.html +5 -5
  105. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  106. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  107. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  108. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  109. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  110. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  111. package/docs/interfaces/AreaMakerPluginType.State.html +4 -4
  112. package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -5
  113. package/docs/interfaces/CSS3DRenderPluginState.html +4 -4
  114. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  115. package/docs/interfaces/ContentTypeMapInterface.html +8 -26
  116. package/docs/interfaces/CruisePluginTypes.Config.html +5 -5
  117. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  118. package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -5
  119. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  120. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  121. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  122. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  123. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  124. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  125. package/docs/interfaces/CruisePluginTypes.PluginState.html +4 -4
  126. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +5 -5
  127. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +5 -5
  128. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  129. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  130. package/docs/interfaces/CurrentPanoImagePluginType.State.html +5 -5
  131. package/docs/interfaces/EventMap.html +5 -5
  132. package/docs/interfaces/FloorplanBounding.html +3 -3
  133. package/docs/interfaces/FloorplanData.html +3 -3
  134. package/docs/interfaces/FloorplanEntrance.html +3 -3
  135. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  136. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  137. package/docs/interfaces/FloorplanFloorData.html +3 -3
  138. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  139. package/docs/interfaces/FloorplanObserver.html +3 -3
  140. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  141. package/docs/interfaces/FloorplanPosition.html +3 -3
  142. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  143. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  144. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  145. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  146. package/docs/interfaces/FloorplanServerData.html +3 -3
  147. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  148. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  149. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  150. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  151. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  152. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  153. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  154. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  155. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  156. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  157. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  158. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -5
  160. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  166. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  167. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  168. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  169. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  170. package/docs/interfaces/GuideLinePluginType.PluginState.html +5 -5
  171. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  172. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  173. package/docs/interfaces/HelperOffset.html +3 -3
  174. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  175. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  176. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  177. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  178. package/docs/interfaces/MinMax.html +3 -3
  179. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  180. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  181. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  182. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  183. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  184. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  185. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  186. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  187. package/docs/interfaces/ModelMakerPluginType.EventMap.html +5 -5
  188. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  189. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  190. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  191. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  192. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  193. package/docs/interfaces/ModelMakerPluginType.State.html +4 -4
  194. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  195. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  196. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  197. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  198. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  199. package/docs/interfaces/Object3DHelperState.html +3 -3
  200. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  201. package/docs/interfaces/PaintBrushAction.html +3 -3
  202. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  203. package/docs/interfaces/PaintBrushState.html +3 -3
  204. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  205. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  206. package/docs/interfaces/PanoMeasureParameterType.html +5 -5
  207. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  208. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  209. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  210. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  211. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  212. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  213. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  214. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  215. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  216. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  217. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  218. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  219. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  220. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  221. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  222. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  223. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  224. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  225. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  226. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  227. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  228. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  229. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  230. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +5 -5
  231. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  232. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  233. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  234. package/docs/interfaces/Point.html +3 -3
  235. package/docs/interfaces/Room.html +3 -3
  236. package/docs/interfaces/RoomInfo.html +3 -3
  237. package/docs/interfaces/RoomLabel.html +3 -3
  238. package/docs/interfaces/RoomRules.html +3 -3
  239. package/docs/interfaces/Rooms.html +3 -3
  240. package/docs/interfaces/Scissor.html +3 -3
  241. package/docs/interfaces/State.html +6 -6
  242. package/docs/interfaces/TagCacheInterface.html +3 -3
  243. package/docs/interfaces/TagConfig.html +3 -3
  244. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  245. package/docs/interfaces/TagIconUrl.html +3 -3
  246. package/docs/interfaces/TagObjectGroup.html +3 -3
  247. package/docs/interfaces/TagStyle.html +3 -3
  248. package/docs/interfaces/Tags.html +3 -3
  249. package/docs/interfaces/TemporaryState.html +3 -3
  250. package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
  251. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  252. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  253. package/docs/interfaces/Util.PointIntersection.html +3 -3
  254. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  255. package/docs/modules/AreaMakerPluginType.html +3 -3
  256. package/docs/modules/CruisePluginTypes.html +3 -3
  257. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  258. package/docs/modules/GuideLineItem.html +3 -3
  259. package/docs/modules/GuideLineModeItem.html +3 -3
  260. package/docs/modules/GuideLinePluginType.html +3 -3
  261. package/docs/modules/ModelMakerPluginType.html +3 -3
  262. package/docs/modules/PanoVideoPluginType.html +3 -3
  263. package/docs/modules/SculptData.html +3 -3
  264. package/docs/modules/Util.html +3 -3
  265. package/docs/modules.html +4 -4
  266. package/docs/types/AddObject3DHelperConfig.html +3 -3
  267. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  268. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  269. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  270. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  271. package/docs/types/ArrayPosition.html +3 -3
  272. package/docs/types/AudioAppearance.html +3 -3
  273. package/docs/types/CSS3DRenderExportType.html +3 -3
  274. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  275. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  276. package/docs/types/ClassFunctionParameters.html +3 -3
  277. package/docs/types/Color.html +3 -3
  278. package/docs/types/ContentTypeConfigKey.html +3 -3
  279. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  280. package/docs/types/ContentTypeMap.html +4 -4
  281. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  282. package/docs/types/Create3DElementReturnType.html +3 -3
  283. package/docs/types/CruisePluginExportType.html +3 -3
  284. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  285. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  286. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  287. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  288. package/docs/types/DeprecatedTagProperty.html +3 -3
  289. package/docs/types/Direction-1.html +3 -3
  290. package/docs/types/Direction4.html +3 -3
  291. package/docs/types/ElementRenderer.html +3 -3
  292. package/docs/types/FloorplanRuleLabels.html +3 -3
  293. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  294. package/docs/types/GuideLinePluginExportType.html +3 -3
  295. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  296. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  297. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  298. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  299. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  300. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  301. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  302. package/docs/types/HelperEventMap.html +3 -3
  303. package/docs/types/InternalHelperEventMap.html +3 -3
  304. package/docs/types/LoadTagConfig.html +3 -3
  305. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  306. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  307. package/docs/types/MediaData.html +3 -3
  308. package/docs/types/MediaStore.html +3 -3
  309. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  310. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  311. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  312. package/docs/types/ModelId.html +3 -3
  313. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  314. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  315. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  316. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  317. package/docs/types/MoveArgs.html +3 -3
  318. package/docs/types/MoveOpts.html +3 -3
  319. package/docs/types/Object3DHelperEventMap.html +3 -3
  320. package/docs/types/ObjectFit.html +3 -3
  321. package/docs/types/PaintBrushEventMap.html +3 -3
  322. package/docs/types/PanoCompassPluginData.html +3 -3
  323. package/docs/types/PanoCompassPluginExportType.html +3 -3
  324. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  325. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  326. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  327. package/docs/types/PanoIndex.html +3 -3
  328. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  329. package/docs/types/PanoMeasureReturnType.html +3 -3
  330. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  331. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  332. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  333. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  334. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  335. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  336. package/docs/types/PipelinePluginParameterType.html +3 -3
  337. package/docs/types/PipelinePluginReturnType.html +3 -3
  338. package/docs/types/PlaneTag.html +3 -3
  339. package/docs/types/Point2DTag.html +3 -3
  340. package/docs/types/Point3DTag.html +3 -3
  341. package/docs/types/PointTag.html +3 -3
  342. package/docs/types/PointTagInstance.html +3 -3
  343. package/docs/types/Position.html +3 -3
  344. package/docs/types/PositionFrom.html +3 -3
  345. package/docs/types/RotateArgs.html +3 -3
  346. package/docs/types/RotateOpts.html +3 -3
  347. package/docs/types/RuleLabelsKey.html +3 -3
  348. package/docs/types/RuleLabelsValue.html +3 -3
  349. package/docs/types/ScaleCallback.html +3 -3
  350. package/docs/types/ScalePosition.html +3 -3
  351. package/docs/types/SculptData.BoxData.html +3 -3
  352. package/docs/types/SculptData.CircleData.html +3 -3
  353. package/docs/types/SculptData.CylinderData.html +3 -3
  354. package/docs/types/SculptData.PointData.html +3 -3
  355. package/docs/types/SculptData.PolygonData.html +3 -3
  356. package/docs/types/SculptData.PolylineData.html +3 -3
  357. package/docs/types/SculptData.PrismData.html +3 -3
  358. package/docs/types/SculptData.RectangleData.html +3 -3
  359. package/docs/types/StickType.html +3 -3
  360. package/docs/types/Tag.html +3 -3
  361. package/docs/types/Tag2D.html +3 -3
  362. package/docs/types/Tag3D.html +3 -3
  363. package/docs/types/TagConfigByKey.html +3 -3
  364. package/docs/types/TagContentType.html +3 -3
  365. package/docs/types/TagContentTypeMapping.html +3 -3
  366. package/docs/types/TagDimensionType.html +3 -3
  367. package/docs/types/TagElement.html +3 -3
  368. package/docs/types/TagEvents.html +3 -3
  369. package/docs/types/TagGLTFObject.html +3 -3
  370. package/docs/types/TagHooks.html +3 -3
  371. package/docs/types/TagId.html +3 -3
  372. package/docs/types/TagInstance.html +3 -3
  373. package/docs/types/TagPointType.html +3 -3
  374. package/docs/types/TagRendererMap.html +3 -3
  375. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  376. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  377. package/docs/types/WorkCode.html +3 -3
  378. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  379. package/docs/variables/PLUGIN.html +3 -3
  380. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  381. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  382. package/docs/variables/defaultGlobalConfig.html +3 -3
  383. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  384. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  385. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  386. package/libs/AreaMakerPlugin/Controller.js +5 -2
  387. package/libs/AreaMakerPlugin/index.js +5 -2
  388. package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -3
  389. package/libs/CruisePlugin/BaseController.d.ts +0 -3
  390. package/libs/CruisePlugin/BaseController.js +23 -30
  391. package/libs/CruisePlugin/Move.js +3 -3
  392. package/libs/CruisePlugin/Work.js +3 -3
  393. package/libs/CruisePlugin/index.js +3 -3
  394. package/libs/CurrentPanoImagePlugin/Controller.js +13 -10
  395. package/libs/CurrentPanoImagePlugin/index.js +6 -3
  396. package/libs/GuideLinePlugin/Controller.d.ts +0 -4
  397. package/libs/GuideLinePlugin/Controller.js +34 -41
  398. package/libs/GuideLinePlugin/GuideLineItem.js +3 -3
  399. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -3
  400. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -3
  401. package/libs/GuideLinePlugin/index.js +3 -3
  402. package/libs/ModelMakerPlugin/Controller.d.ts +1 -0
  403. package/libs/ModelMakerPlugin/Controller.js +24 -18
  404. package/libs/ModelMakerPlugin/index.js +5 -2
  405. package/libs/Object3DHelperPlugin/Controller.js +13 -10
  406. package/libs/Object3DHelperPlugin/index.js +8 -5
  407. package/libs/PanoCompassPlugin/Controller.js +5 -2
  408. package/libs/PanoCompassPlugin/index.js +6 -3
  409. package/libs/PanoDoorLabelPlugin/BaseController.js +13 -10
  410. package/libs/PanoDoorLabelPlugin/Controller.js +5 -2
  411. package/libs/PanoDoorLabelPlugin/index.js +6 -3
  412. package/libs/PanoTagPlugin/controller/TagCache.js +19 -16
  413. package/libs/PanoTagPlugin/controller/TagComputer.js +3 -3
  414. package/libs/PanoTagPlugin/controller/TagRender.js +3 -3
  415. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +1 -4
  416. package/libs/PanoTagPlugin/controller/TagUtil.js +65 -68
  417. package/libs/PanoTagPlugin/controller/index.js +26 -25
  418. package/libs/PanoTagPlugin/index.js +3 -3
  419. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -10
  420. package/libs/PanoVideoPlugin/Controller.js +44 -41
  421. package/libs/PanoVideoPlugin/index.js +8 -5
  422. package/libs/PipelinePlugin/Controller.js +33 -30
  423. package/libs/PipelinePlugin/index.js +6 -3
  424. package/libs/base/BasePlugin.d.ts +6 -0
  425. package/libs/base/BasePlugin.js +24 -13
  426. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +5 -2
  427. package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -3
  428. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +5 -2
  429. package/libs/floorplan/ModelFloorplanPlugin/index.js +6 -3
  430. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +5 -2
  431. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +6 -3
  432. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +5 -2
  433. package/libs/floorplan/TopviewFloorplanPlugin/index.js +6 -3
  434. package/libs/index.js +3 -3
  435. package/libs/shared-utils/Utils/WorkUtil.js +14 -14
  436. package/libs/shared-utils/logger.js +1 -1
  437. package/package.json +1 -1
@@ -1,41 +1,40 @@
1
- var Z = Object.defineProperty, q = Object.defineProperties;
2
- var K = Object.getOwnPropertyDescriptors;
1
+ var q = Object.defineProperty, K = Object.defineProperties;
2
+ var Q = Object.getOwnPropertyDescriptors;
3
3
  var L = Object.getOwnPropertySymbols;
4
- var Q = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
5
- var _ = (l, s, e) => s in l ? Z(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, D = (l, s) => {
4
+ var Y = Object.prototype.hasOwnProperty, ee = Object.prototype.propertyIsEnumerable;
5
+ var k = (l, s, e) => s in l ? q(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, D = (l, s) => {
6
6
  for (var e in s || (s = {}))
7
- Q.call(s, e) && _(l, e, s[e]);
7
+ Y.call(s, e) && k(l, e, s[e]);
8
8
  if (L)
9
9
  for (var e of L(s))
10
- Y.call(s, e) && _(l, e, s[e]);
10
+ ee.call(s, e) && k(l, e, s[e]);
11
11
  return l;
12
- }, U = (l, s) => q(l, K(s));
13
- var f = (l, s, e) => (_(l, typeof s != "symbol" ? s + "" : s, e), e);
14
- import { defaultGlobalConfig as ee } from "../typings/tag/TagConfig.js";
15
- import { objectAssignDeepExports as P } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
- import * as ie from "three";
12
+ }, V = (l, s) => K(l, Q(s));
13
+ var f = (l, s, e) => (k(l, typeof s != "symbol" ? s + "" : s, e), e);
14
+ import { defaultGlobalConfig as ie } from "../typings/tag/TagConfig.js";
15
+ import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
+ import * as U from "three";
17
17
  import { DefaultConfig as te } from "../tag.config.js";
18
- import { anyPositionToVector3 as y } from "../../shared-utils/positionToVector3.js";
18
+ import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
19
19
  import { planeNormal as E } from "../utils/planeNormal.js";
20
- import { getTagCenterPosition as V } from "../utils/tagPosition.js";
20
+ import { getTagCenterPosition as B } from "../utils/tagPosition.js";
21
21
  import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
22
22
  import { TagCache as ne } from "./TagCache.js";
23
23
  import { writable as re } from "../../vendor/svelte/store/index.js";
24
24
  import { isIOSWX as se } from "../../shared-utils/device.js";
25
25
  import { CSS3DRenderPlugin as fe } from "../../CSS3DRenderPlugin/index.js";
26
26
  import { Five as ae } from "@realsee/five";
27
- import { isMediaPlaneTag as ce, isMediaModelTag as B, isPlaneTag as le, isPoint3DTag as de } from "../utils/tag/tagCheck.js";
27
+ import { isMediaPlaneTag as ce, isMediaModelTag as N, isPlaneTag as le, isPoint3DTag as de } from "../utils/tag/tagCheck.js";
28
28
  import { VideoPlane as ue } from "../utils/model/mediaPlane.js";
29
29
  import { FiveDomEvents as me } from "../../shared-utils/five/FiveDomEvents.js";
30
- import N from "../utils/tag/adaptConfig.js";
31
- import { isPanoramaLike as w, isModelLike as z } from "../../shared-utils/five/mode.js";
30
+ import z from "../utils/tag/adaptConfig.js";
31
+ import { isPanoramaLike as S, isModelLike as $ } from "../../shared-utils/five/mode.js";
32
32
  import "hammerjs";
33
33
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
34
34
  import "animejs";
35
- import { entries as $ } from "../../shared-utils/typescript/entries.js";
36
- import { getUrlExt as H } from "../../shared-utils/url/getUrl.js";
37
- import { transformPosition as J } from "../../shared-utils/five/transformPosition.js";
38
- import { WorkUtil as he } from "../../shared-utils/Utils/WorkUtil.js";
35
+ import { entries as H } from "../../shared-utils/typescript/entries.js";
36
+ import { getUrlExt as J } from "../../shared-utils/url/getUrl.js";
37
+ import { transformPosition as G } from "../../shared-utils/five/transformPosition.js";
39
38
  import "../../shared-utils/three/centerPoint.js";
40
39
  import "../../base/BasePlugin.js";
41
40
  import "../../shared-utils/Subscribe.js";
@@ -53,6 +52,8 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
53
52
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
54
53
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
55
54
  import "../../shared-utils/url/absoluteUrl.js";
55
+ import "../../shared-utils/Utils/WorkUtil.js";
56
+ import "../../shared-utils/Utils/BaseUtil.js";
56
57
  import "../../vendor/svelte/internal/index.js";
57
58
  import "../../CSS3DRenderPlugin/Controller.js";
58
59
  import "../../shared-utils/five/fiveModelLoad.js";
@@ -65,13 +66,11 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
65
66
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
66
67
  import "../../shared-utils/three/getNormal.js";
67
68
  import "../../shared-utils/five/calculateThreeMouse.js";
68
- import "../../shared-utils/Utils/BaseUtil.js";
69
- class gi extends ne {
69
+ class hi extends ne {
70
70
  constructor(e) {
71
71
  super(e);
72
72
  f(this, "tags", []);
73
73
  f(this, "config", te);
74
- f(this, "workUtil", new he(this.five));
75
74
  /** 插件参数 */
76
75
  f(this, "params");
77
76
  f(this, "mediaStore", re({
@@ -123,12 +122,6 @@ class gi extends ne {
123
122
  return o === "BehindDom" || o === "Dom";
124
123
  }));
125
124
  }
126
- set workCode(e) {
127
- this.workUtil.workCode = e;
128
- }
129
- get workCode() {
130
- return this.workUtil.workCode;
131
- }
132
125
  /** css3DRenderPlugin */
133
126
  get css3DRenderPlugin() {
134
127
  var e, i, o;
@@ -192,7 +185,7 @@ class gi extends ne {
192
185
  const o = this.getTagConfig(e);
193
186
  if (e.config = o, e.config.initialData) {
194
187
  const n = JSON.parse(JSON.stringify(e.data));
195
- e.data = (t = o.initialData) != null && t.important ? P(e.data, n, o.initialData) : P(e.data, o.initialData, n);
188
+ e.data = (t = o.initialData) != null && t.important ? y(e.data, n, o.initialData) : y(e.data, o.initialData, n);
196
189
  }
197
190
  });
198
191
  }
@@ -228,10 +221,10 @@ class gi extends ne {
228
221
  if (t[0].type === "Video")
229
222
  return navigator.userAgent.toLowerCase().indexOf("firefox") > -1 && navigator.userAgent.toLowerCase().indexOf("mobile") > -1 ? "Dom" : "Mesh";
230
223
  if (t[0].type === "Image")
231
- return H(t[0].url) === "gif" ? "Dom" : "Mesh";
224
+ return J(t[0].url) === "gif" ? "Dom" : "Mesh";
232
225
  }
233
- } else if (B(e))
234
- return t.length === 1 && t[0].type === "Image" ? H(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
226
+ } else if (N(e))
227
+ return t.length === 1 && t[0].type === "Image" ? J(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
235
228
  }
236
229
  })();
237
230
  return i != null ? i : "Dom";
@@ -250,13 +243,13 @@ class gi extends ne {
250
243
  const n = this.workUtil.getObserverPosition(o);
251
244
  if (n === void 0)
252
245
  throw new Error(`getAngle(): observerPosition is ${n}`);
253
- const r = (() => e.stickType === "3DPoint" ? y(e.normal) : E(e.position))();
246
+ const r = (() => e.stickType === "3DPoint" ? P(e.normal) : E(e.position))();
254
247
  if (!r)
255
248
  return;
256
- const a = V(e);
249
+ const a = B(e);
257
250
  if (!a)
258
251
  return;
259
- const d = new ie.Vector3().copy(n).sub(a), g = r.angleTo(d) * 180 / Math.PI;
252
+ const d = new U.Vector3().copy(n).sub(a), g = r.angleTo(d) * 180 / Math.PI;
260
253
  return t.angle = g, t.angle;
261
254
  }
262
255
  }
@@ -264,29 +257,29 @@ class gi extends ne {
264
257
  * @description 获取距离
265
258
  */
266
259
  getDistance(e, i) {
267
- const o = D(D({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = o, r = w(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
260
+ const o = D(D({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = o, r = S(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
268
261
  if ((r == null ? void 0 : r.distance) !== void 0)
269
262
  return r.distance;
270
- const a = V(e);
263
+ const a = B(e);
271
264
  if (!a)
272
265
  return -1;
273
- if (w(n)) {
266
+ if (S(n)) {
274
267
  const d = this.workUtil.getObserverPosition(t);
275
268
  if (d === void 0)
276
269
  return -1;
277
270
  const g = d.distanceTo(a);
278
271
  return r && (r.distance = g), g;
279
272
  }
280
- if (z(n))
273
+ if ($(n))
281
274
  return this.five.camera.position.distanceTo(a);
282
275
  }
283
276
  getPositions(e) {
284
277
  if (le(e))
285
278
  return e.position;
286
- if (B(e))
279
+ if (N(e))
287
280
  return e.data.mediaPosition;
288
281
  if (de(e))
289
- return oe(this.five.camera.position, y(e.position), y(e.normal));
282
+ return oe(this.five.camera.position, P(e.position), P(e.normal));
290
283
  }
291
284
  addObjectClickHandler(e, i, o) {
292
285
  if (!i || !this.domEvents)
@@ -304,7 +297,7 @@ class gi extends ne {
304
297
  }
305
298
  getTagNormal(e) {
306
299
  if (e.normal)
307
- return y(e.normal);
300
+ return P(e.normal);
308
301
  if (e.stickType === "Plane")
309
302
  return E(e.position);
310
303
  if (e.stickType === "Model")
@@ -314,7 +307,11 @@ class gi extends ne {
314
307
  if (!e)
315
308
  return;
316
309
  const i = this.workUtil.transform;
317
- return Array.isArray(e) && e.length === 4 ? e.map(y).map((o) => J(o, i)) : J(y(e), i);
310
+ return Array.isArray(e) && e.length === 4 ? e.map(P).map((o) => G(o, i)) : G(P(e), i);
311
+ }
312
+ getTransformedMatrix(e) {
313
+ const i = new U.Matrix4().fromArray(e);
314
+ return i.premultiply(this.workUtil.transform), i.elements;
318
315
  }
319
316
  /**
320
317
  * @description 检查是否已经销毁
@@ -327,51 +324,51 @@ class gi extends ne {
327
324
  * @description 获取merge后的配置
328
325
  */
329
326
  calculateTagConfig(e, i) {
330
- var S, A, O, I, W;
331
- const o = (S = i == null ? void 0 : i.useCache) != null ? S : !0;
327
+ var w, A, x, O, I;
328
+ const o = (w = i == null ? void 0 : i.useCache) != null ? w : !0;
332
329
  if (!e)
333
330
  return (A = this.config.globalConfig) != null ? A : {};
334
331
  if (o) {
335
- if ((O = e == null ? void 0 : e.computedConfig) != null && O._isMerged)
332
+ if ((x = e == null ? void 0 : e.computedConfig) != null && x._isMerged)
336
333
  return e.computedConfig;
337
- if ((I = e == null ? void 0 : e.config) != null && I._isMerged)
334
+ if ((O = e == null ? void 0 : e.config) != null && O._isMerged)
338
335
  return e.config;
339
336
  }
340
337
  const t = {}, n = {}, r = {};
341
338
  this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, m]) => {
342
- var x, R;
343
- const c = u, k = c.split("-"), j = u.startsWith("["), T = j ? k[0].slice(1, -1) : void 0, p = j ? k.slice(1) : k, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (x = n[T]) != null ? x : n[T] = {} : (R = r[T]) != null ? R : r[T] = {} : t;
339
+ var W, R;
340
+ const c = u, _ = c.split("-"), j = u.startsWith("["), T = j ? _[0].slice(1, -1) : void 0, h = j ? _.slice(1) : _, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (W = n[T]) != null ? W : n[T] = {} : (R = r[T]) != null ? R : r[T] = {} : t;
344
341
  if (!v[c]) {
345
- if (p.length === 0 && (v[c] = m), p.length === 1) {
346
- const [h] = p;
347
- (e.contentType === h || h === "Any") && (v[c] = m);
342
+ if (h.length === 0 && (v[c] = m), h.length === 1) {
343
+ const [p] = h;
344
+ (e.contentType === p || p === "Any") && (v[c] = m);
348
345
  }
349
- if (p.length === 2) {
350
- const [h = "Any", M = "Any"] = p;
351
- h === "Mixin" && e.contentType === M && (v[c] = m), (e.stickType === h || h === "Any") && (e.contentType === M || M === "Any") && (v[c] = m);
346
+ if (h.length === 2) {
347
+ const [p = "Any", M = "Any"] = h;
348
+ p === "Mixin" && e.contentType === M && (v[c] = m), (e.stickType === p || p === "Any") && (e.contentType === M || M === "Any") && (v[c] = m);
352
349
  }
353
- if (p.length === 3) {
354
- const [h = "Any", M, X] = p;
350
+ if (h.length === 3) {
351
+ const [p = "Any", M, Z] = h;
355
352
  if (M === "Audio" && e.contentType === "Audio") {
356
353
  const F = e;
357
- (F.stickType === h || h === "Any") && F.data.appearance === X && (v[c] = m);
354
+ (F.stickType === p || p === "Any") && F.data.appearance === Z && (v[c] = m);
358
355
  }
359
356
  }
360
357
  }
361
358
  });
362
- const a = (W = e.initialConfig) != null ? W : {}, d = P({}, ee, this.config.globalConfig, ...Object.values(t)), g = P({}, d, a), C = {}, G = Object.values(ae.Mode);
363
- $(n).forEach(([u, m]) => {
364
- G.forEach((c) => {
365
- (u === "PanoramaLike" && w(c) || u === "ModelLike" && z(c)) && (C[c] = P({}, d, ...Object.values(m), a, { _isMerged: !0 }));
359
+ const a = (I = e.initialConfig) != null ? I : {}, d = y({}, ie, this.config.globalConfig, ...Object.values(t)), g = y({}, d, a), C = {}, X = Object.values(ae.Mode);
360
+ H(n).forEach(([u, m]) => {
361
+ X.forEach((c) => {
362
+ (u === "PanoramaLike" && S(c) || u === "ModelLike" && $(c)) && (C[c] = y({}, d, ...Object.values(m), a, { _isMerged: !0 }));
366
363
  });
367
- }), $(r).forEach(([u, m]) => {
364
+ }), H(r).forEach(([u, m]) => {
368
365
  const c = C[u];
369
- C[u] = P({}, d, c, ...Object.values(m), a, { _isMerged: !0 });
366
+ C[u] = y({}, d, c, ...Object.values(m), a, { _isMerged: !0 });
370
367
  });
371
- const b = U(D({}, g), { configWithFiveMode: C });
372
- return N(b), Object.values(C).forEach((u) => N(u)), b._isMerged = !0, b;
368
+ const b = V(D({}, g), { configWithFiveMode: C });
369
+ return z(b), Object.values(C).forEach((u) => z(u)), b._isMerged = !0, b;
373
370
  }
374
371
  }
375
372
  export {
376
- gi as TagUtil
373
+ hi as TagUtil
377
374
  };
@@ -1,13 +1,13 @@
1
1
  var k = Object.defineProperty, E = Object.defineProperties;
2
2
  var F = Object.getOwnPropertyDescriptors;
3
3
  var P = Object.getOwnPropertySymbols;
4
- var R = Object.prototype.hasOwnProperty, M = Object.prototype.propertyIsEnumerable;
4
+ var M = Object.prototype.hasOwnProperty, R = Object.prototype.propertyIsEnumerable;
5
5
  var D = (d, a, e) => a in d ? k(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, c = (d, a) => {
6
6
  for (var e in a || (a = {}))
7
- R.call(a, e) && D(d, e, a[e]);
7
+ M.call(a, e) && D(d, e, a[e]);
8
8
  if (P)
9
9
  for (var e of P(a))
10
- M.call(a, e) && D(d, e, a[e]);
10
+ R.call(a, e) && D(d, e, a[e]);
11
11
  return d;
12
12
  }, C = (d, a) => E(d, F(a));
13
13
  var f = (d, a, e) => (D(d, typeof a != "symbol" ? a + "" : a, e), e);
@@ -29,14 +29,14 @@ var g = (d, a, e) => new Promise((t, i) => {
29
29
  });
30
30
  import * as A from "three";
31
31
  import { Subscribe as O } from "@realsee/five";
32
- import { objectAssignDeepExports as u } from "../../vendor/object-assign-deep/objectAssignDeep.js";
32
+ import { objectAssignDeepExports as m } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
33
  import { addDebugPoints as _ } from "../utils/addDebugPoints.js";
34
34
  import { arrayPositionToVector3 as w } from "../../shared-utils/positionToVector3.js";
35
35
  import { isMediaModelTag as L, isModelTag as G } from "../utils/tag/tagCheck.js";
36
36
  import { debounce as N } from "../utils/debounce.js";
37
37
  import { throttle as S } from "../utils/throttle.js";
38
- import z, { getTagStickType as W } from "../utils/tag/format.js";
39
- import { generateBlankAudio as $, AudioNamespace as x } from "../../shared-utils/audio.js";
38
+ import x, { getTagStickType as z } from "../utils/tag/format.js";
39
+ import { generateBlankAudio as W, AudioNamespace as $ } from "../../shared-utils/audio.js";
40
40
  import { resizeObserver as U } from "../../shared-utils/dom/resizeObserver.js";
41
41
  import { TagRender as j } from "./TagRender.js";
42
42
  import { uuid as J } from "../../shared-utils/uuid.js";
@@ -67,6 +67,9 @@ import "./TagCache.js";
67
67
  import "../../base/BasePlugin.js";
68
68
  import "../../shared-utils/Subscribe.js";
69
69
  import "../../shared-utils/url/absoluteUrl.js";
70
+ import "../../shared-utils/Utils/WorkUtil.js";
71
+ import "../../shared-utils/Utils/BaseUtil.js";
72
+ import "../../shared-utils/five/transformPosition.js";
70
73
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
71
74
  import "three/examples/jsm/renderers/CSS3DRenderer";
72
75
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
@@ -96,9 +99,6 @@ import "../../shared-utils/five/calculateThreeMouse.js";
96
99
  import "../utils/tag/adaptConfig.js";
97
100
  import "../../shared-utils/typescript/entries.js";
98
101
  import "../../shared-utils/url/getUrl.js";
99
- import "../../shared-utils/five/transformPosition.js";
100
- import "../../shared-utils/Utils/WorkUtil.js";
101
- import "../../shared-utils/Utils/BaseUtil.js";
102
102
  import "../../shared-utils/five/getFloorIndex.js";
103
103
  import "../Components/TagContainer.js";
104
104
  import "../Components/TagItem.js";
@@ -184,7 +184,7 @@ class Ni extends j {
184
184
  f(this, "debugUtil", new K(this));
185
185
  /** 更改 tag 模型 */
186
186
  f(this, "changeTagModel", (e, t) => g(this, null, function* () {
187
- e.data = u({}, e.data, t), yield this.loadModel(e), this.updateTag(e);
187
+ e.data = m({}, e.data, t), yield this.loadModel(e), this.updateTag(e);
188
188
  }));
189
189
  f(this, "whyHide", (e) => {
190
190
  var s;
@@ -274,7 +274,7 @@ class Ni extends j {
274
274
  f(this, "onFiveEveryReady", () => {
275
275
  this.setUnfoldedByCamera(), q(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
276
276
  });
277
- this.params = u({}, { debug: !1, config: this.config }, c({}, t)), this.debug = this.params.debug, this.config = this.params.config, $(1, { namespace: x.PlayAudio });
277
+ this.params = m({}, { debug: !1, config: this.config }, c({}, t)), this.debug = this.params.debug, this.config = this.params.config, W(1, { namespace: $.PlayAudio });
278
278
  try {
279
279
  Array.isArray(window.__PANOTAGPLUGIN_DEBUG_LIST__) || (window.__PANOTAGPLUGIN_DEBUG_LIST__ = []), window.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), window.__PANOTAGPLUGIN_DEBUG__ || Object.defineProperty(window, "__PANOTAGPLUGIN_DEBUG__", {
280
280
  get: function() {
@@ -296,7 +296,7 @@ class Ni extends j {
296
296
  load(e, t) {
297
297
  return g(this, null, function* () {
298
298
  var s, o;
299
- this.clearTags(), console.debug(V, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = u({}, this.config, {
299
+ this.clearTags(), console.debug(V, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = m({}, this.config, {
300
300
  globalConfig: (s = e.globalConfig) != null ? s : {},
301
301
  contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
302
302
  }), this.store.visibleWithAnimation = !0;
@@ -317,7 +317,7 @@ class Ni extends j {
317
317
  return g(this, null, function* () {
318
318
  const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
319
319
  var b, v, T, y;
320
- o.stickType = W(o);
320
+ o.stickType = z(o);
321
321
  const r = JSON.parse(JSON.stringify(o.data)), n = (b = o.initialConfig) != null ? b : o.config ? JSON.parse(JSON.stringify(o.config)) : {};
322
322
  o.initialConfig = n;
323
323
  const h = this.calculateTagConfig(o), l = this.getTagConfig(o);
@@ -325,7 +325,7 @@ class Ni extends j {
325
325
  const p = C(c({}, o), {
326
326
  enabled: (v = o.enabled) != null ? v : !0,
327
327
  id: (T = o.id) != null ? T : J(),
328
- data: (y = l.initialData) != null && y.important ? u(o.data, r, l.initialData) : u(o.data, l.initialData, r),
328
+ data: (y = l.initialData) != null && y.important ? m(o.data, r, l.initialData) : m(o.data, l.initialData, r),
329
329
  state: c({
330
330
  visible: void 0,
331
331
  unfolded: !this.can("fold", o)
@@ -333,9 +333,10 @@ class Ni extends j {
333
333
  hooks: new O(),
334
334
  originPosition: o.position,
335
335
  position: (() => {
336
- const m = this.getTransformedPostion(o.position);
337
- return Array.isArray(m) ? m.map((B) => B.toArray()) : m.toArray();
336
+ const u = this.getTransformedPostion(o.position);
337
+ return Array.isArray(u) ? u.map((B) => B.toArray()) : u.toArray();
338
338
  })(),
339
+ matrix: o.matrix ? this.getTransformedMatrix(o.matrix) : o.matrix,
339
340
  initialConfig: n,
340
341
  computedConfig: h,
341
342
  config: l,
@@ -344,13 +345,13 @@ class Ni extends j {
344
345
  enable: () => this.changeEnabledById(p.id, !0),
345
346
  disable: () => this.changeEnabledById(p.id, !1),
346
347
  destroy: () => this.destroyTagById(p.id),
347
- changeData: (m) => this.changeDataById(p.id, m),
348
- changePosition: (m) => this.changePositionById(p.id, m),
349
- blink: (m) => this.blinkTagById(p.id, m)
348
+ changeData: (u) => this.changeDataById(p.id, u),
349
+ changePosition: (u) => this.changePositionById(p.id, u),
350
+ blink: (u) => this.blinkTagById(p.id, u)
350
351
  });
351
352
  return p;
352
353
  });
353
- return s.forEach(z), this.tags.push(...s), this.tagsLengthWillUpdate = !0, H(this.five).then(() => g(this, null, function* () {
354
+ return s.forEach(x), this.tags.push(...s), this.tagsLengthWillUpdate = !0, H(this.five).then(() => g(this, null, function* () {
354
355
  var o, r, n;
355
356
  this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (n = t == null ? void 0 : t.withAnimation) != null ? n : !0 }), this.updateRenderAllTags();
356
357
  }));
@@ -360,19 +361,19 @@ class Ni extends j {
360
361
  * @description 改变配置
361
362
  */
362
363
  changeConfig(e, t = !0) {
363
- t ? this.config = u({}, this.config, e) : this.config = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
364
+ t ? this.config = m({}, this.config, e) : this.config = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
364
365
  }
365
366
  /**
366
367
  * @description 改变全局配置
367
368
  */
368
369
  changeGlobalConfig(e, t = !0) {
369
- t ? this.config.globalConfig = u({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
370
+ t ? this.config.globalConfig = m({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
370
371
  }
371
372
  /**
372
373
  * @description 改变类型配置
373
374
  */
374
375
  changeContentTypeConfig(e, t, i = !0) {
375
- this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = u({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
376
+ this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = m({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.setVisible(), this.updateRenderAllTags();
376
377
  }
377
378
  show(e) {
378
379
  return g(this, null, function* () {
@@ -502,7 +503,7 @@ class Ni extends j {
502
503
  changeDataById(e, t, i = !0) {
503
504
  const s = this.getTagById(e);
504
505
  let o = !1;
505
- s && (s.data && (o = !0), i ? s.data = u(s.data, t) : s.data = c(c({}, s.data), t), this.clearUnusedPanelTag(), this.updateTag(s), o && s.hooks.emit("dataChanged", s.data));
506
+ s && (s.data && (o = !0), i ? s.data = m(s.data, t) : s.data = c(c({}, s.data), t), this.clearUnusedPanelTag(), this.updateTag(s), o && s.hooks.emit("dataChanged", s.data));
506
507
  }
507
508
  /**
508
509
  * @description 改变tag的stickType
@@ -516,7 +517,7 @@ class Ni extends j {
516
517
  changeTagById(e, t, i = !0) {
517
518
  const s = this.getTagById(e);
518
519
  let o = !1;
519
- t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ? u(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = w(t.normal)), this.clearCacheById(e), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
520
+ t && (this.tagsLengthWillUpdate = !0, t.data && (o = !0), i ? m(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = w(t.normal)), this.clearCacheById(e), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
520
521
  }
521
522
  /**
522
523
  * @description 销毁tag
@@ -44,6 +44,9 @@ import "./utils/normalPositionToPositions.js";
44
44
  import "./controller/TagCache.js";
45
45
  import "../base/BasePlugin.js";
46
46
  import "../shared-utils/url/absoluteUrl.js";
47
+ import "../shared-utils/Utils/WorkUtil.js";
48
+ import "../shared-utils/Utils/BaseUtil.js";
49
+ import "../shared-utils/five/transformPosition.js";
47
50
  import "../vendor/svelte/store/index.js";
48
51
  import "../vendor/svelte/internal/index.js";
49
52
  import "../shared-utils/device.js";
@@ -64,9 +67,6 @@ import "../shared-utils/five/calculateThreeMouse.js";
64
67
  import "./utils/tag/adaptConfig.js";
65
68
  import "../shared-utils/typescript/entries.js";
66
69
  import "../shared-utils/url/getUrl.js";
67
- import "../shared-utils/five/transformPosition.js";
68
- import "../shared-utils/Utils/WorkUtil.js";
69
- import "../shared-utils/Utils/BaseUtil.js";
70
70
  import "../shared-utils/five/getFloorIndex.js";
71
71
  import "../shared-utils/safeObj.js";
72
72
  import "./Components/TagContainer.js";
@@ -140,21 +140,11 @@ export interface ContentTypeMapInterface {
140
140
  modelUrl: string;
141
141
  mediaData: MediaData[];
142
142
  mediaPosition: [Position, Position, Position, Position];
143
- matrix?: number[];
144
143
  /** 多媒体在容器中的适配规则 {@link https://developer.mozilla.org/zh-CN/docs/Web/CSS/object-fit} */
145
144
  objectFit?: ObjectFit;
146
- action?: {
147
- url: string;
148
- type: 'iframe' | 'window';
149
- };
150
145
  };
151
146
  Model: {
152
147
  modelUrl: string;
153
- matrix?: number[];
154
- action?: {
155
- url?: string;
156
- type: 'iframe' | 'window' | 'custom';
157
- };
158
148
  };
159
149
  Custom: Object;
160
150
  Unknown: Object;