@realsee/dnalogel 2.16.0-13 → 2.16.0-14

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 +8 -4
  2. package/dist/GuideLinePlugin/typing.d.ts +7 -3
  3. package/dist/index.cjs.js +49 -33
  4. package/dist/index.js +708 -677
  5. package/dist/index.umd.js +38 -22
  6. package/docs/assets/search.js +1 -1
  7. package/docs/classes/CSS3DRender.html +30 -30
  8. package/docs/classes/CruisePluginController.html +25 -25
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +15 -15
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +62 -28
  11. package/docs/classes/Magnifier.html +19 -19
  12. package/docs/classes/ModelRoomLabelController.html +10 -10
  13. package/docs/classes/Object3DHelperController.html +24 -24
  14. package/docs/classes/PaintBrush.html +14 -14
  15. package/docs/classes/PanoMeasurePluginLine.html +22 -22
  16. package/docs/classes/PanoMeasurePluginModel.html +21 -21
  17. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  18. package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
  19. package/docs/classes/PanoTagPluginController.html +46 -46
  20. package/docs/classes/Util.BetterTween.html +8 -8
  21. package/docs/classes/Util.FivePointSelector.html +11 -11
  22. package/docs/classes/Util.Interval.html +11 -11
  23. package/docs/classes/Util.Magnifier.html +16 -16
  24. package/docs/classes/Util.PointDomHelper.html +10 -10
  25. package/docs/classes/Util.PointHelper.html +10 -10
  26. package/docs/classes/Util.Rectangle.html +12 -12
  27. package/docs/enums/CameraMovementEffect.html +6 -6
  28. package/docs/enums/ContentType.html +18 -18
  29. package/docs/enums/DIRECTION.html +8 -8
  30. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  31. package/docs/enums/DimensionType.html +6 -6
  32. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  33. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  34. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  35. package/docs/enums/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/TopviewFloorplanPlugin.html +3 -3
  61. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  62. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  63. package/docs/functions/Util.getFrameTime.html +4 -4
  64. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  65. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  66. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  67. package/docs/functions/Util.isModelLike.html +4 -4
  68. package/docs/functions/Util.isNil.html +4 -4
  69. package/docs/functions/Util.isPanoramaLike.html +4 -4
  70. package/docs/functions/Util.nextFrame.html +4 -4
  71. package/docs/functions/Util.notNil.html +4 -4
  72. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  73. package/docs/functions/Util.tweenProgress.html +4 -4
  74. package/docs/functions/Util.uuid.html +4 -4
  75. package/docs/functions/pluginFlag.html +4 -4
  76. package/docs/index.html +4 -4
  77. package/docs/interfaces/AddTagConfig.html +5 -5
  78. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  79. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  80. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  81. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  82. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  83. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  84. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  85. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  86. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  87. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  88. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  89. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  90. package/docs/interfaces/EventMap.html +14 -14
  91. package/docs/interfaces/FloorplanBounding.html +7 -7
  92. package/docs/interfaces/FloorplanData.html +9 -9
  93. package/docs/interfaces/FloorplanEntrance.html +10 -10
  94. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  95. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  96. package/docs/interfaces/FloorplanFloorData.html +8 -8
  97. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  98. package/docs/interfaces/FloorplanObserver.html +8 -8
  99. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  100. package/docs/interfaces/FloorplanPosition.html +6 -6
  101. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  102. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  103. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  104. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  105. package/docs/interfaces/FloorplanServerData.html +6 -6
  106. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  107. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  108. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  109. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  110. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  111. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  112. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  113. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  114. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  115. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  116. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +6 -6
  117. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  118. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  119. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  120. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  121. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +31 -13
  122. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  123. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +38 -18
  124. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTag.html +18 -18
  125. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +38 -18
  126. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  127. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  128. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  129. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  130. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  131. package/docs/interfaces/HelperOffset.html +7 -7
  132. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  133. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  134. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  135. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  136. package/docs/interfaces/MinMax.html +6 -6
  137. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  138. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  139. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  140. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  141. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  142. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  143. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  144. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  145. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  146. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  147. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  148. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  149. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  150. package/docs/interfaces/Object3DHelperState.html +7 -7
  151. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  152. package/docs/interfaces/PaintBrushAction.html +11 -11
  153. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  154. package/docs/interfaces/PaintBrushState.html +9 -9
  155. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  156. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  157. package/docs/interfaces/PanoMeasureParameterType.html +13 -13
  158. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  159. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  160. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  161. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  162. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  163. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  164. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  165. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  166. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  167. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  168. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  169. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  170. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  171. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  172. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  173. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  174. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  175. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  176. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  177. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  178. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  179. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  180. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  181. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  182. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  184. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  185. package/docs/interfaces/Point.html +7 -7
  186. package/docs/interfaces/Room.html +8 -8
  187. package/docs/interfaces/RoomInfo.html +6 -6
  188. package/docs/interfaces/RoomLabel.html +13 -13
  189. package/docs/interfaces/RoomRules.html +4 -4
  190. package/docs/interfaces/Rooms.html +4 -4
  191. package/docs/interfaces/Scissor.html +8 -8
  192. package/docs/interfaces/State.html +7 -7
  193. package/docs/interfaces/TagCacheInterface.html +11 -11
  194. package/docs/interfaces/TagConfig.html +10 -10
  195. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  196. package/docs/interfaces/TagIconUrl.html +11 -11
  197. package/docs/interfaces/TagObjectGroup.html +5 -5
  198. package/docs/interfaces/TagStyle.html +5 -5
  199. package/docs/interfaces/Tags.html +8 -8
  200. package/docs/interfaces/TemporaryState.html +5 -5
  201. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  202. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  203. package/docs/modules/CruisePluginTypes.html +4 -4
  204. package/docs/modules/GuideLineItem.html +4 -4
  205. package/docs/modules/GuideLineModeItem.html +4 -4
  206. package/docs/modules/GuideLinePluginType.html +4 -4
  207. package/docs/modules/PanoVideoPluginType.html +4 -4
  208. package/docs/modules/Util.html +4 -4
  209. package/docs/modules.html +4 -4
  210. package/docs/types/ArrayPosition.html +4 -4
  211. package/docs/types/AudioAppearance.html +4 -4
  212. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  213. package/docs/types/CSS3DRenderExportType.html +4 -4
  214. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  215. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  216. package/docs/types/ClassFunctionParameters.html +4 -4
  217. package/docs/types/Color.html +4 -4
  218. package/docs/types/ContentTypeConfigKey.html +4 -4
  219. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  220. package/docs/types/ContentTypeMap.html +4 -4
  221. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  222. package/docs/types/Create3DElementReturnType.html +4 -4
  223. package/docs/types/CruisePluginExportType.html +4 -4
  224. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  225. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  226. package/docs/types/Direction-1.html +4 -4
  227. package/docs/types/Direction4.html +4 -4
  228. package/docs/types/FloorplanRuleLabels.html +4 -4
  229. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  230. package/docs/types/GuideLinePluginExportType.html +4 -4
  231. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  232. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  233. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  234. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  235. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  236. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  237. package/docs/types/HelperEventMap.html +4 -4
  238. package/docs/types/LoadTagConfig.html +4 -4
  239. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  240. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  241. package/docs/types/MediaData.html +4 -4
  242. package/docs/types/MediaStore.html +4 -4
  243. package/docs/types/ModelElement.html +4 -4
  244. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  245. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  246. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  247. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  248. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  249. package/docs/types/MoveArgs.html +4 -4
  250. package/docs/types/MoveOpts.html +4 -4
  251. package/docs/types/Object3DHelperEventMap.html +4 -4
  252. package/docs/types/ObjectFit.html +4 -4
  253. package/docs/types/PaintBrushEventMap.html +4 -4
  254. package/docs/types/PanoCompassPluginData.html +4 -4
  255. package/docs/types/PanoCompassPluginExportType.html +4 -4
  256. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  257. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  258. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  259. package/docs/types/PanoIndex.html +4 -4
  260. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  261. package/docs/types/PanoMeasureReturnType.html +4 -4
  262. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  263. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  264. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  265. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  266. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  267. package/docs/types/PlaneTag.html +4 -4
  268. package/docs/types/PlaneTagElement.html +4 -4
  269. package/docs/types/Point2DElement.html +4 -4
  270. package/docs/types/Point2DTag.html +4 -4
  271. package/docs/types/Point3DElement.html +4 -4
  272. package/docs/types/Point3DTag.html +4 -4
  273. package/docs/types/PointTag.html +4 -4
  274. package/docs/types/PointTagElement.html +4 -4
  275. package/docs/types/Position.html +4 -4
  276. package/docs/types/RotateArgs.html +4 -4
  277. package/docs/types/RotateOpts.html +4 -4
  278. package/docs/types/RuleLabelsKey.html +4 -4
  279. package/docs/types/RuleLabelsValue.html +4 -4
  280. package/docs/types/StickType.html +4 -4
  281. package/docs/types/Tag.html +4 -4
  282. package/docs/types/Tag2D.html +4 -4
  283. package/docs/types/Tag3D.html +4 -4
  284. package/docs/types/TagContentType.html +4 -4
  285. package/docs/types/TagDimensionType.html +4 -4
  286. package/docs/types/TagElement.html +4 -4
  287. package/docs/types/TagEvents.html +4 -4
  288. package/docs/types/TagGLTFObject.html +4 -4
  289. package/docs/types/TagHooks.html +4 -4
  290. package/docs/types/TagIconSize.html +4 -4
  291. package/docs/types/TagId.html +4 -4
  292. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  293. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  294. package/docs/types/WorkCode.html +4 -4
  295. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  296. package/docs/variables/PLUGIN.html +4 -4
  297. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  298. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  299. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  300. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  301. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  302. package/libs/CruisePlugin/Controller.js +1 -1
  303. package/libs/CruisePlugin/index.js +1 -1
  304. package/libs/GuideLinePlugin/Controller.js +18 -17
  305. package/libs/GuideLinePlugin/GuideLineItem/index.js +53 -54
  306. package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
  307. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +89 -59
  308. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +8 -4
  309. package/libs/GuideLinePlugin/index.js +1 -1
  310. package/libs/GuideLinePlugin/typing.d.ts +7 -3
  311. package/libs/base/BasePlugin.js +1 -1
  312. package/libs/index.js +1 -1
  313. package/package.json +1 -1
@@ -1,118 +1,117 @@
1
- var G = Object.defineProperty;
1
+ var L = Object.defineProperty;
2
2
  var w = Object.getOwnPropertySymbols;
3
- var L = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
4
- var d = (o, e, t) => e in o ? G(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, c = (o, e) => {
3
+ var S = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
4
+ var d = (o, e, t) => e in o ? L(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, h = (o, e) => {
5
5
  for (var t in e || (e = {}))
6
- L.call(e, t) && d(o, t, e[t]);
6
+ S.call(e, t) && d(o, t, e[t]);
7
7
  if (w)
8
8
  for (var t of w(e))
9
- P.call(e, t) && d(o, t, e[t]);
9
+ _.call(e, t) && d(o, t, e[t]);
10
10
  return o;
11
11
  };
12
12
  var s = (o, e, t) => (d(o, typeof e != "symbol" ? e + "" : e, t), t);
13
- var h = (o, e, t) => new Promise((r, n) => {
14
- var l = (i) => {
13
+ var c = (o, e, t) => new Promise((r, n) => {
14
+ var l = (a) => {
15
15
  try {
16
- a(t.next(i));
17
- } catch (m) {
18
- n(m);
16
+ i(t.next(a));
17
+ } catch (p) {
18
+ n(p);
19
19
  }
20
- }, p = (i) => {
20
+ }, m = (a) => {
21
21
  try {
22
- a(t.throw(i));
23
- } catch (m) {
24
- n(m);
22
+ i(t.throw(a));
23
+ } catch (p) {
24
+ n(p);
25
25
  }
26
- }, a = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(l, p);
27
- a((t = t.apply(o, e)).next());
26
+ }, i = (a) => a.done ? r(a.value) : Promise.resolve(a.value).then(l, m);
27
+ i((t = t.apply(o, e)).next());
28
28
  });
29
- import { objectAssignDeepExports as S } from "../../vendor/object-assign-deep/objectAssignDeep.js";
30
- import { GuideLineModeItem as x } from "../GuideLineModeItem/index.js";
31
- import _ from "../../CruisePlugin/Controller.js";
32
- import { logError as k } from "../../shared-utils/log.js";
33
- import { to as v } from "../../shared-utils/to.js";
34
- import { Subscribe as C } from "@realsee/five";
35
- import { changeMode as b } from "../../shared-utils/five/changeMode.js";
36
- class E {
29
+ import { GuideLineModeItem as y } from "../GuideLineModeItem/index.js";
30
+ import P from "../../CruisePlugin/Controller.js";
31
+ import { logError as x } from "../../shared-utils/log.js";
32
+ import { to as k } from "../../shared-utils/to.js";
33
+ import { Subscribe as v } from "@realsee/five";
34
+ import { changeMode as C } from "../../shared-utils/five/changeMode.js";
35
+ class M {
37
36
  constructor(e) {
38
37
  s(this, "id");
39
38
  s(this, "renderID");
40
39
  s(this, "isGuideLine", !0);
41
40
  s(this, "panoramaItem");
42
41
  s(this, "modelItem");
43
- s(this, "hooks", new C());
42
+ s(this, "hooks", new v());
44
43
  s(this, "plugin");
45
44
  s(this, "five");
46
- s(this, "logError", (e) => k("GuideLineItem: ", e));
47
- this.id = e.id, this.five = e.five, this.plugin = e.plugin, this.panoramaItem = new x(this.five, { mode: "panorama", plugin: this.plugin, parent: this }), this.modelItem = new x(this.five, { mode: "model", plugin: this.plugin, parent: this });
45
+ s(this, "logError", (e) => x("GuideLineItem: ", e));
46
+ this.id = e.id, this.five = e.five, this.plugin = e.plugin, this.panoramaItem = new y(this.five, { mode: "panorama", plugin: this.plugin, parent: this }), this.modelItem = new y(this.five, { mode: "model", plugin: this.plugin, parent: this });
48
47
  }
49
48
  setData(e) {
50
49
  this.setDataByMode("panorama", e), this.setDataByMode("model", e);
51
50
  }
52
51
  setDataByMode(e, t) {
53
- const r = e === "panorama" ? this.panoramaItem : this.modelItem, n = e === "panorama" ? t.panorama_style : t.model_style, l = t.path, p = { url: this.plugin.staticPrefix + "/release/web/arrow6.b6ce0c62.png" }, a = n, i = S({ texture: p }, n);
52
+ const r = e === "panorama" ? this.panoramaItem : this.modelItem, n = e === "panorama" ? t.panorama_style : t.model_style, l = t.path, m = n, i = n;
54
53
  if (t.pano_group) {
55
- const m = e === "panorama";
56
- r.setGeometryByPanoGroup(t.pano_group, c({ skipPanoGroup: m }, a));
54
+ const a = e === "panorama";
55
+ r.setGeometryByPanoGroup(t.pano_group, h({ skipPanoGroup: a }, m));
57
56
  } else
58
- t.path && r.setGeometryByPath(l, a);
57
+ t.path && r.setGeometryByPath(l, m);
59
58
  r.setMartial(i), n != null && n.start_tag && r.setStartTag(n.start_tag), n != null && n.end_tag && r.setEndTag(n.end_tag);
60
59
  }
61
60
  dispose() {
62
61
  this.panoramaItem.dispose(), this.modelItem.dispose();
63
62
  }
64
63
  walk(e) {
65
- return h(this, null, function* () {
64
+ return c(this, null, function* () {
66
65
  if (!this.panoramaItem.panoGroup)
67
66
  return;
68
- const t = c({ panoIndexList: this.panoramaItem.panoGroup }, e);
67
+ const t = h({ panoIndexList: this.panoramaItem.panoGroup }, e);
69
68
  this.hooks.emit("walkStart", { userAction: !0 });
70
- const [r] = yield v(M(this.five, t));
69
+ const [r] = yield k(E(this.five, t));
71
70
  if (this.hooks.emit("walkEnded", { userAction: !0 }), r)
72
71
  return this.logError(r.message);
73
72
  });
74
73
  }
75
74
  }
76
- function M(o, e) {
77
- return h(this, null, function* () {
75
+ function E(o, e) {
76
+ return c(this, null, function* () {
78
77
  if (e.panoIndexList.length === 0)
79
78
  return;
80
79
  const t = o.getCurrentState();
81
- t.mode !== "Panorama" && (yield b(o, ["Panorama", { longitude: t.longitude, latitude: 0, panoIndex: e.panoIndexList[0] }]));
82
- const r = new _(o, { useGuideLine: !1 });
80
+ t.mode !== "Panorama" && (yield C(o, ["Panorama", { longitude: t.longitude, latitude: 0, panoIndex: e.panoIndexList[0] }]));
81
+ const r = new P(o, { useGuideLine: !1 });
83
82
  yield r.load(e), yield new Promise((n, l) => {
84
- const p = o.getCurrentState();
85
- let a = e.panoIndexList.slice();
86
- p.panoIndex === a[0] && m(p.panoIndex), r.playFromStart();
87
- function i(u) {
83
+ const m = o.getCurrentState();
84
+ let i = e.panoIndexList.slice();
85
+ m.panoIndex === i[0] && p(m.panoIndex), r.playFromStart();
86
+ function a(u) {
88
87
  if (u !== "Panorama")
89
88
  return f(new Error("mode not match"));
90
89
  }
91
- function m(u) {
92
- const I = a[0];
93
- if (a = a.slice(1), u !== I)
90
+ function p(u) {
91
+ const I = i[0];
92
+ if (i = i.slice(1), u !== I)
94
93
  return f(new Error("panoIndex not match, wanted: " + I + ", got: " + u));
95
- if (a.length === 0)
96
- return y();
94
+ if (i.length === 0)
95
+ return G();
97
96
  }
98
97
  function g() {
99
- o.off("modeChange", i), o.off("panoArrived", m);
98
+ o.off("modeChange", a), o.off("panoArrived", p);
100
99
  }
101
100
  function f(u) {
102
101
  g(), l(u);
103
102
  }
104
- function y() {
103
+ function G() {
105
104
  g(), n();
106
105
  }
107
- o.on("modeChange", i), o.on("panoArrived", m);
106
+ o.on("modeChange", a), o.on("panoArrived", p);
108
107
  });
109
108
  });
110
109
  }
111
- const z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
110
+ const O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
112
111
  __proto__: null,
113
- GuideLineItem: E
112
+ GuideLineItem: M
114
113
  }, Symbol.toStringTag, { value: "Module" }));
115
114
  export {
116
- E as GuideLineItem,
117
- z as GuideLineItem$1
115
+ M as GuideLineItem,
116
+ O as GuideLineItem$1
118
117
  };
@@ -1,4 +1,3 @@
1
- import "../vendor/object-assign-deep/objectAssignDeep.js";
2
1
  import "./GuideLineModeItem/index.js";
3
2
  import "../CruisePlugin/Controller.js";
4
3
  import "../shared-utils/log.js";
@@ -36,6 +35,7 @@ import "../shared-utils/animationFrame/BetterTween.js";
36
35
  import "../shared-utils/animationFrame/index.js";
37
36
  import "../shared-utils/three/loadTexture.js";
38
37
  import "../PanoTagPlugin/controller/index.js";
38
+ import "../vendor/object-assign-deep/objectAssignDeep.js";
39
39
  import "../PanoTagPlugin/utils/addDebugPoints.js";
40
40
  import "../PanoTagPlugin/utils/tag/tagCheck.js";
41
41
  import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
@@ -1,31 +1,31 @@
1
1
  var v = Object.defineProperty;
2
2
  var g = Object.getOwnPropertySymbols;
3
- var b = Object.prototype.hasOwnProperty, k = Object.prototype.propertyIsEnumerable;
4
- var h = (r, e, i) => e in r ? v(r, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[e] = i, f = (r, e) => {
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) => {
5
5
  for (var i in e || (e = {}))
6
- b.call(e, i) && h(r, i, e[i]);
6
+ b.call(e, i) && d(s, i, e[i]);
7
7
  if (g)
8
8
  for (var i of g(e))
9
- k.call(e, i) && h(r, i, e[i]);
10
- return r;
9
+ y.call(e, i) && d(s, i, e[i]);
10
+ return s;
11
11
  };
12
- var t = (r, e, i) => (h(r, typeof e != "symbol" ? e + "" : e, i), i);
12
+ var t = (s, e, i) => (d(s, typeof e != "symbol" ? e + "" : e, i), i);
13
13
  import * as l from "three";
14
- import { logWarning as y, logError as C } from "../../shared-utils/log.js";
14
+ import { logWarning as C, logError as k } from "../../shared-utils/log.js";
15
15
  import { createLineGeometry as w } from "../utils/createLineGeometry.js";
16
- import { isPanoramaLike as P, isModelLike as U } from "../../shared-utils/five/mode.js";
16
+ import { isPanoramaLike as U, isModelLike as P } from "../../shared-utils/five/mode.js";
17
17
  import "hammerjs";
18
18
  import "@realsee/five";
19
19
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
20
20
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
21
21
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
22
- import { BetterTween as T, tweenProgress as x } from "../../shared-utils/animationFrame/BetterTween.js";
23
- import { loadTexture as E } from "../../shared-utils/three/loadTexture.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
24
  import p from "../../PanoTagPlugin/controller/index.js";
25
- import L from "../Components/Tag.js";
26
- import { filterAdjacentDistinct as V } from "../utils/index.js";
27
- import { objectAssignDeepExports as G } from "../../vendor/object-assign-deep/objectAssignDeep.js";
28
- const M = (
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 = (
29
29
  /* glsl */
30
30
  `
31
31
  varying vec2 vUv;
@@ -35,7 +35,7 @@ const M = (
35
35
  gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
36
36
  }
37
37
  `
38
- ), _ = (
38
+ ), G = (
39
39
  /* glsl */
40
40
  `
41
41
  // 是否使用颜色
@@ -48,6 +48,10 @@ const M = (
48
48
  uniform float mapOpacity;
49
49
  // 背景颜色
50
50
  uniform vec3 backgroundColor;
51
+ // 边框颜色
52
+ uniform vec3 borderColor;
53
+ // 边框透明度
54
+ uniform float borderOpacity;
51
55
  // 背景透明度
52
56
  uniform float backgroundOpacity;
53
57
  // 整体透明度
@@ -62,7 +66,7 @@ const M = (
62
66
  varying vec2 vUv;
63
67
 
64
68
  // 获取纹理颜色
65
- vec4 getTextureColor() {
69
+ vec4 getImage() {
66
70
  vec2 uv = vUv;
67
71
  uv.y = uv.y - vOffset;
68
72
  // 原始贴图颜色
@@ -78,24 +82,36 @@ const M = (
78
82
 
79
83
  // 获取线性渐变的透明度
80
84
  float linearGradientOpacity() {
81
- // 当前的 u
82
- float u = vUv.y;
85
+ // 当前的 v
86
+ float v = vUv.y;
83
87
  float gradientLength = 1.0;
84
- if (u <= gradientLength) {
85
- return u / gradientLength; // 在 [0, gradientLength] 范围内,透明度为 [0, 1]
86
- } else if (u <= maxU - gradientLength) {
88
+ if (v <= gradientLength) {
89
+ return v / gradientLength; // 在 [0, gradientLength] 范围内,透明度为 [0, 1]
90
+ } else if (v <= maxU - gradientLength) {
87
91
  return 1.0; // 在 (gradientLength, maxU - gradientLength) 范围内,透明度为 1
88
92
  } else {
89
- return (maxU - u) / gradientLength; // 在 [maxU - gradientLength, maxU] 范围内,透明度为 [1, 0]
93
+ return (maxU - v) / gradientLength; // 在 [maxU - gradientLength, maxU] 范围内,透明度为 [1, 0]
90
94
  }
91
95
  }
92
96
 
97
+ vec4 getBorder() {
98
+ float u = vUv.x;
99
+ float borderSize = 0.05;
100
+ if (u <= borderSize || u >= 1.0 - borderSize) {
101
+ return vec4(borderColor, borderOpacity);
102
+ }
103
+ return vec4(0.0, 0.0, 0.0, 0.0);
104
+ }
105
+
93
106
  void main() {
94
- vec4 image = getTextureColor();
107
+ vec4 image = getImage();
108
+ vec4 border = getBorder();
95
109
  // 设置背景颜色
96
110
  gl_FragColor = vec4(backgroundColor, backgroundOpacity);
97
111
  // 混合颜色和背景
98
112
  gl_FragColor = mix(gl_FragColor, image, image.a);
113
+ // 混合边框
114
+ gl_FragColor = mix(gl_FragColor, border, border.a);
99
115
  // 设置整体透明度
100
116
  gl_FragColor.a = gl_FragColor.a * opacity;
101
117
  gl_FragColor.a = gl_FragColor.a * linearGradientOpacity();
@@ -103,7 +119,7 @@ const M = (
103
119
  }
104
120
  `
105
121
  );
106
- class A {
122
+ class M {
107
123
  constructor(e, i) {
108
124
  t(this, "startTagContainer");
109
125
  t(this, "endTagContainer");
@@ -129,12 +145,12 @@ class A {
129
145
  t(this, "plugin");
130
146
  t(this, "textureHasLoaded", !1);
131
147
  t(this, "disposed", !1);
132
- t(this, "flowAnime", new T({ progress: 0 }).to({ progress: 1 }).duration(5e3).repeat(1 / 0));
133
- t(this, "flickerAnime", x(300).yoyo(!0).repeat(5));
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));
134
150
  t(this, "dispose", () => {
135
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());
136
152
  });
137
- t(this, "onTagContainerChange", (e, i) => new L({ target: e, intro: !0, props: i.data }).$destroy);
153
+ t(this, "onTagContainerChange", (e, i) => new T({ target: e, intro: !0, props: i.data }).$destroy);
138
154
  /** 当设置 GuideLinePLugin 展示 */
139
155
  t(this, "onPluginShow", () => {
140
156
  this.updateVisible();
@@ -161,7 +177,7 @@ class A {
161
177
  });
162
178
  /** 模型状态变更 */
163
179
  t(this, "onFiveModeChange", (e) => {
164
- this.modeVisible = this.mode === "panorama" ? P(e) : U(e), this.updateVisible();
180
+ this.modeVisible = this.mode === "panorama" ? U(e) : P(e), this.updateVisible();
165
181
  });
166
182
  t(this, "onFlowAnimeUpdate", (e) => {
167
183
  const { progress: i } = e;
@@ -171,12 +187,12 @@ class A {
171
187
  const { progress: i } = e;
172
188
  this.mesh.material.uniforms.flicker.value = 1 - i, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
173
189
  });
174
- t(this, "logWarning", (e) => y("GuideLineModeItem: ", e));
175
- t(this, "logError", (e) => C("GuideLineModeItem: ", e));
190
+ t(this, "logWarning", (e) => C("GuideLineModeItem: ", e));
191
+ t(this, "logError", (e) => k("GuideLineModeItem: ", e));
176
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) };
177
- const s = new l.BufferGeometry(), a = new l.ShaderMaterial({
178
- vertexShader: M,
179
- fragmentShader: _,
193
+ const r = new l.BufferGeometry(), a = new l.ShaderMaterial({
194
+ vertexShader: V,
195
+ fragmentShader: G,
180
196
  transparent: !0,
181
197
  uniforms: {
182
198
  map: { value: null },
@@ -185,13 +201,15 @@ class A {
185
201
  mapOpacity: { value: 1 },
186
202
  backgroundColor: { value: new l.Color() },
187
203
  backgroundOpacity: { value: 0 },
204
+ borderColor: { value: new l.Color() },
205
+ borderOpacity: { value: 0 },
188
206
  opacity: { value: 1 },
189
207
  flicker: { value: 1 },
190
208
  maxU: { value: 0 },
191
209
  vOffset: { value: 0 }
192
210
  }
193
211
  });
194
- this.mesh = new l.Mesh(s, a), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.plugin.hooks.on("show", this.onPluginShow), this.plugin.hooks.on("hide", this.onPluginHide), this.plugin.hooks.on("enable", this.onPluginEnable), this.plugin.hooks.on("disable", this.onPluginDisable), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.onFiveModeChange(this.five.getCurrentState().mode);
212
+ this.mesh = new l.Mesh(r, a), this.mesh.name = "GuideLineModeItem", this.mode === "panorama" && (this.parent.hooks.on("walkStart", this.onWalkAnimationStart), this.parent.hooks.on("walkEnded", this.onWalkAnimationEnd)), this.flowAnime.onUpdate(this.onFlowAnimeUpdate), this.flickerAnime.onUpdate(this.onFlickerAnimeUpdate), this.plugin.hooks.on("show", this.onPluginShow), this.plugin.hooks.on("hide", this.onPluginHide), this.plugin.hooks.on("enable", this.onPluginEnable), this.plugin.hooks.on("disable", this.onPluginDisable), this.plugin.hooks.on("dispose", this.dispose), this.five.on("modeChange", this.onFiveModeChange), this.onFiveModeChange(this.five.getCurrentState().mode);
195
213
  }
196
214
  get panoGroup() {
197
215
  return this._panoGroup;
@@ -226,25 +244,25 @@ class A {
226
244
  return this.logError("disposed");
227
245
  if (!this.five.work)
228
246
  return this.logError("setPathByPanoGroup: work is not ready");
229
- const s = V(e);
230
- if (this._panoGroup = s, (i == null ? void 0 : i.skipPanoGroup) !== void 0) {
231
- const o = i.skipPanoGroup ? s.map((n) => this.five.work.observers[n]).map((n) => n.standingPosition.clone()) : null;
247
+ const r = L(e);
248
+ 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;
232
250
  this.skippedPositions = o;
233
251
  }
234
- const a = this.getPathFromPanoGroup(s, this.five.work, i);
252
+ const a = this.getPathFromPanoGroup(r, this.five.work, i);
235
253
  this.path = a, this.setGeometryByPath(a, i);
236
254
  }
237
255
  /** 通过路径设置线条形状 */
238
256
  setGeometryByPath(e, i) {
239
- var d, u, m;
257
+ var h, u, m;
240
258
  if (this.disposed)
241
259
  return this.logError("disposed");
242
- const s = (d = i == null ? void 0 : i.scale) != null ? d : 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;
243
- this.path = e, this.scale = s, this.width = a, this.unitLength = o;
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;
244
262
  const { geometry: n, maxU: c } = w({
245
263
  path: e,
246
- width: a * s,
247
- unitLength: o * s,
264
+ width: a * r,
265
+ unitLength: o * r,
248
266
  skipPositions: this.skippedPositions
249
267
  });
250
268
  this.mesh.geometry = n, this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxU.value = c, this.five.needsRender = !0;
@@ -254,25 +272,31 @@ class A {
254
272
  var i;
255
273
  if (this.disposed)
256
274
  return this.logError("disposed");
257
- (e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), ((i = e == null ? void 0 : e.texture) == null ? void 0 : i.url) !== void 0 && this.setTextureUrl(e.texture.url), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity);
275
+ (e == null ? void 0 : e.visible) !== void 0 && this.setDefaultVisible(e.visible), (e == null ? void 0 : e.color) !== void 0 && this.setColor(e.color), (e == null ? void 0 : e.opacity) !== void 0 && this.setOpacity(e.opacity), ((i = e == null ? void 0 : e.texture) == null ? void 0 : i.url) !== void 0 && this.setTextureUrl(e.texture.url), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity);
258
276
  }
259
277
  /** 设置贴图颜色 */
260
278
  setColor(e) {
261
279
  if (this.disposed)
262
280
  return this.logError("disposed");
263
- this.mesh.material.uniforms.useMapColor.value = e ? 1 : 0, this.mesh.material.uniforms.mapColor.value = new l.Color().setRGB(e[0], e[1], e[2]), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
281
+ e && (this.mesh.material.uniforms.mapColor.value = new l.Color().set(e)), this.mesh.material.uniforms.useMapColor.value = e ? 1 : 0, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
264
282
  }
265
- /** 设置背景颜色 */
266
- setBackgroundColor(e) {
283
+ /** 设置边框 */
284
+ setBorderColor(e) {
267
285
  if (this.disposed)
268
286
  return this.logError("disposed");
269
- this.mesh.material.uniforms.backgroundColor.value = new l.Color().setRGB(e[0], e[1], e[2]), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
287
+ this.mesh.material.uniforms.borderColor.value = new l.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
270
288
  }
271
- /** 设置整体透明度 */
272
- setOpacity(e) {
289
+ /** 设置边框透明度 */
290
+ setBorderOpacity(e) {
273
291
  if (this.disposed)
274
292
  return this.logError("disposed");
275
- this.mesh.material.uniforms.opacity.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
293
+ this.mesh.material.uniforms.borderOpacity.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
294
+ }
295
+ /** 设置背景颜色 */
296
+ setBackgroundColor(e) {
297
+ if (this.disposed)
298
+ return this.logError("disposed");
299
+ console.log("🐶 ==> color:", e), this.mesh.material.uniforms.backgroundColor.value = new l.Color().set(e), this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
276
300
  }
277
301
  /** 设置背景透明度 */
278
302
  setBackgroundOpacity(e) {
@@ -280,6 +304,12 @@ class A {
280
304
  return this.logError("disposed");
281
305
  this.mesh.material.uniforms.backgroundOpacity.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
282
306
  }
307
+ /** 设置整体透明度 */
308
+ setOpacity(e) {
309
+ if (this.disposed)
310
+ return this.logError("disposed");
311
+ this.mesh.material.uniforms.opacity.value = e, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
312
+ }
283
313
  /** 设置贴图透明度 */
284
314
  setMapOpacity(e) {
285
315
  if (this.disposed)
@@ -290,7 +320,7 @@ class A {
290
320
  setTextureUrl(e) {
291
321
  if (this.disposed)
292
322
  return this.logError("disposed");
293
- this.textureUrl = e, E(e).then((i) => {
323
+ this.textureUrl = e, _(e).then((i) => {
294
324
  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());
295
325
  });
296
326
  }
@@ -307,7 +337,7 @@ class A {
307
337
  this.flickerAnime.play();
308
338
  }
309
339
  setTag(e, i) {
310
- const a = G({}, {
340
+ const a = O({}, {
311
341
  contentType: "Custom",
312
342
  stickType: "2DPoint",
313
343
  config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"] } },
@@ -328,21 +358,21 @@ class A {
328
358
  this.mode === "model" && this.flowAnime.stop(), this.five.scene.remove(this.mesh), this.five.needsRender = !0;
329
359
  }
330
360
  /** 通过 panoIndex 数组计算路径 */
331
- getPathFromPanoGroup(e, i, s) {
361
+ getPathFromPanoGroup(e, i, r) {
332
362
  if (e.length < 2)
333
363
  return [];
334
364
  const o = e.map((n) => i.observers[n]).map((n) => n.standingPosition.toArray());
335
- return [f({ type: "CatmullRomCurve3", points: o }, s)];
365
+ return [f({ type: "CatmullRomCurve3", points: o }, r)];
336
366
  }
337
367
  }
338
- function F(r) {
339
- return r.contentType === "Custom";
368
+ function F(s) {
369
+ return s.contentType === "Custom";
340
370
  }
341
371
  const Q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
342
372
  __proto__: null,
343
- GuideLineModeItem: A
373
+ GuideLineModeItem: M
344
374
  }, Symbol.toStringTag, { value: "Module" }));
345
375
  export {
346
- A as GuideLineModeItem,
376
+ M as GuideLineModeItem,
347
377
  Q as GuideLineModeItem$1
348
378
  };
@@ -63,13 +63,17 @@ declare class GuideLineModeItem {
63
63
  /** 设置线条材质 */
64
64
  setMartial(options?: PluginType.GuideLineMaterialStyle): void;
65
65
  /** 设置贴图颜色 */
66
- setColor(color: null | number[]): void;
66
+ setColor(color: null | string): void;
67
+ /** 设置边框 */
68
+ setBorderColor(color: string): void;
69
+ /** 设置边框透明度 */
70
+ setBorderOpacity(opacity: number): void;
67
71
  /** 设置背景颜色 */
68
- setBackgroundColor(color: number[]): void;
69
- /** 设置整体透明度 */
70
- setOpacity(opacity: number): void;
72
+ setBackgroundColor(color: string): void;
71
73
  /** 设置背景透明度 */
72
74
  setBackgroundOpacity(opacity: number): void;
75
+ /** 设置整体透明度 */
76
+ setOpacity(opacity: number): void;
73
77
  /** 设置贴图透明度 */
74
78
  setMapOpacity(opacity: number): void;
75
79
  /** 设置贴图 */
@@ -34,7 +34,6 @@ import "../CruisePlugin/utils/vectorToCoordinates.js";
34
34
  import "../CruisePlugin/utils/formatRad.js";
35
35
  import "../CruisePlugin/utils/linerValue.js";
36
36
  import "../CruisePlugin/utils/sleep.js";
37
- import "../vendor/object-assign-deep/objectAssignDeep.js";
38
37
  import "../shared-utils/log.js";
39
38
  import "./utils/createLineGeometry.js";
40
39
  import "../vendor/polyline-normals/index.js";
@@ -49,6 +48,7 @@ import "../shared-utils/animationFrame/BetterTween.js";
49
48
  import "../shared-utils/animationFrame/index.js";
50
49
  import "../shared-utils/three/loadTexture.js";
51
50
  import "../PanoTagPlugin/controller/index.js";
51
+ import "../vendor/object-assign-deep/objectAssignDeep.js";
52
52
  import "../PanoTagPlugin/utils/addDebugPoints.js";
53
53
  import "../PanoTagPlugin/utils/tag/tagCheck.js";
54
54
  import "../PanoTagPlugin/utils/actionAfterFiveModelLoad.js";
@@ -103,12 +103,16 @@ export interface GuideLineGeometryStyle {
103
103
  export interface GuideLineMaterialStyle {
104
104
  /** 是否可见 */
105
105
  visible?: boolean;
106
- /** rgb 颜色 [r, g, b] */
107
- color?: number[];
106
+ /** hex 颜色 */
107
+ color?: string;
108
108
  /** 背景颜色 */
109
- background_color?: number[];
109
+ background_color?: string;
110
110
  /** 背景透明度 */
111
111
  background_opacity?: number;
112
+ /** 边框颜色 */
113
+ border_color?: string;
114
+ /** 边框透明度 */
115
+ border_opacity?: number;
112
116
  /** 透明度 */
113
117
  opacity?: number;
114
118
  /** 贴图 */
@@ -14,7 +14,7 @@ let n = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- e(this, "VERSION", "2.16.0-13");
17
+ e(this, "VERSION", "2.16.0-14");
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-13", "background-color: #12ce9b;color:black;padding:0 6px;border-radius: 3px");
366
+ console.info("@realsee/dnalogel %cv2.16.0-14", "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-13",
11
+ "version": "2.16.0-14",
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*",