@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
@@ -10,21 +10,21 @@ var b = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writab
10
10
  I.call(a, e) && b(d, e, a[e]);
11
11
  return d;
12
12
  }, u = (d, a) => F(d, w(a));
13
- var m = (d, a, e) => (b(d, typeof a != "symbol" ? a + "" : a, e), e);
13
+ var g = (d, a, e) => (b(d, typeof a != "symbol" ? a + "" : a, e), e);
14
14
  var p = (d, a, e) => new Promise((t, i) => {
15
- var s = (r) => {
15
+ var o = (r) => {
16
16
  try {
17
17
  n(e.next(r));
18
18
  } catch (h) {
19
19
  i(h);
20
20
  }
21
- }, o = (r) => {
21
+ }, s = (r) => {
22
22
  try {
23
23
  n(e.throw(r));
24
24
  } catch (h) {
25
25
  i(h);
26
26
  }
27
- }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(s, o);
27
+ }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(o, s);
28
28
  n((e = e.apply(d, a)).next());
29
29
  });
30
30
  import * as T from "three";
@@ -68,8 +68,8 @@ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
68
68
  import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
69
69
  import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
70
70
  import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
71
- import "../../vendor/svelte/store/index.js";
72
- import "../../vendor/svelte/internal/index.js";
71
+ import "../../vendor/svelte/src/runtime/store/index.js";
72
+ import "../../vendor/svelte/src/runtime/internal/utils.js";
73
73
  import "../../shared-utils/device.js";
74
74
  import "../utils/model/mediaPlane.js";
75
75
  import "../../shared-utils/three/loadTexture.js";
@@ -83,13 +83,24 @@ import "../../shared-utils/five/FiveDomEvents.js";
83
83
  import "../../shared-utils/threex/domevents/index.js";
84
84
  import "../../shared-utils/five/getFloorIndex.js";
85
85
  import "../Components/TagContainer.js";
86
+ import "../../vendor/svelte/src/runtime/internal/dom.js";
87
+ import "../../vendor/svelte/src/runtime/internal/transitions.js";
88
+ import "../../vendor/svelte/src/runtime/internal/environment.js";
89
+ import "../../vendor/svelte/src/runtime/internal/loop.js";
90
+ import "../../vendor/svelte/src/runtime/internal/style_manager.js";
91
+ import "../../vendor/svelte/src/runtime/internal/scheduler.js";
92
+ import "../../vendor/svelte/src/runtime/internal/lifecycle.js";
93
+ import "../../vendor/svelte/src/runtime/internal/each.js";
94
+ import "../../vendor/svelte/src/runtime/internal/Component.js";
95
+ import "../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
96
+ import "../../vendor/svelte/src/shared/version.js";
86
97
  import "../Components/TagItem.js";
87
98
  import "../Components/Tag/index.js";
88
99
  import "../Components/Tag/TextTag/index.js";
89
100
  import "../Components/Tag/TextTag/TextTag.js";
90
101
  import "../Components/Common/Line/Straight.js";
91
- import "../../vendor/svelte/transition/index.js";
92
- import "../../vendor/svelte/easing/index.js";
102
+ import "../../vendor/svelte/src/runtime/transition/index.js";
103
+ import "../../vendor/svelte/src/runtime/easing/index.js";
93
104
  import "../Components/Common/Shadow.js";
94
105
  import "../Components/Common/Text/FlyMText.js";
95
106
  import "../Components/Common/Text/FlyText.js";
@@ -106,6 +117,7 @@ import "../utils/px2rem.js";
106
117
  import "../Components/Tag/ImageTextTag.js";
107
118
  import "../Components/Common/Line/Polyline.js";
108
119
  import "../Components/Common/Media.js";
120
+ import "../../vendor/svelte/src/runtime/internal/spread.js";
109
121
  import "../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
110
122
  import "../../vendor/svelte-carousel/src/components/Dots/Dots.js";
111
123
  import "../../vendor/svelte-carousel/src/components/Dot/Dot.js";
@@ -148,6 +160,7 @@ import "../Components/Tag/AudioTag/AudioPlaneTag.js";
148
160
  import "../Components/Tag/MediaPlane.js";
149
161
  import "../Components/Tag/LinkTag.js";
150
162
  import "../Components/Common/Icon/Icon.js";
163
+ import "../../vendor/svelte/src/runtime/internal/await_block.js";
151
164
  import "../utils/getImageInfo.js";
152
165
  import "../Components/Tag/CustomTag.js";
153
166
  import "../../vendor/classnames/index.js";
@@ -158,32 +171,32 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
158
171
  import "../../shared-utils/three/GLTFLoader.js";
159
172
  import "@realsee/five/gltf-loader";
160
173
  import "../../shared-utils/animationFrame/index.js";
161
- const M = "Dnalogel-PanoTagPlugin", pi = (d) => `${M}--${d}`;
162
- class ci extends V {
174
+ const M = "Dnalogel-PanoTagPlugin", Mi = (d) => `${M}--${d}`;
175
+ class Pi extends V {
163
176
  constructor(e, t) {
164
177
  super(e);
165
178
  /** state */
166
- m(this, "state", { enabled: !0, visible: !0 });
179
+ g(this, "state", { enabled: !0, visible: !0 });
167
180
  /** 插件参数 */
168
- m(this, "params");
181
+ g(this, "params");
169
182
  /** debug */
170
- m(this, "debug");
183
+ g(this, "debug");
171
184
  /** 更改 tag 模型 */
172
- m(this, "changeTagModel", (e, t) => p(this, null, function* () {
185
+ g(this, "changeTagModel", (e, t) => p(this, null, function* () {
173
186
  e.data = c({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
174
187
  }));
175
- m(this, "handleFiveInitAnimationEnded", () => {
188
+ g(this, "handleFiveInitAnimationEnded", () => {
176
189
  const e = this.five.getCurrentState().mode;
177
190
  this.tags.forEach((t) => {
178
191
  y(t) && e === "Panorama" && this.changeTagMode(t, "front"), t.state.visible = this.getVisible(t);
179
192
  }), this.updateRenderAllTags();
180
193
  });
181
194
  /** 楼层切换时,需要更新标签可见性 */
182
- m(this, "handleFiveModelShownFloorChange", () => {
195
+ g(this, "handleFiveModelShownFloorChange", () => {
183
196
  this.tags.forEach((e) => {
184
- var i, s;
197
+ var i, o;
185
198
  const t = this.getTagConfig(e).visibleConfig;
186
- typeof t == "object" && ((i = t.visibleFiveMode) != null && i.includes("Floorplan") || (s = t.visibleFiveMode) != null && s.includes("Mapview")) && (e.state.visible = this.getVisibleByFiveMode(e));
199
+ typeof t == "object" && ((i = t.visibleFiveMode) != null && i.includes("Floorplan") || (o = t.visibleFiveMode) != null && o.includes("Mapview")) && (e.state.visible = this.getVisibleByFiveMode(e));
187
200
  }), this.updateRenderAllTags();
188
201
  });
189
202
  this.params = c({}, { debug: !1, config: this.config }, f({}, t)), this.debug = this.params.debug, this.config = this.params.config, G(1, { namespace: N.PlayAudio });
@@ -198,10 +211,10 @@ class ci extends V {
198
211
  */
199
212
  load(e, t) {
200
213
  return p(this, null, function* () {
201
- var s, o;
214
+ var o, s;
202
215
  this.clearTags(), console.debug(M, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = c({}, this.config, {
203
- globalConfig: (s = e.globalConfig) != null ? s : {},
204
- contentTypeConfig: (o = e.contentTypeConfig) != null ? o : {}
216
+ globalConfig: (o = e.globalConfig) != null ? o : {},
217
+ contentTypeConfig: (s = e.contentTypeConfig) != null ? s : {}
205
218
  });
206
219
  const i = yield this.addTag(e.tagList, t);
207
220
  if (this.debug)
@@ -218,31 +231,31 @@ class ci extends V {
218
231
  */
219
232
  addTag(e, t) {
220
233
  return p(this, null, function* () {
221
- const s = (Array.isArray(e) ? e : [e]).map((o) => {
222
- var l, g;
223
- const n = this.getTagConfig(o), r = JSON.parse(JSON.stringify(o.data));
224
- return u(f({}, o), {
225
- enabled: (l = o.enabled) != null ? l : !0,
226
- id: (g = o.id) != null ? g : z(),
227
- data: c(o.data, n.initialData, r),
234
+ const o = (Array.isArray(e) ? e : [e]).map((s) => {
235
+ var l, m;
236
+ const n = this.getTagConfig(s), r = JSON.parse(JSON.stringify(s.data));
237
+ return u(f({}, s), {
238
+ enabled: (l = s.enabled) != null ? l : !0,
239
+ id: (m = s.id) != null ? m : z(),
240
+ data: c(s.data, n.initialData, r),
228
241
  state: f({
229
242
  visible: void 0,
230
- unfolded: !this.can("fold", o)
243
+ unfolded: !this.can("fold", s)
231
244
  }, n.initialState),
232
245
  hooks: new B(),
233
- initialConfig: o.config,
246
+ initialConfig: s.config,
234
247
  config: n,
235
- unfold: () => this.changeUnfoldedById(o.id, !0),
236
- fold: () => this.changeUnfoldedById(o.id, !1),
237
- enable: () => this.changeEnabledById(o.id, !0),
238
- disable: () => this.changeEnabledById(o.id, !1),
239
- destroy: () => this.destroyTagById(o.id),
240
- changeData: (v) => this.changeDataById(o.id, v)
248
+ unfold: () => this.changeUnfoldedById(s.id, !0),
249
+ fold: () => this.changeUnfoldedById(s.id, !1),
250
+ enable: () => this.changeEnabledById(s.id, !0),
251
+ disable: () => this.changeEnabledById(s.id, !1),
252
+ destroy: () => this.destroyTagById(s.id),
253
+ changeData: (v) => this.changeDataById(s.id, v)
241
254
  });
242
- }).filter((o) => o.position);
243
- return s.forEach(L), this.tags.push(...s), k(this.five).then(() => p(this, null, function* () {
244
- var o, n, r;
245
- this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }).then(() => this.updateRenderAllTags()), this.updateRenderAllTags(), yield this.addMediaModelTag(s);
255
+ }).filter((s) => s.position);
256
+ return o.forEach(L), this.tags.push(...o), k(this.five).then(() => p(this, null, function* () {
257
+ var s, n, r;
258
+ this.store.eventListenerDisposer && ((n = (s = this.store).eventListenerDisposer) == null || n.call(s)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }).then(() => this.updateRenderAllTags()), this.updateRenderAllTags(), yield this.addMediaModelTag(o);
246
259
  }));
247
260
  });
248
261
  }
@@ -295,26 +308,26 @@ class ci extends V {
295
308
  setState(e, t) {
296
309
  if (this.checkDisposed())
297
310
  return;
298
- const { userAction: i = !0, visibleWithAnimation: s = !1 } = t, o = f({}, this.state);
299
- this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = s, o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
311
+ const { userAction: i = !0, visibleWithAnimation: o = !1 } = t, s = f({}, this.state);
312
+ this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = o, s.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), s.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: s, userAction: i });
300
313
  }
301
314
  /**
302
315
  * @description: 销毁
303
316
  */
304
317
  dispose() {
305
- var e, t, i, s, o, n;
318
+ var e, t, i, o, s, n;
306
319
  this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
307
320
  var h;
308
321
  return (h = r.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
309
- }), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (s = (i = this.store).eventListenerDisposer) == null || s.call(i), this.store.eventListenerDisposer = void 0, (n = (o = this.store).resizeObserverDisposer) == null || n.call(o), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.clearCache(), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
322
+ }), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (o = (i = this.store).eventListenerDisposer) == null || o.call(i), this.store.eventListenerDisposer = void 0, (n = (s = this.store).resizeObserverDisposer) == null || n.call(s), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.clearCache(), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
310
323
  }
311
324
  changeUnfoldedById(e, t) {
312
325
  var n;
313
326
  const i = this.getTagById(e);
314
327
  if (!i)
315
328
  return;
316
- const s = this.can("fold", i), o = this.can("unfold", i);
317
- if (s && o) {
329
+ const o = this.can("fold", i), s = this.can("unfold", i);
330
+ if (o && s) {
318
331
  i.state.unfolded = t;
319
332
  const r = this.filterPointTag;
320
333
  (n = this.TagContainerSvelte) == null || n.$set({ tags: r });
@@ -336,9 +349,9 @@ class ci extends V {
336
349
  * @description: 改变data
337
350
  */
338
351
  changeDataById(e, t, i = !0) {
339
- const s = this.getTagById(e);
340
- let o = !1;
341
- s && (s.data && (o = !0), i ? s.data = c(s.data, t) : s.data = f(f({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), o && s.hooks.emit("dataChanged", s.data));
352
+ const o = this.getTagById(e);
353
+ let s = !1;
354
+ o && (o.data && (s = !0), i ? o.data = c(o.data, t) : o.data = f(f({}, o.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), s && o.hooks.emit("dataChanged", o.data));
342
355
  }
343
356
  /**
344
357
  * @description: 改变tag的stickType
@@ -350,17 +363,17 @@ class ci extends V {
350
363
  * @description: 改变tag任意属性
351
364
  */
352
365
  changeTagById(e, t, i = !0) {
353
- const s = this.getTagById(e);
354
- let o = !1;
355
- t && (t.data && (o = !0), i ? c(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = A(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
366
+ const o = this.getTagById(e);
367
+ let s = !1;
368
+ t && (t.data && (s = !0), i ? c(o, t) : Object.assign(o, t), o != null && o.tag3DContentSvelte && (t != null && t.normal) && (o.tag3DContentSvelte.currentNormal = A(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), s && o.hooks.emit("dataChanged", o.data));
356
369
  }
357
370
  /**
358
371
  * @description: 销毁tag
359
372
  */
360
373
  destroyTagById(e) {
361
374
  (Array.isArray(e) ? e : [e]).forEach((i) => {
362
- const s = this.tags.findIndex((o) => o.id === i);
363
- s !== -1 && this.tags.splice(s, 1);
375
+ const o = this.tags.findIndex((s) => s.id === i);
376
+ o !== -1 && this.tags.splice(o, 1);
364
377
  }), this.updateRenderAllTags();
365
378
  }
366
379
  /**
@@ -390,18 +403,18 @@ class ci extends V {
390
403
  }
391
404
  handleDisable() {
392
405
  var e, t, i;
393
- this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((s) => {
394
- var o;
395
- (o = s.tag3DContentSvelte) == null || o.dispose(), s.tag3DContentSvelte = void 0;
406
+ this.pauseCurrentMedia(), this.state.enabled = !1, (t = (e = this.store).eventListenerDisposer) == null || t.call(e), this.five.scene.remove(this.group), (i = this.TagContainerSvelte) == null || i.$set({ tags: [] }), this.filterCSS3DTag.forEach((o) => {
407
+ var s;
408
+ (s = o.tag3DContentSvelte) == null || s.dispose(), o.tag3DContentSvelte = void 0;
396
409
  }), this.five.needsRender = !0;
397
410
  }
398
411
  /**
399
412
  * @description: 添加 cameraUpdate, panoArrived 等事件监听
400
413
  */
401
414
  addEventListener() {
402
- const { five: e, hooks: t } = this, i = this.handleFiveWantsMoveToPano.bind(this), s = this.handleFiveModeChange.bind(this), o = this.handleFiveCameraUpdate.bind(this), n = this.handleFiveCameraUpdateDebounce(), r = this.handleFivePanoArrived.bind(this), h = this.loadVideoFirstFrame.bind(this), l = this.clickhandler.bind(this), g = this.five.currentMode;
403
- return g && this.handleFiveModeChange(g), this.handleFivePanoArrived(), e.on("wantsMoveToPano", i), e.on("modeChange", s), e.on("initAnimationEnded", this.handleFiveInitAnimationEnded), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", o), e.on("cameraUpdate", n), e.on("panoArrived", r), e.on("panoArrived", h), t.on("click", l), () => {
404
- e.off("wantsMoveToPano", i), e.off("modeChange", s), e.off("initAnimationEnded", this.handleFiveInitAnimationEnded), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", o), e.off("cameraUpdate", n), e.off("panoArrived", r), e.off("panoArrived", h), t.off("click", l), this.store.eventListenerDisposer = void 0;
415
+ const { five: e, hooks: t } = this, i = this.handleFiveWantsMoveToPano.bind(this), o = this.handleFiveModeChange.bind(this), s = this.handleFiveCameraUpdate.bind(this), n = this.handleFiveCameraUpdateDebounce(), r = this.handleFivePanoArrived.bind(this), h = this.loadVideoFirstFrame.bind(this), l = this.clickhandler.bind(this), m = this.five.currentMode;
416
+ return m && this.handleFiveModeChange(m), this.handleFivePanoArrived(), e.on("wantsMoveToPano", i), e.on("modeChange", o), e.on("initAnimationEnded", this.handleFiveInitAnimationEnded), e.on("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.on("cameraUpdate", s), e.on("cameraUpdate", n), e.on("panoArrived", r), e.on("panoArrived", h), t.on("click", l), () => {
417
+ e.off("wantsMoveToPano", i), e.off("modeChange", o), e.off("initAnimationEnded", this.handleFiveInitAnimationEnded), e.off("modelShownFloorChange", this.handleFiveModelShownFloorChange), e.off("cameraUpdate", s), e.off("cameraUpdate", n), e.off("panoArrived", r), e.off("panoArrived", h), t.off("click", l), this.store.eventListenerDisposer = void 0;
405
418
  };
406
419
  }
407
420
  addResizeListener() {
@@ -419,7 +432,7 @@ class ci extends V {
419
432
  this.state.enabled && (this.show(), this.updateRenderAllTags());
420
433
  }, i = () => {
421
434
  this.state.enabled && this.hide();
422
- }, { observe: s, unobserve: o } = S(
435
+ }, { observe: o, unobserve: s } = S(
423
436
  _(() => {
424
437
  this.store.resizeObserverDisposer && i();
425
438
  }, 500),
@@ -428,8 +441,8 @@ class ci extends V {
428
441
  D(() => t(), 400),
429
442
  e
430
443
  );
431
- return s(), n(), () => {
432
- o(), r();
444
+ return o(), n(), () => {
445
+ s(), r();
433
446
  };
434
447
  }
435
448
  /**
@@ -468,8 +481,8 @@ class ci extends V {
468
481
  if (!e.tag.state)
469
482
  return console.warn("Clickhandler: params.tag.state is undefined");
470
483
  const t = this.can("fold", e.tag), i = this.can("unfold", e.tag);
471
- t && i && (e.tag.state.unfolded = !e.tag.state.unfolded, e.tag.state.unfolded && this.tags.forEach((s) => {
472
- s.id !== e.tag.id && s.state && this.can("fold", s) && (s.state.unfolded = !1);
484
+ t && i && (e.tag.state.unfolded = !e.tag.state.unfolded, e.tag.state.unfolded && this.tags.forEach((o) => {
485
+ o.id !== e.tag.id && o.state && this.can("fold", o) && (o.state.unfolded = !1);
473
486
  }), this.updateRenderAllTags());
474
487
  }
475
488
  handleFiveCameraUpdateDebounce() {
@@ -483,23 +496,23 @@ class ci extends V {
483
496
  handleFivePanoArrived() {
484
497
  return p(this, null, function* () {
485
498
  var e, t, i;
486
- this.setModelMedialVisible(), yield this.setVisibleAndUnfolded(), this.tags.forEach((s) => {
487
- s.temporaryState = u(f({}, s.temporaryState), { visible: !0 });
488
- }), (i = (t = (e = this.config) == null ? void 0 : e.globalConfig) == null ? void 0 : t.modelConfig) != null && i.autoLookAtEnabled && this.tags.filter(O).filter((s) => {
489
- var o, n;
490
- return (n = (o = s.config) == null ? void 0 : o.modelConfig) == null ? void 0 : n.autoLookAtEnabled;
491
- }).forEach((s) => {
499
+ this.setModelMedialVisible(), yield this.setVisibleAndUnfolded(), this.tags.forEach((o) => {
500
+ o.temporaryState = u(f({}, o.temporaryState), { visible: !0 });
501
+ }), (i = (t = (e = this.config) == null ? void 0 : e.globalConfig) == null ? void 0 : t.modelConfig) != null && i.autoLookAtEnabled && this.tags.filter(O).filter((o) => {
502
+ var s, n;
503
+ return (n = (s = o.config) == null ? void 0 : s.modelConfig) == null ? void 0 : n.autoLookAtEnabled;
504
+ }).forEach((o) => {
492
505
  var v;
493
- const o = new T.Mesh(new T.BoxGeometry(), new T.MeshBasicMaterial()), n = (v = s.model) == null ? void 0 : v.object;
506
+ const s = new T.Mesh(new T.BoxGeometry(), new T.MeshBasicMaterial()), n = (v = o.model) == null ? void 0 : v.object;
494
507
  if (!n)
495
508
  return;
496
- o.position.copy(n.position), o.quaternion.copy(n.quaternion);
509
+ s.position.copy(n.position), s.quaternion.copy(n.quaternion);
497
510
  const r = this.five.camera.position;
498
- o.lookAt(r.clone().setY(o.position.y));
499
- const h = n.quaternion.clone(), l = o.quaternion.clone(), g = x();
500
- g.onUpdate(({ progress: P }) => {
511
+ s.lookAt(r.clone().setY(s.position.y));
512
+ const h = n.quaternion.clone(), l = s.quaternion.clone(), m = x();
513
+ m.onUpdate(({ progress: P }) => {
501
514
  n.quaternion.copy(h.clone().slerp(l, P));
502
- }), g.play();
515
+ }), m.play();
503
516
  }), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
504
517
  });
505
518
  }
@@ -514,12 +527,12 @@ class ci extends V {
514
527
  });
515
528
  }
516
529
  changeTagMode(e, t) {
517
- var i, s, o, n, r, h;
518
- ((i = this.getTagConfig(e)) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (o = (s = e.tag3DContentSvelte) == null ? void 0 : s.css3DInstance) == null ? void 0 : o.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((l) => l == null ? void 0 : l()), e.tag3DContentSvelte = void 0);
530
+ var i, o, s, n, r, h;
531
+ ((i = this.getTagConfig(e)) == null ? void 0 : i.renderType) !== "Mesh" && ((n = (s = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : s.css3DObject) == null ? void 0 : n.mode) !== t && ((r = e.config) != null && r.tag3DConfig ? e.config.tag3DConfig.mode = t : e.config ? e.config.tag3DConfig = { mode: t } : e.config = { tag3DConfig: { mode: t } }, (h = this.store.css3DRenderDisposer.get(e.id)) == null || h.forEach((l) => l == null ? void 0 : l()), e.tag3DContentSvelte = void 0);
519
532
  }
520
533
  }
521
534
  export {
522
- ci as PanoTagPluginController,
523
- ci as default,
524
- pi as pluginFlag
535
+ Pi as PanoTagPluginController,
536
+ Pi as default,
537
+ Mi as pluginFlag
525
538
  };
@@ -1,6 +1,6 @@
1
1
  import r from "./controller/index.js";
2
- import { pluginFlag as At } from "./controller/index.js";
3
- import { ContentType as Et, DimensionType as Gt, PointType as Ht } from "./Archive/deprecated.js";
2
+ import { pluginFlag as Rt } from "./controller/index.js";
3
+ import { ContentType as Ut, DimensionType as Vt, PointType as Wt } from "./Archive/deprecated.js";
4
4
  import "three";
5
5
  import "@realsee/five";
6
6
  import "../vendor/object-assign-deep/objectAssignDeep.js";
@@ -40,8 +40,8 @@ import "./utils/normalPositionToPositions.js";
40
40
  import "./controller/TagCache.js";
41
41
  import "../base/BasePlugin.js";
42
42
  import "../shared-utils/absoluteUrl.js";
43
- import "../vendor/svelte/store/index.js";
44
- import "../vendor/svelte/internal/index.js";
43
+ import "../vendor/svelte/src/runtime/store/index.js";
44
+ import "../vendor/svelte/src/runtime/internal/utils.js";
45
45
  import "../shared-utils/device.js";
46
46
  import "./utils/model/mediaPlane.js";
47
47
  import "../shared-utils/three/loadTexture.js";
@@ -55,13 +55,24 @@ import "../shared-utils/five/FiveDomEvents.js";
55
55
  import "../shared-utils/threex/domevents/index.js";
56
56
  import "../shared-utils/five/getFloorIndex.js";
57
57
  import "./Components/TagContainer.js";
58
+ import "../vendor/svelte/src/runtime/internal/dom.js";
59
+ import "../vendor/svelte/src/runtime/internal/transitions.js";
60
+ import "../vendor/svelte/src/runtime/internal/environment.js";
61
+ import "../vendor/svelte/src/runtime/internal/loop.js";
62
+ import "../vendor/svelte/src/runtime/internal/style_manager.js";
63
+ import "../vendor/svelte/src/runtime/internal/scheduler.js";
64
+ import "../vendor/svelte/src/runtime/internal/lifecycle.js";
65
+ import "../vendor/svelte/src/runtime/internal/each.js";
66
+ import "../vendor/svelte/src/runtime/internal/Component.js";
67
+ import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
68
+ import "../vendor/svelte/src/shared/version.js";
58
69
  import "./Components/TagItem.js";
59
70
  import "./Components/Tag/index.js";
60
71
  import "./Components/Tag/TextTag/index.js";
61
72
  import "./Components/Tag/TextTag/TextTag.js";
62
73
  import "./Components/Common/Line/Straight.js";
63
- import "../vendor/svelte/transition/index.js";
64
- import "../vendor/svelte/easing/index.js";
74
+ import "../vendor/svelte/src/runtime/transition/index.js";
75
+ import "../vendor/svelte/src/runtime/easing/index.js";
65
76
  import "../shared-utils/uuid.js";
66
77
  import "./Components/Common/Shadow.js";
67
78
  import "./Components/Common/Text/FlyMText.js";
@@ -79,6 +90,7 @@ import "./utils/px2rem.js";
79
90
  import "./Components/Tag/ImageTextTag.js";
80
91
  import "./Components/Common/Line/Polyline.js";
81
92
  import "./Components/Common/Media.js";
93
+ import "../vendor/svelte/src/runtime/internal/spread.js";
82
94
  import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
83
95
  import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
84
96
  import "../vendor/svelte-carousel/src/components/Dot/Dot.js";
@@ -121,6 +133,7 @@ import "./Components/Tag/AudioTag/AudioPlaneTag.js";
121
133
  import "./Components/Tag/MediaPlane.js";
122
134
  import "./Components/Tag/LinkTag.js";
123
135
  import "./Components/Common/Icon/Icon.js";
136
+ import "../vendor/svelte/src/runtime/internal/await_block.js";
124
137
  import "./utils/getImageInfo.js";
125
138
  import "./Components/Tag/CustomTag.js";
126
139
  import "../vendor/classnames/index.js";
@@ -132,13 +145,13 @@ import "../shared-utils/three/GLTFLoader.js";
132
145
  import "@realsee/five/gltf-loader";
133
146
  import "../shared-utils/animationFrame/BetterTween.js";
134
147
  import "../shared-utils/animationFrame/index.js";
135
- const qt = (o, t) => new r(o, t);
148
+ const Nt = (o, t) => new r(o, t);
136
149
  export {
137
- Et as ContentType,
138
- Gt as DimensionType,
139
- qt as PanoTagPlugin,
150
+ Ut as ContentType,
151
+ Vt as DimensionType,
152
+ Nt as PanoTagPlugin,
140
153
  r as PanoTagPluginController,
141
- Ht as PointType,
142
- qt as default,
143
- At as pluginFlag
154
+ Wt as PointType,
155
+ Nt as default,
156
+ Rt as pluginFlag
144
157
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="svelte" />
1
2
  import type { PanoTagPluginController, TagInstance } from '../index';
2
3
  import type * as BasePlugin from '../../base/BasePlugin';
3
4
  import type { Writable } from 'svelte/store';
@@ -22,6 +22,16 @@ interface ContentTypeMapInterface {
22
22
  text?: string;
23
23
  title?: string;
24
24
  description?: string;
25
+ /**
26
+ * @description: description 最大行数, null不限制
27
+ * @default: null
28
+ */
29
+ descriptionMaxRows?: number | null;
30
+ /**
31
+ * @description: title 最大行数, null不限制
32
+ * @default: null
33
+ */
34
+ titleMaxRows?: number | null;
25
35
  edit?: {
26
36
  title?: {
27
37
  inputting?: boolean;
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "2.22.0-dev.8");
17
+ i(this, "VERSION", "2.23.0");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子