@docsvision/management-console 6.2.0-beta.18 → 6.2.0-beta.19

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.
Files changed (3) hide show
  1. package/index.d.ts +13 -0
  2. package/index.js +1 -0
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -2581,6 +2581,19 @@ export declare class LocalStorage implements ILocalStorage_2 {
2581
2581
  transformId(id: string): string;
2582
2582
  }
2583
2583
 
2584
+ export declare class MessageWindowService implements IMessageWindowService {
2585
+ private static mMessageBoxContainerProvider;
2586
+ static lastError?: HTMLElement;
2587
+ services: $Resources_2;
2588
+ constructor(services: $Resources_2);
2589
+ showError(content: React_2.ReactNode, options?: IMessageWindowOptions): Promise<void>;
2590
+ showInfo(content: React_2.ReactNode, options?: IMessageWindowOptions): Promise<void>;
2591
+ showWarning(content: React_2.ReactNode, options?: IMessageWindowOptions): Promise<void>;
2592
+ showConfirmation(content: React_2.ReactNode, options?: IMessageConfirmationWindowOptions): Promise<void>;
2593
+ showCustom<T>(content: React_2.ReactNode, buttons: IMessageWindowButton<T>[], options?: ICustomMessageWindowOptions): Promise<T | void>;
2594
+ getMessageBoxContainer(): BodyContainerProvider;
2595
+ }
2596
+
2584
2597
  export declare function NavigationMenu(props: INavigationMenuProps): JSX.Element;
2585
2598
 
2586
2599
  export declare function newGuid(): string;
package/index.js CHANGED
@@ -126795,6 +126795,7 @@ export {
126795
126795
  ListPanel,
126796
126796
  LocalStorage,
126797
126797
  LocalizationService,
126798
+ MessageWindowService,
126798
126799
  NavigationMenu,
126799
126800
  NoOptionMenuItem,
126800
126801
  NumberComponent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docsvision/management-console",
3
- "version": "6.2.0-beta.18",
3
+ "version": "6.2.0-beta.19",
4
4
  "description": "Type definitions for ManagementConsole components and utils.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",