@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,146 +1,146 @@
1
- import { Translator } from '@jsonforms/core';
2
- export declare const schema: {
3
- type: string;
4
- properties: {
5
- firstName: {
6
- type: string;
7
- minLength: number;
8
- description: string;
9
- };
10
- secondName: {
11
- type: string;
12
- minLength: number;
13
- description: string;
14
- };
15
- vegetarian: {
16
- type: string;
17
- };
18
- birthDate: {
19
- type: string;
20
- format: string;
21
- description: string;
22
- };
23
- nationality: {
24
- type: string;
25
- enum: string[];
26
- };
27
- provideAddress: {
28
- type: string;
29
- };
30
- address: {
31
- type: string;
32
- properties: {
33
- street: {
34
- type: string;
35
- };
36
- streetNumber: {
37
- type: string;
38
- };
39
- city: {
40
- type: string;
41
- };
42
- postalCode: {
43
- type: string;
44
- maxLength: number;
45
- };
46
- };
47
- };
48
- vegetarianOptions: {
49
- type: string;
50
- properties: {
51
- vegan: {
52
- type: string;
53
- };
54
- favoriteVegetable: {
55
- type: string;
56
- enum: string[];
57
- };
58
- otherFavoriteVegetable: {
59
- type: string;
60
- };
61
- };
62
- };
63
- };
64
- };
65
- export declare const uischema: {
66
- type: string;
67
- elements: ({
68
- type: string;
69
- label: string;
70
- elements: ({
71
- type: string;
72
- elements: {
73
- type: string;
74
- scope: string;
75
- }[];
76
- scope?: undefined;
77
- } | {
78
- type: string;
79
- scope: string;
80
- elements?: undefined;
81
- })[];
82
- i18n?: undefined;
83
- rule?: undefined;
84
- } | {
85
- type: string;
86
- i18n: string;
87
- elements: {
88
- type: string;
89
- elements: {
90
- type: string;
91
- scope: string;
92
- }[];
93
- }[];
94
- rule: {
95
- effect: string;
96
- condition: {
97
- scope: string;
98
- schema: {
99
- const: boolean;
100
- };
101
- };
102
- };
103
- label?: undefined;
104
- } | {
105
- type: string;
106
- label: string;
107
- elements: ({
108
- type: string;
109
- scope: string;
110
- rule?: undefined;
111
- } | {
112
- type: string;
113
- scope: string;
114
- rule: {
115
- effect: string;
116
- condition: {
117
- scope: string;
118
- schema: {
119
- const: string;
120
- };
121
- };
122
- };
123
- })[];
124
- rule: {
125
- effect: string;
126
- condition: {
127
- scope: string;
128
- schema: {
129
- const: boolean;
130
- };
131
- };
132
- };
133
- i18n?: undefined;
134
- })[];
135
- };
136
- export declare const data: {
137
- provideAddress: boolean;
138
- vegetarian: boolean;
139
- };
140
- export declare const translations: {
141
- categoryLabelKey: string;
142
- address: {
143
- label: string;
144
- };
145
- };
146
- export declare const translate: Translator;
1
+ import { Translator } from '@jsonforms/core';
2
+ export declare const schema: {
3
+ type: string;
4
+ properties: {
5
+ firstName: {
6
+ type: string;
7
+ minLength: number;
8
+ description: string;
9
+ };
10
+ secondName: {
11
+ type: string;
12
+ minLength: number;
13
+ description: string;
14
+ };
15
+ vegetarian: {
16
+ type: string;
17
+ };
18
+ birthDate: {
19
+ type: string;
20
+ format: string;
21
+ description: string;
22
+ };
23
+ nationality: {
24
+ type: string;
25
+ enum: string[];
26
+ };
27
+ provideAddress: {
28
+ type: string;
29
+ };
30
+ address: {
31
+ type: string;
32
+ properties: {
33
+ street: {
34
+ type: string;
35
+ };
36
+ streetNumber: {
37
+ type: string;
38
+ };
39
+ city: {
40
+ type: string;
41
+ };
42
+ postalCode: {
43
+ type: string;
44
+ maxLength: number;
45
+ };
46
+ };
47
+ };
48
+ vegetarianOptions: {
49
+ type: string;
50
+ properties: {
51
+ vegan: {
52
+ type: string;
53
+ };
54
+ favoriteVegetable: {
55
+ type: string;
56
+ enum: string[];
57
+ };
58
+ otherFavoriteVegetable: {
59
+ type: string;
60
+ };
61
+ };
62
+ };
63
+ };
64
+ };
65
+ export declare const uischema: {
66
+ type: string;
67
+ elements: ({
68
+ type: string;
69
+ label: string;
70
+ elements: ({
71
+ type: string;
72
+ elements: {
73
+ type: string;
74
+ scope: string;
75
+ }[];
76
+ scope?: undefined;
77
+ } | {
78
+ type: string;
79
+ scope: string;
80
+ elements?: undefined;
81
+ })[];
82
+ i18n?: undefined;
83
+ rule?: undefined;
84
+ } | {
85
+ type: string;
86
+ i18n: string;
87
+ elements: {
88
+ type: string;
89
+ elements: {
90
+ type: string;
91
+ scope: string;
92
+ }[];
93
+ }[];
94
+ rule: {
95
+ effect: string;
96
+ condition: {
97
+ scope: string;
98
+ schema: {
99
+ const: boolean;
100
+ };
101
+ };
102
+ };
103
+ label?: undefined;
104
+ } | {
105
+ type: string;
106
+ label: string;
107
+ elements: ({
108
+ type: string;
109
+ scope: string;
110
+ rule?: undefined;
111
+ } | {
112
+ type: string;
113
+ scope: string;
114
+ rule: {
115
+ effect: string;
116
+ condition: {
117
+ scope: string;
118
+ schema: {
119
+ const: string;
120
+ };
121
+ };
122
+ };
123
+ })[];
124
+ rule: {
125
+ effect: string;
126
+ condition: {
127
+ scope: string;
128
+ schema: {
129
+ const: boolean;
130
+ };
131
+ };
132
+ };
133
+ i18n?: undefined;
134
+ })[];
135
+ };
136
+ export declare const data: {
137
+ provideAddress: boolean;
138
+ vegetarian: boolean;
139
+ };
140
+ export declare const translations: {
141
+ categoryLabelKey: string;
142
+ address: {
143
+ label: string;
144
+ };
145
+ };
146
+ export declare const translate: Translator;
@@ -1,56 +1,56 @@
1
- export declare const schema: {
2
- type: string;
3
- properties: {
4
- name: {
5
- type: string;
6
- minLength: number;
7
- description: string;
8
- };
9
- recurrence: {
10
- type: string;
11
- enum: string[];
12
- };
13
- };
14
- anyOf: {
15
- if: {
16
- properties: {
17
- recurrence: {
18
- const: string;
19
- };
20
- };
21
- };
22
- then: {
23
- properties: {
24
- lastname: {
25
- type: string;
26
- };
27
- age: {
28
- type: string;
29
- };
30
- };
31
- };
32
- }[];
33
- };
34
- export declare const uischema: {
35
- type: string;
36
- elements: {
37
- type: string;
38
- elements: ({
39
- type: string;
40
- scope: string;
41
- rule?: undefined;
42
- } | {
43
- type: string;
44
- scope: string;
45
- rule: {
46
- effect: string;
47
- condition: {
48
- scope: string;
49
- schema: {
50
- const: string;
51
- };
52
- };
53
- };
54
- })[];
55
- }[];
56
- };
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ name: {
5
+ type: string;
6
+ minLength: number;
7
+ description: string;
8
+ };
9
+ recurrence: {
10
+ type: string;
11
+ enum: string[];
12
+ };
13
+ };
14
+ anyOf: {
15
+ if: {
16
+ properties: {
17
+ recurrence: {
18
+ const: string;
19
+ };
20
+ };
21
+ };
22
+ then: {
23
+ properties: {
24
+ lastname: {
25
+ type: string;
26
+ };
27
+ age: {
28
+ type: string;
29
+ };
30
+ };
31
+ };
32
+ }[];
33
+ };
34
+ export declare const uischema: {
35
+ type: string;
36
+ elements: {
37
+ type: string;
38
+ elements: ({
39
+ type: string;
40
+ scope: string;
41
+ rule?: undefined;
42
+ } | {
43
+ type: string;
44
+ scope: string;
45
+ rule: {
46
+ effect: string;
47
+ condition: {
48
+ scope: string;
49
+ schema: {
50
+ const: string;
51
+ };
52
+ };
53
+ };
54
+ })[];
55
+ }[];
56
+ };
@@ -1,29 +1,29 @@
1
- export declare const schema: {
2
- type: string;
3
- properties: {
4
- postalCode: {
5
- type: string;
6
- description: string;
7
- maxLength: number;
8
- };
9
- recurrenceInterval: {
10
- type: string;
11
- description: string;
12
- };
13
- };
14
- required: string[];
15
- };
16
- export declare const uischema: {
17
- type: string;
18
- elements: {
19
- type: string;
20
- elements: {
21
- type: string;
22
- scope: string;
23
- label: string;
24
- }[];
25
- }[];
26
- };
27
- export declare const data: {
28
- postalCode: string;
29
- };
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ postalCode: {
5
+ type: string;
6
+ description: string;
7
+ maxLength: number;
8
+ };
9
+ recurrenceInterval: {
10
+ type: string;
11
+ description: string;
12
+ };
13
+ };
14
+ required: string[];
15
+ };
16
+ export declare const uischema: {
17
+ type: string;
18
+ elements: {
19
+ type: string;
20
+ elements: {
21
+ type: string;
22
+ scope: string;
23
+ label: string;
24
+ }[];
25
+ }[];
26
+ };
27
+ export declare const data: {
28
+ postalCode: string;
29
+ };