@jsonforms/examples 3.0.0-alpha.3 → 3.0.0-beta.2

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 (191) hide show
  1. package/docs/assets/js/search.json +1 -1
  2. package/docs/globals.html +860 -879
  3. package/lib/example.d.ts +23 -23
  4. package/lib/examples/1169.d.ts +24 -24
  5. package/lib/examples/1220.d.ts +4 -4
  6. package/lib/examples/1253.d.ts +16 -16
  7. package/lib/examples/1254.d.ts +21 -21
  8. package/lib/examples/1645.d.ts +68 -68
  9. package/lib/examples/1779.d.ts +1 -1
  10. package/lib/examples/allOf.d.ts +56 -56
  11. package/lib/examples/anyOf-oneOf-allOf-resolve.d.ts +44 -44
  12. package/lib/examples/anyOf.d.ts +64 -64
  13. package/lib/examples/arrays-with-custom-element-label.d.ts +43 -43
  14. package/lib/examples/arrays-with-detail-and-rule.d.ts +91 -91
  15. package/lib/examples/arrays-with-detail.d.ts +65 -65
  16. package/lib/examples/arrays.d.ts +55 -51
  17. package/lib/examples/booleanToggle.d.ts +62 -62
  18. package/lib/examples/categorization.d.ts +135 -135
  19. package/lib/examples/conditional-schema-compositions.d.ts +56 -0
  20. package/lib/examples/config.d.ts +29 -29
  21. package/lib/examples/control-options.d.ts +190 -190
  22. package/lib/examples/dates.d.ts +1 -1
  23. package/lib/examples/day1.d.ts +23 -23
  24. package/lib/examples/day2.d.ts +42 -42
  25. package/lib/examples/day3.d.ts +51 -51
  26. package/lib/examples/day4.d.ts +72 -72
  27. package/lib/examples/day5.d.ts +133 -133
  28. package/lib/examples/day6.d.ts +85 -85
  29. package/lib/examples/default.d.ts +64 -64
  30. package/lib/examples/dynamic.d.ts +1 -1
  31. package/lib/examples/enum.d.ts +49 -49
  32. package/lib/examples/enumInArray.d.ts +27 -27
  33. package/lib/examples/generate.d.ts +12 -12
  34. package/lib/examples/generateUI.d.ts +33 -33
  35. package/lib/examples/huge.d.ts +1 -1
  36. package/lib/examples/i18n.d.ts +25 -25
  37. package/lib/examples/if_then_else.d.ts +25 -25
  38. package/lib/examples/layout.d.ts +97 -97
  39. package/lib/examples/list-with-detail-registered.d.ts +1 -1
  40. package/lib/examples/list-with-detail.d.ts +1 -1
  41. package/lib/examples/multi-enum.d.ts +34 -34
  42. package/lib/examples/nestedArrays.d.ts +11 -11
  43. package/lib/examples/numbers.d.ts +46 -46
  44. package/lib/examples/object.d.ts +67 -56
  45. package/lib/examples/onChange.d.ts +18 -18
  46. package/lib/examples/oneOf-recursive.d.ts +48 -48
  47. package/lib/examples/oneOf.d.ts +53 -53
  48. package/lib/examples/oneOfArray.d.ts +53 -53
  49. package/lib/examples/person.d.ts +99 -99
  50. package/lib/examples/radioGroup.d.ts +1 -1
  51. package/lib/examples/readonly.d.ts +36 -36
  52. package/lib/examples/rule.d.ts +59 -59
  53. package/lib/examples/ruleInheritance.d.ts +26 -26
  54. package/lib/examples/scope.d.ts +50 -50
  55. package/lib/examples/stepper.d.ts +138 -138
  56. package/lib/examples/steppershownav.d.ts +139 -139
  57. package/lib/examples/stringArray.d.ts +22 -22
  58. package/lib/examples/text.d.ts +37 -37
  59. package/lib/index.d.ts +58 -58
  60. package/lib/jsonforms-examples.cjs.js +6134 -0
  61. package/lib/jsonforms-examples.cjs.js.map +1 -0
  62. package/lib/jsonforms-examples.esm.js +6112 -0
  63. package/lib/jsonforms-examples.esm.js.map +1 -0
  64. package/lib/register.d.ts +3 -3
  65. package/package.json +14 -7
  66. package/rollup.config.js +48 -0
  67. package/src/examples/arrays.ts +4 -0
  68. package/src/examples/conditional-schema-compositions.ts +118 -0
  69. package/src/examples/nestedArrays.ts +15 -10
  70. package/src/examples/object.ts +13 -0
  71. package/src/index.ts +3 -3
  72. package/stats.html +3279 -0
  73. package/lib/example.js +0 -3
  74. package/lib/example.js.map +0 -1
  75. package/lib/examples/1169.js +0 -61
  76. package/lib/examples/1169.js.map +0 -1
  77. package/lib/examples/1220.js +0 -138
  78. package/lib/examples/1220.js.map +0 -1
  79. package/lib/examples/1253.js +0 -202
  80. package/lib/examples/1253.js.map +0 -1
  81. package/lib/examples/1254.js +0 -67
  82. package/lib/examples/1254.js.map +0 -1
  83. package/lib/examples/1645.js +0 -65
  84. package/lib/examples/1645.js.map +0 -1
  85. package/lib/examples/1779.js +0 -82
  86. package/lib/examples/1779.js.map +0 -1
  87. package/lib/examples/allOf.js +0 -92
  88. package/lib/examples/allOf.js.map +0 -1
  89. package/lib/examples/anyOf-oneOf-allOf-resolve.js +0 -95
  90. package/lib/examples/anyOf-oneOf-allOf-resolve.js.map +0 -1
  91. package/lib/examples/anyOf.js +0 -115
  92. package/lib/examples/anyOf.js.map +0 -1
  93. package/lib/examples/arrays-with-custom-element-label.js +0 -95
  94. package/lib/examples/arrays-with-custom-element-label.js.map +0 -1
  95. package/lib/examples/arrays-with-detail-and-rule.js +0 -122
  96. package/lib/examples/arrays-with-detail-and-rule.js.map +0 -1
  97. package/lib/examples/arrays-with-detail.js +0 -97
  98. package/lib/examples/arrays-with-detail.js.map +0 -1
  99. package/lib/examples/arrays.js +0 -120
  100. package/lib/examples/arrays.js.map +0 -1
  101. package/lib/examples/booleanToggle.js +0 -68
  102. package/lib/examples/booleanToggle.js.map +0 -1
  103. package/lib/examples/categorization.js +0 -301
  104. package/lib/examples/categorization.js.map +0 -1
  105. package/lib/examples/config.js +0 -90
  106. package/lib/examples/config.js.map +0 -1
  107. package/lib/examples/control-options.js +0 -240
  108. package/lib/examples/control-options.js.map +0 -1
  109. package/lib/examples/dates.js +0 -150
  110. package/lib/examples/dates.js.map +0 -1
  111. package/lib/examples/day1.js +0 -60
  112. package/lib/examples/day1.js.map +0 -1
  113. package/lib/examples/day2.js +0 -62
  114. package/lib/examples/day2.js.map +0 -1
  115. package/lib/examples/day3.js +0 -65
  116. package/lib/examples/day3.js.map +0 -1
  117. package/lib/examples/day4.js +0 -71
  118. package/lib/examples/day4.js.map +0 -1
  119. package/lib/examples/day5.js +0 -168
  120. package/lib/examples/day5.js.map +0 -1
  121. package/lib/examples/day6.js +0 -42
  122. package/lib/examples/day6.js.map +0 -1
  123. package/lib/examples/default.js +0 -118
  124. package/lib/examples/default.js.map +0 -1
  125. package/lib/examples/dynamic.js +0 -23
  126. package/lib/examples/dynamic.js.map +0 -1
  127. package/lib/examples/enum.js +0 -129
  128. package/lib/examples/enum.js.map +0 -1
  129. package/lib/examples/enumInArray.js +0 -44
  130. package/lib/examples/enumInArray.js.map +0 -1
  131. package/lib/examples/generate.js +0 -42
  132. package/lib/examples/generate.js.map +0 -1
  133. package/lib/examples/generateUI.js +0 -42
  134. package/lib/examples/generateUI.js.map +0 -1
  135. package/lib/examples/huge.js +0 -1361
  136. package/lib/examples/huge.js.map +0 -1
  137. package/lib/examples/i18n.js +0 -94
  138. package/lib/examples/i18n.js.map +0 -1
  139. package/lib/examples/if_then_else.js +0 -49
  140. package/lib/examples/if_then_else.js.map +0 -1
  141. package/lib/examples/layout.js +0 -149
  142. package/lib/examples/layout.js.map +0 -1
  143. package/lib/examples/list-with-detail-registered.js +0 -104
  144. package/lib/examples/list-with-detail-registered.js.map +0 -1
  145. package/lib/examples/list-with-detail.js +0 -302
  146. package/lib/examples/list-with-detail.js.map +0 -1
  147. package/lib/examples/multi-enum.js +0 -76
  148. package/lib/examples/multi-enum.js.map +0 -1
  149. package/lib/examples/nestedArrays.js +0 -117
  150. package/lib/examples/nestedArrays.js.map +0 -1
  151. package/lib/examples/numbers.js +0 -89
  152. package/lib/examples/numbers.js.map +0 -1
  153. package/lib/examples/object.js +0 -100
  154. package/lib/examples/object.js.map +0 -1
  155. package/lib/examples/onChange.js +0 -71
  156. package/lib/examples/onChange.js.map +0 -1
  157. package/lib/examples/oneOf-recursive.js +0 -81
  158. package/lib/examples/oneOf-recursive.js.map +0 -1
  159. package/lib/examples/oneOf.js +0 -337
  160. package/lib/examples/oneOf.js.map +0 -1
  161. package/lib/examples/oneOfArray.js +0 -96
  162. package/lib/examples/oneOfArray.js.map +0 -1
  163. package/lib/examples/person.js +0 -156
  164. package/lib/examples/person.js.map +0 -1
  165. package/lib/examples/radioGroup.js +0 -86
  166. package/lib/examples/radioGroup.js.map +0 -1
  167. package/lib/examples/readonly.js +0 -81
  168. package/lib/examples/readonly.js.map +0 -1
  169. package/lib/examples/resolve.d.ts +0 -45
  170. package/lib/examples/resolve.js +0 -87
  171. package/lib/examples/resolve.js.map +0 -1
  172. package/lib/examples/rule.js +0 -123
  173. package/lib/examples/rule.js.map +0 -1
  174. package/lib/examples/ruleInheritance.js +0 -97
  175. package/lib/examples/ruleInheritance.js.map +0 -1
  176. package/lib/examples/scope.js +0 -113
  177. package/lib/examples/scope.js.map +0 -1
  178. package/lib/examples/stepper.js +0 -45
  179. package/lib/examples/stepper.js.map +0 -1
  180. package/lib/examples/steppershownav.js +0 -46
  181. package/lib/examples/steppershownav.js.map +0 -1
  182. package/lib/examples/stringArray.js +0 -62
  183. package/lib/examples/stringArray.js.map +0 -1
  184. package/lib/examples/text.js +0 -97
  185. package/lib/examples/text.js.map +0 -1
  186. package/lib/index.js +0 -142
  187. package/lib/index.js.map +0 -1
  188. package/lib/register.js +0 -13
  189. package/lib/register.js.map +0 -1
  190. package/src/examples/resolve.ts +0 -87
  191. package/webpack.build.js +0 -12
@@ -1,135 +1,135 @@
1
- export declare const schema: {
2
- type: string;
3
- properties: {
4
- firstName: {
5
- type: string;
6
- minLength: number;
7
- description: string;
8
- };
9
- secondName: {
10
- type: string;
11
- minLength: number;
12
- description: string;
13
- };
14
- vegetarian: {
15
- type: string;
16
- };
17
- birthDate: {
18
- type: string;
19
- format: string;
20
- description: string;
21
- };
22
- nationality: {
23
- type: string;
24
- enum: string[];
25
- };
26
- provideAddress: {
27
- type: string;
28
- };
29
- address: {
30
- type: string;
31
- properties: {
32
- street: {
33
- type: string;
34
- };
35
- streetNumber: {
36
- type: string;
37
- };
38
- city: {
39
- type: string;
40
- };
41
- postalCode: {
42
- type: string;
43
- maxLength: number;
44
- };
45
- };
46
- };
47
- vegetarianOptions: {
48
- type: string;
49
- properties: {
50
- vegan: {
51
- type: string;
52
- };
53
- favoriteVegetable: {
54
- type: string;
55
- enum: string[];
56
- };
57
- otherFavoriteVegetable: {
58
- type: string;
59
- };
60
- };
61
- };
62
- };
63
- };
64
- export declare const uischema: {
65
- type: string;
66
- elements: ({
67
- type: string;
68
- label: string;
69
- elements: ({
70
- type: string;
71
- elements: {
72
- type: string;
73
- scope: string;
74
- }[];
75
- scope?: undefined;
76
- } | {
77
- type: string;
78
- scope: string;
79
- elements?: undefined;
80
- })[];
81
- rule?: undefined;
82
- } | {
83
- type: string;
84
- label: string;
85
- elements: {
86
- type: string;
87
- elements: {
88
- type: string;
89
- scope: string;
90
- }[];
91
- }[];
92
- rule: {
93
- effect: string;
94
- condition: {
95
- scope: string;
96
- schema: {
97
- const: boolean;
98
- };
99
- };
100
- };
101
- } | {
102
- type: string;
103
- label: string;
104
- elements: ({
105
- type: string;
106
- scope: string;
107
- rule?: undefined;
108
- } | {
109
- type: string;
110
- scope: string;
111
- rule: {
112
- effect: string;
113
- condition: {
114
- scope: string;
115
- schema: {
116
- const: string;
117
- };
118
- };
119
- };
120
- })[];
121
- rule: {
122
- effect: string;
123
- condition: {
124
- scope: string;
125
- schema: {
126
- const: boolean;
127
- };
128
- };
129
- };
130
- })[];
131
- };
132
- export declare const data: {
133
- provideAddress: boolean;
134
- vegetarian: boolean;
135
- };
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ firstName: {
5
+ type: string;
6
+ minLength: number;
7
+ description: string;
8
+ };
9
+ secondName: {
10
+ type: string;
11
+ minLength: number;
12
+ description: string;
13
+ };
14
+ vegetarian: {
15
+ type: string;
16
+ };
17
+ birthDate: {
18
+ type: string;
19
+ format: string;
20
+ description: string;
21
+ };
22
+ nationality: {
23
+ type: string;
24
+ enum: string[];
25
+ };
26
+ provideAddress: {
27
+ type: string;
28
+ };
29
+ address: {
30
+ type: string;
31
+ properties: {
32
+ street: {
33
+ type: string;
34
+ };
35
+ streetNumber: {
36
+ type: string;
37
+ };
38
+ city: {
39
+ type: string;
40
+ };
41
+ postalCode: {
42
+ type: string;
43
+ maxLength: number;
44
+ };
45
+ };
46
+ };
47
+ vegetarianOptions: {
48
+ type: string;
49
+ properties: {
50
+ vegan: {
51
+ type: string;
52
+ };
53
+ favoriteVegetable: {
54
+ type: string;
55
+ enum: string[];
56
+ };
57
+ otherFavoriteVegetable: {
58
+ type: string;
59
+ };
60
+ };
61
+ };
62
+ };
63
+ };
64
+ export declare const uischema: {
65
+ type: string;
66
+ elements: ({
67
+ type: string;
68
+ label: string;
69
+ elements: ({
70
+ type: string;
71
+ elements: {
72
+ type: string;
73
+ scope: string;
74
+ }[];
75
+ scope?: undefined;
76
+ } | {
77
+ type: string;
78
+ scope: string;
79
+ elements?: undefined;
80
+ })[];
81
+ rule?: undefined;
82
+ } | {
83
+ type: string;
84
+ label: string;
85
+ elements: {
86
+ type: string;
87
+ elements: {
88
+ type: string;
89
+ scope: string;
90
+ }[];
91
+ }[];
92
+ rule: {
93
+ effect: string;
94
+ condition: {
95
+ scope: string;
96
+ schema: {
97
+ const: boolean;
98
+ };
99
+ };
100
+ };
101
+ } | {
102
+ type: string;
103
+ label: string;
104
+ elements: ({
105
+ type: string;
106
+ scope: string;
107
+ rule?: undefined;
108
+ } | {
109
+ type: string;
110
+ scope: string;
111
+ rule: {
112
+ effect: string;
113
+ condition: {
114
+ scope: string;
115
+ schema: {
116
+ const: string;
117
+ };
118
+ };
119
+ };
120
+ })[];
121
+ rule: {
122
+ effect: string;
123
+ condition: {
124
+ scope: string;
125
+ schema: {
126
+ const: boolean;
127
+ };
128
+ };
129
+ };
130
+ })[];
131
+ };
132
+ export declare const data: {
133
+ provideAddress: boolean;
134
+ vegetarian: boolean;
135
+ };
@@ -0,0 +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,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
+ };