@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.
@@ -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: () => Promise<EnvironmentTrackEventPayload>;
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 propertyLoadingElement;
16
- private modelOpeningElement;
17
- private modelDownloadErrorElement;
18
- private modelInitializationFailedElement;
19
- private fileTooBigErrorElement;
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';
@@ -0,0 +1 @@
1
+ export { requestPersistentStorage } from './requestPersistentStorage';
@@ -0,0 +1 @@
1
+ export declare function requestPersistentStorage(quickResolveTimeout?: number): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procore/bim-webviewer-sdk",
3
- "version": "17.6.0-rc.1",
3
+ "version": "17.6.0-rc.3",
4
4
  "description": "Procore BIM Webviewer SDK",
5
5
  "main": "dist/Procore.Bim.Webviewer.js",
6
6
  "types": "dist/Procore.Bim.Webviewer.d.ts",