react-formule 1.2.0 → 1.3.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,40 +1,45 @@
1
+ export function persistMiddleware({ getState }: {
2
+ getState: any;
3
+ }): (next: any) => (action: any) => any;
1
4
  export default store;
2
5
  declare const store: import('@reduxjs/toolkit/dist/configureStore').ToolkitStore<{
3
6
  schemaWizard: {
4
7
  current: {
5
- schema: {};
8
+ schema: {
9
+ title: string;
10
+ description: string;
11
+ type: string;
12
+ properties: {};
13
+ };
6
14
  uiSchema: {};
7
15
  };
8
16
  initial: {
9
17
  schema: {};
10
18
  uiSchema: {};
11
19
  };
12
- initialConfig: {};
13
- config: {};
20
+ id: string;
14
21
  field: {};
15
22
  formData: {};
16
- propKeyEditor: null;
17
- error: null;
18
- loader: boolean;
19
- version: null;
20
23
  };
21
- }, import('redux').AnyAction, [import('redux-thunk').ThunkMiddleware<{
24
+ }, import('redux').AnyAction, import('@reduxjs/toolkit').MiddlewareArray<[import('redux-thunk').ThunkMiddleware<{
22
25
  schemaWizard: {
23
26
  current: {
24
- schema: {};
27
+ schema: {
28
+ title: string;
29
+ description: string;
30
+ type: string;
31
+ properties: {};
32
+ };
25
33
  uiSchema: {};
26
34
  };
27
35
  initial: {
28
36
  schema: {};
29
37
  uiSchema: {};
30
38
  };
31
- initialConfig: {};
32
- config: {};
39
+ id: string;
33
40
  field: {};
34
41
  formData: {};
35
- propKeyEditor: null;
36
- error: null;
37
- loader: boolean;
38
- version: null;
39
42
  };
40
- }, import('redux').AnyAction>]>;
43
+ }, import('redux').AnyAction>, ({ getState }: {
44
+ getState: any;
45
+ }) => (next: any) => (action: any) => any]>>;
@@ -1,42 +1,42 @@
1
- declare const initialState: {
1
+ export declare const initialState: {
2
2
  current: {
3
- schema: {};
3
+ schema: {
4
+ title: string;
5
+ description: string;
6
+ type: string;
7
+ properties: {};
8
+ };
4
9
  uiSchema: {};
5
10
  };
6
11
  initial: {
7
12
  schema: {};
8
13
  uiSchema: {};
9
14
  };
10
- initialConfig: {};
11
- config: {};
15
+ id: string;
12
16
  field: {};
13
17
  formData: {};
14
- propKeyEditor: null;
15
- error: null;
16
- loader: boolean;
17
- version: null;
18
18
  };
19
19
  export type SchemaWizardState = typeof initialState;
20
20
  export declare const schemaInit: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
21
21
  data: any;
22
- configs: any;
22
+ id: any;
23
23
  }, "schemaWizard/schemaInit">, enableCreateMode: import('@reduxjs/toolkit').ActionCreatorWithoutPayload<"schemaWizard/enableCreateMode">, selectProperty: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, "schemaWizard/selectProperty">, updateSchemaByPath: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, "schemaWizard/updateSchemaByPath">, updateUiSchemaByPath: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, "schemaWizard/updateUiSchemaByPath">, addByPath: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, "schemaWizard/addByPath">, deleteByPath: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, "schemaWizard/deleteByPath">, renameIdByPath: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, "schemaWizard/renameIdByPath">, updateRequired: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, "schemaWizard/updateRequired">, updateFormData: import('@reduxjs/toolkit').ActionCreatorWithPayload<any, "schemaWizard/updateFormData">;
24
24
  declare const _default: import('redux').Reducer<{
25
25
  current: {
26
- schema: {};
26
+ schema: {
27
+ title: string;
28
+ description: string;
29
+ type: string;
30
+ properties: {};
31
+ };
27
32
  uiSchema: {};
28
33
  };
29
34
  initial: {
30
35
  schema: {};
31
36
  uiSchema: {};
32
37
  };
33
- initialConfig: {};
34
- config: {};
38
+ id: string;
35
39
  field: {};
36
40
  formData: {};
37
- propKeyEditor: null;
38
- error: null;
39
- loader: boolean;
40
- version: null;
41
41
  }>;
42
42
  export default _default;
@@ -13,3 +13,4 @@ export namespace CODEMIRROR_LINTERS {
13
13
  }
14
14
  export function stringToHslColor(str: any, s: any, l: any): string;
15
15
  export function findParentPath(schemaPath: any): any;
16
+ export function itemIdGenerator(): string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-formule",
3
3
  "private": false,
4
- "version": "1.2.0",
4
+ "version": "1.3.0",
5
5
  "author": "CERN",
6
6
  "license": "MIT",
7
7
  "repository": {