@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
package/CHANGELOG.md CHANGED
@@ -1,9 +1,23 @@
1
1
  # CHANGELOG
2
- ## 3.78.1
2
+ ## 3.79.0-alpha.0
3
+
4
+ - **breaking change** feat(PanoTagPlugin): `popoverConfig.enabled` 默认值由 `false` 改为 `true`,Text / Audio / ImageText / Image / Video 类型标签现在默认使用 hover 悬浮面板(popover)而非内联展开。若需恢复旧行为,请显式设置 `globalConfig.popoverConfig.enabled: false`。
5
+ - **breaking change** feat(PanoTagPlugin): 移除 `Text.data.appearance = 'line'` 选项(带飞出文字动画的旧式样式)。内联模式下文字标签统一使用 `plane` 样式。
6
+ - **breaking change** feat(PanoTagPlugin): 移除 `Audio.data.appearance = 'line'` 选项(带竖线的旧式音频样式)。内联模式下音频标签统一使用圆形按钮的 `plane` 样式。
7
+ - feat(PanoTagPlugin): 新增 `popoverConfig.shareText` 配置,支持在 `showMore: false` 时为分享按钮配置 i18n 文案。
8
+ - feat(PanoTagPlugin): Text 标签内联面板(plane 模式)及 Popover 描述区域超长时支持内部滚动,底部渐隐提示。
9
+
10
+ ## 3.78.0
3
11
 
4
12
  - feat(PanoTagPlugin): popoverConfig 新增 `onHoverEnd` 回调,支持通过 `event.pointerType` 区分鼠标/触摸事件
5
13
  - feat(PanoTagPlugin): 新增 `__experimental_PolygonMeshConfig` 实验性 Polygon mesh 渲染配置
6
14
 
15
+ ## 3.77.10
16
+ - fix(shared-utils): 修复 replaceStaticPrefix 在 prefix 含端口号时丢失端口的问题
17
+
18
+ ## 3.77.9
19
+ - fix(GuideLinePlugin): 修复创建新 guideline 时箭头贴图未按 staticPrefix 配置替换的问题
20
+
7
21
  ## 3.77.8
8
22
  - fix(Sculpt) 优先从父链获取以支持多 VR;兜底 window.globalModulesfive / window.$five 保证单 VR 场景兼容
9
23
 
@@ -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
  };