@jsonforms/examples 3.0.0-alpha.1 → 3.0.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 (245) hide show
  1. package/docs/assets/js/search.json +1 -1
  2. package/docs/globals.html +2371 -2178
  3. package/docs/index.html +5 -26
  4. package/docs/interfaces/exampledescription.html +34 -6
  5. package/docs/interfaces/stateprops.html +229 -0
  6. package/lib/example.d.ts +23 -15
  7. package/lib/{1169.d.ts → examples/1169.d.ts} +24 -24
  8. package/lib/examples/1220.d.ts +4 -0
  9. package/lib/{1253.d.ts → examples/1253.d.ts} +16 -16
  10. package/lib/{1254.d.ts → examples/1254.d.ts} +21 -21
  11. package/lib/examples/1645.d.ts +68 -0
  12. package/lib/{1779.d.ts → examples/1779.d.ts} +1 -1
  13. package/lib/{allOf.d.ts → examples/allOf.d.ts} +56 -56
  14. package/lib/{anyOf-oneOf-allOf-resolve.d.ts → examples/anyOf-oneOf-allOf-resolve.d.ts} +44 -44
  15. package/lib/{anyOf.d.ts → examples/anyOf.d.ts} +64 -64
  16. package/lib/{arrays-with-custom-element-label.d.ts → examples/arrays-with-custom-element-label.d.ts} +43 -43
  17. package/lib/{arrays-with-detail-and-rule.d.ts → examples/arrays-with-detail-and-rule.d.ts} +91 -91
  18. package/lib/{arrays-with-detail.d.ts → examples/arrays-with-detail.d.ts} +65 -65
  19. package/lib/{arrays.d.ts → examples/arrays.d.ts} +51 -38
  20. package/lib/{booleanToggle.d.ts → examples/booleanToggle.d.ts} +62 -62
  21. package/lib/{categorization.d.ts → examples/categorization.d.ts} +135 -135
  22. package/lib/{config.d.ts → examples/config.d.ts} +29 -29
  23. package/lib/{control-options.d.ts → examples/control-options.d.ts} +190 -190
  24. package/lib/{dates.d.ts → examples/dates.d.ts} +1 -1
  25. package/lib/{day1.d.ts → examples/day1.d.ts} +23 -23
  26. package/lib/{day2.d.ts → examples/day2.d.ts} +42 -42
  27. package/lib/{day3.d.ts → examples/day3.d.ts} +51 -51
  28. package/lib/{day4.d.ts → examples/day4.d.ts} +72 -72
  29. package/lib/{day5.d.ts → examples/day5.d.ts} +133 -133
  30. package/lib/{day6.d.ts → examples/day6.d.ts} +85 -85
  31. package/lib/{default.d.ts → examples/default.d.ts} +64 -64
  32. package/lib/{dynamic.d.ts → examples/dynamic.d.ts} +1 -1
  33. package/lib/{enum.d.ts → examples/enum.d.ts} +49 -49
  34. package/lib/{enumInArray.d.ts → examples/enumInArray.d.ts} +27 -27
  35. package/lib/{generate.d.ts → examples/generate.d.ts} +12 -12
  36. package/lib/{generateUI.d.ts → examples/generateUI.d.ts} +33 -33
  37. package/lib/{huge.d.ts → examples/huge.d.ts} +1 -1
  38. package/lib/{i18n.d.ts → examples/i18n.d.ts} +25 -25
  39. package/lib/{if_then_else.d.ts → examples/if_then_else.d.ts} +25 -25
  40. package/lib/{layout.d.ts → examples/layout.d.ts} +97 -97
  41. package/lib/{list-with-detail-registered.d.ts → examples/list-with-detail-registered.d.ts} +1 -1
  42. package/lib/{list-with-detail.d.ts → examples/list-with-detail.d.ts} +1 -1
  43. package/lib/{multi-enum.d.ts → examples/multi-enum.d.ts} +34 -34
  44. package/lib/examples/nestedArrays.d.ts +11 -0
  45. package/lib/{numbers.d.ts → examples/numbers.d.ts} +46 -46
  46. package/lib/{object.d.ts → examples/object.d.ts} +56 -56
  47. package/lib/{onChange.d.ts → examples/onChange.d.ts} +18 -18
  48. package/lib/{oneOf-recursive.d.ts → examples/oneOf-recursive.d.ts} +48 -48
  49. package/lib/{oneOf.d.ts → examples/oneOf.d.ts} +53 -53
  50. package/lib/{oneOfArray.d.ts → examples/oneOfArray.d.ts} +53 -53
  51. package/lib/{person.d.ts → examples/person.d.ts} +99 -99
  52. package/lib/{radioGroup.d.ts → examples/radioGroup.d.ts} +1 -1
  53. package/lib/{readonly.d.ts → examples/readonly.d.ts} +36 -36
  54. package/lib/{resolve.d.ts → examples/resolve.d.ts} +45 -45
  55. package/lib/{rule.d.ts → examples/rule.d.ts} +59 -59
  56. package/lib/{ruleInheritance.d.ts → examples/ruleInheritance.d.ts} +26 -26
  57. package/lib/{scope.d.ts → examples/scope.d.ts} +50 -50
  58. package/lib/{stepper.d.ts → examples/stepper.d.ts} +138 -138
  59. package/lib/{steppershownav.d.ts → examples/steppershownav.d.ts} +139 -139
  60. package/lib/{stringArray.d.ts → examples/stringArray.d.ts} +22 -22
  61. package/lib/{text.d.ts → examples/text.d.ts} +37 -37
  62. package/lib/index.d.ts +58 -57
  63. package/lib/jsonforms-examples.cjs.js +6082 -0
  64. package/lib/jsonforms-examples.cjs.js.map +1 -0
  65. package/lib/jsonforms-examples.esm.js +6060 -0
  66. package/lib/jsonforms-examples.esm.js.map +1 -0
  67. package/lib/register.d.ts +3 -3
  68. package/package.json +16 -8
  69. package/rollup.config.js +48 -0
  70. package/src/example.ts +18 -12
  71. package/src/{1169.ts → examples/1169.ts} +1 -1
  72. package/src/{1220.ts → examples/1220.ts} +58 -36
  73. package/src/{1253.ts → examples/1253.ts} +1 -1
  74. package/src/{1254.ts → examples/1254.ts} +1 -1
  75. package/src/examples/1645.ts +66 -0
  76. package/src/{1779.ts → examples/1779.ts} +1 -1
  77. package/src/{allOf.ts → examples/allOf.ts} +1 -1
  78. package/src/{anyOf-oneOf-allOf-resolve.ts → examples/anyOf-oneOf-allOf-resolve.ts} +1 -1
  79. package/src/{anyOf.ts → examples/anyOf.ts} +1 -1
  80. package/src/{arrays-with-custom-element-label.ts → examples/arrays-with-custom-element-label.ts} +1 -1
  81. package/src/{arrays-with-detail-and-rule.ts → examples/arrays-with-detail-and-rule.ts} +1 -1
  82. package/src/{arrays-with-detail.ts → examples/arrays-with-detail.ts} +1 -1
  83. package/src/{arrays.ts → examples/arrays.ts} +36 -8
  84. package/src/{booleanToggle.ts → examples/booleanToggle.ts} +1 -1
  85. package/src/{categorization.ts → examples/categorization.ts} +1 -1
  86. package/src/{config.ts → examples/config.ts} +1 -1
  87. package/src/{control-options.ts → examples/control-options.ts} +2 -2
  88. package/src/{dates.ts → examples/dates.ts} +1 -1
  89. package/src/{day1.ts → examples/day1.ts} +1 -1
  90. package/src/{day2.ts → examples/day2.ts} +5 -5
  91. package/src/{day3.ts → examples/day3.ts} +1 -1
  92. package/src/{day4.ts → examples/day4.ts} +1 -1
  93. package/src/{day5.ts → examples/day5.ts} +1 -1
  94. package/src/{day6.ts → examples/day6.ts} +1 -1
  95. package/src/{default.ts → examples/default.ts} +1 -1
  96. package/src/{dynamic.ts → examples/dynamic.ts} +17 -2
  97. package/src/{enum.ts → examples/enum.ts} +1 -1
  98. package/src/{enumInArray.ts → examples/enumInArray.ts} +1 -1
  99. package/src/{generate.ts → examples/generate.ts} +1 -1
  100. package/src/{generateUI.ts → examples/generateUI.ts} +1 -1
  101. package/src/{huge.ts → examples/huge.ts} +1 -1
  102. package/src/{i18n.ts → examples/i18n.ts} +1 -1
  103. package/src/{if_then_else.ts → examples/if_then_else.ts} +1 -1
  104. package/src/{layout.ts → examples/layout.ts} +1 -1
  105. package/src/{list-with-detail-registered.ts → examples/list-with-detail-registered.ts} +1 -1
  106. package/src/{list-with-detail.ts → examples/list-with-detail.ts} +1 -1
  107. package/src/{multi-enum.ts → examples/multi-enum.ts} +1 -1
  108. package/src/{nestedArrays.ts → examples/nestedArrays.ts} +49 -36
  109. package/src/{numbers.ts → examples/numbers.ts} +1 -1
  110. package/src/{object.ts → examples/object.ts} +1 -1
  111. package/src/{onChange.ts → examples/onChange.ts} +2 -2
  112. package/src/{oneOf-recursive.ts → examples/oneOf-recursive.ts} +1 -1
  113. package/src/{oneOf.ts → examples/oneOf.ts} +1 -1
  114. package/src/{oneOfArray.ts → examples/oneOfArray.ts} +1 -1
  115. package/src/{person.ts → examples/person.ts} +1 -1
  116. package/src/{radioGroup.ts → examples/radioGroup.ts} +1 -1
  117. package/src/{readonly.ts → examples/readonly.ts} +1 -1
  118. package/src/{resolve.ts → examples/resolve.ts} +1 -1
  119. package/src/{rule.ts → examples/rule.ts} +1 -1
  120. package/src/{ruleInheritance.ts → examples/ruleInheritance.ts} +25 -2
  121. package/src/{scope.ts → examples/scope.ts} +1 -1
  122. package/src/{stepper.ts → examples/stepper.ts} +1 -1
  123. package/src/{steppershownav.ts → examples/steppershownav.ts} +1 -1
  124. package/src/{stringArray.ts → examples/stringArray.ts} +1 -1
  125. package/src/{text.ts → examples/text.ts} +1 -1
  126. package/src/index.ts +57 -55
  127. package/stats.html +3279 -0
  128. package/docs/interfaces/changeexampleaction.html +0 -159
  129. package/lib/1169.js +0 -60
  130. package/lib/1169.js.map +0 -1
  131. package/lib/1220.d.ts +0 -3
  132. package/lib/1220.js +0 -122
  133. package/lib/1220.js.map +0 -1
  134. package/lib/1253.js +0 -201
  135. package/lib/1253.js.map +0 -1
  136. package/lib/1254.js +0 -66
  137. package/lib/1254.js.map +0 -1
  138. package/lib/1779.js +0 -82
  139. package/lib/1779.js.map +0 -1
  140. package/lib/allOf.js +0 -91
  141. package/lib/allOf.js.map +0 -1
  142. package/lib/anyOf-oneOf-allOf-resolve.js +0 -94
  143. package/lib/anyOf-oneOf-allOf-resolve.js.map +0 -1
  144. package/lib/anyOf.js +0 -114
  145. package/lib/anyOf.js.map +0 -1
  146. package/lib/arrays-with-custom-element-label.js +0 -94
  147. package/lib/arrays-with-custom-element-label.js.map +0 -1
  148. package/lib/arrays-with-detail-and-rule.js +0 -121
  149. package/lib/arrays-with-detail-and-rule.js.map +0 -1
  150. package/lib/arrays-with-detail.js +0 -96
  151. package/lib/arrays-with-detail.js.map +0 -1
  152. package/lib/arrays.js +0 -98
  153. package/lib/arrays.js.map +0 -1
  154. package/lib/booleanToggle.js +0 -67
  155. package/lib/booleanToggle.js.map +0 -1
  156. package/lib/categorization.js +0 -300
  157. package/lib/categorization.js.map +0 -1
  158. package/lib/config.js +0 -89
  159. package/lib/config.js.map +0 -1
  160. package/lib/control-options.js +0 -239
  161. package/lib/control-options.js.map +0 -1
  162. package/lib/dates.js +0 -150
  163. package/lib/dates.js.map +0 -1
  164. package/lib/day1.js +0 -59
  165. package/lib/day1.js.map +0 -1
  166. package/lib/day2.js +0 -61
  167. package/lib/day2.js.map +0 -1
  168. package/lib/day3.js +0 -64
  169. package/lib/day3.js.map +0 -1
  170. package/lib/day4.js +0 -70
  171. package/lib/day4.js.map +0 -1
  172. package/lib/day5.js +0 -167
  173. package/lib/day5.js.map +0 -1
  174. package/lib/day6.js +0 -41
  175. package/lib/day6.js.map +0 -1
  176. package/lib/default.js +0 -117
  177. package/lib/default.js.map +0 -1
  178. package/lib/dynamic.js +0 -37
  179. package/lib/dynamic.js.map +0 -1
  180. package/lib/enum.js +0 -128
  181. package/lib/enum.js.map +0 -1
  182. package/lib/enumInArray.js +0 -43
  183. package/lib/enumInArray.js.map +0 -1
  184. package/lib/example.js +0 -8
  185. package/lib/example.js.map +0 -1
  186. package/lib/generate.js +0 -41
  187. package/lib/generate.js.map +0 -1
  188. package/lib/generateUI.js +0 -41
  189. package/lib/generateUI.js.map +0 -1
  190. package/lib/huge.js +0 -1360
  191. package/lib/huge.js.map +0 -1
  192. package/lib/i18n.js +0 -92
  193. package/lib/i18n.js.map +0 -1
  194. package/lib/if_then_else.js +0 -48
  195. package/lib/if_then_else.js.map +0 -1
  196. package/lib/index.js +0 -138
  197. package/lib/index.js.map +0 -1
  198. package/lib/layout.js +0 -148
  199. package/lib/layout.js.map +0 -1
  200. package/lib/list-with-detail-registered.js +0 -104
  201. package/lib/list-with-detail-registered.js.map +0 -1
  202. package/lib/list-with-detail.js +0 -302
  203. package/lib/list-with-detail.js.map +0 -1
  204. package/lib/multi-enum.js +0 -75
  205. package/lib/multi-enum.js.map +0 -1
  206. package/lib/nestedArrays.d.ts +0 -4
  207. package/lib/nestedArrays.js +0 -101
  208. package/lib/nestedArrays.js.map +0 -1
  209. package/lib/numbers.js +0 -88
  210. package/lib/numbers.js.map +0 -1
  211. package/lib/object.js +0 -99
  212. package/lib/object.js.map +0 -1
  213. package/lib/onChange.js +0 -68
  214. package/lib/onChange.js.map +0 -1
  215. package/lib/oneOf-recursive.js +0 -80
  216. package/lib/oneOf-recursive.js.map +0 -1
  217. package/lib/oneOf.js +0 -336
  218. package/lib/oneOf.js.map +0 -1
  219. package/lib/oneOfArray.js +0 -95
  220. package/lib/oneOfArray.js.map +0 -1
  221. package/lib/person.js +0 -155
  222. package/lib/person.js.map +0 -1
  223. package/lib/radioGroup.js +0 -86
  224. package/lib/radioGroup.js.map +0 -1
  225. package/lib/readonly.js +0 -80
  226. package/lib/readonly.js.map +0 -1
  227. package/lib/register.js +0 -10
  228. package/lib/register.js.map +0 -1
  229. package/lib/resolve.js +0 -86
  230. package/lib/resolve.js.map +0 -1
  231. package/lib/rule.js +0 -122
  232. package/lib/rule.js.map +0 -1
  233. package/lib/ruleInheritance.js +0 -104
  234. package/lib/ruleInheritance.js.map +0 -1
  235. package/lib/scope.js +0 -112
  236. package/lib/scope.js.map +0 -1
  237. package/lib/stepper.js +0 -44
  238. package/lib/stepper.js.map +0 -1
  239. package/lib/steppershownav.js +0 -45
  240. package/lib/steppershownav.js.map +0 -1
  241. package/lib/stringArray.js +0 -61
  242. package/lib/stringArray.js.map +0 -1
  243. package/lib/text.js +0 -96
  244. package/lib/text.js.map +0 -1
  245. package/webpack.build.js +0 -12
@@ -1,65 +1,65 @@
1
- export declare const schema: {
2
- type: string;
3
- properties: {
4
- occupation: {
5
- type: string;
6
- };
7
- comments: {
8
- type: string;
9
- items: {
10
- type: string;
11
- properties: {
12
- date: {
13
- type: string;
14
- format: string;
15
- };
16
- message: {
17
- type: string;
18
- maxLength: number;
19
- };
20
- };
21
- };
22
- };
23
- name: {
24
- type: string;
25
- minLength: number;
26
- description: string;
27
- };
28
- vegetarian: {
29
- type: string;
30
- };
31
- birthDate: {
32
- type: string;
33
- format: string;
34
- description: string;
35
- };
36
- nationality: {
37
- type: string;
38
- enum: string[];
39
- };
40
- };
41
- required: string[];
42
- };
43
- export declare const uischema: {
44
- type: string;
45
- elements: {
46
- type: string;
47
- scope: string;
48
- options: {
49
- showSortButtons: boolean;
50
- detail: {
51
- type: string;
52
- elements: {
53
- type: string;
54
- scope: string;
55
- }[];
56
- };
57
- };
58
- }[];
59
- };
60
- export declare const data: {
61
- comments: {
62
- date: string;
63
- message: string;
64
- }[];
65
- };
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ occupation: {
5
+ type: string;
6
+ };
7
+ comments: {
8
+ type: string;
9
+ items: {
10
+ type: string;
11
+ properties: {
12
+ date: {
13
+ type: string;
14
+ format: string;
15
+ };
16
+ message: {
17
+ type: string;
18
+ maxLength: number;
19
+ };
20
+ };
21
+ };
22
+ };
23
+ name: {
24
+ type: string;
25
+ minLength: number;
26
+ description: string;
27
+ };
28
+ vegetarian: {
29
+ type: string;
30
+ };
31
+ birthDate: {
32
+ type: string;
33
+ format: string;
34
+ description: string;
35
+ };
36
+ nationality: {
37
+ type: string;
38
+ enum: string[];
39
+ };
40
+ };
41
+ required: string[];
42
+ };
43
+ export declare const uischema: {
44
+ type: string;
45
+ elements: {
46
+ type: string;
47
+ scope: string;
48
+ options: {
49
+ showSortButtons: boolean;
50
+ detail: {
51
+ type: string;
52
+ elements: {
53
+ type: string;
54
+ scope: string;
55
+ }[];
56
+ };
57
+ };
58
+ }[];
59
+ };
60
+ export declare const data: {
61
+ comments: {
62
+ date: string;
63
+ message: string;
64
+ }[];
65
+ };
@@ -1,38 +1,51 @@
1
- export declare const schema: {
2
- type: string;
3
- properties: {
4
- comments: {
5
- type: string;
6
- items: {
7
- type: string;
8
- properties: {
9
- date: {
10
- type: string;
11
- format: string;
12
- };
13
- message: {
14
- type: string;
15
- maxLength: number;
16
- };
17
- enum: {
18
- type: string;
19
- const: string;
20
- };
21
- };
22
- };
23
- };
24
- };
25
- };
26
- export declare const uischema: {
27
- type: string;
28
- elements: {
29
- type: string;
30
- scope: string;
31
- }[];
32
- };
33
- export declare const data: {
34
- comments: {
35
- date: string;
36
- message: string;
37
- }[];
38
- };
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ comments: {
5
+ type: string;
6
+ items: {
7
+ type: string;
8
+ properties: {
9
+ date: {
10
+ type: string;
11
+ format: string;
12
+ };
13
+ message: {
14
+ type: string;
15
+ maxLength: number;
16
+ };
17
+ enum: {
18
+ type: string;
19
+ const: string;
20
+ };
21
+ };
22
+ };
23
+ };
24
+ foo: {
25
+ type: string;
26
+ };
27
+ };
28
+ };
29
+ export declare const uischema: {
30
+ type: string;
31
+ elements: {
32
+ type: string;
33
+ scope: string;
34
+ }[];
35
+ };
36
+ export declare const uischemaWithSorting: {
37
+ type: string;
38
+ elements: {
39
+ type: string;
40
+ scope: string;
41
+ options: {
42
+ showSortButtons: boolean;
43
+ };
44
+ }[];
45
+ };
46
+ export declare const data: {
47
+ comments: {
48
+ date: string;
49
+ message: string;
50
+ }[];
51
+ };
@@ -1,62 +1,62 @@
1
- export declare const schema: {
2
- type: string;
3
- properties: {
4
- checkbox: {
5
- type: string;
6
- };
7
- toggle: {
8
- type: string;
9
- };
10
- };
11
- };
12
- export declare const uischema: {
13
- type: string;
14
- elements: ({
15
- type: string;
16
- scope: string;
17
- options?: undefined;
18
- } | {
19
- type: string;
20
- scope: string;
21
- options: {
22
- toggle: boolean;
23
- };
24
- })[];
25
- };
26
- export declare const data: {
27
- checkbox: boolean;
28
- toggle: boolean;
29
- };
30
- export declare const booleanToggleExample: {
31
- name: string;
32
- label: string;
33
- data: {
34
- checkbox: boolean;
35
- toggle: boolean;
36
- };
37
- schema: {
38
- type: string;
39
- properties: {
40
- checkbox: {
41
- type: string;
42
- };
43
- toggle: {
44
- type: string;
45
- };
46
- };
47
- };
48
- uischema: {
49
- type: string;
50
- elements: ({
51
- type: string;
52
- scope: string;
53
- options?: undefined;
54
- } | {
55
- type: string;
56
- scope: string;
57
- options: {
58
- toggle: boolean;
59
- };
60
- })[];
61
- };
62
- };
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ checkbox: {
5
+ type: string;
6
+ };
7
+ toggle: {
8
+ type: string;
9
+ };
10
+ };
11
+ };
12
+ export declare const uischema: {
13
+ type: string;
14
+ elements: ({
15
+ type: string;
16
+ scope: string;
17
+ options?: undefined;
18
+ } | {
19
+ type: string;
20
+ scope: string;
21
+ options: {
22
+ toggle: boolean;
23
+ };
24
+ })[];
25
+ };
26
+ export declare const data: {
27
+ checkbox: boolean;
28
+ toggle: boolean;
29
+ };
30
+ export declare const booleanToggleExample: {
31
+ name: string;
32
+ label: string;
33
+ data: {
34
+ checkbox: boolean;
35
+ toggle: boolean;
36
+ };
37
+ schema: {
38
+ type: string;
39
+ properties: {
40
+ checkbox: {
41
+ type: string;
42
+ };
43
+ toggle: {
44
+ type: string;
45
+ };
46
+ };
47
+ };
48
+ uischema: {
49
+ type: string;
50
+ elements: ({
51
+ type: string;
52
+ scope: string;
53
+ options?: undefined;
54
+ } | {
55
+ type: string;
56
+ scope: string;
57
+ options: {
58
+ toggle: boolean;
59
+ };
60
+ })[];
61
+ };
62
+ };
@@ -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
+ };
@@ -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
+ };