3dviewer-sdk 1.1.9 → 1.1.11
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 +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +4 -1
- package/dist/index.mjs +4 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -124,10 +124,13 @@ type MarkupListItem = {
|
|
|
124
124
|
type PanelTarget = "clipping-commands" | "setting" | "statesObjects" | "linkedObjects" | "model-tree" | "sheets" | "object-properties";
|
|
125
125
|
type SheetListItem = {
|
|
126
126
|
id: string | number;
|
|
127
|
+
sheetId?: string | number | null;
|
|
127
128
|
name: string;
|
|
128
129
|
is3D?: boolean;
|
|
129
130
|
viewId?: string;
|
|
130
131
|
cacheStatus?: number;
|
|
132
|
+
thumbnailStatus?: number | null;
|
|
133
|
+
thumbnailUrl?: string | null;
|
|
131
134
|
};
|
|
132
135
|
type SdkViewType = "cad" | "saved";
|
|
133
136
|
type SdkViewItem = {
|
|
@@ -264,6 +267,8 @@ type ViewerEventMap = {
|
|
|
264
267
|
is3D?: boolean;
|
|
265
268
|
viewId?: string;
|
|
266
269
|
cacheStatus?: number;
|
|
270
|
+
thumbnailStatus?: number | null;
|
|
271
|
+
thumbnailUrl?: string | null;
|
|
267
272
|
}[];
|
|
268
273
|
activeSheetId?: string | number | null;
|
|
269
274
|
timestamp: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -124,10 +124,13 @@ type MarkupListItem = {
|
|
|
124
124
|
type PanelTarget = "clipping-commands" | "setting" | "statesObjects" | "linkedObjects" | "model-tree" | "sheets" | "object-properties";
|
|
125
125
|
type SheetListItem = {
|
|
126
126
|
id: string | number;
|
|
127
|
+
sheetId?: string | number | null;
|
|
127
128
|
name: string;
|
|
128
129
|
is3D?: boolean;
|
|
129
130
|
viewId?: string;
|
|
130
131
|
cacheStatus?: number;
|
|
132
|
+
thumbnailStatus?: number | null;
|
|
133
|
+
thumbnailUrl?: string | null;
|
|
131
134
|
};
|
|
132
135
|
type SdkViewType = "cad" | "saved";
|
|
133
136
|
type SdkViewItem = {
|
|
@@ -264,6 +267,8 @@ type ViewerEventMap = {
|
|
|
264
267
|
is3D?: boolean;
|
|
265
268
|
viewId?: string;
|
|
266
269
|
cacheStatus?: number;
|
|
270
|
+
thumbnailStatus?: number | null;
|
|
271
|
+
thumbnailUrl?: string | null;
|
|
267
272
|
}[];
|
|
268
273
|
activeSheetId?: string | number | null;
|
|
269
274
|
timestamp: number;
|
package/dist/index.js
CHANGED
|
@@ -1812,10 +1812,13 @@ var Viewer3D = class {
|
|
|
1812
1812
|
var _a2;
|
|
1813
1813
|
return {
|
|
1814
1814
|
id: sheet.id,
|
|
1815
|
+
...sheet.sheetId !== void 0 ? { sheetId: sheet.sheetId } : {},
|
|
1815
1816
|
name: String((_a2 = sheet.name) != null ? _a2 : ""),
|
|
1816
1817
|
is3D: Boolean(sheet.is3D),
|
|
1817
1818
|
viewId: sheet.viewId ? String(sheet.viewId) : void 0,
|
|
1818
|
-
cacheStatus: typeof sheet.cacheStatus === "number" ? sheet.cacheStatus : void 0
|
|
1819
|
+
cacheStatus: typeof sheet.cacheStatus === "number" ? sheet.cacheStatus : void 0,
|
|
1820
|
+
thumbnailStatus: typeof sheet.thumbnailStatus === "number" ? sheet.thumbnailStatus : null,
|
|
1821
|
+
thumbnailUrl: typeof sheet.thumbnailUrl === "string" && sheet.thumbnailUrl.length > 0 ? sheet.thumbnailUrl : null
|
|
1819
1822
|
};
|
|
1820
1823
|
}),
|
|
1821
1824
|
activeSheetId: (_b = payload.activeSheetId) != null ? _b : null,
|
package/dist/index.mjs
CHANGED
|
@@ -1786,10 +1786,13 @@ var Viewer3D = class {
|
|
|
1786
1786
|
var _a2;
|
|
1787
1787
|
return {
|
|
1788
1788
|
id: sheet.id,
|
|
1789
|
+
...sheet.sheetId !== void 0 ? { sheetId: sheet.sheetId } : {},
|
|
1789
1790
|
name: String((_a2 = sheet.name) != null ? _a2 : ""),
|
|
1790
1791
|
is3D: Boolean(sheet.is3D),
|
|
1791
1792
|
viewId: sheet.viewId ? String(sheet.viewId) : void 0,
|
|
1792
|
-
cacheStatus: typeof sheet.cacheStatus === "number" ? sheet.cacheStatus : void 0
|
|
1793
|
+
cacheStatus: typeof sheet.cacheStatus === "number" ? sheet.cacheStatus : void 0,
|
|
1794
|
+
thumbnailStatus: typeof sheet.thumbnailStatus === "number" ? sheet.thumbnailStatus : null,
|
|
1795
|
+
thumbnailUrl: typeof sheet.thumbnailUrl === "string" && sheet.thumbnailUrl.length > 0 ? sheet.thumbnailUrl : null
|
|
1793
1796
|
};
|
|
1794
1797
|
}),
|
|
1795
1798
|
activeSheetId: (_b = payload.activeSheetId) != null ? _b : null,
|