@realsee/dnalogel 3.2.0-dev.8 → 3.2.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 (385) hide show
  1. package/dist/GuideLinePlugin/GuideLineItem.d.ts +0 -1
  2. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +10 -1
  3. package/dist/GuideLinePlugin/typing.d.ts +6 -1
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -8
  5. package/dist/PanoTagPlugin/controller/index.d.ts +1 -1
  6. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +0 -1
  7. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +2 -2
  8. package/dist/PanoTagPlugin/utils/tagPosition.d.ts +3 -2
  9. package/dist/index.cjs.js +54 -54
  10. package/dist/index.js +3071 -3056
  11. package/dist/index.umd.js +51 -51
  12. package/dist/shared-utils/five/getFloorIndex.d.ts +8 -2
  13. package/libs/CruisePlugin/Controller.js +34 -35
  14. package/libs/CruisePlugin/index.js +5 -6
  15. package/libs/GuideLinePlugin/Controller.js +40 -41
  16. package/libs/GuideLinePlugin/GuideLineItem/index.js +33 -36
  17. package/libs/GuideLinePlugin/GuideLineItem.d.ts +0 -1
  18. package/libs/GuideLinePlugin/GuideLineItem.js +2 -3
  19. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +124 -86
  20. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +10 -1
  21. package/libs/GuideLinePlugin/GuideLineModeItem.js +2 -3
  22. package/libs/GuideLinePlugin/index.js +7 -8
  23. package/libs/GuideLinePlugin/typing.d.ts +6 -1
  24. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +26 -26
  25. package/libs/PanoTagPlugin/controller/TagComputer.js +95 -89
  26. package/libs/PanoTagPlugin/controller/TagRender.js +81 -81
  27. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -8
  28. package/libs/PanoTagPlugin/controller/TagUtil.js +107 -123
  29. package/libs/PanoTagPlugin/controller/index.d.ts +1 -1
  30. package/libs/PanoTagPlugin/controller/index.js +36 -41
  31. package/libs/PanoTagPlugin/index.js +11 -12
  32. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +0 -1
  33. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +2 -2
  34. package/libs/PanoTagPlugin/utils/tagPosition.d.ts +3 -2
  35. package/libs/PanoTagPlugin/utils/tagPosition.js +15 -15
  36. package/libs/base/BasePlugin.js +1 -1
  37. package/libs/index.js +116 -117
  38. package/libs/shared-utils/five/getFloorIndex.d.ts +8 -2
  39. package/libs/shared-utils/five/getFloorIndex.js +12 -16
  40. package/libs/shared-utils/logger.js +1 -1
  41. package/package.json +1 -1
  42. package/dist/shared-utils/five/transformPosition.d.ts +0 -2
  43. package/docs/.nojekyll +0 -1
  44. package/docs/assets/highlight.css +0 -120
  45. package/docs/assets/main.js +0 -58
  46. package/docs/assets/search.js +0 -1
  47. package/docs/assets/style.css +0 -1367
  48. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -725
  49. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -678
  50. package/docs/classes/CSS3DRender.html +0 -773
  51. package/docs/classes/CruisePluginController.html +0 -672
  52. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -491
  53. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -792
  54. package/docs/classes/Magnifier.html +0 -480
  55. package/docs/classes/ModelRoomLabelController.html +0 -398
  56. package/docs/classes/Object3DHelperController.html +0 -640
  57. package/docs/classes/PaintBrush.html +0 -502
  58. package/docs/classes/PanoMeasurePluginLine.html +0 -522
  59. package/docs/classes/PanoMeasurePluginModel.html +0 -571
  60. package/docs/classes/PanoMeasurePluginPoint.html +0 -362
  61. package/docs/classes/PanoMeasurePluginPolyline.html +0 -567
  62. package/docs/classes/PanoTagPluginController.html +0 -1077
  63. package/docs/classes/Util.BetterTween.html +0 -416
  64. package/docs/classes/Util.Interval.html +0 -432
  65. package/docs/classes/Util.LineSegments.html +0 -384
  66. package/docs/classes/Util.Magnifier.html +0 -503
  67. package/docs/classes/Util.Object3D.html +0 -406
  68. package/docs/classes/Util.PointDomHelper.html +0 -407
  69. package/docs/classes/Util.PointHelper.html +0 -398
  70. package/docs/classes/Util.PointSelectorHelper.html +0 -454
  71. package/docs/classes/Util.Rectangle.html +0 -455
  72. package/docs/enums/CameraMovementEffect.html +0 -310
  73. package/docs/enums/ContentType.html +0 -446
  74. package/docs/enums/DIRECTION.html +0 -320
  75. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -320
  76. package/docs/enums/DimensionType.html +0 -310
  77. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -313
  78. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -320
  79. package/docs/enums/PaintBrushTypeEnum.html +0 -313
  80. package/docs/enums/PointType.html +0 -310
  81. package/docs/enums/Rotation.html +0 -317
  82. package/docs/functions/AreaMakerPlugin.html +0 -290
  83. package/docs/functions/CSS3DRenderPlugin.html +0 -288
  84. package/docs/functions/CameraMovementPlugin.html +0 -293
  85. package/docs/functions/CruisePlugin.html +0 -290
  86. package/docs/functions/CurrentPanoImagePlugin.html +0 -290
  87. package/docs/functions/GuideLinePlugin.html +0 -290
  88. package/docs/functions/ItemLabelPlugin.html +0 -290
  89. package/docs/functions/MapviewFloorplanPlugin.html +0 -290
  90. package/docs/functions/ModelChassisCompassPlugin.html +0 -293
  91. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -293
  92. package/docs/functions/ModelFloorplanPlugin.html +0 -290
  93. package/docs/functions/ModelItemLabelPlugin.html +0 -290
  94. package/docs/functions/ModelRoomLabelPlugin.html +0 -288
  95. package/docs/functions/ModelTVVideoPlugin.html +0 -290
  96. package/docs/functions/ModelViewPlugin.html +0 -293
  97. package/docs/functions/Object3DHelperPlugin.html +0 -288
  98. package/docs/functions/PanoCompassPlugin.html +0 -290
  99. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -294
  100. package/docs/functions/PanoDoorLabelPlugin.html +0 -290
  101. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -290
  102. package/docs/functions/PanoMeasurePlugin.html +0 -290
  103. package/docs/functions/PanoRulerPlugin.html +0 -293
  104. package/docs/functions/PanoRulerProPlugin.html +0 -293
  105. package/docs/functions/PanoSpatialTagPlugin.html +0 -293
  106. package/docs/functions/PanoTagPlugin.html +0 -295
  107. package/docs/functions/PanoVideoPlugin.html +0 -299
  108. package/docs/functions/PipelinePlugin.html +0 -288
  109. package/docs/functions/TopviewFloorplanPlugin.html +0 -290
  110. package/docs/functions/Util.absoluteUrl.html +0 -326
  111. package/docs/functions/Util.checkFiveModelLoaded.html +0 -329
  112. package/docs/functions/Util.equal.html +0 -338
  113. package/docs/functions/Util.getCoordsFromClient.html +0 -328
  114. package/docs/functions/Util.getCoordsFromElement.html +0 -328
  115. package/docs/functions/Util.getFrameTime.html +0 -320
  116. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -328
  117. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -328
  118. package/docs/functions/Util.isAbsoluteURL.html +0 -321
  119. package/docs/functions/Util.isModelLike.html +0 -321
  120. package/docs/functions/Util.isNil.html +0 -329
  121. package/docs/functions/Util.isPanoramaLike.html +0 -321
  122. package/docs/functions/Util.nextFrame.html +0 -334
  123. package/docs/functions/Util.notNil.html +0 -329
  124. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -350
  125. package/docs/functions/Util.tweenProgress.html +0 -323
  126. package/docs/functions/Util.uuid.html +0 -319
  127. package/docs/functions/pluginFlag.html +0 -288
  128. package/docs/index.html +0 -354
  129. package/docs/interfaces/AddTagConfig.html +0 -303
  130. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -329
  131. package/docs/interfaces/AreaMakerPluginType.Config.html +0 -334
  132. package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -620
  133. package/docs/interfaces/AreaMakerPluginType.Params.html +0 -333
  134. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -383
  135. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -368
  136. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -333
  137. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -326
  138. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -325
  139. package/docs/interfaces/AreaMakerPluginType.State.html +0 -354
  140. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -449
  141. package/docs/interfaces/CSS3DRenderPluginState.html +0 -325
  142. package/docs/interfaces/CameraMovementPluginExportType.html +0 -358
  143. package/docs/interfaces/CruisePluginTypes.Config.html +0 -359
  144. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -361
  145. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -696
  146. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -385
  147. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -421
  148. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -411
  149. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -351
  150. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -319
  151. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -408
  152. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -382
  153. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -521
  154. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -323
  155. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -315
  156. package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -337
  157. package/docs/interfaces/EventMap.html +0 -542
  158. package/docs/interfaces/FloorplanBounding.html +0 -332
  159. package/docs/interfaces/FloorplanData.html +0 -335
  160. package/docs/interfaces/FloorplanEntrance.html +0 -360
  161. package/docs/interfaces/FloorplanExtraObject.html +0 -350
  162. package/docs/interfaces/FloorplanExtraObject3D.html +0 -339
  163. package/docs/interfaces/FloorplanFloorData.html +0 -328
  164. package/docs/interfaces/FloorplanImagePosition.html +0 -314
  165. package/docs/interfaces/FloorplanObserver.html +0 -332
  166. package/docs/interfaces/FloorplanOutlineItem.html +0 -328
  167. package/docs/interfaces/FloorplanPosition.html +0 -314
  168. package/docs/interfaces/FloorplanRoomItem.html +0 -379
  169. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -320
  170. package/docs/interfaces/FloorplanServerBounding.html +0 -332
  171. package/docs/interfaces/FloorplanServerComputedData.html +0 -331
  172. package/docs/interfaces/FloorplanServerData.html +0 -314
  173. package/docs/interfaces/FloorplanServerDoorItem.html +0 -331
  174. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -317
  175. package/docs/interfaces/FloorplanServerEntrance.html +0 -360
  176. package/docs/interfaces/FloorplanServerFloorData.html +0 -328
  177. package/docs/interfaces/FloorplanServerImagePosition.html +0 -314
  178. package/docs/interfaces/FloorplanServerObserver.html +0 -332
  179. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -328
  180. package/docs/interfaces/FloorplanServerPosition.html +0 -314
  181. package/docs/interfaces/FloorplanServerRoomItem.html +0 -391
  182. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -320
  183. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -323
  184. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -361
  185. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -525
  186. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -356
  187. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -347
  188. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -414
  189. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -346
  190. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -471
  191. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -343
  192. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -471
  193. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -308
  194. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -329
  195. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -354
  196. package/docs/interfaces/GuideLinePluginType.Route.html +0 -370
  197. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -352
  198. package/docs/interfaces/HelperOffset.html +0 -332
  199. package/docs/interfaces/ImagePlaneGroup.html +0 -306
  200. package/docs/interfaces/ItemLabelPluginData.html +0 -303
  201. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -388
  202. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -324
  203. package/docs/interfaces/MinMax.html +0 -310
  204. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -310
  205. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -346
  206. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -310
  207. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -317
  208. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -354
  209. package/docs/interfaces/ModelItemLabelPluginData.html +0 -303
  210. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -388
  211. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -310
  212. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -303
  213. package/docs/interfaces/ModelTVVideoPluginData.html +0 -324
  214. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -348
  215. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -303
  216. package/docs/interfaces/ModelViewPluginExportType.html +0 -416
  217. package/docs/interfaces/Object3DHelperState.html +0 -317
  218. package/docs/interfaces/ObjectHelperControllers.html +0 -324
  219. package/docs/interfaces/PaintBrushAction.html +0 -363
  220. package/docs/interfaces/PaintBrushConfigs.html +0 -361
  221. package/docs/interfaces/PaintBrushState.html +0 -345
  222. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -425
  223. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -282
  224. package/docs/interfaces/PanoMeasureParameterType.html +0 -449
  225. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -317
  226. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -314
  227. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -310
  228. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -320
  229. package/docs/interfaces/PanoRulerPluginExportType.html +0 -377
  230. package/docs/interfaces/PanoRulerPluginOptions.html +0 -326
  231. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -317
  232. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -353
  233. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -323
  234. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -310
  235. package/docs/interfaces/PanoRulerProPluginState.html +0 -317
  236. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -296
  237. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -285
  238. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -353
  239. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -335
  240. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -431
  241. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -331
  242. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -352
  243. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -338
  244. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -331
  245. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -323
  246. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -341
  247. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -314
  248. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -420
  249. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -314
  250. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -349
  251. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -368
  252. package/docs/interfaces/Point.html +0 -317
  253. package/docs/interfaces/Room.html +0 -324
  254. package/docs/interfaces/RoomInfo.html +0 -310
  255. package/docs/interfaces/RoomLabel.html +0 -386
  256. package/docs/interfaces/RoomRules.html +0 -285
  257. package/docs/interfaces/Rooms.html +0 -285
  258. package/docs/interfaces/Scissor.html +0 -344
  259. package/docs/interfaces/State.html +0 -331
  260. package/docs/interfaces/TagCacheInterface.html +0 -362
  261. package/docs/interfaces/TagConfig.html +0 -565
  262. package/docs/interfaces/TagGLTFObjectGroup.html +0 -306
  263. package/docs/interfaces/TagIconUrl.html +0 -363
  264. package/docs/interfaces/TagObjectGroup.html +0 -306
  265. package/docs/interfaces/TagStyle.html +0 -316
  266. package/docs/interfaces/Tags.html +0 -2688
  267. package/docs/interfaces/TemporaryState.html +0 -303
  268. package/docs/interfaces/Util.MagnifierParameter.html +0 -391
  269. package/docs/interfaces/Util.MouseGroupParameter.html +0 -350
  270. package/docs/interfaces/Util.PointIntersection.html +0 -365
  271. package/docs/modules/AreaMakerPluginType.html +0 -323
  272. package/docs/modules/CruisePluginTypes.html +0 -328
  273. package/docs/modules/CurrentPanoImagePluginType.html +0 -297
  274. package/docs/modules/GuideLineItem.html +0 -289
  275. package/docs/modules/GuideLineModeItem.html +0 -294
  276. package/docs/modules/GuideLinePluginType.html +0 -348
  277. package/docs/modules/PanoVideoPluginType.html +0 -301
  278. package/docs/modules/Util.html +0 -351
  279. package/docs/modules.html +0 -540
  280. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -331
  281. package/docs/types/AreaMakerPluginType.PluginData.html +0 -301
  282. package/docs/types/AreaMakerPluginType.ServerData.html +0 -301
  283. package/docs/types/ArrayPosition.html +0 -279
  284. package/docs/types/AudioAppearance.html +0 -279
  285. package/docs/types/AudioTagTypeConfigKey.html +0 -279
  286. package/docs/types/CSS3DRenderExportType.html +0 -279
  287. package/docs/types/CSS3DRenderPluginExportType.html +0 -279
  288. package/docs/types/CSS3DRenderPluginParameterType.html +0 -279
  289. package/docs/types/ClassFunctionParameters.html +0 -286
  290. package/docs/types/Color.html +0 -279
  291. package/docs/types/ContentTypeConfigKey.html +0 -279
  292. package/docs/types/ContentTypeConfigKeySplit.html +0 -279
  293. package/docs/types/ContentTypeMap.html +0 -279
  294. package/docs/types/Create3DDomContainerReturnType.html +0 -279
  295. package/docs/types/Create3DElementReturnType.html +0 -279
  296. package/docs/types/CruisePluginExportType.html +0 -279
  297. package/docs/types/CruisePluginTypes.CruiseData.html +0 -318
  298. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -295
  299. package/docs/types/CurrentPanoImagePluginExportType.html +0 -279
  300. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -291
  301. package/docs/types/DeprecatedTagProperty.html +0 -294
  302. package/docs/types/Direction-1.html +0 -279
  303. package/docs/types/Direction4.html +0 -279
  304. package/docs/types/ElementRenderer.html +0 -303
  305. package/docs/types/FloorplanRuleLabels.html +0 -282
  306. package/docs/types/FloorplanServerRuleLabels.html +0 -279
  307. package/docs/types/GuideLinePluginExportType.html +0 -279
  308. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -351
  309. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -372
  310. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -305
  311. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -308
  312. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -308
  313. package/docs/types/GuideLinePluginType.PathItem.html +0 -308
  314. package/docs/types/GuideLinePluginType.PluginData.html +0 -317
  315. package/docs/types/HelperEventMap.html +0 -517
  316. package/docs/types/LoadTagConfig.html +0 -279
  317. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -279
  318. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -279
  319. package/docs/types/MediaData.html +0 -295
  320. package/docs/types/MediaStore.html +0 -284
  321. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -286
  322. package/docs/types/ModelFloorplanPluginParameterType.html +0 -279
  323. package/docs/types/ModelFloorplanPluginReturnType.html +0 -279
  324. package/docs/types/ModelId.html +0 -279
  325. package/docs/types/ModelRoomLabelPluginParameters.html +0 -279
  326. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -279
  327. package/docs/types/MoveArgs.html +0 -289
  328. package/docs/types/MoveOpts.html +0 -287
  329. package/docs/types/Object3DHelperEventMap.html +0 -372
  330. package/docs/types/ObjectFit.html +0 -279
  331. package/docs/types/PaintBrushEventMap.html +0 -310
  332. package/docs/types/PanoCompassPluginData.html +0 -279
  333. package/docs/types/PanoCompassPluginExportType.html +0 -279
  334. package/docs/types/PanoCompassPluginParameterType.html +0 -279
  335. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -279
  336. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -279
  337. package/docs/types/PanoIndex.html +0 -279
  338. package/docs/types/PanoMeasurePluginEvent.html +0 -279
  339. package/docs/types/PanoMeasureReturnType.html +0 -279
  340. package/docs/types/PanoSpatialTagPluginId.html +0 -279
  341. package/docs/types/PanoTagPluginExportInterface.html +0 -279
  342. package/docs/types/PanoTagPluginParamsInterface.html +0 -279
  343. package/docs/types/PanoVideoPluginParameterType.html +0 -279
  344. package/docs/types/PanoVideoPluginReturnType.html +0 -279
  345. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -287
  346. package/docs/types/PipelinePluginParameterType.html +0 -279
  347. package/docs/types/PipelinePluginReturnType.html +0 -279
  348. package/docs/types/PlaneTag.html +0 -287
  349. package/docs/types/Point2DTag.html +0 -287
  350. package/docs/types/Point3DTag.html +0 -287
  351. package/docs/types/PointTag.html +0 -284
  352. package/docs/types/PointTagInstance.html +0 -284
  353. package/docs/types/Position.html +0 -279
  354. package/docs/types/RotateArgs.html +0 -291
  355. package/docs/types/RotateOpts.html +0 -287
  356. package/docs/types/RuleLabelsKey.html +0 -279
  357. package/docs/types/RuleLabelsValue.html +0 -279
  358. package/docs/types/StickType.html +0 -279
  359. package/docs/types/Tag.html +0 -345
  360. package/docs/types/Tag2D.html +0 -287
  361. package/docs/types/Tag3D.html +0 -287
  362. package/docs/types/TagConfigByKey.html +0 -284
  363. package/docs/types/TagContentType.html +0 -279
  364. package/docs/types/TagDimensionType.html +0 -281
  365. package/docs/types/TagElement.html +0 -289
  366. package/docs/types/TagEvents.html +0 -332
  367. package/docs/types/TagGLTFObject.html +0 -302
  368. package/docs/types/TagHooks.html +0 -279
  369. package/docs/types/TagId.html +0 -279
  370. package/docs/types/TagInstance.html +0 -355
  371. package/docs/types/TagPointType.html +0 -282
  372. package/docs/types/TagRendererMap.html +0 -284
  373. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -279
  374. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -279
  375. package/docs/types/WorkCode.html +0 -279
  376. package/docs/variables/FLOOR_TYPE_MAP.html +0 -289
  377. package/docs/variables/PLUGIN.html +0 -279
  378. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -282
  379. package/docs/variables/ROOM_TYPE_MAP.html +0 -289
  380. package/docs/variables/defaultGlobalConfig.html +0 -279
  381. package/docs/variables/itemLabelPluginServerParams.html +0 -286
  382. package/docs/variables/modelItemLabelPluginServerParams.html +0 -286
  383. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -286
  384. package/libs/shared-utils/five/transformPosition.d.ts +0 -2
  385. package/libs/shared-utils/five/transformPosition.js +0 -10
@@ -1,4 +1,4 @@
1
- import type { TagInstance, TagContentType, StickType, TagId, TagConfig, PlaneTag, MediaStore, Position } from '../typings';
1
+ import type { TagInstance, TagContentType, StickType, TagId, TagConfig, PlaneTag, MediaStore } from '../typings';
2
2
  import * as THREE from 'three';
3
3
  import type { Tag, Tags, PointTagInstance, Point3DTag } from '../typings';
4
4
  import { TagCache } from './TagCache';
@@ -10,9 +10,6 @@ import { FiveDomEvents } from '../../shared-utils/five/FiveDomEvents';
10
10
  export declare abstract class TagUtil extends TagCache {
11
11
  tags: TagInstance[];
12
12
  config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
13
- set workCode(workCode: string);
14
- get workCode(): string;
15
- protected get work(): import("@realsee/five").Work;
16
13
  protected mediaStore: MediaStore;
17
14
  /** css3DRenderPlugin */
18
15
  protected css3DRenderPlugin?: CSS3DRenderPluginExportType;
@@ -27,7 +24,7 @@ export declare abstract class TagUtil extends TagCache {
27
24
  disposed: boolean;
28
25
  };
29
26
  protected domEvents: FiveDomEvents;
30
- private _workCode;
27
+ private mouseInfo?;
31
28
  protected constructor(five: Five);
32
29
  getTagById<C extends TagContentType = TagContentType, S extends StickType = StickType>(id: TagId): TagInstance<C, S> | undefined;
33
30
  /** 暂停当前标签内进行的所有多媒体 */
@@ -43,7 +40,6 @@ export declare abstract class TagUtil extends TagCache {
43
40
  * @description 获取标签当前状态
44
41
  */
45
42
  getCurrentVisibleState(tag: TagInstance): boolean;
46
- protected getObserverPosition: (index: number) => THREE.Vector3;
47
43
  protected loadVideoFirstFrame: () => void;
48
44
  protected updateTagConfig(): void;
49
45
  protected can<T extends Tag>(action: 'show' | 'hide' | 'fold' | 'unfold', paramsTag: T): boolean;
@@ -56,7 +52,8 @@ export declare abstract class TagUtil extends TagCache {
56
52
  * @description: 获取距离
57
53
  */
58
54
  protected getDistance(tag: TagInstance, fiveState?: Partial<FiveState>): number;
59
- protected getPositions(tag: TagInstance): [Position, Position, Position, Position];
55
+ protected getPositions(tag: TagInstance): [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3] | [import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition];
56
+ protected preventWhenMouseDown: () => false | void;
60
57
  protected addObjectClickHandler(tag: TagInstance, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
61
58
  protected getTagNormal(tag: TagInstance): THREE.Vector3 | undefined;
62
59
  protected get filterPointTag(): PointTagInstance[];
@@ -64,7 +61,6 @@ export declare abstract class TagUtil extends TagCache {
64
61
  protected get filterImagePlane(): TagInstance<"MediaPlane", "Plane">[];
65
62
  protected get filterMediaModel(): TagInstance<"MediaModel", "Model">[];
66
63
  protected get filterCSS3DTag(): (TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
67
- protected getTransformedPostion(position: Tag['position']): THREE.Vector3 | [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3];
68
64
  /**
69
65
  * @description 检查是否已经销毁
70
66
  * @returns isDisposed; 已经销毁返回 true,否则返回 false
@@ -1,40 +1,39 @@
1
- var X = Object.defineProperty, q = Object.defineProperties;
2
- var K = Object.getOwnPropertyDescriptors;
1
+ var U = Object.defineProperty, X = Object.defineProperties;
2
+ var q = Object.getOwnPropertyDescriptors;
3
3
  var R = Object.getOwnPropertySymbols;
4
- var Q = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
5
- var w = (a, s, e) => s in a ? X(a, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[s] = e, b = (a, s) => {
6
- for (var e in s || (s = {}))
7
- Q.call(s, e) && w(a, e, s[e]);
4
+ var K = Object.prototype.hasOwnProperty, Q = Object.prototype.propertyIsEnumerable;
5
+ var w = (a, r, e) => r in a ? U(a, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[r] = e, C = (a, r) => {
6
+ for (var e in r || (r = {}))
7
+ K.call(r, e) && w(a, e, r[e]);
8
8
  if (R)
9
- for (var e of R(s))
10
- Y.call(s, e) && w(a, e, s[e]);
9
+ for (var e of R(r))
10
+ Q.call(r, e) && w(a, e, r[e]);
11
11
  return a;
12
- }, _ = (a, s) => q(a, K(s));
13
- var l = (a, s, e) => (w(a, typeof s != "symbol" ? s + "" : s, e), e);
14
- import { defaultGlobalConfig as Z } from "../typings/tag/TagConfig.js";
15
- import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
- import * as ee from "three";
17
- import { DefaultConfig as ie } from "../tag.config.js";
18
- import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
19
- import { planeNormal as E } from "../utils/planeNormal.js";
20
- import { getTagCenterPosition as B } from "../utils/tagPosition.js";
12
+ }, B = (a, r) => X(a, q(r));
13
+ var d = (a, r, e) => (w(a, typeof r != "symbol" ? r + "" : r, e), e);
14
+ import { defaultGlobalConfig as Y } from "../typings/tag/TagConfig.js";
15
+ import { objectAssignDeepExports as P } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
+ import * as Z from "three";
17
+ import { DefaultConfig as ee } from "../tag.config.js";
18
+ import { anyPositionToVector3 as ie, arrayPositionToVector3 as E } from "../../shared-utils/positionToVector3.js";
19
+ import { planeNormal as W } from "../utils/planeNormal.js";
20
+ import { getTagCenterPosition as N } from "../utils/tagPosition.js";
21
21
  import { normalPositionToPositions as te } from "../utils/normalPositionToPositions.js";
22
22
  import { TagCache as oe } from "./TagCache.js";
23
- import { writable as re } from "../../vendor/svelte/store/index.js";
24
- import { isIOSWX as ne } from "../../shared-utils/device.js";
23
+ import { writable as ne } from "../../vendor/svelte/store/index.js";
24
+ import { isIOSWX as re } from "../../shared-utils/device.js";
25
25
  import { Five as se } from "@realsee/five";
26
- import { isMediaPlaneTag as fe, isMediaModelTag as N, isPlaneTag as ae, isPoint3DTag as ce } from "../utils/tag/tagCheck.js";
26
+ import { isMediaPlaneTag as fe, isMediaModelTag as G, isPlaneTag as ae, isPoint3DTag as ce } from "../utils/tag/tagCheck.js";
27
27
  import { VideoPlane as le } from "../utils/model/mediaPlane.js";
28
28
  import { FiveDomEvents as de } from "../../shared-utils/five/FiveDomEvents.js";
29
- import $ from "../utils/tag/adaptConfig.js";
30
- import { isPanoramaLike as A, isModelLike as z } from "../../shared-utils/five/mode.js";
29
+ import _ from "../utils/tag/adaptConfig.js";
30
+ import { isPanoramaLike as j, isModelLike as $ } from "../../shared-utils/five/mode.js";
31
31
  import "hammerjs";
32
32
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
33
33
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
34
34
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
35
- import { entries as H } from "../../shared-utils/typescript/entries.js";
36
- import { getUrlExt as J } from "../../shared-utils/url/getUrl.js";
37
- import { transformPosition as O } from "../../shared-utils/five/transformPosition.js";
35
+ import { entries as z } from "../../shared-utils/typescript/entries.js";
36
+ import { getUrlExt as H } from "../../shared-utils/url/getUrl.js";
38
37
  import "../../shared-utils/three/centerPoint.js";
39
38
  import "../../base/BasePlugin.js";
40
39
  import "../../shared-utils/Subscribe.js";
@@ -60,34 +59,33 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
60
59
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
61
60
  import "../../shared-utils/three/getNormal.js";
62
61
  import "../../shared-utils/five/calculateThreeMouse.js";
63
- class fi extends oe {
62
+ class si extends oe {
64
63
  constructor(e) {
65
64
  super(e);
66
- l(this, "tags", []);
67
- l(this, "config", ie);
68
- l(this, "mediaStore", re({
65
+ d(this, "tags", []);
66
+ d(this, "config", ee);
67
+ d(this, "mediaStore", ne({
69
68
  currentMediaElement: null
70
69
  }));
71
70
  /** css3DRenderPlugin */
72
- l(this, "css3DRenderPlugin");
73
- l(this, "store", {
71
+ d(this, "css3DRenderPlugin");
72
+ d(this, "store", {
74
73
  disposers: [],
75
74
  disposed: !1,
76
75
  resizeObserverDisposerAdding: !1,
77
76
  css3DRenderDisposer: /* @__PURE__ */ new Map()
78
77
  });
79
- l(this, "domEvents", new de(this.five));
80
- l(this, "_workCode");
81
- l(this, "getObserverPosition", (e) => {
82
- var o, t;
83
- const i = (o = this.work) == null ? void 0 : o.observers[e];
84
- if (i)
85
- return O(i.position, (t = this.work) == null ? void 0 : t.options.transform);
78
+ d(this, "domEvents", new de(this.five));
79
+ d(this, "mouseInfo");
80
+ d(this, "loadVideoFirstFrame", () => {
81
+ re && this.hooks.emit("loadVideoFirstFrame");
86
82
  });
87
- l(this, "loadVideoFirstFrame", () => {
88
- ne && this.hooks.emit("loadVideoFirstFrame");
83
+ d(this, "preventWhenMouseDown", () => {
84
+ var e;
85
+ if ((e = this.mouseInfo) != null && e.isDown)
86
+ return console.debug("preventWhenMouseDown 2"), !1;
89
87
  });
90
- this.mediaStore.subscribe(({ currentMediaElement: i }) => {
88
+ this.five.on("wantsMoveToPano", this.preventWhenMouseDown), this.five.on("wantsTapGesture", this.preventWhenMouseDown), this.mediaStore.subscribe(({ currentMediaElement: i }) => {
91
89
  this.tags.forEach((o) => {
92
90
  var t;
93
91
  if (o.mediaPlane instanceof le && i !== o.mediaPlane.videoInstance) {
@@ -96,19 +94,10 @@ class fi extends oe {
96
94
  o.mediaPlane.pause();
97
95
  }
98
96
  });
97
+ }), this.store.disposers.push(() => {
98
+ this.five.off("wantsMoveToPano", this.preventWhenMouseDown), this.five.off("wantsTapGesture", this.preventWhenMouseDown);
99
99
  });
100
100
  }
101
- set workCode(e) {
102
- this._workCode = e;
103
- }
104
- get workCode() {
105
- var e;
106
- return (e = this._workCode) != null ? e : this.five.state.workCode;
107
- }
108
- get work() {
109
- var e, i;
110
- return (i = (e = this.five.works) == null ? void 0 : e.find((o) => o.workCode === this.workCode)) != null ? i : this.five.work;
111
- }
112
101
  getTagById(e) {
113
102
  const i = this.tags.find((o) => o.id === e);
114
103
  if (!i) {
@@ -125,9 +114,9 @@ class fi extends oe {
125
114
  * @description: 获取标签配置
126
115
  */
127
116
  getTagConfig(e, i) {
128
- var r, f;
129
- const o = this.calculateTagConfig(e, i), t = (r = i == null ? void 0 : i.fiveMode) != null ? r : this.five.getCurrentState().mode, n = (f = o.configWithFiveMode) == null ? void 0 : f[t];
130
- return n != null ? n : o;
117
+ var n, f;
118
+ const o = this.calculateTagConfig(e, i), t = (n = i == null ? void 0 : i.fiveMode) != null ? n : this.five.getCurrentState().mode, s = (f = o.configWithFiveMode) == null ? void 0 : f[t];
119
+ return s != null ? s : o;
131
120
  }
132
121
  /**
133
122
  * @description 获取标签当前状态
@@ -141,7 +130,7 @@ class fi extends oe {
141
130
  const i = this.getTagConfig(e, { useCache: !1 });
142
131
  if (e.config = i, e.config.initialData) {
143
132
  const t = JSON.parse(JSON.stringify(e.data));
144
- e.data = (o = i.initialData) != null && o.important ? y(e.data, t, i.initialData) : y(e.data, i.initialData, t);
133
+ e.data = (o = i.initialData) != null && o.important ? P(e.data, t, i.initialData) : P(e.data, i.initialData, t);
145
134
  }
146
135
  });
147
136
  }
@@ -177,10 +166,10 @@ class fi extends oe {
177
166
  if (t[0].type === "Video")
178
167
  return "Mesh";
179
168
  if (t[0].type === "Image")
180
- return J(t[0].url) === "gif" ? "Dom" : "Mesh";
169
+ return H(t[0].url) === "gif" ? "Dom" : "Mesh";
181
170
  }
182
- } else if (N(e))
183
- return t.length === 1 && t[0].type === "Image" ? J(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
171
+ } else if (G(e))
172
+ return t.length === 1 && t[0].type === "Image" ? H(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
184
173
  }
185
174
  })();
186
175
  return i != null ? i : "Dom";
@@ -189,6 +178,7 @@ class fi extends oe {
189
178
  * @description: 获取角度
190
179
  */
191
180
  getAngle(e, i) {
181
+ var s, n;
192
182
  const o = i != null ? i : this.five.getCurrentState().panoIndex;
193
183
  if (o === void 0)
194
184
  throw new Error(`getAngle(): fivePanoIndex is ${o}`);
@@ -196,68 +186,69 @@ class fi extends oe {
196
186
  if (t.angle !== void 0)
197
187
  return t.angle;
198
188
  {
199
- const n = this.getObserverPosition(o);
200
- if (n === void 0)
201
- throw new Error(`getAngle(): observerPosition is ${n}`);
202
- const r = (() => e.stickType === "3DPoint" ? C(e.normal) : E(e.position))();
203
- if (!r)
189
+ const f = (n = (s = this.five.work) == null ? void 0 : s.observers[o]) == null ? void 0 : n.position;
190
+ if (f === void 0)
191
+ throw new Error(`getAngle(): observerPosition is ${f}`);
192
+ const u = (() => e.stickType === "3DPoint" ? ie(e.normal) : W(e.position))();
193
+ if (!u)
204
194
  return;
205
- const f = B(e);
206
- if (!f)
195
+ const g = N(e);
196
+ if (!g)
207
197
  return;
208
- const d = new ee.Vector3().copy(n).sub(f), g = r.angleTo(d) * 180 / Math.PI;
209
- return t.angle = g, t.angle;
198
+ const l = new Z.Vector3().copy(f).sub(g), T = u.angleTo(l) * 180 / Math.PI;
199
+ return t.angle = T, t.angle;
210
200
  }
211
201
  }
212
202
  /**
213
203
  * @description: 获取距离
214
204
  */
215
205
  getDistance(e, i) {
216
- const o = b(b({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = o, r = A(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
217
- if ((r == null ? void 0 : r.distance) !== void 0)
218
- return r.distance;
219
- const f = B(e);
206
+ var u, g;
207
+ const o = C(C({}, this.five.getCurrentState()), i), { panoIndex: t, mode: s } = o, n = j(s) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
208
+ if ((n == null ? void 0 : n.distance) !== void 0)
209
+ return n.distance;
210
+ const f = N(e);
220
211
  if (!f)
221
212
  return -1;
222
- if (A(n)) {
223
- const d = this.getObserverPosition(t);
224
- if (d === void 0)
213
+ if (j(s)) {
214
+ const l = (g = (u = this.five.work) == null ? void 0 : u.observers[t]) == null ? void 0 : g.position;
215
+ if (l === void 0)
225
216
  return -1;
226
- const g = d.distanceTo(f);
227
- return r && (r.distance = g), g;
217
+ const T = l.distanceTo(f);
218
+ return n && (n.distance = T), T;
228
219
  }
229
- if (z(n))
220
+ if ($(s))
230
221
  return this.five.camera.position.distanceTo(f);
231
222
  }
232
223
  getPositions(e) {
233
224
  if (ae(e))
234
225
  return e.position;
235
- if (N(e))
226
+ if (G(e))
236
227
  return e.data.mediaPosition;
237
228
  if (ce(e))
238
- return te(this.five.camera.position, C(e.position), C(e.normal));
229
+ return te(this.five.camera.position, E(e.position), E(e.normal));
239
230
  }
240
231
  addObjectClickHandler(e, i, o) {
241
232
  if (!i || !this.domEvents)
242
233
  return () => {
243
234
  };
244
- const t = () => !(!this.getCurrentVisibleState(e) || e.loading), n = (r) => {
235
+ const t = () => !(!this.getCurrentVisibleState(e) || e.loading), s = (n) => {
245
236
  if (!t())
246
237
  return !1;
247
- o(r.origDomEvent);
238
+ o(n.origDomEvent);
248
239
  };
249
- return this.domEvents.addEventListener(i, "click", n), () => {
250
- var r;
251
- (r = this.domEvents) == null || r.removeEventListener(i, "click", n);
240
+ return this.domEvents.addEventListener(i, "click", s), () => {
241
+ var n;
242
+ (n = this.domEvents) == null || n.removeEventListener(i, "click", s);
252
243
  };
253
244
  }
254
245
  getTagNormal(e) {
255
246
  if (e.normal)
256
- return C(e.normal);
247
+ return E(e.normal);
257
248
  if (e.stickType === "Plane")
258
- return E(e.position);
249
+ return W(e.position);
259
250
  if (e.stickType === "Model")
260
- return E(this.getPositions(e));
251
+ return W(this.getPositions(e));
261
252
  }
262
253
  // TODO: 优化点:下面这些函数,调用比较频繁,可以按点位加缓存
263
254
  get filterPointTag() {
@@ -282,13 +273,6 @@ class fi extends oe {
282
273
  return o === "BehindDom" || o === "Dom";
283
274
  });
284
275
  }
285
- getTransformedPostion(e) {
286
- var o;
287
- if (!e)
288
- return;
289
- const i = (o = this.work) == null ? void 0 : o.options.transform;
290
- return Array.isArray(e) && e.length === 4 ? e.map(C).map((t) => O(t, i)) : O(C(e), i);
291
- }
292
276
  /**
293
277
  * @description 检查是否已经销毁
294
278
  * @returns isDisposed; 已经销毁返回 true,否则返回 false
@@ -300,46 +284,46 @@ class fi extends oe {
300
284
  * @description: 获取merge后的配置
301
285
  */
302
286
  calculateTagConfig(e, i) {
303
- var j, S, I, W;
304
- const o = (j = i == null ? void 0 : i.useCache) != null ? j : !0;
287
+ var A, I, S, O;
288
+ const o = (A = i == null ? void 0 : i.useCache) != null ? A : !0;
305
289
  if (!e)
306
- return (S = this.config.globalConfig) != null ? S : {};
307
- if (o && ((I = e.config) != null && I._isMerged))
290
+ return (I = this.config.globalConfig) != null ? I : {};
291
+ if (o && ((S = e.config) != null && S._isMerged))
308
292
  return e.config;
309
- const t = {}, n = {}, r = {};
310
- this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, p]) => {
311
- var V, L;
312
- const c = u, D = c.split("-"), F = u.startsWith("["), T = F ? D[0].slice(1, -1) : void 0, h = F ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (V = n[T]) != null ? V : n[T] = {} : (L = r[T]) != null ? L : r[T] = {} : t;
313
- if (!v[c]) {
314
- if (h.length === 0 && (v[c] = p), h.length === 1) {
315
- const [m] = h;
316
- (e.contentType === m || m === "Any") && (v[c] = p);
293
+ const t = {}, s = {}, n = {};
294
+ this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([p, h]) => {
295
+ var F, L;
296
+ const c = p, k = c.split("-"), V = p.startsWith("["), y = V ? k[0].slice(1, -1) : void 0, v = V ? k.slice(1) : k, M = y ? ["PanoramaLike", "ModelLike"].includes(y) ? (F = s[y]) != null ? F : s[y] = {} : (L = n[y]) != null ? L : n[y] = {} : t;
297
+ if (!M[c]) {
298
+ if (v.length === 0 && (M[c] = h), v.length === 1) {
299
+ const [m] = v;
300
+ (e.contentType === m || m === "Any") && (M[c] = h);
317
301
  }
318
- if (h.length === 2) {
319
- const [m = "Any", P = "Any"] = h;
320
- m === "Mixin" && e.contentType === P && (v[c] = p), (e.stickType === m || m === "Any") && (e.contentType === P || P === "Any") && (v[c] = p);
302
+ if (v.length === 2) {
303
+ const [m = "Any", b = "Any"] = v;
304
+ m === "Mixin" && e.contentType === b && (M[c] = h), (e.stickType === m || m === "Any") && (e.contentType === b || b === "Any") && (M[c] = h);
321
305
  }
322
- if (h.length === 3) {
323
- const [m = "Any", P, G] = h;
324
- if (P === "Audio" && e.contentType === "Audio") {
306
+ if (v.length === 3) {
307
+ const [m = "Any", b, J] = v;
308
+ if (b === "Audio" && e.contentType === "Audio") {
325
309
  const x = e;
326
- (x.stickType === m || m === "Any") && x.data.appearance === G && (v[c] = p);
310
+ (x.stickType === m || m === "Any") && x.data.appearance === J && (M[c] = h);
327
311
  }
328
312
  }
329
313
  }
330
314
  });
331
- const f = (W = e.config) != null && W._isMerged ? e.initialConfig : e.config, d = y({}, Z, this.config.globalConfig, ...Object.values(t)), g = y({}, d, f), k = {}, U = Object.values(se.Mode);
332
- H(n).forEach(([u, p]) => {
333
- U.forEach((c) => {
334
- (u === "PanoramaLike" && A(c) || u === "ModelLike" && z(c)) && (k[c] = y({}, d, ...Object.values(p), f));
315
+ const f = (O = e.config) != null && O._isMerged ? e.initialConfig : e.config, u = P({}, Y, this.config.globalConfig, ...Object.values(t)), g = P({}, u, f), l = {}, T = Object.values(se.Mode);
316
+ z(s).forEach(([p, h]) => {
317
+ T.forEach((c) => {
318
+ (p === "PanoramaLike" && j(c) || p === "ModelLike" && $(c)) && (l[c] = P({}, u, ...Object.values(h), f));
335
319
  });
336
- }), H(r).forEach(([u, p]) => {
337
- k[u] = y({}, d, ...Object.values(p), f);
320
+ }), z(n).forEach(([p, h]) => {
321
+ l[p] = P({}, u, ...Object.values(h), f);
338
322
  });
339
- const M = _(b({}, g), { configWithFiveMode: k });
340
- return $(M, e), Object.values(k).forEach((u) => $(u, e)), M._isMerged = !0, M;
323
+ const D = B(C({}, g), { configWithFiveMode: l });
324
+ return _(D, e), Object.values(l).forEach((p) => _(p, e)), D._isMerged = !0, D;
341
325
  }
342
326
  }
343
327
  export {
344
- fi as TagUtil
328
+ si as TagUtil
345
329
  };
@@ -53,7 +53,7 @@ declare class PanoTagPluginController extends TagRender {
53
53
  disable(params?: {
54
54
  userAction?: boolean;
55
55
  }): void;
56
- setState(state: Partial<State>, params?: {
56
+ setState(state: Partial<State>, params: {
57
57
  userAction?: boolean;
58
58
  visibleWithAnimation?: boolean;
59
59
  }): void;