@realsee/dnalogel 2.22.0-dev.8 → 2.23.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 (451) hide show
  1. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  2. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  3. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  4. package/dist/index.cjs.js +65 -65
  5. package/dist/index.js +4614 -4447
  6. package/dist/index.umd.js +58 -58
  7. package/docs/classes/CSS3DRender.html +30 -30
  8. package/docs/classes/CruisePluginController.html +25 -25
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  11. package/docs/classes/Magnifier.html +19 -19
  12. package/docs/classes/ModelRoomLabelController.html +10 -10
  13. package/docs/classes/Object3DHelperController.html +24 -24
  14. package/docs/classes/PaintBrush.html +14 -14
  15. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  16. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  17. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  18. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  19. package/docs/classes/PanoTagPluginController.html +48 -48
  20. package/docs/classes/Util.BetterTween.html +8 -8
  21. package/docs/classes/Util.Interval.html +11 -11
  22. package/docs/classes/Util.Magnifier.html +19 -19
  23. package/docs/classes/Util.PointDomHelper.html +10 -10
  24. package/docs/classes/Util.PointHelper.html +10 -10
  25. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  26. package/docs/classes/Util.Rectangle.html +12 -12
  27. package/docs/enums/CameraMovementEffect.html +6 -6
  28. package/docs/enums/ContentType.html +19 -19
  29. package/docs/enums/DIRECTION.html +8 -8
  30. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  31. package/docs/enums/DimensionType.html +6 -6
  32. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  33. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  34. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  35. package/docs/enums/PointType.html +6 -6
  36. package/docs/enums/Rotation.html +7 -7
  37. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  38. package/docs/functions/CameraMovementPlugin.html +3 -3
  39. package/docs/functions/CruisePlugin.html +3 -3
  40. package/docs/functions/GuideLinePlugin.html +4 -4
  41. package/docs/functions/ItemLabelPlugin.html +3 -3
  42. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  43. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  44. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  45. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  46. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  47. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  48. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  49. package/docs/functions/ModelViewPlugin.html +3 -3
  50. package/docs/functions/Object3DHelperPlugin.html +3 -3
  51. package/docs/functions/PanoCompassPlugin.html +3 -3
  52. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  53. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  54. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  55. package/docs/functions/PanoMeasurePlugin.html +3 -3
  56. package/docs/functions/PanoRulerPlugin.html +3 -3
  57. package/docs/functions/PanoRulerProPlugin.html +3 -3
  58. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  59. package/docs/functions/PanoTagPlugin.html +3 -3
  60. package/docs/functions/PanoVideoPlugin.html +3 -3
  61. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  62. package/docs/functions/Util.absoluteUrl.html +4 -4
  63. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  64. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  65. package/docs/functions/Util.getFrameTime.html +4 -4
  66. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  67. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  68. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  69. package/docs/functions/Util.isModelLike.html +4 -4
  70. package/docs/functions/Util.isNil.html +4 -4
  71. package/docs/functions/Util.isPanoramaLike.html +4 -4
  72. package/docs/functions/Util.nextFrame.html +4 -4
  73. package/docs/functions/Util.notNil.html +4 -4
  74. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  75. package/docs/functions/Util.tweenProgress.html +4 -4
  76. package/docs/functions/Util.uuid.html +4 -4
  77. package/docs/functions/pluginFlag.html +4 -4
  78. package/docs/index.html +4 -4
  79. package/docs/interfaces/AddTagConfig.html +5 -5
  80. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  81. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  82. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  83. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  84. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  85. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  86. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  87. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  88. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  89. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  90. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  91. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  92. package/docs/interfaces/EventMap.html +14 -14
  93. package/docs/interfaces/FloorplanBounding.html +7 -7
  94. package/docs/interfaces/FloorplanData.html +9 -9
  95. package/docs/interfaces/FloorplanEntrance.html +10 -10
  96. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  97. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  98. package/docs/interfaces/FloorplanFloorData.html +8 -8
  99. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  100. package/docs/interfaces/FloorplanObserver.html +8 -8
  101. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  102. package/docs/interfaces/FloorplanPosition.html +6 -6
  103. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  104. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  105. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  106. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  107. package/docs/interfaces/FloorplanServerData.html +6 -6
  108. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  109. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  110. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  111. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  112. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  113. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  114. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  115. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  116. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  117. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  118. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -8
  119. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  120. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  121. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  122. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  123. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  124. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  125. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  126. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  127. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  128. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  129. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  130. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  131. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  132. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  133. package/docs/interfaces/HelperOffset.html +7 -7
  134. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  135. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  136. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  137. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  138. package/docs/interfaces/MinMax.html +6 -6
  139. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  140. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  141. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  142. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  143. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  144. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  145. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  146. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  147. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  148. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  149. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  150. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  151. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  152. package/docs/interfaces/Object3DHelperState.html +7 -7
  153. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  154. package/docs/interfaces/PaintBrushAction.html +11 -11
  155. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  156. package/docs/interfaces/PaintBrushState.html +9 -9
  157. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  158. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  159. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  160. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  161. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  162. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  163. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  164. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  165. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  166. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  167. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  168. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  169. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  170. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  171. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  172. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  173. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  174. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  175. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  176. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  177. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  178. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  179. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  180. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  181. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  182. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  184. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  185. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  186. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  187. package/docs/interfaces/Point.html +7 -7
  188. package/docs/interfaces/Room.html +8 -8
  189. package/docs/interfaces/RoomInfo.html +6 -6
  190. package/docs/interfaces/RoomLabel.html +13 -13
  191. package/docs/interfaces/RoomRules.html +4 -4
  192. package/docs/interfaces/Rooms.html +4 -4
  193. package/docs/interfaces/Scissor.html +8 -8
  194. package/docs/interfaces/State.html +7 -7
  195. package/docs/interfaces/TagCacheInterface.html +11 -11
  196. package/docs/interfaces/TagConfig.html +12 -12
  197. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  198. package/docs/interfaces/TagIconUrl.html +11 -11
  199. package/docs/interfaces/TagObjectGroup.html +5 -5
  200. package/docs/interfaces/TagStyle.html +5 -5
  201. package/docs/interfaces/Tags.html +8 -8
  202. package/docs/interfaces/TemporaryState.html +5 -5
  203. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  204. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  205. package/docs/interfaces/Util.PointIntersection.html +7 -7
  206. package/docs/modules/CruisePluginTypes.html +4 -4
  207. package/docs/modules/GuideLineItem.html +4 -4
  208. package/docs/modules/GuideLineModeItem.html +4 -4
  209. package/docs/modules/GuideLinePluginType.html +4 -4
  210. package/docs/modules/PanoVideoPluginType.html +4 -4
  211. package/docs/modules/Util.html +4 -4
  212. package/docs/modules.html +4 -4
  213. package/docs/types/ArrayPosition.html +4 -4
  214. package/docs/types/AudioAppearance.html +4 -4
  215. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  216. package/docs/types/CSS3DRenderExportType.html +4 -4
  217. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  218. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  219. package/docs/types/ClassFunctionParameters.html +4 -4
  220. package/docs/types/Color.html +4 -4
  221. package/docs/types/ContentTypeConfigKey.html +4 -4
  222. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  223. package/docs/types/ContentTypeMap.html +4 -4
  224. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  225. package/docs/types/Create3DElementReturnType.html +4 -4
  226. package/docs/types/CruisePluginExportType.html +4 -4
  227. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  228. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  229. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  230. package/docs/types/DeprecatedTagProperty.html +4 -4
  231. package/docs/types/Direction-1.html +4 -4
  232. package/docs/types/Direction4.html +4 -4
  233. package/docs/types/ElementRenderer.html +4 -4
  234. package/docs/types/FloorplanRuleLabels.html +4 -4
  235. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  236. package/docs/types/GuideLinePluginExportType.html +4 -4
  237. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  238. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  239. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  241. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  242. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  243. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  244. package/docs/types/HelperEventMap.html +4 -4
  245. package/docs/types/LoadTagConfig.html +4 -4
  246. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  247. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  248. package/docs/types/MediaData.html +4 -4
  249. package/docs/types/MediaStore.html +4 -4
  250. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  251. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  252. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  253. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  254. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  255. package/docs/types/MoveArgs.html +4 -4
  256. package/docs/types/MoveOpts.html +4 -4
  257. package/docs/types/Object3DHelperEventMap.html +4 -4
  258. package/docs/types/ObjectFit.html +4 -4
  259. package/docs/types/PaintBrushEventMap.html +4 -4
  260. package/docs/types/PanoCompassPluginData.html +4 -4
  261. package/docs/types/PanoCompassPluginExportType.html +4 -4
  262. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  263. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  264. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  265. package/docs/types/PanoIndex.html +4 -4
  266. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  267. package/docs/types/PanoMeasureReturnType.html +4 -4
  268. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  269. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  270. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  271. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  272. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  273. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  274. package/docs/types/PlaneTag.html +4 -4
  275. package/docs/types/Point2DTag.html +4 -4
  276. package/docs/types/Point3DTag.html +4 -4
  277. package/docs/types/PointTag.html +4 -4
  278. package/docs/types/PointTagInstance.html +4 -4
  279. package/docs/types/Position.html +4 -4
  280. package/docs/types/RotateArgs.html +4 -4
  281. package/docs/types/RotateOpts.html +4 -4
  282. package/docs/types/RuleLabelsKey.html +4 -4
  283. package/docs/types/RuleLabelsValue.html +4 -4
  284. package/docs/types/StickType.html +4 -4
  285. package/docs/types/Tag.html +4 -4
  286. package/docs/types/Tag2D.html +4 -4
  287. package/docs/types/Tag3D.html +4 -4
  288. package/docs/types/TagContentType.html +4 -4
  289. package/docs/types/TagDimensionType.html +4 -4
  290. package/docs/types/TagElement.html +4 -4
  291. package/docs/types/TagEvents.html +4 -4
  292. package/docs/types/TagGLTFObject.html +4 -4
  293. package/docs/types/TagHooks.html +4 -4
  294. package/docs/types/TagId.html +4 -4
  295. package/docs/types/TagInstance.html +4 -4
  296. package/docs/types/TagPointType.html +4 -4
  297. package/docs/types/TagRendererMap.html +4 -4
  298. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  299. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  300. package/docs/types/WorkCode.html +4 -4
  301. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  302. package/docs/variables/PLUGIN.html +4 -4
  303. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  304. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  305. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  306. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  307. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  308. package/libs/CruisePlugin/Controller.js +103 -90
  309. package/libs/CruisePlugin/index.js +22 -9
  310. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  311. package/libs/GuideLinePlugin/Controller.js +38 -25
  312. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  313. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  314. package/libs/GuideLinePlugin/index.js +24 -11
  315. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  316. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  317. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  318. package/libs/ItemLabelPlugin/index.js +16 -5
  319. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  320. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  321. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  322. package/libs/ModelItemLabelPlugin/index.js +16 -5
  323. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  324. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  325. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  326. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  327. package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
  328. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  329. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  330. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  331. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  332. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  333. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  334. package/libs/PanoMeasurePlugin/Components/Controller0.js +48 -37
  335. package/libs/PanoMeasurePlugin/Components/Controller1.js +59 -48
  336. package/libs/PanoMeasurePlugin/Components/Tip.js +74 -64
  337. package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
  338. package/libs/PanoMeasurePlugin/Modules/GuideController.js +25 -15
  339. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -5
  340. package/libs/PanoMeasurePlugin/index.js +27 -16
  341. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  342. package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
  343. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  344. package/libs/PanoRulerProPlugin/index.js +15 -4
  345. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  346. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  347. package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
  348. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  349. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  350. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  351. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  352. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  353. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
  354. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
  355. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  356. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  357. package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
  358. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  359. package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
  360. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  361. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  362. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
  363. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
  364. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  365. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
  366. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  367. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  368. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  369. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  370. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  371. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
  372. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  373. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
  374. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
  375. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  376. package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
  377. package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
  378. package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
  379. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  380. package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
  381. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
  382. package/libs/PanoTagPlugin/controller/index.js +95 -82
  383. package/libs/PanoTagPlugin/index.js +26 -13
  384. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  385. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  386. package/libs/base/BasePlugin.js +1 -1
  387. package/libs/floorplan/Components/BaseImage.js +43 -39
  388. package/libs/floorplan/Components/Camera.js +16 -13
  389. package/libs/floorplan/Components/Compass.js +27 -24
  390. package/libs/floorplan/Components/CurrentFloor.js +25 -20
  391. package/libs/floorplan/Components/Main.js +58 -49
  392. package/libs/floorplan/Components/Normalmage.js +25 -22
  393. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  394. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  395. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
  396. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
  397. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  398. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  399. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  400. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  401. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  402. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  403. package/libs/floorplan/Components/SvgImage.js +30 -27
  404. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
  405. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  406. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
  407. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  408. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
  409. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
  410. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
  411. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
  412. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
  413. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  414. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
  415. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  416. package/libs/floorplan/index.js +1 -0
  417. package/libs/index.js +126 -112
  418. package/libs/shared-utils/logger.js +1 -1
  419. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  420. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  421. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  422. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  423. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  424. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  425. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  426. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  427. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  428. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  429. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  430. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  431. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  432. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  433. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  434. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  435. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  436. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  437. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  438. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  439. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  440. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  441. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  442. package/libs/vendor/svelte/src/shared/version.js +4 -0
  443. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
  444. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  445. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  446. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  447. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  448. package/package.json +1 -1
  449. package/libs/vendor/svelte/internal/index.js +0 -749
  450. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  451. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,42 +1,54 @@
1
1
  var g = Object.defineProperty, w = Object.defineProperties;
2
2
  var v = Object.getOwnPropertyDescriptors;
3
- var f = Object.getOwnPropertySymbols;
3
+ var m = Object.getOwnPropertySymbols;
4
4
  var A = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
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
- for (var t in i || (i = {}))
7
- A.call(i, t) && u(r, t, i[t]);
8
- if (f)
9
- for (var t of f(i))
10
- S.call(i, t) && u(r, t, i[t]);
11
- return r;
12
- }, b = (r, i) => w(r, v(i));
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) => {
5
+ var u = (s, e, t) => e in s ? g(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, p = (s, e) => {
6
+ for (var t in e || (e = {}))
7
+ A.call(e, t) && u(s, t, e[t]);
8
+ if (m)
9
+ for (var t of m(e))
10
+ S.call(e, t) && u(s, t, e[t]);
11
+ return s;
12
+ }, f = (s, e) => w(s, v(e));
13
+ var o = (s, e, t) => (u(s, typeof e != "symbol" ? e + "" : e, t), t);
14
+ var c = (s, e, t) => new Promise((i, r) => {
15
15
  var h = (n) => {
16
16
  try {
17
17
  d(t.next(n));
18
18
  } catch (l) {
19
- s(l);
19
+ r(l);
20
20
  }
21
21
  }, a = (n) => {
22
22
  try {
23
23
  d(t.throw(n));
24
24
  } catch (l) {
25
- s(l);
25
+ r(l);
26
26
  }
27
- }, d = (n) => n.done ? e(n.value) : Promise.resolve(n.value).then(h, a);
28
- d((t = t.apply(r, i)).next());
27
+ }, d = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(h, a);
28
+ d((t = t.apply(s, e)).next());
29
29
  });
30
30
  import _ from "./Components/Main.js";
31
31
  import { equal as y } from "../../shared-utils/equal.js";
32
32
  import { CAMERA_IMAGE as D } from "../Assets/camera.js";
33
33
  import { Controller as O } from "../../base/BasePluginWithData.js";
34
- import { formatData as m, formatExtraObjects as C } from "../utils/formatData.js";
35
- import "../../vendor/svelte/internal/index.js";
34
+ import { formatData as b, formatExtraObjects as C } from "../utils/formatData.js";
35
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
36
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
37
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
38
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
39
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
40
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
41
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
42
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
43
+ import "../../vendor/svelte/src/runtime/internal/spread.js";
44
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
45
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
46
+ import "../../vendor/svelte/src/shared/version.js";
36
47
  import "./Components/Camera.js";
37
48
  import "../../shared-utils/throttle.js";
38
49
  import "./Components/CurrentFloor/CurrentFloor.js";
39
50
  import "./Components/CurrentFloor/ExtraObjects.js";
51
+ import "../../vendor/svelte/src/runtime/internal/each.js";
40
52
  import "../Components/BaseImage.js";
41
53
  import "../Components/Normalmage.js";
42
54
  import "../Components/SvgImage.js";
@@ -67,8 +79,8 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
67
79
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
68
80
  import "../../shared-utils/absoluteUrl.js";
69
81
  import "../Assets/floorplanExtraObject.js";
70
- class ft extends O {
71
- constructor(t, e) {
82
+ class Ct extends O {
83
+ constructor(t, i) {
72
84
  super(t);
73
85
  // =============== public properties =================
74
86
  o(this, "name", "panoFloorplanRadarPlugin");
@@ -93,63 +105,63 @@ class ft extends O {
93
105
  this.highlightData = {}, this.render();
94
106
  });
95
107
  o(this, "_disable", (t) => {
96
- var s;
97
- const { userAction: e } = t;
98
- (s = this.app) == null || s.$destroy(), this.app = void 0, this.hooks.emit("disable", { userAction: e });
108
+ var r;
109
+ const { userAction: i } = t;
110
+ (r = this.app) == null || r.$destroy(), this.app = void 0, this.hooks.emit("disable", { userAction: i });
99
111
  });
100
112
  this.five = t;
101
- const s = {
113
+ const r = {
102
114
  hoverEnable: !0,
103
115
  highlightEnable: !0,
104
116
  cameraImageUrl: D
105
- }, h = e != null && e.configs ? e.configs : {}, a = p(p({}, s), h);
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);
117
+ }, h = i != null && i.configs ? i.configs : {}, a = p(p({}, r), h);
118
+ this.state = { enabled: !0, visible: !0, config: a }, i != null && i.wrapper && console.warn("不推荐继续使用 params.selector 配置父容器,请使用 appendTo 方法"), typeof (i == null ? void 0 : i.wrapper) == "string" ? this.wrapperSelector = i.wrapper : (i == null ? void 0 : i.wrapper) instanceof Element && (this.wrapper = i.wrapper), t.once("dispose", this.dispose);
107
119
  }
108
- load(t, e, s = !0) {
120
+ load(t, i, r = !0) {
109
121
  return c(this, null, function* () {
110
122
  function h(l) {
111
123
  return Object.prototype.hasOwnProperty.apply(l, ["version"]);
112
124
  }
113
125
  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();
126
+ this.data = yield b(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, n), i && this.updateState(i, r), this.render();
115
127
  });
116
128
  }
117
129
  show() {
118
130
  return c(this, arguments, function* (t = {}) {
119
131
  if (this.state.visible)
120
132
  return;
121
- const e = t.userAction !== void 0 ? t.userAction : !0;
122
- this.updateState({ visible: !0 }, e), this._show({ userAction: e });
133
+ const i = t.userAction !== void 0 ? t.userAction : !0;
134
+ this.updateState({ visible: !0 }, i), this._show({ userAction: i });
123
135
  });
124
136
  }
125
137
  hide() {
126
138
  return c(this, arguments, function* (t = {}) {
127
139
  if (!this.state.visible)
128
140
  return;
129
- const e = t.userAction !== void 0 ? t.userAction : !0;
130
- this.updateState({ visible: !1 }, e), this._hide({ userAction: e });
141
+ const i = t.userAction !== void 0 ? t.userAction : !0;
142
+ this.updateState({ visible: !1 }, i), this._hide({ userAction: i });
131
143
  });
132
144
  }
133
145
  enable(t = {}) {
134
146
  if (this.state.enabled)
135
147
  return;
136
- const e = t.userAction !== void 0 ? t.userAction : !0;
137
- this.updateState({ enabled: !0 }, t.userAction || e), this._enable({ userAction: e });
148
+ const i = t.userAction !== void 0 ? t.userAction : !0;
149
+ this.updateState({ enabled: !0 }, t.userAction || i), this._enable({ userAction: i });
138
150
  }
139
151
  disable(t = {}) {
140
152
  if (!this.state.enabled)
141
153
  return;
142
- const e = t.userAction !== void 0 ? t.userAction : !0;
143
- this.updateState({ enabled: !1 }, t.userAction || e), this._disable({ userAction: e });
154
+ const i = t.userAction !== void 0 ? t.userAction : !0;
155
+ this.updateState({ enabled: !1 }, t.userAction || i), this._disable({ userAction: i });
144
156
  }
145
157
  /** 更改插件 State */
146
- setState(t, e = {}) {
147
- const s = this.state, h = e.userAction !== void 0 ? e.userAction : !0;
148
- if (this.updateState(t, h), t.enabled !== void 0 && s.enabled !== t.enabled) {
158
+ setState(t, i = {}) {
159
+ const r = this.state, h = i.userAction !== void 0 ? i.userAction : !0;
160
+ if (this.updateState(t, h), t.enabled !== void 0 && r.enabled !== t.enabled) {
149
161
  const a = { userAction: h };
150
162
  t.enabled ? this._enable(a) : this._disable(a);
151
163
  }
152
- if (t.visible !== void 0 && s.visible !== t.visible) {
164
+ if (t.visible !== void 0 && r.visible !== t.visible) {
153
165
  const a = { userAction: h };
154
166
  t.visible ? this._show(a) : this._hide(a);
155
167
  }
@@ -158,47 +170,47 @@ class ft extends O {
158
170
  appendTo(t) {
159
171
  this.wrapper = t, this.render();
160
172
  }
161
- changeConfigs(t, e = !0) {
162
- this.setState({ config: t }, { userAction: e }), this.render();
173
+ changeConfigs(t, i = !0) {
174
+ this.setState({ config: t }, { userAction: i }), this.render();
163
175
  }
164
176
  setExtraObjectsWith3DPositions(t) {
165
177
  this.data && (this.extraObjects = C(t, this.five, this.data), this.render());
166
178
  }
167
179
  formatData(t) {
168
180
  return c(this, null, function* () {
169
- return yield m(t.data);
181
+ return yield b(t.data);
170
182
  });
171
183
  }
172
184
  _enable(t) {
173
- const { userAction: e } = t;
174
- this.hooks.emit("enable", { userAction: e }), this.state.visible && this._show({ userAction: e });
185
+ const { userAction: i } = t;
186
+ this.hooks.emit("enable", { userAction: i }), this.state.visible && this._show({ userAction: i });
175
187
  }
176
188
  _show(t) {
177
189
  if (this.disposed || !this.state.enabled)
178
190
  return;
179
- const { userAction: e } = t;
180
- this.hooks.emit("show", { userAction: e }), this.render();
191
+ const { userAction: i } = t;
192
+ this.hooks.emit("show", { userAction: i }), this.render();
181
193
  }
182
194
  _hide(t) {
183
195
  if (this.disposed || !this.state.enabled)
184
196
  return;
185
- const { userAction: e } = t;
186
- this.hooks.emit("hide", { userAction: e }), this.render();
197
+ const { userAction: i } = t;
198
+ this.hooks.emit("hide", { userAction: i }), this.render();
187
199
  }
188
- updateState(t, e) {
189
- const s = this.state;
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 });
200
+ updateState(t, i) {
201
+ const r = this.state;
202
+ this.state = p(p({}, this.state), t), !y(this.state, r, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: r, userAction: i });
191
203
  }
192
204
  render() {
193
205
  if (this.disposed || !this.state.enabled)
194
206
  return;
195
207
  if (!this.wrapper && this.wrapperSelector) {
196
- const e = document.querySelector(this.wrapperSelector);
197
- this.wrapper = e;
208
+ const i = document.querySelector(this.wrapperSelector);
209
+ this.wrapper = i;
198
210
  }
199
211
  if (!this.data || !this.wrapper)
200
212
  return;
201
- const t = b(p({}, this.state.config), {
213
+ const t = f(p({}, this.state.config), {
202
214
  five: this.five,
203
215
  floorplanData: this.data,
204
216
  visible: this.state.visible,
@@ -209,5 +221,5 @@ class ft extends O {
209
221
  }
210
222
  }
211
223
  export {
212
- ft as Controller
224
+ Ct as Controller
213
225
  };
@@ -1,11 +1,23 @@
1
1
  import { Controller as t } from "./Controller.js";
2
2
  import "./Components/Main.js";
3
- import "../../vendor/svelte/internal/index.js";
3
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
4
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
5
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
6
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
7
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
8
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
9
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
10
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
11
+ import "../../vendor/svelte/src/runtime/internal/spread.js";
12
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
13
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
14
+ import "../../vendor/svelte/src/shared/version.js";
4
15
  import "./Components/Camera.js";
5
16
  import "../Assets/camera.js";
6
17
  import "../../shared-utils/throttle.js";
7
18
  import "./Components/CurrentFloor/CurrentFloor.js";
8
19
  import "./Components/CurrentFloor/ExtraObjects.js";
20
+ import "../../vendor/svelte/src/runtime/internal/each.js";
9
21
  import "../Components/BaseImage.js";
10
22
  import "../Components/Normalmage.js";
11
23
  import "../Components/SvgImage.js";
@@ -39,8 +51,8 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
39
51
  import "../../shared-utils/absoluteUrl.js";
40
52
  import "../utils/formatData.js";
41
53
  import "../Assets/floorplanExtraObject.js";
42
- const S = (o, r) => new t(o, r);
54
+ const to = (o, r) => new t(o, r);
43
55
  export {
44
- S as PanoFloorplanRadarPlugin,
45
- S as default
56
+ to as PanoFloorplanRadarPlugin,
57
+ to as default
46
58
  };
@@ -2,30 +2,30 @@ var w = Object.defineProperty, A = Object.defineProperties;
2
2
  var E = Object.getOwnPropertyDescriptors;
3
3
  var u = Object.getOwnPropertySymbols;
4
4
  var C = Object.prototype.hasOwnProperty, x = Object.prototype.propertyIsEnumerable;
5
- var f = (h, n, t) => n in h ? w(h, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[n] = t, p = (h, n) => {
5
+ var m = (h, n, t) => n in h ? w(h, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[n] = t, p = (h, n) => {
6
6
  for (var t in n || (n = {}))
7
- C.call(n, t) && f(h, t, n[t]);
7
+ C.call(n, t) && m(h, t, n[t]);
8
8
  if (u)
9
9
  for (var t of u(n))
10
- x.call(n, t) && f(h, t, n[t]);
10
+ x.call(n, t) && m(h, t, n[t]);
11
11
  return h;
12
- }, m = (h, n) => A(h, E(n));
13
- var i = (h, n, t) => (f(h, typeof n != "symbol" ? n + "" : n, t), t);
12
+ }, f = (h, n) => A(h, E(n));
13
+ var i = (h, n, t) => (m(h, typeof n != "symbol" ? n + "" : n, t), t);
14
14
  var c = (h, n, t) => new Promise((e, o) => {
15
15
  var s = (d) => {
16
16
  try {
17
- a(t.next(d));
17
+ r(t.next(d));
18
18
  } catch (l) {
19
19
  o(l);
20
20
  }
21
- }, r = (d) => {
21
+ }, a = (d) => {
22
22
  try {
23
- a(t.throw(d));
23
+ r(t.throw(d));
24
24
  } catch (l) {
25
25
  o(l);
26
26
  }
27
- }, a = (d) => d.done ? e(d.value) : Promise.resolve(d.value).then(s, r);
28
- a((t = t.apply(h, n)).next());
27
+ }, r = (d) => d.done ? e(d.value) : Promise.resolve(d.value).then(s, a);
28
+ r((t = t.apply(h, n)).next());
29
29
  });
30
30
  import * as S from "three";
31
31
  import { equal as F } from "../../shared-utils/equal.js";
@@ -39,15 +39,27 @@ import { changeMode as M } from "../../shared-utils/five/changeMode.js";
39
39
  import { getPxmm as P, getAttachedY as D } from "../../shared-utils/getPxmm.js";
40
40
  import { changeModelCanvasOpacity as g } from "../../shared-utils/changeModelCanvasOpacity.js";
41
41
  import "../../shared-utils/isTruelyObject.js";
42
- import "../../vendor/svelte/internal/index.js";
43
- import "../../vendor/svelte/transition/index.js";
44
- import "../../vendor/svelte/easing/index.js";
42
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
43
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
44
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
45
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
46
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
47
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
48
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
49
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
50
+ import "../../vendor/svelte/src/runtime/internal/each.js";
51
+ import "../../vendor/svelte/src/runtime/internal/spread.js";
52
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
53
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
54
+ import "../../vendor/svelte/src/shared/version.js";
55
+ import "../../vendor/svelte/src/runtime/transition/index.js";
56
+ import "../../vendor/svelte/src/runtime/easing/index.js";
45
57
  import "../Components/Camera.js";
46
58
  import "../../shared-utils/math/rad2Deg.js";
47
59
  import "../Components/Compass.js";
48
60
  import "../Assets/compass.js";
49
61
  import "../Components/CurrentFloor.js";
50
- import "../../vendor/svelte/store/index.js";
62
+ import "../../vendor/svelte/src/runtime/store/index.js";
51
63
  import "../Components/BaseImage.js";
52
64
  import "../Components/Normalmage.js";
53
65
  import "../Components/SvgImage.js";
@@ -87,7 +99,7 @@ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
87
99
  import "../../shared-utils/absoluteUrl.js";
88
100
  import "../../shared-utils/nearlyEqual.js";
89
101
  import "../../shared-utils/to.js";
90
- class Nt extends T {
102
+ class Xt extends T {
91
103
  constructor(t, e) {
92
104
  super(t);
93
105
  // =============== public properties =================
@@ -117,7 +129,7 @@ class Nt extends T {
117
129
  i(this, "updateSize", () => {
118
130
  if (!this.data || !this.container || !this.wrapper || this.five.getCurrentState().mode !== "Topview")
119
131
  return;
120
- const { min: t, max: e } = this.data.bounding, o = e.x - t.x, s = e.y - t.y, r = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, a = P(this.five, this.wrapper, this.floorIndex, r), d = Math.ceil(o * a), l = Math.ceil(s * a);
132
+ const { min: t, max: e } = this.data.bounding, o = e.x - t.x, s = e.y - t.y, a = this.state.config.attachedTo ? { attachedTo: this.state.config.attachedTo } : void 0, r = P(this.five, this.wrapper, this.floorIndex, a), d = Math.ceil(o * r), l = Math.ceil(s * r);
121
133
  this.size.width === d && this.size.height === l || (this.container.style.width = d + "px", this.container.style.height = l + "px", this.size = { width: d, height: l });
122
134
  });
123
135
  /** 销毁插件 */
@@ -197,13 +209,13 @@ class Nt extends T {
197
209
  attachedTo: L.BOUNDING_CENTER,
198
210
  getLabelElement: void 0,
199
211
  adaptiveRoomLabelVisibleEnable: !0,
200
- getRoomAreaText: (a) => (a / 1e6).toFixed(1) + "㎡",
201
- getRuleDistanceText: (a) => a.toString()
202
- }, s = e ? _(e, ["selector", "scale"]) : {}, r = p(p({}, o), s);
212
+ getRoomAreaText: (r) => (r / 1e6).toFixed(1) + "㎡",
213
+ getRuleDistanceText: (r) => r.toString()
214
+ }, s = e ? _(e, ["selector", "scale"]) : {}, a = p(p({}, o), s);
203
215
  this.state = {
204
216
  enabled: !0,
205
217
  visible: !1,
206
- config: r
218
+ config: a
207
219
  }, this.initContainer(), t.model.loaded ? this.onFiveModelLoaded() : t.once("modelLoaded", this.onFiveModelLoaded), t.once("dispose", this.dispose), this.addEventListener();
208
220
  }
209
221
  load(t, e, o = !0) {
@@ -211,20 +223,20 @@ class Nt extends T {
211
223
  function s(b) {
212
224
  return Object.prototype.hasOwnProperty.apply(b, ["version"]);
213
225
  }
214
- const r = t;
215
- r && !r.version && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
216
- const a = JSON.parse(JSON.stringify(t)), d = s(a) ? a.data : a, l = this.data;
226
+ const a = t;
227
+ a && !a.version && console.warn("传入 serverData.data 的方式后续可能不再支持,请把 serverData 整体传入 load 函数");
228
+ const r = JSON.parse(JSON.stringify(t)), d = s(r) ? r.data : r, l = this.data;
217
229
  this.data = yield v(d), this.hooks.emit("dataLoaded", this.data), this.hooks.emit("dataChange", this.data, l), e && this.updateState(e, o), this.render();
218
230
  });
219
231
  }
220
232
  /** 更新户型图位置 */
221
233
  updatePosition() {
222
- var a;
223
- const t = D(this.five, this.floorIndex, this.state.config.attachedTo), e = (a = this.five.model) == null ? void 0 : a.bounding.getCenter(new S.Vector3()).setY(t);
234
+ var r;
235
+ const t = D(this.five, this.floorIndex, this.state.config.attachedTo), e = (r = this.five.model) == null ? void 0 : r.bounding.getCenter(new S.Vector3()).setY(t);
224
236
  if (!e)
225
237
  return;
226
- const o = e.clone().project(this.five.camera), s = (o.x + 1) / 2, r = -(o.y - 1) / 2;
227
- this.container.style.left = s * 100 + "%", this.container.style.top = r * 100 + "%";
238
+ const o = e.clone().project(this.five.camera), s = (o.x + 1) / 2, a = -(o.y - 1) / 2;
239
+ this.container.style.left = s * 100 + "%", this.container.style.top = a * 100 + "%";
228
240
  }
229
241
  /** 把插件的渲染DOM插入到对应的容器中去 */
230
242
  appendTo(t) {
@@ -263,12 +275,12 @@ class Nt extends T {
263
275
  setState(t, e = {}) {
264
276
  const o = this.state, s = e.userAction !== void 0 ? e.userAction : !0;
265
277
  if (this.updateState(t, s), t.enabled !== void 0 && o.enabled !== t.enabled) {
266
- const r = { userAction: s };
267
- t.enabled ? this._enable(r) : this._disable(r);
278
+ const a = { userAction: s };
279
+ t.enabled ? this._enable(a) : this._disable(a);
268
280
  }
269
281
  if (t.visible !== void 0 && o.visible !== t.visible) {
270
- const r = { userAction: s };
271
- t.visible ? this._show(r) : this._hide(r);
282
+ const a = { userAction: s };
283
+ t.visible ? this._show(a) : this._hide(a);
272
284
  }
273
285
  }
274
286
  changeConfigs(t, e = !0) {
@@ -306,7 +318,7 @@ class Nt extends T {
306
318
  }
307
319
  updateState(t, e) {
308
320
  const o = this.state, s = t.config ? p(p({}, o.config), t.config) : o.config;
309
- this.state = m(p(p({}, this.state), t), { config: s }), !F(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: e });
321
+ this.state = f(p(p({}, this.state), t), { config: s }), !F(this.state, o, { deep: !0 }) && this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: e });
310
322
  }
311
323
  addEventListener() {
312
324
  if (!this.state.enabled || this.hasAddedEventListener)
@@ -336,7 +348,7 @@ class Nt extends T {
336
348
  render(t) {
337
349
  if (!this.state.enabled || !this.container || !this.data || this.size.width === 0)
338
350
  return;
339
- const e = m(p({}, this.state.config), {
351
+ const e = f(p({}, this.state.config), {
340
352
  visible: this.state.visible,
341
353
  duration: t != null ? t : 0,
342
354
  panoIndex: this.panoIndex,
@@ -351,5 +363,5 @@ class Nt extends T {
351
363
  }
352
364
  }
353
365
  export {
354
- Nt as Controller
366
+ Xt as Controller
355
367
  };
@@ -3,16 +3,28 @@ import "three";
3
3
  import "../../shared-utils/equal.js";
4
4
  import "../../shared-utils/isTruelyObject.js";
5
5
  import "../Components/Main.js";
6
- import "../../vendor/svelte/internal/index.js";
7
- import "../../vendor/svelte/transition/index.js";
8
- import "../../vendor/svelte/easing/index.js";
6
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
7
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
8
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
9
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
10
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
11
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
12
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
13
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
14
+ import "../../vendor/svelte/src/runtime/internal/each.js";
15
+ import "../../vendor/svelte/src/runtime/internal/spread.js";
16
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
17
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
18
+ import "../../vendor/svelte/src/shared/version.js";
19
+ import "../../vendor/svelte/src/runtime/transition/index.js";
20
+ import "../../vendor/svelte/src/runtime/easing/index.js";
9
21
  import "../Components/Camera.js";
10
22
  import "../Assets/camera.js";
11
23
  import "../../shared-utils/math/rad2Deg.js";
12
24
  import "../Components/Compass.js";
13
25
  import "../Assets/compass.js";
14
26
  import "../Components/CurrentFloor.js";
15
- import "../../vendor/svelte/store/index.js";
27
+ import "../../vendor/svelte/src/runtime/store/index.js";
16
28
  import "../Components/BaseImage.js";
17
29
  import "../Components/Normalmage.js";
18
30
  import "../Components/SvgImage.js";
@@ -59,8 +71,8 @@ import "../../shared-utils/nearlyEqual.js";
59
71
  import "../../shared-utils/to.js";
60
72
  import "../../shared-utils/getPxmm.js";
61
73
  import "../../shared-utils/changeModelCanvasOpacity.js";
62
- const uo = (o, r) => new t(o, r);
74
+ const bo = (o, r) => new t(o, r);
63
75
  export {
64
- uo as TopviewFloorplanPlugin,
65
- uo as default
76
+ bo as TopviewFloorplanPlugin,
77
+ bo as default
66
78
  };
@@ -1,3 +1,4 @@
1
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
1
2
  import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
2
3
  import "three";
3
4
  import "hammerjs";