@procore/bim-webviewer-sdk 17.6.0-rc.1 → 17.6.0-rc.3
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/CHANGELOG.md +7 -0
- package/dist/Procore.Bim.Webviewer.js +1 -1
- package/dist/types/src/api/analytic_events/payloadFactories.d.ts +3 -1
- package/dist/types/src/components/LoadingComponent/LoadingComponent.d.ts +8 -6
- package/dist/types/src/controllers/PubSubController.d.ts +2 -1
- package/dist/types/src/controllers/RenderControllerProxy.d.ts +0 -2
- package/dist/types/src/utils/requestPersistentStorage/__tests__/requestPersistentStorage.test.d.ts +1 -0
- package/dist/types/src/utils/requestPersistentStorage/index.d.ts +1 -0
- package/dist/types/src/utils/requestPersistentStorage/requestPersistentStorage.d.ts +1 -0
- package/package.json +1 -1
|
@@ -24,4 +24,6 @@ export declare const getDownloadCompletedTrackEventPayload: (params: {
|
|
|
24
24
|
totalPartitionsSizeCompressed?: number;
|
|
25
25
|
numPartitions?: number;
|
|
26
26
|
}) => Promise<BimModelsDownloadCompletedPayload>;
|
|
27
|
-
export declare const getEnvironmentTrackEventPayload: (
|
|
27
|
+
export declare const getEnvironmentTrackEventPayload: (params: {
|
|
28
|
+
persisted: boolean;
|
|
29
|
+
}) => Promise<EnvironmentTrackEventPayload>;
|
|
@@ -12,13 +12,13 @@ export declare class LoadingComponent {
|
|
|
12
12
|
private startTime;
|
|
13
13
|
private readonly containerElement;
|
|
14
14
|
private readonly modelInitializationElement;
|
|
15
|
-
private
|
|
16
|
-
private
|
|
17
|
-
private
|
|
18
|
-
private
|
|
19
|
-
private
|
|
15
|
+
private readonly allowPersistentStorageElement;
|
|
16
|
+
private readonly propertyLoadingElement;
|
|
17
|
+
private readonly modelOpeningElement;
|
|
18
|
+
private readonly modelDownloadErrorElement;
|
|
19
|
+
private readonly modelInitializationFailedElement;
|
|
20
|
+
private readonly fileTooBigErrorElement;
|
|
20
21
|
constructor(props: LoadingComponentProps);
|
|
21
|
-
private onAppStart;
|
|
22
22
|
private onInitializationProgress;
|
|
23
23
|
private getTimeEstimateMessage;
|
|
24
24
|
private getEstimatedTimeLeft;
|
|
@@ -31,6 +31,8 @@ export declare class LoadingComponent {
|
|
|
31
31
|
private onFileTooBigError;
|
|
32
32
|
private onPropertyServiceCheck;
|
|
33
33
|
private onModelTypeDetermined;
|
|
34
|
+
private onPersistentStorageRequestPending;
|
|
35
|
+
private onPersistentStorageRequestResolved;
|
|
34
36
|
private updateModelOpening;
|
|
35
37
|
private updateInitProgressBar;
|
|
36
38
|
}
|
|
@@ -42,7 +42,6 @@ export namespace PubSubController {
|
|
|
42
42
|
initializationStart: "initializationStart";
|
|
43
43
|
intersectPointClick: "intersectPointClick";
|
|
44
44
|
isolateCompleted: "isolateCompleted";
|
|
45
|
-
launchedAnimationLoop: "launchedAnimationLoop";
|
|
46
45
|
mainThreadDebugGuiAdd: "mainThreadDebugGuiAdd";
|
|
47
46
|
mainThreadDebugGuiDestroy: "mainThreadDebugGuiDestroy";
|
|
48
47
|
markupDismissed: "markupDismissed";
|
|
@@ -72,6 +71,8 @@ export namespace PubSubController {
|
|
|
72
71
|
objectUnhide: "objectUnhide";
|
|
73
72
|
optionsChanged: "optionsChanged";
|
|
74
73
|
allPartitionsDownloadComplete: "allPartitionsDownloadComplete";
|
|
74
|
+
persistentStorageRequestPending: "persistentStorageRequestPending";
|
|
75
|
+
persistentStorageRequestResolved: "persistentStorageRequestResolved";
|
|
75
76
|
projectSettingsLoaded: "projectSettingsLoaded";
|
|
76
77
|
projectSettingsUpdated: "projectSettingsUpdated";
|
|
77
78
|
propertiesReady: "propertiesReady";
|
|
@@ -2,7 +2,6 @@ export function RenderControllerProxy(options: any): void;
|
|
|
2
2
|
export class RenderControllerProxy {
|
|
3
3
|
constructor(options: any);
|
|
4
4
|
cache: Promise<Cache>;
|
|
5
|
-
pubsub: PubSubController;
|
|
6
5
|
options: any;
|
|
7
6
|
worker: any;
|
|
8
7
|
enableWebWorker: any;
|
|
@@ -289,7 +288,6 @@ export namespace RenderControllerProxy {
|
|
|
289
288
|
let MEASURE: number;
|
|
290
289
|
}
|
|
291
290
|
}
|
|
292
|
-
import { PubSubController } from './PubSubController';
|
|
293
291
|
import { NavigationManager } from '../navigation/NavigationManager';
|
|
294
292
|
import { RenderController } from './RenderController';
|
|
295
293
|
import { RenderControllerWorker } from './RenderControllerWorker';
|
package/dist/types/src/utils/requestPersistentStorage/__tests__/requestPersistentStorage.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { requestPersistentStorage } from './requestPersistentStorage';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function requestPersistentStorage(quickResolveTimeout?: number): Promise<void>;
|