@jsonforms/examples 3.3.0-beta.0 → 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.
Files changed (56) hide show
  1. package/lib/example.d.ts +24 -24
  2. package/lib/examples/1884.d.ts +99 -99
  3. package/lib/examples/1948.d.ts +40 -40
  4. package/lib/examples/additional-errors.d.ts +16 -16
  5. package/lib/examples/allOf.d.ts +56 -56
  6. package/lib/examples/anyOf-oneOf-allOf-resolve.d.ts +44 -44
  7. package/lib/examples/anyOf.d.ts +77 -77
  8. package/lib/examples/arrays-with-custom-element-label.d.ts +43 -43
  9. package/lib/examples/arrays-with-defaults.d.ts +107 -107
  10. package/lib/examples/arrays-with-detail-and-rule.d.ts +91 -91
  11. package/lib/examples/arrays-with-detail.d.ts +69 -69
  12. package/lib/examples/arrays-with-sorting.d.ts +66 -66
  13. package/lib/examples/arrays-with-translated-custom-element-label.d.ts +37 -37
  14. package/lib/examples/arrays.d.ts +73 -73
  15. package/lib/examples/arraysI18n.d.ts +52 -52
  16. package/lib/examples/categorization-stepper-nav-buttons.d.ts +142 -142
  17. package/lib/examples/categorization-stepper.d.ts +141 -141
  18. package/lib/examples/categorization.d.ts +146 -146
  19. package/lib/examples/conditional-schema-compositions.d.ts +56 -56
  20. package/lib/examples/config.d.ts +29 -29
  21. package/lib/examples/control-options.d.ts +191 -191
  22. package/lib/examples/dates.d.ts +115 -115
  23. package/lib/examples/default.d.ts +64 -64
  24. package/lib/examples/enum-multi-with-label-and-desc.d.ts +40 -40
  25. package/lib/examples/enum-multi.d.ts +34 -34
  26. package/lib/examples/enum.d.ts +65 -65
  27. package/lib/examples/enumInArray.d.ts +27 -27
  28. package/lib/examples/generate-dynamic.d.ts +15 -15
  29. package/lib/examples/generate.d.ts +12 -12
  30. package/lib/examples/generateUI.d.ts +33 -33
  31. package/lib/examples/huge.d.ts +1 -1
  32. package/lib/examples/i18n.d.ts +42 -42
  33. package/lib/examples/if_then_else.d.ts +25 -25
  34. package/lib/examples/layout.d.ts +97 -97
  35. package/lib/examples/list-with-detail-primitives.d.ts +36 -36
  36. package/lib/examples/list-with-detail-registered.d.ts +55 -55
  37. package/lib/examples/list-with-detail.d.ts +191 -191
  38. package/lib/examples/nestedArrays.d.ts +11 -11
  39. package/lib/examples/nestedCategorization.d.ts +57 -57
  40. package/lib/examples/numbers.d.ts +46 -46
  41. package/lib/examples/object.d.ts +67 -67
  42. package/lib/examples/onChange.d.ts +18 -18
  43. package/lib/examples/oneOf-recursive.d.ts +48 -48
  44. package/lib/examples/oneOf.d.ts +53 -53
  45. package/lib/examples/oneOfArray.d.ts +53 -53
  46. package/lib/examples/person.d.ts +99 -99
  47. package/lib/examples/radioGroup.d.ts +42 -42
  48. package/lib/examples/readonly.d.ts +36 -36
  49. package/lib/examples/rule.d.ts +59 -59
  50. package/lib/examples/ruleInheritance.d.ts +26 -26
  51. package/lib/examples/scope.d.ts +50 -50
  52. package/lib/examples/stringArray.d.ts +23 -23
  53. package/lib/examples/text.d.ts +37 -37
  54. package/lib/index.d.ts +55 -55
  55. package/lib/register.d.ts +3 -3
  56. package/package.json +4 -4
@@ -1,67 +1,67 @@
1
- export declare const schema: {
2
- $schema: string;
3
- type: string;
4
- properties: {
5
- address: {
6
- type: string;
7
- properties: {
8
- street_address: {
9
- type: string;
10
- };
11
- city: {
12
- type: string;
13
- };
14
- state: {
15
- type: string;
16
- };
17
- };
18
- required: string[];
19
- };
20
- user: {
21
- type: string;
22
- properties: {
23
- name: {
24
- type: string;
25
- };
26
- mail: {
27
- type: string;
28
- };
29
- };
30
- required: string[];
31
- };
32
- };
33
- };
34
- export declare const uischemaRoot: {
35
- type: string;
36
- scope: string;
37
- };
38
- export declare const uischemaNonRoot: {
39
- type: string;
40
- elements: ({
41
- type: string;
42
- scope: string;
43
- rule?: undefined;
44
- options?: undefined;
45
- } | {
46
- type: string;
47
- scope: string;
48
- rule: {
49
- effect: string;
50
- condition: {
51
- type: string;
52
- scope: string;
53
- expectedValue: string;
54
- };
55
- };
56
- options: {
57
- detail: {
58
- type: string;
59
- label: string;
60
- elements: {
61
- type: string;
62
- scope: string;
63
- }[];
64
- };
65
- };
66
- })[];
67
- };
1
+ export declare const schema: {
2
+ $schema: string;
3
+ type: string;
4
+ properties: {
5
+ address: {
6
+ type: string;
7
+ properties: {
8
+ street_address: {
9
+ type: string;
10
+ };
11
+ city: {
12
+ type: string;
13
+ };
14
+ state: {
15
+ type: string;
16
+ };
17
+ };
18
+ required: string[];
19
+ };
20
+ user: {
21
+ type: string;
22
+ properties: {
23
+ name: {
24
+ type: string;
25
+ };
26
+ mail: {
27
+ type: string;
28
+ };
29
+ };
30
+ required: string[];
31
+ };
32
+ };
33
+ };
34
+ export declare const uischemaRoot: {
35
+ type: string;
36
+ scope: string;
37
+ };
38
+ export declare const uischemaNonRoot: {
39
+ type: string;
40
+ elements: ({
41
+ type: string;
42
+ scope: string;
43
+ rule?: undefined;
44
+ options?: undefined;
45
+ } | {
46
+ type: string;
47
+ scope: string;
48
+ rule: {
49
+ effect: string;
50
+ condition: {
51
+ type: string;
52
+ scope: string;
53
+ expectedValue: string;
54
+ };
55
+ };
56
+ options: {
57
+ detail: {
58
+ type: string;
59
+ label: string;
60
+ elements: {
61
+ type: string;
62
+ scope: string;
63
+ }[];
64
+ };
65
+ };
66
+ })[];
67
+ };
@@ -1,18 +1,18 @@
1
- import { UISchemaElement, JsonFormsCore, AnyAction, Dispatch } from '@jsonforms/core';
2
- export declare const onChange: (dispatch: Dispatch<AnyAction>) => (_: any) => ({ data, errors }: Pick<JsonFormsCore, 'data' | 'errors'>) => import("@jsonforms/core").UpdateErrorsAction;
3
- export declare const schema: {
4
- type: string;
5
- properties: {
6
- name: {
7
- type: string;
8
- minLength: number;
9
- };
10
- description: {
11
- type: string;
12
- minLength: number;
13
- };
14
- };
15
- required: string[];
16
- };
17
- export declare const uischema: UISchemaElement;
18
- export declare const data: {};
1
+ import { UISchemaElement, JsonFormsCore, AnyAction, Dispatch } from '@jsonforms/core';
2
+ export declare const onChange: (dispatch: Dispatch<AnyAction>) => (_: any) => ({ data, errors }: Pick<JsonFormsCore, 'data' | 'errors'>) => import("@jsonforms/core").UpdateErrorsAction;
3
+ export declare const schema: {
4
+ type: string;
5
+ properties: {
6
+ name: {
7
+ type: string;
8
+ minLength: number;
9
+ };
10
+ description: {
11
+ type: string;
12
+ minLength: number;
13
+ };
14
+ };
15
+ required: string[];
16
+ };
17
+ export declare const uischema: UISchemaElement;
18
+ export declare const data: {};
@@ -1,48 +1,48 @@
1
- export declare const schema: {
2
- $schema: string;
3
- definitions: {
4
- fileOrFolder: {
5
- title: string;
6
- oneOf: {
7
- $ref: string;
8
- }[];
9
- };
10
- file: {
11
- title: string;
12
- type: string;
13
- properties: {
14
- name: {
15
- type: string;
16
- };
17
- };
18
- };
19
- folder: {
20
- type: string;
21
- title: string;
22
- properties: {
23
- name: {
24
- type: string;
25
- };
26
- children: {
27
- type: string;
28
- items: {
29
- $ref: string;
30
- };
31
- };
32
- };
33
- };
34
- };
35
- type: string;
36
- properties: {
37
- root: {
38
- type: string;
39
- items: {
40
- $ref: string;
41
- };
42
- };
43
- };
44
- };
45
- export declare const uischema: {
46
- type: string;
47
- scope: string;
48
- };
1
+ export declare const schema: {
2
+ $schema: string;
3
+ definitions: {
4
+ fileOrFolder: {
5
+ title: string;
6
+ oneOf: {
7
+ $ref: string;
8
+ }[];
9
+ };
10
+ file: {
11
+ title: string;
12
+ type: string;
13
+ properties: {
14
+ name: {
15
+ type: string;
16
+ };
17
+ };
18
+ };
19
+ folder: {
20
+ type: string;
21
+ title: string;
22
+ properties: {
23
+ name: {
24
+ type: string;
25
+ };
26
+ children: {
27
+ type: string;
28
+ items: {
29
+ $ref: string;
30
+ };
31
+ };
32
+ };
33
+ };
34
+ };
35
+ type: string;
36
+ properties: {
37
+ root: {
38
+ type: string;
39
+ items: {
40
+ $ref: string;
41
+ };
42
+ };
43
+ };
44
+ };
45
+ export declare const uischema: {
46
+ type: string;
47
+ scope: string;
48
+ };
@@ -1,53 +1,53 @@
1
- export declare const schema: {
2
- $schema: string;
3
- definitions: {
4
- address: {
5
- type: string;
6
- properties: {
7
- street_address: {
8
- type: string;
9
- };
10
- city: {
11
- type: string;
12
- };
13
- state: {
14
- type: string;
15
- };
16
- };
17
- required: string[];
18
- additionalProperties: boolean;
19
- };
20
- user: {
21
- type: string;
22
- properties: {
23
- name: {
24
- type: string;
25
- };
26
- mail: {
27
- type: string;
28
- };
29
- };
30
- required: string[];
31
- additionalProperties: boolean;
32
- };
33
- };
34
- type: string;
35
- properties: {
36
- name: {
37
- type: string;
38
- };
39
- addressOrUser: {
40
- oneOf: {
41
- $ref: string;
42
- }[];
43
- };
44
- };
45
- required: string[];
46
- };
47
- export declare const uischema: {
48
- type: string;
49
- elements: {
50
- type: string;
51
- scope: string;
52
- }[];
53
- };
1
+ export declare const schema: {
2
+ $schema: string;
3
+ definitions: {
4
+ address: {
5
+ type: string;
6
+ properties: {
7
+ street_address: {
8
+ type: string;
9
+ };
10
+ city: {
11
+ type: string;
12
+ };
13
+ state: {
14
+ type: string;
15
+ };
16
+ };
17
+ required: string[];
18
+ additionalProperties: boolean;
19
+ };
20
+ user: {
21
+ type: string;
22
+ properties: {
23
+ name: {
24
+ type: string;
25
+ };
26
+ mail: {
27
+ type: string;
28
+ };
29
+ };
30
+ required: string[];
31
+ additionalProperties: boolean;
32
+ };
33
+ };
34
+ type: string;
35
+ properties: {
36
+ name: {
37
+ type: string;
38
+ };
39
+ addressOrUser: {
40
+ oneOf: {
41
+ $ref: string;
42
+ }[];
43
+ };
44
+ };
45
+ required: string[];
46
+ };
47
+ export declare const uischema: {
48
+ type: string;
49
+ elements: {
50
+ type: string;
51
+ scope: string;
52
+ }[];
53
+ };
@@ -1,53 +1,53 @@
1
- export declare const schema: {
2
- $schema: string;
3
- definitions: {
4
- address: {
5
- type: string;
6
- properties: {
7
- street_address: {
8
- type: string;
9
- };
10
- city: {
11
- type: string;
12
- };
13
- state: {
14
- type: string;
15
- };
16
- };
17
- required: string[];
18
- };
19
- user: {
20
- type: string;
21
- properties: {
22
- name: {
23
- type: string;
24
- };
25
- mail: {
26
- type: string;
27
- };
28
- };
29
- required: string[];
30
- };
31
- };
32
- type: string;
33
- properties: {
34
- name: {
35
- type: string;
36
- };
37
- addressOrUsers: {
38
- type: string;
39
- items: {
40
- oneOf: {
41
- $ref: string;
42
- }[];
43
- };
44
- };
45
- };
46
- };
47
- export declare const uischema: {
48
- type: string;
49
- elements: {
50
- type: string;
51
- scope: string;
52
- }[];
53
- };
1
+ export declare const schema: {
2
+ $schema: string;
3
+ definitions: {
4
+ address: {
5
+ type: string;
6
+ properties: {
7
+ street_address: {
8
+ type: string;
9
+ };
10
+ city: {
11
+ type: string;
12
+ };
13
+ state: {
14
+ type: string;
15
+ };
16
+ };
17
+ required: string[];
18
+ };
19
+ user: {
20
+ type: string;
21
+ properties: {
22
+ name: {
23
+ type: string;
24
+ };
25
+ mail: {
26
+ type: string;
27
+ };
28
+ };
29
+ required: string[];
30
+ };
31
+ };
32
+ type: string;
33
+ properties: {
34
+ name: {
35
+ type: string;
36
+ };
37
+ addressOrUsers: {
38
+ type: string;
39
+ items: {
40
+ oneOf: {
41
+ $ref: string;
42
+ }[];
43
+ };
44
+ };
45
+ };
46
+ };
47
+ export declare const uischema: {
48
+ type: string;
49
+ elements: {
50
+ type: string;
51
+ scope: string;
52
+ }[];
53
+ };
@@ -1,99 +1,99 @@
1
- export declare const personCoreSchema: {
2
- type: string;
3
- properties: {
4
- name: {
5
- type: string;
6
- minLength: number;
7
- description: string;
8
- };
9
- vegetarian: {
10
- type: string;
11
- };
12
- birthDate: {
13
- type: string;
14
- format: string;
15
- description: string;
16
- };
17
- nationality: {
18
- type: string;
19
- enum: string[];
20
- };
21
- };
22
- };
23
- export declare const schema: {
24
- type: string;
25
- properties: {
26
- personalData: {
27
- type: string;
28
- properties: {
29
- age: {
30
- type: string;
31
- description: string;
32
- };
33
- height: {
34
- type: string;
35
- };
36
- drivingSkill: {
37
- type: string;
38
- maximum: number;
39
- minimum: number;
40
- default: number;
41
- };
42
- };
43
- required: string[];
44
- };
45
- vegetarian: {
46
- type: string;
47
- };
48
- birthDate: {
49
- type: string;
50
- format: string;
51
- };
52
- occupation: {
53
- type: string;
54
- };
55
- postalCode: {
56
- type: string;
57
- maxLength: number;
58
- };
59
- name: {
60
- type: string;
61
- minLength: number;
62
- description: string;
63
- };
64
- nationality: {
65
- type: string;
66
- enum: string[];
67
- };
68
- };
69
- required: string[];
70
- };
71
- export declare const uischema: {
72
- type: string;
73
- elements: ({
74
- type: string;
75
- text: string;
76
- elements?: undefined;
77
- } | {
78
- type: string;
79
- elements: ({
80
- type: string;
81
- scope: string;
82
- suggestion?: undefined;
83
- } | {
84
- type: string;
85
- scope: string;
86
- suggestion: string[];
87
- })[];
88
- text?: undefined;
89
- })[];
90
- };
91
- export declare const data: {
92
- name: string;
93
- vegetarian: boolean;
94
- birthDate: string;
95
- personalData: {
96
- age: number;
97
- };
98
- postalCode: string;
99
- };
1
+ export declare const personCoreSchema: {
2
+ type: string;
3
+ properties: {
4
+ name: {
5
+ type: string;
6
+ minLength: number;
7
+ description: string;
8
+ };
9
+ vegetarian: {
10
+ type: string;
11
+ };
12
+ birthDate: {
13
+ type: string;
14
+ format: string;
15
+ description: string;
16
+ };
17
+ nationality: {
18
+ type: string;
19
+ enum: string[];
20
+ };
21
+ };
22
+ };
23
+ export declare const schema: {
24
+ type: string;
25
+ properties: {
26
+ personalData: {
27
+ type: string;
28
+ properties: {
29
+ age: {
30
+ type: string;
31
+ description: string;
32
+ };
33
+ height: {
34
+ type: string;
35
+ };
36
+ drivingSkill: {
37
+ type: string;
38
+ maximum: number;
39
+ minimum: number;
40
+ default: number;
41
+ };
42
+ };
43
+ required: string[];
44
+ };
45
+ vegetarian: {
46
+ type: string;
47
+ };
48
+ birthDate: {
49
+ type: string;
50
+ format: string;
51
+ };
52
+ occupation: {
53
+ type: string;
54
+ };
55
+ postalCode: {
56
+ type: string;
57
+ maxLength: number;
58
+ };
59
+ name: {
60
+ type: string;
61
+ minLength: number;
62
+ description: string;
63
+ };
64
+ nationality: {
65
+ type: string;
66
+ enum: string[];
67
+ };
68
+ };
69
+ required: string[];
70
+ };
71
+ export declare const uischema: {
72
+ type: string;
73
+ elements: ({
74
+ type: string;
75
+ text: string;
76
+ elements?: undefined;
77
+ } | {
78
+ type: string;
79
+ elements: ({
80
+ type: string;
81
+ scope: string;
82
+ suggestion?: undefined;
83
+ } | {
84
+ type: string;
85
+ scope: string;
86
+ suggestion: string[];
87
+ })[];
88
+ text?: undefined;
89
+ })[];
90
+ };
91
+ export declare const data: {
92
+ name: string;
93
+ vegetarian: boolean;
94
+ birthDate: string;
95
+ personalData: {
96
+ age: number;
97
+ };
98
+ postalCode: string;
99
+ };