@realsee/dnalogel 2.17.0-aplha.2 → 2.17.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 (269) hide show
  1. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
  2. package/dist/index.cjs.js +13 -13
  3. package/dist/index.js +296 -291
  4. package/dist/index.umd.js +13 -13
  5. package/docs/classes/CSS3DRender.html +31 -31
  6. package/docs/classes/CruisePluginController.html +25 -25
  7. package/docs/classes/Magnifier.html +20 -20
  8. package/docs/classes/ModelRoomLabelController.html +11 -11
  9. package/docs/classes/Object3DHelperController.html +24 -24
  10. package/docs/classes/PaintBrush.html +15 -15
  11. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  12. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  13. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  14. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  15. package/docs/classes/PanoTagPluginController.html +45 -45
  16. package/docs/classes/Util.BetterTween.html +8 -8
  17. package/docs/classes/Util.FivePointSelector.html +12 -12
  18. package/docs/classes/Util.Interval.html +12 -12
  19. package/docs/classes/Util.Magnifier.html +17 -17
  20. package/docs/classes/Util.PointDomHelper.html +11 -11
  21. package/docs/classes/Util.PointHelper.html +11 -11
  22. package/docs/classes/Util.Rectangle.html +13 -13
  23. package/docs/enums/CameraMovementEffect.html +7 -7
  24. package/docs/enums/ContentType.html +19 -19
  25. package/docs/enums/DIRECTION.html +9 -9
  26. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  27. package/docs/enums/DimensionType.html +7 -7
  28. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  29. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  30. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  31. package/docs/enums/Rotation.html +8 -8
  32. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  33. package/docs/functions/CameraMovementPlugin.html +4 -4
  34. package/docs/functions/CruisePlugin.html +4 -4
  35. package/docs/functions/GuideLinePlugin.html +5 -5
  36. package/docs/functions/ItemLabelPlugin.html +4 -4
  37. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  38. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  39. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  40. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  41. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  42. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  43. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  44. package/docs/functions/ModelViewPlugin.html +4 -4
  45. package/docs/functions/Object3DHelperPlugin.html +4 -4
  46. package/docs/functions/PanoCompassPlugin.html +4 -4
  47. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  48. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  49. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  50. package/docs/functions/PanoMeasurePlugin.html +4 -4
  51. package/docs/functions/PanoRulerPlugin.html +4 -4
  52. package/docs/functions/PanoRulerProPlugin.html +4 -4
  53. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  54. package/docs/functions/PanoTagPlugin.html +4 -4
  55. package/docs/functions/PanoVideoPlugin.html +4 -4
  56. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  57. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  58. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  59. package/docs/functions/Util.getFrameTime.html +5 -5
  60. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  61. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  62. package/docs/functions/Util.isNil.html +5 -5
  63. package/docs/functions/Util.nextFrame.html +5 -5
  64. package/docs/functions/Util.notNil.html +5 -5
  65. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  66. package/docs/functions/Util.tweenProgress.html +5 -5
  67. package/docs/functions/pluginFlag.html +5 -5
  68. package/docs/index.html +4 -4
  69. package/docs/interfaces/AddTagConfig.html +6 -6
  70. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  71. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  72. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  73. package/docs/interfaces/EventMap.html +15 -15
  74. package/docs/interfaces/FloorplanBounding.html +8 -8
  75. package/docs/interfaces/FloorplanData.html +10 -10
  76. package/docs/interfaces/FloorplanEntrance.html +11 -11
  77. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  78. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  79. package/docs/interfaces/FloorplanFloorData.html +9 -9
  80. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  81. package/docs/interfaces/FloorplanObserver.html +9 -9
  82. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  83. package/docs/interfaces/FloorplanPosition.html +7 -7
  84. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  85. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  86. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  87. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  88. package/docs/interfaces/FloorplanServerData.html +7 -7
  89. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  90. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  91. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  92. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  93. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  94. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  95. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  96. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  97. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  98. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  99. package/docs/interfaces/HelperOffset.html +8 -8
  100. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  101. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  102. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  103. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  104. package/docs/interfaces/MinMax.html +7 -7
  105. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  106. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  107. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  108. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  109. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  110. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  111. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  112. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  113. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  114. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  115. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  116. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  117. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  118. package/docs/interfaces/Object3DHelperState.html +8 -8
  119. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  120. package/docs/interfaces/PaintBrushAction.html +12 -12
  121. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  122. package/docs/interfaces/PaintBrushState.html +10 -10
  123. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  124. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  125. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  126. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  127. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  128. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  129. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  130. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  131. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  132. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  133. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  134. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  135. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  136. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  137. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  138. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  139. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  140. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  141. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  142. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  143. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  144. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  145. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  146. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  147. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  148. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  149. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  150. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  151. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  152. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  153. package/docs/interfaces/Point.html +8 -8
  154. package/docs/interfaces/Room.html +9 -9
  155. package/docs/interfaces/RoomInfo.html +7 -7
  156. package/docs/interfaces/RoomLabel.html +14 -14
  157. package/docs/interfaces/RoomRules.html +5 -5
  158. package/docs/interfaces/Rooms.html +5 -5
  159. package/docs/interfaces/Scissor.html +9 -9
  160. package/docs/interfaces/State.html +8 -8
  161. package/docs/interfaces/TagCacheInterface.html +12 -12
  162. package/docs/interfaces/TagConfig.html +12 -12
  163. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  164. package/docs/interfaces/TagIconUrl.html +11 -11
  165. package/docs/interfaces/TagObjectGroup.html +6 -6
  166. package/docs/interfaces/TagStyle.html +6 -6
  167. package/docs/interfaces/Tags.html +9 -9
  168. package/docs/interfaces/TemporaryState.html +6 -6
  169. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  170. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  171. package/docs/modules/PanoVideoPluginType.html +5 -5
  172. package/docs/modules/Util.html +5 -5
  173. package/docs/modules.html +4 -4
  174. package/docs/types/ArrayPosition.html +5 -5
  175. package/docs/types/AudioAppearance.html +5 -5
  176. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  177. package/docs/types/CSS3DRenderExportType.html +5 -5
  178. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  179. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  180. package/docs/types/ClassFunctionParameters.html +5 -5
  181. package/docs/types/Color.html +5 -5
  182. package/docs/types/ContentTypeConfigKey.html +5 -5
  183. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  184. package/docs/types/ContentTypeMap.html +5 -5
  185. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  186. package/docs/types/Create3DElementReturnType.html +5 -5
  187. package/docs/types/CruisePluginExportType.html +5 -5
  188. package/docs/types/Direction-1.html +5 -5
  189. package/docs/types/Direction4.html +5 -5
  190. package/docs/types/ElementRenderer.html +5 -5
  191. package/docs/types/FloorplanRuleLabels.html +5 -5
  192. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  193. package/docs/types/GuideLinePluginExportType.html +5 -5
  194. package/docs/types/HelperEventMap.html +5 -5
  195. package/docs/types/LoadTagConfig.html +5 -5
  196. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  197. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  198. package/docs/types/MediaData.html +5 -5
  199. package/docs/types/MediaStore.html +5 -5
  200. package/docs/types/ModelElement.html +5 -5
  201. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  202. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  203. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  204. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  205. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  206. package/docs/types/MoveArgs.html +5 -5
  207. package/docs/types/MoveOpts.html +5 -5
  208. package/docs/types/Object3DHelperEventMap.html +5 -5
  209. package/docs/types/ObjectFit.html +5 -5
  210. package/docs/types/PaintBrushEventMap.html +5 -5
  211. package/docs/types/PanoCompassPluginData.html +5 -5
  212. package/docs/types/PanoCompassPluginExportType.html +5 -5
  213. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  214. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  215. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  216. package/docs/types/PanoIndex.html +5 -5
  217. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  218. package/docs/types/PanoMeasureReturnType.html +5 -5
  219. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  220. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  221. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  222. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  223. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  224. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -5
  225. package/docs/types/PlaneTag.html +5 -5
  226. package/docs/types/PlaneTagElement.html +5 -5
  227. package/docs/types/Point2DElement.html +5 -5
  228. package/docs/types/Point2DTag.html +5 -5
  229. package/docs/types/Point3DElement.html +5 -5
  230. package/docs/types/Point3DTag.html +5 -5
  231. package/docs/types/PointTag.html +5 -5
  232. package/docs/types/PointTagElement.html +5 -5
  233. package/docs/types/Position.html +5 -5
  234. package/docs/types/RotateArgs.html +5 -5
  235. package/docs/types/RotateOpts.html +5 -5
  236. package/docs/types/RuleLabelsKey.html +5 -5
  237. package/docs/types/RuleLabelsValue.html +5 -5
  238. package/docs/types/StickType.html +5 -5
  239. package/docs/types/Tag.html +5 -5
  240. package/docs/types/Tag2D.html +5 -5
  241. package/docs/types/Tag3D.html +5 -5
  242. package/docs/types/TagContentType.html +5 -5
  243. package/docs/types/TagDimensionType.html +5 -5
  244. package/docs/types/TagElement.html +5 -5
  245. package/docs/types/TagEvents.html +5 -5
  246. package/docs/types/TagGLTFObject.html +5 -5
  247. package/docs/types/TagHooks.html +5 -5
  248. package/docs/types/TagIconSize.html +5 -5
  249. package/docs/types/TagId.html +5 -5
  250. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  251. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  252. package/docs/types/WorkCode.html +5 -5
  253. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  254. package/docs/variables/PLUGIN.html +5 -5
  255. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  256. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  257. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  258. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  259. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  260. package/libs/PanoTagPlugin/controller/TagCache.js +18 -18
  261. package/libs/PanoTagPlugin/controller/TagComputer.js +4 -4
  262. package/libs/PanoTagPlugin/controller/TagRender.js +114 -113
  263. package/libs/PanoTagPlugin/controller/TagUtil.js +91 -91
  264. package/libs/PanoTagPlugin/controller/index.js +9 -7
  265. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +1 -1
  266. package/libs/base/BasePlugin.js +3 -3
  267. package/libs/shared-utils/five/getFloorIndex.js +12 -10
  268. package/libs/shared-utils/logger.js +1 -1
  269. package/package.json +1 -1
@@ -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.17.0-aplha.2</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.17.0-aplha.2"/><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</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.17.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.17.0-aplha.2</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.17.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.17.0-aplha.2</a></li>
15
+ <li><a href="../modules.html">如视看房插件合集 - v2.17.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/7103bf1/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/788e6c1/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.17.0-<wbr/>aplha.2</a>
44
+ <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.17.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>
@@ -1,27 +1,27 @@
1
- var x = Object.defineProperty;
2
- var u = (a, t, e) => t in a ? x(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e;
3
- var l = (a, t, e) => (u(a, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { Controller as v } from "../../base/BasePlugin.js";
1
+ var u = Object.defineProperty;
2
+ var v = (o, t, e) => t in o ? u(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
3
+ var l = (o, t, e) => (v(o, typeof t != "symbol" ? t + "" : t, e), e);
4
+ import { Controller as d } from "../../base/BasePlugin.js";
5
5
  import "../../shared-utils/Subscribe.js";
6
- class m extends v {
6
+ class x extends d {
7
7
  constructor(e) {
8
8
  super(e);
9
9
  l(this, "tagCacheByPanoIndex", {});
10
10
  }
11
- getCache({ panoIndex: e, id: n, key: h }) {
12
- var i, C, g, d;
13
- const { five: r } = this, c = (i = r.panoIndex) != null ? i : e;
14
- if (c === void 0)
15
- throw new Error(`TagCacheController getCache(): fivePanoIndex is ${c}`);
16
- const s = `${(g = (C = r.work) == null ? void 0 : C.workCode) != null ? g : r.model.uuid}-${c}`;
17
- let o = this.tagCacheByPanoIndex[s];
18
- if (o || (o = /* @__PURE__ */ new Map(), this.tagCacheByPanoIndex[s] = o), n === void 0)
19
- return o;
11
+ getCache({ panoIndex: e, id: a, key: h }) {
12
+ var i, C, g;
13
+ const { five: c } = this, n = e != null ? e : c.getCurrentState().panoIndex;
14
+ if (n === void 0)
15
+ throw new Error(`TagCacheController getCache(): fivePanoIndex is ${n}`);
16
+ const s = `${(C = (i = c.work) == null ? void 0 : i.workCode) != null ? C : c.model.uuid}-${n}`;
17
+ let r = this.tagCacheByPanoIndex[s];
18
+ if (r || (r = /* @__PURE__ */ new Map(), this.tagCacheByPanoIndex[s] = r), a === void 0)
19
+ return r;
20
20
  if (h === void 0) {
21
- const f = o.get(n);
22
- return f || (o.set(n, {}), o.get(n));
21
+ const f = r.get(a);
22
+ return f || (r.set(a, {}), r.get(a));
23
23
  }
24
- return (d = o.get(n)) == null ? void 0 : d[h];
24
+ return (g = r.get(a)) == null ? void 0 : g[h];
25
25
  }
26
26
  clearCache() {
27
27
  this.tagCacheByPanoIndex = {};
@@ -30,5 +30,5 @@ class m extends v {
30
30
  }
31
31
  }
32
32
  export {
33
- m as TagCache
33
+ x as TagCache
34
34
  };
@@ -1,15 +1,15 @@
1
- var B = Object.defineProperty, U = Object.defineProperties;
1
+ var U = Object.defineProperty, B = Object.defineProperties;
2
2
  var M = Object.getOwnPropertyDescriptors;
3
3
  var P = Object.getOwnPropertySymbols;
4
4
  var R = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
5
- var y = (c, l, e) => l in c ? B(c, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[l] = e, x = (c, l) => {
5
+ var y = (c, l, e) => l in c ? U(c, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[l] = e, x = (c, l) => {
6
6
  for (var e in l || (l = {}))
7
7
  R.call(l, e) && y(c, e, l[e]);
8
8
  if (P)
9
9
  for (var e of P(l))
10
10
  C.call(l, e) && y(c, e, l[e]);
11
11
  return c;
12
- }, I = (c, l) => U(c, M(l));
12
+ }, I = (c, l) => B(c, M(l));
13
13
  var T = (c, l, e) => (y(c, typeof l != "symbol" ? l + "" : l, e), e);
14
14
  import * as D from "three";
15
15
  import { isMediaModelTag as g, is3DTag as j } from "../utils/tag/tagCheck.js";
@@ -203,7 +203,7 @@ class _e extends S {
203
203
  return !1;
204
204
  }
205
205
  if (t.autoUnfold.strategy === "MinimumDistance") {
206
- const u = this.filterPointTag.filter((r) => this.getVisibleByPanoIndex(r)).filter((r) => {
206
+ const u = this.filterPointTag.filter((r) => this.getVisible(r)).filter((r) => {
207
207
  const a = this.getTagProject(r);
208
208
  if (!a)
209
209
  return !1;
@@ -1,32 +1,32 @@
1
1
  var w = Object.defineProperty;
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) => {
2
+ var E = (c, l, t) => l in c ? w(c, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[l] = t;
3
+ var u = (c, l, t) => (E(c, typeof l != "symbol" ? l + "" : l, t), t);
4
+ var T = (c, l, t) => new Promise((e, i) => {
5
5
  var o = (s) => {
6
6
  try {
7
- a(e.next(s));
7
+ a(t.next(s));
8
8
  } catch (r) {
9
9
  i(r);
10
10
  }
11
11
  }, n = (s) => {
12
12
  try {
13
- a(e.throw(s));
13
+ a(t.throw(s));
14
14
  } catch (r) {
15
15
  i(r);
16
16
  }
17
- }, a = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(o, n);
18
- a((e = e.apply(c, d)).next());
17
+ }, a = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(o, n);
18
+ a((t = t.apply(c, l)).next());
19
19
  });
20
20
  import { TagComputer as O } from "./TagComputer.js";
21
21
  import { Group as b, Quaternion as k, Vector3 as D, Matrix4 as P } from "three";
22
22
  import x from "../Components/TagContainer.js";
23
- import G from "../Components/Tag/index.js";
23
+ import F from "../Components/Tag/index.js";
24
24
  import { arrayPositionToVector3 as v } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
25
- import { centerPoint as I } 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
- import { VideoPlane as R, ImagePlane as j } from "../utils/model/mediaPlane.js";
28
- import { isMediaModelTag as S } from "../utils/tag/tagCheck.js";
29
- import { CSS3DRenderPlugin as A } from "../../CSS3DRenderPlugin/index.js";
27
+ import { VideoPlane as j, ImagePlane as R } from "../utils/model/mediaPlane.js";
28
+ import { isMediaModelTag as C } from "../utils/tag/tagCheck.js";
29
+ import { CSS3DRenderPlugin as I } from "../../CSS3DRenderPlugin/index.js";
30
30
  import { loadGLTF as V } from "../../shared-utils/three/GLTFLoader.js";
31
31
  import "@realsee/five";
32
32
  import "../utils/tagPosition.js";
@@ -139,148 +139,149 @@ import "../Components/Tag/LinkTag.js";
139
139
  import "../Components/Tag/CustomTag.js";
140
140
  import "../../CSS3DRenderPlugin/Controller.js";
141
141
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
142
- const F = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map();
142
+ const A = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map();
143
143
  class ei extends O {
144
- constructor(e) {
145
- super(e);
146
- h(this, "group", new b());
147
- h(this, "imagePlaneGroup", new b());
148
- h(this, "gltfObjectGroup", new b());
149
- h(this, "enabledModelTagSet", /* @__PURE__ */ new Set());
150
- h(this, "temporaryState", { visible: !0 });
151
- h(this, "TagContainerSvelte");
152
- h(this, "loadModel", (e) => T(this, null, function* () {
144
+ constructor(t) {
145
+ super(t);
146
+ u(this, "group", new b());
147
+ u(this, "imagePlaneGroup", new b());
148
+ u(this, "gltfObjectGroup", new b());
149
+ u(this, "enabledModelTagSet", /* @__PURE__ */ new Set());
150
+ u(this, "temporaryState", { visible: !0 });
151
+ u(this, "TagContainerSvelte");
152
+ u(this, "loadModel", (t) => T(this, null, function* () {
153
153
  var s;
154
- const t = e.data.modelUrl;
155
- if (!t)
154
+ const e = t.data.modelUrl;
155
+ if (!e)
156
156
  return;
157
- const i = V(t).then((r) => Object.assign(r.scene, { customID: e.id, isTagModel: !0 }));
158
- e.model = { promise: i };
157
+ const i = V(e).then((r) => Object.assign(r.scene, { customID: t.id, isTagModel: !0 }));
158
+ t.model = { promise: i };
159
159
  const o = yield i;
160
- if (((s = e.model) == null ? void 0 : s.promise) !== i || (e.model.object = o, !this.tags.includes(e)))
160
+ if (((s = t.model) == null ? void 0 : s.promise) !== i || (t.model.object = o, !this.tags.includes(t)))
161
161
  return;
162
- o.visible = this.getCurrentVisibleState(e), new P().fromArray(e.matrix).decompose(o.position, o.quaternion, o.scale), o.updateWorldMatrix(!0, !0), o.visible = this.getVisibleByFiveMode(e);
163
- const a = this.gltfObjectGroup.children.find((r) => r.customID === e.id);
164
- if (a && this.gltfObjectGroup.remove(a), this.getRenderType(e) === "Mesh") {
165
- if (!e.mediaPlane) {
166
- const r = e.data.mediaPosition.map(v);
167
- e.mediaPlane = new j(e.data.mediaData[0].url, e.data.mediaPosition.map(v), {
168
- objectFit: e.data.objectFit
162
+ o.visible = this.getCurrentVisibleState(t), new P().fromArray(t.matrix).decompose(o.position, o.quaternion, o.scale), o.updateWorldMatrix(!0, !0), o.visible = this.getVisibleByFiveMode(t);
163
+ const a = this.gltfObjectGroup.children.find((r) => r.customID === t.id);
164
+ if (a && this.gltfObjectGroup.remove(a), this.getRenderType(t) === "Mesh") {
165
+ if (!t.mediaPlane) {
166
+ const r = t.data.mediaPosition.map(v);
167
+ t.mediaPlane = new R(t.data.mediaData[0].url, t.data.mediaPosition.map(v), {
168
+ objectFit: t.data.objectFit
169
169
  });
170
170
  const m = new D().addVectors(r[0], r[2]).divideScalar(2);
171
- e.mediaPlane.position.copy(m), o.add(e.mediaPlane);
171
+ t.mediaPlane.position.copy(m), o.add(t.mediaPlane);
172
172
  }
173
173
  } else
174
- o.updateTagCss3DObjectMatrix = () => this.updateTagCss3DObjectMatrix(e, o), o.updateTagCss3DObjectMatrix();
174
+ o.updateTagCss3DObjectMatrix = () => this.updateTagCss3DObjectMatrix(t, o), o.updateTagCss3DObjectMatrix();
175
175
  return this.gltfObjectGroup.add(o), o;
176
176
  }));
177
177
  this.group.name = "PanoTagPluginModelGroup", this.gltfObjectGroup.name = "PanoTagPluginGLTFObjectGroup", this.imagePlaneGroup.name = "ImagePlaneGroup", this.group.add(this.gltfObjectGroup), this.group.add(this.imagePlaneGroup);
178
178
  }
179
179
  clearTags() {
180
- this.tags.forEach((e) => {
181
- var t, i;
182
- (i = (t = e.mediaPlane) == null ? void 0 : t.parent) == null || i.remove(e.mediaPlane);
180
+ this.tags.forEach((t) => {
181
+ var e, i;
182
+ (i = (e = t.mediaPlane) == null ? void 0 : e.parent) == null || i.remove(t.mediaPlane);
183
183
  }), this.tags = [], this.enabledModelTagSet.clear(), this.clearCache(), this.disposeAllCSS3DContainer(), this.updateRenderAllTags();
184
184
  }
185
185
  updateRenderAllTags() {
186
- this.enabledModelTagSet.clear(), this.tags.forEach((e) => e.stickType === "Model" && this.enabledModelTagSet.add(e.id)), this.updateRenderPointTag(), this.updateRender3DDomTag(), this.updateRenderModelTag(), this.updateRenderImagePlane();
186
+ this.enabledModelTagSet.clear(), this.tags.forEach((t) => t.stickType === "Model" && this.enabledModelTagSet.add(t.id)), this.updateRenderPointTag(), this.updateRender3DDomTag(), this.updateRenderModelTag(), this.updateRenderImagePlane();
187
187
  }
188
188
  updateRenderImagePlane() {
189
- this.sort(this.filterImagePlane).forEach((t) => {
190
- var s, r, m, u;
191
- const i = t.data.mediaData[0];
189
+ this.sort(this.filterImagePlane).forEach((e) => {
190
+ var s, r, m, f, g;
191
+ const i = e.data.mediaData[0];
192
192
  if (!i)
193
193
  return;
194
194
  const { url: o, type: n } = i;
195
- 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))
195
+ if (!o || (e.mediaPlane && (e.mediaPlane.visible = (r = (s = e.state) == null ? void 0 : s.visible) != null ? r : !0, e.mediaPlane.visible || e.mediaPlane instanceof j && ((m = e.data.autoplayConfig) != null && m.autoplayVideo || e.mediaPlane.pause())), ((f = e.mediaPlane) == null ? void 0 : f.src) === o))
196
196
  return;
197
- const a = t.position.map(v);
198
- if (t.mediaPlane && t.mediaPlane.removeFromParent(), n === "Image")
199
- t.mediaPlane = new j(o, a), this.domEvents.addAutoBindEventListener(t.mediaPlane, "click", (p) => {
200
- this.hooks.emit("click", { tag: t, target: "TagContent", event: p.origDomEvent });
197
+ const a = e.position.map(v);
198
+ if (e.mediaPlane && e.mediaPlane.removeFromParent(), n === "Image")
199
+ e.mediaPlane = new R(o, a, { objectFit: e.data.objectFit }), this.domEvents.addAutoBindEventListener(e.mediaPlane, "click", (p) => {
200
+ this.hooks.emit("click", { tag: e, target: "TagContent", event: p.origDomEvent });
201
201
  });
202
202
  else if (n === "Video") {
203
- const p = new R(o, a, {
203
+ const p = new j(o, a, {
204
204
  videoCoverSrc: i.videoCoverUrl,
205
- playButton: t.data.playIcon,
206
- paused: !((u = t.data.autoplayConfig) != null && u.autoplayVideo),
207
- videoTextureMap: F,
205
+ playButton: e.data.playIcon,
206
+ paused: !((g = e.data.autoplayConfig) != null && g.autoplayVideo),
207
+ objectFit: e.data.objectFit,
208
+ videoTextureMap: A,
208
209
  ImageTextureMap: B
209
210
  });
210
- p.onVideoReady = (l) => {
211
- l.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: p.videoInstance }));
211
+ p.onVideoReady = (d) => {
212
+ d.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: p.videoInstance }));
212
213
  }, p.initialDomEvents(this.domEvents);
213
- const f = (l) => (this.five.on("renderFrame", l), () => this.five.off("renderFrame", l));
214
- p.initialRenderHooks(f), t.mediaPlane = p;
214
+ const h = (d) => (this.five.on("renderFrame", d), () => this.five.off("renderFrame", d));
215
+ p.initialRenderHooks(h), e.mediaPlane = p;
215
216
  }
216
- this.imagePlaneGroup.add(t.mediaPlane);
217
+ this.imagePlaneGroup.add(e.mediaPlane);
217
218
  });
218
219
  }
219
220
  updateRender3DDomTag() {
220
- this.sort([...this.filterCSS3DTag]).forEach((t) => {
221
+ this.sort([...this.filterCSS3DTag]).forEach((e) => {
221
222
  var i, o;
222
- if (t.tag3DContentSvelte) {
223
- const { svelteApp: n, css3DInstance: a, initialNormal: s, currentNormal: r } = t.tag3DContentSvelte;
224
- if (n.$set({ tag: t, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !s.equals(r)) {
223
+ if (e.tag3DContentSvelte) {
224
+ const { svelteApp: n, css3DInstance: a, initialNormal: s, currentNormal: r } = e.tag3DContentSvelte;
225
+ if (n.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !s.equals(r)) {
225
226
  const m = new k().setFromUnitVectors(s, r);
226
227
  a.css3DObject.setRotationFromQuaternion(m);
227
228
  }
228
229
  return;
229
230
  } else {
230
- if (((i = t.state) == null ? void 0 : i.visible) === !1)
231
+ if (((i = e.state) == null ? void 0 : i.visible) === !1)
231
232
  return;
232
- if (this.css3DRenderPlugin || (this.css3DRenderPlugin = A(this.five)), t.stickType === "3DPoint" && !t.normal)
233
+ if (this.css3DRenderPlugin || (this.css3DRenderPlugin = I(this.five)), e.stickType === "3DPoint" && !e.normal)
233
234
  return console.error("updateRenderPlaneTag: \u4E09\u7EF4\u70B9\u6807\u7B7E\u7F3A\u5C11\u6CD5\u5411\u91CF\uFF01");
234
- const n = this.getPositions(t);
235
+ const n = this.getPositions(e);
235
236
  if (!n)
236
237
  return;
237
- const a = this.getTagNormal(t);
238
+ const a = this.getTagNormal(e);
238
239
  if (!a)
239
240
  return;
240
- const r = (o = this.getTagConfig(t).tag3DConfig) != null ? o : {};
241
- if (this.getRenderType(t) === "BehindDom") {
241
+ const r = (o = this.getTagConfig(e).tag3DConfig) != null ? o : {};
242
+ if (this.getRenderType(e) === "BehindDom") {
242
243
  r.mode = "behind", r.container = document.createElement("div");
243
- const p = "black";
244
- r.container.style.backgroundColor = p, r.container.style.border = `3px solid ${p}`, this.css3DRenderPlugin.hooks.on("render", () => {
245
- var f;
244
+ const g = "black";
245
+ r.container.style.backgroundColor = g, r.container.style.border = `3px solid ${g}`, this.css3DRenderPlugin.hooks.on("render", () => {
246
+ var p;
246
247
  if (m.css3DObject.opacityMesh) {
247
- const l = this.addObjectClickHandler(t, m.css3DObject.opacityMesh, (g) => {
248
- this.hooks.emit("click", { event: g, target: "TagContent", tag: t });
248
+ const h = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (d) => {
249
+ this.hooks.emit("click", { event: d, target: "TagContent", tag: e });
249
250
  });
250
- (f = this.store.css3DRenderDisposer.get(t.id)) == null || f.push(l);
251
+ (p = this.store.css3DRenderDisposer.get(e.id)) == null || p.push(h);
251
252
  }
252
253
  });
253
254
  }
254
255
  const m = this.css3DRenderPlugin.create3DDomContainer(n, r);
255
256
  if (!m)
256
257
  return;
257
- this.store.css3DRenderDisposer.set(t.id, [m.dispose]);
258
- const u = new G({
258
+ this.store.css3DRenderDisposer.set(e.id, [m.dispose]);
259
+ const f = new F({
259
260
  target: m.container,
260
261
  props: {
261
- tag: t,
262
+ tag: e,
262
263
  hooks: this.hooks,
263
264
  state: this.state,
264
265
  mediaStore: this.mediaStore,
265
266
  temporaryState: this.temporaryState
266
267
  }
267
268
  });
268
- t.tag3DContentSvelte = {
269
- svelteApp: u,
269
+ e.tag3DContentSvelte = {
270
+ svelteApp: f,
270
271
  domContainer: m,
271
272
  css3DInstance: m,
272
273
  initialNormal: a,
273
274
  currentNormal: a,
274
275
  dispose: () => {
275
- u.$destroy(), m.dispose();
276
+ f.$destroy(), m.dispose();
276
277
  }
277
278
  };
278
279
  }
279
280
  }), this.clearUnusedPanelTag();
280
281
  }
281
282
  updateRenderModelTag() {
282
- const e = (i) => !this.enabledModelTagSet.has(i.customID);
283
- this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(e)), this.tags.filter(S).forEach((i) => {
283
+ const t = (i) => !this.enabledModelTagSet.has(i.customID);
284
+ this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(t)), this.tags.filter(C).forEach((i) => {
284
285
  var o;
285
286
  (o = i.model) == null || o.promise.then((n) => {
286
287
  n.visible = this.getCurrentVisibleState(i);
@@ -288,53 +289,53 @@ class ei extends O {
288
289
  });
289
290
  }
290
291
  updateTagModelVisible() {
291
- this.tags.forEach((e) => {
292
- var t;
293
- e.mediaPlane && (e.mediaPlane.visible = this.getCurrentVisibleState(e)), (t = e.model) != null && t.object && (e.model.object.visible = this.getCurrentVisibleState(e));
292
+ this.tags.forEach((t) => {
293
+ var e;
294
+ t.mediaPlane && (t.mediaPlane.visible = this.getCurrentVisibleState(t)), (e = t.model) != null && e.object && (t.model.object.visible = this.getCurrentVisibleState(t));
294
295
  });
295
296
  }
296
- updateTagCss3DObjectMatrix(e, t) {
297
- var g, C, y, M;
298
- 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;
297
+ updateTagCss3DObjectMatrix(t, e) {
298
+ var d, S, y, M;
299
+ const i = (y = (S = (d = t.mergedConfig) == null ? void 0 : d.tag3DConfig) == null ? void 0 : S.ratio) != null ? y : 216e-5, o = (M = t.tag3DContentSvelte) == null ? void 0 : M.css3DInstance.css3DObject;
299
300
  if (!o)
300
301
  return;
301
- const n = S(e) ? e.data.mediaPosition : e.position;
302
- t.updateWorldMatrix(!1, !1);
303
- const a = t.matrixWorld, s = new D().fromArray(n[0]), r = new D().fromArray(n[2]), m = I(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);
304
- f.decompose(o.position, o.quaternion, o.scale);
305
- const l = o.opacityMesh;
306
- l && f.decompose(l.position, l.quaternion, l.scale);
302
+ const n = C(t) ? t.data.mediaPosition : t.position;
303
+ e.updateWorldMatrix(!1, !1);
304
+ const a = e.matrixWorld, s = new D().fromArray(n[0]), r = new D().fromArray(n[2]), m = G(s, r).add(new D(0, 0, 5e-4)), f = new P().setPosition(m), g = new P().makeScale(i, i, i), p = new P().multiply(a).multiply(f).multiply(g);
305
+ p.decompose(o.position, o.quaternion, o.scale);
306
+ const h = o.opacityMesh;
307
+ h && p.decompose(h.position, h.quaternion, h.scale);
307
308
  }
308
- addMediaModelTag(e) {
309
+ addMediaModelTag(t) {
309
310
  return T(this, null, function* () {
310
- const t = e.filter(S).map((i) => this.loadModel(i));
311
- yield Promise.all(t), this.setModelMedialVisible(), this.updateRenderAllTags();
311
+ const e = t.filter(C).map((i) => this.loadModel(i));
312
+ yield Promise.all(e), this.setModelMedialVisible(), this.updateRenderAllTags();
312
313
  });
313
314
  }
314
315
  updateRenderPointTag() {
315
- var t;
316
- const e = this.sort(this.filterPointTag);
316
+ var e;
317
+ const t = this.sort(this.filterPointTag);
317
318
  if (this.setPointTagPosition(), this.TagContainerSvelte)
318
- this.TagContainerSvelte.$set({ tags: e, state: this.state, temporaryState: this.temporaryState });
319
+ this.TagContainerSvelte.$set({ tags: t, state: this.state, temporaryState: this.temporaryState });
319
320
  else {
320
- const i = (t = this.five.getElement()) == null ? void 0 : t.parentElement;
321
+ const i = (e = this.five.getElement()) == null ? void 0 : e.parentElement;
321
322
  if (!i)
322
323
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
323
324
  this.TagContainerSvelte = new x({
324
325
  target: i,
325
- props: { hooks: this.hooks, tags: e, state: this.state, temporaryState: this.temporaryState, mediaStore: this.mediaStore }
326
+ props: { hooks: this.hooks, tags: t, state: this.state, temporaryState: this.temporaryState, mediaStore: this.mediaStore }
326
327
  });
327
328
  }
328
329
  }
329
330
  updateTagContainerVisible() {
330
- var e;
331
- (e = this.TagContainerSvelte) == null || e.$set({
331
+ var t;
332
+ (t = this.TagContainerSvelte) == null || t.$set({
332
333
  state: this.state,
333
334
  temporaryState: this.temporaryState,
334
335
  withAnimation: this.store.visibleWithAnimation
335
- }), this.filterCSS3DTag.forEach((t) => {
336
+ }), this.filterCSS3DTag.forEach((e) => {
336
337
  var i, o, n, a, s;
337
- (a = (o = (i = t.tag3DContentSvelte) == null ? void 0 : i.css3DInstance) == null ? void 0 : o.css3DObject) == null || a.setVisible((this.state.visible && ((n = t.state) == null ? void 0 : n.visible)) !== !1), (s = t.tag3DContentSvelte) == null || s.svelteApp.$set({
338
+ (a = (o = (i = e.tag3DContentSvelte) == null ? void 0 : i.css3DInstance) == null ? void 0 : o.css3DObject) == null || a.setVisible((this.state.visible && ((n = e.state) == null ? void 0 : n.visible)) !== !1), (s = e.tag3DContentSvelte) == null || s.svelteApp.$set({
338
339
  state: this.state,
339
340
  temporaryState: this.temporaryState,
340
341
  withAnimation: this.store.visibleWithAnimation
@@ -342,18 +343,18 @@ class ei extends O {
342
343
  });
343
344
  }
344
345
  disposeAllCSS3DContainer() {
345
- for (const [e, t] of this.store.css3DRenderDisposer)
346
- t == null || t.forEach((i) => i == null ? void 0 : i());
346
+ for (const [t, e] of this.store.css3DRenderDisposer)
347
+ e == null || e.forEach((i) => i == null ? void 0 : i());
347
348
  this.store.css3DRenderDisposer = /* @__PURE__ */ new Map();
348
349
  }
349
350
  clearUnusedPanelTag() {
350
- this.filter2DPointTag.forEach((e) => {
351
- var t;
352
- (t = e.tag3DContentSvelte) == null || t.css3DInstance.dispose(), e.tag3DContentSvelte = void 0;
351
+ this.filter2DPointTag.forEach((t) => {
352
+ var e;
353
+ (e = t.tag3DContentSvelte) == null || e.css3DInstance.dispose(), t.tag3DContentSvelte = void 0;
353
354
  });
354
- for (const [e, t] of this.store.css3DRenderDisposer) {
355
- const i = this.getTagById(e);
356
- (!i || i.stickType === "2DPoint") && (t == null || t.forEach((o) => o == null ? void 0 : o()), this.store.css3DRenderDisposer.delete(e));
355
+ for (const [t, e] of this.store.css3DRenderDisposer) {
356
+ const i = this.getTagById(t);
357
+ (!i || i.stickType === "2DPoint") && (e == null || e.forEach((o) => o == null ? void 0 : o()), this.store.css3DRenderDisposer.delete(t));
357
358
  }
358
359
  }
359
360
  }