@jsonforms/examples 3.2.0-alpha.1 → 3.2.0-alpha.3

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.
package/docs/modules.html CHANGED
@@ -71,6 +71,7 @@
71
71
  <li class="tsd-kind-module"><a href="modules/examples_anyOf_oneOf_allOf_resolve.html" class="tsd-kind-icon">examples/any<wbr>Of-<wbr>one<wbr>Of-<wbr>all<wbr>Of-<wbr>resolve</a></li>
72
72
  <li class="tsd-kind-module"><a href="modules/examples_arrays.html" class="tsd-kind-icon">examples/arrays</a></li>
73
73
  <li class="tsd-kind-module"><a href="modules/examples_arrays_with_custom_element_label.html" class="tsd-kind-icon">examples/arrays-<wbr>with-<wbr>custom-<wbr>element-<wbr>label</a></li>
74
+ <li class="tsd-kind-module"><a href="modules/examples_arrays_with_defaults.html" class="tsd-kind-icon">examples/arrays-<wbr>with-<wbr>defaults</a></li>
74
75
  <li class="tsd-kind-module"><a href="modules/examples_arrays_with_detail.html" class="tsd-kind-icon">examples/arrays-<wbr>with-<wbr>detail</a></li>
75
76
  <li class="tsd-kind-module"><a href="modules/examples_arrays_with_detail_and_rule.html" class="tsd-kind-icon">examples/arrays-<wbr>with-<wbr>detail-<wbr>and-<wbr>rule</a></li>
76
77
  <li class="tsd-kind-module"><a href="modules/examples_arrays_with_sorting.html" class="tsd-kind-icon">examples/arrays-<wbr>with-<wbr>sorting</a></li>
@@ -153,6 +154,9 @@
153
154
  <li class=" tsd-kind-module">
154
155
  <a href="modules/examples_arrays_with_custom_element_label.html">examples/arrays-<wbr>with-<wbr>custom-<wbr>element-<wbr>label</a>
155
156
  </li>
157
+ <li class=" tsd-kind-module">
158
+ <a href="modules/examples_arrays_with_defaults.html">examples/arrays-<wbr>with-<wbr>defaults</a>
159
+ </li>
156
160
  <li class=" tsd-kind-module">
157
161
  <a href="modules/examples_arrays_with_detail.html">examples/arrays-<wbr>with-<wbr>detail</a>
158
162
  </li>
@@ -0,0 +1,107 @@
1
+ export declare const schema: {
2
+ definitions: {
3
+ itemsType: {
4
+ type: string;
5
+ properties: {
6
+ name: {
7
+ type: string;
8
+ default: string;
9
+ };
10
+ name_noDefault: {
11
+ type: string;
12
+ };
13
+ description: {
14
+ type: string;
15
+ default: string;
16
+ };
17
+ done: {
18
+ type: string;
19
+ default: boolean;
20
+ };
21
+ rating: {
22
+ type: string;
23
+ default: number;
24
+ };
25
+ cost: {
26
+ type: string;
27
+ default: number;
28
+ };
29
+ date: {
30
+ type: string;
31
+ format: string;
32
+ default: string;
33
+ };
34
+ };
35
+ };
36
+ stringDef: {
37
+ type: string;
38
+ default: string;
39
+ };
40
+ numberDef: {
41
+ type: string;
42
+ default: number;
43
+ };
44
+ intDef: {
45
+ type: string;
46
+ default: number;
47
+ };
48
+ boolDef: {
49
+ type: string;
50
+ default: boolean;
51
+ };
52
+ arrayDef: {
53
+ type: string;
54
+ default: string[];
55
+ };
56
+ };
57
+ type: string;
58
+ properties: {
59
+ objectArray: {
60
+ type: string;
61
+ items: {
62
+ $ref: string;
63
+ };
64
+ };
65
+ stringArray: {
66
+ type: string;
67
+ items: {
68
+ type: string;
69
+ default: string;
70
+ };
71
+ };
72
+ objectArrayWithPropertyRefs: {
73
+ type: string;
74
+ items: {
75
+ type: string;
76
+ properties: {
77
+ string1: {
78
+ $ref: string;
79
+ };
80
+ string2: {
81
+ type: string;
82
+ };
83
+ number: {
84
+ $ref: string;
85
+ };
86
+ int: {
87
+ $ref: string;
88
+ };
89
+ bool: {
90
+ $ref: string;
91
+ };
92
+ array: {
93
+ $ref: string;
94
+ };
95
+ };
96
+ };
97
+ };
98
+ };
99
+ };
100
+ export declare const uischema: {
101
+ type: string;
102
+ elements: {
103
+ type: string;
104
+ scope: string;
105
+ }[];
106
+ };
107
+ export declare const data: {};
package/lib/index.d.ts CHANGED
@@ -11,6 +11,7 @@ import * as arrayWithDetail from './examples/arrays-with-detail';
11
11
  import * as arrayWithDetailAndRule from './examples/arrays-with-detail-and-rule';
12
12
  import * as arrayWithCustomChildLabel from './examples/arrays-with-custom-element-label';
13
13
  import * as arrayWithSorting from './examples/arrays-with-sorting';
14
+ import * as arrayWithDefaults from './examples/arrays-with-defaults';
14
15
  import * as stringArray from './examples/stringArray';
15
16
  import * as categorization from './examples/categorization';
16
17
  import * as stepper from './examples/categorization-stepper';
@@ -49,4 +50,4 @@ import * as additionalErrors from './examples/additional-errors';
49
50
  export * from './register';
50
51
  export * from './example';
51
52
  import * as ifThenElse from './examples/if_then_else';
52
- export { issue_1948, defaultExample, allOf, anyOf, oneOf, oneOfArray, anyOfOneOfAllOfResolve, stringArray, array, arrayI18n, nestedArray, nestedCategorization, arrayWithDetail, arrayWithDetailAndRule, arrayWithCustomChildLabel, arrayWithSorting, categorization, stepper, steppershownav, controlOptions, generateSchema, generateUISchema, layout, person, rule, ruleInheritance, dates, generateDynamic, config, text, numbers, scope, listWithDetail, listWithDetailRegistered, object, i18n, oneOfRecursive, huge, ifThenElse, onChange, enumExample, radioGroupExample, multiEnum, enumInArray, readonly, listWithDetailPrimitives, conditionalSchemaComposition, additionalErrors, issue_1884, };
53
+ export { issue_1948, defaultExample, allOf, anyOf, oneOf, oneOfArray, anyOfOneOfAllOfResolve, stringArray, array, arrayI18n, nestedArray, nestedCategorization, arrayWithDetail, arrayWithDetailAndRule, arrayWithCustomChildLabel, arrayWithSorting, categorization, stepper, steppershownav, controlOptions, generateSchema, generateUISchema, layout, person, rule, ruleInheritance, dates, generateDynamic, config, text, numbers, scope, listWithDetail, listWithDetailRegistered, object, i18n, oneOfRecursive, huge, ifThenElse, onChange, enumExample, radioGroupExample, multiEnum, enumInArray, readonly, listWithDetailPrimitives, conditionalSchemaComposition, additionalErrors, issue_1884, arrayWithDefaults, };