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