@realsee/dnalogel 3.79.3 → 3.80.1-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.
- package/CHANGELOG.md +4 -0
- package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +5 -0
- package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +4 -0
- package/dist/Sculpt/utils/isIntersecting.d.ts +17 -0
- package/dist/index.cjs.js +83 -83
- package/dist/index.js +8685 -8564
- package/dist/index.umd.js +74 -74
- package/libs/CruisePlugin/Move.js +3 -2
- package/libs/CruisePlugin/Work.js +3 -2
- package/libs/CruisePlugin/index.js +7 -6
- package/libs/GuideLinePlugin/Controller.js +5 -4
- package/libs/GuideLinePlugin/GuideLineItem.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
- package/libs/GuideLinePlugin/index.js +7 -6
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +300 -243
- package/libs/PanoTagPlugin/controller/Tag/BoxTag.js +21 -20
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/PolygonTag.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +6 -5
- package/libs/PanoTagPlugin/index.js +12 -11
- package/libs/PanoTagPlugin/tag.config.js +2 -1
- package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +5 -0
- package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +4 -0
- package/libs/Sculpt/Objects/Polygon/index.js +100 -99
- package/libs/Sculpt/utils/isIntersecting.d.ts +17 -0
- package/libs/Sculpt/utils/isIntersecting.js +68 -0
- package/libs/base/BasePlugin.js +5 -5
- package/libs/index.js +159 -158
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -351,6 +351,11 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
|
|
|
351
351
|
* @default '查看更多'
|
|
352
352
|
*/
|
|
353
353
|
viewMoreText?: string;
|
|
354
|
+
/**
|
|
355
|
+
* @description 营销标签展开卡片中是否展示媒体区域(需同时提供 data.mediaData,与 popoverConfig.enabled 无关)
|
|
356
|
+
* @default false
|
|
357
|
+
*/
|
|
358
|
+
showMedia?: boolean;
|
|
354
359
|
/**
|
|
355
360
|
* @description 鼠标悬停前的拦截函数,返回 true 允许 hover,false 阻止 hover
|
|
356
361
|
*/
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
interface Point3D {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
z: number;
|
|
5
|
+
}
|
|
6
|
+
interface Line3D {
|
|
7
|
+
start: Point3D;
|
|
8
|
+
end: Point3D;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @description 判断线段是否相交
|
|
12
|
+
* @todo ai写的一些变量名起的比较怪,懒得改了
|
|
13
|
+
*/
|
|
14
|
+
export declare function isIntersecting(line1: Line3D, line2: Line3D | Line3D[]): boolean;
|
|
15
|
+
export declare function isLinesIntersecting(lines: Line3D[]): boolean;
|
|
16
|
+
export declare function isPolygenIntersecting(points: Point3D[]): boolean;
|
|
17
|
+
export {};
|