@realsee/dnalogel 3.34.0-dev.2 → 3.34.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 (391) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/dist/ModelMakerPlugin/Controller.d.ts +4 -1
  3. package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -0
  4. package/dist/index.cjs.js +4 -4
  5. package/dist/index.js +74 -58
  6. package/dist/index.umd.js +4 -4
  7. package/dist/shared-utils/tag.d.ts +7 -2
  8. package/docs/assets/search.js +1 -1
  9. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +44 -34
  10. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +44 -34
  11. package/docs/classes/CSS3DRender.html +43 -33
  12. package/docs/classes/GuideLineItem.GuideLineItem.html +31 -21
  13. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +55 -45
  14. package/docs/classes/{Magnifier.html → ModelMakerPluginInstance.html} +203 -111
  15. package/docs/classes/ModelRoomLabelController.html +23 -13
  16. package/docs/classes/MoveController.html +43 -33
  17. package/docs/classes/Object3DHelperController.html +39 -47
  18. package/docs/classes/PaintBrush.html +27 -17
  19. package/docs/classes/PanoMeasurePluginLine.html +56 -36
  20. package/docs/classes/PanoMeasurePluginModel.html +42 -32
  21. package/docs/classes/PanoMeasurePluginPoint.html +23 -13
  22. package/docs/classes/PanoMeasurePluginPolyline.html +54 -34
  23. package/docs/classes/PanoTagPluginController.html +232 -124
  24. package/docs/classes/Sculpt.html +852 -0
  25. package/docs/classes/Util.BetterTween.html +27 -13
  26. package/docs/classes/Util.Interval.html +29 -15
  27. package/docs/classes/Util.LineSegments.html +25 -11
  28. package/docs/classes/Util.Magnifier.html +93 -60
  29. package/docs/classes/Util.Object3D.html +26 -12
  30. package/docs/classes/Util.PointDomHelper.html +28 -14
  31. package/docs/classes/Util.PointHelper.html +28 -14
  32. package/docs/classes/Util.PointSelectorHelper.html +34 -20
  33. package/docs/classes/Util.Rectangle.html +30 -16
  34. package/docs/classes/WalkController.html +39 -29
  35. package/docs/enums/CameraMovementEffect.html +19 -9
  36. package/docs/enums/ContentType.html +33 -23
  37. package/docs/enums/DIRECTION.html +21 -11
  38. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +21 -11
  39. package/docs/enums/DimensionType.html +19 -9
  40. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +20 -10
  41. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +21 -11
  42. package/docs/enums/PaintBrushTypeEnum.html +20 -10
  43. package/docs/enums/PointType.html +19 -9
  44. package/docs/enums/Rotation.html +20 -10
  45. package/docs/functions/AreaMakerPlugin.html +17 -7
  46. package/docs/functions/CSS3DRenderPlugin.html +17 -7
  47. package/docs/functions/CameraMovementPlugin.html +17 -7
  48. package/docs/functions/CruisePlugin.html +17 -7
  49. package/docs/functions/CurrentPanoImagePlugin.html +17 -7
  50. package/docs/functions/GuideLinePlugin.html +17 -7
  51. package/docs/functions/ItemLabelPlugin.html +17 -7
  52. package/docs/functions/MapviewFloorplanPlugin.html +17 -7
  53. package/docs/functions/ModelChassisCompassPlugin.html +17 -7
  54. package/docs/functions/ModelEntryDoorGuidePlugin.html +17 -7
  55. package/docs/functions/ModelFloorplanPlugin.html +17 -7
  56. package/docs/functions/ModelItemLabelPlugin.html +17 -7
  57. package/docs/functions/ModelMakerPlugin.html +303 -0
  58. package/docs/functions/ModelRoomLabelPlugin.html +17 -7
  59. package/docs/functions/ModelTVVideoPlugin.html +17 -7
  60. package/docs/functions/ModelViewPlugin.html +17 -7
  61. package/docs/functions/MovePlugin.html +18 -8
  62. package/docs/functions/Object3DHelperPlugin.html +17 -7
  63. package/docs/functions/PanoCompassPlugin.html +17 -7
  64. package/docs/functions/PanoCursorRaycasterPlugin.html +17 -7
  65. package/docs/functions/PanoDoorLabelPlugin.html +17 -7
  66. package/docs/functions/PanoFloorplanRadarPlugin.html +17 -7
  67. package/docs/functions/PanoMeasurePlugin.html +17 -7
  68. package/docs/functions/PanoRulerPlugin.html +17 -7
  69. package/docs/functions/PanoRulerProPlugin.html +17 -7
  70. package/docs/functions/PanoSpatialTagPlugin.html +17 -7
  71. package/docs/functions/PanoTagPlugin.html +20 -8
  72. package/docs/functions/PanoVideoPlugin.html +17 -7
  73. package/docs/functions/PipelinePlugin.html +17 -7
  74. package/docs/functions/SculptPlugin.html +306 -0
  75. package/docs/functions/TopviewFloorplanPlugin.html +17 -7
  76. package/docs/functions/Util.absoluteUrl.html +22 -8
  77. package/docs/functions/Util.blink.html +351 -0
  78. package/docs/functions/Util.checkFiveModelLoaded.html +22 -8
  79. package/docs/functions/Util.equal.html +22 -8
  80. package/docs/functions/Util.getCoordsFromClient.html +22 -8
  81. package/docs/functions/Util.getCoordsFromElement.html +22 -8
  82. package/docs/functions/Util.getFrameTime.html +22 -8
  83. package/docs/functions/Util.getIntersectFromRelativePosition.html +29 -10
  84. package/docs/functions/Util.getRaycasterFromFivePointer.html +22 -8
  85. package/docs/functions/Util.isAbsoluteURL.html +22 -8
  86. package/docs/functions/Util.isModelLike.html +22 -8
  87. package/docs/functions/Util.isNil.html +22 -8
  88. package/docs/functions/Util.isPanoramaLike.html +22 -8
  89. package/docs/functions/Util.nextFrame.html +22 -8
  90. package/docs/functions/Util.notNil.html +22 -8
  91. package/docs/functions/Util.reblink.html +349 -0
  92. package/docs/functions/Util.requestAnimationFrameInterval.html +22 -8
  93. package/docs/functions/Util.tweenProgress.html +22 -8
  94. package/docs/functions/Util.uuid.html +22 -8
  95. package/docs/functions/pluginFlag.html +17 -7
  96. package/docs/index.html +18 -7
  97. package/docs/interfaces/AddTagConfig.html +18 -8
  98. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +17 -7
  99. package/docs/interfaces/AreaMakerPluginType.Config.html +17 -7
  100. package/docs/interfaces/AreaMakerPluginType.EventMap.html +30 -20
  101. package/docs/interfaces/AreaMakerPluginType.Params.html +18 -8
  102. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -10
  103. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +19 -9
  104. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +17 -7
  105. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +17 -7
  106. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +17 -7
  107. package/docs/interfaces/AreaMakerPluginType.State.html +19 -9
  108. package/docs/interfaces/CSS3DRenderPluginEventMap.html +23 -13
  109. package/docs/interfaces/CSS3DRenderPluginState.html +20 -10
  110. package/docs/interfaces/CameraMovementPluginExportType.html +19 -9
  111. package/docs/interfaces/ContentTypeMapInterface.html +773 -0
  112. package/docs/interfaces/CruisePluginTypes.Config.html +21 -10
  113. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +24 -13
  114. package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -22
  115. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +352 -0
  116. package/docs/interfaces/CruisePluginTypes.MoveAction.html +39 -23
  117. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +30 -18
  118. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +30 -18
  119. package/docs/interfaces/CruisePluginTypes.PluginData.html +41 -30
  120. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +18 -7
  121. package/docs/interfaces/CruisePluginTypes.PluginState.html +25 -14
  122. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +23 -13
  123. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +24 -14
  124. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +19 -9
  125. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +18 -8
  126. package/docs/interfaces/CurrentPanoImagePluginType.State.html +20 -10
  127. package/docs/interfaces/EventMap.html +27 -17
  128. package/docs/interfaces/FloorplanBounding.html +20 -10
  129. package/docs/interfaces/FloorplanData.html +22 -12
  130. package/docs/interfaces/FloorplanEntrance.html +23 -13
  131. package/docs/interfaces/FloorplanExtraObject.html +22 -12
  132. package/docs/interfaces/FloorplanExtraObject3D.html +20 -10
  133. package/docs/interfaces/FloorplanFloorData.html +21 -11
  134. package/docs/interfaces/FloorplanImagePosition.html +19 -9
  135. package/docs/interfaces/FloorplanObserver.html +21 -11
  136. package/docs/interfaces/FloorplanOutlineItem.html +21 -11
  137. package/docs/interfaces/FloorplanPosition.html +19 -9
  138. package/docs/interfaces/FloorplanRoomItem.html +26 -16
  139. package/docs/interfaces/FloorplanRoomLabelItem.html +19 -9
  140. package/docs/interfaces/FloorplanServerBounding.html +20 -10
  141. package/docs/interfaces/FloorplanServerComputedData.html +22 -12
  142. package/docs/interfaces/FloorplanServerData.html +19 -9
  143. package/docs/interfaces/FloorplanServerDoorItem.html +22 -12
  144. package/docs/interfaces/FloorplanServerDoorPosition.html +20 -10
  145. package/docs/interfaces/FloorplanServerEntrance.html +23 -13
  146. package/docs/interfaces/FloorplanServerFloorData.html +21 -11
  147. package/docs/interfaces/FloorplanServerImagePosition.html +19 -9
  148. package/docs/interfaces/FloorplanServerObserver.html +21 -11
  149. package/docs/interfaces/FloorplanServerOutlineItem.html +21 -11
  150. package/docs/interfaces/FloorplanServerPosition.html +19 -9
  151. package/docs/interfaces/FloorplanServerRoomItem.html +27 -17
  152. package/docs/interfaces/FloorplanServerRoomLabelItem.html +19 -9
  153. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +20 -10
  154. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +21 -11
  155. package/docs/interfaces/GuideLinePluginType.EventMap.html +24 -14
  156. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +19 -9
  157. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +17 -7
  158. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +26 -16
  159. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +17 -7
  160. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +19 -9
  161. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +32 -22
  162. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +18 -8
  163. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +33 -23
  164. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +16 -6
  165. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +17 -7
  166. package/docs/interfaces/GuideLinePluginType.PluginState.html +19 -9
  167. package/docs/interfaces/GuideLinePluginType.Route.html +22 -12
  168. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +20 -10
  169. package/docs/interfaces/HelperOffset.html +20 -10
  170. package/docs/interfaces/ImagePlaneGroup.html +18 -8
  171. package/docs/interfaces/ItemLabelPluginData.html +18 -8
  172. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +23 -13
  173. package/docs/interfaces/ItemLabelPluginParametersType.html +21 -11
  174. package/docs/interfaces/MinMax.html +19 -9
  175. package/docs/interfaces/ModelChassisCompassPluginData.html +19 -9
  176. package/docs/interfaces/ModelChassisCompassPluginExportType.html +20 -10
  177. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +19 -9
  178. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +20 -10
  179. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +20 -10
  180. package/docs/interfaces/ModelItemLabelPluginData.html +18 -8
  181. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +23 -13
  182. package/docs/interfaces/ModelItemLabelPluginParametersType.html +19 -9
  183. package/docs/interfaces/ModelMakerPluginType.EventMap.html +556 -0
  184. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +349 -0
  185. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +391 -0
  186. package/docs/interfaces/ModelMakerPluginType.ServerData.html +332 -0
  187. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +401 -0
  188. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +381 -0
  189. package/docs/interfaces/ModelMakerPluginType.State.html +364 -0
  190. package/docs/interfaces/ModelRoomLabelPluginData.html +18 -8
  191. package/docs/interfaces/ModelTVVideoPluginData.html +21 -11
  192. package/docs/interfaces/ModelTVVideoPluginExportType.html +20 -10
  193. package/docs/interfaces/ModelTVVideoPluginParameterType.html +18 -8
  194. package/docs/interfaces/ModelViewPluginExportType.html +23 -13
  195. package/docs/interfaces/Object3DHelperState.html +20 -10
  196. package/docs/interfaces/ObjectHelperControllers.html +22 -12
  197. package/docs/interfaces/PaintBrushAction.html +24 -14
  198. package/docs/interfaces/PaintBrushConfigs.html +24 -14
  199. package/docs/interfaces/PaintBrushState.html +22 -12
  200. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +22 -12
  201. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +17 -7
  202. package/docs/interfaces/PanoMeasureParameterType.html +28 -18
  203. package/docs/interfaces/PanoMeasurePluginLineJson.html +20 -10
  204. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +19 -9
  205. package/docs/interfaces/PanoMeasurePluginPointJson.html +19 -9
  206. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +20 -10
  207. package/docs/interfaces/PanoRulerPluginExportType.html +22 -12
  208. package/docs/interfaces/PanoRulerPluginOptions.html +19 -9
  209. package/docs/interfaces/PanoRulerPluginParameterType.html +20 -10
  210. package/docs/interfaces/PanoRulerProPluginExportType.html +21 -11
  211. package/docs/interfaces/PanoRulerProPluginOptions.html +19 -9
  212. package/docs/interfaces/PanoRulerProPluginParameterType.html +19 -9
  213. package/docs/interfaces/PanoRulerProPluginState.html +20 -10
  214. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +17 -7
  215. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +17 -7
  216. package/docs/interfaces/PanoSpatialTagPluginData.html +23 -13
  217. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +22 -12
  218. package/docs/interfaces/PanoSpatialTagPluginExportType.html +25 -15
  219. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +22 -12
  220. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +25 -15
  221. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +23 -13
  222. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +22 -12
  223. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +18 -8
  224. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +20 -10
  225. package/docs/interfaces/PanoVideoPluginType.PluginData.html +18 -8
  226. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +21 -11
  227. package/docs/interfaces/PanoVideoPluginType.PluginState.html +18 -8
  228. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +20 -10
  229. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +22 -12
  230. package/docs/interfaces/Point.html +20 -10
  231. package/docs/interfaces/Room.html +21 -11
  232. package/docs/interfaces/RoomInfo.html +19 -9
  233. package/docs/interfaces/RoomLabel.html +26 -16
  234. package/docs/interfaces/RoomRules.html +17 -7
  235. package/docs/interfaces/Rooms.html +17 -7
  236. package/docs/interfaces/Scissor.html +21 -11
  237. package/docs/interfaces/State.html +20 -10
  238. package/docs/interfaces/TagCacheInterface.html +24 -14
  239. package/docs/interfaces/TagConfig.html +65 -49
  240. package/docs/interfaces/TagGLTFObjectGroup.html +18 -8
  241. package/docs/interfaces/TagIconUrl.html +24 -14
  242. package/docs/interfaces/TagObjectGroup.html +18 -8
  243. package/docs/interfaces/TagStyle.html +18 -8
  244. package/docs/interfaces/Tags.html +61 -437
  245. package/docs/interfaces/TemporaryState.html +18 -8
  246. package/docs/interfaces/Util.BlinkAnimeOptions.html +380 -0
  247. package/docs/interfaces/Util.MagnifierParameter.html +43 -24
  248. package/docs/interfaces/Util.MouseGroupParameter.html +25 -11
  249. package/docs/interfaces/Util.PointIntersection.html +33 -12
  250. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +387 -0
  251. package/docs/modules/AreaMakerPluginType.html +16 -6
  252. package/docs/modules/CruisePluginTypes.html +18 -6
  253. package/docs/modules/CurrentPanoImagePluginType.html +17 -7
  254. package/docs/modules/GuideLineItem.html +17 -7
  255. package/docs/modules/GuideLineModeItem.html +17 -7
  256. package/docs/modules/GuideLinePluginType.html +16 -6
  257. package/docs/modules/ModelMakerPluginType.html +339 -0
  258. package/docs/modules/PanoVideoPluginType.html +17 -7
  259. package/docs/modules/SculptData.html +318 -0
  260. package/docs/modules/Util.html +26 -8
  261. package/docs/modules.html +34 -11
  262. package/docs/types/AddObject3DHelperConfig.html +315 -0
  263. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +16 -6
  264. package/docs/types/AreaMakerPluginType.ItemRenderer.html +16 -6
  265. package/docs/types/AreaMakerPluginType.PluginData.html +16 -6
  266. package/docs/types/AreaMakerPluginType.ServerData.html +16 -6
  267. package/docs/types/ArrayPosition.html +17 -7
  268. package/docs/types/AudioAppearance.html +17 -7
  269. package/docs/types/CSS3DRenderExportType.html +17 -7
  270. package/docs/types/CSS3DRenderPluginExportType.html +17 -7
  271. package/docs/types/CSS3DRenderPluginParameterType.html +17 -7
  272. package/docs/types/ClassFunctionParameters.html +17 -7
  273. package/docs/types/Color.html +17 -7
  274. package/docs/types/ContentTypeConfigKey.html +17 -7
  275. package/docs/types/ContentTypeConfigKeySplit.html +18 -8
  276. package/docs/types/ContentTypeMap.html +17 -7
  277. package/docs/types/Create3DDomContainerReturnType.html +17 -7
  278. package/docs/types/Create3DElementReturnType.html +17 -7
  279. package/docs/types/CruisePluginExportType.html +17 -7
  280. package/docs/types/CruisePluginTypes.CruiseData.html +17 -6
  281. package/docs/types/CruisePluginTypes.MoveEffect.html +17 -6
  282. package/docs/types/CurrentPanoImagePluginExportType.html +17 -7
  283. package/docs/types/DeprecatedMediaPlaneProperty.html +17 -7
  284. package/docs/types/DeprecatedTagProperty.html +17 -7
  285. package/docs/types/Direction-1.html +17 -7
  286. package/docs/types/Direction4.html +17 -7
  287. package/docs/types/ElementRenderer.html +17 -7
  288. package/docs/types/FloorplanRuleLabels.html +17 -7
  289. package/docs/types/FloorplanServerRuleLabels.html +17 -7
  290. package/docs/types/GuideLinePluginExportType.html +17 -7
  291. package/docs/types/GuideLinePluginType.GuideLineItem.html +18 -8
  292. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +16 -6
  293. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +16 -6
  294. package/docs/types/GuideLinePluginType.GuideLineStyle.html +16 -6
  295. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +16 -6
  296. package/docs/types/GuideLinePluginType.PathItem.html +16 -6
  297. package/docs/types/GuideLinePluginType.PluginData.html +16 -6
  298. package/docs/types/HelperEventMap.html +17 -7
  299. package/docs/types/InternalHelperEventMap.html +29 -11
  300. package/docs/types/LoadTagConfig.html +17 -7
  301. package/docs/types/MapviewFloorplanPluginParameterType.html +17 -7
  302. package/docs/types/MapviewFloorplanPluginReturnType.html +17 -7
  303. package/docs/types/MediaData.html +20 -10
  304. package/docs/types/MediaStore.html +17 -7
  305. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +17 -7
  306. package/docs/types/ModelFloorplanPluginParameterType.html +17 -7
  307. package/docs/types/ModelFloorplanPluginReturnType.html +17 -7
  308. package/docs/types/ModelId.html +17 -7
  309. package/docs/types/ModelMakerPluginType.ElementRenderer.html +329 -0
  310. package/docs/types/ModelMakerPluginType.ItemType.html +308 -0
  311. package/docs/types/ModelRoomLabelPluginParameters.html +17 -7
  312. package/docs/types/ModelRoomLabelPluginReturnType.html +17 -7
  313. package/docs/types/MoveArgs.html +17 -7
  314. package/docs/types/MoveOpts.html +17 -7
  315. package/docs/types/Object3DHelperEventMap.html +17 -7
  316. package/docs/types/ObjectFit.html +17 -7
  317. package/docs/types/PaintBrushEventMap.html +17 -7
  318. package/docs/types/PanoCompassPluginData.html +17 -7
  319. package/docs/types/PanoCompassPluginExportType.html +17 -7
  320. package/docs/types/PanoCompassPluginParameterType.html +17 -7
  321. package/docs/types/PanoFloorplanRadarPluginParameterType.html +17 -7
  322. package/docs/types/PanoFloorplanRadarPluginReturnType.html +17 -7
  323. package/docs/types/PanoIndex.html +17 -7
  324. package/docs/types/PanoMeasurePluginEvent.html +17 -7
  325. package/docs/types/PanoMeasureReturnType.html +17 -7
  326. package/docs/types/PanoSpatialTagPluginId.html +17 -7
  327. package/docs/types/PanoTagPluginExportInterface.html +17 -7
  328. package/docs/types/PanoTagPluginParamsInterface.html +17 -7
  329. package/docs/types/PanoVideoPluginParameterType.html +17 -7
  330. package/docs/types/PanoVideoPluginReturnType.html +17 -7
  331. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +22 -12
  332. package/docs/types/PipelinePluginParameterType.html +17 -7
  333. package/docs/types/PipelinePluginReturnType.html +17 -7
  334. package/docs/types/PlaneTag.html +17 -7
  335. package/docs/types/Point2DTag.html +17 -7
  336. package/docs/types/Point3DTag.html +17 -7
  337. package/docs/types/PointTag.html +17 -7
  338. package/docs/types/PointTagInstance.html +17 -7
  339. package/docs/types/Position.html +17 -7
  340. package/docs/types/{AudioTagTypeConfigKey.html → PositionFrom.html} +28 -10
  341. package/docs/types/RotateArgs.html +17 -7
  342. package/docs/types/RotateOpts.html +17 -7
  343. package/docs/types/RuleLabelsKey.html +17 -7
  344. package/docs/types/RuleLabelsValue.html +17 -7
  345. package/docs/types/ScaleCallback.html +314 -0
  346. package/docs/types/ScalePosition.html +303 -0
  347. package/docs/types/SculptData.BoxData.html +306 -0
  348. package/docs/types/SculptData.CircleData.html +306 -0
  349. package/docs/types/SculptData.CylinderData.html +306 -0
  350. package/docs/types/SculptData.PointData.html +306 -0
  351. package/docs/types/SculptData.PolygonData.html +306 -0
  352. package/docs/types/SculptData.PolylineData.html +306 -0
  353. package/docs/types/SculptData.PrismData.html +306 -0
  354. package/docs/types/SculptData.RectangleData.html +306 -0
  355. package/docs/types/StickType.html +17 -7
  356. package/docs/types/Tag.html +35 -13
  357. package/docs/types/Tag2D.html +17 -7
  358. package/docs/types/Tag3D.html +17 -7
  359. package/docs/types/TagConfigByKey.html +18 -8
  360. package/docs/types/TagContentType.html +17 -7
  361. package/docs/types/TagContentTypeMapping.html +17 -7
  362. package/docs/types/TagDimensionType.html +17 -7
  363. package/docs/types/TagElement.html +17 -7
  364. package/docs/types/TagEvents.html +38 -12
  365. package/docs/types/TagGLTFObject.html +17 -7
  366. package/docs/types/TagHooks.html +17 -7
  367. package/docs/types/TagId.html +17 -7
  368. package/docs/types/TagInstance.html +44 -8
  369. package/docs/types/TagPointType.html +17 -7
  370. package/docs/types/TagRendererMap.html +17 -7
  371. package/docs/types/TopviewFloorplanPluginParameterType.html +17 -7
  372. package/docs/types/TopviewFloorplanPluginReturnType.html +17 -7
  373. package/docs/types/WorkCode.html +17 -7
  374. package/docs/variables/FLOOR_TYPE_MAP.html +17 -7
  375. package/docs/variables/PLUGIN.html +17 -7
  376. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +17 -7
  377. package/docs/variables/ROOM_TYPE_MAP.html +17 -7
  378. package/docs/variables/defaultGlobalConfig.html +17 -7
  379. package/docs/variables/itemLabelPluginServerParams.html +17 -7
  380. package/docs/variables/modelItemLabelPluginServerParams.html +17 -7
  381. package/docs/variables/modelRoomLabelPluginServerParams.html +17 -7
  382. package/libs/ModelMakerPlugin/Controller.d.ts +4 -1
  383. package/libs/ModelMakerPlugin/Controller.js +63 -51
  384. package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -0
  385. package/libs/ModelMakerPlugin/item/baseItem.js +15 -15
  386. package/libs/PanoTagPlugin/controller/TagUtil.js +18 -18
  387. package/libs/base/BasePlugin.js +3 -3
  388. package/libs/shared-utils/logger.js +1 -1
  389. package/libs/shared-utils/tag.d.ts +7 -2
  390. package/libs/shared-utils/tag.js +49 -45
  391. package/package.json +2 -2
@@ -1,40 +1,40 @@
1
- var P = Object.defineProperty;
2
- var D = (l, n, e) => n in l ? P(l, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[n] = e;
3
- var r = (l, n, e) => (D(l, typeof n != "symbol" ? n + "" : n, e), e);
4
- var M = (l, n, e) => new Promise((s, t) => {
5
- var m = (i) => {
1
+ var I = Object.defineProperty;
2
+ var P = (l, n, e) => n in l ? I(l, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[n] = e;
3
+ var r = (l, n, e) => (P(l, typeof n != "symbol" ? n + "" : n, e), e);
4
+ var x = (l, n, e) => new Promise((i, d) => {
5
+ var t = (s) => {
6
6
  try {
7
- a(e.next(i));
8
- } catch (p) {
9
- t(p);
7
+ o(e.next(s));
8
+ } catch (a) {
9
+ d(a);
10
10
  }
11
- }, o = (i) => {
11
+ }, m = (s) => {
12
12
  try {
13
- a(e.throw(i));
14
- } catch (p) {
15
- t(p);
13
+ o(e.throw(s));
14
+ } catch (a) {
15
+ d(a);
16
16
  }
17
- }, a = (i) => i.done ? s(i.value) : Promise.resolve(i.value).then(m, o);
18
- a((e = e.apply(l, n)).next());
17
+ }, o = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(t, m);
18
+ o((e = e.apply(l, n)).next());
19
19
  });
20
- import { Controller as A } from "../base/BasePluginWithData.js";
20
+ import { Controller as D } from "../base/BasePluginWithData.js";
21
21
  import * as h from "three";
22
- import { ModelMakerBoxItem as C } from "./item/boxItem.js";
22
+ import { ModelMakerBoxItem as A } from "./item/boxItem.js";
23
23
  import { PrismMesh as j } from "../Sculpt/Meshes/Prism.js";
24
- import { anyPositionToVector3 as I } from "../shared-utils/positionToVector3.js";
25
- import { PolygonWithEdgeMesh as T } from "../Sculpt/Meshes/PolygonWithEdge.js";
24
+ import { anyPositionToVector3 as T } from "../shared-utils/positionToVector3.js";
25
+ import { PolygonWithEdgeMesh as H } from "../Sculpt/Meshes/PolygonWithEdge.js";
26
26
  import "hammerjs";
27
27
  import "@realsee/five";
28
28
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
29
29
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
30
30
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
31
31
  import "animejs";
32
- import { notNil as x } from "../shared-utils/isNil.js";
33
- import { tagRendererMap as H } from "./utils/tagRenderer.js";
34
- import { ModelMakerPrismItem as F } from "./item/prismItem.js";
35
- import { ModelMakerPolygonItem as L } from "./item/polygonItem.js";
32
+ import { notNil as V } from "../shared-utils/isNil.js";
33
+ import { tagRendererMap as F } from "./utils/tagRenderer.js";
34
+ import { ModelMakerPrismItem as L } from "./item/prismItem.js";
35
+ import { ModelMakerPolygonItem as O } from "./item/polygonItem.js";
36
36
  import { boxVertex as c } from "../shared-utils/Object3DHelper/utils/boundingBox.js";
37
- import { getFiveDomEvent as O } from "./utils/getFiveDomEvent.js";
37
+ import { getFiveDomEvent as z } from "./utils/getFiveDomEvent.js";
38
38
  import "../base/BasePlugin.js";
39
39
  import "../shared-utils/Subscribe.js";
40
40
  import "../shared-utils/url/absoluteUrl.js";
@@ -75,8 +75,8 @@ import "../shared-utils/tag.js";
75
75
  import "../shared-utils/five/vector3ToScreen.js";
76
76
  import "../shared-utils/five/FiveDomEvents.js";
77
77
  import "../shared-utils/five/calculateThreeMouse.js";
78
- class Se extends A {
79
- constructor(e) {
78
+ class Se extends D {
79
+ constructor(e, i) {
80
80
  super(e);
81
81
  r(this, "state");
82
82
  r(this, "items", []);
@@ -85,6 +85,7 @@ class Se extends A {
85
85
  r(this, "tagRendererMap", {});
86
86
  r(this, "fiveDomEvents");
87
87
  r(this, "zFightingOffset", 0);
88
+ r(this, "tagContainerZIndex");
88
89
  r(this, "handleEnable", () => {
89
90
  this.items.forEach((e) => e.enable());
90
91
  });
@@ -93,73 +94,84 @@ class Se extends A {
93
94
  });
94
95
  r(this, "updateTagRenderer", () => {
95
96
  this.items.forEach((e) => {
96
- var t;
97
- const s = (t = this.tagRendererMap[e.type]) != null ? t : H[e.type];
98
- s && e.__renderer !== s && (e.__renderer = s, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = s(e.tag.container, e));
97
+ var d;
98
+ const i = (d = this.tagRendererMap[e.type]) != null ? d : F[e.type];
99
+ i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e));
99
100
  });
100
101
  });
101
- this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = O(e), e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
102
+ this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = z(e), this.tagContainerZIndex = 1, e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
102
103
  }
103
104
  load(e) {
104
- return M(this, null, function* () {
105
- var s;
106
- this.clear(), this.data = e, (s = e == null ? void 0 : e.list) == null || s.forEach((t) => {
105
+ return x(this, null, function* () {
106
+ var d;
107
+ this.clear(), this.data = e;
108
+ const i = this.tagContainerZIndex;
109
+ (d = e == null ? void 0 : e.list) == null || d.forEach((t) => {
107
110
  var m;
108
111
  if (t.type === "triangles") {
109
- const o = new T();
112
+ const o = new H();
110
113
  o.setPoints(t.object_data.points), o.setStyle({
111
114
  color: t.object_data.color,
112
115
  opacity: t.object_data.opacity,
113
116
  lineColor: t.object_data.color,
114
117
  occlusionVisibility: !1
115
118
  }), this.fiveDomEvents.addEventListener(o, "hover", () => o.highlight()), this.fiveDomEvents.addEventListener(o, "unHover", () => o.unhighlight());
116
- const a = new L({
119
+ const s = new O({
117
120
  five: this.five,
118
121
  model: o,
119
122
  group: this.group,
120
123
  type: t.type,
121
- rawData: t
124
+ rawData: t,
125
+ tagContainerZIndex: i
122
126
  });
123
- this.items.push(a);
127
+ this.items.push(s);
124
128
  } else if (t.type === "prism") {
125
129
  const o = new j();
126
130
  this.zFightingOffset += 1e-4, o.setPoints({
127
- points: t.object_data.points.map((i) => {
128
- var p;
129
- return [i[0], i[1] + ((p = t.object_data.fixedY) != null ? p : 0), i[2]];
131
+ points: t.object_data.points.map((a) => {
132
+ var b;
133
+ return [a[0], a[1] + ((b = t.object_data.fixedY) != null ? b : 0), a[2]];
130
134
  }),
131
- heightPoint: I(t.object_data.points[0]).add(new h.Vector3().setY(t.object_data.height + ((m = t.object_data.fixedHeight) != null ? m : 0))).add(new h.Vector3().setY(this.zFightingOffset))
135
+ heightPoint: T(t.object_data.points[0]).add(new h.Vector3().setY(t.object_data.height + ((m = t.object_data.fixedHeight) != null ? m : 0))).add(new h.Vector3().setY(this.zFightingOffset))
132
136
  }), o.setStyle({
133
137
  color: t.object_data.color,
134
138
  opacity: t.object_data.opacity,
135
139
  lineColor: t.object_data.color,
136
140
  occlusionVisibility: !1
137
141
  });
138
- const a = new F({
142
+ const s = new L({
139
143
  five: this.five,
140
144
  model: o,
141
145
  group: this.group,
142
146
  type: t.type,
143
- rawData: t
147
+ rawData: t,
148
+ tagContainerZIndex: i
144
149
  });
145
- this.items.push(a);
150
+ this.items.push(s);
146
151
  } else if (t.type === "box") {
147
- const o = new j(), { start: a, end: i, rotation: p = [0, 0, 0, 0], opacity: V, color: b } = t.object_data, f = new h.Vector3().fromArray(a), u = new h.Vector3().fromArray(i), R = new h.Euler().fromArray(p), g = new h.Quaternion().setFromEuler(R), y = g.clone().inverse(), _ = new h.Vector3().lerpVectors(f, u, 0.5), w = _.clone().negate(), v = f.clone().add(w).applyQuaternion(y), E = u.clone().add(w).applyQuaternion(y), d = new h.Box3(v.clone().max(E), v.clone().min(E));
152
+ const o = new j(), { start: s, end: a, rotation: b = [0, 0, 0, 0], opacity: R, color: f } = t.object_data, g = new h.Vector3().fromArray(s), u = new h.Vector3().fromArray(a), k = new h.Euler().fromArray(b), y = new h.Quaternion().setFromEuler(k), _ = y.clone().inverse(), w = new h.Vector3().lerpVectors(g, u, 0.5), v = w.clone().negate(), E = g.clone().add(v).applyQuaternion(_), M = u.clone().add(v).applyQuaternion(_), p = new h.Box3(E.clone().max(M), E.clone().min(M));
148
153
  o.setPoints({
149
- points: [c(d, 2), c(d, 3), c(d, 7), c(d, 6)],
150
- heightPoint: c(d, 0)
151
- }), o.position.copy(_), o.quaternion.copy(g), o.setStyle({ color: b, opacity: V, lineColor: b, occlusionVisibility: !1 });
152
- const k = new C({ five: this.five, model: o, group: this.group, type: t.type, rawData: t });
153
- this.items.push(k);
154
+ points: [c(p, 2), c(p, 3), c(p, 7), c(p, 6)],
155
+ heightPoint: c(p, 0)
156
+ }), o.position.copy(w), o.quaternion.copy(y), o.setStyle({ color: f, opacity: R, lineColor: f, occlusionVisibility: !1 });
157
+ const C = new A({
158
+ five: this.five,
159
+ model: o,
160
+ group: this.group,
161
+ type: t.type,
162
+ rawData: t,
163
+ tagContainerZIndex: i
164
+ });
165
+ this.items.push(C);
154
166
  }
155
167
  }), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", e);
156
168
  });
157
169
  }
158
170
  setState(e) {
159
- x(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), x(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
171
+ V(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), V(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
160
172
  }
161
173
  getItemById(e) {
162
- return this.items.find((s) => s.rawData.id === e);
174
+ return this.items.find((i) => i.rawData.id === e);
163
175
  }
164
176
  registerTagRenderer(e) {
165
177
  this.tagRendererMap = e, this.updateTagRenderer();
@@ -32,6 +32,7 @@ export declare class ModelMakerBaseItem extends Subscribe<Event> {
32
32
  rawData?: any;
33
33
  visibleMode?: Mode[];
34
34
  position?: THREE.Vector3;
35
+ tagContainerZIndex?: number;
35
36
  });
36
37
  show(): void;
37
38
  hide(): void;
@@ -1,20 +1,20 @@
1
- var d = Object.defineProperty;
2
- var l = (s, i, e) => i in s ? d(s, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[i] = e;
3
- var t = (s, i, e) => (l(s, typeof i != "symbol" ? i + "" : i, e), e);
4
- import * as m from "three";
5
- import { addIfNotExists as a } from "../../shared-utils/three/addIfNotExists.js";
6
- import { Subscribe as v } from "../../shared-utils/Subscribe.js";
7
- import { tag as f } from "../../shared-utils/tag.js";
8
- import { boundingBox as b } from "../../shared-utils/Object3DHelper/utils/boundingBox.js";
9
- import { getFiveDomEvent as c } from "../utils/getFiveDomEvent.js";
1
+ var l = Object.defineProperty;
2
+ var m = (s, i, e) => i in s ? l(s, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[i] = e;
3
+ var t = (s, i, e) => (m(s, typeof i != "symbol" ? i + "" : i, e), e);
4
+ import * as a from "three";
5
+ import { addIfNotExists as v } from "../../shared-utils/three/addIfNotExists.js";
6
+ import { Subscribe as f } from "../../shared-utils/Subscribe.js";
7
+ import { tag as b } from "../../shared-utils/tag.js";
8
+ import { boundingBox as c } from "../../shared-utils/Object3DHelper/utils/boundingBox.js";
9
+ import { getFiveDomEvent as u } from "../utils/getFiveDomEvent.js";
10
10
  import "../../shared-utils/positionToVector3.js";
11
11
  import "../../shared-utils/five/vector3ToScreen.js";
12
12
  import "../../shared-utils/five/FiveDomEvents.js";
13
13
  import "../../shared-utils/three/getObjectVisible.js";
14
14
  import "../../shared-utils/five/calculateThreeMouse.js";
15
- class B extends v {
15
+ class B extends f {
16
16
  constructor(e) {
17
- var o, r, h;
17
+ var o, r, n, h;
18
18
  super();
19
19
  t(this, "type");
20
20
  t(this, "tag");
@@ -24,9 +24,9 @@ class B extends v {
24
24
  t(this, "group");
25
25
  t(this, "enabled", !1);
26
26
  t(this, "fiveDomEvents");
27
- this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = c(this.five);
28
- const n = (h = (r = (o = e.position) != null ? o : this.model.worldCenter) != null ? r : this.model.center) != null ? h : b(this.model).getCenter(new m.Vector3());
29
- this.tag = f(this.five, n);
27
+ this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = u(this.five);
28
+ const d = (n = (r = (o = e.position) != null ? o : this.model.worldCenter) != null ? r : this.model.center) != null ? n : c(this.model).getCenter(new a.Vector3());
29
+ this.tag = b(this.five, d, { wrapperStyle: { zIndex: `${(h = e.tagContainerZIndex) != null ? h : ""}` } });
30
30
  }
31
31
  get container() {
32
32
  return this.tag.container;
@@ -46,7 +46,7 @@ class B extends v {
46
46
  enable() {
47
47
  if (this.enabled)
48
48
  return;
49
- this.enabled = !0, a(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
49
+ this.enabled = !0, v(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
50
50
  const e = this.onClick.bind(this);
51
51
  this.fiveDomEvents.addEventListener(this.model, "click", e), this.emit("enable");
52
52
  }
@@ -2,21 +2,21 @@ var Z = Object.defineProperty, q = Object.defineProperties;
2
2
  var K = Object.getOwnPropertyDescriptors;
3
3
  var _ = Object.getOwnPropertySymbols;
4
4
  var Q = Object.prototype.hasOwnProperty, Y = Object.prototype.propertyIsEnumerable;
5
- var w = (l, s, e) => s in l ? Z(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, b = (l, s) => {
5
+ var E = (l, s, e) => s in l ? Z(l, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[s] = e, b = (l, s) => {
6
6
  for (var e in s || (s = {}))
7
- Q.call(s, e) && w(l, e, s[e]);
7
+ Q.call(s, e) && E(l, e, s[e]);
8
8
  if (_)
9
9
  for (var e of _(s))
10
- Y.call(s, e) && w(l, e, s[e]);
10
+ Y.call(s, e) && E(l, e, s[e]);
11
11
  return l;
12
12
  }, U = (l, s) => q(l, K(s));
13
- var d = (l, s, e) => (w(l, typeof s != "symbol" ? s + "" : s, e), e);
13
+ var d = (l, s, e) => (E(l, typeof s != "symbol" ? s + "" : s, e), e);
14
14
  import { defaultGlobalConfig as ee } from "../typings/tag/TagConfig.js";
15
15
  import { objectAssignDeepExports as y } from "../../vendor/object-assign-deep/objectAssignDeep.js";
16
16
  import * as ie from "three";
17
17
  import { DefaultConfig as te } from "../tag.config.js";
18
18
  import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
19
- import { planeNormal as E } from "../utils/planeNormal.js";
19
+ import { planeNormal as w } from "../utils/planeNormal.js";
20
20
  import { getTagCenterPosition as V } from "../utils/tagPosition.js";
21
21
  import { normalPositionToPositions as oe } from "../utils/normalPositionToPositions.js";
22
22
  import { TagCache as ne } from "./TagCache.js";
@@ -125,10 +125,10 @@ class hi extends ne {
125
125
  }
126
126
  /** css3DRenderPlugin */
127
127
  get css3DRenderPlugin() {
128
- var e, i;
128
+ var e, i, o;
129
129
  if (!this._css3DRenderPlugin) {
130
- const o = fe(this.five);
131
- this._css3DRenderPlugin = o, o.frontModeCSS3DRenderer.domElementWrapper.style.zIndex = (i = (e = this.params.containerZIndex) == null ? void 0 : e.toString()) != null ? i : "";
130
+ const t = fe(this.five);
131
+ this._css3DRenderPlugin = t, (e = t.frontModeCSS3DRenderer) != null && e.domElementWrapper && (t.frontModeCSS3DRenderer.domElementWrapper.style.zIndex = (o = (i = this.params.containerZIndex) == null ? void 0 : i.toString()) != null ? o : "");
132
132
  }
133
133
  return this._css3DRenderPlugin;
134
134
  }
@@ -224,7 +224,7 @@ class hi extends ne {
224
224
  const n = this.workUtil.getObserverPosition(o);
225
225
  if (n === void 0)
226
226
  throw new Error(`getAngle(): observerPosition is ${n}`);
227
- const r = (() => e.stickType === "3DPoint" ? C(e.normal) : E(e.position))();
227
+ const r = (() => e.stickType === "3DPoint" ? C(e.normal) : w(e.position))();
228
228
  if (!r)
229
229
  return;
230
230
  const f = V(e);
@@ -280,9 +280,9 @@ class hi extends ne {
280
280
  if (e.normal)
281
281
  return C(e.normal);
282
282
  if (e.stickType === "Plane")
283
- return E(e.position);
283
+ return w(e.position);
284
284
  if (e.stickType === "Model")
285
- return E(this.getPositions(e));
285
+ return w(this.getPositions(e));
286
286
  }
287
287
  get filterPointTag() {
288
288
  return this.tags.filter((i) => i.stickType === "2DPoint" || i.stickType === "3DPoint").filter((i) => i.position);
@@ -323,20 +323,20 @@ class hi extends ne {
323
323
  * @description 获取merge后的配置
324
324
  */
325
325
  calculateTagConfig(e, i) {
326
- var A, O, I, j, x;
326
+ var A, O, I, W, j;
327
327
  const o = (A = i == null ? void 0 : i.useCache) != null ? A : !0;
328
328
  if (!e)
329
329
  return (O = this.config.globalConfig) != null ? O : {};
330
330
  if (o) {
331
331
  if ((I = e == null ? void 0 : e.computedConfig) != null && I._isMerged)
332
332
  return e.computedConfig;
333
- if ((j = e == null ? void 0 : e.config) != null && j._isMerged)
333
+ if ((W = e == null ? void 0 : e.config) != null && W._isMerged)
334
334
  return e.config;
335
335
  }
336
336
  const t = {}, n = {}, r = {};
337
337
  this.config.contentTypeConfig && Object.entries(this.config.contentTypeConfig).forEach(([u, m]) => {
338
- var F, L;
339
- const a = u, D = a.split("-"), W = u.startsWith("["), T = W ? D[0].slice(1, -1) : void 0, g = W ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (F = n[T]) != null ? F : n[T] = {} : (L = r[T]) != null ? L : r[T] = {} : t;
338
+ var R, F;
339
+ const a = u, D = a.split("-"), x = u.startsWith("["), T = x ? D[0].slice(1, -1) : void 0, g = x ? D.slice(1) : D, v = T ? ["PanoramaLike", "ModelLike"].includes(T) ? (R = n[T]) != null ? R : n[T] = {} : (F = r[T]) != null ? F : r[T] = {} : t;
340
340
  if (!v[a]) {
341
341
  if (g.length === 0 && (v[a] = m), g.length === 1) {
342
342
  const [p] = g;
@@ -349,13 +349,13 @@ class hi extends ne {
349
349
  if (g.length === 3) {
350
350
  const [p = "Any", M, X] = g;
351
351
  if (M === "Audio" && e.contentType === "Audio") {
352
- const R = e;
353
- (R.stickType === p || p === "Any") && R.data.appearance === X && (v[a] = m);
352
+ const L = e;
353
+ (L.stickType === p || p === "Any") && L.data.appearance === X && (v[a] = m);
354
354
  }
355
355
  }
356
356
  }
357
357
  });
358
- const f = (x = e.initialConfig) != null ? x : {}, c = y({}, ee, this.config.globalConfig, ...Object.values(t)), h = y({}, c, f), P = {}, G = Object.values(ae.Mode);
358
+ const f = (j = e.initialConfig) != null ? j : {}, c = y({}, ee, this.config.globalConfig, ...Object.values(t)), h = y({}, c, f), P = {}, G = Object.values(ae.Mode);
359
359
  $(n).forEach(([u, m]) => {
360
360
  G.forEach((a) => {
361
361
  (u === "PanoramaLike" && S(a) || u === "ModelLike" && z(a)) && (P[a] = y({}, c, ...Object.values(m), f, { _isMerged: !0 }));
@@ -10,12 +10,12 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
10
10
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
11
11
  import "animejs";
12
12
  import { absoluteUrl as l } from "../shared-utils/url/absoluteUrl.js";
13
- let v = class {
13
+ let C = class {
14
14
  constructor(t, r) {
15
15
  /**
16
16
  * @realsee/dnalogel 版本号
17
17
  */
18
- i(this, "VERSION", "3.34.0-dev.2");
18
+ i(this, "VERSION", "3.34.1");
19
19
  i(this, "five");
20
20
  /**
21
21
  * @description: 插件事件钩子
@@ -38,5 +38,5 @@ let v = class {
38
38
  }
39
39
  };
40
40
  export {
41
- v as Controller
41
+ C as Controller
42
42
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.34.0-dev.2",
3
+ "%c %c@realsee/dnalogel %cv3.34.1",
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",
@@ -8,7 +8,10 @@ export declare class LightTag {
8
8
  private position;
9
9
  private wrapper;
10
10
  private disposer;
11
- constructor(five: Five, position: AnyPosition);
11
+ private wrapperStyle;
12
+ constructor(five: Five, position: AnyPosition, config?: {
13
+ wrapperStyle?: Partial<CSSStyleDeclaration>;
14
+ });
12
15
  show(): void;
13
16
  hide(params?: {
14
17
  withAnimation?: boolean;
@@ -18,4 +21,6 @@ export declare class LightTag {
18
21
  private onCameraUpdate;
19
22
  private onFiveEveryReady;
20
23
  }
21
- export declare function tag(five: Five, position: AnyPosition): LightTag;
24
+ export declare function tag(five: Five, position: AnyPosition, config?: {
25
+ wrapperStyle?: Partial<CSSStyleDeclaration>;
26
+ }): LightTag;
@@ -1,72 +1,76 @@
1
- var h = Object.defineProperty;
2
- var c = (o, t, e) => t in o ? h(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
3
- var n = (o, t, e) => (c(o, typeof t != "symbol" ? t + "" : t, e), e);
4
- import { anyPositionToVector3 as l } from "./positionToVector3.js";
1
+ var l = Object.defineProperty;
2
+ var c = (o, e, t) => e in o ? l(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
+ var s = (o, e, t) => (c(o, typeof e != "symbol" ? e + "" : e, t), t);
4
+ import { anyPositionToVector3 as p } from "./positionToVector3.js";
5
5
  import * as d from "three";
6
- import { vector3ToScreen as p } from "./five/vector3ToScreen.js";
7
- const r = "LightTagContainer_shgjakdhwakjdhsja";
6
+ import { vector3ToScreen as y } from "./five/vector3ToScreen.js";
7
+ const h = "LightTagContainer_shgjakdhwakjdhsja";
8
8
  class f {
9
- constructor(t, e) {
10
- n(this, "container");
11
- n(this, "visible", !1);
12
- n(this, "enabled", !1);
13
- n(this, "five");
14
- n(this, "position");
15
- n(this, "wrapper");
16
- n(this, "disposer");
17
- n(this, "onCameraUpdate", () => {
9
+ constructor(e, t, n) {
10
+ s(this, "container");
11
+ s(this, "visible", !1);
12
+ s(this, "enabled", !1);
13
+ s(this, "five");
14
+ s(this, "position");
15
+ s(this, "wrapper");
16
+ s(this, "disposer");
17
+ s(this, "wrapperStyle", {});
18
+ s(this, "onCameraUpdate", () => {
18
19
  if (this.visible === !1)
19
20
  return;
20
- const t = p(this.five.camera, this.position);
21
- t ? (this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.container.style.left = t.leftPercent + "%", this.container.style.top = t.topPercent + "%") : (this.container.style.opacity = "0", this.container.style.pointerEvents = "none");
21
+ const e = y(this.five.camera, this.position);
22
+ e ? (this.container.style.left = e.leftPercent + "%", this.container.style.top = e.topPercent + "%") : (this.container.style.left = "-100%", this.container.style.top = "-100%");
22
23
  });
23
- n(this, "onFiveEveryReady", () => {
24
- var t;
24
+ s(this, "onFiveEveryReady", () => {
25
+ var e;
25
26
  if (this.visible && this.five.state.mode !== "Panorama") {
26
- const e = new d.Raycaster();
27
- e.set(this.five.camera.position, this.position.clone().sub(this.five.camera.position));
28
- const i = (t = this.five.model.intersectRaycaster(e)) == null ? void 0 : t[0];
29
- (i == null ? void 0 : i.distance) > this.position.distanceTo(this.five.camera.position) ? (this.container.style.opacity = "1", this.container.style.pointerEvents = "auto") : (this.container.style.opacity = "0", this.container.style.pointerEvents = "none");
27
+ const t = new d.Raycaster();
28
+ t.set(this.five.camera.position, this.position.clone().sub(this.five.camera.position));
29
+ const n = (e = this.five.model.intersectRaycaster(t)) == null ? void 0 : e[0];
30
+ (n == null ? void 0 : n.distance) > this.position.distanceTo(this.five.camera.position) ? (this.container.style.opacity = "1", this.container.style.pointerEvents = "auto") : (this.container.style.opacity = "0", this.container.style.pointerEvents = "none");
30
31
  }
31
32
  });
32
- this.five = t, this.position = l(e).clone(), this.container = (() => {
33
- const i = document.createElement("div");
34
- return i.style.width = "0", i.style.height = "0", i.style.position = "absolute", i;
35
- })(), this.enable(), this.show();
33
+ var i;
34
+ this.five = e, this.position = p(t).clone(), this.container = (() => {
35
+ const a = document.createElement("div");
36
+ return a.style.width = "0", a.style.height = "0", a.style.position = "absolute", a;
37
+ })(), this.wrapperStyle = (i = n == null ? void 0 : n.wrapperStyle) != null ? i : {}, this.enable(), this.show();
36
38
  }
37
39
  show() {
38
- this.visible = !0, this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.container.classList.add("withAnimation"), this.onCameraUpdate();
40
+ this.visible = !0, this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.container.style.transition = "opacity 0.2s linear", this.onCameraUpdate();
39
41
  }
40
- hide(t) {
41
- this.visible = !1, t != null && t.withAnimation ? this.container.classList.add("withAnimation") : this.container.classList.remove("withAnimation"), this.container.style.opacity = "0", this.container.style.pointerEvents = "none";
42
+ hide(e) {
43
+ this.visible = !1, e != null && e.withAnimation ? this.container.style.transition = "opacity 0.2s linear" : this.container.style.transition = "", this.container.style.opacity = "0", this.container.style.pointerEvents = "none";
42
44
  }
43
45
  enable() {
44
- var i;
46
+ var n;
45
47
  if (this.enabled)
46
48
  return;
47
- this.enabled = !0, this.wrapper = (i = document.getElementById(r)) != null ? i : (() => {
49
+ this.enabled = !0, this.wrapper = (n = document.getElementById(h)) != null ? n : (() => {
48
50
  var a;
49
- const s = document.createElement("div");
50
- return s.id = r, s.style.position = "absolute", s.style.top = "0", s.style.left = "0", s.style.width = "100%", s.style.height = "100%", s.style.pointerEvents = "none", (a = this.five.getElement()) == null || a.parentElement.appendChild(s), s;
51
+ const i = document.createElement("div");
52
+ return i.id = h, i.style.position = "absolute", i.style.top = "0", i.style.left = "0", i.style.width = "100%", i.style.height = "100%", i.style.pointerEvents = "none", Object.keys(this.wrapperStyle).forEach((r) => {
53
+ i.style[r] = this.wrapperStyle[r];
54
+ }), (a = this.five.getElement()) == null || a.parentElement.appendChild(i), i;
51
55
  })(), this.wrapper.appendChild(this.container);
52
- let t = !1;
53
- const e = () => {
54
- t || (t = !0, this.five.ready().then(() => {
55
- this.onFiveEveryReady(), t = !1;
56
+ let e = !1;
57
+ const t = () => {
58
+ e || (e = !0, this.five.ready().then(() => {
59
+ this.onFiveEveryReady(), e = !1;
56
60
  }));
57
61
  };
58
- this.five.on("cameraUpdate", e), this.five.on("cameraUpdate", this.onCameraUpdate), this.disposer = () => {
59
- this.five.off("cameraUpdate", e), this.five.off("cameraUpdate", this.onCameraUpdate);
62
+ this.five.on("cameraUpdate", t), this.five.on("cameraUpdate", this.onCameraUpdate), this.disposer = () => {
63
+ this.five.off("cameraUpdate", t), this.five.off("cameraUpdate", this.onCameraUpdate);
60
64
  };
61
65
  }
62
66
  disable() {
63
- var t;
64
- this.enabled && (this.enabled = !1, this.wrapper.removeChild(this.container), (t = this.disposer) == null || t.call(this));
67
+ var e;
68
+ this.enabled && (this.enabled = !1, this.wrapper.removeChild(this.container), (e = this.disposer) == null || e.call(this));
65
69
  }
66
70
  }
67
- function u(o, t) {
68
- return new f(o, t);
71
+ function w(o, e, t) {
72
+ return new f(o, e, t);
69
73
  }
70
74
  export {
71
- u as tag
75
+ w as tag
72
76
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.34.0-dev.2",
3
+ "version": "3.34.1",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
25
25
  "build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
26
26
  "docs": "typedoc --options ./typedoc.json",
27
- "prepublishOnly": "run-p build",
27
+ "prepublishOnly": "run-p build docs",
28
28
  "postpublish": "cnpm sync @realsee/dnalogel"
29
29
  },
30
30
  "files": [