@jsonforms/examples 3.1.0-alpha.0 → 3.1.0-alpha.2
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/.eslintrc.js +29 -0
- package/.prettierrc.js +6 -0
- package/README.md +2 -2
- package/docs/assets/js/search.json +1 -1
- package/docs/globals.html +2011 -3265
- package/docs/index.html +1 -31
- package/lib/examples/1884.d.ts +8 -0
- package/lib/examples/additional-errors.d.ts +16 -1
- package/lib/examples/anyOf.d.ts +15 -2
- package/lib/examples/arraysI18n.d.ts +52 -0
- package/lib/examples/control-options.d.ts +1 -0
- package/lib/examples/dates.d.ts +115 -1
- package/lib/examples/enum.d.ts +3 -0
- package/lib/examples/generate-dynamic.d.ts +15 -0
- package/lib/examples/list-with-detail-primitives.d.ts +36 -0
- package/lib/examples/list-with-detail-registered.d.ts +55 -1
- package/lib/examples/list-with-detail.d.ts +191 -1
- package/lib/examples/nestedCategorization.d.ts +57 -0
- package/lib/examples/radioGroup.d.ts +42 -1
- package/lib/index.d.ts +8 -19
- package/lib/jsonforms-examples.cjs.js +2280 -2873
- package/lib/jsonforms-examples.cjs.js.map +1 -1
- package/lib/jsonforms-examples.esm.js +2272 -2882
- package/lib/jsonforms-examples.esm.js.map +1 -1
- package/package.json +14 -7
- package/rollup.config.js +12 -12
- package/src/example.ts +3 -3
- package/src/examples/1884.ts +52 -48
- package/src/examples/1948.ts +19 -19
- package/src/examples/additional-errors.ts +28 -25
- package/src/examples/allOf.ts +18 -18
- package/src/examples/anyOf-oneOf-allOf-resolve.ts +21 -21
- package/src/examples/anyOf.ts +42 -24
- package/src/examples/arrays-with-custom-element-label.ts +21 -21
- package/src/examples/arrays-with-detail-and-rule.ts +28 -28
- package/src/examples/arrays-with-detail.ts +21 -21
- package/src/examples/arrays-with-sorting.ts +35 -35
- package/src/examples/arrays.ts +35 -35
- package/src/examples/arraysI18n.ts +107 -0
- package/src/examples/{steppershownav.ts → categorization-stepper-nav-buttons.ts} +6 -6
- package/src/examples/{stepper.ts → categorization-stepper.ts} +5 -5
- package/src/examples/categorization.ts +119 -119
- package/src/examples/conditional-schema-compositions.ts +20 -20
- package/src/examples/config.ts +15 -15
- package/src/examples/control-options.ts +81 -81
- package/src/examples/dates.ts +34 -34
- package/src/examples/default.ts +22 -22
- package/src/examples/{multi-enum.ts → enum-multi.ts} +14 -14
- package/src/examples/enum.ts +40 -33
- package/src/examples/enumInArray.ts +10 -10
- package/src/examples/{dynamic.ts → generate-dynamic.ts} +10 -10
- package/src/examples/generate.ts +2 -2
- package/src/examples/generateUI.ts +2 -2
- package/src/examples/huge.ts +381 -377
- package/src/examples/i18n.ts +37 -28
- package/src/examples/if_then_else.ts +4 -4
- package/src/examples/layout.ts +29 -29
- package/src/examples/{booleanToggle.ts → list-with-detail-primitives.ts} +46 -33
- package/src/examples/list-with-detail-registered.ts +26 -26
- package/src/examples/list-with-detail.ts +82 -82
- package/src/examples/nestedArrays.ts +40 -35
- package/src/examples/nestedCategorization.ts +175 -0
- package/src/examples/numbers.ts +17 -17
- package/src/examples/object.ts +24 -24
- package/src/examples/onChange.ts +28 -22
- package/src/examples/oneOf-recursive.ts +15 -15
- package/src/examples/oneOf.ts +99 -96
- package/src/examples/oneOfArray.ts +20 -20
- package/src/examples/person.ts +35 -35
- package/src/examples/radioGroup.ts +52 -53
- package/src/examples/readonly.ts +14 -14
- package/src/examples/rule.ts +26 -26
- package/src/examples/ruleInheritance.ts +37 -34
- package/src/examples/scope.ts +26 -26
- package/src/examples/stringArray.ts +10 -10
- package/src/examples/text.ts +19 -19
- package/src/index.ts +11 -33
- package/src/register.ts +6 -3
- package/stats.html +4949 -2051
- package/tsconfig.json +2 -6
- package/lib/examples/1169.d.ts +0 -24
- package/lib/examples/1220.d.ts +0 -4
- package/lib/examples/1253.d.ts +0 -16
- package/lib/examples/1254.d.ts +0 -21
- package/lib/examples/1645.d.ts +0 -68
- package/lib/examples/1779.d.ts +0 -1
- package/lib/examples/1996.d.ts +0 -31
- package/lib/examples/booleanToggle.d.ts +0 -62
- package/lib/examples/day1.d.ts +0 -23
- package/lib/examples/day2.d.ts +0 -42
- package/lib/examples/day3.d.ts +0 -51
- package/lib/examples/day4.d.ts +0 -72
- package/lib/examples/day5.d.ts +0 -133
- package/lib/examples/day6.d.ts +0 -85
- package/lib/examples/dynamic.d.ts +0 -1
- package/src/examples/1169.ts +0 -62
- package/src/examples/1220.ts +0 -146
- package/src/examples/1253.ts +0 -212
- package/src/examples/1254.ts +0 -67
- package/src/examples/1645.ts +0 -66
- package/src/examples/1779.ts +0 -83
- package/src/examples/1996.ts +0 -102
- package/src/examples/day1.ts +0 -61
- package/src/examples/day2.ts +0 -62
- package/src/examples/day3.ts +0 -76
- package/src/examples/day4.ts +0 -83
- package/src/examples/day5.ts +0 -169
- package/src/examples/day6.ts +0 -44
- /package/lib/examples/{steppershownav.d.ts → categorization-stepper-nav-buttons.d.ts} +0 -0
- /package/lib/examples/{stepper.d.ts → categorization-stepper.d.ts} +0 -0
- /package/lib/examples/{multi-enum.d.ts → enum-multi.d.ts} +0 -0
|
@@ -1 +1,42 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export declare const data: {};
|
|
2
|
+
export declare const schema: {
|
|
3
|
+
type: string;
|
|
4
|
+
properties: {
|
|
5
|
+
exampleRadioEnum: {
|
|
6
|
+
type: string;
|
|
7
|
+
enum: string[];
|
|
8
|
+
};
|
|
9
|
+
exampleRadioOneOfEnum: {
|
|
10
|
+
type: string;
|
|
11
|
+
oneOf: {
|
|
12
|
+
const: string;
|
|
13
|
+
title: string;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const uischema: {
|
|
19
|
+
type: string;
|
|
20
|
+
elements: ({
|
|
21
|
+
type: string;
|
|
22
|
+
label: string;
|
|
23
|
+
elements: {
|
|
24
|
+
type: string;
|
|
25
|
+
scope: string;
|
|
26
|
+
options: {
|
|
27
|
+
format: string;
|
|
28
|
+
orientation: string;
|
|
29
|
+
};
|
|
30
|
+
}[];
|
|
31
|
+
} | {
|
|
32
|
+
type: string;
|
|
33
|
+
label: string;
|
|
34
|
+
elements: {
|
|
35
|
+
type: string;
|
|
36
|
+
scope: string;
|
|
37
|
+
options: {
|
|
38
|
+
format: string;
|
|
39
|
+
};
|
|
40
|
+
}[];
|
|
41
|
+
})[];
|
|
42
|
+
};
|
package/lib/index.d.ts
CHANGED
|
@@ -4,24 +4,20 @@ import * as oneOf from './examples/oneOf';
|
|
|
4
4
|
import * as oneOfArray from './examples/oneOfArray';
|
|
5
5
|
import * as anyOfOneOfAllOfResolve from './examples/anyOf-oneOf-allOf-resolve';
|
|
6
6
|
import * as array from './examples/arrays';
|
|
7
|
+
import * as arrayI18n from './examples/arraysI18n';
|
|
7
8
|
import * as nestedArray from './examples/nestedArrays';
|
|
9
|
+
import * as nestedCategorization from './examples/nestedCategorization';
|
|
8
10
|
import * as arrayWithDetail from './examples/arrays-with-detail';
|
|
9
11
|
import * as arrayWithDetailAndRule from './examples/arrays-with-detail-and-rule';
|
|
10
12
|
import * as arrayWithCustomChildLabel from './examples/arrays-with-custom-element-label';
|
|
11
13
|
import * as arrayWithSorting from './examples/arrays-with-sorting';
|
|
12
14
|
import * as stringArray from './examples/stringArray';
|
|
13
15
|
import * as categorization from './examples/categorization';
|
|
14
|
-
import * as stepper from './examples/stepper';
|
|
15
|
-
import * as steppershownav from './examples/
|
|
16
|
+
import * as stepper from './examples/categorization-stepper';
|
|
17
|
+
import * as steppershownav from './examples/categorization-stepper-nav-buttons';
|
|
16
18
|
import * as controlOptions from './examples/control-options';
|
|
17
|
-
import * as day1 from './examples/day1';
|
|
18
|
-
import * as day2 from './examples/day2';
|
|
19
|
-
import * as day3 from './examples/day3';
|
|
20
|
-
import * as day4 from './examples/day4';
|
|
21
|
-
import * as day5 from './examples/day5';
|
|
22
|
-
import * as day6 from './examples/day6';
|
|
23
19
|
import * as dates from './examples/dates';
|
|
24
|
-
import * as
|
|
20
|
+
import * as generateDynamic from './examples/generate-dynamic';
|
|
25
21
|
import * as generateSchema from './examples/generate';
|
|
26
22
|
import * as generateUISchema from './examples/generateUI';
|
|
27
23
|
import * as layout from './examples/layout';
|
|
@@ -38,26 +34,19 @@ import * as listWithDetailRegistered from './examples/list-with-detail-registere
|
|
|
38
34
|
import * as object from './examples/object';
|
|
39
35
|
import * as i18n from './examples/i18n';
|
|
40
36
|
import * as issue_1948 from './examples/1948';
|
|
41
|
-
import * as issue_1996 from './examples/1996';
|
|
42
|
-
import * as issue_1169 from './examples/1169';
|
|
43
|
-
import * as issue_1220 from './examples/1220';
|
|
44
|
-
import * as issue_1253 from './examples/1253';
|
|
45
|
-
import * as issue_1254 from './examples/1254';
|
|
46
37
|
import * as oneOfRecursive from './examples/oneOf-recursive';
|
|
47
38
|
import * as huge from './examples/huge';
|
|
48
39
|
import * as defaultExample from './examples/default';
|
|
49
40
|
import * as onChange from './examples/onChange';
|
|
50
41
|
import * as enumExample from './examples/enum';
|
|
51
42
|
import * as radioGroupExample from './examples/radioGroup';
|
|
52
|
-
import * as
|
|
53
|
-
import * as multiEnum from './examples/multi-enum';
|
|
43
|
+
import * as multiEnum from './examples/enum-multi';
|
|
54
44
|
import * as enumInArray from './examples/enumInArray';
|
|
55
45
|
import * as readonly from './examples/readonly';
|
|
56
|
-
import * as
|
|
57
|
-
import * as bug_1645 from './examples/1645';
|
|
46
|
+
import * as listWithDetailPrimitives from './examples/list-with-detail-primitives';
|
|
58
47
|
import * as conditionalSchemaComposition from './examples/conditional-schema-compositions';
|
|
59
48
|
import * as additionalErrors from './examples/additional-errors';
|
|
60
49
|
export * from './register';
|
|
61
50
|
export * from './example';
|
|
62
51
|
import * as ifThenElse from './examples/if_then_else';
|
|
63
|
-
export { issue_1948,
|
|
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, };
|