@realsee/dnalogel 3.66.0-alpha.4 → 3.66.0-alpha.6

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 (455) hide show
  1. package/dist/index.cjs.js +36 -36
  2. package/dist/index.js +3988 -3989
  3. package/dist/index.umd.js +48 -48
  4. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  5. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  6. package/docs/classes/CSS3DRender.html +2 -2
  7. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  8. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  9. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  10. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  11. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  12. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  13. package/docs/classes/ModelRoomLabelController.html +2 -2
  14. package/docs/classes/MoveController.html +2 -2
  15. package/docs/classes/Object3DHelperController.html +2 -2
  16. package/docs/classes/PaintBrush.html +2 -2
  17. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  18. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  19. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  20. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  21. package/docs/classes/PanoTagPluginController.html +2 -2
  22. package/docs/classes/Sculpt.html +2 -2
  23. package/docs/classes/Util.BetterTween.html +2 -2
  24. package/docs/classes/Util.FiveDomEvents.html +2 -2
  25. package/docs/classes/Util.FivePuppet.html +2 -2
  26. package/docs/classes/Util.Interval.html +2 -2
  27. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  28. package/docs/classes/Util.LightTag.html +2 -2
  29. package/docs/classes/Util.LineSegments.html +2 -2
  30. package/docs/classes/Util.Magnifier.html +2 -2
  31. package/docs/classes/Util.Object3D.html +2 -2
  32. package/docs/classes/Util.PointDomHelper.html +2 -2
  33. package/docs/classes/Util.PointHelper.html +2 -2
  34. package/docs/classes/Util.PointSelector.html +2 -2
  35. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  36. package/docs/classes/Util.Rectangle.html +2 -2
  37. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  38. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  39. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  40. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  41. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  42. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  43. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  44. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  45. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  46. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  47. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  48. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  49. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  50. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  51. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  52. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  53. package/docs/classes/WalkController.html +2 -2
  54. package/docs/enums/CameraMovementEffect.html +2 -2
  55. package/docs/enums/ContentType.html +2 -2
  56. package/docs/enums/DIRECTION.html +2 -2
  57. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  58. package/docs/enums/DimensionType.html +2 -2
  59. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  60. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  61. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  62. package/docs/enums/PointType.html +2 -2
  63. package/docs/enums/Rotation.html +2 -2
  64. package/docs/functions/AreaMakerPlugin.html +1 -1
  65. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  66. package/docs/functions/CameraMovementPlugin.html +2 -2
  67. package/docs/functions/CruisePlugin.html +1 -1
  68. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  69. package/docs/functions/GuideLinePlugin.html +1 -1
  70. package/docs/functions/ItemLabelPlugin.html +1 -1
  71. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  72. package/docs/functions/MeasurePlugin.html +1 -1
  73. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  74. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  75. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  76. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  77. package/docs/functions/ModelMakerPlugin.html +1 -1
  78. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  79. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  80. package/docs/functions/ModelViewPlugin.html +2 -2
  81. package/docs/functions/MovePlugin.html +1 -1
  82. package/docs/functions/Object3DHelperPlugin.html +1 -1
  83. package/docs/functions/PanoCompassPlugin.html +1 -1
  84. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  85. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  86. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  87. package/docs/functions/PanoMeasurePlugin.html +1 -1
  88. package/docs/functions/PanoRulerPlugin.html +2 -2
  89. package/docs/functions/PanoRulerProPlugin.html +2 -2
  90. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  91. package/docs/functions/PanoTagPlugin.html +1 -1
  92. package/docs/functions/PanoVideoPlugin.html +2 -2
  93. package/docs/functions/PipelinePlugin.html +1 -1
  94. package/docs/functions/SculptPlugin.html +2 -2
  95. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  96. package/docs/functions/Util.absoluteUrl.html +2 -2
  97. package/docs/functions/Util.awaitNextFrame.html +1 -1
  98. package/docs/functions/Util.blink.html +2 -2
  99. package/docs/functions/Util.bounding.html +1 -1
  100. package/docs/functions/Util.boundingBox.html +1 -1
  101. package/docs/functions/Util.boundingSphere.html +1 -1
  102. package/docs/functions/Util.boxVertex.html +2 -2
  103. package/docs/functions/Util.boxVertexes.html +1 -1
  104. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  105. package/docs/functions/Util.convexHull.html +2 -2
  106. package/docs/functions/Util.equal.html +2 -2
  107. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  108. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  109. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  110. package/docs/functions/Util.getFrameTime.html +2 -2
  111. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  112. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  113. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  114. package/docs/functions/Util.inside.html +1 -1
  115. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  116. package/docs/functions/Util.isModelLike.html +1 -1
  117. package/docs/functions/Util.isNil.html +2 -2
  118. package/docs/functions/Util.isPanoramaLike.html +1 -1
  119. package/docs/functions/Util.lookObject.html +2 -2
  120. package/docs/functions/Util.lookPoint.html +2 -2
  121. package/docs/functions/Util.nextFrame.html +1 -1
  122. package/docs/functions/Util.notNil.html +2 -2
  123. package/docs/functions/Util.reblink.html +2 -2
  124. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  125. package/docs/functions/Util.sculpt.createBox.html +1 -1
  126. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  127. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  128. package/docs/functions/Util.sculpt.createLine.html +2 -2
  129. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  130. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  131. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  132. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  133. package/docs/functions/Util.tag.html +1 -1
  134. package/docs/functions/Util.tweenProgress.html +1 -1
  135. package/docs/functions/Util.uuid.html +2 -2
  136. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  137. package/docs/functions/Util.worldBounding.html +1 -1
  138. package/docs/functions/Util.worldBoundingBox.html +1 -1
  139. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  140. package/docs/functions/createPolyline.html +2 -2
  141. package/docs/functions/pluginFlag.html +1 -1
  142. package/docs/hierarchy.html +1 -1
  143. package/docs/index.html +2 -2
  144. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  145. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  146. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  147. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  148. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  149. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  150. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  151. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  152. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  153. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  154. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  155. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  156. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  157. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  158. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  159. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  160. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  161. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  162. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  163. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  164. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  165. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  166. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  167. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  168. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  169. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  170. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  171. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  172. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  173. package/docs/interfaces/FloorplanBounding.html +2 -2
  174. package/docs/interfaces/FloorplanData.html +2 -2
  175. package/docs/interfaces/FloorplanEntrance.html +2 -2
  176. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  177. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  178. package/docs/interfaces/FloorplanFloorData.html +2 -2
  179. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  180. package/docs/interfaces/FloorplanObserver.html +2 -2
  181. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  182. package/docs/interfaces/FloorplanPosition.html +2 -2
  183. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  184. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  185. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  186. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  187. package/docs/interfaces/FloorplanServerData.html +2 -2
  188. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  189. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  190. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  191. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  192. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  193. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  194. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  195. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  196. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  197. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  198. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  199. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  200. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  201. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  202. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  203. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  204. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  205. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  206. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  207. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  208. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  209. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  210. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  211. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  212. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  213. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  214. package/docs/interfaces/HelperOffset.html +2 -2
  215. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  216. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  217. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  218. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  219. package/docs/interfaces/MinMax.html +2 -2
  220. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  221. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  222. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  223. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  224. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  225. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  226. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  227. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  228. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  229. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  230. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  231. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  232. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  233. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  234. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  235. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  236. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  237. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  238. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  239. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  240. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  241. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  242. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  243. package/docs/interfaces/Object3DHelperState.html +2 -2
  244. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  245. package/docs/interfaces/PaintBrushAction.html +2 -2
  246. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  247. package/docs/interfaces/PaintBrushState.html +2 -2
  248. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  249. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  250. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  251. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  252. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  253. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  254. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  255. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  256. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  257. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  258. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  259. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  260. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  261. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  262. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  263. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  264. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  265. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  266. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  267. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  268. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  269. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  270. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  271. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  272. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  273. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  274. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  275. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  276. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  277. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  278. package/docs/interfaces/PluginEventMap.html +2 -2
  279. package/docs/interfaces/Point.html +2 -2
  280. package/docs/interfaces/Room.html +2 -2
  281. package/docs/interfaces/RoomInfo.html +2 -2
  282. package/docs/interfaces/RoomLabel.html +2 -2
  283. package/docs/interfaces/RoomRules.html +1 -1
  284. package/docs/interfaces/Rooms.html +1 -1
  285. package/docs/interfaces/Scissor.html +2 -2
  286. package/docs/interfaces/State.html +2 -2
  287. package/docs/interfaces/TagCacheInterface.html +2 -2
  288. package/docs/interfaces/TagConfig.html +2 -2
  289. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  290. package/docs/interfaces/TagIconUrl.html +2 -2
  291. package/docs/interfaces/TagObjectGroup.html +2 -2
  292. package/docs/interfaces/TagStyle.html +2 -2
  293. package/docs/interfaces/Tags.html +2 -2
  294. package/docs/interfaces/TemporaryState.html +2 -2
  295. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  296. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  297. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  298. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  299. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  300. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  301. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  302. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  303. package/docs/interfaces/Util.PointIntersection.html +2 -2
  304. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  305. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  306. package/docs/modules/AreaMakerPluginType.html +2 -2
  307. package/docs/modules/CruisePluginTypes.html +2 -2
  308. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  309. package/docs/modules/GuideLineItem.html +2 -2
  310. package/docs/modules/GuideLineModeItem.html +2 -2
  311. package/docs/modules/GuideLinePluginType.html +2 -2
  312. package/docs/modules/ModelMakerPluginType.html +2 -2
  313. package/docs/modules/PanoVideoPluginType.html +2 -2
  314. package/docs/modules/SculptData.html +2 -2
  315. package/docs/modules/SculptType.html +2 -2
  316. package/docs/modules/Util.html +2 -2
  317. package/docs/modules/Util.sculpt.html +2 -2
  318. package/docs/modules.html +2 -2
  319. package/docs/types/AddObject3DHelperConfig.html +2 -2
  320. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  321. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  322. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  323. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  324. package/docs/types/ArrayPosition.html +1 -1
  325. package/docs/types/AudioAppearance.html +1 -1
  326. package/docs/types/CSS3DRenderExportType.html +1 -1
  327. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  328. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  329. package/docs/types/ClassFunctionParameters.html +1 -1
  330. package/docs/types/Color.html +1 -1
  331. package/docs/types/ContentTypeConfigKey.html +1 -1
  332. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  333. package/docs/types/ContentTypeMap.html +1 -1
  334. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  335. package/docs/types/Create3DElementReturnType.html +1 -1
  336. package/docs/types/CruisePluginExportType.html +1 -1
  337. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  338. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  339. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  340. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  341. package/docs/types/DeprecatedTagProperty.html +2 -2
  342. package/docs/types/Direction-1.html +1 -1
  343. package/docs/types/Direction4.html +1 -1
  344. package/docs/types/ElementRenderer.html +2 -2
  345. package/docs/types/FloorplanRuleLabels.html +2 -2
  346. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  347. package/docs/types/GuideLinePluginExportType.html +1 -1
  348. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  349. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  350. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  351. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  352. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  353. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  354. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  355. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  356. package/docs/types/HelperEventMap.html +1 -1
  357. package/docs/types/InternalHelperEventMap.html +1 -1
  358. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  359. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  360. package/docs/types/MeasurePluginConfig.html +1 -1
  361. package/docs/types/MediaData.html +2 -2
  362. package/docs/types/MediaStore.html +1 -1
  363. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  364. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  365. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  366. package/docs/types/ModelId.html +1 -1
  367. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  368. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  369. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  370. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  371. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  372. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  373. package/docs/types/MoveArgs.html +2 -2
  374. package/docs/types/MoveOpts.html +2 -2
  375. package/docs/types/Object3DHelperEventMap.html +1 -1
  376. package/docs/types/ObjectFit.html +1 -1
  377. package/docs/types/PaintBrushEventMap.html +1 -1
  378. package/docs/types/PanoCompassPluginData.html +1 -1
  379. package/docs/types/PanoCompassPluginExportType.html +1 -1
  380. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  381. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  382. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  383. package/docs/types/PanoIndex.html +1 -1
  384. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  385. package/docs/types/PanoMeasureReturnType.html +1 -1
  386. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  387. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  388. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  389. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  390. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  391. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  392. package/docs/types/PipelinePluginParameterType.html +1 -1
  393. package/docs/types/PipelinePluginReturnType.html +1 -1
  394. package/docs/types/PlaneTag.html +2 -2
  395. package/docs/types/Point2DTag.html +2 -2
  396. package/docs/types/Point3DTag.html +2 -2
  397. package/docs/types/PointTagInstance.html +1 -1
  398. package/docs/types/Position.html +1 -1
  399. package/docs/types/PositionFrom.html +1 -1
  400. package/docs/types/RotateArgs.html +2 -2
  401. package/docs/types/RotateOpts.html +2 -2
  402. package/docs/types/RuleLabelsKey.html +1 -1
  403. package/docs/types/RuleLabelsValue.html +1 -1
  404. package/docs/types/ScaleCallback.html +1 -1
  405. package/docs/types/ScalePosition.html +2 -2
  406. package/docs/types/SculptData.BoxData.html +1 -1
  407. package/docs/types/SculptData.CircleData.html +1 -1
  408. package/docs/types/SculptData.CylinderData.html +1 -1
  409. package/docs/types/SculptData.PointData.html +1 -1
  410. package/docs/types/SculptData.PolygonData.html +1 -1
  411. package/docs/types/SculptData.PolylineData.html +1 -1
  412. package/docs/types/SculptData.PrismData.html +1 -1
  413. package/docs/types/SculptData.RectangleData.html +1 -1
  414. package/docs/types/SculptType.Theme.html +2 -2
  415. package/docs/types/StickType.html +1 -1
  416. package/docs/types/Tag.html +2 -2
  417. package/docs/types/Tag2D.html +2 -2
  418. package/docs/types/Tag3D.html +2 -2
  419. package/docs/types/TagClickParams.html +1 -1
  420. package/docs/types/TagConfigByKey.html +1 -1
  421. package/docs/types/TagContentType.html +1 -1
  422. package/docs/types/TagContentTypeMapping.html +1 -1
  423. package/docs/types/TagDimensionType.html +1 -1
  424. package/docs/types/TagElement.html +2 -2
  425. package/docs/types/TagEvents.html +1 -1
  426. package/docs/types/TagGLTFObject.html +1 -1
  427. package/docs/types/TagHooks.html +1 -1
  428. package/docs/types/TagId.html +1 -1
  429. package/docs/types/TagInstance.html +1 -1
  430. package/docs/types/TagPlacement.html +2 -2
  431. package/docs/types/TagPointType.html +2 -2
  432. package/docs/types/TagRendererMap.html +1 -1
  433. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  434. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  435. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  436. package/docs/types/Util.AdherePoint.html +2 -2
  437. package/docs/types/Util.PointSelectorConfig.html +1 -1
  438. package/docs/types/WorkCode.html +1 -1
  439. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  440. package/docs/variables/PLUGIN.html +1 -1
  441. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  442. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  443. package/docs/variables/Util.animeMap.html +1 -1
  444. package/docs/variables/defaultGlobalConfig.html +1 -1
  445. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  446. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  447. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  448. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +18 -18
  449. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +333 -329
  450. package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +151 -180
  451. package/libs/PanoTagPlugin/Components/TagContainer.js +129 -114
  452. package/libs/PanoTagPlugin/Components/TagItem.js +199 -190
  453. package/libs/base/BasePlugin.js +1 -1
  454. package/libs/shared-utils/logger.js +1 -1
  455. package/package.json +1 -1
@@ -1,32 +1,32 @@
1
- var dt = Object.defineProperty;
2
- var J = Object.getOwnPropertySymbols;
3
- var bt = Object.prototype.hasOwnProperty, wt = Object.prototype.propertyIsEnumerable;
4
- var K = (t, r, e) => r in t ? dt(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e, Q = (t, r) => {
1
+ var bt = Object.defineProperty;
2
+ var G = Object.getOwnPropertySymbols;
3
+ var wt = Object.prototype.hasOwnProperty, _t = Object.prototype.propertyIsEnumerable;
4
+ var J = (t, r, e) => r in t ? bt(t, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[r] = e, K = (t, r) => {
5
5
  for (var e in r || (r = {}))
6
- bt.call(r, e) && K(t, e, r[e]);
7
- if (J)
8
- for (var e of J(r))
9
- wt.call(r, e) && K(t, e, r[e]);
6
+ wt.call(r, e) && J(t, e, r[e]);
7
+ if (G)
8
+ for (var e of G(r))
9
+ _t.call(r, e) && J(t, e, r[e]);
10
10
  return t;
11
11
  };
12
- var U = (t, r, e) => new Promise((i, n) => {
13
- var s = (h) => {
12
+ var Q = (t, r, e) => new Promise((i, n) => {
13
+ var s = (c) => {
14
14
  try {
15
- m(e.next(h));
16
- } catch (k) {
17
- n(k);
15
+ m(e.next(c));
16
+ } catch (_) {
17
+ n(_);
18
18
  }
19
- }, v = (h) => {
19
+ }, w = (c) => {
20
20
  try {
21
- m(e.throw(h));
22
- } catch (k) {
23
- n(k);
21
+ m(e.throw(c));
22
+ } catch (_) {
23
+ n(_);
24
24
  }
25
- }, m = (h) => h.done ? i(h.value) : Promise.resolve(h.value).then(s, v);
25
+ }, m = (c) => c.done ? i(c.value) : Promise.resolve(c.value).then(s, w);
26
26
  m((e = e.apply(t, r)).next());
27
27
  });
28
- import { SvelteComponent as _t, init as vt, safe_not_equal as kt, append_styles as yt, empty as Pt, insert as tt, transition_in as O, transition_out as H, check_outros as Tt, detach as et, getContext as Ct, onMount as St, element as X, create_component as jt, attr as M, set_style as z, append as Rt, mount_component as zt, listen as B, add_render_callback as Et, create_bidirectional_transition as Y, destroy_component as Mt, run_all as Dt, group_outros as Ot, tick as At, bubble as Z, binding_callbacks as Bt } from "../../../../vendor/svelte/internal/index.js";
29
- import { cubicOut as W } from "../../../../vendor/svelte/easing/index.js";
28
+ import { SvelteComponent as vt, init as yt, safe_not_equal as kt, append_styles as Pt, empty as Ct, insert as $, transition_in as D, transition_out as W, check_outros as Tt, detach as tt, getContext as Et, onMount as St, element as U, create_component as jt, attr as j, set_style as T, append as Mt, mount_component as At, listen as L, add_render_callback as Rt, create_bidirectional_transition as X, destroy_component as zt, run_all as Dt, group_outros as Bt, tick as Ht, bubble as Y, binding_callbacks as Lt } from "../../../../vendor/svelte/internal/index.js";
29
+ import { cubicOut as F } from "../../../../vendor/svelte/easing/index.js";
30
30
  import "../../../../shared-utils/tag.js";
31
31
  import "three";
32
32
  import "../../../../vendor/hammerjs/hammer.js";
@@ -34,14 +34,14 @@ import "../../../../shared-utils/three/PointSelector/index.js";
34
34
  import "../../../../shared-utils/three/CSS3DRenderer/index.js";
35
35
  import "../../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
36
36
  import "@realsee/five/line";
37
- import { notNil as x } from "../../../../shared-utils/isNil.js";
37
+ import { notNil as Z } from "../../../../shared-utils/isNil.js";
38
38
  import "../../../../shared-utils/three/core/Five_LineMaterial2.js";
39
39
  import "../../../../shared-utils/three/core/Sphere.js";
40
40
  import "../../../../vendor/animejs/lib/anime.es.js";
41
41
  import "../../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
42
42
  import "../../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
43
43
  import "../../../../shared-utils/five/FivePuppet.js";
44
- import Ht from "./PopoverContent.js";
44
+ import Wt from "./PopoverContent.js";
45
45
  import "../../../../shared-utils/positionToVector3.js";
46
46
  import "../../../../shared-utils/five/vector3ToScreen.js";
47
47
  import "../../../../shared-utils/five/getFiveModel.js";
@@ -99,12 +99,12 @@ import "./PanoramaIcon.js";
99
99
  import "./TagPopoverToolBar.js";
100
100
  import "./ArrowRightIcon.js";
101
101
  import "./ShareIcon.js";
102
- function Wt(t) {
103
- yt(t, "svelte-rrnjf1", ".tag-popover.svelte-rrnjf1{position:absolute;z-index:1031;pointer-events:auto;width:0;height:0;padding:0;margin:0;visibility:visible;opacity:1}.tag-popover-content.svelte-rrnjf1{cursor:pointer;pointer-events:auto}");
102
+ function Ft(t) {
103
+ Pt(t, "svelte-rrnjf1", ".tag-popover.svelte-rrnjf1{position:absolute;z-index:1031;pointer-events:auto;width:0;height:0;padding:0;margin:0;visibility:visible;opacity:1}.tag-popover-content.svelte-rrnjf1{cursor:pointer;pointer-events:auto}");
104
104
  }
105
- function $(t) {
106
- let r, e, i, n, s, v, m, h, k;
107
- return i = new Ht({
105
+ function x(t) {
106
+ let r, e, i, n, s, w, m, c, _;
107
+ return i = new Wt({
108
108
  props: {
109
109
  showArrow: (
110
110
  /*showArrow*/
@@ -153,95 +153,95 @@ function $(t) {
153
153
  t[15]
154
154
  ), {
155
155
  c() {
156
- r = X("div"), e = X("div"), jt(i.$$.fragment), M(e, "class", "tag-popover-content svelte-rrnjf1"), M(r, "class", s = "tag-popover tag-popover-" + /*effectiveTheme*/
156
+ r = U("div"), e = U("div"), jt(i.$$.fragment), j(e, "class", "tag-popover-content svelte-rrnjf1"), j(r, "class", s = "tag-popover tag-popover-" + /*effectiveTheme*/
157
157
  t[11] + " tag-popover-" + /*adjustedPlacement*/
158
- t[3] + " svelte-rrnjf1"), M(r, "data-tag-id", v = /*tag*/
159
- t[0].id), z(
158
+ t[3] + " svelte-rrnjf1"), j(r, "data-tag-id", w = /*tag*/
159
+ t[0].id), T(
160
160
  r,
161
161
  "z-index",
162
162
  /*zIndex*/
163
163
  t[10]
164
- ), z(
164
+ ), T(
165
165
  r,
166
166
  "left",
167
167
  /*finalPosition*/
168
168
  t[7].x + "px"
169
- ), z(
169
+ ), T(
170
170
  r,
171
171
  "top",
172
172
  /*finalPosition*/
173
173
  t[7].y + "px"
174
174
  );
175
175
  },
176
- m(g, p) {
177
- tt(g, r, p), Rt(r, e), zt(i, e, null), t[24](e), m = !0, h || (k = [
178
- B(
176
+ m(u, p) {
177
+ $(u, r, p), Mt(r, e), At(i, e, null), t[25](e), m = !0, c || (_ = [
178
+ L(
179
179
  e,
180
180
  "mouseenter",
181
181
  /*mouseenter_handler*/
182
- t[22]
182
+ t[23]
183
183
  ),
184
- B(
184
+ L(
185
185
  e,
186
186
  "mouseleave",
187
187
  /*mouseleave_handler*/
188
- t[23]
188
+ t[24]
189
189
  ),
190
- B(
190
+ L(
191
191
  e,
192
192
  "click",
193
193
  /*handleClick*/
194
194
  t[16]
195
195
  )
196
- ], h = !0);
196
+ ], c = !0);
197
197
  },
198
- p(g, p) {
199
- t = g;
200
- const c = {};
198
+ p(u, p) {
199
+ t = u;
200
+ const a = {};
201
201
  p & /*showArrow*/
202
- 64 && (c.showArrow = /*showArrow*/
202
+ 64 && (a.showArrow = /*showArrow*/
203
203
  t[6]), p & /*arrowDirection*/
204
- 32 && (c.arrowDirection = /*arrowDirection*/
204
+ 32 && (a.arrowDirection = /*arrowDirection*/
205
205
  t[5]), p & /*effectiveTheme*/
206
- 2048 && (c.effectiveTheme = /*effectiveTheme*/
206
+ 2048 && (a.effectiveTheme = /*effectiveTheme*/
207
207
  t[11]), p & /*adjustedPlacement*/
208
- 8 && (c.adjustedPlacement = /*adjustedPlacement*/
208
+ 8 && (a.adjustedPlacement = /*adjustedPlacement*/
209
209
  t[3]), p & /*tag*/
210
- 1 && (c.tag = /*tag*/
210
+ 1 && (a.tag = /*tag*/
211
211
  t[0]), p & /*config*/
212
- 2 && (c.config = /*config*/
212
+ 2 && (a.config = /*config*/
213
213
  t[1]), p & /*theme*/
214
- 4 && (c.theme = /*theme*/
214
+ 4 && (a.theme = /*theme*/
215
215
  t[2]), p & /*toolbar*/
216
- 512 && (c.toolbar = /*toolbar*/
217
- t[9]), i.$set(c), (!m || p & /*effectiveTheme, adjustedPlacement*/
216
+ 512 && (a.toolbar = /*toolbar*/
217
+ t[9]), i.$set(a), (!m || p & /*effectiveTheme, adjustedPlacement*/
218
218
  2056 && s !== (s = "tag-popover tag-popover-" + /*effectiveTheme*/
219
219
  t[11] + " tag-popover-" + /*adjustedPlacement*/
220
- t[3] + " svelte-rrnjf1")) && M(r, "class", s), (!m || p & /*tag*/
221
- 1 && v !== (v = /*tag*/
222
- t[0].id)) && M(r, "data-tag-id", v), (!m || p & /*zIndex*/
223
- 1024) && z(
220
+ t[3] + " svelte-rrnjf1")) && j(r, "class", s), (!m || p & /*tag*/
221
+ 1 && w !== (w = /*tag*/
222
+ t[0].id)) && j(r, "data-tag-id", w), (!m || p & /*zIndex*/
223
+ 1024) && T(
224
224
  r,
225
225
  "z-index",
226
226
  /*zIndex*/
227
227
  t[10]
228
228
  ), (!m || p & /*finalPosition*/
229
- 128) && z(
229
+ 128) && T(
230
230
  r,
231
231
  "left",
232
232
  /*finalPosition*/
233
233
  t[7].x + "px"
234
234
  ), (!m || p & /*finalPosition*/
235
- 128) && z(
235
+ 128) && T(
236
236
  r,
237
237
  "top",
238
238
  /*finalPosition*/
239
239
  t[7].y + "px"
240
240
  );
241
241
  },
242
- i(g) {
243
- m || (O(i.$$.fragment, g), Et(() => {
244
- m && (n || (n = Y(
242
+ i(u) {
243
+ m || (D(i.$$.fragment, u), Rt(() => {
244
+ m && (n || (n = X(
245
245
  e,
246
246
  /*fadeAndFly*/
247
247
  t[12],
@@ -250,7 +250,7 @@ function $(t) {
250
250
  /*transitionDuration*/
251
251
  t[8]
252
252
  ),
253
- easing: W,
253
+ easing: F,
254
254
  y: (
255
255
  /*arrowDirection*/
256
256
  t[5] === "top" ? -8 : (
@@ -270,8 +270,8 @@ function $(t) {
270
270
  )), n.run(1));
271
271
  }), m = !0);
272
272
  },
273
- o(g) {
274
- H(i.$$.fragment, g), n || (n = Y(
273
+ o(u) {
274
+ W(i.$$.fragment, u), n || (n = X(
275
275
  e,
276
276
  /*fadeAndFly*/
277
277
  t[12],
@@ -280,7 +280,7 @@ function $(t) {
280
280
  /*transitionDuration*/
281
281
  t[8]
282
282
  ),
283
- easing: W,
283
+ easing: F,
284
284
  y: (
285
285
  /*arrowDirection*/
286
286
  t[5] === "top" ? -8 : (
@@ -299,149 +299,118 @@ function $(t) {
299
299
  !1
300
300
  )), n.run(0), m = !1;
301
301
  },
302
- d(g) {
303
- g && et(r), Mt(i), t[24](null), g && n && n.end(), h = !1, Dt(k);
302
+ d(u) {
303
+ u && tt(r), zt(i), t[25](null), u && n && n.end(), c = !1, Dt(_);
304
304
  }
305
305
  };
306
306
  }
307
- function Ft(t) {
307
+ function Nt(t) {
308
308
  let r, e, i = (
309
309
  /*finalPosition*/
310
- t[7] && $(t)
310
+ t[7] && x(t)
311
311
  );
312
312
  return {
313
313
  c() {
314
- i && i.c(), r = Pt();
314
+ i && i.c(), r = Ct();
315
315
  },
316
316
  m(n, s) {
317
- i && i.m(n, s), tt(n, r, s), e = !0;
317
+ i && i.m(n, s), $(n, r, s), e = !0;
318
318
  },
319
319
  p(n, [s]) {
320
320
  /*finalPosition*/
321
321
  n[7] ? i ? (i.p(n, s), s & /*finalPosition*/
322
- 128 && O(i, 1)) : (i = $(n), i.c(), O(i, 1), i.m(r.parentNode, r)) : i && (Ot(), H(i, 1, 1, () => {
322
+ 128 && D(i, 1)) : (i = x(n), i.c(), D(i, 1), i.m(r.parentNode, r)) : i && (Bt(), W(i, 1, 1, () => {
323
323
  i = null;
324
324
  }), Tt());
325
325
  },
326
326
  i(n) {
327
- e || (O(i), e = !0);
327
+ e || (D(i), e = !0);
328
328
  },
329
329
  o(n) {
330
- H(i), e = !1;
330
+ W(i), e = !1;
331
331
  },
332
332
  d(n) {
333
- i && i.d(n), n && et(r);
333
+ i && i.d(n), n && tt(r);
334
334
  }
335
335
  };
336
336
  }
337
- function Lt(t, r, e) {
338
- let i, n, s, v, m, h, k, g, p;
339
- const c = Ct("hooks");
340
- let { tag: a } = r, { config: f = {} } = r, { triggerElement: P } = r, { theme: D = void 0 } = r, E, b = { width: 0, height: 0 }, T = null, d = n;
341
- function ot(o, { duration: w = 400, easing: y = W, x: _ = 0, y: S = 0 }) {
337
+ function Ot(t, r, e) {
338
+ let i, n, s, w, m, c, _, u, p;
339
+ const a = Et("hooks");
340
+ let { tag: l } = r, { config: f = {} } = r, { triggerElement: y } = r, { wrapperElement: E = document.body } = r, { theme: M = void 0 } = r, S, b = { width: 0, height: 0 }, k = null, g = n;
341
+ function et(o, { duration: v = 400, easing: d = F, x: h = 0, y: B = 0 }) {
342
342
  return {
343
- duration: w,
344
- css: (j, R) => `
345
- opacity: ${j};
346
- transform: translate(${R * _}px, ${R * S}px);
343
+ duration: v,
344
+ css: (H, A) => `
345
+ opacity: ${H};
346
+ transform: translate(${A * h}px, ${A * B}px);
347
347
  `
348
348
  };
349
349
  }
350
- const C = () => {
351
- if (!a.screenPosition || !P)
350
+ const P = () => {
351
+ if (!l.screenPosition || !y || !E)
352
352
  return n;
353
- const o = window.innerWidth, w = window.innerHeight, y = o / 3, _ = w / 3, S = a.screenPosition.leftPx, j = a.screenPosition.topPx, R = S < y ? 0 : S < y * 2 ? 1 : 2, A = j < _ ? 0 : j < _ * 2 ? 1 : 2, F = j, L = w - j, N = S, V = o - S, q = b.width || 280, I = b.height || 200, ft = F >= I + 16, ht = L >= I + 16, gt = N >= q + 16, ut = V >= q + 16;
354
- let u = [
355
- { placement: "top", score: 0 },
356
- { placement: "top-left", score: 0 },
357
- { placement: "top-right", score: 0 },
358
- { placement: "bottom", score: 0 },
359
- { placement: "bottom-left", score: 0 },
360
- { placement: "bottom-right", score: 0 },
361
- { placement: "left", score: 0 },
362
- { placement: "left-top", score: 0 },
363
- { placement: "left-bottom", score: 0 },
364
- { placement: "right", score: 0 },
365
- { placement: "right-top", score: 0 },
366
- { placement: "right-bottom", score: 0 }
367
- ];
368
- return ft || (u = u.filter((l) => !["top", "top-left", "top-right"].includes(l.placement))), ht || (u = u.filter((l) => !["bottom", "bottom-left", "bottom-right"].includes(l.placement))), gt || (u = u.filter((l) => !["left", "left-top", "left-bottom"].includes(l.placement))), ut || (u = u.filter((l) => !["right", "right-top", "right-bottom"].includes(l.placement))), u.length === 0 && (u = [
369
- { placement: "top", score: 0 },
370
- { placement: "top-left", score: 0 },
371
- { placement: "top-right", score: 0 },
372
- { placement: "bottom", score: 0 },
373
- { placement: "bottom-left", score: 0 },
374
- { placement: "bottom-right", score: 0 },
375
- { placement: "left", score: 0 },
376
- { placement: "left-top", score: 0 },
377
- { placement: "left-bottom", score: 0 },
378
- { placement: "right", score: 0 },
379
- { placement: "right-top", score: 0 },
380
- { placement: "right-bottom", score: 0 }
381
- ]), u.forEach((l) => {
382
- A === 0 ? ["bottom", "bottom-left", "bottom-right"].includes(l.placement) && (l.score += 3) : A === 2 && ["top", "top-left", "top-right"].includes(l.placement) && (l.score += 3), R === 0 ? ["right", "right-top", "right-bottom"].includes(l.placement) && (l.score += 3) : R === 2 && ["left", "left-top", "left-bottom"].includes(l.placement) && (l.score += 3), A === 1 && R === 1 && ["bottom", "bottom-right"].includes(l.placement) && (l.score += 2);
383
- }), u.forEach((l) => {
384
- ["top", "top-left", "top-right"].includes(l.placement) && (l.score += F / w * 2), ["bottom", "bottom-left", "bottom-right"].includes(l.placement) && (l.score += L / w * 2), ["left", "left-top", "left-bottom"].includes(l.placement) && (l.score += N / o * 2), ["right", "right-top", "right-bottom"].includes(l.placement) && (l.score += V / o * 2);
385
- }), u.reduce((l, G) => l.score > G.score ? l : G).placement;
386
- }, rt = (o, w) => {
353
+ const o = E.clientWidth, v = E.clientHeight, d = l.screenPosition.leftPx, h = l.screenPosition.topPx, B = d * h, H = d * (v - h), A = h * d, ft = h * (o - d), N = b.width || 280, O = b.height || 200, R = 16, ct = h, ht = v - h, ut = d, gt = o - d, V = ct >= O + R, q = ht >= O + R, z = ut >= N + R, I = gt >= N + R, dt = B > H, C = A > ft;
354
+ return dt ? V ? C && z ? "top-left" : "top-right" : C && z ? "left-top" : I ? "right-top" : q ? C ? "bottom-left" : "bottom-right" : "bottom" : q ? C && z ? "bottom-left" : "bottom-right" : C && z ? "left-bottom" : I ? "right-bottom" : V ? C ? "top-left" : "top-right" : "top";
355
+ }, ot = (o, v) => {
387
356
  if (!o)
388
357
  return null;
389
- const y = 8, _ = Q({}, o);
390
- return ["top", "top-left", "top-right"].includes(w) ? _.y -= y : ["bottom", "bottom-left", "bottom-right"].includes(w) ? _.y += y : ["left", "left-top", "left-bottom"].includes(w) ? _.x -= y : ["right", "right-top", "right-bottom"].includes(w) && (_.x += y), _;
391
- }, it = (o) => {
392
- c && c.emit("click", {
358
+ const d = 8, h = K({}, o);
359
+ return ["top", "top-left", "top-right"].includes(v) ? h.y -= d : ["bottom", "bottom-left", "bottom-right"].includes(v) ? h.y += d : ["left", "left-top", "left-bottom"].includes(v) ? h.x -= d : ["right", "right-top", "right-bottom"].includes(v) && (h.x += d), h;
360
+ }, rt = (o) => {
361
+ a && a.emit("click", {
393
362
  event: o.detail.event,
394
363
  target: "TagPopoverViewMore",
395
- tag: a
364
+ tag: l
396
365
  });
397
- }, nt = (o) => {
398
- c && c.emit("click", {
366
+ }, it = (o) => {
367
+ a && a.emit("click", {
399
368
  event: o.detail.event,
400
369
  target: "TagPopoverShare",
401
- tag: a
370
+ tag: l
402
371
  });
403
- }, lt = () => {
404
- if (E) {
405
- const o = E.getBoundingClientRect();
406
- e(18, b = { width: o.width, height: o.height }), b.width > 0 && b.height > 0 && e(3, d = C());
372
+ }, nt = () => {
373
+ if (S) {
374
+ const o = S.getBoundingClientRect();
375
+ e(19, b = { width: o.width, height: o.height }), b.width > 0 && b.height > 0 && e(3, g = P());
407
376
  }
408
377
  }, pt = (o) => {
409
- e(18, b = o.detail), b.width > 0 && b.height > 0 && e(3, d = C());
378
+ e(19, b = o.detail), b.width > 0 && b.height > 0 && e(3, g = P());
410
379
  }, st = (o) => {
411
- o.stopPropagation(), c.emit("click", { event: o, target: "TagPopoverContent", tag: a });
380
+ o.stopPropagation(), a.emit("click", { event: o, target: "TagPopoverContent", tag: l });
412
381
  };
413
- St(() => U(this, null, function* () {
414
- yield At(), lt(), a.screenPosition && P && e(3, d = C());
382
+ St(() => Q(this, null, function* () {
383
+ yield Ht(), nt(), l.screenPosition && y && e(3, g = P());
415
384
  }));
416
385
  function mt(o) {
417
- Z.call(this, t, o);
418
- }
419
- function ct(o) {
420
- Z.call(this, t, o);
386
+ Y.call(this, t, o);
421
387
  }
422
388
  function at(o) {
423
- Bt[o ? "unshift" : "push"](() => {
424
- E = o, e(4, E);
389
+ Y.call(this, t, o);
390
+ }
391
+ function lt(o) {
392
+ Lt[o ? "unshift" : "push"](() => {
393
+ S = o, e(4, S);
425
394
  });
426
395
  }
427
396
  return t.$$set = (o) => {
428
- "tag" in o && e(0, a = o.tag), "config" in o && e(1, f = o.config), "triggerElement" in o && e(17, P = o.triggerElement), "theme" in o && e(2, D = o.theme);
397
+ "tag" in o && e(0, l = o.tag), "config" in o && e(1, f = o.config), "triggerElement" in o && e(17, y = o.triggerElement), "wrapperElement" in o && e(18, E = o.wrapperElement), "theme" in o && e(2, M = o.theme);
429
398
  }, t.$$.update = () => {
430
399
  if (t.$$.dirty & /*theme, tag*/
431
- 5 && e(11, i = (() => x(D) ? D : x(a.data.theme) && ["light", "dark"].includes(a.data.theme) ? a.data.theme : a.contentType === "Marketing" ? "light" : "dark")()), t.$$.dirty & /*config*/
432
- 2 && e(21, n = (f == null ? void 0 : f.placement) || "right-top"), t.$$.dirty & /*config*/
400
+ 5 && e(11, i = (() => Z(M) ? M : Z(l.data.theme) && ["light", "dark"].includes(l.data.theme) ? l.data.theme : l.contentType === "Marketing" ? "light" : "dark")()), t.$$.dirty & /*config*/
401
+ 2 && e(22, n = (f == null ? void 0 : f.placement) || "right-top"), t.$$.dirty & /*config*/
433
402
  2 && e(9, m = (() => typeof (f == null ? void 0 : f.toolbar) == "boolean" ? f.toolbar ? { showMore: !0, showShare: !0 } : { showMore: !1, showShare: !1 } : (f == null ? void 0 : f.toolbar) || { showMore: !0, showShare: !0 })()), t.$$.dirty & /*placement*/
434
- 2097152 && (n === "auto" ? e(3, d = C()) : e(3, d = n)), t.$$.dirty & /*config*/
435
- 2 && e(8, h = (f == null ? void 0 : f.transitionDuration) || 350), t.$$.dirty & /*tag, triggerElement*/
436
- 131073 && a.screenPosition && P && e(3, d = C()), t.$$.dirty & /*popoverContentElementRect*/
437
- 262144 && b.width > 0 && b.height > 0 && e(3, d = C()), t.$$.dirty & /*tag, adjustedPlacement, triggerElement*/
438
- 131081 && a.screenPosition && d && P) {
439
- const o = P.getBoundingClientRect();
440
- switch (d) {
403
+ 4194304 && (n === "auto" ? e(3, g = P()) : e(3, g = n)), t.$$.dirty & /*config*/
404
+ 2 && e(8, c = (f == null ? void 0 : f.transitionDuration) || 350), t.$$.dirty & /*tag, triggerElement*/
405
+ 131073 && l.screenPosition && y && e(3, g = P()), t.$$.dirty & /*popoverContentElementRect*/
406
+ 524288 && b.width > 0 && b.height > 0 && e(3, g = P()), t.$$.dirty & /*tag, adjustedPlacement, triggerElement*/
407
+ 131081 && l.screenPosition && g && y) {
408
+ const o = y.getBoundingClientRect();
409
+ switch (g) {
441
410
  case "top":
442
411
  case "top-left":
443
412
  case "top-right":
444
- e(19, T = {
413
+ e(20, k = {
445
414
  x: o.left + o.width / 2,
446
415
  y: o.top
447
416
  });
@@ -449,7 +418,7 @@ function Lt(t, r, e) {
449
418
  case "bottom":
450
419
  case "bottom-left":
451
420
  case "bottom-right":
452
- e(19, T = {
421
+ e(20, k = {
453
422
  x: o.left + o.width / 2,
454
423
  y: o.bottom
455
424
  });
@@ -457,7 +426,7 @@ function Lt(t, r, e) {
457
426
  case "left":
458
427
  case "left-top":
459
428
  case "left-bottom":
460
- e(19, T = {
429
+ e(20, k = {
461
430
  x: o.left,
462
431
  y: o.top + o.height / 2
463
432
  });
@@ -465,7 +434,7 @@ function Lt(t, r, e) {
465
434
  case "right":
466
435
  case "right-top":
467
436
  case "right-bottom":
468
- e(19, T = {
437
+ e(20, k = {
469
438
  x: o.right,
470
439
  y: o.top + o.height / 2
471
440
  });
@@ -473,10 +442,10 @@ function Lt(t, r, e) {
473
442
  }
474
443
  }
475
444
  t.$$.dirty & /*anchorPosition, adjustedPlacement*/
476
- 524296 && e(7, k = rt(T, d)), t.$$.dirty & /*arrow*/
477
- 1048576 && e(6, g = typeof s == "boolean" ? s : !0), t.$$.dirty & /*adjustedPlacement*/
445
+ 1048584 && e(7, _ = ot(k, g)), t.$$.dirty & /*arrow*/
446
+ 2097152 && e(6, u = typeof s == "boolean" ? s : !0), t.$$.dirty & /*adjustedPlacement*/
478
447
  8 && e(5, p = (() => {
479
- switch (d) {
448
+ switch (g) {
480
449
  case "top":
481
450
  case "top-left":
482
451
  case "top-right":
@@ -497,52 +466,54 @@ function Lt(t, r, e) {
497
466
  return "bottom";
498
467
  }
499
468
  })());
500
- }, e(20, s = !0), e(10, v = 1060), [
501
- a,
469
+ }, e(21, s = !0), e(10, w = 1060), [
470
+ l,
502
471
  f,
503
- D,
504
- d,
505
- E,
506
- p,
472
+ M,
507
473
  g,
508
- k,
509
- h,
474
+ S,
475
+ p,
476
+ u,
477
+ _,
478
+ c,
510
479
  m,
511
- v,
480
+ w,
512
481
  i,
513
- ot,
482
+ et,
483
+ rt,
514
484
  it,
515
- nt,
516
485
  pt,
517
486
  st,
518
- P,
487
+ y,
488
+ E,
519
489
  b,
520
- T,
490
+ k,
521
491
  s,
522
492
  n,
523
493
  mt,
524
- ct,
525
- at
494
+ at,
495
+ lt
526
496
  ];
527
497
  }
528
- class so extends _t {
498
+ class mo extends vt {
529
499
  constructor(r) {
530
- super(), vt(
500
+ super(), yt(
531
501
  this,
532
502
  r,
533
- Lt,
534
- Ft,
503
+ Ot,
504
+ Nt,
535
505
  kt,
536
506
  {
537
507
  tag: 0,
538
508
  config: 1,
539
509
  triggerElement: 17,
510
+ wrapperElement: 18,
540
511
  theme: 2
541
512
  },
542
- Wt
513
+ Ft
543
514
  );
544
515
  }
545
516
  }
546
517
  export {
547
- so as default
518
+ mo as default
548
519
  };