@realsee/dnalogel 2.14.1-alpha.0 → 2.14.1

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 (283) hide show
  1. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +2 -3
  2. package/dist/index.cjs.js +19 -19
  3. package/dist/index.js +615 -627
  4. package/dist/index.umd.js +19 -19
  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 +46 -46
  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 +5 -5
  33. package/docs/functions/CameraMovementPlugin.html +5 -5
  34. package/docs/functions/CruisePlugin.html +5 -5
  35. package/docs/functions/GuideLinePlugin.html +5 -5
  36. package/docs/functions/ItemLabelPlugin.html +5 -5
  37. package/docs/functions/MapviewFloorplanPlugin.html +5 -5
  38. package/docs/functions/ModelChassisCompassPlugin.html +5 -5
  39. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
  40. package/docs/functions/ModelFloorplanPlugin.html +5 -5
  41. package/docs/functions/ModelItemLabelPlugin.html +5 -5
  42. package/docs/functions/ModelRoomLabelPlugin.html +5 -5
  43. package/docs/functions/ModelTVVideoPlugin.html +5 -5
  44. package/docs/functions/ModelViewPlugin.html +5 -5
  45. package/docs/functions/Object3DHelperPlugin.html +5 -5
  46. package/docs/functions/PanoCompassPlugin.html +5 -5
  47. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
  48. package/docs/functions/PanoDoorLabelPlugin.html +5 -5
  49. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
  50. package/docs/functions/PanoMeasurePlugin.html +5 -5
  51. package/docs/functions/PanoRulerPlugin.html +5 -5
  52. package/docs/functions/PanoRulerProPlugin.html +5 -5
  53. package/docs/functions/PanoSpatialTagPlugin.html +5 -5
  54. package/docs/functions/PanoTagPlugin.html +5 -5
  55. package/docs/functions/PanoVideoPlugin.html +5 -5
  56. package/docs/functions/TopviewFloorplanPlugin.html +5 -5
  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 +11 -11
  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/FloorplanRuleLabels.html +5 -5
  191. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  192. package/docs/types/GuideLinePluginExportType.html +5 -5
  193. package/docs/types/HelperEventMap.html +5 -5
  194. package/docs/types/LoadTagConfig.html +5 -5
  195. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  196. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  197. package/docs/types/MediaData.html +5 -5
  198. package/docs/types/MediaStore.html +5 -5
  199. package/docs/types/ModelElement.html +5 -5
  200. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  201. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  202. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  203. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  204. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  205. package/docs/types/MoveArgs.html +5 -5
  206. package/docs/types/MoveOpts.html +5 -5
  207. package/docs/types/Object3DHelperEventMap.html +5 -5
  208. package/docs/types/ObjectFit.html +5 -5
  209. package/docs/types/PaintBrushEventMap.html +5 -5
  210. package/docs/types/PanoCompassPluginData.html +5 -5
  211. package/docs/types/PanoCompassPluginExportType.html +5 -5
  212. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  213. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  214. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  215. package/docs/types/PanoIndex.html +5 -5
  216. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  217. package/docs/types/PanoMeasureReturnType.html +5 -5
  218. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  219. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  220. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  221. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  222. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  223. package/docs/types/PlaneTag.html +5 -5
  224. package/docs/types/PlaneTagElement.html +5 -5
  225. package/docs/types/Point2DElement.html +5 -5
  226. package/docs/types/Point2DTag.html +5 -5
  227. package/docs/types/Point3DElement.html +5 -5
  228. package/docs/types/Point3DTag.html +5 -5
  229. package/docs/types/PointTag.html +5 -5
  230. package/docs/types/PointTagElement.html +5 -5
  231. package/docs/types/Position.html +5 -5
  232. package/docs/types/RotateArgs.html +5 -5
  233. package/docs/types/RotateOpts.html +5 -5
  234. package/docs/types/RuleLabelsKey.html +5 -5
  235. package/docs/types/RuleLabelsValue.html +5 -5
  236. package/docs/types/StickType.html +5 -5
  237. package/docs/types/Tag.html +5 -5
  238. package/docs/types/Tag2D.html +5 -5
  239. package/docs/types/Tag3D.html +5 -5
  240. package/docs/types/TagContentType.html +5 -5
  241. package/docs/types/TagDimensionType.html +5 -5
  242. package/docs/types/TagElement.html +5 -5
  243. package/docs/types/TagEvents.html +5 -5
  244. package/docs/types/TagGLTFObject.html +5 -5
  245. package/docs/types/TagHooks.html +5 -5
  246. package/docs/types/TagIconSize.html +5 -5
  247. package/docs/types/TagId.html +5 -5
  248. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  249. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  250. package/docs/types/WorkCode.html +5 -5
  251. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  252. package/docs/variables/PLUGIN.html +5 -5
  253. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  254. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  255. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  256. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  257. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  258. package/libs/ModelChassisCompassPlugin/Plugin.js +9 -9
  259. package/libs/PanoTagPlugin/controller/TagRender.js +74 -74
  260. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +2 -3
  261. package/libs/PanoTagPlugin/controller/TagUtil.js +34 -46
  262. package/libs/PanoTagPlugin/controller/index.js +8 -8
  263. package/libs/base/BasePlugin.js +3 -3
  264. package/package.json +1 -1
  265. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
  266. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
  267. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
  268. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
  269. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
  270. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
  271. package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
  272. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
  273. package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
  274. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
  275. package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
  276. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
  277. package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
  278. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
  279. package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
  280. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
  281. package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
  282. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
  283. package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
@@ -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>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.14.1-alpha.0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.14.1-alpha.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">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.14.1</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.14.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">
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.14.1-alpha.0</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.14.1</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.14.1-alpha.0</a></li>
15
+ <li><a href="../modules.html">如视看房插件合集 - v2.14.1</a></li>
16
16
  <li><a href="modelItemLabelPluginServerParams.html">modelItemLabelPluginServerParams</a></li></ul>
17
17
  <h1>Variable modelItemLabelPluginServerParams<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
18
18
  <div class="tsd-signature">model<wbr/>Item<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/d942c35/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
27
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/19d4931/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</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.14.1-<wbr/>alpha.0</a>
44
+ <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.14.1</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,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.14.1-alpha.0</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.14.1-alpha.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">
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.14.1</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.14.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">
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.14.1-alpha.0</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.14.1</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.14.1-alpha.0</a></li>
15
+ <li><a href="../modules.html">如视看房插件合集 - v2.14.1</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/d942c35/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/19d4931/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.14.1-<wbr/>alpha.0</a>
44
+ <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.14.1</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,26 +1,26 @@
1
- var M = (t, i, s) => new Promise((l, o) => {
1
+ var M = (t, a, s) => new Promise((l, o) => {
2
2
  var m = (n) => {
3
3
  try {
4
4
  c(s.next(n));
5
5
  } catch (u) {
6
6
  o(u);
7
7
  }
8
- }, a = (n) => {
8
+ }, i = (n) => {
9
9
  try {
10
10
  c(s.throw(n));
11
11
  } catch (u) {
12
12
  o(u);
13
13
  }
14
- }, c = (n) => n.done ? l(n.value) : Promise.resolve(n.value).then(m, a);
15
- c((s = s.apply(t, i)).next());
14
+ }, c = (n) => n.done ? l(n.value) : Promise.resolve(n.value).then(m, i);
15
+ c((s = s.apply(t, a)).next());
16
16
  });
17
17
  import * as h from "three";
18
18
  import { FBXLoader as E } from "three/examples/jsm/loaders/FBXLoader";
19
19
  import { bject3d2LocalMatrix as U } from "../shared-utils/object3d2LocalMatrix.js";
20
20
  import { transfromToMeshBasicMaterial as C } from "../shared-utils/three/transformToMeshBasicMaterial.js";
21
- const X = (t, i) => {
21
+ const X = (t, a) => {
22
22
  var x;
23
- const s = i.fbx_url || "//vrlab-static.ljcdn.com/release/web/v3/dipan3/dipan.FBX", l = (x = i.north_rad) != null ? x : void 0, o = {}, m = (e) => M(void 0, null, function* () {
23
+ const s = a.fbx_url || "//vrlab-image4.ljcdn.com/release/web/dipan2.f38a21cc.FBX", l = (x = a.north_rad) != null ? x : void 0, o = {}, m = (e) => M(void 0, null, function* () {
24
24
  var y;
25
25
  const r = (e == null ? void 0 : e.fbx_url) || s, d = (y = e == null ? void 0 : e.north_rad) != null ? y : l;
26
26
  if (typeof d != "number")
@@ -42,7 +42,7 @@ const X = (t, i) => {
42
42
  o.yBase = p;
43
43
  const A = { x: (B + R) / 2, y: p - 1.6, z: (P + w) / 2 }, D = 45e-4 * g;
44
44
  return U(f, { position: A, rotation: z, scale: D }), o.object = f, !0;
45
- }), a = ({ latitude: e }) => {
45
+ }), i = ({ latitude: e }) => {
46
46
  if (!o.object)
47
47
  return;
48
48
  const r = c(e);
@@ -57,12 +57,12 @@ const X = (t, i) => {
57
57
  return o.yBase - (r * d + 1.6);
58
58
  };
59
59
  return { load: m, disable: () => {
60
- !o.object || (t.scene.remove(o.object), t.needsRender = !0, t.off("cameraDirectionUpdate", a));
60
+ !o.object || (t.scene.remove(o.object), t.needsRender = !0, t.off("cameraDirectionUpdate", i));
61
61
  }, enable: () => {
62
62
  if (!o.object)
63
63
  return;
64
64
  const e = c(t.getPose().latitude);
65
- e && (o.object.position.y = e), t.scene.add(o.object), t.needsRender = !0, t.on("cameraDirectionUpdate", a);
65
+ e && (o.object.position.y = e), t.scene.add(o.object), t.needsRender = !0, t.on("cameraDirectionUpdate", i);
66
66
  } };
67
67
  };
68
68
  export {
@@ -1,31 +1,31 @@
1
1
  var j = Object.defineProperty;
2
- var w = (l, p, t) => p in l ? j(l, p, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[p] = t;
3
- var d = (l, p, t) => (w(l, typeof p != "symbol" ? p + "" : p, t), t);
4
- var D = (l, p, t) => new Promise((e, i) => {
5
- var o = (s) => {
2
+ var w = (l, m, t) => m in l ? j(l, m, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[m] = t;
3
+ var d = (l, m, t) => (w(l, typeof m != "symbol" ? m + "" : m, t), t);
4
+ var T = (l, m, t) => new Promise((e, i) => {
5
+ var o = (r) => {
6
6
  try {
7
- a(t.next(s));
8
- } catch (r) {
9
- i(r);
7
+ a(t.next(r));
8
+ } catch (s) {
9
+ i(s);
10
10
  }
11
- }, n = (s) => {
11
+ }, n = (r) => {
12
12
  try {
13
- a(t.throw(s));
14
- } catch (r) {
15
- i(r);
13
+ a(t.throw(r));
14
+ } catch (s) {
15
+ i(s);
16
16
  }
17
- }, a = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(o, n);
18
- a((t = t.apply(l, p)).next());
17
+ }, a = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(o, n);
18
+ a((t = t.apply(l, m)).next());
19
19
  });
20
20
  import { TagComputer as O } from "./TagComputer.js";
21
- import { Group as P, Quaternion as x, Vector3 as f, Matrix4 as T } from "three";
21
+ import { Group as D, Quaternion as x, Vector3 as h, Matrix4 as u } from "three";
22
22
  import G from "../Components/TagContainer.js";
23
23
  import k from "../Components/Tag/index.js";
24
- import { arrayPositionToVector3 as b } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
24
+ import { arrayPositionToVector3 as P } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
25
25
  import { centerPoint as A } from "../../shared-utils/three/centerPoint.js";
26
26
  import "@realsee/five/gltf-loader";
27
27
  import R from "../utils/model/imagePlane.js";
28
- import { isMediaModelTag as S } from "../utils/tag/tagCheck.js";
28
+ import { isMediaModelTag as b } from "../utils/tag/tagCheck.js";
29
29
  import { CSS3DRenderPlugin as E } from "../../CSS3DRenderPlugin/index.js";
30
30
  import { loadGLTF as V } from "../../shared-utils/three/GLTFLoader.js";
31
31
  import "@realsee/five";
@@ -134,30 +134,30 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
134
134
  class Ue extends O {
135
135
  constructor(t) {
136
136
  super(t);
137
- d(this, "group", new P());
138
- d(this, "imagePlaneGroup", new P());
139
- d(this, "gltfObjectGroup", new P());
137
+ d(this, "group", new D());
138
+ d(this, "imagePlaneGroup", new D());
139
+ d(this, "gltfObjectGroup", new D());
140
140
  d(this, "enabledModelTagSet", /* @__PURE__ */ new Set());
141
141
  d(this, "temporaryState", { visible: !0 });
142
142
  d(this, "TagContainerSvelte");
143
- d(this, "loadModel", (t) => D(this, null, function* () {
144
- var s;
143
+ d(this, "loadModel", (t) => T(this, null, function* () {
144
+ var r;
145
145
  const e = t.data.modelUrl;
146
146
  if (!e)
147
147
  return;
148
- const i = V(e).then((r) => Object.assign(r.scene, { customID: t.id, isTagModel: !0 }));
148
+ const i = V(e).then((s) => Object.assign(s.scene, { customID: t.id, isTagModel: !0 }));
149
149
  t.model = { promise: i };
150
150
  const o = yield i;
151
- if (((s = t.model) == null ? void 0 : s.promise) !== i || (t.model.object = o, !this.tags.includes(t)))
151
+ if (((r = t.model) == null ? void 0 : r.promise) !== i || (t.model.object = o, !this.tags.includes(t)))
152
152
  return;
153
- o.visible = this.getCurrentVisibleState(t), new T().fromArray(t.matrix).decompose(o.position, o.quaternion, o.scale), o.updateWorldMatrix(!0, !0), o.visible = this.getVisibleByFloorIndex(t);
154
- const a = this.gltfObjectGroup.children.find((r) => r.customID === t.id);
155
- if (a && this.gltfObjectGroup.remove(a), this.getRenderType(t) === "Mesh") {
153
+ o.visible = this.getCurrentVisibleState(t), new u().fromArray(t.matrix).decompose(o.position, o.quaternion, o.scale), o.updateWorldMatrix(!0, !0), o.visible = this.getVisibleByFloorIndex(t);
154
+ const a = this.gltfObjectGroup.children.find((s) => s.customID === t.id);
155
+ if (a && this.gltfObjectGroup.remove(a), this.can("renderByMesh", t)) {
156
156
  if (!t.imagePlane) {
157
- const r = t.data.mediaPosition.map(b);
158
- t.imagePlane = new R(t.data.mediaData[0].url, t.data.mediaPosition.map(b));
159
- const m = new f().addVectors(r[0], r[2]).divideScalar(2);
160
- t.imagePlane.position.copy(m), o.add(t.imagePlane);
157
+ const s = t.data.mediaPosition.map(P);
158
+ t.imagePlane = new R(t.data.mediaData[0].url, t.data.mediaPosition.map(P));
159
+ const p = new h().addVectors(s[0], s[2]).divideScalar(2);
160
+ t.imagePlane.position.copy(p), o.add(t.imagePlane);
161
161
  }
162
162
  } else
163
163
  this.updateTagCss3DObjectMatrix(t, o);
@@ -176,22 +176,22 @@ class Ue extends O {
176
176
  }
177
177
  updateRenderImagePlane() {
178
178
  this.sort(this.filterImagePlane).forEach((e) => {
179
- var n, a, s, r;
179
+ var n, a, r, s;
180
180
  const i = (n = e.data.mediaData[0]) == null ? void 0 : n.url;
181
- if (!i || (e.imagePlane && (e.imagePlane.visible = (s = (a = e.state) == null ? void 0 : a.visible) != null ? s : !0), ((r = e.imagePlane) == null ? void 0 : r.imageSrc) === i))
181
+ if (!i || (e.imagePlane && (e.imagePlane.visible = (r = (a = e.state) == null ? void 0 : a.visible) != null ? r : !0), ((s = e.imagePlane) == null ? void 0 : s.imageSrc) === i))
182
182
  return;
183
- const o = e.position.map(b);
183
+ const o = e.position.map(P);
184
184
  e.imagePlane = new R(i, o), e.imagePlane.setMatrixByCornerPoints(o), this.imagePlaneGroup.add(e.imagePlane);
185
185
  });
186
186
  }
187
187
  updateRender3DDomTag() {
188
- this.sort([...this.filterCSS3DTag]).forEach((e) => {
189
- var i, o;
188
+ this.sort([...this.filter3DTag]).forEach((e) => {
189
+ var i;
190
190
  if (e.tag3DContentSvelte) {
191
- const { svelteApp: n, domContainer: a, initialNormal: s, currentNormal: r } = e.tag3DContentSvelte;
192
- if (n.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !s.equals(r)) {
193
- const m = new x().setFromUnitVectors(s, r);
194
- a.css3DObject.setRotationFromQuaternion(m);
191
+ const { svelteApp: o, domContainer: n, initialNormal: a, currentNormal: r } = e.tag3DContentSvelte;
192
+ if (o.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !a.equals(r)) {
193
+ const s = new x().setFromUnitVectors(a, r);
194
+ n.css3DObject.setRotationFromQuaternion(s);
195
195
  }
196
196
  return;
197
197
  } else {
@@ -199,32 +199,32 @@ class Ue extends O {
199
199
  return;
200
200
  if (this.css3DRenderPlugin || (this.css3DRenderPlugin = E(this.five)), e.stickType === "3DPoint" && !e.normal)
201
201
  return console.error("updateRenderPlaneTag: \u4E09\u7EF4\u70B9\u6807\u7B7E\u7F3A\u5C11\u6CD5\u5411\u91CF\uFF01");
202
- const n = this.getPositions(e);
203
- if (!n)
202
+ const o = this.getPositions(e);
203
+ if (!o)
204
204
  return;
205
- const a = this.getTagNormal(e);
206
- if (!a)
205
+ const n = this.getTagNormal(e);
206
+ if (!n)
207
207
  return;
208
- const r = (o = this.getTagConfig(e).tag3DConfig) != null ? o : {};
209
- if (this.getRenderType(e) === "BehindDom") {
208
+ const a = this.getTagConfig(e), r = a.tag3DConfig;
209
+ if (a.renderType === "Mesh" && r) {
210
210
  r.mode = "behind", r.container = document.createElement("div");
211
- const h = "black";
212
- r.container.style.backgroundColor = h, r.container.style.border = `3px solid ${h}`, this.css3DRenderPlugin.hooks.on("render", () => {
213
- var u;
214
- if (m.css3DObject.opacityMesh) {
215
- const g = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (c) => {
216
- this.hooks.emit("click", { event: c, target: "TagContent", tag: e });
217
- });
218
- (u = this.store.css3DRenderDisposer.get(e.id)) == null || u.push(g);
219
- }
220
- });
211
+ const p = "black";
212
+ r.container.style.backgroundColor = p, r.container.style.border = `3px solid ${p}`;
221
213
  }
222
- const m = this.css3DRenderPlugin.create3DDomContainer(n, r);
223
- if (!m)
214
+ const s = this.css3DRenderPlugin.create3DDomContainer(o, r);
215
+ if (!s)
224
216
  return;
225
- this.store.css3DRenderDisposer.set(e.id, [m.dispose]), e.tag3DContentSvelte = {
217
+ this.store.css3DRenderDisposer.set(e.id, [s.dispose]), this.css3DRenderPlugin.hooks.on("render", () => {
218
+ var p;
219
+ if (s.css3DObject.opacityMesh) {
220
+ const g = this.addObjectClickHandler(e, s.css3DObject.opacityMesh, (f) => {
221
+ this.hooks.emit("click", { event: f, target: "TagContent", tag: e });
222
+ });
223
+ (p = this.store.css3DRenderDisposer.get(e.id)) == null || p.push(g);
224
+ }
225
+ }), e.tag3DContentSvelte = {
226
226
  svelteApp: new k({
227
- target: m.container,
227
+ target: s.container,
228
228
  props: {
229
229
  tag: e,
230
230
  hooks: this.hooks,
@@ -233,16 +233,16 @@ class Ue extends O {
233
233
  temporaryState: this.temporaryState
234
234
  }
235
235
  }),
236
- domContainer: m,
237
- initialNormal: a,
238
- currentNormal: a
236
+ domContainer: s,
237
+ initialNormal: n,
238
+ currentNormal: n
239
239
  };
240
240
  }
241
241
  }), this.clearUnusedPanelTag();
242
242
  }
243
243
  updateRenderModelTag() {
244
244
  const t = (i) => !this.enabledModelTagSet.has(i.customID);
245
- this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(t)), this.tags.filter(S).forEach((i) => {
245
+ this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(t)), this.tags.filter(b).forEach((i) => {
246
246
  var o;
247
247
  (o = i.model) == null || o.promise.then((n) => {
248
248
  n.visible = this.getCurrentVisibleState(i);
@@ -256,20 +256,20 @@ class Ue extends O {
256
256
  });
257
257
  }
258
258
  updateTagCss3DObjectMatrix(t, e) {
259
- var C, v, M, y;
260
- const i = (M = (v = (C = t.mergedConfig) == null ? void 0 : C.tag3DConfig) == null ? void 0 : v.ratio) != null ? M : 216e-5, o = (y = t.tag3DContentSvelte) == null ? void 0 : y.domContainer.css3DObject;
259
+ var S, v, M, y;
260
+ const i = (M = (v = (S = t.mergedConfig) == null ? void 0 : S.tag3DConfig) == null ? void 0 : v.ratio) != null ? M : 216e-5, o = (y = t.tag3DContentSvelte) == null ? void 0 : y.domContainer.css3DObject;
261
261
  if (!o)
262
262
  return;
263
- const n = S(t) ? t.data.mediaPosition : t.position;
263
+ const n = b(t) ? t.data.mediaPosition : t.position;
264
264
  e.updateWorldMatrix(!1, !1);
265
- const a = e.matrixWorld, s = new f().fromArray(n[0]), r = new f().fromArray(n[2]), m = A(s, r).add(new f(0, 0, 5e-4)), h = new T().setPosition(m), u = new T().makeScale(i, i, i), g = new T().multiply(a).multiply(h).multiply(u);
266
- g.decompose(o.position, o.quaternion, o.scale);
265
+ const a = e.matrixWorld, r = new h().fromArray(n[0]), s = new h().fromArray(n[2]), p = A(r, s).add(new h(0, 0, 5e-4)), g = new u().setPosition(p), f = new u().makeScale(i, i, i), C = new u().multiply(a).multiply(g).multiply(f);
266
+ C.decompose(o.position, o.quaternion, o.scale);
267
267
  const c = o.opacityMesh;
268
- c && g.decompose(c.position, c.quaternion, c.scale);
268
+ c && C.decompose(c.position, c.quaternion, c.scale);
269
269
  }
270
270
  addMediaModelTag(t) {
271
- return D(this, null, function* () {
272
- const e = t.filter(S).map((i) => this.loadModel(i));
271
+ return T(this, null, function* () {
272
+ const e = t.filter(b).map((i) => this.loadModel(i));
273
273
  yield Promise.all(e), this.setModelMedialVisible(), this.updateRenderAllTags();
274
274
  });
275
275
  }
@@ -294,9 +294,9 @@ class Ue extends O {
294
294
  state: this.state,
295
295
  temporaryState: this.temporaryState,
296
296
  withAnimation: this.store.visibleWithAnimation
297
- }), this.filterCSS3DTag.forEach((e) => {
298
- var i, o, n, a, s;
299
- (a = (o = (i = e.tag3DContentSvelte) == null ? void 0 : i.domContainer) == 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({
297
+ }), this.filter3DTag.forEach((e) => {
298
+ var i, o, n, a, r;
299
+ (a = (o = (i = e.tag3DContentSvelte) == null ? void 0 : i.domContainer) == null ? void 0 : o.css3DObject) == null || a.setVisible((this.state.visible && ((n = e.state) == null ? void 0 : n.visible)) !== !1), (r = e.tag3DContentSvelte) == null || r.svelteApp.$set({
300
300
  state: this.state,
301
301
  temporaryState: this.temporaryState,
302
302
  withAnimation: this.store.visibleWithAnimation
@@ -36,8 +36,7 @@ export declare abstract class TagUtil extends TagCache {
36
36
  protected updateTagConfig(params?: {
37
37
  force?: boolean;
38
38
  }): void;
39
- protected can<T extends TagElement<any, any>>(action: 'show' | 'hide' | 'fold' | 'unfold', paramsTag: T): boolean;
40
- protected getRenderType(tag: TagElement<any, any>): 'Dom' | 'Mesh' | 'BehindDom';
39
+ protected can<T extends TagElement<any, any>>(action: 'show' | 'hide' | 'fold' | 'unfold' | 'renderByMesh' | 'renderByMeshDom', paramsTag: T): boolean;
41
40
  /**
42
41
  * @description: 获取角度
43
42
  */
@@ -56,7 +55,7 @@ export declare abstract class TagUtil extends TagCache {
56
55
  protected get filterImagePlane(): PlaneTagElement<"MediaPlane">[];
57
56
  protected get filterMediaModel(): ModelElement<"MediaModel">[];
58
57
  protected get filterModelTag(): ModelElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
59
- protected get filterCSS3DTag(): (TagElement<any, "Plane"> | TagElement<any, "Model"> | TagElement<any, "3DPoint">)[];
58
+ protected get filter3DTag(): (TagElement<any, "Plane"> | TagElement<any, "Model"> | TagElement<any, "3DPoint">)[];
60
59
  /**
61
60
  * @description 检查是否已经销毁
62
61
  * @returns isDisposed; 已经销毁返回 true,否则返回 false
@@ -1,6 +1,6 @@
1
1
  var T = Object.defineProperty;
2
2
  var y = (c, u, e) => u in c ? T(c, u, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[u] = e;
3
- var a = (c, u, e) => (y(c, typeof u != "symbol" ? u + "" : u, e), e);
3
+ var l = (c, u, e) => (y(c, typeof u != "symbol" ? u + "" : u, e), e);
4
4
  import D from "object-assign-deep";
5
5
  import * as C from "three";
6
6
  import { DefaultConfig as w } from "../tag.config.js";
@@ -31,24 +31,24 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
31
31
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
32
32
  import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
33
33
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
34
- class le extends b {
34
+ class ae extends b {
35
35
  constructor(e) {
36
36
  super(e);
37
- a(this, "tags", []);
38
- a(this, "config", w);
39
- a(this, "mediaStore", I({
37
+ l(this, "tags", []);
38
+ l(this, "config", w);
39
+ l(this, "mediaStore", I({
40
40
  currentMediaElement: null
41
41
  }));
42
- a(this, "css3DRenderPlugin");
43
- a(this, "store", {
42
+ l(this, "css3DRenderPlugin");
43
+ l(this, "store", {
44
44
  disposers: [],
45
45
  disposed: !1,
46
46
  resizeObserverDisposerAdding: !1,
47
47
  css3DRenderDisposer: /* @__PURE__ */ new Map()
48
48
  });
49
- a(this, "domEvents");
50
- a(this, "mouseInfo");
51
- a(this, "preventWhenMouseDown", () => {
49
+ l(this, "domEvents");
50
+ l(this, "mouseInfo");
51
+ l(this, "preventWhenMouseDown", () => {
52
52
  var e;
53
53
  if ((e = this.mouseInfo) != null && e.isDown)
54
54
  return !1;
@@ -77,8 +77,8 @@ class le extends b {
77
77
  if (!e)
78
78
  return (t = this.config.globalConfig) != null ? t : {};
79
79
  const i = {};
80
- this.config.contentTypeConfig && Object.keys(this.config.contentTypeConfig).forEach((l) => {
81
- const r = l;
80
+ this.config.contentTypeConfig && Object.keys(this.config.contentTypeConfig).forEach((a) => {
81
+ const r = a;
82
82
  if (i[r])
83
83
  return;
84
84
  const f = r.split("-");
@@ -91,10 +91,10 @@ class le extends b {
91
91
  (e.stickType === s || s === "Any") && (e.contentType === n || n === "Any") && (i[r] = this.config.contentTypeConfig[r]);
92
92
  }
93
93
  if (f.length === 3) {
94
- const [s = "Any", n, h] = f;
94
+ const [s = "Any", n, m] = f;
95
95
  if (n === "Audio" && e.contentType === "Audio") {
96
- const m = e;
97
- (m.stickType === s || s === "Any") && m.data.appearance === h && (i[r] = this.config.contentTypeConfig[r]);
96
+ const h = e;
97
+ (h.stickType === s || s === "Any") && h.data.appearance === m && (i[r] = this.config.contentTypeConfig[r]);
98
98
  }
99
99
  }
100
100
  });
@@ -126,25 +126,16 @@ class le extends b {
126
126
  if (e === "fold" && t.unfoldedConfig.keep === "unfolded" || e === "unfold" && t.unfoldedConfig.keep === "folded")
127
127
  return !1;
128
128
  }
129
+ if (e === "renderByMesh")
130
+ if (x(o) || v(o)) {
131
+ const d = o.data.mediaData;
132
+ return d.length === 1 && d[0].type === "Image" && t.renderType === "Mesh";
133
+ } else
134
+ return !1;
129
135
  return !0;
130
136
  }
131
- getRenderType(e) {
132
- const i = this.getTagConfig(e);
133
- if (!i || typeof i != "object" || !i.renderType)
134
- return "Dom";
135
- const o = e.data.mediaData;
136
- if (!o || o.length === 0)
137
- return "Dom";
138
- if (i.renderType === "Mesh") {
139
- if (x(e))
140
- return o.length === 1 && o[0].type === "Image" ? "Mesh" : "Dom";
141
- if (v(e))
142
- return o.length === 1 && o[0].type === "Image" ? "Mesh" : "BehindDom";
143
- } else
144
- return "Dom";
145
- }
146
137
  getAngle(e, i) {
147
- var d, l, r;
138
+ var d, a, r;
148
139
  const o = (d = this.five.panoIndex) != null ? d : i;
149
140
  if (o === void 0)
150
141
  throw new Error(`getDistance(): fivePanoIndex is ${o}`);
@@ -152,7 +143,7 @@ class le extends b {
152
143
  if (t.angle !== void 0)
153
144
  return t.angle;
154
145
  {
155
- const f = (r = (l = this.five.work) == null ? void 0 : l.observers[o]) == null ? void 0 : r.position;
146
+ const f = (r = (a = this.five.work) == null ? void 0 : a.observers[o]) == null ? void 0 : r.position;
156
147
  if (f === void 0)
157
148
  throw new Error(`getAngleRange(): observerPosition is ${f}`);
158
149
  const s = (() => e.stickType === "3DPoint" ? E(e.normal) : g(e.position))();
@@ -161,12 +152,12 @@ class le extends b {
161
152
  const n = P(e.position);
162
153
  if (!n)
163
154
  return;
164
- const h = new C.Vector3().copy(f).sub(n), m = s.angleTo(h) * 180 / Math.PI;
165
- return t.angle = m, t.angle;
155
+ const m = new C.Vector3().copy(f).sub(n), h = s.angleTo(m) * 180 / Math.PI;
156
+ return t.angle = h, t.angle;
166
157
  }
167
158
  }
168
159
  getDistance(e, i) {
169
- var d, l, r;
160
+ var d, a, r;
170
161
  const o = (d = this.five.panoIndex) != null ? d : i;
171
162
  if (o === void 0)
172
163
  throw new Error(`getDistance(): fivePanoIndex is ${o}`);
@@ -174,7 +165,7 @@ class le extends b {
174
165
  if (t.distance !== void 0)
175
166
  return t.distance;
176
167
  {
177
- const f = (r = (l = this.five.work) == null ? void 0 : l.observers[o]) == null ? void 0 : r.position;
168
+ const f = (r = (a = this.five.work) == null ? void 0 : a.observers[o]) == null ? void 0 : r.position;
178
169
  if (f === void 0)
179
170
  throw new Error(`getDistance(): observerPosition is ${f}`);
180
171
  const s = k(e);
@@ -212,7 +203,7 @@ class le extends b {
212
203
  isDown: !0,
213
204
  mouseDownTimestamp: Date.now()
214
205
  };
215
- }, l = (s) => {
206
+ }, a = (s) => {
216
207
  if (!t()) {
217
208
  this.mouseInfo = void 0;
218
209
  return;
@@ -239,8 +230,8 @@ class le extends b {
239
230
  const n = s.origDomEvent;
240
231
  !this.mouseInfo || (this.mouseInfo.isDown && this.mouseInfo.x === Math.floor(n.changedTouches[n.changedTouches.length - 1].clientX) && this.mouseInfo.y === Math.floor(n.changedTouches[n.changedTouches.length - 1].clientY) && Date.now() - this.mouseInfo.mouseDownTimestamp < 400 && o(n), this.mouseInfo = void 0);
241
232
  };
242
- return this.domEvents.addEventListener(i, "mousedown", d, !1), this.domEvents.addEventListener(i, "mouseup", l, !1), this.domEvents.addEventListener(i, "touchstart", r, !1), this.domEvents.addEventListener(i, "touchend", f, !1), () => {
243
- !this.domEvents || (this.mouseInfo = void 0, this.domEvents.removeEventListener(i, "mousedown", d), this.domEvents.removeEventListener(i, "mouseup", l), this.domEvents.removeEventListener(i, "touchstart", r), this.domEvents.removeEventListener(i, "touchend", f));
233
+ return this.domEvents.addEventListener(i, "mousedown", d, !1), this.domEvents.addEventListener(i, "mouseup", a, !1), this.domEvents.addEventListener(i, "touchstart", r, !1), this.domEvents.addEventListener(i, "touchend", f, !1), () => {
234
+ !this.domEvents || (this.mouseInfo = void 0, this.domEvents.removeEventListener(i, "mousedown", d), this.domEvents.removeEventListener(i, "mouseup", a), this.domEvents.removeEventListener(i, "touchstart", r), this.domEvents.removeEventListener(i, "touchend", f));
244
235
  };
245
236
  }
246
237
  getTagNormal(e) {
@@ -262,7 +253,7 @@ class le extends b {
262
253
  }
263
254
  get filterImagePlane() {
264
255
  return this.tags.filter(
265
- (e) => e.contentType === "MediaPlane" && e.stickType === "Plane" && this.getRenderType(e) === "Mesh"
256
+ (e) => e.contentType === "MediaPlane" && e.stickType === "Plane" && this.can("renderByMesh", e)
266
257
  );
267
258
  }
268
259
  get filterMediaModel() {
@@ -271,16 +262,13 @@ class le extends b {
271
262
  get filterModelTag() {
272
263
  return this.tags.filter((e) => e.stickType === "Model");
273
264
  }
274
- get filterCSS3DTag() {
275
- return this.tags.filter((i) => i.stickType === "3DPoint" || i.stickType === "Plane" || i.stickType === "Model").filter((i) => {
276
- const o = this.getRenderType(i);
277
- return o === "BehindDom" || o === "Dom";
278
- });
265
+ get filter3DTag() {
266
+ return this.tags.filter((e) => e.stickType === "3DPoint" || e.stickType === "Plane" || e.stickType === "Model").filter((e) => !this.can("renderByMesh", e));
279
267
  }
280
268
  checkDisposed() {
281
269
  return this.store.disposed ? (console.error("PanoTagPluginController has been disposed"), !0) : !1;
282
270
  }
283
271
  }
284
272
  export {
285
- le as TagUtil
273
+ ae as TagUtil
286
274
  };