@jsonforms/examples 3.4.0-alpha.2 → 3.4.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.
package/lib/example.d.ts CHANGED
@@ -12,6 +12,7 @@ export interface ExampleDescription {
12
12
  apply: (props: StateProps) => any;
13
13
  }[];
14
14
  i18n?: JsonFormsI18nState;
15
+ readonly?: boolean;
15
16
  }
16
17
  export interface StateProps {
17
18
  data: any;
@@ -21,4 +22,5 @@ export interface StateProps {
21
22
  cells?: JsonFormsCellRendererRegistryEntry[];
22
23
  config?: any;
23
24
  uischemas?: JsonFormsUISchemaRegistryEntry[];
25
+ readonly?: boolean;
24
26
  }
@@ -12,5 +12,6 @@ export declare const actions: {
12
12
  cells?: import("@jsonforms/core").JsonFormsCellRendererRegistryEntry[];
13
13
  config?: any;
14
14
  uischemas?: import("@jsonforms/core").JsonFormsUISchemaRegistryEntry[];
15
+ readonly?: boolean;
15
16
  };
16
17
  }[];
@@ -0,0 +1,78 @@
1
+ export declare const schema: {
2
+ $schema: string;
3
+ type: string;
4
+ properties: {
5
+ propertiesString: {
6
+ type: string;
7
+ };
8
+ };
9
+ propertyNames: {
10
+ minLength: number;
11
+ };
12
+ patternProperties: {
13
+ '^string$': {
14
+ type: string;
15
+ };
16
+ '^number$': {
17
+ type: string;
18
+ };
19
+ '^integer$': {
20
+ type: string;
21
+ };
22
+ '^object$': {
23
+ type: string;
24
+ properties: {
25
+ prop1: {
26
+ type: string;
27
+ };
28
+ };
29
+ };
30
+ '^boolean$': {
31
+ type: string;
32
+ };
33
+ '^stringArray$': {
34
+ type: string;
35
+ items: {
36
+ type: string;
37
+ };
38
+ };
39
+ '^numberArray$': {
40
+ type: string;
41
+ items: {
42
+ type: string;
43
+ };
44
+ };
45
+ '^integerArray$': {
46
+ type: string;
47
+ items: {
48
+ type: string;
49
+ };
50
+ };
51
+ '^objectArray$': {
52
+ type: string;
53
+ items: {
54
+ type: string;
55
+ properties: {
56
+ prop1: {
57
+ type: string;
58
+ };
59
+ };
60
+ };
61
+ };
62
+ '^booleanArray$': {
63
+ type: string;
64
+ items: {
65
+ type: string;
66
+ };
67
+ };
68
+ };
69
+ additionalProperties: {
70
+ type: string;
71
+ title: string;
72
+ };
73
+ maxProperties: number;
74
+ };
75
+ export declare const uischema: {
76
+ type: string;
77
+ scope: string;
78
+ };
@@ -11,5 +11,6 @@ export declare const actions: {
11
11
  cells?: import("@jsonforms/core").JsonFormsCellRendererRegistryEntry[];
12
12
  config?: any;
13
13
  uischemas?: import("@jsonforms/core").JsonFormsUISchemaRegistryEntry[];
14
+ readonly?: boolean;
14
15
  };
15
16
  }[];
@@ -0,0 +1,30 @@
1
+ export declare const schema: {
2
+ type: string;
3
+ properties: {
4
+ username: {
5
+ type: string;
6
+ description: string;
7
+ };
8
+ password: {
9
+ type: string;
10
+ format: string;
11
+ description: string;
12
+ };
13
+ };
14
+ required: string[];
15
+ };
16
+ export declare const uischema: {
17
+ type: string;
18
+ elements: ({
19
+ type: string;
20
+ text: string;
21
+ elements?: undefined;
22
+ } | {
23
+ type: string;
24
+ elements: {
25
+ type: string;
26
+ scope: string;
27
+ }[];
28
+ text?: undefined;
29
+ })[];
30
+ };
@@ -79,11 +79,13 @@ export declare const uischema: {
79
79
  elements: ({
80
80
  type: string;
81
81
  scope: string;
82
- suggestion?: undefined;
82
+ options?: undefined;
83
83
  } | {
84
84
  type: string;
85
85
  scope: string;
86
- suggestion: string[];
86
+ options: {
87
+ suggestion: string[];
88
+ };
87
89
  })[];
88
90
  text?: undefined;
89
91
  })[];
@@ -0,0 +1,10 @@
1
+ export declare const schema: {
2
+ type: string;
3
+ title: string;
4
+ description: string;
5
+ };
6
+ export declare const uischema: {
7
+ type: string;
8
+ scope: string;
9
+ };
10
+ export declare const data = "This is a test string";
package/lib/index.d.ts CHANGED
@@ -49,7 +49,10 @@ import * as listWithDetailPrimitives from './examples/list-with-detail-primitive
49
49
  import * as conditionalSchemaComposition from './examples/conditional-schema-compositions';
50
50
  import * as additionalErrors from './examples/additional-errors';
51
51
  import * as multiEnumWithLabelAndDesc from './examples/enum-multi-with-label-and-desc';
52
+ import * as additionalProperties from './examples/additional-properties';
53
+ import * as login from './examples/login';
54
+ import * as string from './examples/string';
52
55
  export * from './register';
53
56
  export * from './example';
54
57
  import * as ifThenElse from './examples/if_then_else';
55
- export { issue_1948, defaultExample, allOf, anyOf, oneOf, oneOfArray, anyOfOneOfAllOfResolve, stringArray, array, arrayI18n, nestedArray, nestedCategorization, arrayWithDetail, arrayWithDetailAndRule, arrayWithCustomChildLabel, arrayWithSorting, arrayWithTranslatedCustomChildLabel, 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, multiEnumWithLabelAndDesc, enumInArray, readonly, listWithDetailPrimitives, conditionalSchemaComposition, additionalErrors, issue_1884, arrayWithDefaults, };
58
+ export { issue_1948, defaultExample, allOf, anyOf, oneOf, oneOfArray, anyOfOneOfAllOfResolve, stringArray, array, arrayI18n, nestedArray, nestedCategorization, arrayWithDetail, arrayWithDetailAndRule, arrayWithCustomChildLabel, arrayWithSorting, arrayWithTranslatedCustomChildLabel, 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, multiEnumWithLabelAndDesc, enumInArray, readonly, listWithDetailPrimitives, conditionalSchemaComposition, additionalErrors, additionalProperties, login, issue_1884, arrayWithDefaults, string, };