@realsee/dnalogel 2.6.7-dev.2 → 2.6.7-dev.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. package/dist/index.cjs.js +15 -15
  2. package/dist/index.js +254 -259
  3. package/dist/index.umd.js +9 -9
  4. package/docs/classes/CSS3DRender.html +31 -31
  5. package/docs/classes/CruisePluginController.html +24 -24
  6. package/docs/classes/Magnifier.html +20 -20
  7. package/docs/classes/ModelRoomLabelController.html +11 -11
  8. package/docs/classes/Object3DHelperController.html +24 -24
  9. package/docs/classes/PaintBrush.html +15 -15
  10. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  11. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  12. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  13. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  14. package/docs/classes/PanoTagPluginController.html +46 -46
  15. package/docs/classes/Util.BetterTween.html +8 -8
  16. package/docs/classes/Util.FivePointSelector.html +12 -12
  17. package/docs/classes/Util.Interval.html +12 -12
  18. package/docs/classes/Util.Magnifier.html +17 -17
  19. package/docs/classes/Util.PointDomHelper.html +11 -11
  20. package/docs/classes/Util.PointHelper.html +11 -11
  21. package/docs/classes/Util.Rectangle.html +13 -13
  22. package/docs/enums/CameraMovementEffect.html +7 -7
  23. package/docs/enums/ContentType.html +18 -18
  24. package/docs/enums/DIRECTION.html +9 -9
  25. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  26. package/docs/enums/DimensionType.html +7 -7
  27. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  28. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  29. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  30. package/docs/enums/PointType.html +7 -7
  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/TopviewFloorplanPlugin.html +4 -4
  56. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  57. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  58. package/docs/functions/Util.getFrameTime.html +5 -5
  59. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  60. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  61. package/docs/functions/Util.isNil.html +5 -5
  62. package/docs/functions/Util.nextFrame.html +5 -5
  63. package/docs/functions/Util.notNil.html +5 -5
  64. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  65. package/docs/functions/Util.tweenProgress.html +5 -5
  66. package/docs/functions/pluginFlag.html +5 -5
  67. package/docs/index.html +4 -4
  68. package/docs/interfaces/AddTagConfig.html +6 -6
  69. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  70. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  71. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  72. package/docs/interfaces/EventMap.html +15 -15
  73. package/docs/interfaces/FloorplanBounding.html +8 -8
  74. package/docs/interfaces/FloorplanData.html +10 -10
  75. package/docs/interfaces/FloorplanEntrance.html +11 -11
  76. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  77. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  78. package/docs/interfaces/FloorplanFloorData.html +9 -9
  79. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  80. package/docs/interfaces/FloorplanObserver.html +9 -9
  81. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  82. package/docs/interfaces/FloorplanPosition.html +7 -7
  83. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  84. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  85. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  86. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  87. package/docs/interfaces/FloorplanServerData.html +7 -7
  88. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  89. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  90. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  91. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  92. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  93. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  94. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  95. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  96. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  97. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  98. package/docs/interfaces/HelperOffset.html +8 -8
  99. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  100. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  101. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  102. package/docs/interfaces/MinMax.html +7 -7
  103. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  104. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  105. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  106. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  107. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  108. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  109. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  110. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  111. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  112. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  113. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  114. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  115. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  116. package/docs/interfaces/Object3DHelperState.html +8 -8
  117. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  118. package/docs/interfaces/PaintBrushAction.html +12 -12
  119. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  120. package/docs/interfaces/PaintBrushState.html +10 -10
  121. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  122. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  123. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  124. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  125. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  126. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  127. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  128. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  129. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  130. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  131. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  132. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  133. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  134. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  135. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  136. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  137. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  138. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  139. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  140. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  141. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  142. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  143. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  144. package/docs/interfaces/Point.html +8 -8
  145. package/docs/interfaces/Room.html +9 -9
  146. package/docs/interfaces/RoomInfo.html +7 -7
  147. package/docs/interfaces/RoomLabel.html +14 -14
  148. package/docs/interfaces/RoomRules.html +5 -5
  149. package/docs/interfaces/Rooms.html +5 -5
  150. package/docs/interfaces/Scissor.html +9 -9
  151. package/docs/interfaces/State.html +8 -8
  152. package/docs/interfaces/TagCache.html +12 -12
  153. package/docs/interfaces/TagConfig.html +10 -10
  154. package/docs/interfaces/TagIconUrl.html +9 -9
  155. package/docs/interfaces/Tags.html +9 -9
  156. package/docs/interfaces/TemporaryState.html +6 -6
  157. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  158. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  159. package/docs/modules/Util.html +5 -5
  160. package/docs/modules.html +4 -4
  161. package/docs/types/ArrayPosition.html +5 -5
  162. package/docs/types/AudioAppearance.html +5 -5
  163. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  164. package/docs/types/CSS3DRenderExportType.html +5 -5
  165. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  166. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  167. package/docs/types/ClassFunctionParameters.html +5 -5
  168. package/docs/types/Color.html +5 -5
  169. package/docs/types/ContentTypeConfigKey.html +5 -5
  170. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  171. package/docs/types/ContentTypeMap.html +5 -5
  172. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  173. package/docs/types/Create3DElementReturnType.html +5 -5
  174. package/docs/types/CruisePluginExportType.html +5 -5
  175. package/docs/types/Direction-1.html +5 -5
  176. package/docs/types/Direction4.html +5 -5
  177. package/docs/types/FloorplanRuleLabels.html +5 -5
  178. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  179. package/docs/types/GuideLinePluginExportType.html +5 -5
  180. package/docs/types/HelperEventMap.html +5 -5
  181. package/docs/types/LoadTagConfig.html +5 -5
  182. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  183. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  184. package/docs/types/MediaData.html +5 -5
  185. package/docs/types/MediaStore.html +5 -5
  186. package/docs/types/ModelElement.html +5 -5
  187. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  188. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  189. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  190. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  191. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  192. package/docs/types/MoveArgs.html +5 -5
  193. package/docs/types/MoveOpts.html +5 -5
  194. package/docs/types/Object3DHelperEventMap.html +5 -5
  195. package/docs/types/ObjectFit.html +5 -5
  196. package/docs/types/PaintBrushEventMap.html +5 -5
  197. package/docs/types/PanoCompassPluginData.html +5 -5
  198. package/docs/types/PanoCompassPluginExportType.html +5 -5
  199. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  200. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  201. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  202. package/docs/types/PanoIndex.html +5 -5
  203. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  204. package/docs/types/PanoMeasureReturnType.html +5 -5
  205. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  206. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  207. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  208. package/docs/types/PlaneTag.html +5 -5
  209. package/docs/types/PlaneTagElement.html +5 -5
  210. package/docs/types/Point2DElement.html +5 -5
  211. package/docs/types/Point2DTag.html +5 -5
  212. package/docs/types/Point3DElement.html +5 -5
  213. package/docs/types/Point3DTag.html +5 -5
  214. package/docs/types/PointTag.html +5 -5
  215. package/docs/types/PointTagElement.html +5 -5
  216. package/docs/types/Position.html +5 -5
  217. package/docs/types/RotateArgs.html +5 -5
  218. package/docs/types/RotateOpts.html +5 -5
  219. package/docs/types/RuleLabelsKey.html +5 -5
  220. package/docs/types/RuleLabelsValue.html +5 -5
  221. package/docs/types/StickType.html +5 -5
  222. package/docs/types/Tag.html +5 -5
  223. package/docs/types/Tag2D.html +5 -5
  224. package/docs/types/Tag3D.html +5 -5
  225. package/docs/types/TagContentType.html +5 -5
  226. package/docs/types/TagDimensionType.html +5 -5
  227. package/docs/types/TagElement.html +5 -5
  228. package/docs/types/TagEvents.html +5 -5
  229. package/docs/types/TagGLTFObject.html +5 -5
  230. package/docs/types/TagHooks.html +5 -5
  231. package/docs/types/TagIconSize.html +5 -5
  232. package/docs/types/TagId.html +5 -5
  233. package/docs/types/TagPointType.html +5 -5
  234. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  235. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  236. package/docs/types/WorkCode.html +5 -5
  237. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  238. package/docs/variables/PLUGIN.html +5 -5
  239. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  240. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  241. package/docs/variables/VERSION.html +5 -5
  242. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  243. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  244. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  245. package/libs/PanoTagPlugin/controller/index.js +104 -105
  246. package/libs/PanoTagPlugin/index.js +11 -12
  247. package/libs/PanoTagPlugin/tag.config.js +1 -0
  248. package/libs/index.js +100 -101
  249. package/package.json +1 -1
  250. package/dist/PanoTagPlugin/utils/tag/index.d.ts +0 -2
  251. package/libs/PanoTagPlugin/utils/tag/index.d.ts +0 -2
  252. package/libs/PanoTagPlugin/utils/tag/index.js +0 -11
@@ -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.6.7-dev.2</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.6.7-dev.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>modelItemLabelPluginServerParams | 如视看房插件合集 - v2.6.7-dev.4</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.6.7-dev.4"/><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.6.7-dev.2</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.6.7-dev.4</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.6.7-dev.2</a></li>
15
+ <li><a href="../modules.html">如视看房插件合集 - v2.6.7-dev.4</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/a72f900/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/73b9a25/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.6.7-<wbr/>dev.2</a>
44
+ <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.6.7-<wbr/>dev.4</a>
45
45
  <ul>
46
46
  <li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
47
47
  <nav class="tsd-navigation secondary menu-sticky">
@@ -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.6.7-dev.2</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.6.7-dev.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.6.7-dev.4</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.6.7-dev.4"/><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.6.7-dev.2</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.6.7-dev.4</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.6.7-dev.2</a></li>
15
+ <li><a href="../modules.html">如视看房插件合集 - v2.6.7-dev.4</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/a72f900/plugins/src/ModelRoomLabelPlugin/index.ts#L12">plugins/src/ModelRoomLabelPlugin/index.ts:12</a></li></ul></aside></div>
27
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/73b9a25/plugins/src/ModelRoomLabelPlugin/index.ts#L12">plugins/src/ModelRoomLabelPlugin/index.ts:12</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.6.7-<wbr/>dev.2</a>
44
+ <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.6.7-<wbr/>dev.4</a>
45
45
  <ul>
46
46
  <li class="tsd-kind-namespace"><a href="../modules/Util.html">Util</a></li></ul></li></ul></div></details></nav>
47
47
  <nav class="tsd-navigation secondary menu-sticky">
@@ -2,42 +2,42 @@ var x = Object.defineProperty, G = Object.defineProperties;
2
2
  var V = Object.getOwnPropertyDescriptors;
3
3
  var R = Object.getOwnPropertySymbols;
4
4
  var N = Object.prototype.hasOwnProperty, W = Object.prototype.propertyIsEnumerable;
5
- var A = (h, a, e) => a in h ? x(h, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[a] = e, p = (h, a) => {
6
- for (var e in a || (a = {}))
7
- N.call(a, e) && A(h, e, a[e]);
5
+ var A = (h, d, e) => d in h ? x(h, d, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[d] = e, c = (h, d) => {
6
+ for (var e in d || (d = {}))
7
+ N.call(d, e) && A(h, e, d[e]);
8
8
  if (R)
9
- for (var e of R(a))
10
- W.call(a, e) && A(h, e, a[e]);
9
+ for (var e of R(d))
10
+ W.call(d, e) && A(h, e, d[e]);
11
11
  return h;
12
- }, m = (h, a) => G(h, V(a));
13
- var d = (h, a, e) => (A(h, typeof a != "symbol" ? a + "" : a, e), e);
14
- var c = (h, a, e) => new Promise((t, i) => {
12
+ }, g = (h, d) => G(h, V(d));
13
+ var l = (h, d, e) => (A(h, typeof d != "symbol" ? d + "" : d, e), e);
14
+ var f = (h, d, e) => new Promise((t, i) => {
15
15
  var s = (r) => {
16
16
  try {
17
17
  n(e.next(r));
18
- } catch (l) {
19
- i(l);
18
+ } catch (a) {
19
+ i(a);
20
20
  }
21
21
  }, o = (r) => {
22
22
  try {
23
23
  n(e.throw(r));
24
- } catch (l) {
25
- i(l);
24
+ } catch (a) {
25
+ i(a);
26
26
  }
27
27
  }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(s, o);
28
- n((e = e.apply(h, a)).next());
28
+ n((e = e.apply(h, d)).next());
29
29
  });
30
30
  import { Subscribe as z } from "@realsee/five";
31
- import { Group as E, Vector3 as T, Matrix4 as C, Quaternion as _ } from "three";
32
- import u from "object-assign-deep";
31
+ import { Group as O, Vector3 as C, Matrix4 as D, Quaternion as _ } from "three";
32
+ import v from "object-assign-deep";
33
33
  import { writable as $ } from "../../vendor/svelte/store/index.js";
34
34
  import q from "../Components/TagContainer.js";
35
35
  import H from "../Components/Tag/index.js";
36
- import { arrayPositionToVector3 as v } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
36
+ import { arrayPositionToVector3 as b } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
37
37
  import { addDebugPoints as J } from "../utils/addDebugPoints.js";
38
- import { planeNormal as O } from "../utils/planeNormal.js";
38
+ import { planeNormal as E } from "../utils/planeNormal.js";
39
39
  import "@realsee/five/gltf-loader";
40
- import { isMediaModelTag as f } from "../utils/tag/tagCheck.js";
40
+ import { isMediaModelTag as m } from "../utils/tag/tagCheck.js";
41
41
  import { waitFiveModelLoaded as Q } from "../utils/actionAfterFiveModelLoad.js";
42
42
  import { normalPositionToPositions as X } from "../utils/normalPositionToPositions.js";
43
43
  import { debounce as k } from "../utils/debounce.js";
@@ -46,9 +46,8 @@ import { resizeObserver as I } from "../utils/resizeObserver.js";
46
46
  import { TagComputer as Y } from "./TagComputer.js";
47
47
  import { CSS3DRenderPlugin as Z } from "../../CSS3DRenderPlugin/index.js";
48
48
  import ee from "../utils/tag/format.js";
49
- import { generateBlankAudio as L, AudioNamespace as U } from "../../shared-utils/audio.js";
49
+ import { generateBlankAudio as j, AudioNamespace as L } from "../../shared-utils/audio.js";
50
50
  import { loadGLTF as te } from "../../shared-utils/three/GLTFLoader.js";
51
- import { getMediaModelPlanPositions as ie } from "../utils/tag/index.js";
52
51
  import "../../vendor/svelte/internal/index.js";
53
52
  import "../Components/TagItem.js";
54
53
  import "../utils/noTypecheck.js";
@@ -124,67 +123,67 @@ import "./TagCacheController.js";
124
123
  import "../../base/BasePlugin.js";
125
124
  import "../../CSS3DRenderPlugin/Controller.js";
126
125
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
127
- const j = "2.0.10", S = `DnalogelPlugin-PanoTagPlugin@${j}`, se = !1, Jt = (h) => `${S}--${h}`;
128
- class Qt extends Y {
126
+ const U = "2.0.10", S = `DnalogelPlugin-PanoTagPlugin@${U}`, ie = !1, qt = (h) => `${S}--${h}`;
127
+ class Ht extends Y {
129
128
  constructor(e, t) {
130
129
  super(e);
131
- d(this, "version", j);
132
- d(this, "state", { enabled: !0, visible: !0 });
133
- d(this, "params");
134
- d(this, "debug");
135
- d(this, "css3DRenderPlugin");
136
- d(this, "TagContainerSvelte");
137
- d(this, "temporaryState", { visible: !0 });
138
- d(this, "mediaStore", $({
130
+ l(this, "version", U);
131
+ l(this, "state", { enabled: !0, visible: !0 });
132
+ l(this, "params");
133
+ l(this, "debug");
134
+ l(this, "css3DRenderPlugin");
135
+ l(this, "TagContainerSvelte");
136
+ l(this, "temporaryState", { visible: !0 });
137
+ l(this, "mediaStore", $({
139
138
  currentMediaElement: null
140
139
  }));
141
- d(this, "group", new E());
142
- d(this, "gltfObjectGroup", new E());
143
- d(this, "isIOSWX", navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1 && navigator.userAgent.toLowerCase().indexOf("iphone") !== -1);
144
- d(this, "store", {
140
+ l(this, "group", new O());
141
+ l(this, "gltfObjectGroup", new O());
142
+ l(this, "isIOSWX", navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1 && navigator.userAgent.toLowerCase().indexOf("iphone") !== -1);
143
+ l(this, "store", {
145
144
  disposers: [],
146
145
  disposed: !1,
147
146
  resizeObserverDisposerAdding: !1,
148
147
  css3DRenderDisposer: /* @__PURE__ */ new Map()
149
148
  });
150
- d(this, "enabledModelTagSet", /* @__PURE__ */ new Set());
151
- d(this, "changeTagModel", (e, t) => c(this, null, function* () {
152
- e.data = u({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
149
+ l(this, "enabledModelTagSet", /* @__PURE__ */ new Set());
150
+ l(this, "changeTagModel", (e, t) => f(this, null, function* () {
151
+ e.data = v({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
153
152
  }));
154
- d(this, "disposedErrorLog", () => {
153
+ l(this, "disposedErrorLog", () => {
155
154
  console.error(`${S} is disposed`);
156
155
  });
157
- d(this, "handleFiveInitAnimationEnded", () => {
156
+ l(this, "handleFiveInitAnimationEnded", () => {
158
157
  const e = this.five.getCurrentState().mode;
159
158
  this.tags.forEach((t) => {
160
- t.state.visible = this.getVisible(t), f(t) && e === "Panorama" && this.changeTagMode(t, "front");
159
+ t.state.visible = this.getVisible(t), m(t) && e === "Panorama" && this.changeTagMode(t, "front");
161
160
  }), this.updateRenderAllTags(), this.updateRenderAllTags();
162
161
  });
163
- d(this, "handleFiveModelShownFloorChange", () => {
162
+ l(this, "handleFiveModelShownFloorChange", () => {
164
163
  this.tags.forEach((e) => {
165
- !f(e) || (e.state.visible = this.checkFloorIndex(e));
164
+ !m(e) || (e.state.visible = this.checkFloorIndex(e));
166
165
  }), this.updateRenderAllTags();
167
166
  });
168
- d(this, "loadModel", (e) => c(this, null, function* () {
167
+ l(this, "loadModel", (e) => f(this, null, function* () {
169
168
  var r;
170
169
  const t = e.data.modelUrl;
171
170
  if (console.log("\u{1F436} ==> url:", t), !t)
172
171
  return;
173
- const i = te(t).then((l) => Object.assign(l.scene, { customID: e.id, isTagModel: !0 }));
172
+ const i = te(t).then((a) => Object.assign(a.scene, { customID: e.id, isTagModel: !0 }));
174
173
  e.model = { promise: i };
175
174
  const s = yield i;
176
175
  if (((r = e.model) == null ? void 0 : r.promise) !== i || (e.model.object = s, !this.tags.includes(e)))
177
176
  return;
178
- s.visible = e.state.visible, new C().fromArray(e.matrix).decompose(s.position, s.quaternion, s.scale), this.checkFloorIndex(e) || (s.visible = !1);
179
- const n = this.gltfObjectGroup.children.find((l) => l.customID === e.id);
177
+ s.visible = e.state.visible, new D().fromArray(e.matrix).decompose(s.position, s.quaternion, s.scale), this.checkFloorIndex(e) || (s.visible = !1);
178
+ const n = this.gltfObjectGroup.children.find((a) => a.customID === e.id);
180
179
  return n && this.gltfObjectGroup.remove(n), this.gltfObjectGroup.add(s), this.updateTagCss3DObjectMatrix(e, s), s;
181
180
  }));
182
- this.group.name = "PanoTagPluginModelGroup", this.gltfObjectGroup.name = "PanoTagPluginGLTFObjectGroup", this.group.add(this.gltfObjectGroup), this.params = p({ debug: !1, config: this.config }, t), this.debug = this.params.debug, this.config = this.params.config, L(1, { namespace: U.GetAudioDuration }), L(1, { namespace: U.PlayAudio }), Object.assign(window, { [`__PANOTAGPLUGIN_DEBUG_${Date.now()}__`]: this }), Object.assign(window, { __PANOTAGPLUGIN_DEBUG__: this }), this.state.enabled && this.five.scene.add(this.group);
181
+ this.group.name = "PanoTagPluginModelGroup", this.gltfObjectGroup.name = "PanoTagPluginGLTFObjectGroup", this.group.add(this.gltfObjectGroup), this.params = c({ debug: !1, config: this.config }, t), this.debug = this.params.debug, this.config = this.params.config, j(1, { namespace: L.GetAudioDuration }), j(1, { namespace: L.PlayAudio }), Object.assign(window, { [`__PANOTAGPLUGIN_DEBUG_${Date.now()}__`]: this }), Object.assign(window, { __PANOTAGPLUGIN_DEBUG__: this }), this.state.enabled && this.five.scene.add(this.group);
183
182
  }
184
183
  load(e, t) {
185
- return c(this, null, function* () {
184
+ return f(this, null, function* () {
186
185
  var s, o;
187
- this.clearTags(), console.log(S, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = u({}, this.config, {
186
+ this.clearTags(), console.log(S, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = v({}, this.config, {
188
187
  globalConfig: (s = e.globalConfig) != null ? s : {},
189
188
  contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
190
189
  });
@@ -199,15 +198,15 @@ class Qt extends Y {
199
198
  });
200
199
  }
201
200
  addTag(e, t) {
202
- return c(this, null, function* () {
201
+ return f(this, null, function* () {
203
202
  const s = (Array.isArray(e) ? e : [e]).map((o) => {
204
- const n = this.getTagConfig(o), r = m(p({}, o), {
205
- state: p({ visible: void 0, unfolded: se }, n.initialState),
203
+ const n = this.getTagConfig(o), r = g(c({}, o), {
204
+ state: c({ visible: void 0, unfolded: ie }, n.initialState),
206
205
  hooks: new z(),
207
206
  clickable: n.clickable,
208
207
  mergedConfig: n
209
208
  });
210
- return f(o) && (r.temporaryState = { visible: !1 }), r;
209
+ return m(o) && (r.temporaryState = { visible: !1 }), r;
211
210
  }).filter((o) => o.position);
212
211
  return s.forEach(ee), this.tags.push(...s), Q(this.five).then(() => {
213
212
  var o, n, r;
@@ -216,16 +215,16 @@ class Qt extends Y {
216
215
  });
217
216
  }
218
217
  changeConfig(e, t = !0) {
219
- t ? this.config = u({}, this.config, e) : this.config = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
218
+ t ? this.config = v({}, this.config, e) : this.config = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
220
219
  }
221
220
  changeGlobalConfig(e, t = !0) {
222
- t ? this.config.globalConfig = u({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
221
+ t ? this.config.globalConfig = v({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig({ force: !0 }), this.updateRenderAllTags();
223
222
  }
224
223
  clearTags() {
225
224
  this.tags = [], this.enabledModelTagSet.clear(), this.clearCache(), this.disposeAllCSS3DContainer(), this.updateRenderAllTags();
226
225
  }
227
226
  show(e) {
228
- return c(this, null, function* () {
227
+ return f(this, null, function* () {
229
228
  const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
230
229
  if (this.store.disposed)
231
230
  return this.disposedErrorLog();
@@ -233,7 +232,7 @@ class Qt extends Y {
233
232
  });
234
233
  }
235
234
  hide(e) {
236
- return c(this, null, function* () {
235
+ return f(this, null, function* () {
237
236
  const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
238
237
  if (this.store.disposed)
239
238
  return this.disposedErrorLog();
@@ -255,14 +254,14 @@ class Qt extends Y {
255
254
  dispose() {
256
255
  var e, t, i, s, o, n;
257
256
  this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filter3DTag().forEach((r) => {
258
- var l;
259
- return (l = r.tag3DContentSvelte) == null ? void 0 : l.svelteApp.$destroy();
257
+ var a;
258
+ return (a = r.tag3DContentSvelte) == null ? void 0 : a.svelteApp.$destroy();
260
259
  }), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], this.store.disposed = !0, (s = (i = this.store).eventListenerDisposer) == null || s.call(i), this.store.eventListenerDisposer = void 0, (n = (o = this.store).resizeObserverDisposer) == null || n.call(o), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.clearCache(), this.five.needsRender = !0, this.hooks.emit("dispose");
261
260
  }
262
261
  setState(e, t) {
263
262
  if (this.store.disposed)
264
263
  return this.disposedErrorLog();
265
- const { userAction: i = !0, visibleWithAnimation: s = !1 } = t, o = p({}, this.state);
264
+ const { userAction: i = !0, visibleWithAnimation: s = !1 } = t, o = c({}, this.state);
266
265
  this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = s, o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
267
266
  }
268
267
  changeUnfoldedById(e, t) {
@@ -276,18 +275,18 @@ class Qt extends Y {
276
275
  }
277
276
  changeTagNormalById(e, t) {
278
277
  const i = this.getTagById(e);
279
- !i || !i.tag3DContentSvelte || (i.tag3DContentSvelte.currentNormal = v(t), this.updateRenderPlaneTag());
278
+ !i || !i.tag3DContentSvelte || (i.tag3DContentSvelte.currentNormal = b(t), this.updateRenderPlaneTag());
280
279
  }
281
280
  changeDataById(e, t, i = !0) {
282
281
  const s = this.getTagById(e);
283
- !s || (i ? s.data = u({}, s.data, t) : s.data = p(p({}, s.data), t), this.checkPanelTag(), this.updateRenderAllTags());
282
+ !s || (i ? s.data = v({}, s.data, t) : s.data = c(c({}, s.data), t), this.checkPanelTag(), this.updateRenderAllTags());
284
283
  }
285
284
  changeStickTypeById(e, t, i = !0) {
286
285
  this.changeTagById(e, t, i);
287
286
  }
288
287
  changeTagById(e, t, i = !0) {
289
288
  const s = this.getTagById(e);
290
- !t || (i ? u(s, t) : Object.assign(s, t), (s == null ? void 0 : s.tag3DContentSvelte) && (t == null ? void 0 : t.normal) && (s.tag3DContentSvelte.currentNormal = v(t.normal)), this.updateRenderAllTags(), this.checkPanelTag());
289
+ !t || (i ? v(s, t) : Object.assign(s, t), (s == null ? void 0 : s.tag3DContentSvelte) && (t == null ? void 0 : t.normal) && (s.tag3DContentSvelte.currentNormal = b(t.normal)), this.updateRenderAllTags(), this.checkPanelTag());
291
290
  }
292
291
  destroyTagById(e) {
293
292
  (Array.isArray(e) ? e : [e]).forEach((i) => {
@@ -303,15 +302,15 @@ class Qt extends Y {
303
302
  const i = (w = (M = (P = e.mergedConfig) == null ? void 0 : P.tag3DConfig) == null ? void 0 : M.ratio) != null ? w : 216e-5, s = (F = e.tag3DContentSvelte) == null ? void 0 : F.domContainer.css3DObject;
304
303
  if (!s)
305
304
  return;
306
- const o = f(e) ? e.data.mediaPosition : e.position;
305
+ const o = m(e) ? e.data.mediaPosition : e.position;
307
306
  t.updateWorldMatrix(!1, !1);
308
- const n = t.matrixWorld, r = new T().fromArray(o[0]), l = new T().fromArray(o[2]), g = new T().lerpVectors(r, l, 0.5).add(new T(0, 0, 5e-4)), D = new C().setPosition(g), B = new C().makeScale(i, i, i), y = new C().multiply(n).multiply(D).multiply(B);
307
+ const n = t.matrixWorld, r = new C().fromArray(o[0]), a = new C().fromArray(o[2]), p = new C().lerpVectors(r, a, 0.5).add(new C(0, 0, 5e-4)), u = new D().setPosition(p), B = new D().makeScale(i, i, i), y = new D().multiply(n).multiply(u).multiply(B);
309
308
  y.decompose(s.position, s.quaternion, s.scale);
310
- const b = s.opacityMesh;
311
- !b || y.decompose(b.position, b.quaternion, b.scale);
309
+ const T = s.opacityMesh;
310
+ !T || y.decompose(T.position, T.quaternion, T.scale);
312
311
  }
313
312
  setVisibleAndUnfolded() {
314
- return c(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
313
+ return f(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
315
314
  if (!!this.isPanorama)
316
315
  return this.setVisibleByPanoIndex(), e ? new Promise((t, i) => {
317
316
  setTimeout(() => {
@@ -337,9 +336,9 @@ class Qt extends Y {
337
336
  });
338
337
  }
339
338
  addEventListener() {
340
- const { five: e, hooks: t } = this, i = this.handleFiveWantsMoveToPano.bind(this), s = this.handleFiveModeChange.bind(this), o = this.handleFiveCameraUpdate.bind(this), n = this.handleFiveCameraUpdateDebounce(), r = this.handleFivePanoArrived.bind(this), l = this.loadVideoFirstFrame.bind(this), g = this.clickhandler.bind(this), D = this.five.currentMode;
341
- return this.handleFiveModeChange(D), this.handleFivePanoArrived(), e.on("wantsMoveToPano", i), e.on("modeChange", s), e.on("initAnimationEnded", this.handleFiveInitAnimationEnded), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", o), e.on("cameraUpdate", n), e.on("panoArrived", r), e.on("panoArrived", l), t.on("click", g), () => {
342
- e.off("wantsMoveToPano", i), e.off("modeChange", s), e.off("initAnimationEnded", this.handleFiveInitAnimationEnded), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", o), e.off("cameraUpdate", n), e.off("panoArrived", r), e.off("panoArrived", l), t.off("click", g), this.store.eventListenerDisposer = void 0;
339
+ const { five: e, hooks: t } = this, i = this.handleFiveWantsMoveToPano.bind(this), s = this.handleFiveModeChange.bind(this), o = this.handleFiveCameraUpdate.bind(this), n = this.handleFiveCameraUpdateDebounce(), r = this.handleFivePanoArrived.bind(this), a = this.loadVideoFirstFrame.bind(this), p = this.clickhandler.bind(this), u = this.five.currentMode;
340
+ return this.handleFiveModeChange(u), this.handleFivePanoArrived(), e.on("wantsMoveToPano", i), e.on("modeChange", s), e.on("initAnimationEnded", this.handleFiveInitAnimationEnded), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", o), e.on("cameraUpdate", n), e.on("panoArrived", r), e.on("panoArrived", a), t.on("click", p), () => {
341
+ e.off("wantsMoveToPano", i), e.off("modeChange", s), e.off("initAnimationEnded", this.handleFiveInitAnimationEnded), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", o), e.off("cameraUpdate", n), e.off("panoArrived", r), e.off("panoArrived", a), t.off("click", p), this.store.eventListenerDisposer = void 0;
343
342
  };
344
343
  }
345
344
  loadVideoFirstFrame() {
@@ -375,13 +374,13 @@ class Qt extends Y {
375
374
  }
376
375
  handleFiveModeChange(e) {
377
376
  this.tags.forEach((t) => {
378
- t.state.visible = this.getVisible(t), f(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
377
+ t.state.visible = this.getVisible(t), m(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
379
378
  }), this.updateRenderAllTags(), this.updateRenderAllTags();
380
379
  }
381
380
  handleFiveWantsMoveToPano() {
382
381
  this.tags.forEach((e) => {
383
382
  const t = this.getTagConfig(e);
384
- typeof t.visibleConfig == "object" && (t.visibleConfig.keep ? e.temporaryState = m(p({}, e.temporaryState), { visible: t.visibleConfig.keep === "visible" }) : e.temporaryState = m(p({}, e.temporaryState), { visible: Boolean(t.visibleConfig.alwaysShowWhenMovePano) }));
383
+ typeof t.visibleConfig == "object" && (t.visibleConfig.keep ? e.temporaryState = g(c({}, e.temporaryState), { visible: t.visibleConfig.keep === "visible" }) : e.temporaryState = g(c({}, e.temporaryState), { visible: Boolean(t.visibleConfig.alwaysShowWhenMovePano) }));
385
384
  }), this.updateTagContainerVisible();
386
385
  }
387
386
  temporaryShow({ withAnimation: e } = { withAnimation: !1 }) {
@@ -427,9 +426,9 @@ class Qt extends Y {
427
426
  this.updateRenderPointTag();
428
427
  }
429
428
  handleFivePanoArrived() {
430
- return c(this, null, function* () {
429
+ return f(this, null, function* () {
431
430
  yield this.setVisibleAndUnfolded(), this.setModelMedialVisibleByPanoIndex(), this.tags.forEach((e) => {
432
- e.temporaryState = m(p({}, e.temporaryState), { visible: !0 });
431
+ e.temporaryState = g(c({}, e.temporaryState), { visible: !0 });
433
432
  }), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible();
434
433
  });
435
434
  }
@@ -460,64 +459,64 @@ class Qt extends Y {
460
459
  }
461
460
  updateRenderPlaneTag() {
462
461
  this.sort([...this.filterPlaneTag(), ...this.filter3DPointTag(), ...this.filterModelTag()]).forEach((t) => {
463
- var i;
462
+ var i, s, o;
464
463
  if (t.tag3DContentSvelte) {
465
- const { svelteApp: s, domContainer: o, initialNormal: n, currentNormal: r } = t.tag3DContentSvelte;
466
- if (s.$set({
464
+ const { svelteApp: n, domContainer: r, initialNormal: a, currentNormal: p } = t.tag3DContentSvelte;
465
+ if (n.$set({
467
466
  tag: t,
468
467
  hooks: this.hooks,
469
468
  state: this.state,
470
469
  temporaryState: this.temporaryState
471
- }), !n.equals(r)) {
472
- const l = new _().setFromUnitVectors(n, r);
473
- o.css3DObject.setRotationFromQuaternion(l);
470
+ }), !a.equals(p)) {
471
+ const u = new _().setFromUnitVectors(a, p);
472
+ r.css3DObject.setRotationFromQuaternion(u);
474
473
  }
475
474
  } else {
476
475
  if (((i = t.state) == null ? void 0 : i.visible) === !1)
477
476
  return;
478
477
  if (this.css3DRenderPlugin || (this.css3DRenderPlugin = Z(this.five)), t.stickType === "3DPoint" && !t.normal)
479
478
  return console.error("updateRenderPlaneTag: \u4E09\u7EF4\u70B9\u6807\u7B7E\u7F3A\u5C11\u6CD5\u5411\u91CF\uFF01");
480
- const s = (() => t.stickType === "Plane" ? t.position : t.stickType === "Model" && t.contentType === "MediaModel" ? ie(t) : X(
479
+ const n = (() => t.stickType === "Plane" ? t.position : m(t) ? t.data.mediaPosition : X(
481
480
  this.five.camera.position,
482
- v(t.position),
483
- v(t.normal)
481
+ b(t.position),
482
+ b(t.normal)
484
483
  ))();
485
- if (!s)
484
+ if (!n)
486
485
  return;
487
- const o = function() {
486
+ const r = function() {
488
487
  if (t.normal)
489
- return v(t.normal);
488
+ return b(t.normal);
490
489
  if (t.stickType === "Plane")
491
- return O(t.position);
490
+ return E(t.position);
492
491
  if (t.contentType === "MediaModel")
493
- return O(s);
492
+ return E(n);
494
493
  }();
495
- if (!o)
496
- return;
497
- const n = this.getTagConfig(t).tag3DConfig, r = this.css3DRenderPlugin.create3DDomContainer(s, n);
498
494
  if (!r)
499
495
  return;
500
- this.store.css3DRenderDisposer.set(t.id, r.dispose), t.tag3DContentSvelte = {
496
+ const a = this.getTagConfig(t).tag3DConfig, p = this.css3DRenderPlugin.create3DDomContainer(n, a);
497
+ if (!p)
498
+ return;
499
+ this.store.css3DRenderDisposer.set(t.id, p.dispose), t.tag3DContentSvelte = {
501
500
  svelteApp: new H({
502
- target: r.container,
501
+ target: p.container,
503
502
  props: {
504
503
  tag: t,
505
504
  hooks: this.hooks,
506
- state: t.contentType === "MediaModel" ? m(p({}, this.state), { visible: !1 }) : this.state,
505
+ state: t.contentType === "MediaModel" ? g(c({}, this.state), { visible: !1 }) : this.state,
507
506
  mediaStore: this.mediaStore,
508
507
  temporaryState: this.temporaryState
509
508
  }
510
509
  }),
511
- domContainer: r,
512
- initialNormal: o,
513
- currentNormal: o
514
- };
510
+ domContainer: p,
511
+ initialNormal: r,
512
+ currentNormal: r
513
+ }, m(t) && ((s = t.model) == null ? void 0 : s.object) && this.updateTagCss3DObjectMatrix(t, (o = t.model) == null ? void 0 : o.object);
515
514
  }
516
515
  }), this.checkPanelTag();
517
516
  }
518
517
  updateRenderModelTag() {
519
518
  const e = (i) => !this.enabledModelTagSet.has(i.customID);
520
- this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(e)), this.tags.filter(f).forEach((i) => {
519
+ this.gltfObjectGroup.remove(...this.gltfObjectGroup.children.filter(e)), this.tags.filter(m).forEach((i) => {
521
520
  var s;
522
521
  (s = i.model) == null || s.promise.then((o) => {
523
522
  o.visible = i.state.visible;
@@ -540,8 +539,8 @@ class Qt extends Y {
540
539
  }
541
540
  }
542
541
  addMediaModelTag(e) {
543
- return c(this, null, function* () {
544
- const t = e.filter(f).map(this.loadModel);
542
+ return f(this, null, function* () {
543
+ const t = e.filter(m).map(this.loadModel);
545
544
  yield Promise.all(t), this.five.getCurrentState().mode === "Panorama" && this.setModelMedialVisibleByPanoIndex(), this.updateRenderAllTags();
546
545
  });
547
546
  }
@@ -551,7 +550,7 @@ class Qt extends Y {
551
550
  }
552
551
  }
553
552
  export {
554
- Qt as PanoTagPluginController,
555
- Qt as default,
556
- Jt as pluginFlag
553
+ Ht as PanoTagPluginController,
554
+ Ht as default,
555
+ qt as pluginFlag
557
556
  };
@@ -1,8 +1,8 @@
1
1
  import t from "./controller/index.js";
2
- import { default as Zo, pluginFlag as _o } from "./controller/index.js";
2
+ import { default as Yo, pluginFlag as Zo } from "./controller/index.js";
3
3
  import "@realsee/five/gltf-loader";
4
- import { ContentType as or } from "./typings/tag/TagData.js";
5
- import { DimensionType as tr, PointType as pr } from "./typings/tag/Utils.js";
4
+ import { ContentType as $o } from "./typings/tag/TagData.js";
5
+ import { DimensionType as rr, PointType as tr } from "./typings/tag/Utils.js";
6
6
  import "@realsee/five";
7
7
  import "three";
8
8
  import "object-assign-deep";
@@ -98,14 +98,13 @@ import "../CSS3DRenderPlugin/Controller.js";
98
98
  import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
99
99
  import "./utils/tag/format.js";
100
100
  import "../shared-utils/three/GLTFLoader.js";
101
- import "./utils/tag/index.js";
102
- const Wo = (o, r) => new t(o, r);
101
+ const Vo = (o, r) => new t(o, r);
103
102
  export {
104
- or as ContentType,
105
- tr as DimensionType,
106
- Wo as PanoTagPlugin,
107
- Zo as PanoTagPluginController,
108
- pr as PointType,
109
- Wo as default,
110
- _o as pluginFlag
103
+ $o as ContentType,
104
+ rr as DimensionType,
105
+ Vo as PanoTagPlugin,
106
+ Yo as PanoTagPluginController,
107
+ tr as PointType,
108
+ Vo as default,
109
+ Zo as pluginFlag
111
110
  };
@@ -57,6 +57,7 @@ const e = {
57
57
  },
58
58
  visibleConfig: {
59
59
  keep: "visible",
60
+ visibleFiveMode: ["Panorama", "Floorplan", "Model", "Mapview"],
60
61
  alwaysShowWhenMovePano: !0
61
62
  }
62
63
  }