@jsonforms/examples 3.2.0-alpha.2 → 3.2.0-alpha.4
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/examples/arrays-with-defaults.d.ts +107 -0
- package/lib/index.d.ts +2 -1
- package/lib/jsonforms-examples.cjs.js +234 -126
- package/lib/jsonforms-examples.cjs.js.map +1 -1
- package/lib/jsonforms-examples.esm.js +235 -128
- package/lib/jsonforms-examples.esm.js.map +1 -1
- package/package.json +4 -4
- package/src/examples/arrays-with-defaults.ts +129 -0
- package/src/index.ts +2 -0
- package/stats.html +28 -28
- package/docs/assets/css/main.css +0 -2660
- package/docs/assets/images/icons.png +0 -0
- package/docs/assets/images/icons@2x.png +0 -0
- package/docs/assets/images/widgets.png +0 -0
- package/docs/assets/images/widgets@2x.png +0 -0
- package/docs/assets/js/main.js +0 -248
- package/docs/assets/js/search.js +0 -1
- package/docs/index.html +0 -283
- package/docs/interfaces/example.ExampleDescription.html +0 -270
- package/docs/interfaces/example.StateProps.html +0 -242
- package/docs/modules/example.html +0 -125
- package/docs/modules/examples_1884.html +0 -336
- package/docs/modules/examples_1948.html +0 -252
- package/docs/modules/examples_additional_errors.html +0 -148
- package/docs/modules/examples_allOf.html +0 -236
- package/docs/modules/examples_anyOf.html +0 -316
- package/docs/modules/examples_anyOf_oneOf_allOf_resolve.html +0 -217
- package/docs/modules/examples_arrays.html +0 -292
- package/docs/modules/examples_arraysI18n.html +0 -370
- package/docs/modules/examples_arrays_with_custom_element_label.html +0 -234
- package/docs/modules/examples_arrays_with_detail.html +0 -301
- package/docs/modules/examples_arrays_with_detail_and_rule.html +0 -309
- package/docs/modules/examples_arrays_with_sorting.html +0 -287
- package/docs/modules/examples_categorization.html +0 -467
- package/docs/modules/examples_categorization_stepper.html +0 -362
- package/docs/modules/examples_categorization_stepper_nav_buttons.html +0 -365
- package/docs/modules/examples_conditional_schema_compositions.html +0 -200
- package/docs/modules/examples_config.html +0 -222
- package/docs/modules/examples_control_options.html +0 -472
- package/docs/modules/examples_dates.html +0 -320
- package/docs/modules/examples_default.html +0 -292
- package/docs/modules/examples_enum.html +0 -277
- package/docs/modules/examples_enumInArray.html +0 -216
- package/docs/modules/examples_enum_multi.html +0 -238
- package/docs/modules/examples_generate.html +0 -187
- package/docs/modules/examples_generateUI.html +0 -247
- package/docs/modules/examples_generate_dynamic.html +0 -134
- package/docs/modules/examples_huge.html +0 -134
- package/docs/modules/examples_i18n.html +0 -357
- package/docs/modules/examples_if_then_else.html +0 -225
- package/docs/modules/examples_layout.html +0 -410
- package/docs/modules/examples_list_with_detail.html +0 -405
- package/docs/modules/examples_list_with_detail_primitives.html +0 -300
- package/docs/modules/examples_list_with_detail_registered.html +0 -290
- package/docs/modules/examples_nestedArrays.html +0 -145
- package/docs/modules/examples_nestedCategorization.html +0 -278
- package/docs/modules/examples_numbers.html +0 -224
- package/docs/modules/examples_object.html +0 -272
- package/docs/modules/examples_onChange.html +0 -276
- package/docs/modules/examples_oneOf.html +0 -277
- package/docs/modules/examples_oneOfArray.html +0 -276
- package/docs/modules/examples_oneOf_recursive.html +0 -271
- package/docs/modules/examples_person.html +0 -403
- package/docs/modules/examples_radioGroup.html +0 -213
- package/docs/modules/examples_readonly.html +0 -227
- package/docs/modules/examples_rule.html +0 -246
- package/docs/modules/examples_ruleInheritance.html +0 -229
- package/docs/modules/examples_scope.html +0 -280
- package/docs/modules/examples_stringArray.html +0 -213
- package/docs/modules/examples_text.html +0 -233
- package/docs/modules/index.html +0 -597
- package/docs/modules/register.html +0 -168
- package/docs/modules.html +0 -314
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
definitions: {
|
|
3
|
+
itemsType: {
|
|
4
|
+
type: string;
|
|
5
|
+
properties: {
|
|
6
|
+
name: {
|
|
7
|
+
type: string;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
name_noDefault: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
description: {
|
|
14
|
+
type: string;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
done: {
|
|
18
|
+
type: string;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
rating: {
|
|
22
|
+
type: string;
|
|
23
|
+
default: number;
|
|
24
|
+
};
|
|
25
|
+
cost: {
|
|
26
|
+
type: string;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
date: {
|
|
30
|
+
type: string;
|
|
31
|
+
format: string;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
stringDef: {
|
|
37
|
+
type: string;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
numberDef: {
|
|
41
|
+
type: string;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
intDef: {
|
|
45
|
+
type: string;
|
|
46
|
+
default: number;
|
|
47
|
+
};
|
|
48
|
+
boolDef: {
|
|
49
|
+
type: string;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
arrayDef: {
|
|
53
|
+
type: string;
|
|
54
|
+
default: string[];
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
type: string;
|
|
58
|
+
properties: {
|
|
59
|
+
objectArray: {
|
|
60
|
+
type: string;
|
|
61
|
+
items: {
|
|
62
|
+
$ref: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
stringArray: {
|
|
66
|
+
type: string;
|
|
67
|
+
items: {
|
|
68
|
+
type: string;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
objectArrayWithPropertyRefs: {
|
|
73
|
+
type: string;
|
|
74
|
+
items: {
|
|
75
|
+
type: string;
|
|
76
|
+
properties: {
|
|
77
|
+
string1: {
|
|
78
|
+
$ref: string;
|
|
79
|
+
};
|
|
80
|
+
string2: {
|
|
81
|
+
type: string;
|
|
82
|
+
};
|
|
83
|
+
number: {
|
|
84
|
+
$ref: string;
|
|
85
|
+
};
|
|
86
|
+
int: {
|
|
87
|
+
$ref: string;
|
|
88
|
+
};
|
|
89
|
+
bool: {
|
|
90
|
+
$ref: string;
|
|
91
|
+
};
|
|
92
|
+
array: {
|
|
93
|
+
$ref: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
export declare const uischema: {
|
|
101
|
+
type: string;
|
|
102
|
+
elements: {
|
|
103
|
+
type: string;
|
|
104
|
+
scope: string;
|
|
105
|
+
}[];
|
|
106
|
+
};
|
|
107
|
+
export declare const data: {};
|
package/lib/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import * as arrayWithDetail from './examples/arrays-with-detail';
|
|
|
11
11
|
import * as arrayWithDetailAndRule from './examples/arrays-with-detail-and-rule';
|
|
12
12
|
import * as arrayWithCustomChildLabel from './examples/arrays-with-custom-element-label';
|
|
13
13
|
import * as arrayWithSorting from './examples/arrays-with-sorting';
|
|
14
|
+
import * as arrayWithDefaults from './examples/arrays-with-defaults';
|
|
14
15
|
import * as stringArray from './examples/stringArray';
|
|
15
16
|
import * as categorization from './examples/categorization';
|
|
16
17
|
import * as stepper from './examples/categorization-stepper';
|
|
@@ -49,4 +50,4 @@ import * as additionalErrors from './examples/additional-errors';
|
|
|
49
50
|
export * from './register';
|
|
50
51
|
export * from './example';
|
|
51
52
|
import * as ifThenElse from './examples/if_then_else';
|
|
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, };
|
|
53
|
+
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, arrayWithDefaults, };
|