@realsee/dnalogel 2.1.0 → 2.1.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/components/index.js +242 -569
  2. package/dist/index.cjs.js +58 -73
  3. package/dist/index.es.js +7846 -12962
  4. package/dist/index.js +7846 -12962
  5. package/dist/index.umd.js +46 -61
  6. package/docs/assets/highlight.css +3 -3
  7. package/docs/assets/main.js +4 -2
  8. package/docs/assets/search.js +1 -1
  9. package/docs/assets/style.css +462 -619
  10. package/docs/classes/CruisePluginController.html +397 -23
  11. package/docs/classes/Magnifier.html +187 -9
  12. package/docs/classes/ModelRoomLabelController.html +149 -11
  13. package/docs/classes/Object3DHelperController.html +356 -0
  14. package/docs/classes/PaintBrush.html +260 -0
  15. package/docs/classes/PanoTagPluginController.html +940 -0
  16. package/docs/classes/Util.BetterTween.html +134 -0
  17. package/docs/classes/Util.FivePointSelector.html +144 -0
  18. package/docs/classes/Util.Interval.html +158 -0
  19. package/docs/classes/Util.Magnifier.html +196 -0
  20. package/docs/classes/Util.PointDomHelper.html +135 -0
  21. package/docs/classes/Util.PointHelper.html +127 -0
  22. package/docs/classes/Util.Rectangle.html +181 -0
  23. package/docs/enums/CameraMovementEffect.html +70 -3
  24. package/docs/enums/ContentType.html +116 -0
  25. package/docs/enums/DIRECTION.html +81 -1
  26. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +81 -1
  27. package/docs/enums/DimensionType.html +67 -0
  28. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +74 -1
  29. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +81 -1
  30. package/docs/enums/LinkType.html +67 -0
  31. package/docs/enums/PaintBrushTypeEnum.html +74 -0
  32. package/docs/enums/PointType.html +67 -0
  33. package/docs/enums/Rotation.html +77 -3
  34. package/docs/functions/CSS3DRenderPlugin.html +233 -0
  35. package/docs/functions/CameraMovementPlugin.html +237 -0
  36. package/docs/functions/CruisePlugin.html +233 -0
  37. package/docs/functions/GuideLinePlugin.html +235 -0
  38. package/docs/functions/ItemLabelPlugin.html +235 -0
  39. package/docs/functions/MapviewFloorplanPlugin.html +235 -0
  40. package/docs/functions/ModelChassisCompassPlugin.html +237 -0
  41. package/docs/functions/ModelEntryDoorGuidePlugin.html +237 -0
  42. package/docs/functions/ModelFloorplanPlugin.html +235 -0
  43. package/docs/functions/ModelItemLabelPlugin.html +235 -0
  44. package/docs/functions/ModelRoomLabelPlugin.html +233 -0
  45. package/docs/functions/ModelTVVideoPlugin.html +235 -0
  46. package/docs/functions/ModelViewPlugin.html +237 -0
  47. package/docs/functions/Object3DHelperPlugin.html +233 -0
  48. package/docs/functions/PanoCompassPlugin.html +235 -0
  49. package/docs/functions/PanoCursorRaycasterPlugin.html +238 -0
  50. package/docs/functions/PanoDoorLabelPlugin.html +235 -0
  51. package/docs/functions/PanoFloorplanRadarPlugin.html +235 -0
  52. package/docs/functions/PanoMeasurePlugin.html +235 -0
  53. package/docs/functions/PanoRulerPlugin.html +237 -0
  54. package/docs/functions/PanoRulerProPlugin.html +237 -0
  55. package/docs/functions/PanoSpatialTagPlugin.html +237 -0
  56. package/docs/functions/PanoTagPlugin.html +249 -0
  57. package/docs/functions/TopviewFloorplanPlugin.html +235 -0
  58. package/docs/functions/Util.getCoordsFromClient.html +78 -0
  59. package/docs/functions/Util.getCoordsFromElement.html +78 -0
  60. package/docs/functions/Util.getFrameTime.html +70 -0
  61. package/docs/functions/Util.getIntersectFromRelativePosition.html +78 -0
  62. package/docs/functions/Util.getRaycasterFromFivePointer.html +78 -0
  63. package/docs/functions/Util.isNil.html +79 -0
  64. package/docs/functions/Util.nextFrame.html +73 -0
  65. package/docs/functions/Util.notNil.html +78 -0
  66. package/docs/functions/Util.requestAnimationFrameInterval.html +98 -0
  67. package/docs/functions/Util.tweenProgress.html +84 -0
  68. package/docs/functions/pluginFlag.html +233 -0
  69. package/docs/index.html +220 -2
  70. package/docs/interfaces/CSS3DRenderPluginEventMap.html +205 -0
  71. package/docs/interfaces/CSS3DRenderPluginState.html +85 -0
  72. package/docs/interfaces/CameraMovementPluginExportType.html +111 -17
  73. package/docs/interfaces/ContentTypeMap.html +212 -0
  74. package/docs/interfaces/FloorplanBounding.html +89 -10
  75. package/docs/interfaces/FloorplanData.html +95 -3
  76. package/docs/interfaces/FloorplanEntrance.html +114 -15
  77. package/docs/interfaces/FloorplanExtraObject.html +108 -7
  78. package/docs/interfaces/FloorplanExtraObject3D.html +99 -3
  79. package/docs/interfaces/FloorplanFloorData.html +88 -3
  80. package/docs/interfaces/FloorplanImagePosition.html +74 -3
  81. package/docs/interfaces/FloorplanObserver.html +92 -5
  82. package/docs/interfaces/FloorplanOutlineItem.html +88 -3
  83. package/docs/interfaces/FloorplanPosition.html +74 -3
  84. package/docs/interfaces/FloorplanRoomItem.html +134 -17
  85. package/docs/interfaces/FloorplanRoomLabelItem.html +78 -7
  86. package/docs/interfaces/FloorplanServerBounding.html +89 -10
  87. package/docs/interfaces/FloorplanServerComputedData.html +92 -1
  88. package/docs/interfaces/FloorplanServerData.html +74 -3
  89. package/docs/interfaces/FloorplanServerDoorItem.html +92 -1
  90. package/docs/interfaces/FloorplanServerDoorPosition.html +78 -1
  91. package/docs/interfaces/FloorplanServerEntrance.html +114 -15
  92. package/docs/interfaces/FloorplanServerFloorData.html +88 -3
  93. package/docs/interfaces/FloorplanServerImagePosition.html +74 -3
  94. package/docs/interfaces/FloorplanServerObserver.html +92 -5
  95. package/docs/interfaces/FloorplanServerOutlineItem.html +88 -3
  96. package/docs/interfaces/FloorplanServerPosition.html +74 -3
  97. package/docs/interfaces/FloorplanServerRoomItem.html +145 -20
  98. package/docs/interfaces/FloorplanServerRoomLabelItem.html +78 -7
  99. package/docs/interfaces/ItemLabelPluginData.html +64 -1
  100. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +149 -1
  101. package/docs/interfaces/ItemLabelPluginParametersType.html +85 -1
  102. package/docs/interfaces/LineJson.html +71 -1
  103. package/docs/interfaces/ModelChassisCompassPluginData.html +71 -1
  104. package/docs/interfaces/ModelChassisCompassPluginExportType.html +107 -1
  105. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +71 -1
  106. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +78 -1
  107. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +115 -1
  108. package/docs/interfaces/ModelItemLabelPluginData.html +64 -1
  109. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +149 -1
  110. package/docs/interfaces/ModelItemLabelPluginParametersType.html +71 -1
  111. package/docs/interfaces/ModelRoomLabelPluginData.html +64 -1
  112. package/docs/interfaces/ModelTVVideoPluginData.html +85 -1
  113. package/docs/interfaces/ModelTVVideoPluginExportType.html +109 -1
  114. package/docs/interfaces/ModelTVVideoPluginParameterType.html +64 -1
  115. package/docs/interfaces/ModelViewPluginExportType.html +129 -1
  116. package/docs/interfaces/Object3DHelperState.html +78 -0
  117. package/docs/interfaces/OpenParameter.html +74 -3
  118. package/docs/interfaces/PaintBrushAction.html +118 -0
  119. package/docs/interfaces/PaintBrushConfigs.html +122 -0
  120. package/docs/interfaces/PaintBrushState.html +99 -0
  121. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +186 -11
  122. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +227 -1
  123. package/docs/interfaces/PanoMeasureParameterType.html +128 -5
  124. package/docs/interfaces/PanoRulerPluginExportType.html +138 -1
  125. package/docs/interfaces/PanoRulerPluginOptions.html +87 -1
  126. package/docs/interfaces/PanoRulerPluginParameterType.html +78 -1
  127. package/docs/interfaces/PanoRulerProPluginExportType.html +114 -1
  128. package/docs/interfaces/PanoRulerProPluginOptions.html +84 -1
  129. package/docs/interfaces/PanoRulerProPluginParameterType.html +71 -1
  130. package/docs/interfaces/PanoRulerProPluginState.html +78 -1
  131. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +241 -1
  132. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +230 -1
  133. package/docs/interfaces/PanoSpatialTagPluginData.html +114 -1
  134. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +96 -1
  135. package/docs/interfaces/PanoSpatialTagPluginExportType.html +192 -1
  136. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +92 -1
  137. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +113 -1
  138. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +99 -1
  139. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +92 -1
  140. package/docs/interfaces/Point.html +78 -1
  141. package/docs/interfaces/PointJson.html +78 -1
  142. package/docs/interfaces/Room.html +85 -1
  143. package/docs/interfaces/RoomInfo.html +71 -1
  144. package/docs/interfaces/RoomLabel.html +141 -13
  145. package/docs/interfaces/RoomRules.html +230 -1
  146. package/docs/interfaces/Rooms.html +230 -1
  147. package/docs/interfaces/Scissor.html +100 -0
  148. package/docs/interfaces/TagConfig.html +120 -0
  149. package/docs/interfaces/Tags.html +89 -0
  150. package/docs/interfaces/Util.MagnifierParameter.html +116 -0
  151. package/docs/interfaces/Util.MouseGroupParameter.html +79 -0
  152. package/docs/modules/Util.html +91 -0
  153. package/docs/modules.html +425 -36
  154. package/docs/types/ArrayPosition.html +224 -0
  155. package/docs/types/CSS3DRenderExportType.html +224 -0
  156. package/docs/types/CSS3DRenderPluginExportType.html +224 -0
  157. package/docs/types/CSS3DRenderPluginParameterType.html +224 -0
  158. package/docs/types/Color.html +224 -0
  159. package/docs/types/ContentTypeConfigKey.html +224 -0
  160. package/docs/types/ContentTypeConfigKeyArray.html +224 -0
  161. package/docs/types/Create3DDomContainerReturnType.html +224 -0
  162. package/docs/types/Create3DElementReturnType.html +224 -0
  163. package/docs/types/CruisePluginExportType.html +224 -0
  164. package/docs/types/Direction-1.html +224 -0
  165. package/docs/types/Direction4.html +224 -0
  166. package/docs/types/FloorplanRuleLabels.html +226 -0
  167. package/docs/types/FloorplanServerRuleLabels.html +224 -0
  168. package/docs/types/GuideLinePluginExportType.html +224 -0
  169. package/docs/types/HelperEventMap.html +314 -0
  170. package/docs/types/MapviewFloorplanPluginParameterType.html +224 -0
  171. package/docs/types/MapviewFloorplanPluginReturnType.html +224 -0
  172. package/docs/types/MediaData.html +224 -0
  173. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +224 -0
  174. package/docs/types/ModelFloorplanPluginParameterType.html +224 -0
  175. package/docs/types/ModelFloorplanPluginReturnType.html +224 -0
  176. package/docs/types/ModelRoomLabelPluginParameters.html +224 -0
  177. package/docs/types/ModelRoomLabelPluginReturnType.html +224 -0
  178. package/docs/types/MoveArgs.html +226 -0
  179. package/docs/types/MoveOpts.html +226 -0
  180. package/docs/types/Object3DHelperEventMap.html +317 -0
  181. package/docs/types/ObjectFit.html +224 -0
  182. package/docs/types/PaintBrushEventMap.html +255 -0
  183. package/docs/types/PanoCompassPluginData.html +224 -0
  184. package/docs/types/PanoCompassPluginExportType.html +224 -0
  185. package/docs/types/PanoCompassPluginParameterType.html +224 -0
  186. package/docs/types/PanoFloorplanRadarPluginParameterType.html +224 -0
  187. package/docs/types/PanoFloorplanRadarPluginReturnType.html +224 -0
  188. package/docs/types/PanoMeasurePluginEvent.html +224 -0
  189. package/docs/types/PanoMeasureReturnType.html +224 -0
  190. package/docs/types/PanoSpatialTagPluginId.html +224 -0
  191. package/docs/types/PanoTagPluginExportInterface.html +224 -0
  192. package/docs/types/PanoTagPluginParamsInterface.html +224 -0
  193. package/docs/types/PlaneTag.html +233 -0
  194. package/docs/types/PointTag.html +235 -0
  195. package/docs/types/Position.html +224 -0
  196. package/docs/types/RotateArgs.html +226 -0
  197. package/docs/types/RotateOpts.html +226 -0
  198. package/docs/types/RuleLabelsKey.html +224 -0
  199. package/docs/types/RuleLabelsValue.html +224 -0
  200. package/docs/types/Tag.html +235 -0
  201. package/docs/types/Tag2D.html +233 -0
  202. package/docs/types/Tag3D.html +233 -0
  203. package/docs/types/TagId.html +224 -0
  204. package/docs/types/TopviewFloorplanPluginParameterType.html +224 -0
  205. package/docs/types/TopviewFloorplanPluginReturnType.html +224 -0
  206. package/docs/variables/FLOOR_TYPE_MAP.html +226 -0
  207. package/docs/variables/PLUGIN.html +224 -0
  208. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +226 -0
  209. package/docs/variables/ROOM_TYPE_MAP.html +226 -0
  210. package/docs/variables/VERSION.html +224 -0
  211. package/docs/variables/itemLabelPluginServerParams.html +231 -0
  212. package/docs/variables/modelItemLabelPluginServerParams.html +231 -0
  213. package/docs/variables/modelRoomLabelPluginServerParams.html +231 -0
  214. package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +2 -2
  215. package/libs/CSS3DRenderPlugin/CSS3DRender.js +150 -119
  216. package/libs/CSS3DRenderPlugin/Controller.d.ts +3 -3
  217. package/libs/CSS3DRenderPlugin/Controller.js +45 -42
  218. package/libs/CSS3DRenderPlugin/index.js +4 -12
  219. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +71 -54
  220. package/libs/CruisePlugin/Controller.js +331 -287
  221. package/libs/CruisePlugin/index.js +6 -25
  222. package/libs/CruisePlugin/utils/coordinatesAngle.js +2 -3
  223. package/libs/CruisePlugin/utils/safeCall.js +21 -5
  224. package/libs/GuideLinePlugin/Controller.js +94 -62
  225. package/libs/GuideLinePlugin/index.js +4 -13
  226. package/libs/GuideLinePlugin/utils/getLineGeometries.js +49 -103
  227. package/libs/GuideLinePlugin/utils/polyline-normals.d.ts +3 -0
  228. package/libs/ItemLabelPlugin/ItemLabelComponent.js +200 -183
  229. package/libs/ItemLabelPlugin/ItemLabelItem.js +27 -27
  230. package/libs/ItemLabelPlugin/Plugin.js +20 -29
  231. package/libs/ItemLabelPlugin/index.js +5 -18
  232. package/libs/ItemLabelPlugin/utils/parseData.js +15 -4
  233. package/libs/ItemLabelPlugin/utils/transform2RenderData.js +16 -6
  234. package/libs/ModelChassisCompassPlugin/Plugin.js +54 -38
  235. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +58 -46
  236. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +145 -129
  237. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +18 -18
  238. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +19 -24
  239. package/libs/ModelItemLabelPlugin/index.js +5 -14
  240. package/libs/ModelItemLabelPlugin/utils/parseData.js +16 -6
  241. package/libs/ModelRoomLabelPlugin/Controller.js +2 -6
  242. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +22 -22
  243. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +105 -94
  244. package/libs/ModelRoomLabelPlugin/index.js +4 -10
  245. package/libs/ModelTVVideoPlugin/Plugin.js +101 -94
  246. package/libs/ModelViewPlugin/Plugin.js +71 -60
  247. package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
  248. package/libs/Object3DHelperPlugin/Controller.js +79 -71
  249. package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +1 -1
  250. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +8 -11
  251. package/libs/Object3DHelperPlugin/index.js +8 -40
  252. package/libs/PanoCompassPlugin/Controller.js +91 -72
  253. package/libs/PanoCompassPlugin/index.js +4 -22
  254. package/libs/PanoCursorRaycasterPlugin/index.js +8 -9
  255. package/libs/PanoDoorLabelPlugin/BaseController.js +42 -33
  256. package/libs/PanoDoorLabelPlugin/Controller.js +84 -80
  257. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +16 -16
  258. package/libs/PanoDoorLabelPlugin/index.d.ts +1 -1
  259. package/libs/PanoDoorLabelPlugin/index.js +3 -12
  260. package/libs/PanoDoorLabelPlugin/utils.d.ts +2 -2
  261. package/libs/PanoMeasurePlugin/Controller/BaseController.js +14 -24
  262. package/libs/PanoMeasurePlugin/Controller/EditController.js +8 -20
  263. package/libs/PanoMeasurePlugin/Controller/MixedController.js +15 -28
  264. package/libs/PanoMeasurePlugin/Controller/ViewController.js +15 -26
  265. package/libs/PanoMeasurePlugin/Controller/WatchController.js +28 -43
  266. package/libs/PanoMeasurePlugin/Controller/index.d.ts +1 -1
  267. package/libs/PanoMeasurePlugin/Controller/index.js +43 -70
  268. package/libs/PanoMeasurePlugin/Model/index.d.ts +4 -4
  269. package/libs/PanoMeasurePlugin/Model/index.js +38 -45
  270. package/libs/PanoMeasurePlugin/Model/line.d.ts +1 -1
  271. package/libs/PanoMeasurePlugin/Model/line.js +10 -14
  272. package/libs/PanoMeasurePlugin/Model/polyline.d.ts +2 -2
  273. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +3 -3
  274. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
  275. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +35 -28
  276. package/libs/PanoMeasurePlugin/index.js +6 -55
  277. package/libs/PanoMeasurePlugin/utils/constants.js +29 -16
  278. package/libs/PanoMeasurePlugin/utils/findClosestPoint.d.ts +1 -1
  279. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +4 -5
  280. package/libs/PanoRulerPlugin/Plugin.js +180 -157
  281. package/libs/PanoRulerProPlugin/Controller.js +70 -51
  282. package/libs/PanoRulerProPlugin/RulerItem.js +55 -45
  283. package/libs/PanoRulerProPlugin/RulerItems.js +124 -125
  284. package/libs/PanoRulerProPlugin/index.js +4 -15
  285. package/libs/PanoSpatialTagPlugin/Components/origins.js +24 -25
  286. package/libs/PanoSpatialTagPlugin/Components/tag.js +23 -23
  287. package/libs/PanoSpatialTagPlugin/Plugin.js +61 -72
  288. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -1
  289. package/libs/PanoSpatialTagPlugin/store.js +1 -2
  290. package/libs/PanoTagPlugin/Components/Common/Arrow.js +47 -47
  291. package/libs/PanoTagPlugin/Components/Common/Audio.js +95 -92
  292. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +48 -48
  293. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +40 -41
  294. package/libs/PanoTagPlugin/Components/Common/Media.js +258 -3303
  295. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +60 -60
  296. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +96 -107
  297. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +15 -16
  298. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +22 -23
  299. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +78 -82
  300. package/libs/PanoTagPlugin/Components/Common/Shadow.js +51 -52
  301. package/libs/PanoTagPlugin/Components/Common/Text.js +84 -937
  302. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +58 -64
  303. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +35 -34
  304. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +101 -111
  305. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +43 -45
  306. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +123 -96
  307. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +36 -44
  308. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +71 -83
  309. package/libs/PanoTagPlugin/Components/Tag/index.js +130 -149
  310. package/libs/PanoTagPlugin/Components/TagContainer.js +69 -100
  311. package/libs/PanoTagPlugin/Components/TagWrapper.js +86 -116
  312. package/libs/PanoTagPlugin/controller/TagCacheController.js +2 -3
  313. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +5 -5
  314. package/libs/PanoTagPlugin/controller/TagComputer.js +262 -13
  315. package/libs/PanoTagPlugin/controller/index.js +177 -186
  316. package/libs/PanoTagPlugin/index.js +7 -69
  317. package/libs/PanoTagPlugin/utils/checkRange.d.ts +1 -1
  318. package/libs/PanoTagPlugin/utils/resizeObserver.js +1 -1
  319. package/libs/PanoTagPlugin/utils/search.js +9 -27
  320. package/libs/base/BasePluginWithData.js +0 -1
  321. package/libs/components/PaintBrush/Controller.d.ts +2 -2
  322. package/libs/components/PaintBrush/Controller.js +3 -4
  323. package/libs/components/PaintBrush/index.js +2 -9
  324. package/libs/components/PaintBrush/tween.js +7 -11
  325. package/libs/components/PaintBrush/utils.d.ts +1 -1
  326. package/libs/env.d.ts +1 -0
  327. package/libs/floorplan/Components/BaseImage.js +29 -30
  328. package/libs/floorplan/Components/Camera.js +24 -24
  329. package/libs/floorplan/Components/Compass.js +36 -36
  330. package/libs/floorplan/Components/CurrentFloor.js +65 -74
  331. package/libs/floorplan/Components/Main.js +94 -112
  332. package/libs/floorplan/Components/Normalmage.js +21 -21
  333. package/libs/floorplan/Components/RoomHighlight/Room.js +20 -20
  334. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +43 -44
  335. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +60 -59
  336. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +61 -61
  337. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +136 -124
  338. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +21 -21
  339. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +20 -20
  340. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +22 -22
  341. package/libs/floorplan/Components/RuleLabels/RuleItem.js +68 -68
  342. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +40 -40
  343. package/libs/floorplan/Components/SvgImage.js +19 -19
  344. package/libs/floorplan/MapviewFloorplanPlugin/Controller.d.ts +1 -1
  345. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +145 -146
  346. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -47
  347. package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -1
  348. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +187 -189
  349. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -47
  350. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +32 -31
  351. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +56 -60
  352. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +29 -29
  353. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +75 -83
  354. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +92 -74
  355. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -24
  356. package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -1
  357. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +181 -173
  358. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -44
  359. package/libs/floorplan/utils/constant.js +1 -2
  360. package/libs/floorplan/utils/correctFiveState.js +48 -30
  361. package/libs/floorplan/utils/formatData.js +58 -36
  362. package/libs/index.js +90 -328
  363. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-changed-params.js +29 -0
  364. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-params.js +23 -0
  365. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/mount-swiper.js +14 -0
  366. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/params-list.js +120 -0
  367. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/update-swiper.js +36 -0
  368. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/utils.js +32 -0
  369. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper-slide.js +182 -0
  370. package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper.js +254 -0
  371. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +2 -5
  372. package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +5 -16
  373. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +16 -24
  374. package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.d.ts +1 -1
  375. package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +15 -23
  376. package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +2 -10
  377. package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +27 -29
  378. package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +19 -9
  379. package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +4 -5
  380. package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.js +1 -102
  381. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +8 -14
  382. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +2 -3
  383. package/libs/shared-utils/Object3DHelper/index.js +72 -43
  384. package/libs/shared-utils/Object3DHelper/utils/direction.js +14 -22
  385. package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.d.ts +1 -1
  386. package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.d.ts +34 -0
  387. package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -1
  388. package/libs/shared-utils/Subscribe.js +1 -1
  389. package/libs/shared-utils/animationFrame/BetterTween.js +24 -4
  390. package/libs/shared-utils/animationFrame/calculateProgress.js +3 -9
  391. package/libs/shared-utils/animationFrame/formatRad.js +1 -3
  392. package/libs/shared-utils/animationFrame/index.js +19 -39
  393. package/libs/shared-utils/animationFrame/tween.js +17 -17
  394. package/libs/shared-utils/filter.js +6 -26
  395. package/libs/shared-utils/five/changeMode.js +34 -16
  396. package/libs/shared-utils/index.js +29 -43
  397. package/libs/shared-utils/math/planimetry.d.ts +5 -5
  398. package/libs/shared-utils/math/planimetry.js +34 -121
  399. package/libs/shared-utils/removeArrayItem.d.ts +1 -1
  400. package/libs/shared-utils/three/Assets/index.js +1 -2
  401. package/libs/shared-utils/three/FivePointSelector.d.ts +1 -1
  402. package/libs/shared-utils/three/FivePointSelector.js +12 -26
  403. package/libs/shared-utils/three/Magnifier.d.ts +2 -2
  404. package/libs/shared-utils/three/Magnifier.js +3 -3
  405. package/libs/shared-utils/three/PointDomHelper.js +27 -35
  406. package/libs/shared-utils/three/PointHelper.js +1 -1
  407. package/libs/shared-utils/three/getIntersect.d.ts +1 -1
  408. package/libs/shared-utils/three/getRaycaster.d.ts +1 -1
  409. package/libs/shared-utils/three/loadTexture.js +25 -7
  410. package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +18 -7
  411. package/libs/shared-utils/to.js +26 -8
  412. package/package.json +45 -28
  413. package/dist/style.css +0 -1
  414. package/docs/assets/icons.css +0 -1043
  415. package/docs/assets/icons.png +0 -0
  416. package/docs/assets/icons@2x.png +0 -0
  417. package/docs/assets/widgets.png +0 -0
  418. package/docs/assets/widgets@2x.png +0 -0
  419. package/docs/interfaces/CSS3DRenderPluginExportType.html +0 -4
  420. package/libs/CSS3DRenderPlugin/typing.js +0 -1
  421. package/libs/CSS3DRenderPlugin/utils/index.js +0 -13
  422. package/libs/CSS3DRenderPlugin/utils/random.js +0 -6
  423. package/libs/CameraMovementPlugin/index.js +0 -15
  424. package/libs/CruisePlugin/typing.js +0 -1
  425. package/libs/GuideLinePlugin/typing.js +0 -1
  426. package/libs/GuideLinePlugin/utils/getPoint.d.ts +0 -3
  427. package/libs/GuideLinePlugin/utils/getPoint.js +0 -18
  428. package/libs/GuideLinePlugin/utils/polyline-normals.d.js +0 -1
  429. package/libs/ItemLabelPlugin/events.type.js +0 -1
  430. package/libs/ModelChassisCompassPlugin/index.js +0 -10
  431. package/libs/ModelEntryDoorGuidePlugin/index.js +0 -11
  432. package/libs/ModelItemLabelPlugin/events.type.js +0 -1
  433. package/libs/ModelRoomLabelPlugin/typings.js +0 -1
  434. package/libs/ModelTVVideoPlugin/index.js +0 -19
  435. package/libs/ModelViewPlugin/index.js +0 -8
  436. package/libs/Object3DHelperPlugin/mocks/addObject3D.d.ts +0 -2
  437. package/libs/Object3DHelperPlugin/mocks/addObject3D.js +0 -1377
  438. package/libs/Object3DHelperPlugin/mocks/objects.d.ts +0 -7
  439. package/libs/Object3DHelperPlugin/mocks/objects.js +0 -47
  440. package/libs/Object3DHelperPlugin/typings.js +0 -1
  441. package/libs/PanoCompassPlugin/typings.js +0 -1
  442. package/libs/PanoDoorLabelPlugin/typings.js +0 -1
  443. package/libs/PanoMeasurePlugin/typings/data.js +0 -1
  444. package/libs/PanoMeasurePlugin/typings/event.type.js +0 -1
  445. package/libs/PanoMeasurePlugin/typings/index.js +0 -1
  446. package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +0 -1
  447. package/libs/PanoMeasurePlugin/typings/utils.type.js +0 -1
  448. package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +0 -2
  449. package/libs/PanoMeasurePlugin/utils/clearGroup.js +0 -6
  450. package/libs/PanoRulerPlugin/index.js +0 -11
  451. package/libs/PanoRulerPlugin/typings.js +0 -1
  452. package/libs/PanoRulerProPlugin/typings.js +0 -1
  453. package/libs/PanoSpatialTagPlugin/index.js +0 -24
  454. package/libs/PanoSpatialTagPlugin/typings.js +0 -1
  455. package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
  456. package/libs/PanoTagPlugin/typings/controller.js +0 -1
  457. package/libs/PanoTagPlugin/typings/index.js +0 -7
  458. package/libs/PanoTagPlugin/utils/index.js +0 -36
  459. package/libs/TagComputer.2bc444dc.js +0 -315
  460. package/libs/components/index.js +0 -13
  461. package/libs/floorplan/MapviewFloorplanPlugin/typing.js +0 -1
  462. package/libs/floorplan/ModelFloorplanPlugin/typing.js +0 -1
  463. package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +0 -1
  464. package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +0 -1
  465. package/libs/floorplan/TopviewFloorplanPlugin/style.js +0 -11
  466. package/libs/floorplan/TopviewFloorplanPlugin/typing.js +0 -1
  467. package/libs/floorplan/index.js +0 -67
  468. package/libs/floorplan/typings/floorplanData.js +0 -1
  469. package/libs/floorplan/typings/index.js +0 -1
  470. package/libs/floorplan/typings/utility.js +0 -1
  471. package/libs/hammer.b5b6115e.js +0 -882
  472. package/libs/index.164f1850.js +0 -641
  473. package/libs/index.6a0eead1.js +0 -12
  474. package/libs/index.ad783a2f.js +0 -31
  475. package/libs/index.dca207cb.js +0 -37
  476. package/libs/index.f2f85d71.js +0 -40
  477. package/libs/index.fd12d787.js +0 -34
  478. package/libs/shared-utils/Object3DHelper/Helper/index.js +0 -30
  479. package/libs/shared-utils/Object3DHelper/typings/Direction.js +0 -1
  480. package/libs/shared-utils/Object3DHelper/typings/Hooks.js +0 -1
  481. package/libs/shared-utils/Object3DHelper/typings/Scissor.js +0 -1
  482. package/libs/shared-utils/Object3DHelper/typings/index.js +0 -1
  483. package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +0 -18
  484. package/libs/shared-utils/Object3DHelper/utils/finiteNumber.d.ts +0 -1
  485. package/libs/shared-utils/Object3DHelper/utils/finiteNumber.js +0 -6
  486. package/libs/shared-utils/Object3DHelper/utils/getPoint.js +0 -18
  487. package/libs/shared-utils/Object3DHelper/utils/index.js +0 -29
  488. package/libs/shared-utils/Object3DHelper/utils/negateScale.d.ts +0 -2
  489. package/libs/shared-utils/Object3DHelper/utils/negateScale.js +0 -7
  490. package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +0 -13
  491. package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +0 -5
  492. package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.d.js +0 -4
  493. package/libs/shared-utils/Preloader.d.ts +0 -6
  494. package/libs/shared-utils/Preloader.js +0 -18
  495. package/libs/shared-utils/formatRad.d.ts +0 -7
  496. package/libs/shared-utils/formatRad.js +0 -7
  497. package/libs/shared-utils/getRandomColor.d.ts +0 -1
  498. package/libs/shared-utils/getRandomColor.js +0 -6
  499. package/libs/shared-utils/logger.d.ts +0 -16
  500. package/libs/shared-utils/logger.js +0 -27
  501. package/libs/shared-utils/math/evenNumber.d.ts +0 -3
  502. package/libs/shared-utils/math/evenNumber.js +0 -7
  503. package/libs/shared-utils/math/index.js +0 -6
  504. package/libs/shared-utils/px2rem.d.ts +0 -1
  505. package/libs/shared-utils/px2rem.js +0 -6
  506. package/libs/shared-utils/three/getExtraModelLoader.d.ts +0 -6
  507. package/libs/shared-utils/three/getExtraModelLoader.js +0 -18
  508. package/libs/shared-utils/three/getNormal.d.ts +0 -2
  509. package/libs/shared-utils/three/getNormal.js +0 -7
  510. package/libs/shared-utils/three/getTextureLoader.d.ts +0 -6
  511. package/libs/shared-utils/three/getTextureLoader.js +0 -16
  512. package/libs/shared-utils/three/index.js +0 -33
  513. package/libs/shared-utils/three/loadFbxObj.d.ts +0 -2
  514. package/libs/shared-utils/three/loadFbxObj.js +0 -16
  515. package/libs/shared-utils/vectorTocoordinates.d.ts +0 -7
  516. package/libs/shared-utils/vectorTocoordinates.js +0 -10
  517. package/libs/style.css +0 -1
  518. package/libs/tween.esm.bad2b2b4.js +0 -340
  519. package/libs/typings/math.type.js +0 -1
  520. package/libs/typings/utils.type.d.ts +0 -2
  521. package/libs/typings/utils.type.js +0 -1
@@ -1,143 +1,130 @@
1
- var T = Object.defineProperty;
2
- var C = (l, h, e) => h in l ? T(l, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[h] = e;
3
- var a = (l, h, e) => (C(l, typeof h != "symbol" ? h + "" : h, e), e);
4
- import { Subscribe as D } from "@realsee/five";
5
- import { Quaternion as y } from "three";
6
- import { T as S, o as c } from "../../TagComputer.2bc444dc.js";
7
- import { w as A } from "../../index.ad783a2f.js";
8
- import P from "../Components/TagContainer.js";
9
- import R from "../Components/Tag/index.js";
10
- import { arrayPositionToVector3 as p } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
11
- import { addDebugPoints as w } from "../utils/addDebugPoints.js";
12
- import { planeNormal as E } from "../utils/planeNormal.js";
13
- import { actionAfterFiveModelLoad as U } from "../utils/actionAfterFiveModelLoad.js";
14
- import { normalPositionToPositions as k } from "../utils/normalPositionToPositions.js";
15
- import { debounce as m } from "../utils/debounce.js";
16
- import { throttle as F } from "../utils/throttle.js";
17
- import { resizeObserver as u } from "../utils/resizeObserver.js";
18
- import { CSS3DRenderPlugin as L } from "../../CSS3DRenderPlugin/index.js";
19
- import { PointType as f, DimensionType as v } from "../typings/tag.js";
20
- import "../tag.config.js";
21
- import "../utils/tagPosition.js";
22
- import "../../CSS3DRenderPlugin/utils/centerPoint.js";
23
- import "../utils/checkRange.js";
24
- import "./TagCacheController.js";
25
- import "../../base/BasePlugin.js";
26
- import "../../shared-utils/Subscribe.js";
27
- import "../../index.164f1850.js";
28
- import "../Components/TagWrapper.js";
29
- import "../utils/noTypecheck.js";
30
- import "../Components/Common/Point/PointSwitch.js";
31
- import "../Components/Common/Point/CustomPoint.js";
32
- import "../Components/Common/Shadow.js";
33
- import "../../index.dca207cb.js";
34
- import "../../index.6a0eead1.js";
35
- import "../Components/Common/Point/DefaultPoint.js";
36
- import "../Components/Tag/TextTag.js";
37
- import "../Components/Common/Line/Straight.js";
38
- import "../../shared-utils/uuid.js";
39
- import "../Components/Common/MultiLineText.js";
40
- import "../Components/Common/Text.js";
41
- import "../../shared-utils/isNil.js";
42
- import "../utils/search.js";
43
- import "../utils/constants.js";
44
- import "../Components/Common/Arrow.js";
45
- import "../Assets/Icon.js";
46
- import "../utils/doUtil.js";
47
- import "../Components/Tag/ImageTextTag.js";
48
- import "../Components/Common/Line/Polyline.js";
49
- import "../Components/Common/Media.js";
50
- import "../Components/Common/MediaItem.js";
51
- import "../Components/Tag/MarketingTag.js";
52
- import "../Components/Tag/AudioTag.js";
53
- import "../Components/Common/Audio.js";
54
- import "../Components/Tag/MediaPlane.js";
55
- import "../Components/Tag/LinkTag.js";
56
- import "../Components/Tag/CustomTag.js";
57
- import "../../CSS3DRenderPlugin/Controller.js";
58
- import "../../CSS3DRenderPlugin/CSS3DRender.js";
59
- import "three/examples/jsm/renderers/CSS3DRenderer";
60
- import "../../CSS3DRenderPlugin/utils/evenNumber.js";
61
- import "../../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
62
- const b = "1.2.6", g = `DnalogelPlugin-PanoTagPlugin@${b}`, B = !1, $e = (l) => `${g}--${l}`;
63
- class je extends S {
1
+ var A = Object.defineProperty, P = Object.defineProperties;
2
+ var R = Object.getOwnPropertyDescriptors;
3
+ var T = Object.getOwnPropertySymbols;
4
+ var w = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
5
+ var v = (l, a, e) => a in l ? A(l, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[a] = e, f = (l, a) => {
6
+ for (var e in a || (a = {}))
7
+ w.call(a, e) && v(l, e, a[e]);
8
+ if (T)
9
+ for (var e of T(a))
10
+ E.call(a, e) && v(l, e, a[e]);
11
+ return l;
12
+ }, c = (l, a) => P(l, R(a));
13
+ var h = (l, a, e) => (v(l, typeof a != "symbol" ? a + "" : a, e), e);
14
+ var p = (l, a, e) => new Promise((t, s) => {
15
+ var i = (n) => {
16
+ try {
17
+ r(e.next(n));
18
+ } catch (d) {
19
+ s(d);
20
+ }
21
+ }, o = (n) => {
22
+ try {
23
+ r(e.throw(n));
24
+ } catch (d) {
25
+ s(d);
26
+ }
27
+ }, r = (n) => n.done ? t(n.value) : Promise.resolve(n.value).then(i, o);
28
+ r((e = e.apply(l, a)).next());
29
+ });
30
+ import { Subscribe as U } from "@realsee/five";
31
+ import { Quaternion as k } from "three";
32
+ import m from "object-assign-deep";
33
+ import { writable as F } from "svelte/store";
34
+ import L from "../Components/TagContainer.js";
35
+ import B from "../Components/Tag/index.js";
36
+ import { arrayPositionToVector3 as g } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
37
+ import { addDebugPoints as O } from "../utils/addDebugPoints.js";
38
+ import { planeNormal as I } from "../utils/planeNormal.js";
39
+ import { actionAfterFiveModelLoad as z } from "../utils/actionAfterFiveModelLoad.js";
40
+ import { normalPositionToPositions as M } from "../utils/normalPositionToPositions.js";
41
+ import { debounce as C } from "../utils/debounce.js";
42
+ import { throttle as N } from "../utils/throttle.js";
43
+ import { resizeObserver as D } from "../utils/resizeObserver.js";
44
+ import { TagComputer as $ } from "./TagComputer.js";
45
+ import { CSS3DRenderPlugin as j } from "../../CSS3DRenderPlugin/index.js";
46
+ import { PointType as u, DimensionType as y } from "../typings/tag.js";
47
+ const S = "1.2.6", b = `DnalogelPlugin-PanoTagPlugin@${S}`, V = !1, re = (l) => `${b}--${l}`;
48
+ class ae extends $ {
64
49
  constructor(e, t) {
65
50
  super(e);
66
- a(this, "version", b);
67
- a(this, "state", { enabled: !0, visible: !0 });
68
- a(this, "params");
69
- a(this, "debug");
70
- a(this, "css3DRenderPlugin");
71
- a(this, "TagContainerSvelte");
72
- a(this, "temporaryState", { visible: !0 });
73
- a(this, "mediaStore", A({
51
+ h(this, "version", S);
52
+ h(this, "state", { enabled: !0, visible: !0 });
53
+ h(this, "params");
54
+ h(this, "debug");
55
+ h(this, "css3DRenderPlugin");
56
+ h(this, "TagContainerSvelte");
57
+ h(this, "temporaryState", { visible: !0 });
58
+ h(this, "mediaStore", F({
74
59
  currentMediaUrl: ""
75
60
  }));
76
- a(this, "store", {
61
+ h(this, "store", {
77
62
  disposers: [],
78
63
  disposed: !1,
79
64
  resizeObserverDisposerAdding: !1,
80
65
  css3DRenderDisposer: /* @__PURE__ */ new Map()
81
66
  });
82
- a(this, "staticUrl");
83
- a(this, "disposedErrorLog", () => {
84
- console.error(`${g} is disposed`);
67
+ h(this, "staticUrl");
68
+ h(this, "disposedErrorLog", () => {
69
+ console.error(`${b} is disposed`);
85
70
  });
86
- this.params = {
71
+ this.params = f({
87
72
  debug: !1,
88
73
  mergePluginDefaultConfigToLoadDataConfig: !1,
89
74
  config: this.config,
90
75
  staticConfig: {
91
76
  host: "vrlab-static.ljcdn.com"
92
- },
93
- ...t
94
- }, this.debug = this.params.debug, this.config = this.params.config, this.staticUrl = (() => {
95
- var s;
96
- const i = this.params.staticConfig;
97
- if (typeof i == "string")
98
- return i;
77
+ }
78
+ }, t), this.debug = this.params.debug, this.config = this.params.config, this.staticUrl = (() => {
79
+ var i;
80
+ const s = this.params.staticConfig;
81
+ if (typeof s == "string")
82
+ return s;
99
83
  {
100
- const o = i.protocol ? i.protocol + ":" : "", n = (s = i.host) != null ? s : "vrlab-static.ljcdn.com", r = i.port ? ":" + i.port : "";
101
- return `${o}//${n}${r}`;
84
+ const o = s.protocol ? s.protocol + ":" : "", r = (i = s.host) != null ? i : "vrlab-static.ljcdn.com", n = s.port ? ":" + s.port : "";
85
+ return `${o}//${r}${n}`;
102
86
  }
103
87
  })(), Object.assign(window, { __PANOTAGPLUGIN_DEBUG__: this });
104
88
  }
105
89
  load(e, t) {
106
- var i, s;
107
- this.clearTags(), console.log(g, "load:", { data: e }), this.params.mergePluginDefaultConfigToLoadDataConfig ? this.config = c.exports({}, this.config, {
108
- globalConfig: (i = e.globalConfig) != null ? i : {},
109
- contentTypeConfig: (s = e.contentTypeConfig) != null ? s : {}
110
- }) : (e.globalConfig && (this.config.globalConfig = e.globalConfig), e.contentTypeConfig && (this.config.contentTypeConfig = e.contentTypeConfig)), this.addTag(e.tagList, t), this.debug && w(this.five, this.tags);
90
+ var s, i;
91
+ this.clearTags(), console.log(b, "load:", { data: e }), this.params.mergePluginDefaultConfigToLoadDataConfig ? this.config = m({}, this.config, {
92
+ globalConfig: (s = e.globalConfig) != null ? s : {},
93
+ contentTypeConfig: (i = e.contentTypeConfig) != null ? i : {}
94
+ }) : (e.globalConfig && (this.config.globalConfig = e.globalConfig), e.contentTypeConfig && (this.config.contentTypeConfig = e.contentTypeConfig)), this.addTag(e.tagList, t), this.debug && O(this.five, this.tags);
111
95
  }
112
96
  addTag(e, t) {
113
- const s = (Array.isArray(e) ? e : [e]).map((o) => {
114
- const n = this.getTagConfig(o);
115
- return {
116
- ...o,
117
- state: { visible: void 0, unfolded: B, ...n.initialState },
118
- hooks: new D(),
119
- clickable: n.clickable
120
- };
97
+ const i = (Array.isArray(e) ? e : [e]).map((o) => {
98
+ const r = this.getTagConfig(o);
99
+ return c(f({}, o), {
100
+ state: f({ visible: void 0, unfolded: V }, r.initialState),
101
+ hooks: new U(),
102
+ clickable: r.clickable
103
+ });
121
104
  }).filter((o) => o.position);
122
- this.tags.push(...s), U(this.five, () => {
123
- var o, n, r;
124
- this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && (this.store.eventListenerDisposer = this.addEventListener()), this.addResizeListener(), this.checkPanelTag(), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }).then(() => this.updateRenderAllTags()), this.updateRenderAllTags();
105
+ this.tags.push(...i), z(this.five, () => {
106
+ var o, r, n;
107
+ this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && (this.store.eventListenerDisposer = this.addEventListener()), this.addResizeListener(), this.checkPanelTag(), this.setVisibleAndUnfolded({ withAnimation: (n = t == null ? void 0 : t.withAnimation) != null ? n : !0 }).then(() => this.updateRenderAllTags()), this.updateRenderAllTags();
125
108
  });
126
109
  }
127
110
  clearTags() {
128
111
  this.tags = [], this.clearCache(), this.disposeAllCSS3DContainer(), this.updateRenderAllTags();
129
112
  }
130
- async show(e) {
131
- const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
132
- if (this.store.disposed)
133
- return this.disposedErrorLog();
134
- this.setState({ visible: !0 }, { userAction: t, visibleWithAnimation: i }), this.hooks.emit("show", { userAction: t, withAnimation: i });
113
+ show(e) {
114
+ return p(this, null, function* () {
115
+ const { userAction: t = !0, withAnimation: s = !1 } = e != null ? e : {};
116
+ if (this.store.disposed)
117
+ return this.disposedErrorLog();
118
+ this.setState({ visible: !0 }, { userAction: t, visibleWithAnimation: s }), this.hooks.emit("show", { userAction: t, withAnimation: s });
119
+ });
135
120
  }
136
- async hide(e) {
137
- const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
138
- if (this.store.disposed)
139
- return this.disposedErrorLog();
140
- this.setState({ visible: !1 }, { userAction: t, visibleWithAnimation: i }), this.hooks.emit("hide", { userAction: t, withAnimation: i });
121
+ hide(e) {
122
+ return p(this, null, function* () {
123
+ const { userAction: t = !0, withAnimation: s = !1 } = e != null ? e : {};
124
+ if (this.store.disposed)
125
+ return this.disposedErrorLog();
126
+ this.setState({ visible: !1 }, { userAction: t, visibleWithAnimation: s }), this.hooks.emit("hide", { userAction: t, withAnimation: s });
127
+ });
141
128
  }
142
129
  enable(e) {
143
130
  const { userAction: t = !0 } = e != null ? e : {};
@@ -152,45 +139,47 @@ class je extends S {
152
139
  this.setState({ enabled: !1 }, { userAction: t }), this.hooks.emit("disable", { userAction: t });
153
140
  }
154
141
  dispose() {
155
- var e, t, i, s, o, n;
156
- this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filter3DTag().forEach((r) => {
142
+ var e, t, s, i, o, r;
143
+ this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filter3DTag().forEach((n) => {
157
144
  var d;
158
- return (d = r.tag3DContentSvelte) == null ? void 0 : d.svelteApp.$destroy();
159
- }), 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.clearCache(), this.hooks.emit("dispose");
145
+ return (d = n.tag3DContentSvelte) == null ? void 0 : d.svelteApp.$destroy();
146
+ }), this.tags = [], (t = this.store.disposers) == null || t.forEach((n) => n == null ? void 0 : n()), this.store.disposers = [], this.store.disposed = !0, (i = (s = this.store).eventListenerDisposer) == null || i.call(s), this.store.eventListenerDisposer = void 0, (r = (o = this.store).resizeObserverDisposer) == null || r.call(o), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.clearCache(), this.hooks.emit("dispose");
160
147
  }
161
148
  setState(e, t) {
162
149
  if (this.store.disposed)
163
150
  return this.disposedErrorLog();
164
- const { userAction: i = !0, visibleWithAnimation: s = !1 } = t, o = { ...this.state };
165
- 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 });
151
+ const { userAction: s = !0, visibleWithAnimation: i = !1 } = t, o = f({}, this.state);
152
+ this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = i, 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: s });
166
153
  }
167
154
  changeTagNormalById(e, t) {
168
- const i = this.getTagById(e);
169
- !i || !i.tag3DContentSvelte || (i.tag3DContentSvelte.currentNormal = p(t), this.updateRenderPlaneTag());
170
- }
171
- changeDataById(e, t, i = !0) {
172
155
  const s = this.getTagById(e);
173
- !s || (i ? s.data = c.exports({}, s.data, t) : Object.assign(s.data, t), this.checkPanelTag(), this.updateRenderAllTags());
156
+ !s || !s.tag3DContentSvelte || (s.tag3DContentSvelte.currentNormal = g(t), this.updateRenderPlaneTag());
174
157
  }
175
- changeTagById(e, t, i = !0) {
176
- const s = this.getTagById(e);
177
- !t || (i ? c.exports(s, t) : Object.assign(s, t), (s == null ? void 0 : s.tag3DContentSvelte) && (t == null ? void 0 : t.normal) && (s.tag3DContentSvelte.currentNormal = p(t.normal)), this.updateRenderAllTags(), this.checkPanelTag());
158
+ changeDataById(e, t, s = !0) {
159
+ const i = this.getTagById(e);
160
+ !i || (s ? i.data = m({}, i.data, t) : Object.assign(i.data, t), this.checkPanelTag(), this.updateRenderAllTags());
161
+ }
162
+ changeTagById(e, t, s = !0) {
163
+ const i = this.getTagById(e);
164
+ !t || (s ? m(i, t) : Object.assign(i, t), (i == null ? void 0 : i.tag3DContentSvelte) && (t == null ? void 0 : t.normal) && (i.tag3DContentSvelte.currentNormal = g(t.normal)), this.updateRenderAllTags(), this.checkPanelTag());
178
165
  }
179
166
  destroyTagById(e) {
180
- (Array.isArray(e) ? e : [e]).forEach((i) => {
181
- const s = this.tags.findIndex((o) => o.id === i);
182
- s !== -1 && this.tags.splice(s, 1);
167
+ (Array.isArray(e) ? e : [e]).forEach((s) => {
168
+ const i = this.tags.findIndex((o) => o.id === s);
169
+ i !== -1 && this.tags.splice(i, 1);
183
170
  }), this.updateRenderAllTags();
184
171
  }
185
172
  pauseCurrentMedia() {
186
173
  this.mediaStore.set({ currentMediaUrl: "" });
187
174
  }
188
- async setVisibleAndUnfolded({ withAnimation: e } = { withAnimation: !1 }) {
189
- return this.setVisibleByPanoIndex(), e ? new Promise((t, i) => {
190
- setTimeout(() => {
191
- this.setUnfoldedByPanoIndex(), t();
192
- }, 10);
193
- }) : (this.setUnfoldedByPanoIndex(), Promise.resolve());
175
+ setVisibleAndUnfolded() {
176
+ return p(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
177
+ return this.setVisibleByPanoIndex(), e ? new Promise((t, s) => {
178
+ setTimeout(() => {
179
+ this.setUnfoldedByPanoIndex(), t();
180
+ }, 10);
181
+ }) : (this.setUnfoldedByPanoIndex(), Promise.resolve());
182
+ });
194
183
  }
195
184
  handleShow() {
196
185
  this.state.visible = !0, this.updateTagContainerVisible();
@@ -202,16 +191,16 @@ class je extends S {
202
191
  this.state.enabled = !0, this.store.eventListenerDisposer = this.addEventListener(), this.updateRenderAllTags();
203
192
  }
204
193
  handleDisable() {
205
- var e, t, i;
206
- this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filter3DTag().forEach((s) => {
194
+ var e, t, s;
195
+ this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), (s = this.TagContainerSvelte) == null || s.$set({ tags: [] }), this.filter3DTag().forEach((i) => {
207
196
  var o;
208
- (o = s.tag3DContentSvelte) == null || o.svelteApp.$destroy(), s.tag3DContentSvelte = void 0;
197
+ (o = i.tag3DContentSvelte) == null || o.svelteApp.$destroy(), i.tag3DContentSvelte = void 0;
209
198
  });
210
199
  }
211
200
  addEventListener() {
212
- 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), d = this.clickhandler.bind(this);
213
- return e.on("wantsMoveToPano", i), e.on("modeChange", s), e.on("cameraUpdate", o), e.on("cameraUpdate", n), e.on("panoArrived", r), t.on("click", d), () => {
214
- e.off("wantsMoveToPano", i), e.off("modeChange", s), e.off("cameraUpdate", o), e.off("cameraUpdate", n), e.off("panoArrived", r), t.off("click", d), this.store.eventListenerDisposer = void 0;
201
+ const { five: e, hooks: t } = this, s = this.handleFiveWantsMoveToPano.bind(this), i = this.handleFiveModeChange.bind(this), o = this.handleFiveCameraUpdate.bind(this), r = this.handleFiveCameraUpdateDebounce(), n = this.handleFivePanoArrived.bind(this), d = this.clickhandler.bind(this);
202
+ return e.on("wantsMoveToPano", s), e.on("modeChange", i), e.on("cameraUpdate", o), e.on("cameraUpdate", r), e.on("panoArrived", n), t.on("click", d), () => {
203
+ e.off("wantsMoveToPano", s), e.off("modeChange", i), e.off("cameraUpdate", o), e.off("cameraUpdate", r), e.off("panoArrived", n), t.off("click", d), this.store.eventListenerDisposer = void 0;
215
204
  };
216
205
  }
217
206
  addResizeListener() {
@@ -227,19 +216,19 @@ class je extends S {
227
216
  return;
228
217
  const e = this.five.getElement(), t = () => {
229
218
  !this.state.enabled || (this.show(), this.updateRenderAllTags());
230
- }, i = () => {
219
+ }, s = () => {
231
220
  !this.state.enabled || this.hide();
232
- }, { observe: s, unobserve: o } = u(
233
- F(() => {
234
- !this.store.resizeObserverDisposer || i();
221
+ }, { observe: i, unobserve: o } = D(
222
+ N(() => {
223
+ !this.store.resizeObserverDisposer || s();
235
224
  }, 500),
236
225
  e
237
- ), { observe: n, unobserve: r } = u(
238
- m(() => t(), 400),
226
+ ), { observe: r, unobserve: n } = D(
227
+ C(() => t(), 400),
239
228
  e
240
229
  );
241
- return s(), n(), () => {
242
- o(), r();
230
+ return i(), r(), () => {
231
+ o(), n();
243
232
  };
244
233
  }
245
234
  handleFiveModeChange(e) {
@@ -248,7 +237,7 @@ class je extends S {
248
237
  handleFiveWantsMoveToPano() {
249
238
  this.tags.forEach((e) => {
250
239
  const t = this.getTagConfig(e);
251
- typeof t.visibleConfig == "object" && t.visibleConfig.keep ? e.temporaryState = { ...e.temporaryState, visible: t.visibleConfig.keep === "visible" } : typeof t.visibleConfig == "object" && t.visibleConfig.alwaysShowWhenMovePano ? e.temporaryState = { ...e.temporaryState, visible: !0 } : e.temporaryState = { ...e.temporaryState, visible: !1 };
240
+ typeof t.visibleConfig == "object" && t.visibleConfig.keep ? e.temporaryState = c(f({}, e.temporaryState), { visible: t.visibleConfig.keep === "visible" }) : typeof t.visibleConfig == "object" && t.visibleConfig.alwaysShowWhenMovePano ? e.temporaryState = c(f({}, e.temporaryState), { visible: !0 }) : e.temporaryState = c(f({}, e.temporaryState), { visible: !1 });
252
241
  }), this.updateRenderAllTags();
253
242
  }
254
243
  temporaryShow() {
@@ -262,9 +251,9 @@ class je extends S {
262
251
  return;
263
252
  if (!e.tag.state)
264
253
  return console.warn("Clickhandler: params.tag.state is undefined");
265
- const t = this.canBe("fold", e.tag), i = this.canBe("unfold", e.tag);
266
- t && i && (e.tag.state.unfolded = !e.tag.state.unfolded, e.tag.state.unfolded && this.tags.forEach((s) => {
267
- s.id !== e.tag.id && s.state && this.canBe("fold", s) && (s.state.unfolded = !1);
254
+ const t = this.canBe("fold", e.tag), s = this.canBe("unfold", e.tag);
255
+ t && s && (e.tag.state.unfolded = !e.tag.state.unfolded, e.tag.state.unfolded && this.tags.forEach((i) => {
256
+ i.id !== e.tag.id && i.state && this.canBe("fold", i) && (i.state.unfolded = !1);
268
257
  }), this.updateRenderAllTags());
269
258
  }
270
259
  updateRenderAllTags() {
@@ -277,8 +266,8 @@ class je extends S {
277
266
  temporaryState: this.temporaryState,
278
267
  withAnimation: this.store.visibleWithAnimation
279
268
  }), this.filter3DTag().forEach((t) => {
280
- var i;
281
- (i = t.tag3DContentSvelte) == null || i.svelteApp.$set({
269
+ var s;
270
+ (s = t.tag3DContentSvelte) == null || s.svelteApp.$set({
282
271
  state: this.state,
283
272
  temporaryState: this.temporaryState,
284
273
  withAnimation: this.store.visibleWithAnimation
@@ -286,26 +275,28 @@ class je extends S {
286
275
  });
287
276
  }
288
277
  handleFiveCameraUpdateDebounce() {
289
- return m(() => {
278
+ return C(() => {
290
279
  this.setUnfoldedByCamera(), this.updateRenderAllTags();
291
280
  }, 100);
292
281
  }
293
282
  handleFiveCameraUpdate() {
294
283
  this.updateRenderPointTag();
295
284
  }
296
- async handleFivePanoArrived() {
297
- await this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
298
- e.temporaryState = { ...e.temporaryState, visible: !0 };
299
- }), this.updateRenderAllTags();
285
+ handleFivePanoArrived() {
286
+ return p(this, null, function* () {
287
+ yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
288
+ e.temporaryState = c(f({}, e.temporaryState), { visible: !0 });
289
+ }), this.updateRenderAllTags();
290
+ });
300
291
  }
301
292
  setUnfoldedByCamera() {
302
293
  let e = !1;
303
294
  this.tags.forEach((t) => {
304
- const i = this.getUnfoldedByCamera(t);
305
- !t.state || i !== void 0 && (i === !0 && (e = !0), t.state.unfolded = i);
295
+ const s = this.getUnfoldedByCamera(t);
296
+ !t.state || s !== void 0 && (s === !0 && (e = !0), t.state.unfolded = s);
306
297
  }), e && this.tags.forEach((t) => {
307
- const i = this.getTagConfig(t).unfoldedConfig;
308
- typeof i == "object" && (i.autoUnfold || i.disableFold || i.keep) || t.state && (t.state.unfolded = !1);
298
+ const s = this.getTagConfig(t).unfoldedConfig;
299
+ typeof s == "object" && (s.autoUnfold || s.disableFold || s.keep) || t.state && (t.state.unfolded = !1);
309
300
  });
310
301
  }
311
302
  updateRenderPointTag() {
@@ -314,40 +305,40 @@ class je extends S {
314
305
  if (this.setPointTagPosition(), this.TagContainerSvelte)
315
306
  this.TagContainerSvelte.$set({ tags: e, state: this.state, temporaryState: this.temporaryState });
316
307
  else {
317
- const i = (t = this.five.getElement()) == null ? void 0 : t.parentElement;
318
- if (!i)
308
+ const s = (t = this.five.getElement()) == null ? void 0 : t.parentElement;
309
+ if (!s)
319
310
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
320
- this.TagContainerSvelte = new P({
321
- target: i,
311
+ this.TagContainerSvelte = new L({
312
+ target: s,
322
313
  props: { hooks: this.hooks, tags: e, state: this.state, temporaryState: this.temporaryState, mediaStore: this.mediaStore }
323
314
  });
324
315
  }
325
316
  }
326
317
  updateRenderPlaneTag() {
327
318
  [...this.filterPlaneTag(), ...this.filter3DPointTag()].forEach((t) => {
328
- var i;
319
+ var s;
329
320
  if (t.tag3DContentSvelte) {
330
- const { svelteApp: s, domContainer: o, initialNormal: n, currentNormal: r } = t.tag3DContentSvelte;
331
- if (s.$set({
321
+ const { svelteApp: i, domContainer: o, initialNormal: r, currentNormal: n } = t.tag3DContentSvelte;
322
+ if (i.$set({
332
323
  tag: t,
333
324
  hooks: this.hooks,
334
325
  state: this.state,
335
326
  temporaryState: this.temporaryState
336
- }), !n.equals(r)) {
337
- const d = new y().setFromUnitVectors(n, r);
327
+ }), !r.equals(n)) {
328
+ const d = new k().setFromUnitVectors(r, n);
338
329
  o.css3DObject.setRotationFromQuaternion(d);
339
330
  }
340
331
  } else {
341
- if (((i = t.state) == null ? void 0 : i.visible) === !1)
332
+ if (((s = t.state) == null ? void 0 : s.visible) === !1)
342
333
  return;
343
- if (this.css3DRenderPlugin || (this.css3DRenderPlugin = L(this.five)), t.pointType === f.PointTag && !t.normal)
334
+ if (this.css3DRenderPlugin || (this.css3DRenderPlugin = j(this.five)), t.pointType === u.PointTag && !t.normal)
344
335
  return console.error("updateRenderPlaneTag: \u4E09\u7EF4\u70B9\u6807\u7B7E\u7F3A\u5C11\u6CD5\u5411\u91CF\uFF01");
345
- const s = t.pointType === f.PlaneTag ? t.position : k(this.five.camera.position, p(t.position), p(t.normal)), o = t.pointType === f.PlaneTag ? E(t.position) : p(t.normal), n = this.getTagConfig(t).tag3DConfig, r = this.css3DRenderPlugin.create3DDomContainer(s, n);
346
- if (!r)
336
+ const i = t.pointType === u.PlaneTag ? t.position : M(this.five.camera.position, g(t.position), g(t.normal)), o = t.pointType === u.PlaneTag ? I(t.position) : g(t.normal), r = this.getTagConfig(t).tag3DConfig, n = this.css3DRenderPlugin.create3DDomContainer(i, r);
337
+ if (!n)
347
338
  return;
348
- this.store.css3DRenderDisposer.set(t.id, r.dispose), t.tag3DContentSvelte = {
349
- svelteApp: new R({
350
- target: r.container,
339
+ this.store.css3DRenderDisposer.set(t.id, n.dispose), t.tag3DContentSvelte = {
340
+ svelteApp: new B({
341
+ target: n.container,
351
342
  props: {
352
343
  tag: t,
353
344
  hooks: this.hooks,
@@ -356,7 +347,7 @@ class je extends S {
356
347
  temporaryState: this.temporaryState
357
348
  }
358
349
  }),
359
- domContainer: r,
350
+ domContainer: n,
360
351
  initialNormal: o,
361
352
  currentNormal: o
362
353
  };
@@ -371,16 +362,16 @@ class je extends S {
371
362
  checkPanelTag() {
372
363
  this.tags.forEach((e) => {
373
364
  var t;
374
- e.dimensionType === v.Two && e.pointType === f.PointTag && ((t = e.tag3DContentSvelte) == null || t.domContainer.dispose(), e.tag3DContentSvelte = void 0);
365
+ e.dimensionType === y.Two && e.pointType === u.PointTag && ((t = e.tag3DContentSvelte) == null || t.domContainer.dispose(), e.tag3DContentSvelte = void 0);
375
366
  });
376
367
  for (const [e, t] of this.store.css3DRenderDisposer) {
377
- const i = this.getTagById(e);
378
- (!i || i.dimensionType !== v.Three) && (t == null || t(), this.store.css3DRenderDisposer.delete(e));
368
+ const s = this.getTagById(e);
369
+ (!s || s.dimensionType !== y.Three) && (t == null || t(), this.store.css3DRenderDisposer.delete(e));
379
370
  }
380
371
  }
381
372
  }
382
373
  export {
383
- je as PanoTagPluginController,
384
- je as default,
385
- $e as pluginFlag
374
+ ae as PanoTagPluginController,
375
+ ae as default,
376
+ re as pluginFlag
386
377
  };
@@ -1,71 +1,9 @@
1
- import r from "./controller/index.js";
2
- import { default as go, pluginFlag as Po } from "./controller/index.js";
3
- import { ContentType as uo, DimensionType as fo, LinkType as so, PointType as yo } from "./typings/tag.js";
4
- import "@realsee/five";
5
- import "three";
6
- import "../TagComputer.2bc444dc.js";
7
- import "./tag.config.js";
8
- import "../CSS3DRenderPlugin/utils/positionToVector3.js";
9
- import "./utils/planeNormal.js";
10
- import "./utils/tagPosition.js";
11
- import "../CSS3DRenderPlugin/utils/centerPoint.js";
12
- import "./utils/checkRange.js";
13
- import "./controller/TagCacheController.js";
14
- import "../base/BasePlugin.js";
15
- import "../shared-utils/Subscribe.js";
16
- import "../index.ad783a2f.js";
17
- import "../index.164f1850.js";
18
- import "./Components/TagContainer.js";
19
- import "./Components/TagWrapper.js";
20
- import "./utils/noTypecheck.js";
21
- import "./Components/Tag/index.js";
22
- import "./Components/Tag/TextTag.js";
23
- import "./Components/Common/Line/Straight.js";
24
- import "../index.dca207cb.js";
25
- import "../index.6a0eead1.js";
26
- import "../shared-utils/uuid.js";
27
- import "./Components/Common/Shadow.js";
28
- import "./Components/Common/MultiLineText.js";
29
- import "./Components/Common/Text.js";
30
- import "../shared-utils/isNil.js";
31
- import "./utils/search.js";
32
- import "./utils/constants.js";
33
- import "./Components/Common/Arrow.js";
34
- import "./Assets/Icon.js";
35
- import "./utils/doUtil.js";
36
- import "./Components/Tag/ImageTextTag.js";
37
- import "./Components/Common/Line/Polyline.js";
38
- import "./Components/Common/Media.js";
39
- import "./Components/Common/MediaItem.js";
40
- import "./Components/Tag/MarketingTag.js";
41
- import "./Components/Tag/AudioTag.js";
42
- import "./Components/Common/Audio.js";
43
- import "./Components/Tag/MediaPlane.js";
44
- import "./Components/Tag/LinkTag.js";
45
- import "./Components/Tag/CustomTag.js";
46
- import "./Components/Common/Point/PointSwitch.js";
47
- import "./Components/Common/Point/CustomPoint.js";
48
- import "./Components/Common/Point/DefaultPoint.js";
49
- import "./utils/addDebugPoints.js";
50
- import "./utils/actionAfterFiveModelLoad.js";
51
- import "./utils/normalPositionToPositions.js";
52
- import "./utils/debounce.js";
53
- import "./utils/throttle.js";
54
- import "./utils/resizeObserver.js";
55
- import "../CSS3DRenderPlugin/index.js";
56
- import "../CSS3DRenderPlugin/Controller.js";
57
- import "../CSS3DRenderPlugin/CSS3DRender.js";
58
- import "three/examples/jsm/renderers/CSS3DRenderer";
59
- import "../CSS3DRenderPlugin/utils/evenNumber.js";
60
- import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
61
- const eo = (o, t) => new r(o, t);
1
+ import l from "./controller/index.js";
2
+ import { default as e, pluginFlag as u } from "./controller/index.js";
3
+ const r = (o, a) => new l(o, a);
62
4
  export {
63
- uo as ContentType,
64
- fo as DimensionType,
65
- so as LinkType,
66
- eo as PanoTagPlugin,
67
- go as PanoTagPluginController,
68
- yo as PointType,
69
- eo as default,
70
- Po as pluginFlag
5
+ r as PanoTagPlugin,
6
+ e as PanoTagPluginController,
7
+ r as default,
8
+ u as pluginFlag
71
9
  };
@@ -1,4 +1,4 @@
1
1
  export declare function checkRange(value?: number, range?: {
2
2
  min?: number;
3
3
  max?: number;
4
- }): boolean | undefined;
4
+ }): boolean;
@@ -1,5 +1,5 @@
1
1
  function o(e, r) {
2
- if (!r || typeof ResizeObserver > "u" || !ResizeObserver)
2
+ if (!r || typeof ResizeObserver == "undefined" || !ResizeObserver)
3
3
  return {
4
4
  observe: () => window.addEventListener("resize", e),
5
5
  unobserve: () => window.removeEventListener("resize", e)