@formity/system 0.2.1 → 0.4.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.
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/types/controls.d.ts +18 -0
- package/dist/types/controls.d.ts.map +1 -0
- package/dist/types/handlers/basic.d.ts +9 -0
- package/dist/types/handlers/basic.d.ts.map +1 -0
- package/dist/types/handlers/typed.d.ts +12 -0
- package/dist/types/handlers/typed.d.ts.map +1 -0
- package/dist/types/handlers/untyped.d.ts +9 -0
- package/dist/types/handlers/untyped.d.ts.map +1 -0
- package/dist/types/schema/basic.d.ts +80 -0
- package/dist/types/schema/basic.d.ts.map +1 -0
- package/dist/types/schema/typed.d.ts +193 -0
- package/dist/types/schema/typed.d.ts.map +1 -0
- package/dist/types/schema/untyped.d.ts +83 -0
- package/dist/types/schema/untyped.d.ts.map +1 -0
- package/dist/types/state/inputs.d.ts +73 -0
- package/dist/types/state/inputs.d.ts.map +1 -0
- package/dist/types/state/point.d.ts +12 -0
- package/dist/types/state/point.d.ts.map +1 -0
- package/dist/types/state/position.d.ts +35 -0
- package/dist/types/state/position.d.ts.map +1 -0
- package/dist/types/state/state.d.ts +13 -0
- package/dist/types/state/state.d.ts.map +1 -0
- package/dist/types/utils.d.ts +8 -2
- package/dist/types/utils.d.ts.map +1 -1
- package/dist/types/values/yield.d.ts +5 -1
- package/dist/types/values/yield.d.ts.map +1 -1
- package/dist/types/values.d.ts +4 -1
- package/dist/types/values.d.ts.map +1 -1
- package/dist/utils/form.d.ts +7 -7
- package/dist/utils/form.d.ts.map +1 -1
- package/dist/utils/inputs/flow.cond.d.ts +32 -0
- package/dist/utils/inputs/flow.cond.d.ts.map +1 -0
- package/dist/utils/inputs/flow.cond.test.d.ts +2 -0
- package/dist/utils/inputs/flow.cond.test.d.ts.map +1 -0
- package/dist/utils/inputs/flow.d.ts +64 -0
- package/dist/utils/inputs/flow.d.ts.map +1 -0
- package/dist/utils/inputs/flow.list.d.ts +32 -0
- package/dist/utils/inputs/flow.list.d.ts.map +1 -0
- package/dist/utils/inputs/flow.list.test.d.ts +2 -0
- package/dist/utils/inputs/flow.list.test.d.ts.map +1 -0
- package/dist/utils/inputs/flow.loop.d.ts +32 -0
- package/dist/utils/inputs/flow.loop.d.ts.map +1 -0
- package/dist/utils/inputs/flow.loop.test.d.ts +2 -0
- package/dist/utils/inputs/flow.loop.test.d.ts.map +1 -0
- package/dist/utils/inputs/flow.switch.d.ts +32 -0
- package/dist/utils/inputs/flow.switch.d.ts.map +1 -0
- package/dist/utils/inputs/flow.switch.test.d.ts +2 -0
- package/dist/utils/inputs/flow.switch.test.d.ts.map +1 -0
- package/dist/utils/inputs/flow.test.d.ts +2 -0
- package/dist/utils/inputs/flow.test.d.ts.map +1 -0
- package/dist/utils/inputs/form.d.ts +30 -0
- package/dist/utils/inputs/form.d.ts.map +1 -0
- package/dist/utils/inputs/form.test.d.ts +2 -0
- package/dist/utils/inputs/form.test.d.ts.map +1 -0
- package/dist/utils/navigate.d.ts +10 -10
- package/dist/utils/navigate.d.ts.map +1 -1
- package/dist/utils/schema/flow.cond.d.ts +2 -2
- package/dist/utils/schema/flow.cond.d.ts.map +1 -1
- package/dist/utils/schema/flow.d.ts +2 -2
- package/dist/utils/schema/flow.d.ts.map +1 -1
- package/dist/utils/schema/flow.list.d.ts +2 -2
- package/dist/utils/schema/flow.list.d.ts.map +1 -1
- package/dist/utils/schema/flow.loop.d.ts +2 -2
- package/dist/utils/schema/flow.loop.d.ts.map +1 -1
- package/dist/utils/schema/flow.switch.d.ts +2 -2
- package/dist/utils/schema/flow.switch.d.ts.map +1 -1
- package/dist/utils/schema/form.d.ts +1 -1
- package/dist/utils/schema/form.d.ts.map +1 -1
- package/dist/utils/schema/return.d.ts +1 -1
- package/dist/utils/schema/return.d.ts.map +1 -1
- package/dist/utils/schema/variables.d.ts +1 -1
- package/dist/utils/schema/variables.d.ts.map +1 -1
- package/dist/utils/schema/yield.d.ts +1 -1
- package/dist/utils/schema/yield.d.ts.map +1 -1
- package/dist/utils/state.d.ts +13 -0
- package/dist/utils/state.d.ts.map +1 -0
- package/dist/utils/state.test.d.ts +2 -0
- package/dist/utils/state.test.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { ItemInputs, FlowInputs } from "../../types/state/inputs";
|
|
2
|
+
import type { Position } from "../../types/state/position";
|
|
3
|
+
/**
|
|
4
|
+
* Returns the value that is in the given `FlowInputs` object using the following parameters:
|
|
5
|
+
*
|
|
6
|
+
* - `path`: The path within the `FlowInputs` object that contains a `FormInputs` object.
|
|
7
|
+
* - `name`: The name of the value within the `FormInputs` object.
|
|
8
|
+
* - `keys`: The list of keys that is used to access the value within the `FormInputs` object.
|
|
9
|
+
* - `defaultValue`: The default value to return if the value is not found.
|
|
10
|
+
*
|
|
11
|
+
* @param flow The `FlowInputs` object.
|
|
12
|
+
* @param path The path within the `FlowInputs` object that contains a `FormInputs` object.
|
|
13
|
+
* @param name The name of the value within the `FormInputs` object.
|
|
14
|
+
* @param keys The list of keys that is used to access the value within the `FormInputs` object.
|
|
15
|
+
* @param defaultValue The default value to return if the value is not found.
|
|
16
|
+
* @returns The value that is in the given `FlowInputs` object or the default value if the value is not found.
|
|
17
|
+
*/
|
|
18
|
+
export declare function get(flow: FlowInputs, path: Position[], name: string, keys: PropertyKey[], defaultValue: unknown): unknown;
|
|
19
|
+
/**
|
|
20
|
+
* Sets the value in the given `FlowInputs` object using the following parameters:
|
|
21
|
+
*
|
|
22
|
+
* - `path`: The path within the `FlowInputs` object that contains a `FormInputs` object.
|
|
23
|
+
* - `name`: The name of the value within the `FormInputs` object.
|
|
24
|
+
* - `keys`: The list of keys that is used to access the value within the `FormInputs` object.
|
|
25
|
+
* - `value`: The value to set.
|
|
26
|
+
*
|
|
27
|
+
* @param flow The `FlowInputs` object.
|
|
28
|
+
* @param path The path within the `FlowInputs` object that contains a `FormInputs` object.
|
|
29
|
+
* @param name The name of the value within the `FormInputs` object.
|
|
30
|
+
* @param keys The list of keys that is used to access the value within the `FormInputs` object.
|
|
31
|
+
* @param data The value to set.
|
|
32
|
+
* @returns The updated `FlowInputs` object.
|
|
33
|
+
*/
|
|
34
|
+
export declare function set(flow: FlowInputs, path: Position[], name: string, keys: PropertyKey[], data: unknown): FlowInputs;
|
|
35
|
+
/**
|
|
36
|
+
* Creates a `FlowInputs` object.
|
|
37
|
+
*
|
|
38
|
+
* @returns The created `FlowInputs` object.
|
|
39
|
+
*/
|
|
40
|
+
export declare function create(position: Position): FlowInputs;
|
|
41
|
+
/**
|
|
42
|
+
* Clones a `FlowInputs` object.
|
|
43
|
+
*
|
|
44
|
+
* @param flow A `FlowInputs` object.
|
|
45
|
+
* @returns The cloned `FlowInputs` object.
|
|
46
|
+
*/
|
|
47
|
+
export declare function clone(flow: FlowInputs): FlowInputs;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the `ItemInputs` object at the given position within the given `FlowInputs` object, or `null` if there is no item at the given position.
|
|
50
|
+
*
|
|
51
|
+
* @param flow The `FlowInputs` object.
|
|
52
|
+
* @param position The position within the `FlowInputs` object.
|
|
53
|
+
* @returns The `ItemInputs` object at the given position within the `FlowInputs` object, or `null` if there is no item at the given position.
|
|
54
|
+
*/
|
|
55
|
+
export declare function getItem(flow: FlowInputs, position: Position): ItemInputs | null;
|
|
56
|
+
/**
|
|
57
|
+
* Sets the `ItemInputs` object at the given position within the given `FlowInputs` object.
|
|
58
|
+
*
|
|
59
|
+
* @param flow The `FlowInputs` object.
|
|
60
|
+
* @param position The position within the `FlowInputs` object.
|
|
61
|
+
* @param item The `ItemInputs` object to set.
|
|
62
|
+
*/
|
|
63
|
+
export declare function setItem(flow: FlowInputs, position: Position, item: ItemInputs): void;
|
|
64
|
+
//# sourceMappingURL=flow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow.d.ts","sourceRoot":"","sources":["../../../src/utils/inputs/flow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EAEX,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAQ3D;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,QAAQ,EAAE,EAChB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,WAAW,EAAE,EACnB,YAAY,EAAE,OAAO,GACpB,OAAO,CAUT;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,QAAQ,EAAE,EAChB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,WAAW,EAAE,EACnB,IAAI,EAAE,OAAO,GACZ,UAAU,CA2BZ;AAED;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,UAAU,CAWrD;AAED;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,UAAU,GAAG,UAAU,CAWlD;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,QAAQ,GACjB,UAAU,GAAG,IAAI,CAWnB;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,UAAU,GACf,IAAI,CAWN"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ItemInputs, FlowInputs, ListInputs } from "../../types/state/inputs";
|
|
2
|
+
import type { Position } from "../../types/state/position";
|
|
3
|
+
/**
|
|
4
|
+
* Creates a `ListInputs` object.
|
|
5
|
+
*
|
|
6
|
+
* @returns The created `ListInputs` object.
|
|
7
|
+
*/
|
|
8
|
+
export declare function create(): FlowInputs;
|
|
9
|
+
/**
|
|
10
|
+
* Clones a `ListInputs` object.
|
|
11
|
+
*
|
|
12
|
+
* @param flow A `ListInputs` object.
|
|
13
|
+
* @returns The cloned `ListInputs` object.
|
|
14
|
+
*/
|
|
15
|
+
export declare function clone(flow: ListInputs): FlowInputs;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the `ItemInputs` object at the given position within the given `ListInputs` object, or `null` if there is no item at the given position.
|
|
18
|
+
*
|
|
19
|
+
* @param flow The `ListInputs` object.
|
|
20
|
+
* @param position The position within the `ListInputs` object.
|
|
21
|
+
* @returns The `ItemInputs` object at the given position within the `ListInputs` object, or `null` if there is no item at the given position.
|
|
22
|
+
*/
|
|
23
|
+
export declare function getItem(flow: ListInputs, position: Position): ItemInputs | null;
|
|
24
|
+
/**
|
|
25
|
+
* Sets the `ItemInputs` object at the given position within the given `ListInputs` object.
|
|
26
|
+
*
|
|
27
|
+
* @param flow The `ListInputs` object.
|
|
28
|
+
* @param position The position within the `ListInputs` object.
|
|
29
|
+
* @param item The `ItemInputs` object to set.
|
|
30
|
+
*/
|
|
31
|
+
export declare function setItem(flow: ListInputs, position: Position, item: ItemInputs): void;
|
|
32
|
+
//# sourceMappingURL=flow.list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow.list.d.ts","sourceRoot":"","sources":["../../../src/utils/inputs/flow.list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACV,UAAU,EACX,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,QAAQ,EAAgB,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,wBAAgB,MAAM,IAAI,UAAU,CAEnC;AAED;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,UAAU,GAAG,UAAU,CAElD;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,QAAQ,GACjB,UAAU,GAAG,IAAI,CAInB;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,UAAU,GACf,IAAI,CAGN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow.list.test.d.ts","sourceRoot":"","sources":["../../../src/utils/inputs/flow.list.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ItemInputs, FlowInputs, LoopInputs } from "../../types/state/inputs";
|
|
2
|
+
import type { Position } from "../../types/state/position";
|
|
3
|
+
/**
|
|
4
|
+
* Creates a `LoopInputs` object.
|
|
5
|
+
*
|
|
6
|
+
* @returns The created `LoopInputs` object.
|
|
7
|
+
*/
|
|
8
|
+
export declare function create(): FlowInputs;
|
|
9
|
+
/**
|
|
10
|
+
* Clones a `LoopInputs` object.
|
|
11
|
+
*
|
|
12
|
+
* @param flow A `LoopInputs` object.
|
|
13
|
+
* @returns The cloned `LoopInputs` object.
|
|
14
|
+
*/
|
|
15
|
+
export declare function clone(flow: LoopInputs): FlowInputs;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the `ItemInputs` object at the given position within the given `LoopInputs` object, or `null` if there is no item at the given position.
|
|
18
|
+
*
|
|
19
|
+
* @param flow The `LoopInputs` object.
|
|
20
|
+
* @param position The position within the `LoopInputs` object.
|
|
21
|
+
* @returns The `ItemInputs` object at the given position within the `LoopInputs` object, or `null` if there is no item at the given position.
|
|
22
|
+
*/
|
|
23
|
+
export declare function getItem(flow: LoopInputs, position: Position): ItemInputs | null;
|
|
24
|
+
/**
|
|
25
|
+
* Sets the `ItemInputs` object at the given position within the given `LoopInputs` object.
|
|
26
|
+
*
|
|
27
|
+
* @param flow The `LoopInputs` object.
|
|
28
|
+
* @param position The position within the `LoopInputs` object.
|
|
29
|
+
* @param item The `ItemInputs` object to set.
|
|
30
|
+
*/
|
|
31
|
+
export declare function setItem(flow: LoopInputs, position: Position, item: ItemInputs): void;
|
|
32
|
+
//# sourceMappingURL=flow.loop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow.loop.d.ts","sourceRoot":"","sources":["../../../src/utils/inputs/flow.loop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACV,UAAU,EACX,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,QAAQ,EAAgB,MAAM,4BAA4B,CAAC;AAEzE;;;;GAIG;AACH,wBAAgB,MAAM,IAAI,UAAU,CAEnC;AAED;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,UAAU,GAAG,UAAU,CAElD;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,QAAQ,GACjB,UAAU,GAAG,IAAI,CAInB;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,UAAU,GACf,IAAI,CAGN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow.loop.test.d.ts","sourceRoot":"","sources":["../../../src/utils/inputs/flow.loop.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ItemInputs, FlowInputs, SwitchInputs } from "../../types/state/inputs";
|
|
2
|
+
import type { Position } from "../../types/state/position";
|
|
3
|
+
/**
|
|
4
|
+
* Creates a `SwitchInputs` object.
|
|
5
|
+
*
|
|
6
|
+
* @returns The created `SwitchInputs` object.
|
|
7
|
+
*/
|
|
8
|
+
export declare function create(): FlowInputs;
|
|
9
|
+
/**
|
|
10
|
+
* Clones a `SwitchInputs` object.
|
|
11
|
+
*
|
|
12
|
+
* @param flow A `SwitchInputs` object.
|
|
13
|
+
* @returns The cloned `SwitchInputs` object.
|
|
14
|
+
*/
|
|
15
|
+
export declare function clone(flow: SwitchInputs): FlowInputs;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the `ItemInputs` object at the given position within the given `SwitchInputs` object, or `null` if there is no item at the given position.
|
|
18
|
+
*
|
|
19
|
+
* @param flow The `SwitchInputs` object.
|
|
20
|
+
* @param position The position within the `SwitchInputs` object.
|
|
21
|
+
* @returns The `ItemInputs` object at the given position within the `SwitchInputs` object, or `null` if there is no item at the given position.
|
|
22
|
+
*/
|
|
23
|
+
export declare function getItem(flow: SwitchInputs, position: Position): ItemInputs | null;
|
|
24
|
+
/**
|
|
25
|
+
* Sets the `ItemInputs` object at the given position within the given `SwitchInputs` object.
|
|
26
|
+
*
|
|
27
|
+
* @param flow The `SwitchInputs` object.
|
|
28
|
+
* @param position The position within the `SwitchInputs` object.
|
|
29
|
+
* @param item The `ItemInputs` object to set.
|
|
30
|
+
*/
|
|
31
|
+
export declare function setItem(flow: SwitchInputs, position: Position, item: ItemInputs): void;
|
|
32
|
+
//# sourceMappingURL=flow.switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow.switch.d.ts","sourceRoot":"","sources":["../../../src/utils/inputs/flow.switch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACV,YAAY,EACb,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,QAAQ,EAAkB,MAAM,4BAA4B,CAAC;AAE3E;;;;GAIG;AACH,wBAAgB,MAAM,IAAI,UAAU,CAEnC;AAED;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,YAAY,GAAG,UAAU,CAQpD;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,QAAQ,GACjB,UAAU,GAAG,IAAI,CAUnB;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,UAAU,GACf,IAAI,CAWN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow.switch.test.d.ts","sourceRoot":"","sources":["../../../src/utils/inputs/flow.switch.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flow.test.d.ts","sourceRoot":"","sources":["../../../src/utils/inputs/flow.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { FormInputs } from "../../types/state/inputs";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the value that is in the given `FormInputs` object using the following parameters:
|
|
4
|
+
*
|
|
5
|
+
* - `name`: The name of the value within the `FormInputs` object.
|
|
6
|
+
* - `keys`: The list of keys that is used to access the value within the `FormInputs` object.
|
|
7
|
+
* - `defaultValue`: The default value to return if the value is not found.
|
|
8
|
+
*
|
|
9
|
+
* @param form The `FormInputs` object.
|
|
10
|
+
* @param name The name of the value within the `FormInputs` object.
|
|
11
|
+
* @param keys The list of keys that is used to access the value within the `FormInputs` object.
|
|
12
|
+
* @param defaultValue The default value to return if the value is not found.
|
|
13
|
+
* @returns The value that is in the given `FormInputs` object or the default value if the value is not found.
|
|
14
|
+
*/
|
|
15
|
+
export declare function get(form: FormInputs, name: string, keys: PropertyKey[], defaultValue: unknown): unknown;
|
|
16
|
+
/**
|
|
17
|
+
* Sets the value in the given `FormInputs` object using the following parameters:
|
|
18
|
+
*
|
|
19
|
+
* - `name`: The name of the value within the `FormInputs` object.
|
|
20
|
+
* - `keys`: The list of keys that is used to access the value within the `FormInputs` object.
|
|
21
|
+
* - `data`: The value to set.
|
|
22
|
+
*
|
|
23
|
+
* @param form The `FormInputs` object.
|
|
24
|
+
* @param name The name of the value within the `FormInputs` object.
|
|
25
|
+
* @param keys The list of keys that is used to access the value within the `FormInputs` object.
|
|
26
|
+
* @param data The value to set.
|
|
27
|
+
* @returns The updated `FormInputs` object.
|
|
28
|
+
*/
|
|
29
|
+
export declare function set(form: FormInputs, name: string, keys: PropertyKey[], data: unknown): FormInputs;
|
|
30
|
+
//# sourceMappingURL=form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/utils/inputs/form.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAc,MAAM,0BAA0B,CAAC;AAEvE;;;;;;;;;;;;GAYG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,WAAW,EAAE,EACnB,YAAY,EAAE,OAAO,GACpB,OAAO,CAaT;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,WAAW,EAAE,EACnB,IAAI,EAAE,OAAO,GACZ,UAAU,CAsBZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.test.d.ts","sourceRoot":"","sources":["../../../src/utils/inputs/form.test.ts"],"names":[],"mappings":""}
|
package/dist/utils/navigate.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { ListSchema as
|
|
3
|
-
import type { OnYield as
|
|
4
|
-
import type { OnReturn as
|
|
1
|
+
import type { State } from "../types/state/state";
|
|
2
|
+
import type { ListSchema as TypedListSchema } from "../types/schema/typed";
|
|
3
|
+
import type { OnYield as TypedOnYield } from "../types/handlers/typed";
|
|
4
|
+
import type { OnReturn as TypedOnReturn } from "../types/handlers/typed";
|
|
5
5
|
import type { ListValues } from "../types/values";
|
|
6
6
|
/**
|
|
7
|
-
* Initializes the multi-step form and returns its initial state, including a
|
|
7
|
+
* Initializes the multi-step form and returns its initial state, including a point
|
|
8
8
|
* pointing to the first form step. If no form step is found, or if a return operation
|
|
9
9
|
* is encountered before reaching a form, an error is thrown.
|
|
10
10
|
*
|
|
@@ -18,7 +18,7 @@ import type { ListValues } from "../types/values";
|
|
|
18
18
|
*
|
|
19
19
|
* @throws An error if no form step is found or if a return operation is encountered before a form step.
|
|
20
20
|
*/
|
|
21
|
-
export declare function
|
|
21
|
+
export declare function initState<Render, Values extends ListValues, Inputs extends object, Params extends object>(schema: TypedListSchema<Render, Values, Inputs, Params>, values: Inputs, onYield: TypedOnYield<Values>): State;
|
|
22
22
|
/**
|
|
23
23
|
* Navigates to the next form step of the multi-step form and returns the updated state.
|
|
24
24
|
* If there is no next form step, the returned state contains the current form step.
|
|
@@ -29,22 +29,22 @@ export declare function initFlow<Render, Values extends ListValues, Inputs exten
|
|
|
29
29
|
* The `onReturn` callback is triggered whenever a return operation is encountered during traversal,
|
|
30
30
|
* allowing for final values to be processed.
|
|
31
31
|
*
|
|
32
|
-
* @param
|
|
32
|
+
* @param state The current state of the multi-step form.
|
|
33
33
|
* @param schema The `ListSchema` object representing the multi-step form.
|
|
34
34
|
* @param values An object containing the generated values within the multi-step form.
|
|
35
35
|
* @param onYield A callback function triggered when the multi-step form yields values.
|
|
36
36
|
* @param onReturn A callback function triggered when the multi-step form returns values.
|
|
37
37
|
* @returns The updated state of the multi-step form.
|
|
38
38
|
*/
|
|
39
|
-
export declare function
|
|
39
|
+
export declare function nextState<Render, Values extends ListValues, Inputs extends object, Params extends object>(state: State, schema: TypedListSchema<Render, Values, Inputs, Params>, values: object, onYield: TypedOnYield<Values>, onReturn: TypedOnReturn<Values>): State;
|
|
40
40
|
/**
|
|
41
41
|
* Navigates to the previous form step of the multi-step form and returns the updated state.
|
|
42
42
|
* If there is no previous form step, the returned state contains the current form step.
|
|
43
43
|
*
|
|
44
|
-
* @param
|
|
44
|
+
* @param state The current state of the multi-step form.
|
|
45
45
|
* @param schema The `ListSchema` object representing the multi-step form.
|
|
46
46
|
* @param values An object containing the generated values within the multi-step form.
|
|
47
47
|
* @returns The updated state of the multi-step form.
|
|
48
48
|
*/
|
|
49
|
-
export declare function
|
|
49
|
+
export declare function prevState<Render, Values extends ListValues, Inputs extends object, Params extends object>(state: State, schema: TypedListSchema<Render, Values, Inputs, Params>, values: object, onYield: TypedOnYield<Values>): State;
|
|
50
50
|
//# sourceMappingURL=navigate.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigate.d.ts","sourceRoot":"","sources":["../../src/utils/navigate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"navigate.d.ts","sourceRoot":"","sources":["../../src/utils/navigate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAKlD,OAAO,KAAK,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC3E,OAAO,KAAK,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,IAAI,aAAa,EAAE,MAAM,yBAAyB,CAAC;AASzE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAUlD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,SAAS,CACvB,MAAM,EACN,MAAM,SAAS,UAAU,EACzB,MAAM,SAAS,MAAM,EACrB,MAAM,SAAS,MAAM,EAErB,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EACvD,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC,GAC5B,KAAK,CAKP;AA8ED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,SAAS,CACvB,MAAM,EACN,MAAM,SAAS,UAAU,EACzB,MAAM,SAAS,MAAM,EACrB,MAAM,SAAS,MAAM,EAErB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EACvD,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,aAAa,CAAC,MAAM,CAAC,GAC9B,KAAK,CAKP;AA8GD;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CACvB,MAAM,EACN,MAAM,SAAS,UAAU,EACzB,MAAM,SAAS,MAAM,EACrB,MAAM,SAAS,MAAM,EAErB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EACvD,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC,GAC5B,KAAK,CAIP"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ItemSchema, CondSchema } from "../../types/schema/
|
|
2
|
-
import type { Position } from "../../types/
|
|
1
|
+
import type { ItemSchema, CondSchema } from "../../types/schema/untyped";
|
|
2
|
+
import type { Position } from "../../types/state/position";
|
|
3
3
|
/**
|
|
4
4
|
* Type guard for `CondSchema` objects.
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow.cond.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/flow.cond.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"flow.cond.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/flow.cond.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAgB,MAAM,4BAA4B,CAAC;AAEzE;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,IAAI,UAAU,CAE3D;AAED;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAWxE;AAED;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAM5E;AAED;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,GAAG,UAAU,CAGrE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ItemSchema, FlowSchema } from "../../types/schema/
|
|
2
|
-
import type { Position } from "../../types/
|
|
1
|
+
import type { ItemSchema, FlowSchema } from "../../types/schema/untyped";
|
|
2
|
+
import type { Position } from "../../types/state/position";
|
|
3
3
|
/**
|
|
4
4
|
* Type guard for `FlowSchema` objects.
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/flow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"flow.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/flow.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAO3D;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,IAAI,UAAU,CAO3D;AAED;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAcxE;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,GACb,QAAQ,GAAG,IAAI,CAcjB;AAED;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,GAAG,UAAU,CAcrE;AAED;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,cAOxD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ItemSchema, ListSchema } from "../../types/schema/
|
|
2
|
-
import type { Position } from "../../types/
|
|
1
|
+
import type { ItemSchema, ListSchema } from "../../types/schema/untyped";
|
|
2
|
+
import type { Position } from "../../types/state/position";
|
|
3
3
|
/**
|
|
4
4
|
* Type guard for `ListSchema` objects.
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow.list.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/flow.list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"flow.list.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/flow.list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAgB,MAAM,4BAA4B,CAAC;AAEzE;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,IAAI,UAAU,CAE3D;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,UAAU,GAAG,QAAQ,GAAG,IAAI,CAKxD;AAED;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,GAAG,QAAQ,GAAG,IAAI,CAM5E;AAED;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,GAAG,UAAU,CAGrE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ItemSchema, LoopSchema } from "../../types/schema/
|
|
2
|
-
import type { Position } from "../../types/
|
|
1
|
+
import type { ItemSchema, LoopSchema } from "../../types/schema/untyped";
|
|
2
|
+
import type { Position } from "../../types/state/position";
|
|
3
3
|
/**
|
|
4
4
|
* Type guard for `LoopSchema` objects.
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow.loop.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/flow.loop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"flow.loop.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/flow.loop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAgB,MAAM,4BAA4B,CAAC;AAEzE;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,IAAI,UAAU,CAE3D;AAED;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAOxE;AAED;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,GACb,QAAQ,GAAG,IAAI,CASjB;AAED;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,GAAG,UAAU,CAGrE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ItemSchema, SwitchSchema } from "../../types/schema/
|
|
2
|
-
import type { Position } from "../../types/
|
|
1
|
+
import type { ItemSchema, SwitchSchema } from "../../types/schema/untyped";
|
|
2
|
+
import type { Position } from "../../types/state/position";
|
|
3
3
|
/**
|
|
4
4
|
* Type guard for `SwitchSchema` objects.
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flow.switch.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/flow.switch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"flow.switch.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/flow.switch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAkB,MAAM,4BAA4B,CAAC;AAE3E;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,IAAI,YAAY,CAE7D;AAED;;;;;;GAMG;AACH,wBAAgB,IAAI,CAAC,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAc1E;AAED;;;;;;GAMG;AACH,wBAAgB,IAAI,CAClB,MAAM,EAAE,YAAY,EACpB,QAAQ,EAAE,QAAQ,GACjB,QAAQ,GAAG,IAAI,CAYjB;AAED;;;;;;GAMG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,GAAG,UAAU,CAMvE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/form.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/form.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAEzE;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,IAAI,UAAU,CAE3D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"return.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/return.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"return.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/return.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE3E;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,IAAI,YAAY,CAE7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/variables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"variables.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/variables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE9E;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,IAAI,eAAe,CAEhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yield.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/yield.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"yield.d.ts","sourceRoot":"","sources":["../../../src/utils/schema/yield.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAE1E;;;;;GAKG;AACH,wBAAgB,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,IAAI,WAAW,CAE5D"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { State } from "../types/state/state";
|
|
2
|
+
import type { ListSchema as TypedListSchema } from "../types/schema/typed";
|
|
3
|
+
import type { ListValues } from "../types/values";
|
|
4
|
+
/**
|
|
5
|
+
* Returns the current state of the multi-step form after updating the values of the current form.
|
|
6
|
+
*
|
|
7
|
+
* @param state The current state of the multi-step form.
|
|
8
|
+
* @param schema The `ListSchema` object representing the multi-step form.
|
|
9
|
+
* @param values An object containing the values of the current form.
|
|
10
|
+
* @returns The current state of the multi-step form after updating the values of the current form.
|
|
11
|
+
*/
|
|
12
|
+
export declare function getState<Render, Values extends ListValues, Inputs extends object, Params extends object>(state: State, schema: TypedListSchema<Render, Values, Inputs, Params>, values: object): State;
|
|
13
|
+
//# sourceMappingURL=state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../src/utils/state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAMlD;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CACtB,MAAM,EACN,MAAM,SAAS,UAAU,EACzB,MAAM,SAAS,MAAM,EACrB,MAAM,SAAS,MAAM,EAErB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EACvD,MAAM,EAAE,MAAM,GACb,KAAK,CAGP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.test.d.ts","sourceRoot":"","sources":["../../src/utils/state.test.ts"],"names":[],"mappings":""}
|