@realsee/dnalogel 2.22.0 → 2.23.1-dev.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 (455) hide show
  1. package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
  2. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
  3. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  4. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  5. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  6. package/dist/index.cjs.js +62 -66
  7. package/dist/index.js +5869 -5598
  8. package/dist/index.umd.js +55 -59
  9. package/docs/classes/CSS3DRender.html +30 -30
  10. package/docs/classes/CruisePluginController.html +25 -25
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  13. package/docs/classes/Magnifier.html +19 -19
  14. package/docs/classes/ModelRoomLabelController.html +10 -10
  15. package/docs/classes/Object3DHelperController.html +24 -24
  16. package/docs/classes/PaintBrush.html +14 -14
  17. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  18. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  19. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  20. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  21. package/docs/classes/PanoTagPluginController.html +48 -48
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.Interval.html +11 -11
  24. package/docs/classes/Util.Magnifier.html +19 -19
  25. package/docs/classes/Util.PointDomHelper.html +10 -10
  26. package/docs/classes/Util.PointHelper.html +10 -10
  27. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  28. package/docs/classes/Util.Rectangle.html +12 -12
  29. package/docs/enums/CameraMovementEffect.html +6 -6
  30. package/docs/enums/ContentType.html +19 -19
  31. package/docs/enums/DIRECTION.html +8 -8
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  33. package/docs/enums/DimensionType.html +6 -6
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  37. package/docs/enums/PointType.html +6 -6
  38. package/docs/enums/Rotation.html +7 -7
  39. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  40. package/docs/functions/CameraMovementPlugin.html +3 -3
  41. package/docs/functions/CruisePlugin.html +3 -3
  42. package/docs/functions/GuideLinePlugin.html +4 -4
  43. package/docs/functions/ItemLabelPlugin.html +3 -3
  44. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  45. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  46. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  47. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  48. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  49. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  50. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  51. package/docs/functions/ModelViewPlugin.html +3 -3
  52. package/docs/functions/Object3DHelperPlugin.html +3 -3
  53. package/docs/functions/PanoCompassPlugin.html +3 -3
  54. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  55. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  56. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  57. package/docs/functions/PanoMeasurePlugin.html +3 -3
  58. package/docs/functions/PanoRulerPlugin.html +3 -3
  59. package/docs/functions/PanoRulerProPlugin.html +3 -3
  60. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  61. package/docs/functions/PanoTagPlugin.html +3 -3
  62. package/docs/functions/PanoVideoPlugin.html +3 -3
  63. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  64. package/docs/functions/Util.absoluteUrl.html +4 -4
  65. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  66. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  67. package/docs/functions/Util.getFrameTime.html +4 -4
  68. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  69. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  70. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  71. package/docs/functions/Util.isModelLike.html +4 -4
  72. package/docs/functions/Util.isNil.html +4 -4
  73. package/docs/functions/Util.isPanoramaLike.html +4 -4
  74. package/docs/functions/Util.nextFrame.html +4 -4
  75. package/docs/functions/Util.notNil.html +4 -4
  76. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  77. package/docs/functions/Util.tweenProgress.html +4 -4
  78. package/docs/functions/Util.uuid.html +4 -4
  79. package/docs/functions/pluginFlag.html +4 -4
  80. package/docs/index.html +4 -4
  81. package/docs/interfaces/AddTagConfig.html +5 -5
  82. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  83. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  84. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  85. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  86. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  87. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  88. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  89. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  90. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  91. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  92. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  93. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  94. package/docs/interfaces/EventMap.html +14 -14
  95. package/docs/interfaces/FloorplanBounding.html +7 -7
  96. package/docs/interfaces/FloorplanData.html +9 -9
  97. package/docs/interfaces/FloorplanEntrance.html +10 -10
  98. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  99. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  100. package/docs/interfaces/FloorplanFloorData.html +8 -8
  101. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  102. package/docs/interfaces/FloorplanObserver.html +8 -8
  103. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  104. package/docs/interfaces/FloorplanPosition.html +6 -6
  105. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  106. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  107. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  108. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  109. package/docs/interfaces/FloorplanServerData.html +6 -6
  110. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  111. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  112. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  113. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  114. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  115. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  116. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  117. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  118. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  119. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  120. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -8
  121. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  122. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  123. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  124. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  125. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  126. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  127. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  128. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  129. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  130. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  131. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  132. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  133. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  134. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  135. package/docs/interfaces/HelperOffset.html +7 -7
  136. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  137. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  138. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  139. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  140. package/docs/interfaces/MinMax.html +6 -6
  141. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  142. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  143. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  144. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  145. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  146. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  147. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  148. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  149. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  150. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  151. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  152. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  153. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  154. package/docs/interfaces/Object3DHelperState.html +7 -7
  155. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  156. package/docs/interfaces/PaintBrushAction.html +11 -11
  157. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  158. package/docs/interfaces/PaintBrushState.html +9 -9
  159. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  160. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  161. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  162. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  163. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  164. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  165. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  166. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  167. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  168. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  169. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  170. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  171. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  172. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  173. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  174. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  175. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  176. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  177. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  178. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  179. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  180. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  181. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  182. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  184. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  185. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  186. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  187. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  188. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  189. package/docs/interfaces/Point.html +7 -7
  190. package/docs/interfaces/Room.html +8 -8
  191. package/docs/interfaces/RoomInfo.html +6 -6
  192. package/docs/interfaces/RoomLabel.html +13 -13
  193. package/docs/interfaces/RoomRules.html +4 -4
  194. package/docs/interfaces/Rooms.html +4 -4
  195. package/docs/interfaces/Scissor.html +8 -8
  196. package/docs/interfaces/State.html +7 -7
  197. package/docs/interfaces/TagCacheInterface.html +11 -11
  198. package/docs/interfaces/TagConfig.html +12 -12
  199. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  200. package/docs/interfaces/TagIconUrl.html +11 -11
  201. package/docs/interfaces/TagObjectGroup.html +5 -5
  202. package/docs/interfaces/TagStyle.html +5 -5
  203. package/docs/interfaces/Tags.html +8 -8
  204. package/docs/interfaces/TemporaryState.html +5 -5
  205. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  206. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  207. package/docs/interfaces/Util.PointIntersection.html +7 -7
  208. package/docs/modules/CruisePluginTypes.html +4 -4
  209. package/docs/modules/GuideLineItem.html +4 -4
  210. package/docs/modules/GuideLineModeItem.html +4 -4
  211. package/docs/modules/GuideLinePluginType.html +4 -4
  212. package/docs/modules/PanoVideoPluginType.html +4 -4
  213. package/docs/modules/Util.html +4 -4
  214. package/docs/modules.html +4 -4
  215. package/docs/types/ArrayPosition.html +4 -4
  216. package/docs/types/AudioAppearance.html +4 -4
  217. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  218. package/docs/types/CSS3DRenderExportType.html +4 -4
  219. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  220. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  221. package/docs/types/ClassFunctionParameters.html +4 -4
  222. package/docs/types/Color.html +4 -4
  223. package/docs/types/ContentTypeConfigKey.html +4 -4
  224. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  225. package/docs/types/ContentTypeMap.html +4 -4
  226. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  227. package/docs/types/Create3DElementReturnType.html +4 -4
  228. package/docs/types/CruisePluginExportType.html +4 -4
  229. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  230. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  231. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  232. package/docs/types/DeprecatedTagProperty.html +4 -4
  233. package/docs/types/Direction-1.html +4 -4
  234. package/docs/types/Direction4.html +4 -4
  235. package/docs/types/ElementRenderer.html +4 -4
  236. package/docs/types/FloorplanRuleLabels.html +4 -4
  237. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  238. package/docs/types/GuideLinePluginExportType.html +4 -4
  239. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  241. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  242. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  243. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  244. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  245. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  246. package/docs/types/HelperEventMap.html +4 -4
  247. package/docs/types/LoadTagConfig.html +4 -4
  248. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  249. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  250. package/docs/types/MediaData.html +4 -4
  251. package/docs/types/MediaStore.html +4 -4
  252. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  253. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  254. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  255. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  256. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  257. package/docs/types/MoveArgs.html +4 -4
  258. package/docs/types/MoveOpts.html +4 -4
  259. package/docs/types/Object3DHelperEventMap.html +4 -4
  260. package/docs/types/ObjectFit.html +4 -4
  261. package/docs/types/PaintBrushEventMap.html +4 -4
  262. package/docs/types/PanoCompassPluginData.html +4 -4
  263. package/docs/types/PanoCompassPluginExportType.html +4 -4
  264. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  265. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  266. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  267. package/docs/types/PanoIndex.html +4 -4
  268. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  269. package/docs/types/PanoMeasureReturnType.html +4 -4
  270. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  271. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  272. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  273. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  274. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  275. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  276. package/docs/types/PlaneTag.html +4 -4
  277. package/docs/types/Point2DTag.html +4 -4
  278. package/docs/types/Point3DTag.html +4 -4
  279. package/docs/types/PointTag.html +4 -4
  280. package/docs/types/PointTagInstance.html +4 -4
  281. package/docs/types/Position.html +4 -4
  282. package/docs/types/RotateArgs.html +4 -4
  283. package/docs/types/RotateOpts.html +4 -4
  284. package/docs/types/RuleLabelsKey.html +4 -4
  285. package/docs/types/RuleLabelsValue.html +4 -4
  286. package/docs/types/StickType.html +4 -4
  287. package/docs/types/Tag.html +4 -4
  288. package/docs/types/Tag2D.html +4 -4
  289. package/docs/types/Tag3D.html +4 -4
  290. package/docs/types/TagContentType.html +4 -4
  291. package/docs/types/TagDimensionType.html +4 -4
  292. package/docs/types/TagElement.html +4 -4
  293. package/docs/types/TagEvents.html +4 -4
  294. package/docs/types/TagGLTFObject.html +4 -4
  295. package/docs/types/TagHooks.html +4 -4
  296. package/docs/types/TagId.html +4 -4
  297. package/docs/types/TagInstance.html +4 -4
  298. package/docs/types/TagPointType.html +4 -4
  299. package/docs/types/TagRendererMap.html +4 -4
  300. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  301. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  302. package/docs/types/WorkCode.html +4 -4
  303. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  304. package/docs/variables/PLUGIN.html +4 -4
  305. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  306. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  307. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  308. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  309. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  310. package/libs/CruisePlugin/Controller.js +103 -90
  311. package/libs/CruisePlugin/index.js +22 -9
  312. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  313. package/libs/GuideLinePlugin/Controller.js +38 -25
  314. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  315. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  316. package/libs/GuideLinePlugin/index.js +24 -11
  317. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  318. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  319. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  320. package/libs/ItemLabelPlugin/index.js +16 -5
  321. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  322. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  323. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  324. package/libs/ModelItemLabelPlugin/index.js +16 -5
  325. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  326. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  327. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  328. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  329. package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
  330. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  331. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  332. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  333. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  334. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  335. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  336. package/libs/PanoMeasurePlugin/Components/Controller0.js +168 -112
  337. package/libs/PanoMeasurePlugin/Components/Controller1.js +244 -181
  338. package/libs/PanoMeasurePlugin/Components/Tip.js +83 -72
  339. package/libs/PanoMeasurePlugin/Controller/index.js +87 -71
  340. package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -0
  341. package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -15
  342. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -0
  343. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +36 -25
  344. package/libs/PanoMeasurePlugin/index.js +27 -16
  345. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  346. package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
  347. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  348. package/libs/PanoRulerProPlugin/index.js +15 -4
  349. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  350. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  351. package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
  352. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  353. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  354. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  355. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  356. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  357. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
  358. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
  359. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  360. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  361. package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
  362. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  363. package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
  364. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  365. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  366. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
  367. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
  368. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  369. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
  370. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  371. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  372. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  373. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  374. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  375. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
  376. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  377. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
  378. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
  379. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  380. package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
  381. package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
  382. package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
  383. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  384. package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
  385. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
  386. package/libs/PanoTagPlugin/controller/index.js +95 -82
  387. package/libs/PanoTagPlugin/index.js +26 -13
  388. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  389. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  390. package/libs/base/BasePlugin.js +1 -1
  391. package/libs/floorplan/Components/BaseImage.js +43 -39
  392. package/libs/floorplan/Components/Camera.js +16 -13
  393. package/libs/floorplan/Components/Compass.js +27 -24
  394. package/libs/floorplan/Components/CurrentFloor.js +25 -20
  395. package/libs/floorplan/Components/Main.js +58 -49
  396. package/libs/floorplan/Components/Normalmage.js +25 -22
  397. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  398. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  399. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
  400. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
  401. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  402. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  403. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  404. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  405. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  406. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  407. package/libs/floorplan/Components/SvgImage.js +30 -27
  408. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
  409. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  410. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
  411. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  412. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
  413. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
  414. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
  415. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
  416. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
  417. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  418. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
  419. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  420. package/libs/floorplan/index.js +1 -0
  421. package/libs/index.js +126 -112
  422. package/libs/shared-utils/logger.js +1 -1
  423. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  424. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  425. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  426. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  427. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  428. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  429. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  430. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  431. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  432. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  433. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  434. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  435. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  436. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  437. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  438. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  439. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  440. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  441. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  442. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  443. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  444. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  445. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  446. package/libs/vendor/svelte/src/shared/version.js +4 -0
  447. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
  448. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  449. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  450. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  451. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  452. package/package.json +1 -1
  453. package/libs/vendor/svelte/internal/index.js +0 -749
  454. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  455. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -12,19 +12,19 @@ var L = (c, u, e) => u in c ? T(c, u, { enumerable: !0, configurable: !0, writab
12
12
  }, C = (c, u) => K(c, O(u));
13
13
  var I = (c, u, e) => (L(c, typeof u != "symbol" ? u + "" : u, e), e);
14
14
  var v = (c, u, e) => new Promise((t, i) => {
15
- var r = (m) => {
15
+ var r = (d) => {
16
16
  try {
17
- s(e.next(m));
18
- } catch (a) {
19
- i(a);
17
+ s(e.next(d));
18
+ } catch (o) {
19
+ i(o);
20
20
  }
21
- }, n = (m) => {
21
+ }, n = (d) => {
22
22
  try {
23
- s(e.throw(m));
24
- } catch (a) {
25
- i(a);
23
+ s(e.throw(d));
24
+ } catch (o) {
25
+ i(o);
26
26
  }
27
- }, s = (m) => m.done ? t(m.value) : Promise.resolve(m.value).then(r, n);
27
+ }, s = (d) => d.done ? t(d.value) : Promise.resolve(d.value).then(r, n);
28
28
  s((e = e.apply(c, u)).next());
29
29
  });
30
30
  import { Controller as V } from "../base/BasePluginWithData.js";
@@ -92,8 +92,8 @@ import "../PanoTagPlugin/tag.config.js";
92
92
  import "../PanoTagPlugin/utils/planeNormal.js";
93
93
  import "../PanoTagPlugin/utils/normalPositionToPositions.js";
94
94
  import "../PanoTagPlugin/controller/TagCache.js";
95
- import "../vendor/svelte/store/index.js";
96
- import "../vendor/svelte/internal/index.js";
95
+ import "../vendor/svelte/src/runtime/store/index.js";
96
+ import "../vendor/svelte/src/runtime/internal/utils.js";
97
97
  import "../shared-utils/device.js";
98
98
  import "../PanoTagPlugin/utils/model/mediaPlane.js";
99
99
  import "../shared-utils/three/Quadrangle.js";
@@ -106,13 +106,24 @@ import "../shared-utils/five/FiveDomEvents.js";
106
106
  import "../shared-utils/threex/domevents/index.js";
107
107
  import "../shared-utils/five/getFloorIndex.js";
108
108
  import "../PanoTagPlugin/Components/TagContainer.js";
109
+ import "../vendor/svelte/src/runtime/internal/dom.js";
110
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
111
+ import "../vendor/svelte/src/runtime/internal/environment.js";
112
+ import "../vendor/svelte/src/runtime/internal/loop.js";
113
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
114
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
115
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
116
+ import "../vendor/svelte/src/runtime/internal/each.js";
117
+ import "../vendor/svelte/src/runtime/internal/Component.js";
118
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
119
+ import "../vendor/svelte/src/shared/version.js";
109
120
  import "../PanoTagPlugin/Components/TagItem.js";
110
121
  import "../PanoTagPlugin/Components/Tag/index.js";
111
122
  import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
112
123
  import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
113
124
  import "../PanoTagPlugin/Components/Common/Line/Straight.js";
114
- import "../vendor/svelte/transition/index.js";
115
- import "../vendor/svelte/easing/index.js";
125
+ import "../vendor/svelte/src/runtime/transition/index.js";
126
+ import "../vendor/svelte/src/runtime/easing/index.js";
116
127
  import "../PanoTagPlugin/Components/Common/Shadow.js";
117
128
  import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
118
129
  import "../PanoTagPlugin/Components/Common/Text/FlyText.js";
@@ -129,6 +140,7 @@ import "../PanoTagPlugin/utils/px2rem.js";
129
140
  import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
130
141
  import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
131
142
  import "../PanoTagPlugin/Components/Common/Media.js";
143
+ import "../vendor/svelte/src/runtime/internal/spread.js";
132
144
  import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
133
145
  import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
134
146
  import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
@@ -171,6 +183,7 @@ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
171
183
  import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
172
184
  import "../PanoTagPlugin/Components/Tag/LinkTag.js";
173
185
  import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
186
+ import "../vendor/svelte/src/runtime/internal/await_block.js";
174
187
  import "../PanoTagPlugin/utils/getImageInfo.js";
175
188
  import "../PanoTagPlugin/Components/Tag/CustomTag.js";
176
189
  import "../vendor/classnames/index.js";
@@ -189,7 +202,7 @@ import "../shared-utils/nearlyEqual.js";
189
202
  import "./utils/coordinatesToVector.js";
190
203
  import "../shared-utils/isTruelyObject.js";
191
204
  import "./utils/formatRad.js";
192
- const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`, Bi = (c) => `${x}--${c}`, D = () => {
205
+ const M = "v1.0.6", G = "CruisePlugin", x = `${G}@${M}`, dr = (c) => `${x}--${c}`, D = () => {
193
206
  console.error(`${x} is disposed`);
194
207
  }, W = () => {
195
208
  console.warn(`${x} is disabled`);
@@ -236,26 +249,26 @@ class z extends V {
236
249
  */
237
250
  load(e, t, i) {
238
251
  return v(this, null, function* () {
239
- var o, d, f, l, h, P;
252
+ var a, m, f, l, h, P;
240
253
  if (this.state.disposed)
241
254
  return D();
242
- this.privateState.fiveOriginGetProgress || (d = (o = this.five.controller) == null ? void 0 : o.cameraMotion) != null && d.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (l = (f = this.five.controller) == null ? void 0 : f.cameraMotion) == null ? void 0 : l.getProgress), this.clear();
255
+ this.privateState.fiveOriginGetProgress || (m = (a = this.five.controller) == null ? void 0 : a.cameraMotion) != null && m.getProgress || (yield this.waitFiveLoaded(), this.privateState.fiveOriginGetProgress = (l = (f = this.five.controller) == null ? void 0 : f.cameraMotion) == null ? void 0 : l.getProgress), this.clear();
243
256
  const r = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, n = yield this.formatData(e);
244
257
  this.data = n, this.hooks.emit("dataChange", n, r);
245
- let s = [], m;
246
- const a = this.data.keyframes.filter((p) => p.data.panoIndex !== void 0);
247
- a.filter((p, y) => {
258
+ let s = [], d;
259
+ const o = this.data.keyframes.filter((p) => p.data.panoIndex !== void 0);
260
+ o.filter((p, y) => {
248
261
  var S;
249
- return p.data.panoIndex !== ((S = a[y - 1]) == null ? void 0 : S.data.panoIndex);
262
+ return p.data.panoIndex !== ((S = o[y - 1]) == null ? void 0 : S.data.panoIndex);
250
263
  }).map((p) => p.data.panoIndex).forEach((p) => {
251
264
  var S, k;
252
265
  const y = (S = this.five.work.observers[p]) == null ? void 0 : S.floorIndex;
253
266
  if (y !== void 0)
254
- if (m === y) {
267
+ if (d === y) {
255
268
  const b = s.length - 1;
256
269
  s[b] = [...(k = s[b]) != null ? k : [], p];
257
270
  } else {
258
- m = y;
271
+ d = y;
259
272
  const b = s.length;
260
273
  s[b] = [p];
261
274
  }
@@ -349,34 +362,34 @@ class z extends V {
349
362
  return {
350
363
  keyframesId: w(),
351
364
  keyframes: i.keyframes.map((r, n) => {
352
- var a;
353
- const s = i.keyframes[n + 1], m = (() => !s || s.start === void 0 || r.end === void 0 ? 0 : s.start - r.end)();
354
- return C(g({ id: (a = r.uuid) != null ? a : w(), moveIndex: n, stay: m, index: n }, r), { guildPluginOptions: i.guildPluginOptions });
365
+ var o;
366
+ const s = i.keyframes[n + 1], d = (() => !s || s.start === void 0 || r.end === void 0 ? 0 : s.start - r.end)();
367
+ return C(g({ id: (o = r.uuid) != null ? o : w(), moveIndex: n, stay: d, index: n }, r), { guildPluginOptions: i.guildPluginOptions });
355
368
  })
356
369
  };
357
370
  if (i.panoIndexList) {
358
371
  let r = [];
359
- const { moveEffect: n, moveToFirstPanoEffect: s, moveToFirstPanoDuration: m } = i;
360
- return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration = m, i.panoIndexList.forEach((a, o) => {
361
- const d = (() => {
372
+ const { moveEffect: n, moveToFirstPanoEffect: s, moveToFirstPanoDuration: d } = i;
373
+ return this.privateState.moveToFirstPanoEffect = s, this.privateState.moveToFirstPanoDuration = d, i.panoIndexList.forEach((o, a) => {
374
+ const m = (() => {
362
375
  var p, y, S, k;
363
- const f = i.panoIndexList.slice(o).find((b) => b !== a);
376
+ const f = i.panoIndexList.slice(a).find((b) => b !== o);
364
377
  if (f === void 0)
365
378
  return;
366
- const l = (p = t[a]) == null ? void 0 : p.position, h = (y = t[f]) == null ? void 0 : y.position;
367
- if (!h || !l || ((S = t[a]) == null ? void 0 : S.floorIndex) !== ((k = t[f]) == null ? void 0 : k.floorIndex))
379
+ const l = (p = t[o]) == null ? void 0 : p.position, h = (y = t[f]) == null ? void 0 : y.position;
380
+ if (!h || !l || ((S = t[o]) == null ? void 0 : S.floorIndex) !== ((k = t[f]) == null ? void 0 : k.floorIndex))
368
381
  return;
369
382
  const P = new j.Vector3().subVectors(h, l);
370
383
  return N(P.normalize());
371
384
  })();
372
385
  i.moveType === void 0 || i.moveType === "justMove" ? r.push({
373
- moveIndex: o,
386
+ moveIndex: a,
374
387
  stay: i.stay,
375
- data: g({ effect: "Move", panoIndex: a, moveEffect: n }, d != null ? d : {})
376
- }) : i.moveType === "moveAndRotate" && (r.push({ moveIndex: o, stay: i.stay, data: { effect: "Move", panoIndex: a, moveEffect: n } }), d && r.push({ moveIndex: o, stay: i.stay, data: g({ effect: "Rotate", panoIndex: a }, d) }));
388
+ data: g({ effect: "Move", panoIndex: o, moveEffect: n }, m != null ? m : {})
389
+ }) : i.moveType === "moveAndRotate" && (r.push({ moveIndex: a, stay: i.stay, data: { effect: "Move", panoIndex: o, moveEffect: n } }), m && r.push({ moveIndex: a, stay: i.stay, data: g({ effect: "Rotate", panoIndex: o }, m) }));
377
390
  }), {
378
391
  keyframesId: w(),
379
- keyframes: r.map((a, o) => g({ id: w(), index: o }, a)),
392
+ keyframes: r.map((o, a) => g({ id: w(), index: a }, o)),
380
393
  guildPluginOptions: i.guildPluginOptions,
381
394
  useGuildLine: i.useGuildLine
382
395
  };
@@ -414,40 +427,40 @@ class z extends V {
414
427
  return;
415
428
  const s = w();
416
429
  r.playId = s, r.playing = !0, r.broke = !1;
417
- const m = t.keyframes, a = this.getPauseData();
430
+ const d = t.keyframes, o = this.getPauseData();
418
431
  (e == null ? void 0 : e.notEmitEvent) !== !0 && n.emit("play", { userAction: (l = e == null ? void 0 : e.userAction) != null ? l : !0 });
419
- let o = !1;
432
+ let a = !1;
420
433
  const f = yield (() => v(this, null, function* () {
421
434
  var h, P;
422
435
  if ((e == null ? void 0 : e.playFromIndex) !== void 0)
423
436
  return e.playFromIndex;
424
437
  if ((e == null ? void 0 : e.playFromId) !== void 0)
425
438
  return (h = this.data) == null ? void 0 : h.keyframes.findIndex((p) => p.id === e.playFromId);
426
- if (a != null && a.keyframeId) {
427
- const p = (P = this.data) == null ? void 0 : P.keyframes.find((y) => y.id === a.keyframeId);
428
- if (a != null && a.fiveState && (yield this.move(a.fiveState, {
439
+ if (o != null && o.keyframeId) {
440
+ const p = (P = this.data) == null ? void 0 : P.keyframes.find((y) => y.id === o.keyframeId);
441
+ if (o != null && o.fiveState && (yield this.move(o.fiveState, {
429
442
  moveEffect: r.moveToFirstPanoEffect,
430
443
  duration: r.moveToFirstPanoDuration
431
444
  })), p) {
432
445
  if (p.data.effect === "Move")
433
446
  return p.index;
434
447
  if (p.data.effect === "Rotate") {
435
- const y = a.duration !== void 0 ? a.duration * (1 - a.playedProgress) : void 0;
436
- return yield this.playKeyframe(p, { duration: y }), o = !0, p.index + 1;
448
+ const y = o.duration !== void 0 ? o.duration * (1 - o.playedProgress) : void 0;
449
+ return yield this.playKeyframe(p, { duration: y }), a = !0, p.index + 1;
437
450
  }
438
451
  }
439
452
  }
440
453
  }))();
441
454
  this.clearPauseData();
442
- for (const h of m) {
455
+ for (const h of d) {
443
456
  if (r.broke || !i.playing || !r.playing || s !== r.playId)
444
457
  return;
445
458
  if (!(f !== void 0 && h.index < f))
446
459
  try {
447
460
  n.emit("playIndexChange", h.index, h), yield this.playKeyframe(h, {
448
- moveEffect: o === !1 ? r.moveToFirstPanoEffect : void 0,
449
- duration: o === !1 && typeof r.moveToFirstPanoDuration == "number" ? r.moveToFirstPanoDuration : void 0
450
- }), h.stay && (yield J(h.stay)), o === !1 && (o = !0);
461
+ moveEffect: a === !1 ? r.moveToFirstPanoEffect : void 0,
462
+ duration: a === !1 && typeof r.moveToFirstPanoDuration == "number" ? r.moveToFirstPanoDuration : void 0
463
+ }), h.stay && (yield J(h.stay)), a === !1 && (a = !0);
451
464
  } catch (P) {
452
465
  return Promise.resolve("broke");
453
466
  }
@@ -492,29 +505,29 @@ class z extends V {
492
505
  var n;
493
506
  const r = e.data;
494
507
  if (t.duration = (n = t.duration) != null ? n : e.start !== void 0 && e.end !== void 0 ? e.end - e.start : void 0, !!r)
495
- return new Promise((s, m) => {
496
- let a = !1;
508
+ return new Promise((s, d) => {
509
+ let o = !1;
497
510
  this.addInterruptListener(() => {
498
- if (!a)
499
- return this.hooks.emit("broke"), this.privateState.broke = !0, this.setState({ playing: !1 }), a = !0, m(new Error("play is interupted"));
511
+ if (!o)
512
+ return this.hooks.emit("broke"), this.privateState.broke = !0, this.setState({ playing: !1 }), o = !0, d(new Error("play is interupted"));
500
513
  });
501
514
  try {
502
- if (a)
515
+ if (o)
503
516
  return;
504
- const o = () => {
505
- s(), a = !0;
517
+ const a = () => {
518
+ s(), o = !0;
506
519
  };
507
520
  switch (r.effect) {
508
521
  case "Move":
509
- this.move(r, t).then(o);
522
+ this.move(r, t).then(a);
510
523
  break;
511
524
  case "Rotate":
512
- this.rotate(r, t).then(o);
525
+ this.rotate(r, t).then(a);
513
526
  break;
514
527
  default:
515
- this.rotate(r, t).then(o);
528
+ this.rotate(r, t).then(a);
516
529
  }
517
- } catch (o) {
530
+ } catch (a) {
518
531
  }
519
532
  });
520
533
  });
@@ -569,26 +582,26 @@ class z extends V {
569
582
  */
570
583
  updateCamera(i) {
571
584
  return v(this, arguments, function* (e, t = {}) {
572
- const { five: r, privateState: n, state: s } = this, m = (() => {
585
+ const { five: r, privateState: n, state: s } = this, d = (() => {
573
586
  var l, h;
574
- const d = (l = s.config) == null ? void 0 : l.speedConfig, f = (h = e.rotateSpeed) != null ? h : d == null ? void 0 : d.rotateSpeed;
575
- if ((d == null ? void 0 : d.rotateSpeedUnit) === void 0)
587
+ const m = (l = s.config) == null ? void 0 : l.speedConfig, f = (h = e.rotateSpeed) != null ? h : m == null ? void 0 : m.rotateSpeed;
588
+ if ((m == null ? void 0 : m.rotateSpeedUnit) === void 0)
576
589
  return f;
577
590
  if (f !== void 0)
578
- return d.rotateSpeedUnit === "rad/ms" ? f : f / 1e3;
579
- })(), a = (() => {
591
+ return m.rotateSpeedUnit === "rad/ms" ? f : f / 1e3;
592
+ })(), o = (() => {
580
593
  if (t.duration)
581
594
  return t.duration;
582
- if (m) {
583
- const d = this.five.getCurrentState();
584
- return Q(d, e) / m;
595
+ if (d) {
596
+ const m = this.five.getCurrentState();
597
+ return Q(m, e) / d;
585
598
  }
586
599
  return 800;
587
600
  })();
588
- n.currentPlayKeyframe && (n.currentPlayKeyframe.originDuration = a);
589
- const o = this.getSpeededDuration(a);
590
- return new Promise((d) => {
591
- _(() => r.updateCamera(e, o)), setTimeout(() => d(), o);
601
+ n.currentPlayKeyframe && (n.currentPlayKeyframe.originDuration = o);
602
+ const a = this.getSpeededDuration(o);
603
+ return new Promise((m) => {
604
+ _(() => r.updateCamera(e, a)), setTimeout(() => m(), a);
592
605
  });
593
606
  });
594
607
  }
@@ -602,33 +615,33 @@ class z extends V {
602
615
  return;
603
616
  const s = i.getCurrentState().mode !== "Panorama";
604
617
  s && (this.privateState.modeChanging = !0);
605
- const m = (() => {
618
+ const d = (() => {
606
619
  var f, l;
607
- const o = (f = n.config) == null ? void 0 : f.speedConfig, d = (l = e.moveSpeed) != null ? l : o == null ? void 0 : o.moveSpeed;
608
- if ((o == null ? void 0 : o.moveSpeedUnit) === void 0)
609
- return d;
610
- if (d !== void 0)
611
- return o.moveSpeedUnit === "m/ms" ? d : d / 1e3;
612
- })(), a = (() => {
620
+ const a = (f = n.config) == null ? void 0 : f.speedConfig, m = (l = e.moveSpeed) != null ? l : a == null ? void 0 : a.moveSpeed;
621
+ if ((a == null ? void 0 : a.moveSpeedUnit) === void 0)
622
+ return m;
623
+ if (m !== void 0)
624
+ return a.moveSpeedUnit === "m/ms" ? m : m / 1e3;
625
+ })(), o = (() => {
613
626
  if (t != null && t.duration)
614
627
  return t.duration;
615
- if (m && typeof i.panoIndex == "number" && typeof e.panoIndex == "number") {
616
- const o = i.work.observers[i.panoIndex].position, d = i.work.observers[e.panoIndex].position;
617
- return o.distanceTo(d) / m;
628
+ if (d && typeof i.panoIndex == "number" && typeof e.panoIndex == "number") {
629
+ const a = i.work.observers[i.panoIndex].position, m = i.work.observers[e.panoIndex].position;
630
+ return a.distanceTo(m) / d;
618
631
  }
619
632
  return 800;
620
633
  })();
621
- r.currentPlayKeyframe && (r.currentPlayKeyframe.originDuration = a), yield new Promise((o) => {
622
- var d, f, l;
634
+ r.currentPlayKeyframe && (r.currentPlayKeyframe.originDuration = o), yield new Promise((a) => {
635
+ var m, f, l;
623
636
  i.moveToPano(e.panoIndex, {
624
637
  latitude: e.latitude,
625
638
  longitude: e.longitude,
626
639
  fov: e.fov,
627
- duration: this.getSpeededDuration(a),
628
- effect: (l = (f = t == null ? void 0 : t.moveEffect) != null ? f : (d = this.state.config) == null ? void 0 : d.moveEffect) != null ? l : e.moveEffect,
629
- moveCancelCallback: () => o(),
630
- moveEndCallback: () => o()
631
- }), s && i.once("panoArrived", () => o());
640
+ duration: this.getSpeededDuration(o),
641
+ effect: (l = (f = t == null ? void 0 : t.moveEffect) != null ? f : (m = this.state.config) == null ? void 0 : m.moveEffect) != null ? l : e.moveEffect,
642
+ moveCancelCallback: () => a(),
643
+ moveEndCallback: () => a()
644
+ }), s && i.once("panoArrived", () => a());
632
645
  }), s && (this.privateState.modeChanging = !1);
633
646
  });
634
647
  }
@@ -639,9 +652,9 @@ class z extends V {
639
652
  const { state: i, privateState: r, hooks: n } = this, { currentPlayKeyframe: s } = r;
640
653
  if (n.emit("speedChange", e, { userAction: t }), i.playing && s)
641
654
  try {
642
- const m = s.originDuration !== void 0 ? s.originDuration * (1 - this.getProgress()) : void 0, a = this.playKeyframe(s.keyframe, { duration: m });
643
- r.currentPlayQueue.push(a);
644
- } catch (m) {
655
+ const d = s.originDuration !== void 0 ? s.originDuration * (1 - this.getProgress()) : void 0, o = this.playKeyframe(s.keyframe, { duration: d });
656
+ r.currentPlayQueue.push(o);
657
+ } catch (d) {
645
658
  }
646
659
  }
647
660
  /**
@@ -744,5 +757,5 @@ class z extends V {
744
757
  I(z, "PluginVersion", M);
745
758
  export {
746
759
  z as default,
747
- Bi as pluginFlag
760
+ dr as pluginFlag
748
761
  };
@@ -1,5 +1,5 @@
1
1
  import i from "./Controller.js";
2
- import { typing as mo } from "./typing/index.js";
2
+ import { typing as co } from "./typing/index.js";
3
3
  import "../base/BasePluginWithData.js";
4
4
  import "../base/BasePlugin.js";
5
5
  import "../shared-utils/Subscribe.js";
@@ -60,8 +60,8 @@ import "../PanoTagPlugin/tag.config.js";
60
60
  import "../PanoTagPlugin/utils/planeNormal.js";
61
61
  import "../PanoTagPlugin/utils/normalPositionToPositions.js";
62
62
  import "../PanoTagPlugin/controller/TagCache.js";
63
- import "../vendor/svelte/store/index.js";
64
- import "../vendor/svelte/internal/index.js";
63
+ import "../vendor/svelte/src/runtime/store/index.js";
64
+ import "../vendor/svelte/src/runtime/internal/utils.js";
65
65
  import "../shared-utils/device.js";
66
66
  import "../PanoTagPlugin/utils/model/mediaPlane.js";
67
67
  import "../shared-utils/three/Quadrangle.js";
@@ -74,13 +74,24 @@ import "../shared-utils/five/FiveDomEvents.js";
74
74
  import "../shared-utils/threex/domevents/index.js";
75
75
  import "../shared-utils/five/getFloorIndex.js";
76
76
  import "../PanoTagPlugin/Components/TagContainer.js";
77
+ import "../vendor/svelte/src/runtime/internal/dom.js";
78
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
79
+ import "../vendor/svelte/src/runtime/internal/environment.js";
80
+ import "../vendor/svelte/src/runtime/internal/loop.js";
81
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
82
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
83
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
84
+ import "../vendor/svelte/src/runtime/internal/each.js";
85
+ import "../vendor/svelte/src/runtime/internal/Component.js";
86
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
87
+ import "../vendor/svelte/src/shared/version.js";
77
88
  import "../PanoTagPlugin/Components/TagItem.js";
78
89
  import "../PanoTagPlugin/Components/Tag/index.js";
79
90
  import "../PanoTagPlugin/Components/Tag/TextTag/index.js";
80
91
  import "../PanoTagPlugin/Components/Tag/TextTag/TextTag.js";
81
92
  import "../PanoTagPlugin/Components/Common/Line/Straight.js";
82
- import "../vendor/svelte/transition/index.js";
83
- import "../vendor/svelte/easing/index.js";
93
+ import "../vendor/svelte/src/runtime/transition/index.js";
94
+ import "../vendor/svelte/src/runtime/easing/index.js";
84
95
  import "../shared-utils/uuid.js";
85
96
  import "../PanoTagPlugin/Components/Common/Shadow.js";
86
97
  import "../PanoTagPlugin/Components/Common/Text/FlyMText.js";
@@ -98,6 +109,7 @@ import "../PanoTagPlugin/utils/px2rem.js";
98
109
  import "../PanoTagPlugin/Components/Tag/ImageTextTag.js";
99
110
  import "../PanoTagPlugin/Components/Common/Line/Polyline.js";
100
111
  import "../PanoTagPlugin/Components/Common/Media.js";
112
+ import "../vendor/svelte/src/runtime/internal/spread.js";
101
113
  import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
102
114
  import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
103
115
  import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
@@ -140,6 +152,7 @@ import "../PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js";
140
152
  import "../PanoTagPlugin/Components/Tag/MediaPlane.js";
141
153
  import "../PanoTagPlugin/Components/Tag/LinkTag.js";
142
154
  import "../PanoTagPlugin/Components/Common/Icon/Icon.js";
155
+ import "../vendor/svelte/src/runtime/internal/await_block.js";
143
156
  import "../PanoTagPlugin/utils/getImageInfo.js";
144
157
  import "../PanoTagPlugin/Components/Tag/CustomTag.js";
145
158
  import "../vendor/classnames/index.js";
@@ -161,10 +174,10 @@ import "./utils/vectorToCoordinates.js";
161
174
  import "./utils/formatRad.js";
162
175
  import "./utils/linerValue.js";
163
176
  import "./utils/sleep.js";
164
- const oo = (r) => new i(r);
177
+ const Po = (r) => new i(r);
165
178
  export {
166
- oo as CruisePlugin,
179
+ Po as CruisePlugin,
167
180
  i as CruisePluginController,
168
- mo as CruisePluginTypes,
169
- oo as default
181
+ co as CruisePluginTypes,
182
+ Po as default
170
183
  };