@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.
Files changed (63) 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 -0
  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 -54
  55. package/lib/jsonforms-examples.cjs.js +384 -131
  56. package/lib/jsonforms-examples.cjs.js.map +1 -1
  57. package/lib/jsonforms-examples.esm.js +384 -132
  58. package/lib/jsonforms-examples.esm.js.map +1 -1
  59. package/lib/register.d.ts +3 -3
  60. package/package.json +4 -4
  61. package/src/examples/arrays-with-translated-custom-element-label.ts +284 -0
  62. package/src/index.ts +2 -0
  63. package/stats.html +1 -1
@@ -1,191 +1,191 @@
1
- export declare const data: {
2
- orders: ({
3
- customer: {
4
- id: string;
5
- name: string;
6
- department: string;
7
- };
8
- title: string;
9
- ordered: boolean;
10
- processId: string;
11
- assignee: string;
12
- status: string;
13
- startDate: string;
14
- endDate: string;
15
- } | {
16
- customer: {
17
- id: string;
18
- name: string;
19
- department?: undefined;
20
- };
21
- title: string;
22
- processId: string;
23
- assignee: string;
24
- startDate: string;
25
- status: string;
26
- ordered?: undefined;
27
- endDate?: undefined;
28
- })[];
29
- };
30
- export declare const schema: {
31
- definitions: {
32
- order: {
33
- type: string;
34
- properties: {
35
- customer: {
36
- type: string;
37
- properties: {
38
- id: {
39
- type: string;
40
- };
41
- name: {
42
- type: string;
43
- format: string;
44
- };
45
- department: {
46
- type: string;
47
- };
48
- };
49
- };
50
- title: {
51
- type: string;
52
- minLength: number;
53
- title: string;
54
- };
55
- ordered: {
56
- type: string;
57
- };
58
- processId: {
59
- type: string;
60
- minimum: number;
61
- };
62
- assignee: {
63
- type: string;
64
- };
65
- startDate: {
66
- type: string;
67
- format: string;
68
- };
69
- endDate: {
70
- type: string;
71
- format: string;
72
- };
73
- status: {
74
- type: string;
75
- enum: string[];
76
- };
77
- };
78
- required: string[];
79
- };
80
- };
81
- type: string;
82
- properties: {
83
- orders: {
84
- type: string;
85
- items: {
86
- $ref: string;
87
- };
88
- };
89
- };
90
- };
91
- export declare const uischema: {
92
- type: string;
93
- scope: string;
94
- options: {
95
- labelRef: string;
96
- detail: {
97
- type: string;
98
- elements: ({
99
- type: string;
100
- elements: {
101
- type: string;
102
- scope: string;
103
- }[];
104
- label?: undefined;
105
- } | {
106
- type: string;
107
- label: string;
108
- elements: {
109
- type: string;
110
- label: string;
111
- scope: string;
112
- }[];
113
- } | {
114
- type: string;
115
- elements: {
116
- type: string;
117
- elements: ({
118
- type: string;
119
- elements: ({
120
- type: string;
121
- scope: string;
122
- options: {
123
- toggle: boolean;
124
- };
125
- } | {
126
- type: string;
127
- scope: string;
128
- options?: undefined;
129
- })[];
130
- scope?: undefined;
131
- } | {
132
- type: string;
133
- scope: string;
134
- elements?: undefined;
135
- })[];
136
- }[];
137
- label?: undefined;
138
- })[];
139
- };
140
- };
141
- };
142
- export declare const uischemaNoLabelRef: {
143
- type: string;
144
- scope: string;
145
- options: {
146
- detail: {
147
- type: string;
148
- elements: ({
149
- type: string;
150
- elements: {
151
- type: string;
152
- scope: string;
153
- }[];
154
- label?: undefined;
155
- } | {
156
- type: string;
157
- label: string;
158
- elements: {
159
- type: string;
160
- label: string;
161
- scope: string;
162
- }[];
163
- } | {
164
- type: string;
165
- elements: {
166
- type: string;
167
- elements: ({
168
- type: string;
169
- elements: ({
170
- type: string;
171
- scope: string;
172
- options: {
173
- toggle: boolean;
174
- };
175
- } | {
176
- type: string;
177
- scope: string;
178
- options?: undefined;
179
- })[];
180
- scope?: undefined;
181
- } | {
182
- type: string;
183
- scope: string;
184
- elements?: undefined;
185
- })[];
186
- }[];
187
- label?: undefined;
188
- })[];
189
- };
190
- };
191
- };
1
+ export declare const data: {
2
+ orders: ({
3
+ customer: {
4
+ id: string;
5
+ name: string;
6
+ department: string;
7
+ };
8
+ title: string;
9
+ ordered: boolean;
10
+ processId: string;
11
+ assignee: string;
12
+ status: string;
13
+ startDate: string;
14
+ endDate: string;
15
+ } | {
16
+ customer: {
17
+ id: string;
18
+ name: string;
19
+ department?: undefined;
20
+ };
21
+ title: string;
22
+ processId: string;
23
+ assignee: string;
24
+ startDate: string;
25
+ status: string;
26
+ ordered?: undefined;
27
+ endDate?: undefined;
28
+ })[];
29
+ };
30
+ export declare const schema: {
31
+ definitions: {
32
+ order: {
33
+ type: string;
34
+ properties: {
35
+ customer: {
36
+ type: string;
37
+ properties: {
38
+ id: {
39
+ type: string;
40
+ };
41
+ name: {
42
+ type: string;
43
+ format: string;
44
+ };
45
+ department: {
46
+ type: string;
47
+ };
48
+ };
49
+ };
50
+ title: {
51
+ type: string;
52
+ minLength: number;
53
+ title: string;
54
+ };
55
+ ordered: {
56
+ type: string;
57
+ };
58
+ processId: {
59
+ type: string;
60
+ minimum: number;
61
+ };
62
+ assignee: {
63
+ type: string;
64
+ };
65
+ startDate: {
66
+ type: string;
67
+ format: string;
68
+ };
69
+ endDate: {
70
+ type: string;
71
+ format: string;
72
+ };
73
+ status: {
74
+ type: string;
75
+ enum: string[];
76
+ };
77
+ };
78
+ required: string[];
79
+ };
80
+ };
81
+ type: string;
82
+ properties: {
83
+ orders: {
84
+ type: string;
85
+ items: {
86
+ $ref: string;
87
+ };
88
+ };
89
+ };
90
+ };
91
+ export declare const uischema: {
92
+ type: string;
93
+ scope: string;
94
+ options: {
95
+ labelRef: string;
96
+ detail: {
97
+ type: string;
98
+ elements: ({
99
+ type: string;
100
+ elements: {
101
+ type: string;
102
+ scope: string;
103
+ }[];
104
+ label?: undefined;
105
+ } | {
106
+ type: string;
107
+ label: string;
108
+ elements: {
109
+ type: string;
110
+ label: string;
111
+ scope: string;
112
+ }[];
113
+ } | {
114
+ type: string;
115
+ elements: {
116
+ type: string;
117
+ elements: ({
118
+ type: string;
119
+ elements: ({
120
+ type: string;
121
+ scope: string;
122
+ options: {
123
+ toggle: boolean;
124
+ };
125
+ } | {
126
+ type: string;
127
+ scope: string;
128
+ options?: undefined;
129
+ })[];
130
+ scope?: undefined;
131
+ } | {
132
+ type: string;
133
+ scope: string;
134
+ elements?: undefined;
135
+ })[];
136
+ }[];
137
+ label?: undefined;
138
+ })[];
139
+ };
140
+ };
141
+ };
142
+ export declare const uischemaNoLabelRef: {
143
+ type: string;
144
+ scope: string;
145
+ options: {
146
+ detail: {
147
+ type: string;
148
+ elements: ({
149
+ type: string;
150
+ elements: {
151
+ type: string;
152
+ scope: string;
153
+ }[];
154
+ label?: undefined;
155
+ } | {
156
+ type: string;
157
+ label: string;
158
+ elements: {
159
+ type: string;
160
+ label: string;
161
+ scope: string;
162
+ }[];
163
+ } | {
164
+ type: string;
165
+ elements: {
166
+ type: string;
167
+ elements: ({
168
+ type: string;
169
+ elements: ({
170
+ type: string;
171
+ scope: string;
172
+ options: {
173
+ toggle: boolean;
174
+ };
175
+ } | {
176
+ type: string;
177
+ scope: string;
178
+ options?: undefined;
179
+ })[];
180
+ scope?: undefined;
181
+ } | {
182
+ type: string;
183
+ scope: string;
184
+ elements?: undefined;
185
+ })[];
186
+ }[];
187
+ label?: undefined;
188
+ })[];
189
+ };
190
+ };
191
+ };
@@ -1,11 +1,11 @@
1
- export declare const uischema: {
2
- type: string;
3
- elements: {
4
- type: string;
5
- label: {
6
- text: string;
7
- show: boolean;
8
- };
9
- scope: string;
10
- }[];
11
- };
1
+ export declare const uischema: {
2
+ type: string;
3
+ elements: {
4
+ type: string;
5
+ label: {
6
+ text: string;
7
+ show: boolean;
8
+ };
9
+ scope: string;
10
+ }[];
11
+ };
@@ -1,57 +1,57 @@
1
- export declare const schema: {
2
- type: string;
3
- properties: {
4
- cat1: {
5
- type: string;
6
- properties: {
7
- subcat11: {
8
- type: string;
9
- };
10
- };
11
- };
12
- cat2: {
13
- type: string;
14
- properties: {
15
- subcat21: {
16
- type: string;
17
- };
18
- subcat22: {
19
- type: string;
20
- };
21
- };
22
- };
23
- cat3: {
24
- type: string;
25
- properties: {
26
- subcat31: {
27
- type: string;
28
- };
29
- subcat32: {
30
- type: string;
31
- };
32
- subcat33: {
33
- type: string;
34
- };
35
- };
36
- };
37
- };
38
- };
39
- export declare const uischema: {
40
- type: string;
41
- elements: {
42
- type: string;
43
- label: string;
44
- elements: {
45
- type: string;
46
- elements: {
47
- type: string;
48
- label: string;
49
- elements: {
50
- type: string;
51
- scope: string;
52
- }[];
53
- }[];
54
- }[];
55
- }[];
56
- };
57
- export declare const data: {};
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ cat1: {
5
+ type: string;
6
+ properties: {
7
+ subcat11: {
8
+ type: string;
9
+ };
10
+ };
11
+ };
12
+ cat2: {
13
+ type: string;
14
+ properties: {
15
+ subcat21: {
16
+ type: string;
17
+ };
18
+ subcat22: {
19
+ type: string;
20
+ };
21
+ };
22
+ };
23
+ cat3: {
24
+ type: string;
25
+ properties: {
26
+ subcat31: {
27
+ type: string;
28
+ };
29
+ subcat32: {
30
+ type: string;
31
+ };
32
+ subcat33: {
33
+ type: string;
34
+ };
35
+ };
36
+ };
37
+ };
38
+ };
39
+ export declare const uischema: {
40
+ type: string;
41
+ elements: {
42
+ type: string;
43
+ label: string;
44
+ elements: {
45
+ type: string;
46
+ elements: {
47
+ type: string;
48
+ label: string;
49
+ elements: {
50
+ type: string;
51
+ scope: string;
52
+ }[];
53
+ }[];
54
+ }[];
55
+ }[];
56
+ };
57
+ export declare const data: {};
@@ -1,46 +1,46 @@
1
- export declare const schema: {
2
- type: string;
3
- properties: {
4
- price: {
5
- type: string;
6
- maximum: number;
7
- minimum: number;
8
- default: number;
9
- };
10
- age: {
11
- type: string;
12
- };
13
- height: {
14
- type: string;
15
- };
16
- };
17
- };
18
- export declare const uischema: {
19
- type: string;
20
- elements: {
21
- type: string;
22
- elements: ({
23
- type: string;
24
- scope: string;
25
- label: {
26
- text: string;
27
- };
28
- options?: undefined;
29
- } | {
30
- type: string;
31
- scope: string;
32
- label?: undefined;
33
- options?: undefined;
34
- } | {
35
- type: string;
36
- scope: string;
37
- label: {
38
- text: string;
39
- };
40
- options: {
41
- slider: boolean;
42
- };
43
- })[];
44
- }[];
45
- };
46
- export declare const data: {};
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ price: {
5
+ type: string;
6
+ maximum: number;
7
+ minimum: number;
8
+ default: number;
9
+ };
10
+ age: {
11
+ type: string;
12
+ };
13
+ height: {
14
+ type: string;
15
+ };
16
+ };
17
+ };
18
+ export declare const uischema: {
19
+ type: string;
20
+ elements: {
21
+ type: string;
22
+ elements: ({
23
+ type: string;
24
+ scope: string;
25
+ label: {
26
+ text: string;
27
+ };
28
+ options?: undefined;
29
+ } | {
30
+ type: string;
31
+ scope: string;
32
+ label?: undefined;
33
+ options?: undefined;
34
+ } | {
35
+ type: string;
36
+ scope: string;
37
+ label: {
38
+ text: string;
39
+ };
40
+ options: {
41
+ slider: boolean;
42
+ };
43
+ })[];
44
+ }[];
45
+ };
46
+ export declare const data: {};