@realsee/dnalogel 2.16.0-10 → 2.16.0-11

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 (541) hide show
  1. package/components/index.js +688 -240
  2. package/dist/GuideLinePlugin/Controller.d.ts +4 -3
  3. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
  4. package/dist/GuideLinePlugin/typing.d.ts +0 -1
  5. package/dist/index.cjs.js +100 -86
  6. package/dist/index.js +14560 -7717
  7. package/dist/index.umd.js +93 -79
  8. package/dist/shared-utils/animationFrame/BetterTween.d.ts +3 -2
  9. package/dist/shared-utils/animationFrame/index.d.ts +1 -1
  10. package/dist/shared-utils/animationFrame/tween.d.ts +32 -23
  11. package/dist/shared-utils/svelte/resizeObserver.d.ts +2 -10
  12. package/dist/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
  13. package/docs/assets/search.js +1 -1
  14. package/docs/classes/CSS3DRender.html +31 -31
  15. package/docs/classes/CruisePluginController.html +26 -26
  16. package/docs/classes/GuideLineItem.GuideLineItem.html +16 -16
  17. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +38 -26
  18. package/docs/classes/Magnifier.html +20 -20
  19. package/docs/classes/ModelRoomLabelController.html +11 -11
  20. package/docs/classes/Object3DHelperController.html +25 -25
  21. package/docs/classes/PaintBrush.html +15 -15
  22. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  23. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  24. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  25. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  26. package/docs/classes/PanoTagPluginController.html +47 -47
  27. package/docs/classes/Util.BetterTween.html +29 -18
  28. package/docs/classes/Util.FivePointSelector.html +12 -12
  29. package/docs/classes/Util.Interval.html +12 -12
  30. package/docs/classes/Util.Magnifier.html +17 -17
  31. package/docs/classes/Util.PointDomHelper.html +11 -11
  32. package/docs/classes/Util.PointHelper.html +11 -11
  33. package/docs/classes/Util.Rectangle.html +13 -13
  34. package/docs/enums/CameraMovementEffect.html +7 -7
  35. package/docs/enums/ContentType.html +19 -19
  36. package/docs/enums/DIRECTION.html +9 -9
  37. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  38. package/docs/enums/DimensionType.html +7 -7
  39. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  40. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  41. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  42. package/docs/enums/Rotation.html +8 -8
  43. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  44. package/docs/functions/CameraMovementPlugin.html +4 -4
  45. package/docs/functions/CruisePlugin.html +4 -4
  46. package/docs/functions/GuideLinePlugin.html +5 -5
  47. package/docs/functions/ItemLabelPlugin.html +4 -4
  48. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  49. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  50. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  51. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  52. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  53. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  54. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  55. package/docs/functions/ModelViewPlugin.html +4 -4
  56. package/docs/functions/Object3DHelperPlugin.html +4 -4
  57. package/docs/functions/PanoCompassPlugin.html +4 -4
  58. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
  59. package/docs/functions/PanoDoorLabelPlugin.html +4 -4
  60. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
  61. package/docs/functions/PanoMeasurePlugin.html +4 -4
  62. package/docs/functions/PanoRulerPlugin.html +4 -4
  63. package/docs/functions/PanoRulerProPlugin.html +4 -4
  64. package/docs/functions/PanoSpatialTagPlugin.html +4 -4
  65. package/docs/functions/PanoTagPlugin.html +4 -4
  66. package/docs/functions/PanoVideoPlugin.html +4 -4
  67. package/docs/functions/TopviewFloorplanPlugin.html +4 -4
  68. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  69. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  70. package/docs/functions/Util.getFrameTime.html +5 -5
  71. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  72. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  73. package/docs/functions/Util.isAbsoluteURL.html +5 -5
  74. package/docs/functions/Util.isModelLike.html +5 -5
  75. package/docs/functions/Util.isNil.html +5 -5
  76. package/docs/functions/Util.isPanoramaLike.html +5 -5
  77. package/docs/functions/Util.nextFrame.html +18 -7
  78. package/docs/functions/Util.notNil.html +5 -5
  79. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  80. package/docs/functions/Util.tweenProgress.html +7 -18
  81. package/docs/functions/Util.uuid.html +5 -5
  82. package/docs/functions/pluginFlag.html +5 -5
  83. package/docs/index.html +4 -4
  84. package/docs/interfaces/AddTagConfig.html +6 -6
  85. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  86. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  87. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  88. package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
  89. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
  90. package/docs/interfaces/CruisePluginTypes.EventMap.html +20 -20
  91. package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
  92. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
  93. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
  94. package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
  95. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -7
  96. package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
  97. package/docs/interfaces/EventMap.html +15 -15
  98. package/docs/interfaces/FloorplanBounding.html +8 -8
  99. package/docs/interfaces/FloorplanData.html +10 -10
  100. package/docs/interfaces/FloorplanEntrance.html +11 -11
  101. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  102. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  103. package/docs/interfaces/FloorplanFloorData.html +9 -9
  104. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  105. package/docs/interfaces/FloorplanObserver.html +9 -9
  106. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  107. package/docs/interfaces/FloorplanPosition.html +7 -7
  108. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  109. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  110. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  111. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  112. package/docs/interfaces/FloorplanServerData.html +7 -7
  113. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  114. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  115. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  116. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  117. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  118. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  119. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  120. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  121. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  122. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  123. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
  124. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
  125. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
  126. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
  127. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +11 -11
  128. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
  129. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +16 -16
  130. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +19 -19
  131. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +16 -16
  132. package/docs/interfaces/GuideLinePluginType.PluginDataV1.html +7 -7
  133. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -6
  134. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -7
  135. package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -15
  136. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  137. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
  138. package/docs/interfaces/HelperOffset.html +8 -8
  139. package/docs/interfaces/ImagePlaneGroup.html +6 -6
  140. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  141. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  142. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  143. package/docs/interfaces/MinMax.html +7 -7
  144. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  145. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  146. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  147. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  148. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  149. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  150. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  151. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  152. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  153. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  154. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  155. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  156. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  157. package/docs/interfaces/Object3DHelperState.html +8 -8
  158. package/docs/interfaces/ObjectHelperControllers.html +9 -9
  159. package/docs/interfaces/PaintBrushAction.html +12 -12
  160. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  161. package/docs/interfaces/PaintBrushState.html +10 -10
  162. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  163. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
  164. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  165. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  166. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  167. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  168. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  169. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  170. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  171. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  172. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  173. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  174. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  175. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  176. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
  177. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
  178. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  179. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  180. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  181. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  182. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  183. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  184. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  185. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
  186. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
  187. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
  188. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
  189. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
  190. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
  191. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
  192. package/docs/interfaces/Point.html +8 -8
  193. package/docs/interfaces/Room.html +9 -9
  194. package/docs/interfaces/RoomInfo.html +7 -7
  195. package/docs/interfaces/RoomLabel.html +14 -14
  196. package/docs/interfaces/RoomRules.html +5 -5
  197. package/docs/interfaces/Rooms.html +5 -5
  198. package/docs/interfaces/Scissor.html +9 -9
  199. package/docs/interfaces/State.html +8 -8
  200. package/docs/interfaces/TagCacheInterface.html +12 -12
  201. package/docs/interfaces/TagConfig.html +11 -11
  202. package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
  203. package/docs/interfaces/TagIconUrl.html +12 -12
  204. package/docs/interfaces/TagObjectGroup.html +6 -6
  205. package/docs/interfaces/TagStyle.html +6 -6
  206. package/docs/interfaces/Tags.html +9 -9
  207. package/docs/interfaces/TemporaryState.html +6 -6
  208. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  209. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  210. package/docs/modules/CruisePluginTypes.html +5 -5
  211. package/docs/modules/GuideLineItem.html +5 -5
  212. package/docs/modules/GuideLineModeItem.html +5 -5
  213. package/docs/modules/GuideLinePluginType.html +5 -5
  214. package/docs/modules/PanoVideoPluginType.html +5 -5
  215. package/docs/modules/Util.html +5 -5
  216. package/docs/modules.html +4 -4
  217. package/docs/types/ArrayPosition.html +5 -5
  218. package/docs/types/AudioAppearance.html +5 -5
  219. package/docs/types/AudioTagTypeConfigKey.html +5 -5
  220. package/docs/types/CSS3DRenderExportType.html +5 -5
  221. package/docs/types/CSS3DRenderPluginExportType.html +5 -5
  222. package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
  223. package/docs/types/ClassFunctionParameters.html +5 -5
  224. package/docs/types/Color.html +5 -5
  225. package/docs/types/ContentTypeConfigKey.html +5 -5
  226. package/docs/types/ContentTypeConfigKeySplit.html +5 -5
  227. package/docs/types/ContentTypeMap.html +5 -5
  228. package/docs/types/Create3DDomContainerReturnType.html +5 -5
  229. package/docs/types/Create3DElementReturnType.html +5 -5
  230. package/docs/types/CruisePluginExportType.html +5 -5
  231. package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
  232. package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
  233. package/docs/types/Direction-1.html +5 -5
  234. package/docs/types/Direction4.html +5 -5
  235. package/docs/types/FloorplanRuleLabels.html +5 -5
  236. package/docs/types/FloorplanServerRuleLabels.html +5 -5
  237. package/docs/types/GuideLinePluginExportType.html +5 -5
  238. package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -5
  239. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
  240. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
  241. package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
  242. package/docs/types/GuideLinePluginType.PathItem.html +5 -5
  243. package/docs/types/GuideLinePluginType.PluginData.html +5 -5
  244. package/docs/types/HelperEventMap.html +5 -5
  245. package/docs/types/LoadTagConfig.html +5 -5
  246. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
  247. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
  248. package/docs/types/MediaData.html +5 -5
  249. package/docs/types/MediaStore.html +5 -5
  250. package/docs/types/ModelElement.html +5 -5
  251. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
  252. package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
  253. package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
  254. package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
  255. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
  256. package/docs/types/MoveArgs.html +5 -5
  257. package/docs/types/MoveOpts.html +5 -5
  258. package/docs/types/Object3DHelperEventMap.html +5 -5
  259. package/docs/types/ObjectFit.html +5 -5
  260. package/docs/types/PaintBrushEventMap.html +5 -5
  261. package/docs/types/PanoCompassPluginData.html +5 -5
  262. package/docs/types/PanoCompassPluginExportType.html +5 -5
  263. package/docs/types/PanoCompassPluginParameterType.html +5 -5
  264. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
  265. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
  266. package/docs/types/PanoIndex.html +5 -5
  267. package/docs/types/PanoMeasurePluginEvent.html +5 -5
  268. package/docs/types/PanoMeasureReturnType.html +5 -5
  269. package/docs/types/PanoSpatialTagPluginId.html +5 -5
  270. package/docs/types/PanoTagPluginExportInterface.html +5 -5
  271. package/docs/types/PanoTagPluginParamsInterface.html +5 -5
  272. package/docs/types/PanoVideoPluginParameterType.html +5 -5
  273. package/docs/types/PanoVideoPluginReturnType.html +5 -5
  274. package/docs/types/PlaneTag.html +5 -5
  275. package/docs/types/PlaneTagElement.html +5 -5
  276. package/docs/types/Point2DElement.html +5 -5
  277. package/docs/types/Point2DTag.html +5 -5
  278. package/docs/types/Point3DElement.html +5 -5
  279. package/docs/types/Point3DTag.html +5 -5
  280. package/docs/types/PointTag.html +5 -5
  281. package/docs/types/PointTagElement.html +5 -5
  282. package/docs/types/Position.html +5 -5
  283. package/docs/types/RotateArgs.html +5 -5
  284. package/docs/types/RotateOpts.html +5 -5
  285. package/docs/types/RuleLabelsKey.html +5 -5
  286. package/docs/types/RuleLabelsValue.html +5 -5
  287. package/docs/types/StickType.html +5 -5
  288. package/docs/types/Tag.html +5 -5
  289. package/docs/types/Tag2D.html +5 -5
  290. package/docs/types/Tag3D.html +5 -5
  291. package/docs/types/TagContentType.html +5 -5
  292. package/docs/types/TagDimensionType.html +5 -5
  293. package/docs/types/TagElement.html +5 -5
  294. package/docs/types/TagEvents.html +5 -5
  295. package/docs/types/TagGLTFObject.html +5 -5
  296. package/docs/types/TagHooks.html +5 -5
  297. package/docs/types/TagIconSize.html +5 -5
  298. package/docs/types/TagId.html +5 -5
  299. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
  300. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
  301. package/docs/types/WorkCode.html +5 -5
  302. package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
  303. package/docs/variables/PLUGIN.html +5 -5
  304. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
  305. package/docs/variables/ROOM_TYPE_MAP.html +5 -5
  306. package/docs/variables/itemLabelPluginServerParams.html +5 -5
  307. package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
  308. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
  309. package/libs/CSS3DRenderPlugin/Controller.js +47 -13
  310. package/libs/CSS3DRenderPlugin/index.js +6 -8
  311. package/libs/CSS3DRenderPlugin/utils/even.js +1 -1
  312. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -0
  313. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +37 -2
  314. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +1 -1
  315. package/libs/CameraMovementPlugin/CameraMovementPlugin.js +22 -18
  316. package/libs/CameraMovementPlugin/index.js +7 -9
  317. package/libs/CruisePlugin/Controller.js +161 -52
  318. package/libs/CruisePlugin/index.js +36 -30
  319. package/libs/CruisePlugin/utils/coordinatesToVector.js +3 -0
  320. package/libs/GuideLinePlugin/Components/Tag.js +14 -2
  321. package/libs/GuideLinePlugin/Controller.d.ts +4 -3
  322. package/libs/GuideLinePlugin/Controller.js +119 -100
  323. package/libs/GuideLinePlugin/GuideLineItem/index.js +6 -6
  324. package/libs/GuideLinePlugin/GuideLineItem.js +29 -22
  325. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +129 -73
  326. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +6 -0
  327. package/libs/GuideLinePlugin/GuideLineModeItem.js +28 -21
  328. package/libs/GuideLinePlugin/index.js +37 -30
  329. package/libs/GuideLinePlugin/typing.d.ts +0 -1
  330. package/libs/GuideLinePlugin/typing.js +7 -9
  331. package/libs/GuideLinePlugin/utils/createLineGeometry.js +24 -18
  332. package/libs/GuideLinePlugin/utils/getPoint.js +4 -0
  333. package/libs/GuideLinePlugin/utils/index.js +17 -14
  334. package/libs/ItemLabelPlugin/ItemLabelComponent.js +83 -34
  335. package/libs/ItemLabelPlugin/ItemLabelItem.js +91 -14
  336. package/libs/ItemLabelPlugin/Plugin.js +2 -2
  337. package/libs/ItemLabelPlugin/index.js +8 -9
  338. package/libs/ModelChassisCompassPlugin/Plugin.js +25 -25
  339. package/libs/ModelChassisCompassPlugin/index.js +3 -4
  340. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +14 -14
  341. package/libs/ModelEntryDoorGuidePlugin/index.js +3 -4
  342. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +46 -10
  343. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +60 -7
  344. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +3 -3
  345. package/libs/ModelItemLabelPlugin/index.js +6 -7
  346. package/libs/ModelRoomLabelPlugin/Controller.js +18 -1
  347. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +58 -4
  348. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +50 -20
  349. package/libs/ModelTVVideoPlugin/Plugin.js +6 -8
  350. package/libs/ModelTVVideoPlugin/index.js +6 -9
  351. package/libs/ModelViewPlugin/Plugin.js +3 -3
  352. package/libs/ModelViewPlugin/index.js +3 -4
  353. package/libs/Object3DHelperPlugin/Controller.js +62 -42
  354. package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +2 -1
  355. package/libs/Object3DHelperPlugin/index.js +7 -9
  356. package/libs/PanoCompassPlugin/Controller.js +54 -4
  357. package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -1
  358. package/libs/PanoCompassPlugin/index.js +3 -3
  359. package/libs/PanoDoorLabelPlugin/BaseController.js +37 -12
  360. package/libs/PanoDoorLabelPlugin/Controller.js +9 -6
  361. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +39 -13
  362. package/libs/PanoDoorLabelPlugin/index.js +5 -7
  363. package/libs/PanoMeasurePlugin/Controller/EditController.js +22 -4
  364. package/libs/PanoMeasurePlugin/Controller/MixedController.js +9 -5
  365. package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +2 -2
  366. package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -3
  367. package/libs/PanoMeasurePlugin/Controller/WatchController.js +5 -5
  368. package/libs/PanoMeasurePlugin/Controller/index.js +42 -12
  369. package/libs/PanoMeasurePlugin/Model/index.js +4 -4
  370. package/libs/PanoMeasurePlugin/Model/line.js +8 -8
  371. package/libs/PanoMeasurePlugin/Model/polyline.js +25 -24
  372. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +2 -2
  373. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +2 -1
  374. package/libs/PanoMeasurePlugin/Modules/GuideController.js +21 -20
  375. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +14 -10
  376. package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +6 -4
  377. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -1
  378. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  379. package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +3 -3
  380. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +15 -12
  381. package/libs/PanoMeasurePlugin/index.js +14 -15
  382. package/libs/PanoMeasurePlugin/typings/index.js +1 -3
  383. package/libs/PanoRulerPlugin/Plugin.js +54 -54
  384. package/libs/PanoRulerPlugin/index.js +3 -4
  385. package/libs/PanoRulerProPlugin/Controller.js +14 -15
  386. package/libs/PanoRulerProPlugin/RulerItem.js +134 -45
  387. package/libs/PanoRulerProPlugin/RulerItems.js +49 -40
  388. package/libs/PanoRulerProPlugin/index.js +4 -5
  389. package/libs/PanoSpatialTagPlugin/Components/origins.js +47 -8
  390. package/libs/PanoSpatialTagPlugin/Components/tag.js +79 -3
  391. package/libs/PanoSpatialTagPlugin/Plugin.js +5 -7
  392. package/libs/PanoSpatialTagPlugin/index.js +4 -7
  393. package/libs/PanoTagPlugin/Components/Common/Arrow.js +45 -20
  394. package/libs/PanoTagPlugin/Components/Common/Audio.js +46 -8
  395. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +218 -54
  396. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +64 -11
  397. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +50 -27
  398. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +151 -26
  399. package/libs/PanoTagPlugin/Components/Common/Media.js +222 -89
  400. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +171 -22
  401. package/libs/PanoTagPlugin/Components/Common/Shadow.js +100 -28
  402. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +87 -8
  403. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +66 -13
  404. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +69 -27
  405. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +87 -13
  406. package/libs/PanoTagPlugin/Components/Common/TextItem.js +29 -6
  407. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +99 -14
  408. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +169 -44
  409. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +31 -6
  410. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +11 -4
  411. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +90 -35
  412. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +33 -7
  413. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +174 -35
  414. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +76 -24
  415. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +87 -14
  416. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +84 -17
  417. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +23 -6
  418. package/libs/PanoTagPlugin/Components/Tag/index.js +265 -41
  419. package/libs/PanoTagPlugin/Components/TagContainer.js +111 -58
  420. package/libs/PanoTagPlugin/Components/TagItem.js +201 -28
  421. package/libs/PanoTagPlugin/controller/TagCache.js +21 -19
  422. package/libs/PanoTagPlugin/controller/TagComputer.js +39 -18
  423. package/libs/PanoTagPlugin/controller/TagRender.js +46 -15
  424. package/libs/PanoTagPlugin/controller/TagUtil.js +25 -9
  425. package/libs/PanoTagPlugin/controller/index.js +90 -28
  426. package/libs/PanoTagPlugin/index.js +18 -19
  427. package/libs/PanoTagPlugin/tag.config.js +4 -0
  428. package/libs/PanoTagPlugin/utils/addDebugPoints.js +4 -0
  429. package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +7 -7
  430. package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +4 -0
  431. package/libs/PanoTagPlugin/utils/tagPosition.js +1 -1
  432. package/libs/PanoVideoPlugin/Controller.js +53 -39
  433. package/libs/PanoVideoPlugin/VideoMeshController.js +89 -43
  434. package/libs/PanoVideoPlugin/index.js +6 -7
  435. package/libs/_commonjsHelpers.js +4 -0
  436. package/libs/base/BasePlugin.js +23 -15
  437. package/libs/base/BasePluginWithData.js +2 -2
  438. package/libs/components/PaintBrush/Controller.js +15 -4
  439. package/libs/components/PaintBrush/Subscribe.js +37 -0
  440. package/libs/components/PaintBrush/index.js +17 -4
  441. package/libs/components/PaintBrush/tween.js +2 -2
  442. package/libs/components/index.js +1 -1
  443. package/libs/floorplan/Components/BaseImage.js +24 -6
  444. package/libs/floorplan/Components/Camera.js +73 -27
  445. package/libs/floorplan/Components/Compass.js +20 -3
  446. package/libs/floorplan/Components/CurrentFloor.js +189 -50
  447. package/libs/floorplan/Components/Main.js +202 -54
  448. package/libs/floorplan/Components/Normalmage.js +5 -2
  449. package/libs/floorplan/Components/RoomHighlight/Room.js +38 -5
  450. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +105 -58
  451. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +91 -18
  452. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +106 -37
  453. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +42 -13
  454. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +15 -3
  455. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +40 -3
  456. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +37 -3
  457. package/libs/floorplan/Components/RuleLabels/RuleItem.js +125 -51
  458. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +80 -15
  459. package/libs/floorplan/Components/SvgImage.js +18 -6
  460. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +117 -75
  461. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -6
  462. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +96 -53
  463. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -6
  464. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +43 -15
  465. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +83 -22
  466. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +61 -39
  467. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +128 -33
  468. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +39 -36
  469. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -6
  470. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +83 -64
  471. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -6
  472. package/libs/floorplan/index.js +1 -3
  473. package/libs/floorplan/typings/floorplanServerData.js +80 -80
  474. package/libs/index.js +136 -129
  475. package/libs/shared-utils/Object3DHelper/Base/BaseController.js +29 -1
  476. package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +10 -1
  477. package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -1
  478. package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +5 -2
  479. package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +9 -8
  480. package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -0
  481. package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -1
  482. package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +4 -1
  483. package/libs/shared-utils/Object3DHelper/index.js +15 -0
  484. package/libs/shared-utils/Subscribe.js +38 -1
  485. package/libs/shared-utils/animationFrame/BetterTween.d.ts +3 -2
  486. package/libs/shared-utils/animationFrame/BetterTween.js +19 -12
  487. package/libs/shared-utils/animationFrame/index.d.ts +1 -1
  488. package/libs/shared-utils/animationFrame/index.js +14 -14
  489. package/libs/shared-utils/animationFrame/tween.d.ts +32 -23
  490. package/libs/shared-utils/animationFrame/tween.js +15 -15
  491. package/libs/shared-utils/audio.js +9 -9
  492. package/libs/shared-utils/changeModelCanvasOpacity.js +1 -1
  493. package/libs/shared-utils/createCanvasTextTexture.js +3 -3
  494. package/libs/shared-utils/five/changeMode.js +11 -11
  495. package/libs/shared-utils/index.js +15 -15
  496. package/libs/shared-utils/log.js +2 -2
  497. package/libs/shared-utils/math/Interval.js +2 -0
  498. package/libs/shared-utils/math/Rectangle.js +2 -0
  499. package/libs/shared-utils/svelte/resizeObserver.d.ts +2 -10
  500. package/libs/shared-utils/svelte/resizeObserverGlobal.d.ts +10 -0
  501. package/libs/shared-utils/three/FivePointSelector.js +1 -1
  502. package/libs/shared-utils/three/Magnifier.js +10 -7
  503. package/libs/shared-utils/three/PointDomHelper.js +11 -10
  504. package/libs/shared-utils/three/index.js +1 -2
  505. package/libs/shared-utils/three/loadTexture.js +10 -10
  506. package/libs/shared-utils/threex/domevents/index.js +2 -2
  507. package/libs/vendor/@tweenjs/tween/dist/tween.esm.js.js +403 -0
  508. package/libs/vendor/classnames/index.js +47 -0
  509. package/libs/vendor/easy-reactive/main.js +3 -0
  510. package/libs/vendor/{simply-reactive → easy-reactive}/src/simply-reactive.js +8 -8
  511. package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/object.js +1 -1
  512. package/libs/vendor/gl-vec2/add.js +7 -0
  513. package/libs/vendor/gl-vec2/dot.js +7 -0
  514. package/libs/vendor/gl-vec2/normalize.js +8 -0
  515. package/libs/vendor/gl-vec2/set.js +7 -0
  516. package/libs/vendor/gl-vec2/subtract.js +7 -0
  517. package/libs/vendor/lodash.clonedeep/index.js +457 -0
  518. package/libs/vendor/lodash.get/index.js +236 -0
  519. package/libs/vendor/lodash.isequal/index.js +489 -0
  520. package/libs/vendor/object-assign-deep/objectAssignDeep.js +62 -0
  521. package/libs/vendor/polyline-miter-util/index.js +18 -0
  522. package/libs/vendor/polyline-normals/index.js +28 -0
  523. package/libs/vendor/resize-observer-polyfill/dist/ResizeObserver.es.js +155 -134
  524. package/libs/vendor/svelte/easing/index.js +4 -5
  525. package/libs/vendor/svelte/index.js +1 -1
  526. package/libs/vendor/svelte/internal/index.js +412 -388
  527. package/libs/vendor/svelte/store/index.js +6 -6
  528. package/libs/vendor/svelte/transition/index.js +23 -20
  529. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +41 -3
  530. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +338 -71
  531. package/libs/vendor/svelte-carousel/src/components/Carousel/createCarousel.js +7 -1
  532. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +19 -3
  533. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +30 -7
  534. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +15 -3
  535. package/libs/vendor/svelte-carousel/src/utils/clones.js +1 -0
  536. package/libs/vendor/svelte-carousel/src/utils/lazy.js +3 -0
  537. package/package.json +11 -13
  538. package/dist/GuideLinePlugin/utils/getArrowMaterial.d.ts +0 -4
  539. package/libs/vendor/simply-reactive/main.js +0 -3
  540. /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/subscription.js +0 -0
  541. /package/libs/vendor/{simply-reactive → easy-reactive}/src/utils/watcher.js +0 -0
@@ -1,72 +1,94 @@
1
- import { SvelteComponent as j, init as k, safe_not_equal as $, append_styles as w, element as h, attr as _, insert as b, update_keyed_each as y, noop as u, detach as v, space as I, set_style as r, append as g, destroy_block as z } from "../../../../vendor/svelte/internal/index.js";
2
- function x(a) {
3
- w(a, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
1
+ import { SvelteComponent as k, init as y, safe_not_equal as x, append_styles as I, element as _, attr as h, insert as v, update_keyed_each as $, noop as g, detach as j, space as w, set_style as r, append as d, destroy_block as z } from "../../../../vendor/svelte/internal/index.js";
2
+ function O(s) {
3
+ I(s, "svelte-1i87fz7", ".plugin-pano-floorplan__extra-objects.svelte-1i87fz7{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.plugin-pano-floorplan__extra-object-item--position.svelte-1i87fz7{position:absolute;width:0;height:0}.plugin-pano-floorplan__extra-object-item.svelte-1i87fz7{transform:translate(-50%, -50%)}");
4
4
  }
5
- function d(a, t, e) {
6
- const l = a.slice();
5
+ function m(s, t, e) {
6
+ const l = s.slice();
7
7
  return l[1] = t[e], l;
8
8
  }
9
- function m(a, t) {
10
- let e, l, n = `${t[1].icon.width / 16}rem`, c = `${t[1].icon.height / 16}rem`, i, o = `${t[1].positionInImage.y * 100}%`, s = `${t[1].positionInImage.x * 100}%`;
9
+ function b(s, t) {
10
+ let e, l, a = `${/*extraObject*/
11
+ t[1].icon.width / 16}rem`, p = `${/*extraObject*/
12
+ t[1].icon.height / 16}rem`, i, n = `${/*extraObject*/
13
+ t[1].positionInImage.y * 100}%`, o = `${/*extraObject*/
14
+ t[1].positionInImage.x * 100}%`;
11
15
  return {
12
- key: a,
16
+ key: s,
13
17
  first: null,
14
18
  c() {
15
- e = h("div"), l = h("div"), i = I(), _(l, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"), r(l, "background-image", `url(${t[1].icon.url})`), r(l, "width", n), r(l, "height", c), _(e, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"), r(e, "top", o), r(e, "left", s), this.first = e;
19
+ e = _("div"), l = _("div"), i = w(), h(l, "class", "plugin-pano-floorplan__extra-object-item svelte-1i87fz7"), r(l, "background-image", `url(${/*extraObject*/
20
+ t[1].icon.url})`), r(l, "width", a), r(l, "height", p), h(e, "class", "plugin-pano-floorplan__extra-object-item--position svelte-1i87fz7"), r(e, "top", n), r(e, "left", o), this.first = e;
16
21
  },
17
- m(f, p) {
18
- b(f, e, p), g(e, l), g(e, i);
22
+ m(f, c) {
23
+ v(f, e, c), d(e, l), d(e, i);
19
24
  },
20
- p(f, p) {
21
- t = f, p & 1 && r(l, "background-image", `url(${t[1].icon.url})`), p & 1 && n !== (n = `${t[1].icon.width / 16}rem`) && r(l, "width", n), p & 1 && c !== (c = `${t[1].icon.height / 16}rem`) && r(l, "height", c), p & 1 && o !== (o = `${t[1].positionInImage.y * 100}%`) && r(e, "top", o), p & 1 && s !== (s = `${t[1].positionInImage.x * 100}%`) && r(e, "left", s);
25
+ p(f, c) {
26
+ t = f, c & /*extraObjects*/
27
+ 1 && r(l, "background-image", `url(${/*extraObject*/
28
+ t[1].icon.url})`);
29
+ const u = c & /*extraObjects*/
30
+ 1;
31
+ u && r(l, "width", a), u && r(l, "height", p), c & /*extraObjects*/
32
+ 1 && n !== (n = `${/*extraObject*/
33
+ t[1].positionInImage.y * 100}%`) && r(e, "top", n), c & /*extraObjects*/
34
+ 1 && o !== (o = `${/*extraObject*/
35
+ t[1].positionInImage.x * 100}%`) && r(e, "left", o);
22
36
  },
23
37
  d(f) {
24
- f && v(e);
38
+ f && j(e);
25
39
  }
26
40
  };
27
41
  }
28
- function O(a) {
29
- let t, e = [], l = /* @__PURE__ */ new Map(), n = a[0];
30
- const c = (i) => i[1].id;
31
- for (let i = 0; i < n.length; i += 1) {
32
- let o = d(a, n, i), s = c(o);
33
- l.set(s, e[i] = m(s, o));
42
+ function q(s) {
43
+ let t, e = [], l = /* @__PURE__ */ new Map(), a = (
44
+ /*extraObjects*/
45
+ s[0]
46
+ );
47
+ const p = (i) => (
48
+ /*extraObject*/
49
+ i[1].id
50
+ );
51
+ for (let i = 0; i < a.length; i += 1) {
52
+ let n = m(s, a, i), o = p(n);
53
+ l.set(o, e[i] = b(o, n));
34
54
  }
35
55
  return {
36
56
  c() {
37
- t = h("div");
57
+ t = _("div");
38
58
  for (let i = 0; i < e.length; i += 1)
39
59
  e[i].c();
40
- _(t, "class", "plugin-pano-floorplan__extra-objects svelte-1i87fz7");
60
+ h(t, "class", "plugin-pano-floorplan__extra-objects svelte-1i87fz7");
41
61
  },
42
- m(i, o) {
43
- b(i, t, o);
44
- for (let s = 0; s < e.length; s += 1)
45
- e[s].m(t, null);
62
+ m(i, n) {
63
+ v(i, t, n);
64
+ for (let o = 0; o < e.length; o += 1)
65
+ e[o] && e[o].m(t, null);
46
66
  },
47
- p(i, [o]) {
48
- o & 1 && (n = i[0], e = y(e, o, c, 1, i, n, l, t, z, m, null, d));
67
+ p(i, [n]) {
68
+ n & /*extraObjects*/
69
+ 1 && (a = /*extraObjects*/
70
+ i[0], e = $(e, n, p, 1, i, a, l, t, z, b, null, m));
49
71
  },
50
- i: u,
51
- o: u,
72
+ i: g,
73
+ o: g,
52
74
  d(i) {
53
- i && v(t);
54
- for (let o = 0; o < e.length; o += 1)
55
- e[o].d();
75
+ i && j(t);
76
+ for (let n = 0; n < e.length; n += 1)
77
+ e[n].d();
56
78
  }
57
79
  };
58
80
  }
59
- function q(a, t, e) {
81
+ function C(s, t, e) {
60
82
  let { extraObjects: l = [] } = t;
61
- return a.$$set = (n) => {
62
- "extraObjects" in n && e(0, l = n.extraObjects);
83
+ return s.$$set = (a) => {
84
+ "extraObjects" in a && e(0, l = a.extraObjects);
63
85
  }, [l];
64
86
  }
65
- class E extends j {
87
+ class M extends k {
66
88
  constructor(t) {
67
- super(), k(this, t, q, O, $, { extraObjects: 0 }, x);
89
+ super(), y(this, t, C, q, x, { extraObjects: 0 }, O);
68
90
  }
69
91
  }
70
92
  export {
71
- E as default
93
+ M as default
72
94
  };
@@ -16,7 +16,10 @@ function re(i) {
16
16
  T(i, "svelte-1mvqyqq", ".plugin-floorplan-radar.svelte-1mvqyqq{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.plugin-floorplan-radar-container.svelte-1mvqyqq{position:relative}");
17
17
  }
18
18
  function M(i) {
19
- let e, l, n, o, r = i[7] !== 0 && F(i);
19
+ let e, l, n, o, r = (
20
+ /*clientWidth*/
21
+ i[7] !== 0 && F(i)
22
+ );
20
23
  return {
21
24
  c() {
22
25
  e = P("div"), r && r.c(), R(e, "class", "plugin-floorplan-radar svelte-1mvqyqq");
@@ -24,12 +27,24 @@ function M(i) {
24
27
  m(f, m) {
25
28
  y(f, e, m), r && r.m(e, null), l = !0, n || (o = [
26
29
  Y(ne.call(null, e)),
27
- H(e, "clientWidth", i[13]),
28
- H(e, "clientHeight", i[14])
30
+ H(
31
+ e,
32
+ "clientWidth",
33
+ /*clientWidth_handler*/
34
+ i[13]
35
+ ),
36
+ H(
37
+ e,
38
+ "clientHeight",
39
+ /*clientHeight_handler*/
40
+ i[14]
41
+ )
29
42
  ], n = !0);
30
43
  },
31
44
  p(f, m) {
32
- f[7] !== 0 ? r ? (r.p(f, m), m & 128 && u(r, 1)) : (r = F(f), r.c(), u(r, 1), r.m(e, null)) : r && (B(), p(r, 1, 1, () => {
45
+ /*clientWidth*/
46
+ f[7] !== 0 ? r ? (r.p(f, m), m & /*clientWidth*/
47
+ 128 && u(r, 1)) : (r = F(f), r.c(), u(r, 1), r.m(e, null)) : r && (B(), p(r, 1, 1, () => {
33
48
  r = null;
34
49
  }), N());
35
50
  },
@@ -45,16 +60,39 @@ function M(i) {
45
60
  };
46
61
  }
47
62
  function F(i) {
48
- let e, l, n, o, r = `${i[9]}px`, f = `${i[12]}px`, m;
63
+ let e, l, n, o, r = `${/*contentWidth*/
64
+ i[9]}px`, f = `${/*contentHeight*/
65
+ i[12]}px`, m;
49
66
  const c = [
50
67
  {
51
- five: i[0],
52
- pxmm: i[10],
53
- floorIndex: i[11],
54
- floorplanData: i[3],
55
- hoverEnable: i[2],
56
- extraObjects: i[5],
57
- highlightData: i[6]
68
+ five: (
69
+ /*five*/
70
+ i[0]
71
+ ),
72
+ pxmm: (
73
+ /*pxmm*/
74
+ i[10]
75
+ ),
76
+ floorIndex: (
77
+ /*floorIndex*/
78
+ i[11]
79
+ ),
80
+ floorplanData: (
81
+ /*floorplanData*/
82
+ i[3]
83
+ ),
84
+ hoverEnable: (
85
+ /*hoverEnable*/
86
+ i[2]
87
+ ),
88
+ extraObjects: (
89
+ /*extraObjects*/
90
+ i[5]
91
+ ),
92
+ highlightData: (
93
+ /*highlightData*/
94
+ i[6]
95
+ )
58
96
  }
59
97
  ];
60
98
  let h = {};
@@ -63,10 +101,22 @@ function F(i) {
63
101
  l = new te({ props: h });
64
102
  const g = [
65
103
  {
66
- pxmm: i[10],
67
- five: i[0],
68
- floorplanData: i[3],
69
- cameraImageUrl: i[4]
104
+ pxmm: (
105
+ /*pxmm*/
106
+ i[10]
107
+ ),
108
+ five: (
109
+ /*five*/
110
+ i[0]
111
+ ),
112
+ floorplanData: (
113
+ /*floorplanData*/
114
+ i[3]
115
+ ),
116
+ cameraImageUrl: (
117
+ /*cameraImageUrl*/
118
+ i[4]
119
+ )
70
120
  }
71
121
  ];
72
122
  let d = {};
@@ -80,27 +130,66 @@ function F(i) {
80
130
  y(t, e, s), C(l, e, null), $(e, n), C(o, e, null), m = !0;
81
131
  },
82
132
  p(t, s) {
83
- const _ = s & 3181 ? S(c, [
133
+ const _ = s & /*five, pxmm, floorIndex, floorplanData, hoverEnable, extraObjects, highlightData*/
134
+ 3181 ? S(c, [
84
135
  {
85
- five: t[0],
86
- pxmm: t[10],
87
- floorIndex: t[11],
88
- floorplanData: t[3],
89
- hoverEnable: t[2],
90
- extraObjects: t[5],
91
- highlightData: t[6]
136
+ five: (
137
+ /*five*/
138
+ t[0]
139
+ ),
140
+ pxmm: (
141
+ /*pxmm*/
142
+ t[10]
143
+ ),
144
+ floorIndex: (
145
+ /*floorIndex*/
146
+ t[11]
147
+ ),
148
+ floorplanData: (
149
+ /*floorplanData*/
150
+ t[3]
151
+ ),
152
+ hoverEnable: (
153
+ /*hoverEnable*/
154
+ t[2]
155
+ ),
156
+ extraObjects: (
157
+ /*extraObjects*/
158
+ t[5]
159
+ ),
160
+ highlightData: (
161
+ /*highlightData*/
162
+ t[6]
163
+ )
92
164
  }
93
165
  ]) : {};
94
166
  l.$set(_);
95
- const v = s & 1049 ? S(g, [
167
+ const v = s & /*pxmm, five, floorplanData, cameraImageUrl*/
168
+ 1049 ? S(g, [
96
169
  {
97
- pxmm: t[10],
98
- five: t[0],
99
- floorplanData: t[3],
100
- cameraImageUrl: t[4]
170
+ pxmm: (
171
+ /*pxmm*/
172
+ t[10]
173
+ ),
174
+ five: (
175
+ /*five*/
176
+ t[0]
177
+ ),
178
+ floorplanData: (
179
+ /*floorplanData*/
180
+ t[3]
181
+ ),
182
+ cameraImageUrl: (
183
+ /*cameraImageUrl*/
184
+ t[4]
185
+ )
101
186
  }
102
187
  ]) : {};
103
- o.$set(v), s & 512 && r !== (r = `${t[9]}px`) && q(e, "width", r), s & 4096 && f !== (f = `${t[12]}px`) && q(e, "height", f);
188
+ o.$set(v), s & /*contentWidth*/
189
+ 512 && r !== (r = `${/*contentWidth*/
190
+ t[9]}px`) && q(e, "width", r), s & /*contentHeight*/
191
+ 4096 && f !== (f = `${/*contentHeight*/
192
+ t[12]}px`) && q(e, "height", f);
104
193
  },
105
194
  i(t) {
106
195
  m || (u(l.$$.fragment, t), u(o.$$.fragment, t), m = !0);
@@ -114,7 +203,10 @@ function F(i) {
114
203
  };
115
204
  }
116
205
  function le(i) {
117
- let e, l, n = i[1] && M(i);
206
+ let e, l, n = (
207
+ /*visible*/
208
+ i[1] && M(i)
209
+ );
118
210
  return {
119
211
  c() {
120
212
  n && n.c(), e = V();
@@ -123,7 +215,9 @@ function le(i) {
123
215
  n && n.m(o, r), y(o, e, r), l = !0;
124
216
  },
125
217
  p(o, [r]) {
126
- o[1] ? n ? (n.p(o, r), r & 2 && u(n, 1)) : (n = M(o), n.c(), u(n, 1), n.m(e.parentNode, e)) : n && (B(), p(n, 1, 1, () => {
218
+ /*visible*/
219
+ o[1] ? n ? (n.p(o, r), r & /*visible*/
220
+ 2 && u(n, 1)) : (n = M(o), n.c(), u(n, 1), n.m(e.parentNode, e)) : n && (B(), p(n, 1, 1, () => {
127
221
  n = null;
128
222
  }), N());
129
223
  },
@@ -155,7 +249,8 @@ function ie(i, e, l) {
155
249
  return i.$$set = (a) => {
156
250
  "five" in a && l(0, n = a.five), "visible" in a && l(1, o = a.visible), "hoverEnable" in a && l(2, r = a.hoverEnable), "floorplanData" in a && l(3, f = a.floorplanData), "cameraImageUrl" in a && l(4, m = a.cameraImageUrl), "extraObjects" in a && l(5, c = a.extraObjects), "highlightData" in a && l(6, h = a.highlightData);
157
251
  }, i.$$.update = () => {
158
- if (i.$$.dirty & 904) {
252
+ if (i.$$.dirty & /*clientWidth, clientHeight, floorplanData, contentWidth*/
253
+ 904) {
159
254
  const a = Math.min(t, s), { max: O, min: E } = f.bounding, b = O.x - E.x, D = O.y - E.y, U = function() {
160
255
  return b > D ? [a, a / b * D] : [a / D * b, a];
161
256
  }();
@@ -2,35 +2,35 @@ var g = Object.defineProperty, w = Object.defineProperties;
2
2
  var v = Object.getOwnPropertyDescriptors;
3
3
  var f = Object.getOwnPropertySymbols;
4
4
  var A = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
5
- var c = (r, i, t) => i in r ? g(r, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[i] = t, p = (r, i) => {
5
+ var u = (r, i, t) => i in r ? g(r, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[i] = t, p = (r, i) => {
6
6
  for (var t in i || (i = {}))
7
- A.call(i, t) && c(r, t, i[t]);
7
+ A.call(i, t) && u(r, t, i[t]);
8
8
  if (f)
9
9
  for (var t of f(i))
10
- S.call(i, t) && c(r, t, i[t]);
10
+ S.call(i, t) && u(r, t, i[t]);
11
11
  return r;
12
12
  }, b = (r, i) => w(r, v(i));
13
- var o = (r, i, t) => (c(r, typeof i != "symbol" ? i + "" : i, t), t);
14
- var l = (r, i, t) => new Promise((e, s) => {
13
+ var o = (r, i, t) => (u(r, typeof i != "symbol" ? i + "" : i, t), t);
14
+ var c = (r, i, t) => new Promise((e, s) => {
15
15
  var h = (n) => {
16
16
  try {
17
- u(t.next(n));
18
- } catch (d) {
19
- s(d);
17
+ d(t.next(n));
18
+ } catch (l) {
19
+ s(l);
20
20
  }
21
21
  }, a = (n) => {
22
22
  try {
23
- u(t.throw(n));
24
- } catch (d) {
25
- s(d);
23
+ d(t.throw(n));
24
+ } catch (l) {
25
+ s(l);
26
26
  }
27
- }, u = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(h, a);
28
- u((t = t.apply(r, i)).next());
27
+ }, d = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(h, a);
28
+ d((t = t.apply(r, i)).next());
29
29
  });
30
- import D from "./Components/Main.js";
31
- import { equal as _ } from "../../shared-utils/equal.js";
32
- import { CAMERA_IMAGE as E } from "../Assets/camera.js";
33
- import { Controller as y } from "../../base/BasePluginWithData.js";
30
+ import _ from "./Components/Main.js";
31
+ import { equal as y } from "../../shared-utils/equal.js";
32
+ import { CAMERA_IMAGE as D } from "../Assets/camera.js";
33
+ import { Controller as O } from "../../base/BasePluginWithData.js";
34
34
  import { formatData as m, formatExtraObjects as C } from "../utils/formatData.js";
35
35
  import "../../vendor/svelte/internal/index.js";
36
36
  import "./Components/Camera.js";
@@ -51,7 +51,7 @@ import "../../shared-utils/Subscribe.js";
51
51
  import "@realsee/five";
52
52
  import "hammerjs";
53
53
  import "three";
54
- import "@tweenjs/tween.js";
54
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
55
55
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
56
56
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
57
57
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -66,15 +66,16 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
66
66
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
67
67
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
68
68
  import "../../shared-utils/isAbsoluteURL.js";
69
- import "../../shared-utils/animationFrame/BetterTween.js";
70
- import "../../shared-utils/animationFrame/index.js";
71
69
  import "../Assets/floorplanExtraObject.js";
72
- class mt extends y {
70
+ class ft extends O {
73
71
  constructor(t, e) {
74
72
  super(t);
73
+ // =============== public properties =================
75
74
  o(this, "name", "panoFloorplanRadarPlugin");
76
75
  o(this, "state");
76
+ // =============== protected properties =================
77
77
  o(this, "data");
78
+ // =============== private properties =================
78
79
  o(this, "app");
79
80
  o(this, "wrapperSelector", "");
80
81
  o(this, "wrapper", null);
@@ -86,7 +87,7 @@ class mt extends y {
86
87
  this.disposed = !0, (t = this.app) == null || t.$destroy(), this.wrapper = null, this.wrapperSelector = "", this.hooks.emit("dispose");
87
88
  });
88
89
  o(this, "highlight", (t) => {
89
- !this.state.config.highlightEnable || (this.highlightData = t, this.render());
90
+ this.state.config.highlightEnable && (this.highlightData = t, this.render());
90
91
  });
91
92
  o(this, "unhighlight", () => {
92
93
  this.highlightData = {}, this.render();
@@ -100,21 +101,21 @@ class mt extends y {
100
101
  const s = {
101
102
  hoverEnable: !0,
102
103
  highlightEnable: !0,
103
- cameraImageUrl: E
104
+ cameraImageUrl: D
104
105
  }, h = e != null && e.configs ? e.configs : {}, a = p(p({}, s), h);
105
- this.state = { enabled: !0, visible: !0, config: a }, e != null && e.wrapper && console.warn("\u4E0D\u63A8\u8350\u7EE7\u7EED\u4F7F\u7528 params.selector \u914D\u7F6E\u7236\u5BB9\u5668\uFF0C\u8BF7\u4F7F\u7528 appendTo \u65B9\u6CD5"), typeof (e == null ? void 0 : e.wrapper) == "string" ? this.wrapperSelector = e.wrapper : (e == null ? void 0 : e.wrapper) instanceof Element && (this.wrapper = e.wrapper), t.once("dispose", this.dispose);
106
+ this.state = { enabled: !0, visible: !0, config: a }, e != null && e.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (e == null ? void 0 : e.wrapper) == "string" ? this.wrapperSelector = e.wrapper : (e == null ? void 0 : e.wrapper) instanceof Element && (this.wrapper = e.wrapper), t.once("dispose", this.dispose);
106
107
  }
107
108
  load(t, e, s = !0) {
108
- return l(this, null, function* () {
109
- function h(d) {
110
- return Object.prototype.hasOwnProperty.apply(d, ["version"]);
109
+ return c(this, null, function* () {
110
+ function h(l) {
111
+ return Object.prototype.hasOwnProperty.apply(l, ["version"]);
111
112
  }
112
- const a = JSON.parse(JSON.stringify(t)), u = h(a) ? a.data : a, n = this.data;
113
- this.data = yield m(u), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, n), e && this.updateState(e, s), this.render();
113
+ const a = JSON.parse(JSON.stringify(t)), d = h(a) ? a.data : a, n = this.data;
114
+ this.data = yield m(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, n), e && this.updateState(e, s), this.render();
114
115
  });
115
116
  }
116
117
  show() {
117
- return l(this, arguments, function* (t = {}) {
118
+ return c(this, arguments, function* (t = {}) {
118
119
  if (this.state.visible)
119
120
  return;
120
121
  const e = t.userAction !== void 0 ? t.userAction : !0;
@@ -122,7 +123,7 @@ class mt extends y {
122
123
  });
123
124
  }
124
125
  hide() {
125
- return l(this, arguments, function* (t = {}) {
126
+ return c(this, arguments, function* (t = {}) {
126
127
  if (!this.state.visible)
127
128
  return;
128
129
  const e = t.userAction !== void 0 ? t.userAction : !0;
@@ -141,6 +142,7 @@ class mt extends y {
141
142
  const e = t.userAction !== void 0 ? t.userAction : !0;
142
143
  this.updateState({ enabled: !1 }, t.userAction || e), this._disable({ userAction: e });
143
144
  }
145
+ /** 更改插件 State */
144
146
  setState(t, e = {}) {
145
147
  const s = this.state, h = e.userAction !== void 0 ? e.userAction : !0;
146
148
  if (this.updateState(t, h), t.enabled !== void 0 && s.enabled !== t.enabled) {
@@ -152,6 +154,7 @@ class mt extends y {
152
154
  t.visible ? this._show(a) : this._hide(a);
153
155
  }
154
156
  }
157
+ /** 把插件的渲染DOM插入到对应的容器中去 */
155
158
  appendTo(t) {
156
159
  this.wrapper = t, this.render();
157
160
  }
@@ -159,10 +162,10 @@ class mt extends y {
159
162
  this.setState({ config: t }, { userAction: e }), this.render();
160
163
  }
161
164
  setExtraObjectsWith3DPositions(t) {
162
- !this.data || (this.extraObjects = C(t, this.five, this.data), this.render());
165
+ this.data && (this.extraObjects = C(t, this.five, this.data), this.render());
163
166
  }
164
167
  formatData(t) {
165
- return l(this, null, function* () {
168
+ return c(this, null, function* () {
166
169
  return yield m(t.data);
167
170
  });
168
171
  }
@@ -184,7 +187,7 @@ class mt extends y {
184
187
  }
185
188
  updateState(t, e) {
186
189
  const s = this.state;
187
- this.state = p(p({}, this.state), t), !_(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: e });
190
+ this.state = p(p({}, this.state), t), !y(this.state, s, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: e });
188
191
  }
189
192
  render() {
190
193
  if (this.disposed || !this.state.enabled)
@@ -202,9 +205,9 @@ class mt extends y {
202
205
  extraObjects: this.extraObjects,
203
206
  highlightData: this.highlightData
204
207
  });
205
- this.app ? this.app.$set(t) : this.app = new D({ target: this.wrapper, props: t });
208
+ this.app ? this.app.$set(t) : this.app = new _({ target: this.wrapper, props: t });
206
209
  }
207
210
  }
208
211
  export {
209
- mt as Controller
212
+ ft as Controller
210
213
  };
@@ -22,7 +22,7 @@ import "../../shared-utils/Subscribe.js";
22
22
  import "@realsee/five";
23
23
  import "hammerjs";
24
24
  import "three";
25
- import "@tweenjs/tween.js";
25
+ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
26
26
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
27
27
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
28
28
  import "three/examples/jsm/renderers/CSS3DRenderer";
@@ -37,12 +37,10 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
37
37
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
38
38
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
39
39
  import "../../shared-utils/isAbsoluteURL.js";
40
- import "../../shared-utils/animationFrame/BetterTween.js";
41
- import "../../shared-utils/animationFrame/index.js";
42
40
  import "../utils/formatData.js";
43
41
  import "../Assets/floorplanExtraObject.js";
44
- const U = (o, r) => new t(o, r);
42
+ const S = (o, r) => new t(o, r);
45
43
  export {
46
- U as PanoFloorplanRadarPlugin,
47
- U as default
44
+ S as PanoFloorplanRadarPlugin,
45
+ S as default
48
46
  };