@realsee/dnalogel 2.16.0-4 → 2.16.0-7

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 (336) hide show
  1. package/dist/CruisePlugin/index.d.ts +2 -0
  2. package/dist/CruisePlugin/typing.d.ts +32 -40
  3. package/dist/GuideLinePlugin/Controller.d.ts +2 -0
  4. package/dist/GuideLinePlugin/GuideLineItem.d.ts +6 -0
  5. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +38 -5
  6. package/dist/GuideLinePlugin/typing.d.ts +33 -4
  7. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
  8. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +5 -5
  9. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +3 -1
  10. package/dist/index.cjs.js +67 -67
  11. package/dist/index.js +8846 -8678
  12. package/dist/index.umd.js +54 -54
  13. package/docs/assets/search.js +1 -1
  14. package/docs/classes/CSS3DRender.html +32 -31
  15. package/docs/classes/CruisePluginController.html +39 -38
  16. package/docs/classes/GuideLineItem.GuideLineItem.html +49 -16
  17. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +218 -49
  18. package/docs/classes/Magnifier.html +21 -20
  19. package/docs/classes/ModelRoomLabelController.html +12 -11
  20. package/docs/classes/Object3DHelperController.html +26 -25
  21. package/docs/classes/PaintBrush.html +16 -15
  22. package/docs/classes/PanoMeasurePluginLine.html +24 -23
  23. package/docs/classes/PanoMeasurePluginModel.html +23 -22
  24. package/docs/classes/PanoMeasurePluginPoint.html +15 -14
  25. package/docs/classes/PanoMeasurePluginPolyline.html +27 -26
  26. package/docs/classes/PanoTagPluginController.html +48 -47
  27. package/docs/classes/Util.BetterTween.html +9 -8
  28. package/docs/classes/Util.FivePointSelector.html +13 -12
  29. package/docs/classes/Util.Interval.html +13 -12
  30. package/docs/classes/Util.Magnifier.html +18 -17
  31. package/docs/classes/Util.PointDomHelper.html +12 -11
  32. package/docs/classes/Util.PointHelper.html +12 -11
  33. package/docs/classes/Util.Rectangle.html +14 -13
  34. package/docs/enums/CameraMovementEffect.html +8 -7
  35. package/docs/enums/ContentType.html +20 -19
  36. package/docs/enums/DIRECTION.html +10 -9
  37. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
  38. package/docs/enums/DimensionType.html +8 -7
  39. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
  40. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
  41. package/docs/enums/PaintBrushTypeEnum.html +9 -8
  42. package/docs/enums/Rotation.html +9 -8
  43. package/docs/functions/CSS3DRenderPlugin.html +5 -4
  44. package/docs/functions/CameraMovementPlugin.html +5 -4
  45. package/docs/functions/CruisePlugin.html +5 -4
  46. package/docs/functions/GuideLinePlugin.html +6 -5
  47. package/docs/functions/ItemLabelPlugin.html +5 -4
  48. package/docs/functions/MapviewFloorplanPlugin.html +5 -4
  49. package/docs/functions/ModelChassisCompassPlugin.html +5 -4
  50. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
  51. package/docs/functions/ModelFloorplanPlugin.html +5 -4
  52. package/docs/functions/ModelItemLabelPlugin.html +5 -4
  53. package/docs/functions/ModelRoomLabelPlugin.html +5 -4
  54. package/docs/functions/ModelTVVideoPlugin.html +5 -4
  55. package/docs/functions/ModelViewPlugin.html +5 -4
  56. package/docs/functions/Object3DHelperPlugin.html +5 -4
  57. package/docs/functions/PanoCompassPlugin.html +5 -4
  58. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
  59. package/docs/functions/PanoDoorLabelPlugin.html +5 -4
  60. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
  61. package/docs/functions/PanoMeasurePlugin.html +5 -4
  62. package/docs/functions/PanoRulerPlugin.html +5 -4
  63. package/docs/functions/PanoRulerProPlugin.html +5 -4
  64. package/docs/functions/PanoSpatialTagPlugin.html +5 -4
  65. package/docs/functions/PanoTagPlugin.html +5 -4
  66. package/docs/functions/PanoVideoPlugin.html +5 -4
  67. package/docs/functions/TopviewFloorplanPlugin.html +5 -4
  68. package/docs/functions/Util.getCoordsFromClient.html +6 -5
  69. package/docs/functions/Util.getCoordsFromElement.html +6 -5
  70. package/docs/functions/Util.getFrameTime.html +6 -5
  71. package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
  72. package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
  73. package/docs/functions/Util.isAbsoluteURL.html +6 -5
  74. package/docs/functions/Util.isModelLike.html +6 -5
  75. package/docs/functions/Util.isNil.html +6 -5
  76. package/docs/functions/Util.isPanoramaLike.html +6 -5
  77. package/docs/functions/Util.nextFrame.html +6 -5
  78. package/docs/functions/Util.notNil.html +6 -5
  79. package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
  80. package/docs/functions/Util.tweenProgress.html +6 -5
  81. package/docs/functions/Util.uuid.html +6 -5
  82. package/docs/functions/pluginFlag.html +6 -5
  83. package/docs/index.html +5 -4
  84. package/docs/interfaces/AddTagConfig.html +7 -6
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
  86. package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
  87. package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
  88. package/docs/interfaces/CruisePluginTypes.Config.html +107 -0
  89. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +112 -0
  90. package/docs/interfaces/CruisePluginTypes.EventMap.html +429 -0
  91. package/docs/interfaces/CruisePluginTypes.MoveAction.html +120 -0
  92. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +141 -0
  93. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +143 -0
  94. package/docs/interfaces/CruisePluginTypes.PluginData.html +95 -0
  95. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +83 -0
  96. package/docs/interfaces/CruisePluginTypes.PluginState.html +148 -0
  97. package/docs/interfaces/EventMap.html +16 -15
  98. package/docs/interfaces/FloorplanBounding.html +9 -8
  99. package/docs/interfaces/FloorplanData.html +11 -10
  100. package/docs/interfaces/FloorplanEntrance.html +12 -11
  101. package/docs/interfaces/FloorplanExtraObject.html +11 -10
  102. package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
  103. package/docs/interfaces/FloorplanFloorData.html +10 -9
  104. package/docs/interfaces/FloorplanImagePosition.html +8 -7
  105. package/docs/interfaces/FloorplanObserver.html +10 -9
  106. package/docs/interfaces/FloorplanOutlineItem.html +10 -9
  107. package/docs/interfaces/FloorplanPosition.html +8 -7
  108. package/docs/interfaces/FloorplanRoomItem.html +14 -13
  109. package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
  110. package/docs/interfaces/FloorplanServerBounding.html +9 -8
  111. package/docs/interfaces/FloorplanServerComputedData.html +11 -10
  112. package/docs/interfaces/FloorplanServerData.html +8 -7
  113. package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
  114. package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
  115. package/docs/interfaces/FloorplanServerEntrance.html +12 -11
  116. package/docs/interfaces/FloorplanServerFloorData.html +10 -9
  117. package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
  118. package/docs/interfaces/FloorplanServerObserver.html +10 -9
  119. package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
  120. package/docs/interfaces/FloorplanServerPosition.html +8 -7
  121. package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
  122. package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
  123. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +15 -10
  124. package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -13
  125. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -8
  126. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -6
  127. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -11
  128. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -8
  129. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +179 -0
  130. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +211 -0
  131. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +293 -0
  132. package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +8 -7
  133. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +7 -6
  134. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +8 -7
  135. package/docs/interfaces/GuideLinePluginType.PluginState.html +10 -9
  136. package/docs/interfaces/GuideLinePluginType.Route.html +11 -10
  137. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -9
  138. package/docs/interfaces/HelperOffset.html +9 -8
  139. package/docs/interfaces/ImagePlaneGroup.html +7 -6
  140. package/docs/interfaces/ItemLabelPluginData.html +7 -6
  141. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
  142. package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
  143. package/docs/interfaces/MinMax.html +8 -7
  144. package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
  145. package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
  146. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
  147. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
  148. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
  149. package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
  150. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
  151. package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
  152. package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
  153. package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
  154. package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
  155. package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
  156. package/docs/interfaces/ModelViewPluginExportType.html +12 -11
  157. package/docs/interfaces/Object3DHelperState.html +9 -8
  158. package/docs/interfaces/ObjectHelperControllers.html +10 -9
  159. package/docs/interfaces/PaintBrushAction.html +13 -12
  160. package/docs/interfaces/PaintBrushConfigs.html +13 -12
  161. package/docs/interfaces/PaintBrushState.html +11 -10
  162. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
  163. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  164. package/docs/interfaces/PanoMeasureParameterType.html +15 -14
  165. package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
  166. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
  167. package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
  168. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
  169. package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
  170. package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
  171. package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
  172. package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
  173. package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
  174. package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
  175. package/docs/interfaces/PanoRulerProPluginState.html +9 -8
  176. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  177. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  178. package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
  179. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
  180. package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
  181. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
  182. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
  183. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
  184. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
  185. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +7 -6
  186. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -8
  187. package/docs/interfaces/PanoVideoPluginType.PluginData.html +7 -6
  188. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -9
  189. package/docs/interfaces/PanoVideoPluginType.PluginState.html +7 -6
  190. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -8
  191. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +11 -10
  192. package/docs/interfaces/Point.html +9 -8
  193. package/docs/interfaces/Room.html +10 -9
  194. package/docs/interfaces/RoomInfo.html +8 -7
  195. package/docs/interfaces/RoomLabel.html +15 -14
  196. package/docs/interfaces/RoomRules.html +6 -5
  197. package/docs/interfaces/Rooms.html +6 -5
  198. package/docs/interfaces/Scissor.html +10 -9
  199. package/docs/interfaces/State.html +9 -8
  200. package/docs/interfaces/TagCacheInterface.html +13 -12
  201. package/docs/interfaces/TagConfig.html +12 -11
  202. package/docs/interfaces/TagGLTFObjectGroup.html +7 -6
  203. package/docs/interfaces/TagIconUrl.html +27 -17
  204. package/docs/interfaces/TagObjectGroup.html +7 -6
  205. package/docs/interfaces/TagStyle.html +7 -6
  206. package/docs/interfaces/Tags.html +10 -9
  207. package/docs/interfaces/TemporaryState.html +7 -6
  208. package/docs/interfaces/Util.MagnifierParameter.html +12 -11
  209. package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
  210. package/docs/modules/CruisePluginTypes.html +88 -0
  211. package/docs/modules/GuideLineItem.html +6 -5
  212. package/docs/modules/GuideLineModeItem.html +6 -5
  213. package/docs/modules/GuideLinePluginType.html +14 -5
  214. package/docs/modules/PanoVideoPluginType.html +6 -5
  215. package/docs/modules/Util.html +6 -5
  216. package/docs/modules.html +7 -5
  217. package/docs/types/ArrayPosition.html +6 -5
  218. package/docs/types/AudioAppearance.html +6 -5
  219. package/docs/types/AudioTagTypeConfigKey.html +6 -5
  220. package/docs/types/CSS3DRenderExportType.html +6 -5
  221. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  222. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  223. package/docs/types/ClassFunctionParameters.html +6 -5
  224. package/docs/types/Color.html +6 -5
  225. package/docs/types/ContentTypeConfigKey.html +6 -5
  226. package/docs/types/ContentTypeConfigKeySplit.html +6 -5
  227. package/docs/types/ContentTypeMap.html +6 -5
  228. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  229. package/docs/types/Create3DElementReturnType.html +6 -5
  230. package/docs/types/CruisePluginExportType.html +6 -5
  231. package/docs/types/CruisePluginTypes.CruiseData.html +60 -0
  232. package/docs/types/CruisePluginTypes.MoveEffect.html +60 -0
  233. package/docs/types/Direction-1.html +6 -5
  234. package/docs/types/Direction4.html +6 -5
  235. package/docs/types/FloorplanRuleLabels.html +6 -5
  236. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  237. package/docs/types/GuideLinePluginExportType.html +6 -5
  238. package/docs/types/GuideLinePluginType.GuideLineItem.html +11 -6
  239. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +105 -0
  240. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +10 -5
  241. package/docs/types/GuideLinePluginType.GuideLineStyle.html +10 -5
  242. package/docs/types/GuideLinePluginType.PathItem.html +10 -5
  243. package/docs/types/GuideLinePluginType.PluginData.html +10 -5
  244. package/docs/types/HelperEventMap.html +6 -5
  245. package/docs/types/LoadTagConfig.html +6 -5
  246. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  247. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  248. package/docs/types/MediaData.html +6 -5
  249. package/docs/types/MediaStore.html +6 -5
  250. package/docs/types/ModelElement.html +6 -5
  251. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  252. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  253. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  254. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  255. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  256. package/docs/types/MoveArgs.html +6 -5
  257. package/docs/types/MoveOpts.html +6 -5
  258. package/docs/types/Object3DHelperEventMap.html +6 -5
  259. package/docs/types/ObjectFit.html +6 -5
  260. package/docs/types/PaintBrushEventMap.html +6 -5
  261. package/docs/types/PanoCompassPluginData.html +6 -5
  262. package/docs/types/PanoCompassPluginExportType.html +6 -5
  263. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  264. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  265. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  266. package/docs/types/PanoIndex.html +6 -5
  267. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  268. package/docs/types/PanoMeasureReturnType.html +6 -5
  269. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  270. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  271. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  272. package/docs/types/PanoVideoPluginParameterType.html +6 -5
  273. package/docs/types/PanoVideoPluginReturnType.html +6 -5
  274. package/docs/types/PlaneTag.html +6 -5
  275. package/docs/types/PlaneTagElement.html +6 -5
  276. package/docs/types/Point2DElement.html +6 -5
  277. package/docs/types/Point2DTag.html +6 -5
  278. package/docs/types/Point3DElement.html +6 -5
  279. package/docs/types/Point3DTag.html +6 -5
  280. package/docs/types/PointTag.html +6 -5
  281. package/docs/types/PointTagElement.html +6 -5
  282. package/docs/types/Position.html +6 -5
  283. package/docs/types/RotateArgs.html +6 -5
  284. package/docs/types/RotateOpts.html +6 -5
  285. package/docs/types/RuleLabelsKey.html +6 -5
  286. package/docs/types/RuleLabelsValue.html +6 -5
  287. package/docs/types/StickType.html +6 -5
  288. package/docs/types/Tag.html +6 -5
  289. package/docs/types/Tag2D.html +6 -5
  290. package/docs/types/Tag3D.html +6 -5
  291. package/docs/types/TagContentType.html +6 -5
  292. package/docs/types/TagDimensionType.html +6 -5
  293. package/docs/types/TagElement.html +6 -5
  294. package/docs/types/TagEvents.html +6 -5
  295. package/docs/types/TagGLTFObject.html +6 -5
  296. package/docs/types/TagHooks.html +6 -5
  297. package/docs/types/TagIconSize.html +6 -5
  298. package/docs/types/TagId.html +6 -5
  299. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  300. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  301. package/docs/types/WorkCode.html +6 -5
  302. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  303. package/docs/variables/PLUGIN.html +6 -5
  304. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  305. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  306. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  307. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  308. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  309. package/libs/CruisePlugin/Controller.js +222 -118
  310. package/libs/CruisePlugin/index.d.ts +2 -0
  311. package/libs/CruisePlugin/index.js +110 -5
  312. package/libs/CruisePlugin/typing/index.js +6 -0
  313. package/libs/CruisePlugin/typing.d.ts +32 -40
  314. package/libs/GuideLinePlugin/Components/Tag.js +49 -0
  315. package/libs/GuideLinePlugin/Controller.d.ts +2 -0
  316. package/libs/GuideLinePlugin/Controller.js +199 -85
  317. package/libs/GuideLinePlugin/GuideLineItem/index.js +109 -22
  318. package/libs/GuideLinePlugin/GuideLineItem.d.ts +6 -0
  319. package/libs/GuideLinePlugin/GuideLineItem.js +123 -4
  320. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +84 -53
  321. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +38 -5
  322. package/libs/GuideLinePlugin/GuideLineModeItem.js +106 -2
  323. package/libs/GuideLinePlugin/index.js +119 -7
  324. package/libs/GuideLinePlugin/typing.d.ts +33 -4
  325. package/libs/GuideLinePlugin/typing.js +34 -1
  326. package/libs/GuideLinePlugin/utils/createLineGeometry.js +19 -16
  327. package/libs/GuideLinePlugin/utils/index.js +17 -4
  328. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +92 -66
  329. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
  330. package/libs/PanoTagPlugin/controller/TagComputer.js +6 -0
  331. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +5 -5
  332. package/libs/PanoTagPlugin/controller/index.js +5 -5
  333. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +3 -1
  334. package/libs/base/BasePlugin.js +1 -1
  335. package/libs/index.js +120 -117
  336. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import t from "./Controller.js";
2
- import { GuideLineItem$1 as J } from "./GuideLineItem/index.js";
3
- import { GuideLineModeItem$1 as N } from "./GuideLineModeItem/index.js";
2
+ import { GuideLineItem$1 as Ro } from "./GuideLineItem/index.js";
3
+ import { GuideLineModeItem$1 as To } from "./GuideLineModeItem/index.js";
4
4
  import "../base/BasePluginWithData.js";
5
5
  import "../base/BasePlugin.js";
6
6
  import "../shared-utils/Subscribe.js";
@@ -30,13 +30,125 @@ import "polyline-normals";
30
30
  import "../shared-utils/uuid.js";
31
31
  import "../shared-utils/three/loadTexture.js";
32
32
  import "object-assign-deep";
33
+ import "@realsee/five/gltf-loader";
34
+ import "../vendor/svelte/internal/index.js";
35
+ import "../PanoTagPlugin/utils/device.js";
36
+ import "../shared-utils/threex/domevents/index.js";
37
+ import "animejs";
38
+ import "../PanoTagPlugin/utils/constants.js";
39
+ import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
40
+ import "lodash.get";
41
+ import "lodash.clonedeep";
42
+ import "lodash.isequal";
43
+ import "classnames";
44
+ import "../shared-utils/three/GLTFLoader.js";
45
+ import "../CruisePlugin/Controller.js";
46
+ import "./index.js";
47
+ import "../CruisePlugin/utils/coordinatesAngle.js";
48
+ import "../CruisePlugin/utils/coordinatesToVector.js";
49
+ import "../CruisePlugin/utils/safeCall.js";
50
+ import "../CruisePlugin/utils/vectorToCoordinates.js";
51
+ import "../CruisePlugin/utils/formatRad.js";
52
+ import "../CruisePlugin/utils/linerValue.js";
53
+ import "../CruisePlugin/utils/sleep.js";
33
54
  import "../shared-utils/log.js";
34
55
  import "./utils/createLineGeometry.js";
35
56
  import "../shared-utils/five/mode.js";
36
- const E = (i, o) => new t(i, o);
57
+ import "../PanoTagPlugin/controller/index.js";
58
+ import "../PanoTagPlugin/utils/addDebugPoints.js";
59
+ import "../PanoTagPlugin/utils/tag/tagCheck.js";
60
+ import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
61
+ import "../PanoTagPlugin/utils/debounce.js";
62
+ import "../PanoTagPlugin/utils/throttle.js";
63
+ import "../PanoTagPlugin/utils/resizeObserver.js";
64
+ import "../PanoTagPlugin/utils/tag/format.js";
65
+ import "../shared-utils/audio.js";
66
+ import "../PanoTagPlugin/controller/TagRender.js";
67
+ import "../PanoTagPlugin/controller/TagComputer.js";
68
+ import "../PanoTagPlugin/utils/tagPosition.js";
69
+ import "../PanoTagPlugin/utils/checkRange.js";
70
+ import "../shared-utils/isNil.js";
71
+ import "../PanoTagPlugin/controller/TagUtil.js";
72
+ import "../PanoTagPlugin/tag.config.js";
73
+ import "../PanoTagPlugin/utils/planeNormal.js";
74
+ import "../PanoTagPlugin/utils/normalPositionToPositions.js";
75
+ import "../PanoTagPlugin/controller/TagCache.js";
76
+ import "../vendor/svelte/store/index.js";
77
+ import "../PanoTagPlugin/Components/TagContainer.js";
78
+ import "../PanoTagPlugin/Components/TagItem.js";
79
+ import "../PanoTagPlugin/Components/Tag/index.js";
80
+ import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
81
+ import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
82
+ import "../PanoTagPlugin/Components/Common/Line/Straight.js";
83
+ import "../vendor/svelte/transition/index.js";
84
+ import "../vendor/svelte/easing/index.js";
85
+ import "../PanoTagPlugin/Components/Common/Shadow.js";
86
+ import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
87
+ import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
88
+ import "../PanoTagPlugin/utils/search.js";
89
+ import "../PanoTagPlugin/Components/Common/Arrow.js";
90
+ import "../PanoTagPlugin/Assets/Icon.js";
91
+ import "../PanoTagPlugin/utils/doUtil.js";
92
+ import "../shared-utils/svelte/resizeObserver.js";
93
+ import "../PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js";
94
+ import "../PanoTagPlugin/Components/Common/Text/MText.js";
95
+ import "../PanoTagPlugin/utils/px2rem.js";
96
+ import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
97
+ import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
98
+ import "../PanoTagPlugin/Components/Common/Media.js";
99
+ import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
100
+ import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
101
+ import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
102
+ import "../vendor/svelte-carousel/src/components/Arrow/Arrow.js";
103
+ import "../vendor/svelte-carousel/src/direction.js";
104
+ import "../vendor/svelte-carousel/src/components/Progress/Progress.js";
105
+ import "../vendor/svelte-carousel/src/actions/swipeable/swipeable.js";
106
+ import "../vendor/svelte-carousel/src/actions/swipeable/event.js";
107
+ import "../vendor/svelte-carousel/src/utils/event.js";
108
+ import "../vendor/svelte-carousel/src/units.js";
109
+ import "../vendor/svelte-carousel/src/actions/hoverable/hoverable.js";
110
+ import "../vendor/svelte-carousel/src/actions/hoverable/event.js";
111
+ import "../vendor/svelte-carousel/src/actions/tappable/tappable.js";
112
+ import "../vendor/svelte-carousel/src/utils/math.js";
113
+ import "../vendor/svelte-carousel/src/actions/tappable/event.js";
114
+ import "../vendor/svelte-carousel/src/utils/page.js";
115
+ import "../vendor/svelte-carousel/src/utils/clones.js";
116
+ import "../vendor/svelte-carousel/src/utils/object.js";
117
+ import "../vendor/svelte-carousel/src/components/Carousel/createCarousel.js";
118
+ import "../vendor/simply-reactive/src/simply-reactive.js";
119
+ import "../vendor/simply-reactive/src/utils/subscription.js";
120
+ import "../vendor/simply-reactive/src/utils/object.js";
121
+ import "../vendor/simply-reactive/src/utils/watcher.js";
122
+ import "../vendor/svelte-carousel/src/utils/lazy.js";
123
+ import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
124
+ import "../vendor/svelte-carousel/src/utils/interval.js";
125
+ import "../PanoTagPlugin/Components/Common/MediaItem.js";
126
+ import "../PanoTagPlugin/Components/Tag/MarketingTag.js";
127
+ import "../PanoTagPlugin/utils/noTypecheck.js";
128
+ import "../PanoTagPlugin/Components/Tag/AudioTag/index.js";
129
+ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js";
130
+ import "../PanoTagPlugin/Components/Common/Audio.js";
131
+ import "../PanoTagPlugin/utils/audio/SharedAudio.js";
132
+ import "../PanoTagPlugin/Components/Common/Icon/audioIcon.js";
133
+ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
134
+ import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
135
+ import "../PanoTagPlugin/Components/Tag/LinkTag.js";
136
+ import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
137
+ import "../PanoTagPlugin/utils/getImageInfo.js";
138
+ import "../PanoTagPlugin/Components/Tag/CustomTag.js";
139
+ import "../PanoTagPlugin/Components/Common/TagPoint.js";
140
+ import "../PanoTagPlugin/utils/model/imagePlane.js";
141
+ import "../CSS3DRenderPlugin/index.js";
142
+ import "../CSS3DRenderPlugin/Controller.js";
143
+ import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
144
+ import "./Components/Tag.js";
145
+ import "../shared-utils/to.js";
146
+ import "../shared-utils/five/changeMode.js";
147
+ import "../shared-utils/nearlyEqual.js";
148
+ const No = (i, o) => new t(i, o);
37
149
  export {
38
- J as GuideLineItem,
39
- N as GuideLineModeItem,
40
- E as GuideLinePlugin,
41
- E as default
150
+ Ro as GuideLineItem,
151
+ To as GuideLineModeItem,
152
+ No as GuideLinePlugin,
153
+ No as default
42
154
  };
@@ -1,6 +1,7 @@
1
1
  import type GuideLinePlugin from '.';
2
2
  import type { RequireAtLeastOne } from 'type-fest';
3
3
  import type * as BasePluginWithData from '../base/BasePluginWithData';
4
+ import { Tag } from '../PanoTagPlugin';
4
5
  export interface RouteConfig {
5
6
  arrowTextureUrl?: string;
6
7
  skipPanoIndexMesh?: boolean;
@@ -40,6 +41,14 @@ export interface EventMap extends BasePluginWithData.EventMap<PluginState, Plugi
40
41
  userAction: boolean;
41
42
  }) => void;
42
43
  }
44
+ export declare type GuideLineItemEventMap = {
45
+ walkStart: (options: {
46
+ userAction: boolean;
47
+ }) => void;
48
+ walkEnded: (options: {
49
+ userAction: boolean;
50
+ }) => void;
51
+ };
43
52
  export declare type GuideLinePluginExportType = ReturnType<typeof GuideLinePlugin>;
44
53
  export interface LineGeometriesConfig {
45
54
  /** 是否越过点位圆环。可以开启此选项来使越过点位,使其不会重叠显示 */
@@ -66,10 +75,22 @@ export declare type GuideLineItem = RequireAtLeastOne<{
66
75
  /** 路径:由多个曲线组合而成的路径,路径为空时,会使用 pano_group 自动创建 */
67
76
  path?: PathItem[];
68
77
  /** 全景态使用的数据 */
69
- panorama_style?: GuideLineStyle;
78
+ panorama_style?: PanoramaGuideLineStyle;
70
79
  /** 模型态使用的数据 */
71
- model_style?: GuideLineStyle;
80
+ model_style?: ModelGuideLineStyle;
72
81
  }, 'id' | 'render_id'>;
82
+ /** 全景路径样式 */
83
+ export interface PanoramaGuideLineStyle extends GuideLineStyle {
84
+ start_tag?: Tag;
85
+ end_tag?: Tag;
86
+ }
87
+ /** 模型路径样式 */
88
+ export interface ModelGuideLineStyle extends GuideLineStyle {
89
+ start_tag?: ModelGuideLineTag;
90
+ end_tag?: ModelGuideLineTag;
91
+ }
92
+ /** 不同模态下的路线数据 */
93
+ export declare type GuideLineStyle = GuideLineGeometryStyle & GuideLineMaterialStyle;
73
94
  /** 影响形状的样式 */
74
95
  export interface GuideLineGeometryStyle {
75
96
  /** scale 之前的路线宽度,默认值是 0.5 */
@@ -97,10 +118,18 @@ export interface GuideLineMaterialStyle {
97
118
  url: string;
98
119
  };
99
120
  }
100
- /** 不同模态下的路线数据 */
101
- export declare type GuideLineStyle = GuideLineGeometryStyle & GuideLineMaterialStyle;
121
+ /** 模型路线引导标签 */
122
+ export interface ModelGuideLineTag extends Tag<'Custom', '2DPoint'> {
123
+ position: number[];
124
+ data: {
125
+ text: string;
126
+ icon_url: string;
127
+ text_background_url: string;
128
+ };
129
+ }
102
130
  /** 目前只支持 CatmullRomCurve3 */
103
131
  export declare type PathItem = CatmullRomCurve3;
132
+ /** @link https://threejs.org/docs/index.html?q=cu#api/zh/extras/curves/CatmullRomCurve3 */
104
133
  export interface CatmullRomCurve3 {
105
134
  type: 'CatmullRomCurve3';
106
135
  points: number[][];
@@ -1 +1,34 @@
1
-
1
+ import "@realsee/five";
2
+ import "object-assign-deep";
3
+ import "three";
4
+ import "@realsee/five/gltf-loader";
5
+ import "../shared-utils/three/loadTexture.js";
6
+ import "hammerjs";
7
+ import "@tweenjs/tween.js";
8
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
9
+ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
10
+ import "../shared-utils/animationFrame/BetterTween.js";
11
+ import "../vendor/svelte/internal/index.js";
12
+ import "../PanoTagPlugin/utils/device.js";
13
+ import "../shared-utils/threex/domevents/index.js";
14
+ import "animejs";
15
+ import "../PanoTagPlugin/utils/constants.js";
16
+ import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
17
+ import "lodash.get";
18
+ import "lodash.clonedeep";
19
+ import "lodash.isequal";
20
+ import "classnames";
21
+ import "../shared-utils/three/GLTFLoader.js";
22
+ import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
23
+ import "three/examples/jsm/renderers/CSS3DRenderer";
24
+ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
25
+ import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
26
+ import "../CSS3DRenderPlugin/utils/even.js";
27
+ import "../shared-utils/Subscribe.js";
28
+ import "../CSS3DRenderPlugin/utils/positionToVector3.js";
29
+ import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
30
+ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
31
+ import "../shared-utils/three/centerPoint.js";
32
+ import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
33
+ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
34
+ import "../shared-utils/animationFrame/index.js";
@@ -1,23 +1,26 @@
1
1
  import * as n from "three";
2
- import { Vector3 as y } from "three";
3
- import z from "polyline-normals";
4
- const G = 2, M = 3, X = 3, k = 2;
2
+ import { Vector3 as P } from "three";
3
+ import G from "polyline-normals";
4
+ const z = 2, M = 3, X = 3, k = 2;
5
5
  function Y(e) {
6
- const i = e.width, g = e.unitLength / i, c = i / 2, P = e.path, f = new n.CurvePath();
7
- P.forEach((t) => {
6
+ const i = e.width, E = e.unitLength / i, c = i / 2, p = e.path;
7
+ if (p.length === 0)
8
+ return { geometry: new n.BufferGeometry(), maxU: 0 };
9
+ const h = new n.CurvePath();
10
+ p.forEach((t) => {
8
11
  const a = I(t);
9
- a && f.add(a);
12
+ a && h.add(a);
10
13
  });
11
- const x = Math.ceil(f.getLength() * 100), o = f.getPoints(x), p = o.length, L = z(o.map((t) => [t.x, t.z])), C = (p - 1) * G * M, d = 2 * p, B = d * X, T = d * k, r = new Uint32Array(C), s = new Float32Array(B), u = new Float32Array(T);
12
- let w = 0, N = 0;
14
+ const x = Math.ceil(h.getLength() * 100), o = h.getPoints(x), w = o.length, L = G(o.map((t) => [t.x, t.z])), B = (w - 1) * z * M, d = 2 * w, C = d * X, U = d * k, r = new Uint32Array(B), s = new Float32Array(C), u = new Float32Array(U);
15
+ let y = 0, N = 0;
13
16
  for (let t = 0; t < o.length; t++) {
14
- const [a, R] = L[t][0], U = o[t], { x: A, y: _, z: b } = U, m = new y(A + a * c, _ + 0.05, b + R * c);
17
+ const [a, R] = L[t][0], T = o[t], { x: A, y: _, z: b } = T, m = new P(A + a * c, _ + 0.05, b + R * c);
15
18
  s[t * 6 + 0] = m.x, s[t * 6 + 1] = m.y, s[t * 6 + 2] = m.z;
16
- const v = new y(A - a * c, _ + 0.05, b - R * c);
17
- s[t * 6 + 3] = v.x, s[t * 6 + 4] = v.y, s[t * 6 + 5] = v.z, w += t > 0 ? o[t - 1].clone().sub(o[t]).length() : 0;
18
- const h = w / i / g;
19
- if (N = h, u[t * 4 + 0] = 0, u[t * 4 + 1] = h, u[t * 4 + 2] = 1, u[t * 4 + 3] = h, e.skipPositions) {
20
- const V = new n.Vector3().lerpVectors(m, v, 0.5);
19
+ const f = new P(A - a * c, _ + 0.05, b - R * c);
20
+ s[t * 6 + 3] = f.x, s[t * 6 + 4] = f.y, s[t * 6 + 5] = f.z, y += t > 0 ? o[t - 1].clone().sub(o[t]).length() : 0;
21
+ const v = y / i / E;
22
+ if (N = v, u[t * 4 + 0] = 0, u[t * 4 + 1] = v, u[t * 4 + 2] = 1, u[t * 4 + 3] = v, e.skipPositions) {
23
+ const V = new n.Vector3().lerpVectors(m, f, 0.5);
21
24
  if (e.skipPositions.some((F) => F.distanceTo(V) < 0.26))
22
25
  continue;
23
26
  }
@@ -28,8 +31,8 @@ function Y(e) {
28
31
  }
29
32
  function I(e) {
30
33
  if (O(e)) {
31
- const i = [e.closed, e.curve_type, e.tension], E = e.points.map((c) => new n.Vector3().fromArray(c));
32
- return new n.CatmullRomCurve3(E, ...i);
34
+ const i = [e.closed, e.curve_type, e.tension], g = e.points.map((c) => new n.Vector3().fromArray(c));
35
+ return new n.CatmullRomCurve3(g, ...i);
33
36
  }
34
37
  }
35
38
  function O(e) {
@@ -7,6 +7,19 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
7
7
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
8
8
  import "../../shared-utils/animationFrame/BetterTween.js";
9
9
  import "../../shared-utils/three/loadTexture.js";
10
+ import "object-assign-deep";
11
+ import "@realsee/five/gltf-loader";
12
+ import "../../vendor/svelte/internal/index.js";
13
+ import "../../PanoTagPlugin/utils/device.js";
14
+ import "../../shared-utils/threex/domevents/index.js";
15
+ import "animejs";
16
+ import "../../PanoTagPlugin/utils/constants.js";
17
+ import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
18
+ import "lodash.get";
19
+ import "lodash.clonedeep";
20
+ import "lodash.isequal";
21
+ import "classnames";
22
+ import "../../shared-utils/three/GLTFLoader.js";
10
23
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
11
24
  import "three/examples/jsm/renderers/CSS3DRenderer";
12
25
  import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
@@ -20,13 +33,13 @@ import "../../shared-utils/three/centerPoint.js";
20
33
  import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
21
34
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
22
35
  import "../../shared-utils/animationFrame/index.js";
23
- function k(o) {
36
+ function O(o) {
24
37
  const t = o.data, m = o.item, r = o.mode === "panorama" ? t.panorama_style : t.model_style;
25
38
  if (!r)
26
39
  return;
27
- const e = t.path, p = r, i = r;
28
- t.path ? m.setGeometryByPath(e, p) : t.pano_group && m.setGeometryByPanoGroup(t.pano_group, p), m.setMartial(i);
40
+ const i = t.path, p = r, e = r;
41
+ t.path ? m.setGeometryByPath(i, p) : t.pano_group && m.setGeometryByPanoGroup(t.pano_group, p), m.setMartial(e);
29
42
  }
30
43
  export {
31
- k as updateGuideLineModeItemByData
44
+ O as updateGuideLineModeItemByData
32
45
  };
@@ -1,7 +1,7 @@
1
- import { SvelteComponent as F, init as M, safe_not_equal as U, append_styles as W, element as v, space as b, create_component as D, attr as h, set_style as j, toggle_class as y, insert as X, append as c, mount_component as I, listen as B, transition_in as R, transition_out as q, detach as E, destroy_component as A, getContext as G, bubble as H } from "../../../vendor/svelte/internal/index.js";
2
- import J from "./Shadow.js";
3
- import K from "./Icon/Icon.js";
4
- import { Image_Default_Point as N } from "../../Assets/Icon.js";
1
+ import { SvelteComponent as B, init as E, safe_not_equal as G, append_styles as H, empty as J, insert as W, transition_in as v, transition_out as T, check_outros as K, detach as X, getContext as O, element as j, space as L, create_component as F, attr as b, set_style as y, toggle_class as _, append as g, mount_component as M, listen as Q, destroy_component as N, group_outros as V, bubble as Y } from "../../../vendor/svelte/internal/index.js";
2
+ import Z from "./Shadow.js";
3
+ import x from "./Icon/Icon.js";
4
+ import { Image_Default_Point as ee } from "../../Assets/Icon.js";
5
5
  import "../../../vendor/svelte/transition/index.js";
6
6
  import "../../../vendor/svelte/easing/index.js";
7
7
  import "three";
@@ -10,100 +10,126 @@ import "@realsee/five/gltf-loader";
10
10
  import "../../../shared-utils/three/loadTexture.js";
11
11
  import "../../utils/getImageInfo.js";
12
12
  import "../../utils/px2rem.js";
13
- function O(t) {
14
- W(t, "svelte-1jkrwn7", '@charset "UTF-8";.tag-point-click-helper.svelte-1jkrwn7.svelte-1jkrwn7{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-1jkrwn7.svelte-1jkrwn7{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-1jkrwn7.svelte-1jkrwn7,.tag-unfolded-point.svelte-1jkrwn7.svelte-1jkrwn7{transition:all 0.5s}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:1;scale:1}');
13
+ function te(e) {
14
+ H(e, "svelte-1jkrwn7", '@charset "UTF-8";.tag-point-click-helper.svelte-1jkrwn7.svelte-1jkrwn7{position:absolute;pointer-events:auto;cursor:pointer;width:calc(100% + 0.75rem);height:calc(100% + 0.75rem);left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-1jkrwn7.svelte-1jkrwn7{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-1jkrwn7.svelte-1jkrwn7,.tag-unfolded-point.svelte-1jkrwn7.svelte-1jkrwn7{transition:all 0.5s}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:1;scale:1}.tag-point-wrapper.folded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:0;scale:1}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-folded-point.svelte-1jkrwn7{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-1jkrwn7 .tag-unfolded-point.svelte-1jkrwn7{opacity:1;scale:1}');
15
15
  }
16
- function Q(t) {
17
- let n, a, f, p, m, d, w, o, i, l, g, k;
18
- return p = new J({
16
+ function U(e) {
17
+ let t, l, n, o, a, f, w, u, r, s, c, h;
18
+ return o = new Z({
19
19
  props: {
20
20
  center: !0,
21
21
  blurRadius: 15,
22
22
  spreadRadius: 5,
23
23
  opacity: 0.3
24
24
  }
25
- }), i = new K({
25
+ }), r = new x({
26
26
  props: {
27
- icon: t[2],
28
- width: t[1]
27
+ icon: e[2],
28
+ width: e[1]
29
29
  }
30
- }), i.$on("iconLoaded", t[7]), {
30
+ }), r.$on("iconLoaded", e[8]), {
31
31
  c() {
32
- n = v("div"), a = v("div"), f = b(), D(p.$$.fragment), m = b(), d = v("div"), w = b(), o = v("div"), D(i.$$.fragment), h(a, "class", "tag-point-click-helper svelte-1jkrwn7"), h(d, "class", "tag-unfolded-point svelte-1jkrwn7"), j(d, "transition-delay", (t[3] ? t[5] : 0) + "ms"), h(o, "class", "tag-folded-point svelte-1jkrwn7"), j(o, "transition-delay", (t[3] ? t[5] : 0) + "ms"), h(n, "class", "tag-point-wrapper svelte-1jkrwn7"), y(n, "unfolded", t[0]), y(n, "folded", t[3]);
32
+ t = j("div"), l = j("div"), n = L(), F(o.$$.fragment), a = L(), f = j("div"), w = L(), u = j("div"), F(r.$$.fragment), b(l, "class", "tag-point-click-helper svelte-1jkrwn7"), b(f, "class", "tag-unfolded-point svelte-1jkrwn7"), y(f, "transition-delay", (e[3] ? e[6] : 0) + "ms"), b(u, "class", "tag-folded-point svelte-1jkrwn7"), y(u, "transition-delay", (e[3] ? e[6] : 0) + "ms"), b(t, "class", "tag-point-wrapper svelte-1jkrwn7"), _(t, "unfolded", e[0]), _(t, "folded", e[3]);
33
33
  },
34
- m(e, s) {
35
- X(e, n, s), c(n, a), c(n, f), I(p, n, null), c(n, m), c(n, d), c(n, w), c(n, o), I(i, o, null), l = !0, g || (k = B(a, "click", t[4]), g = !0);
34
+ m(i, p) {
35
+ W(i, t, p), g(t, l), g(t, n), M(o, t, null), g(t, a), g(t, f), g(t, w), g(t, u), M(r, u, null), s = !0, c || (h = Q(l, "click", e[5]), c = !0);
36
36
  },
37
- p(e, [s]) {
38
- s & 8 && j(d, "transition-delay", (e[3] ? e[5] : 0) + "ms");
39
- const r = {};
40
- s & 4 && (r.icon = e[2]), s & 2 && (r.width = e[1]), i.$set(r), s & 8 && j(o, "transition-delay", (e[3] ? e[5] : 0) + "ms"), (!l || s & 1) && y(n, "unfolded", e[0]), (!l || s & 8) && y(n, "folded", e[3]);
37
+ p(i, p) {
38
+ p & 8 && y(f, "transition-delay", (i[3] ? i[6] : 0) + "ms");
39
+ const k = {};
40
+ p & 4 && (k.icon = i[2]), p & 2 && (k.width = i[1]), r.$set(k), p & 8 && y(u, "transition-delay", (i[3] ? i[6] : 0) + "ms"), (!s || p & 1) && _(t, "unfolded", i[0]), (!s || p & 8) && _(t, "folded", i[3]);
41
41
  },
42
- i(e) {
43
- l || (R(p.$$.fragment, e), R(i.$$.fragment, e), l = !0);
42
+ i(i) {
43
+ s || (v(o.$$.fragment, i), v(r.$$.fragment, i), s = !0);
44
44
  },
45
- o(e) {
46
- q(p.$$.fragment, e), q(i.$$.fragment, e), l = !1;
45
+ o(i) {
46
+ T(o.$$.fragment, i), T(r.$$.fragment, i), s = !1;
47
47
  },
48
- d(e) {
49
- e && E(n), A(p), A(i), g = !1, k();
48
+ d(i) {
49
+ i && X(t), N(o), N(r), c = !1, h();
50
50
  }
51
51
  };
52
52
  }
53
- function V(t, n, a) {
54
- let f, p, m, d;
55
- const w = G("hooks");
56
- let { tag: o } = n, i, l = !1;
57
- const g = () => {
58
- i !== void 0 && clearTimeout(i), l = !0, i = setTimeout(
53
+ function ne(e) {
54
+ let t, l, n = e[4] && U(e);
55
+ return {
56
+ c() {
57
+ n && n.c(), t = J();
58
+ },
59
+ m(o, a) {
60
+ n && n.m(o, a), W(o, t, a), l = !0;
61
+ },
62
+ p(o, [a]) {
63
+ o[4] ? n ? (n.p(o, a), a & 16 && v(n, 1)) : (n = U(o), n.c(), v(n, 1), n.m(t.parentNode, t)) : n && (V(), T(n, 1, 1, () => {
64
+ n = null;
65
+ }), K());
66
+ },
67
+ i(o) {
68
+ l || (v(n), l = !0);
69
+ },
70
+ o(o) {
71
+ T(n), l = !1;
72
+ },
73
+ d(o) {
74
+ n && n.d(o), o && X(t);
75
+ }
76
+ };
77
+ }
78
+ function oe(e, t, l) {
79
+ let n, o, a, f, w;
80
+ const u = O("hooks");
81
+ let { tag: r } = t, s, c = !1;
82
+ const h = () => {
83
+ r.style.point.enabled !== !1 && (s !== void 0 && clearTimeout(s), c = !0, s = setTimeout(
59
84
  () => {
60
- l = !1;
85
+ c = !1;
61
86
  },
62
87
  800
63
- );
64
- }, k = (r) => {
65
- l || w.emit("click", { event: r, target: "TagPoint", tag: o });
66
- }, e = (() => o.contentType === "Text" && o.data.appearance === "plane" ? 500 : 800)();
67
- function s(r) {
68
- H.call(this, t, r);
88
+ ));
89
+ }, i = (d) => {
90
+ r.style.point.enabled !== !1 && (c || u.emit("click", { event: d, target: "TagPoint", tag: r }));
91
+ }, p = (() => r.contentType === "Text" && r.data.appearance === "plane" ? 500 : 800)();
92
+ function k(d) {
93
+ Y.call(this, e, d);
69
94
  }
70
- return t.$$set = (r) => {
71
- "tag" in r && a(6, o = r.tag);
72
- }, t.$$.update = () => {
73
- var r, _, T, L;
74
- t.$$.dirty & 64 && a(0, f = (r = o.state) == null ? void 0 : r.unfolded), t.$$.dirty & 1 && a(3, p = !f), t.$$.dirty & 64 && a(2, m = (T = (_ = o.style) == null ? void 0 : _.point) != null && T.url ? (L = o.style) == null ? void 0 : L.point : { url: N }), t.$$.dirty & 64 && a(1, d = (() => {
75
- var $, z, C, S;
76
- const P = (z = ($ = o.style) == null ? void 0 : $.point) == null ? void 0 : z.width;
77
- if (typeof P == "number")
78
- return P;
79
- const u = (S = (C = o.style) == null ? void 0 : C.point) == null ? void 0 : S.size;
80
- if (typeof u == "number")
81
- return u;
82
- if (u === "S")
95
+ return e.$$set = (d) => {
96
+ "tag" in d && l(7, r = d.tag);
97
+ }, e.$$.update = () => {
98
+ var d, P, z, C, S, D;
99
+ e.$$.dirty & 128 && l(4, n = ((P = (d = r.style) == null ? void 0 : d.point) == null ? void 0 : P.enabled) !== !1), e.$$.dirty & 128 && l(0, o = (z = r.state) == null ? void 0 : z.unfolded), e.$$.dirty & 1 && l(3, a = !o), e.$$.dirty & 128 && l(2, f = (S = (C = r.style) == null ? void 0 : C.point) != null && S.url ? (D = r.style) == null ? void 0 : D.point : { url: ee }), e.$$.dirty & 128 && l(1, w = (() => {
100
+ var R, $, q, A;
101
+ const I = ($ = (R = r.style) == null ? void 0 : R.point) == null ? void 0 : $.width;
102
+ if (typeof I == "number")
103
+ return I;
104
+ const m = (A = (q = r.style) == null ? void 0 : q.point) == null ? void 0 : A.size;
105
+ if (typeof m == "number")
106
+ return m;
107
+ if (m === "S")
83
108
  return 18;
84
- if (u === "M")
109
+ if (m === "M")
85
110
  return 20;
86
- if (u === "L")
111
+ if (m === "L")
87
112
  return 24;
88
- if (u === "XL")
113
+ if (m === "XL")
89
114
  return 28;
90
115
  })());
91
- }, g(), [
116
+ }, h(), [
117
+ o,
118
+ w,
92
119
  f,
93
- d,
94
- m,
120
+ a,
121
+ n,
122
+ i,
95
123
  p,
96
- k,
97
- e,
98
- o,
99
- s
124
+ r,
125
+ k
100
126
  ];
101
127
  }
102
- class pt extends F {
103
- constructor(n) {
104
- super(), M(this, n, V, Q, U, { tag: 6 }, O);
128
+ class we extends B {
129
+ constructor(t) {
130
+ super(), E(this, t, oe, ne, G, { tag: 7 }, te);
105
131
  }
106
132
  }
107
133
  export {
108
- pt as default
134
+ we as default
109
135
  };
@@ -34,6 +34,7 @@ export declare abstract class TagComputer extends TagUtil {
34
34
  * @description: 一个点的标签
35
35
  */
36
36
  protected setPointTagPosition(): void;
37
+ protected setVisible(): void;
37
38
  protected setVisibleByPanoIndex(): void;
38
39
  protected setModelMedialVisible(): void;
39
40
  protected setUnfoldedByPanoIndex(): void;
@@ -237,6 +237,12 @@ class ge extends S {
237
237
  i.pointTagStyle = { leftPercent: (n.x + 1) / 2 * 100, topPercent: (-n.y + 1) / 2 * 100 };
238
238
  });
239
239
  }
240
+ setVisible() {
241
+ this.tags.forEach((e) => {
242
+ const i = this.getVisible(e);
243
+ e.state && (e.state.visible = i);
244
+ });
245
+ }
240
246
  setVisibleByPanoIndex() {
241
247
  this.tags.forEach((e) => {
242
248
  const i = this.getVisibleByPanoIndex(e);
@@ -31,7 +31,7 @@ export declare abstract class TagUtil extends TagCache {
31
31
  * @description: 获取merge后的配置
32
32
  * TODO: 缓存
33
33
  */
34
- getTagConfig(tag: Tag<any, any>): TagConfig<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown", StickType>;
34
+ getTagConfig(tag: Tag<any, any>): TagConfig<"Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown", StickType>;
35
35
  protected loadVideoFirstFrame(): void;
36
36
  protected updateTagConfig(params?: {
37
37
  force?: boolean;
@@ -50,12 +50,12 @@ export declare abstract class TagUtil extends TagCache {
50
50
  protected preventWhenMouseDown: () => false | void;
51
51
  protected addObjectClickHandler(tag: TagElement, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
52
52
  protected getTagNormal(tag: TagElement<any, 'Plane'> | TagElement<any, 'Model'> | TagElement<any, '3DPoint'>): THREE.Vector3;
53
- protected get filterPointTag(): PointTagElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
54
- protected get filter2DPointTag(): Point2DElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
55
- protected get filter3DPointTag(): Point3DElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
53
+ protected get filterPointTag(): PointTagElement<"Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
54
+ protected get filter2DPointTag(): Point2DElement<"Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
55
+ protected get filter3DPointTag(): Point3DElement<"Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
56
56
  protected get filterImagePlane(): PlaneTagElement<"MediaPlane">[];
57
57
  protected get filterMediaModel(): ModelElement<"MediaModel">[];
58
- protected get filterModelTag(): ModelElement<"Image" | "Link" | "Audio" | "Text" | "ImageText" | "Video" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
58
+ protected get filterModelTag(): ModelElement<"Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Custom" | "Unknown">[];
59
59
  protected get filterCSS3DTag(): (TagElement<any, "Plane"> | TagElement<any, "Model"> | TagElement<any, "3DPoint">)[];
60
60
  /**
61
61
  * @description 检查是否已经销毁