@realsee/dnalogel 3.35.0-dev.0 → 3.35.0-dev.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/dist/PanoTagPlugin/controller/TagRender.d.ts +2 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +11 -6
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/utils/debounce.d.ts +1 -0
- package/dist/index.cjs.js +54 -54
- package/dist/index.js +3078 -3063
- package/dist/index.umd.js +44 -44
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -0
- package/libs/PanoTagPlugin/controller/TagRender.d.ts +2 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +67 -63
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +11 -6
- package/libs/PanoTagPlugin/controller/TagUtil.js +106 -107
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +67 -61
- package/libs/PanoTagPlugin/utils/debounce.d.ts +1 -0
- package/libs/PanoTagPlugin/utils/debounce.js +10 -4
- package/libs/PanoTagPlugin/utils/index.js +7 -6
- package/libs/base/BasePlugin.js +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
|
@@ -35,6 +35,8 @@ export declare abstract class TagRender extends TagComputer {
|
|
|
35
35
|
* @description 更新所有标签
|
|
36
36
|
*/
|
|
37
37
|
protected updateRenderAllTags(): void;
|
|
38
|
+
protected updateAllTagsNextFrame(): void;
|
|
39
|
+
protected updateTag(tag: TagInstance): void;
|
|
38
40
|
protected updateRenderVideoPlane(): void;
|
|
39
41
|
/**
|
|
40
42
|
* @description 渲染图片贴片
|
|
@@ -68,7 +70,6 @@ export declare abstract class TagRender extends TagComputer {
|
|
|
68
70
|
* @description 渲染单个点的标签
|
|
69
71
|
*/
|
|
70
72
|
protected updateRenderPointTag(): void;
|
|
71
|
-
protected updatePointTagPosition(): void;
|
|
72
73
|
protected updateTagContainerVisible(): void;
|
|
73
74
|
protected disposeAllCSS3DContainer(): void;
|
|
74
75
|
/**
|
|
@@ -12,7 +12,7 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
12
12
|
get container(): Element;
|
|
13
13
|
set container(container: Element);
|
|
14
14
|
config: Pick<Tags, 'globalConfig' | 'contentTypeConfig'>;
|
|
15
|
-
tagsLengthWillUpdate: boolean;
|
|
15
|
+
set tagsLengthWillUpdate(value: boolean);
|
|
16
16
|
workUtil: WorkUtil;
|
|
17
17
|
set workCode(workCode: string);
|
|
18
18
|
get workCode(): string;
|
|
@@ -36,6 +36,16 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
36
36
|
disposed: boolean;
|
|
37
37
|
};
|
|
38
38
|
protected domEvents: FiveDomEvents;
|
|
39
|
+
private _cache_pointTag?;
|
|
40
|
+
private _cache_2DPointTag?;
|
|
41
|
+
private _cache_imagePlane?;
|
|
42
|
+
private _cache_mediaModel?;
|
|
43
|
+
private _cache_css3DTag?;
|
|
44
|
+
protected get filterPointTag(): PointTagInstance[];
|
|
45
|
+
protected get filter2DPointTag(): TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "2DPoint">[];
|
|
46
|
+
protected get filterImagePlane(): TagInstance<"MediaPlane", "Plane">[];
|
|
47
|
+
protected get filterMediaModel(): TagInstance<"MediaModel", "Model">[];
|
|
48
|
+
protected get filterCSS3DTag(): (TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
|
|
39
49
|
private _container;
|
|
40
50
|
private _css3DRenderPlugin;
|
|
41
51
|
protected constructor(five: Five);
|
|
@@ -68,11 +78,6 @@ export declare abstract class TagUtil extends TagCache {
|
|
|
68
78
|
protected getPositions(tag: TagInstance): [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3] | [import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition, import("../typings").ArrayPosition];
|
|
69
79
|
protected addObjectClickHandler(tag: TagInstance, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
|
|
70
80
|
protected getTagNormal(tag: TagInstance): THREE.Vector3 | undefined;
|
|
71
|
-
protected get filterPointTag(): PointTagInstance[];
|
|
72
|
-
protected get filter2DPointTag(): TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "2DPoint">[];
|
|
73
|
-
protected get filterImagePlane(): TagInstance<"MediaPlane", "Plane">[];
|
|
74
|
-
protected get filterMediaModel(): TagInstance<"MediaModel", "Model">[];
|
|
75
|
-
protected get filterCSS3DTag(): (TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
|
|
76
81
|
protected getTransformedPostion(position: Tag['position']): THREE.Vector3 | [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3];
|
|
77
82
|
/**
|
|
78
83
|
* @description 检查是否已经销毁
|
|
@@ -138,6 +138,7 @@ declare class PanoTagPluginController extends TagRender {
|
|
|
138
138
|
private addResizeListener;
|
|
139
139
|
private addResizeObserver;
|
|
140
140
|
private updateVisible;
|
|
141
|
+
private handleFiveModeChange;
|
|
141
142
|
private handleFiveWantsMoveToPano;
|
|
142
143
|
/**
|
|
143
144
|
* @description 走点/切换模型后显示
|
|
@@ -5,3 +5,4 @@
|
|
|
5
5
|
* @returns
|
|
6
6
|
*/
|
|
7
7
|
export declare const debounce: <F extends (...args: any) => any>(callback: F, waitFor?: number) => (...args: Parameters<F>) => ReturnType<F>;
|
|
8
|
+
export declare const debounceByKey: <F extends (...args: any) => any>(key: string, callback: F, waitFor?: number) => (...args: Parameters<F>) => ReturnType<F>;
|