3dviewer-sdk 1.1.8 → 1.1.10
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/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -127,6 +127,9 @@ type SheetListItem = {
|
|
|
127
127
|
name: string;
|
|
128
128
|
is3D?: boolean;
|
|
129
129
|
viewId?: string;
|
|
130
|
+
cacheStatus?: number;
|
|
131
|
+
thumbnailStatus?: number | null;
|
|
132
|
+
thumbnailUrl?: string | null;
|
|
130
133
|
};
|
|
131
134
|
type SdkViewType = "cad" | "saved";
|
|
132
135
|
type SdkViewItem = {
|
|
@@ -262,6 +265,9 @@ type ViewerEventMap = {
|
|
|
262
265
|
name: string;
|
|
263
266
|
is3D?: boolean;
|
|
264
267
|
viewId?: string;
|
|
268
|
+
cacheStatus?: number;
|
|
269
|
+
thumbnailStatus?: number | null;
|
|
270
|
+
thumbnailUrl?: string | null;
|
|
265
271
|
}[];
|
|
266
272
|
activeSheetId?: string | number | null;
|
|
267
273
|
timestamp: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -127,6 +127,9 @@ type SheetListItem = {
|
|
|
127
127
|
name: string;
|
|
128
128
|
is3D?: boolean;
|
|
129
129
|
viewId?: string;
|
|
130
|
+
cacheStatus?: number;
|
|
131
|
+
thumbnailStatus?: number | null;
|
|
132
|
+
thumbnailUrl?: string | null;
|
|
130
133
|
};
|
|
131
134
|
type SdkViewType = "cad" | "saved";
|
|
132
135
|
type SdkViewItem = {
|
|
@@ -262,6 +265,9 @@ type ViewerEventMap = {
|
|
|
262
265
|
name: string;
|
|
263
266
|
is3D?: boolean;
|
|
264
267
|
viewId?: string;
|
|
268
|
+
cacheStatus?: number;
|
|
269
|
+
thumbnailStatus?: number | null;
|
|
270
|
+
thumbnailUrl?: string | null;
|
|
265
271
|
}[];
|
|
266
272
|
activeSheetId?: string | number | null;
|
|
267
273
|
timestamp: number;
|
package/dist/index.js
CHANGED
|
@@ -1814,7 +1814,10 @@ var Viewer3D = class {
|
|
|
1814
1814
|
id: sheet.id,
|
|
1815
1815
|
name: String((_a2 = sheet.name) != null ? _a2 : ""),
|
|
1816
1816
|
is3D: Boolean(sheet.is3D),
|
|
1817
|
-
viewId: sheet.viewId ? String(sheet.viewId) : void 0
|
|
1817
|
+
viewId: sheet.viewId ? String(sheet.viewId) : void 0,
|
|
1818
|
+
cacheStatus: typeof sheet.cacheStatus === "number" ? sheet.cacheStatus : void 0,
|
|
1819
|
+
thumbnailStatus: typeof sheet.thumbnailStatus === "number" ? sheet.thumbnailStatus : null,
|
|
1820
|
+
thumbnailUrl: typeof sheet.thumbnailUrl === "string" && sheet.thumbnailUrl.length > 0 ? sheet.thumbnailUrl : null
|
|
1818
1821
|
};
|
|
1819
1822
|
}),
|
|
1820
1823
|
activeSheetId: (_b = payload.activeSheetId) != null ? _b : null,
|
package/dist/index.mjs
CHANGED
|
@@ -1788,7 +1788,10 @@ var Viewer3D = class {
|
|
|
1788
1788
|
id: sheet.id,
|
|
1789
1789
|
name: String((_a2 = sheet.name) != null ? _a2 : ""),
|
|
1790
1790
|
is3D: Boolean(sheet.is3D),
|
|
1791
|
-
viewId: sheet.viewId ? String(sheet.viewId) : void 0
|
|
1791
|
+
viewId: sheet.viewId ? String(sheet.viewId) : void 0,
|
|
1792
|
+
cacheStatus: typeof sheet.cacheStatus === "number" ? sheet.cacheStatus : void 0,
|
|
1793
|
+
thumbnailStatus: typeof sheet.thumbnailStatus === "number" ? sheet.thumbnailStatus : null,
|
|
1794
|
+
thumbnailUrl: typeof sheet.thumbnailUrl === "string" && sheet.thumbnailUrl.length > 0 ? sheet.thumbnailUrl : null
|
|
1792
1795
|
};
|
|
1793
1796
|
}),
|
|
1794
1797
|
activeSheetId: (_b = payload.activeSheetId) != null ? _b : null,
|