@maqiuyao/dxf-viewer 0.2.6 → 0.2.8
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/README.md +2 -0
- package/dist/dxf-viewer.cjs +46 -46
- package/dist/dxf-viewer.js +1154 -1093
- package/dist/src/dxfViewer/core/scene/SceneManager.d.ts +4 -0
- package/dist/src/dxfViewer/core/utils/Locale.d.ts +6 -0
- package/package.json +1 -1
|
@@ -9,6 +9,10 @@ export declare class SceneManager {
|
|
|
9
9
|
private lights?;
|
|
10
10
|
private modelGroup;
|
|
11
11
|
constructor(viewer: BaseViewer);
|
|
12
|
+
/**
|
|
13
|
+
* WebGL 上下文创建失败时,在查看器容器内显示用户可读的提示浮层
|
|
14
|
+
*/
|
|
15
|
+
private showWebGLUnavailable;
|
|
12
16
|
private initLights;
|
|
13
17
|
private initPMREMGenerator;
|
|
14
18
|
get maxFragmentUniforms(): number;
|
|
@@ -8,6 +8,9 @@ export declare const en: {
|
|
|
8
8
|
boxSelect: string;
|
|
9
9
|
pickMarkup: string;
|
|
10
10
|
};
|
|
11
|
+
WebGL: {
|
|
12
|
+
NotAvailable: string;
|
|
13
|
+
};
|
|
11
14
|
};
|
|
12
15
|
export declare const cn: {
|
|
13
16
|
ProgressBar: {
|
|
@@ -18,5 +21,8 @@ export declare const cn: {
|
|
|
18
21
|
boxSelect: string;
|
|
19
22
|
pickMarkup: string;
|
|
20
23
|
};
|
|
24
|
+
WebGL: {
|
|
25
|
+
NotAvailable: string;
|
|
26
|
+
};
|
|
21
27
|
};
|
|
22
28
|
export declare const i18n: ReturnType<typeof i18next.createInstance>;
|