@jsonforms/examples 3.0.0 → 3.1.0-alpha.1
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/README.md +1 -1
- package/docs/assets/js/search.json +1 -1
- package/docs/globals.html +134 -96
- package/docs/index.html +1 -1
- package/lib/examples/arrays-with-sorting.d.ts +62 -0
- package/lib/examples/arrays.d.ts +9 -2
- package/lib/examples/control-options.d.ts +1 -0
- package/lib/index.d.ts +2 -1
- package/lib/jsonforms-examples.cjs.js +219 -108
- package/lib/jsonforms-examples.cjs.js.map +1 -1
- package/lib/jsonforms-examples.esm.js +224 -108
- package/lib/jsonforms-examples.esm.js.map +1 -1
- package/package.json +5 -5
- package/src/examples/arrays-with-sorting.ts +135 -0
- package/src/examples/arrays.ts +5 -2
- package/src/examples/control-options.ts +2 -1
- package/src/index.ts +2 -0
- package/stats.html +1381 -616
package/docs/index.html
CHANGED
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
<h2>Examples Package</h2>
|
|
72
72
|
</a>
|
|
73
73
|
<p>This is the examples package which demonstrates how to integrate JSON Forms with your application.</p>
|
|
74
|
-
<p>You can use the examples with any renderer set you want, for example the <a href="https://github.com/eclipsesource/jsonforms/tree/master/packages/material">Material Renderers</a> or the <a href="https://github.com/eclipsesource/jsonforms/tree/master/packages/angular-material">Angular Renderers</a>.</p>
|
|
74
|
+
<p>You can use the examples with any renderer set you want, for example the <a href="https://github.com/eclipsesource/jsonforms/tree/master/packages/material-renderers">Material Renderers</a> or the <a href="https://github.com/eclipsesource/jsonforms/tree/master/packages/angular-material">Angular Renderers</a>.</p>
|
|
75
75
|
<p>Check <a href="https://www.npmjs.com/search?q=%40jsonforms">https://www.npmjs.com/search?q=%40jsonforms</a> for all published JSON Forms packages.</p>
|
|
76
76
|
<a href="#license" id="license" style="color: inherit; text-decoration: none;">
|
|
77
77
|
<h2>License</h2>
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
comments: {
|
|
5
|
+
type: string;
|
|
6
|
+
items: {
|
|
7
|
+
type: string;
|
|
8
|
+
properties: {
|
|
9
|
+
date: {
|
|
10
|
+
type: string;
|
|
11
|
+
format: string;
|
|
12
|
+
};
|
|
13
|
+
message: {
|
|
14
|
+
type: string;
|
|
15
|
+
maxLength: number;
|
|
16
|
+
};
|
|
17
|
+
enum: {
|
|
18
|
+
type: string;
|
|
19
|
+
const: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
foo: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export declare const uischema: {
|
|
30
|
+
type: string;
|
|
31
|
+
elements: ({
|
|
32
|
+
type: string;
|
|
33
|
+
scope: string;
|
|
34
|
+
options?: undefined;
|
|
35
|
+
} | {
|
|
36
|
+
type: string;
|
|
37
|
+
scope: string;
|
|
38
|
+
options: {
|
|
39
|
+
showSortButtons: boolean;
|
|
40
|
+
};
|
|
41
|
+
})[];
|
|
42
|
+
};
|
|
43
|
+
export declare const uischemaWithSorting: {
|
|
44
|
+
type: string;
|
|
45
|
+
elements: ({
|
|
46
|
+
type: string;
|
|
47
|
+
scope: string;
|
|
48
|
+
options?: undefined;
|
|
49
|
+
} | {
|
|
50
|
+
type: string;
|
|
51
|
+
scope: string;
|
|
52
|
+
options: {
|
|
53
|
+
showSortButtons: boolean;
|
|
54
|
+
};
|
|
55
|
+
})[];
|
|
56
|
+
};
|
|
57
|
+
export declare const data: {
|
|
58
|
+
comments: {
|
|
59
|
+
date: string;
|
|
60
|
+
message: string;
|
|
61
|
+
}[];
|
|
62
|
+
};
|
package/lib/examples/arrays.d.ts
CHANGED
|
@@ -28,10 +28,17 @@ export declare const schema: {
|
|
|
28
28
|
};
|
|
29
29
|
export declare const uischema: {
|
|
30
30
|
type: string;
|
|
31
|
-
elements: {
|
|
31
|
+
elements: ({
|
|
32
32
|
type: string;
|
|
33
33
|
scope: string;
|
|
34
|
-
|
|
34
|
+
options?: undefined;
|
|
35
|
+
} | {
|
|
36
|
+
type: string;
|
|
37
|
+
scope: string;
|
|
38
|
+
options: {
|
|
39
|
+
showSortButtons: boolean;
|
|
40
|
+
};
|
|
41
|
+
})[];
|
|
35
42
|
};
|
|
36
43
|
export declare const uischemaWithSorting: {
|
|
37
44
|
type: string;
|
package/lib/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import * as nestedArray from './examples/nestedArrays';
|
|
|
8
8
|
import * as arrayWithDetail from './examples/arrays-with-detail';
|
|
9
9
|
import * as arrayWithDetailAndRule from './examples/arrays-with-detail-and-rule';
|
|
10
10
|
import * as arrayWithCustomChildLabel from './examples/arrays-with-custom-element-label';
|
|
11
|
+
import * as arrayWithSorting from './examples/arrays-with-sorting';
|
|
11
12
|
import * as stringArray from './examples/stringArray';
|
|
12
13
|
import * as categorization from './examples/categorization';
|
|
13
14
|
import * as stepper from './examples/stepper';
|
|
@@ -59,4 +60,4 @@ import * as additionalErrors from './examples/additional-errors';
|
|
|
59
60
|
export * from './register';
|
|
60
61
|
export * from './example';
|
|
61
62
|
import * as ifThenElse from './examples/if_then_else';
|
|
62
|
-
export { issue_1948, issue_1996, 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, issue_1884, };
|
|
63
|
+
export { issue_1948, issue_1996, defaultExample, allOf, anyOf, oneOf, oneOfArray, anyOfOneOfAllOfResolve, stringArray, array, nestedArray, arrayWithDetail, arrayWithDetailAndRule, arrayWithCustomChildLabel, arrayWithSorting, 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, issue_1884, };
|