@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
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>
|
|
@@ -138,12 +138,6 @@
|
|
|
138
138
|
<li class=" tsd-kind-function">
|
|
139
139
|
<a href="globals.html#translate" class="tsd-kind-icon">translate</a>
|
|
140
140
|
</li>
|
|
141
|
-
<li class=" tsd-kind-object-literal">
|
|
142
|
-
<a href="globals.html#booleantoggleexample" class="tsd-kind-icon">boolean<wbr>Toggle<wbr>Example</a>
|
|
143
|
-
</li>
|
|
144
|
-
<li class=" tsd-kind-object-literal">
|
|
145
|
-
<a href="globals.html#categoryuischema" class="tsd-kind-icon">category<wbr>UiSchema</a>
|
|
146
|
-
</li>
|
|
147
141
|
<li class=" tsd-kind-object-literal">
|
|
148
142
|
<a href="globals.html#combineddata" class="tsd-kind-icon">combined<wbr>Data</a>
|
|
149
143
|
</li>
|
|
@@ -189,21 +183,6 @@
|
|
|
189
183
|
<li class=" tsd-kind-object-literal">
|
|
190
184
|
<a href="globals.html#schema" class="tsd-kind-icon">schema</a>
|
|
191
185
|
</li>
|
|
192
|
-
<li class=" tsd-kind-object-literal">
|
|
193
|
-
<a href="globals.html#schema2" class="tsd-kind-icon">schema2</a>
|
|
194
|
-
</li>
|
|
195
|
-
<li class=" tsd-kind-object-literal">
|
|
196
|
-
<a href="globals.html#schema3" class="tsd-kind-icon">schema3</a>
|
|
197
|
-
</li>
|
|
198
|
-
<li class=" tsd-kind-object-literal">
|
|
199
|
-
<a href="globals.html#schema4" class="tsd-kind-icon">schema4</a>
|
|
200
|
-
</li>
|
|
201
|
-
<li class=" tsd-kind-object-literal">
|
|
202
|
-
<a href="globals.html#schemaanyof" class="tsd-kind-icon">schema<wbr>Any<wbr>Of</a>
|
|
203
|
-
</li>
|
|
204
|
-
<li class=" tsd-kind-object-literal">
|
|
205
|
-
<a href="globals.html#schemaoneof" class="tsd-kind-icon">schema<wbr>One<wbr>Of</a>
|
|
206
|
-
</li>
|
|
207
186
|
<li class=" tsd-kind-object-literal">
|
|
208
187
|
<a href="globals.html#schema_1265_array" class="tsd-kind-icon">schema_<wbr>1265_<wbr>array</a>
|
|
209
188
|
</li>
|
|
@@ -237,15 +216,6 @@
|
|
|
237
216
|
<li class=" tsd-kind-object-literal">
|
|
238
217
|
<a href="globals.html#uischema" class="tsd-kind-icon">uischema</a>
|
|
239
218
|
</li>
|
|
240
|
-
<li class=" tsd-kind-object-literal">
|
|
241
|
-
<a href="globals.html#uischema2" class="tsd-kind-icon">uischema2</a>
|
|
242
|
-
</li>
|
|
243
|
-
<li class=" tsd-kind-object-literal">
|
|
244
|
-
<a href="globals.html#uischema3" class="tsd-kind-icon">uischema3</a>
|
|
245
|
-
</li>
|
|
246
|
-
<li class=" tsd-kind-object-literal">
|
|
247
|
-
<a href="globals.html#uischema4" class="tsd-kind-icon">uischema4</a>
|
|
248
|
-
</li>
|
|
249
219
|
<li class=" tsd-kind-object-literal">
|
|
250
220
|
<a href="globals.html#uischemacomplex" class="tsd-kind-icon">uischema<wbr>Complex</a>
|
|
251
221
|
</li>
|
package/lib/examples/1884.d.ts
CHANGED
|
@@ -56,11 +56,18 @@ export declare const schema: {
|
|
|
56
56
|
export declare const uischema: {
|
|
57
57
|
type: string;
|
|
58
58
|
elements: ({
|
|
59
|
+
type: string;
|
|
60
|
+
text: string;
|
|
61
|
+
elements?: undefined;
|
|
62
|
+
label?: undefined;
|
|
63
|
+
rule?: undefined;
|
|
64
|
+
} | {
|
|
59
65
|
type: string;
|
|
60
66
|
elements: {
|
|
61
67
|
type: string;
|
|
62
68
|
scope: string;
|
|
63
69
|
}[];
|
|
70
|
+
text?: undefined;
|
|
64
71
|
label?: undefined;
|
|
65
72
|
rule?: undefined;
|
|
66
73
|
} | {
|
|
@@ -82,6 +89,7 @@ export declare const uischema: {
|
|
|
82
89
|
};
|
|
83
90
|
};
|
|
84
91
|
};
|
|
92
|
+
text?: undefined;
|
|
85
93
|
})[];
|
|
86
94
|
};
|
|
87
95
|
export declare const data: {
|
|
@@ -1 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import { ErrorObject } from 'ajv';
|
|
2
|
+
import { StateProps } from '../example';
|
|
3
|
+
export declare const additionalErrors: ErrorObject[];
|
|
4
|
+
export declare const actions: {
|
|
5
|
+
label: string;
|
|
6
|
+
apply: (props: StateProps) => {
|
|
7
|
+
additionalErrors: ErrorObject<string, Record<string, any>, unknown>[];
|
|
8
|
+
data: any;
|
|
9
|
+
schema?: import("@jsonforms/core").JsonSchema;
|
|
10
|
+
uischema?: import("@jsonforms/core").UISchemaElement;
|
|
11
|
+
renderers: import("@jsonforms/core").JsonFormsRendererRegistryEntry[];
|
|
12
|
+
cells?: import("@jsonforms/core").JsonFormsCellRendererRegistryEntry[];
|
|
13
|
+
config?: any;
|
|
14
|
+
uischemas?: import("@jsonforms/core").JsonFormsUISchemaRegistryEntry[];
|
|
15
|
+
};
|
|
16
|
+
}[];
|
package/lib/examples/anyOf.d.ts
CHANGED
|
@@ -53,12 +53,25 @@ export declare const schema: {
|
|
|
53
53
|
$ref: string;
|
|
54
54
|
}[];
|
|
55
55
|
};
|
|
56
|
+
addressesOrUsersAnyOfItems: {
|
|
57
|
+
type: string;
|
|
58
|
+
items: {
|
|
59
|
+
anyOf: {
|
|
60
|
+
$ref: string;
|
|
61
|
+
}[];
|
|
62
|
+
};
|
|
63
|
+
};
|
|
56
64
|
};
|
|
57
65
|
};
|
|
58
66
|
export declare const uischema: {
|
|
59
67
|
type: string;
|
|
60
|
-
elements: {
|
|
68
|
+
elements: ({
|
|
69
|
+
type: string;
|
|
70
|
+
scope: string;
|
|
71
|
+
label?: undefined;
|
|
72
|
+
} | {
|
|
61
73
|
type: string;
|
|
62
74
|
scope: string;
|
|
63
|
-
|
|
75
|
+
label: string;
|
|
76
|
+
})[];
|
|
64
77
|
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Translator } from '@jsonforms/core';
|
|
2
|
+
export declare const schema: {
|
|
3
|
+
type: string;
|
|
4
|
+
properties: {
|
|
5
|
+
comments: {
|
|
6
|
+
type: string;
|
|
7
|
+
items: {
|
|
8
|
+
type: string;
|
|
9
|
+
properties: {
|
|
10
|
+
date: {
|
|
11
|
+
type: string;
|
|
12
|
+
format: string;
|
|
13
|
+
};
|
|
14
|
+
message: {
|
|
15
|
+
type: string;
|
|
16
|
+
maxLength: number;
|
|
17
|
+
};
|
|
18
|
+
enum: {
|
|
19
|
+
type: string;
|
|
20
|
+
const: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare const uischema: {
|
|
28
|
+
type: string;
|
|
29
|
+
elements: {
|
|
30
|
+
type: string;
|
|
31
|
+
scope: string;
|
|
32
|
+
options: {
|
|
33
|
+
showSortButtons: boolean;
|
|
34
|
+
};
|
|
35
|
+
}[];
|
|
36
|
+
};
|
|
37
|
+
export declare const data: {
|
|
38
|
+
comments: {
|
|
39
|
+
date: string;
|
|
40
|
+
message: string;
|
|
41
|
+
}[];
|
|
42
|
+
};
|
|
43
|
+
export declare const translations: {
|
|
44
|
+
comments: {
|
|
45
|
+
noDataMessage: string;
|
|
46
|
+
addTooltip: string;
|
|
47
|
+
deleteDialogAccept: string;
|
|
48
|
+
deleteDialogDecline: string;
|
|
49
|
+
deleteDialogMessage: string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export declare const translate: Translator;
|
package/lib/examples/dates.d.ts
CHANGED
|
@@ -1 +1,115 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
schemaBased: {
|
|
5
|
+
type: string;
|
|
6
|
+
properties: {
|
|
7
|
+
date: {
|
|
8
|
+
type: string;
|
|
9
|
+
format: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
time: {
|
|
13
|
+
type: string;
|
|
14
|
+
format: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
datetime: {
|
|
18
|
+
type: string;
|
|
19
|
+
format: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
uiSchemaBased: {
|
|
25
|
+
type: string;
|
|
26
|
+
properties: {
|
|
27
|
+
date: {
|
|
28
|
+
type: string;
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
time: {
|
|
32
|
+
type: string;
|
|
33
|
+
description: string;
|
|
34
|
+
};
|
|
35
|
+
datetime: {
|
|
36
|
+
type: string;
|
|
37
|
+
description: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export declare const uischema: {
|
|
44
|
+
type: string;
|
|
45
|
+
elements: ({
|
|
46
|
+
type: string;
|
|
47
|
+
elements: {
|
|
48
|
+
type: string;
|
|
49
|
+
scope: string;
|
|
50
|
+
}[];
|
|
51
|
+
} | {
|
|
52
|
+
type: string;
|
|
53
|
+
elements: ({
|
|
54
|
+
type: string;
|
|
55
|
+
scope: string;
|
|
56
|
+
label: string;
|
|
57
|
+
options: {
|
|
58
|
+
format: string;
|
|
59
|
+
clearLabel: string;
|
|
60
|
+
cancelLabel: string;
|
|
61
|
+
okLabel: string;
|
|
62
|
+
views: string[];
|
|
63
|
+
dateFormat: string;
|
|
64
|
+
dateSaveFormat: string;
|
|
65
|
+
ampm?: undefined;
|
|
66
|
+
dateTimeFormat?: undefined;
|
|
67
|
+
dateTimeSaveFormat?: undefined;
|
|
68
|
+
};
|
|
69
|
+
} | {
|
|
70
|
+
type: string;
|
|
71
|
+
scope: string;
|
|
72
|
+
options: {
|
|
73
|
+
format: string;
|
|
74
|
+
ampm: boolean;
|
|
75
|
+
clearLabel?: undefined;
|
|
76
|
+
cancelLabel?: undefined;
|
|
77
|
+
okLabel?: undefined;
|
|
78
|
+
views?: undefined;
|
|
79
|
+
dateFormat?: undefined;
|
|
80
|
+
dateSaveFormat?: undefined;
|
|
81
|
+
dateTimeFormat?: undefined;
|
|
82
|
+
dateTimeSaveFormat?: undefined;
|
|
83
|
+
};
|
|
84
|
+
label?: undefined;
|
|
85
|
+
} | {
|
|
86
|
+
type: string;
|
|
87
|
+
scope: string;
|
|
88
|
+
options: {
|
|
89
|
+
format: string;
|
|
90
|
+
dateTimeFormat: string;
|
|
91
|
+
dateTimeSaveFormat: string;
|
|
92
|
+
ampm: boolean;
|
|
93
|
+
clearLabel?: undefined;
|
|
94
|
+
cancelLabel?: undefined;
|
|
95
|
+
okLabel?: undefined;
|
|
96
|
+
views?: undefined;
|
|
97
|
+
dateFormat?: undefined;
|
|
98
|
+
dateSaveFormat?: undefined;
|
|
99
|
+
};
|
|
100
|
+
label?: undefined;
|
|
101
|
+
})[];
|
|
102
|
+
})[];
|
|
103
|
+
};
|
|
104
|
+
export declare const data: {
|
|
105
|
+
schemaBased: {
|
|
106
|
+
date: string;
|
|
107
|
+
time: string;
|
|
108
|
+
datetime: string;
|
|
109
|
+
};
|
|
110
|
+
uiSchemaBased: {
|
|
111
|
+
date: string;
|
|
112
|
+
time: string;
|
|
113
|
+
datetime: string;
|
|
114
|
+
};
|
|
115
|
+
};
|
package/lib/examples/enum.d.ts
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StateProps } from '../example';
|
|
2
|
+
export declare const actions: {
|
|
3
|
+
label: string;
|
|
4
|
+
apply: (props: StateProps) => {
|
|
5
|
+
data: {
|
|
6
|
+
id: string;
|
|
7
|
+
};
|
|
8
|
+
schema?: import("@jsonforms/core").JsonSchema;
|
|
9
|
+
uischema?: import("@jsonforms/core").UISchemaElement;
|
|
10
|
+
renderers: import("@jsonforms/core").JsonFormsRendererRegistryEntry[];
|
|
11
|
+
cells?: import("@jsonforms/core").JsonFormsCellRendererRegistryEntry[];
|
|
12
|
+
config?: any;
|
|
13
|
+
uischemas?: import("@jsonforms/core").JsonFormsUISchemaRegistryEntry[];
|
|
14
|
+
};
|
|
15
|
+
}[];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const data: {
|
|
2
|
+
'an-array-of-strings': string[];
|
|
3
|
+
};
|
|
4
|
+
export declare const schema: {
|
|
5
|
+
type: string;
|
|
6
|
+
properties: {
|
|
7
|
+
'an-array-of-strings': {
|
|
8
|
+
type: string;
|
|
9
|
+
items: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const uischema: {
|
|
16
|
+
type: string;
|
|
17
|
+
scope: string;
|
|
18
|
+
};
|
|
19
|
+
export declare const data_number: {
|
|
20
|
+
'an-array-of-numbers': number[];
|
|
21
|
+
};
|
|
22
|
+
export declare const schema_number: {
|
|
23
|
+
type: string;
|
|
24
|
+
properties: {
|
|
25
|
+
'an-array-of-numbers': {
|
|
26
|
+
type: string;
|
|
27
|
+
items: {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export declare const uischema_number: {
|
|
34
|
+
type: string;
|
|
35
|
+
scope: string;
|
|
36
|
+
};
|
|
@@ -1 +1,55 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export declare const data: {
|
|
2
|
+
warehouseitems: {
|
|
3
|
+
name: string;
|
|
4
|
+
buyer: {
|
|
5
|
+
email: string;
|
|
6
|
+
age: number;
|
|
7
|
+
};
|
|
8
|
+
status: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
export declare const schema: {
|
|
12
|
+
definitions: {
|
|
13
|
+
warehouseitem: {
|
|
14
|
+
type: string;
|
|
15
|
+
properties: {
|
|
16
|
+
name: {
|
|
17
|
+
type: string;
|
|
18
|
+
};
|
|
19
|
+
buyer: {
|
|
20
|
+
type: string;
|
|
21
|
+
properties: {
|
|
22
|
+
email: {
|
|
23
|
+
type: string;
|
|
24
|
+
format: string;
|
|
25
|
+
};
|
|
26
|
+
age: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
status: {
|
|
32
|
+
type: string;
|
|
33
|
+
enum: string[];
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
required: string[];
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
type: string;
|
|
40
|
+
properties: {
|
|
41
|
+
warehouseitems: {
|
|
42
|
+
type: string;
|
|
43
|
+
items: {
|
|
44
|
+
$ref: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export declare const uischema: {
|
|
50
|
+
type: string;
|
|
51
|
+
scope: string;
|
|
52
|
+
options: {
|
|
53
|
+
labelRef: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -1 +1,191 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export declare const data: {
|
|
2
|
+
orders: ({
|
|
3
|
+
customer: {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
department: string;
|
|
7
|
+
};
|
|
8
|
+
title: string;
|
|
9
|
+
ordered: boolean;
|
|
10
|
+
processId: string;
|
|
11
|
+
assignee: string;
|
|
12
|
+
status: string;
|
|
13
|
+
startDate: string;
|
|
14
|
+
endDate: string;
|
|
15
|
+
} | {
|
|
16
|
+
customer: {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
department?: undefined;
|
|
20
|
+
};
|
|
21
|
+
title: string;
|
|
22
|
+
processId: string;
|
|
23
|
+
assignee: string;
|
|
24
|
+
startDate: string;
|
|
25
|
+
status: string;
|
|
26
|
+
ordered?: undefined;
|
|
27
|
+
endDate?: undefined;
|
|
28
|
+
})[];
|
|
29
|
+
};
|
|
30
|
+
export declare const schema: {
|
|
31
|
+
definitions: {
|
|
32
|
+
order: {
|
|
33
|
+
type: string;
|
|
34
|
+
properties: {
|
|
35
|
+
customer: {
|
|
36
|
+
type: string;
|
|
37
|
+
properties: {
|
|
38
|
+
id: {
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
name: {
|
|
42
|
+
type: string;
|
|
43
|
+
format: string;
|
|
44
|
+
};
|
|
45
|
+
department: {
|
|
46
|
+
type: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
title: {
|
|
51
|
+
type: string;
|
|
52
|
+
minLength: number;
|
|
53
|
+
title: string;
|
|
54
|
+
};
|
|
55
|
+
ordered: {
|
|
56
|
+
type: string;
|
|
57
|
+
};
|
|
58
|
+
processId: {
|
|
59
|
+
type: string;
|
|
60
|
+
minimum: number;
|
|
61
|
+
};
|
|
62
|
+
assignee: {
|
|
63
|
+
type: string;
|
|
64
|
+
};
|
|
65
|
+
startDate: {
|
|
66
|
+
type: string;
|
|
67
|
+
format: string;
|
|
68
|
+
};
|
|
69
|
+
endDate: {
|
|
70
|
+
type: string;
|
|
71
|
+
format: string;
|
|
72
|
+
};
|
|
73
|
+
status: {
|
|
74
|
+
type: string;
|
|
75
|
+
enum: string[];
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
required: string[];
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
type: string;
|
|
82
|
+
properties: {
|
|
83
|
+
orders: {
|
|
84
|
+
type: string;
|
|
85
|
+
items: {
|
|
86
|
+
$ref: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
export declare const uischema: {
|
|
92
|
+
type: string;
|
|
93
|
+
scope: string;
|
|
94
|
+
options: {
|
|
95
|
+
labelRef: string;
|
|
96
|
+
detail: {
|
|
97
|
+
type: string;
|
|
98
|
+
elements: ({
|
|
99
|
+
type: string;
|
|
100
|
+
elements: {
|
|
101
|
+
type: string;
|
|
102
|
+
scope: string;
|
|
103
|
+
}[];
|
|
104
|
+
label?: undefined;
|
|
105
|
+
} | {
|
|
106
|
+
type: string;
|
|
107
|
+
label: string;
|
|
108
|
+
elements: {
|
|
109
|
+
type: string;
|
|
110
|
+
label: string;
|
|
111
|
+
scope: string;
|
|
112
|
+
}[];
|
|
113
|
+
} | {
|
|
114
|
+
type: string;
|
|
115
|
+
elements: {
|
|
116
|
+
type: string;
|
|
117
|
+
elements: ({
|
|
118
|
+
type: string;
|
|
119
|
+
elements: ({
|
|
120
|
+
type: string;
|
|
121
|
+
scope: string;
|
|
122
|
+
options: {
|
|
123
|
+
toggle: boolean;
|
|
124
|
+
};
|
|
125
|
+
} | {
|
|
126
|
+
type: string;
|
|
127
|
+
scope: string;
|
|
128
|
+
options?: undefined;
|
|
129
|
+
})[];
|
|
130
|
+
scope?: undefined;
|
|
131
|
+
} | {
|
|
132
|
+
type: string;
|
|
133
|
+
scope: string;
|
|
134
|
+
elements?: undefined;
|
|
135
|
+
})[];
|
|
136
|
+
}[];
|
|
137
|
+
label?: undefined;
|
|
138
|
+
})[];
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
export declare const uischemaNoLabelRef: {
|
|
143
|
+
type: string;
|
|
144
|
+
scope: string;
|
|
145
|
+
options: {
|
|
146
|
+
detail: {
|
|
147
|
+
type: string;
|
|
148
|
+
elements: ({
|
|
149
|
+
type: string;
|
|
150
|
+
elements: {
|
|
151
|
+
type: string;
|
|
152
|
+
scope: string;
|
|
153
|
+
}[];
|
|
154
|
+
label?: undefined;
|
|
155
|
+
} | {
|
|
156
|
+
type: string;
|
|
157
|
+
label: string;
|
|
158
|
+
elements: {
|
|
159
|
+
type: string;
|
|
160
|
+
label: string;
|
|
161
|
+
scope: string;
|
|
162
|
+
}[];
|
|
163
|
+
} | {
|
|
164
|
+
type: string;
|
|
165
|
+
elements: {
|
|
166
|
+
type: string;
|
|
167
|
+
elements: ({
|
|
168
|
+
type: string;
|
|
169
|
+
elements: ({
|
|
170
|
+
type: string;
|
|
171
|
+
scope: string;
|
|
172
|
+
options: {
|
|
173
|
+
toggle: boolean;
|
|
174
|
+
};
|
|
175
|
+
} | {
|
|
176
|
+
type: string;
|
|
177
|
+
scope: string;
|
|
178
|
+
options?: undefined;
|
|
179
|
+
})[];
|
|
180
|
+
scope?: undefined;
|
|
181
|
+
} | {
|
|
182
|
+
type: string;
|
|
183
|
+
scope: string;
|
|
184
|
+
elements?: undefined;
|
|
185
|
+
})[];
|
|
186
|
+
}[];
|
|
187
|
+
label?: undefined;
|
|
188
|
+
})[];
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export declare const schema: {
|
|
2
|
+
type: string;
|
|
3
|
+
properties: {
|
|
4
|
+
cat1: {
|
|
5
|
+
type: string;
|
|
6
|
+
properties: {
|
|
7
|
+
subcat11: {
|
|
8
|
+
type: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
cat2: {
|
|
13
|
+
type: string;
|
|
14
|
+
properties: {
|
|
15
|
+
subcat21: {
|
|
16
|
+
type: string;
|
|
17
|
+
};
|
|
18
|
+
subcat22: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
cat3: {
|
|
24
|
+
type: string;
|
|
25
|
+
properties: {
|
|
26
|
+
subcat31: {
|
|
27
|
+
type: string;
|
|
28
|
+
};
|
|
29
|
+
subcat32: {
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
subcat33: {
|
|
33
|
+
type: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export declare const uischema: {
|
|
40
|
+
type: string;
|
|
41
|
+
elements: {
|
|
42
|
+
type: string;
|
|
43
|
+
label: string;
|
|
44
|
+
elements: {
|
|
45
|
+
type: string;
|
|
46
|
+
elements: {
|
|
47
|
+
type: string;
|
|
48
|
+
label: string;
|
|
49
|
+
elements: {
|
|
50
|
+
type: string;
|
|
51
|
+
scope: string;
|
|
52
|
+
}[];
|
|
53
|
+
}[];
|
|
54
|
+
}[];
|
|
55
|
+
}[];
|
|
56
|
+
};
|
|
57
|
+
export declare const data: {};
|