@realsee/dnalogel 2.10.5-alpha.0 → 2.11.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) hide show
  1. package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -0
  2. package/dist/PanoTagPlugin/controller/index.d.ts +0 -2
  3. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +2 -7
  4. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +11 -0
  5. package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +1 -1
  6. package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +8 -10
  7. package/dist/PanoTagPlugin/utils/px2rem.d.ts +3 -1
  8. package/dist/base/BasePlugin.d.ts +4 -0
  9. package/dist/index.cjs.js +56 -56
  10. package/dist/index.js +3829 -3582
  11. package/dist/index.umd.js +49 -49
  12. package/dist/shared-utils/audio.d.ts +0 -2
  13. package/docs/assets/search.js +1 -1
  14. package/docs/classes/CSS3DRender.html +31 -31
  15. package/docs/classes/CruisePluginController.html +35 -25
  16. package/docs/classes/Magnifier.html +20 -20
  17. package/docs/classes/ModelRoomLabelController.html +11 -11
  18. package/docs/classes/Object3DHelperController.html +39 -29
  19. package/docs/classes/PaintBrush.html +15 -15
  20. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  21. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  22. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  23. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  24. package/docs/classes/PanoTagPluginController.html +99 -143
  25. package/docs/classes/Util.BetterTween.html +8 -8
  26. package/docs/classes/Util.FivePointSelector.html +12 -12
  27. package/docs/classes/Util.Interval.html +12 -12
  28. package/docs/classes/Util.Magnifier.html +17 -17
  29. package/docs/classes/Util.PointDomHelper.html +11 -11
  30. package/docs/classes/Util.PointHelper.html +11 -11
  31. package/docs/classes/Util.Rectangle.html +13 -13
  32. package/docs/enums/CameraMovementEffect.html +7 -7
  33. package/docs/enums/ContentType.html +19 -19
  34. package/docs/enums/DIRECTION.html +9 -9
  35. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  36. package/docs/enums/DimensionType.html +7 -7
  37. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  38. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  39. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  40. package/docs/enums/PointType.html +7 -7
  41. package/docs/enums/Rotation.html +8 -8
  42. package/docs/functions/CSS3DRenderPlugin.html +5 -4
  43. package/docs/functions/CameraMovementPlugin.html +5 -4
  44. package/docs/functions/CruisePlugin.html +5 -4
  45. package/docs/functions/GuideLinePlugin.html +6 -5
  46. package/docs/functions/ItemLabelPlugin.html +5 -4
  47. package/docs/functions/MapviewFloorplanPlugin.html +5 -4
  48. package/docs/functions/ModelChassisCompassPlugin.html +5 -4
  49. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
  50. package/docs/functions/ModelFloorplanPlugin.html +5 -4
  51. package/docs/functions/ModelItemLabelPlugin.html +5 -4
  52. package/docs/functions/ModelRoomLabelPlugin.html +5 -4
  53. package/docs/functions/ModelTVVideoPlugin.html +5 -4
  54. package/docs/functions/ModelViewPlugin.html +5 -4
  55. package/docs/functions/Object3DHelperPlugin.html +5 -4
  56. package/docs/functions/PanoCompassPlugin.html +5 -4
  57. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
  58. package/docs/functions/PanoDoorLabelPlugin.html +5 -4
  59. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
  60. package/docs/functions/PanoMeasurePlugin.html +5 -4
  61. package/docs/functions/PanoRulerPlugin.html +5 -4
  62. package/docs/functions/PanoRulerProPlugin.html +5 -4
  63. package/docs/functions/PanoSpatialTagPlugin.html +5 -4
  64. package/docs/functions/PanoTagPlugin.html +5 -4
  65. package/docs/functions/PanoVideoPlugin.html +5 -4
  66. package/docs/functions/TopviewFloorplanPlugin.html +5 -4
  67. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  68. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  69. package/docs/functions/Util.getFrameTime.html +5 -5
  70. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  71. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  72. package/docs/functions/Util.isNil.html +5 -5
  73. package/docs/functions/Util.nextFrame.html +5 -5
  74. package/docs/functions/Util.notNil.html +5 -5
  75. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  76. package/docs/functions/Util.tweenProgress.html +5 -5
  77. package/docs/functions/pluginFlag.html +6 -5
  78. package/docs/index.html +5 -4
  79. package/docs/interfaces/AddTagConfig.html +6 -6
  80. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  81. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  82. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  83. package/docs/interfaces/EventMap.html +15 -15
  84. package/docs/interfaces/FloorplanBounding.html +8 -8
  85. package/docs/interfaces/FloorplanData.html +10 -10
  86. package/docs/interfaces/FloorplanEntrance.html +11 -11
  87. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  88. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  89. package/docs/interfaces/FloorplanFloorData.html +9 -9
  90. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  91. package/docs/interfaces/FloorplanObserver.html +9 -9
  92. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  93. package/docs/interfaces/FloorplanPosition.html +7 -7
  94. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  95. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  96. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  97. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  98. package/docs/interfaces/FloorplanServerData.html +7 -7
  99. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  100. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  101. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  102. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  103. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  104. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  105. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  106. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  107. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  108. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  109. package/docs/interfaces/HelperOffset.html +8 -8
  110. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  111. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  112. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  113. package/docs/interfaces/MinMax.html +7 -7
  114. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  115. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  116. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  117. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  118. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  119. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  120. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  121. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  122. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  123. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  124. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  125. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  126. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  127. package/docs/interfaces/Object3DHelperState.html +8 -8
  128. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  129. package/docs/interfaces/PaintBrushAction.html +12 -12
  130. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  131. package/docs/interfaces/PaintBrushState.html +10 -10
  132. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  133. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  134. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  135. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  136. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  137. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  138. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  139. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  140. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  141. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  142. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  143. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  144. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  145. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  146. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  147. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  148. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  149. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  150. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  151. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  152. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  153. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  154. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  155. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  156. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  157. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  158. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  159. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  160. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  161. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  162. package/docs/interfaces/Point.html +8 -8
  163. package/docs/interfaces/Room.html +9 -9
  164. package/docs/interfaces/RoomInfo.html +7 -7
  165. package/docs/interfaces/RoomLabel.html +14 -14
  166. package/docs/interfaces/RoomRules.html +6 -5
  167. package/docs/interfaces/Rooms.html +6 -5
  168. package/docs/interfaces/Scissor.html +9 -9
  169. package/docs/interfaces/State.html +8 -8
  170. package/docs/interfaces/TagCache.html +12 -12
  171. package/docs/interfaces/TagConfig.html +10 -10
  172. package/docs/interfaces/TagIconUrl.html +28 -10
  173. package/docs/interfaces/TagStyle.html +67 -0
  174. package/docs/interfaces/Tags.html +10 -10
  175. package/docs/interfaces/TemporaryState.html +6 -6
  176. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  177. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  178. package/docs/modules/PanoVideoPluginType.html +5 -5
  179. package/docs/modules/Util.html +5 -5
  180. package/docs/modules.html +6 -4
  181. package/docs/types/ArrayPosition.html +6 -5
  182. package/docs/types/AudioAppearance.html +6 -5
  183. package/docs/types/AudioTagTypeConfigKey.html +6 -5
  184. package/docs/types/CSS3DRenderExportType.html +6 -5
  185. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  186. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  187. package/docs/types/ClassFunctionParameters.html +6 -5
  188. package/docs/types/Color.html +6 -5
  189. package/docs/types/ContentTypeConfigKey.html +6 -5
  190. package/docs/types/ContentTypeConfigKeySplit.html +6 -5
  191. package/docs/types/ContentTypeMap.html +6 -5
  192. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  193. package/docs/types/Create3DElementReturnType.html +6 -5
  194. package/docs/types/CruisePluginExportType.html +6 -5
  195. package/docs/types/Direction-1.html +6 -5
  196. package/docs/types/Direction4.html +6 -5
  197. package/docs/types/FloorplanRuleLabels.html +6 -5
  198. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  199. package/docs/types/GuideLinePluginExportType.html +6 -5
  200. package/docs/types/HelperEventMap.html +6 -5
  201. package/docs/types/LoadTagConfig.html +6 -5
  202. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  203. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  204. package/docs/types/MediaData.html +6 -5
  205. package/docs/types/MediaStore.html +6 -5
  206. package/docs/types/ModelElement.html +6 -5
  207. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  208. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  209. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  210. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  211. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  212. package/docs/types/MoveArgs.html +6 -5
  213. package/docs/types/MoveOpts.html +6 -5
  214. package/docs/types/Object3DHelperEventMap.html +6 -5
  215. package/docs/types/ObjectFit.html +6 -5
  216. package/docs/types/PaintBrushEventMap.html +6 -5
  217. package/docs/types/PanoCompassPluginData.html +6 -5
  218. package/docs/types/PanoCompassPluginExportType.html +6 -5
  219. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  220. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  221. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  222. package/docs/types/PanoIndex.html +6 -5
  223. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  224. package/docs/types/PanoMeasureReturnType.html +6 -5
  225. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  226. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  227. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  228. package/docs/types/PanoVideoPluginParameterType.html +6 -5
  229. package/docs/types/PanoVideoPluginReturnType.html +6 -5
  230. package/docs/types/PlaneTag.html +6 -5
  231. package/docs/types/PlaneTagElement.html +6 -5
  232. package/docs/types/Point2DElement.html +6 -5
  233. package/docs/types/Point2DTag.html +6 -5
  234. package/docs/types/Point3DElement.html +6 -5
  235. package/docs/types/Point3DTag.html +6 -5
  236. package/docs/types/PointTag.html +6 -5
  237. package/docs/types/PointTagElement.html +6 -5
  238. package/docs/types/Position.html +6 -5
  239. package/docs/types/RotateArgs.html +6 -5
  240. package/docs/types/RotateOpts.html +6 -5
  241. package/docs/types/RuleLabelsKey.html +6 -5
  242. package/docs/types/RuleLabelsValue.html +6 -5
  243. package/docs/types/StickType.html +6 -5
  244. package/docs/types/Tag.html +7 -6
  245. package/docs/types/Tag2D.html +6 -5
  246. package/docs/types/Tag3D.html +6 -5
  247. package/docs/types/TagContentType.html +6 -5
  248. package/docs/types/TagDimensionType.html +6 -5
  249. package/docs/types/TagElement.html +6 -5
  250. package/docs/types/TagEvents.html +6 -5
  251. package/docs/types/TagGLTFObject.html +6 -5
  252. package/docs/types/TagHooks.html +6 -5
  253. package/docs/types/TagIconSize.html +6 -5
  254. package/docs/types/TagId.html +6 -5
  255. package/docs/types/TagPointType.html +6 -5
  256. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  257. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  258. package/docs/types/WorkCode.html +6 -5
  259. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  260. package/docs/variables/PLUGIN.html +6 -5
  261. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  262. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  263. package/docs/variables/VERSION.html +6 -5
  264. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  265. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  266. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  267. package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -0
  268. package/libs/CSS3DRenderPlugin/Controller.js +24 -23
  269. package/libs/PanoTagPlugin/Components/Common/Audio.js +85 -90
  270. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +261 -121
  271. package/libs/PanoTagPlugin/Components/Common/Media.js +28 -28
  272. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +61 -61
  273. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +79 -49
  274. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +15 -13
  275. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +2 -3
  276. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +45 -45
  277. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +69 -68
  278. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +89 -86
  279. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +61 -61
  280. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +13 -13
  281. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +48 -48
  282. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +44 -55
  283. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +114 -107
  284. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +36 -25
  285. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +50 -49
  286. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +53 -50
  287. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +49 -49
  288. package/libs/PanoTagPlugin/Components/Tag/index.js +165 -154
  289. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -4
  290. package/libs/PanoTagPlugin/Components/TagItem.js +86 -78
  291. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -3
  292. package/libs/PanoTagPlugin/controller/index.d.ts +0 -2
  293. package/libs/PanoTagPlugin/controller/index.js +47 -48
  294. package/libs/PanoTagPlugin/index.js +2 -2
  295. package/libs/PanoTagPlugin/mocks/v1/mock1.js +2 -3
  296. package/libs/PanoTagPlugin/tsconfig.js +9 -0
  297. package/libs/PanoTagPlugin/typings/controller.js +1 -1
  298. package/libs/PanoTagPlugin/typings/index.js +5 -6
  299. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +2 -7
  300. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +11 -0
  301. package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -5
  302. package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +1 -1
  303. package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +58 -37
  304. package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +8 -10
  305. package/libs/PanoTagPlugin/utils/getImageInfo.js +54 -36
  306. package/libs/PanoTagPlugin/utils/index.js +35 -36
  307. package/libs/PanoTagPlugin/utils/planeNormal.js +2 -3
  308. package/libs/PanoTagPlugin/utils/px2rem.d.ts +3 -1
  309. package/libs/PanoTagPlugin/utils/tagPosition.js +7 -8
  310. package/libs/base/BasePlugin.d.ts +4 -0
  311. package/libs/base/BasePlugin.js +3 -2
  312. package/libs/index.js +2 -2
  313. package/libs/shared-utils/audio.d.ts +0 -2
  314. package/libs/shared-utils/audio.js +60 -37
  315. package/package.json +2 -2
@@ -1,9 +1,8 @@
1
- import { SvelteComponent as K, init as M, safe_not_equal as N, append_styles as O, element as A, space as Q, attr as d, set_style as k, toggle_class as g, insert as P, append as j, transition_out as h, check_outros as B, transition_in as y, detach as C, getContext as U, group_outros as E, noop as v, create_component as G, mount_component as H, destroy_component as J } from "../../vendor/svelte/internal/index.js";
2
- import W from "./Tag/index.js";
1
+ import { SvelteComponent as M, init as N, safe_not_equal as O, append_styles as Q, element as C, space as U, attr as d, set_style as S, toggle_class as b, insert as L, append as j, transition_out as T, check_outros as B, transition_in as z, detach as I, getContext as W, group_outros as E, noop as A, create_component as G, mount_component as H, destroy_component as J } from "../../vendor/svelte/internal/index.js";
2
+ import X from "./Tag/index.js";
3
3
  import "three";
4
4
  import { noTypecheck as F } from "../utils/noTypecheck.js";
5
- import "@realsee/five/gltf-loader";
6
- import X from "./Common/TagPoint.js";
5
+ import Y from "./Common/TagPoint.js";
7
6
  import "./Tag/TextTag/index.js";
8
7
  import "./Tag/TextTag/TextTag.js";
9
8
  import "./Common/Line/Straight.js";
@@ -80,8 +79,8 @@ import "../utils/tag/tagCheck.js";
80
79
  import "./Tag/AudioTag/index.js";
81
80
  import "./Tag/AudioTag/AudioTag.js";
82
81
  import "./Common/Audio.js";
83
- import "../utils/audio/SharedAudio.js";
84
82
  import "../../shared-utils/audio.js";
83
+ import "../utils/audio/SharedAudio.js";
85
84
  import "./Common/Icon/audioIcon.js";
86
85
  import "./Tag/AudioTag/AudioPlaneTag.js";
87
86
  import "./Tag/MediaPlane.js";
@@ -89,29 +88,29 @@ import "./Tag/LinkTag.js";
89
88
  import "./Common/Icon/Icon.js";
90
89
  import "../utils/getImageInfo.js";
91
90
  import "./Tag/CustomTag.js";
92
- function Y(o) {
93
- O(o, "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}");
94
- }
95
91
  function Z(o) {
92
+ Q(o, "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}");
93
+ }
94
+ function x(o) {
96
95
  let e;
97
96
  return {
98
97
  c() {
99
- e = A("div"), d(e, "data-info", "tag content is disable");
98
+ e = C("div"), d(e, "data-info", "tag content is disable");
100
99
  },
101
100
  m(t, i) {
102
- P(t, e, i);
101
+ L(t, e, i);
103
102
  },
104
- p: v,
105
- i: v,
106
- o: v,
103
+ p: A,
104
+ i: A,
105
+ o: A,
107
106
  d(t) {
108
- t && C(e);
107
+ t && I(e);
109
108
  }
110
109
  };
111
110
  }
112
- function x(o) {
111
+ function $(o) {
113
112
  let e, t;
114
- return e = new W({
113
+ return e = new X({
115
114
  props: {
116
115
  mediaStore: o[2],
117
116
  withAnimation: o[0],
@@ -128,40 +127,40 @@ function x(o) {
128
127
  H(e, i, n), t = !0;
129
128
  },
130
129
  p(i, n) {
131
- const l = {};
132
- n & 4 && (l.mediaStore = i[2]), n & 1 && (l.withAnimation = i[0]), n & 2 && (l.tag = F(i[1])), n & 8 && (l.state = i[3]), n & 16 && (l.temporaryState = i[4]), e.$set(l);
130
+ const a = {};
131
+ n & 4 && (a.mediaStore = i[2]), n & 1 && (a.withAnimation = i[0]), n & 2 && (a.tag = F(i[1])), n & 8 && (a.state = i[3]), n & 16 && (a.temporaryState = i[4]), e.$set(a);
133
132
  },
134
133
  i(i) {
135
- t || (y(e.$$.fragment, i), t = !0);
134
+ t || (z(e.$$.fragment, i), t = !0);
136
135
  },
137
136
  o(i) {
138
- h(e.$$.fragment, i), t = !1;
137
+ T(e.$$.fragment, i), t = !1;
139
138
  },
140
139
  d(i) {
141
140
  J(e, i);
142
141
  }
143
142
  };
144
143
  }
145
- function $(o) {
144
+ function tt(o) {
146
145
  let e;
147
146
  return {
148
147
  c() {
149
- e = A("div"), d(e, "data-info", "tag point is disable");
148
+ e = C("div"), d(e, "data-info", "tag point is disable");
150
149
  },
151
150
  m(t, i) {
152
- P(t, e, i);
151
+ L(t, e, i);
153
152
  },
154
- p: v,
155
- i: v,
156
- o: v,
153
+ p: A,
154
+ i: A,
155
+ o: A,
157
156
  d(t) {
158
- t && C(e);
157
+ t && I(e);
159
158
  }
160
159
  };
161
160
  }
162
- function tt(o) {
161
+ function et(o) {
163
162
  let e, t;
164
- return e = new X({ props: { tag: o[1] } }), {
163
+ return e = new Y({ props: { tag: o[1] } }), {
165
164
  c() {
166
165
  G(e.$$.fragment);
167
166
  },
@@ -169,93 +168,102 @@ function tt(o) {
169
168
  H(e, i, n), t = !0;
170
169
  },
171
170
  p(i, n) {
172
- const l = {};
173
- n & 2 && (l.tag = i[1]), e.$set(l);
171
+ const a = {};
172
+ n & 2 && (a.tag = i[1]), e.$set(a);
174
173
  },
175
174
  i(i) {
176
- t || (y(e.$$.fragment, i), t = !0);
175
+ t || (z(e.$$.fragment, i), t = !0);
177
176
  },
178
177
  o(i) {
179
- h(e.$$.fragment, i), t = !1;
178
+ T(e.$$.fragment, i), t = !1;
180
179
  },
181
180
  d(i) {
182
181
  J(e, i);
183
182
  }
184
183
  };
185
184
  }
186
- function et(o) {
187
- let e, t, i, n, l, s, u, w, f;
188
- const S = [x, Z], c = [];
189
- function T(r, a) {
185
+ function it(o) {
186
+ let e, t, i, n, a, l, f, k, s;
187
+ const P = [$, x], c = [];
188
+ function v(r, p) {
190
189
  return r[12] ? 0 : 1;
191
190
  }
192
- i = T(o), n = c[i] = S[i](o);
193
- const p = [tt, $], _ = [];
194
- function z(r, a) {
191
+ i = v(o), n = c[i] = P[i](o);
192
+ const h = [et, tt], u = [];
193
+ function y(r, p) {
195
194
  return r[13] ? 0 : 1;
196
195
  }
197
- return s = z(o), u = _[s] = p[s](o), {
196
+ return l = y(o), f = u[l] = h[l](o), {
198
197
  c() {
199
- e = A("div"), t = A("div"), n.c(), l = Q(), u.c(), d(t, "class", "wrapper svelte-pzwdws"), d(t, "data-tag-unfolded", o[8]), d(t, "data-tag-id", o[11]), d(t, "data-content-type", w = o[1].contentType), k(t, "left", o[7]), k(t, "top", o[6]), k(t, "z-index", o[5]), d(e, "class", "tag svelte-pzwdws"), d(e, "data-tag-id", o[11]), g(e, "unClickable", o[1].clickable === !1), g(e, "disable", o[10]), g(e, "hide", o[9]), g(e, "withAnimation", o[0]);
198
+ e = C("div"), t = C("div"), n.c(), a = U(), f.c(), d(t, "class", "wrapper svelte-pzwdws"), d(t, "data-tag-unfolded", o[8]), d(t, "data-tag-id", o[11]), d(t, "data-content-type", k = o[1].contentType), S(t, "left", o[7]), S(t, "top", o[6]), S(t, "z-index", o[5]), d(e, "class", "tag svelte-pzwdws"), d(e, "data-tag-id", o[11]), b(e, "unClickable", o[1].clickable === !1), b(e, "disable", o[10]), b(e, "hide", o[9]), b(e, "withAnimation", o[0]);
200
199
  },
201
- m(r, a) {
202
- P(r, e, a), j(e, t), c[i].m(t, null), j(t, l), _[s].m(t, null), f = !0;
200
+ m(r, p) {
201
+ L(r, e, p), j(e, t), c[i].m(t, null), j(t, a), u[l].m(t, null), s = !0;
203
202
  },
204
- p(r, [a]) {
205
- let m = i;
206
- i = T(r), i === m ? c[i].p(r, a) : (E(), h(c[m], 1, 1, () => {
207
- c[m] = null;
208
- }), B(), n = c[i], n ? n.p(r, a) : (n = c[i] = S[i](r), n.c()), y(n, 1), n.m(t, l));
209
- let b = s;
210
- s = z(r), s === b ? _[s].p(r, a) : (E(), h(_[b], 1, 1, () => {
211
- _[b] = null;
212
- }), B(), u = _[s], u ? u.p(r, a) : (u = _[s] = p[s](r), u.c()), y(u, 1), u.m(t, null)), (!f || a & 256) && d(t, "data-tag-unfolded", r[8]), (!f || a & 2048) && d(t, "data-tag-id", r[11]), (!f || a & 2 && w !== (w = r[1].contentType)) && d(t, "data-content-type", w), a & 128 && k(t, "left", r[7]), a & 64 && k(t, "top", r[6]), a & 32 && k(t, "z-index", r[5]), (!f || a & 2048) && d(e, "data-tag-id", r[11]), (!f || a & 2) && g(e, "unClickable", r[1].clickable === !1), (!f || a & 1024) && g(e, "disable", r[10]), (!f || a & 512) && g(e, "hide", r[9]), (!f || a & 1) && g(e, "withAnimation", r[0]);
203
+ p(r, [p]) {
204
+ let g = i;
205
+ i = v(r), i === g ? c[i].p(r, p) : (E(), T(c[g], 1, 1, () => {
206
+ c[g] = null;
207
+ }), B(), n = c[i], n ? n.p(r, p) : (n = c[i] = P[i](r), n.c()), z(n, 1), n.m(t, a));
208
+ let w = l;
209
+ l = y(r), l === w ? u[l].p(r, p) : (E(), T(u[w], 1, 1, () => {
210
+ u[w] = null;
211
+ }), B(), f = u[l], f ? f.p(r, p) : (f = u[l] = h[l](r), f.c()), z(f, 1), f.m(t, null)), (!s || p & 256) && d(t, "data-tag-unfolded", r[8]), (!s || p & 2048) && d(t, "data-tag-id", r[11]), (!s || p & 2 && k !== (k = r[1].contentType)) && d(t, "data-content-type", k), p & 128 && S(t, "left", r[7]), p & 64 && S(t, "top", r[6]), p & 32 && S(t, "z-index", r[5]), (!s || p & 2048) && d(e, "data-tag-id", r[11]), (!s || p & 2) && b(e, "unClickable", r[1].clickable === !1), (!s || p & 1024) && b(e, "disable", r[10]), (!s || p & 512) && b(e, "hide", r[9]), (!s || p & 1) && b(e, "withAnimation", r[0]);
213
212
  },
214
213
  i(r) {
215
- f || (y(n), y(u), f = !0);
214
+ s || (z(n), z(f), s = !0);
216
215
  },
217
216
  o(r) {
218
- h(n), h(u), f = !1;
217
+ T(n), T(f), s = !1;
219
218
  },
220
219
  d(r) {
221
- r && C(e), c[i].d(), _[s].d();
220
+ r && I(e), c[i].d(), u[l].d();
222
221
  }
223
222
  };
224
223
  }
225
- function it(o, e, t) {
226
- let i, n, l, s, u, w, f, S, c, { withAnimation: T = !1 } = e, { tag: p } = e, { mediaStore: _ } = e, { state: z } = e, { temporaryState: r } = e;
227
- const a = U("hooks");
228
- return o.$$set = (m) => {
229
- "withAnimation" in m && t(0, T = m.withAnimation), "tag" in m && t(1, p = m.tag), "mediaStore" in m && t(2, _ = m.mediaStore), "state" in m && t(3, z = m.state), "temporaryState" in m && t(4, r = m.temporaryState);
224
+ function ot(o, e, t) {
225
+ let i, n, a, l, f, k, s, P, c;
226
+ var v, h, u, y, r, p, g, w;
227
+ let { withAnimation: q = !1 } = e, { tag: m } = e, { mediaStore: D } = e, { state: R } = e, { temporaryState: V } = e;
228
+ const K = W("hooks");
229
+ return o.$$set = (_) => {
230
+ "withAnimation" in _ && t(0, q = _.withAnimation), "tag" in _ && t(1, m = _.tag), "mediaStore" in _ && t(2, D = _.mediaStore), "state" in _ && t(3, R = _.state), "temporaryState" in _ && t(4, V = _.temporaryState);
230
231
  }, o.$$.update = () => {
231
- var m, b, L, I, q, D, R, V;
232
- o.$$.dirty & 2 && t(13, i = (() => !(p.contentType === "Sticker" || p.contentType === "Link" || p.contentType === "VRLink" || p.contentType === "PanoLink" || p.contentType === "Audio" && p.data.appearance === "plane"))()), o.$$.dirty & 2 && t(12, n = (() => p.stickType === "2DPoint")()), o.$$.dirty & 2 && t(11, l = p.id), o.$$.dirty & 2 && t(10, s = !((m = p.pointTagStyle) != null && m.leftPercent) || !((b = p.pointTagStyle) != null && b.topPercent) || p.enabled === !1 || !p.state), o.$$.dirty & 2 && t(9, u = !((L = p.state) != null && L.visible) || ((I = p.temporaryState) == null ? void 0 : I.visible) === !1), o.$$.dirty & 2 && t(8, w = (q = p.state) == null ? void 0 : q.unfolded), o.$$.dirty & 2 && t(7, f = ((D = p.pointTagStyle) == null ? void 0 : D.leftPercent) + "%"), o.$$.dirty & 2 && t(6, S = ((R = p.pointTagStyle) == null ? void 0 : R.topPercent) + "%"), o.$$.dirty & 2 && t(5, c = (V = p.state) != null && V.unfolded ? 1 : 0);
232
+ o.$$.dirty & 2 && t(13, i = (() => !(m.contentType === "Sticker" || m.contentType === "Link" || m.contentType === "VRLink" || m.contentType === "PanoLink" || m.contentType === "Audio" && m.data.appearance === "plane"))()), o.$$.dirty & 2 && t(12, n = (() => m.stickType === "2DPoint")()), o.$$.dirty & 2 && t(11, a = m.id), o.$$.dirty & 98306 && t(10, l = !(!(t(15, v = m.pointTagStyle) === null || v === void 0) && v.leftPercent) || !(!(t(16, h = m.pointTagStyle) === null || h === void 0) && h.topPercent) || m.enabled === !1 || !m.state), o.$$.dirty & 393218 && t(9, f = !(!(t(17, u = m.state) === null || u === void 0) && u.visible) || (t(18, y = m.temporaryState) === null || y === void 0 ? void 0 : y.visible) === !1), o.$$.dirty & 524290 && t(8, k = t(19, r = m.state) === null || r === void 0 ? void 0 : r.unfolded), o.$$.dirty & 1048578 && t(7, s = (t(20, p = m.pointTagStyle) === null || p === void 0 ? void 0 : p.leftPercent) + "%"), o.$$.dirty & 2097154 && t(6, P = (t(21, g = m.pointTagStyle) === null || g === void 0 ? void 0 : g.topPercent) + "%"), o.$$.dirty & 4194306 && t(5, c = !(t(22, w = m.state) === null || w === void 0) && w.unfolded ? 1 : 0);
233
233
  }, [
234
- T,
235
- p,
236
- _,
237
- z,
238
- r,
234
+ q,
235
+ m,
236
+ D,
237
+ R,
238
+ V,
239
239
  c,
240
- S,
241
- f,
242
- w,
243
- u,
240
+ P,
244
241
  s,
242
+ k,
243
+ f,
245
244
  l,
245
+ a,
246
246
  n,
247
247
  i,
248
- a
248
+ K,
249
+ v,
250
+ h,
251
+ u,
252
+ y,
253
+ r,
254
+ p,
255
+ g,
256
+ w
249
257
  ];
250
258
  }
251
- class He extends K {
259
+ class He extends M {
252
260
  constructor(e) {
253
- super(), M(
261
+ super(), N(
254
262
  this,
255
263
  e,
264
+ ot,
256
265
  it,
257
- et,
258
- N,
266
+ O,
259
267
  {
260
268
  withAnimation: 0,
261
269
  tag: 1,
@@ -263,7 +271,7 @@ class He extends K {
263
271
  state: 3,
264
272
  temporaryState: 4
265
273
  },
266
- Y
274
+ Z
267
275
  );
268
276
  }
269
277
  }
@@ -27,7 +27,6 @@ import "../../CSS3DRenderPlugin/CSS3DRender.js";
27
27
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
28
28
  import { notNil as F } from "../../shared-utils/isNil.js";
29
29
  import "../../shared-utils/animationFrame/BetterTween.js";
30
- import "@realsee/five/gltf-loader";
31
30
  import "../../CSS3DRenderPlugin/utils/centerPoint.js";
32
31
  import "../../base/BasePlugin.js";
33
32
  import "../../shared-utils/Subscribe.js";
@@ -41,7 +40,7 @@ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
41
40
  import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
42
41
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
43
42
  import "../../shared-utils/animationFrame/index.js";
44
- class ve extends S {
43
+ class pe extends S {
45
44
  constructor(e) {
46
45
  super(e);
47
46
  m(this, "tags", []);
@@ -408,5 +407,5 @@ class ve extends S {
408
407
  }
409
408
  }
410
409
  export {
411
- ve as TagComputer
410
+ pe as TagComputer
412
411
  };
@@ -6,8 +6,6 @@ import { Object3D } from 'three';
6
6
  import { TagComputer } from './TagComputer';
7
7
  export declare const pluginFlag: (name: string) => string;
8
8
  declare class PanoTagPluginController extends TagComputer {
9
- /** 版本号 */
10
- version: string;
11
9
  /** state */
12
10
  state: {
13
11
  enabled: boolean;
@@ -1,15 +1,15 @@
1
- var L = Object.defineProperty, V = Object.defineProperties;
2
- var B = Object.getOwnPropertyDescriptors;
3
- var F = Object.getOwnPropertySymbols;
4
- var x = Object.prototype.hasOwnProperty, G = Object.prototype.propertyIsEnumerable;
5
- var P = (h, d, e) => d in h ? L(h, d, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[d] = e, p = (h, d) => {
1
+ var V = Object.defineProperty, B = Object.defineProperties;
2
+ var G = Object.getOwnPropertyDescriptors;
3
+ var R = Object.getOwnPropertySymbols;
4
+ var x = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
5
+ var P = (h, d, e) => d in h ? V(h, d, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[d] = e, p = (h, d) => {
6
6
  for (var e in d || (d = {}))
7
7
  x.call(d, e) && P(h, e, d[e]);
8
- if (F)
9
- for (var e of F(d))
10
- G.call(d, e) && P(h, e, d[e]);
8
+ if (R)
9
+ for (var e of R(d))
10
+ N.call(d, e) && P(h, e, d[e]);
11
11
  return h;
12
- }, T = (h, d) => V(h, B(d));
12
+ }, T = (h, d) => B(h, G(d));
13
13
  var l = (h, d, e) => (P(h, typeof d != "symbol" ? d + "" : d, e), e);
14
14
  var c = (h, d, e) => new Promise((t, i) => {
15
15
  var s = (n) => {
@@ -27,27 +27,26 @@ var c = (h, d, e) => new Promise((t, i) => {
27
27
  }, r = (n) => n.done ? t(n.value) : Promise.resolve(n.value).then(s, o);
28
28
  r((e = e.apply(h, d)).next());
29
29
  });
30
- import { Subscribe as N } from "@realsee/five";
31
- import { Group as E, Vector3 as A, Matrix4 as S, Quaternion as W } from "three";
30
+ import { Subscribe as W } from "@realsee/five";
31
+ import { Group as E, Vector3 as A, Matrix4 as S, Quaternion as z } from "three";
32
32
  import v from "object-assign-deep";
33
- import { writable as z } from "../../vendor/svelte/store/index.js";
34
- import _ from "../Components/TagContainer.js";
35
- import $ from "../Components/Tag/index.js";
33
+ import { writable as _ } from "../../vendor/svelte/store/index.js";
34
+ import $ from "../Components/TagContainer.js";
35
+ import q from "../Components/Tag/index.js";
36
36
  import { arrayPositionToVector3 as C } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
37
- import { addDebugPoints as q } from "../utils/addDebugPoints.js";
37
+ import { addDebugPoints as H } from "../utils/addDebugPoints.js";
38
38
  import { planeNormal as k } from "../utils/planeNormal.js";
39
- import "@realsee/five/gltf-loader";
40
39
  import { isMediaModelTag as f } from "../utils/tag/tagCheck.js";
41
- import { waitFiveModelLoaded as H } from "../utils/actionAfterFiveModelLoad.js";
42
- import { normalPositionToPositions as J } from "../utils/normalPositionToPositions.js";
40
+ import { waitFiveModelLoaded as J } from "../utils/actionAfterFiveModelLoad.js";
41
+ import { normalPositionToPositions as Q } from "../utils/normalPositionToPositions.js";
43
42
  import { debounce as j } from "../utils/debounce.js";
44
- import { throttle as Q } from "../utils/throttle.js";
45
- import { resizeObserver as I } from "../utils/resizeObserver.js";
46
- import { TagComputer as X } from "./TagComputer.js";
47
- import { CSS3DRenderPlugin as K } from "../../CSS3DRenderPlugin/index.js";
48
- import Y from "../utils/tag/format.js";
49
- import { generateBlankAudio as Z, AudioNamespace as ee } from "../../shared-utils/audio.js";
50
- import { loadGLTF as te } from "../../shared-utils/three/GLTFLoader.js";
43
+ import { throttle as X } from "../utils/throttle.js";
44
+ import { resizeObserver as U } from "../utils/resizeObserver.js";
45
+ import { TagComputer as K } from "./TagComputer.js";
46
+ import { CSS3DRenderPlugin as Y } from "../../CSS3DRenderPlugin/index.js";
47
+ import Z from "../utils/tag/format.js";
48
+ import { generateBlankAudio as I, AudioNamespace as L } from "../../shared-utils/audio.js";
49
+ import { loadGLTF as ee } from "../../shared-utils/three/GLTFLoader.js";
51
50
  import "../../vendor/svelte/internal/index.js";
52
51
  import "../Components/TagItem.js";
53
52
  import "../utils/noTypecheck.js";
@@ -140,18 +139,18 @@ import "./TagCacheController.js";
140
139
  import "../../base/BasePlugin.js";
141
140
  import "../../CSS3DRenderPlugin/Controller.js";
142
141
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
143
- const U = "3.0.0", M = `DnalogelPlugin-PanoTagPlugin@${U}`, ie = !1, li = (h) => `${M}--${h}`;
144
- class hi extends X {
142
+ import "@realsee/five/gltf-loader";
143
+ const M = "DnalogelPlugin-PanoTagPlugin", te = !1, di = (h) => `${M}--${h}`;
144
+ class li extends K {
145
145
  constructor(e, t) {
146
146
  super(e);
147
- l(this, "version", U);
148
147
  l(this, "state", { enabled: !0, visible: !0 });
149
148
  l(this, "params");
150
149
  l(this, "debug");
151
150
  l(this, "css3DRenderPlugin");
152
151
  l(this, "TagContainerSvelte");
153
152
  l(this, "temporaryState", { visible: !0 });
154
- l(this, "mediaStore", z({
153
+ l(this, "mediaStore", _({
155
154
  currentMediaElement: null
156
155
  }));
157
156
  l(this, "group", new E());
@@ -186,7 +185,7 @@ class hi extends X {
186
185
  const t = e.data.modelUrl;
187
186
  if (!t)
188
187
  return;
189
- const i = te(t).then((a) => Object.assign(a.scene, { customID: e.id, isTagModel: !0 }));
188
+ const i = ee(t).then((a) => Object.assign(a.scene, { customID: e.id, isTagModel: !0 }));
190
189
  e.model = { promise: i };
191
190
  const s = yield i;
192
191
  if (((n = e.model) == null ? void 0 : n.promise) !== i || (e.model.object = s, !this.tags.includes(e)))
@@ -195,7 +194,7 @@ class hi extends X {
195
194
  const r = this.gltfObjectGroup.children.find((a) => a.customID === e.id);
196
195
  return r && this.gltfObjectGroup.remove(r), this.gltfObjectGroup.add(s), this.updateTagCss3DObjectMatrix(e, s), s;
197
196
  }));
198
- this.group.name = "PanoTagPluginModelGroup", this.gltfObjectGroup.name = "PanoTagPluginGLTFObjectGroup", this.group.add(this.gltfObjectGroup), this.params = p({ debug: !1, config: this.config }, t), this.debug = this.params.debug, this.config = this.params.config, Z(1, { namespace: ee.PlayAudio }), Object.assign(window, { [`__PANOTAGPLUGIN_DEBUG_${Date.now()}__`]: this }), Object.assign(window, { __PANOTAGPLUGIN_DEBUG__: this }), this.state.enabled && this.five.scene.add(this.group);
197
+ this.group.name = "PanoTagPluginModelGroup", this.gltfObjectGroup.name = "PanoTagPluginGLTFObjectGroup", this.group.add(this.gltfObjectGroup), this.params = p({ debug: !1, config: this.config }, t), this.debug = this.params.debug, this.config = this.params.config, I(1, { namespace: L.GetAudioDuration }), I(1, { namespace: L.PlayAudio }), Object.assign(window, { [`__PANOTAGPLUGIN_DEBUG_${Date.now()}__`]: this }), Object.assign(window, { __PANOTAGPLUGIN_DEBUG__: this }), this.state.enabled && this.five.scene.add(this.group);
199
198
  }
200
199
  load(e, t) {
201
200
  return c(this, null, function* () {
@@ -207,7 +206,7 @@ class hi extends X {
207
206
  const i = yield this.addTag(e.tagList, t);
208
207
  if (this.debug)
209
208
  try {
210
- q(this.five, this.tags);
209
+ H(this.five, this.tags);
211
210
  } catch (r) {
212
211
  console.error(r);
213
212
  }
@@ -219,13 +218,13 @@ class hi extends X {
219
218
  const s = (Array.isArray(e) ? e : [e]).map((o) => {
220
219
  const r = this.getTagConfig(o);
221
220
  return T(p({}, o), {
222
- state: p({ visible: void 0, unfolded: ie }, r.initialState),
223
- hooks: new N(),
221
+ state: p({ visible: void 0, unfolded: te }, r.initialState),
222
+ hooks: new W(),
224
223
  clickable: r.clickable,
225
224
  mergedConfig: r
226
225
  });
227
226
  }).filter((o) => o.position);
228
- return s.forEach(Y), this.tags.push(...s), H(this.five).then(() => {
227
+ return s.forEach(Z), this.tags.push(...s), J(this.five).then(() => {
229
228
  var o, r, n;
230
229
  return this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && (this.store.eventListenerDisposer = this.addEventListener()), this.addResizeListener(), this.checkPanelTag(), this.setVisibleAndUnfolded({ withAnimation: (n = t == null ? void 0 : t.withAnimation) != null ? n : !0 }).then(() => this.updateRenderAllTags()), this.updateRenderAllTags(), this.addMediaModelTag(s);
231
230
  });
@@ -315,8 +314,8 @@ class hi extends X {
315
314
  this.mediaStore.set({ currentMediaElement: null });
316
315
  }
317
316
  updateTagCss3DObjectMatrix(e, t) {
318
- var D, w, O, R;
319
- const i = (O = (w = (D = e.mergedConfig) == null ? void 0 : D.tag3DConfig) == null ? void 0 : w.ratio) != null ? O : 216e-5, s = (R = e.tag3DContentSvelte) == null ? void 0 : R.domContainer.css3DObject;
317
+ var D, w, O, F;
318
+ const i = (O = (w = (D = e.mergedConfig) == null ? void 0 : D.tag3DConfig) == null ? void 0 : w.ratio) != null ? O : 216e-5, s = (F = e.tag3DContentSvelte) == null ? void 0 : F.domContainer.css3DObject;
320
319
  if (!s)
321
320
  return;
322
321
  const o = f(e) ? e.data.mediaPosition : e.position;
@@ -385,12 +384,12 @@ class hi extends X {
385
384
  !this.state.enabled || (this.show(), this.updateRenderAllTags());
386
385
  }, i = () => {
387
386
  !this.state.enabled || this.hide();
388
- }, { observe: s, unobserve: o } = I(
389
- Q(() => {
387
+ }, { observe: s, unobserve: o } = U(
388
+ X(() => {
390
389
  !this.store.resizeObserverDisposer || i();
391
390
  }, 500),
392
391
  e
393
- ), { observe: r, unobserve: n } = I(
392
+ ), { observe: r, unobserve: n } = U(
394
393
  j(() => t(), 400),
395
394
  e
396
395
  );
@@ -477,7 +476,7 @@ class hi extends X {
477
476
  const i = (t = this.five.getElement()) == null ? void 0 : t.parentElement;
478
477
  if (!i)
479
478
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
480
- this.TagContainerSvelte = new _({
479
+ this.TagContainerSvelte = new $({
481
480
  target: i,
482
481
  props: { hooks: this.hooks, tags: e, state: this.state, temporaryState: this.temporaryState, mediaStore: this.mediaStore }
483
482
  });
@@ -494,16 +493,16 @@ class hi extends X {
494
493
  state: this.state,
495
494
  temporaryState: this.temporaryState
496
495
  }), !b.equals(u)) {
497
- const D = new W().setFromUnitVectors(b, u);
496
+ const D = new z().setFromUnitVectors(b, u);
498
497
  y.css3DObject.setRotationFromQuaternion(D);
499
498
  }
500
499
  return;
501
500
  }
502
501
  if (((m = t.state) == null ? void 0 : m.visible) === !1)
503
502
  return;
504
- if (this.css3DRenderPlugin || (this.css3DRenderPlugin = K(this.five)), t.stickType === "3DPoint" && !t.normal)
503
+ if (this.css3DRenderPlugin || (this.css3DRenderPlugin = Y(this.five)), t.stickType === "3DPoint" && !t.normal)
505
504
  return console.error("updateRenderPlaneTag: \u4E09\u7EF4\u70B9\u6807\u7B7E\u7F3A\u5C11\u6CD5\u5411\u91CF\uFF01");
506
- const i = (() => t.stickType === "Plane" ? t.position : f(t) ? t.data.mediaPosition : J(
505
+ const i = (() => t.stickType === "Plane" ? t.position : f(t) ? t.data.mediaPosition : Q(
507
506
  this.five.camera.position,
508
507
  C(t.position),
509
508
  C(t.normal)
@@ -522,7 +521,7 @@ class hi extends X {
522
521
  return;
523
522
  const o = this.getTagConfig(t).tag3DConfig, r = this.css3DRenderPlugin.create3DDomContainer(i, o);
524
523
  !r || (this.updateTagCss3DObjectVisible(t), this.store.css3DRenderDisposer.set(t.id, r.dispose), t.tag3DContentSvelte = {
525
- svelteApp: new $({
524
+ svelteApp: new q({
526
525
  target: r.container,
527
526
  props: {
528
527
  tag: t,
@@ -574,7 +573,7 @@ class hi extends X {
574
573
  }
575
574
  }
576
575
  export {
577
- hi as PanoTagPluginController,
578
- hi as default,
579
- li as pluginFlag
576
+ li as PanoTagPluginController,
577
+ li as default,
578
+ di as pluginFlag
580
579
  };
@@ -1,6 +1,5 @@
1
1
  import t from "./controller/index.js";
2
2
  import { default as ur, pluginFlag as Tr } from "./controller/index.js";
3
- import "@realsee/five/gltf-loader";
4
3
  import { ContentType as xr } from "./typings/tag/TagData.js";
5
4
  import { DimensionType as Cr, PointType as dr } from "./typings/tag/Utils.js";
6
5
  import "@realsee/five";
@@ -87,8 +86,8 @@ import "./utils/tag/tagCheck.js";
87
86
  import "./Components/Tag/AudioTag/index.js";
88
87
  import "./Components/Tag/AudioTag/AudioTag.js";
89
88
  import "./Components/Common/Audio.js";
90
- import "./utils/audio/SharedAudio.js";
91
89
  import "../shared-utils/audio.js";
90
+ import "./utils/audio/SharedAudio.js";
92
91
  import "./Components/Common/Icon/audioIcon.js";
93
92
  import "./Components/Tag/AudioTag/AudioPlaneTag.js";
94
93
  import "./Components/Tag/MediaPlane.js";
@@ -115,6 +114,7 @@ import "../CSS3DRenderPlugin/Controller.js";
115
114
  import "../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
116
115
  import "./utils/tag/format.js";
117
116
  import "../shared-utils/three/GLTFLoader.js";
117
+ import "@realsee/five/gltf-loader";
118
118
  const gr = (o, r) => new t(o, r);
119
119
  export {
120
120
  xr as ContentType,
@@ -1,4 +1,3 @@
1
- import "three";
2
1
  const t = [2.7818808289123007, -1.4285811161048776, -4.616888414534893], a = [4.829741729794315, -1.4285811161048776, -4.616888414534893], n = [4.829741729794315, -0.30950769602726647, -4.616888414534893], o = [2.7818808289123007, -0.30950769602726647, -4.616888414534893], i = [
3
2
  {
4
3
  dimensionType: "2D",
@@ -114,9 +113,9 @@ const t = [2.7818808289123007, -1.4285811161048776, -4.616888414534893], a = [4.
114
113
  text: "112123"
115
114
  }
116
115
  }
117
- ].map((u, e) => Object.assign(u, { id: e })), c = {
116
+ ].map((u, e) => Object.assign(u, { id: e })), F = {
118
117
  tagList: i
119
118
  };
120
119
  export {
121
- c as default
120
+ F as default
122
121
  };
@@ -0,0 +1,9 @@
1
+ const t = {
2
+ strict: !0
3
+ }, o = {
4
+ compilerOptions: t
5
+ };
6
+ export {
7
+ t as compilerOptions,
8
+ o as default
9
+ };
@@ -1 +1 @@
1
- import "@realsee/five/gltf-loader";
1
+
@@ -1,8 +1,7 @@
1
- import "@realsee/five/gltf-loader";
2
- import { ContentType as t } from "./tag/TagData.js";
3
- import { DimensionType as r, PointType as i } from "./tag/Utils.js";
1
+ import { ContentType as n } from "./tag/TagData.js";
2
+ import { DimensionType as t, PointType as r } from "./tag/Utils.js";
4
3
  export {
5
- t as ContentType,
6
- r as DimensionType,
7
- i as PointType
4
+ n as ContentType,
5
+ t as DimensionType,
6
+ r as PointType
8
7
  };
@@ -1,7 +1,7 @@
1
1
  import type { State as FiveState } from '@realsee/five';
2
2
  import type { TagConfig } from './TagConfig';
3
3
  import { ContentTypeMap, ContentType, TagContentType } from './TagData';
4
- import type { ContentTypeConfigKey, Position, TagId, TagIconUrl, TagIconSize, StickType } from './Utils';
4
+ import type { ContentTypeConfigKey, Position, TagId, StickType, TagStyle } from './Utils';
5
5
  export type { ContentTypeMap, TagContentType };
6
6
  export { ContentType };
7
7
  /** 返回一个销毁函数 */
@@ -42,12 +42,7 @@ export declare type Tag<C extends TagContentType = TagContentType, S extends Sti
42
42
  /** 打标签时的 five state */
43
43
  fiveState?: FiveState;
44
44
  /** 样式 */
45
- style?: {
46
- /** 小圆点样式 */
47
- point?: {
48
- size?: TagIconSize;
49
- } & TagIconUrl;
50
- };
45
+ style?: TagStyle;
51
46
  } & (S extends '3DPoint' ? {
52
47
  normal: Position;
53
48
  } : unknown) & // 三维标签需要法向量
@@ -31,6 +31,17 @@ export interface TagIconUrl {
31
31
  steps?: number;
32
32
  /** 单位:帧/s, 默认每秒24帧,即 fps: 24 */
33
33
  fps?: number;
34
+ /** 期望渲染在屏幕上的宽度,如果指定了scale,则最终渲染在屏幕上的宽度 = width * scale */
35
+ width?: number;
36
+ /** 缩放值。默认为1,如果指定了scale,则最终渲染在屏幕上的宽度 = width * scale */
37
+ scale?: number;
38
+ }
39
+ export interface TagStyle {
40
+ /** 小圆点样式 */
41
+ point?: {
42
+ /** @deprecated v2.11.0 废弃,使用 width: number 控制 */
43
+ size?: TagIconSize;
44
+ } & TagIconUrl;
34
45
  }
35
46
  /**
36
47
  * @description S: 18; M: 20; L: 24; XL: 28