@realsee/dnalogel 3.78.1-alpha.0 → 3.78.1-alpha.1
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.
- package/CHANGELOG.md +5 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -8
- package/dist/index.cjs.js +32 -32
- package/dist/index.js +1707 -1710
- package/dist/index.umd.js +31 -31
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +1 -1
- package/libs/PanoTagPlugin/Components/TagItem.js +200 -203
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +4 -8
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
|
+
## 3.78.1
|
|
3
|
+
|
|
4
|
+
- feat(PanoTagPlugin): popoverConfig 新增 `onHoverEnd` 回调,支持通过 `event.pointerType` 区分鼠标/触摸事件
|
|
5
|
+
- feat(PanoTagPlugin): 新增 `__experimental_PolygonMeshConfig` 实验性 Polygon mesh 渲染配置
|
|
6
|
+
|
|
2
7
|
## 3.77.8
|
|
3
8
|
- fix(Sculpt) 优先从父链获取以支持多 VR;兜底 window.globalModulesfive / window.$five 保证单 VR 场景兼容
|
|
4
9
|
|
|
@@ -286,10 +286,9 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
286
286
|
* @description 触发方式
|
|
287
287
|
* @description hover - 鼠标悬停触发,移出后面板消失
|
|
288
288
|
* @description click - 点击触发(fold/unfold模式),再次点击隐藏
|
|
289
|
-
* @description hover-and-click - hover 显示面板,移出后消失;点击固定面板(固定后移出 hover 面板也不消失),再次点击取消固定
|
|
290
289
|
* @default 'hover'
|
|
291
290
|
*/
|
|
292
|
-
trigger?: 'hover' | 'click'
|
|
291
|
+
trigger?: 'hover' | 'click';
|
|
293
292
|
/**
|
|
294
293
|
* @description 触发延迟时间(仅在 trigger 为 hover 时生效), 单位为毫秒
|
|
295
294
|
* @default 300
|
|
@@ -358,13 +357,10 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
358
357
|
beforeOpen?: (tag?: TagInstance) => boolean | undefined;
|
|
359
358
|
/**
|
|
360
359
|
* @description 鼠标离开标签区域后的回调(在 hover 结束时触发,无论 beforeOpen 是否拦截过本次 hover)
|
|
360
|
+
* @param tag 当前标签实例
|
|
361
|
+
* @param event 原生 PointerEvent,可通过 event.pointerType 区分 'mouse' / 'touch' / 'pen'
|
|
361
362
|
*/
|
|
362
|
-
onHoverEnd?: (tag?: TagInstance) => void;
|
|
363
|
-
/**
|
|
364
|
-
* @description 禁用插件默认的标签内容渲染(TextTag / TextPlaneTag 等),由业务侧自行渲染
|
|
365
|
-
* @default false
|
|
366
|
-
*/
|
|
367
|
-
suppressDefaultContent?: boolean;
|
|
363
|
+
onHoverEnd?: (tag?: TagInstance, event?: PointerEvent) => void;
|
|
368
364
|
};
|
|
369
365
|
/**
|
|
370
366
|
* @description 标签法线相关配置
|