ballerina-core 1.0.260 → 1.0.261
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/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/apis/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/apis/state.js +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/apis/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/layout/state.d.ts +57 -0
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/layout/state.d.ts.map +1 -0
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/layout/state.js +85 -0
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/layout/state.js.map +1 -0
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/lookup/state.d.ts +4 -7
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/lookup/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/lookup/state.js +12 -15
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/lookup/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/nestedRenderer/state.d.ts +2 -0
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/nestedRenderer/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/nestedRenderer/state.js +2 -3
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/nestedRenderer/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/record/domains/recordFieldRenderer/state.d.ts +2 -0
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/record/domains/recordFieldRenderer/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/record/domains/recordFieldRenderer/state.js +2 -0
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/record/domains/recordFieldRenderer/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/table/state.d.ts +2 -3
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/table/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/table/state.js +18 -21
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/table/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/union/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/union/state.js +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/union/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/state.d.ts +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/state.js +6 -7
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/state.js +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/statev2.d.ts +51 -23
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification/statev2.js +165 -109
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/enum/state.d.ts +35 -19
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/enum/state.js +40 -27
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/list/state.d.ts +63 -29
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/list/state.js +85 -44
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/lookup/state.d.ts +121 -56
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/lookup/state.js +133 -67
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/map/state.d.ts +44 -15
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/map/state.js +73 -32
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/nestedRenderer/state.d.ts +72 -29
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/nestedRenderer/state.js +83 -34
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/one/state.d.ts +67 -18
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/one/state.js +104 -36
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/primitive/state.d.ts +20 -10
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/primitive/state.js +21 -13
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/readOnly/state.d.ts +52 -19
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/readOnly/state.js +60 -26
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/record/domains/recordFieldRenderer/state.d.ts +47 -11
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/record/domains/recordFieldRenderer/state.js +68 -21
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/record/state.d.ts +51 -19
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/record/state.js +139 -60
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/stream/state.d.ts +29 -14
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/stream/state.js +43 -27
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/sum/state.d.ts +50 -19
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/sum/state.js +72 -26
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/sumUnitDate/state.d.ts +21 -13
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/sumUnitDate/state.js +39 -22
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/table/domains/tableCellRenderer/state.d.ts +44 -10
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/table/domains/tableCellRenderer/state.js +55 -14
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/table/state.d.ts +91 -39
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/table/state.js +184 -57
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/tuple/state.d.ts +38 -13
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/tuple/state.js +79 -37
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/union/state.d.ts +41 -15
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/domains/union/state.js +84 -38
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/state.d.ts +109 -19
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/forms/domains/renderer/state.js +203 -74
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/types/state.d.ts +424 -228
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/domains/types/state.js +1016 -572
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/state.d.ts +124 -60
- package/bin/src/forms/domains/dispatched-forms/deserializer/domains/specification-v2/state.js +330 -145
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/list/state.d.ts +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/list/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/list/state.js +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/list/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/lookup/state.d.ts +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/lookup/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/lookup/state.js +2 -5
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/lookup/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/map/state.d.ts +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/map/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/map/state.js +2 -2
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/map/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/nestedDispatcher/state.d.ts +2 -2
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/nestedDispatcher/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/nestedDispatcher/state.js +2 -2
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/nestedDispatcher/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/one/state.d.ts +2 -2
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/one/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/one/state.js +4 -4
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/one/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/readOnly/state.d.ts +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/readOnly/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/readOnly/state.js +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/readOnly/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/recordField/state.d.ts +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/recordField/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/recordField/state.js +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/recordField/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/state.d.ts +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/state.js +2 -2
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/sum/state.d.ts +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/sum/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/sum/state.js +3 -3
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/sum/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/table/state.d.ts +2 -2
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/table/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/table/state.js +74 -77
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/table/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/tupleDispatcher/state.d.ts +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/tupleDispatcher/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/tupleDispatcher/state.js +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/tupleDispatcher/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/unionDispatcher/state.d.ts +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/unionDispatcher/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/unionDispatcher/state.js +2 -2
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/unionDispatcher/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/state.d.ts +2 -2
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/state.d.ts.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/state.js +13 -16
- package/bin/src/forms/domains/dispatched-forms/runner/domains/dispatcher/state.js.map +1 -1
- package/bin/src/forms/domains/dispatched-forms/runner/template.d.ts.map +1 -1
- package/bin/src/forms/domains/launcher/coroutines/runner.d.ts.map +1 -1
- package/bin/src/forms/domains/launcher/template.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/apis/state.ts +0 -1
- package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/lookup/state.ts +0 -18
- package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/nestedRenderer/state.ts +3 -3
- package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/record/domains/recordFieldRenderer/state.ts +6 -0
- package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/table/state.ts +99 -111
- package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/domains/union/state.ts +0 -1
- package/src/forms/domains/dispatched-forms/deserializer/domains/specification/domains/forms/domains/renderer/state.ts +0 -6
- package/src/forms/domains/dispatched-forms/deserializer/domains/specification/state.ts +0 -1
- package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/list/state.ts +0 -2
- package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/lookup/state.ts +2 -3
- package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/map/state.ts +0 -3
- package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/nestedDispatcher/state.ts +1 -4
- package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/one/state.ts +0 -6
- package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/readOnly/state.ts +0 -2
- package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/recordField/state.ts +0 -2
- package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/record/state.ts +0 -2
- package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/sum/state.ts +0 -3
- package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/table/state.ts +240 -235
- package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/tupleDispatcher/state.ts +0 -2
- package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/domains/unionDispatcher/state.ts +1 -2
- package/src/forms/domains/dispatched-forms/runner/domains/dispatcher/state.ts +6 -14
|
@@ -1,28 +1,60 @@
|
|
|
1
1
|
import { Map } from "immutable";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
ConcreteRenderers,
|
|
4
|
+
DispatchInjectablesTypes,
|
|
5
|
+
DispatchParsedType,
|
|
6
|
+
PredicateFormLayout,
|
|
7
|
+
PredicateComputedOrInlined,
|
|
8
|
+
ValueOrErrors,
|
|
9
|
+
Renderer,
|
|
10
|
+
} from "../../../../../../../../../../../../../main";
|
|
3
11
|
import { RecordType } from "../../../../../../../../../../../../../main";
|
|
4
12
|
import { RecordFieldRenderer } from "./domains/recordFieldRenderer/state";
|
|
5
13
|
export type SerializedRecordRenderer = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
14
|
+
type: string;
|
|
15
|
+
renderer?: string;
|
|
16
|
+
fields: Map<string, unknown>;
|
|
17
|
+
tabs: object;
|
|
18
|
+
extends?: string[];
|
|
11
19
|
};
|
|
12
20
|
export type RecordRenderer<T> = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
kind: "recordRenderer";
|
|
22
|
+
concreteRenderer?: string;
|
|
23
|
+
fields: Map<string, RecordFieldRenderer<T>>;
|
|
24
|
+
type: RecordType<T>;
|
|
25
|
+
tabs: PredicateFormLayout;
|
|
26
|
+
disabledFields: PredicateComputedOrInlined;
|
|
19
27
|
};
|
|
20
28
|
export declare const RecordRenderer: {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
29
|
+
Default: <T>(
|
|
30
|
+
type: RecordType<T>,
|
|
31
|
+
fields: Map<string, RecordFieldRenderer<T>>,
|
|
32
|
+
tabs: PredicateFormLayout,
|
|
33
|
+
disabledFields: PredicateComputedOrInlined,
|
|
34
|
+
concreteRenderer?: string,
|
|
35
|
+
) => RecordRenderer<T>;
|
|
36
|
+
Operations: {
|
|
37
|
+
hasValidExtends: (_: unknown) => _ is string[];
|
|
38
|
+
tryAsValidRecordForm: <T>(
|
|
39
|
+
_: unknown,
|
|
40
|
+
) => ValueOrErrors<SerializedRecordRenderer, string>;
|
|
41
|
+
Deserialize: <
|
|
42
|
+
T extends DispatchInjectablesTypes<T>,
|
|
43
|
+
Flags,
|
|
44
|
+
CustomPresentationContext,
|
|
45
|
+
ExtraContext,
|
|
46
|
+
>(
|
|
47
|
+
type: RecordType<T>,
|
|
48
|
+
serialized: unknown,
|
|
49
|
+
concreteRenderers: ConcreteRenderers<
|
|
50
|
+
T,
|
|
51
|
+
Flags,
|
|
52
|
+
CustomPresentationContext,
|
|
53
|
+
ExtraContext
|
|
54
|
+
>,
|
|
55
|
+
types: Map<string, DispatchParsedType<T>>,
|
|
56
|
+
alreadyParsedForms: Map<string, Renderer<T>>,
|
|
57
|
+
) => ValueOrErrors<[RecordRenderer<T>, Map<string, Renderer<T>>], string>;
|
|
58
|
+
};
|
|
27
59
|
};
|
|
28
|
-
//# sourceMappingURL=state.d.ts.map
|
|
60
|
+
//# sourceMappingURL=state.d.ts.map
|
|
@@ -1,65 +1,144 @@
|
|
|
1
1
|
import { List, Map } from "immutable";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
DisabledFields,
|
|
4
|
+
DispatchIsObject,
|
|
5
|
+
FormLayout,
|
|
6
|
+
isObject,
|
|
7
|
+
isString,
|
|
8
|
+
MapRepo,
|
|
9
|
+
ValueOrErrors,
|
|
10
|
+
} from "../../../../../../../../../../../../../main";
|
|
3
11
|
import { RecordFieldRenderer } from "./domains/recordFieldRenderer/state";
|
|
4
12
|
export const RecordRenderer = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
13
|
+
Default: (type, fields, tabs, disabledFields, concreteRenderer) => ({
|
|
14
|
+
kind: "recordRenderer",
|
|
15
|
+
type,
|
|
16
|
+
fields,
|
|
17
|
+
tabs,
|
|
18
|
+
disabledFields,
|
|
19
|
+
concreteRenderer,
|
|
20
|
+
}),
|
|
21
|
+
Operations: {
|
|
22
|
+
hasValidExtends: (_) =>
|
|
23
|
+
Array.isArray(_) &&
|
|
24
|
+
(_.length == 0 || _.every((e) => typeof e == "string")),
|
|
25
|
+
tryAsValidRecordForm: (_) =>
|
|
26
|
+
!DispatchIsObject(_)
|
|
27
|
+
? ValueOrErrors.Default.throwOne("record form is not an object")
|
|
28
|
+
: !("fields" in _)
|
|
29
|
+
? ValueOrErrors.Default.throwOne(
|
|
30
|
+
"record form is missing the required fields attribute",
|
|
31
|
+
)
|
|
32
|
+
: !isObject(_.fields)
|
|
33
|
+
? ValueOrErrors.Default.throwOne(
|
|
34
|
+
"fields attribute is not an object",
|
|
35
|
+
)
|
|
36
|
+
: !("tabs" in _)
|
|
37
|
+
? ValueOrErrors.Default.throwOne(
|
|
38
|
+
"record form is missing the required tabs attribute",
|
|
39
|
+
)
|
|
40
|
+
: !isObject(_.tabs)
|
|
41
|
+
? ValueOrErrors.Default.throwOne(
|
|
42
|
+
"tabs attribute is not an object",
|
|
43
|
+
)
|
|
44
|
+
: "extends" in _ &&
|
|
45
|
+
!RecordRenderer.Operations.hasValidExtends(_.extends)
|
|
46
|
+
? ValueOrErrors.Default.throwOne(
|
|
47
|
+
"extends attribute is not an array of strings",
|
|
48
|
+
)
|
|
49
|
+
: !("type" in _)
|
|
50
|
+
? ValueOrErrors.Default.throwOne(
|
|
51
|
+
"top level record form type attribute is not a string",
|
|
52
|
+
)
|
|
53
|
+
: !isString(_.type)
|
|
54
|
+
? ValueOrErrors.Default.throwOne(
|
|
55
|
+
"type attribute is not a string",
|
|
56
|
+
)
|
|
57
|
+
: "renderer" in _ && typeof _.renderer != "string"
|
|
58
|
+
? ValueOrErrors.Default.throwOne(
|
|
59
|
+
"renderer attribute is not a string",
|
|
60
|
+
)
|
|
61
|
+
: ValueOrErrors.Default.return({
|
|
62
|
+
type: _.type,
|
|
63
|
+
renderer: "renderer" in _ ? _.renderer : undefined,
|
|
64
|
+
fields: Map(_.fields),
|
|
65
|
+
tabs: _.tabs,
|
|
66
|
+
extends: "extends" in _ ? _.extends : undefined,
|
|
67
|
+
disabledFields:
|
|
68
|
+
"disabledFields" in _
|
|
69
|
+
? _.disabledFields
|
|
70
|
+
: undefined,
|
|
71
|
+
}),
|
|
72
|
+
Deserialize: (
|
|
73
|
+
type,
|
|
74
|
+
serialized,
|
|
75
|
+
concreteRenderers,
|
|
76
|
+
types,
|
|
77
|
+
alreadyParsedForms,
|
|
78
|
+
) =>
|
|
79
|
+
RecordRenderer.Operations.tryAsValidRecordForm(serialized).Then(
|
|
80
|
+
(validRecordForm) =>
|
|
81
|
+
validRecordForm.fields
|
|
50
82
|
.toArray()
|
|
51
|
-
.reduce(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
83
|
+
.reduce(
|
|
84
|
+
(acc, [fieldName, recordFieldRenderer]) =>
|
|
85
|
+
acc.Then(([fieldsMap, accumulatedAlreadyParsedForms]) =>
|
|
86
|
+
MapRepo.Operations.tryFindWithError(
|
|
87
|
+
fieldName,
|
|
88
|
+
type.fields,
|
|
89
|
+
() => `Cannot find field type for ${fieldName} in fields`,
|
|
90
|
+
).Then((fieldType) =>
|
|
91
|
+
RecordFieldRenderer.Deserialize(
|
|
92
|
+
fieldType,
|
|
93
|
+
recordFieldRenderer,
|
|
94
|
+
concreteRenderers,
|
|
95
|
+
types,
|
|
96
|
+
fieldName,
|
|
97
|
+
accumulatedAlreadyParsedForms,
|
|
98
|
+
).Then(([renderer, newAlreadyParsedForms]) =>
|
|
99
|
+
ValueOrErrors.Default.return([
|
|
100
|
+
fieldsMap.set(fieldName, renderer),
|
|
101
|
+
newAlreadyParsedForms,
|
|
102
|
+
]),
|
|
103
|
+
),
|
|
104
|
+
),
|
|
105
|
+
),
|
|
106
|
+
ValueOrErrors.Default.return([Map(), alreadyParsedForms]),
|
|
107
|
+
)
|
|
108
|
+
.Then(([fieldsMap, accumulatedAlreadyParsedForms]) =>
|
|
109
|
+
ValueOrErrors.Operations.All(
|
|
110
|
+
List([
|
|
111
|
+
FormLayout.Operations.ParseLayout(validRecordForm).MapErrors(
|
|
112
|
+
(errors) =>
|
|
113
|
+
errors.map((error) => `${error}\n...When parsing tabs`),
|
|
114
|
+
),
|
|
115
|
+
DisabledFields.Operations.ParseLayout(
|
|
116
|
+
validRecordForm,
|
|
117
|
+
).MapErrors((errors) =>
|
|
118
|
+
errors.map(
|
|
119
|
+
(error) => `${error}\n...When parsing disabled fields`,
|
|
120
|
+
),
|
|
121
|
+
),
|
|
122
|
+
]),
|
|
123
|
+
).Then(([tabs, disabledFields]) =>
|
|
124
|
+
ValueOrErrors.Default.return([
|
|
125
|
+
RecordRenderer.Default(
|
|
126
|
+
type,
|
|
127
|
+
fieldsMap,
|
|
128
|
+
tabs,
|
|
129
|
+
disabledFields,
|
|
130
|
+
validRecordForm.renderer,
|
|
131
|
+
),
|
|
132
|
+
accumulatedAlreadyParsedForms,
|
|
133
|
+
]),
|
|
134
|
+
),
|
|
135
|
+
)
|
|
136
|
+
.MapErrors((errors) =>
|
|
137
|
+
errors.map(
|
|
138
|
+
(error) => `${error}\n...When parsing as RecordForm renderer`,
|
|
139
|
+
),
|
|
140
|
+
),
|
|
141
|
+
),
|
|
142
|
+
},
|
|
64
143
|
};
|
|
65
|
-
//# sourceMappingURL=state.js.map
|
|
144
|
+
//# sourceMappingURL=state.js.map
|
|
@@ -1,20 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
DispatchInjectablesTypes,
|
|
3
|
+
ValueOrErrors,
|
|
4
|
+
} from "../../../../../../../../../../../../../main";
|
|
5
|
+
import {
|
|
6
|
+
MultiSelectionType,
|
|
7
|
+
SingleSelectionType,
|
|
8
|
+
} from "../../../../../types/state";
|
|
3
9
|
export type SerializedStreamRenderer = {
|
|
4
|
-
|
|
5
|
-
|
|
10
|
+
renderer: string;
|
|
11
|
+
stream: string;
|
|
6
12
|
};
|
|
7
13
|
export type StreamRenderer<T> = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
14
|
+
kind: "streamRenderer";
|
|
15
|
+
concreteRenderer: string;
|
|
16
|
+
stream: string;
|
|
17
|
+
type: SingleSelectionType<T> | MultiSelectionType<T>;
|
|
12
18
|
};
|
|
13
19
|
export declare const StreamRenderer: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
Default: <T>(
|
|
21
|
+
type: SingleSelectionType<T> | MultiSelectionType<T>,
|
|
22
|
+
stream: string,
|
|
23
|
+
concreteRenderer: string,
|
|
24
|
+
) => StreamRenderer<T>;
|
|
25
|
+
Operations: {
|
|
26
|
+
tryAsValidStreamBaseRenderer: (
|
|
27
|
+
serialized: unknown,
|
|
28
|
+
) => ValueOrErrors<SerializedStreamRenderer, string>;
|
|
29
|
+
Deserialize: <T extends DispatchInjectablesTypes<T>>(
|
|
30
|
+
type: SingleSelectionType<T> | MultiSelectionType<T>,
|
|
31
|
+
serialized: unknown,
|
|
32
|
+
) => ValueOrErrors<StreamRenderer<T>, string>;
|
|
33
|
+
};
|
|
19
34
|
};
|
|
20
|
-
//# sourceMappingURL=state.d.ts.map
|
|
35
|
+
//# sourceMappingURL=state.d.ts.map
|
|
@@ -1,29 +1,45 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
isObject,
|
|
3
|
+
isString,
|
|
4
|
+
ValueOrErrors,
|
|
5
|
+
} from "../../../../../../../../../../../../../main";
|
|
2
6
|
export const StreamRenderer = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
7
|
+
Default: (type, stream, concreteRenderer) => ({
|
|
8
|
+
kind: "streamRenderer",
|
|
9
|
+
type,
|
|
10
|
+
stream,
|
|
11
|
+
concreteRenderer,
|
|
12
|
+
}),
|
|
13
|
+
Operations: {
|
|
14
|
+
tryAsValidStreamBaseRenderer: (serialized) =>
|
|
15
|
+
!isObject(serialized)
|
|
16
|
+
? ValueOrErrors.Default.throwOne(`stream renderer is not an object`)
|
|
17
|
+
: !("renderer" in serialized)
|
|
18
|
+
? ValueOrErrors.Default.throwOne(`renderer is required`)
|
|
19
|
+
: !isString(serialized.renderer)
|
|
20
|
+
? ValueOrErrors.Default.throwOne(`renderer must be a string`)
|
|
21
|
+
: !("stream" in serialized)
|
|
22
|
+
? ValueOrErrors.Default.throwOne(`stream is required`)
|
|
23
|
+
: !isString(serialized.stream)
|
|
24
|
+
? ValueOrErrors.Default.throwOne(`stream must be a string`)
|
|
25
|
+
: ValueOrErrors.Default.return({
|
|
26
|
+
renderer: serialized.renderer,
|
|
27
|
+
stream: serialized.stream,
|
|
28
|
+
}),
|
|
29
|
+
Deserialize: (type, serialized) =>
|
|
30
|
+
StreamRenderer.Operations.tryAsValidStreamBaseRenderer(serialized)
|
|
31
|
+
.Then((validatedSerialized) =>
|
|
32
|
+
ValueOrErrors.Default.return(
|
|
33
|
+
StreamRenderer.Default(
|
|
34
|
+
type,
|
|
35
|
+
validatedSerialized.stream,
|
|
36
|
+
validatedSerialized.renderer,
|
|
37
|
+
),
|
|
38
|
+
),
|
|
39
|
+
)
|
|
40
|
+
.MapErrors((errors) =>
|
|
41
|
+
errors.map((error) => `${error}\n...When parsing as Stream renderer`),
|
|
42
|
+
),
|
|
43
|
+
},
|
|
28
44
|
};
|
|
29
|
-
//# sourceMappingURL=state.js.map
|
|
45
|
+
//# sourceMappingURL=state.js.map
|
|
@@ -1,29 +1,60 @@
|
|
|
1
1
|
import { Map } from "immutable";
|
|
2
2
|
import { Renderer } from "../../state";
|
|
3
3
|
import { NestedRenderer } from "../nestedRenderer/state";
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
ConcreteRenderers,
|
|
6
|
+
DispatchInjectablesTypes,
|
|
7
|
+
DispatchParsedType,
|
|
8
|
+
SumType,
|
|
9
|
+
ValueOrErrors,
|
|
10
|
+
} from "../../../../../../../../../../../../../main";
|
|
5
11
|
export type SerializedSumRenderer = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
12
|
+
renderer: string;
|
|
13
|
+
leftRenderer: unknown;
|
|
14
|
+
rightRenderer: unknown;
|
|
9
15
|
};
|
|
10
16
|
export type SumRenderer<T> = {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
kind: "sumRenderer";
|
|
18
|
+
concreteRenderer: string;
|
|
19
|
+
leftRenderer: NestedRenderer<T>;
|
|
20
|
+
rightRenderer: NestedRenderer<T>;
|
|
21
|
+
type: SumType<T>;
|
|
16
22
|
};
|
|
17
23
|
export declare const SumRenderer: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
Default: <T>(
|
|
25
|
+
type: SumType<T>,
|
|
26
|
+
concreteRenderer: string,
|
|
27
|
+
leftRenderer: NestedRenderer<T>,
|
|
28
|
+
rightRenderer: NestedRenderer<T>,
|
|
29
|
+
) => SumRenderer<T>;
|
|
30
|
+
Operations: {
|
|
31
|
+
hasRenderers: (
|
|
32
|
+
serialized: unknown,
|
|
33
|
+
) => serialized is SerializedSumRenderer & {
|
|
34
|
+
renderer: unknown;
|
|
35
|
+
leftRenderer: unknown;
|
|
36
|
+
rightRenderer: unknown;
|
|
27
37
|
};
|
|
38
|
+
tryAsValidSumBaseRenderer: (
|
|
39
|
+
serialized: unknown,
|
|
40
|
+
) => ValueOrErrors<SerializedSumRenderer, string>;
|
|
41
|
+
Deserialize: <
|
|
42
|
+
T extends DispatchInjectablesTypes<T>,
|
|
43
|
+
Flags,
|
|
44
|
+
CustomPresentationContext,
|
|
45
|
+
ExtraContext,
|
|
46
|
+
>(
|
|
47
|
+
type: SumType<T>,
|
|
48
|
+
serialized: unknown,
|
|
49
|
+
concreteRenderers: ConcreteRenderers<
|
|
50
|
+
T,
|
|
51
|
+
Flags,
|
|
52
|
+
CustomPresentationContext,
|
|
53
|
+
ExtraContext
|
|
54
|
+
>,
|
|
55
|
+
types: Map<string, DispatchParsedType<T>>,
|
|
56
|
+
alreadyParsedForms: Map<string, Renderer<T>>,
|
|
57
|
+
) => ValueOrErrors<[SumRenderer<T>, Map<string, Renderer<T>>], string>;
|
|
58
|
+
};
|
|
28
59
|
};
|
|
29
|
-
//# sourceMappingURL=state.d.ts.map
|
|
60
|
+
//# sourceMappingURL=state.d.ts.map
|
|
@@ -1,29 +1,75 @@
|
|
|
1
1
|
import { NestedRenderer } from "../nestedRenderer/state";
|
|
2
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
isObject,
|
|
4
|
+
isString,
|
|
5
|
+
ValueOrErrors,
|
|
6
|
+
} from "../../../../../../../../../../../../../main";
|
|
3
7
|
export const SumRenderer = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
8
|
+
Default: (type, concreteRenderer, leftRenderer, rightRenderer) => ({
|
|
9
|
+
kind: "sumRenderer",
|
|
10
|
+
type,
|
|
11
|
+
concreteRenderer,
|
|
12
|
+
leftRenderer,
|
|
13
|
+
rightRenderer,
|
|
14
|
+
}),
|
|
15
|
+
Operations: {
|
|
16
|
+
hasRenderers: (serialized) =>
|
|
17
|
+
isObject(serialized) &&
|
|
18
|
+
"renderer" in serialized &&
|
|
19
|
+
"leftRenderer" in serialized &&
|
|
20
|
+
"rightRenderer" in serialized,
|
|
21
|
+
tryAsValidSumBaseRenderer: (serialized) =>
|
|
22
|
+
!SumRenderer.Operations.hasRenderers(serialized)
|
|
23
|
+
? ValueOrErrors.Default.throwOne(
|
|
24
|
+
`renderer, leftRenderer and rightRenderer are required`,
|
|
25
|
+
)
|
|
26
|
+
: !isString(serialized.renderer)
|
|
27
|
+
? ValueOrErrors.Default.throwOne(`renderer must be a string`)
|
|
28
|
+
: ValueOrErrors.Default.return(
|
|
29
|
+
Object.assign(Object.assign({}, serialized), {
|
|
30
|
+
renderer: serialized.renderer,
|
|
31
|
+
}),
|
|
32
|
+
),
|
|
33
|
+
Deserialize: (
|
|
34
|
+
type,
|
|
35
|
+
serialized,
|
|
36
|
+
concreteRenderers,
|
|
37
|
+
types,
|
|
38
|
+
alreadyParsedForms,
|
|
39
|
+
) =>
|
|
40
|
+
SumRenderer.Operations.tryAsValidSumBaseRenderer(serialized)
|
|
41
|
+
.Then((validatedSerialized) =>
|
|
42
|
+
NestedRenderer.Operations.DeserializeAs(
|
|
43
|
+
type.args[0],
|
|
44
|
+
validatedSerialized.leftRenderer,
|
|
45
|
+
concreteRenderers,
|
|
46
|
+
"Left renderer",
|
|
47
|
+
types,
|
|
48
|
+
alreadyParsedForms,
|
|
49
|
+
).Then(([deserializedLeftRenderer, leftAlreadyParsedForms]) =>
|
|
50
|
+
NestedRenderer.Operations.DeserializeAs(
|
|
51
|
+
type.args[1],
|
|
52
|
+
validatedSerialized.rightRenderer,
|
|
53
|
+
concreteRenderers,
|
|
54
|
+
"Right renderer",
|
|
55
|
+
types,
|
|
56
|
+
leftAlreadyParsedForms,
|
|
57
|
+
).Then(([deserializedRightRenderer, rightAlreadyParsedForms]) =>
|
|
58
|
+
ValueOrErrors.Default.return([
|
|
59
|
+
SumRenderer.Default(
|
|
60
|
+
type,
|
|
61
|
+
validatedSerialized.renderer,
|
|
62
|
+
deserializedLeftRenderer,
|
|
63
|
+
deserializedRightRenderer,
|
|
64
|
+
),
|
|
65
|
+
rightAlreadyParsedForms,
|
|
66
|
+
]),
|
|
67
|
+
),
|
|
68
|
+
),
|
|
69
|
+
)
|
|
70
|
+
.MapErrors((errors) =>
|
|
71
|
+
errors.map((error) => `${error}\n...When parsing as Sum renderer`),
|
|
72
|
+
),
|
|
73
|
+
},
|
|
28
74
|
};
|
|
29
|
-
//# sourceMappingURL=state.js.map
|
|
75
|
+
//# sourceMappingURL=state.js.map
|
|
@@ -2,23 +2,31 @@ import { DispatchInjectablesTypes } from "../../../../../../../../../../../../..
|
|
|
2
2
|
import { ValueOrErrors } from "../../../../../../../../../../../../../main";
|
|
3
3
|
import { SumType } from "../../../../../types/state";
|
|
4
4
|
export type SerializedSumUnitDateBaseRenderer = {
|
|
5
|
-
|
|
5
|
+
renderer: string;
|
|
6
6
|
};
|
|
7
7
|
export type SumUnitDateRenderer<T> = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
kind: "sumUnitDateRenderer";
|
|
9
|
+
type: SumType<T>;
|
|
10
|
+
concreteRenderer: string;
|
|
11
11
|
};
|
|
12
12
|
export type BaseSumUnitDateRenderer<T> = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
kind: "sumUnitDateRenderer";
|
|
14
|
+
type: SumType<T>;
|
|
15
|
+
concreteRenderer: string;
|
|
16
16
|
};
|
|
17
17
|
export declare const BaseSumUnitDateRenderer: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
Default: <T>(
|
|
19
|
+
type: SumType<T>,
|
|
20
|
+
concreteRenderer: string,
|
|
21
|
+
) => BaseSumUnitDateRenderer<T>;
|
|
22
|
+
Operations: {
|
|
23
|
+
tryAsValidSumUnitDateBaseRenderer: (
|
|
24
|
+
serialized: unknown,
|
|
25
|
+
) => ValueOrErrors<SerializedSumUnitDateBaseRenderer, string>;
|
|
26
|
+
Deserialize: <T extends DispatchInjectablesTypes<T>>(
|
|
27
|
+
type: SumType<T>,
|
|
28
|
+
serialized: unknown,
|
|
29
|
+
) => ValueOrErrors<BaseSumUnitDateRenderer<T>, string>;
|
|
30
|
+
};
|
|
23
31
|
};
|
|
24
|
-
//# sourceMappingURL=state.d.ts.map
|
|
32
|
+
//# sourceMappingURL=state.d.ts.map
|