@realsee/dnalogel 2.20.0-dev.4 → 2.20.0-dev.6

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 (320) hide show
  1. package/dist/PanoTagPlugin/typings/controller.d.ts +2 -1
  2. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
  3. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -4
  4. package/dist/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -1
  5. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
  6. package/dist/index.cjs.js +24 -24
  7. package/dist/index.js +1970 -1968
  8. package/dist/index.umd.js +24 -24
  9. package/docs/assets/search.js +1 -1
  10. package/docs/classes/CSS3DRender.html +30 -30
  11. package/docs/classes/CruisePluginController.html +25 -25
  12. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  13. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +30 -30
  14. package/docs/classes/Magnifier.html +19 -19
  15. package/docs/classes/ModelRoomLabelController.html +10 -10
  16. package/docs/classes/Object3DHelperController.html +24 -24
  17. package/docs/classes/PaintBrush.html +14 -14
  18. package/docs/classes/PanoMeasurePluginLine.html +22 -22
  19. package/docs/classes/PanoMeasurePluginModel.html +21 -21
  20. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  21. package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
  22. package/docs/classes/PanoTagPluginController.html +48 -48
  23. package/docs/classes/Util.BetterTween.html +8 -8
  24. package/docs/classes/Util.FivePointSelector.html +11 -11
  25. package/docs/classes/Util.Interval.html +11 -11
  26. package/docs/classes/Util.Magnifier.html +16 -16
  27. package/docs/classes/Util.PointDomHelper.html +10 -10
  28. package/docs/classes/Util.PointHelper.html +10 -10
  29. package/docs/classes/Util.Rectangle.html +12 -12
  30. package/docs/enums/CameraMovementEffect.html +6 -6
  31. package/docs/enums/ContentType.html +19 -19
  32. package/docs/enums/DIRECTION.html +8 -8
  33. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  34. package/docs/enums/DimensionType.html +6 -6
  35. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  36. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  37. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  38. package/docs/enums/PointType.html +6 -6
  39. package/docs/enums/Rotation.html +7 -7
  40. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  41. package/docs/functions/CameraMovementPlugin.html +3 -3
  42. package/docs/functions/CruisePlugin.html +3 -3
  43. package/docs/functions/GuideLinePlugin.html +4 -4
  44. package/docs/functions/ItemLabelPlugin.html +3 -3
  45. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  46. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  47. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  48. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  49. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  50. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  51. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  52. package/docs/functions/ModelViewPlugin.html +3 -3
  53. package/docs/functions/Object3DHelperPlugin.html +3 -3
  54. package/docs/functions/PanoCompassPlugin.html +3 -3
  55. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  56. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  57. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  58. package/docs/functions/PanoMeasurePlugin.html +3 -3
  59. package/docs/functions/PanoRulerPlugin.html +3 -3
  60. package/docs/functions/PanoRulerProPlugin.html +3 -3
  61. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  62. package/docs/functions/PanoTagPlugin.html +3 -3
  63. package/docs/functions/PanoVideoPlugin.html +3 -3
  64. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  65. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  66. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  67. package/docs/functions/Util.getFrameTime.html +4 -4
  68. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  69. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  70. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  71. package/docs/functions/Util.isModelLike.html +4 -4
  72. package/docs/functions/Util.isNil.html +4 -4
  73. package/docs/functions/Util.isPanoramaLike.html +4 -4
  74. package/docs/functions/Util.nextFrame.html +4 -4
  75. package/docs/functions/Util.notNil.html +4 -4
  76. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  77. package/docs/functions/Util.tweenProgress.html +4 -4
  78. package/docs/functions/Util.uuid.html +4 -4
  79. package/docs/functions/pluginFlag.html +4 -4
  80. package/docs/index.html +4 -4
  81. package/docs/interfaces/AddTagConfig.html +5 -5
  82. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  83. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  84. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  85. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  86. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  87. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  88. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  89. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  90. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  91. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  92. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  93. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  94. package/docs/interfaces/EventMap.html +14 -14
  95. package/docs/interfaces/FloorplanBounding.html +7 -7
  96. package/docs/interfaces/FloorplanData.html +9 -9
  97. package/docs/interfaces/FloorplanEntrance.html +10 -10
  98. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  99. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  100. package/docs/interfaces/FloorplanFloorData.html +8 -8
  101. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  102. package/docs/interfaces/FloorplanObserver.html +8 -8
  103. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  104. package/docs/interfaces/FloorplanPosition.html +6 -6
  105. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  106. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  107. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  108. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  109. package/docs/interfaces/FloorplanServerData.html +6 -6
  110. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  111. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  112. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  113. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  114. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  115. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  116. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  117. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  118. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  119. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  120. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  121. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  122. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  123. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  124. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  125. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  126. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  127. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  128. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  129. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  130. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  131. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  132. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  133. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  134. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  135. package/docs/interfaces/HelperOffset.html +7 -7
  136. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  137. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  138. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  139. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  140. package/docs/interfaces/MinMax.html +6 -6
  141. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  142. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  143. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  144. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  145. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  146. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  147. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  148. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  149. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  150. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  151. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  152. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  153. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  154. package/docs/interfaces/Object3DHelperState.html +7 -7
  155. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  156. package/docs/interfaces/PaintBrushAction.html +11 -11
  157. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  158. package/docs/interfaces/PaintBrushState.html +9 -9
  159. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  160. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  161. package/docs/interfaces/PanoMeasureParameterType.html +13 -13
  162. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  163. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  164. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  165. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  166. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  167. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  168. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  169. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  170. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  171. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  172. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  173. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  174. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  175. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  176. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  177. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  178. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  179. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  180. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  181. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  182. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  184. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  185. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  186. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  187. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  188. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  189. package/docs/interfaces/Point.html +7 -7
  190. package/docs/interfaces/Room.html +8 -8
  191. package/docs/interfaces/RoomInfo.html +6 -6
  192. package/docs/interfaces/RoomLabel.html +13 -13
  193. package/docs/interfaces/RoomRules.html +4 -4
  194. package/docs/interfaces/Rooms.html +4 -4
  195. package/docs/interfaces/Scissor.html +8 -8
  196. package/docs/interfaces/State.html +7 -7
  197. package/docs/interfaces/TagCacheInterface.html +11 -11
  198. package/docs/interfaces/TagConfig.html +14 -14
  199. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  200. package/docs/interfaces/TagIconUrl.html +11 -11
  201. package/docs/interfaces/TagObjectGroup.html +5 -5
  202. package/docs/interfaces/TagStyle.html +5 -5
  203. package/docs/interfaces/Tags.html +8 -8
  204. package/docs/interfaces/TemporaryState.html +5 -5
  205. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  206. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  207. package/docs/modules/CruisePluginTypes.html +4 -4
  208. package/docs/modules/GuideLineItem.html +4 -4
  209. package/docs/modules/GuideLineModeItem.html +4 -4
  210. package/docs/modules/GuideLinePluginType.html +4 -4
  211. package/docs/modules/PanoVideoPluginType.html +4 -4
  212. package/docs/modules/Util.html +4 -4
  213. package/docs/modules.html +4 -4
  214. package/docs/types/ArrayPosition.html +4 -4
  215. package/docs/types/AudioAppearance.html +4 -4
  216. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  217. package/docs/types/CSS3DRenderExportType.html +4 -4
  218. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  219. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  220. package/docs/types/ClassFunctionParameters.html +4 -4
  221. package/docs/types/Color.html +4 -4
  222. package/docs/types/ContentTypeConfigKey.html +4 -4
  223. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  224. package/docs/types/ContentTypeMap.html +4 -4
  225. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  226. package/docs/types/Create3DElementReturnType.html +4 -4
  227. package/docs/types/CruisePluginExportType.html +4 -4
  228. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  229. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  230. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  231. package/docs/types/DeprecatedTagProperty.html +4 -4
  232. package/docs/types/Direction-1.html +4 -4
  233. package/docs/types/Direction4.html +4 -4
  234. package/docs/types/ElementRenderer.html +5 -5
  235. package/docs/types/FloorplanRuleLabels.html +4 -4
  236. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  237. package/docs/types/GuideLinePluginExportType.html +4 -4
  238. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  239. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  241. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  242. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  243. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  244. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  245. package/docs/types/HelperEventMap.html +4 -4
  246. package/docs/types/LoadTagConfig.html +4 -4
  247. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  248. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  249. package/docs/types/MediaData.html +4 -4
  250. package/docs/types/MediaStore.html +4 -4
  251. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  252. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  253. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  254. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  255. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  256. package/docs/types/MoveArgs.html +4 -4
  257. package/docs/types/MoveOpts.html +4 -4
  258. package/docs/types/Object3DHelperEventMap.html +4 -4
  259. package/docs/types/ObjectFit.html +4 -4
  260. package/docs/types/PaintBrushEventMap.html +4 -4
  261. package/docs/types/PanoCompassPluginData.html +4 -4
  262. package/docs/types/PanoCompassPluginExportType.html +4 -4
  263. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  264. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  265. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  266. package/docs/types/PanoIndex.html +4 -4
  267. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  268. package/docs/types/PanoMeasureReturnType.html +4 -4
  269. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  270. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  271. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  272. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  273. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  274. package/docs/types/PartialObjectDeep.html +4 -4
  275. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  276. package/docs/types/PlaneTag.html +4 -4
  277. package/docs/types/Point2DTag.html +4 -4
  278. package/docs/types/Point3DTag.html +4 -4
  279. package/docs/types/PointTag.html +4 -4
  280. package/docs/types/PointTagInstance.html +4 -4
  281. package/docs/types/Position.html +4 -4
  282. package/docs/types/RotateArgs.html +4 -4
  283. package/docs/types/RotateOpts.html +4 -4
  284. package/docs/types/RuleLabelsKey.html +4 -4
  285. package/docs/types/RuleLabelsValue.html +4 -4
  286. package/docs/types/StickType.html +4 -4
  287. package/docs/types/Tag.html +5 -5
  288. package/docs/types/Tag2D.html +4 -4
  289. package/docs/types/Tag3D.html +4 -4
  290. package/docs/types/TagContentType.html +4 -4
  291. package/docs/types/TagDimensionType.html +4 -4
  292. package/docs/types/TagElement.html +4 -4
  293. package/docs/types/TagEvents.html +28 -10
  294. package/docs/types/TagGLTFObject.html +4 -4
  295. package/docs/types/TagHooks.html +4 -4
  296. package/docs/types/TagIconSize.html +4 -4
  297. package/docs/types/TagId.html +4 -4
  298. package/docs/types/TagInstance.html +5 -5
  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/itemLabelPluginServerParams.html +4 -4
  309. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  310. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  311. package/libs/PanoTagPlugin/Components/Common/Media.js +94 -94
  312. package/libs/PanoTagPlugin/controller/index.js +8 -6
  313. package/libs/PanoTagPlugin/typings/controller.d.ts +2 -1
  314. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +1 -1
  315. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -4
  316. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.ts +1 -1
  317. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +1 -1
  318. package/libs/base/BasePlugin.js +1 -1
  319. package/libs/shared-utils/logger.js +1 -1
  320. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { SvelteComponent as ae, init as le, safe_not_equal as oe, append_styles as re, empty as U, insert as D, transition_in as c, transition_out as p, check_outros as q, detach as w, getContext as F, onMount as me, onDestroy as ue, element as G, attr as H, toggle_class as y, append as se, group_outros as M, add_render_callback as fe, create_in_transition as de, identity as J, create_out_transition as ce, binding_callbacks as E, assign as W, bind as X, create_component as S, mount_component as N, get_spread_update as Y, get_spread_object as Z, add_flush_callback as x, destroy_component as j, destroy_each as _e } from "../../../vendor/svelte/internal/index.js";
2
- import { Carousel as ge } from "../../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
1
+ import { SvelteComponent as le, init as oe, safe_not_equal as re, append_styles as me, empty as U, insert as D, transition_in as c, transition_out as p, check_outros as q, detach as w, getContext as F, onMount as se, onDestroy as ue, element as G, attr as H, toggle_class as k, append as fe, group_outros as M, add_render_callback as de, create_in_transition as ce, identity as J, create_out_transition as _e, binding_callbacks as E, assign as W, bind as X, create_component as S, mount_component as N, get_spread_update as Y, get_spread_object as Z, add_flush_callback as x, destroy_component as j, destroy_each as ge } from "../../../vendor/svelte/internal/index.js";
2
+ import { Carousel as pe } from "../../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
3
3
  import { fly as K } from "../../../vendor/svelte/transition/index.js";
4
4
  import $ from "./MediaItem.js";
5
5
  import "../../../vendor/svelte-carousel/src/components/Dots/Dots.js";
@@ -33,16 +33,16 @@ import "../../../vendor/svelte-carousel/src/utils/ProgressManager.js";
33
33
  import "../../../vendor/svelte-carousel/src/utils/interval.js";
34
34
  import "../../../vendor/svelte/easing/index.js";
35
35
  import "../../Assets/Icon.js";
36
- function pe(t) {
37
- re(t, "svelte-1mrbqlg", ".media-list-wrapper.svelte-1mrbqlg.svelte-1mrbqlg{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}.media-list-wrapper.svelte-1mrbqlg .media-list.svelte-1mrbqlg{position:relative;pointer-events:auto;height:100%;left:50%;top:50%;transform:translate(-50%, -50%)}.media-list-wrapper.svelte-1mrbqlg .media-list.svelte-1mrbqlg .sc-carousel__carousel-container,.media-list-wrapper.svelte-1mrbqlg .media-list.svelte-1mrbqlg .sc-carousel__content-container{height:100%}");
36
+ function be(t) {
37
+ me(t, "svelte-1mrbqlg", ".media-list-wrapper.svelte-1mrbqlg.svelte-1mrbqlg{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}.media-list-wrapper.svelte-1mrbqlg .media-list.svelte-1mrbqlg{position:relative;pointer-events:auto;height:100%;left:50%;top:50%;transform:translate(-50%, -50%)}.media-list-wrapper.svelte-1mrbqlg .media-list.svelte-1mrbqlg .sc-carousel__carousel-container,.media-list-wrapper.svelte-1mrbqlg .media-list.svelte-1mrbqlg .sc-carousel__content-container{height:100%}");
38
38
  }
39
39
  function P(t, i, l) {
40
40
  const n = t.slice();
41
- return n[25] = i[l], n[26] = i, n[27] = l, n;
41
+ return n[28] = i[l], n[29] = i, n[30] = l, n;
42
42
  }
43
43
  function Q(t) {
44
- let i, l, n, e, u, r, a;
45
- const o = [he, be], s = [];
44
+ let i, l, n, e, s, r, a;
45
+ const o = [Ie, he], u = [];
46
46
  function I(f, _) {
47
47
  return (
48
48
  /*carouselEnabled*/
@@ -50,14 +50,14 @@ function Q(t) {
50
50
  f[10].length > 1 ? 0 : 1
51
51
  );
52
52
  }
53
- return n = I(t), e = s[n] = o[n](t), {
53
+ return n = I(t), e = u[n] = o[n](t), {
54
54
  c() {
55
- i = G("div"), l = G("div"), e.c(), H(l, "class", "media-list svelte-1mrbqlg"), y(
55
+ i = G("div"), l = G("div"), e.c(), H(l, "class", "media-list svelte-1mrbqlg"), k(
56
56
  l,
57
57
  "carouselEnabled",
58
58
  /*carouselEnabled*/
59
59
  t[13]
60
- ), H(i, "class", "media-list-wrapper svelte-1mrbqlg"), y(
60
+ ), H(i, "class", "media-list-wrapper svelte-1mrbqlg"), k(
61
61
  i,
62
62
  "unfolded",
63
63
  /*unfolded*/
@@ -65,21 +65,21 @@ function Q(t) {
65
65
  );
66
66
  },
67
67
  m(f, _) {
68
- D(f, i, _), se(i, l), s[n].m(l, null), a = !0;
68
+ D(f, i, _), fe(i, l), u[n].m(l, null), a = !0;
69
69
  },
70
70
  p(f, _) {
71
71
  t = f;
72
72
  let b = n;
73
- n = I(t), n === b ? s[n].p(t, _) : (M(), p(s[b], 1, 1, () => {
74
- s[b] = null;
75
- }), q(), e = s[n], e ? e.p(t, _) : (e = s[n] = o[n](t), e.c()), c(e, 1), e.m(l, null)), (!a || _ & /*carouselEnabled*/
76
- 8192) && y(
73
+ n = I(t), n === b ? u[n].p(t, _) : (M(), p(u[b], 1, 1, () => {
74
+ u[b] = null;
75
+ }), q(), e = u[n], e ? e.p(t, _) : (e = u[n] = o[n](t), e.c()), c(e, 1), e.m(l, null)), (!a || _[0] & /*carouselEnabled*/
76
+ 8192) && k(
77
77
  l,
78
78
  "carouselEnabled",
79
79
  /*carouselEnabled*/
80
80
  t[13]
81
- ), (!a || _ & /*unfolded*/
82
- 32) && y(
81
+ ), (!a || _[0] & /*unfolded*/
82
+ 32) && k(
83
83
  i,
84
84
  "unfolded",
85
85
  /*unfolded*/
@@ -87,8 +87,8 @@ function Q(t) {
87
87
  );
88
88
  },
89
89
  i(f) {
90
- a || (c(e), f && fe(() => {
91
- a && (r && r.end(1), u = de(
90
+ a || (c(e), f && de(() => {
91
+ a && (r && r.end(1), s = ce(
92
92
  i,
93
93
  K,
94
94
  /*animation*/
@@ -104,11 +104,11 @@ function Q(t) {
104
104
  ),
105
105
  easing: J
106
106
  } : void 0
107
- ), u.start());
107
+ ), s.start());
108
108
  }), a = !0);
109
109
  },
110
110
  o(f) {
111
- p(e), u && u.invalidate(), f && (r = ce(
111
+ p(e), s && s.invalidate(), f && (r = _e(
112
112
  i,
113
113
  K,
114
114
  /*animation*/
@@ -127,11 +127,11 @@ function Q(t) {
127
127
  )), a = !1;
128
128
  },
129
129
  d(f) {
130
- f && w(i), s[n].d(), f && r && r.end();
130
+ f && w(i), u[n].d(), f && r && r.end();
131
131
  }
132
132
  };
133
133
  }
134
- function be(t) {
134
+ function he(t) {
135
135
  let i, l, n;
136
136
  const e = [
137
137
  { media: (
@@ -145,7 +145,7 @@ function be(t) {
145
145
  t[0]
146
146
  ) }
147
147
  ];
148
- function u(a) {
148
+ function s(a) {
149
149
  t[20](a);
150
150
  }
151
151
  let r = {};
@@ -154,7 +154,7 @@ function be(t) {
154
154
  return (
155
155
  /*mediaInstanceList*/
156
156
  t[8][0] !== void 0 && (r.mediaInstance = /*mediaInstanceList*/
157
- t[8][0]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", u)), {
157
+ t[8][0]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", s)), {
158
158
  c() {
159
159
  S(i.$$.fragment);
160
160
  },
@@ -162,27 +162,27 @@ function be(t) {
162
162
  N(i, a, o), n = !0;
163
163
  },
164
164
  p(a, o) {
165
- const s = o & /*mediaData, mediaItemConfig, tag*/
165
+ const u = o[0] & /*mediaData, mediaItemConfig, tag*/
166
166
  131 ? Y(e, [
167
- o & /*mediaData*/
167
+ o[0] & /*mediaData*/
168
168
  2 && { media: (
169
169
  /*mediaData*/
170
170
  a[1][0]
171
171
  ) },
172
- o & /*mediaItemConfig*/
172
+ o[0] & /*mediaItemConfig*/
173
173
  128 && Z(
174
174
  /*mediaItemConfig*/
175
175
  a[7]
176
176
  ),
177
- o & /*tag*/
177
+ o[0] & /*tag*/
178
178
  1 && { tag: (
179
179
  /*tag*/
180
180
  a[0]
181
181
  ) }
182
182
  ]) : {};
183
- !l && o & /*mediaInstanceList*/
184
- 256 && (l = !0, s.mediaInstance = /*mediaInstanceList*/
185
- a[8][0], x(() => l = !1)), i.$set(s);
183
+ !l && o[0] & /*mediaInstanceList*/
184
+ 256 && (l = !0, u.mediaInstance = /*mediaInstanceList*/
185
+ a[8][0], x(() => l = !1)), i.$set(u);
186
186
  },
187
187
  i(a) {
188
188
  n || (c(i.$$.fragment, a), n = !0);
@@ -196,14 +196,14 @@ function be(t) {
196
196
  }
197
197
  );
198
198
  }
199
- function he(t) {
199
+ function Ie(t) {
200
200
  let i, l, n = {
201
201
  dots: !1,
202
202
  arrows: !1,
203
- $$slots: { default: [Ie] },
203
+ $$slots: { default: [ke] },
204
204
  $$scope: { ctx: t }
205
205
  };
206
- return i = new ge({ props: n }), t[18](i), i.$on(
206
+ return i = new pe({ props: n }), t[18](i), i.$on(
207
207
  "pageChange",
208
208
  /*pageChange_handler*/
209
209
  t[19]
@@ -211,13 +211,14 @@ function he(t) {
211
211
  c() {
212
212
  S(i.$$.fragment);
213
213
  },
214
- m(e, u) {
215
- N(i, e, u), l = !0;
214
+ m(e, s) {
215
+ N(i, e, s), l = !0;
216
216
  },
217
- p(e, u) {
217
+ p(e, s) {
218
218
  const r = {};
219
- u & /*$$scope, mediaDataList, mediaItemConfig, tag, mediaInstanceList*/
220
- 268436865 && (r.$$scope = { dirty: u, ctx: e }), i.$set(r);
219
+ s[0] & /*mediaDataList, mediaItemConfig, tag, mediaInstanceList*/
220
+ 1409 | s[1] & /*$$scope*/
221
+ 1 && (r.$$scope = { dirty: s, ctx: e }), i.$set(r);
221
222
  },
222
223
  i(e) {
223
224
  l || (c(i.$$.fragment, e), l = !0);
@@ -237,18 +238,18 @@ function R(t) {
237
238
  t[7],
238
239
  { media: (
239
240
  /*media*/
240
- t[25]
241
+ t[28]
241
242
  ) },
242
243
  { tag: (
243
244
  /*tag*/
244
245
  t[0]
245
246
  ) }
246
247
  ];
247
- function u(a) {
248
+ function s(a) {
248
249
  t[17](
249
250
  a,
250
251
  /*index*/
251
- t[27]
252
+ t[30]
252
253
  );
253
254
  }
254
255
  let r = {};
@@ -258,12 +259,12 @@ function R(t) {
258
259
  /*mediaInstanceList*/
259
260
  t[8][
260
261
  /*index*/
261
- t[27]
262
+ t[30]
262
263
  ] !== void 0 && (r.mediaInstance = /*mediaInstanceList*/
263
264
  t[8][
264
265
  /*index*/
265
- t[27]
266
- ]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", u)), {
266
+ t[30]
267
+ ]), i = new $({ props: r }), E.push(() => X(i, "mediaInstance", s)), {
267
268
  c() {
268
269
  S(i.$$.fragment);
269
270
  },
@@ -272,30 +273,30 @@ function R(t) {
272
273
  },
273
274
  p(a, o) {
274
275
  t = a;
275
- const s = o & /*mediaItemConfig, mediaDataList, tag*/
276
+ const u = o[0] & /*mediaItemConfig, mediaDataList, tag*/
276
277
  1153 ? Y(e, [
277
- o & /*mediaItemConfig*/
278
+ o[0] & /*mediaItemConfig*/
278
279
  128 && Z(
279
280
  /*mediaItemConfig*/
280
281
  t[7]
281
282
  ),
282
- o & /*mediaDataList*/
283
+ o[0] & /*mediaDataList*/
283
284
  1024 && { media: (
284
285
  /*media*/
285
- t[25]
286
+ t[28]
286
287
  ) },
287
- o & /*tag*/
288
+ o[0] & /*tag*/
288
289
  1 && { tag: (
289
290
  /*tag*/
290
291
  t[0]
291
292
  ) }
292
293
  ]) : {};
293
- !l && o & /*mediaInstanceList*/
294
- 256 && (l = !0, s.mediaInstance = /*mediaInstanceList*/
294
+ !l && o[0] & /*mediaInstanceList*/
295
+ 256 && (l = !0, u.mediaInstance = /*mediaInstanceList*/
295
296
  t[8][
296
297
  /*index*/
297
- t[27]
298
- ], x(() => l = !1)), i.$set(s);
298
+ t[30]
299
+ ], x(() => l = !1)), i.$set(u);
299
300
  },
300
301
  i(a) {
301
302
  n || (c(i.$$.fragment, a), n = !0);
@@ -309,14 +310,14 @@ function R(t) {
309
310
  }
310
311
  );
311
312
  }
312
- function Ie(t) {
313
+ function ke(t) {
313
314
  let i, l, n = (
314
315
  /*mediaDataList*/
315
316
  t[10]
316
317
  ), e = [];
317
318
  for (let r = 0; r < n.length; r += 1)
318
319
  e[r] = R(P(t, n, r));
319
- const u = (r) => p(e[r], 1, 1, () => {
320
+ const s = (r) => p(e[r], 1, 1, () => {
320
321
  e[r] = null;
321
322
  });
322
323
  return {
@@ -331,17 +332,17 @@ function Ie(t) {
331
332
  D(r, i, a), l = !0;
332
333
  },
333
334
  p(r, a) {
334
- if (a & /*mediaItemConfig, mediaDataList, tag, mediaInstanceList*/
335
+ if (a[0] & /*mediaItemConfig, mediaDataList, tag, mediaInstanceList*/
335
336
  1409) {
336
337
  n = /*mediaDataList*/
337
338
  r[10];
338
339
  let o;
339
340
  for (o = 0; o < n.length; o += 1) {
340
- const s = P(r, n, o);
341
- e[o] ? (e[o].p(s, a), c(e[o], 1)) : (e[o] = R(s), e[o].c(), c(e[o], 1), e[o].m(i.parentNode, i));
341
+ const u = P(r, n, o);
342
+ e[o] ? (e[o].p(u, a), c(e[o], 1)) : (e[o] = R(u), e[o].c(), c(e[o], 1), e[o].m(i.parentNode, i));
342
343
  }
343
344
  for (M(), o = n.length; o < e.length; o += 1)
344
- u(o);
345
+ s(o);
345
346
  q();
346
347
  }
347
348
  },
@@ -359,7 +360,7 @@ function Ie(t) {
359
360
  l = !1;
360
361
  },
361
362
  d(r) {
362
- _e(e, r), r && w(i);
363
+ ge(e, r), r && w(i);
363
364
  }
364
365
  };
365
366
  }
@@ -372,12 +373,12 @@ function ye(t) {
372
373
  c() {
373
374
  n && n.c(), i = U();
374
375
  },
375
- m(e, u) {
376
- n && n.m(e, u), D(e, i, u), l = !0;
376
+ m(e, s) {
377
+ n && n.m(e, s), D(e, i, s), l = !0;
377
378
  },
378
- p(e, [u]) {
379
+ p(e, s) {
379
380
  /*unfolded*/
380
- e[5] ? n ? (n.p(e, u), u & /*unfolded*/
381
+ e[5] ? n ? (n.p(e, s), s[0] & /*unfolded*/
381
382
  32 && c(n, 1)) : (n = Q(e), n.c(), c(n, 1), n.m(i.parentNode, i)) : n && (M(), p(n, 1, 1, () => {
382
383
  n = null;
383
384
  }), q());
@@ -393,18 +394,16 @@ function ye(t) {
393
394
  }
394
395
  };
395
396
  }
396
- function ke(t, i, l) {
397
- let n, e, u, r, { tag: a } = i, { mediaData: o } = i, { inDelay: s = 0 } = i, { outDelay: I = 0 } = i, { duration: f = 0 } = i, { unfolded: _ = !0 } = i, { animation: b = !0 } = i, { mediaItemConfig: L } = i, { enableCarousel: k = !0 } = i, { autoplayConfig: C = {
398
- autoplayVideo: !1,
399
- autoplayCarousel: !0,
400
- autoplayVideoInCarousel: !1
401
- } } = i, g = [], v = 0, h, V = null;
397
+ function Ce(t, i, l) {
398
+ let n, e, s, r, { tag: a } = i, { mediaData: o } = i, { inDelay: u = 0 } = i, { outDelay: I = 0 } = i, { duration: f = 0 } = i, { unfolded: _ = !0 } = i, { animation: b = !0 } = i, { mediaItemConfig: L } = i, { enableCarousel: y = !0 } = i, { autoplayConfig: C = {} } = i;
399
+ const { autoplayVideo: ve = !1, autoplayCarousel: ee = !0, autoplayVideoInCarousel: De = !1 } = C;
400
+ let g = [], v = 0, h, V = null;
402
401
  const B = F("hooks"), O = F("mediaStore");
403
402
  function T() {
404
403
  const m = g[v], d = m == null ? void 0 : m.videoInstance;
405
404
  d && (d.paused ? (d.muted = !1, d.play()) : d.pause());
406
405
  }
407
- me(() => {
406
+ se(() => {
408
407
  B.on("click", (m) => {
409
408
  var d, z, A;
410
409
  (A = (z = (d = a.tag3DContentSvelte) == null ? void 0 : d.css3DInstance) == null ? void 0 : z.css3DObject) != null && A.opacityMesh && m.tag.id === a.id && T();
@@ -417,32 +416,32 @@ function ke(t, i, l) {
417
416
  }), ue(() => {
418
417
  clearInterval(V), B.off("click", T);
419
418
  });
420
- function ee(m, d) {
419
+ function te(m, d) {
421
420
  t.$$.not_equal(g[d], m) && (g[d] = m, l(8, g));
422
421
  }
423
- function te(m) {
422
+ function ie(m) {
424
423
  E[m ? "unshift" : "push"](() => {
425
424
  h = m, l(12, h);
426
425
  });
427
426
  }
428
- const ie = (m) => {
427
+ const ne = (m) => {
429
428
  n || O.set({ currentMediaElement: null }), l(11, v = m.detail);
430
429
  };
431
- function ne(m) {
430
+ function ae(m) {
432
431
  t.$$.not_equal(g[0], m) && (g[0] = m, l(8, g));
433
432
  }
434
433
  return t.$$set = (m) => {
435
- "tag" in m && l(0, a = m.tag), "mediaData" in m && l(1, o = m.mediaData), "inDelay" in m && l(2, s = m.inDelay), "outDelay" in m && l(3, I = m.outDelay), "duration" in m && l(4, f = m.duration), "unfolded" in m && l(5, _ = m.unfolded), "animation" in m && l(6, b = m.animation), "mediaItemConfig" in m && l(7, L = m.mediaItemConfig), "enableCarousel" in m && l(15, k = m.enableCarousel), "autoplayConfig" in m && l(16, C = m.autoplayConfig);
434
+ "tag" in m && l(0, a = m.tag), "mediaData" in m && l(1, o = m.mediaData), "inDelay" in m && l(2, u = m.inDelay), "outDelay" in m && l(3, I = m.outDelay), "duration" in m && l(4, f = m.duration), "unfolded" in m && l(5, _ = m.unfolded), "animation" in m && l(6, b = m.animation), "mediaItemConfig" in m && l(7, L = m.mediaItemConfig), "enableCarousel" in m && l(15, y = m.enableCarousel), "autoplayConfig" in m && l(16, C = m.autoplayConfig);
436
435
  }, t.$$.update = () => {
437
- t.$$.dirty & /*mediaInstanceList*/
438
- 256 && l(9, n = g.every((m) => m.paused)), t.$$.dirty & /*enableCarousel, mediaData*/
439
- 32770 && l(13, e = k && (o == null ? void 0 : o.length) > 1), t.$$.dirty & /*mediaData*/
440
- 2 && l(10, u = o), t.$$.dirty & /*mediaDataList, autoplayConfig, paused*/
441
- 67072 && (r = u.length > 1 && C.autoplayCarousel && n);
436
+ t.$$.dirty[0] & /*mediaInstanceList*/
437
+ 256 && l(9, n = g.every((m) => m.paused)), t.$$.dirty[0] & /*enableCarousel, mediaData*/
438
+ 32770 && l(13, e = y && (o == null ? void 0 : o.length) > 1), t.$$.dirty[0] & /*mediaData*/
439
+ 2 && l(10, s = o), t.$$.dirty[0] & /*mediaDataList, paused*/
440
+ 1536 && (r = s.length > 1 && ee && n);
442
441
  }, [
443
442
  a,
444
443
  o,
445
- s,
444
+ u,
446
445
  I,
447
446
  f,
448
447
  _,
@@ -450,27 +449,27 @@ function ke(t, i, l) {
450
449
  L,
451
450
  g,
452
451
  n,
453
- u,
452
+ s,
454
453
  v,
455
454
  h,
456
455
  e,
457
456
  O,
458
- k,
457
+ y,
459
458
  C,
460
- ee,
461
459
  te,
462
460
  ie,
463
- ne
461
+ ne,
462
+ ae
464
463
  ];
465
464
  }
466
- class nt extends ae {
465
+ class ot extends le {
467
466
  constructor(i) {
468
- super(), le(
467
+ super(), oe(
469
468
  this,
470
469
  i,
471
- ke,
470
+ Ce,
472
471
  ye,
473
- oe,
472
+ re,
474
473
  {
475
474
  tag: 0,
476
475
  mediaData: 1,
@@ -483,10 +482,11 @@ class nt extends ae {
483
482
  enableCarousel: 15,
484
483
  autoplayConfig: 16
485
484
  },
486
- pe
485
+ be,
486
+ [-1, -1]
487
487
  );
488
488
  }
489
489
  }
490
490
  export {
491
- nt as default
491
+ ot as default
492
492
  };
@@ -33,9 +33,9 @@ import { objectAssignDeepExports as c } from "../../vendor/object-assign-deep/ob
33
33
  import { arrayPositionToVector3 as A } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
34
34
  import { addDebugPoints as R } from "../utils/addDebugPoints.js";
35
35
  import { isMediaModelTag as y, isModelTag as O } from "../utils/tag/tagCheck.js";
36
- import { waitFiveModelLoaded as _ } from "../utils/actionAfterFiveModelLoad.js";
36
+ import { waitFiveModelLoaded as k } from "../utils/actionAfterFiveModelLoad.js";
37
37
  import { debounce as D } from "../utils/debounce.js";
38
- import { throttle as k } from "../utils/throttle.js";
38
+ import { throttle as _ } from "../utils/throttle.js";
39
39
  import { resizeObserver as S } from "../utils/resizeObserver.js";
40
40
  import L from "../utils/tag/format.js";
41
41
  import { generateBlankAudio as G, AudioNamespace as V } from "../../shared-utils/audio.js";
@@ -239,7 +239,7 @@ class ci extends N {
239
239
  destroy: () => this.destroyTagById(o.id)
240
240
  });
241
241
  }).filter((o) => o.position);
242
- return s.forEach(L), this.tags.push(...s), _(this.five).then(() => p(this, null, function* () {
242
+ return s.forEach(L), this.tags.push(...s), k(this.five).then(() => p(this, null, function* () {
243
243
  var o, n, r;
244
244
  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);
245
245
  }));
@@ -336,7 +336,8 @@ class ci extends N {
336
336
  */
337
337
  changeDataById(e, t, i = !0) {
338
338
  const s = this.getTagById(e);
339
- s && (i ? s.data = c({}, s.data, t) : s.data = f(f({}, s.data), t), this.clearUnusedPanelTag(), this.updateRenderAllTags());
339
+ let o = !1;
340
+ 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));
340
341
  }
341
342
  /**
342
343
  * @description: 改变tag的stickType
@@ -349,7 +350,8 @@ class ci extends N {
349
350
  */
350
351
  changeTagById(e, t, i = !0) {
351
352
  const s = this.getTagById(e);
352
- t && (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());
353
+ let o = !1;
354
+ 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));
353
355
  }
354
356
  /**
355
357
  * @description: 销毁tag
@@ -417,7 +419,7 @@ class ci extends N {
417
419
  }, i = () => {
418
420
  this.state.enabled && this.hide();
419
421
  }, { observe: s, unobserve: o } = S(
420
- k(() => {
422
+ _(() => {
421
423
  this.store.resizeObserverDisposer && i();
422
424
  }, 500),
423
425
  e
@@ -56,11 +56,12 @@ export interface EventMap extends BasePlugin.EventMap<State> {
56
56
  }) => void;
57
57
  loadVideoFirstFrame: () => void;
58
58
  }
59
- export type TagEvents = {
59
+ export type TagEvents<C extends TagContentType = TagContentType> = {
60
60
  unfolded: () => void;
61
61
  folded: () => void;
62
62
  show: () => void;
63
63
  hide: () => void;
64
+ dataChanged: (data: TagInstance<C>['data']) => void;
64
65
  };
65
66
  export interface TagCacheInterface {
66
67
  visible?: boolean;
@@ -23,7 +23,7 @@ export type Tag<C extends TagContentType = TagContentType, S extends StickType =
23
23
  /** @type {StickType} 附着方式 */
24
24
  stickType: S;
25
25
  /** @type {TagContentType} 内容类型,根据内容类型展示对应UI */
26
- contentType: C;
26
+ contentType: C extends 'Unknown' ? string : C;
27
27
  /** 点 */
28
28
  position: S extends 'Plane' ? [Position, Position, Position, Position] : S extends '2DPoint' | '3DPoint' | 'Model' ? Position : Position | [Position, Position, Position, Position];
29
29
  /** 法向量 */
@@ -4,8 +4,8 @@ import type { ContentTypeMap, TagContentType } from './TagData';
4
4
  import type { MinMax } from './Utils';
5
5
  import type { PartialObjectDeep } from './Utils';
6
6
  import type { TagInstance } from './TagInstance';
7
- type ConfigFunction<C extends TagContentType = TagContentType> = (five: Five, tagState: {
8
- tag: TagInstance<C>;
7
+ type ConfigFunction = (five: Five, tagState: {
8
+ tag: TagInstance<any>;
9
9
  /** 标签点或中心点的到摄像机的距离 */
10
10
  distance: number;
11
11
  /** 3D标签中 「标签所在平面或垂直于标签法线的平面」 与 「摄像机到标签点或中心点的向量」 的夹角 */
@@ -68,7 +68,7 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
68
68
  * @default undefined
69
69
  */
70
70
  angleRange?: MinMax;
71
- } | ConfigFunction<C>;
71
+ } | ConfigFunction;
72
72
  /** 展开/收起配置 */
73
73
  unfoldedConfig?: {
74
74
  /** 保持展开/收起,设置后unfoldedConfig下所有其他配置都不生效 */
@@ -109,7 +109,7 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
109
109
  /** 展开的最大距离, 默认为无限制 */
110
110
  distance?: MinMax;
111
111
  };
112
- } | ConfigFunction<C>;
112
+ } | ConfigFunction;
113
113
  /** 初始状态 */
114
114
  initialState?: {
115
115
  /** 显示/隐藏 */
@@ -41,7 +41,7 @@ export type TagInstance<C extends TagContentType = TagContentType, S extends Sti
41
41
  visible?: boolean;
42
42
  unfolded: boolean;
43
43
  };
44
- hooks: Subscribe<TagEvents>;
44
+ hooks: Subscribe<TagEvents<C>>;
45
45
  unfold: () => void;
46
46
  fold: () => void;
47
47
  enable: () => void;
@@ -46,7 +46,7 @@ export type TagGLTFObject = GLTFObject & {
46
46
  updateTagCss3DObjectMatrix?: () => void;
47
47
  };
48
48
  /** 返回一个销毁函数 */
49
- export type ElementRenderer = (container: HTMLElement, tag: TagInstance) => () => void;
49
+ export type ElementRenderer = (container: HTMLElement, tag: TagInstance<any, any>) => () => void;
50
50
  export type TagRendererMap = Map<string, {
51
51
  renderer: ElementRenderer;
52
52
  }>;
@@ -14,7 +14,7 @@ let n = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- e(this, "VERSION", "2.20.0-dev.4");
17
+ e(this, "VERSION", "2.20.0-dev.6");
18
18
  e(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.info(
3
- "%c %c@realsee/dnalogel %cv2.20.0-dev.4",
3
+ "%c %c@realsee/dnalogel %cv2.20.0-dev.6",
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.20.0-dev.4",
10
+ "version": "2.20.0-dev.6",
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*",