@pilotdev/pilot-web-2d 24.2.0 → 24.9.0
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/index.d.ts +3 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ export namespace Viewer3DIcons {
|
|
|
69
69
|
const VIEWER_ADD_REMARK_ICON: string;
|
|
70
70
|
const VIEWER_MEASUREMENT_EDGE_ICON: string;
|
|
71
71
|
const VIEWER_MEASUREMENT_PLANE_ICON: string;
|
|
72
|
+
const VIEWER_MEASUREMENT_PERPENDICULAR_ICON: string;
|
|
72
73
|
const VIEWER_MEASUREMENT_DIMENSION_ICON: string;
|
|
73
74
|
}
|
|
74
75
|
export namespace ViewerGeneralIcons {
|
|
@@ -306,7 +307,7 @@ export abstract class ViewerBase {
|
|
|
306
307
|
/**
|
|
307
308
|
*
|
|
308
309
|
*/
|
|
309
|
-
finish(): void
|
|
310
|
+
finish(): Promise<void>;
|
|
310
311
|
onPostExtensionLoad(extension: ExtensionBase): void;
|
|
311
312
|
onExtensionUnloading(extension: ExtensionBase): void;
|
|
312
313
|
onPostExtensionUnload(extension: ExtensionBase): void;
|
|
@@ -543,7 +544,7 @@ export class Viewer2D extends ViewerBase {
|
|
|
543
544
|
loadDocument(data: ArrayBuffer | string, options: DocumentLoadingOptions, onSuccessCallback: SuccessCallback, onErrorCallback: ErrorCallback): void;
|
|
544
545
|
unloadDocument(): void;
|
|
545
546
|
start(): Promise<number>;
|
|
546
|
-
finish(): void
|
|
547
|
+
finish(): Promise<void>;
|
|
547
548
|
}
|
|
548
549
|
export class GuiViewer2D extends Viewer2D {
|
|
549
550
|
loadDocument(buffer: ArrayBuffer, options: object, onSuccessCallback: SuccessCallback, onErrorCallback: ErrorCallback): void;
|