@jsonforms/examples 3.0.0-beta.0 → 3.0.0-beta.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/index.html CHANGED
@@ -110,6 +110,9 @@
110
110
  <li class=" tsd-kind-variable">
111
111
  <a href="globals.html#actions" class="tsd-kind-icon">actions</a>
112
112
  </li>
113
+ <li class=" tsd-kind-variable">
114
+ <a href="globals.html#additionalerrors" class="tsd-kind-icon">additional<wbr>Errors</a>
115
+ </li>
113
116
  <li class=" tsd-kind-variable">
114
117
  <a href="globals.html#knownexamples" class="tsd-kind-icon">known<wbr>Examples</a>
115
118
  </li>
@@ -0,0 +1 @@
1
+ export {};
@@ -35,13 +35,17 @@ export declare const uischema: {
35
35
  };
36
36
  export declare const uischemaWithSorting: {
37
37
  type: string;
38
- elements: {
38
+ elements: ({
39
+ type: string;
40
+ scope: string;
41
+ options?: undefined;
42
+ } | {
39
43
  type: string;
40
44
  scope: string;
41
45
  options: {
42
46
  showSortButtons: boolean;
43
47
  };
44
- }[];
48
+ })[];
45
49
  };
46
50
  export declare const data: {
47
51
  comments: {
@@ -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
+ };
@@ -41,6 +41,7 @@ export declare const uischemaNonRoot: {
41
41
  type: string;
42
42
  scope: string;
43
43
  rule?: undefined;
44
+ options?: undefined;
44
45
  } | {
45
46
  type: string;
46
47
  scope: string;
@@ -52,5 +53,15 @@ export declare const uischemaNonRoot: {
52
53
  expectedValue: string;
53
54
  };
54
55
  };
56
+ options: {
57
+ detail: {
58
+ type: string;
59
+ label: string;
60
+ elements: {
61
+ type: string;
62
+ scope: string;
63
+ }[];
64
+ };
65
+ };
55
66
  })[];
56
67
  };
package/lib/index.d.ts CHANGED
@@ -27,7 +27,6 @@ import * as layout from './examples/layout';
27
27
  import * as person from './examples/person';
28
28
  import * as rule from './examples/rule';
29
29
  import * as ruleInheritance from './examples/ruleInheritance';
30
- import * as resolve from './examples/resolve';
31
30
  import * as config from './examples/config';
32
31
  import * as text from './examples/text';
33
32
  import * as numbers from './examples/numbers';
@@ -52,7 +51,9 @@ import * as enumInArray from './examples/enumInArray';
52
51
  import * as readonly from './examples/readonly';
53
52
  import * as bug_1779 from './examples/1779';
54
53
  import * as bug_1645 from './examples/1645';
54
+ import * as conditionalSchemaComposition from './examples/conditional-schema-compositions';
55
+ import * as additionalErrors from './examples/additional-errors';
55
56
  export * from './register';
56
57
  export * from './example';
57
58
  import * as ifThenElse from './examples/if_then_else';
58
- export { defaultExample, allOf, anyOf, oneOf, oneOfArray, anyOfOneOfAllOfResolve, stringArray, array, nestedArray, arrayWithDetail, arrayWithDetailAndRule, arrayWithCustomChildLabel, categorization, stepper, steppershownav, controlOptions, day1, day2, day3, day4, day5, day6, generateSchema, generateUISchema, layout, person, rule, ruleInheritance, dates, dynamic, resolve, config, text, numbers, scope, listWithDetail, listWithDetailRegistered, object, i18n, issue_1169, issue_1220, issue_1253, issue_1254, oneOfRecursive, huge, ifThenElse, onChange, enumExample, radioGroupExample, booleanToggle, multiEnum, enumInArray, readonly, bug_1779, bug_1645 };
59
+ export { defaultExample, allOf, anyOf, oneOf, oneOfArray, anyOfOneOfAllOfResolve, stringArray, array, nestedArray, arrayWithDetail, arrayWithDetailAndRule, arrayWithCustomChildLabel, categorization, stepper, steppershownav, controlOptions, day1, day2, day3, day4, day5, day6, generateSchema, generateUISchema, layout, person, rule, ruleInheritance, dates, dynamic, config, text, numbers, scope, listWithDetail, listWithDetailRegistered, object, i18n, issue_1169, issue_1220, issue_1253, issue_1254, oneOfRecursive, huge, ifThenElse, onChange, enumExample, radioGroupExample, booleanToggle, multiEnum, enumInArray, readonly, bug_1779, bug_1645, conditionalSchemaComposition, additionalErrors };