@realsee/dnalogel 2.2.3 → 2.2.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 (279) hide show
  1. package/dist/index.cjs.js +63 -58
  2. package/dist/index.js +4577 -3937
  3. package/dist/index.umd.js +51 -46
  4. package/docs/classes/CruisePluginController.html +24 -24
  5. package/docs/classes/Magnifier.html +16 -16
  6. package/docs/classes/ModelRoomLabelController.html +11 -11
  7. package/docs/classes/Object3DHelperController.html +24 -24
  8. package/docs/classes/PaintBrush.html +15 -15
  9. package/docs/classes/PanoTagPluginController.html +39 -39
  10. package/docs/classes/Util.BetterTween.html +8 -8
  11. package/docs/classes/Util.FivePointSelector.html +12 -12
  12. package/docs/classes/Util.Interval.html +12 -12
  13. package/docs/classes/Util.Magnifier.html +17 -17
  14. package/docs/classes/Util.PointDomHelper.html +11 -11
  15. package/docs/classes/Util.PointHelper.html +11 -11
  16. package/docs/classes/Util.Rectangle.html +13 -13
  17. package/docs/enums/CameraMovementEffect.html +7 -7
  18. package/docs/enums/ContentType.html +12 -12
  19. package/docs/enums/DIRECTION.html +9 -9
  20. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  21. package/docs/enums/DimensionType.html +7 -7
  22. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  23. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  24. package/docs/enums/LinkType.html +7 -7
  25. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  26. package/docs/enums/PointType.html +7 -7
  27. package/docs/enums/Rotation.html +8 -8
  28. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  29. package/docs/functions/CameraMovementPlugin.html +4 -4
  30. package/docs/functions/CruisePlugin.html +4 -4
  31. package/docs/functions/GuideLinePlugin.html +5 -5
  32. package/docs/functions/ItemLabelPlugin.html +4 -4
  33. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  34. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  35. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  36. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  37. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  38. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  39. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  40. package/docs/functions/ModelViewPlugin.html +4 -4
  41. package/docs/functions/Object3DHelperPlugin.html +4 -4
  42. package/docs/functions/PanoCompassPlugin.html +4 -4
  43. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  44. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  45. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  46. package/docs/functions/PanoMeasurePlugin.html +4 -4
  47. package/docs/functions/PanoRulerPlugin.html +4 -4
  48. package/docs/functions/PanoRulerProPlugin.html +4 -4
  49. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  50. package/docs/functions/PanoTagPlugin.html +4 -4
  51. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  52. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  53. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  54. package/docs/functions/Util.getFrameTime.html +5 -5
  55. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  56. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  57. package/docs/functions/Util.isNil.html +5 -5
  58. package/docs/functions/Util.nextFrame.html +5 -5
  59. package/docs/functions/Util.notNil.html +5 -5
  60. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  61. package/docs/functions/Util.tweenProgress.html +5 -5
  62. package/docs/functions/pluginFlag.html +5 -5
  63. package/docs/index.html +4 -4
  64. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  65. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  66. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  67. package/docs/interfaces/ContentTypeMap.html +12 -12
  68. package/docs/interfaces/FloorplanBounding.html +8 -8
  69. package/docs/interfaces/FloorplanData.html +10 -10
  70. package/docs/interfaces/FloorplanEntrance.html +11 -11
  71. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  72. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  73. package/docs/interfaces/FloorplanFloorData.html +9 -9
  74. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  75. package/docs/interfaces/FloorplanObserver.html +9 -9
  76. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  77. package/docs/interfaces/FloorplanPosition.html +7 -7
  78. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  79. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  80. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  81. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  82. package/docs/interfaces/FloorplanServerData.html +7 -7
  83. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  84. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  85. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  86. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  87. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  88. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  89. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  90. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  91. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  92. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  93. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  94. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  95. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  96. package/docs/interfaces/LineJson.html +7 -7
  97. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  98. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  99. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  100. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  101. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  102. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  103. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  104. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  105. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  106. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  107. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  108. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  109. package/docs/interfaces/ModelViewPluginExportType.html +8 -8
  110. package/docs/interfaces/Object3DHelperState.html +8 -8
  111. package/docs/interfaces/OpenParameter.html +7 -7
  112. package/docs/interfaces/PaintBrushAction.html +12 -12
  113. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  114. package/docs/interfaces/PaintBrushState.html +10 -10
  115. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  116. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  117. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  118. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  119. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  120. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  121. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  122. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  123. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  124. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  125. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  126. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  127. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  128. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  129. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  130. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  131. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  132. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  133. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  134. package/docs/interfaces/Point.html +8 -8
  135. package/docs/interfaces/PointJson.html +8 -8
  136. package/docs/interfaces/Room.html +9 -9
  137. package/docs/interfaces/RoomInfo.html +7 -7
  138. package/docs/interfaces/RoomLabel.html +14 -14
  139. package/docs/interfaces/RoomRules.html +5 -5
  140. package/docs/interfaces/Rooms.html +5 -5
  141. package/docs/interfaces/Scissor.html +9 -9
  142. package/docs/interfaces/TagConfig.html +10 -10
  143. package/docs/interfaces/Tags.html +9 -9
  144. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  145. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  146. package/docs/modules/Util.html +5 -5
  147. package/docs/modules.html +4 -4
  148. package/docs/types/ArrayPosition.html +5 -5
  149. package/docs/types/CSS3DRenderExportType.html +5 -5
  150. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  151. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  152. package/docs/types/Color.html +5 -5
  153. package/docs/types/ContentTypeConfigKey.html +5 -5
  154. package/docs/types/ContentTypeConfigKeyArray.html +5 -5
  155. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  156. package/docs/types/Create3DElementReturnType.html +5 -5
  157. package/docs/types/CruisePluginExportType.html +5 -5
  158. package/docs/types/Direction-1.html +5 -5
  159. package/docs/types/Direction4.html +5 -5
  160. package/docs/types/FloorplanRuleLabels.html +5 -5
  161. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  162. package/docs/types/GuideLinePluginExportType.html +5 -5
  163. package/docs/types/HelperEventMap.html +5 -5
  164. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  165. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  166. package/docs/types/MediaData.html +5 -5
  167. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  168. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  169. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  170. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  171. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  172. package/docs/types/MoveArgs.html +5 -5
  173. package/docs/types/MoveOpts.html +5 -5
  174. package/docs/types/Object3DHelperEventMap.html +5 -5
  175. package/docs/types/ObjectFit.html +5 -5
  176. package/docs/types/PaintBrushEventMap.html +5 -5
  177. package/docs/types/PanoCompassPluginData.html +5 -5
  178. package/docs/types/PanoCompassPluginExportType.html +5 -5
  179. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  180. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  181. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  182. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  183. package/docs/types/PanoMeasureReturnType.html +5 -5
  184. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  185. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  186. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  187. package/docs/types/PlaneTag.html +5 -5
  188. package/docs/types/PointTag.html +5 -5
  189. package/docs/types/Position.html +5 -5
  190. package/docs/types/RotateArgs.html +5 -5
  191. package/docs/types/RotateOpts.html +5 -5
  192. package/docs/types/RuleLabelsKey.html +5 -5
  193. package/docs/types/RuleLabelsValue.html +5 -5
  194. package/docs/types/Tag.html +5 -5
  195. package/docs/types/Tag2D.html +5 -5
  196. package/docs/types/Tag3D.html +5 -5
  197. package/docs/types/TagId.html +5 -5
  198. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  199. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  200. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  201. package/docs/variables/PLUGIN.html +5 -5
  202. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  203. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  204. package/docs/variables/VERSION.html +5 -5
  205. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  206. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  207. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  208. package/libs/ItemLabelPlugin/ItemLabelComponent.js +12 -13
  209. package/libs/ItemLabelPlugin/ItemLabelItem.js +1 -1
  210. package/libs/ItemLabelPlugin/index.js +3 -4
  211. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +10 -11
  212. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +1 -1
  213. package/libs/ModelItemLabelPlugin/index.js +3 -4
  214. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +1 -1
  215. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +17 -18
  216. package/libs/PanoDoorLabelPlugin/Controller.js +72 -73
  217. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -1
  218. package/libs/PanoRulerProPlugin/RulerItem.js +1 -1
  219. package/libs/PanoRulerProPlugin/RulerItems.js +18 -19
  220. package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -2
  221. package/libs/PanoSpatialTagPlugin/Components/tag.js +8 -9
  222. package/libs/PanoSpatialTagPlugin/index.js +1 -3
  223. package/libs/PanoSpatialTagPlugin/store.js +1 -1
  224. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  225. package/libs/PanoTagPlugin/Components/Common/Audio.js +25 -26
  226. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +8 -8
  227. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +30 -29
  228. package/libs/PanoTagPlugin/Components/Common/Media.js +27 -28
  229. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
  230. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +18 -19
  231. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +3 -3
  232. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +3 -3
  233. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +9 -9
  234. package/libs/PanoTagPlugin/Components/Common/Shadow.js +11 -10
  235. package/libs/PanoTagPlugin/Components/Common/Text.js +15 -16
  236. package/libs/PanoTagPlugin/Components/Common/TextItem.js +10 -10
  237. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +9 -10
  238. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +27 -28
  239. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +9 -10
  240. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +7 -6
  241. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -4
  242. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +10 -11
  243. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +19 -20
  244. package/libs/PanoTagPlugin/Components/Tag/index.js +8 -9
  245. package/libs/PanoTagPlugin/Components/TagContainer.js +11 -12
  246. package/libs/PanoTagPlugin/Components/TagWrapper.js +8 -9
  247. package/libs/PanoTagPlugin/controller/index.js +1 -1
  248. package/libs/floorplan/Components/BaseImage.js +4 -4
  249. package/libs/floorplan/Components/Camera.js +1 -1
  250. package/libs/floorplan/Components/Compass.js +1 -1
  251. package/libs/floorplan/Components/CurrentFloor.js +9 -10
  252. package/libs/floorplan/Components/Main.js +24 -25
  253. package/libs/floorplan/Components/Normalmage.js +1 -1
  254. package/libs/floorplan/Components/RoomHighlight/Room.js +1 -1
  255. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +7 -7
  256. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +7 -8
  257. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +39 -40
  258. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +7 -7
  259. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -1
  260. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -1
  261. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -1
  262. package/libs/floorplan/Components/RuleLabels/RuleItem.js +5 -5
  263. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +7 -7
  264. package/libs/floorplan/Components/SvgImage.js +4 -4
  265. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +3 -4
  266. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +3 -3
  267. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +3 -3
  268. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +23 -24
  269. package/libs/floorplan/index.js +1 -5
  270. package/libs/index.js +94 -95
  271. package/libs/vendor/svelte/easing/index.js +12 -0
  272. package/libs/vendor/svelte/index.js +1 -0
  273. package/libs/vendor/svelte/internal/index.js +642 -0
  274. package/libs/vendor/svelte/store/index.js +31 -0
  275. package/libs/vendor/svelte/transition/index.js +37 -0
  276. package/libs/vendor/swiper/svelte/swiper-slide.js +10 -11
  277. package/libs/vendor/swiper/svelte/swiper-svelte.js +1 -2
  278. package/libs/vendor/swiper/svelte/swiper.js +9 -10
  279. package/package.json +2 -2
@@ -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.2.3</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.2.3"/><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.2.4</title><meta name="description" content="Documentation for 如视看房插件合集 - v2.2.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.2.3</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v2.2.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.2.3</a></li>
15
+ <li><a href="../modules.html">如视看房插件合集 - v2.2.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/e4f49e5/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/1f9cbc4/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.2.3</a>
44
+ <li><a href="../modules.html">如视看房插件合集 -<wbr/> v2.2.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">
@@ -10,9 +10,8 @@ var H = (i, t, e) => t in i ? ae(i, t, { enumerable: !0, configurable: !0, writa
10
10
  me.call(t, e) && H(i, e, t[e]);
11
11
  return i;
12
12
  }, y = (i, t) => ce(i, le(t));
13
- import { SvelteComponent as fe, init as ue, safe_not_equal as pe, append_styles as he, element as _e, attr as be, add_render_callback as Ie, set_style as W, insert as v, add_resize_listener as ge, group_outros as Z, update_keyed_each as ke, outro_and_destroy_block as ye, check_outros as G, transition_in as w, transition_out as z, detach as T, empty as A, create_component as Pe, mount_component as we, destroy_component as Le } from "svelte/internal";
13
+ import { SvelteComponent as fe, init as ue, safe_not_equal as pe, append_styles as he, element as _e, attr as be, add_render_callback as Ie, set_style as W, insert as v, add_resize_listener as ge, update_keyed_each as ke, check_outros as Z, transition_in as w, transition_out as z, detach as T, beforeUpdate as ye, onMount as Pe, onDestroy as we, empty as A, group_outros as G, outro_and_destroy_block as Le, create_component as Me, mount_component as ze, destroy_component as Ce } from "../vendor/svelte/internal/index.js";
14
14
  import { Five as P } from "@realsee/five";
15
- import { beforeUpdate as Me, onMount as ze, onDestroy as Ce } from "svelte";
16
15
  import * as Ee from "three";
17
16
  import Fe from "./ItemLabelItem.js";
18
17
  import { debounce as Oe } from "../shared-utils/debounce.js";
@@ -40,10 +39,10 @@ function X(i) {
40
39
  }
41
40
  }), {
42
41
  c() {
43
- Pe(t.$$.fragment);
42
+ Me(t.$$.fragment);
44
43
  },
45
44
  m(r, f) {
46
- we(t, r, f), e = !0;
45
+ ze(t, r, f), e = !0;
47
46
  },
48
47
  p(r, f) {
49
48
  const o = {};
@@ -56,7 +55,7 @@ function X(i) {
56
55
  z(t.$$.fragment, r), e = !1;
57
56
  },
58
57
  d(r) {
59
- Le(t, r);
58
+ Ce(t, r);
60
59
  }
61
60
  };
62
61
  }
@@ -72,9 +71,9 @@ function Y(i, t) {
72
71
  v(d, e, h), o && o.m(d, h), v(d, r, h), f = !0;
73
72
  },
74
73
  p(d, h) {
75
- t = d, t[30].visible ? o ? (o.p(t, h), h[0] & 2 && w(o, 1)) : (o = X(t), o.c(), w(o, 1), o.m(r.parentNode, r)) : o && (Z(), z(o, 1, 1, () => {
74
+ t = d, t[30].visible ? o ? (o.p(t, h), h[0] & 2 && w(o, 1)) : (o = X(t), o.c(), w(o, 1), o.m(r.parentNode, r)) : o && (G(), z(o, 1, 1, () => {
76
75
  o = null;
77
- }), G());
76
+ }), Z());
78
77
  },
79
78
  i(d) {
80
79
  f || (w(o), f = !0);
@@ -108,7 +107,7 @@ function Te(i) {
108
107
  f = ge(t, i[12].bind(t)), o = !0;
109
108
  },
110
109
  p(c, a) {
111
- a[0] & 71 && (d = c[1], Z(), e = ke(e, a, h, 1, c, d, r, t, ye, Y, null, q), G()), a[0] & 32 && W(t, "opacity", c[5] ? 1 : 0, !1);
110
+ a[0] & 71 && (d = c[1], G(), e = ke(e, a, h, 1, c, d, r, t, Le, Y, null, q), Z()), a[0] & 32 && W(t, "opacity", c[5] ? 1 : 0, !1);
112
111
  },
113
112
  i(c) {
114
113
  if (!o) {
@@ -219,11 +218,11 @@ function Ue(i, t, e) {
219
218
  });
220
219
  }
221
220
  };
222
- Me(() => {
221
+ ye(() => {
223
222
  ne();
224
- }), ze(() => {
223
+ }), Pe(() => {
225
224
  e(1, g = N(h)), C = h, L(), oe(), o.on("cameraUpdate", U);
226
- }), Ce(() => {
225
+ }), we(() => {
227
226
  o.off("cameraUpdate", U), window.removeEventListener("resize", R, !1);
228
227
  });
229
228
  function re() {
@@ -247,7 +246,7 @@ function Ue(i, t, e) {
247
246
  re
248
247
  ];
249
248
  }
250
- class Ge extends fe {
249
+ class Ze extends fe {
251
250
  constructor(t) {
252
251
  super(), ue(
253
252
  this,
@@ -269,5 +268,5 @@ class Ge extends fe {
269
268
  }
270
269
  }
271
270
  export {
272
- Ge as default
271
+ Ze as default
273
272
  };
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as B, init as x, safe_not_equal as F, append_styles as N, element as w, space as z, attr as c, null_to_empty as p, set_style as _, insert as q, append as v, listen as j, noop as I, detach as y, binding_callbacks as S, text as L, set_data as C } from "svelte/internal";
1
+ import { SvelteComponent as B, init as x, safe_not_equal as F, append_styles as N, element as w, space as z, attr as c, null_to_empty as p, set_style as _, insert as q, append as v, listen as j, noop as I, detach as y, binding_callbacks as S, text as L, set_data as C } from "../vendor/svelte/internal/index.js";
2
2
  import k from "classnames";
3
3
  function A(l) {
4
4
  N(l, "svelte-gduhqw", `.item-label-item.svelte-gduhqw.svelte-gduhqw{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;animation:svelte-gduhqw-fadeIn .3s ease-in}.item-label-item.fold.svelte-gduhqw>.item-label-item__text-wrap.svelte-gduhqw{visibility:hidden}.item-label-item.fold.svelte-gduhqw>.item-label-item__bar.anchor.svelte-gduhqw{visibility:hidden}.item-label-item.fold.svelte-gduhqw>.item-label-item__bar.anchor.svelte-gduhqw:after{visibility:visible}.item-label-item__text-wrap.svelte-gduhqw.svelte-gduhqw{height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-gduhqw.svelte-gduhqw{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-gduhqw.svelte-gduhqw{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-gduhqw.svelte-gduhqw{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-gduhqw.svelte-gduhqw{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-gduhqw.svelte-gduhqw{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-gduhqw.svelte-gduhqw{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-gduhqw.svelte-gduhqw{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-gduhqw.svelte-gduhqw:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url("//vrlab-public.ljcdn.com/common/file/web/67e7a198-28c9-47dc-879b-507bd3ae600c.png ");background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@keyframes svelte-gduhqw-fadeIn{from{opacity:0
@@ -1,12 +1,11 @@
1
1
  import "@realsee/five";
2
- import "svelte/internal";
3
- import "svelte";
2
+ import "../vendor/svelte/internal/index.js";
4
3
  import "three";
5
4
  import "classnames";
6
- const o = {
5
+ const t = {
7
6
  name: "ItemLabelPlugin",
8
7
  version: 0
9
8
  };
10
9
  export {
11
- o as itemLabelPluginServerParams
10
+ t as itemLabelPluginServerParams
12
11
  };
@@ -10,9 +10,8 @@ var O = (o, t, e) => t in o ? Z(o, t, { enumerable: !0, configurable: !0, writab
10
10
  ne.call(t, e) && O(o, e, t[e]);
11
11
  return o;
12
12
  }, I = (o, t) => $(o, ee(t));
13
- import { SvelteComponent as oe, init as se, safe_not_equal as ie, append_styles as re, element as le, attr as ae, add_render_callback as ce, set_style as U, insert as V, add_resize_listener as me, group_outros as de, update_keyed_each as ue, outro_and_destroy_block as fe, check_outros as he, transition_in as W, transition_out as G, detach as Y, empty as _e, create_component as Le, mount_component as be, destroy_component as ge } from "svelte/internal";
13
+ import { SvelteComponent as oe, init as se, safe_not_equal as ie, append_styles as re, element as le, attr as ae, add_render_callback as ce, set_style as U, insert as V, add_resize_listener as me, update_keyed_each as de, check_outros as ue, transition_in as W, transition_out as G, detach as Y, beforeUpdate as fe, onMount as he, onDestroy as _e, empty as Le, create_component as be, mount_component as ge, destroy_component as ye, group_outros as pe, outro_and_destroy_block as ke } from "../vendor/svelte/internal/index.js";
14
14
  import { DISPLAY_STRATEGY_TYPE as E } from "./typings.js";
15
- import { beforeUpdate as ye, onMount as pe, onDestroy as ke } from "svelte";
16
15
  import * as Ie from "three";
17
16
  import Ee from "./ItemLabelItem.js";
18
17
  import { debounce as we } from "../shared-utils/debounce.js";
@@ -35,10 +34,10 @@ function S(o, t) {
35
34
  key: o,
36
35
  first: null,
37
36
  c() {
38
- e = _e(), Le(c.$$.fragment), this.first = e;
37
+ e = Le(), be(c.$$.fragment), this.first = e;
39
38
  },
40
39
  m(r, m) {
41
- V(r, e, m), be(c, r, m), h = !0;
40
+ V(r, e, m), ge(c, r, m), h = !0;
42
41
  },
43
42
  p(r, m) {
44
43
  t = r;
@@ -52,7 +51,7 @@ function S(o, t) {
52
51
  G(c.$$.fragment, r), h = !1;
53
52
  },
54
53
  d(r) {
55
- r && Y(e), ge(c, r);
54
+ r && Y(e), ye(c, r);
56
55
  }
57
56
  };
58
57
  }
@@ -77,7 +76,7 @@ function Te(o) {
77
76
  h = me(t, o[9].bind(t)), r = !0;
78
77
  },
79
78
  p(l, [s]) {
80
- s & 3 && (m = l[1], de(), e = ue(e, s, d, 1, l, m, c, t, fe, S, null, C), he()), s & 16 && U(t, "opacity", l[4] ? 1 : 0, !1);
79
+ s & 3 && (m = l[1], pe(), e = de(e, s, d, 1, l, m, c, t, ke, S, null, C), ue()), s & 16 && U(t, "opacity", l[4] ? 1 : 0, !1);
81
80
  },
82
81
  i(l) {
83
82
  if (!r) {
@@ -147,13 +146,13 @@ function Re(o, t, e) {
147
146
  }, p = () => {
148
147
  y = [], e(1, g = X(r, g));
149
148
  };
150
- ye(() => {
149
+ fe(() => {
151
150
  K();
152
151
  });
153
152
  const R = () => {
154
153
  e(4, T = !1), B();
155
154
  };
156
- pe(() => {
155
+ he(() => {
157
156
  e(1, g = d), _ = d, p(), J(), r.on("cameraUpdate", R);
158
157
  });
159
158
  const B = we(
@@ -168,7 +167,7 @@ function Re(o, t, e) {
168
167
  }, v = () => {
169
168
  r.once("renderFrame", p);
170
169
  };
171
- ke(() => {
170
+ _e(() => {
172
171
  r.off("cameraUpdate", R), window.removeEventListener("resize", v, !1);
173
172
  });
174
173
  function N() {
@@ -189,7 +188,7 @@ function Re(o, t, e) {
189
188
  N
190
189
  ];
191
190
  }
192
- class Ve extends oe {
191
+ class De extends oe {
193
192
  constructor(t) {
194
193
  super(), se(
195
194
  this,
@@ -209,5 +208,5 @@ class Ve extends oe {
209
208
  }
210
209
  }
211
210
  export {
212
- Ve as default
211
+ De as default
213
212
  };
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as y, init as k, safe_not_equal as L, append_styles as w, element as g, text as z, space as I, attr as b, set_style as r, null_to_empty as v, insert as x, append as c, listen as C, set_data as F, noop as h, detach as j } from "svelte/internal";
1
+ import { SvelteComponent as y, init as k, safe_not_equal as L, append_styles as w, element as g, text as z, space as I, attr as b, set_style as r, null_to_empty as v, insert as x, append as c, listen as C, set_data as F, noop as h, detach as j } from "../vendor/svelte/internal/index.js";
2
2
  import u from "classnames";
3
3
  function q(t) {
4
4
  w(t, "svelte-1ir3cyd", `.item-label-item.svelte-1ir3cyd{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:0}.item-label-item.visible.svelte-1ir3cyd{opacity:1;animation:svelte-1ir3cyd-fadeIn .3s ease-in}.item-label-item__text-wrap.svelte-1ir3cyd::before{content:'';position:absolute;width:100%;height:100%;background-color:rgba(0, 0, 0, .3);filter:blur(1rem);z-index:-1}.item-label-item__text-wrap.svelte-1ir3cyd{padding:0.375rem 0.375rem 0;position:absolute;height:1.25rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap;line-height:0.625rem;font-size:0.6875rem;font-weight:bold;color:#FFEAC0;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center}.item-label-item__text.svelte-1ir3cyd{padding-bottom:0.25rem;border-top:0 solid;border-left:0 solid;border-right:0 solid;border-bottom:0.0625rem solid;-o-border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5;border-image:linear-gradient(to right, rgba(234, 208, 154, 0), rgba(234, 208, 154, 100), rgba(234, 208, 154, 0)) 4.5 1 4.5}.item-label-item__bar.svelte-1ir3cyd{position:absolute;bottom:0;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(234, 208, 154, 0), rgba(234, 208, 154, 1))}@keyframes svelte-1ir3cyd-fadeIn{from{opacity:0
@@ -1,12 +1,11 @@
1
1
  import "@realsee/five";
2
- import "svelte/internal";
3
- import "svelte";
2
+ import "../vendor/svelte/internal/index.js";
4
3
  import "three";
5
4
  import "classnames";
6
- const i = {
5
+ const t = {
7
6
  name: "ModelItemLabelPlugin",
8
7
  version: 0
9
8
  };
10
9
  export {
11
- i as modelItemLabelPluginServerParams
10
+ t as modelItemLabelPluginServerParams
12
11
  };
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as g, init as h, safe_not_equal as _, append_styles as z, element as u, text as w, space as k, attr as b, set_style as r, toggle_class as p, insert as L, append as d, listen as I, set_data as x, noop as v, detach as y } from "svelte/internal";
1
+ import { SvelteComponent as g, init as h, safe_not_equal as _, append_styles as z, element as u, text as w, space as k, attr as b, set_style as r, toggle_class as p, insert as L, append as d, listen as I, set_data as x, noop as v, detach as y } from "../vendor/svelte/internal/index.js";
2
2
  import { ROOM_LABEL_BG as B } from "./Assets/roomLabelBg.js";
3
3
  function C(t) {
4
4
  z(t, "svelte-1d7uzh5", ".room-label-item.svelte-1d7uzh5{position:absolute;font-size:0.5rem;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.room-label-item__text.svelte-1d7uzh5{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-1d7uzh5{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-1d7uzh5{font-size:0.625rem}");
@@ -10,12 +10,11 @@ var D = (o, t, e) => t in o ? q(o, t, { enumerable: !0, configurable: !0, writab
10
10
  E.call(t, e) && D(o, e, t[e]);
11
11
  return o;
12
12
  }, S = (o, t) => P(o, A(t));
13
- import { SvelteComponent as G, init as J, safe_not_equal as K, append_styles as N, element as Q, attr as X, add_render_callback as Y, insert as H, add_resize_listener as Z, group_outros as $, update_keyed_each as ee, outro_and_destroy_block as te, check_outros as oe, transition_in as O, transition_out as V, detach as W, globals as ne, empty as re, create_component as ie, mount_component as se, destroy_component as le } from "svelte/internal";
14
- import { onDestroy as ce } from "svelte";
13
+ import { SvelteComponent as G, init as J, safe_not_equal as K, append_styles as N, element as Q, attr as X, add_render_callback as Y, insert as H, add_resize_listener as Z, update_keyed_each as $, check_outros as ee, transition_in as O, transition_out as V, detach as W, onDestroy as te, globals as oe, empty as ne, create_component as re, mount_component as ie, destroy_component as se, group_outros as le, outro_and_destroy_block as ce } from "../vendor/svelte/internal/index.js";
15
14
  import { Raycaster as ae, Vector3 as w } from "three";
16
15
  import fe from "./RoomLabelItem.js";
17
16
  import "./Assets/roomLabelBg.js";
18
- const { Map: me } = ne;
17
+ const { Map: me } = oe;
19
18
  function ue(o) {
20
19
  N(o, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
21
20
  }
@@ -34,10 +33,10 @@ function U(o, t) {
34
33
  key: o,
35
34
  first: null,
36
35
  c() {
37
- e = re(), ie(l.$$.fragment), this.first = e;
36
+ e = ne(), re(l.$$.fragment), this.first = e;
38
37
  },
39
38
  m(r, a) {
40
- H(r, e, a), se(l, r, a), s = !0;
39
+ H(r, e, a), ie(l, r, a), s = !0;
41
40
  },
42
41
  p(r, a) {
43
42
  t = r;
@@ -51,7 +50,7 @@ function U(o, t) {
51
50
  V(l.$$.fragment, r), s = !1;
52
51
  },
53
52
  d(r) {
54
- r && W(e), le(l, r);
53
+ r && W(e), se(l, r);
55
54
  }
56
55
  };
57
56
  }
@@ -76,7 +75,7 @@ function de(o) {
76
75
  s = Z(t, o[6].bind(t)), r = !0;
77
76
  },
78
77
  p(n, [i]) {
79
- i & 3 && (a = n[0], $(), e = ee(e, i, m, 1, n, a, l, t, te, U, null, T), oe());
78
+ i & 3 && (a = n[0], le(), e = $(e, i, m, 1, n, a, l, t, ce, U, null, T), ee());
80
79
  },
81
80
  i(n) {
82
81
  if (!r) {
@@ -109,22 +108,22 @@ function he(o, t, e) {
109
108
  const [f] = s.model.intersectRaycaster(g);
110
109
  return !(f && f.distance + 1 < b);
111
110
  }
112
- function d(c, p) {
113
- const u = new w(c.position.x, c.position.y, c.position.z).clone().project(s.camera), h = Math.ceil((u.x + 1) / 2 * p.x), b = Math.ceil((-u.y + 1) / 2 * p.y);
111
+ function d(c, _) {
112
+ const u = new w(c.position.x, c.position.y, c.position.z).clone().project(s.camera), h = Math.ceil((u.x + 1) / 2 * _.x), b = Math.ceil((-u.y + 1) / 2 * _.y);
114
113
  return `translate(${h}px, ${b}px)`;
115
114
  }
116
115
  function z(c) {
117
- const { rendererSize: p, shownFloor: g } = c, u = /* @__PURE__ */ new Map();
116
+ const { rendererSize: _, shownFloor: g } = c, u = /* @__PURE__ */ new Map();
118
117
  function h(f) {
119
- const _ = u.get(f.id);
120
- if (_)
121
- return _;
118
+ const p = u.get(f.id);
119
+ if (p)
120
+ return p;
122
121
  const { x: L, y: v, z: x } = f.position, y = new w(L, v, x).clone().distanceTo(s.camera.position);
123
122
  return u.set(f.id, y), y;
124
123
  }
125
124
  return r.map((f) => {
126
- const _ = i(f), L = _ ? d(f, p) : f.transform, v = h(f), y = r.filter((M) => M.visible && h(M) < v).length * 10;
127
- return S(R({}, f), { visible: _, transform: L, zIndex: y });
125
+ const p = i(f), L = p ? d(f, _) : f.transform, v = h(f), y = r.filter((M) => M.visible && h(M) < v).length * 10;
126
+ return S(R({}, f), { visible: p, transform: L, zIndex: y });
128
127
  });
129
128
  }
130
129
  function F() {
@@ -133,7 +132,7 @@ function he(o, t, e) {
133
132
  function I(c) {
134
133
  e(4, n = c);
135
134
  }
136
- s.on("cameraUpdate", F), s.on("modelShownFloorChange", I), ce(() => {
135
+ s.on("cameraUpdate", F), s.on("modelShownFloorChange", I), te(() => {
137
136
  s.off("cameraUpdate", F), s.off("modelShownFloorChange", I);
138
137
  });
139
138
  function j() {
@@ -153,11 +152,11 @@ function he(o, t, e) {
153
152
  j
154
153
  ];
155
154
  }
156
- class ve extends G {
155
+ class Le extends G {
157
156
  constructor(t) {
158
157
  super(), J(this, t, he, de, K, { five: 1, roomLabels: 0 }, ue);
159
158
  }
160
159
  }
161
160
  export {
162
- ve as default
161
+ Le as default
163
162
  };
@@ -2,15 +2,15 @@ var $ = Object.defineProperty, B = Object.defineProperties;
2
2
  var U = Object.getOwnPropertyDescriptors;
3
3
  var C = Object.getOwnPropertySymbols;
4
4
  var G = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
5
- var E = (b, a, e) => a in b ? $(b, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : b[a] = e, H = (b, a) => {
5
+ var T = (v, a, e) => a in v ? $(v, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : v[a] = e, H = (v, a) => {
6
6
  for (var e in a || (a = {}))
7
- G.call(a, e) && E(b, e, a[e]);
7
+ G.call(a, e) && T(v, e, a[e]);
8
8
  if (C)
9
9
  for (var e of C(a))
10
- N.call(a, e) && E(b, e, a[e]);
11
- return b;
12
- }, W = (b, a) => B(b, U(a));
13
- var r = (b, a, e) => (E(b, typeof a != "symbol" ? a + "" : a, e), e);
10
+ N.call(a, e) && T(v, e, a[e]);
11
+ return v;
12
+ }, W = (v, a) => B(v, U(a));
13
+ var r = (v, a, e) => (T(v, typeof a != "symbol" ? a + "" : a, e), e);
14
14
  import { Raycaster as Q, Vector3 as V, Quaternion as j, Euler as z } from "three";
15
15
  import { BasePanoPluginController as q } from "./BaseController.js";
16
16
  import X from "./DoorLabelItem.js";
@@ -30,23 +30,23 @@ class re extends q {
30
30
  r(this, "doorLabels");
31
31
  r(this, "roomObservers");
32
32
  r(this, "loadData", (e, n) => {
33
- n && (this.MaxVisibledistance = n.MaxVisibledistance, this.MinVisibledistance = n.MinVisibledistance, this.OffsetHeight = n.OffsetHeight), this.doorLabelItems && this.doorLabelItems.length > 0 && this.doorLabelItems.forEach((f) => {
34
- f.$destroy();
35
- }), this.labelItems = [], this.doorLabels = [], this.doorLabelItems = [], this.floorplanServerData = e, this.five.once("panoArrived", () => {
36
- console.log("doorplugin", "panoArrived"), this.initData();
33
+ n && (this.MaxVisibledistance = n.MaxVisibledistance, this.MinVisibledistance = n.MinVisibledistance, this.OffsetHeight = n.OffsetHeight), this.doorLabelItems && this.doorLabelItems.length > 0 && this.doorLabelItems.forEach((d) => {
34
+ d.$destroy();
35
+ }), this.labelItems = [], this.doorLabels = [], this.doorLabelItems = [], this.floorplanServerData = e, typeof this.five.ready == "function" ? this.five.ready().then(() => this.initData()) : this.five.once("panoArrived", () => {
36
+ this.initData();
37
37
  });
38
38
  });
39
39
  r(this, "initRoomObservers", () => {
40
40
  var l, h;
41
- const e = this.floorplanServerData.computed_data.floor_datas || [], f = (((h = (l = this.five) == null ? void 0 : l.work) == null ? void 0 : h.observers) || []).map((o) => {
42
- const i = o.panoIndex, d = o.floorIndex, s = e == null ? void 0 : e.find((t) => t.floor_index === d);
43
- if (s) {
44
- const t = s.rooms.find((c) => c.observer_indexs.includes(i));
41
+ const e = this.floorplanServerData.computed_data.floor_datas || [], d = (((h = (l = this.five) == null ? void 0 : l.work) == null ? void 0 : h.observers) || []).map((o) => {
42
+ const s = o.panoIndex, f = o.floorIndex, i = e == null ? void 0 : e.find((t) => t.floor_index === f);
43
+ if (i) {
44
+ const t = i.rooms.find((c) => c.observer_indexs.includes(s));
45
45
  if (t)
46
- return { panoIndex: i, floorIndex: d, name: t.name };
46
+ return { panoIndex: s, floorIndex: f, name: t.name };
47
47
  }
48
48
  }).filter(Boolean);
49
- this.roomObservers = f;
49
+ this.roomObservers = d;
50
50
  });
51
51
  r(this, "hideAllLabels", () => {
52
52
  this.labelItems.forEach((e) => {
@@ -63,106 +63,105 @@ class re extends q {
63
63
  return this.visibleLabelMap.get(e);
64
64
  {
65
65
  const o = [];
66
- return this.doorLabels.forEach((i, d) => {
67
- if (i.roomName === n.name)
66
+ return this.doorLabels.forEach((s, f) => {
67
+ if (s.roomName === n.name)
68
68
  return;
69
- const s = i.position.clone(), t = s.distanceTo(l);
69
+ const i = s.position.clone(), t = i.distanceTo(l);
70
70
  if (t < this.MinVisibledistance || t > this.MaxVisibledistance)
71
71
  return;
72
- const c = new Q(), v = s.clone().sub(l).normalize();
73
- c.set(l, v);
72
+ const c = new Q(), b = i.clone().sub(l).normalize();
73
+ c.set(l, b);
74
74
  const [p] = this.five.model.intersectRaycaster(c);
75
- p && p.distance + 0.1 < t || o.push(d);
75
+ p && p.distance + 0.1 < t || o.push(f);
76
76
  }), this.visibleLabelMap.set(e, o), o;
77
77
  }
78
78
  })();
79
- this.labelItems.forEach((o, i) => {
80
- o.visible = h.includes(i);
79
+ this.labelItems.forEach((o, s) => {
80
+ o.visible = h.includes(s);
81
81
  }), this.fixDoorPosition();
82
82
  });
83
83
  r(this, "fixDoorPosition", () => {
84
- var s, t, c, v, p, A, I, w, L, O, _, S;
84
+ var i, t, c, b, p, y, g, w, L, E, _, S;
85
85
  const { panoIndex: e, camera: n } = this.five;
86
86
  if (e === null)
87
87
  return;
88
88
  if (this.five.currentMode !== "Panorama")
89
89
  return this.hideAllLabels();
90
- const f = this.five.getElement(), l = f.clientWidth, h = f.clientHeight, o = n.getWorldDirection(new V()), i = [], d = [...this.labelItems];
91
- if (d.forEach((m, u) => {
90
+ const d = this.five.getElement(), l = d.clientWidth, h = d.clientHeight, o = n.getWorldDirection(new V()), s = [], f = [...this.labelItems];
91
+ if (f.forEach((m, u) => {
92
92
  if (m.visible) {
93
- const x = n.position.distanceTo(m.position), M = m.position.clone().add(new V(0, this.OffsetHeight, 0)), T = M.clone().sub(n.position).normalize().angleTo(o), y = M.clone().project(n), P = (y.x + 1) / 2.2 * 100, g = (-y.y + 1) / 2.2 * 100, D = P >= 0 && P <= 100 && g >= 0 && g <= 100 && x > this.MinVisibledistance && x <= this.MaxVisibledistance;
94
- m.left = P, m.top = g, m.inSight = D && T < Math.PI / 2, m.cameraToward = Y(this.five), D ? i.push({ disFromCameraToLabel: x, left: P, top: g, index: u }) : m.transform = "translate(-50%, -50%)";
93
+ const x = n.position.distanceTo(m.position), M = m.position.clone().add(new V(0, this.OffsetHeight, 0)), A = M.clone().sub(n.position).normalize().angleTo(o), O = M.clone().project(n), P = (O.x + 1) / 2.2 * 100, I = (-O.y + 1) / 2.2 * 100, D = P >= 0 && P <= 100 && I >= 0 && I <= 100 && x > this.MinVisibledistance && x <= this.MaxVisibledistance;
94
+ m.left = P, m.top = I, m.inSight = D && A < Math.PI / 2, m.cameraToward = Y(this.five), D ? s.push({ disFromCameraToLabel: x, left: P, top: I, index: u }) : m.transform = "translate(-50%, -50%)";
95
95
  } else
96
96
  m.inSight = !1;
97
- }), i.length > 1) {
97
+ }), s.length > 1) {
98
98
  let m = 0;
99
- i.sort((u, x) => x.disFromCameraToLabel - u.disFromCameraToLabel);
100
- for (let u = 1; u < i.length; u++) {
101
- const { index: x, left: M, top: k } = i[u - 1], { index: T, left: y, top: P } = i[u], g = this.container.children[x], D = this.container.children[T];
102
- if (!g || !D)
99
+ s.sort((u, x) => x.disFromCameraToLabel - u.disFromCameraToLabel);
100
+ for (let u = 1; u < s.length; u++) {
101
+ const { index: x, left: M, top: k } = s[u - 1], { index: A, left: O, top: P } = s[u], I = this.container.children[x], D = this.container.children[A];
102
+ if (!I || !D)
103
103
  return;
104
104
  const R = {
105
105
  left: l * M / 100,
106
106
  top: h * k / 100,
107
- width: (c = (t = (s = g.children) == null ? void 0 : s[0]) == null ? void 0 : t.clientWidth) != null ? c : 0,
108
- height: (A = (p = (v = g.children) == null ? void 0 : v[0]) == null ? void 0 : p.clientHeight) != null ? A : 0
107
+ width: (c = (t = (i = I.children) == null ? void 0 : i[0]) == null ? void 0 : t.clientWidth) != null ? c : 0,
108
+ height: (y = (p = (b = I.children) == null ? void 0 : b[0]) == null ? void 0 : p.clientHeight) != null ? y : 0
109
109
  }, F = {
110
- left: l * y / 100,
110
+ left: l * O / 100,
111
111
  top: h * P / 100,
112
- width: (L = (w = (I = D.children) == null ? void 0 : I[0]) == null ? void 0 : w.clientWidth) != null ? L : 0,
113
- height: (S = (_ = (O = D.children) == null ? void 0 : O[0]) == null ? void 0 : _.clientHeight) != null ? S : 0
112
+ width: (L = (w = (g = D.children) == null ? void 0 : g[0]) == null ? void 0 : w.clientWidth) != null ? L : 0,
113
+ height: (S = (_ = (E = D.children) == null ? void 0 : E[0]) == null ? void 0 : _.clientHeight) != null ? S : 0
114
114
  };
115
- Z(R, F) && (m++, d[x].transform = `translate(-50%, ${(m - 1) * 100 - 50}%)`, d[T].transform = `translate(-50%, ${m * 100 - 50}%)`);
115
+ Z(R, F) && (m++, f[x].transform = `translate(-50%, ${(m - 1) * 100 - 50}%)`, f[A].transform = `translate(-50%, ${m * 100 - 50}%)`);
116
116
  }
117
117
  }
118
- this.labelItems = d, this.render();
118
+ this.labelItems = f, this.render();
119
119
  });
120
120
  r(this, "onClick", (e, n) => {
121
121
  if (!this.roomObservers)
122
122
  return;
123
- const { work: f } = this.five;
123
+ const { work: d } = this.five;
124
124
  let l, h, o = 1 / 0;
125
- for (let i = 0; i < f.observers.length; i++) {
126
- if (this.roomObservers[i].name !== e)
127
- continue;
128
- const s = f.observers[i].standingPosition, t = n.distanceTo(s);
129
- t < o && (l = i, h = s.clone().sub(n).normalize(), o = t);
130
- }
125
+ for (const s of d.observers)
126
+ if (this.roomObservers.find((i) => i.panoIndex === s.panoIndex && i.name === e)) {
127
+ const i = s.standingPosition, t = n.distanceTo(i);
128
+ t < o && (l = s.panoIndex, h = i.clone().sub(n).normalize(), o = t);
129
+ }
131
130
  if (h !== null && l !== null) {
132
- const i = {};
131
+ const s = {};
133
132
  if (o > 0) {
134
- const s = new V(0, 0, -1), t = h.clone(), c = new j();
135
- c.setFromUnitVectors(s, t);
136
- const v = new z();
137
- v.setFromQuaternion(c, "YXZ"), i.longitude = v.y;
133
+ const i = new V(0, 0, -1), t = h.clone(), c = new j();
134
+ c.setFromUnitVectors(i, t);
135
+ const b = new z();
136
+ b.setFromQuaternion(c, "YXZ"), s.longitude = b.y;
138
137
  }
139
- this.five.emit("wantsToMoveToPano", l, {}, !0) || this.five.moveToPano(l, { longitude: i.longitude });
138
+ this.five.emit("wantsToMoveToPano", l, {}, !0) || this.five.moveToPano(l, { longitude: s.longitude });
140
139
  }
141
140
  });
142
141
  r(this, "initData", () => {
143
142
  var l;
144
143
  this.doorLabels = [];
145
- const e = this.five.panoIndex, n = this.floorplanServerData.computed_data.observers[e].floor_index, f = n !== void 0 && ((l = this.floorplanServerData.computed_data.floor_datas[n]) == null ? void 0 : l.rooms);
146
- this.rooms = f, this.rooms && this.rooms.length > 0 && this.rooms.forEach((h) => {
147
- var d;
148
- const o = (d = this.floorplanServerData.computed_data.doors) == null ? void 0 : d.filter((s) => !!(s && s.name === h.name)), i = this.five.work.observers.filter((s, t) => !!h.observer_indexs.find((c) => c === t));
149
- o && o.forEach((s) => {
150
- const t = s.position;
151
- let c = 1 / 0, v;
152
- i.forEach((A) => {
153
- const I = A.standingPosition, w = {
154
- x: I.x,
155
- y: I.y,
156
- z: I.z
144
+ const e = this.five.panoIndex, n = this.floorplanServerData.computed_data.observers[e].floor_index, d = n !== void 0 && ((l = this.floorplanServerData.computed_data.floor_datas[n]) == null ? void 0 : l.rooms);
145
+ this.rooms = d, this.rooms && this.rooms.length > 0 && this.rooms.forEach((h) => {
146
+ var f;
147
+ const o = (f = this.floorplanServerData.computed_data.doors) == null ? void 0 : f.filter((i) => !!(i && i.name === h.name)), s = this.five.work.observers.filter((i, t) => !!h.observer_indexs.find((c) => c === t));
148
+ o && o.forEach((i) => {
149
+ const t = i.position;
150
+ let c = 1 / 0, b;
151
+ s.forEach((y) => {
152
+ const g = y.standingPosition, w = {
153
+ x: g.x,
154
+ y: g.y,
155
+ z: g.z
157
156
  }, L = J(t, w);
158
- L < c && (c = L, v = w);
159
- }), v && (t.y = v.y + 0.01);
157
+ L < c && (c = L, b = w);
158
+ }), b && (t.y = b.y + 0.01);
160
159
  const p = new V(t.x, t.y, t.z);
161
- p.add(new V(-0.2, 1.8, 0).applyEuler(new z(0, s.rad, 0))), this.doorLabels.push({
160
+ p.add(new V(-0.2, 1.8, 0).applyEuler(new z(0, i.rad, 0))), this.doorLabels.push({
162
161
  roomName: h.name,
163
- name: s.name,
162
+ name: i.name,
164
163
  position: p,
165
- toward: K(s.rad)
164
+ toward: K(i.rad)
166
165
  });
167
166
  });
168
167
  }), this.labelItems = this.doorLabels.map((h) => W(H({}, h), {
@@ -177,12 +176,12 @@ class re extends q {
177
176
  }
178
177
  stateChangedCallback(e, n) {
179
178
  if (this.hooks.hasListener("stateChange")) {
180
- const f = {
179
+ const d = {
181
180
  state: this.state,
182
181
  prevState: e,
183
182
  userAction: n ? n.userAction : ee.userAction
184
183
  };
185
- this.hooks.emit("stateChange", f);
184
+ this.hooks.emit("stateChange", d);
186
185
  }
187
186
  }
188
187
  render() {
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as k, init as _, safe_not_equal as C, append_styles as I, element as d, space as j, attr as p, null_to_empty as v, insert as B, append as b, listen as x, noop as f, detach as H, binding_callbacks as S } from "svelte/internal";
1
+ import { SvelteComponent as k, init as _, safe_not_equal as C, append_styles as I, element as d, space as j, attr as p, null_to_empty as v, insert as B, append as b, listen as x, noop as f, detach as H, binding_callbacks as S } from "../vendor/svelte/internal/index.js";
2
2
  import y from "classnames";
3
3
  function W(e) {
4
4
  I(e, "svelte-wpy7pz", '.plugin-DoorLabelPlugin-item.svelte-wpy7pz.svelte-wpy7pz{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;transition:opacity 0.3s ease}.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz{position:absolute;top:50%;left:50%;border-radius:0.125rem;background:rgba(0, 0, 0, 0.35);line-height:0.75rem;padding:0.375rem;white-space:nowrap;font-size:0.75rem;font-style:normal;color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform ease 1s, background ease 0.3s, color ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz::after{content:"";display:block;position:absolute;top:-0.0625rem;left:-0.0625rem;bottom:-0.0625rem;right:-0.0625rem;border-radius:0.125rem;border:0.0625rem solid rgba(0, 0, 0, 0);-o-border-image:url("//vrlab-image4.ljcdn.com/release/web/highlightCarouseal-border-image.14b51834.png") 4;border-image:url("//vrlab-image4.ljcdn.com/release/web/highlightCarouseal-border-image.14b51834.png") 4;transition:opacity ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz:active,.plugin-DoorLabelPlugin-cnt.svelte-wpy7pz.svelte-wpy7pz:focus{background:rgba(0, 0, 0, 0.5);color:rgba(255, 255, 255, 0.5)}.plugin-DoorLabelPlugin-icon.svelte-wpy7pz.svelte-wpy7pz{background:url("//vrlab-image4.ljcdn.com/release/web/DoorLabel-icon.de1304ae.svg") no-repeat;background-size:100%;display:inline-block;width:0.625rem;height:0.625rem;margin-left:0.25rem;transform-origin:center}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].left.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].forward.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].back.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].right.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-wpy7pz .plugin-DoorLabelPlugin-txt.svelte-wpy7pz{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz.svelte-wpy7pz{color:#f9eac1}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz .plugin-DoorLabelPlugin-icon.svelte-wpy7pz{background:url("//vrlab-image4.ljcdn.com/release/web/arrow.6e8ec00e.svg") no-repeat}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz.svelte-wpy7pz:active,.plugin-DoorLabelPlugin-cnt--customBrand.svelte-wpy7pz.svelte-wpy7pz:focus{background:rgba(0, 0, 0, 0.5);color:rgba(249, 234, 193, 0.5)}');