@realsee/dnalogel 2.16.1 → 2.17.0-aplha.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 (301) hide show
  1. package/dist/PanoTagPlugin/Archive/deprecated.d.ts +22 -0
  2. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -1
  3. package/dist/PanoTagPlugin/controller/index.d.ts +2 -2
  4. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -1
  5. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +6 -7
  6. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +3 -1
  7. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +25 -25
  8. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +4 -0
  9. package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +10 -21
  10. package/dist/index.cjs.js +36 -36
  11. package/dist/index.js +2132 -2102
  12. package/dist/index.umd.js +36 -36
  13. package/dist/shared-utils/five/FiveDomEvents.d.ts +5 -0
  14. package/dist/shared-utils/three/FragmentTransparencyMaterial.d.ts +17 -0
  15. package/dist/shared-utils/three/loadVideoTexture.d.ts +4 -0
  16. package/docs/assets/search.js +1 -1
  17. package/docs/classes/CSS3DRender.html +31 -31
  18. package/docs/classes/CruisePluginController.html +25 -25
  19. package/docs/classes/Magnifier.html +20 -20
  20. package/docs/classes/ModelRoomLabelController.html +11 -11
  21. package/docs/classes/Object3DHelperController.html +24 -24
  22. package/docs/classes/PaintBrush.html +15 -15
  23. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  24. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  25. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  26. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  27. package/docs/classes/PanoTagPluginController.html +81 -351
  28. package/docs/classes/Util.BetterTween.html +8 -8
  29. package/docs/classes/Util.FivePointSelector.html +12 -12
  30. package/docs/classes/Util.Interval.html +12 -12
  31. package/docs/classes/Util.Magnifier.html +17 -17
  32. package/docs/classes/Util.PointDomHelper.html +11 -11
  33. package/docs/classes/Util.PointHelper.html +11 -11
  34. package/docs/classes/Util.Rectangle.html +13 -13
  35. package/docs/enums/CameraMovementEffect.html +7 -7
  36. package/docs/enums/ContentType.html +19 -19
  37. package/docs/enums/DIRECTION.html +9 -9
  38. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  39. package/docs/enums/DimensionType.html +7 -7
  40. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  41. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  42. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  43. package/docs/enums/Rotation.html +8 -8
  44. package/docs/functions/CSS3DRenderPlugin.html +5 -4
  45. package/docs/functions/CameraMovementPlugin.html +5 -4
  46. package/docs/functions/CruisePlugin.html +5 -4
  47. package/docs/functions/GuideLinePlugin.html +6 -5
  48. package/docs/functions/ItemLabelPlugin.html +5 -4
  49. package/docs/functions/MapviewFloorplanPlugin.html +5 -4
  50. package/docs/functions/ModelChassisCompassPlugin.html +5 -4
  51. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
  52. package/docs/functions/ModelFloorplanPlugin.html +5 -4
  53. package/docs/functions/ModelItemLabelPlugin.html +5 -4
  54. package/docs/functions/ModelRoomLabelPlugin.html +5 -4
  55. package/docs/functions/ModelTVVideoPlugin.html +5 -4
  56. package/docs/functions/ModelViewPlugin.html +5 -4
  57. package/docs/functions/Object3DHelperPlugin.html +5 -4
  58. package/docs/functions/PanoCompassPlugin.html +5 -4
  59. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
  60. package/docs/functions/PanoDoorLabelPlugin.html +5 -4
  61. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
  62. package/docs/functions/PanoMeasurePlugin.html +5 -4
  63. package/docs/functions/PanoRulerPlugin.html +5 -4
  64. package/docs/functions/PanoRulerProPlugin.html +5 -4
  65. package/docs/functions/PanoSpatialTagPlugin.html +5 -4
  66. package/docs/functions/PanoTagPlugin.html +5 -4
  67. package/docs/functions/PanoVideoPlugin.html +5 -4
  68. package/docs/functions/TopviewFloorplanPlugin.html +5 -4
  69. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  70. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  71. package/docs/functions/Util.getFrameTime.html +5 -5
  72. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  73. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  74. package/docs/functions/Util.isNil.html +5 -5
  75. package/docs/functions/Util.nextFrame.html +5 -5
  76. package/docs/functions/Util.notNil.html +5 -5
  77. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  78. package/docs/functions/Util.tweenProgress.html +5 -5
  79. package/docs/functions/pluginFlag.html +6 -5
  80. package/docs/index.html +5 -4
  81. package/docs/interfaces/AddTagConfig.html +6 -6
  82. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  83. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  84. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  85. package/docs/interfaces/EventMap.html +19 -19
  86. package/docs/interfaces/FloorplanBounding.html +8 -8
  87. package/docs/interfaces/FloorplanData.html +10 -10
  88. package/docs/interfaces/FloorplanEntrance.html +11 -11
  89. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  90. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  91. package/docs/interfaces/FloorplanFloorData.html +9 -9
  92. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  93. package/docs/interfaces/FloorplanObserver.html +9 -9
  94. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  95. package/docs/interfaces/FloorplanPosition.html +7 -7
  96. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  97. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  98. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  99. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  100. package/docs/interfaces/FloorplanServerData.html +7 -7
  101. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  102. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  103. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  104. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  105. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  106. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  107. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  108. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  109. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  110. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  111. package/docs/interfaces/HelperOffset.html +8 -8
  112. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  113. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  114. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  115. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  116. package/docs/interfaces/MinMax.html +7 -7
  117. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  118. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  119. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  120. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  121. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  122. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  123. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  124. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  125. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  126. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  127. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  128. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  129. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  130. package/docs/interfaces/Object3DHelperState.html +8 -8
  131. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  132. package/docs/interfaces/PaintBrushAction.html +12 -12
  133. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  134. package/docs/interfaces/PaintBrushState.html +10 -10
  135. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  136. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  137. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  138. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  139. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  140. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  141. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  142. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  143. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  144. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  145. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  146. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  147. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  148. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  149. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  150. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  151. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  152. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  153. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  154. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  155. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  156. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  157. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  158. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  159. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  160. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  161. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  162. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  163. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  164. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  165. package/docs/interfaces/Point.html +8 -8
  166. package/docs/interfaces/Room.html +9 -9
  167. package/docs/interfaces/RoomInfo.html +7 -7
  168. package/docs/interfaces/RoomLabel.html +14 -14
  169. package/docs/interfaces/RoomRules.html +6 -5
  170. package/docs/interfaces/Rooms.html +6 -5
  171. package/docs/interfaces/Scissor.html +9 -9
  172. package/docs/interfaces/State.html +8 -8
  173. package/docs/interfaces/TagCacheInterface.html +12 -12
  174. package/docs/interfaces/TagConfig.html +18 -11
  175. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  176. package/docs/interfaces/TagIconUrl.html +11 -11
  177. package/docs/interfaces/TagObjectGroup.html +6 -6
  178. package/docs/interfaces/TagStyle.html +6 -6
  179. package/docs/interfaces/Tags.html +214 -13
  180. package/docs/interfaces/TemporaryState.html +6 -6
  181. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  182. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  183. package/docs/modules/PanoVideoPluginType.html +5 -5
  184. package/docs/modules/Util.html +5 -5
  185. package/docs/modules.html +6 -4
  186. package/docs/types/ArrayPosition.html +6 -5
  187. package/docs/types/AudioAppearance.html +6 -5
  188. package/docs/types/AudioTagTypeConfigKey.html +6 -5
  189. package/docs/types/CSS3DRenderExportType.html +6 -5
  190. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  191. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  192. package/docs/types/ClassFunctionParameters.html +6 -5
  193. package/docs/types/Color.html +6 -5
  194. package/docs/types/ContentTypeConfigKey.html +6 -5
  195. package/docs/types/ContentTypeConfigKeySplit.html +6 -5
  196. package/docs/types/ContentTypeMap.html +7 -6
  197. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  198. package/docs/types/Create3DElementReturnType.html +6 -5
  199. package/docs/types/CruisePluginExportType.html +6 -5
  200. package/docs/types/Direction-1.html +6 -5
  201. package/docs/types/Direction4.html +6 -5
  202. package/docs/types/ElementRenderer.html +6 -5
  203. package/docs/types/FloorplanRuleLabels.html +6 -5
  204. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  205. package/docs/types/GuideLinePluginExportType.html +6 -5
  206. package/docs/types/HelperEventMap.html +6 -5
  207. package/docs/types/LoadTagConfig.html +6 -5
  208. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  209. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  210. package/docs/types/MediaData.html +6 -5
  211. package/docs/types/MediaStore.html +6 -5
  212. package/docs/types/ModelElement.html +6 -5
  213. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  214. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  215. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  216. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  217. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  218. package/docs/types/MoveArgs.html +6 -5
  219. package/docs/types/MoveOpts.html +6 -5
  220. package/docs/types/Object3DHelperEventMap.html +6 -5
  221. package/docs/types/ObjectFit.html +6 -5
  222. package/docs/types/PaintBrushEventMap.html +6 -5
  223. package/docs/types/PanoCompassPluginData.html +6 -5
  224. package/docs/types/PanoCompassPluginExportType.html +6 -5
  225. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  226. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  227. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  228. package/docs/types/PanoIndex.html +6 -5
  229. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  230. package/docs/types/PanoMeasureReturnType.html +6 -5
  231. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  232. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  233. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  234. package/docs/types/PanoVideoPluginParameterType.html +6 -5
  235. package/docs/types/PanoVideoPluginReturnType.html +6 -5
  236. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +275 -0
  237. package/docs/types/PlaneTag.html +6 -5
  238. package/docs/types/PlaneTagElement.html +6 -5
  239. package/docs/types/Point2DElement.html +6 -5
  240. package/docs/types/Point2DTag.html +6 -5
  241. package/docs/types/Point3DElement.html +6 -5
  242. package/docs/types/Point3DTag.html +6 -5
  243. package/docs/types/PointTag.html +6 -5
  244. package/docs/types/PointTagElement.html +6 -5
  245. package/docs/types/Position.html +6 -5
  246. package/docs/types/RotateArgs.html +6 -5
  247. package/docs/types/RotateOpts.html +6 -5
  248. package/docs/types/RuleLabelsKey.html +6 -5
  249. package/docs/types/RuleLabelsValue.html +6 -5
  250. package/docs/types/StickType.html +6 -5
  251. package/docs/types/Tag.html +7 -6
  252. package/docs/types/Tag2D.html +6 -5
  253. package/docs/types/Tag3D.html +6 -5
  254. package/docs/types/TagContentType.html +6 -5
  255. package/docs/types/TagDimensionType.html +6 -5
  256. package/docs/types/TagElement.html +6 -5
  257. package/docs/types/TagEvents.html +6 -5
  258. package/docs/types/TagGLTFObject.html +6 -5
  259. package/docs/types/TagHooks.html +6 -5
  260. package/docs/types/TagIconSize.html +6 -5
  261. package/docs/types/TagId.html +6 -5
  262. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  263. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  264. package/docs/types/WorkCode.html +6 -5
  265. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  266. package/docs/variables/PLUGIN.html +6 -5
  267. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  268. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  269. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  270. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  271. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  272. package/libs/PanoTagPlugin/Archive/deprecated.d.ts +15 -0
  273. package/libs/PanoTagPlugin/Components/Common/Media.js +14 -10
  274. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -1
  275. package/libs/PanoTagPlugin/controller/TagComputer.js +3 -2
  276. package/libs/PanoTagPlugin/controller/TagRender.js +51 -45
  277. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -1
  278. package/libs/PanoTagPlugin/controller/TagUtil.js +21 -16
  279. package/libs/PanoTagPlugin/controller/index.d.ts +2 -2
  280. package/libs/PanoTagPlugin/controller/index.js +22 -20
  281. package/libs/PanoTagPlugin/index.js +11 -10
  282. package/libs/PanoTagPlugin/tag.config.js +7 -0
  283. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -1
  284. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +6 -7
  285. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +3 -1
  286. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +25 -25
  287. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +4 -0
  288. package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +10 -21
  289. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +130 -158
  290. package/libs/base/BasePlugin.js +3 -3
  291. package/libs/index.js +103 -102
  292. package/libs/shared-utils/five/FiveDomEvents.d.ts +5 -0
  293. package/libs/shared-utils/five/FiveDomEvents.js +48 -38
  294. package/libs/shared-utils/logger.js +1 -1
  295. package/libs/shared-utils/three/FragmentTransparencyMaterial.d.ts +17 -0
  296. package/libs/shared-utils/three/FragmentTransparencyMaterial.js +36 -0
  297. package/libs/shared-utils/three/loadVideoTexture.d.ts +4 -0
  298. package/libs/shared-utils/three/loadVideoTexture.js +8 -10
  299. package/package.json +1 -1
  300. package/libs/PanoTagPlugin/Archive/index.d.ts +0 -1
  301. package/libs/PanoTagPlugin/Archive/index.js +0 -4
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.16.1</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.16.1"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v2.17.0-aplha.0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.17.0-aplha.0"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,13 +6,13 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.16.1</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.17.0-aplha.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-8 col-content">
13
13
  <div class="tsd-page-title">
14
14
  <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">如视看房插件合集 - v2.16.1</a></li>
15
+ <li><a href="../modules.html">如视看房插件合集 - v2.17.0-aplha.0</a></li>
16
16
  <li><a href="modelRoomLabelPluginServerParams.html">modelRoomLabelPluginServerParams</a></li></ul>
17
17
  <h1>Variable modelRoomLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
18
18
  <div class="tsd-signature">model<wbr/>Room<wbr/>Label<wbr/>Plugin<wbr/>Server<wbr/>Params<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div>
@@ -24,7 +24,7 @@
24
24
  <li class="tsd-parameter">
25
25
  <h5>version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
26
26
  <ul>
27
- <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/02c0f30/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
27
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/eab496b/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
28
28
  <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
29
29
  <div class="tsd-navigation settings">
30
30
  <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
@@ -41,7 +41,7 @@
41
41
  <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
42
42
  <div class="tsd-accordion-details">
43
43
  <ul>
44
- <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.16.1</a>
44
+ <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.17.0-<wbr/>aplha.0</a>
45
45
  <ul>
46
46
  <li class="tsd-kind-namespace"><a href="../modules/PanoVideoPluginType.html">Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</a></li>
47
47
  <li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
@@ -210,6 +210,7 @@
210
210
  <li class="tsd-kind-type-alias"><a href="../types/PanoTagPluginParamsInterface.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Tag<wbr/>Plugin<wbr/>Params<wbr/>Interface</a></li>
211
211
  <li class="tsd-kind-type-alias"><a href="../types/PanoVideoPluginParameterType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Video<wbr/>Plugin<wbr/>Parameter<wbr/>Type</a></li>
212
212
  <li class="tsd-kind-type-alias"><a href="../types/PanoVideoPluginReturnType.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pano<wbr/>Video<wbr/>Plugin<wbr/>Return<wbr/>Type</a></li>
213
+ <li class="tsd-kind-type-alias"><a href="../types/PickTagContentTypeInContentTypeConfigKey.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Pick<wbr/>Tag<wbr/>Content<wbr/>Type<wbr/>In<wbr/>Content<wbr/>Type<wbr/>Config<wbr/>Key</a></li>
213
214
  <li class="tsd-kind-type-alias"><a href="../types/PlaneTag.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Plane<wbr/>Tag</a></li>
214
215
  <li class="tsd-kind-type-alias"><a href="../types/PlaneTagElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Plane<wbr/>Tag<wbr/>Element</a></li>
215
216
  <li class="tsd-kind-type-alias"><a href="../types/Point2DElement.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-4194304-path"></use><use href="#icon-4194304-text"></use></svg>Point2DElement</a></li>
@@ -5,3 +5,18 @@ export declare enum PointType {
5
5
  }
6
6
  /** @deprecated 改用 stickType */
7
7
  export declare type TagPointType = keyof typeof PointType;
8
+ /** @deprecated */
9
+ export declare type DeprecatedTagProperty = {
10
+ /** @deprecated 2维/3维类型,已废弃,使用 stickType 代替 */
11
+ dimensionType?: '2D' | '3D';
12
+ /** @deprecated 一个点的标签/4个点的标签,已废弃,使用 stickType 代替 */
13
+ pointType?: 'PlaneTag' | 'PointTag';
14
+ };
15
+ /** @deprecated */
16
+ export declare type DeprecatedMediaPlaneProperty = {
17
+ /**
18
+ * @description stretch: 拉伸适配, proportional: 等比适配,默认值 'proportional'
19
+ * @deprecated replaced by objectFit
20
+ */
21
+ adaptationMode?: 'stretch' | 'proportional';
22
+ };
@@ -265,24 +265,28 @@ function ye(t) {
265
265
  };
266
266
  }
267
267
  function ke(t, i, l) {
268
- let n, e, s, r, { tag: a } = i, { mediaData: o } = i, { inDelay: u = 0 } = i, { outDelay: I = 0 } = i, { duration: f = 0 } = i, { unfolded: _ = !0 } = i, { animation: b = !0 } = i, { mediaItemConfig: L } = i, { enableCarousel: k = !0 } = i, { autoplayConfig: C = { autoplay: !0, autoplayVideo: !1 } } = i, g = [], v = 0, h, B = null;
269
- const O = F("hooks"), T = F("mediaStore");
270
- function V() {
268
+ let n, e, s, r, { tag: a } = i, { mediaData: o } = i, { inDelay: u = 0 } = i, { outDelay: I = 0 } = i, { duration: f = 0 } = i, { unfolded: _ = !0 } = i, { animation: b = !0 } = i, { mediaItemConfig: L } = i, { enableCarousel: k = !0 } = i, { autoplayConfig: C = {
269
+ autoplayVideo: !1,
270
+ autoplayCarousel: !0,
271
+ autoplayVideoInCarousel: !1
272
+ } } = i, g = [], v = 0, h, V = null;
273
+ const B = F("hooks"), O = F("mediaStore");
274
+ function T() {
271
275
  const m = g[v], d = m == null ? void 0 : m.videoInstance;
272
276
  !d || (d.paused ? (d.muted = !1, d.play()) : d.pause());
273
277
  }
274
278
  me(() => {
275
- O.on("click", (m) => {
279
+ B.on("click", (m) => {
276
280
  var d, z, A;
277
- !((A = (z = (d = a.tag3DContentSvelte) == null ? void 0 : d.css3DInstance) == null ? void 0 : z.css3DObject) != null && A.opacityMesh) || m.tag.id === a.id && V();
278
- }), B = setInterval(
281
+ !((A = (z = (d = a.tag3DContentSvelte) == null ? void 0 : d.css3DInstance) == null ? void 0 : z.css3DObject) != null && A.opacityMesh) || m.tag.id === a.id && T();
282
+ }), V = setInterval(
279
283
  () => {
280
284
  r && (h == null || h.goToNext());
281
285
  },
282
286
  3e3
283
287
  );
284
288
  }), se(() => {
285
- clearInterval(B), O.off("click", V);
289
+ clearInterval(V), B.off("click", T);
286
290
  });
287
291
  function ee(m, d) {
288
292
  t.$$.not_equal(g[d], m) && (g[d] = m, l(8, g));
@@ -293,7 +297,7 @@ function ke(t, i, l) {
293
297
  });
294
298
  }
295
299
  const ie = (m) => {
296
- n || T.set({ currentMediaElement: null }), l(11, v = m.detail);
300
+ n || O.set({ currentMediaElement: null }), l(11, v = m.detail);
297
301
  };
298
302
  function ne(m) {
299
303
  t.$$.not_equal(g[0], m) && (g[0] = m, l(8, g));
@@ -301,7 +305,7 @@ function ke(t, i, l) {
301
305
  return t.$$set = (m) => {
302
306
  "tag" in m && l(0, a = m.tag), "mediaData" in m && l(1, o = m.mediaData), "inDelay" in m && l(2, u = m.inDelay), "outDelay" in m && l(3, I = m.outDelay), "duration" in m && l(4, f = m.duration), "unfolded" in m && l(5, _ = m.unfolded), "animation" in m && l(6, b = m.animation), "mediaItemConfig" in m && l(7, L = m.mediaItemConfig), "enableCarousel" in m && l(15, k = m.enableCarousel), "autoplayConfig" in m && l(16, C = m.autoplayConfig);
303
307
  }, t.$$.update = () => {
304
- t.$$.dirty & 256 && l(9, n = g.every((m) => m.paused)), t.$$.dirty & 32770 && l(13, e = k && (o == null ? void 0 : o.length) > 1), t.$$.dirty & 2 && l(10, s = o), t.$$.dirty & 67072 && (r = s.length > 1 && C.autoplay && n);
308
+ t.$$.dirty & 256 && l(9, n = g.every((m) => m.paused)), t.$$.dirty & 32770 && l(13, e = k && (o == null ? void 0 : o.length) > 1), t.$$.dirty & 2 && l(10, s = o), t.$$.dirty & 67072 && (r = s.length > 1 && C.autoplayCarousel && n);
305
309
  }, [
306
310
  a,
307
311
  o,
@@ -317,7 +321,7 @@ function ke(t, i, l) {
317
321
  v,
318
322
  h,
319
323
  e,
320
- T,
324
+ O,
321
325
  k,
322
326
  C,
323
327
  ee,
@@ -152,7 +152,7 @@ function P(m) {
152
152
  let r, o, e;
153
153
  return o = new H({
154
154
  props: {
155
- autoplayConfig: { autoplay: !1 },
155
+ autoplayConfig: { autoplayCarousel: !1 },
156
156
  unfolded: m[3],
157
157
  mediaData: m[1],
158
158
  tag: m[0],
@@ -62,8 +62,9 @@ import "../../shared-utils/math/pointIsRectangle.js";
62
62
  import "../../shared-utils/three/loadVideoTexture.js";
63
63
  import "../Assets/Icon.js";
64
64
  import "../../shared-utils/three/getPositionsByObjectFit.js";
65
+ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
65
66
  import "../../shared-utils/five/FiveDomEvents.js";
66
- class ke extends S {
67
+ class Se extends S {
67
68
  constructor(e) {
68
69
  super(e);
69
70
  T(this, "raycaster", new C.Raycaster());
@@ -323,5 +324,5 @@ class ke extends S {
323
324
  }
324
325
  }
325
326
  export {
326
- ke as TagComputer
327
+ Se as TagComputer
327
328
  };
@@ -1,7 +1,7 @@
1
1
  var w = Object.defineProperty;
2
- var O = (d, p, e) => p in d ? w(d, p, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[p] = e;
3
- var c = (d, p, e) => (O(d, typeof p != "symbol" ? p + "" : p, e), e);
4
- var P = (d, p, e) => new Promise((t, i) => {
2
+ var E = (c, d, e) => d in c ? w(c, d, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[d] = e;
3
+ var h = (c, d, e) => (E(c, typeof d != "symbol" ? d + "" : d, e), e);
4
+ var T = (c, d, e) => new Promise((t, i) => {
5
5
  var o = (s) => {
6
6
  try {
7
7
  a(e.next(s));
@@ -15,14 +15,14 @@ var P = (d, p, e) => new Promise((t, i) => {
15
15
  i(r);
16
16
  }
17
17
  }, a = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(o, n);
18
- a((e = e.apply(d, p)).next());
18
+ a((e = e.apply(c, d)).next());
19
19
  });
20
- import { TagComputer as x } from "./TagComputer.js";
21
- import { Group as b, Quaternion as I, Vector3 as D, Matrix4 as T } from "three";
22
- import E from "../Components/TagContainer.js";
23
- import G from "../Components/Tag/index.js";
20
+ import { TagComputer as O } from "./TagComputer.js";
21
+ import { Group as b, Quaternion as x, Vector3 as D, Matrix4 as P } from "three";
22
+ import k from "../Components/TagContainer.js";
23
+ import I from "../Components/Tag/index.js";
24
24
  import { arrayPositionToVector3 as v } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
25
- import { centerPoint as k } from "../../shared-utils/three/centerPoint.js";
25
+ import { centerPoint as G } from "../../shared-utils/three/centerPoint.js";
26
26
  import "@realsee/five/gltf-loader";
27
27
  import { VideoPlane as R, ImagePlane as j } from "../utils/model/mediaPlane.js";
28
28
  import { isMediaModelTag as S } from "../utils/tag/tagCheck.js";
@@ -67,12 +67,13 @@ import "../utils/normalPositionToPositions.js";
67
67
  import "./TagCache.js";
68
68
  import "../../base/BasePlugin.js";
69
69
  import "../../vendor/svelte/store/index.js";
70
+ import "../../shared-utils/five/FiveDomEvents.js";
70
71
  import "../../shared-utils/three/Quadrangle.js";
71
72
  import "../../shared-utils/math/pointIsRectangle.js";
72
73
  import "../../shared-utils/three/loadVideoTexture.js";
73
74
  import "../Assets/Icon.js";
74
75
  import "../../shared-utils/three/getPositionsByObjectFit.js";
75
- import "../../shared-utils/five/FiveDomEvents.js";
76
+ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
76
77
  import "../Components/TagItem.js";
77
78
  import "../utils/noTypecheck.js";
78
79
  import "../Components/Common/TagPoint.js";
@@ -138,16 +139,16 @@ import "../Components/Tag/CustomTag.js";
138
139
  import "../../CSS3DRenderPlugin/Controller.js";
139
140
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
140
141
  const F = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map();
141
- class Zt extends x {
142
+ class _t extends O {
142
143
  constructor(e) {
143
144
  super(e);
144
- c(this, "group", new b());
145
- c(this, "imagePlaneGroup", new b());
146
- c(this, "gltfObjectGroup", new b());
147
- c(this, "enabledModelTagSet", /* @__PURE__ */ new Set());
148
- c(this, "temporaryState", { visible: !0 });
149
- c(this, "TagContainerSvelte");
150
- c(this, "loadModel", (e) => P(this, null, function* () {
145
+ h(this, "group", new b());
146
+ h(this, "imagePlaneGroup", new b());
147
+ h(this, "gltfObjectGroup", new b());
148
+ h(this, "enabledModelTagSet", /* @__PURE__ */ new Set());
149
+ h(this, "temporaryState", { visible: !0 });
150
+ h(this, "TagContainerSvelte");
151
+ h(this, "loadModel", (e) => T(this, null, function* () {
151
152
  var s;
152
153
  const t = e.data.modelUrl;
153
154
  if (!t)
@@ -157,7 +158,7 @@ class Zt extends x {
157
158
  const o = yield i;
158
159
  if (((s = e.model) == null ? void 0 : s.promise) !== i || (e.model.object = o, !this.tags.includes(e)))
159
160
  return;
160
- o.visible = this.getCurrentVisibleState(e), new T().fromArray(e.matrix).decompose(o.position, o.quaternion, o.scale), o.updateWorldMatrix(!0, !0), o.visible = this.getVisibleByFloorIndex(e);
161
+ o.visible = this.getCurrentVisibleState(e), new P().fromArray(e.matrix).decompose(o.position, o.quaternion, o.scale), o.updateWorldMatrix(!0, !0), o.visible = this.getVisibleByFloorIndex(e);
161
162
  const a = this.gltfObjectGroup.children.find((r) => r.customID === e.id);
162
163
  if (a && this.gltfObjectGroup.remove(a), this.getRenderType(e) === "Mesh") {
163
164
  if (!e.mediaPlane) {
@@ -185,26 +186,31 @@ class Zt extends x {
185
186
  }
186
187
  updateRenderImagePlane() {
187
188
  this.sort(this.filterImagePlane).forEach((t) => {
188
- var s, r, m;
189
+ var s, r, m, u;
189
190
  const i = t.data.mediaData[0];
190
191
  if (!i)
191
192
  return;
192
- const o = i.url, n = i.type;
193
- if (!o || (t.mediaPlane && (t.mediaPlane.visible = (r = (s = t.state) == null ? void 0 : s.visible) != null ? r : !0, t.mediaPlane instanceof R && !t.mediaPlane.visible && t.mediaPlane.pause()), ((m = t.mediaPlane) == null ? void 0 : m.src) === o))
193
+ const { url: o, type: n } = i;
194
+ if (!o || (t.mediaPlane && (t.mediaPlane.visible = (r = (s = t.state) == null ? void 0 : s.visible) != null ? r : !0, t.mediaPlane.visible || t.mediaPlane instanceof R && t.mediaPlane.pause()), ((m = t.mediaPlane) == null ? void 0 : m.src) === o))
194
195
  return;
195
196
  const a = t.position.map(v);
196
197
  if (t.mediaPlane && t.mediaPlane.removeFromParent(), n === "Image")
197
- t.mediaPlane = new j(o, a);
198
+ t.mediaPlane = new j(o, a), this.domEvents.addAutoBindEventListener(t.mediaPlane, "click", (p) => {
199
+ this.hooks.emit("click", { tag: t, target: "TagContent", event: p.origDomEvent });
200
+ });
198
201
  else if (n === "Video") {
199
- const l = new R(o, a, {
202
+ const p = new R(o, a, {
200
203
  videoCoverSrc: i.videoCoverUrl,
201
204
  playButton: t.data.playIcon,
205
+ paused: !((u = t.data.autoplayConfig) != null && u.autoplayVideo),
202
206
  videoTextureMap: F,
203
207
  ImageTextureMap: B
204
208
  });
205
- l.videoInstance.addEventListener("play", () => {
206
- this.mediaStore.set({ currentMediaElement: l.videoInstance });
207
- }), l.initialDomEvents(this.five), l.initialRenderHooks(this.five), t.mediaPlane = l;
209
+ p.onVideoReady = (l) => {
210
+ l.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: p.videoInstance }));
211
+ }, p.initialDomEvents(this.domEvents);
212
+ const f = (l) => (this.five.on("renderFrame", l), () => this.five.off("renderFrame", l));
213
+ p.initialRenderHooks(f), t.mediaPlane = p;
208
214
  }
209
215
  this.imagePlaneGroup.add(t.mediaPlane);
210
216
  });
@@ -215,7 +221,7 @@ class Zt extends x {
215
221
  if (t.tag3DContentSvelte) {
216
222
  const { svelteApp: n, css3DInstance: a, initialNormal: s, currentNormal: r } = t.tag3DContentSvelte;
217
223
  if (n.$set({ tag: t, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !s.equals(r)) {
218
- const m = new I().setFromUnitVectors(s, r);
224
+ const m = new x().setFromUnitVectors(s, r);
219
225
  a.css3DObject.setRotationFromQuaternion(m);
220
226
  }
221
227
  return;
@@ -233,14 +239,14 @@ class Zt extends x {
233
239
  const r = (o = this.getTagConfig(t).tag3DConfig) != null ? o : {};
234
240
  if (this.getRenderType(t) === "BehindDom") {
235
241
  r.mode = "behind", r.container = document.createElement("div");
236
- const f = "black";
237
- r.container.style.backgroundColor = f, r.container.style.border = `3px solid ${f}`, this.css3DRenderPlugin.hooks.on("render", () => {
238
- var u;
242
+ const p = "black";
243
+ r.container.style.backgroundColor = p, r.container.style.border = `3px solid ${p}`, this.css3DRenderPlugin.hooks.on("render", () => {
244
+ var f;
239
245
  if (m.css3DObject.opacityMesh) {
240
- const h = this.addObjectClickHandler(t, m.css3DObject.opacityMesh, (g) => {
246
+ const l = this.addObjectClickHandler(t, m.css3DObject.opacityMesh, (g) => {
241
247
  this.hooks.emit("click", { event: g, target: "TagContent", tag: t });
242
248
  });
243
- (u = this.store.css3DRenderDisposer.get(t.id)) == null || u.push(h);
249
+ (f = this.store.css3DRenderDisposer.get(t.id)) == null || f.push(l);
244
250
  }
245
251
  });
246
252
  }
@@ -248,7 +254,7 @@ class Zt extends x {
248
254
  if (!m)
249
255
  return;
250
256
  this.store.css3DRenderDisposer.set(t.id, [m.dispose]);
251
- const l = new G({
257
+ const u = new I({
252
258
  target: m.container,
253
259
  props: {
254
260
  tag: t,
@@ -259,13 +265,13 @@ class Zt extends x {
259
265
  }
260
266
  });
261
267
  t.tag3DContentSvelte = {
262
- svelteApp: l,
268
+ svelteApp: u,
263
269
  domContainer: m,
264
270
  css3DInstance: m,
265
271
  initialNormal: a,
266
272
  currentNormal: a,
267
273
  dispose: () => {
268
- l.$destroy(), m.dispose();
274
+ u.$destroy(), m.dispose();
269
275
  }
270
276
  };
271
277
  }
@@ -287,19 +293,19 @@ class Zt extends x {
287
293
  });
288
294
  }
289
295
  updateTagCss3DObjectMatrix(e, t) {
290
- var g, C, M, y;
291
- const i = (M = (C = (g = e.mergedConfig) == null ? void 0 : g.tag3DConfig) == null ? void 0 : C.ratio) != null ? M : 216e-5, o = (y = e.tag3DContentSvelte) == null ? void 0 : y.css3DInstance.css3DObject;
296
+ var g, C, y, M;
297
+ const i = (y = (C = (g = e.mergedConfig) == null ? void 0 : g.tag3DConfig) == null ? void 0 : C.ratio) != null ? y : 216e-5, o = (M = e.tag3DContentSvelte) == null ? void 0 : M.css3DInstance.css3DObject;
292
298
  if (!o)
293
299
  return;
294
300
  const n = S(e) ? e.data.mediaPosition : e.position;
295
301
  t.updateWorldMatrix(!1, !1);
296
- const a = t.matrixWorld, s = new D().fromArray(n[0]), r = new D().fromArray(n[2]), m = k(s, r).add(new D(0, 0, 5e-4)), l = new T().setPosition(m), f = new T().makeScale(i, i, i), u = new T().multiply(a).multiply(l).multiply(f);
297
- u.decompose(o.position, o.quaternion, o.scale);
298
- const h = o.opacityMesh;
299
- h && u.decompose(h.position, h.quaternion, h.scale);
302
+ const a = t.matrixWorld, s = new D().fromArray(n[0]), r = new D().fromArray(n[2]), m = G(s, r).add(new D(0, 0, 5e-4)), u = new P().setPosition(m), p = new P().makeScale(i, i, i), f = new P().multiply(a).multiply(u).multiply(p);
303
+ f.decompose(o.position, o.quaternion, o.scale);
304
+ const l = o.opacityMesh;
305
+ l && f.decompose(l.position, l.quaternion, l.scale);
300
306
  }
301
307
  addMediaModelTag(e) {
302
- return P(this, null, function* () {
308
+ return T(this, null, function* () {
303
309
  const t = e.filter(S).map((i) => this.loadModel(i));
304
310
  yield Promise.all(t), this.setModelMedialVisible(), this.updateRenderAllTags();
305
311
  });
@@ -313,7 +319,7 @@ class Zt extends x {
313
319
  const i = (t = this.five.getElement()) == null ? void 0 : t.parentElement;
314
320
  if (!i)
315
321
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
316
- this.TagContainerSvelte = new E({
322
+ this.TagContainerSvelte = new k({
317
323
  target: i,
318
324
  props: { hooks: this.hooks, tags: e, state: this.state, temporaryState: this.temporaryState, mediaStore: this.mediaStore }
319
325
  });
@@ -351,5 +357,5 @@ class Zt extends x {
351
357
  }
352
358
  }
353
359
  export {
354
- Zt as TagRender
360
+ _t as TagRender
355
361
  };
@@ -4,6 +4,7 @@ import type { Tag, Tags, Point2DElement, Point3DElement, PlaneTagElement, PointT
4
4
  import { TagCache } from './TagCache';
5
5
  import { CSS3DRenderPluginExportType } from '../../CSS3DRenderPlugin';
6
6
  import { Five } from '@realsee/five';
7
+ import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
7
8
  export declare abstract class TagUtil extends TagCache {
8
9
  tags: TagElement[];
9
10
  config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
@@ -21,7 +22,7 @@ export declare abstract class TagUtil extends TagCache {
21
22
  disposed: boolean;
22
23
  };
23
24
  protected get isPanorama(): boolean;
24
- private domEvents?;
25
+ protected domEvents: FiveDomEvents;
25
26
  private mouseInfo?;
26
27
  protected constructor(five: Five);
27
28
  getTagById<C extends TagContentType = any, S extends StickType = any>(id: TagId): TagElement<C, S> | undefined;
@@ -1,9 +1,9 @@
1
1
  var T = Object.defineProperty;
2
- var y = (u, m, e) => m in u ? T(u, m, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[m] = e;
3
- var l = (u, m, e) => (y(u, typeof m != "symbol" ? m + "" : m, e), e);
2
+ var y = (m, u, e) => u in m ? T(m, u, { enumerable: !0, configurable: !0, writable: !0, value: e }) : m[u] = e;
3
+ var l = (m, u, e) => (y(m, typeof u != "symbol" ? u + "" : u, e), e);
4
4
  import D from "object-assign-deep";
5
- import * as C from "three";
6
- import { DefaultConfig as P } from "../tag.config.js";
5
+ import * as P from "three";
6
+ import { DefaultConfig as C } from "../tag.config.js";
7
7
  import { anyPositionToVector3 as w, arrayPositionToVector3 as h } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
8
8
  import { planeNormal as g } from "../utils/planeNormal.js";
9
9
  import { tagPosition as E, getTagPosition as k } from "../utils/tagPosition.js";
@@ -15,8 +15,9 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
15
15
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
16
16
  import "@realsee/five";
17
17
  import { isMediaPlaneTag as x, isMediaModelTag as v, isPlaneTag as V } from "../utils/tag/tagCheck.js";
18
- import { DomEvents as L } from "../../shared-utils/threex/domevents/index.js";
19
- import { VideoPlane as S } from "../utils/model/mediaPlane.js";
18
+ import "../../shared-utils/threex/domevents/index.js";
19
+ import { VideoPlane as F } from "../utils/model/mediaPlane.js";
20
+ import { FiveDomEvents as L } from "../../shared-utils/five/FiveDomEvents.js";
20
21
  import "@realsee/five/gltf-loader";
21
22
  import "../../shared-utils/three/loadTexture.js";
22
23
  import "hammerjs";
@@ -49,12 +50,12 @@ import "../../shared-utils/math/pointIsRectangle.js";
49
50
  import "../../shared-utils/three/loadVideoTexture.js";
50
51
  import "../Assets/Icon.js";
51
52
  import "../../shared-utils/three/getPositionsByObjectFit.js";
52
- import "../../shared-utils/five/FiveDomEvents.js";
53
- class Ae extends b {
53
+ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
54
+ class xe extends b {
54
55
  constructor(e) {
55
56
  super(e);
56
57
  l(this, "tags", []);
57
- l(this, "config", P);
58
+ l(this, "config", C);
58
59
  l(this, "mediaStore", I({
59
60
  currentMediaElement: null
60
61
  }));
@@ -65,17 +66,21 @@ class Ae extends b {
65
66
  resizeObserverDisposerAdding: !1,
66
67
  css3DRenderDisposer: /* @__PURE__ */ new Map()
67
68
  });
68
- l(this, "domEvents");
69
+ l(this, "domEvents", new L(this.five));
69
70
  l(this, "mouseInfo");
70
71
  l(this, "preventWhenMouseDown", () => {
71
72
  var e;
72
73
  if ((e = this.mouseInfo) != null && e.isDown)
73
74
  return !1;
74
75
  });
75
- const i = this.five.getElement();
76
- i && (this.domEvents = new L(this.five.camera, i)), this.five.on("wantsMoveToPano", this.preventWhenMouseDown), this.five.on("wantsTapGesture", this.preventWhenMouseDown), this.mediaStore.subscribe(({ currentMediaElement: o }) => {
77
- this.tags.forEach((t) => {
78
- t.mediaPlane instanceof S && o !== t.mediaPlane.videoInstance && t.mediaPlane.pause();
76
+ this.five.on("wantsMoveToPano", this.preventWhenMouseDown), this.five.on("wantsTapGesture", this.preventWhenMouseDown), this.mediaStore.subscribe(({ currentMediaElement: i }) => {
77
+ this.tags.forEach((o) => {
78
+ var t;
79
+ if (o.mediaPlane instanceof F && i !== o.mediaPlane.videoInstance) {
80
+ if (!((t = o.mediaPlane.videoInstance) != null && t.src) || i === o.mediaPlane.videoInstance)
81
+ return;
82
+ o.mediaPlane.pause();
83
+ }
79
84
  });
80
85
  }), this.store.disposers.push(() => {
81
86
  this.five.off("wantsMoveToPano", this.preventWhenMouseDown), this.five.off("wantsTapGesture", this.preventWhenMouseDown);
@@ -187,7 +192,7 @@ class Ae extends b {
187
192
  const n = E(e.position);
188
193
  if (!n)
189
194
  return;
190
- const c = new C.Vector3().copy(f).sub(n), p = s.angleTo(c) * 180 / Math.PI;
195
+ const c = new P.Vector3().copy(f).sub(n), p = s.angleTo(c) * 180 / Math.PI;
191
196
  return t.angle = p, t.angle;
192
197
  }
193
198
  }
@@ -308,5 +313,5 @@ class Ae extends b {
308
313
  }
309
314
  }
310
315
  export {
311
- Ae as TagUtil
316
+ xe as TagUtil
312
317
  };
@@ -1,5 +1,5 @@
1
1
  import type { Tag, PartialDeep, TagId, Tags, TagElement, State, AddTagConfig, LoadTagConfig, ContentTypeConfigKey, TagConfig } from '../typings';
2
- import type { TagContentType } from '..';
2
+ import type { PickTagContentTypeInContentTypeConfigKey, TagContentType } from '..';
3
3
  import type { ArrayPosition } from '../typings';
4
4
  import { Five } from '@realsee/five';
5
5
  import { TagRender } from './TagRender';
@@ -37,7 +37,7 @@ declare class PanoTagPluginController extends TagRender {
37
37
  /**
38
38
  * @description: 改变类型配置
39
39
  */
40
- changeContentTypeConfig(key: ContentTypeConfigKey, contentTypeConfig: TagConfig, merge?: boolean): void;
40
+ changeContentTypeConfig<T extends ContentTypeConfigKey>(key: ContentTypeConfigKey, contentTypeConfig: PickTagContentTypeInContentTypeConfigKey<T> extends TagContentType ? TagConfig<PickTagContentTypeInContentTypeConfigKey<T>> : unknown, merge?: boolean): void;
41
41
  show(params?: {
42
42
  userAction?: boolean;
43
43
  withAnimation?: boolean;
@@ -10,7 +10,7 @@ var u = (d, a, e) => a in d ? S(d, a, { enumerable: !0, configurable: !0, writab
10
10
  E.call(a, e) && u(d, e, a[e]);
11
11
  return d;
12
12
  }, m = (d, a) => P(d, U(a));
13
- var p = (d, a, e) => (u(d, typeof a != "symbol" ? a + "" : a, e), e);
13
+ var c = (d, a, e) => (u(d, typeof a != "symbol" ? a + "" : a, e), e);
14
14
  var f = (d, a, e) => new Promise((t, i) => {
15
15
  var s = (n) => {
16
16
  try {
@@ -28,7 +28,7 @@ var f = (d, a, e) => new Promise((t, i) => {
28
28
  r((e = e.apply(d, a)).next());
29
29
  });
30
30
  import { Subscribe as M } from "@realsee/five";
31
- import c from "object-assign-deep";
31
+ import p from "object-assign-deep";
32
32
  import { arrayPositionToVector3 as C } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
33
33
  import { addDebugPoints as w } from "../utils/addDebugPoints.js";
34
34
  import "three";
@@ -87,6 +87,7 @@ import "../../shared-utils/math/pointIsRectangle.js";
87
87
  import "../../shared-utils/three/loadVideoTexture.js";
88
88
  import "../Assets/Icon.js";
89
89
  import "../../shared-utils/three/getPositionsByObjectFit.js";
90
+ import "../../shared-utils/three/FragmentTransparencyMaterial.js";
90
91
  import "../../shared-utils/five/FiveDomEvents.js";
91
92
  import "../Components/TagContainer.js";
92
93
  import "../Components/TagItem.js";
@@ -154,23 +155,23 @@ import "../Components/Common/TagPoint.js";
154
155
  import "../../CSS3DRenderPlugin/index.js";
155
156
  import "../../CSS3DRenderPlugin/Controller.js";
156
157
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
157
- const D = "Dnalogel-PanoTagPlugin", si = (d) => `${D}--${d}`;
158
- class oi extends k {
158
+ const D = "Dnalogel-PanoTagPlugin", oi = (d) => `${D}--${d}`;
159
+ class ni extends k {
159
160
  constructor(e, t) {
160
161
  super(e);
161
- p(this, "state", { enabled: !0, visible: !0 });
162
- p(this, "params");
163
- p(this, "debug");
164
- p(this, "changeTagModel", (e, t) => f(this, null, function* () {
165
- e.data = c({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
162
+ c(this, "state", { enabled: !0, visible: !0 });
163
+ c(this, "params");
164
+ c(this, "debug");
165
+ c(this, "changeTagModel", (e, t) => f(this, null, function* () {
166
+ e.data = p({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
166
167
  }));
167
- p(this, "handleFiveInitAnimationEnded", () => {
168
+ c(this, "handleFiveInitAnimationEnded", () => {
168
169
  const e = this.five.getCurrentState().mode;
169
170
  this.tags.forEach((t) => {
170
171
  v(t) && e === "Panorama" && this.changeTagMode(t, "front"), t.state.visible = this.getVisible(t);
171
172
  }), this.updateRenderAllTags();
172
173
  });
173
- p(this, "handleFiveModelShownFloorChange", () => {
174
+ c(this, "handleFiveModelShownFloorChange", () => {
174
175
  this.tags.forEach((e) => {
175
176
  !v(e) || (e.state.visible = this.getVisible(e));
176
177
  }), this.updateRenderAllTags();
@@ -185,7 +186,7 @@ class oi extends k {
185
186
  load(e, t) {
186
187
  return f(this, null, function* () {
187
188
  var s, o;
188
- this.clearTags(), console.info(D, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = c({}, this.config, {
189
+ this.clearTags(), console.info(D, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = p({}, this.config, {
189
190
  globalConfig: (s = e.globalConfig) != null ? s : {},
190
191
  contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
191
192
  });
@@ -204,6 +205,7 @@ class oi extends k {
204
205
  const s = (Array.isArray(e) ? e : [e]).map((o) => {
205
206
  const r = this.getTagConfig(o);
206
207
  return m(l({}, o), {
208
+ data: p({}, r.initialData, o.data),
207
209
  state: l({
208
210
  visible: void 0,
209
211
  unfolded: !this.can("fold", o)
@@ -224,13 +226,13 @@ class oi extends k {
224
226
  });
225
227
  }
226
228
  changeConfig(e, t = !0) {
227
- t ? this.config = c({}, this.config, e) : this.config = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
229
+ t ? this.config = p({}, this.config, e) : this.config = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
228
230
  }
229
231
  changeGlobalConfig(e, t = !0) {
230
- t ? this.config.globalConfig = c({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
232
+ t ? this.config.globalConfig = p({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
231
233
  }
232
234
  changeContentTypeConfig(e, t, i = !0) {
233
- this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = c({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.clearCache(), this.updateRenderAllTags();
235
+ this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = p({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.clearCache(), this.updateRenderAllTags();
234
236
  }
235
237
  show(e) {
236
238
  return f(this, null, function* () {
@@ -296,14 +298,14 @@ class oi extends k {
296
298
  }
297
299
  changeDataById(e, t, i = !0) {
298
300
  const s = this.getTagById(e);
299
- !s || (i ? s.data = c({}, s.data, t) : s.data = l(l({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags());
301
+ !s || (i ? s.data = p({}, s.data, t) : s.data = l(l({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags());
300
302
  }
301
303
  changeStickTypeById(e, t, i = !0) {
302
304
  this.changeTagById(e, t, i);
303
305
  }
304
306
  changeTagById(e, t, i = !0) {
305
307
  const s = this.getTagById(e);
306
- !t || (i ? c(s, t) : Object.assign(s, t), (s == null ? void 0 : s.tag3DContentSvelte) && (t == null ? void 0 : t.normal) && (s.tag3DContentSvelte.currentNormal = C(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag());
308
+ !t || (i ? p(s, t) : Object.assign(s, t), (s == null ? void 0 : s.tag3DContentSvelte) && (t == null ? void 0 : t.normal) && (s.tag3DContentSvelte.currentNormal = C(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag());
307
309
  }
308
310
  destroyTagById(e) {
309
311
  (Array.isArray(e) ? e : [e]).forEach((i) => {
@@ -426,7 +428,7 @@ class oi extends k {
426
428
  }
427
429
  }
428
430
  export {
429
- oi as PanoTagPluginController,
430
- oi as default,
431
- si as pluginFlag
431
+ ni as PanoTagPluginController,
432
+ ni as default,
433
+ oi as pluginFlag
432
434
  };