@realsee/dnalogel 3.5.0-tag-dev.1 → 3.5.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 (361) hide show
  1. package/dist/PanoTagPlugin/controller/TagRender.d.ts +2 -2
  2. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +3 -1
  3. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -1
  4. package/dist/PanoTagPlugin/utils/tag/adaptConfig.d.ts +1 -1
  5. package/dist/index.cjs.js +23 -23
  6. package/dist/index.js +964 -959
  7. package/dist/index.umd.js +26 -26
  8. package/libs/PanoTagPlugin/controller/TagRender.d.ts +2 -2
  9. package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
  10. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +3 -1
  11. package/libs/PanoTagPlugin/controller/TagUtil.js +62 -58
  12. package/libs/PanoTagPlugin/controller/index.js +44 -43
  13. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +2 -1
  14. package/libs/PanoTagPlugin/utils/tag/adaptConfig.d.ts +1 -1
  15. package/libs/PanoTagPlugin/utils/tag/adaptConfig.js +1 -1
  16. package/libs/base/BasePlugin.js +1 -1
  17. package/libs/shared-utils/logger.js +1 -1
  18. package/package.json +1 -1
  19. package/docs/.nojekyll +0 -1
  20. package/docs/assets/highlight.css +0 -120
  21. package/docs/assets/main.js +0 -58
  22. package/docs/assets/search.js +0 -1
  23. package/docs/assets/style.css +0 -1367
  24. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -726
  25. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -679
  26. package/docs/classes/CSS3DRender.html +0 -774
  27. package/docs/classes/CruisePluginController.html +0 -673
  28. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -477
  29. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -857
  30. package/docs/classes/Magnifier.html +0 -481
  31. package/docs/classes/ModelRoomLabelController.html +0 -399
  32. package/docs/classes/Object3DHelperController.html +0 -641
  33. package/docs/classes/PaintBrush.html +0 -503
  34. package/docs/classes/PanoMeasurePluginLine.html +0 -523
  35. package/docs/classes/PanoMeasurePluginModel.html +0 -572
  36. package/docs/classes/PanoMeasurePluginPoint.html +0 -363
  37. package/docs/classes/PanoMeasurePluginPolyline.html +0 -568
  38. package/docs/classes/PanoTagPluginController.html +0 -1096
  39. package/docs/classes/Util.BetterTween.html +0 -417
  40. package/docs/classes/Util.Interval.html +0 -433
  41. package/docs/classes/Util.LineSegments.html +0 -385
  42. package/docs/classes/Util.Magnifier.html +0 -504
  43. package/docs/classes/Util.Object3D.html +0 -407
  44. package/docs/classes/Util.PointDomHelper.html +0 -408
  45. package/docs/classes/Util.PointHelper.html +0 -399
  46. package/docs/classes/Util.PointSelectorHelper.html +0 -455
  47. package/docs/classes/Util.Rectangle.html +0 -456
  48. package/docs/enums/CameraMovementEffect.html +0 -311
  49. package/docs/enums/ContentType.html +0 -457
  50. package/docs/enums/DIRECTION.html +0 -321
  51. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -321
  52. package/docs/enums/DimensionType.html +0 -311
  53. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -314
  54. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -321
  55. package/docs/enums/PaintBrushTypeEnum.html +0 -314
  56. package/docs/enums/PointType.html +0 -311
  57. package/docs/enums/Rotation.html +0 -318
  58. package/docs/functions/AreaMakerPlugin.html +0 -291
  59. package/docs/functions/CSS3DRenderPlugin.html +0 -289
  60. package/docs/functions/CameraMovementPlugin.html +0 -294
  61. package/docs/functions/CruisePlugin.html +0 -291
  62. package/docs/functions/CurrentPanoImagePlugin.html +0 -291
  63. package/docs/functions/GuideLinePlugin.html +0 -291
  64. package/docs/functions/ItemLabelPlugin.html +0 -291
  65. package/docs/functions/MapviewFloorplanPlugin.html +0 -291
  66. package/docs/functions/ModelChassisCompassPlugin.html +0 -294
  67. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -294
  68. package/docs/functions/ModelFloorplanPlugin.html +0 -291
  69. package/docs/functions/ModelItemLabelPlugin.html +0 -291
  70. package/docs/functions/ModelRoomLabelPlugin.html +0 -289
  71. package/docs/functions/ModelTVVideoPlugin.html +0 -291
  72. package/docs/functions/ModelViewPlugin.html +0 -294
  73. package/docs/functions/Object3DHelperPlugin.html +0 -289
  74. package/docs/functions/PanoCompassPlugin.html +0 -291
  75. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -295
  76. package/docs/functions/PanoDoorLabelPlugin.html +0 -291
  77. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -291
  78. package/docs/functions/PanoMeasurePlugin.html +0 -291
  79. package/docs/functions/PanoRulerPlugin.html +0 -294
  80. package/docs/functions/PanoRulerProPlugin.html +0 -294
  81. package/docs/functions/PanoSpatialTagPlugin.html +0 -294
  82. package/docs/functions/PanoTagPlugin.html +0 -296
  83. package/docs/functions/PanoVideoPlugin.html +0 -300
  84. package/docs/functions/PipelinePlugin.html +0 -289
  85. package/docs/functions/TopviewFloorplanPlugin.html +0 -291
  86. package/docs/functions/Util.absoluteUrl.html +0 -327
  87. package/docs/functions/Util.checkFiveModelLoaded.html +0 -330
  88. package/docs/functions/Util.equal.html +0 -339
  89. package/docs/functions/Util.getCoordsFromClient.html +0 -329
  90. package/docs/functions/Util.getCoordsFromElement.html +0 -329
  91. package/docs/functions/Util.getFrameTime.html +0 -321
  92. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -329
  93. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -329
  94. package/docs/functions/Util.isAbsoluteURL.html +0 -322
  95. package/docs/functions/Util.isModelLike.html +0 -322
  96. package/docs/functions/Util.isNil.html +0 -330
  97. package/docs/functions/Util.isPanoramaLike.html +0 -322
  98. package/docs/functions/Util.nextFrame.html +0 -335
  99. package/docs/functions/Util.notNil.html +0 -330
  100. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -351
  101. package/docs/functions/Util.tweenProgress.html +0 -324
  102. package/docs/functions/Util.uuid.html +0 -320
  103. package/docs/functions/pluginFlag.html +0 -289
  104. package/docs/index.html +0 -355
  105. package/docs/interfaces/AddTagConfig.html +0 -304
  106. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -330
  107. package/docs/interfaces/AreaMakerPluginType.Config.html +0 -335
  108. package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -621
  109. package/docs/interfaces/AreaMakerPluginType.Params.html +0 -334
  110. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -384
  111. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -369
  112. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -334
  113. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -327
  114. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -326
  115. package/docs/interfaces/AreaMakerPluginType.State.html +0 -355
  116. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -450
  117. package/docs/interfaces/CSS3DRenderPluginState.html +0 -326
  118. package/docs/interfaces/CameraMovementPluginExportType.html +0 -359
  119. package/docs/interfaces/CruisePluginTypes.Config.html +0 -360
  120. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -362
  121. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -697
  122. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -386
  123. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -422
  124. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -412
  125. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -352
  126. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -320
  127. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -409
  128. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -383
  129. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -522
  130. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -324
  131. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -316
  132. package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -338
  133. package/docs/interfaces/EventMap.html +0 -543
  134. package/docs/interfaces/FloorplanBounding.html +0 -333
  135. package/docs/interfaces/FloorplanData.html +0 -336
  136. package/docs/interfaces/FloorplanEntrance.html +0 -361
  137. package/docs/interfaces/FloorplanExtraObject.html +0 -351
  138. package/docs/interfaces/FloorplanExtraObject3D.html +0 -340
  139. package/docs/interfaces/FloorplanFloorData.html +0 -329
  140. package/docs/interfaces/FloorplanImagePosition.html +0 -315
  141. package/docs/interfaces/FloorplanObserver.html +0 -333
  142. package/docs/interfaces/FloorplanOutlineItem.html +0 -329
  143. package/docs/interfaces/FloorplanPosition.html +0 -315
  144. package/docs/interfaces/FloorplanRoomItem.html +0 -380
  145. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -321
  146. package/docs/interfaces/FloorplanServerBounding.html +0 -333
  147. package/docs/interfaces/FloorplanServerComputedData.html +0 -332
  148. package/docs/interfaces/FloorplanServerData.html +0 -315
  149. package/docs/interfaces/FloorplanServerDoorItem.html +0 -332
  150. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -318
  151. package/docs/interfaces/FloorplanServerEntrance.html +0 -361
  152. package/docs/interfaces/FloorplanServerFloorData.html +0 -329
  153. package/docs/interfaces/FloorplanServerImagePosition.html +0 -315
  154. package/docs/interfaces/FloorplanServerObserver.html +0 -333
  155. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -329
  156. package/docs/interfaces/FloorplanServerPosition.html +0 -315
  157. package/docs/interfaces/FloorplanServerRoomItem.html +0 -392
  158. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -321
  159. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -324
  160. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -363
  161. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -527
  162. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -358
  163. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -349
  164. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -416
  165. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -338
  166. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -348
  167. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -484
  168. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -345
  169. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -484
  170. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -310
  171. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -331
  172. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -356
  173. package/docs/interfaces/GuideLinePluginType.Route.html +0 -372
  174. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -354
  175. package/docs/interfaces/HelperOffset.html +0 -333
  176. package/docs/interfaces/ImagePlaneGroup.html +0 -307
  177. package/docs/interfaces/ItemLabelPluginData.html +0 -304
  178. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -389
  179. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -325
  180. package/docs/interfaces/MinMax.html +0 -311
  181. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -311
  182. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -347
  183. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -311
  184. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -318
  185. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -355
  186. package/docs/interfaces/ModelItemLabelPluginData.html +0 -304
  187. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -389
  188. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -311
  189. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -304
  190. package/docs/interfaces/ModelTVVideoPluginData.html +0 -325
  191. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -349
  192. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -304
  193. package/docs/interfaces/ModelViewPluginExportType.html +0 -417
  194. package/docs/interfaces/Object3DHelperState.html +0 -318
  195. package/docs/interfaces/ObjectHelperControllers.html +0 -325
  196. package/docs/interfaces/PaintBrushAction.html +0 -364
  197. package/docs/interfaces/PaintBrushConfigs.html +0 -362
  198. package/docs/interfaces/PaintBrushState.html +0 -346
  199. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -426
  200. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -283
  201. package/docs/interfaces/PanoMeasureParameterType.html +0 -450
  202. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -318
  203. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -315
  204. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -311
  205. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -321
  206. package/docs/interfaces/PanoRulerPluginExportType.html +0 -378
  207. package/docs/interfaces/PanoRulerPluginOptions.html +0 -327
  208. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -318
  209. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -354
  210. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -324
  211. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -311
  212. package/docs/interfaces/PanoRulerProPluginState.html +0 -318
  213. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -297
  214. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -286
  215. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -354
  216. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -336
  217. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -432
  218. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -332
  219. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -353
  220. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -339
  221. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -332
  222. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -324
  223. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -342
  224. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -315
  225. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -421
  226. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -315
  227. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -350
  228. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -369
  229. package/docs/interfaces/Point.html +0 -318
  230. package/docs/interfaces/Room.html +0 -325
  231. package/docs/interfaces/RoomInfo.html +0 -311
  232. package/docs/interfaces/RoomLabel.html +0 -387
  233. package/docs/interfaces/RoomRules.html +0 -286
  234. package/docs/interfaces/Rooms.html +0 -286
  235. package/docs/interfaces/Scissor.html +0 -345
  236. package/docs/interfaces/State.html +0 -332
  237. package/docs/interfaces/TagCacheInterface.html +0 -363
  238. package/docs/interfaces/TagConfig.html +0 -566
  239. package/docs/interfaces/TagGLTFObjectGroup.html +0 -307
  240. package/docs/interfaces/TagIconUrl.html +0 -364
  241. package/docs/interfaces/TagObjectGroup.html +0 -307
  242. package/docs/interfaces/TagStyle.html +0 -317
  243. package/docs/interfaces/Tags.html +0 -2821
  244. package/docs/interfaces/TemporaryState.html +0 -304
  245. package/docs/interfaces/Util.MagnifierParameter.html +0 -392
  246. package/docs/interfaces/Util.MouseGroupParameter.html +0 -351
  247. package/docs/interfaces/Util.PointIntersection.html +0 -366
  248. package/docs/modules/AreaMakerPluginType.html +0 -324
  249. package/docs/modules/CruisePluginTypes.html +0 -329
  250. package/docs/modules/CurrentPanoImagePluginType.html +0 -298
  251. package/docs/modules/GuideLineItem.html +0 -290
  252. package/docs/modules/GuideLineModeItem.html +0 -295
  253. package/docs/modules/GuideLinePluginType.html +0 -351
  254. package/docs/modules/PanoVideoPluginType.html +0 -302
  255. package/docs/modules/Util.html +0 -352
  256. package/docs/modules.html +0 -542
  257. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -332
  258. package/docs/types/AreaMakerPluginType.PluginData.html +0 -302
  259. package/docs/types/AreaMakerPluginType.ServerData.html +0 -302
  260. package/docs/types/ArrayPosition.html +0 -280
  261. package/docs/types/AudioAppearance.html +0 -280
  262. package/docs/types/AudioTagTypeConfigKey.html +0 -280
  263. package/docs/types/CSS3DRenderExportType.html +0 -280
  264. package/docs/types/CSS3DRenderPluginExportType.html +0 -280
  265. package/docs/types/CSS3DRenderPluginParameterType.html +0 -280
  266. package/docs/types/ClassFunctionParameters.html +0 -287
  267. package/docs/types/Color.html +0 -280
  268. package/docs/types/ContentTypeConfigKey.html +0 -280
  269. package/docs/types/ContentTypeConfigKeySplit.html +0 -280
  270. package/docs/types/ContentTypeMap.html +0 -280
  271. package/docs/types/Create3DDomContainerReturnType.html +0 -280
  272. package/docs/types/Create3DElementReturnType.html +0 -280
  273. package/docs/types/CruisePluginExportType.html +0 -280
  274. package/docs/types/CruisePluginTypes.CruiseData.html +0 -319
  275. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -296
  276. package/docs/types/CurrentPanoImagePluginExportType.html +0 -280
  277. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -292
  278. package/docs/types/DeprecatedTagProperty.html +0 -295
  279. package/docs/types/Direction-1.html +0 -280
  280. package/docs/types/Direction4.html +0 -280
  281. package/docs/types/ElementRenderer.html +0 -304
  282. package/docs/types/FloorplanRuleLabels.html +0 -283
  283. package/docs/types/FloorplanServerRuleLabels.html +0 -280
  284. package/docs/types/GuideLinePluginExportType.html +0 -280
  285. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -353
  286. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -374
  287. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -307
  288. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -310
  289. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -310
  290. package/docs/types/GuideLinePluginType.PathItem.html +0 -310
  291. package/docs/types/GuideLinePluginType.PluginData.html +0 -319
  292. package/docs/types/HelperEventMap.html +0 -518
  293. package/docs/types/LoadTagConfig.html +0 -280
  294. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -280
  295. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -280
  296. package/docs/types/MediaData.html +0 -301
  297. package/docs/types/MediaStore.html +0 -285
  298. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -287
  299. package/docs/types/ModelFloorplanPluginParameterType.html +0 -280
  300. package/docs/types/ModelFloorplanPluginReturnType.html +0 -280
  301. package/docs/types/ModelId.html +0 -280
  302. package/docs/types/ModelRoomLabelPluginParameters.html +0 -280
  303. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -280
  304. package/docs/types/MoveArgs.html +0 -290
  305. package/docs/types/MoveOpts.html +0 -288
  306. package/docs/types/Object3DHelperEventMap.html +0 -373
  307. package/docs/types/ObjectFit.html +0 -280
  308. package/docs/types/PaintBrushEventMap.html +0 -311
  309. package/docs/types/PanoCompassPluginData.html +0 -280
  310. package/docs/types/PanoCompassPluginExportType.html +0 -280
  311. package/docs/types/PanoCompassPluginParameterType.html +0 -280
  312. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -280
  313. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -280
  314. package/docs/types/PanoIndex.html +0 -280
  315. package/docs/types/PanoMeasurePluginEvent.html +0 -280
  316. package/docs/types/PanoMeasureReturnType.html +0 -280
  317. package/docs/types/PanoSpatialTagPluginId.html +0 -280
  318. package/docs/types/PanoTagPluginExportInterface.html +0 -280
  319. package/docs/types/PanoTagPluginParamsInterface.html +0 -280
  320. package/docs/types/PanoVideoPluginParameterType.html +0 -280
  321. package/docs/types/PanoVideoPluginReturnType.html +0 -280
  322. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -288
  323. package/docs/types/PipelinePluginParameterType.html +0 -280
  324. package/docs/types/PipelinePluginReturnType.html +0 -280
  325. package/docs/types/PlaneTag.html +0 -288
  326. package/docs/types/Point2DTag.html +0 -288
  327. package/docs/types/Point3DTag.html +0 -288
  328. package/docs/types/PointTag.html +0 -285
  329. package/docs/types/PointTagInstance.html +0 -285
  330. package/docs/types/Position.html +0 -280
  331. package/docs/types/RotateArgs.html +0 -292
  332. package/docs/types/RotateOpts.html +0 -288
  333. package/docs/types/RuleLabelsKey.html +0 -280
  334. package/docs/types/RuleLabelsValue.html +0 -280
  335. package/docs/types/StickType.html +0 -280
  336. package/docs/types/Tag.html +0 -346
  337. package/docs/types/Tag2D.html +0 -288
  338. package/docs/types/Tag3D.html +0 -288
  339. package/docs/types/TagConfigByKey.html +0 -285
  340. package/docs/types/TagContentType.html +0 -280
  341. package/docs/types/TagContentTypeMapping.html +0 -280
  342. package/docs/types/TagDimensionType.html +0 -282
  343. package/docs/types/TagElement.html +0 -290
  344. package/docs/types/TagEvents.html +0 -333
  345. package/docs/types/TagGLTFObject.html +0 -303
  346. package/docs/types/TagHooks.html +0 -280
  347. package/docs/types/TagId.html +0 -280
  348. package/docs/types/TagInstance.html +0 -356
  349. package/docs/types/TagPointType.html +0 -283
  350. package/docs/types/TagRendererMap.html +0 -285
  351. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -280
  352. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -280
  353. package/docs/types/WorkCode.html +0 -280
  354. package/docs/variables/FLOOR_TYPE_MAP.html +0 -290
  355. package/docs/variables/PLUGIN.html +0 -280
  356. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -283
  357. package/docs/variables/ROOM_TYPE_MAP.html +0 -290
  358. package/docs/variables/defaultGlobalConfig.html +0 -280
  359. package/docs/variables/itemLabelPluginServerParams.html +0 -287
  360. package/docs/variables/modelItemLabelPluginServerParams.html +0 -287
  361. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -287
@@ -5,9 +5,9 @@ import type { Object3D } from 'three';
5
5
  import TagContainerSvelte from '../Components/TagContainer.svelte';
6
6
  import type { Five } from '@realsee/five';
7
7
  export declare abstract class TagRender extends TagComputer {
8
+ rendererMap: TagRendererMap;
9
+ contentTypeMap: TagContentTypeMapping;
8
10
  protected group: TagObjectGroup;
9
- protected rendererMap: TagRendererMap;
10
- protected contentTypeMap: TagContentTypeMapping;
11
11
  protected imagePlaneGroup: ImagePlaneGroup;
12
12
  protected gltfObjectGroup: TagGLTFObjectGroup;
13
13
  /** 维护一个可用模型表,用于快速删除不应该在场景中的模型 */
@@ -163,9 +163,9 @@ const $ = /* @__PURE__ */ new Map(), q = /* @__PURE__ */ new Map();
163
163
  class fi extends I {
164
164
  constructor(t) {
165
165
  super(t);
166
- h(this, "group", new y());
167
166
  h(this, "rendererMap", /* @__PURE__ */ new Map());
168
167
  h(this, "contentTypeMap", /* @__PURE__ */ new Map());
168
+ h(this, "group", new y());
169
169
  h(this, "imagePlaneGroup", new y());
170
170
  h(this, "gltfObjectGroup", new y());
171
171
  /** 维护一个可用模型表,用于快速删除不应该在场景中的模型 */
@@ -73,5 +73,7 @@ export declare abstract class TagUtil extends TagCache {
73
73
  /**
74
74
  * @description: 获取merge后的配置
75
75
  */
76
- private calculateTagConfig;
76
+ protected calculateTagConfig(tag: Tag | TagInstance, params?: {
77
+ useCache?: boolean;
78
+ }): TagInstance['computedConfig'];
77
79
  }
@@ -1,39 +1,39 @@
1
- var X = Object.defineProperty, q = Object.defineProperties;
2
- var K = Object.getOwnPropertyDescriptors;
1
+ var q = Object.defineProperty, K = 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) => {
4
+ var Y = Object.prototype.hasOwnProperty, Z = Object.prototype.propertyIsEnumerable;
5
+ var w = (a, s, e) => s in a ? q(a, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[s] = e, M = (a, s) => {
6
6
  for (var e in s || (s = {}))
7
- Q.call(s, e) && w(a, e, s[e]);
7
+ Y.call(s, e) && w(a, e, s[e]);
8
8
  if (R)
9
9
  for (var e of R(s))
10
- Y.call(s, e) && w(a, e, s[e]);
10
+ Z.call(s, e) && w(a, e, s[e]);
11
11
  return a;
12
- }, _ = (a, s) => q(a, K(s));
12
+ }, B = (a, s) => K(a, Q(s));
13
13
  var d = (a, s, e) => (w(a, typeof s != "symbol" ? s + "" : s, e), e);
14
- import { defaultGlobalConfig as Z } from "../typings/tag/TagConfig.js";
14
+ import { defaultGlobalConfig as ee } from "../typings/tag/TagConfig.js";
15
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";
16
+ import * as ie from "three";
17
+ import { DefaultConfig as te } from "../tag.config.js";
18
18
  import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
19
19
  import { planeNormal as E } from "../utils/planeNormal.js";
20
- import { getTagCenterPosition as B } from "../utils/tagPosition.js";
21
- import { normalPositionToPositions as te } from "../utils/normalPositionToPositions.js";
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";
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";
27
- import { VideoPlane as le } from "../utils/model/mediaPlane.js";
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";
20
+ import { getTagCenterPosition as N } from "../utils/tagPosition.js";
21
+ import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
22
+ import { TagCache as re } from "./TagCache.js";
23
+ import { writable as ne } from "../../vendor/svelte/store/index.js";
24
+ import { isIOSWX as se } from "../../shared-utils/device.js";
25
+ import { Five as fe } from "@realsee/five";
26
+ import { isMediaPlaneTag as ae, isMediaModelTag as $, isPlaneTag as ce, isPoint3DTag as le } from "../utils/tag/tagCheck.js";
27
+ import { VideoPlane as de } from "../utils/model/mediaPlane.js";
28
+ import { FiveDomEvents as ue } from "../../shared-utils/five/FiveDomEvents.js";
29
+ import z from "../utils/tag/adaptConfig.js";
30
+ import { isPanoramaLike as A, isModelLike as H } 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";
35
+ import { entries as J } from "../../shared-utils/typescript/entries.js";
36
+ import { getUrlExt as U } from "../../shared-utils/url/getUrl.js";
37
37
  import { transformPosition as O } from "../../shared-utils/five/transformPosition.js";
38
38
  import "../../shared-utils/three/centerPoint.js";
39
39
  import "../../base/BasePlugin.js";
@@ -60,12 +60,12 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
60
60
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
61
61
  import "../../shared-utils/three/getNormal.js";
62
62
  import "../../shared-utils/five/calculateThreeMouse.js";
63
- class fi extends oe {
63
+ class ai extends re {
64
64
  constructor(e) {
65
65
  super(e);
66
66
  d(this, "tags", []);
67
- d(this, "config", ie);
68
- d(this, "mediaStore", re({
67
+ d(this, "config", te);
68
+ d(this, "mediaStore", ne({
69
69
  currentMediaElement: null
70
70
  }));
71
71
  /** css3DRenderPlugin */
@@ -76,7 +76,7 @@ class fi extends oe {
76
76
  resizeObserverDisposerAdding: !1,
77
77
  css3DRenderDisposer: /* @__PURE__ */ new Map()
78
78
  });
79
- d(this, "domEvents", new de(this.five));
79
+ d(this, "domEvents", new ue(this.five));
80
80
  d(this, "_workCode");
81
81
  d(this, "getObserverPosition", (e) => {
82
82
  var o, t;
@@ -85,12 +85,12 @@ class fi extends oe {
85
85
  return O(i.position, (t = this.work) == null ? void 0 : t.options.transform);
86
86
  });
87
87
  d(this, "loadVideoFirstFrame", () => {
88
- ne && this.hooks.emit("loadVideoFirstFrame");
88
+ se && this.hooks.emit("loadVideoFirstFrame");
89
89
  });
90
90
  this.mediaStore.subscribe(({ currentMediaElement: i }) => {
91
91
  this.tags.forEach((o) => {
92
92
  var t;
93
- if (o.mediaPlane instanceof le && i !== o.mediaPlane.videoInstance) {
93
+ if (o.mediaPlane instanceof de && i !== o.mediaPlane.videoInstance) {
94
94
  if (!((t = o.mediaPlane.videoInstance) != null && t.src) || i === o.mediaPlane.videoInstance)
95
95
  return;
96
96
  o.mediaPlane.pause();
@@ -172,15 +172,15 @@ class fi extends oe {
172
172
  return;
173
173
  const t = e.data.mediaData;
174
174
  if (!(!t || t.length === 0) && o.renderType === "Mesh") {
175
- if (fe(e)) {
175
+ if (ae(e)) {
176
176
  if (t.length === 1) {
177
177
  if (t[0].type === "Video")
178
178
  return "Mesh";
179
179
  if (t[0].type === "Image")
180
- return J(t[0].url) === "gif" ? "Dom" : "Mesh";
180
+ return U(t[0].url) === "gif" ? "Dom" : "Mesh";
181
181
  }
182
- } else if (N(e))
183
- return t.length === 1 && t[0].type === "Image" ? J(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
182
+ } else if ($(e))
183
+ return t.length === 1 && t[0].type === "Image" ? U(t[0].url) === "gif" ? "Dom" : "Mesh" : "BehindDom";
184
184
  }
185
185
  })();
186
186
  return i != null ? i : "Dom";
@@ -202,10 +202,10 @@ class fi extends oe {
202
202
  const r = (() => e.stickType === "3DPoint" ? C(e.normal) : E(e.position))();
203
203
  if (!r)
204
204
  return;
205
- const f = B(e);
205
+ const f = N(e);
206
206
  if (!f)
207
207
  return;
208
- const c = new ee.Vector3().copy(n).sub(f), g = r.angleTo(c) * 180 / Math.PI;
208
+ const c = new ie.Vector3().copy(n).sub(f), g = r.angleTo(c) * 180 / Math.PI;
209
209
  return t.angle = g, t.angle;
210
210
  }
211
211
  }
@@ -213,10 +213,10 @@ class fi extends oe {
213
213
  * @description: 获取距离
214
214
  */
215
215
  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;
216
+ const o = M(M({}, this.five.getCurrentState()), i), { panoIndex: t, mode: n } = o, r = A(n) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
217
217
  if ((r == null ? void 0 : r.distance) !== void 0)
218
218
  return r.distance;
219
- const f = B(e);
219
+ const f = N(e);
220
220
  if (!f)
221
221
  return -1;
222
222
  if (A(n)) {
@@ -226,16 +226,16 @@ class fi extends oe {
226
226
  const g = c.distanceTo(f);
227
227
  return r && (r.distance = g), g;
228
228
  }
229
- if (z(n))
229
+ if (H(n))
230
230
  return this.five.camera.position.distanceTo(f);
231
231
  }
232
232
  getPositions(e) {
233
- if (ae(e))
233
+ if (ce(e))
234
234
  return e.position;
235
- if (N(e))
235
+ if ($(e))
236
236
  return e.data.mediaPosition;
237
- if (ce(e))
238
- return te(this.five.camera.position, C(e.position), C(e.normal));
237
+ if (le(e))
238
+ return oe(this.five.camera.position, C(e.position), C(e.normal));
239
239
  }
240
240
  addObjectClickHandler(e, i, o) {
241
241
  if (!i || !this.domEvents)
@@ -300,16 +300,20 @@ class fi extends oe {
300
300
  * @description: 获取merge后的配置
301
301
  */
302
302
  calculateTagConfig(e, i) {
303
- var j, S, I, W;
303
+ var j, S, I, W, F;
304
304
  const o = (j = i == null ? void 0 : i.useCache) != null ? j : !0;
305
305
  if (!e)
306
306
  return (S = this.config.globalConfig) != null ? S : {};
307
- if (o && ((I = e.config) != null && I._isMerged))
308
- return e.config;
307
+ if (o) {
308
+ if ((I = e == null ? void 0 : e.computedConfig) != null && I._isMerged)
309
+ return e.computedConfig;
310
+ if ((W = e == null ? void 0 : e.config) != null && W._isMerged)
311
+ return e.config;
312
+ }
309
313
  const t = {}, n = {}, r = {};
310
314
  this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, p]) => {
311
- var V, L;
312
- const l = u, D = l.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;
315
+ var L, _;
316
+ const l = u, D = l.split("-"), V = u.startsWith("["), T = V ? D[0].slice(1, -1) : void 0, h = V ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (L = n[T]) != null ? L : n[T] = {} : (_ = r[T]) != null ? _ : r[T] = {} : t;
313
317
  if (!v[l]) {
314
318
  if (h.length === 0 && (v[l] = p), h.length === 1) {
315
319
  const [m] = h;
@@ -320,26 +324,26 @@ class fi extends oe {
320
324
  m === "Mixin" && e.contentType === P && (v[l] = p), (e.stickType === m || m === "Any") && (e.contentType === P || P === "Any") && (v[l] = p);
321
325
  }
322
326
  if (h.length === 3) {
323
- const [m = "Any", P, G] = h;
327
+ const [m = "Any", P, X] = h;
324
328
  if (P === "Audio" && e.contentType === "Audio") {
325
329
  const x = e;
326
- (x.stickType === m || m === "Any") && x.data.appearance === G && (v[l] = p);
330
+ (x.stickType === m || m === "Any") && x.data.appearance === X && (v[l] = p);
327
331
  }
328
332
  }
329
333
  }
330
334
  });
331
- const f = (W = e.config) != null && W._isMerged ? e.initialConfig : e.config, c = y({}, Z, this.config.globalConfig, ...Object.values(t)), g = y({}, c, f), k = {}, U = Object.values(se.Mode);
332
- H(n).forEach(([u, p]) => {
333
- U.forEach((l) => {
334
- (u === "PanoramaLike" && A(l) || u === "ModelLike" && z(l)) && (k[l] = y({}, c, ...Object.values(p), f));
335
+ const f = (F = e.initialConfig) != null ? F : {}, c = y({}, ee, this.config.globalConfig, ...Object.values(t)), g = y({}, c, f), k = {}, G = Object.values(fe.Mode);
336
+ J(n).forEach(([u, p]) => {
337
+ G.forEach((l) => {
338
+ (u === "PanoramaLike" && A(l) || u === "ModelLike" && H(l)) && (k[l] = y({}, c, ...Object.values(p), f, { _isMerged: !0 }));
335
339
  });
336
- }), H(r).forEach(([u, p]) => {
337
- k[u] = y({}, c, ...Object.values(p), f);
340
+ }), J(r).forEach(([u, p]) => {
341
+ k[u] = y({}, c, ...Object.values(p), f, { _isMerged: !0 });
338
342
  });
339
- const M = _(b({}, g), { configWithFiveMode: k });
340
- return $(M, e), Object.values(k).forEach((u) => $(u, e)), M._isMerged = !0, M;
343
+ const b = B(M({}, g), { configWithFiveMode: k });
344
+ return z(b, e), Object.values(k).forEach((u) => z(u, e)), b._isMerged = !0, b;
341
345
  }
342
346
  }
343
347
  export {
344
- fi as TagUtil
348
+ ai as TagUtil
345
349
  };
@@ -2,7 +2,7 @@ var E = Object.defineProperty, U = Object.defineProperties;
2
2
  var I = Object.getOwnPropertyDescriptors;
3
3
  var A = Object.getOwnPropertySymbols;
4
4
  var R = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
5
- var u = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, c = (d, a) => {
5
+ var u = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, g = (d, a) => {
6
6
  for (var e in a || (a = {}))
7
7
  R.call(a, e) && u(d, e, a[e]);
8
8
  if (A)
@@ -11,7 +11,7 @@ var u = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writab
11
11
  return d;
12
12
  }, v = (d, a) => U(d, I(a));
13
13
  var l = (d, a, e) => (u(d, typeof a != "symbol" ? a + "" : a, e), e);
14
- var f = (d, a, e) => new Promise((t, i) => {
14
+ var c = (d, a, e) => new Promise((t, i) => {
15
15
  var s = (r) => {
16
16
  try {
17
17
  n(e.next(r));
@@ -29,15 +29,15 @@ var f = (d, a, e) => new Promise((t, i) => {
29
29
  });
30
30
  import * as b from "three";
31
31
  import { Subscribe as F } from "@realsee/five";
32
- import { objectAssignDeepExports as p } from "../../vendor/object-assign-deep/objectAssignDeep.js";
32
+ import { objectAssignDeepExports as f } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
33
  import { addDebugPoints as M } from "../utils/addDebugPoints.js";
34
34
  import { arrayPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
35
- import { isMediaModelTag as _, isModelTag as k } from "../utils/tag/tagCheck.js";
36
- import { debounce as O } from "../utils/debounce.js";
35
+ import { isMediaModelTag as O, isModelTag as _ } from "../utils/tag/tagCheck.js";
36
+ import { debounce as k } from "../utils/debounce.js";
37
37
  import { throttle as V } from "../utils/throttle.js";
38
38
  import { resizeObserver as D } from "../utils/resizeObserver.js";
39
39
  import L from "../utils/tag/format.js";
40
- import { generateBlankAudio as G, AudioNamespace as N } from "../../shared-utils/audio.js";
40
+ import { generateBlankAudio as N, AudioNamespace as G } from "../../shared-utils/audio.js";
41
41
  import { TagRender as z } from "./TagRender.js";
42
42
  import { uuid as x } from "../../shared-utils/uuid.js";
43
43
  import { isModelLike as $ } from "../../shared-utils/five/mode.js";
@@ -46,7 +46,7 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
46
46
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
47
47
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
48
48
  import { tweenProgress as W } from "../../shared-utils/animationFrame/BetterTween.js";
49
- import { waitFiveModelLoaded as j } from "../../shared-utils/five/fiveModelLoad.js";
49
+ import { waitFiveModelLoaded as J } from "../../shared-utils/five/fiveModelLoad.js";
50
50
  import "./TagComputer.js";
51
51
  import "../utils/tagPosition.js";
52
52
  import "../../shared-utils/three/centerPoint.js";
@@ -169,8 +169,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
169
169
  import "../../shared-utils/three/GLTFLoader.js";
170
170
  import "@realsee/five/gltf-loader";
171
171
  import "../../shared-utils/animationFrame/index.js";
172
- const S = "Dnalogel-PanoTagPlugin", Ei = (d) => `${S}--${d}`;
173
- class Ui extends z {
172
+ const S = "Dnalogel-PanoTagPlugin", Ui = (d) => `${S}--${d}`;
173
+ class Ii extends z {
174
174
  constructor(e, t) {
175
175
  super(e);
176
176
  /** state */
@@ -180,8 +180,8 @@ class Ui extends z {
180
180
  /** debug */
181
181
  l(this, "debug");
182
182
  /** 更改 tag 模型 */
183
- l(this, "changeTagModel", (e, t) => f(this, null, function* () {
184
- e.data = p({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
183
+ l(this, "changeTagModel", (e, t) => c(this, null, function* () {
184
+ e.data = f({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
185
185
  }));
186
186
  l(this, "whyHide", (e) => {
187
187
  var i, s, o;
@@ -205,7 +205,7 @@ class Ui extends z {
205
205
  l(this, "updateVisible", () => {
206
206
  const e = this.five.getCurrentState().mode;
207
207
  this.tags.forEach((t) => {
208
- _(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
208
+ O(t) && e !== "Panorama" && this.changeTagMode(t, "behind");
209
209
  }), this.setVisible(), this.updateRenderAllTags();
210
210
  });
211
211
  l(this, "handleFiveWantsMoveToPano", (e) => {
@@ -244,10 +244,10 @@ class Ui extends z {
244
244
  l(this, "handleFiveCameraUpdate", () => {
245
245
  this.updatePointTagPosition();
246
246
  });
247
- l(this, "handleFivePanoArrived", () => f(this, null, function* () {
247
+ l(this, "handleFivePanoArrived", () => c(this, null, function* () {
248
248
  this.setVisible(), this.updatePointTagPosition(), yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
249
- e.temporaryState = v(c({}, e.temporaryState), { visible: !0 });
250
- }), this.tags.filter(k).filter((e) => {
249
+ e.temporaryState = v(g({}, e.temporaryState), { visible: !0 });
250
+ }), this.tags.filter(_).filter((e) => {
251
251
  var t;
252
252
  return (t = this.getTagConfig(e).modelConfig) == null ? void 0 : t.autoLookAtEnabled;
253
253
  }).forEach((e) => {
@@ -259,8 +259,8 @@ class Ui extends z {
259
259
  const s = this.five.camera.position;
260
260
  t.lookAt(s.clone().setY(t.position.y));
261
261
  const o = i.quaternion.clone(), n = t.quaternion.clone(), r = W();
262
- r.onUpdate(({ progress: g }) => {
263
- i.quaternion.copy(o.clone().slerp(n, g));
262
+ r.onUpdate(({ progress: p }) => {
263
+ i.quaternion.copy(o.clone().slerp(n, p));
264
264
  }), r.play();
265
265
  }), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
266
266
  }));
@@ -271,7 +271,7 @@ class Ui extends z {
271
271
  l(this, "onFiveEveryReady", () => {
272
272
  this.setUnfoldedByCamera(), $(this.five.getCurrentState().mode) && (this.setTagZIndex(this.filterPointTag), this.setVisible(), this.setPointTagPosition()), this.updateDomView({ withAnimation: !0 }), this.updateRenderVideoPlane(), this.updateRenderImagePlane(), this.updateTagModelVisible();
273
273
  });
274
- this.params = p({}, { debug: !1, config: this.config }, c({}, t)), this.debug = this.params.debug, this.config = this.params.config, G(1, { namespace: N.PlayAudio });
274
+ this.params = f({}, { debug: !1, config: this.config }, g({}, t)), this.debug = this.params.debug, this.config = this.params.config, N(1, { namespace: G.PlayAudio });
275
275
  try {
276
276
  const i = window;
277
277
  Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
@@ -282,9 +282,9 @@ class Ui extends z {
282
282
  * @description: 加载数据
283
283
  */
284
284
  load(e, t) {
285
- return f(this, null, function* () {
285
+ return c(this, null, function* () {
286
286
  var s, o;
287
- this.clearTags(), console.debug(S, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = p({}, this.config, {
287
+ this.clearTags(), console.debug(S, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = f({}, this.config, {
288
288
  globalConfig: (s = e.globalConfig) != null ? s : {},
289
289
  contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
290
290
  });
@@ -302,26 +302,27 @@ class Ui extends z {
302
302
  * @description: 添加标签
303
303
  */
304
304
  addTag(e, t) {
305
- return f(this, null, function* () {
305
+ return c(this, null, function* () {
306
306
  const s = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
307
307
  var T, y, C;
308
- const n = this.getTagConfig(o), r = JSON.parse(JSON.stringify(o.data)), h = o.config;
309
- return o.config = n, v(c({}, o), {
308
+ const n = JSON.parse(JSON.stringify(o.data)), r = o.config ? JSON.parse(JSON.stringify(o.config)) : void 0, h = this.calculateTagConfig(o), p = this.getTagConfig(o);
309
+ return o.config = p, v(g({}, o), {
310
310
  enabled: (T = o.enabled) != null ? T : !0,
311
311
  id: (y = o.id) != null ? y : x(),
312
- data: (C = n.initialData) != null && C.important ? p(o.data, r, n.initialData) : p(o.data, n.initialData, r),
313
- state: c({
312
+ data: (C = p.initialData) != null && C.important ? f(o.data, n, p.initialData) : f(o.data, p.initialData, n),
313
+ state: g({
314
314
  visible: void 0,
315
315
  unfolded: !this.can("fold", o)
316
- }, n.initialState),
316
+ }, p.initialState),
317
317
  hooks: new F(),
318
318
  originPosition: o.position,
319
319
  position: (() => {
320
320
  const m = this.getTransformedPostion(o.position);
321
321
  return Array.isArray(m) ? m.map((w) => w.toArray()) : m.toArray();
322
322
  })(),
323
- initialConfig: h,
324
- config: n,
323
+ initialConfig: r,
324
+ computedConfig: h,
325
+ config: p,
325
326
  unfold: () => this.changeUnfoldedById(o.id, !0),
326
327
  fold: () => this.changeUnfoldedById(o.id, !1),
327
328
  enable: () => this.changeEnabledById(o.id, !0),
@@ -330,7 +331,7 @@ class Ui extends z {
330
331
  changeData: (m) => this.changeDataById(o.id, m)
331
332
  });
332
333
  });
333
- return s.forEach(L), this.tags.push(...s), j(this.five).then(() => f(this, null, function* () {
334
+ return s.forEach(L), this.tags.push(...s), J(this.five).then(() => c(this, null, function* () {
334
335
  var o, n, r;
335
336
  this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.addMediaModelTag(s), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }), this.updatePointTagPosition(), this.updateRenderAllTags();
336
337
  }));
@@ -340,22 +341,22 @@ class Ui extends z {
340
341
  * @description: 改变配置
341
342
  */
342
343
  changeConfig(e, t = !0) {
343
- t ? this.config = p({}, this.config, e) : this.config = e, this.updateTagConfig(), this.updateRenderAllTags();
344
+ t ? this.config = f({}, this.config, e) : this.config = e, this.updateTagConfig(), this.updateRenderAllTags();
344
345
  }
345
346
  /**
346
347
  * @description: 改变全局配置
347
348
  */
348
349
  changeGlobalConfig(e, t = !0) {
349
- t ? this.config.globalConfig = p({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.updateRenderAllTags();
350
+ t ? this.config.globalConfig = f({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.updateRenderAllTags();
350
351
  }
351
352
  /**
352
353
  * @description: 改变类型配置
353
354
  */
354
355
  changeContentTypeConfig(e, t, i = !0) {
355
- this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = p({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.updateRenderAllTags();
356
+ this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = f({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.updateRenderAllTags();
356
357
  }
357
358
  show(e) {
358
- return f(this, null, function* () {
359
+ return c(this, null, function* () {
359
360
  if (this.checkDisposed())
360
361
  return;
361
362
  const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
@@ -363,7 +364,7 @@ class Ui extends z {
363
364
  });
364
365
  }
365
366
  hide(e) {
366
- return f(this, null, function* () {
367
+ return c(this, null, function* () {
367
368
  if (this.checkDisposed())
368
369
  return;
369
370
  const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
@@ -385,7 +386,7 @@ class Ui extends z {
385
386
  setState(e, t) {
386
387
  if (this.checkDisposed())
387
388
  return;
388
- const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = c({}, this.state);
389
+ const { userAction: i = !0, visibleWithAnimation: s = !1 } = t != null ? t : {}, o = g({}, this.state);
389
390
  this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = s, o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
390
391
  }
391
392
  /**
@@ -428,7 +429,7 @@ class Ui extends z {
428
429
  changeDataById(e, t, i = !0) {
429
430
  const s = this.getTagById(e);
430
431
  let o = !1;
431
- s && (s.data && (o = !0), i ? s.data = p(s.data, t) : s.data = c(c({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
432
+ s && (s.data && (o = !0), i ? s.data = f(s.data, t) : s.data = g(g({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
432
433
  }
433
434
  /**
434
435
  * @description: 改变tag的stickType
@@ -442,7 +443,7 @@ class Ui extends z {
442
443
  changeTagById(e, t, i = !0) {
443
444
  const s = this.getTagById(e);
444
445
  let o = !1;
445
- t && (t.data && (o = !0), i ? p(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = P(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
446
+ t && (t.data && (o = !0), i ? f(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = P(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
446
447
  }
447
448
  /**
448
449
  * @description: 销毁tag
@@ -457,7 +458,7 @@ class Ui extends z {
457
458
  * @description: 设置 visible 和 unfolded
458
459
  */
459
460
  setVisibleAndUnfolded() {
460
- return f(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
461
+ return c(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
461
462
  return this.setVisible(), e ? new Promise((t) => {
462
463
  setTimeout(() => {
463
464
  this.setUnfoldedByPanoIndex(), t();
@@ -520,7 +521,7 @@ class Ui extends z {
520
521
  }, 500),
521
522
  e
522
523
  ), { observe: n, unobserve: r } = D(
523
- O(() => t(), 400),
524
+ k(() => t(), 400),
524
525
  e
525
526
  );
526
527
  return s(), n(), () => {
@@ -539,11 +540,11 @@ class Ui extends z {
539
540
  }
540
541
  changeTagMode(e, t) {
541
542
  var i, s, o, n, r, h;
542
- ((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((g) => g == null ? void 0 : g()), e.tag3DContentSvelte = void 0);
543
+ ((i = e.config) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((p) => p == null ? void 0 : p()), e.tag3DContentSvelte = void 0);
543
544
  }
544
545
  }
545
546
  export {
546
- Ui as PanoTagPluginController,
547
- Ui as default,
548
- Ei as pluginFlag
547
+ Ii as PanoTagPluginController,
548
+ Ii as default,
549
+ Ui as pluginFlag
549
550
  };
@@ -43,7 +43,8 @@ export type TagInstance<C extends TagContentType = TagContentType, S extends Sti
43
43
  visible?: boolean;
44
44
  unfolded: boolean;
45
45
  };
46
- config: TagConfig<C> & {
46
+ config: TagConfig<C>;
47
+ computedConfig: TagConfig<C> & {
47
48
  configWithFiveMode?: {
48
49
  [key in Mode]?: TagConfig<C>;
49
50
  };
@@ -1,2 +1,2 @@
1
1
  import type { Tag, TagConfig } from '../..';
2
- export default function adaptConfig(config: TagConfig, tag?: Tag): void;
2
+ export default function adaptConfig(config: TagConfig, tag?: Tag): TagConfig<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown">;
@@ -2,7 +2,7 @@ function v(e, l) {
2
2
  var d, f, o, s, b;
3
3
  typeof e.visibleConfig == "object" && (e.visibleConfig.visibleFiveMode = (o = (f = e.visibleConfig.visibleFiveMode) != null ? f : (d = l == null ? void 0 : l.fiveState) == null ? void 0 : d.mode) != null ? o : "Panorama", e.visibleConfig.keep && (e.visibleConfig.keep === "visible" ? e.visibleConfig = { keep: e.visibleConfig.keep, visibleFiveMode: (s = e.visibleConfig) == null ? void 0 : s.visibleFiveMode } : e.visibleConfig.keep === "hidden" && (e.visibleConfig = { keep: e.visibleConfig.keep }))), typeof e.unfoldedConfig == "object" && (e.unfoldedConfig.disableFold && (e.unfoldedConfig = { keep: "unfolded" }), e.unfoldedConfig.disableUnfold && (e.unfoldedConfig = { keep: "folded" }), e.unfoldedConfig.keep && (e.unfoldedConfig = { keep: e.unfoldedConfig.keep }));
4
4
  const i = (b = e.initialState) != null ? b : {};
5
- typeof e.unfoldedConfig == "object" && (e.unfoldedConfig.keep === "unfolded" ? i.unfolded = !0 : e.unfoldedConfig.keep === "folded" && (i.unfolded = !1)), typeof e.visibleConfig == "object" && (e.visibleConfig.keep === "visible" ? i.visible = !0 : e.visibleConfig.keep === "hidden" && (i.visible = !1)), e.initialState = i;
5
+ return typeof e.unfoldedConfig == "object" && (e.unfoldedConfig.keep === "unfolded" ? i.unfolded = !0 : e.unfoldedConfig.keep === "folded" && (i.unfolded = !1)), typeof e.visibleConfig == "object" && (e.visibleConfig.keep === "visible" ? i.visible = !0 : e.visibleConfig.keep === "hidden" && (i.visible = !1)), e.initialState = i, e;
6
6
  }
7
7
  export {
8
8
  v as default
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.5.0-tag-dev.1");
17
+ i(this, "VERSION", "3.5.0");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.5.0-tag-dev.1",
3
+ "%c %c@realsee/dnalogel %cv3.5.0",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "3.5.0-tag-dev.1",
10
+ "version": "3.5.0",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
package/docs/.nojekyll DELETED
@@ -1 +0,0 @@
1
- TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.