@realsee/dnalogel 2.19.2 → 2.19.3

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 (312) hide show
  1. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
  2. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  3. package/dist/index.cjs.js +4 -4
  4. package/dist/index.js +684 -678
  5. package/dist/index.umd.js +4 -4
  6. package/docs/classes/CSS3DRender.html +30 -30
  7. package/docs/classes/CruisePluginController.html +25 -25
  8. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  9. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +30 -30
  10. package/docs/classes/Magnifier.html +19 -19
  11. package/docs/classes/ModelRoomLabelController.html +10 -10
  12. package/docs/classes/Object3DHelperController.html +24 -24
  13. package/docs/classes/PaintBrush.html +14 -14
  14. package/docs/classes/PanoMeasurePluginLine.html +22 -22
  15. package/docs/classes/PanoMeasurePluginModel.html +21 -21
  16. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  17. package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
  18. package/docs/classes/PanoTagPluginController.html +45 -45
  19. package/docs/classes/Util.BetterTween.html +8 -8
  20. package/docs/classes/Util.FivePointSelector.html +11 -11
  21. package/docs/classes/Util.Interval.html +11 -11
  22. package/docs/classes/Util.Magnifier.html +16 -16
  23. package/docs/classes/Util.PointDomHelper.html +10 -10
  24. package/docs/classes/Util.PointHelper.html +10 -10
  25. package/docs/classes/Util.Rectangle.html +12 -12
  26. package/docs/enums/CameraMovementEffect.html +6 -6
  27. package/docs/enums/ContentType.html +19 -19
  28. package/docs/enums/DIRECTION.html +8 -8
  29. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  30. package/docs/enums/DimensionType.html +6 -6
  31. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  32. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  33. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  34. package/docs/enums/Rotation.html +7 -7
  35. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  36. package/docs/functions/CameraMovementPlugin.html +3 -3
  37. package/docs/functions/CruisePlugin.html +3 -3
  38. package/docs/functions/GuideLinePlugin.html +4 -4
  39. package/docs/functions/ItemLabelPlugin.html +3 -3
  40. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  41. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  42. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  43. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  44. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  45. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  46. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  47. package/docs/functions/ModelViewPlugin.html +3 -3
  48. package/docs/functions/Object3DHelperPlugin.html +3 -3
  49. package/docs/functions/PanoCompassPlugin.html +3 -3
  50. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  51. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  52. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  53. package/docs/functions/PanoMeasurePlugin.html +3 -3
  54. package/docs/functions/PanoRulerPlugin.html +3 -3
  55. package/docs/functions/PanoRulerProPlugin.html +3 -3
  56. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  57. package/docs/functions/PanoTagPlugin.html +3 -3
  58. package/docs/functions/PanoVideoPlugin.html +3 -3
  59. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  60. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  61. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  62. package/docs/functions/Util.getFrameTime.html +4 -4
  63. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  64. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  65. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  66. package/docs/functions/Util.isModelLike.html +4 -4
  67. package/docs/functions/Util.isNil.html +4 -4
  68. package/docs/functions/Util.isPanoramaLike.html +4 -4
  69. package/docs/functions/Util.nextFrame.html +4 -4
  70. package/docs/functions/Util.notNil.html +4 -4
  71. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  72. package/docs/functions/Util.tweenProgress.html +4 -4
  73. package/docs/functions/Util.uuid.html +4 -4
  74. package/docs/functions/pluginFlag.html +4 -4
  75. package/docs/index.html +4 -4
  76. package/docs/interfaces/AddTagConfig.html +5 -5
  77. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  78. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  79. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  80. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  81. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  82. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  83. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  84. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  85. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  86. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  87. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  88. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  89. package/docs/interfaces/EventMap.html +14 -14
  90. package/docs/interfaces/FloorplanBounding.html +7 -7
  91. package/docs/interfaces/FloorplanData.html +9 -9
  92. package/docs/interfaces/FloorplanEntrance.html +10 -10
  93. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  94. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  95. package/docs/interfaces/FloorplanFloorData.html +8 -8
  96. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  97. package/docs/interfaces/FloorplanObserver.html +8 -8
  98. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  99. package/docs/interfaces/FloorplanPosition.html +6 -6
  100. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  101. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  102. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  103. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  104. package/docs/interfaces/FloorplanServerData.html +6 -6
  105. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  106. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  107. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  108. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  109. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  110. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  111. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  112. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  113. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  114. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  115. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  116. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  117. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  118. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  119. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  120. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  121. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  122. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  123. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  124. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  125. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  126. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  127. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  128. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  129. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  130. package/docs/interfaces/HelperOffset.html +7 -7
  131. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  132. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  133. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  134. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  135. package/docs/interfaces/MinMax.html +6 -6
  136. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  137. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  138. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  139. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  140. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  141. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  142. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  143. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  144. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  145. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  146. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  147. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  148. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  149. package/docs/interfaces/Object3DHelperState.html +7 -7
  150. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  151. package/docs/interfaces/PaintBrushAction.html +11 -11
  152. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  153. package/docs/interfaces/PaintBrushState.html +9 -9
  154. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  155. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  156. package/docs/interfaces/PanoMeasureParameterType.html +13 -13
  157. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  158. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  159. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  160. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  161. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  162. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  163. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  164. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  165. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  166. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  167. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  168. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  169. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  170. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  171. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  172. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  173. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  174. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  175. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  176. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  177. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  178. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  179. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  180. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  181. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  182. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  183. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  184. package/docs/interfaces/Point.html +7 -7
  185. package/docs/interfaces/Room.html +8 -8
  186. package/docs/interfaces/RoomInfo.html +6 -6
  187. package/docs/interfaces/RoomLabel.html +13 -13
  188. package/docs/interfaces/RoomRules.html +4 -4
  189. package/docs/interfaces/Rooms.html +4 -4
  190. package/docs/interfaces/Scissor.html +8 -8
  191. package/docs/interfaces/State.html +7 -7
  192. package/docs/interfaces/TagCacheInterface.html +11 -11
  193. package/docs/interfaces/TagConfig.html +12 -12
  194. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  195. package/docs/interfaces/TagIconUrl.html +11 -11
  196. package/docs/interfaces/TagObjectGroup.html +5 -5
  197. package/docs/interfaces/TagStyle.html +5 -5
  198. package/docs/interfaces/Tags.html +8 -8
  199. package/docs/interfaces/TemporaryState.html +5 -5
  200. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  201. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  202. package/docs/modules/CruisePluginTypes.html +4 -4
  203. package/docs/modules/GuideLineItem.html +4 -4
  204. package/docs/modules/GuideLineModeItem.html +4 -4
  205. package/docs/modules/GuideLinePluginType.html +4 -4
  206. package/docs/modules/PanoVideoPluginType.html +4 -4
  207. package/docs/modules/Util.html +4 -4
  208. package/docs/modules.html +4 -4
  209. package/docs/types/ArrayPosition.html +4 -4
  210. package/docs/types/AudioAppearance.html +4 -4
  211. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  212. package/docs/types/CSS3DRenderExportType.html +4 -4
  213. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  214. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  215. package/docs/types/ClassFunctionParameters.html +4 -4
  216. package/docs/types/Color.html +4 -4
  217. package/docs/types/ContentTypeConfigKey.html +4 -4
  218. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  219. package/docs/types/ContentTypeMap.html +4 -4
  220. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  221. package/docs/types/Create3DElementReturnType.html +4 -4
  222. package/docs/types/CruisePluginExportType.html +4 -4
  223. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  224. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  225. package/docs/types/Direction-1.html +4 -4
  226. package/docs/types/Direction4.html +4 -4
  227. package/docs/types/ElementRenderer.html +4 -4
  228. package/docs/types/FloorplanRuleLabels.html +4 -4
  229. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  230. package/docs/types/GuideLinePluginExportType.html +4 -4
  231. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  232. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  233. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  234. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  235. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  236. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  237. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  238. package/docs/types/HelperEventMap.html +4 -4
  239. package/docs/types/LoadTagConfig.html +4 -4
  240. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  241. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  242. package/docs/types/MediaData.html +4 -4
  243. package/docs/types/MediaStore.html +4 -4
  244. package/docs/types/ModelElement.html +4 -4
  245. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  246. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  247. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  248. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  249. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  250. package/docs/types/MoveArgs.html +4 -4
  251. package/docs/types/MoveOpts.html +4 -4
  252. package/docs/types/Object3DHelperEventMap.html +4 -4
  253. package/docs/types/ObjectFit.html +4 -4
  254. package/docs/types/PaintBrushEventMap.html +4 -4
  255. package/docs/types/PanoCompassPluginData.html +4 -4
  256. package/docs/types/PanoCompassPluginExportType.html +4 -4
  257. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  258. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  259. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  260. package/docs/types/PanoIndex.html +4 -4
  261. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  262. package/docs/types/PanoMeasureReturnType.html +4 -4
  263. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  264. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  265. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  266. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  267. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  268. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  269. package/docs/types/PlaneTag.html +4 -4
  270. package/docs/types/PlaneTagElement.html +4 -4
  271. package/docs/types/Point2DElement.html +4 -4
  272. package/docs/types/Point2DTag.html +4 -4
  273. package/docs/types/Point3DElement.html +4 -4
  274. package/docs/types/Point3DTag.html +4 -4
  275. package/docs/types/PointTag.html +4 -4
  276. package/docs/types/PointTagElement.html +4 -4
  277. package/docs/types/Position.html +4 -4
  278. package/docs/types/RotateArgs.html +4 -4
  279. package/docs/types/RotateOpts.html +4 -4
  280. package/docs/types/RuleLabelsKey.html +4 -4
  281. package/docs/types/RuleLabelsValue.html +4 -4
  282. package/docs/types/StickType.html +4 -4
  283. package/docs/types/Tag.html +4 -4
  284. package/docs/types/Tag2D.html +4 -4
  285. package/docs/types/Tag3D.html +4 -4
  286. package/docs/types/TagContentType.html +4 -4
  287. package/docs/types/TagDimensionType.html +4 -4
  288. package/docs/types/TagElement.html +5 -5
  289. package/docs/types/TagEvents.html +4 -4
  290. package/docs/types/TagGLTFObject.html +4 -4
  291. package/docs/types/TagHooks.html +4 -4
  292. package/docs/types/TagIconSize.html +4 -4
  293. package/docs/types/TagId.html +4 -4
  294. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  295. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  296. package/docs/types/WorkCode.html +4 -4
  297. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  298. package/docs/variables/PLUGIN.html +4 -4
  299. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  300. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  301. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  302. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  303. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  304. package/libs/PanoTagPlugin/Components/TagItem.js +56 -56
  305. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +1 -0
  306. package/libs/PanoTagPlugin/controller/TagComputer.js +81 -75
  307. package/libs/PanoTagPlugin/controller/TagRender.js +6 -6
  308. package/libs/PanoTagPlugin/controller/index.js +1 -1
  309. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  310. package/libs/base/BasePlugin.js +1 -1
  311. package/libs/shared-utils/logger.js +1 -1
  312. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- import { SvelteComponent as Q, init as U, safe_not_equal as W, append_styles as X, element as C, space as Y, attr as d, null_to_empty as B, set_style as h, toggle_class as _, insert as P, append as E, transition_out as y, check_outros as F, transition_in as v, detach as N, getContext as Z, group_outros as G, noop as S, create_component as K, mount_component as M, destroy_component as O } from "../../vendor/svelte/internal/index.js";
2
- import x from "./Tag/index.js";
1
+ import { SvelteComponent as U, init as W, safe_not_equal as X, append_styles as Y, element as C, space as Z, attr as d, null_to_empty as E, set_style as h, toggle_class as _, insert as P, append as F, transition_out as y, check_outros as G, transition_in as v, detach as N, getContext as x, group_outros as H, noop as S, create_component as M, mount_component as O, destroy_component as Q } from "../../vendor/svelte/internal/index.js";
2
+ import $ from "./Tag/index.js";
3
3
  import "three";
4
- import { noTypecheck as H } from "../utils/noTypecheck.js";
5
- import $ from "./Common/TagPoint.js";
6
- import { classnames as J } from "../../vendor/classnames/index.js";
4
+ import { noTypecheck as J } from "../utils/noTypecheck.js";
5
+ import tt from "./Common/TagPoint.js";
6
+ import { classnames as K } from "../../vendor/classnames/index.js";
7
7
  import "./Tag/TextTag/index.js";
8
8
  import "./Tag/TextTag/TextTag.js";
9
9
  import "./Common/Line/Straight.js";
@@ -90,10 +90,10 @@ import "./Tag/LinkTag.js";
90
90
  import "./Common/Icon/Icon.js";
91
91
  import "../utils/getImageInfo.js";
92
92
  import "./Tag/CustomTag.js";
93
- function tt(i) {
94
- X(i, "svelte-pzwdws", ".tag.withAnimation.svelte-pzwdws{transition:opacity 0.3s linear}.tag.hide.svelte-pzwdws{opacity:0;pointer-events:none}.tag.hide.svelte-pzwdws *{pointer-events:none !important}.tag.unClickable.svelte-pzwdws{pointer-events:none !important}.tag.unClickable.svelte-pzwdws *{pointer-events:none !important}.tag.disable.svelte-pzwdws{display:none}.wrapper.svelte-pzwdws{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
95
- }
96
93
  function et(i) {
94
+ Y(i, "svelte-pzwdws", ".tag.withAnimation.svelte-pzwdws{transition:opacity 0.3s linear}.tag.hide.svelte-pzwdws{opacity:0;pointer-events:none}.tag.hide.svelte-pzwdws *{pointer-events:none !important}.tag.unClickable.svelte-pzwdws{pointer-events:none !important}.tag.unClickable.svelte-pzwdws *{pointer-events:none !important}.tag.disable.svelte-pzwdws{display:none}.wrapper.svelte-pzwdws{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
95
+ }
96
+ function it(i) {
97
97
  let e;
98
98
  return {
99
99
  c() {
@@ -110,9 +110,9 @@ function et(i) {
110
110
  }
111
111
  };
112
112
  }
113
- function it(i) {
113
+ function ot(i) {
114
114
  let e, t;
115
- return e = new x({
115
+ return e = new $({
116
116
  props: {
117
117
  mediaStore: (
118
118
  /*mediaStore*/
@@ -122,7 +122,7 @@ function it(i) {
122
122
  /*withAnimation*/
123
123
  i[0]
124
124
  ),
125
- tag: H(
125
+ tag: J(
126
126
  /*tag*/
127
127
  i[1]
128
128
  ),
@@ -141,10 +141,10 @@ function it(i) {
141
141
  }
142
142
  }), {
143
143
  c() {
144
- K(e.$$.fragment);
144
+ M(e.$$.fragment);
145
145
  },
146
146
  m(o, a) {
147
- M(e, o, a), t = !0;
147
+ O(e, o, a), t = !0;
148
148
  },
149
149
  p(o, a) {
150
150
  const m = {};
@@ -153,7 +153,7 @@ function it(i) {
153
153
  o[2]), a & /*withAnimation*/
154
154
  1 && (m.withAnimation = /*withAnimation*/
155
155
  o[0]), a & /*tag*/
156
- 2 && (m.tag = H(
156
+ 2 && (m.tag = J(
157
157
  /*tag*/
158
158
  o[1]
159
159
  )), a & /*state*/
@@ -169,11 +169,11 @@ function it(i) {
169
169
  y(e.$$.fragment, o), t = !1;
170
170
  },
171
171
  d(o) {
172
- O(e, o);
172
+ Q(e, o);
173
173
  }
174
174
  };
175
175
  }
176
- function ot(i) {
176
+ function rt(i) {
177
177
  let e;
178
178
  return {
179
179
  c() {
@@ -190,17 +190,17 @@ function ot(i) {
190
190
  }
191
191
  };
192
192
  }
193
- function rt(i) {
193
+ function nt(i) {
194
194
  let e, t;
195
- return e = new $({ props: { tag: (
195
+ return e = new tt({ props: { tag: (
196
196
  /*tag*/
197
197
  i[1]
198
198
  ) } }), {
199
199
  c() {
200
- K(e.$$.fragment);
200
+ M(e.$$.fragment);
201
201
  },
202
202
  m(o, a) {
203
- M(e, o, a), t = !0;
203
+ O(e, o, a), t = !0;
204
204
  },
205
205
  p(o, a) {
206
206
  const m = {};
@@ -215,13 +215,13 @@ function rt(i) {
215
215
  y(e.$$.fragment, o), t = !1;
216
216
  },
217
217
  d(o) {
218
- O(e, o);
218
+ Q(e, o);
219
219
  }
220
220
  };
221
221
  }
222
- function nt(i) {
222
+ function at(i) {
223
223
  let e, t, o, a, m, s, f, g, w, l;
224
- const T = [it, et], u = [];
224
+ const T = [ot, it], u = [];
225
225
  function p(n, r) {
226
226
  return (
227
227
  /*haveContent*/
@@ -229,7 +229,7 @@ function nt(i) {
229
229
  );
230
230
  }
231
231
  o = p(i), a = u[o] = T[o](i);
232
- const z = [rt, ot], c = [];
232
+ const z = [nt, rt], c = [];
233
233
  function A(n, r) {
234
234
  return (
235
235
  /*havePoint*/
@@ -238,7 +238,7 @@ function nt(i) {
238
238
  }
239
239
  return s = A(i), f = c[s] = z[s](i), {
240
240
  c() {
241
- e = C("div"), t = C("div"), a.c(), m = Y(), f.c(), d(t, "class", g = B(J(
241
+ e = C("div"), t = C("div"), a.c(), m = Z(), f.c(), d(t, "class", g = E(K(
242
242
  "wrapper",
243
243
  /*tag*/
244
244
  i[1].className ? `${/*tag*/
@@ -264,11 +264,6 @@ function nt(i) {
264
264
  "top",
265
265
  /*top*/
266
266
  i[6]
267
- ), h(
268
- t,
269
- "z-index",
270
- /*zIndex*/
271
- i[5]
272
267
  ), d(e, "class", "tag svelte-pzwdws"), d(
273
268
  e,
274
269
  "data-tag-id",
@@ -294,21 +289,26 @@ function nt(i) {
294
289
  "withAnimation",
295
290
  /*withAnimation*/
296
291
  i[0]
292
+ ), h(
293
+ e,
294
+ "z-index",
295
+ /*zIndex*/
296
+ i[5]
297
297
  );
298
298
  },
299
299
  m(n, r) {
300
- P(n, e, r), E(e, t), u[o].m(t, null), E(t, m), c[s].m(t, null), l = !0;
300
+ P(n, e, r), F(e, t), u[o].m(t, null), F(t, m), c[s].m(t, null), l = !0;
301
301
  },
302
302
  p(n, [r]) {
303
303
  let b = o;
304
- o = p(n), o === b ? u[o].p(n, r) : (G(), y(u[b], 1, 1, () => {
304
+ o = p(n), o === b ? u[o].p(n, r) : (H(), y(u[b], 1, 1, () => {
305
305
  u[b] = null;
306
- }), F(), a = u[o], a ? a.p(n, r) : (a = u[o] = T[o](n), a.c()), v(a, 1), a.m(t, m));
306
+ }), G(), a = u[o], a ? a.p(n, r) : (a = u[o] = T[o](n), a.c()), v(a, 1), a.m(t, m));
307
307
  let k = s;
308
- s = A(n), s === k ? c[s].p(n, r) : (G(), y(c[k], 1, 1, () => {
308
+ s = A(n), s === k ? c[s].p(n, r) : (H(), y(c[k], 1, 1, () => {
309
309
  c[k] = null;
310
- }), F(), f = c[s], f ? f.p(n, r) : (f = c[s] = z[s](n), f.c()), v(f, 1), f.m(t, null)), (!l || r & /*tag*/
311
- 2 && g !== (g = B(J(
310
+ }), G(), f = c[s], f ? f.p(n, r) : (f = c[s] = z[s](n), f.c()), v(f, 1), f.m(t, null)), (!l || r & /*tag*/
311
+ 2 && g !== (g = E(K(
312
312
  "wrapper",
313
313
  /*tag*/
314
314
  n[1].className ? `${/*tag*/
@@ -339,12 +339,6 @@ function nt(i) {
339
339
  "top",
340
340
  /*top*/
341
341
  n[6]
342
- ), r & /*zIndex*/
343
- 32 && h(
344
- t,
345
- "z-index",
346
- /*zIndex*/
347
- n[5]
348
342
  ), (!l || r & /*id*/
349
343
  2048) && d(
350
344
  e,
@@ -375,6 +369,12 @@ function nt(i) {
375
369
  "withAnimation",
376
370
  /*withAnimation*/
377
371
  n[0]
372
+ ), r & /*zIndex*/
373
+ 32 && h(
374
+ e,
375
+ "z-index",
376
+ /*zIndex*/
377
+ n[5]
378
378
  );
379
379
  },
380
380
  i(n) {
@@ -388,26 +388,26 @@ function nt(i) {
388
388
  }
389
389
  };
390
390
  }
391
- function at(i, e, t) {
391
+ function pt(i, e, t) {
392
392
  let o, a, m, s, f, g, w, l, T, { withAnimation: u = !1 } = e, { tag: p } = e, { mediaStore: z } = e, { state: c } = e, { temporaryState: A } = e;
393
- const n = Z("hooks");
393
+ const n = x("hooks");
394
394
  return i.$$set = (r) => {
395
395
  "withAnimation" in r && t(0, u = r.withAnimation), "tag" in r && t(1, p = r.tag), "mediaStore" in r && t(2, z = r.mediaStore), "state" in r && t(3, c = r.state), "temporaryState" in r && t(4, A = r.temporaryState);
396
396
  }, i.$$.update = () => {
397
- var r, b, k, L, I, q, D, R;
397
+ var r, b, k, I, L, q, D, R, V;
398
398
  i.$$.dirty & /*tag*/
399
399
  2 && t(13, o = (() => {
400
- var V, j;
401
- return !(((j = (V = p.style) == null ? void 0 : V.point) == null ? void 0 : j.enabled) === !1 || p.contentType === "Sticker" || p.contentType === "Link" || p.contentType === "VRLink" || p.contentType === "PanoLink" || p.contentType === "Audio" && p.data.appearance === "plane");
400
+ var j, B;
401
+ return !(((B = (j = p.style) == null ? void 0 : j.point) == null ? void 0 : B.enabled) === !1 || p.contentType === "Sticker" || p.contentType === "Link" || p.contentType === "VRLink" || p.contentType === "PanoLink" || p.contentType === "Audio" && p.data.appearance === "plane");
402
402
  })()), i.$$.dirty & /*tag*/
403
403
  2 && t(12, a = (() => p.stickType === "2DPoint")()), i.$$.dirty & /*tag*/
404
404
  2 && t(11, m = p.id), i.$$.dirty & /*tag*/
405
405
  2 && t(10, s = !((r = p.pointTagStyle) != null && r.leftPercent) || !((b = p.pointTagStyle) != null && b.topPercent) || p.enabled === !1 || !p.state), i.$$.dirty & /*tag*/
406
- 2 && t(9, f = !((k = p.state) != null && k.visible) || ((L = p.temporaryState) == null ? void 0 : L.visible) === !1), i.$$.dirty & /*tag*/
407
- 2 && t(8, g = (I = p.state) == null ? void 0 : I.unfolded), i.$$.dirty & /*tag*/
406
+ 2 && t(9, f = !((k = p.state) != null && k.visible) || ((I = p.temporaryState) == null ? void 0 : I.visible) === !1), i.$$.dirty & /*tag*/
407
+ 2 && t(8, g = (L = p.state) == null ? void 0 : L.unfolded), i.$$.dirty & /*tag*/
408
408
  2 && t(7, w = ((q = p.pointTagStyle) == null ? void 0 : q.leftPercent) + "%"), i.$$.dirty & /*tag*/
409
409
  2 && t(6, l = ((D = p.pointTagStyle) == null ? void 0 : D.topPercent) + "%"), i.$$.dirty & /*tag*/
410
- 2 && t(5, T = (R = p.state) != null && R.unfolded ? 1 : 0);
410
+ 2 && t(5, T = (R = p.state) != null && R.unfolded ? 99999 : (V = p.zIndex) != null ? V : 0);
411
411
  }, [
412
412
  u,
413
413
  p,
@@ -426,14 +426,14 @@ function at(i, e, t) {
426
426
  n
427
427
  ];
428
428
  }
429
- class Oe extends Q {
429
+ class Qe extends U {
430
430
  constructor(e) {
431
- super(), U(
431
+ super(), W(
432
432
  this,
433
433
  e,
434
+ pt,
434
435
  at,
435
- nt,
436
- W,
436
+ X,
437
437
  {
438
438
  withAnimation: 0,
439
439
  tag: 1,
@@ -441,10 +441,10 @@ class Oe extends Q {
441
441
  state: 3,
442
442
  temporaryState: 4
443
443
  },
444
- tt
444
+ et
445
445
  );
446
446
  }
447
447
  }
448
448
  export {
449
- Oe as default
449
+ Qe as default
450
450
  };
@@ -28,6 +28,7 @@ export declare abstract class TagComputer extends TagUtil {
28
28
  */
29
29
  getUnfoldedByCamera(tag: TagElement<any, any>): boolean;
30
30
  protected sort<T extends Tag<any, any>>(tags: T[]): T[];
31
+ protected setTagZIndex<T extends TagElement<any, any>>(tags: T[]): void;
31
32
  /**
32
33
  * @description: 一个点的标签
33
34
  */
@@ -1,17 +1,17 @@
1
1
  var M = Object.defineProperty, U = Object.defineProperties;
2
- var R = Object.getOwnPropertyDescriptors;
2
+ var D = Object.getOwnPropertyDescriptors;
3
3
  var P = Object.getOwnPropertySymbols;
4
- var B = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
4
+ var R = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
5
5
  var g = (c, l, e) => l in c ? M(c, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[l] = e, x = (c, l) => {
6
6
  for (var e in l || (l = {}))
7
- B.call(l, e) && g(c, e, l[e]);
7
+ R.call(l, e) && g(c, e, l[e]);
8
8
  if (P)
9
9
  for (var e of P(l))
10
- C.call(l, e) && g(c, e, l[e]);
10
+ B.call(l, e) && g(c, e, l[e]);
11
11
  return c;
12
- }, I = (c, l) => U(c, R(l));
12
+ }, I = (c, l) => U(c, D(l));
13
13
  var T = (c, l, e) => (g(c, typeof l != "symbol" ? l + "" : l, e), e);
14
- import * as D from "three";
14
+ import * as C from "three";
15
15
  import { is3DTag as j, isMediaModelTag as y } from "../utils/tag/tagCheck.js";
16
16
  import { tagPosition as V, getTagPosition as k } from "../utils/tagPosition.js";
17
17
  import { checkRange as h } from "../utils/checkRange.js";
@@ -58,17 +58,17 @@ import "../../shared-utils/threex/domevents/index.js";
58
58
  class Ue extends $ {
59
59
  constructor(e) {
60
60
  super(e);
61
- T(this, "raycaster", new D.Raycaster());
61
+ T(this, "raycaster", new C.Raycaster());
62
62
  }
63
63
  /**
64
64
  * @description: 获取是否可见
65
65
  */
66
66
  getVisibleByPanoIndex(e, t) {
67
- const s = this.getCache({ panoIndex: t, id: e.id }), n = t != null ? t : this.five.getCurrentState().panoIndex;
67
+ const n = this.getCache({ panoIndex: t, id: e.id }), s = t != null ? t : this.five.getCurrentState().panoIndex;
68
68
  if (e.stickType === "Model")
69
69
  return !0;
70
- if (s.visible !== void 0)
71
- return s.visible;
70
+ if (n.visible !== void 0)
71
+ return n.visible;
72
72
  {
73
73
  const i = (() => {
74
74
  var d, u, v;
@@ -79,16 +79,16 @@ class Ue extends $ {
79
79
  return { value: !1, reason: "config.keep is hidden" };
80
80
  if (o.keep === "visible")
81
81
  return { value: !0, reason: "config.keep is visible" };
82
- if (o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && n !== void 0) {
83
- if (Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(n))
82
+ if (o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && s !== void 0) {
83
+ if (Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(s))
84
84
  return {
85
85
  value: !1,
86
- reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${n}, visiblePanoIndex: ${o.visiblePanoIndex}`
86
+ reason: `current panoIndex is not included in visiblePano. currentPanoIndex: ${s}, visiblePanoIndex: ${o.visiblePanoIndex}`
87
87
  };
88
- if (o.visiblePanoIndex === "current" && n !== ((u = e.fiveState) == null ? void 0 : u.panoIndex))
88
+ if (o.visiblePanoIndex === "current" && s !== ((u = e.fiveState) == null ? void 0 : u.panoIndex))
89
89
  return {
90
90
  value: !1,
91
- reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${n}, tag.panoIndex: ${(v = e.fiveState) == null ? void 0 : v.panoIndex}`
91
+ reason: `current panoIndex is not equal to tag.panoIndex. currentPanoIndex: ${s}, tag.panoIndex: ${(v = e.fiveState) == null ? void 0 : v.panoIndex}`
92
92
  };
93
93
  }
94
94
  if (o.visibleDistance !== void 0 && o.visibleDistance !== "unLimited" && h(f, o.visibleDistance) === !1)
@@ -97,12 +97,12 @@ class Ue extends $ {
97
97
  reason: `distance is not in visibleDistance. distance: ${f}, visibleDistance: ${o.visibleDistance}`
98
98
  };
99
99
  if (o.intersectRaycaster !== !1 && (typeof o.intersectRaycaster != "object" || o.intersectRaycaster.enabled !== !1)) {
100
- if (n === void 0)
100
+ if (s === void 0)
101
101
  return {
102
102
  value: !1,
103
- reason: `intersectRaycaster check failed: fivePanoIndex is ${n}`
103
+ reason: `intersectRaycaster check failed: fivePanoIndex is ${s}`
104
104
  };
105
- const r = this.getRaycasterFromPanoIndex(e, n);
105
+ const r = this.getRaycasterFromPanoIndex(e, s);
106
106
  if (!r)
107
107
  return { value: !1, reason: `intersectRaycaster check failed: raycaster is ${r}` };
108
108
  const a = this.getTagEnableByIntersect(e, r);
@@ -119,19 +119,19 @@ class Ue extends $ {
119
119
  reason: "all check passed"
120
120
  };
121
121
  })();
122
- return s.visible = i.value, s.__debug_visible_reason__ = i, s.visible;
122
+ return n.visible = i.value, n.__debug_visible_reason__ = i, n.visible;
123
123
  }
124
124
  }
125
125
  getVisibleByFiveMode(e, t) {
126
- const s = t != null ? t : this.five.getCurrentState().mode, n = this.getTagConfig(e).visibleConfig;
127
- if (n) {
128
- if (typeof n == "object") {
129
- const i = n == null ? void 0 : n.visibleFiveMode;
130
- return i ? i != null && i.includes(s) ? n.followModelVisibility === !0 && (s === "Floorplan" || s === "Mapview") ? this.getVisibleByFloorIndex(e) : !0 : !1 : s === "Panorama";
131
- } else if (typeof n == "function")
126
+ const n = t != null ? t : this.five.getCurrentState().mode, s = this.getTagConfig(e).visibleConfig;
127
+ if (s) {
128
+ if (typeof s == "object") {
129
+ const i = s == null ? void 0 : s.visibleFiveMode;
130
+ return i ? i != null && i.includes(n) ? s.followModelVisibility === !0 && (n === "Floorplan" || n === "Mapview") ? this.getVisibleByFloorIndex(e) : !0 : !1 : n === "Panorama";
131
+ } else if (typeof s == "function")
132
132
  return t === "Panorama";
133
133
  } else
134
- return s === "Panorama";
134
+ return n === "Panorama";
135
135
  }
136
136
  /**
137
137
  * @description 获取标签当前状态
@@ -142,21 +142,21 @@ class Ue extends $ {
142
142
  return (t = this.state.visible && e.state.visible) != null ? t : !0;
143
143
  }
144
144
  getVisible(e) {
145
- const t = this.five.getCurrentState(), s = this.getVisibleByFiveMode(e), n = t.mode === "Panorama" ? this.getVisibleByPanoIndex(e, t.panoIndex) : !0;
146
- return s && n;
145
+ const t = this.five.getCurrentState(), n = this.getVisibleByFiveMode(e), s = t.mode === "Panorama" ? this.getVisibleByPanoIndex(e, t.panoIndex) : !0;
146
+ return n && s;
147
147
  }
148
148
  /** 获取当前点位上模型中的多媒体是否应该展示 */
149
149
  getModelMedialVisibleByPanoIndex(e) {
150
150
  if (!this.getCurrentVisibleState(e))
151
151
  return !1;
152
- const t = this.five.getCurrentState().panoIndex, s = this.getCache({ panoIndex: t, id: e.id });
153
- if (s.modelMedialVisible !== void 0)
154
- return s.modelMedialVisible;
155
- const n = this.getRaycasterFromPanoIndex(e, t);
156
- if (!n)
152
+ const t = this.five.getCurrentState().panoIndex, n = this.getCache({ panoIndex: t, id: e.id });
153
+ if (n.modelMedialVisible !== void 0)
154
+ return n.modelMedialVisible;
155
+ const s = this.getRaycasterFromPanoIndex(e, t);
156
+ if (!s)
157
157
  return !1;
158
- const i = this.getTagEnableByIntersect(e, n);
159
- return s.modelMedialVisible = i.value, s.__debug_visible_reason__ = i, i.value !== !1;
158
+ const i = this.getTagEnableByIntersect(e, s);
159
+ return n.modelMedialVisible = i.value, n.__debug_visible_reason__ = i, i.value !== !1;
160
160
  }
161
161
  /**
162
162
  * @description: 获取是否展开
@@ -164,9 +164,9 @@ class Ue extends $ {
164
164
  getUnfoldedByPanoIndex(e, t) {
165
165
  if (!this.getVisibleByPanoIndex(e))
166
166
  return;
167
- const n = this.getCache({ panoIndex: t, id: e.id });
168
- if (n.unfolded !== void 0)
169
- return n.unfolded;
167
+ const s = this.getCache({ panoIndex: t, id: e.id });
168
+ if (s.unfolded !== void 0)
169
+ return s.unfolded;
170
170
  {
171
171
  const i = this.getTagConfig(e).unfoldedConfig;
172
172
  if (!i)
@@ -182,9 +182,9 @@ class Ue extends $ {
182
182
  if (i.unfoldDistance && h(d, i.unfoldDistance) === !1)
183
183
  return !1;
184
184
  })();
185
- n.unfolded = o;
185
+ s.unfolded = o;
186
186
  const f = this.getUnfoldedByCamera(e);
187
- return f !== void 0 ? f : n.unfolded;
187
+ return f !== void 0 ? f : s.unfolded;
188
188
  }
189
189
  }
190
190
  /**
@@ -193,10 +193,10 @@ class Ue extends $ {
193
193
  getUnfoldedByCamera(e) {
194
194
  return this.getVisible(e) ? (() => {
195
195
  var o;
196
- const n = this.getDistance(e), i = this.getTagConfig(e).unfoldedConfig;
196
+ const s = this.getDistance(e), i = this.getTagConfig(e).unfoldedConfig;
197
197
  if (i) {
198
198
  if (typeof i == "function")
199
- return i(this.five, { tag: e, distance: n });
199
+ return i(this.five, { tag: e, distance: s });
200
200
  if (i.keep === "folded")
201
201
  return !1;
202
202
  if (i.keep === "unfolded")
@@ -230,9 +230,15 @@ class Ue extends $ {
230
230
  })() : void 0;
231
231
  }
232
232
  sort(e) {
233
- return e.sort((t, s) => {
234
- const n = this.getDistance(t), i = this.getDistance(s);
235
- return n === void 0 || i === void 0 ? 0 : i - n;
233
+ return e.sort((t, n) => {
234
+ const s = this.getDistance(t), i = this.getDistance(n);
235
+ return s === void 0 || i === void 0 ? 0 : i - s;
236
+ });
237
+ }
238
+ setTagZIndex(e) {
239
+ return e.forEach((t) => {
240
+ const n = this.getDistance(t);
241
+ t.zIndex = Math.round((n != null ? n : 0) * 100);
236
242
  });
237
243
  }
238
244
  /**
@@ -241,17 +247,17 @@ class Ue extends $ {
241
247
  setPointTagPosition() {
242
248
  const e = this.filterPointTag;
243
249
  e.length !== 0 && e.forEach((t) => {
244
- var n;
245
- if (!((n = t.state) != null && n.visible)) {
250
+ var s;
251
+ if (!((s = t.state) != null && s.visible)) {
246
252
  t.pointTagStyle = null;
247
253
  return;
248
254
  }
249
- const s = this.getTagProject(t);
250
- if (!s) {
255
+ const n = this.getTagProject(t);
256
+ if (!n) {
251
257
  t.pointTagStyle = null;
252
258
  return;
253
259
  }
254
- t.pointTagStyle = { leftPercent: (s.x + 1) / 2 * 100, topPercent: (-s.y + 1) / 2 * 100 };
260
+ t.pointTagStyle = { leftPercent: (n.x + 1) / 2 * 100, topPercent: (-n.y + 1) / 2 * 100 };
255
261
  });
256
262
  }
257
263
  setVisible() {
@@ -269,23 +275,23 @@ class Ue extends $ {
269
275
  setModelMedialVisible() {
270
276
  const e = this.five.getCurrentState().mode;
271
277
  this.tags.forEach((t) => {
272
- var n;
278
+ var s;
273
279
  if (!y(t))
274
280
  return;
275
- if (!((n = t.model) != null && n.object)) {
281
+ if (!((s = t.model) != null && s.object)) {
276
282
  t.mediaVisible = !1;
277
283
  return;
278
284
  }
279
- const s = e === "Panorama" ? this.getModelMedialVisibleByPanoIndex(t) : !0;
280
- t.mediaVisible = s;
285
+ const n = e === "Panorama" ? this.getModelMedialVisibleByPanoIndex(t) : !0;
286
+ t.mediaVisible = n;
281
287
  });
282
288
  }
283
289
  setUnfoldedByPanoIndex() {
284
290
  this.tags.forEach((e) => {
285
291
  const t = this.getUnfoldedByPanoIndex(e);
286
292
  if (e.state && (t !== void 0 && (e.state.unfolded = t), t && !e.state.visible)) {
287
- const s = this.getTagConfig(e);
288
- typeof s.unfoldedConfig == "object" && s.unfoldedConfig.autoFoldWhenHide !== !1 && (e.state.unfolded = !1);
293
+ const n = this.getTagConfig(e);
294
+ typeof n.unfoldedConfig == "object" && n.unfoldedConfig.autoFoldWhenHide !== !1 && (e.state.unfolded = !1);
289
295
  }
290
296
  });
291
297
  }
@@ -295,17 +301,17 @@ class Ue extends $ {
295
301
  getTagProject(e) {
296
302
  if (!this.getVisible(e))
297
303
  return;
298
- const s = V(e.position);
299
- if (!s)
304
+ const n = V(e.position);
305
+ if (!n)
300
306
  return;
301
- const { x: n, y: i, z: o } = s.project(this.five.camera);
307
+ const { x: s, y: i, z: o } = n.project(this.five.camera);
302
308
  if (!(o > 1))
303
- return { x: n, y: i, z: o };
309
+ return { x: s, y: i, z: o };
304
310
  }
305
311
  /** 通过射线检测标签可用性 */
306
312
  getTagEnableByIntersect(e, t) {
307
313
  var u, v, r;
308
- const s = (u = this.getTagConfig(e).visibleConfig) != null ? u : {}, n = this.getDistance(e), [i] = this.five.model.intersectRaycaster(t), o = (() => {
314
+ const n = (u = this.getTagConfig(e).visibleConfig) != null ? u : {}, s = this.getDistance(e), [i] = this.five.model.intersectRaycaster(t), o = (() => {
309
315
  if (!y(e))
310
316
  return;
311
317
  const a = this.tags.filter(y).map((b) => {
@@ -315,34 +321,34 @@ class Ue extends $ {
315
321
  return t.intersectObjects(a, !0)[0];
316
322
  })(), f = (() => {
317
323
  var a;
318
- return typeof s == "object" && typeof s.intersectRaycaster == "object" && (a = s.intersectRaycaster.distanceAccuracy) != null ? a : 0.01;
324
+ return typeof n == "object" && typeof n.intersectRaycaster == "object" && (a = n.intersectRaycaster.distanceAccuracy) != null ? a : 0.01;
319
325
  })(), d = Math.min((v = i == null ? void 0 : i.distance) != null ? v : 1 / 0, (r = o == null ? void 0 : o.distance) != null ? r : 1 / 0);
320
- return d + f < n ? {
326
+ return d + f < s ? {
321
327
  value: !1,
322
- reason: `intersectRaycaster check failed: distance is ${n}, intersection.distance is ${i == null ? void 0 : i.distance}, intersection.point is ${i == null ? void 0 : i.point.toArray()},
328
+ reason: `intersectRaycaster check failed: distance is ${s}, intersection.distance is ${i == null ? void 0 : i.distance}, intersection.point is ${i == null ? void 0 : i.point.toArray()},
323
329
  customModelIntersection.point is ${o == null ? void 0 : o.point.toArray()}, minIntersectionDistance is ${d}`
324
330
  } : { value: !0, reason: "" };
325
331
  }
326
332
  /** 获取点位看向标签的射线 */
327
333
  getRaycasterFromPanoIndex(e, t) {
328
334
  var o;
329
- const s = (o = this.five.work.observers[t]) == null ? void 0 : o.position;
330
- if (s === void 0)
331
- throw new Error(`getVisible(): observerPosition is ${s}`);
332
- const n = V(e.position);
333
- if (!n)
335
+ const n = (o = this.five.work.observers[t]) == null ? void 0 : o.position;
336
+ if (n === void 0)
337
+ throw new Error(`getVisible(): observerPosition is ${n}`);
338
+ const s = V(e.position);
339
+ if (!s)
334
340
  return;
335
- const i = n.sub(s).normalize();
336
- return this.raycaster.set(s, i), this.raycaster;
341
+ const i = s.sub(n).normalize();
342
+ return this.raycaster.set(n, i), this.raycaster;
337
343
  }
338
344
  /** 检测是否匹配当前楼层 */
339
345
  getVisibleByFloorIndex(e) {
340
346
  var i, o, f, d, u, v, r;
341
347
  let t = 0;
342
- const s = (i = e.fiveState) == null ? void 0 : i.panoIndex;
343
- s !== void 0 ? t = (o = this.five.work.observers[s]) == null ? void 0 : o.floorIndex : t = E(this.five.work.observers, (r = (v = (d = (f = e.model) == null ? void 0 : f.object) == null ? void 0 : d.position) != null ? v : (u = e.mediaPlane) == null ? void 0 : u.position) != null ? r : k(e));
344
- const n = this.five.model.shownFloor;
345
- return n === null || n === t;
348
+ const n = (i = e.fiveState) == null ? void 0 : i.panoIndex;
349
+ n !== void 0 ? t = (o = this.five.work.observers[n]) == null ? void 0 : o.floorIndex : t = E(this.five.work.observers, (r = (v = (d = (f = e.model) == null ? void 0 : f.object) == null ? void 0 : d.position) != null ? v : (u = e.mediaPlane) == null ? void 0 : u.position) != null ? r : k(e));
350
+ const s = this.five.model.shownFloor;
351
+ return s === null || s === t;
346
352
  }
347
353
  }
348
354
  export {
@@ -22,8 +22,8 @@ import { Group as S, Quaternion as O, Vector3 as v, Matrix4 as D } from "three";
22
22
  import x from "../Components/TagContainer.js";
23
23
  import A from "../Components/Tag/index.js";
24
24
  import { arrayPositionToVector3 as y } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
25
- import { centerPoint as G } from "../../shared-utils/three/centerPoint.js";
26
- import { isMediaModelTag as P, isStickModelTag as I } from "../utils/tag/tagCheck.js";
25
+ import { centerPoint as I } from "../../shared-utils/three/centerPoint.js";
26
+ import { isMediaModelTag as P, isStickModelTag as G } from "../utils/tag/tagCheck.js";
27
27
  import { CSS3DRenderPlugin as V } from "../../CSS3DRenderPlugin/index.js";
28
28
  import { loadGLTF as F } from "../../shared-utils/three/GLTFLoader.js";
29
29
  import { VideoPlane as j, ImagePlane as R } from "../utils/model/mediaPlane.js";
@@ -336,7 +336,7 @@ class ti extends w {
336
336
  return;
337
337
  const n = P(t) ? t.data.mediaPosition : t.position;
338
338
  e.updateWorldMatrix(!1, !1);
339
- const a = e.matrixWorld, r = new v().fromArray(n[0]), s = new v().fromArray(n[2]), u = G(r, s).add(new v(0, 0, 5e-4)), p = new D().setPosition(u), m = new D().makeScale(o, o, o), l = new D().multiply(a).multiply(p).multiply(m);
339
+ const a = e.matrixWorld, r = new v().fromArray(n[0]), s = new v().fromArray(n[2]), u = I(r, s).add(new v(0, 0, 5e-4)), p = new D().setPosition(u), m = new D().makeScale(o, o, o), l = new D().multiply(a).multiply(p).multiply(m);
340
340
  l.decompose(i.position, i.quaternion, i.scale);
341
341
  const c = i.opacityMesh;
342
342
  c && l.decompose(c.position, c.quaternion, c.scale);
@@ -344,7 +344,7 @@ class ti extends w {
344
344
  /** 添加模型标签 */
345
345
  addMediaModelTag(t) {
346
346
  return C(this, null, function* () {
347
- const e = t.filter(I).map((o) => this.loadModel(o));
347
+ const e = t.filter(G).map((o) => this.loadModel(o));
348
348
  yield Promise.all(e), this.setModelMedialVisible(), this.updateRenderAllTags();
349
349
  });
350
350
  }
@@ -353,8 +353,8 @@ class ti extends w {
353
353
  */
354
354
  updateRenderPointTag() {
355
355
  var e;
356
- const t = this.sort(this.filterPointTag);
357
- if (this.setPointTagPosition(), this.TagContainerSvelte)
356
+ const t = this.filterPointTag;
357
+ if (this.setTagZIndex(t), this.setPointTagPosition(), this.TagContainerSvelte)
358
358
  this.TagContainerSvelte.$set({ tags: t, state: this.state, temporaryState: this.temporaryState });
359
359
  else {
360
360
  const o = (e = this.five.getElement()) == null ? void 0 : e.parentElement;
@@ -199,7 +199,7 @@ class ci extends N {
199
199
  load(e, t) {
200
200
  return f(this, null, function* () {
201
201
  var s, o;
202
- this.clearTags(), console.info(M, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = p({}, this.config, {
202
+ this.clearTags(), console.debug(M, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = p({}, this.config, {
203
203
  globalConfig: (s = e.globalConfig) != null ? s : {},
204
204
  contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
205
205
  });
@@ -87,6 +87,7 @@ export type TagElement<C extends TagContentType = TagContentType, S extends Stic
87
87
  leftPercent: number;
88
88
  topPercent: number;
89
89
  } | null;
90
+ zIndex?: number;
90
91
  temporaryState: {
91
92
  visible: boolean;
92
93
  };