@realsee/dnalogel 2.27.0-dev.2 → 2.27.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 (319) hide show
  1. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +17 -3
  2. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +1 -1
  3. package/dist/index.cjs.js +32 -30
  4. package/dist/index.js +2299 -2266
  5. package/dist/index.umd.js +32 -30
  6. package/docs/classes/CSS3DRender.html +30 -30
  7. package/docs/classes/CruisePluginController.html +25 -25
  8. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  9. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  10. package/docs/classes/Magnifier.html +19 -19
  11. package/docs/classes/ModelRoomLabelController.html +10 -10
  12. package/docs/classes/Object3DHelperController.html +24 -24
  13. package/docs/classes/PaintBrush.html +14 -14
  14. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  15. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  16. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  17. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  18. package/docs/classes/PanoTagPluginController.html +46 -46
  19. package/docs/classes/Util.BetterTween.html +8 -8
  20. package/docs/classes/Util.Interval.html +11 -11
  21. package/docs/classes/Util.Magnifier.html +19 -19
  22. package/docs/classes/Util.PointDomHelper.html +10 -10
  23. package/docs/classes/Util.PointHelper.html +10 -10
  24. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  25. package/docs/classes/Util.Rectangle.html +12 -12
  26. package/docs/enums/CameraMovementEffect.html +6 -6
  27. package/docs/enums/ContentType.html +19 -19
  28. package/docs/enums/DIRECTION.html +8 -8
  29. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  30. package/docs/enums/DimensionType.html +6 -6
  31. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  32. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  33. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  34. package/docs/enums/PointType.html +6 -6
  35. package/docs/enums/Rotation.html +7 -7
  36. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  37. package/docs/functions/CameraMovementPlugin.html +3 -3
  38. package/docs/functions/CruisePlugin.html +3 -3
  39. package/docs/functions/GuideLinePlugin.html +4 -4
  40. package/docs/functions/ItemLabelPlugin.html +3 -3
  41. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  42. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  43. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  44. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  45. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  46. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  47. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  48. package/docs/functions/ModelViewPlugin.html +3 -3
  49. package/docs/functions/Object3DHelperPlugin.html +3 -3
  50. package/docs/functions/PanoCompassPlugin.html +3 -3
  51. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  52. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  53. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  54. package/docs/functions/PanoMeasurePlugin.html +3 -3
  55. package/docs/functions/PanoRulerPlugin.html +3 -3
  56. package/docs/functions/PanoRulerProPlugin.html +3 -3
  57. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  58. package/docs/functions/PanoTagPlugin.html +3 -3
  59. package/docs/functions/PanoVideoPlugin.html +3 -3
  60. package/docs/functions/PipelinePlugin.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 +5 -5
  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 +7 -7
  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 +5 -5
  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 +15 -15
  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 +21 -15
  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/PipelinePluginParameterType.html +4 -4
  275. package/docs/types/PipelinePluginReturnType.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/TagConfigByKey.html +4 -4
  291. package/docs/types/TagContentType.html +4 -4
  292. package/docs/types/TagDimensionType.html +4 -4
  293. package/docs/types/TagElement.html +4 -4
  294. package/docs/types/TagEvents.html +4 -4
  295. package/docs/types/TagGLTFObject.html +4 -4
  296. package/docs/types/TagHooks.html +4 -4
  297. package/docs/types/TagId.html +4 -4
  298. package/docs/types/TagInstance.html +4 -4
  299. package/docs/types/TagPointType.html +4 -4
  300. package/docs/types/TagRendererMap.html +4 -4
  301. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  302. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  303. package/docs/types/WorkCode.html +4 -4
  304. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  305. package/docs/variables/PLUGIN.html +4 -4
  306. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  307. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  308. package/docs/variables/defaultGlobalConfig.html +4 -4
  309. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  310. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  311. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  312. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +133 -112
  313. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +107 -95
  314. package/libs/PanoTagPlugin/controller/index.js +49 -49
  315. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +17 -3
  316. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +1 -1
  317. package/libs/base/BasePlugin.js +1 -1
  318. package/libs/shared-utils/logger.js +1 -1
  319. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
  import { safe_not_equal as R, action_destroyer as S, run_all as W } from "../../../../vendor/svelte/src/runtime/internal/utils.js";
2
- import { append_styles as C, empty as q, insert as w, detach as v, space as U, element as x, attr as F, listen as D } from "../../../../vendor/svelte/src/runtime/internal/dom.js";
3
- import { transition_in as d, transition_out as u, check_outros as I, group_outros as L } from "../../../../vendor/svelte/src/runtime/internal/transitions.js";
4
- import { SvelteComponent as N, init as O, create_component as $, mount_component as y, destroy_component as T } from "../../../../vendor/svelte/src/runtime/internal/Component.js";
2
+ import { append_styles as C, empty as q, insert as v, detach as y, space as U, element as F, attr as I, listen as D } from "../../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { transition_in as c, transition_out as b, check_outros as L, group_outros as N } from "../../../../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { SvelteComponent as O, init as j, create_component as T, mount_component as k, destroy_component as $ } from "../../../../vendor/svelte/src/runtime/internal/Component.js";
5
5
  import "../../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
6
- import j from "../../Common/Line/Straight.js";
7
- import A from "../../Common/Shadow.js";
8
- import B from "../../Common/Text/FlyMText.js";
9
- import { svelteResizeObserver as E } from "../../../../shared-utils/svelte/resizeObserver.js";
6
+ import A from "../../Common/Line/Straight.js";
7
+ import B from "../../Common/Shadow.js";
8
+ import E from "../../Common/Text/FlyMText.js";
9
+ import { svelteResizeObserver as G } from "../../../../shared-utils/svelte/resizeObserver.js";
10
10
  import "../../../../vendor/svelte/src/runtime/internal/environment.js";
11
11
  import "../../../../vendor/svelte/src/runtime/internal/loop.js";
12
12
  import "../../../../vendor/svelte/src/runtime/internal/style_manager.js";
@@ -27,13 +27,13 @@ import "../../Common/Arrow.js";
27
27
  import "../../../Assets/Icon.js";
28
28
  import "../../../utils/doUtil.js";
29
29
  import "../../../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
30
- function G(o) {
31
- C(o, "svelte-nlvd3x", ".content.svelte-nlvd3x{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
30
+ function H(o) {
31
+ C(o, "svelte-5hip41", ".content.svelte-5hip41{--height:62.4375rem;width:-moz-max-content;width:max-content;height:var(--height);padding:calc(var(--height) - 1.125rem) 0.25rem 0 1rem;position:absolute;left:0;bottom:0;overflow:hidden;box-sizing:border-box;font-size:0;pointer-events:none;white-space:nowrap;font-weight:600}");
32
32
  }
33
33
  function M(o) {
34
- var _, g;
35
- let i, m, e, n, r, f, p, s, c;
36
- return i = new A({
34
+ var a, w;
35
+ let l, r, t, i, n, s, u, p, g;
36
+ return l = new B({
37
37
  props: {
38
38
  visible: (
39
39
  /*unfolded*/
@@ -48,7 +48,7 @@ function M(o) {
48
48
  blurRadius: 120,
49
49
  spreadRadius: 60
50
50
  }
51
- }), e = new j({
51
+ }), t = new A({
52
52
  props: {
53
53
  unfolded: (
54
54
  /*unfolded*/
@@ -62,13 +62,13 @@ function M(o) {
62
62
  /*foldTextDelay*/
63
63
  o[4] + 40 * Math.min(
64
64
  /*textItems*/
65
- (g = (_ = o[6][0]) == null ? void 0 : _.content.length) != null ? g : 10,
65
+ (w = (a = o[6][0]) == null ? void 0 : a.content.length) != null ? w : 10,
66
66
  15
67
67
  )
68
68
  ),
69
69
  useLinearColor: !0
70
70
  }
71
- }), f = new B({
71
+ }), s = new E({
72
72
  props: {
73
73
  visible: (
74
74
  /*unfolded*/
@@ -85,134 +85,146 @@ function M(o) {
85
85
  }
86
86
  }), {
87
87
  c() {
88
- $(i.$$.fragment), m = U(), $(e.$$.fragment), n = U(), r = x("div"), $(f.$$.fragment), F(r, "class", "content svelte-nlvd3x");
88
+ T(l.$$.fragment), r = U(), T(t.$$.fragment), i = U(), n = F("div"), T(s.$$.fragment), I(n, "class", "content svelte-5hip41");
89
89
  },
90
- m(t, l) {
91
- y(i, t, l), w(t, m, l), y(e, t, l), w(t, n, l), w(t, r, l), y(f, r, null), p = !0, s || (c = [
92
- S(E.call(null, r)),
90
+ m(e, f) {
91
+ k(l, e, f), v(e, r, f), k(t, e, f), v(e, i, f), v(e, n, f), k(s, n, null), u = !0, p || (g = [
92
+ S(G.call(null, n)),
93
93
  D(
94
- r,
94
+ n,
95
95
  "clientWidth",
96
96
  /*clientWidth_handler*/
97
- o[8]
97
+ o[10]
98
98
  ),
99
99
  D(
100
- r,
100
+ n,
101
101
  "click",
102
102
  /*toggleTextUnfolded*/
103
103
  o[7]
104
104
  )
105
- ], s = !0);
105
+ ], p = !0);
106
106
  },
107
- p(t, l) {
108
- var k, z;
109
- const a = {};
110
- l & /*unfolded*/
111
- 4 && (a.visible = /*unfolded*/
112
- t[2]), l & /*contentWidth*/
113
- 8 && (a.left = /*contentWidth*/
114
- t[3] / 2 + "px"), i.$set(a);
115
- const h = {};
116
- l & /*unfolded*/
117
- 4 && (h.unfolded = /*unfolded*/
118
- t[2]), l & /*contentWidth*/
119
- 8 && (h.length = /*contentWidth*/
120
- t[3]), l & /*foldTextDelay*/
121
- 16 && (h.outDelay = /*foldTextDelay*/
122
- t[4] + 40 * Math.min(
107
+ p(e, f) {
108
+ var _, z;
109
+ const m = {};
110
+ f & /*unfolded*/
111
+ 4 && (m.visible = /*unfolded*/
112
+ e[2]), f & /*contentWidth*/
113
+ 8 && (m.left = /*contentWidth*/
114
+ e[3] / 2 + "px"), l.$set(m);
115
+ const d = {};
116
+ f & /*unfolded*/
117
+ 4 && (d.unfolded = /*unfolded*/
118
+ e[2]), f & /*contentWidth*/
119
+ 8 && (d.length = /*contentWidth*/
120
+ e[3]), f & /*foldTextDelay*/
121
+ 16 && (d.outDelay = /*foldTextDelay*/
122
+ e[4] + 40 * Math.min(
123
123
  /*textItems*/
124
- (z = (k = t[6][0]) == null ? void 0 : k.content.length) != null ? z : 10,
124
+ (z = (_ = e[6][0]) == null ? void 0 : _.content.length) != null ? z : 10,
125
125
  15
126
- )), e.$set(h);
127
- const b = {};
128
- l & /*unfolded*/
129
- 4 && (b.visible = /*unfolded*/
130
- t[2]), l & /*textUnfolded*/
131
- 2 && (b.textUnfolded = /*textUnfolded*/
132
- t[1]), l & /*content*/
133
- 32 && (b.content = /*content*/
134
- t[5]), f.$set(b);
126
+ )), t.$set(d);
127
+ const h = {};
128
+ f & /*unfolded*/
129
+ 4 && (h.visible = /*unfolded*/
130
+ e[2]), f & /*textUnfolded*/
131
+ 2 && (h.textUnfolded = /*textUnfolded*/
132
+ e[1]), f & /*content*/
133
+ 32 && (h.content = /*content*/
134
+ e[5]), s.$set(h);
135
135
  },
136
- i(t) {
137
- p || (d(i.$$.fragment, t), d(e.$$.fragment, t), d(f.$$.fragment, t), p = !0);
136
+ i(e) {
137
+ u || (c(l.$$.fragment, e), c(t.$$.fragment, e), c(s.$$.fragment, e), u = !0);
138
138
  },
139
- o(t) {
140
- u(i.$$.fragment, t), u(e.$$.fragment, t), u(f.$$.fragment, t), p = !1;
139
+ o(e) {
140
+ b(l.$$.fragment, e), b(t.$$.fragment, e), b(s.$$.fragment, e), u = !1;
141
141
  },
142
- d(t) {
143
- t && (v(m), v(n), v(r)), T(i, t), T(e, t), T(f), s = !1, W(c);
142
+ d(e) {
143
+ e && (y(r), y(i), y(n)), $(l, e), $(t, e), $(s), p = !1, W(g);
144
144
  }
145
145
  };
146
146
  }
147
- function H(o) {
148
- let i, m, e = (
147
+ function J(o) {
148
+ let l, r, t = (
149
149
  /*tag*/
150
150
  o[0].state && M(o)
151
151
  );
152
152
  return {
153
153
  c() {
154
- e && e.c(), i = q();
154
+ t && t.c(), l = q();
155
155
  },
156
- m(n, r) {
157
- e && e.m(n, r), w(n, i, r), m = !0;
156
+ m(i, n) {
157
+ t && t.m(i, n), v(i, l, n), r = !0;
158
158
  },
159
- p(n, [r]) {
159
+ p(i, [n]) {
160
160
  /*tag*/
161
- n[0].state ? e ? (e.p(n, r), r & /*tag*/
162
- 1 && d(e, 1)) : (e = M(n), e.c(), d(e, 1), e.m(i.parentNode, i)) : e && (L(), u(e, 1, 1, () => {
163
- e = null;
164
- }), I());
161
+ i[0].state ? t ? (t.p(i, n), n & /*tag*/
162
+ 1 && c(t, 1)) : (t = M(i), t.c(), c(t, 1), t.m(l.parentNode, l)) : t && (N(), b(t, 1, 1, () => {
163
+ t = null;
164
+ }), L());
165
165
  },
166
- i(n) {
167
- m || (d(e), m = !0);
166
+ i(i) {
167
+ r || (c(t), r = !0);
168
168
  },
169
- o(n) {
170
- u(e), m = !1;
169
+ o(i) {
170
+ b(t), r = !1;
171
171
  },
172
- d(n) {
173
- n && v(i), e && e.d(n);
172
+ d(i) {
173
+ i && y(l), t && t.d(i);
174
174
  }
175
175
  };
176
176
  }
177
- function J(o, i, m) {
178
- let e, n, r, { tag: f } = i, p, s = !1, c = [];
179
- function _() {
180
- m(1, s = !s);
177
+ function K(o, l, r) {
178
+ let t, i, n, s, u, { tag: p } = l, g, a = !1, w = [];
179
+ function e() {
180
+ r(1, a = !a);
181
181
  }
182
- const g = (t) => {
183
- m(3, p = t.detail);
182
+ const f = (m) => {
183
+ r(3, g = m.detail);
184
184
  };
185
- return o.$$set = (t) => {
186
- "tag" in t && m(0, f = t.tag);
185
+ return o.$$set = (m) => {
186
+ "tag" in m && r(0, p = m.tag);
187
187
  }, o.$$.update = () => {
188
- var t, l, a;
188
+ var m, d, h, _;
189
189
  o.$$.dirty & /*tag*/
190
- 1 && m(2, e = !!((t = f.state) != null && t.unfolded)), o.$$.dirty & /*tag*/
191
- 1 && m(5, n = (a = (l = f.data.title) != null ? l : f.data.text) != null ? a : ""), o.$$.dirty & /*unfolded*/
192
- 4 && (e || setTimeout(
190
+ 1 && r(2, t = !!((m = p.state) != null && m.unfolded)), o.$$.dirty & /*tag*/
191
+ 1 && r(9, i = (h = (d = p.data.title) != null ? d : p.data.text) != null ? h : ""), o.$$.dirty & /*tag*/
192
+ 1 && r(8, n = (_ = p.data.description) != null ? _ : ""), o.$$.dirty & /*title, description*/
193
+ 768 && r(5, s = (() => {
194
+ if (i && n)
195
+ return i + `
196
+ ` + n;
197
+ if (i)
198
+ return i;
199
+ if (n)
200
+ return n;
201
+ })()), o.$$.dirty & /*unfolded*/
202
+ 4 && (t || setTimeout(
193
203
  () => {
194
- m(1, s = !1);
204
+ r(1, a = !1);
195
205
  },
196
206
  20
197
207
  )), o.$$.dirty & /*textUnfolded*/
198
- 2 && m(4, r = s ? 450 : 0);
208
+ 2 && r(4, u = a ? 450 : 0);
199
209
  }, [
200
- f,
210
+ p,
211
+ a,
212
+ t,
213
+ g,
214
+ u,
201
215
  s,
216
+ w,
202
217
  e,
203
- p,
204
- r,
205
218
  n,
206
- c,
207
- _,
208
- g
219
+ i,
220
+ f
209
221
  ];
210
222
  }
211
- class yt extends N {
212
- constructor(i) {
213
- super(), O(this, i, J, H, R, { tag: 0 }, G);
223
+ class Tt extends O {
224
+ constructor(l) {
225
+ super(), j(this, l, K, J, R, { tag: 0 }, H);
214
226
  }
215
227
  }
216
228
  export {
217
- yt as default
229
+ Tt as default
218
230
  };
@@ -1,15 +1,15 @@
1
- var E = Object.defineProperty, F = Object.defineProperties;
2
- var w = Object.getOwnPropertyDescriptors;
1
+ var F = Object.defineProperty, w = Object.defineProperties;
2
+ var U = Object.getOwnPropertyDescriptors;
3
3
  var A = Object.getOwnPropertySymbols;
4
- var U = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
5
- var b = (d, a, e) => a in d ? E(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, m = (d, a) => {
4
+ var I = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
5
+ var b = (d, a, e) => a in d ? F(d, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[a] = e, m = (d, a) => {
6
6
  for (var e in a || (a = {}))
7
- U.call(a, e) && b(d, e, a[e]);
7
+ I.call(a, e) && b(d, e, a[e]);
8
8
  if (A)
9
9
  for (var e of A(a))
10
- I.call(a, e) && b(d, e, a[e]);
10
+ B.call(a, e) && b(d, e, a[e]);
11
11
  return d;
12
- }, T = (d, a) => F(d, w(a));
12
+ }, T = (d, a) => w(d, U(a));
13
13
  var g = (d, a, e) => (b(d, typeof a != "symbol" ? a + "" : a, e), e);
14
14
  var f = (d, a, e) => new Promise((t, i) => {
15
15
  var o = (r) => {
@@ -28,24 +28,24 @@ var f = (d, a, e) => new Promise((t, i) => {
28
28
  n((e = e.apply(d, a)).next());
29
29
  });
30
30
  import * as C from "three";
31
- import { Subscribe as B } from "@realsee/five";
32
- import { objectAssignDeepExports as p } from "../../vendor/object-assign-deep/objectAssignDeep.js";
31
+ import { Subscribe as R } from "@realsee/five";
32
+ import { objectAssignDeepExports as l } from "../../vendor/object-assign-deep/objectAssignDeep.js";
33
33
  import { arrayPositionToVector3 as y } from "../../shared-utils/positionToVector3.js";
34
- import { addDebugPoints as R } from "../utils/addDebugPoints.js";
35
- import { isMediaModelTag as D, isModelTag as O } from "../utils/tag/tagCheck.js";
36
- import { waitFiveModelLoaded as k } from "../utils/actionAfterFiveModelLoad.js";
34
+ import { addDebugPoints as O } from "../utils/addDebugPoints.js";
35
+ import { isMediaModelTag as D, isModelTag as k } from "../utils/tag/tagCheck.js";
36
+ import { waitFiveModelLoaded as _ } from "../utils/actionAfterFiveModelLoad.js";
37
37
  import { debounce as S } from "../utils/debounce.js";
38
- import { throttle as _ } from "../utils/throttle.js";
38
+ import { throttle as L } from "../utils/throttle.js";
39
39
  import { resizeObserver as P } from "../utils/resizeObserver.js";
40
- import L from "../utils/tag/format.js";
41
- import { generateBlankAudio as V, AudioNamespace as G } from "../../shared-utils/audio.js";
42
- import { TagRender as N } from "./TagRender.js";
43
- import { uuid as z } from "../../shared-utils/uuid.js";
40
+ import V from "../utils/tag/format.js";
41
+ import { generateBlankAudio as G, AudioNamespace as N } from "../../shared-utils/audio.js";
42
+ import { TagRender as z } from "./TagRender.js";
43
+ import { uuid as x } from "../../shared-utils/uuid.js";
44
44
  import "hammerjs";
45
45
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
46
46
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
47
47
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
48
- import { tweenProgress as x } from "../../shared-utils/animationFrame/BetterTween.js";
48
+ import { tweenProgress as W } from "../../shared-utils/animationFrame/BetterTween.js";
49
49
  import "./TagComputer.js";
50
50
  import "../utils/tagPosition.js";
51
51
  import "../../shared-utils/three/centerPoint.js";
@@ -174,8 +174,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
174
174
  import "../../shared-utils/three/GLTFLoader.js";
175
175
  import "@realsee/five/gltf-loader";
176
176
  import "../../shared-utils/animationFrame/index.js";
177
- const M = "Dnalogel-PanoTagPlugin", Fi = (d) => `${M}--${d}`;
178
- class wi extends N {
177
+ const M = "Dnalogel-PanoTagPlugin", wi = (d) => `${M}--${d}`;
178
+ class Ui extends z {
179
179
  constructor(e, t) {
180
180
  super(e);
181
181
  /** state */
@@ -186,7 +186,7 @@ class wi extends N {
186
186
  g(this, "debug");
187
187
  /** 更改 tag 模型 */
188
188
  g(this, "changeTagModel", (e, t) => f(this, null, function* () {
189
- e.data = p({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
189
+ e.data = l({}, e.data, t), yield this.loadModel(e), this.updateRenderAllTags();
190
190
  }));
191
191
  g(this, "handleFiveInitAnimationEnded", () => {
192
192
  const e = this.five.getCurrentState().mode;
@@ -202,7 +202,7 @@ class wi extends N {
202
202
  typeof t == "object" && ((i = t.visibleFiveMode) != null && i.includes("Floorplan") || (o = t.visibleFiveMode) != null && o.includes("Mapview")) && (e.state.visible = this.getVisibleByFiveMode(e));
203
203
  }), this.updateRenderAllTags();
204
204
  });
205
- this.params = p({}, { debug: !1, config: this.config }, m({}, t)), this.debug = this.params.debug, this.config = this.params.config, V(1, { namespace: G.PlayAudio });
205
+ this.params = l({}, { debug: !1, config: this.config }, m({}, t)), this.debug = this.params.debug, this.config = this.params.config, G(1, { namespace: N.PlayAudio });
206
206
  try {
207
207
  const i = window;
208
208
  Array.isArray(i.__PANOTAGPLUGIN_DEBUG_LIST__) || (i.__PANOTAGPLUGIN_DEBUG_LIST__ = []), i.__PANOTAGPLUGIN_DEBUG_LIST__.push(this), i.__PANOTAGPLUGIN_DEBUG__ = this;
@@ -215,14 +215,14 @@ class wi extends N {
215
215
  load(e, t) {
216
216
  return f(this, null, function* () {
217
217
  var o, s;
218
- this.clearTags(), console.debug(M, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = p({}, this.config, {
218
+ this.clearTags(), console.debug(M, " load:", { data: JSON.parse(JSON.stringify(e)) }), this.config = l({}, this.config, {
219
219
  globalConfig: (o = e.globalConfig) != null ? o : {},
220
220
  contentTypeConfig: (s = e.contentTypeConfig) != null ? s : {}
221
221
  });
222
222
  const i = yield this.addTag(e.tagList, t);
223
223
  if (this.debug)
224
224
  try {
225
- R(this.five, this.tags);
225
+ O(this.five, this.tags);
226
226
  } catch (n) {
227
227
  console.error(n);
228
228
  }
@@ -235,28 +235,28 @@ class wi extends N {
235
235
  addTag(e, t) {
236
236
  return f(this, null, function* () {
237
237
  const o = (Array.isArray(e) ? e : [e]).map((s) => {
238
- var l, c, u;
239
- const n = this.getTagConfig(s), r = JSON.parse(JSON.stringify(s.data));
238
+ var c, u, v;
239
+ const n = this.getTagConfig(s), r = JSON.parse(JSON.stringify(s.data)), h = s.config;
240
240
  return s.config = n, T(m({}, s), {
241
- enabled: (l = s.enabled) != null ? l : !0,
242
- id: (c = s.id) != null ? c : z(),
243
- data: (u = n.initialData) != null && u.important ? p(s.data, r, n.initialData) : p(s.data, n.initialData, r),
241
+ enabled: (c = s.enabled) != null ? c : !0,
242
+ id: (u = s.id) != null ? u : x(),
243
+ data: (v = n.initialData) != null && v.important ? l(s.data, r, n.initialData) : l(s.data, n.initialData, r),
244
244
  state: m({
245
245
  visible: void 0,
246
246
  unfolded: !this.can("fold", s)
247
247
  }, n.initialState),
248
- hooks: new B(),
249
- initialConfig: s.config,
248
+ hooks: new R(),
249
+ initialConfig: h,
250
250
  config: n,
251
251
  unfold: () => this.changeUnfoldedById(s.id, !0),
252
252
  fold: () => this.changeUnfoldedById(s.id, !1),
253
253
  enable: () => this.changeEnabledById(s.id, !0),
254
254
  disable: () => this.changeEnabledById(s.id, !1),
255
255
  destroy: () => this.destroyTagById(s.id),
256
- changeData: (v) => this.changeDataById(s.id, v)
256
+ changeData: (E) => this.changeDataById(s.id, E)
257
257
  });
258
258
  }).filter((s) => s.position);
259
- return o.forEach(L), this.tags.push(...o), k(this.five).then(() => f(this, null, function* () {
259
+ return o.forEach(V), this.tags.push(...o), _(this.five).then(() => f(this, null, function* () {
260
260
  var s, n, r;
261
261
  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);
262
262
  }));
@@ -266,19 +266,19 @@ class wi extends N {
266
266
  * @description: 改变配置
267
267
  */
268
268
  changeConfig(e, t = !0) {
269
- t ? this.config = p({}, this.config, e) : this.config = e, this.updateTagConfig(), this.updateRenderAllTags();
269
+ t ? this.config = l({}, this.config, e) : this.config = e, this.updateTagConfig(), this.updateRenderAllTags();
270
270
  }
271
271
  /**
272
272
  * @description: 改变全局配置
273
273
  */
274
274
  changeGlobalConfig(e, t = !0) {
275
- t ? this.config.globalConfig = p({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.updateRenderAllTags();
275
+ t ? this.config.globalConfig = l({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.updateTagConfig(), this.updateRenderAllTags();
276
276
  }
277
277
  /**
278
278
  * @description: 改变类型配置
279
279
  */
280
280
  changeContentTypeConfig(e, t, i = !0) {
281
- this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = p({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.updateRenderAllTags();
281
+ this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = l({}, this.config.contentTypeConfig[e], t) : this.config.contentTypeConfig[e] = t, this.updateTagConfig(), this.updateRenderAllTags();
282
282
  }
283
283
  show(e) {
284
284
  return f(this, null, function* () {
@@ -354,7 +354,7 @@ class wi extends N {
354
354
  changeDataById(e, t, i = !0) {
355
355
  const o = this.getTagById(e);
356
356
  let s = !1;
357
- o && (o.data && (s = !0), i ? o.data = p(o.data, t) : o.data = m(m({}, o.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), s && o.hooks.emit("dataChanged", o.data));
357
+ o && (o.data && (s = !0), i ? o.data = l(o.data, t) : o.data = m(m({}, o.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags(), s && o.hooks.emit("dataChanged", o.data));
358
358
  }
359
359
  /**
360
360
  * @description: 改变tag的stickType
@@ -368,7 +368,7 @@ class wi extends N {
368
368
  changeTagById(e, t, i = !0) {
369
369
  const o = this.getTagById(e);
370
370
  let s = !1;
371
- t && (t.data && (s = !0), i ? p(o, t) : Object.assign(o, t), o != null && o.tag3DContentSvelte && (t != null && t.normal) && (o.tag3DContentSvelte.currentNormal = y(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), s && o.hooks.emit("dataChanged", o.data));
371
+ t && (t.data && (s = !0), i ? l(o, t) : Object.assign(o, t), o != null && o.tag3DContentSvelte && (t != null && t.normal) && (o.tag3DContentSvelte.currentNormal = y(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), s && o.hooks.emit("dataChanged", o.data));
372
372
  }
373
373
  /**
374
374
  * @description: 销毁tag
@@ -415,9 +415,9 @@ class wi extends N {
415
415
  * @description: 添加 cameraUpdate, panoArrived 等事件监听
416
416
  */
417
417
  addEventListener() {
418
- 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), c = this.five.currentMode;
419
- return c && this.handleFiveModeChange(c), 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), () => {
420
- 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;
418
+ 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), p = this.clickhandler.bind(this), c = this.five.currentMode;
419
+ return c && this.handleFiveModeChange(c), 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", p), () => {
420
+ 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", p), this.store.eventListenerDisposer = void 0;
421
421
  };
422
422
  }
423
423
  addResizeListener() {
@@ -436,7 +436,7 @@ class wi extends N {
436
436
  }, i = () => {
437
437
  this.state.enabled && this.hide();
438
438
  }, { observe: o, unobserve: s } = P(
439
- _(() => {
439
+ L(() => {
440
440
  this.store.resizeObserverDisposer && i();
441
441
  }, 500),
442
442
  e
@@ -502,7 +502,7 @@ class wi extends N {
502
502
  var e, t, i;
503
503
  this.setModelMedialVisible(), yield this.setVisibleAndUnfolded(), this.tags.forEach((o) => {
504
504
  o.temporaryState = T(m({}, o.temporaryState), { visible: !0 });
505
- }), (i = (t = (e = this.config) == null ? void 0 : e.globalConfig) == null ? void 0 : t.modelConfig) != null && i.autoLookAtEnabled && this.tags.filter(O).filter((o) => {
505
+ }), (i = (t = (e = this.config) == null ? void 0 : e.globalConfig) == null ? void 0 : t.modelConfig) != null && i.autoLookAtEnabled && this.tags.filter(k).filter((o) => {
506
506
  var s, n;
507
507
  return (n = (s = o.config) == null ? void 0 : s.modelConfig) == null ? void 0 : n.autoLookAtEnabled;
508
508
  }).forEach((o) => {
@@ -513,9 +513,9 @@ class wi extends N {
513
513
  s.position.copy(n.position), s.quaternion.copy(n.quaternion);
514
514
  const r = this.five.camera.position;
515
515
  s.lookAt(r.clone().setY(s.position.y));
516
- const h = n.quaternion.clone(), l = s.quaternion.clone(), c = x();
516
+ const h = n.quaternion.clone(), p = s.quaternion.clone(), c = W();
517
517
  c.onUpdate(({ progress: v }) => {
518
- n.quaternion.copy(h.clone().slerp(l, v));
518
+ n.quaternion.copy(h.clone().slerp(p, v));
519
519
  }), c.play();
520
520
  }), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible(), this.updateRenderAllTags();
521
521
  });
@@ -532,11 +532,11 @@ class wi extends N {
532
532
  }
533
533
  changeTagMode(e, t) {
534
534
  var i, o, s, n, r, h;
535
- ((i = e.config) == 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);
535
+ ((i = e.config) == 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((p) => p == null ? void 0 : p()), e.tag3DContentSvelte = void 0);
536
536
  }
537
537
  }
538
538
  export {
539
- wi as PanoTagPluginController,
540
- wi as default,
541
- Fi as pluginFlag
539
+ Ui as PanoTagPluginController,
540
+ Ui as default,
541
+ wi as pluginFlag
542
542
  };
@@ -137,12 +137,26 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
137
137
  /** 展开/收起 */
138
138
  unfolded?: boolean;
139
139
  };
140
- initialData?: C extends TagContentType ? PartialObjectDeep<ContentTypeMap[C]> & {
141
- important?: boolean;
142
- } : {
140
+ /**
141
+ * @description: 标签的默认数据,会将 tag.data 深度合并进来
142
+ * @code `tag.data = ObjectAssignDeep(initialData, tag.data)`
143
+ */
144
+ initialData?: (C extends TagContentType ? PartialObjectDeep<ContentTypeMap[C]> : {
143
145
  [key: string]: any;
146
+ }) & {
147
+ /**
148
+ * @description: 类似 css 的 !important,会覆盖掉 tag.data 中对应的数据
149
+ * @code
150
+ * ```
151
+ * if (initialData.important) tag.data = ObjectAssignDeep(tag.data, initialData)
152
+ * else tag.data = ObjectAssignDeep(initialData, tag.data)
153
+ * ```
154
+ */
144
155
  important?: boolean;
145
156
  };
157
+ /**
158
+ * @description: 内部使用 css3DRenderer 渲染的标签可以使用此配置来设置 css3DRenderer 相关参数
159
+ */
146
160
  tag3DConfig?: Create3DDomContainerParamsType['config'];
147
161
  modelConfig?: {
148
162
  autoLookAtEnabled?: boolean;
@@ -18,7 +18,7 @@ interface ContentTypeMapInterface {
18
18
  /** 文字标签 */
19
19
  Text: {
20
20
  appearance?: 'line' | 'plane';
21
- /** @deprecated: 'text' replace by 'title' */
21
+ /** @deprecated: please use 'title' */
22
22
  text?: string;
23
23
  title?: string;
24
24
  description?: string;
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "2.27.0-dev.2");
17
+ i(this, "VERSION", "2.27.0");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv2.27.0-dev.2",
3
+ "%c %c@realsee/dnalogel %cv2.27.0",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
8
8
  "description": "如视 VR 看房插件合集",
9
9
  "private": false,
10
- "version": "2.27.0-dev.2",
10
+ "version": "2.27.0",
11
11
  "license": "SEE LICENSE IN TERMS.txt",
12
12
  "scripts": {
13
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",