@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,72 +1,72 @@
1
- export declare const schema: {
2
- type: string;
3
- properties: {
4
- recurrence: {
5
- type: string;
6
- enum: string[];
7
- };
8
- recurrenceInterval: {
9
- type: string;
10
- };
11
- dueDate: {
12
- type: string;
13
- format: string;
14
- };
15
- rating: {
16
- type: string;
17
- maximum: number;
18
- };
19
- name: {
20
- type: string;
21
- minLength: number;
22
- };
23
- description: {
24
- type: string;
25
- };
26
- done: {
27
- type: string;
28
- };
29
- };
30
- required: string[];
31
- };
32
- export declare const uischema: {
33
- type: string;
34
- elements: ({
35
- type: string;
36
- scope: string;
37
- label?: undefined;
38
- options?: undefined;
39
- } | {
40
- type: string;
41
- label: boolean;
42
- scope: string;
43
- options?: undefined;
44
- } | {
45
- type: string;
46
- scope: string;
47
- options: {
48
- multi: boolean;
49
- };
50
- label?: undefined;
51
- } | {
52
- type: string;
53
- scope: string;
54
- rule: {
55
- effect: string;
56
- condition: {
57
- scope: string;
58
- schema: {
59
- enum: string[];
60
- };
61
- };
62
- };
63
- })[];
64
- };
65
- export declare const data: {
66
- recurrence: string;
67
- recurrenceInterval: number;
68
- rating: number;
69
- name: string;
70
- description: string;
71
- done: boolean;
72
- };
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ recurrence: {
5
+ type: string;
6
+ enum: string[];
7
+ };
8
+ recurrenceInterval: {
9
+ type: string;
10
+ };
11
+ dueDate: {
12
+ type: string;
13
+ format: string;
14
+ };
15
+ rating: {
16
+ type: string;
17
+ maximum: number;
18
+ };
19
+ name: {
20
+ type: string;
21
+ minLength: number;
22
+ };
23
+ description: {
24
+ type: string;
25
+ };
26
+ done: {
27
+ type: string;
28
+ };
29
+ };
30
+ required: string[];
31
+ };
32
+ export declare const uischema: {
33
+ type: string;
34
+ elements: ({
35
+ type: string;
36
+ scope: string;
37
+ label?: undefined;
38
+ options?: undefined;
39
+ } | {
40
+ type: string;
41
+ label: boolean;
42
+ scope: string;
43
+ options?: undefined;
44
+ } | {
45
+ type: string;
46
+ scope: string;
47
+ options: {
48
+ multi: boolean;
49
+ };
50
+ label?: undefined;
51
+ } | {
52
+ type: string;
53
+ scope: string;
54
+ rule: {
55
+ effect: string;
56
+ condition: {
57
+ scope: string;
58
+ schema: {
59
+ enum: string[];
60
+ };
61
+ };
62
+ };
63
+ })[];
64
+ };
65
+ export declare const data: {
66
+ recurrence: string;
67
+ recurrenceInterval: number;
68
+ rating: number;
69
+ name: string;
70
+ description: string;
71
+ done: boolean;
72
+ };
@@ -1,133 +1,133 @@
1
- export declare const schema: {
2
- type: string;
3
- properties: {
4
- recurrence: {
5
- type: string;
6
- enum: string[];
7
- };
8
- recurrenceInterval: {
9
- type: string;
10
- };
11
- dueDate: {
12
- type: string;
13
- format: string;
14
- };
15
- rating: {
16
- type: string;
17
- maximum: number;
18
- };
19
- name: {
20
- type: string;
21
- minLength: number;
22
- };
23
- description: {
24
- type: string;
25
- };
26
- done: {
27
- type: string;
28
- };
29
- };
30
- required: string[];
31
- };
32
- export declare const uischema: {
33
- type: string;
34
- elements: ({
35
- type: string;
36
- label: boolean;
37
- scope: string;
38
- options?: undefined;
39
- elements?: undefined;
40
- } | {
41
- type: string;
42
- scope: string;
43
- label?: undefined;
44
- options?: undefined;
45
- elements?: undefined;
46
- } | {
47
- type: string;
48
- scope: string;
49
- options: {
50
- multi: boolean;
51
- };
52
- label?: undefined;
53
- elements?: undefined;
54
- } | {
55
- type: string;
56
- elements: ({
57
- type: string;
58
- scope: string;
59
- rule?: undefined;
60
- } | {
61
- type: string;
62
- scope: string;
63
- rule: {
64
- effect: string;
65
- condition: {
66
- scope: string;
67
- schema: {
68
- enum: string[];
69
- };
70
- };
71
- };
72
- })[];
73
- label?: undefined;
74
- scope?: undefined;
75
- options?: undefined;
76
- })[];
77
- };
78
- export declare const categoryUiSchema: {
79
- type: string;
80
- elements: ({
81
- type: string;
82
- label: string;
83
- elements: ({
84
- type: string;
85
- label: boolean;
86
- scope: string;
87
- options?: undefined;
88
- } | {
89
- type: string;
90
- scope: string;
91
- label?: undefined;
92
- options?: undefined;
93
- } | {
94
- type: string;
95
- scope: string;
96
- options: {
97
- multi: boolean;
98
- };
99
- label?: undefined;
100
- })[];
101
- } | {
102
- type: string;
103
- label: string;
104
- elements: {
105
- type: string;
106
- elements: ({
107
- type: string;
108
- scope: string;
109
- rule?: undefined;
110
- } | {
111
- type: string;
112
- scope: string;
113
- rule: {
114
- effect: string;
115
- condition: {
116
- scope: string;
117
- schema: {
118
- enum: string[];
119
- };
120
- };
121
- };
122
- })[];
123
- }[];
124
- })[];
125
- };
126
- export declare const data: {
127
- recurrence: string;
128
- recurrenceInterval: number;
129
- rating: number;
130
- name: string;
131
- description: string;
132
- done: boolean;
133
- };
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ recurrence: {
5
+ type: string;
6
+ enum: string[];
7
+ };
8
+ recurrenceInterval: {
9
+ type: string;
10
+ };
11
+ dueDate: {
12
+ type: string;
13
+ format: string;
14
+ };
15
+ rating: {
16
+ type: string;
17
+ maximum: number;
18
+ };
19
+ name: {
20
+ type: string;
21
+ minLength: number;
22
+ };
23
+ description: {
24
+ type: string;
25
+ };
26
+ done: {
27
+ type: string;
28
+ };
29
+ };
30
+ required: string[];
31
+ };
32
+ export declare const uischema: {
33
+ type: string;
34
+ elements: ({
35
+ type: string;
36
+ label: boolean;
37
+ scope: string;
38
+ options?: undefined;
39
+ elements?: undefined;
40
+ } | {
41
+ type: string;
42
+ scope: string;
43
+ label?: undefined;
44
+ options?: undefined;
45
+ elements?: undefined;
46
+ } | {
47
+ type: string;
48
+ scope: string;
49
+ options: {
50
+ multi: boolean;
51
+ };
52
+ label?: undefined;
53
+ elements?: undefined;
54
+ } | {
55
+ type: string;
56
+ elements: ({
57
+ type: string;
58
+ scope: string;
59
+ rule?: undefined;
60
+ } | {
61
+ type: string;
62
+ scope: string;
63
+ rule: {
64
+ effect: string;
65
+ condition: {
66
+ scope: string;
67
+ schema: {
68
+ enum: string[];
69
+ };
70
+ };
71
+ };
72
+ })[];
73
+ label?: undefined;
74
+ scope?: undefined;
75
+ options?: undefined;
76
+ })[];
77
+ };
78
+ export declare const categoryUiSchema: {
79
+ type: string;
80
+ elements: ({
81
+ type: string;
82
+ label: string;
83
+ elements: ({
84
+ type: string;
85
+ label: boolean;
86
+ scope: string;
87
+ options?: undefined;
88
+ } | {
89
+ type: string;
90
+ scope: string;
91
+ label?: undefined;
92
+ options?: undefined;
93
+ } | {
94
+ type: string;
95
+ scope: string;
96
+ options: {
97
+ multi: boolean;
98
+ };
99
+ label?: undefined;
100
+ })[];
101
+ } | {
102
+ type: string;
103
+ label: string;
104
+ elements: {
105
+ type: string;
106
+ elements: ({
107
+ type: string;
108
+ scope: string;
109
+ rule?: undefined;
110
+ } | {
111
+ type: string;
112
+ scope: string;
113
+ rule: {
114
+ effect: string;
115
+ condition: {
116
+ scope: string;
117
+ schema: {
118
+ enum: string[];
119
+ };
120
+ };
121
+ };
122
+ })[];
123
+ }[];
124
+ })[];
125
+ };
126
+ export declare const data: {
127
+ recurrence: string;
128
+ recurrenceInterval: number;
129
+ rating: number;
130
+ name: string;
131
+ description: string;
132
+ done: boolean;
133
+ };
@@ -1,85 +1,85 @@
1
- export declare const schema: {
2
- type: string;
3
- properties: {
4
- recurrence: {
5
- type: string;
6
- enum: string[];
7
- };
8
- recurrenceInterval: {
9
- type: string;
10
- };
11
- dueDate: {
12
- type: string;
13
- format: string;
14
- };
15
- rating: {
16
- type: string;
17
- maximum: number;
18
- };
19
- name: {
20
- type: string;
21
- minLength: number;
22
- };
23
- description: {
24
- type: string;
25
- };
26
- done: {
27
- type: string;
28
- };
29
- };
30
- required: string[];
31
- };
32
- export declare const uischema: {
33
- type: string;
34
- elements: ({
35
- type: string;
36
- label: boolean;
37
- scope: string;
38
- options?: undefined;
39
- elements?: undefined;
40
- } | {
41
- type: string;
42
- scope: string;
43
- label?: undefined;
44
- options?: undefined;
45
- elements?: undefined;
46
- } | {
47
- type: string;
48
- scope: string;
49
- options: {
50
- multi: boolean;
51
- };
52
- label?: undefined;
53
- elements?: undefined;
54
- } | {
55
- type: string;
56
- elements: ({
57
- type: string;
58
- scope: string;
59
- rule?: undefined;
60
- } | {
61
- type: string;
62
- scope: string;
63
- rule: {
64
- effect: string;
65
- condition: {
66
- scope: string;
67
- schema: {
68
- enum: string[];
69
- };
70
- };
71
- };
72
- })[];
73
- label?: undefined;
74
- scope?: undefined;
75
- options?: undefined;
76
- })[];
77
- };
78
- export declare const data: {
79
- recurrence: string;
80
- recurrenceInterval: number;
81
- rating: number;
82
- name: string;
83
- description: string;
84
- done: boolean;
85
- };
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ recurrence: {
5
+ type: string;
6
+ enum: string[];
7
+ };
8
+ recurrenceInterval: {
9
+ type: string;
10
+ };
11
+ dueDate: {
12
+ type: string;
13
+ format: string;
14
+ };
15
+ rating: {
16
+ type: string;
17
+ maximum: number;
18
+ };
19
+ name: {
20
+ type: string;
21
+ minLength: number;
22
+ };
23
+ description: {
24
+ type: string;
25
+ };
26
+ done: {
27
+ type: string;
28
+ };
29
+ };
30
+ required: string[];
31
+ };
32
+ export declare const uischema: {
33
+ type: string;
34
+ elements: ({
35
+ type: string;
36
+ label: boolean;
37
+ scope: string;
38
+ options?: undefined;
39
+ elements?: undefined;
40
+ } | {
41
+ type: string;
42
+ scope: string;
43
+ label?: undefined;
44
+ options?: undefined;
45
+ elements?: undefined;
46
+ } | {
47
+ type: string;
48
+ scope: string;
49
+ options: {
50
+ multi: boolean;
51
+ };
52
+ label?: undefined;
53
+ elements?: undefined;
54
+ } | {
55
+ type: string;
56
+ elements: ({
57
+ type: string;
58
+ scope: string;
59
+ rule?: undefined;
60
+ } | {
61
+ type: string;
62
+ scope: string;
63
+ rule: {
64
+ effect: string;
65
+ condition: {
66
+ scope: string;
67
+ schema: {
68
+ enum: string[];
69
+ };
70
+ };
71
+ };
72
+ })[];
73
+ label?: undefined;
74
+ scope?: undefined;
75
+ options?: undefined;
76
+ })[];
77
+ };
78
+ export declare const data: {
79
+ recurrence: string;
80
+ recurrenceInterval: number;
81
+ rating: number;
82
+ name: string;
83
+ description: string;
84
+ done: boolean;
85
+ };