@jsonforms/examples 3.1.0 → 3.2.0-alpha.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/docs/assets/css/main.css +2660 -1
- package/docs/assets/js/main.js +248 -51
- package/docs/assets/js/search.js +1 -0
- package/docs/index.html +121 -108
- package/docs/interfaces/{exampledescription.html → example.ExampleDescription.html} +49 -36
- package/docs/interfaces/{stateprops.html → example.StateProps.html} +42 -29
- package/docs/modules/example.html +125 -0
- package/docs/modules/examples_1884.html +336 -0
- package/docs/modules/examples_1948.html +252 -0
- package/docs/modules/examples_additional_errors.html +148 -0
- package/docs/modules/examples_allOf.html +236 -0
- package/docs/modules/examples_anyOf.html +316 -0
- package/docs/modules/examples_anyOf_oneOf_allOf_resolve.html +217 -0
- package/docs/modules/examples_arrays.html +292 -0
- package/docs/modules/examples_arraysI18n.html +370 -0
- package/docs/modules/examples_arrays_with_custom_element_label.html +234 -0
- package/docs/modules/examples_arrays_with_detail.html +301 -0
- package/docs/modules/examples_arrays_with_detail_and_rule.html +309 -0
- package/docs/modules/examples_arrays_with_sorting.html +287 -0
- package/docs/modules/examples_categorization.html +467 -0
- package/docs/modules/examples_categorization_stepper.html +362 -0
- package/docs/modules/examples_categorization_stepper_nav_buttons.html +365 -0
- package/docs/modules/examples_conditional_schema_compositions.html +200 -0
- package/docs/modules/examples_config.html +222 -0
- package/docs/modules/examples_control_options.html +472 -0
- package/docs/modules/examples_dates.html +320 -0
- package/docs/modules/examples_default.html +292 -0
- package/docs/modules/examples_enum.html +277 -0
- package/docs/modules/examples_enumInArray.html +216 -0
- package/docs/modules/examples_enum_multi.html +238 -0
- package/docs/modules/examples_generate.html +187 -0
- package/docs/modules/examples_generateUI.html +247 -0
- package/docs/modules/examples_generate_dynamic.html +134 -0
- package/docs/modules/examples_huge.html +134 -0
- package/docs/modules/examples_i18n.html +357 -0
- package/docs/modules/examples_if_then_else.html +225 -0
- package/docs/modules/examples_layout.html +410 -0
- package/docs/modules/examples_list_with_detail.html +405 -0
- package/docs/modules/examples_list_with_detail_primitives.html +300 -0
- package/docs/modules/examples_list_with_detail_registered.html +290 -0
- package/docs/modules/examples_nestedArrays.html +145 -0
- package/docs/modules/examples_nestedCategorization.html +278 -0
- package/docs/modules/examples_numbers.html +224 -0
- package/docs/modules/examples_object.html +272 -0
- package/docs/modules/examples_onChange.html +276 -0
- package/docs/modules/examples_oneOf.html +277 -0
- package/docs/modules/examples_oneOfArray.html +276 -0
- package/docs/modules/examples_oneOf_recursive.html +271 -0
- package/docs/modules/examples_person.html +403 -0
- package/docs/modules/examples_radioGroup.html +213 -0
- package/docs/modules/examples_readonly.html +227 -0
- package/docs/modules/examples_rule.html +246 -0
- package/docs/modules/examples_ruleInheritance.html +229 -0
- package/docs/modules/examples_scope.html +280 -0
- package/docs/modules/examples_stringArray.html +213 -0
- package/docs/modules/examples_text.html +233 -0
- package/docs/modules/index.html +597 -0
- package/docs/modules/register.html +168 -0
- package/docs/modules.html +314 -0
- package/lib/examples/arrays-with-detail.d.ts +3 -0
- package/lib/examples/arrays-with-sorting.d.ts +4 -0
- package/lib/jsonforms-examples.cjs.js +13 -1
- package/lib/jsonforms-examples.cjs.js.map +1 -1
- package/lib/jsonforms-examples.esm.js +7 -0
- package/lib/jsonforms-examples.esm.js.map +1 -1
- package/package.json +11 -9
- package/src/examples/arrays-with-detail.ts +3 -0
- package/src/examples/arrays-with-sorting.ts +4 -0
- package/stats.html +90 -1429
- package/docs/assets/js/search.json +0 -1
- package/docs/globals.html +0 -14138
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsonforms/examples",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0-alpha.0",
|
|
4
4
|
"description": "JSON Forms Example Data",
|
|
5
5
|
"repository": "https://github.com/eclipsesource/jsonforms",
|
|
6
6
|
"bugs": "https://github.com/eclipsesource/jsonforms/issues",
|
|
@@ -40,16 +40,18 @@
|
|
|
40
40
|
"lint": "eslint .",
|
|
41
41
|
"lint:fix": "eslint --fix .",
|
|
42
42
|
"test": "echo 'Nothing to do for `examples` package'",
|
|
43
|
-
"doc": "typedoc --name 'JSON Forms Examples' --
|
|
43
|
+
"doc": "typedoc --name 'JSON Forms Examples' --excludeExternals --theme ../../typedoc-jsonforms --out docs src"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"ajv-i18n": "^3.5.0"
|
|
46
|
+
"ajv-i18n": "^3.5.0",
|
|
47
|
+
"lodash": "^4.17.21"
|
|
47
48
|
},
|
|
48
49
|
"peerDependencies": {
|
|
49
|
-
"@jsonforms/core": "3.1.
|
|
50
|
+
"@jsonforms/core": "3.1.1-alpha.1"
|
|
50
51
|
},
|
|
51
52
|
"devDependencies": {
|
|
52
|
-
"@jsonforms/core": "
|
|
53
|
+
"@jsonforms/core": "3.2.0-alpha.0",
|
|
54
|
+
"@types/node": "^16.18.34",
|
|
53
55
|
"@typescript-eslint/eslint-plugin": "^5.54.1",
|
|
54
56
|
"@typescript-eslint/parser": "^5.54.1",
|
|
55
57
|
"eslint": "^7.32.0",
|
|
@@ -60,11 +62,11 @@
|
|
|
60
62
|
"rimraf": "^3.0.2",
|
|
61
63
|
"rollup": "^2.78.0",
|
|
62
64
|
"rollup-plugin-cleanup": "^3.2.1",
|
|
63
|
-
"rollup-plugin-typescript2": "^0.
|
|
65
|
+
"rollup-plugin-typescript2": "^0.34.1",
|
|
64
66
|
"rollup-plugin-visualizer": "^5.4.1",
|
|
65
|
-
"tslib": "^2.
|
|
66
|
-
"typedoc": "
|
|
67
|
+
"tslib": "^2.5.0",
|
|
68
|
+
"typedoc": "~0.21.9",
|
|
67
69
|
"typescript": "4.2.3"
|
|
68
70
|
},
|
|
69
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "9146b0fdf5913d2251fadd5435d2c7e813db6f71"
|
|
70
72
|
}
|
|
@@ -32,6 +32,8 @@ export const schema = {
|
|
|
32
32
|
occupation: { type: 'string' },
|
|
33
33
|
comments: {
|
|
34
34
|
type: 'array',
|
|
35
|
+
minItems: 2,
|
|
36
|
+
maxItems: 8,
|
|
35
37
|
items: {
|
|
36
38
|
type: 'object',
|
|
37
39
|
properties: {
|
|
@@ -58,6 +60,7 @@ export const uischema = {
|
|
|
58
60
|
scope: '#/properties/comments',
|
|
59
61
|
options: {
|
|
60
62
|
showSortButtons: true,
|
|
63
|
+
restrict: true,
|
|
61
64
|
detail: {
|
|
62
65
|
type: 'VerticalLayout',
|
|
63
66
|
elements: [
|
|
@@ -30,6 +30,8 @@ export const schema = {
|
|
|
30
30
|
properties: {
|
|
31
31
|
comments: {
|
|
32
32
|
type: 'array',
|
|
33
|
+
minItems: 2,
|
|
34
|
+
maxItems: 8,
|
|
33
35
|
items: {
|
|
34
36
|
type: 'object',
|
|
35
37
|
properties: {
|
|
@@ -64,6 +66,7 @@ export const uischema = {
|
|
|
64
66
|
scope: '#/properties/comments',
|
|
65
67
|
options: {
|
|
66
68
|
showSortButtons: true,
|
|
69
|
+
restrict: true,
|
|
67
70
|
},
|
|
68
71
|
},
|
|
69
72
|
],
|
|
@@ -81,6 +84,7 @@ export const uischemaWithSorting = {
|
|
|
81
84
|
scope: '#/properties/comments',
|
|
82
85
|
options: {
|
|
83
86
|
showSortButtons: true,
|
|
87
|
+
restrict: true,
|
|
84
88
|
},
|
|
85
89
|
},
|
|
86
90
|
],
|