@jsonforms/examples 3.3.0-alpha.1 → 3.3.0-beta.1
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/lib/example.d.ts +24 -24
- package/lib/examples/1884.d.ts +99 -99
- package/lib/examples/1948.d.ts +40 -40
- package/lib/examples/additional-errors.d.ts +16 -16
- package/lib/examples/allOf.d.ts +56 -56
- package/lib/examples/anyOf-oneOf-allOf-resolve.d.ts +44 -44
- package/lib/examples/anyOf.d.ts +77 -77
- package/lib/examples/arrays-with-custom-element-label.d.ts +43 -43
- package/lib/examples/arrays-with-defaults.d.ts +107 -107
- package/lib/examples/arrays-with-detail-and-rule.d.ts +91 -91
- package/lib/examples/arrays-with-detail.d.ts +69 -69
- package/lib/examples/arrays-with-sorting.d.ts +66 -66
- package/lib/examples/arrays-with-translated-custom-element-label.d.ts +37 -0
- package/lib/examples/arrays.d.ts +73 -73
- package/lib/examples/arraysI18n.d.ts +52 -52
- package/lib/examples/categorization-stepper-nav-buttons.d.ts +142 -142
- package/lib/examples/categorization-stepper.d.ts +141 -141
- package/lib/examples/categorization.d.ts +146 -146
- package/lib/examples/conditional-schema-compositions.d.ts +56 -56
- package/lib/examples/config.d.ts +29 -29
- package/lib/examples/control-options.d.ts +191 -191
- package/lib/examples/dates.d.ts +115 -115
- package/lib/examples/default.d.ts +64 -64
- package/lib/examples/enum-multi-with-label-and-desc.d.ts +40 -40
- package/lib/examples/enum-multi.d.ts +34 -34
- package/lib/examples/enum.d.ts +65 -65
- package/lib/examples/enumInArray.d.ts +27 -27
- package/lib/examples/generate-dynamic.d.ts +15 -15
- package/lib/examples/generate.d.ts +12 -12
- package/lib/examples/generateUI.d.ts +33 -33
- package/lib/examples/huge.d.ts +1 -1
- package/lib/examples/i18n.d.ts +42 -42
- package/lib/examples/if_then_else.d.ts +25 -25
- package/lib/examples/layout.d.ts +97 -97
- package/lib/examples/list-with-detail-primitives.d.ts +36 -36
- package/lib/examples/list-with-detail-registered.d.ts +55 -55
- package/lib/examples/list-with-detail.d.ts +191 -191
- package/lib/examples/nestedArrays.d.ts +11 -11
- package/lib/examples/nestedCategorization.d.ts +57 -57
- package/lib/examples/numbers.d.ts +46 -46
- package/lib/examples/object.d.ts +67 -67
- package/lib/examples/onChange.d.ts +18 -18
- package/lib/examples/oneOf-recursive.d.ts +48 -48
- package/lib/examples/oneOf.d.ts +53 -53
- package/lib/examples/oneOfArray.d.ts +53 -53
- package/lib/examples/person.d.ts +99 -99
- package/lib/examples/radioGroup.d.ts +42 -42
- package/lib/examples/readonly.d.ts +36 -36
- package/lib/examples/rule.d.ts +59 -59
- package/lib/examples/ruleInheritance.d.ts +26 -26
- package/lib/examples/scope.d.ts +50 -50
- package/lib/examples/stringArray.d.ts +23 -23
- package/lib/examples/text.d.ts +37 -37
- package/lib/index.d.ts +55 -54
- package/lib/jsonforms-examples.cjs.js +384 -131
- package/lib/jsonforms-examples.cjs.js.map +1 -1
- package/lib/jsonforms-examples.esm.js +384 -132
- package/lib/jsonforms-examples.esm.js.map +1 -1
- package/lib/register.d.ts +3 -3
- package/package.json +4 -4
- package/src/examples/arrays-with-translated-custom-element-label.ts +284 -0
- package/src/index.ts +2 -0
- package/stats.html +1 -1
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
export declare const schema: {
|
|
2
|
-
type: string;
|
|
3
|
-
properties: {
|
|
4
|
-
name: {
|
|
5
|
-
type: string;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
name_noDefault: {
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
description: {
|
|
12
|
-
type: string;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
done: {
|
|
16
|
-
type: string;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
rating: {
|
|
20
|
-
type: string;
|
|
21
|
-
default: number;
|
|
22
|
-
};
|
|
23
|
-
cost: {
|
|
24
|
-
type: string;
|
|
25
|
-
default: number;
|
|
26
|
-
};
|
|
27
|
-
dueDate: {
|
|
28
|
-
type: string;
|
|
29
|
-
format: string;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
required: string[];
|
|
34
|
-
};
|
|
35
|
-
export declare const uischema: {
|
|
36
|
-
type: string;
|
|
37
|
-
elements: ({
|
|
38
|
-
type: string;
|
|
39
|
-
scope: string;
|
|
40
|
-
label?: undefined;
|
|
41
|
-
options?: undefined;
|
|
42
|
-
} | {
|
|
43
|
-
type: string;
|
|
44
|
-
label: boolean;
|
|
45
|
-
scope: string;
|
|
46
|
-
options?: undefined;
|
|
47
|
-
} | {
|
|
48
|
-
type: string;
|
|
49
|
-
scope: string;
|
|
50
|
-
options: {
|
|
51
|
-
multi: boolean;
|
|
52
|
-
};
|
|
53
|
-
label?: undefined;
|
|
54
|
-
})[];
|
|
55
|
-
};
|
|
56
|
-
export declare const data: {
|
|
57
|
-
name: string;
|
|
58
|
-
name_noDefault: string;
|
|
59
|
-
description: string;
|
|
60
|
-
done: boolean;
|
|
61
|
-
rating: number;
|
|
62
|
-
cost: number;
|
|
63
|
-
dueDate: string;
|
|
64
|
-
};
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
name: {
|
|
5
|
+
type: string;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
name_noDefault: {
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
11
|
+
description: {
|
|
12
|
+
type: string;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
done: {
|
|
16
|
+
type: string;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
rating: {
|
|
20
|
+
type: string;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
cost: {
|
|
24
|
+
type: string;
|
|
25
|
+
default: number;
|
|
26
|
+
};
|
|
27
|
+
dueDate: {
|
|
28
|
+
type: string;
|
|
29
|
+
format: string;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
required: string[];
|
|
34
|
+
};
|
|
35
|
+
export declare const uischema: {
|
|
36
|
+
type: string;
|
|
37
|
+
elements: ({
|
|
38
|
+
type: string;
|
|
39
|
+
scope: string;
|
|
40
|
+
label?: undefined;
|
|
41
|
+
options?: undefined;
|
|
42
|
+
} | {
|
|
43
|
+
type: string;
|
|
44
|
+
label: boolean;
|
|
45
|
+
scope: string;
|
|
46
|
+
options?: undefined;
|
|
47
|
+
} | {
|
|
48
|
+
type: string;
|
|
49
|
+
scope: string;
|
|
50
|
+
options: {
|
|
51
|
+
multi: boolean;
|
|
52
|
+
};
|
|
53
|
+
label?: undefined;
|
|
54
|
+
})[];
|
|
55
|
+
};
|
|
56
|
+
export declare const data: {
|
|
57
|
+
name: string;
|
|
58
|
+
name_noDefault: string;
|
|
59
|
+
description: string;
|
|
60
|
+
done: boolean;
|
|
61
|
+
rating: number;
|
|
62
|
+
cost: number;
|
|
63
|
+
dueDate: string;
|
|
64
|
+
};
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
export declare const schema: {
|
|
2
|
-
type: string;
|
|
3
|
-
properties: {
|
|
4
|
-
oneOfMultiEnum: {
|
|
5
|
-
type: string;
|
|
6
|
-
uniqueItems: boolean;
|
|
7
|
-
description: string;
|
|
8
|
-
items: {
|
|
9
|
-
oneOf: {
|
|
10
|
-
const: string;
|
|
11
|
-
title: string;
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
multiEnum: {
|
|
16
|
-
type: string;
|
|
17
|
-
uniqueItems: boolean;
|
|
18
|
-
description: string;
|
|
19
|
-
items: {
|
|
20
|
-
type: string;
|
|
21
|
-
enum: string[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export declare const uischema: {
|
|
27
|
-
type: string;
|
|
28
|
-
elements: {
|
|
29
|
-
type: string;
|
|
30
|
-
scope: string;
|
|
31
|
-
label: string;
|
|
32
|
-
options: {
|
|
33
|
-
showUnfocusedDescription: boolean;
|
|
34
|
-
};
|
|
35
|
-
}[];
|
|
36
|
-
};
|
|
37
|
-
export declare const data: {
|
|
38
|
-
oneOfMultiEnum: string[];
|
|
39
|
-
multiEnum: string[];
|
|
40
|
-
};
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
oneOfMultiEnum: {
|
|
5
|
+
type: string;
|
|
6
|
+
uniqueItems: boolean;
|
|
7
|
+
description: string;
|
|
8
|
+
items: {
|
|
9
|
+
oneOf: {
|
|
10
|
+
const: string;
|
|
11
|
+
title: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
multiEnum: {
|
|
16
|
+
type: string;
|
|
17
|
+
uniqueItems: boolean;
|
|
18
|
+
description: string;
|
|
19
|
+
items: {
|
|
20
|
+
type: string;
|
|
21
|
+
enum: string[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const uischema: {
|
|
27
|
+
type: string;
|
|
28
|
+
elements: {
|
|
29
|
+
type: string;
|
|
30
|
+
scope: string;
|
|
31
|
+
label: string;
|
|
32
|
+
options: {
|
|
33
|
+
showUnfocusedDescription: boolean;
|
|
34
|
+
};
|
|
35
|
+
}[];
|
|
36
|
+
};
|
|
37
|
+
export declare const data: {
|
|
38
|
+
oneOfMultiEnum: string[];
|
|
39
|
+
multiEnum: string[];
|
|
40
|
+
};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export declare const schema: {
|
|
2
|
-
type: string;
|
|
3
|
-
properties: {
|
|
4
|
-
oneOfMultiEnum: {
|
|
5
|
-
type: string;
|
|
6
|
-
uniqueItems: boolean;
|
|
7
|
-
items: {
|
|
8
|
-
oneOf: {
|
|
9
|
-
const: string;
|
|
10
|
-
title: string;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
multiEnum: {
|
|
15
|
-
type: string;
|
|
16
|
-
uniqueItems: boolean;
|
|
17
|
-
items: {
|
|
18
|
-
type: string;
|
|
19
|
-
enum: string[];
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const uischema: {
|
|
25
|
-
type: string;
|
|
26
|
-
elements: {
|
|
27
|
-
type: string;
|
|
28
|
-
scope: string;
|
|
29
|
-
}[];
|
|
30
|
-
};
|
|
31
|
-
export declare const data: {
|
|
32
|
-
oneOfMultiEnum: string[];
|
|
33
|
-
multiEnum: string[];
|
|
34
|
-
};
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
oneOfMultiEnum: {
|
|
5
|
+
type: string;
|
|
6
|
+
uniqueItems: boolean;
|
|
7
|
+
items: {
|
|
8
|
+
oneOf: {
|
|
9
|
+
const: string;
|
|
10
|
+
title: string;
|
|
11
|
+
}[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
multiEnum: {
|
|
15
|
+
type: string;
|
|
16
|
+
uniqueItems: boolean;
|
|
17
|
+
items: {
|
|
18
|
+
type: string;
|
|
19
|
+
enum: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const uischema: {
|
|
25
|
+
type: string;
|
|
26
|
+
elements: {
|
|
27
|
+
type: string;
|
|
28
|
+
scope: string;
|
|
29
|
+
}[];
|
|
30
|
+
};
|
|
31
|
+
export declare const data: {
|
|
32
|
+
oneOfMultiEnum: string[];
|
|
33
|
+
multiEnum: string[];
|
|
34
|
+
};
|
package/lib/examples/enum.d.ts
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
export declare const schema: {
|
|
2
|
-
type: string;
|
|
3
|
-
properties: {
|
|
4
|
-
plainEnum: {
|
|
5
|
-
type: string;
|
|
6
|
-
enum: string[];
|
|
7
|
-
};
|
|
8
|
-
plainEnumSet: {
|
|
9
|
-
type: string;
|
|
10
|
-
enum: string[];
|
|
11
|
-
};
|
|
12
|
-
enumWithError: {
|
|
13
|
-
type: string;
|
|
14
|
-
enum: string[];
|
|
15
|
-
};
|
|
16
|
-
oneOfEnum: {
|
|
17
|
-
type: string;
|
|
18
|
-
oneOf: {
|
|
19
|
-
const: string;
|
|
20
|
-
title: string;
|
|
21
|
-
}[];
|
|
22
|
-
};
|
|
23
|
-
oneOfEnumSet: {
|
|
24
|
-
type: string;
|
|
25
|
-
oneOf: {
|
|
26
|
-
const: string;
|
|
27
|
-
title: string;
|
|
28
|
-
}[];
|
|
29
|
-
};
|
|
30
|
-
oneOfEnumWithError: {
|
|
31
|
-
type: string;
|
|
32
|
-
oneOf: {
|
|
33
|
-
const: string;
|
|
34
|
-
title: string;
|
|
35
|
-
}[];
|
|
36
|
-
};
|
|
37
|
-
constEnum: {
|
|
38
|
-
const: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
export declare const uischema: {
|
|
43
|
-
type: string;
|
|
44
|
-
elements: {
|
|
45
|
-
type: string;
|
|
46
|
-
label: string;
|
|
47
|
-
elements: ({
|
|
48
|
-
type: string;
|
|
49
|
-
scope: string;
|
|
50
|
-
options?: undefined;
|
|
51
|
-
} | {
|
|
52
|
-
type: string;
|
|
53
|
-
scope: string;
|
|
54
|
-
options: {
|
|
55
|
-
autocomplete: boolean;
|
|
56
|
-
};
|
|
57
|
-
})[];
|
|
58
|
-
}[];
|
|
59
|
-
};
|
|
60
|
-
export declare const data: {
|
|
61
|
-
plainEnumSet: string;
|
|
62
|
-
enumWithError: string;
|
|
63
|
-
oneOfEnumSet: string;
|
|
64
|
-
oneOfEnumWithError: string;
|
|
65
|
-
};
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
plainEnum: {
|
|
5
|
+
type: string;
|
|
6
|
+
enum: string[];
|
|
7
|
+
};
|
|
8
|
+
plainEnumSet: {
|
|
9
|
+
type: string;
|
|
10
|
+
enum: string[];
|
|
11
|
+
};
|
|
12
|
+
enumWithError: {
|
|
13
|
+
type: string;
|
|
14
|
+
enum: string[];
|
|
15
|
+
};
|
|
16
|
+
oneOfEnum: {
|
|
17
|
+
type: string;
|
|
18
|
+
oneOf: {
|
|
19
|
+
const: string;
|
|
20
|
+
title: string;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
oneOfEnumSet: {
|
|
24
|
+
type: string;
|
|
25
|
+
oneOf: {
|
|
26
|
+
const: string;
|
|
27
|
+
title: string;
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
30
|
+
oneOfEnumWithError: {
|
|
31
|
+
type: string;
|
|
32
|
+
oneOf: {
|
|
33
|
+
const: string;
|
|
34
|
+
title: string;
|
|
35
|
+
}[];
|
|
36
|
+
};
|
|
37
|
+
constEnum: {
|
|
38
|
+
const: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare const uischema: {
|
|
43
|
+
type: string;
|
|
44
|
+
elements: {
|
|
45
|
+
type: string;
|
|
46
|
+
label: string;
|
|
47
|
+
elements: ({
|
|
48
|
+
type: string;
|
|
49
|
+
scope: string;
|
|
50
|
+
options?: undefined;
|
|
51
|
+
} | {
|
|
52
|
+
type: string;
|
|
53
|
+
scope: string;
|
|
54
|
+
options: {
|
|
55
|
+
autocomplete: boolean;
|
|
56
|
+
};
|
|
57
|
+
})[];
|
|
58
|
+
}[];
|
|
59
|
+
};
|
|
60
|
+
export declare const data: {
|
|
61
|
+
plainEnumSet: string;
|
|
62
|
+
enumWithError: string;
|
|
63
|
+
oneOfEnumSet: string;
|
|
64
|
+
oneOfEnumWithError: string;
|
|
65
|
+
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
export declare const schema: {
|
|
2
|
-
type: string;
|
|
3
|
-
items: {
|
|
4
|
-
type: string;
|
|
5
|
-
properties: {
|
|
6
|
-
plainEnum: {
|
|
7
|
-
type: string;
|
|
8
|
-
enum: string[];
|
|
9
|
-
};
|
|
10
|
-
oneOfEnum: {
|
|
11
|
-
type: string;
|
|
12
|
-
oneOf: {
|
|
13
|
-
const: string;
|
|
14
|
-
title: string;
|
|
15
|
-
}[];
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export declare const uischema: {
|
|
21
|
-
type: string;
|
|
22
|
-
elements: {
|
|
23
|
-
type: string;
|
|
24
|
-
scope: string;
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
export declare const data: any[];
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
items: {
|
|
4
|
+
type: string;
|
|
5
|
+
properties: {
|
|
6
|
+
plainEnum: {
|
|
7
|
+
type: string;
|
|
8
|
+
enum: string[];
|
|
9
|
+
};
|
|
10
|
+
oneOfEnum: {
|
|
11
|
+
type: string;
|
|
12
|
+
oneOf: {
|
|
13
|
+
const: string;
|
|
14
|
+
title: string;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare const uischema: {
|
|
21
|
+
type: string;
|
|
22
|
+
elements: {
|
|
23
|
+
type: string;
|
|
24
|
+
scope: string;
|
|
25
|
+
}[];
|
|
26
|
+
};
|
|
27
|
+
export declare const data: any[];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { StateProps } from '../example';
|
|
2
|
-
export declare const actions: {
|
|
3
|
-
label: string;
|
|
4
|
-
apply: (props: StateProps) => {
|
|
5
|
-
data: {
|
|
6
|
-
id: string;
|
|
7
|
-
};
|
|
8
|
-
schema?: import("@jsonforms/core").JsonSchema;
|
|
9
|
-
uischema?: import("@jsonforms/core").UISchemaElement;
|
|
10
|
-
renderers: import("@jsonforms/core").JsonFormsRendererRegistryEntry[];
|
|
11
|
-
cells?: import("@jsonforms/core").JsonFormsCellRendererRegistryEntry[];
|
|
12
|
-
config?: any;
|
|
13
|
-
uischemas?: import("@jsonforms/core").JsonFormsUISchemaRegistryEntry[];
|
|
14
|
-
};
|
|
15
|
-
}[];
|
|
1
|
+
import { StateProps } from '../example';
|
|
2
|
+
export declare const actions: {
|
|
3
|
+
label: string;
|
|
4
|
+
apply: (props: StateProps) => {
|
|
5
|
+
data: {
|
|
6
|
+
id: string;
|
|
7
|
+
};
|
|
8
|
+
schema?: import("@jsonforms/core").JsonSchema;
|
|
9
|
+
uischema?: import("@jsonforms/core").UISchemaElement;
|
|
10
|
+
renderers: import("@jsonforms/core").JsonFormsRendererRegistryEntry[];
|
|
11
|
+
cells?: import("@jsonforms/core").JsonFormsCellRendererRegistryEntry[];
|
|
12
|
+
config?: any;
|
|
13
|
+
uischemas?: import("@jsonforms/core").JsonFormsUISchemaRegistryEntry[];
|
|
14
|
+
};
|
|
15
|
+
}[];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { JsonSchema, UISchemaElement } from '@jsonforms/core';
|
|
2
|
-
export declare const schema: JsonSchema;
|
|
3
|
-
export declare const uischema: UISchemaElement;
|
|
4
|
-
export declare const data: {
|
|
5
|
-
name: string;
|
|
6
|
-
vegetarian: boolean;
|
|
7
|
-
birthDate: string;
|
|
8
|
-
personalData: {
|
|
9
|
-
age: number;
|
|
10
|
-
};
|
|
11
|
-
postalCode: string;
|
|
12
|
-
};
|
|
1
|
+
import { JsonSchema, UISchemaElement } from '@jsonforms/core';
|
|
2
|
+
export declare const schema: JsonSchema;
|
|
3
|
+
export declare const uischema: UISchemaElement;
|
|
4
|
+
export declare const data: {
|
|
5
|
+
name: string;
|
|
6
|
+
vegetarian: boolean;
|
|
7
|
+
birthDate: string;
|
|
8
|
+
personalData: {
|
|
9
|
+
age: number;
|
|
10
|
+
};
|
|
11
|
+
postalCode: string;
|
|
12
|
+
};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { UISchemaElement } from '@jsonforms/core';
|
|
2
|
-
export declare const schema: {
|
|
3
|
-
type: string;
|
|
4
|
-
properties: {
|
|
5
|
-
name: {
|
|
6
|
-
type: string;
|
|
7
|
-
minLength: number;
|
|
8
|
-
description: string;
|
|
9
|
-
};
|
|
10
|
-
vegetarian: {
|
|
11
|
-
type: string;
|
|
12
|
-
};
|
|
13
|
-
birthDate: {
|
|
14
|
-
type: string;
|
|
15
|
-
format: string;
|
|
16
|
-
description: string;
|
|
17
|
-
};
|
|
18
|
-
nationality: {
|
|
19
|
-
type: string;
|
|
20
|
-
enum: string[];
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const uischema: UISchemaElement;
|
|
25
|
-
export declare const data: {
|
|
26
|
-
name: string;
|
|
27
|
-
vegetarian: boolean;
|
|
28
|
-
birthDate: string;
|
|
29
|
-
personalData: {
|
|
30
|
-
age: number;
|
|
31
|
-
};
|
|
32
|
-
postalCode: string;
|
|
33
|
-
};
|
|
1
|
+
import { UISchemaElement } from '@jsonforms/core';
|
|
2
|
+
export declare const schema: {
|
|
3
|
+
type: string;
|
|
4
|
+
properties: {
|
|
5
|
+
name: {
|
|
6
|
+
type: string;
|
|
7
|
+
minLength: number;
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
vegetarian: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
birthDate: {
|
|
14
|
+
type: string;
|
|
15
|
+
format: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
nationality: {
|
|
19
|
+
type: string;
|
|
20
|
+
enum: string[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const uischema: UISchemaElement;
|
|
25
|
+
export declare const data: {
|
|
26
|
+
name: string;
|
|
27
|
+
vegetarian: boolean;
|
|
28
|
+
birthDate: string;
|
|
29
|
+
personalData: {
|
|
30
|
+
age: number;
|
|
31
|
+
};
|
|
32
|
+
postalCode: string;
|
|
33
|
+
};
|
package/lib/examples/huge.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const uischema: any;
|
|
1
|
+
export declare const uischema: any;
|
package/lib/examples/i18n.d.ts
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { JsonFormsCore, AnyAction, Dispatch, Translator } from '@jsonforms/core';
|
|
2
|
-
export declare const onChange: (dispatch: Dispatch<AnyAction>) => (extensionState: any) => ({ errors }: Pick<JsonFormsCore, 'data' | 'errors'>) => void;
|
|
3
|
-
export declare const uischema: {
|
|
4
|
-
type: string;
|
|
5
|
-
elements: ({
|
|
6
|
-
type: string;
|
|
7
|
-
i18n: string;
|
|
8
|
-
elements: {
|
|
9
|
-
type: string;
|
|
10
|
-
scope: string;
|
|
11
|
-
}[];
|
|
12
|
-
text?: undefined;
|
|
13
|
-
} | {
|
|
14
|
-
type: string;
|
|
15
|
-
text: string;
|
|
16
|
-
i18n?: undefined;
|
|
17
|
-
elements?: undefined;
|
|
18
|
-
} | {
|
|
19
|
-
type: string;
|
|
20
|
-
elements: {
|
|
21
|
-
type: string;
|
|
22
|
-
scope: string;
|
|
23
|
-
}[];
|
|
24
|
-
i18n?: undefined;
|
|
25
|
-
text?: undefined;
|
|
26
|
-
})[];
|
|
27
|
-
};
|
|
28
|
-
export declare const data: {
|
|
29
|
-
vegetarian: boolean;
|
|
30
|
-
birthDate: string;
|
|
31
|
-
personalData: {
|
|
32
|
-
age: number;
|
|
33
|
-
};
|
|
34
|
-
postalCode: string;
|
|
35
|
-
};
|
|
36
|
-
export declare const translations: {
|
|
37
|
-
basicInfoGroup: {
|
|
38
|
-
label: string;
|
|
39
|
-
};
|
|
40
|
-
additionalInformationLabel: string;
|
|
41
|
-
};
|
|
42
|
-
export declare const translate: Translator;
|
|
1
|
+
import { JsonFormsCore, AnyAction, Dispatch, Translator } from '@jsonforms/core';
|
|
2
|
+
export declare const onChange: (dispatch: Dispatch<AnyAction>) => (extensionState: any) => ({ errors }: Pick<JsonFormsCore, 'data' | 'errors'>) => void;
|
|
3
|
+
export declare const uischema: {
|
|
4
|
+
type: string;
|
|
5
|
+
elements: ({
|
|
6
|
+
type: string;
|
|
7
|
+
i18n: string;
|
|
8
|
+
elements: {
|
|
9
|
+
type: string;
|
|
10
|
+
scope: string;
|
|
11
|
+
}[];
|
|
12
|
+
text?: undefined;
|
|
13
|
+
} | {
|
|
14
|
+
type: string;
|
|
15
|
+
text: string;
|
|
16
|
+
i18n?: undefined;
|
|
17
|
+
elements?: undefined;
|
|
18
|
+
} | {
|
|
19
|
+
type: string;
|
|
20
|
+
elements: {
|
|
21
|
+
type: string;
|
|
22
|
+
scope: string;
|
|
23
|
+
}[];
|
|
24
|
+
i18n?: undefined;
|
|
25
|
+
text?: undefined;
|
|
26
|
+
})[];
|
|
27
|
+
};
|
|
28
|
+
export declare const data: {
|
|
29
|
+
vegetarian: boolean;
|
|
30
|
+
birthDate: string;
|
|
31
|
+
personalData: {
|
|
32
|
+
age: number;
|
|
33
|
+
};
|
|
34
|
+
postalCode: string;
|
|
35
|
+
};
|
|
36
|
+
export declare const translations: {
|
|
37
|
+
basicInfoGroup: {
|
|
38
|
+
label: string;
|
|
39
|
+
};
|
|
40
|
+
additionalInformationLabel: string;
|
|
41
|
+
};
|
|
42
|
+
export declare const translate: Translator;
|