@realsee/dnalogel 2.3.4 → 2.3.5-dev.1

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 (328) hide show
  1. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  2. package/dist/ModelViewPlugin/Plugin.d.ts +8 -0
  3. package/dist/PanoTagPlugin/Assets/Icon.d.ts +3 -2
  4. package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
  5. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +15 -14
  6. package/dist/PanoTagPlugin/controller/index.d.ts +14 -12
  7. package/dist/PanoTagPlugin/index.d.ts +1 -1
  8. package/dist/PanoTagPlugin/typings/controller.d.ts +12 -11
  9. package/dist/PanoTagPlugin/typings/index.d.ts +5 -1
  10. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
  11. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
  12. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
  13. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +50 -0
  14. package/dist/PanoTagPlugin/utils/color.d.ts +7 -0
  15. package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
  16. package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -0
  17. package/dist/PanoTagPlugin/utils/tag/format.d.ts +2 -0
  18. package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
  19. package/dist/PanoTagPlugin/utils/timeToString.d.ts +1 -0
  20. package/dist/index.cjs.js +51 -51
  21. package/dist/index.js +7181 -6289
  22. package/dist/index.umd.js +43 -43
  23. package/docs/assets/search.js +1 -1
  24. package/docs/classes/CSS3DRender.html +31 -31
  25. package/docs/classes/CruisePluginController.html +24 -24
  26. package/docs/classes/Magnifier.html +16 -16
  27. package/docs/classes/ModelRoomLabelController.html +11 -11
  28. package/docs/classes/Object3DHelperController.html +24 -24
  29. package/docs/classes/PaintBrush.html +15 -15
  30. package/docs/classes/PanoTagPluginController.html +196 -164
  31. package/docs/classes/Util.BetterTween.html +8 -8
  32. package/docs/classes/Util.FivePointSelector.html +12 -12
  33. package/docs/classes/Util.Interval.html +12 -12
  34. package/docs/classes/Util.Magnifier.html +17 -17
  35. package/docs/classes/Util.PointDomHelper.html +11 -11
  36. package/docs/classes/Util.PointHelper.html +11 -11
  37. package/docs/classes/Util.Rectangle.html +13 -13
  38. package/docs/enums/CameraMovementEffect.html +7 -7
  39. package/docs/enums/ContentType.html +75 -35
  40. package/docs/enums/DIRECTION.html +9 -9
  41. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  42. package/docs/enums/DimensionType.html +19 -15
  43. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  44. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  45. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  46. package/docs/enums/PointType.html +19 -15
  47. package/docs/enums/Rotation.html +8 -8
  48. package/docs/functions/CSS3DRenderPlugin.html +35 -13
  49. package/docs/functions/CameraMovementPlugin.html +35 -13
  50. package/docs/functions/CruisePlugin.html +35 -13
  51. package/docs/functions/GuideLinePlugin.html +36 -14
  52. package/docs/functions/ItemLabelPlugin.html +35 -13
  53. package/docs/functions/MapviewFloorplanPlugin.html +35 -13
  54. package/docs/functions/ModelChassisCompassPlugin.html +35 -13
  55. package/docs/functions/ModelEntryDoorGuidePlugin.html +35 -13
  56. package/docs/functions/ModelFloorplanPlugin.html +35 -13
  57. package/docs/functions/ModelItemLabelPlugin.html +35 -13
  58. package/docs/functions/ModelRoomLabelPlugin.html +35 -13
  59. package/docs/functions/ModelTVVideoPlugin.html +35 -13
  60. package/docs/functions/ModelViewPlugin.html +35 -13
  61. package/docs/functions/Object3DHelperPlugin.html +35 -13
  62. package/docs/functions/PanoCompassPlugin.html +35 -13
  63. package/docs/functions/PanoCursorRaycasterPlugin.html +35 -13
  64. package/docs/functions/PanoDoorLabelPlugin.html +35 -13
  65. package/docs/functions/PanoFloorplanRadarPlugin.html +35 -13
  66. package/docs/functions/PanoMeasurePlugin.html +35 -13
  67. package/docs/functions/PanoRulerPlugin.html +35 -13
  68. package/docs/functions/PanoRulerProPlugin.html +35 -13
  69. package/docs/functions/PanoSpatialTagPlugin.html +35 -13
  70. package/docs/functions/PanoTagPlugin.html +41 -23
  71. package/docs/functions/TopviewFloorplanPlugin.html +35 -13
  72. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  73. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  74. package/docs/functions/Util.getFrameTime.html +5 -5
  75. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  76. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  77. package/docs/functions/Util.isNil.html +5 -5
  78. package/docs/functions/Util.nextFrame.html +5 -5
  79. package/docs/functions/Util.notNil.html +5 -5
  80. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  81. package/docs/functions/Util.tweenProgress.html +5 -5
  82. package/docs/functions/pluginFlag.html +36 -14
  83. package/docs/index.html +35 -13
  84. package/docs/interfaces/AddTagConfig.html +64 -0
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  86. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  87. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  88. package/docs/interfaces/EventMap.html +298 -0
  89. package/docs/interfaces/FloorplanBounding.html +8 -8
  90. package/docs/interfaces/FloorplanData.html +10 -10
  91. package/docs/interfaces/FloorplanEntrance.html +11 -11
  92. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  93. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  94. package/docs/interfaces/FloorplanFloorData.html +9 -9
  95. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  96. package/docs/interfaces/FloorplanObserver.html +9 -9
  97. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  98. package/docs/interfaces/FloorplanPosition.html +7 -7
  99. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  100. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  101. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  102. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  103. package/docs/interfaces/FloorplanServerData.html +7 -7
  104. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  105. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  106. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  107. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  108. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  109. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  110. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  111. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  112. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  113. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  114. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  115. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  116. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  117. package/docs/interfaces/LineJson.html +7 -7
  118. package/docs/interfaces/MinMax.html +71 -0
  119. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  120. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  121. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  122. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  123. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  124. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  125. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  126. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  127. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  128. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  129. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  130. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  131. package/docs/interfaces/ModelViewPluginExportType.html +57 -9
  132. package/docs/interfaces/Object3DHelperState.html +8 -8
  133. package/docs/interfaces/OpenParameter.html +7 -7
  134. package/docs/interfaces/PaintBrushAction.html +12 -12
  135. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  136. package/docs/interfaces/PaintBrushState.html +10 -10
  137. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  138. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +36 -14
  139. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  140. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  141. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  142. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  143. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  144. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  145. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  146. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  147. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +36 -14
  148. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +36 -14
  149. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  150. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  151. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  152. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  153. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  154. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  155. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  156. package/docs/interfaces/Point.html +8 -8
  157. package/docs/interfaces/PointJson.html +8 -8
  158. package/docs/interfaces/Room.html +9 -9
  159. package/docs/interfaces/RoomInfo.html +7 -7
  160. package/docs/interfaces/RoomLabel.html +14 -14
  161. package/docs/interfaces/RoomRules.html +36 -14
  162. package/docs/interfaces/Rooms.html +36 -14
  163. package/docs/interfaces/Scissor.html +9 -9
  164. package/docs/interfaces/State.html +89 -0
  165. package/docs/interfaces/TagCache.html +92 -0
  166. package/docs/interfaces/TagConfig.html +15 -19
  167. package/docs/interfaces/TagIconUrl.html +91 -0
  168. package/docs/interfaces/Tags.html +14 -12
  169. package/docs/interfaces/TemporaryState.html +64 -0
  170. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  171. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  172. package/docs/modules/Util.html +5 -5
  173. package/docs/modules.html +65 -21
  174. package/docs/types/ArrayPosition.html +37 -15
  175. package/docs/types/CSS3DRenderExportType.html +36 -14
  176. package/docs/types/CSS3DRenderPluginExportType.html +36 -14
  177. package/docs/types/CSS3DRenderPluginParameterType.html +36 -14
  178. package/docs/types/Color.html +36 -14
  179. package/docs/types/ContentTypeConfigKey.html +37 -15
  180. package/docs/types/ContentTypeMap.html +247 -0
  181. package/docs/types/Create3DDomContainerReturnType.html +36 -14
  182. package/docs/types/Create3DElementReturnType.html +36 -14
  183. package/docs/types/CruisePluginExportType.html +36 -14
  184. package/docs/types/Direction-1.html +36 -14
  185. package/docs/types/Direction4.html +36 -14
  186. package/docs/types/FloorplanRuleLabels.html +36 -14
  187. package/docs/types/FloorplanServerRuleLabels.html +36 -14
  188. package/docs/types/GuideLinePluginExportType.html +36 -14
  189. package/docs/types/HelperEventMap.html +36 -14
  190. package/docs/types/MapviewFloorplanPluginParameterType.html +36 -14
  191. package/docs/types/MapviewFloorplanPluginReturnType.html +36 -14
  192. package/docs/types/MediaData.html +36 -14
  193. package/docs/types/MediaStore.html +247 -0
  194. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +36 -14
  195. package/docs/types/ModelFloorplanPluginParameterType.html +36 -14
  196. package/docs/types/ModelFloorplanPluginReturnType.html +36 -14
  197. package/docs/types/ModelRoomLabelPluginParameters.html +36 -14
  198. package/docs/types/ModelRoomLabelPluginReturnType.html +36 -14
  199. package/docs/types/MoveArgs.html +36 -14
  200. package/docs/types/MoveOpts.html +36 -14
  201. package/docs/types/Object3DHelperEventMap.html +36 -14
  202. package/docs/types/ObjectFit.html +36 -14
  203. package/docs/types/PaintBrushEventMap.html +36 -14
  204. package/docs/types/PanoCompassPluginData.html +36 -14
  205. package/docs/types/PanoCompassPluginExportType.html +36 -14
  206. package/docs/types/PanoCompassPluginParameterType.html +36 -14
  207. package/docs/types/PanoFloorplanRadarPluginParameterType.html +36 -14
  208. package/docs/types/PanoFloorplanRadarPluginReturnType.html +36 -14
  209. package/docs/types/PanoIndex.html +247 -0
  210. package/docs/types/PanoMeasurePluginEvent.html +36 -14
  211. package/docs/types/PanoMeasureReturnType.html +36 -14
  212. package/docs/types/PanoSpatialTagPluginId.html +36 -14
  213. package/docs/types/PanoTagPluginExportInterface.html +36 -14
  214. package/docs/types/PanoTagPluginParamsInterface.html +36 -14
  215. package/docs/types/PlaneTag.html +39 -19
  216. package/docs/types/PlaneTagElement.html +252 -0
  217. package/docs/types/Point2DElement.html +252 -0
  218. package/docs/types/Point2DTag.html +254 -0
  219. package/docs/types/Point3DElement.html +252 -0
  220. package/docs/types/Point3DTag.html +254 -0
  221. package/docs/types/PointTag.html +39 -23
  222. package/docs/types/PointTagElement.html +252 -0
  223. package/docs/types/Position.html +36 -14
  224. package/docs/types/RotateArgs.html +36 -14
  225. package/docs/types/RotateOpts.html +36 -14
  226. package/docs/types/RuleLabelsKey.html +36 -14
  227. package/docs/types/RuleLabelsValue.html +36 -14
  228. package/docs/types/StickType.html +247 -0
  229. package/docs/types/Tag.html +40 -22
  230. package/docs/types/Tag2D.html +41 -20
  231. package/docs/types/Tag3D.html +41 -20
  232. package/docs/types/TagContentType.html +247 -0
  233. package/docs/types/TagDimensionType.html +247 -0
  234. package/docs/types/TagElement.html +254 -0
  235. package/docs/types/TagEvents.html +282 -0
  236. package/docs/types/TagHooks.html +247 -0
  237. package/docs/types/TagIconSize.html +250 -0
  238. package/docs/types/TagId.html +36 -14
  239. package/docs/types/TagPointType.html +250 -0
  240. package/docs/types/TopviewFloorplanPluginParameterType.html +36 -14
  241. package/docs/types/TopviewFloorplanPluginReturnType.html +36 -14
  242. package/docs/types/{ContentTypeConfigKeyArray.html → WorkCode.html} +39 -17
  243. package/docs/variables/FLOOR_TYPE_MAP.html +36 -14
  244. package/docs/variables/PLUGIN.html +36 -14
  245. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +36 -14
  246. package/docs/variables/ROOM_TYPE_MAP.html +36 -14
  247. package/docs/variables/VERSION.html +36 -14
  248. package/docs/variables/itemLabelPluginServerParams.html +36 -14
  249. package/docs/variables/modelItemLabelPluginServerParams.html +36 -14
  250. package/docs/variables/modelRoomLabelPluginServerParams.html +36 -14
  251. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  252. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +2 -2
  253. package/libs/ModelViewPlugin/Plugin.d.ts +8 -0
  254. package/libs/ModelViewPlugin/Plugin.js +83 -73
  255. package/libs/Object3DHelperPlugin/Controller.js +36 -34
  256. package/libs/PanoTagPlugin/Assets/Icon.d.ts +3 -2
  257. package/libs/PanoTagPlugin/Assets/Icon.js +4 -3
  258. package/libs/PanoTagPlugin/Components/Common/Audio.js +138 -133
  259. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +173 -0
  260. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +108 -0
  261. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +32 -32
  262. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +94 -59
  263. package/libs/PanoTagPlugin/Components/Common/Media.js +212 -194
  264. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +109 -80
  265. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +78 -0
  266. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +135 -0
  267. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +147 -0
  268. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +166 -0
  269. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +209 -0
  270. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +204 -0
  271. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +98 -0
  272. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +100 -130
  273. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +49 -98
  274. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +47 -44
  275. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +98 -0
  276. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +122 -0
  277. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +98 -0
  278. package/libs/PanoTagPlugin/Components/Tag/index.js +130 -133
  279. package/libs/PanoTagPlugin/Components/TagContainer.js +89 -105
  280. package/libs/PanoTagPlugin/Components/TagItem.js +139 -0
  281. package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
  282. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +15 -14
  283. package/libs/PanoTagPlugin/controller/TagComputer.js +168 -151
  284. package/libs/PanoTagPlugin/controller/index.d.ts +14 -12
  285. package/libs/PanoTagPlugin/controller/index.js +128 -133
  286. package/libs/PanoTagPlugin/index.d.ts +1 -1
  287. package/libs/PanoTagPlugin/index.js +31 -20
  288. package/libs/PanoTagPlugin/tag.config.js +23 -16
  289. package/libs/PanoTagPlugin/typings/controller.d.ts +12 -11
  290. package/libs/PanoTagPlugin/typings/index.d.ts +5 -1
  291. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
  292. package/libs/PanoTagPlugin/typings/tag/Tag.js +1 -0
  293. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
  294. package/libs/PanoTagPlugin/typings/tag/TagConfig.js +1 -0
  295. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
  296. package/libs/PanoTagPlugin/typings/tag/TagData.js +4 -0
  297. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +50 -0
  298. package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -0
  299. package/libs/PanoTagPlugin/utils/color.d.ts +7 -0
  300. package/libs/PanoTagPlugin/utils/color.js +17 -0
  301. package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
  302. package/libs/PanoTagPlugin/utils/getImageInfo.js +50 -0
  303. package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -0
  304. package/libs/PanoTagPlugin/utils/px2rem.js +6 -0
  305. package/libs/PanoTagPlugin/utils/tag/format.d.ts +2 -0
  306. package/libs/PanoTagPlugin/utils/tag/format.js +17 -0
  307. package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
  308. package/libs/PanoTagPlugin/utils/tag/tagCheck.js +10 -0
  309. package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
  310. package/libs/PanoTagPlugin/utils/timeToString.d.ts +1 -0
  311. package/libs/PanoTagPlugin/utils/timeToString.js +7 -0
  312. package/libs/index.js +112 -101
  313. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +17 -20
  314. package/libs/vendor/svelte/internal/index.js +381 -341
  315. package/package.json +3 -3
  316. package/dist/PanoTagPlugin/typings/tag.d.ts +0 -247
  317. package/docs/enums/LinkType.html +0 -67
  318. package/docs/interfaces/ContentTypeMap.html +0 -212
  319. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +0 -170
  320. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +0 -50
  321. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +0 -50
  322. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +0 -166
  323. package/libs/PanoTagPlugin/Components/Common/Text.js +0 -130
  324. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +0 -131
  325. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +0 -122
  326. package/libs/PanoTagPlugin/Components/TagWrapper.js +0 -152
  327. package/libs/PanoTagPlugin/typings/tag.d.ts +0 -247
  328. package/libs/PanoTagPlugin/typings/tag.js +0 -7
@@ -1,194 +1,205 @@
1
- var w = Object.defineProperty;
2
- var j = (p, u, e) => u in p ? w(p, u, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[u] = e;
3
- var b = (p, u, e) => (j(p, typeof u != "symbol" ? u + "" : u, e), e);
4
- import T from "object-assign-deep";
1
+ var U = Object.defineProperty, j = Object.defineProperties;
2
+ var w = Object.getOwnPropertyDescriptors;
3
+ var k = Object.getOwnPropertySymbols;
4
+ var B = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
5
+ var P = (u, c, e) => c in u ? U(u, c, { enumerable: !0, configurable: !0, writable: !0, value: e }) : u[c] = e, x = (u, c) => {
6
+ for (var e in c || (c = {}))
7
+ B.call(c, e) && P(u, e, c[e]);
8
+ if (k)
9
+ for (var e of k(c))
10
+ A.call(c, e) && P(u, e, c[e]);
11
+ return u;
12
+ }, D = (u, c) => j(u, w(c));
13
+ var y = (u, c, e) => (P(u, typeof c != "symbol" ? c + "" : c, e), e);
14
+ import C from "object-assign-deep";
5
15
  import * as I from "three";
6
- import { DefaultConfig as k } from "../tag.config.js";
7
- import { DimensionType as y, PointType as v } from "../typings/tag.js";
8
- import { arrayPositionToVector3 as B, anyPositionToVector3 as U } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
9
- import { planeNormal as E } from "../utils/planeNormal.js";
10
- import { tagPosition as C } from "../utils/tagPosition.js";
11
- import { checkRange as P } from "../utils/checkRange.js";
12
- import { TagCacheController as V } from "./TagCacheController.js";
13
- class O extends V {
16
+ import { DefaultConfig as E } from "../tag.config.js";
17
+ import { is3DTag as V, isPointTag as R } from "../utils/tag/tagCheck.js";
18
+ import { arrayPositionToVector3 as M, anyPositionToVector3 as S } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
19
+ import { planeNormal as $ } from "../utils/planeNormal.js";
20
+ import { tagPosition as T } from "../utils/tagPosition.js";
21
+ import { checkRange as v } from "../utils/checkRange.js";
22
+ import { TagCacheController as z } from "./TagCacheController.js";
23
+ class q extends z {
14
24
  constructor(e) {
15
25
  super(e);
16
- b(this, "tags", []);
17
- b(this, "config", k);
18
- b(this, "raycaster", new I.Raycaster());
26
+ y(this, "tags", []);
27
+ y(this, "config", E);
28
+ y(this, "raycaster", new I.Raycaster());
19
29
  }
20
30
  getTagById(e) {
21
- const n = this.tags.find((i) => i.id === e);
22
- if (!n) {
23
- console.error(`getTagById(): tag is ${n}, id is ${e}`);
31
+ const t = this.tags.find((i) => i.id === e);
32
+ if (!t) {
33
+ console.error(`getTagById(): tag is ${t}, id is ${e}`);
24
34
  return;
25
35
  }
26
- return n;
36
+ return t;
27
37
  }
28
- changeConfig(e, n = !0) {
29
- n ? this.config = T({}, this.config, e) : this.config = e, this.clearCache();
38
+ changeConfig(e, t = !0) {
39
+ t ? this.config = C({}, this.config, e) : this.config = e, this.clearCache();
30
40
  }
31
- changeGlobalConfig(e, n = !0) {
32
- n ? this.config.globalConfig = T({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.clearCache();
41
+ changeGlobalConfig(e, t = !0) {
42
+ t ? this.config.globalConfig = C({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.clearCache();
33
43
  }
34
- changeContentTypeConfig(e, n, i = !0) {
35
- this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = T({}, this.config.contentTypeConfig[e], n) : this.config.contentTypeConfig[e] = n, this.clearCache();
44
+ changeContentTypeConfig(e, t, i = !0) {
45
+ this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = C({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.clearCache();
36
46
  }
37
- getVisibleByPanoIndex(e, n) {
38
- var t;
39
- const i = this.getCaches({ panoIndex: n, id: e.id }), o = (t = this.five.panoIndex) != null ? t : n;
47
+ getVisibleByPanoIndex(e, t) {
48
+ var n;
49
+ const i = this.getCaches({ panoIndex: t, id: e.id }), s = (n = this.five.panoIndex) != null ? n : t;
40
50
  if (i.visible !== void 0)
41
51
  return i.visible;
42
52
  {
43
- const r = (() => {
44
- var a, d, l, c, h;
45
- const s = (a = this.getTagConfig(e).visibleConfig) != null ? a : {}, f = this.getDistance(e);
46
- if (typeof s == "function")
47
- return s(this.five, { tag: e, distance: f });
48
- if (s.keep === "hidden")
53
+ const l = (() => {
54
+ var d, p, r;
55
+ const o = (d = this.getTagConfig(e).visibleConfig) != null ? d : {}, a = this.getDistance(e);
56
+ if (typeof o == "function")
57
+ return o(this.five, { tag: e, distance: a });
58
+ if (o.keep === "hidden")
49
59
  return !1;
50
- if (s.keep === "visible")
60
+ if (o.keep === "visible")
51
61
  return !0;
52
- if (s.visiblePanoIndex !== void 0 && (o === void 0 || !s.visiblePanoIndex.includes(o)) || s.visibleDistance !== void 0 && s.visibleDistance !== "unLimited" && P(f, s.visibleDistance) === !1)
62
+ if (o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && s !== void 0 && (Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(s) || o.visiblePanoIndex === "current" && s !== ((p = e.fiveState) == null ? void 0 : p.panoIndex)) || o.visibleDistance !== void 0 && o.visibleDistance !== "unLimited" && v(a, o.visibleDistance) === !1)
53
63
  return !1;
54
- if (((d = s.intersectRaycaster) == null ? void 0 : d.enabled) !== !1) {
55
- if (o === void 0)
64
+ if (o.intersectRaycaster !== !1 && o.intersectRaycaster) {
65
+ if (s === void 0)
56
66
  return !1;
57
- const g = (l = this.five.work.observers[o]) == null ? void 0 : l.position;
58
- if (g === void 0)
59
- throw new Error(`getVisible(): observerPosition is ${g}`);
60
- const m = C(e.position).sub(g).normalize();
61
- this.raycaster.set(g, m);
62
- const [x] = this.five.model.intersectRaycaster(this.raycaster), D = (h = (c = s.intersectRaycaster) == null ? void 0 : c.distanceAccuracy) != null ? h : 0.01;
63
- if (x && x.distance + D < f)
67
+ const f = (r = this.five.work.observers[s]) == null ? void 0 : r.position;
68
+ if (f === void 0)
69
+ throw new Error(`getVisible(): observerPosition is ${f}`);
70
+ const h = T(e.position).sub(f).normalize();
71
+ this.raycaster.set(f, h);
72
+ const [g] = this.five.model.intersectRaycaster(this.raycaster), b = (() => {
73
+ var m;
74
+ return typeof o.intersectRaycaster == "object" && (m = o.intersectRaycaster.distanceAccuracy) != null ? m : 0.01;
75
+ })();
76
+ if (g && g.distance + b < a)
64
77
  return !1;
65
78
  }
66
- return !(s.angleRange && e.dimensionType === y.Three && P(this.getAngle(e), s.angleRange) === !1);
79
+ return !(o.angleRange && V(e) && v(this.getAngle(e), o.angleRange) === !1);
67
80
  })();
68
- return i.visible = r, i.visible;
81
+ return i.visible = l, i.visible;
69
82
  }
70
83
  }
71
- getUnfoldedByPanoIndex(e, n) {
84
+ getUnfoldedByPanoIndex(e, t) {
72
85
  if (!this.getVisibleByPanoIndex(e))
73
86
  return;
74
- const o = this.getCaches({ panoIndex: n, id: e.id });
75
- if (o.unfolded !== void 0)
76
- return o.unfolded;
87
+ const s = this.getCaches({ panoIndex: t, id: e.id });
88
+ if (s.unfolded !== void 0)
89
+ return s.unfolded;
77
90
  {
78
- const t = this.getTagConfig(e).unfoldedConfig;
79
- if (!t)
91
+ const n = this.getTagConfig(e).unfoldedConfig;
92
+ if (!n)
80
93
  return;
81
- const r = (() => {
82
- const f = this.getDistance(e);
83
- if (typeof t == "function")
84
- return t(this.five, { tag: e, distance: f });
85
- if (t.keep === "folded")
94
+ const l = (() => {
95
+ const a = this.getDistance(e);
96
+ if (typeof n == "function")
97
+ return n(this.five, { tag: e, distance: a });
98
+ if (n.keep === "folded")
86
99
  return !1;
87
- if (t.keep === "unfolded")
100
+ if (n.keep === "unfolded")
88
101
  return !0;
89
- if (t.disableUnfold === !0)
90
- return !1;
91
- if (t.disableFold === !0)
92
- return !0;
93
- if (t.unfoldDistance && P(f, t.unfoldDistance) === !1)
102
+ if (n.unfoldDistance && v(a, n.unfoldDistance) === !1)
94
103
  return !1;
95
104
  })();
96
- o.unfolded = r;
97
- const s = this.getUnfoldedByCamera(e);
98
- return s !== void 0 ? s : o.unfolded;
105
+ s.unfolded = l;
106
+ const o = this.getUnfoldedByCamera(e);
107
+ return o !== void 0 ? o : s.unfolded;
99
108
  }
100
109
  }
101
110
  getUnfoldedByCamera(e) {
102
111
  return this.getVisibleByPanoIndex(e) ? (() => {
103
- var r;
104
- const o = this.getDistance(e), t = this.getTagConfig(e).unfoldedConfig;
105
- if (!!t) {
106
- if (typeof t == "function")
107
- return t(this.five, { tag: e, distance: o });
108
- if (t.keep === "folded")
109
- return !1;
110
- if (t.keep === "unfolded")
111
- return !0;
112
- if (t.disableUnfold === !0)
112
+ var l;
113
+ const s = this.getDistance(e), n = this.getTagConfig(e).unfoldedConfig;
114
+ if (!!n) {
115
+ if (typeof n == "function")
116
+ return n(this.five, { tag: e, distance: s });
117
+ if (n.keep === "folded")
113
118
  return !1;
114
- if (t.disableFold === !0)
119
+ if (n.keep === "unfolded")
115
120
  return !0;
116
- if (t.autoUnfold === void 0)
121
+ if (n.autoUnfold === void 0 || n.autoUnfold === !1 || n.autoUnfold.enable === !1)
117
122
  return;
118
- if (t.autoUnfold.strategy === "ScreenPostion") {
119
- const s = this.getTagProject(e);
120
- if (s && P(s.x, t.autoUnfold.autoUnfoldProjectX) === !1)
123
+ if (n.autoUnfold.strategy === "ScreenPostion") {
124
+ const o = this.getTagProject(e);
125
+ if (o && v(o.x, n.autoUnfold.autoUnfoldProjectX) === !1)
121
126
  return !1;
122
127
  }
123
- if (t.autoUnfold.strategy === "MinimumDistance") {
124
- const a = this.filterPointTag().filter((l) => this.getVisibleByPanoIndex(l)).filter((l) => {
125
- const c = this.getTagProject(l);
126
- if (!c)
128
+ if (n.autoUnfold.strategy === "MinimumDistance") {
129
+ const d = this.filterPointTag().filter((r) => this.getVisibleByPanoIndex(r)).filter((r) => {
130
+ const f = this.getTagProject(r);
131
+ if (!f)
127
132
  return !1;
128
- const { x: h, y: g, z: m } = c;
129
- return !(Math.abs(m) > 1 || Math.abs(h) > 1 || Math.abs(g) > 1);
130
- }).filter((l) => {
131
- var h;
132
- const c = this.getTagConfig(l).unfoldedConfig;
133
- return typeof c == "object" && ((h = c.autoUnfold) == null ? void 0 : h.strategy) === "MinimumDistance";
134
- }).map((l) => ({ id: l.id, distance: this.getDistance(l) })).filter((l) => l.distance !== void 0).sort((l, c) => l.distance - c.distance).findIndex((l) => l.id === e.id);
135
- if (a === -1 || a <= ((r = t.autoUnfold.maxNumber) != null ? r : 1) - 1 === !1)
133
+ const { x: h, y: g, z: b } = f;
134
+ return !(Math.abs(b) > 1 || Math.abs(h) > 1 || Math.abs(g) > 1);
135
+ }).map((r) => ({ tag: r, id: r.id, tagConfig: this.getTagConfig(r).unfoldedConfig })).filter(({ tag: r, tagConfig: f }) => {
136
+ var h, g;
137
+ return !(typeof f != "object" || f.keep || f.autoUnfold === !1 || ((h = f.autoUnfold) == null ? void 0 : h.enable) === !1 || ((g = f.autoUnfold) == null ? void 0 : g.strategy) !== "MinimumDistance");
138
+ }).map((r) => D(x({}, r), { distance: this.getDistance(r.tag) })).filter(({ distance: r, tagConfig: f }) => {
139
+ var h, g;
140
+ return !(r === void 0 || typeof f != "object" || f.autoUnfold === !1 || ((h = f.autoUnfold) == null ? void 0 : h.enable) === !1 || ((g = f.autoUnfold) == null ? void 0 : g.strategy) !== "MinimumDistance" || f.autoUnfold.distance && v(r, f.autoUnfold.distance) === !1);
141
+ }).sort((r, f) => r.distance - f.distance).findIndex((r) => r.id === e.id);
142
+ if (d === -1 || d <= ((l = n.autoUnfold.maxNumber) != null ? l : 1) - 1 === !1)
136
143
  return !1;
137
144
  }
138
145
  return !0;
139
146
  }
140
147
  })() : void 0;
141
148
  }
142
- getDistance(e, n) {
143
- var t, r, s;
144
- const i = (t = this.five.panoIndex) != null ? t : n;
149
+ getDistance(e, t) {
150
+ var n, l, o;
151
+ const i = (n = this.five.panoIndex) != null ? n : t;
145
152
  if (i === void 0)
146
153
  throw new Error(`getDistance(): fivePanoIndex is ${i}`);
147
- const o = this.getCaches({ panoIndex: n, id: e.id });
148
- if (o.distance !== void 0)
149
- return o.distance;
154
+ const s = this.getCaches({ panoIndex: t, id: e.id });
155
+ if (s.distance !== void 0)
156
+ return s.distance;
150
157
  {
151
- const f = (s = (r = this.five.work) == null ? void 0 : r.observers[i]) == null ? void 0 : s.position;
152
- if (f === void 0)
153
- throw new Error(`getDistance(): observerPosition is ${f}`);
154
- const a = (() => e.pointType === v.PointTag ? B(e == null ? void 0 : e.position) : C(e.position))(), d = f.distanceTo(a);
155
- return o.distance = d, d;
158
+ const a = (o = (l = this.five.work) == null ? void 0 : l.observers[i]) == null ? void 0 : o.position;
159
+ if (a === void 0)
160
+ throw new Error(`getDistance(): observerPosition is ${a}`);
161
+ const d = (() => R(e) ? M(e == null ? void 0 : e.position) : T(e.position))(), p = a.distanceTo(d);
162
+ return s.distance = p, p;
156
163
  }
157
164
  }
158
- getAngle(e, n) {
159
- var t, r, s;
160
- const i = (t = this.five.panoIndex) != null ? t : n;
165
+ getAngle(e, t) {
166
+ var n, l, o;
167
+ const i = (n = this.five.panoIndex) != null ? n : t;
161
168
  if (i === void 0)
162
169
  throw new Error(`getDistance(): fivePanoIndex is ${i}`);
163
- const o = this.getCaches({ panoIndex: n, id: e.id });
164
- if (o.angle !== void 0)
165
- return o.angle;
170
+ const s = this.getCaches({ panoIndex: t, id: e.id });
171
+ if (s.angle !== void 0)
172
+ return s.angle;
166
173
  {
167
- const f = (s = (r = this.five.work) == null ? void 0 : r.observers[i]) == null ? void 0 : s.position;
168
- if (f === void 0)
169
- throw new Error(`getAngleRange(): observerPosition is ${f}`);
170
- const a = (() => e.pointType === v.PointTag ? U(e.normal) : E(e.position))();
171
- if (!a)
174
+ const a = (o = (l = this.five.work) == null ? void 0 : l.observers[i]) == null ? void 0 : o.position;
175
+ if (a === void 0)
176
+ throw new Error(`getAngleRange(): observerPosition is ${a}`);
177
+ const d = (() => e.stickType === "3DPoint" ? S(e.normal) : $(e.position))();
178
+ if (!d)
172
179
  return;
173
- const d = new I.Vector3().copy(f).sub(C(e.position)), l = a.angleTo(d) * 180 / Math.PI;
174
- return o.angle = l, o.angle;
180
+ const p = new I.Vector3().copy(a).sub(T(e.position)), r = d.angleTo(p) * 180 / Math.PI;
181
+ return s.angle = r, s.angle;
175
182
  }
176
183
  }
177
184
  getTagConfig(e) {
178
- var o;
185
+ var s;
179
186
  if (!e)
180
- return (o = this.config.globalConfig) != null ? o : {};
181
- const n = {};
182
- return this.config.contentTypeConfig && Object.keys(this.config.contentTypeConfig).forEach((t) => {
183
- const r = t;
184
- if (n[r])
187
+ return (s = this.config.globalConfig) != null ? s : {};
188
+ const t = {};
189
+ this.config.contentTypeConfig && Object.keys(this.config.contentTypeConfig).forEach((n) => {
190
+ const l = n;
191
+ if (t[l])
185
192
  return;
186
- const s = r.split("-"), [f = "Any", a = "Any", d = "Any"] = s || [];
187
- (e.dimensionType === f || f === "Any") && (e.contentType === a || a === "Any") && (e.pointType === d || d === "Any") && (n[r] = this.config.contentTypeConfig[r]);
188
- }), T({}, this.config.globalConfig, ...Object.values(n), e.config);
193
+ const o = l.split("-");
194
+ o.length === 1 && o.unshift("Any");
195
+ const [a = "Any", d = "Any"] = o || [];
196
+ (e.stickType === a || a === "Any") && (e.contentType === d || d === "Any") && (t[l] = this.config.contentTypeConfig[l]);
197
+ });
198
+ const i = C({}, this.config.globalConfig, ...Object.values(t), e.config);
199
+ return typeof i.unfoldedConfig == "object" && (i.unfoldedConfig.disableFold && (i.unfoldedConfig = { keep: "unfolded" }), i.unfoldedConfig.disableUnfold && (i.unfoldedConfig = { keep: "folded" }), i.unfoldedConfig.keep && (i.unfoldedConfig = { keep: i.unfoldedConfig.keep })), typeof i.visibleConfig == "object" && i.visibleConfig.keep && (i.visibleConfig = { keep: i.visibleConfig.keep }), i;
189
200
  }
190
- canBe(e, n) {
191
- const i = this.getTagConfig(n);
201
+ can(e, t) {
202
+ const i = this.getTagConfig(t);
192
203
  if (!i || typeof i != "object")
193
204
  return !0;
194
205
  if (e === "show" || e === "hide") {
@@ -200,37 +211,43 @@ class O extends V {
200
211
  if (e === "fold" || e === "unfold") {
201
212
  if (!i.unfoldedConfig || typeof i.unfoldedConfig != "object")
202
213
  return !0;
203
- if (e === "fold" && (i.unfoldedConfig.disableFold || i.unfoldedConfig.keep === "unfolded") || e === "unfold" && (i.unfoldedConfig.disableUnfold || i.unfoldedConfig.keep === "folded"))
214
+ if (e === "fold" && i.unfoldedConfig.keep === "unfolded" || e === "unfold" && i.unfoldedConfig.keep === "folded")
204
215
  return !1;
205
216
  }
206
217
  return !0;
207
218
  }
219
+ sort(e) {
220
+ return e.sort((t, i) => {
221
+ const s = this.getDistance(t), n = this.getDistance(i);
222
+ return s === void 0 || n === void 0 ? 0 : n - s;
223
+ });
224
+ }
208
225
  setPointTagPosition() {
209
226
  const e = this.filterPointTag();
210
- e.length !== 0 && e.forEach((n) => {
211
- var o;
212
- if (!((o = n.state) != null && o.visible)) {
213
- n.pointTagStyle = void 0;
227
+ e.length !== 0 && e.forEach((t) => {
228
+ var s;
229
+ if (!((s = t.state) != null && s.visible)) {
230
+ t.pointTagStyle = void 0;
214
231
  return;
215
232
  }
216
- const i = this.getTagProject(n);
233
+ const i = this.getTagProject(t);
217
234
  if (!i) {
218
- n.pointTagStyle = void 0;
235
+ t.pointTagStyle = void 0;
219
236
  return;
220
237
  }
221
- n.pointTagStyle = { leftPercent: (i.x + 1) / 2 * 100, topPercent: (-i.y + 1) / 2 * 100 };
238
+ t.pointTagStyle = { leftPercent: (i.x + 1) / 2 * 100, topPercent: (-i.y + 1) / 2 * 100 };
222
239
  });
223
240
  }
224
241
  setVisibleByPanoIndex() {
225
242
  this.tags.forEach((e) => {
226
- const n = this.getVisibleByPanoIndex(e);
227
- e.state && (e.state.visible = n);
243
+ const t = this.getVisibleByPanoIndex(e);
244
+ e.state && (e.state.visible = t);
228
245
  });
229
246
  }
230
247
  setUnfoldedByPanoIndex() {
231
248
  this.tags.forEach((e) => {
232
- const n = this.getUnfoldedByPanoIndex(e);
233
- if (!!e.state && (n !== void 0 && (e.state.unfolded = n), n && !e.state.visible)) {
249
+ const t = this.getUnfoldedByPanoIndex(e);
250
+ if (!!e.state && (t !== void 0 && (e.state.unfolded = t), t && !e.state.visible)) {
234
251
  const i = this.getTagConfig(e);
235
252
  typeof i.unfoldedConfig == "object" && i.unfoldedConfig.autoUnfoldWhenHide !== !1 && (e.state.unfolded = !1);
236
253
  }
@@ -239,26 +256,26 @@ class O extends V {
239
256
  getTagProject(e) {
240
257
  if (!this.getVisibleByPanoIndex(e))
241
258
  return;
242
- const i = C(e.position), { x: o, y: t, z: r } = i.project(this.five.camera);
243
- if (!(r > 1))
244
- return { x: o, y: t, z: r };
259
+ const i = T(e.position), { x: s, y: n, z: l } = i.project(this.five.camera);
260
+ if (!(l > 1))
261
+ return { x: s, y: n, z: l };
245
262
  }
246
263
  filterPointTag() {
247
- return this.tags.filter((e) => e.pointType === v.PointTag);
264
+ return this.tags.filter((e) => e.stickType === "2DPoint" || e.stickType === "3DPoint");
248
265
  }
249
- filterTag2D() {
250
- return this.tags.filter((e) => e.dimensionType === y.Two);
266
+ filter2DPointTag() {
267
+ return this.tags.filter((e) => e.stickType === "2DPoint");
251
268
  }
252
269
  filter3DPointTag() {
253
- return this.tags.filter((e) => e.dimensionType === y.Three && e.pointType === v.PointTag);
270
+ return this.tags.filter((e) => e.stickType === "3DPoint");
254
271
  }
255
272
  filter3DTag() {
256
- return this.tags.filter((e) => e.dimensionType === y.Three);
273
+ return this.tags.filter((e) => e.stickType === "3DPoint" || e.stickType === "Plane");
257
274
  }
258
275
  filterPlaneTag() {
259
- return this.tags.filter((e) => e.dimensionType === y.Three && e.pointType === v.PlaneTag);
276
+ return this.tags.filter((e) => e.stickType === "Plane");
260
277
  }
261
278
  }
262
279
  export {
263
- O as TagComputer
280
+ q as TagComputer
264
281
  };
@@ -1,7 +1,8 @@
1
+ import type { Tag, PartialDeep, TagId, Tags, State, AddTagConfig } from '../typings';
2
+ import type { TagContentType } from '..';
3
+ import type { ArrayPosition } from '../typings';
1
4
  import { Five } from '@realsee/five';
2
- import type { Tag, ContentType, PartialDeep, TagId, Tags, State, AddTagConfig } from '../typings';
3
5
  import { TagComputer } from './TagComputer';
4
- import { ArrayPosition } from '../typings';
5
6
  export declare const pluginFlag: (name: string) => string;
6
7
  declare class PanoTagPluginController extends TagComputer {
7
8
  /** 版本号 */
@@ -22,16 +23,10 @@ declare class PanoTagPluginController extends TagComputer {
22
23
  /** 临时状态 */
23
24
  private temporaryState;
24
25
  private mediaStore;
26
+ private isIOSWX;
25
27
  private store;
26
- private staticUrl;
27
28
  constructor(five: Five, params?: {
28
29
  debug?: boolean;
29
- mergePluginDefaultConfigToLoadDataConfig?: boolean;
30
- staticConfig?: {
31
- host?: string;
32
- protocol?: string;
33
- port?: number;
34
- } | string;
35
30
  config?: {
36
31
  globalConfig?: Tags['globalConfig'];
37
32
  contentTypeConfig?: Tags['contentTypeConfig'];
@@ -75,12 +70,18 @@ declare class PanoTagPluginController extends TagComputer {
75
70
  /**
76
71
  * @description: 改变data
77
72
  */
78
- changeDataById<C extends ContentType = ContentType.Custom>(id: TagId, data: PartialDeep<Tag<C>['data']>, deepMerge?: boolean): void;
73
+ changeDataById<C extends TagContentType = any>(id: TagId, data: PartialDeep<Tag<C>['data']>, deepMerge?: boolean): void;
74
+ /**
75
+ * @description: 改变tag的stickType
76
+ */
77
+ changeStickTypeById<C extends TagContentType = any>(id: TagId, data: PartialDeep<{
78
+ [P in keyof Pick<Tag<C>, 'stickType' | 'position' | 'normal' | 'data'>]: Tag[P];
79
+ }>, deepMerge?: boolean): void;
79
80
  /**
80
81
  * @description: 改变tag任意属性
81
82
  */
82
- changeTagById<C extends ContentType = ContentType.Custom>(id: TagId, tag: PartialDeep<{
83
- [P in keyof Pick<Tag<C>, 'enabled' | 'style' | 'dimensionType' | 'contentType' | 'data' | 'normal'>]: Tag[P];
83
+ changeTagById<C extends TagContentType = any>(id: TagId, tag: PartialDeep<{
84
+ [P in keyof Pick<Tag<C>, 'enabled' | 'style' | 'stickType' | 'contentType' | 'data' | 'normal'>]: Tag[P];
84
85
  }>, deepMerge?: boolean): void;
85
86
  /**
86
87
  * @description: 销毁tag
@@ -101,6 +102,7 @@ declare class PanoTagPluginController extends TagComputer {
101
102
  * @description: 添加 cameraUpdate, panoArrived 等事件监听
102
103
  */
103
104
  private addEventListener;
105
+ private loadVideoFirstFrame;
104
106
  private addResizeListener;
105
107
  private addResizeObserver;
106
108
  /**