@realsee/dnalogel 3.41.1-alpha.0 → 3.41.2

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 (445) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/CruisePlugin/BaseController.d.ts +2 -0
  3. package/dist/CurrentPanoImagePlugin/Controller.d.ts +0 -1
  4. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +0 -3
  5. package/dist/base/BasePlugin.d.ts +0 -2
  6. package/dist/index.cjs.js +55 -55
  7. package/dist/index.js +4382 -4401
  8. package/dist/index.umd.js +52 -52
  9. package/dist/shared-utils/Utils/FiveUtil.d.ts +0 -1
  10. package/dist/shared-utils/five/FiveDomEvents.d.ts +0 -1
  11. package/dist/shared-utils/three/blink.d.ts +1 -1
  12. package/libs/AreaMakerPlugin/Controller.js +4 -6
  13. package/libs/AreaMakerPlugin/index.js +3 -5
  14. package/libs/AreaMakerPlugin/utils/Item.js +2 -2
  15. package/libs/CSS3DRenderPlugin/Controller.js +2 -3
  16. package/libs/CSS3DRenderPlugin/index.js +5 -6
  17. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +2 -0
  18. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +31 -0
  19. package/libs/CruisePlugin/BaseController.d.ts +2 -0
  20. package/libs/CruisePlugin/BaseController.js +36 -36
  21. package/libs/CruisePlugin/Move.js +5 -6
  22. package/libs/CruisePlugin/Work.js +6 -7
  23. package/libs/CruisePlugin/index.js +9 -10
  24. package/libs/CurrentPanoImagePlugin/Controller.d.ts +0 -1
  25. package/libs/CurrentPanoImagePlugin/Controller.js +11 -13
  26. package/libs/CurrentPanoImagePlugin/index.js +4 -6
  27. package/libs/GuideLinePlugin/Controller.js +8 -9
  28. package/libs/GuideLinePlugin/GuideLineItem.js +5 -6
  29. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +71 -76
  30. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +0 -3
  31. package/libs/GuideLinePlugin/GuideLineModeItem.js +5 -7
  32. package/libs/GuideLinePlugin/index.js +9 -10
  33. package/libs/ModelMakerPlugin/Controller.js +3 -5
  34. package/libs/ModelMakerPlugin/index.js +3 -5
  35. package/libs/ModelMakerPlugin/item/baseItem.js +2 -3
  36. package/libs/ModelMakerPlugin/item/boxItem.js +2 -3
  37. package/libs/ModelMakerPlugin/item/polygonItem.js +2 -3
  38. package/libs/ModelMakerPlugin/item/prismItem.js +2 -3
  39. package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +6 -7
  40. package/libs/ModelTVVideoPlugin/Plugin.js +3 -4
  41. package/libs/ModelTVVideoPlugin/index.js +2 -3
  42. package/libs/Object3DHelperPlugin/Controller.js +14 -16
  43. package/libs/Object3DHelperPlugin/index.js +6 -8
  44. package/libs/PanoCompassPlugin/Controller.js +3 -5
  45. package/libs/PanoCompassPlugin/index.js +4 -6
  46. package/libs/PanoDoorLabelPlugin/BaseController.js +7 -9
  47. package/libs/PanoDoorLabelPlugin/Controller.js +3 -5
  48. package/libs/PanoDoorLabelPlugin/index.js +4 -6
  49. package/libs/PanoMeasurePlugin/Components/Controller0.js +2 -3
  50. package/libs/PanoMeasurePlugin/Components/Controller1.js +2 -3
  51. package/libs/PanoMeasurePlugin/Controller/EditController.js +3 -4
  52. package/libs/PanoMeasurePlugin/Controller/MixedController.js +34 -35
  53. package/libs/PanoMeasurePlugin/Controller/WatchController.js +49 -50
  54. package/libs/PanoMeasurePlugin/Controller/index.js +3 -5
  55. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +2 -3
  56. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +3 -4
  57. package/libs/PanoMeasurePlugin/index.js +14 -16
  58. package/libs/PanoSpatialTagPlugin/Plugin.js +3 -4
  59. package/libs/PanoSpatialTagPlugin/index.js +0 -1
  60. package/libs/PanoTagPlugin/controller/TagCache.js +9 -11
  61. package/libs/PanoTagPlugin/controller/TagComputer.js +10 -12
  62. package/libs/PanoTagPlugin/controller/TagRender.js +3 -5
  63. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -5
  64. package/libs/PanoTagPlugin/controller/index.js +6 -8
  65. package/libs/PanoTagPlugin/index.js +12 -14
  66. package/libs/PanoVideoPlugin/Controller.js +3 -5
  67. package/libs/PanoVideoPlugin/index.js +6 -8
  68. package/libs/PipelinePlugin/Controller.js +23 -25
  69. package/libs/PipelinePlugin/index.js +4 -6
  70. package/libs/base/BasePlugin.d.ts +0 -2
  71. package/libs/base/BasePlugin.js +13 -14
  72. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +11 -14
  73. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -7
  74. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -5
  75. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -6
  76. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -5
  77. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -6
  78. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -5
  79. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -6
  80. package/libs/index.js +128 -129
  81. package/libs/shared-utils/Utils/FiveUtil.d.ts +0 -1
  82. package/libs/shared-utils/Utils/FiveUtil.js +7 -11
  83. package/libs/shared-utils/five/FiveDomEvents.d.ts +0 -1
  84. package/libs/shared-utils/five/FiveDomEvents.js +42 -46
  85. package/libs/shared-utils/five/fiveModelLoad.js +17 -26
  86. package/libs/shared-utils/five/getPosition.js +23 -24
  87. package/libs/shared-utils/log.js +3 -7
  88. package/libs/shared-utils/logger.js +1 -1
  89. package/libs/shared-utils/tag.js +9 -10
  90. package/libs/shared-utils/three/blink.d.ts +1 -1
  91. package/libs/shared-utils/three/blink.js +77 -70
  92. package/libs/shared-utils/three/getIntersect.js +18 -19
  93. package/package.json +1 -1
  94. package/README.md +0 -116
  95. package/dist/shared-utils/five/getFiveModel.d.ts +0 -2
  96. package/docs/.nojekyll +0 -1
  97. package/docs/assets/custom.css +0 -0
  98. package/docs/assets/highlight.css +0 -127
  99. package/docs/assets/main.js +0 -58
  100. package/docs/assets/search.js +0 -1
  101. package/docs/assets/style.css +0 -1367
  102. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +0 -731
  103. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +0 -694
  104. package/docs/classes/CSS3DRender.html +0 -778
  105. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -481
  106. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -894
  107. package/docs/classes/Magnifier.html +0 -485
  108. package/docs/classes/ModelRoomLabelController.html +0 -403
  109. package/docs/classes/MoveController.html +0 -681
  110. package/docs/classes/Object3DHelperController.html +0 -645
  111. package/docs/classes/PaintBrush.html +0 -507
  112. package/docs/classes/PanoMeasurePluginLine.html +0 -527
  113. package/docs/classes/PanoMeasurePluginModel.html +0 -576
  114. package/docs/classes/PanoMeasurePluginPoint.html +0 -367
  115. package/docs/classes/PanoMeasurePluginPolyline.html +0 -572
  116. package/docs/classes/PanoTagPluginController.html +0 -1132
  117. package/docs/classes/Util.BetterTween.html +0 -421
  118. package/docs/classes/Util.Interval.html +0 -437
  119. package/docs/classes/Util.LineSegments.html +0 -389
  120. package/docs/classes/Util.Magnifier.html +0 -508
  121. package/docs/classes/Util.Object3D.html +0 -411
  122. package/docs/classes/Util.PointDomHelper.html +0 -412
  123. package/docs/classes/Util.PointHelper.html +0 -403
  124. package/docs/classes/Util.PointSelectorHelper.html +0 -459
  125. package/docs/classes/Util.Rectangle.html +0 -460
  126. package/docs/classes/WalkController.html +0 -700
  127. package/docs/enums/CameraMovementEffect.html +0 -315
  128. package/docs/enums/ContentType.html +0 -461
  129. package/docs/enums/DIRECTION.html +0 -325
  130. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -325
  131. package/docs/enums/DimensionType.html +0 -315
  132. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -318
  133. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -325
  134. package/docs/enums/PaintBrushTypeEnum.html +0 -318
  135. package/docs/enums/PointType.html +0 -315
  136. package/docs/enums/Rotation.html +0 -322
  137. package/docs/functions/AreaMakerPlugin.html +0 -295
  138. package/docs/functions/CSS3DRenderPlugin.html +0 -293
  139. package/docs/functions/CameraMovementPlugin.html +0 -298
  140. package/docs/functions/CruisePlugin.html +0 -295
  141. package/docs/functions/CurrentPanoImagePlugin.html +0 -295
  142. package/docs/functions/GuideLinePlugin.html +0 -295
  143. package/docs/functions/ItemLabelPlugin.html +0 -295
  144. package/docs/functions/MapviewFloorplanPlugin.html +0 -295
  145. package/docs/functions/ModelChassisCompassPlugin.html +0 -298
  146. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -298
  147. package/docs/functions/ModelFloorplanPlugin.html +0 -295
  148. package/docs/functions/ModelItemLabelPlugin.html +0 -295
  149. package/docs/functions/ModelRoomLabelPlugin.html +0 -293
  150. package/docs/functions/ModelTVVideoPlugin.html +0 -295
  151. package/docs/functions/ModelViewPlugin.html +0 -298
  152. package/docs/functions/MovePlugin.html +0 -295
  153. package/docs/functions/Object3DHelperPlugin.html +0 -293
  154. package/docs/functions/PanoCompassPlugin.html +0 -295
  155. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -299
  156. package/docs/functions/PanoDoorLabelPlugin.html +0 -295
  157. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -295
  158. package/docs/functions/PanoMeasurePlugin.html +0 -295
  159. package/docs/functions/PanoRulerPlugin.html +0 -298
  160. package/docs/functions/PanoRulerProPlugin.html +0 -298
  161. package/docs/functions/PanoSpatialTagPlugin.html +0 -298
  162. package/docs/functions/PanoTagPlugin.html +0 -300
  163. package/docs/functions/PanoVideoPlugin.html +0 -304
  164. package/docs/functions/PipelinePlugin.html +0 -293
  165. package/docs/functions/TopviewFloorplanPlugin.html +0 -295
  166. package/docs/functions/Util.absoluteUrl.html +0 -331
  167. package/docs/functions/Util.checkFiveModelLoaded.html +0 -334
  168. package/docs/functions/Util.equal.html +0 -343
  169. package/docs/functions/Util.getCoordsFromClient.html +0 -333
  170. package/docs/functions/Util.getCoordsFromElement.html +0 -333
  171. package/docs/functions/Util.getFrameTime.html +0 -325
  172. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -333
  173. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -333
  174. package/docs/functions/Util.isAbsoluteURL.html +0 -326
  175. package/docs/functions/Util.isModelLike.html +0 -326
  176. package/docs/functions/Util.isNil.html +0 -334
  177. package/docs/functions/Util.isPanoramaLike.html +0 -326
  178. package/docs/functions/Util.nextFrame.html +0 -339
  179. package/docs/functions/Util.notNil.html +0 -334
  180. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -355
  181. package/docs/functions/Util.tweenProgress.html +0 -328
  182. package/docs/functions/Util.uuid.html +0 -324
  183. package/docs/functions/pluginFlag.html +0 -293
  184. package/docs/index.html +0 -358
  185. package/docs/interfaces/AddTagConfig.html +0 -308
  186. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +0 -335
  187. package/docs/interfaces/AreaMakerPluginType.Config.html +0 -340
  188. package/docs/interfaces/AreaMakerPluginType.EventMap.html +0 -626
  189. package/docs/interfaces/AreaMakerPluginType.Params.html +0 -339
  190. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +0 -397
  191. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +0 -382
  192. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +0 -339
  193. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +0 -332
  194. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +0 -331
  195. package/docs/interfaces/AreaMakerPluginType.State.html +0 -360
  196. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -454
  197. package/docs/interfaces/CSS3DRenderPluginState.html +0 -330
  198. package/docs/interfaces/CameraMovementPluginExportType.html +0 -363
  199. package/docs/interfaces/CruisePluginTypes.Config.html +0 -364
  200. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -366
  201. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -724
  202. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -390
  203. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -426
  204. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -416
  205. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -356
  206. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -324
  207. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -392
  208. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +0 -387
  209. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +0 -526
  210. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +0 -328
  211. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +0 -320
  212. package/docs/interfaces/CurrentPanoImagePluginType.State.html +0 -342
  213. package/docs/interfaces/EventMap.html +0 -547
  214. package/docs/interfaces/FloorplanBounding.html +0 -337
  215. package/docs/interfaces/FloorplanData.html +0 -340
  216. package/docs/interfaces/FloorplanEntrance.html +0 -365
  217. package/docs/interfaces/FloorplanExtraObject.html +0 -355
  218. package/docs/interfaces/FloorplanExtraObject3D.html +0 -344
  219. package/docs/interfaces/FloorplanFloorData.html +0 -333
  220. package/docs/interfaces/FloorplanImagePosition.html +0 -319
  221. package/docs/interfaces/FloorplanObserver.html +0 -337
  222. package/docs/interfaces/FloorplanOutlineItem.html +0 -333
  223. package/docs/interfaces/FloorplanPosition.html +0 -319
  224. package/docs/interfaces/FloorplanRoomItem.html +0 -407
  225. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -325
  226. package/docs/interfaces/FloorplanServerBounding.html +0 -337
  227. package/docs/interfaces/FloorplanServerComputedData.html +0 -336
  228. package/docs/interfaces/FloorplanServerData.html +0 -319
  229. package/docs/interfaces/FloorplanServerDoorItem.html +0 -336
  230. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -322
  231. package/docs/interfaces/FloorplanServerEntrance.html +0 -365
  232. package/docs/interfaces/FloorplanServerFloorData.html +0 -333
  233. package/docs/interfaces/FloorplanServerImagePosition.html +0 -319
  234. package/docs/interfaces/FloorplanServerObserver.html +0 -337
  235. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -333
  236. package/docs/interfaces/FloorplanServerPosition.html +0 -319
  237. package/docs/interfaces/FloorplanServerRoomItem.html +0 -419
  238. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -325
  239. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -328
  240. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -367
  241. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -531
  242. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -362
  243. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -353
  244. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -452
  245. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +0 -342
  246. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -352
  247. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -522
  248. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -349
  249. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -532
  250. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -314
  251. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -335
  252. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -360
  253. package/docs/interfaces/GuideLinePluginType.Route.html +0 -376
  254. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -358
  255. package/docs/interfaces/HelperOffset.html +0 -337
  256. package/docs/interfaces/ImagePlaneGroup.html +0 -311
  257. package/docs/interfaces/ItemLabelPluginData.html +0 -308
  258. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -393
  259. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -329
  260. package/docs/interfaces/MinMax.html +0 -315
  261. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -315
  262. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -351
  263. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -315
  264. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -322
  265. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -359
  266. package/docs/interfaces/ModelItemLabelPluginData.html +0 -308
  267. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -393
  268. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -315
  269. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -308
  270. package/docs/interfaces/ModelTVVideoPluginData.html +0 -329
  271. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -353
  272. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -308
  273. package/docs/interfaces/ModelViewPluginExportType.html +0 -421
  274. package/docs/interfaces/Object3DHelperState.html +0 -322
  275. package/docs/interfaces/ObjectHelperControllers.html +0 -329
  276. package/docs/interfaces/PaintBrushAction.html +0 -368
  277. package/docs/interfaces/PaintBrushConfigs.html +0 -366
  278. package/docs/interfaces/PaintBrushState.html +0 -350
  279. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -430
  280. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -287
  281. package/docs/interfaces/PanoMeasureParameterType.html +0 -454
  282. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -322
  283. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -319
  284. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -315
  285. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -325
  286. package/docs/interfaces/PanoRulerPluginExportType.html +0 -382
  287. package/docs/interfaces/PanoRulerPluginOptions.html +0 -331
  288. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -322
  289. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -358
  290. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -328
  291. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -315
  292. package/docs/interfaces/PanoRulerProPluginState.html +0 -322
  293. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -301
  294. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -290
  295. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -358
  296. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -340
  297. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -436
  298. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -336
  299. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -357
  300. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -343
  301. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -336
  302. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -328
  303. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -346
  304. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -319
  305. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -425
  306. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -319
  307. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -354
  308. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -373
  309. package/docs/interfaces/Point.html +0 -322
  310. package/docs/interfaces/Room.html +0 -329
  311. package/docs/interfaces/RoomInfo.html +0 -315
  312. package/docs/interfaces/RoomLabel.html +0 -391
  313. package/docs/interfaces/RoomRules.html +0 -290
  314. package/docs/interfaces/Rooms.html +0 -290
  315. package/docs/interfaces/Scissor.html +0 -349
  316. package/docs/interfaces/State.html +0 -336
  317. package/docs/interfaces/TagCacheInterface.html +0 -367
  318. package/docs/interfaces/TagConfig.html +0 -570
  319. package/docs/interfaces/TagGLTFObjectGroup.html +0 -311
  320. package/docs/interfaces/TagIconUrl.html +0 -368
  321. package/docs/interfaces/TagObjectGroup.html +0 -311
  322. package/docs/interfaces/TagStyle.html +0 -321
  323. package/docs/interfaces/Tags.html +0 -2825
  324. package/docs/interfaces/TemporaryState.html +0 -308
  325. package/docs/interfaces/Util.MagnifierParameter.html +0 -396
  326. package/docs/interfaces/Util.MouseGroupParameter.html +0 -355
  327. package/docs/interfaces/Util.PointIntersection.html +0 -370
  328. package/docs/modules/AreaMakerPluginType.html +0 -330
  329. package/docs/modules/CruisePluginTypes.html +0 -333
  330. package/docs/modules/CurrentPanoImagePluginType.html +0 -302
  331. package/docs/modules/GuideLineItem.html +0 -294
  332. package/docs/modules/GuideLineModeItem.html +0 -299
  333. package/docs/modules/GuideLinePluginType.html +0 -355
  334. package/docs/modules/PanoVideoPluginType.html +0 -306
  335. package/docs/modules/Util.html +0 -356
  336. package/docs/modules.html +0 -564
  337. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +0 -359
  338. package/docs/types/AreaMakerPluginType.ItemRenderer.html +0 -325
  339. package/docs/types/AreaMakerPluginType.PluginData.html +0 -307
  340. package/docs/types/AreaMakerPluginType.ServerData.html +0 -307
  341. package/docs/types/ArrayPosition.html +0 -284
  342. package/docs/types/AudioAppearance.html +0 -284
  343. package/docs/types/AudioTagTypeConfigKey.html +0 -284
  344. package/docs/types/CSS3DRenderExportType.html +0 -284
  345. package/docs/types/CSS3DRenderPluginExportType.html +0 -284
  346. package/docs/types/CSS3DRenderPluginParameterType.html +0 -284
  347. package/docs/types/ClassFunctionParameters.html +0 -291
  348. package/docs/types/Color.html +0 -284
  349. package/docs/types/ContentTypeConfigKey.html +0 -284
  350. package/docs/types/ContentTypeConfigKeySplit.html +0 -284
  351. package/docs/types/ContentTypeMap.html +0 -284
  352. package/docs/types/Create3DDomContainerReturnType.html +0 -284
  353. package/docs/types/Create3DElementReturnType.html +0 -284
  354. package/docs/types/CruisePluginExportType.html +0 -284
  355. package/docs/types/CruisePluginTypes.CruiseData.html +0 -323
  356. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -300
  357. package/docs/types/CurrentPanoImagePluginExportType.html +0 -284
  358. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -296
  359. package/docs/types/DeprecatedTagProperty.html +0 -299
  360. package/docs/types/Direction-1.html +0 -284
  361. package/docs/types/Direction4.html +0 -284
  362. package/docs/types/ElementRenderer.html +0 -308
  363. package/docs/types/FloorplanRuleLabels.html +0 -287
  364. package/docs/types/FloorplanServerRuleLabels.html +0 -284
  365. package/docs/types/GuideLinePluginExportType.html +0 -284
  366. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -357
  367. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -378
  368. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -311
  369. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -314
  370. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -314
  371. package/docs/types/GuideLinePluginType.PathItem.html +0 -314
  372. package/docs/types/GuideLinePluginType.PluginData.html +0 -323
  373. package/docs/types/HelperEventMap.html +0 -429
  374. package/docs/types/InternalHelperEventMap.html +0 -380
  375. package/docs/types/LoadTagConfig.html +0 -284
  376. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -284
  377. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -284
  378. package/docs/types/MediaData.html +0 -305
  379. package/docs/types/MediaStore.html +0 -289
  380. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -291
  381. package/docs/types/ModelFloorplanPluginParameterType.html +0 -284
  382. package/docs/types/ModelFloorplanPluginReturnType.html +0 -284
  383. package/docs/types/ModelId.html +0 -284
  384. package/docs/types/ModelRoomLabelPluginParameters.html +0 -284
  385. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -284
  386. package/docs/types/MoveArgs.html +0 -294
  387. package/docs/types/MoveOpts.html +0 -292
  388. package/docs/types/Object3DHelperEventMap.html +0 -377
  389. package/docs/types/ObjectFit.html +0 -284
  390. package/docs/types/PaintBrushEventMap.html +0 -315
  391. package/docs/types/PanoCompassPluginData.html +0 -284
  392. package/docs/types/PanoCompassPluginExportType.html +0 -284
  393. package/docs/types/PanoCompassPluginParameterType.html +0 -284
  394. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -284
  395. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -284
  396. package/docs/types/PanoIndex.html +0 -284
  397. package/docs/types/PanoMeasurePluginEvent.html +0 -284
  398. package/docs/types/PanoMeasureReturnType.html +0 -284
  399. package/docs/types/PanoSpatialTagPluginId.html +0 -284
  400. package/docs/types/PanoTagPluginExportInterface.html +0 -284
  401. package/docs/types/PanoTagPluginParamsInterface.html +0 -284
  402. package/docs/types/PanoVideoPluginParameterType.html +0 -284
  403. package/docs/types/PanoVideoPluginReturnType.html +0 -284
  404. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -292
  405. package/docs/types/PipelinePluginParameterType.html +0 -284
  406. package/docs/types/PipelinePluginReturnType.html +0 -284
  407. package/docs/types/PlaneTag.html +0 -292
  408. package/docs/types/Point2DTag.html +0 -292
  409. package/docs/types/Point3DTag.html +0 -292
  410. package/docs/types/PointTag.html +0 -289
  411. package/docs/types/PointTagInstance.html +0 -289
  412. package/docs/types/Position.html +0 -284
  413. package/docs/types/RotateArgs.html +0 -296
  414. package/docs/types/RotateOpts.html +0 -292
  415. package/docs/types/RuleLabelsKey.html +0 -284
  416. package/docs/types/RuleLabelsValue.html +0 -284
  417. package/docs/types/StickType.html +0 -284
  418. package/docs/types/Tag.html +0 -350
  419. package/docs/types/Tag2D.html +0 -292
  420. package/docs/types/Tag3D.html +0 -292
  421. package/docs/types/TagConfigByKey.html +0 -289
  422. package/docs/types/TagContentType.html +0 -284
  423. package/docs/types/TagContentTypeMapping.html +0 -284
  424. package/docs/types/TagDimensionType.html +0 -286
  425. package/docs/types/TagElement.html +0 -294
  426. package/docs/types/TagEvents.html +0 -337
  427. package/docs/types/TagGLTFObject.html +0 -307
  428. package/docs/types/TagHooks.html +0 -284
  429. package/docs/types/TagId.html +0 -284
  430. package/docs/types/TagInstance.html +0 -362
  431. package/docs/types/TagPointType.html +0 -287
  432. package/docs/types/TagRendererMap.html +0 -291
  433. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -284
  434. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -284
  435. package/docs/types/WorkCode.html +0 -284
  436. package/docs/variables/FLOOR_TYPE_MAP.html +0 -294
  437. package/docs/variables/PLUGIN.html +0 -284
  438. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -287
  439. package/docs/variables/ROOM_TYPE_MAP.html +0 -294
  440. package/docs/variables/defaultGlobalConfig.html +0 -284
  441. package/docs/variables/itemLabelPluginServerParams.html +0 -291
  442. package/docs/variables/modelItemLabelPluginServerParams.html +0 -291
  443. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -291
  444. package/libs/shared-utils/five/getFiveModel.d.ts +0 -2
  445. package/libs/shared-utils/five/getFiveModel.js +0 -7
@@ -1,46 +1,45 @@
1
- var u = Object.defineProperty, d = Object.defineProperties;
2
- var m = Object.getOwnPropertyDescriptors;
1
+ var l = Object.defineProperty, u = Object.defineProperties;
2
+ var d = Object.getOwnPropertyDescriptors;
3
3
  var i = Object.getOwnPropertySymbols;
4
4
  var y = Object.prototype.hasOwnProperty, f = Object.prototype.propertyIsEnumerable;
5
- var s = (t, e, n) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, a = (t, e) => {
5
+ var o = (t, e, n) => e in t ? l(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, s = (t, e) => {
6
6
  for (var n in e || (e = {}))
7
- y.call(e, n) && s(t, n, e[n]);
7
+ y.call(e, n) && o(t, n, e[n]);
8
8
  if (i)
9
9
  for (var n of i(e))
10
- f.call(e, n) && s(t, n, e[n]);
10
+ f.call(e, n) && o(t, n, e[n]);
11
11
  return t;
12
- }, l = (t, e) => d(t, m(e));
13
- import * as o from "three";
14
- import { getRaycasterByNdcPosition as g } from "./getRaycasterByNdcPosition.js";
15
- import { getFiveModel as p } from "./getFiveModel.js";
16
- function j(t, e) {
17
- const n = g(t, e);
18
- return R(t, n);
12
+ }, a = (t, e) => u(t, d(e));
13
+ import * as r from "three";
14
+ import { getRaycasterByNdcPosition as m } from "./getRaycasterByNdcPosition.js";
15
+ function w(t, e) {
16
+ const n = m(t, e);
17
+ return g(t, n);
19
18
  }
20
- function R(t, e) {
19
+ function g(t, e) {
21
20
  var n;
22
- return (n = B(t, e)) != null ? n : I(e);
21
+ return (n = p(t, e)) != null ? n : R(e);
23
22
  }
24
- function I(t) {
25
- const n = new o.Vector3().addVectors(
23
+ function R(t) {
24
+ const n = new r.Vector3().addVectors(
26
25
  t.ray.origin,
27
26
  t.ray.direction.clone().normalize().multiplyScalar(3)
28
- ), r = t.ray.direction.clone().negate();
27
+ ), c = t.ray.direction.clone().negate();
29
28
  return {
30
29
  distance: 3,
31
30
  point: n,
32
- object: new o.Object3D(),
33
- face: new o.Face3(0, 0, 0, r),
31
+ object: new r.Object3D(),
32
+ face: new r.Face3(0, 0, 0, c),
34
33
  raycaster: t,
35
34
  isVirtual: !0
36
35
  };
37
36
  }
38
- function B(t, e) {
39
- const c = p(t).intersectRaycaster(e)[0];
37
+ function p(t, e) {
38
+ const c = t.model.intersectRaycaster(e)[0];
40
39
  if (c)
41
- return l(a({}, c), { raycaster: e, isVirtual: !1 });
40
+ return a(s({}, c), { raycaster: e, isVirtual: !1 });
42
41
  }
43
42
  export {
44
- j as getIntersectByNdcPosition,
45
- R as getIntersectByRaycaster
43
+ w as getIntersectByNdcPosition,
44
+ g as getIntersectByRaycaster
46
45
  };
@@ -1,10 +1,6 @@
1
- function r(n, o) {
2
- console.warn(`⛔ ==> [${n}]: ${o}`);
3
- }
4
- function c(n, o) {
5
- console.warn(`🚫 ==> [${n}]: ${o}`);
1
+ function n(o, r) {
2
+ console.warn(`🚫 ==> [${o}]: ${r}`);
6
3
  }
7
4
  export {
8
- c as logError,
9
- r as logWarning
5
+ n as logError
10
6
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.41.1-alpha.0",
3
+ "%c %c@realsee/dnalogel %cv3.41.2",
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",
@@ -4,9 +4,8 @@ var i = (s, t, e) => (p(s, typeof t != "symbol" ? t + "" : t, e), e);
4
4
  import { anyPositionToVector3 as f } from "./positionToVector3.js";
5
5
  import * as d from "three";
6
6
  import { vector3ToScreen as y } from "./five/vector3ToScreen.js";
7
- import { getFiveModel as m } from "./five/getFiveModel.js";
8
7
  const l = "LightTagContainer_shgjakdhwakjdhsja";
9
- class v {
8
+ class m {
10
9
  constructor(t, e, n) {
11
10
  i(this, "container");
12
11
  i(this, "visible", !1);
@@ -28,7 +27,7 @@ class v {
28
27
  if (this.visible && this.five.state.mode !== "Panorama") {
29
28
  const e = new d.Raycaster();
30
29
  e.set(this.five.camera.position, this.transformedPosition.clone().sub(this.five.camera.position));
31
- const n = (t = m(this.five).intersectRaycaster(e)) == null ? void 0 : t[0];
30
+ const n = (t = this.five.model.intersectRaycaster(e)) == null ? void 0 : t[0];
32
31
  (n == null ? void 0 : n.distance) > this.transformedPosition.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");
33
32
  }
34
33
  });
@@ -44,13 +43,13 @@ class v {
44
43
  this.visible = !1, t != null && t.withAnimation ? this.container.style.transition = "opacity 0.2s linear" : this.container.style.transition = "", this.container.style.opacity = "0", this.container.style.pointerEvents = "none";
45
44
  }
46
45
  enable() {
47
- var n, o, a, h;
46
+ var n, o, r, h;
48
47
  if (this.enabled)
49
48
  return;
50
49
  this.enabled = !0, this.wrapper || (this.wrapper = (o = (n = this.config.wrapper) != null ? n : document.getElementById(l)) != null ? o : (() => {
51
- const r = document.createElement("div");
52
- return r.id = l, r.style.position = "absolute", r.style.top = "0", r.style.left = "0", r.style.width = "100%", r.style.height = "100%", r.style.pointerEvents = "none", r;
53
- })(), (a = this.five.getElement()) != null && a.parentElement.contains(this.wrapper) || (h = this.five.getElement()) == null || h.parentElement.appendChild(this.wrapper)), this.wrapper.appendChild(this.container);
50
+ const a = document.createElement("div");
51
+ return a.id = l, a.style.position = "absolute", a.style.top = "0", a.style.left = "0", a.style.width = "100%", a.style.height = "100%", a.style.pointerEvents = "none", a;
52
+ })(), (r = this.five.getElement()) != null && r.parentElement.contains(this.wrapper) || (h = this.five.getElement()) == null || h.parentElement.appendChild(this.wrapper)), this.wrapper.appendChild(this.container);
54
53
  let t = !1;
55
54
  const e = () => {
56
55
  t || (t = !0, this.five.ready().then(() => {
@@ -69,9 +68,9 @@ class v {
69
68
  this.transformedPosition = this.originPosition.clone().applyMatrix4(t), this.onCameraUpdate();
70
69
  }
71
70
  }
72
- function E(s, t, e) {
73
- return new v(s, t, e);
71
+ function w(s, t, e) {
72
+ return new m(s, t, e);
74
73
  }
75
74
  export {
76
- E as tag
75
+ w as tag
77
76
  };
@@ -1,5 +1,5 @@
1
1
  import anime from 'animejs';
2
- import type * as THREE from 'three';
2
+ import * as THREE from 'three';
3
3
  interface BlinkAnimeOptions extends anime.AnimeParams {
4
4
  updateRender?: () => any;
5
5
  /**
@@ -1,99 +1,106 @@
1
1
  var R = Object.defineProperty;
2
2
  var T = Object.getOwnPropertySymbols;
3
3
  var L = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
4
- var H = (a, t, r) => t in a ? R(a, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : a[t] = r, E = (a, t) => {
5
- for (var r in t || (t = {}))
6
- L.call(t, r) && H(a, r, t[r]);
4
+ var o = (l, r, a) => r in l ? R(l, r, { enumerable: !0, configurable: !0, writable: !0, value: a }) : l[r] = a, M = (l, r) => {
5
+ for (var a in r || (r = {}))
6
+ L.call(r, a) && o(l, a, r[a]);
7
7
  if (T)
8
- for (var r of T(t))
9
- x.call(t, r) && H(a, r, t[r]);
10
- return a;
8
+ for (var a of T(r))
9
+ x.call(r, a) && o(l, a, r[a]);
10
+ return l;
11
11
  };
12
12
  import D from "animejs";
13
- import { toArray as g } from "../util.js";
14
- const s = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map();
15
- function k(a) {
16
- g(a).forEach((r) => {
17
- var l, i;
18
- s.has(r) || (r instanceof HTMLElement ? s.set(r, {
19
- opacity: r.style.opacity === "" ? void 0 : r.style.opacity,
13
+ import * as d from "three";
14
+ import { toArray as h } from "../util.js";
15
+ const f = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map();
16
+ function k(l) {
17
+ h(l).forEach((a) => {
18
+ var e, y, t;
19
+ f.has(a) || (a instanceof HTMLElement ? f.set(a, {
20
+ opacity: a.style.opacity === "" ? void 0 : a.style.opacity,
20
21
  visible: {
21
- display: r.style.display,
22
- visibility: r.style.visibility
22
+ display: a.style.display,
23
+ visibility: a.style.visibility
23
24
  }
24
- }) : r.isObject3D && s.set(r, {
25
- opacity: (l = r.material) == null ? void 0 : l.opacity,
26
- transparent: (i = r.material) == null ? void 0 : i.transparent,
27
- visible: r.visible
28
- }));
25
+ }) : a.isObject3D && (a.material ? a.material instanceof d.ShaderMaterial ? f.set(a, {
26
+ opacity: (e = a.material.uniforms.opacity) == null ? void 0 : e.value,
27
+ transparent: a.material.transparent,
28
+ visible: a.visible
29
+ }) : f.set(a, {
30
+ opacity: (y = a.material) == null ? void 0 : y.opacity,
31
+ transparent: (t = a.material) == null ? void 0 : t.transparent,
32
+ visible: a.visible
33
+ }) : f.set(a, {
34
+ visible: a.visible
35
+ })));
29
36
  });
30
37
  }
31
- function S(a) {
32
- g(a).forEach((r) => {
33
- const l = s.get(r);
34
- l && (r instanceof HTMLElement && (r.style.opacity = l.opacity === void 0 ? "" : l.opacity, r.style.display = l.visible.display, r.style.visibility = l.visible.visibility), r.isObject3D && (r.visible = l.visible, r.material && (r.material.opacity = l.opacity, r.material.transparent = l.transparent)), s.delete(r));
38
+ function H(l) {
39
+ h(l).forEach((a) => {
40
+ const e = f.get(a);
41
+ e && (a instanceof HTMLElement && (a.style.opacity = e.opacity === void 0 ? "" : e.opacity, a.style.display = e.visible.display, a.style.visibility = e.visible.visibility), a.isObject3D && (a.visible = e.visible, a.material && (a.material instanceof d.ShaderMaterial ? (a.material.uniforms.opacity && (a.material.uniforms.opacity.value = e.opacity), a.material.transparent = e.transparent) : (a.material.opacity = e.opacity, a.material.transparent = e.transparent))), f.delete(a));
35
42
  });
36
43
  }
37
- function w(a, t) {
38
- var p;
39
- const r = (p = t == null ? void 0 : t.traverseTHREEObject) != null ? p : !0;
40
- let l = g(a);
41
- const i = [];
42
- l.forEach((y) => {
43
- y instanceof HTMLElement ? i.push(y) : y.isObject3D && (r ? (i.push(y), y.traverse((c) => {
44
- c && i.push(c);
45
- })) : i.push(y));
46
- }), l = [...new Set(i)], k(l);
47
- const e = D(E({
48
- targets: l,
44
+ function m(l, r) {
45
+ var E;
46
+ const a = (E = r == null ? void 0 : r.traverseTHREEObject) != null ? E : !0;
47
+ let e = h(l);
48
+ const y = [];
49
+ e.forEach((i) => {
50
+ i instanceof HTMLElement ? y.push(i) : i.isObject3D && (a ? (y.push(i), i.traverse((c) => {
51
+ c && y.push(c);
52
+ })) : y.push(i));
53
+ }), e = [...new Set(y.filter(Boolean))], k(e);
54
+ const t = D(M({
55
+ targets: e,
49
56
  duration: 300,
50
57
  easing: "linear",
51
58
  direction: "alternate",
52
59
  loop: 4,
53
60
  autoplay: !1,
54
- update: (y) => {
61
+ update: (i) => {
55
62
  var c;
56
- y.animatables.forEach((d) => {
57
- var M;
58
- const u = d.target;
59
- if (!s.has(u))
63
+ i.animatables.forEach((p) => {
64
+ var S;
65
+ const s = p.target;
66
+ if (!f.has(s))
60
67
  return;
61
- const h = Number((M = s.get(u).opacity) != null ? M : 1) * (100 - y.progress) / 100;
62
- u instanceof HTMLElement ? u.style.opacity = String(h) : u.material && (u.material.opacity = h, u.material.transparent = !0);
63
- }), (c = t == null ? void 0 : t.updateRender) == null || c.call(t);
68
+ const g = Number((S = f.get(s).opacity) != null ? S : 1) * (100 - i.progress) / 100;
69
+ s instanceof HTMLElement ? s.style.opacity = String(g) : s.material && (s.material instanceof d.ShaderMaterial ? (s.material.uniforms.opacity && (s.material.uniforms.opacity.value = g), s.material.transparent = !0) : (s.material.opacity = g, s.material.transparent = !0));
70
+ }), (c = r == null ? void 0 : r.updateRender) == null || c.call(r);
64
71
  }
65
- }, t));
66
- e.preComplete = () => {
67
- e != null && e.completed || (e == null || e.pause(), S(l), setTimeout(() => {
68
- var y;
69
- return (y = t == null ? void 0 : t.updateRender) == null ? void 0 : y.call(t);
72
+ }, r));
73
+ t.preComplete = () => {
74
+ t != null && t.completed || (t == null || t.pause(), H(e), setTimeout(() => {
75
+ var i;
76
+ return (i = r == null ? void 0 : r.updateRender) == null ? void 0 : i.call(r);
70
77
  }));
71
78
  };
72
- const f = v.get(a);
73
- return f == null || f.pause(), f == null || f.seek(0), v.set(a, e), e.play(), e.finished.then(() => {
74
- var y;
75
- S(l), setTimeout(() => {
76
- v.get(a) === e && v.delete(a);
77
- }, 1e3), (y = t == null ? void 0 : t.updateRender) == null || y.call(t);
78
- }), e;
79
+ const u = v.get(l);
80
+ return u == null || u.pause(), u == null || u.seek(0), v.set(l, t), t.play(), t.finished.then(() => {
81
+ var i;
82
+ H(e), setTimeout(() => {
83
+ v.get(l) === t && v.delete(l);
84
+ }, 1e3), (i = r == null ? void 0 : r.updateRender) == null || i.call(r);
85
+ }), t;
79
86
  }
80
- function z(a, t) {
81
- return w(a, E({
82
- update: (r) => {
83
- var l;
84
- r.animatables.forEach((i) => {
85
- var c, d;
86
- const e = i.target;
87
- if (!s.has(e))
87
+ function q(l, r) {
88
+ return m(l, M({
89
+ update: (a) => {
90
+ var e;
91
+ a.animatables.forEach((y) => {
92
+ var c, p;
93
+ const t = y.target;
94
+ if (!f.has(t))
88
95
  return;
89
- const f = s.get(e), y = ((d = (c = f == null ? void 0 : f.opacity) != null ? c : t == null ? void 0 : t.maxOpacity) != null ? d : 1) * (r.progress / 100);
90
- e instanceof HTMLElement ? (e.style.opacity = String(y), e.style.visibility = "visible") : e.isObject3D && (g(a).includes(e) && (e.visible = !0), e.material && (e.material.opacity = y, e.material.transparent = !0));
91
- }), (l = t == null ? void 0 : t.updateRender) == null || l.call(t);
96
+ const u = f.get(t), i = ((p = (c = u == null ? void 0 : u.opacity) != null ? c : r == null ? void 0 : r.maxOpacity) != null ? p : 1) * (a.progress / 100);
97
+ t instanceof HTMLElement ? (t.style.opacity = String(i), t.style.visibility = "visible") : t.isObject3D && (h(l).includes(t) && (t.visible = !0), t.material && (t.material instanceof d.ShaderMaterial ? (t.material.uniforms.opacity && (t.material.uniforms.opacity.value = i), t.material.transparent = !0) : (t.material.opacity = i, t.material.transparent = !0)));
98
+ }), (e = r == null ? void 0 : r.updateRender) == null || e.call(r);
92
99
  }
93
- }, t));
100
+ }, r));
94
101
  }
95
102
  export {
96
103
  v as animeMap,
97
- w as blink,
98
- z as reblink
104
+ m as blink,
105
+ q as reblink
99
106
  };
@@ -1,24 +1,23 @@
1
- var p = Object.defineProperty, R = Object.defineProperties;
2
- var u = Object.getOwnPropertyDescriptors;
3
- var c = Object.getOwnPropertySymbols;
4
- var x = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
5
- var n = (e, t, s) => t in e ? p(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, a = (e, t) => {
1
+ var f = Object.defineProperty, R = Object.defineProperties;
2
+ var p = Object.getOwnPropertyDescriptors;
3
+ var n = Object.getOwnPropertySymbols;
4
+ var u = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
5
+ var o = (e, t, s) => t in e ? f(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, a = (e, t) => {
6
6
  for (var s in t || (t = {}))
7
- x.call(t, s) && n(e, s, t[s]);
8
- if (c)
9
- for (var s of c(t))
10
- F.call(t, s) && n(e, s, t[s]);
7
+ u.call(t, s) && o(e, s, t[s]);
8
+ if (n)
9
+ for (var s of n(t))
10
+ x.call(t, s) && o(e, s, t[s]);
11
11
  return e;
12
- }, i = (e, t) => R(e, u(t));
13
- import * as d from "three";
14
- import { getFiveModel as g } from "../five/getFiveModel.js";
15
- function C(e, t) {
16
- const s = g(e), { x: m, y: l } = t, f = m * 2 - 1, y = l * 2 - 1, r = new d.Raycaster();
17
- r.setFromCamera({ x: f, y }, e.camera);
18
- const o = s.intersectRaycaster(r)[0];
19
- if (o)
20
- return i(a({}, o), { raycaster: r, isVirtual: !1 });
12
+ }, i = (e, t) => R(e, p(t));
13
+ import * as E from "three";
14
+ function g(e, t) {
15
+ const { x: s, y: m } = t, l = s * 2 - 1, y = m * 2 - 1, r = new E.Raycaster();
16
+ r.setFromCamera({ x: l, y }, e.camera);
17
+ const c = e.model.intersectRaycaster(r)[0];
18
+ if (c)
19
+ return i(a({}, c), { raycaster: r, isVirtual: !1 });
21
20
  }
22
21
  export {
23
- C as getIntersectFromRelativePosition
22
+ g as getIntersectFromRelativePosition
24
23
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.41.1-alpha.0",
3
+ "version": "3.41.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",
package/README.md DELETED
@@ -1,116 +0,0 @@
1
- <p align="center">
2
- <a href="https://realsee.js.org/"><img src="https://vrlab-public.ljcdn.com/common/file/web/ea031fa5-ad82-46b3-86c8-7b20ec1e635a.jpg" width="60" /></a>
3
- </p>
4
-
5
-
6
- <p align="center">
7
- <a href="https://www.npmjs.com/package/@realsee/dnalogel">
8
- <img src="https://img.shields.io/npm/v/@realsee/dnalogel.svg" alt="npm version" >
9
- </a>
10
- <a href="https://packagephobia.now.sh/result?p=@realsee/dnalogel">
11
- <img src="https://packagephobia.now.sh/badge?p=@realsee/dnalogel" alt="install size" >
12
- </a>
13
- <a href="https://github.com/realsee-developer/dnalogel/blob/main/TERMS.txt">
14
- <img src="https://img.shields.io/npm/l/@realsee/dnalogel.svg" alt="license">
15
- </a>
16
- </p>
17
-
18
- <h1 align="center">@realsee/dnalogel</h1>
19
-
20
- # 👀 Overview
21
-
22
- @realsee/dnalogel 将 [如视(realsee.com)](https://realsee.com) **VR 空间交互** 常用能力沉淀,并以 `Five Plugins` 形式进行抽象。
23
- 结合[如视三维空间重建渲染引擎 Five](https://open-platform.realsee.com/developer/docs/five/intro/)
24
- 与 [如视开放 API](https://open-platform.realsee.com/developer/openapi/?id=1001) ,可以制作出丰富多彩的三维空间应用。不论是经过线上环境千锤百炼的刚需功能,还是灵感一现的炫酷尝试,所有已经落地的功能我们均毫无保留的开源至github [realsee-developer/dnalogel](https://github.com/realsee-developer/dnalogel) 。
25
-
26
- # 🔨 Usage
27
-
28
- **1、安装**
29
-
30
- ```bash
31
- npm install @realsee/dnalogel
32
- ```
33
-
34
- ```bash
35
- yarn add @realsee/dnalogel
36
- ```
37
-
38
- **2、插件注册**
39
-
40
- ```js
41
- import { Five } from '@realsee/five'
42
- import { Plugin } from '@realsee/dnalogel'
43
- const five = new Five({
44
- plugins: [[Plugin, 'PluginName', initOptions]],
45
- })
46
- ```
47
-
48
- **3、插件方法使用**
49
-
50
- ```js
51
- // 不同插件提供的方法可能存在差异,请参考各插件 API 文档
52
- five.plugins.PluginName.load(data)
53
- five.plugins.PluginName.enable()
54
- five.plugins.PluginName.disable()
55
- five.plugins.PluginName.dispose()
56
- ```
57
-
58
- **4、插件依赖数据获取**
59
-
60
- 您可以通过 [open API](https://open-platform.realsee.com/developer/open/api#/) 查看数据获取方式及相关 open API 。
61
-
62
- # 📖 Documents
63
-
64
- - [说明文档](https://open-platform.realsee.com/developer/docs/dnalogel/intro/)
65
- - [API 文档](https://open-platform.realsee.com/developer/openapi/?id=1001)
66
- - [demo 源码](https://github.com/realsee-developer/dnalogel)
67
- - [数据依赖来源:open API](https://open-platform.realsee.com/developer/openapi/?id=1001)
68
-
69
- # 💡 Preview
70
-
71
- 我们为每个插件书写了简单的效果示例,您可点击预览:
72
- [@realsee/dnalogel showcase](https://realsee-developer.github.io/dnalogel/)
73
-
74
- # 🧾 Lists
75
-
76
- - 🔌 ModelViewPlugin:模型小窗插件
77
- - 🔌 PanoFloorplanRadarPlugin:全景户型雷达图插件
78
- - 🔌 ModelRoomLabelPlugin:模型态房屋标签插件
79
- - 🔌 TopviewFloorplanPlugin:俯视模型户型图插件
80
- - 🔌 ModelChassisCompassPlugin:模型底盘指南针插件
81
- - 🔌 ModelEntryDoorGuidePlugin:模型入户门引导插件
82
- - 🔌 CSS3DRenderPlugin:CSS3D渲染插件
83
- - 🔌 CameraMovementPlugin:相机运镜插件
84
- - 🔌 ModelFloorplanPlugin:模型户型图插件
85
- - 🔌 PanoRulerPlugin:全景标尺插件
86
- - 🔌 PanoCompassPlugin:全景指南针插件
87
- - 其他插件持续更新中...
88
-
89
- # 可能遇到的问题
90
-
91
- 1. webpack打包出现以下错误
92
-
93
- ```bash
94
- Module not found: Error: Can't resolve '@realsee/five/line' in 'xxx/node_modules/@realsee/dnalogel/libs'
95
- Did you mean 'index.js'?
96
- BREAKING CHANGE: The request '@realsee/five/line' failed to resolve only because it was resolved as fully specified
97
- (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
98
- The extension in the request is mandatory for it to be fully specified.
99
- Add the extension to the request.
100
- ```
101
-
102
- 解决方案:在webpack配置里加以下rule
103
- 参考:[resolvefullyspecified](https://webpack.js.org/configuration/module/#resolvefullyspecified)
104
-
105
- ```js
106
- {
107
- test: /\.m?js$/,
108
- resolve: {
109
- fullySpecified: false, // disable the behaviour
110
- },
111
- },
112
- ```
113
-
114
- # License
115
-
116
- [TERMS](https://github.com/realsee-developer/dnalogel/blob/main/TERMS.txt)
@@ -1,2 +0,0 @@
1
- import { Five } from '@realsee/five';
2
- export declare function getFiveModel(five: Five): import("@realsee/five").Model;
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.
File without changes
@@ -1,127 +0,0 @@
1
- :root {
2
- --light-hl-0: #795E26;
3
- --dark-hl-0: #DCDCAA;
4
- --light-hl-1: #000000;
5
- --dark-hl-1: #D4D4D4;
6
- --light-hl-2: #A31515;
7
- --dark-hl-2: #CE9178;
8
- --light-hl-3: #AF00DB;
9
- --dark-hl-3: #C586C0;
10
- --light-hl-4: #001080;
11
- --dark-hl-4: #9CDCFE;
12
- --light-hl-5: #0000FF;
13
- --dark-hl-5: #569CD6;
14
- --light-hl-6: #0070C1;
15
- --dark-hl-6: #4FC1FF;
16
- --light-hl-7: #008000;
17
- --dark-hl-7: #6A9955;
18
- --light-hl-8: #000000;
19
- --dark-hl-8: #C8C8C8;
20
- --light-hl-9: #811F3F;
21
- --dark-hl-9: #D16969;
22
- --light-hl-10: #EE0000;
23
- --dark-hl-10: #D7BA7D;
24
- --light-hl-11: #000000;
25
- --dark-hl-11: #D7BA7D;
26
- --light-hl-12: #EE0000;
27
- --dark-hl-12: #DCDCAA;
28
- --light-hl-13: #098658;
29
- --dark-hl-13: #B5CEA8;
30
- --light-hl-14: #267F99;
31
- --dark-hl-14: #4EC9B0;
32
- --light-code-background: #FFFFFF;
33
- --dark-code-background: #1E1E1E;
34
- }
35
-
36
- @media (prefers-color-scheme: light) { :root {
37
- --hl-0: var(--light-hl-0);
38
- --hl-1: var(--light-hl-1);
39
- --hl-2: var(--light-hl-2);
40
- --hl-3: var(--light-hl-3);
41
- --hl-4: var(--light-hl-4);
42
- --hl-5: var(--light-hl-5);
43
- --hl-6: var(--light-hl-6);
44
- --hl-7: var(--light-hl-7);
45
- --hl-8: var(--light-hl-8);
46
- --hl-9: var(--light-hl-9);
47
- --hl-10: var(--light-hl-10);
48
- --hl-11: var(--light-hl-11);
49
- --hl-12: var(--light-hl-12);
50
- --hl-13: var(--light-hl-13);
51
- --hl-14: var(--light-hl-14);
52
- --code-background: var(--light-code-background);
53
- } }
54
-
55
- @media (prefers-color-scheme: dark) { :root {
56
- --hl-0: var(--dark-hl-0);
57
- --hl-1: var(--dark-hl-1);
58
- --hl-2: var(--dark-hl-2);
59
- --hl-3: var(--dark-hl-3);
60
- --hl-4: var(--dark-hl-4);
61
- --hl-5: var(--dark-hl-5);
62
- --hl-6: var(--dark-hl-6);
63
- --hl-7: var(--dark-hl-7);
64
- --hl-8: var(--dark-hl-8);
65
- --hl-9: var(--dark-hl-9);
66
- --hl-10: var(--dark-hl-10);
67
- --hl-11: var(--dark-hl-11);
68
- --hl-12: var(--dark-hl-12);
69
- --hl-13: var(--dark-hl-13);
70
- --hl-14: var(--dark-hl-14);
71
- --code-background: var(--dark-code-background);
72
- } }
73
-
74
- :root[data-theme='light'] {
75
- --hl-0: var(--light-hl-0);
76
- --hl-1: var(--light-hl-1);
77
- --hl-2: var(--light-hl-2);
78
- --hl-3: var(--light-hl-3);
79
- --hl-4: var(--light-hl-4);
80
- --hl-5: var(--light-hl-5);
81
- --hl-6: var(--light-hl-6);
82
- --hl-7: var(--light-hl-7);
83
- --hl-8: var(--light-hl-8);
84
- --hl-9: var(--light-hl-9);
85
- --hl-10: var(--light-hl-10);
86
- --hl-11: var(--light-hl-11);
87
- --hl-12: var(--light-hl-12);
88
- --hl-13: var(--light-hl-13);
89
- --hl-14: var(--light-hl-14);
90
- --code-background: var(--light-code-background);
91
- }
92
-
93
- :root[data-theme='dark'] {
94
- --hl-0: var(--dark-hl-0);
95
- --hl-1: var(--dark-hl-1);
96
- --hl-2: var(--dark-hl-2);
97
- --hl-3: var(--dark-hl-3);
98
- --hl-4: var(--dark-hl-4);
99
- --hl-5: var(--dark-hl-5);
100
- --hl-6: var(--dark-hl-6);
101
- --hl-7: var(--dark-hl-7);
102
- --hl-8: var(--dark-hl-8);
103
- --hl-9: var(--dark-hl-9);
104
- --hl-10: var(--dark-hl-10);
105
- --hl-11: var(--dark-hl-11);
106
- --hl-12: var(--dark-hl-12);
107
- --hl-13: var(--dark-hl-13);
108
- --hl-14: var(--dark-hl-14);
109
- --code-background: var(--dark-code-background);
110
- }
111
-
112
- .hl-0 { color: var(--hl-0); }
113
- .hl-1 { color: var(--hl-1); }
114
- .hl-2 { color: var(--hl-2); }
115
- .hl-3 { color: var(--hl-3); }
116
- .hl-4 { color: var(--hl-4); }
117
- .hl-5 { color: var(--hl-5); }
118
- .hl-6 { color: var(--hl-6); }
119
- .hl-7 { color: var(--hl-7); }
120
- .hl-8 { color: var(--hl-8); }
121
- .hl-9 { color: var(--hl-9); }
122
- .hl-10 { color: var(--hl-10); }
123
- .hl-11 { color: var(--hl-11); }
124
- .hl-12 { color: var(--hl-12); }
125
- .hl-13 { color: var(--hl-13); }
126
- .hl-14 { color: var(--hl-14); }
127
- pre, code { background: var(--code-background); }