@realsee/dnalogel 2.28.0-dev.0 → 2.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (408) hide show
  1. package/dist/AreaMakerPlugin/Controller.d.ts +94 -0
  2. package/dist/AreaMakerPlugin/index.d.ts +4 -0
  3. package/dist/AreaMakerPlugin/typing.d.ts +148 -0
  4. package/dist/AreaMakerPlugin/utils/Item.d.ts +114 -0
  5. package/dist/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
  6. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
  7. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -4
  8. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +2 -0
  9. package/dist/base/BasePluginWithData.d.ts +1 -1
  10. package/dist/components/AreaLabel/Assets/roomLabelBg.d.ts +1 -0
  11. package/dist/floorplan/index.d.ts +0 -1
  12. package/dist/floorplan/utils/correctFiveState.d.ts +2 -0
  13. package/dist/index.cjs.js +67 -67
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.js +6898 -7187
  16. package/dist/index.umd.js +60 -60
  17. package/dist/shared-utils/index.d.ts +1 -0
  18. package/dist/shared-utils/math/planimetry.d.ts +1 -1
  19. package/dist/shared-utils/three/core/Object3D.d.ts +8 -0
  20. package/dist/shared-utils/three/index.d.ts +2 -0
  21. package/dist/shared-utils/three/loadVideoTexture.d.ts +1 -1
  22. package/dist/shared-utils/three/objects/LineSegments.d.ts +9 -0
  23. package/libs/AreaMakerPlugin/Controller.d.ts +94 -0
  24. package/libs/AreaMakerPlugin/Controller.js +336 -0
  25. package/libs/AreaMakerPlugin/index.d.ts +4 -0
  26. package/libs/AreaMakerPlugin/index.js +37 -0
  27. package/libs/AreaMakerPlugin/typing.d.ts +148 -0
  28. package/libs/AreaMakerPlugin/utils/Item.d.ts +114 -0
  29. package/libs/AreaMakerPlugin/utils/Item.js +263 -0
  30. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +42 -39
  31. package/libs/GuideLinePlugin/utils/createLineGeometry.d.ts +0 -5
  32. package/libs/GuideLinePlugin/utils/createLineGeometry.js +13 -13
  33. package/libs/PanoTagPlugin/controller/TagRender.js +19 -18
  34. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
  35. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +2 -4
  36. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +2 -0
  37. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +10 -10
  38. package/libs/base/BasePlugin.js +1 -1
  39. package/libs/base/BasePluginWithData.d.ts +1 -1
  40. package/libs/components/AreaLabel/Assets/roomLabelBg.d.ts +1 -0
  41. package/libs/components/AreaLabel/Assets/roomLabelBg.js +4 -0
  42. package/libs/components/AreaLabel/LabelItem.js +125 -0
  43. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +49 -48
  44. package/libs/floorplan/index.d.ts +0 -1
  45. package/libs/floorplan/utils/correctFiveState.d.ts +2 -0
  46. package/libs/floorplan/utils/correctFiveState.js +28 -28
  47. package/libs/index.d.ts +1 -0
  48. package/libs/index.js +120 -122
  49. package/libs/shared-utils/device.js +0 -1
  50. package/libs/shared-utils/five/changeMode.js +32 -29
  51. package/libs/shared-utils/index.d.ts +1 -0
  52. package/libs/shared-utils/index.js +27 -21
  53. package/libs/shared-utils/logger.js +1 -1
  54. package/libs/shared-utils/math/planimetry.d.ts +1 -1
  55. package/libs/shared-utils/math/planimetry.js +36 -29
  56. package/libs/shared-utils/three/core/Object3D.d.ts +8 -0
  57. package/libs/shared-utils/three/core/Object3D.js +22 -0
  58. package/libs/shared-utils/three/index.d.ts +2 -0
  59. package/libs/shared-utils/three/loadVideoTexture.d.ts +1 -1
  60. package/libs/shared-utils/three/loadVideoTexture.js +6 -6
  61. package/libs/shared-utils/three/objects/LineSegments.d.ts +9 -0
  62. package/libs/shared-utils/three/objects/LineSegments.js +9 -0
  63. package/libs/vendor/svelte/internal/index.js +79 -85
  64. package/package.json +2 -2
  65. package/dist/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +0 -114
  66. package/dist/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +0 -23
  67. package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +0 -1
  68. package/dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +0 -1
  69. package/dist/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +0 -1
  70. package/dist/floorplan/FloorplanRoomsPlugin/Controller.d.ts +0 -40
  71. package/dist/floorplan/FloorplanRoomsPlugin/index.d.ts +0 -6
  72. package/dist/floorplan/FloorplanRoomsPlugin/typing.d.ts +0 -60
  73. package/docs/.nojekyll +0 -1
  74. package/docs/assets/highlight.css +0 -120
  75. package/docs/assets/main.js +0 -58
  76. package/docs/assets/search.js +0 -1
  77. package/docs/assets/style.css +0 -1367
  78. package/docs/classes/CSS3DRender.html +0 -770
  79. package/docs/classes/CruisePluginController.html +0 -669
  80. package/docs/classes/GuideLineItem.GuideLineItem.html +0 -488
  81. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +0 -789
  82. package/docs/classes/Magnifier.html +0 -477
  83. package/docs/classes/ModelRoomLabelController.html +0 -395
  84. package/docs/classes/Object3DHelperController.html +0 -637
  85. package/docs/classes/PaintBrush.html +0 -499
  86. package/docs/classes/PanoMeasurePluginLine.html +0 -519
  87. package/docs/classes/PanoMeasurePluginModel.html +0 -568
  88. package/docs/classes/PanoMeasurePluginPoint.html +0 -359
  89. package/docs/classes/PanoMeasurePluginPolyline.html +0 -564
  90. package/docs/classes/PanoTagPluginController.html +0 -1087
  91. package/docs/classes/Util.BetterTween.html +0 -409
  92. package/docs/classes/Util.Interval.html +0 -425
  93. package/docs/classes/Util.Magnifier.html +0 -496
  94. package/docs/classes/Util.PointDomHelper.html +0 -400
  95. package/docs/classes/Util.PointHelper.html +0 -391
  96. package/docs/classes/Util.PointSelectorHelper.html +0 -447
  97. package/docs/classes/Util.Rectangle.html +0 -448
  98. package/docs/enums/CameraMovementEffect.html +0 -307
  99. package/docs/enums/ContentType.html +0 -443
  100. package/docs/enums/DIRECTION.html +0 -317
  101. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +0 -317
  102. package/docs/enums/DimensionType.html +0 -307
  103. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +0 -310
  104. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +0 -317
  105. package/docs/enums/PaintBrushTypeEnum.html +0 -310
  106. package/docs/enums/PointType.html +0 -307
  107. package/docs/enums/Rotation.html +0 -314
  108. package/docs/functions/CSS3DRenderPlugin.html +0 -285
  109. package/docs/functions/CameraMovementPlugin.html +0 -290
  110. package/docs/functions/CruisePlugin.html +0 -287
  111. package/docs/functions/FloorplanRoomsPlugin.html +0 -285
  112. package/docs/functions/GuideLinePlugin.html +0 -287
  113. package/docs/functions/ItemLabelPlugin.html +0 -287
  114. package/docs/functions/MapviewFloorplanPlugin.html +0 -287
  115. package/docs/functions/ModelChassisCompassPlugin.html +0 -290
  116. package/docs/functions/ModelEntryDoorGuidePlugin.html +0 -290
  117. package/docs/functions/ModelFloorplanPlugin.html +0 -287
  118. package/docs/functions/ModelItemLabelPlugin.html +0 -287
  119. package/docs/functions/ModelRoomLabelPlugin.html +0 -285
  120. package/docs/functions/ModelTVVideoPlugin.html +0 -287
  121. package/docs/functions/ModelViewPlugin.html +0 -290
  122. package/docs/functions/Object3DHelperPlugin.html +0 -285
  123. package/docs/functions/PanoCompassPlugin.html +0 -287
  124. package/docs/functions/PanoCursorRaycasterPlugin.html +0 -291
  125. package/docs/functions/PanoDoorLabelPlugin.html +0 -287
  126. package/docs/functions/PanoFloorplanRadarPlugin.html +0 -287
  127. package/docs/functions/PanoMeasurePlugin.html +0 -287
  128. package/docs/functions/PanoRulerPlugin.html +0 -290
  129. package/docs/functions/PanoRulerProPlugin.html +0 -290
  130. package/docs/functions/PanoSpatialTagPlugin.html +0 -290
  131. package/docs/functions/PanoTagPlugin.html +0 -292
  132. package/docs/functions/PanoVideoPlugin.html +0 -296
  133. package/docs/functions/PipelinePlugin.html +0 -285
  134. package/docs/functions/TopviewFloorplanPlugin.html +0 -287
  135. package/docs/functions/Util.absoluteUrl.html +0 -319
  136. package/docs/functions/Util.getCoordsFromClient.html +0 -321
  137. package/docs/functions/Util.getCoordsFromElement.html +0 -321
  138. package/docs/functions/Util.getFrameTime.html +0 -313
  139. package/docs/functions/Util.getIntersectFromRelativePosition.html +0 -321
  140. package/docs/functions/Util.getRaycasterFromFivePointer.html +0 -321
  141. package/docs/functions/Util.isAbsoluteURL.html +0 -314
  142. package/docs/functions/Util.isModelLike.html +0 -314
  143. package/docs/functions/Util.isNil.html +0 -322
  144. package/docs/functions/Util.isPanoramaLike.html +0 -314
  145. package/docs/functions/Util.nextFrame.html +0 -327
  146. package/docs/functions/Util.notNil.html +0 -322
  147. package/docs/functions/Util.requestAnimationFrameInterval.html +0 -343
  148. package/docs/functions/Util.tweenProgress.html +0 -316
  149. package/docs/functions/Util.uuid.html +0 -312
  150. package/docs/functions/pluginFlag.html +0 -285
  151. package/docs/index.html +0 -351
  152. package/docs/interfaces/AddTagConfig.html +0 -300
  153. package/docs/interfaces/CSS3DRenderPluginEventMap.html +0 -446
  154. package/docs/interfaces/CSS3DRenderPluginState.html +0 -322
  155. package/docs/interfaces/CameraMovementPluginExportType.html +0 -355
  156. package/docs/interfaces/CruisePluginTypes.Config.html +0 -356
  157. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +0 -358
  158. package/docs/interfaces/CruisePluginTypes.EventMap.html +0 -693
  159. package/docs/interfaces/CruisePluginTypes.MoveAction.html +0 -382
  160. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +0 -418
  161. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +0 -408
  162. package/docs/interfaces/CruisePluginTypes.PluginData.html +0 -348
  163. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +0 -316
  164. package/docs/interfaces/CruisePluginTypes.PluginState.html +0 -405
  165. package/docs/interfaces/EventMap.html +0 -539
  166. package/docs/interfaces/FloorplanBounding.html +0 -329
  167. package/docs/interfaces/FloorplanData.html +0 -332
  168. package/docs/interfaces/FloorplanEntrance.html +0 -357
  169. package/docs/interfaces/FloorplanExtraObject.html +0 -347
  170. package/docs/interfaces/FloorplanExtraObject3D.html +0 -336
  171. package/docs/interfaces/FloorplanFloorData.html +0 -325
  172. package/docs/interfaces/FloorplanImagePosition.html +0 -311
  173. package/docs/interfaces/FloorplanObserver.html +0 -329
  174. package/docs/interfaces/FloorplanOutlineItem.html +0 -325
  175. package/docs/interfaces/FloorplanPosition.html +0 -311
  176. package/docs/interfaces/FloorplanRoomItem.html +0 -376
  177. package/docs/interfaces/FloorplanRoomLabelItem.html +0 -317
  178. package/docs/interfaces/FloorplanServerBounding.html +0 -329
  179. package/docs/interfaces/FloorplanServerComputedData.html +0 -328
  180. package/docs/interfaces/FloorplanServerData.html +0 -311
  181. package/docs/interfaces/FloorplanServerDoorItem.html +0 -328
  182. package/docs/interfaces/FloorplanServerDoorPosition.html +0 -314
  183. package/docs/interfaces/FloorplanServerEntrance.html +0 -357
  184. package/docs/interfaces/FloorplanServerFloorData.html +0 -325
  185. package/docs/interfaces/FloorplanServerImagePosition.html +0 -311
  186. package/docs/interfaces/FloorplanServerObserver.html +0 -329
  187. package/docs/interfaces/FloorplanServerOutlineItem.html +0 -325
  188. package/docs/interfaces/FloorplanServerPosition.html +0 -311
  189. package/docs/interfaces/FloorplanServerRoomItem.html +0 -388
  190. package/docs/interfaces/FloorplanServerRoomLabelItem.html +0 -317
  191. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +0 -320
  192. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +0 -358
  193. package/docs/interfaces/GuideLinePluginType.EventMap.html +0 -522
  194. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +0 -353
  195. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +0 -344
  196. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +0 -411
  197. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +0 -343
  198. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +0 -468
  199. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +0 -340
  200. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +0 -468
  201. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +0 -305
  202. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +0 -326
  203. package/docs/interfaces/GuideLinePluginType.PluginState.html +0 -351
  204. package/docs/interfaces/GuideLinePluginType.Route.html +0 -367
  205. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +0 -349
  206. package/docs/interfaces/HelperOffset.html +0 -329
  207. package/docs/interfaces/ImagePlaneGroup.html +0 -303
  208. package/docs/interfaces/ItemLabelPluginData.html +0 -300
  209. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +0 -385
  210. package/docs/interfaces/ItemLabelPluginParametersType.html +0 -321
  211. package/docs/interfaces/MinMax.html +0 -307
  212. package/docs/interfaces/ModelChassisCompassPluginData.html +0 -307
  213. package/docs/interfaces/ModelChassisCompassPluginExportType.html +0 -343
  214. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +0 -307
  215. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +0 -314
  216. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +0 -351
  217. package/docs/interfaces/ModelItemLabelPluginData.html +0 -300
  218. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +0 -385
  219. package/docs/interfaces/ModelItemLabelPluginParametersType.html +0 -307
  220. package/docs/interfaces/ModelRoomLabelPluginData.html +0 -300
  221. package/docs/interfaces/ModelTVVideoPluginData.html +0 -321
  222. package/docs/interfaces/ModelTVVideoPluginExportType.html +0 -345
  223. package/docs/interfaces/ModelTVVideoPluginParameterType.html +0 -300
  224. package/docs/interfaces/ModelViewPluginExportType.html +0 -413
  225. package/docs/interfaces/Object3DHelperState.html +0 -314
  226. package/docs/interfaces/ObjectHelperControllers.html +0 -321
  227. package/docs/interfaces/PaintBrushAction.html +0 -360
  228. package/docs/interfaces/PaintBrushConfigs.html +0 -358
  229. package/docs/interfaces/PaintBrushState.html +0 -342
  230. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +0 -422
  231. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +0 -279
  232. package/docs/interfaces/PanoMeasureParameterType.html +0 -446
  233. package/docs/interfaces/PanoMeasurePluginLineJson.html +0 -314
  234. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +0 -311
  235. package/docs/interfaces/PanoMeasurePluginPointJson.html +0 -307
  236. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +0 -317
  237. package/docs/interfaces/PanoRulerPluginExportType.html +0 -374
  238. package/docs/interfaces/PanoRulerPluginOptions.html +0 -323
  239. package/docs/interfaces/PanoRulerPluginParameterType.html +0 -314
  240. package/docs/interfaces/PanoRulerProPluginExportType.html +0 -350
  241. package/docs/interfaces/PanoRulerProPluginOptions.html +0 -320
  242. package/docs/interfaces/PanoRulerProPluginParameterType.html +0 -307
  243. package/docs/interfaces/PanoRulerProPluginState.html +0 -314
  244. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +0 -293
  245. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +0 -282
  246. package/docs/interfaces/PanoSpatialTagPluginData.html +0 -350
  247. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +0 -332
  248. package/docs/interfaces/PanoSpatialTagPluginExportType.html +0 -428
  249. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +0 -328
  250. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +0 -349
  251. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +0 -335
  252. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +0 -328
  253. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +0 -320
  254. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +0 -338
  255. package/docs/interfaces/PanoVideoPluginType.PluginData.html +0 -311
  256. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +0 -417
  257. package/docs/interfaces/PanoVideoPluginType.PluginState.html +0 -311
  258. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +0 -346
  259. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +0 -365
  260. package/docs/interfaces/Point.html +0 -314
  261. package/docs/interfaces/Room.html +0 -321
  262. package/docs/interfaces/RoomInfo.html +0 -307
  263. package/docs/interfaces/RoomLabel.html +0 -383
  264. package/docs/interfaces/RoomRules.html +0 -282
  265. package/docs/interfaces/Rooms.html +0 -282
  266. package/docs/interfaces/Scissor.html +0 -341
  267. package/docs/interfaces/State.html +0 -328
  268. package/docs/interfaces/TagCacheInterface.html +0 -352
  269. package/docs/interfaces/TagConfig.html +0 -542
  270. package/docs/interfaces/TagGLTFObjectGroup.html +0 -303
  271. package/docs/interfaces/TagIconUrl.html +0 -360
  272. package/docs/interfaces/TagObjectGroup.html +0 -303
  273. package/docs/interfaces/TagStyle.html +0 -313
  274. package/docs/interfaces/Tags.html +0 -543
  275. package/docs/interfaces/TemporaryState.html +0 -300
  276. package/docs/interfaces/Util.MagnifierParameter.html +0 -384
  277. package/docs/interfaces/Util.MouseGroupParameter.html +0 -343
  278. package/docs/interfaces/Util.PointIntersection.html +0 -358
  279. package/docs/modules/CruisePluginTypes.html +0 -325
  280. package/docs/modules/GuideLineItem.html +0 -286
  281. package/docs/modules/GuideLineModeItem.html +0 -291
  282. package/docs/modules/GuideLinePluginType.html +0 -345
  283. package/docs/modules/PanoVideoPluginType.html +0 -298
  284. package/docs/modules/Util.html +0 -340
  285. package/docs/modules.html +0 -534
  286. package/docs/types/ArrayPosition.html +0 -276
  287. package/docs/types/AudioAppearance.html +0 -276
  288. package/docs/types/AudioTagTypeConfigKey.html +0 -276
  289. package/docs/types/CSS3DRenderExportType.html +0 -276
  290. package/docs/types/CSS3DRenderPluginExportType.html +0 -276
  291. package/docs/types/CSS3DRenderPluginParameterType.html +0 -276
  292. package/docs/types/ClassFunctionParameters.html +0 -283
  293. package/docs/types/Color.html +0 -276
  294. package/docs/types/ContentTypeConfigKey.html +0 -276
  295. package/docs/types/ContentTypeConfigKeySplit.html +0 -276
  296. package/docs/types/ContentTypeMap.html +0 -276
  297. package/docs/types/Create3DDomContainerReturnType.html +0 -276
  298. package/docs/types/Create3DElementReturnType.html +0 -276
  299. package/docs/types/CruisePluginExportType.html +0 -276
  300. package/docs/types/CruisePluginTypes.CruiseData.html +0 -315
  301. package/docs/types/CruisePluginTypes.MoveEffect.html +0 -292
  302. package/docs/types/DeprecatedMediaPlaneProperty.html +0 -288
  303. package/docs/types/DeprecatedTagProperty.html +0 -291
  304. package/docs/types/Direction-1.html +0 -276
  305. package/docs/types/Direction4.html +0 -276
  306. package/docs/types/ElementRenderer.html +0 -300
  307. package/docs/types/FloorplanRoomsPluginParameterType.html +0 -276
  308. package/docs/types/FloorplanRoomsPluginReturnType.html +0 -276
  309. package/docs/types/FloorplanRuleLabels.html +0 -279
  310. package/docs/types/FloorplanServerRuleLabels.html +0 -276
  311. package/docs/types/GuideLinePluginExportType.html +0 -276
  312. package/docs/types/GuideLinePluginType.GuideLineItem.html +0 -348
  313. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +0 -369
  314. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +0 -302
  315. package/docs/types/GuideLinePluginType.GuideLineStyle.html +0 -305
  316. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +0 -305
  317. package/docs/types/GuideLinePluginType.PathItem.html +0 -305
  318. package/docs/types/GuideLinePluginType.PluginData.html +0 -314
  319. package/docs/types/HelperEventMap.html +0 -514
  320. package/docs/types/LoadTagConfig.html +0 -276
  321. package/docs/types/MapviewFloorplanPluginParameterType.html +0 -276
  322. package/docs/types/MapviewFloorplanPluginReturnType.html +0 -276
  323. package/docs/types/MediaData.html +0 -292
  324. package/docs/types/MediaStore.html +0 -281
  325. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +0 -283
  326. package/docs/types/ModelFloorplanPluginParameterType.html +0 -276
  327. package/docs/types/ModelFloorplanPluginReturnType.html +0 -276
  328. package/docs/types/ModelRoomLabelPluginParameters.html +0 -276
  329. package/docs/types/ModelRoomLabelPluginReturnType.html +0 -276
  330. package/docs/types/MoveArgs.html +0 -286
  331. package/docs/types/MoveOpts.html +0 -284
  332. package/docs/types/Object3DHelperEventMap.html +0 -369
  333. package/docs/types/ObjectFit.html +0 -276
  334. package/docs/types/PaintBrushEventMap.html +0 -307
  335. package/docs/types/PanoCompassPluginData.html +0 -276
  336. package/docs/types/PanoCompassPluginExportType.html +0 -276
  337. package/docs/types/PanoCompassPluginParameterType.html +0 -276
  338. package/docs/types/PanoFloorplanRadarPluginParameterType.html +0 -276
  339. package/docs/types/PanoFloorplanRadarPluginReturnType.html +0 -276
  340. package/docs/types/PanoIndex.html +0 -276
  341. package/docs/types/PanoMeasurePluginEvent.html +0 -276
  342. package/docs/types/PanoMeasureReturnType.html +0 -276
  343. package/docs/types/PanoSpatialTagPluginId.html +0 -276
  344. package/docs/types/PanoTagPluginExportInterface.html +0 -276
  345. package/docs/types/PanoTagPluginParamsInterface.html +0 -276
  346. package/docs/types/PanoVideoPluginParameterType.html +0 -276
  347. package/docs/types/PanoVideoPluginReturnType.html +0 -276
  348. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +0 -284
  349. package/docs/types/PipelinePluginParameterType.html +0 -276
  350. package/docs/types/PipelinePluginReturnType.html +0 -276
  351. package/docs/types/PlaneTag.html +0 -284
  352. package/docs/types/Point2DTag.html +0 -284
  353. package/docs/types/Point3DTag.html +0 -284
  354. package/docs/types/PointTag.html +0 -281
  355. package/docs/types/PointTagInstance.html +0 -281
  356. package/docs/types/Position.html +0 -276
  357. package/docs/types/RotateArgs.html +0 -288
  358. package/docs/types/RotateOpts.html +0 -284
  359. package/docs/types/RuleLabelsKey.html +0 -276
  360. package/docs/types/RuleLabelsValue.html +0 -276
  361. package/docs/types/StickType.html +0 -276
  362. package/docs/types/Tag.html +0 -342
  363. package/docs/types/Tag2D.html +0 -284
  364. package/docs/types/Tag3D.html +0 -284
  365. package/docs/types/TagConfigByKey.html +0 -281
  366. package/docs/types/TagContentType.html +0 -276
  367. package/docs/types/TagDimensionType.html +0 -278
  368. package/docs/types/TagElement.html +0 -286
  369. package/docs/types/TagEvents.html +0 -329
  370. package/docs/types/TagGLTFObject.html +0 -299
  371. package/docs/types/TagHooks.html +0 -276
  372. package/docs/types/TagId.html +0 -276
  373. package/docs/types/TagInstance.html +0 -348
  374. package/docs/types/TagPointType.html +0 -279
  375. package/docs/types/TagRendererMap.html +0 -281
  376. package/docs/types/TopviewFloorplanPluginParameterType.html +0 -276
  377. package/docs/types/TopviewFloorplanPluginReturnType.html +0 -276
  378. package/docs/types/WorkCode.html +0 -276
  379. package/docs/variables/FLOOR_TYPE_MAP.html +0 -286
  380. package/docs/variables/PLUGIN.html +0 -276
  381. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +0 -279
  382. package/docs/variables/ROOM_TYPE_MAP.html +0 -286
  383. package/docs/variables/defaultGlobalConfig.html +0 -276
  384. package/docs/variables/itemLabelPluginServerParams.html +0 -283
  385. package/docs/variables/modelItemLabelPluginServerParams.html +0 -283
  386. package/docs/variables/modelRoomLabelPluginServerParams.html +0 -283
  387. package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.d.ts +0 -114
  388. package/libs/floorplan/FloorplanRoomsPlugin/BasePlugin.js +0 -51
  389. package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.d.ts +0 -23
  390. package/libs/floorplan/FloorplanRoomsPlugin/BasePluginWithData.js +0 -25
  391. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.js +0 -188
  392. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts +0 -1
  393. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.js +0 -94
  394. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts +0 -1
  395. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.js +0 -111
  396. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.svelte.d.ts +0 -1
  397. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.js +0 -191
  398. package/libs/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.svelte.d.ts +0 -1
  399. package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.js +0 -237
  400. package/libs/floorplan/FloorplanRoomsPlugin/Components/Main.svelte.d.ts +0 -1
  401. package/libs/floorplan/FloorplanRoomsPlugin/Controller.d.ts +0 -40
  402. package/libs/floorplan/FloorplanRoomsPlugin/Controller.js +0 -207
  403. package/libs/floorplan/FloorplanRoomsPlugin/index.d.ts +0 -6
  404. package/libs/floorplan/FloorplanRoomsPlugin/index.js +0 -43
  405. package/libs/floorplan/FloorplanRoomsPlugin/typing.d.ts +0 -60
  406. /package/dist/{floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.svelte.d.ts → components/AreaLabel/LabelItem.svelte.d.ts} +0 -0
  407. /package/libs/{floorplan/FloorplanRoomsPlugin → AreaMakerPlugin}/typing.js +0 -0
  408. /package/{dist/floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.svelte.d.ts → libs/components/AreaLabel/LabelItem.svelte.d.ts} +0 -0
@@ -1,41 +1,41 @@
1
- var m = (t, r, e) => new Promise((d, a) => {
2
- var i = (o) => {
1
+ var c = (e, r, o) => new Promise((d, a) => {
2
+ var i = (t) => {
3
3
  try {
4
- u(e.next(o));
5
- } catch (c) {
6
- a(c);
4
+ u(o.next(t));
5
+ } catch (f) {
6
+ a(f);
7
7
  }
8
- }, n = (o) => {
8
+ }, n = (t) => {
9
9
  try {
10
- u(e.throw(o));
11
- } catch (c) {
12
- a(c);
10
+ u(o.throw(t));
11
+ } catch (f) {
12
+ a(f);
13
13
  }
14
- }, u = (o) => o.done ? d(o.value) : Promise.resolve(o.value).then(i, n);
15
- u((e = e.apply(t, r)).next());
14
+ }, u = (t) => t.done ? d(t.value) : Promise.resolve(t.value).then(i, n);
15
+ u((o = o.apply(e, r)).next());
16
16
  });
17
- import { to as f } from "../../shared-utils/to.js";
18
- import { FloorplanErrorType as l } from "./constant.js";
17
+ import { to as l } from "../../shared-utils/to.js";
18
+ import { FloorplanErrorType as m } from "./constant.js";
19
19
  import { nearlyEqual as s } from "../../shared-utils/nearlyEqual.js";
20
20
  import { changeMode as p } from "../../shared-utils/five/changeMode.js";
21
- function g(t, r) {
22
- if (t.currentMode !== r.mode)
21
+ function g(e, r) {
22
+ if (e.currentMode !== r.mode)
23
23
  return !1;
24
- const { latitude: e, longitude: d, fov: a } = r, { latitude: i, longitude: n } = t.getCurrentState(), u = t.camera.fov;
25
- return !(!s(e, i, 2) || !s(d, n, 2) || a !== u);
24
+ const { latitude: o, longitude: d, fov: a, offset: i } = r, { latitude: n, longitude: u, offset: t } = e.getCurrentState(), f = e.camera.fov;
25
+ return !(!s(o, n, 2) || !s(d, u, 2) || i !== void 0 && i.distanceTo(t) > 0.01 || a !== f);
26
26
  }
27
- function F(t, r, e = !0) {
28
- return m(this, null, function* () {
29
- if (g(t, r) === !0)
27
+ function y(e, r, o = !0) {
28
+ return c(this, null, function* () {
29
+ if (g(e, r) === !0)
30
30
  return;
31
- const a = t.getCurrentState();
31
+ const a = e.getCurrentState();
32
32
  if (a.mode !== r.mode) {
33
- const [M] = yield f(p(t, [r.mode, r, void 0, e]));
33
+ const [M] = yield l(p(e, [r.mode, r, void 0, o]));
34
34
  if (M)
35
- throw new Error(l.ChangeModeError);
35
+ throw new Error(m.ChangeModeError);
36
36
  return;
37
37
  }
38
- const { latitude: i, longitude: n, fov: u } = a, o = Math.min(
38
+ const { latitude: i, longitude: n, fov: u } = a, t = Math.min(
39
39
  1e3,
40
40
  Math.max(
41
41
  200,
@@ -43,12 +43,12 @@ function F(t, r, e = !0) {
43
43
  (n > Math.PI ? 2 * Math.PI - n : n) * 500,
44
44
  Math.abs(u - r.fov) * 10
45
45
  )
46
- ), [c] = yield f(t.updateCamera(r, o, e));
47
- if (c)
48
- throw new Error(l.UpdateCameraError);
46
+ ), [f] = yield l(e.updateCamera(r, t, o));
47
+ if (f)
48
+ throw new Error(m.UpdateCameraError);
49
49
  });
50
50
  }
51
51
  export {
52
52
  g as checkShowState,
53
- F as correctFiveState
53
+ y as correctFiveState
54
54
  };
package/libs/index.d.ts CHANGED
@@ -22,4 +22,5 @@ export * from './PanoTagPlugin';
22
22
  export * from './Object3DHelperPlugin';
23
23
  export * from './PanoVideoPlugin';
24
24
  export * from './PipelinePlugin';
25
+ export * from './AreaMakerPlugin';
25
26
  export * as Util from './shared-utils';
package/libs/index.js CHANGED
@@ -1,58 +1,58 @@
1
1
  import { consoleVersion as o } from "./shared-utils/logger.js";
2
2
  import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
3
- import { PaintBrush as Np } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as wp } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as Hp } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as jp } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as kp } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as zp, modelRoomLabelPluginServerParams as Jp } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as Qp } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as Xp } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as oe } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as te } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as me } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FloorplanRoomsPlugin as ee } from "./floorplan/FloorplanRoomsPlugin/index.js";
15
- import { FLOOR_TYPE_MAP as le, ROOM_FETILE_TYPE_MAP as ae, ROOM_TYPE_MAP as Pe } from "./floorplan/typings/floorplanServerData.js";
16
- import { ModelChassisCompassPlugin as ue } from "./ModelChassisCompassPlugin/Plugin.js";
17
- import { ModelEntryDoorGuidePlugin as ge } from "./ModelEntryDoorGuidePlugin/Plugin.js";
18
- import { CameraMovementPlugin as de } from "./CameraMovementPlugin/CameraMovementPlugin.js";
19
- import { CameraMovementEffect as Te, Rotation as Le } from "./CameraMovementPlugin/typing.js";
20
- import { PanoRulerPlugin as Re } from "./PanoRulerPlugin/Plugin.js";
21
- import { PanoRulerProPlugin as Ee } from "./PanoRulerProPlugin/index.js";
22
- import { PanoCompassPlugin as Oe } from "./PanoCompassPlugin/index.js";
23
- import { PanoMeasurePlugin as Se } from "./PanoMeasurePlugin/index.js";
24
- import { PanoSpatialTagPlugin as De } from "./PanoSpatialTagPlugin/Plugin.js";
25
- import { modelItemLabelPluginServerParams as be } from "./ModelItemLabelPlugin/index.js";
26
- import { ModelTVVideoPlugin as Ye } from "./ModelTVVideoPlugin/Plugin.js";
27
- import { DIRECTION as ce } from "./ModelTVVideoPlugin/typings.js";
28
- import { itemLabelPluginServerParams as Ne } from "./ItemLabelPlugin/index.js";
29
- import { PanoDoorLabelPlugin as we } from "./PanoDoorLabelPlugin/index.js";
30
- import { GuideLinePlugin as He } from "./GuideLinePlugin/index.js";
31
- import { CruisePlugin as je } from "./CruisePlugin/index.js";
32
- import { PanoTagPlugin as ke } from "./PanoTagPlugin/index.js";
33
- import { Object3DHelperPlugin as ze } from "./Object3DHelperPlugin/index.js";
34
- import { PanoVideoPlugin as Ke } from "./PanoVideoPlugin/index.js";
35
- import { PipelinePlugin as We } from "./PipelinePlugin/index.js";
36
- import { index as Ze } from "./shared-utils/index.js";
37
- import { CSS3DRender as rn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
38
- import { Model as mn } from "./PanoMeasurePlugin/Model/index.js";
39
- import { default as en } from "./PanoMeasurePlugin/Model/point.js";
40
- import { default as ln } from "./PanoMeasurePlugin/Model/line.js";
41
- import { Polyline as Pn } from "./PanoMeasurePlugin/Model/polyline.js";
42
- import { default as un } from "./PanoMeasurePlugin/Modules/Magnifier.js";
43
- import { DISPLAY_STRATEGY_TYPE as gn } from "./ModelItemLabelPlugin/typings.js";
44
- import { ModelItemLabelPlugin as dn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
45
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Tn } from "./ItemLabelPlugin/typings.js";
46
- import { Plugin as Cn } from "./ItemLabelPlugin/Plugin.js";
47
- import { GuideLineItem$1 as _n } from "./GuideLinePlugin/GuideLineItem/index.js";
48
- import { GuideLineModeItem$1 as In } from "./GuideLinePlugin/GuideLineModeItem/index.js";
49
- import { default as yn } from "./CruisePlugin/Controller.js";
50
- import { typing as An } from "./CruisePlugin/typing/index.js";
51
- import { default as Gn, pluginFlag as bn } from "./PanoTagPlugin/controller/index.js";
52
- import { defaultGlobalConfig as Yn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
53
- import { ContentType as cn, DimensionType as Vn, PointType as Nn } from "./PanoTagPlugin/Archive/deprecated.js";
54
- import { Object3DHelperController as wn, PLUGIN as Bn } from "./Object3DHelperPlugin/Controller.js";
55
- import { typings as Un } from "./PanoVideoPlugin/typings/index.js";
3
+ import { PaintBrush as cp } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as Np } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as wp } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as Hp } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as jp } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as kp, modelRoomLabelPluginServerParams as qp } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as Jp } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as Qp } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as Xp } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as oe } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as te } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FLOOR_TYPE_MAP as me, ROOM_FETILE_TYPE_MAP as pe, ROOM_TYPE_MAP as ee } from "./floorplan/typings/floorplanServerData.js";
15
+ import { ModelChassisCompassPlugin as le } from "./ModelChassisCompassPlugin/Plugin.js";
16
+ import { ModelEntryDoorGuidePlugin as Pe } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
+ import { CameraMovementPlugin as ue } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
+ import { CameraMovementEffect as ge, Rotation as se } from "./CameraMovementPlugin/typing.js";
19
+ import { PanoRulerPlugin as Me } from "./PanoRulerPlugin/Plugin.js";
20
+ import { PanoRulerProPlugin as Le } from "./PanoRulerProPlugin/index.js";
21
+ import { PanoCompassPlugin as _e } from "./PanoCompassPlugin/index.js";
22
+ import { PanoMeasurePlugin as Re } from "./PanoMeasurePlugin/index.js";
23
+ import { PanoSpatialTagPlugin as Oe } from "./PanoSpatialTagPlugin/Plugin.js";
24
+ import { modelItemLabelPluginServerParams as Ae } from "./ModelItemLabelPlugin/index.js";
25
+ import { ModelTVVideoPlugin as De } from "./ModelTVVideoPlugin/Plugin.js";
26
+ import { DIRECTION as be } from "./ModelTVVideoPlugin/typings.js";
27
+ import { itemLabelPluginServerParams as Ye } from "./ItemLabelPlugin/index.js";
28
+ import { PanoDoorLabelPlugin as ce } from "./PanoDoorLabelPlugin/index.js";
29
+ import { GuideLinePlugin as Ne } from "./GuideLinePlugin/index.js";
30
+ import { CruisePlugin as we } from "./CruisePlugin/index.js";
31
+ import { PanoTagPlugin as He } from "./PanoTagPlugin/index.js";
32
+ import { Object3DHelperPlugin as je } from "./Object3DHelperPlugin/index.js";
33
+ import { PanoVideoPlugin as ke } from "./PanoVideoPlugin/index.js";
34
+ import { PipelinePlugin as ze } from "./PipelinePlugin/index.js";
35
+ import { AreaMakerPlugin as Ke } from "./AreaMakerPlugin/index.js";
36
+ import { index as We } from "./shared-utils/index.js";
37
+ import { CSS3DRender as Ze } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
38
+ import { Model as rn } from "./PanoMeasurePlugin/Model/index.js";
39
+ import { default as mn } from "./PanoMeasurePlugin/Model/point.js";
40
+ import { default as en } from "./PanoMeasurePlugin/Model/line.js";
41
+ import { Polyline as ln } from "./PanoMeasurePlugin/Model/polyline.js";
42
+ import { default as Pn } from "./PanoMeasurePlugin/Modules/Magnifier.js";
43
+ import { DISPLAY_STRATEGY_TYPE as un } from "./ModelItemLabelPlugin/typings.js";
44
+ import { ModelItemLabelPlugin as gn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
45
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as dn } from "./ItemLabelPlugin/typings.js";
46
+ import { Plugin as Tn } from "./ItemLabelPlugin/Plugin.js";
47
+ import { GuideLineItem$1 as Cn } from "./GuideLinePlugin/GuideLineItem/index.js";
48
+ import { GuideLineModeItem$1 as En } from "./GuideLinePlugin/GuideLineModeItem/index.js";
49
+ import { default as In } from "./CruisePlugin/Controller.js";
50
+ import { typing as yn } from "./CruisePlugin/typing/index.js";
51
+ import { default as Sn, pluginFlag as Dn } from "./PanoTagPlugin/controller/index.js";
52
+ import { defaultGlobalConfig as bn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
53
+ import { ContentType as Yn, DimensionType as vn, PointType as cn } from "./PanoTagPlugin/Archive/deprecated.js";
54
+ import { Object3DHelperController as Nn, PLUGIN as hn } from "./Object3DHelperPlugin/Controller.js";
55
+ import { typings as Bn } from "./PanoVideoPlugin/typings/index.js";
56
56
  import "./components/PaintBrush/Controller.js";
57
57
  import "./components/PaintBrush/utils.js";
58
58
  import "./components/PaintBrush/tween.js";
@@ -137,14 +137,6 @@ import "./floorplan/PanoFloorplanRadarPlugin/Components/Camera.js";
137
137
  import "./shared-utils/throttle.js";
138
138
  import "./floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js";
139
139
  import "./floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js";
140
- import "./floorplan/FloorplanRoomsPlugin/Controller.js";
141
- import "./floorplan/FloorplanRoomsPlugin/Components/Main.js";
142
- import "./floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/CurrentFloor.js";
143
- import "./floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/ExtraObjects.js";
144
- import "./floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/RoomHighlight.js";
145
- import "./floorplan/FloorplanRoomsPlugin/Components/CurrentFloor/RoomHighlight/Room.js";
146
- import "./floorplan/FloorplanRoomsPlugin/BasePluginWithData.js";
147
- import "./floorplan/FloorplanRoomsPlugin/BasePlugin.js";
148
140
  import "three/examples/jsm/loaders/FBXLoader";
149
141
  import "./shared-utils/object3d2LocalMatrix.js";
150
142
  import "./shared-utils/three/transformToMeshBasicMaterial.js";
@@ -403,6 +395,12 @@ import "./PipelinePlugin/utils/Objects/Pipe.js";
403
395
  import "./shared-utils/three/Extras/Curves/BezierCurve3.js";
404
396
  import "./shared-utils/three/Extras/Core/Interpolations.js";
405
397
  import "./shared-utils/three/Extras/Core/Interpolations2.js";
398
+ import "./AreaMakerPlugin/Controller.js";
399
+ import "./AreaMakerPlugin/utils/Item.js";
400
+ import "./shared-utils/three/core/Object3D.js";
401
+ import "./shared-utils/three/objects/LineSegments.js";
402
+ import "./components/AreaLabel/LabelItem.js";
403
+ import "./components/AreaLabel/Assets/roomLabelBg.js";
406
404
  import "./shared-utils/math/Interval.js";
407
405
  import "./shared-utils/math/Rectangle.js";
408
406
  import "./shared-utils/three/getCoords.js";
@@ -410,65 +408,65 @@ import "./shared-utils/three/getRaycaster.js";
410
408
  r();
411
409
  o();
412
410
  export {
413
- rn as CSS3DRender,
414
- jp as CSS3DRenderPlugin,
415
- Te as CameraMovementEffect,
416
- de as CameraMovementPlugin,
417
- cn as ContentType,
418
- je as CruisePlugin,
419
- yn as CruisePluginController,
420
- An as CruisePluginTypes,
421
- ce as DIRECTION,
422
- gn as DISPLAY_STRATEGY_TYPE,
423
- Vn as DimensionType,
424
- Qp as FLOOR_PLAN_ATTACHED_TO,
425
- le as FLOOR_TYPE_MAP,
426
- ee as FloorplanRoomsPlugin,
427
- _n as GuideLineItem,
428
- In as GuideLineModeItem,
429
- He as GuideLinePlugin,
430
- Tn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
431
- Cn as ItemLabelPlugin,
432
- un as Magnifier,
433
- oe as MapviewFloorplanPlugin,
434
- ue as ModelChassisCompassPlugin,
435
- ge as ModelEntryDoorGuidePlugin,
436
- Xp as ModelFloorplanPlugin,
437
- dn as ModelItemLabelPlugin,
438
- zp as ModelRoomLabelPlugin,
439
- Ye as ModelTVVideoPlugin,
440
- Hp as ModelViewPlugin,
441
- wn as Object3DHelperController,
442
- ze as Object3DHelperPlugin,
443
- Bn as PLUGIN,
444
- Np as PaintBrush,
445
- wp as PaintBrushTypeEnum,
446
- Oe as PanoCompassPlugin,
447
- kp as PanoCursorRaycasterPlugin,
448
- we as PanoDoorLabelPlugin,
449
- me as PanoFloorplanRadarPlugin,
450
- Se as PanoMeasurePlugin,
451
- ln as PanoMeasurePluginLine,
452
- mn as PanoMeasurePluginModel,
453
- en as PanoMeasurePluginPoint,
454
- Pn as PanoMeasurePluginPolyline,
455
- Re as PanoRulerPlugin,
456
- Ee as PanoRulerProPlugin,
457
- De as PanoSpatialTagPlugin,
458
- ke as PanoTagPlugin,
459
- Gn as PanoTagPluginController,
460
- Ke as PanoVideoPlugin,
461
- Un as PanoVideoPluginType,
462
- We as PipelinePlugin,
463
- Nn as PointType,
464
- ae as ROOM_FETILE_TYPE_MAP,
465
- Pe as ROOM_TYPE_MAP,
466
- Le as Rotation,
467
- te as TopviewFloorplanPlugin,
468
- Ze as Util,
469
- Yn as defaultGlobalConfig,
470
- Ne as itemLabelPluginServerParams,
471
- be as modelItemLabelPluginServerParams,
472
- Jp as modelRoomLabelPluginServerParams,
473
- bn as pluginFlag
411
+ Ke as AreaMakerPlugin,
412
+ Ze as CSS3DRender,
413
+ Hp as CSS3DRenderPlugin,
414
+ ge as CameraMovementEffect,
415
+ ue as CameraMovementPlugin,
416
+ Yn as ContentType,
417
+ we as CruisePlugin,
418
+ In as CruisePluginController,
419
+ yn as CruisePluginTypes,
420
+ be as DIRECTION,
421
+ un as DISPLAY_STRATEGY_TYPE,
422
+ vn as DimensionType,
423
+ Jp as FLOOR_PLAN_ATTACHED_TO,
424
+ me as FLOOR_TYPE_MAP,
425
+ Cn as GuideLineItem,
426
+ En as GuideLineModeItem,
427
+ Ne as GuideLinePlugin,
428
+ dn as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
429
+ Tn as ItemLabelPlugin,
430
+ Pn as Magnifier,
431
+ Xp as MapviewFloorplanPlugin,
432
+ le as ModelChassisCompassPlugin,
433
+ Pe as ModelEntryDoorGuidePlugin,
434
+ Qp as ModelFloorplanPlugin,
435
+ gn as ModelItemLabelPlugin,
436
+ kp as ModelRoomLabelPlugin,
437
+ De as ModelTVVideoPlugin,
438
+ wp as ModelViewPlugin,
439
+ Nn as Object3DHelperController,
440
+ je as Object3DHelperPlugin,
441
+ hn as PLUGIN,
442
+ cp as PaintBrush,
443
+ Np as PaintBrushTypeEnum,
444
+ _e as PanoCompassPlugin,
445
+ jp as PanoCursorRaycasterPlugin,
446
+ ce as PanoDoorLabelPlugin,
447
+ te as PanoFloorplanRadarPlugin,
448
+ Re as PanoMeasurePlugin,
449
+ en as PanoMeasurePluginLine,
450
+ rn as PanoMeasurePluginModel,
451
+ mn as PanoMeasurePluginPoint,
452
+ ln as PanoMeasurePluginPolyline,
453
+ Me as PanoRulerPlugin,
454
+ Le as PanoRulerProPlugin,
455
+ Oe as PanoSpatialTagPlugin,
456
+ He as PanoTagPlugin,
457
+ Sn as PanoTagPluginController,
458
+ ke as PanoVideoPlugin,
459
+ Bn as PanoVideoPluginType,
460
+ ze as PipelinePlugin,
461
+ cn as PointType,
462
+ pe as ROOM_FETILE_TYPE_MAP,
463
+ ee as ROOM_TYPE_MAP,
464
+ se as Rotation,
465
+ oe as TopviewFloorplanPlugin,
466
+ We as Util,
467
+ bn as defaultGlobalConfig,
468
+ Ye as itemLabelPluginServerParams,
469
+ Ae as modelItemLabelPluginServerParams,
470
+ qp as modelRoomLabelPluginServerParams,
471
+ Dn as pluginFlag
474
472
  };
@@ -2,7 +2,6 @@ const e = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1;
2
2
  navigator.userAgent.toLowerCase().indexOf("android");
3
3
  const o = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, n = e && o;
4
4
  export {
5
- e as isIOS,
6
5
  n as isIOSWX,
7
6
  o as isWX
8
7
  };
@@ -1,48 +1,51 @@
1
- var m = (e, c, t) => new Promise((r, n) => {
1
+ var f = (t, c, n) => new Promise((e, r) => {
2
2
  var a = (o) => {
3
3
  try {
4
- s(t.next(o));
5
- } catch (u) {
6
- n(u);
4
+ u(n.next(o));
5
+ } catch (s) {
6
+ r(s);
7
7
  }
8
8
  }, i = (o) => {
9
9
  try {
10
- s(t.throw(o));
11
- } catch (u) {
12
- n(u);
10
+ u(n.throw(o));
11
+ } catch (s) {
12
+ r(s);
13
13
  }
14
- }, s = (o) => o.done ? r(o.value) : Promise.resolve(o.value).then(a, i);
15
- s((t = t.apply(e, c)).next());
14
+ }, u = (o) => o.done ? e(o.value) : Promise.resolve(o.value).then(a, i);
15
+ u((n = n.apply(t, c)).next());
16
16
  });
17
- import { nearlyEqual as f } from "../nearlyEqual.js";
18
- import { to as h } from "../to.js";
19
- function y(e, c) {
20
- return m(this, null, function* () {
21
- const [t] = yield h(e.changeMode(...c));
22
- if (t)
17
+ import { nearlyEqual as d } from "../nearlyEqual.js";
18
+ import { to as l } from "../to.js";
19
+ function h(t) {
20
+ return Object.prototype.toString.call(t) === "[object Object]";
21
+ }
22
+ function m(t) {
23
+ return h(t) && !!t.isVector3;
24
+ }
25
+ function g(t, c) {
26
+ return f(this, null, function* () {
27
+ const [n] = yield l(t.changeMode(...c));
28
+ if (n)
23
29
  throw new Error("change mode canceled");
24
30
  yield new Promise((i) => {
25
- e.once("initAnimationWillStart", () => {
26
- e.once("initAnimationEnded", () => i());
31
+ t.once("initAnimationWillStart", () => {
32
+ t.once("initAnimationEnded", () => i());
27
33
  });
28
34
  });
29
- const r = c[1];
30
- if (!r)
35
+ const e = c[1];
36
+ if (!e)
31
37
  return !0;
32
- const n = e.getCurrentState();
33
- if (!w(r, n))
38
+ const r = t.getCurrentState();
39
+ if (!w(e, r))
34
40
  throw new Error("pose 与预期不符");
35
41
  });
36
42
  }
37
- function w(e, c) {
38
- return Object.keys(e).every((t) => {
39
- const r = c[t];
40
- if (r === void 0)
41
- return !0;
42
- const n = e[t];
43
- return typeof r == "number" && typeof n == "number" ? f(r, n, 2) : r === n;
43
+ function w(t, c) {
44
+ return Object.keys(t).every((n) => {
45
+ const e = c[n], r = t[n];
46
+ return e === void 0 || r === void 0 ? !0 : typeof e == "number" && typeof r == "number" ? d(e, r, 2) : m(r) && m(e) ? r.distanceTo(e) < 0.01 : e === r;
44
47
  });
45
48
  }
46
49
  export {
47
- y as changeMode
50
+ g as changeMode
48
51
  };
@@ -5,3 +5,4 @@ export * from './isNil';
5
5
  export * from './uuid';
6
6
  export * from './absoluteUrl';
7
7
  export * from './animationFrame';
8
+ export { default as equal } from './equal';
@@ -3,41 +3,47 @@ import { Rectangle as r } from "./math/Rectangle.js";
3
3
  import { isModelLike as e, isPanoramaLike as t } from "./five/mode.js";
4
4
  import { Magnifier as m } from "./three/Magnifier.js";
5
5
  import { getCoordsFromClient as i, getCoordsFromElement as n } from "./three/getCoords.js";
6
- import { getRaycasterFromFivePointer as l } from "./three/getRaycaster.js";
7
- import { getIntersectFromRelativePosition as p } from "./three/getIntersect.js";
6
+ import { getRaycasterFromFivePointer as p } from "./three/getRaycaster.js";
7
+ import { getIntersectFromRelativePosition as l } from "./three/getIntersect.js";
8
8
  import { PointHelper as f } from "./three/PointHelper.js";
9
9
  import { PointDomHelper as a } from "./three/PointDomHelper.js";
10
10
  import { PointSelectorHelper as s } from "./three/PointSelectorHelper.js";
11
- import { isNil as g, notNil as u } from "./isNil.js";
12
- import { uuid as F } from "./uuid.js";
13
- import { absoluteUrl as P, isAbsoluteURL as c } from "./absoluteUrl.js";
14
- import { getFrameTime as d, nextFrame as b, requestAnimationFrameInterval as v } from "./animationFrame/index.js";
15
- import { BetterTween as R, tweenProgress as _ } from "./animationFrame/BetterTween.js";
16
- const U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11
+ import { Object3D as g } from "./three/core/Object3D.js";
12
+ import { LineSegments as u } from "./three/objects/LineSegments.js";
13
+ import { isNil as c, notNil as F } from "./isNil.js";
14
+ import { uuid as P } from "./uuid.js";
15
+ import { absoluteUrl as d, isAbsoluteURL as b } from "./absoluteUrl.js";
16
+ import { getFrameTime as v, nextFrame as L, requestAnimationFrameInterval as R } from "./animationFrame/index.js";
17
+ import { equal as S } from "./equal.js";
18
+ import { BetterTween as _, tweenProgress as j } from "./animationFrame/BetterTween.js";
19
+ const h = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17
20
  __proto__: null,
18
- BetterTween: R,
21
+ BetterTween: _,
19
22
  Interval: o,
23
+ LineSegments: u,
20
24
  Magnifier: m,
25
+ Object3D: g,
21
26
  PointDomHelper: a,
22
27
  PointHelper: f,
23
28
  PointSelectorHelper: s,
24
29
  Rectangle: r,
25
- absoluteUrl: P,
30
+ absoluteUrl: d,
31
+ equal: S,
26
32
  getCoordsFromClient: i,
27
33
  getCoordsFromElement: n,
28
- getFrameTime: d,
29
- getIntersectFromRelativePosition: p,
30
- getRaycasterFromFivePointer: l,
31
- isAbsoluteURL: c,
34
+ getFrameTime: v,
35
+ getIntersectFromRelativePosition: l,
36
+ getRaycasterFromFivePointer: p,
37
+ isAbsoluteURL: b,
32
38
  isModelLike: e,
33
- isNil: g,
39
+ isNil: c,
34
40
  isPanoramaLike: t,
35
- nextFrame: b,
36
- notNil: u,
37
- requestAnimationFrameInterval: v,
38
- tweenProgress: _,
39
- uuid: F
41
+ nextFrame: L,
42
+ notNil: F,
43
+ requestAnimationFrameInterval: R,
44
+ tweenProgress: j,
45
+ uuid: P
40
46
  }, Symbol.toStringTag, { value: "Module" }));
41
47
  export {
42
- U as index
48
+ h as index
43
49
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv2.28.0-dev.0",
3
+ "%c %c@realsee/dnalogel %cv2.28.0",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
@@ -111,6 +111,6 @@ export declare function getCenterPointOfPoints(points: Point[]): {
111
111
  x: number;
112
112
  y: number;
113
113
  };
114
- export declare function isIntersect(linePoints1: Point[], linePoints2: Point[]): 0 | 1;
114
+ export declare function isIntersect(linePoints1: Point[], linePoints2: Point[]): 1 | 0;
115
115
  export declare function getAreaSize(points: Point[]): number;
116
116
  export declare function getAreaSizeWithoutLine(points: Point[]): number;
@@ -1,43 +1,50 @@
1
- function I(r, x) {
2
- return r.x === x.x && r.y === x.y;
1
+ function I(x, r) {
2
+ return x.x === r.x && x.y === r.y;
3
3
  }
4
- function N(r, x) {
5
- return Math.abs(r) === 1 / 0 && Math.abs(x) === 1 / 0 ? !0 : Math.abs(r - x) < 1e-3;
4
+ function b(x, r) {
5
+ return Math.abs(x) === 1 / 0 && Math.abs(r) === 1 / 0 ? !0 : Math.abs(x - r) < 1e-3;
6
6
  }
7
- function m(r, x) {
8
- return (x.y - r.y) / (x.x - r.x);
7
+ function M(x, r) {
8
+ return (r.y - x.y) / (r.x - x.x);
9
9
  }
10
- function O(r, x, f) {
11
- const u = m(r[1], r[0]), y = m(x[1], x[0]);
12
- if (isNaN(u) || isNaN(y) || N(u, y))
10
+ function g(x, r, y) {
11
+ const a = M(x[1], x[0]), u = M(r[1], r[0]);
12
+ if (isNaN(a) || isNaN(u) || b(a, u))
13
13
  return !1;
14
- if (h(r[0], x))
15
- return r[0];
16
- if (h(r[1], x))
17
- return r[1];
18
- if (h(x[0], r))
14
+ if (m(x[0], r))
19
15
  return x[0];
20
- if (h(x[1], r))
16
+ if (m(x[1], r))
21
17
  return x[1];
22
- if (f && !L(r, x))
18
+ if (m(r[0], x))
19
+ return r[0];
20
+ if (m(r[1], x))
21
+ return r[1];
22
+ if (y && !O(x, r))
23
23
  return !1;
24
- const a = r[0], c = x[0];
24
+ const f = x[0], c = r[0];
25
+ if (Math.abs(a) === 1 / 0)
26
+ return { x: f.x, y: r[1].y - (r[1].x - f.x) * u };
25
27
  if (Math.abs(u) === 1 / 0)
26
- return { x: a.x, y: x[1].y - (x[1].x - a.x) * y };
27
- if (Math.abs(y) === 1 / 0)
28
- return { x: c.x, y: r[1].y - (r[1].x - c.x) * u };
29
- const b = (c.y - a.y + u * a.x - y * c.x) / (u - y), K = u * b - u * a.x + a.y;
30
- return { x: b, y: K };
28
+ return { x: c.x, y: x[1].y - (x[1].x - c.x) * a };
29
+ const t = (c.y - f.y + a * f.x - u * c.x) / (a - u), N = a * t - a * f.x + f.y;
30
+ return { x: t, y: N };
31
+ }
32
+ function m(x, r) {
33
+ return I(x, r[0]) || I(x, r[1]) ? !0 : (r[0].x - x.x) * (x.x - r[1].x) >= 0 && (r[0].y - x.y) * (x.y - r[1].y) >= 0 && b(M(r[0], x), M(x, r[1]));
31
34
  }
32
- function h(r, x) {
33
- return I(r, x[0]) || I(r, x[1]) ? !0 : (x[0].x - r.x) * (r.x - x[1].x) >= 0 && (x[0].y - r.y) * (r.y - x[1].y) >= 0 && N(m(x[0], r), m(r, x[1]));
35
+ function K(x) {
36
+ let r = 1 / 0, y = -1 / 0, a = 1 / 0, u = -1 / 0;
37
+ return x.forEach((f) => {
38
+ r = Math.min(r, f.x), y = Math.max(y, f.x), a = Math.min(a, f.y), u = Math.max(u, f.y);
39
+ }), { x: (r + y) / 2, y: (a + u) / 2 };
34
40
  }
35
- function M(r, x, f) {
36
- return (r.x - f.x) * (x.y - f.y) - (x.x - f.x) * (r.y - f.y);
41
+ function h(x, r, y) {
42
+ return (x.x - y.x) * (r.y - y.y) - (r.x - y.x) * (x.y - y.y);
37
43
  }
38
- function L(r, x) {
39
- return Math.max(r[0].x, r[1].x) >= Math.min(x[0].x, x[1].x) && Math.max(x[0].x, x[1].x) >= Math.min(r[0].x, r[1].x) && Math.max(r[0].y, r[1].y) >= Math.min(x[0].y, x[1].y) && M(x[0], r[1], r[0]) * M(r[1], x[1], r[0]) > 0 && M(r[0], x[1], x[0]) * M(x[1], r[1], x[0]) > 0 ? 1 : 0;
44
+ function O(x, r) {
45
+ return Math.max(x[0].x, x[1].x) >= Math.min(r[0].x, r[1].x) && Math.max(r[0].x, r[1].x) >= Math.min(x[0].x, x[1].x) && Math.max(x[0].y, x[1].y) >= Math.min(r[0].y, r[1].y) && h(r[0], x[1], x[0]) * h(x[1], r[1], x[0]) > 0 && h(x[0], r[1], r[0]) * h(r[1], x[1], r[0]) > 0 ? 1 : 0;
40
46
  }
41
47
  export {
42
- O as intersectionOfLine
48
+ K as getCenterPointOfPoints,
49
+ g as intersectionOfLine
43
50
  };