@realsee/dnalogel 3.78.1-alpha.1 → 3.79.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/CHANGELOG.md +15 -1
  2. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -0
  3. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
  4. package/dist/index.cjs.js +97 -102
  5. package/dist/index.js +14564 -16573
  6. package/dist/index.umd.js +90 -95
  7. package/libs/CruisePlugin/Move.js +14 -27
  8. package/libs/CruisePlugin/Work.js +61 -74
  9. package/libs/CruisePlugin/index.js +18 -31
  10. package/libs/GuideLinePlugin/Controller.js +18 -31
  11. package/libs/GuideLinePlugin/GuideLineItem.js +16 -29
  12. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +51 -48
  13. package/libs/GuideLinePlugin/GuideLineModeItem.js +16 -27
  14. package/libs/GuideLinePlugin/index.js +18 -31
  15. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +87 -77
  16. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +189 -135
  17. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +460 -432
  18. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +38 -126
  19. package/libs/PanoTagPlugin/Components/Tag/index.js +292 -393
  20. package/libs/PanoTagPlugin/Components/TagContainer.js +125 -135
  21. package/libs/PanoTagPlugin/Components/TagItem.js +318 -321
  22. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +61 -74
  23. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +95 -108
  24. package/libs/PanoTagPlugin/controller/index.js +41 -54
  25. package/libs/PanoTagPlugin/index.js +23 -36
  26. package/libs/PanoTagPlugin/tag.config.js +31 -1
  27. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +6 -0
  28. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +2 -3
  29. package/libs/base/BasePlugin.js +1 -1
  30. package/libs/index.js +169 -182
  31. package/libs/shared-utils/logger.js +1 -1
  32. package/libs/shared-utils/url/replace-static-prefix.js +12 -7
  33. package/libs/vendor/svelte/internal/index.js +235 -225
  34. package/package.json +2 -2
  35. package/dist/PanoTagPlugin/Components/Common/Arrow.svelte.d.ts +0 -1
  36. package/dist/PanoTagPlugin/Components/Common/Line/Polyline.svelte.d.ts +0 -1
  37. package/dist/PanoTagPlugin/Components/Common/Line/Straight.svelte.d.ts +0 -1
  38. package/dist/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
  39. package/dist/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
  40. package/dist/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
  41. package/dist/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
  42. package/dist/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
  43. package/dist/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
  44. package/dist/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
  45. package/dist/PanoTagPlugin/utils/constants.d.ts +0 -3
  46. package/dist/PanoTagPlugin/utils/doUtil.d.ts +0 -1
  47. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -198
  48. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.svelte.d.ts +0 -1
  49. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -258
  50. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.svelte.d.ts +0 -1
  51. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -358
  52. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.svelte.d.ts +0 -1
  53. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +0 -259
  54. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.svelte.d.ts +0 -1
  55. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -216
  56. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.svelte.d.ts +0 -1
  57. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -219
  58. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.svelte.d.ts +0 -1
  59. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -134
  60. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.svelte.d.ts +0 -1
@@ -10,8 +10,8 @@ var b = (l, p, e) => p in l ? w(l, p, { enumerable: !0, configurable: !0, writab
10
10
  B.call(p, e) && b(l, e, p[e]);
11
11
  return l;
12
12
  }, C = (l, p) => F(l, _(p));
13
- var m = (l, p, e) => (b(l, typeof p != "symbol" ? p + "" : p, e), e);
14
- var d = (l, p, e) => new Promise((t, i) => {
13
+ var d = (l, p, e) => (b(l, typeof p != "symbol" ? p + "" : p, e), e);
14
+ var m = (l, p, e) => new Promise((t, i) => {
15
15
  var o = (s) => {
16
16
  try {
17
17
  a(e.next(s));
@@ -155,25 +155,23 @@ import "../../shared-utils/three/GLTFLoader.js";
155
155
  import "@realsee/five/gltf-loader";
156
156
  import "../utils/planeNormal.js";
157
157
  import "../Components/Tag/index.js";
158
- import "../Components/Tag/TextTag/index.js";
159
- import "../Components/Tag/TextTag/TextTag.js";
160
- import "../Components/Common/Line/Straight.js";
158
+ import "../Components/Tag/MarketingTag.js";
159
+ import "../utils/px2rem.js";
160
+ import "../Components/Common/Shadow.js";
161
161
  import "../../vendor/svelte/transition/index.js";
162
162
  import "../../vendor/svelte/easing/index.js";
163
- import "../Components/Common/Shadow.js";
164
- import "../Components/Common/Text/FlyMText.js";
165
- import "../Components/Common/Text/FlyText.js";
166
- import "../utils/search.js";
167
- import "../utils/constants.js";
168
- import "../Components/Common/Arrow.js";
169
- import "../utils/doUtil.js";
170
163
  import "../../shared-utils/svelte/resizeObserver.js";
171
164
  import "../../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
172
- import "../Components/Tag/TextTag/TextPlaneTag.js";
165
+ import "../Components/Tag/Assets/marketingIcon.js";
166
+ import "../utils/noTypecheck.js";
167
+ import "../Components/Tag/AudioTag/index.js";
168
+ import "../Components/Tag/AudioTag/AudioPlaneTag.js";
169
+ import "../Components/Common/Icon/audioIcon.js";
173
170
  import "../Components/Common/Text/MText.js";
174
- import "../utils/px2rem.js";
175
- import "../Components/Tag/ImageTextTag.js";
176
- import "../Components/Common/Line/Polyline.js";
171
+ import "../Components/Common/Audio.js";
172
+ import "../utils/audio/SharedAudio.js";
173
+ import "../utils/audio/AudioDiagnostics.js";
174
+ import "../Components/Tag/MediaPlane.js";
177
175
  import "../Components/Common/Media.js";
178
176
  import "../../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
179
177
  import "../../vendor/svelte-carousel/src/components/Dots/Dots.js";
@@ -206,17 +204,6 @@ import "../../vendor/svelte-carousel/src/utils/lazy.js";
206
204
  import "../../vendor/svelte-carousel/src/utils/ProgressManager.js";
207
205
  import "../../vendor/svelte-carousel/src/utils/interval.js";
208
206
  import "../Components/Common/MediaItem.js";
209
- import "../Components/Tag/MarketingTag.js";
210
- import "../Components/Tag/Assets/marketingIcon.js";
211
- import "../utils/noTypecheck.js";
212
- import "../Components/Tag/AudioTag/index.js";
213
- import "../Components/Tag/AudioTag/AudioTag.js";
214
- import "../Components/Common/Audio.js";
215
- import "../utils/audio/SharedAudio.js";
216
- import "../utils/audio/AudioDiagnostics.js";
217
- import "../Components/Common/Icon/audioIcon.js";
218
- import "../Components/Tag/AudioTag/AudioPlaneTag.js";
219
- import "../Components/Tag/MediaPlane.js";
220
207
  import "../Components/Tag/LinkTag.js";
221
208
  import "../Components/Common/Icon/Icon.js";
222
209
  import "../utils/getImageInfo.js";
@@ -335,23 +322,23 @@ import "../Components/Common/TagPopover/TagPopoverToolBar.js";
335
322
  import "../Components/Common/TagPopover/ArrowRightIcon.js";
336
323
  import "../Components/Common/TagPopover/ShareIcon.js";
337
324
  import "../utils/popoverContainer.js";
338
- const I = "Dnalogel-PanoTagPlugin", Vs = (l) => `${I}--${l}`;
339
- class zs extends $ {
325
+ const I = "Dnalogel-PanoTagPlugin", Es = (l) => `${I}--${l}`;
326
+ class Us extends $ {
340
327
  constructor(e, t) {
341
328
  super(e);
342
329
  /** state */
343
- m(this, "state", { enabled: !0, visible: !0 });
330
+ d(this, "state", { enabled: !0, visible: !0 });
344
331
  /** debug */
345
- m(this, "debug");
346
- m(this, "debugUtil", new W(this));
332
+ d(this, "debug");
333
+ d(this, "debugUtil", new W(this));
347
334
  /** 全局 hover 启用状态,默认 true */
348
- m(this, "globalHoverEnabled", !0);
335
+ d(this, "globalHoverEnabled", !0);
349
336
  /** 更改 tag 模型 */
350
- m(this, "changeTagModel", (e, t) => d(this, null, function* () {
337
+ d(this, "changeTagModel", (e, t) => m(this, null, function* () {
351
338
  var i;
352
339
  e.data = v({}, e.data, t), yield (i = e.loadModel) == null ? void 0 : i.call(e);
353
340
  }));
354
- m(this, "handleFiveModeChange", (e) => {
341
+ d(this, "handleFiveModeChange", (e) => {
355
342
  const t = () => {
356
343
  this.filter2DPointTag.forEach((i) => {
357
344
  i.state.visible = !1, i.applyVisible();
@@ -365,7 +352,7 @@ class zs extends $ {
365
352
  };
366
353
  this.tags.length < 500 ? t() : this.five.ready().then(() => t());
367
354
  });
368
- m(this, "handleFiveWantsMoveToPano", () => {
355
+ d(this, "handleFiveWantsMoveToPano", () => {
369
356
  if (this.tags.length > 500) {
370
357
  this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] });
371
358
  return;
@@ -374,18 +361,18 @@ class zs extends $ {
374
361
  e.temporaryState.visible = !0;
375
362
  }), this.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.tags.forEach((e) => e.applyVisible());
376
363
  });
377
- m(this, "clickhandler", (e) => {
364
+ d(this, "clickhandler", (e) => {
378
365
  e.tag.onClick(e);
379
366
  });
380
- m(this, "handleFiveCameraUpdate", () => {
367
+ d(this, "handleFiveCameraUpdate", () => {
381
368
  this.filterPointTag.forEach((e) => e.updateScreenPosition());
382
369
  });
383
- m(this, "handleFiveCameraFovUpdate", () => {
370
+ d(this, "handleFiveCameraFovUpdate", () => {
384
371
  this.handleFiveCameraUpdate(), this.five.off("render.prepare", this.handleFiveCameraUpdate), this.five.on("render.prepare", this.handleFiveCameraUpdate), setTimeout(() => {
385
372
  this.five.off("render.prepare", this.handleFiveCameraUpdate);
386
373
  }, 1e3);
387
374
  });
388
- m(this, "handleFivePanoArrived", () => d(this, null, function* () {
375
+ d(this, "handleFivePanoArrived", () => m(this, null, function* () {
389
376
  this.filter2DPointTag.forEach((e) => {
390
377
  e.state.visible = !1, e.applyVisible();
391
378
  }), this.tagsDo(this.tags, (e) => {
@@ -408,16 +395,16 @@ class zs extends $ {
408
395
  });
409
396
  }));
410
397
  /** 楼层切换时,需要更新标签可见性 */
411
- m(this, "handleFiveModelShownFloorChange", () => {
398
+ d(this, "handleFiveModelShownFloorChange", () => {
412
399
  this.tagsDo(this.tags, (e) => e.updateVisible());
413
400
  });
414
- m(this, "onFiveRefined", D(() => {
401
+ d(this, "onFiveRefined", D(() => {
415
402
  A(this.five.getCurrentState().mode) ? this.setUnfoldedByCamera() : this.tags.forEach((e) => e.cache.clear()), this.tagsDo(this.tags, (e) => e.updateVisible());
416
403
  }));
417
- m(this, "onFiveEveryReady", () => {
404
+ d(this, "onFiveEveryReady", () => {
418
405
  this.setUnfoldedByCamera(), A(this.five.getCurrentState().mode) && this.tagsDo(this.tags, (e) => e.updateVisible());
419
406
  });
420
- m(this, "render", () => {
407
+ d(this, "render", () => {
421
408
  this.renderQueue.forEach((e, t) => {
422
409
  const { keys: i } = e;
423
410
  if (t === "TagContainerSvelte") {
@@ -473,7 +460,7 @@ class zs extends $ {
473
460
  * @description 加载数据
474
461
  */
475
462
  load(e) {
476
- return d(this, null, function* () {
463
+ return m(this, null, function* () {
477
464
  var o, n;
478
465
  c.clearSharedMeshRegistry(), this.clearTags();
479
466
  try {
@@ -509,7 +496,7 @@ class zs extends $ {
509
496
  * @param options.updateMaskUrl 是否更新 mask。若为 true 且该 panoIndex 已有 Mask 标签,仅更新其 maskUrl(不变 color、style),并添加新标签
510
497
  */
511
498
  addTag(e, t) {
512
- return d(this, null, function* () {
499
+ return m(this, null, function* () {
513
500
  var a, s;
514
501
  const o = (Array.isArray(e) ? e : [e]).filter((r) => r.stickType === "3DBox" || r.stickType === "Mask" || r.position);
515
502
  if (t != null && t.updateMaskUrl && o.length === 1 && o[0].stickType === "Mask") {
@@ -523,7 +510,7 @@ class zs extends $ {
523
510
  const h = N(r);
524
511
  return h === "2DPoint" || h === "3DPoint" ? new q(this, r) : h === "Model" ? new J(this, r) : h === "Plane" ? new Z(this, r) : h === "3DBox" ? new Y(this, r) : h === "Polygon" ? new K(this, r) : h === "Mask" ? new c(this, r) : null;
525
512
  });
526
- return n.forEach((r) => x(r)), this.tags.push(...n), this.tagsLengthWillUpdate = !0, j(this.five).then(() => d(this, null, function* () {
513
+ return n.forEach((r) => x(r)), this.tags.push(...n), this.tagsLengthWillUpdate = !0, j(this.five).then(() => m(this, null, function* () {
527
514
  var r, h;
528
515
  this.store.eventListenerDisposer && ((h = (r = this.store).eventListenerDisposer) == null || h.call(r)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(n, (f) => {
529
516
  this.tags.includes(f) && (f.updateVisible(), f.updateZIndex());
@@ -560,7 +547,7 @@ class zs extends $ {
560
547
  });
561
548
  }
562
549
  show(e) {
563
- return d(this, null, function* () {
550
+ return m(this, null, function* () {
564
551
  if (this.checkDisposed())
565
552
  return;
566
553
  const { userAction: t = !0 } = e != null ? e : {};
@@ -568,7 +555,7 @@ class zs extends $ {
568
555
  });
569
556
  }
570
557
  hide(e) {
571
- return d(this, null, function* () {
558
+ return m(this, null, function* () {
572
559
  if (this.checkDisposed())
573
560
  return;
574
561
  const { userAction: t = !0 } = e != null ? e : {};
@@ -612,7 +599,7 @@ class zs extends $ {
612
599
  * @param {Partial<anime.AnimeParams>} animeConfig
613
600
  */
614
601
  blinkTagById(e, t) {
615
- return d(this, null, function* () {
602
+ return m(this, null, function* () {
616
603
  var i;
617
604
  return (i = this.getTagById(e)) == null ? void 0 : i.blink(t);
618
605
  });
@@ -747,7 +734,7 @@ class zs extends $ {
747
734
  * @description 设置 unfolded
748
735
  */
749
736
  setUnfolded() {
750
- return d(this, null, function* () {
737
+ return m(this, null, function* () {
751
738
  return new Promise((e) => {
752
739
  setTimeout(() => {
753
740
  this.setUnfoldedByCamera(), e();
@@ -917,7 +904,7 @@ class zs extends $ {
917
904
  }
918
905
  }
919
906
  export {
920
- zs as PanoTagPluginController,
921
- zs as default,
922
- Vs as pluginFlag
907
+ Us as PanoTagPluginController,
908
+ Us as default,
909
+ Es as pluginFlag
923
910
  };
@@ -1,7 +1,7 @@
1
1
  import r from "./controller/index.js";
2
- import { pluginFlag as Si } from "./controller/index.js";
3
- import { defaultGlobalConfig as Vi } from "./typings/tag/TagConfig.js";
4
- import { ContentType as Xi, DimensionType as Yi, PointType as Zi } from "./Archive/deprecated.js";
2
+ import { pluginFlag as Ai } from "./controller/index.js";
3
+ import { defaultGlobalConfig as Ei } from "./typings/tag/TagConfig.js";
4
+ import { ContentType as Ii, DimensionType as Ji, PointType as Ki } from "./Archive/deprecated.js";
5
5
  import "three";
6
6
  import "../vendor/object-assign-deep/objectAssignDeep.js";
7
7
  import "../shared-utils/positionToVector3.js";
@@ -122,25 +122,23 @@ import "../shared-utils/three/GLTFLoader.js";
122
122
  import "@realsee/five/gltf-loader";
123
123
  import "./utils/planeNormal.js";
124
124
  import "./Components/Tag/index.js";
125
- import "./Components/Tag/TextTag/index.js";
126
- import "./Components/Tag/TextTag/TextTag.js";
127
- import "./Components/Common/Line/Straight.js";
125
+ import "./Components/Tag/MarketingTag.js";
126
+ import "./utils/px2rem.js";
127
+ import "./Components/Common/Shadow.js";
128
128
  import "../vendor/svelte/transition/index.js";
129
129
  import "../vendor/svelte/easing/index.js";
130
- import "./Components/Common/Shadow.js";
131
- import "./Components/Common/Text/FlyMText.js";
132
- import "./Components/Common/Text/FlyText.js";
133
- import "./utils/search.js";
134
- import "./utils/constants.js";
135
- import "./Components/Common/Arrow.js";
136
- import "./utils/doUtil.js";
137
130
  import "../shared-utils/svelte/resizeObserver.js";
138
131
  import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
139
- import "./Components/Tag/TextTag/TextPlaneTag.js";
132
+ import "./Components/Tag/Assets/marketingIcon.js";
133
+ import "./utils/noTypecheck.js";
134
+ import "./Components/Tag/AudioTag/index.js";
135
+ import "./Components/Tag/AudioTag/AudioPlaneTag.js";
136
+ import "./Components/Common/Icon/audioIcon.js";
140
137
  import "./Components/Common/Text/MText.js";
141
- import "./utils/px2rem.js";
142
- import "./Components/Tag/ImageTextTag.js";
143
- import "./Components/Common/Line/Polyline.js";
138
+ import "./Components/Common/Audio.js";
139
+ import "./utils/audio/SharedAudio.js";
140
+ import "./utils/audio/AudioDiagnostics.js";
141
+ import "./Components/Tag/MediaPlane.js";
144
142
  import "./Components/Common/Media.js";
145
143
  import "../vendor/svelte-carousel/src/components/Carousel/Carousel.js";
146
144
  import "../vendor/svelte-carousel/src/components/Dots/Dots.js";
@@ -173,17 +171,6 @@ import "../vendor/svelte-carousel/src/utils/lazy.js";
173
171
  import "../vendor/svelte-carousel/src/utils/ProgressManager.js";
174
172
  import "../vendor/svelte-carousel/src/utils/interval.js";
175
173
  import "./Components/Common/MediaItem.js";
176
- import "./Components/Tag/MarketingTag.js";
177
- import "./Components/Tag/Assets/marketingIcon.js";
178
- import "./utils/noTypecheck.js";
179
- import "./Components/Tag/AudioTag/index.js";
180
- import "./Components/Tag/AudioTag/AudioTag.js";
181
- import "./Components/Common/Audio.js";
182
- import "./utils/audio/SharedAudio.js";
183
- import "./utils/audio/AudioDiagnostics.js";
184
- import "./Components/Common/Icon/audioIcon.js";
185
- import "./Components/Tag/AudioTag/AudioPlaneTag.js";
186
- import "./Components/Tag/MediaPlane.js";
187
174
  import "./Components/Tag/LinkTag.js";
188
175
  import "./Components/Common/Icon/Icon.js";
189
176
  import "./utils/getImageInfo.js";
@@ -309,14 +296,14 @@ import "./Components/Common/TagPopover/ArrowRightIcon.js";
309
296
  import "./Components/Common/TagPopover/ShareIcon.js";
310
297
  import "./utils/popoverContainer.js";
311
298
  import "../shared-utils/animationFrame/BetterTween.js";
312
- const Oi = (o, t) => new r(o, t);
299
+ const qi = (o, t) => new r(o, t);
313
300
  export {
314
- Xi as ContentType,
315
- Yi as DimensionType,
316
- Oi as PanoTagPlugin,
301
+ Ii as ContentType,
302
+ Ji as DimensionType,
303
+ qi as PanoTagPlugin,
317
304
  r as PanoTagPluginController,
318
- Zi as PointType,
319
- Oi as default,
320
- Vi as defaultGlobalConfig,
321
- Si as pluginFlag
305
+ Ki as PointType,
306
+ qi as default,
307
+ Ei as defaultGlobalConfig,
308
+ Ai as pluginFlag
322
309
  };
@@ -14,7 +14,7 @@ const e = {
14
14
  ratio: 35e-4
15
15
  },
16
16
  popoverConfig: {
17
- enabled: !1,
17
+ enabled: !0,
18
18
  // debug: true,
19
19
  trigger: "hover",
20
20
  triggerDelay: 500,
@@ -63,30 +63,50 @@ const e = {
63
63
  unfoldedConfig: {
64
64
  // VR 跳转标签没有收起状态
65
65
  keep: "unfolded"
66
+ },
67
+ popoverConfig: {
68
+ enabled: !1
66
69
  }
67
70
  },
68
71
  Panorama: {
69
72
  unfoldedConfig: {
70
73
  // VR 跳转标签没有收起状态
71
74
  keep: "unfolded"
75
+ },
76
+ popoverConfig: {
77
+ enabled: !1
72
78
  }
73
79
  },
74
80
  VRLink: {
75
81
  unfoldedConfig: {
76
82
  // VR 跳转标签没有收起状态
77
83
  keep: "unfolded"
84
+ },
85
+ popoverConfig: {
86
+ enabled: !1
78
87
  }
79
88
  },
80
89
  PanoLink: {
81
90
  unfoldedConfig: {
82
91
  // VR 跳转标签没有收起状态
83
92
  keep: "unfolded"
93
+ },
94
+ popoverConfig: {
95
+ enabled: !1
96
+ }
97
+ },
98
+ Sticker: {
99
+ popoverConfig: {
100
+ enabled: !1
84
101
  }
85
102
  },
86
103
  MediaPlane: {
87
104
  unfoldedConfig: {
88
105
  keep: "unfolded"
89
106
  },
107
+ popoverConfig: {
108
+ enabled: !1
109
+ },
90
110
  initialData: {
91
111
  autoplayConfig: {
92
112
  autoplayCarousel: !0,
@@ -101,6 +121,9 @@ const e = {
101
121
  },
102
122
  visibleConfig: {
103
123
  visibleFiveMode: "all"
124
+ },
125
+ popoverConfig: {
126
+ enabled: !1
104
127
  }
105
128
  },
106
129
  Marketing: {
@@ -114,6 +137,13 @@ const e = {
114
137
  showMore: !1
115
138
  }
116
139
  }
140
+ },
141
+ Text: {
142
+ popoverConfig: {
143
+ toolbar: {
144
+ showMore: !1
145
+ }
146
+ }
117
147
  }
118
148
  }
119
149
  };
@@ -351,6 +351,12 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
351
351
  * @default '查看更多'
352
352
  */
353
353
  viewMoreText?: string;
354
+ /**
355
+ * @description 仅显示分享按钮时(showMore: false)展示在分享图标旁边的文案
356
+ * @description 用于 i18n 场景,由业务侧传入,如 "立即分享"
357
+ * @default undefined(不显示文案)
358
+ */
359
+ shareText?: string;
354
360
  /**
355
361
  * @description 鼠标悬停前的拦截函数,返回 true 允许 hover,false 阻止 hover
356
362
  */
@@ -21,7 +21,7 @@ export type TagContentType = keyof typeof ContentType;
21
21
  export interface ContentTypeMapInterface {
22
22
  /** 文字标签 */
23
23
  Text: {
24
- appearance?: 'line' | 'plane';
24
+ appearance?: 'plane';
25
25
  /** @deprecated: please use 'title' */
26
26
  text?: string;
27
27
  title?: string;
@@ -52,8 +52,7 @@ export interface ContentTypeMapInterface {
52
52
  /** @deprecated: 'text' replace by title */
53
53
  text?: string;
54
54
  title?: string;
55
- /** @description 'line' 是旧的那种有一条线的,默认为'line', 'plane' 是新的那种圆形的 */
56
- appearance?: 'line' | 'plane';
55
+ appearance?: 'plane';
57
56
  theme?: 'dark' | 'light';
58
57
  audioUrl: string;
59
58
  };
@@ -23,7 +23,7 @@ let I = class {
23
23
  /**
24
24
  * @realsee/dnalogel 版本号
25
25
  */
26
- r(this, "VERSION", "3.78.1-alpha.1");
26
+ r(this, "VERSION", "3.79.0-alpha.0");
27
27
  r(this, "NAME");
28
28
  r(this, "five");
29
29
  r(this, "workUtil");