@devtable/dashboard 14.60.10 → 14.60.11-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.
@@ -1 +1 @@
1
- export declare const useCurrentVizInstance: () => import("../../../types/plugin").VizInstance;
1
+ export declare const useCurrentVizInstance: () => import("../../..").VizInstance;
@@ -3,6 +3,7 @@ export * from './plugin-context';
3
3
  export * from './plugin-data-migrator';
4
4
  export * from './hooks';
5
5
  export * from './color-manager';
6
+ export * from './operation-manager';
6
7
  export { onVizRendered, notifyVizRendered } from './viz-components/viz-instance-api';
7
8
  export { ServiceLocator, Token } from './service/service-locator';
8
9
  export { useServiceLocator } from './service/service-locator/use-service-locator';
@@ -0,0 +1 @@
1
+ export * from './operation-manager';
@@ -0,0 +1,9 @@
1
+ import { IDashboardOperationSchema, IPluginManager } from '../../../types/plugin';
2
+ export interface IOperationManager {
3
+ getAllOperations(): IDashboardOperationSchema[];
4
+ }
5
+ export declare class OperationManager implements IOperationManager {
6
+ private pluginManager;
7
+ constructor(pluginManager: IPluginManager);
8
+ getAllOperations(): IDashboardOperationSchema[];
9
+ }
@@ -2,6 +2,7 @@ import { InstanceMigrator } from '../../components/plugins/instance-migrator';
2
2
  import { PanelAddonManager } from '../../components/plugins/panel-addon';
3
3
  import { IPluginManager, IVizInteractionManager, IVizOperationManager, IVizTriggerManager, VizInstance } from '../../types/plugin';
4
4
  import { IColorManager } from './color-manager';
5
+ import { IOperationManager } from './operation-manager';
5
6
  import { PluginManager } from './plugin-manager';
6
7
  import { VizManager } from './viz-manager';
7
8
  export interface IPluginContextProps {
@@ -9,6 +10,7 @@ export interface IPluginContextProps {
9
10
  vizManager: VizManager;
10
11
  colorManager: IColorManager;
11
12
  panelAddonManager: PanelAddonManager;
13
+ operationManager: IOperationManager;
12
14
  }
13
15
  export declare const vizList: import('../../types/plugin').VizComponent[];
14
16
  export type VizNameKeys = {
@@ -26,6 +28,7 @@ export declare const tokens: {
26
28
  vizManager: import('../../components/plugins/service/service-locator').Token<VizManager>;
27
29
  colorManager: import('../../components/plugins/service/service-locator').Token<IColorManager>;
28
30
  panelAddonManager: import('../../components/plugins/service/service-locator').Token<PanelAddonManager>;
31
+ operationManager: import('../../components/plugins/service/service-locator').Token<IOperationManager>;
29
32
  instanceScope: {
30
33
  panelModel: import('../../components/plugins/service/service-locator').Token<{
31
34
  id: string;