@uxland/primary-shell 5.0.0 → 5.1.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.
@@ -18,6 +18,7 @@ export declare class PrimariaShell extends PrimariaShell_base {
18
18
  error: {
19
19
  message: string;
20
20
  };
21
+ quickActionBusy: boolean;
21
22
  _toggleSidebar(): void;
22
23
  private subscriptions;
23
24
  _subscribeEvents(): void;
@@ -22,8 +22,8 @@ export interface ConfirmationOptions {
22
22
  confirmButtonText?: string | undefined;
23
23
  cancelButtonText?: string | undefined;
24
24
  showCloseButton?: boolean | undefined;
25
- fullWidth?: boolean | undefined;
26
25
  fullCustomization?: boolean | undefined;
26
+ closeOnOutsideClick?: boolean | undefined;
27
27
  state?: "success" | "info" | "alert" | "error";
28
28
  }
29
29
  export declare abstract class PrimariaInteractionService {
@@ -1,19 +1,35 @@
1
+ import { PrimariaBroker } from '../broker/primaria-broker';
2
+
1
3
  export interface PluginBusyTask {
2
4
  taskId: string;
3
5
  taskDescription: string;
4
6
  }
7
+ export interface QuickActionBusyTask {
8
+ taskId: string;
9
+ }
5
10
  export declare abstract class PluginBusyManager {
6
11
  abstract addBusyPluginTask(busyTask: PluginBusyTask): void;
7
- abstract removeBusyPluginTask(taskId: string): any;
12
+ abstract removeBusyPluginTask(taskId: string): void;
13
+ abstract addBusyQuickActionTask(busyTask: QuickActionBusyTask): void;
14
+ abstract removeBusyQuickActionTask(taskId: string): void;
8
15
  abstract clearAllBusyPlugins(): void;
9
16
  abstract isAnyPluginBusy(): boolean;
17
+ abstract isAnyQuickActionBusy(): boolean;
10
18
  abstract getBusyPluginTasks(): PluginBusyTask[];
11
19
  }
12
20
  export declare class PluginBusyManagerImpl implements PluginBusyManager {
21
+ broker: PrimariaBroker;
22
+ constructor(broker: PrimariaBroker);
13
23
  private busyPluginTasks;
24
+ private busyQuickActionTasks;
14
25
  addBusyPluginTask(busyTask: PluginBusyTask): void;
26
+ addBusyQuickActionTask(busyTask: QuickActionBusyTask): void;
15
27
  removeBusyPluginTask(taskId: string): any;
28
+ removeBusyQuickActionTask(taskId: string): any;
16
29
  isAnyPluginBusy(): boolean;
30
+ isAnyQuickActionBusy(): boolean;
17
31
  clearAllBusyPlugins(): void;
32
+ clearAllBusyQuickActions(): void;
18
33
  getBusyPluginTasks(): PluginBusyTask[];
34
+ private emitQuickActionBusyChanged;
19
35
  }
@@ -4,4 +4,5 @@ export declare const shellEvents: {
4
4
  mainViewChanged: string;
5
5
  refreshTokenFailed: string;
6
6
  mpidHeaderInvalid: string;
7
+ quickActionBusyChanged: string;
7
8
  };