@logicflow/extension 1.1.13 → 1.1.14

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.
@@ -0,0 +1,6 @@
1
+ export declare class Locale {
2
+ constructor(LogicFlow?: any, map?: Object);
3
+ replaceTranslator(LogicFlow: any, map: Object): void;
4
+ setDefault(LogicFlow: any): void;
5
+ static defaultTranslator: (text: string) => string;
6
+ }
@@ -5,11 +5,11 @@ export declare function toLogicflowData(data: any): {
5
5
  nodes: any[];
6
6
  edges: any[];
7
7
  };
8
- declare const TurboAdapter: {
9
- pluginName: string;
10
- install(lf: any): void;
11
- shapeConfigMap: Map<any, any>;
12
- setCustomShape(key: any, val: any): void;
8
+ declare class TurboAdapter {
9
+ static pluginName: string;
10
+ constructor({ lf }: {
11
+ lf: any;
12
+ });
13
13
  adapterOut(logicflowData: any): {
14
14
  flowElementList: any[];
15
15
  };
@@ -17,6 +17,5 @@ declare const TurboAdapter: {
17
17
  nodes: any[];
18
18
  edges: any[];
19
19
  };
20
- };
21
- export { TurboAdapter };
20
+ }
22
21
  export default TurboAdapter;