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

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