@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 schema: {
2
- type: string;
3
- properties: {
4
- string: {
5
- type: string;
6
- };
7
- boolean: {
8
- type: string;
9
- description: string;
10
- };
11
- number: {
12
- type: string;
13
- };
14
- integer: {
15
- type: string;
16
- };
17
- date: {
18
- type: string;
19
- format: string;
20
- };
21
- time: {
22
- type: string;
23
- format: string;
24
- };
25
- dateTime: {
26
- type: string;
27
- format: string;
28
- };
29
- enum: {
30
- type: string;
31
- enum: string[];
32
- };
33
- };
34
- };
35
- export declare const uischema: {
36
- type: string;
37
- elements: {
38
- type: string;
39
- scope: string;
40
- }[];
41
- };
42
- export declare const data: {
43
- string: string;
44
- boolean: boolean;
45
- number: number;
46
- integer: number;
47
- date: string;
48
- time: string;
49
- dateTime: string;
50
- enum: string;
51
- };
52
- export declare const extendedSchema: {
53
- type: string;
54
- properties: {
55
- multilineString: {
56
- type: string;
57
- description: string;
58
- };
59
- slider: {
60
- type: string;
61
- minimum: number;
62
- maximum: number;
63
- default: number;
64
- description: string;
65
- };
66
- trimText: {
67
- type: string;
68
- description: string;
69
- };
70
- restrictText: {
71
- type: string;
72
- maxLength: number;
73
- description: string;
74
- };
75
- unfocusedDescription: {
76
- type: string;
77
- description: string;
78
- };
79
- hideRequiredAsterisk: {
80
- type: string;
81
- description: string;
82
- };
83
- toggle: {
84
- type: string;
85
- description: string;
86
- };
87
- };
88
- required: string[];
89
- };
90
- export declare const extendedUischema: {
91
- type: string;
92
- elements: ({
93
- type: string;
94
- scope: string;
95
- options: {
96
- multi: boolean;
97
- slider?: undefined;
98
- trim?: undefined;
99
- restrict?: undefined;
100
- showUnfocusedDescription?: undefined;
101
- hideRequiredAsterisk?: undefined;
102
- toggle?: undefined;
103
- };
104
- label?: undefined;
105
- } | {
106
- type: string;
107
- scope: string;
108
- options: {
109
- slider: boolean;
110
- multi?: undefined;
111
- trim?: undefined;
112
- restrict?: undefined;
113
- showUnfocusedDescription?: undefined;
114
- hideRequiredAsterisk?: undefined;
115
- toggle?: undefined;
116
- };
117
- label?: undefined;
118
- } | {
119
- type: string;
120
- scope: string;
121
- options: {
122
- trim: boolean;
123
- multi?: undefined;
124
- slider?: undefined;
125
- restrict?: undefined;
126
- showUnfocusedDescription?: undefined;
127
- hideRequiredAsterisk?: undefined;
128
- toggle?: undefined;
129
- };
130
- label?: undefined;
131
- } | {
132
- type: string;
133
- scope: string;
134
- options: {
135
- restrict: boolean;
136
- multi?: undefined;
137
- slider?: undefined;
138
- trim?: undefined;
139
- showUnfocusedDescription?: undefined;
140
- hideRequiredAsterisk?: undefined;
141
- toggle?: undefined;
142
- };
143
- label?: undefined;
144
- } | {
145
- type: string;
146
- scope: string;
147
- options: {
148
- showUnfocusedDescription: boolean;
149
- multi?: undefined;
150
- slider?: undefined;
151
- trim?: undefined;
152
- restrict?: undefined;
153
- hideRequiredAsterisk?: undefined;
154
- toggle?: undefined;
155
- };
156
- label?: undefined;
157
- } | {
158
- type: string;
159
- scope: string;
160
- options: {
161
- hideRequiredAsterisk: boolean;
162
- multi?: undefined;
163
- slider?: undefined;
164
- trim?: undefined;
165
- restrict?: undefined;
166
- showUnfocusedDescription?: undefined;
167
- toggle?: undefined;
168
- };
169
- label?: undefined;
170
- } | {
171
- type: string;
172
- scope: string;
173
- label: string;
174
- options: {
175
- toggle: boolean;
176
- multi?: undefined;
177
- slider?: undefined;
178
- trim?: undefined;
179
- restrict?: undefined;
180
- showUnfocusedDescription?: undefined;
181
- hideRequiredAsterisk?: undefined;
182
- };
183
- })[];
184
- };
185
- export declare const extendedData: {
186
- multilineString: string;
187
- slider: number;
188
- trimText: string;
189
- restrictText: string;
190
- toggle: boolean;
191
- };
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ string: {
5
+ type: string;
6
+ };
7
+ boolean: {
8
+ type: string;
9
+ description: string;
10
+ };
11
+ number: {
12
+ type: string;
13
+ };
14
+ integer: {
15
+ type: string;
16
+ };
17
+ date: {
18
+ type: string;
19
+ format: string;
20
+ };
21
+ time: {
22
+ type: string;
23
+ format: string;
24
+ };
25
+ dateTime: {
26
+ type: string;
27
+ format: string;
28
+ };
29
+ enum: {
30
+ type: string;
31
+ enum: string[];
32
+ };
33
+ };
34
+ };
35
+ export declare const uischema: {
36
+ type: string;
37
+ elements: {
38
+ type: string;
39
+ scope: string;
40
+ }[];
41
+ };
42
+ export declare const data: {
43
+ string: string;
44
+ boolean: boolean;
45
+ number: number;
46
+ integer: number;
47
+ date: string;
48
+ time: string;
49
+ dateTime: string;
50
+ enum: string;
51
+ };
52
+ export declare const extendedSchema: {
53
+ type: string;
54
+ properties: {
55
+ multilineString: {
56
+ type: string;
57
+ description: string;
58
+ };
59
+ slider: {
60
+ type: string;
61
+ minimum: number;
62
+ maximum: number;
63
+ default: number;
64
+ description: string;
65
+ };
66
+ trimText: {
67
+ type: string;
68
+ description: string;
69
+ };
70
+ restrictText: {
71
+ type: string;
72
+ maxLength: number;
73
+ description: string;
74
+ };
75
+ unfocusedDescription: {
76
+ type: string;
77
+ description: string;
78
+ };
79
+ hideRequiredAsterisk: {
80
+ type: string;
81
+ description: string;
82
+ };
83
+ toggle: {
84
+ type: string;
85
+ description: string;
86
+ };
87
+ };
88
+ required: string[];
89
+ };
90
+ export declare const extendedUischema: {
91
+ type: string;
92
+ elements: ({
93
+ type: string;
94
+ scope: string;
95
+ options: {
96
+ multi: boolean;
97
+ slider?: undefined;
98
+ trim?: undefined;
99
+ restrict?: undefined;
100
+ showUnfocusedDescription?: undefined;
101
+ hideRequiredAsterisk?: undefined;
102
+ toggle?: undefined;
103
+ };
104
+ label?: undefined;
105
+ } | {
106
+ type: string;
107
+ scope: string;
108
+ options: {
109
+ slider: boolean;
110
+ multi?: undefined;
111
+ trim?: undefined;
112
+ restrict?: undefined;
113
+ showUnfocusedDescription?: undefined;
114
+ hideRequiredAsterisk?: undefined;
115
+ toggle?: undefined;
116
+ };
117
+ label?: undefined;
118
+ } | {
119
+ type: string;
120
+ scope: string;
121
+ options: {
122
+ trim: boolean;
123
+ multi?: undefined;
124
+ slider?: undefined;
125
+ restrict?: undefined;
126
+ showUnfocusedDescription?: undefined;
127
+ hideRequiredAsterisk?: undefined;
128
+ toggle?: undefined;
129
+ };
130
+ label?: undefined;
131
+ } | {
132
+ type: string;
133
+ scope: string;
134
+ options: {
135
+ restrict: boolean;
136
+ multi?: undefined;
137
+ slider?: undefined;
138
+ trim?: undefined;
139
+ showUnfocusedDescription?: undefined;
140
+ hideRequiredAsterisk?: undefined;
141
+ toggle?: undefined;
142
+ };
143
+ label?: undefined;
144
+ } | {
145
+ type: string;
146
+ scope: string;
147
+ options: {
148
+ showUnfocusedDescription: boolean;
149
+ multi?: undefined;
150
+ slider?: undefined;
151
+ trim?: undefined;
152
+ restrict?: undefined;
153
+ hideRequiredAsterisk?: undefined;
154
+ toggle?: undefined;
155
+ };
156
+ label?: undefined;
157
+ } | {
158
+ type: string;
159
+ scope: string;
160
+ options: {
161
+ hideRequiredAsterisk: boolean;
162
+ multi?: undefined;
163
+ slider?: undefined;
164
+ trim?: undefined;
165
+ restrict?: undefined;
166
+ showUnfocusedDescription?: undefined;
167
+ toggle?: undefined;
168
+ };
169
+ label?: undefined;
170
+ } | {
171
+ type: string;
172
+ scope: string;
173
+ label: string;
174
+ options: {
175
+ toggle: boolean;
176
+ multi?: undefined;
177
+ slider?: undefined;
178
+ trim?: undefined;
179
+ restrict?: undefined;
180
+ showUnfocusedDescription?: undefined;
181
+ hideRequiredAsterisk?: undefined;
182
+ };
183
+ })[];
184
+ };
185
+ export declare const extendedData: {
186
+ multilineString: string;
187
+ slider: number;
188
+ trimText: string;
189
+ restrictText: string;
190
+ toggle: boolean;
191
+ };
@@ -1,115 +1,115 @@
1
- export declare const schema: {
2
- type: string;
3
- properties: {
4
- schemaBased: {
5
- type: string;
6
- properties: {
7
- date: {
8
- type: string;
9
- format: string;
10
- description: string;
11
- };
12
- time: {
13
- type: string;
14
- format: string;
15
- description: string;
16
- };
17
- datetime: {
18
- type: string;
19
- format: string;
20
- description: string;
21
- };
22
- };
23
- };
24
- uiSchemaBased: {
25
- type: string;
26
- properties: {
27
- date: {
28
- type: string;
29
- description: string;
30
- };
31
- time: {
32
- type: string;
33
- description: string;
34
- };
35
- datetime: {
36
- type: string;
37
- description: string;
38
- };
39
- };
40
- };
41
- };
42
- };
43
- export declare const uischema: {
44
- type: string;
45
- elements: ({
46
- type: string;
47
- elements: {
48
- type: string;
49
- scope: string;
50
- }[];
51
- } | {
52
- type: string;
53
- elements: ({
54
- type: string;
55
- scope: string;
56
- label: string;
57
- options: {
58
- format: string;
59
- clearLabel: string;
60
- cancelLabel: string;
61
- okLabel: string;
62
- views: string[];
63
- dateFormat: string;
64
- dateSaveFormat: string;
65
- ampm?: undefined;
66
- dateTimeFormat?: undefined;
67
- dateTimeSaveFormat?: undefined;
68
- };
69
- } | {
70
- type: string;
71
- scope: string;
72
- options: {
73
- format: string;
74
- ampm: boolean;
75
- clearLabel?: undefined;
76
- cancelLabel?: undefined;
77
- okLabel?: undefined;
78
- views?: undefined;
79
- dateFormat?: undefined;
80
- dateSaveFormat?: undefined;
81
- dateTimeFormat?: undefined;
82
- dateTimeSaveFormat?: undefined;
83
- };
84
- label?: undefined;
85
- } | {
86
- type: string;
87
- scope: string;
88
- options: {
89
- format: string;
90
- dateTimeFormat: string;
91
- dateTimeSaveFormat: string;
92
- ampm: boolean;
93
- clearLabel?: undefined;
94
- cancelLabel?: undefined;
95
- okLabel?: undefined;
96
- views?: undefined;
97
- dateFormat?: undefined;
98
- dateSaveFormat?: undefined;
99
- };
100
- label?: undefined;
101
- })[];
102
- })[];
103
- };
104
- export declare const data: {
105
- schemaBased: {
106
- date: string;
107
- time: string;
108
- datetime: string;
109
- };
110
- uiSchemaBased: {
111
- date: string;
112
- time: string;
113
- datetime: string;
114
- };
115
- };
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ schemaBased: {
5
+ type: string;
6
+ properties: {
7
+ date: {
8
+ type: string;
9
+ format: string;
10
+ description: string;
11
+ };
12
+ time: {
13
+ type: string;
14
+ format: string;
15
+ description: string;
16
+ };
17
+ datetime: {
18
+ type: string;
19
+ format: string;
20
+ description: string;
21
+ };
22
+ };
23
+ };
24
+ uiSchemaBased: {
25
+ type: string;
26
+ properties: {
27
+ date: {
28
+ type: string;
29
+ description: string;
30
+ };
31
+ time: {
32
+ type: string;
33
+ description: string;
34
+ };
35
+ datetime: {
36
+ type: string;
37
+ description: string;
38
+ };
39
+ };
40
+ };
41
+ };
42
+ };
43
+ export declare const uischema: {
44
+ type: string;
45
+ elements: ({
46
+ type: string;
47
+ elements: {
48
+ type: string;
49
+ scope: string;
50
+ }[];
51
+ } | {
52
+ type: string;
53
+ elements: ({
54
+ type: string;
55
+ scope: string;
56
+ label: string;
57
+ options: {
58
+ format: string;
59
+ clearLabel: string;
60
+ cancelLabel: string;
61
+ okLabel: string;
62
+ views: string[];
63
+ dateFormat: string;
64
+ dateSaveFormat: string;
65
+ ampm?: undefined;
66
+ dateTimeFormat?: undefined;
67
+ dateTimeSaveFormat?: undefined;
68
+ };
69
+ } | {
70
+ type: string;
71
+ scope: string;
72
+ options: {
73
+ format: string;
74
+ ampm: boolean;
75
+ clearLabel?: undefined;
76
+ cancelLabel?: undefined;
77
+ okLabel?: undefined;
78
+ views?: undefined;
79
+ dateFormat?: undefined;
80
+ dateSaveFormat?: undefined;
81
+ dateTimeFormat?: undefined;
82
+ dateTimeSaveFormat?: undefined;
83
+ };
84
+ label?: undefined;
85
+ } | {
86
+ type: string;
87
+ scope: string;
88
+ options: {
89
+ format: string;
90
+ dateTimeFormat: string;
91
+ dateTimeSaveFormat: string;
92
+ ampm: boolean;
93
+ clearLabel?: undefined;
94
+ cancelLabel?: undefined;
95
+ okLabel?: undefined;
96
+ views?: undefined;
97
+ dateFormat?: undefined;
98
+ dateSaveFormat?: undefined;
99
+ };
100
+ label?: undefined;
101
+ })[];
102
+ })[];
103
+ };
104
+ export declare const data: {
105
+ schemaBased: {
106
+ date: string;
107
+ time: string;
108
+ datetime: string;
109
+ };
110
+ uiSchemaBased: {
111
+ date: string;
112
+ time: string;
113
+ datetime: string;
114
+ };
115
+ };