@realsee/dnalogel 2.16.0-14 → 2.16.0-16

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 (313) hide show
  1. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +4 -3
  2. package/dist/GuideLinePlugin/typing.d.ts +7 -6
  3. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +3 -3
  4. package/dist/index.cjs.js +48 -48
  5. package/dist/index.js +2197 -2158
  6. package/dist/index.umd.js +48 -48
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/CSS3DRender.html +32 -31
  9. package/docs/classes/CruisePluginController.html +27 -26
  10. package/docs/classes/GuideLineItem.GuideLineItem.html +17 -16
  11. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +32 -141
  12. package/docs/classes/Magnifier.html +21 -20
  13. package/docs/classes/ModelRoomLabelController.html +12 -11
  14. package/docs/classes/Object3DHelperController.html +26 -25
  15. package/docs/classes/PaintBrush.html +16 -15
  16. package/docs/classes/PanoMeasurePluginLine.html +24 -23
  17. package/docs/classes/PanoMeasurePluginModel.html +23 -22
  18. package/docs/classes/PanoMeasurePluginPoint.html +15 -14
  19. package/docs/classes/PanoMeasurePluginPolyline.html +27 -26
  20. package/docs/classes/PanoTagPluginController.html +50 -159
  21. package/docs/classes/Util.BetterTween.html +10 -9
  22. package/docs/classes/Util.FivePointSelector.html +13 -12
  23. package/docs/classes/Util.Interval.html +13 -12
  24. package/docs/classes/Util.Magnifier.html +18 -17
  25. package/docs/classes/Util.PointDomHelper.html +12 -11
  26. package/docs/classes/Util.PointHelper.html +12 -11
  27. package/docs/classes/Util.Rectangle.html +14 -13
  28. package/docs/enums/CameraMovementEffect.html +8 -7
  29. package/docs/enums/ContentType.html +20 -19
  30. package/docs/enums/DIRECTION.html +10 -9
  31. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -9
  32. package/docs/enums/DimensionType.html +8 -7
  33. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -8
  34. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -9
  35. package/docs/enums/PaintBrushTypeEnum.html +9 -8
  36. package/docs/enums/Rotation.html +9 -8
  37. package/docs/functions/CSS3DRenderPlugin.html +5 -4
  38. package/docs/functions/CameraMovementPlugin.html +5 -4
  39. package/docs/functions/CruisePlugin.html +5 -4
  40. package/docs/functions/GuideLinePlugin.html +6 -5
  41. package/docs/functions/ItemLabelPlugin.html +5 -4
  42. package/docs/functions/MapviewFloorplanPlugin.html +5 -4
  43. package/docs/functions/ModelChassisCompassPlugin.html +5 -4
  44. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
  45. package/docs/functions/ModelFloorplanPlugin.html +5 -4
  46. package/docs/functions/ModelItemLabelPlugin.html +5 -4
  47. package/docs/functions/ModelRoomLabelPlugin.html +5 -4
  48. package/docs/functions/ModelTVVideoPlugin.html +5 -4
  49. package/docs/functions/ModelViewPlugin.html +5 -4
  50. package/docs/functions/Object3DHelperPlugin.html +5 -4
  51. package/docs/functions/PanoCompassPlugin.html +5 -4
  52. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
  53. package/docs/functions/PanoDoorLabelPlugin.html +5 -4
  54. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
  55. package/docs/functions/PanoMeasurePlugin.html +5 -4
  56. package/docs/functions/PanoRulerPlugin.html +5 -4
  57. package/docs/functions/PanoRulerProPlugin.html +5 -4
  58. package/docs/functions/PanoSpatialTagPlugin.html +5 -4
  59. package/docs/functions/PanoTagPlugin.html +5 -4
  60. package/docs/functions/PanoVideoPlugin.html +5 -4
  61. package/docs/functions/TopviewFloorplanPlugin.html +5 -4
  62. package/docs/functions/Util.getCoordsFromClient.html +6 -5
  63. package/docs/functions/Util.getCoordsFromElement.html +6 -5
  64. package/docs/functions/Util.getFrameTime.html +6 -5
  65. package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -5
  66. package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -5
  67. package/docs/functions/Util.isAbsoluteURL.html +6 -5
  68. package/docs/functions/Util.isModelLike.html +6 -5
  69. package/docs/functions/Util.isNil.html +6 -5
  70. package/docs/functions/Util.isPanoramaLike.html +6 -5
  71. package/docs/functions/Util.nextFrame.html +6 -5
  72. package/docs/functions/Util.notNil.html +6 -5
  73. package/docs/functions/Util.requestAnimationFrameInterval.html +6 -5
  74. package/docs/functions/Util.tweenProgress.html +6 -5
  75. package/docs/functions/Util.uuid.html +6 -5
  76. package/docs/functions/pluginFlag.html +6 -5
  77. package/docs/index.html +6 -5
  78. package/docs/interfaces/AddTagConfig.html +7 -6
  79. package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -11
  80. package/docs/interfaces/CSS3DRenderPluginState.html +9 -8
  81. package/docs/interfaces/CameraMovementPluginExportType.html +8 -7
  82. package/docs/interfaces/CruisePluginTypes.Config.html +9 -8
  83. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -12
  84. package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -20
  85. package/docs/interfaces/CruisePluginTypes.MoveAction.html +13 -12
  86. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +15 -14
  87. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +15 -14
  88. package/docs/interfaces/CruisePluginTypes.PluginData.html +10 -9
  89. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +8 -7
  90. package/docs/interfaces/CruisePluginTypes.PluginState.html +12 -11
  91. package/docs/interfaces/EventMap.html +16 -15
  92. package/docs/interfaces/FloorplanBounding.html +9 -8
  93. package/docs/interfaces/FloorplanData.html +11 -10
  94. package/docs/interfaces/FloorplanEntrance.html +12 -11
  95. package/docs/interfaces/FloorplanExtraObject.html +11 -10
  96. package/docs/interfaces/FloorplanExtraObject3D.html +9 -8
  97. package/docs/interfaces/FloorplanFloorData.html +10 -9
  98. package/docs/interfaces/FloorplanImagePosition.html +8 -7
  99. package/docs/interfaces/FloorplanObserver.html +10 -9
  100. package/docs/interfaces/FloorplanOutlineItem.html +10 -9
  101. package/docs/interfaces/FloorplanPosition.html +8 -7
  102. package/docs/interfaces/FloorplanRoomItem.html +14 -13
  103. package/docs/interfaces/FloorplanRoomLabelItem.html +8 -7
  104. package/docs/interfaces/FloorplanServerBounding.html +9 -8
  105. package/docs/interfaces/FloorplanServerComputedData.html +11 -10
  106. package/docs/interfaces/FloorplanServerData.html +8 -7
  107. package/docs/interfaces/FloorplanServerDoorItem.html +11 -10
  108. package/docs/interfaces/FloorplanServerDoorPosition.html +9 -8
  109. package/docs/interfaces/FloorplanServerEntrance.html +12 -11
  110. package/docs/interfaces/FloorplanServerFloorData.html +10 -9
  111. package/docs/interfaces/FloorplanServerImagePosition.html +8 -7
  112. package/docs/interfaces/FloorplanServerObserver.html +10 -9
  113. package/docs/interfaces/FloorplanServerOutlineItem.html +10 -9
  114. package/docs/interfaces/FloorplanServerPosition.html +8 -7
  115. package/docs/interfaces/FloorplanServerRoomItem.html +15 -14
  116. package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -7
  117. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +17 -9
  118. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -10
  119. package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -13
  120. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -8
  121. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -6
  122. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -13
  123. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -8
  124. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +21 -20
  125. package/docs/interfaces/{GuideLinePluginType.ModelGuideLineTag.html → GuideLinePluginType.ModelGuideLineTagData.html} +15 -139
  126. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -18
  127. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -5
  128. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +8 -7
  129. package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -8
  130. package/docs/interfaces/GuideLinePluginType.Route.html +12 -11
  131. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -9
  132. package/docs/interfaces/HelperOffset.html +9 -8
  133. package/docs/interfaces/ImagePlaneGroup.html +7 -6
  134. package/docs/interfaces/ItemLabelPluginData.html +7 -6
  135. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -11
  136. package/docs/interfaces/ItemLabelPluginParametersType.html +10 -9
  137. package/docs/interfaces/MinMax.html +8 -7
  138. package/docs/interfaces/ModelChassisCompassPluginData.html +8 -7
  139. package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -8
  140. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -7
  141. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -8
  142. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -8
  143. package/docs/interfaces/ModelItemLabelPluginData.html +7 -6
  144. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -11
  145. package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -7
  146. package/docs/interfaces/ModelRoomLabelPluginData.html +7 -6
  147. package/docs/interfaces/ModelTVVideoPluginData.html +10 -9
  148. package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -8
  149. package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -6
  150. package/docs/interfaces/ModelViewPluginExportType.html +12 -11
  151. package/docs/interfaces/Object3DHelperState.html +9 -8
  152. package/docs/interfaces/ObjectHelperControllers.html +10 -9
  153. package/docs/interfaces/PaintBrushAction.html +13 -12
  154. package/docs/interfaces/PaintBrushConfigs.html +13 -12
  155. package/docs/interfaces/PaintBrushState.html +11 -10
  156. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -10
  157. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  158. package/docs/interfaces/PanoMeasureParameterType.html +15 -14
  159. package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -8
  160. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -7
  161. package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -7
  162. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -8
  163. package/docs/interfaces/PanoRulerPluginExportType.html +11 -10
  164. package/docs/interfaces/PanoRulerPluginOptions.html +8 -7
  165. package/docs/interfaces/PanoRulerPluginParameterType.html +9 -8
  166. package/docs/interfaces/PanoRulerProPluginExportType.html +10 -9
  167. package/docs/interfaces/PanoRulerProPluginOptions.html +8 -7
  168. package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -7
  169. package/docs/interfaces/PanoRulerProPluginState.html +9 -8
  170. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  171. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  172. package/docs/interfaces/PanoSpatialTagPluginData.html +12 -11
  173. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -10
  174. package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -13
  175. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -10
  176. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -13
  177. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -11
  178. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -10
  179. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +7 -6
  180. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -8
  181. package/docs/interfaces/PanoVideoPluginType.PluginData.html +7 -6
  182. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -9
  183. package/docs/interfaces/PanoVideoPluginType.PluginState.html +7 -6
  184. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -8
  185. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +11 -10
  186. package/docs/interfaces/Point.html +9 -8
  187. package/docs/interfaces/Room.html +10 -9
  188. package/docs/interfaces/RoomInfo.html +8 -7
  189. package/docs/interfaces/RoomLabel.html +15 -14
  190. package/docs/interfaces/RoomRules.html +6 -5
  191. package/docs/interfaces/Rooms.html +6 -5
  192. package/docs/interfaces/Scissor.html +10 -9
  193. package/docs/interfaces/State.html +9 -8
  194. package/docs/interfaces/TagCacheInterface.html +13 -12
  195. package/docs/interfaces/TagConfig.html +12 -11
  196. package/docs/interfaces/TagGLTFObjectGroup.html +7 -6
  197. package/docs/interfaces/TagIconUrl.html +13 -12
  198. package/docs/interfaces/TagObjectGroup.html +7 -6
  199. package/docs/interfaces/TagStyle.html +7 -6
  200. package/docs/interfaces/Tags.html +10 -9
  201. package/docs/interfaces/TemporaryState.html +7 -6
  202. package/docs/interfaces/Util.MagnifierParameter.html +12 -11
  203. package/docs/interfaces/Util.MouseGroupParameter.html +9 -8
  204. package/docs/modules/CruisePluginTypes.html +6 -5
  205. package/docs/modules/GuideLineItem.html +6 -5
  206. package/docs/modules/GuideLineModeItem.html +6 -5
  207. package/docs/modules/GuideLinePluginType.html +8 -6
  208. package/docs/modules/PanoVideoPluginType.html +6 -5
  209. package/docs/modules/Util.html +6 -5
  210. package/docs/modules.html +6 -5
  211. package/docs/types/ArrayPosition.html +6 -5
  212. package/docs/types/AudioAppearance.html +6 -5
  213. package/docs/types/AudioTagTypeConfigKey.html +6 -5
  214. package/docs/types/CSS3DRenderExportType.html +6 -5
  215. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  216. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  217. package/docs/types/ClassFunctionParameters.html +6 -5
  218. package/docs/types/Color.html +6 -5
  219. package/docs/types/ContentTypeConfigKey.html +6 -5
  220. package/docs/types/ContentTypeConfigKeySplit.html +6 -5
  221. package/docs/types/ContentTypeMap.html +6 -5
  222. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  223. package/docs/types/Create3DElementReturnType.html +6 -5
  224. package/docs/types/CruisePluginExportType.html +6 -5
  225. package/docs/types/CruisePluginTypes.CruiseData.html +6 -5
  226. package/docs/types/CruisePluginTypes.MoveEffect.html +6 -5
  227. package/docs/types/Direction-1.html +6 -5
  228. package/docs/types/Direction4.html +6 -5
  229. package/docs/types/FloorplanRuleLabels.html +6 -5
  230. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  231. package/docs/types/GuideLinePluginExportType.html +6 -5
  232. package/docs/types/GuideLinePluginType.GuideLineItem.html +7 -6
  233. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -5
  234. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -5
  235. package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -5
  236. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +353 -0
  237. package/docs/types/GuideLinePluginType.PathItem.html +6 -5
  238. package/docs/types/GuideLinePluginType.PluginData.html +6 -5
  239. package/docs/types/HelperEventMap.html +6 -5
  240. package/docs/types/LoadTagConfig.html +6 -5
  241. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  242. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  243. package/docs/types/MediaData.html +6 -5
  244. package/docs/types/MediaStore.html +6 -5
  245. package/docs/types/ModelElement.html +6 -5
  246. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  247. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  248. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  249. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  250. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  251. package/docs/types/MoveArgs.html +6 -5
  252. package/docs/types/MoveOpts.html +6 -5
  253. package/docs/types/Object3DHelperEventMap.html +6 -5
  254. package/docs/types/ObjectFit.html +6 -5
  255. package/docs/types/PaintBrushEventMap.html +6 -5
  256. package/docs/types/PanoCompassPluginData.html +6 -5
  257. package/docs/types/PanoCompassPluginExportType.html +6 -5
  258. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  259. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  260. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  261. package/docs/types/PanoIndex.html +6 -5
  262. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  263. package/docs/types/PanoMeasureReturnType.html +6 -5
  264. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  265. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  266. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  267. package/docs/types/PanoVideoPluginParameterType.html +6 -5
  268. package/docs/types/PanoVideoPluginReturnType.html +6 -5
  269. package/docs/types/PlaneTag.html +6 -5
  270. package/docs/types/PlaneTagElement.html +6 -5
  271. package/docs/types/Point2DElement.html +6 -5
  272. package/docs/types/Point2DTag.html +6 -5
  273. package/docs/types/Point3DElement.html +6 -5
  274. package/docs/types/Point3DTag.html +6 -5
  275. package/docs/types/PointTag.html +6 -5
  276. package/docs/types/PointTagElement.html +6 -5
  277. package/docs/types/Position.html +6 -5
  278. package/docs/types/RotateArgs.html +6 -5
  279. package/docs/types/RotateOpts.html +6 -5
  280. package/docs/types/RuleLabelsKey.html +6 -5
  281. package/docs/types/RuleLabelsValue.html +6 -5
  282. package/docs/types/StickType.html +6 -5
  283. package/docs/types/Tag.html +6 -5
  284. package/docs/types/Tag2D.html +6 -5
  285. package/docs/types/Tag3D.html +6 -5
  286. package/docs/types/TagContentType.html +6 -5
  287. package/docs/types/TagDimensionType.html +6 -5
  288. package/docs/types/TagElement.html +6 -5
  289. package/docs/types/TagEvents.html +6 -5
  290. package/docs/types/TagGLTFObject.html +6 -5
  291. package/docs/types/TagHooks.html +6 -5
  292. package/docs/types/TagIconSize.html +6 -5
  293. package/docs/types/TagId.html +6 -5
  294. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  295. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  296. package/docs/types/WorkCode.html +6 -5
  297. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  298. package/docs/variables/PLUGIN.html +6 -5
  299. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  300. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  301. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  302. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  303. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  304. package/libs/GuideLinePlugin/Components/Tag.js +63 -31
  305. package/libs/GuideLinePlugin/GuideLineItem/index.js +11 -11
  306. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +63 -56
  307. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +4 -3
  308. package/libs/GuideLinePlugin/typing.d.ts +7 -6
  309. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +3 -3
  310. package/libs/PanoTagPlugin/controller/TagComputer.js +6 -5
  311. package/libs/base/BasePlugin.js +1 -1
  312. package/libs/index.js +1 -1
  313. package/package.json +1 -1
@@ -1,31 +1,32 @@
1
- var v = Object.defineProperty;
2
- var g = Object.getOwnPropertySymbols;
3
- var b = Object.prototype.hasOwnProperty, y = Object.prototype.propertyIsEnumerable;
4
- var d = (s, e, i) => e in s ? v(s, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[e] = i, f = (s, e) => {
1
+ var C = Object.defineProperty, y = Object.defineProperties;
2
+ var k = Object.getOwnPropertyDescriptors;
3
+ var v = Object.getOwnPropertySymbols;
4
+ var w = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
5
+ var m = (o, e, i) => e in o ? C(o, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[e] = i, u = (o, e) => {
5
6
  for (var i in e || (e = {}))
6
- b.call(e, i) && d(s, i, e[i]);
7
- if (g)
8
- for (var i of g(e))
9
- y.call(e, i) && d(s, i, e[i]);
10
- return s;
11
- };
12
- var t = (s, e, i) => (d(s, typeof e != "symbol" ? e + "" : e, i), i);
7
+ w.call(e, i) && m(o, i, e[i]);
8
+ if (v)
9
+ for (var i of v(e))
10
+ U.call(e, i) && m(o, i, e[i]);
11
+ return o;
12
+ }, g = (o, e) => y(o, k(e));
13
+ var t = (o, e, i) => (m(o, typeof e != "symbol" ? e + "" : e, i), i);
13
14
  import * as l from "three";
14
- import { logWarning as C, logError as k } from "../../shared-utils/log.js";
15
- import { createLineGeometry as w } from "../utils/createLineGeometry.js";
16
- import { isPanoramaLike as U, isModelLike as P } from "../../shared-utils/five/mode.js";
15
+ import { logWarning as P, logError as T } from "../../shared-utils/log.js";
16
+ import { createLineGeometry as x } from "../utils/createLineGeometry.js";
17
+ import { isPanoramaLike as E, isModelLike as _ } from "../../shared-utils/five/mode.js";
17
18
  import "hammerjs";
18
19
  import "@realsee/five";
19
20
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
20
21
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
21
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
22
- import { BetterTween as x, tweenProgress as E } from "../../shared-utils/animationFrame/BetterTween.js";
23
- import { loadTexture as _ } from "../../shared-utils/three/loadTexture.js";
24
- import p from "../../PanoTagPlugin/controller/index.js";
25
- import T from "../Components/Tag.js";
26
- import { filterAdjacentDistinct as L } from "../utils/index.js";
27
- import { objectAssignDeepExports as O } from "../../vendor/object-assign-deep/objectAssignDeep.js";
28
- const V = (
23
+ import { BetterTween as L, tweenProgress as O } from "../../shared-utils/animationFrame/BetterTween.js";
24
+ import { loadTexture as V } from "../../shared-utils/three/loadTexture.js";
25
+ import b from "../../PanoTagPlugin/controller/index.js";
26
+ import G from "../Components/Tag.js";
27
+ import { filterAdjacentDistinct as M } from "../utils/index.js";
28
+ import { objectAssignDeepExports as F } from "../../vendor/object-assign-deep/objectAssignDeep.js";
29
+ const A = (
29
30
  /* glsl */
30
31
  `
31
32
  varying vec2 vUv;
@@ -35,7 +36,7 @@ const V = (
35
36
  gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
36
37
  }
37
38
  `
38
- ), G = (
39
+ ), S = (
39
40
  /* glsl */
40
41
  `
41
42
  // 是否使用颜色
@@ -119,7 +120,7 @@ const V = (
119
120
  }
120
121
  `
121
122
  );
122
- class M {
123
+ class B {
123
124
  constructor(e, i) {
124
125
  t(this, "startTagContainer");
125
126
  t(this, "endTagContainer");
@@ -145,12 +146,12 @@ class M {
145
146
  t(this, "plugin");
146
147
  t(this, "textureHasLoaded", !1);
147
148
  t(this, "disposed", !1);
148
- t(this, "flowAnime", new x({ progress: 0 }).to({ progress: 1 }).duration(5e3).repeat(1 / 0));
149
- t(this, "flickerAnime", E(300).yoyo(!0).repeat(5));
149
+ t(this, "flowAnime", new L({ progress: 0 }).to({ progress: 1 }).duration(5e3).repeat(1 / 0));
150
+ t(this, "flickerAnime", O(300).yoyo(!0).repeat(5));
150
151
  t(this, "dispose", () => {
151
- this.disposed || (this.disposed = !0, this.five.off("modeChange", this.onFiveModeChange), this.plugin.hooks.off("show", this.onPluginShow), this.plugin.hooks.off("hide", this.onPluginHide), this.plugin.hooks.off("enable", this.onPluginEnable), this.plugin.hooks.off("disable", this.onPluginDisable), this.doHide());
152
+ var e, i;
153
+ this.disposed || (this.disposed = !0, this.five.off("modeChange", this.onFiveModeChange), this.plugin.hooks.off("show", this.onPluginShow), this.plugin.hooks.off("hide", this.onPluginHide), this.plugin.hooks.off("enable", this.onPluginEnable), this.plugin.hooks.off("disable", this.onPluginDisable), this.doHide(), (e = this.startTagContainer) == null || e.plugin.dispose(), (i = this.endTagContainer) == null || i.plugin.dispose());
152
154
  });
153
- t(this, "onTagContainerChange", (e, i) => new T({ target: e, intro: !0, props: i.data }).$destroy);
154
155
  /** 当设置 GuideLinePLugin 展示 */
155
156
  t(this, "onPluginShow", () => {
156
157
  this.updateVisible();
@@ -177,22 +178,23 @@ class M {
177
178
  });
178
179
  /** 模型状态变更 */
179
180
  t(this, "onFiveModeChange", (e) => {
180
- this.modeVisible = this.mode === "panorama" ? U(e) : P(e), this.updateVisible();
181
+ this.modeVisible = this.mode === "panorama" ? E(e) : _(e), this.updateVisible();
181
182
  });
182
183
  t(this, "onFlowAnimeUpdate", (e) => {
183
184
  const { progress: i } = e;
184
185
  this.mesh.material.uniforms.vOffset.value = i, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
185
186
  });
186
187
  t(this, "onFlickerAnimeUpdate", (e) => {
187
- const { progress: i } = e;
188
- this.mesh.material.uniforms.flicker.value = 1 - i, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
188
+ var a, s;
189
+ const { progress: i } = e, r = 1 - i;
190
+ this.mesh.material.uniforms.flicker.value = r, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0, this.startTagContainer.tag && f(this.startTagContainer.tag) && ((a = this.startTagContainer.app) == null || a.$set(g(u({}, this.startTagContainer.tag.data), { opacity: r }))), this.endTagContainer.tag && f(this.endTagContainer.tag) && ((s = this.endTagContainer.app) == null || s.$set(g(u({}, this.endTagContainer.tag.data), { opacity: r })));
189
191
  });
190
- t(this, "logWarning", (e) => C("GuideLineModeItem: ", e));
191
- t(this, "logError", (e) => k("GuideLineModeItem: ", e));
192
- this.five = e, this.mode = i.mode, this.plugin = i.plugin, this.parent = i.parent, this.startTagContainer = { tag: null, plugin: new p(this.five) }, this.endTagContainer = { tag: null, plugin: new p(this.five) };
192
+ t(this, "logWarning", (e) => P("GuideLineModeItem: ", e));
193
+ t(this, "logError", (e) => T("GuideLineModeItem: ", e));
194
+ this.five = e, this.mode = i.mode, this.plugin = i.plugin, this.parent = i.parent, this.startTagContainer = { tag: null, plugin: new b(this.five) }, this.endTagContainer = { tag: null, plugin: new b(this.five) };
193
195
  const r = new l.BufferGeometry(), a = new l.ShaderMaterial({
194
- vertexShader: V,
195
- fragmentShader: G,
196
+ vertexShader: A,
197
+ fragmentShader: S,
196
198
  transparent: !0,
197
199
  uniforms: {
198
200
  map: { value: null },
@@ -244,28 +246,28 @@ class M {
244
246
  return this.logError("disposed");
245
247
  if (!this.five.work)
246
248
  return this.logError("setPathByPanoGroup: work is not ready");
247
- const r = L(e);
249
+ const r = M(e);
248
250
  if (this._panoGroup = r, (i == null ? void 0 : i.skipPanoGroup) !== void 0) {
249
- const o = i.skipPanoGroup ? r.map((n) => this.five.work.observers[n]).map((n) => n.standingPosition.clone()) : null;
250
- this.skippedPositions = o;
251
+ const s = i.skipPanoGroup ? r.map((n) => this.five.work.observers[n]).map((n) => n.standingPosition.clone()) : null;
252
+ this.skippedPositions = s;
251
253
  }
252
254
  const a = this.getPathFromPanoGroup(r, this.five.work, i);
253
255
  this.path = a, this.setGeometryByPath(a, i);
254
256
  }
255
257
  /** 通过路径设置线条形状 */
256
258
  setGeometryByPath(e, i) {
257
- var h, u, m;
259
+ var d, p, c;
258
260
  if (this.disposed)
259
261
  return this.logError("disposed");
260
- const r = (h = i == null ? void 0 : i.scale) != null ? h : this.scale, a = (u = i == null ? void 0 : i.width) != null ? u : this.width, o = (m = i == null ? void 0 : i.unit_length) != null ? m : this.unitLength;
261
- this.path = e, this.scale = r, this.width = a, this.unitLength = o;
262
- const { geometry: n, maxU: c } = w({
262
+ const r = (d = i == null ? void 0 : i.scale) != null ? d : this.scale, a = (p = i == null ? void 0 : i.width) != null ? p : this.width, s = (c = i == null ? void 0 : i.unit_length) != null ? c : this.unitLength;
263
+ this.path = e, this.scale = r, this.width = a, this.unitLength = s;
264
+ const { geometry: n, maxU: h } = x({
263
265
  path: e,
264
266
  width: a * r,
265
- unitLength: o * r,
267
+ unitLength: s * r,
266
268
  skipPositions: this.skippedPositions
267
269
  });
268
- this.mesh.geometry = n, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = c, this.five.needsRender = !0;
270
+ this.mesh.geometry = n, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = h, this.five.needsRender = !0;
269
271
  }
270
272
  /** 设置线条材质 */
271
273
  setMartial(e) {
@@ -320,7 +322,7 @@ class M {
320
322
  setTextureUrl(e) {
321
323
  if (this.disposed)
322
324
  return this.logError("disposed");
323
- this.textureUrl = e, _(e).then((i) => {
325
+ this.textureUrl = e, V(e).then((i) => {
324
326
  this.disposed || this.textureUrl === e && (i.wrapT = l.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = i, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
325
327
  });
326
328
  }
@@ -337,14 +339,19 @@ class M {
337
339
  this.flickerAnime.play();
338
340
  }
339
341
  setTag(e, i) {
340
- const a = O({}, {
342
+ const a = F({}, {
341
343
  contentType: "Custom",
342
344
  stickType: "2DPoint",
343
345
  config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"] } },
344
346
  style: { point: { enabled: !1 } },
345
347
  data: {}
346
- }, i), o = e === "start" ? this.startTagContainer : this.endTagContainer;
347
- o.tag = a, F(a) && (o.tag.element = (n) => this.onTagContainerChange(n, a)), o.plugin.load({ tagList: [o.tag] });
348
+ }, i), s = e === "start" ? this.startTagContainer : this.endTagContainer;
349
+ s.tag = a, f(a) && (s.tag.element = (n) => {
350
+ var d;
351
+ (d = s.app) == null || d.$destroy();
352
+ const h = new G({ target: n, intro: !0, props: a.data });
353
+ return s.app = h, () => h.$destroy();
354
+ }), s.plugin.load({ tagList: [s.tag] });
348
355
  }
349
356
  /** 更新可见性 */
350
357
  updateVisible() {
@@ -361,18 +368,18 @@ class M {
361
368
  getPathFromPanoGroup(e, i, r) {
362
369
  if (e.length < 2)
363
370
  return [];
364
- const o = e.map((n) => i.observers[n]).map((n) => n.standingPosition.toArray());
365
- return [f({ type: "CatmullRomCurve3", points: o }, r)];
371
+ const s = e.map((n) => i.observers[n]).map((n) => n.standingPosition.toArray());
372
+ return [u({ type: "CatmullRomCurve3", points: s }, r)];
366
373
  }
367
374
  }
368
- function F(s) {
369
- return s.contentType === "Custom";
375
+ function f(o) {
376
+ return o.contentType === "Custom";
370
377
  }
371
- const Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
378
+ const Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
372
379
  __proto__: null,
373
- GuideLineModeItem: M
380
+ GuideLineModeItem: B
374
381
  }, Symbol.toStringTag, { value: "Module" }));
375
382
  export {
376
- M as GuideLineModeItem,
377
- Q as GuideLineModeItem$1
383
+ B as GuideLineModeItem,
384
+ Z as GuideLineModeItem$1
378
385
  };
@@ -5,11 +5,13 @@ import type * as PluginType from './typing';
5
5
  import type { GuideLineItem } from './GuideLineItem';
6
6
  import * as THREE from 'three';
7
7
  import { PanoTagPluginController } from '../PanoTagPlugin';
8
+ import CustomTag from './Components/Tag.svelte';
8
9
  /** @link https://threejs.org/docs/index.html#api/en/extras/curves/CatmullRomCurve3 */
9
10
  type CatmullRomCurve3RestParams = Omit<PluginType.CatmullRomCurve3, 'type' | 'points'>;
10
11
  export interface GuideLineTagContainer {
11
12
  tag: Tag | null;
12
13
  plugin: PanoTagPluginController;
14
+ app?: CustomTag;
13
15
  }
14
16
  /** 在不同模态下的 GuideLine */
15
17
  declare class GuideLineModeItem {
@@ -78,12 +80,11 @@ declare class GuideLineModeItem {
78
80
  setMapOpacity(opacity: number): void;
79
81
  /** 设置贴图 */
80
82
  setTextureUrl(url: string): void;
81
- setStartTag(tag: Tag): void;
82
- setEndTag(tag: Tag): void;
83
+ setStartTag(tag: Tag | PluginType.ModelGuideLineTagData): void;
84
+ setEndTag(tag: Tag | PluginType.ModelGuideLineTagData): void;
83
85
  /** 闪烁 */
84
86
  flicker(): void;
85
87
  private setTag;
86
- private onTagContainerChange;
87
88
  /** 当设置 GuideLinePLugin 展示 */
88
89
  private onPluginShow;
89
90
  /** 当设置 GuideLinePLugin 隐藏 */
@@ -70,7 +70,7 @@ export type GuideLineItem = RequireAtLeastOne<{
70
70
  /** 可展示的楼层 */
71
71
  visible_floor_indexes?: null | number[];
72
72
  /** 点位数组 */
73
- pano_group?: number[];
73
+ pano_group?: null | number[];
74
74
  /** 路径:由多个曲线组合而成的路径,路径为空时,会使用 pano_group 自动创建 */
75
75
  path?: PathItem[];
76
76
  /** 全景态使用的数据 */
@@ -85,8 +85,8 @@ export interface PanoramaGuideLineStyle extends GuideLineStyle {
85
85
  }
86
86
  /** 模型路径样式 */
87
87
  export interface ModelGuideLineStyle extends GuideLineStyle {
88
- start_tag?: ModelGuideLineTag;
89
- end_tag?: ModelGuideLineTag;
88
+ start_tag?: ModelGuideLineTagData;
89
+ end_tag?: ModelGuideLineTagData;
90
90
  }
91
91
  /** 不同模态下的路线数据 */
92
92
  export type GuideLineStyle = GuideLineGeometryStyle & GuideLineMaterialStyle;
@@ -116,19 +116,20 @@ export interface GuideLineMaterialStyle {
116
116
  /** 透明度 */
117
117
  opacity?: number;
118
118
  /** 贴图 */
119
- texture?: {
119
+ texture?: null | {
120
120
  /** 贴图地址 */
121
121
  url: string;
122
122
  };
123
123
  }
124
- /** 模型路线引导标签 */
125
- export interface ModelGuideLineTag extends Tag<'Custom', '2DPoint'> {
124
+ export interface ModelGuideLineTagData {
126
125
  position: number[];
127
126
  data: {
128
127
  text: string;
129
128
  icon_url: string;
130
129
  };
131
130
  }
131
+ /** 模型路线引导标签 */
132
+ export type ModelGuideLineTag = Tag<'Custom', '2DPoint'> & ModelGuideLineTagData;
132
133
  /** 目前只支持 CatmullRomCurve3 */
133
134
  export type PathItem = CatmullRomCurve3;
134
135
  /** @link https://threejs.org/docs/index.html?q=cu#api/zh/extras/curves/CatmullRomCurve3 */
@@ -24,11 +24,11 @@ export declare abstract class TagComputer extends TagUtil {
24
24
  /**
25
25
  * @description: 获取是否展开
26
26
  */
27
- getUnfoldedByPanoIndex(tag: Tag<any>, panoIndex?: number): boolean;
27
+ getUnfoldedByPanoIndex(tag: TagElement<any>, panoIndex?: number): boolean;
28
28
  /**
29
29
  * @description: 获取是否展开
30
30
  */
31
- getUnfoldedByCamera(tag: Tag<any, any>): boolean;
31
+ getUnfoldedByCamera(tag: TagElement<any, any>): boolean;
32
32
  protected sort<T extends Tag<any, any>>(tags: T[]): T[];
33
33
  /**
34
34
  * @description: 一个点的标签
@@ -41,7 +41,7 @@ export declare abstract class TagComputer extends TagUtil {
41
41
  /**
42
42
  * @description: 一个点的标签
43
43
  */
44
- protected getTagProject(tag: Tag<any, any>): {
44
+ protected getTagProject(tag: TagElement<any, any>): {
45
45
  x: number;
46
46
  y: number;
47
47
  z: number;
@@ -1,15 +1,15 @@
1
- var B = Object.defineProperty, U = Object.defineProperties;
1
+ var U = Object.defineProperty, B = Object.defineProperties;
2
2
  var M = Object.getOwnPropertyDescriptors;
3
3
  var x = Object.getOwnPropertySymbols;
4
4
  var R = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
5
- var y = (d, f, e) => f in d ? B(d, f, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[f] = e, I = (d, f) => {
5
+ var y = (d, f, e) => f in d ? U(d, f, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[f] = e, I = (d, f) => {
6
6
  for (var e in f || (f = {}))
7
7
  R.call(f, e) && y(d, e, f[e]);
8
8
  if (x)
9
9
  for (var e of x(f))
10
10
  D.call(f, e) && y(d, e, f[e]);
11
11
  return d;
12
- }, P = (d, f) => U(d, M(f));
12
+ }, P = (d, f) => B(d, M(f));
13
13
  var T = (d, f, e) => (y(d, typeof f != "symbol" ? f + "" : f, e), e);
14
14
  import * as C from "three";
15
15
  import { isMediaModelTag as m, is3DTag as j } from "../utils/tag/tagCheck.js";
@@ -188,7 +188,8 @@ class be extends S {
188
188
  * @description: 获取是否展开
189
189
  */
190
190
  getUnfoldedByCamera(e) {
191
- return this.getVisibleByPanoIndex(e) ? (() => {
191
+ const i = this.getVisible(e);
192
+ return console.log("🐶 ==> visible:", i), i ? (() => {
192
193
  var l;
193
194
  const s = this.getDistance(e), t = this.getTagConfig(e).unfoldedConfig;
194
195
  if (t) {
@@ -290,7 +291,7 @@ class be extends S {
290
291
  * @description: 一个点的标签
291
292
  */
292
293
  getTagProject(e) {
293
- if (!this.getVisibleByPanoIndex(e))
294
+ if (!this.getVisible(e))
294
295
  return;
295
296
  const n = V(e.position);
296
297
  if (!n)
@@ -14,7 +14,7 @@ let n = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- e(this, "VERSION", "2.16.0-14");
17
+ e(this, "VERSION", "2.16.0-16");
18
18
  e(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
package/libs/index.js CHANGED
@@ -363,7 +363,7 @@ import "./shared-utils/three/PointHelper.js";
363
363
  import "./shared-utils/three/Assets/index.js";
364
364
  import "./shared-utils/three/PointDomHelper.js";
365
365
  import "./shared-utils/three/FivePointSelector.js";
366
- console.info("@realsee/dnalogel %cv2.16.0-14", "background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px");
366
+ console.info("@realsee/dnalogel %cv2.16.0-16", "background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px");
367
367
  export {
368
368
  le as CSS3DRender,
369
369
  Zm as CSS3DRenderPlugin,
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "repository": "https://github.com/realsee-developer/dnalogel.git",
9
9
  "description": "如视 VR 看房插件合集",
10
10
  "private": false,
11
- "version": "2.16.0-14",
11
+ "version": "2.16.0-16",
12
12
  "license": "SEE LICENSE IN TERMS.txt",
13
13
  "scripts": {
14
14
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",