@jsonforms/examples 3.7.0-beta.0 → 3.8.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/lib/examples/enumI18n.d.ts +49 -0
- package/lib/index.d.ts +2 -1
- package/lib/jsonforms-examples.cjs.js +520 -410
- package/lib/jsonforms-examples.cjs.js.map +1 -1
- package/lib/jsonforms-examples.esm.js +522 -414
- package/lib/jsonforms-examples.esm.js.map +1 -1
- package/package.json +3 -3
- package/src/examples/enumI18n.ts +138 -0
- package/src/index.ts +2 -0
- package/stats.html +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Translator } from '@jsonforms/core';
|
|
2
|
+
export declare const schema: {
|
|
3
|
+
type: string;
|
|
4
|
+
properties: {
|
|
5
|
+
country: {
|
|
6
|
+
type: string;
|
|
7
|
+
enum: string[];
|
|
8
|
+
};
|
|
9
|
+
countryNoAutocomplete: {
|
|
10
|
+
type: string;
|
|
11
|
+
enum: string[];
|
|
12
|
+
};
|
|
13
|
+
status: {
|
|
14
|
+
type: string;
|
|
15
|
+
oneOf: {
|
|
16
|
+
const: string;
|
|
17
|
+
title: string;
|
|
18
|
+
}[];
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export declare const uischema: {
|
|
23
|
+
type: string;
|
|
24
|
+
elements: ({
|
|
25
|
+
type: string;
|
|
26
|
+
label: string;
|
|
27
|
+
elements: {
|
|
28
|
+
type: string;
|
|
29
|
+
scope: string;
|
|
30
|
+
label: string;
|
|
31
|
+
}[];
|
|
32
|
+
} | {
|
|
33
|
+
type: string;
|
|
34
|
+
label: string;
|
|
35
|
+
elements: {
|
|
36
|
+
type: string;
|
|
37
|
+
scope: string;
|
|
38
|
+
label: string;
|
|
39
|
+
options: {
|
|
40
|
+
autocomplete: boolean;
|
|
41
|
+
};
|
|
42
|
+
}[];
|
|
43
|
+
})[];
|
|
44
|
+
};
|
|
45
|
+
export declare const data: {
|
|
46
|
+
country: string;
|
|
47
|
+
};
|
|
48
|
+
export declare const translations: Record<string, string>;
|
|
49
|
+
export declare const translate: Translator;
|
package/lib/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ import * as onChange from './examples/onChange';
|
|
|
43
43
|
import * as enumExample from './examples/enum';
|
|
44
44
|
import * as radioGroupExample from './examples/radioGroup';
|
|
45
45
|
import * as multiEnum from './examples/enum-multi';
|
|
46
|
+
import * as enumI18n from './examples/enumI18n';
|
|
46
47
|
import * as enumInArray from './examples/enumInArray';
|
|
47
48
|
import * as readonly from './examples/readonly';
|
|
48
49
|
import * as listWithDetailPrimitives from './examples/list-with-detail-primitives';
|
|
@@ -60,4 +61,4 @@ export * from './example';
|
|
|
60
61
|
import * as ifThenElse from './examples/if_then_else';
|
|
61
62
|
import * as jsonschema from './examples/jsonschema';
|
|
62
63
|
import * as jsoneditor from './examples/json-editor';
|
|
63
|
-
export { issue_1948, defaultExample, allOf, anyOf, oneOf, oneOfArray, anyOfOneOfAllOfResolve, stringArray, array, arrayI18n, nestedArray, nestedCategorization, arrayWithDetail, arrayWithDetailAndRule, arrayWithCustomChildLabel, arrayWithSorting, arrayWithTranslatedCustomChildLabel, categorization, stepper, steppershownav, controlOptions, generateSchema, generateUISchema, layout, person, rule, ruleInheritance, dates, generateDynamic, config, text, numbers, scope, listWithDetail, listWithDetailRegistered, object, i18n, oneOfRecursive, huge, ifThenElse, jsoneditor, jsonschema, onChange, enumExample, radioGroupExample, multiEnum, multiEnumWithLabelAndDesc, enumInArray, readonly, listWithDetailPrimitives, conditionalSchemaComposition, additionalErrors, additionalProperties, login, mixed, mixedObject, issue_1884, arrayWithDefaults, string, prependAppendSlots, };
|
|
64
|
+
export { issue_1948, defaultExample, allOf, anyOf, oneOf, oneOfArray, anyOfOneOfAllOfResolve, stringArray, array, arrayI18n, nestedArray, nestedCategorization, arrayWithDetail, arrayWithDetailAndRule, arrayWithCustomChildLabel, arrayWithSorting, arrayWithTranslatedCustomChildLabel, categorization, stepper, steppershownav, controlOptions, generateSchema, generateUISchema, layout, person, rule, ruleInheritance, dates, generateDynamic, config, text, numbers, scope, listWithDetail, listWithDetailRegistered, object, i18n, oneOfRecursive, huge, ifThenElse, jsoneditor, jsonschema, onChange, enumExample, radioGroupExample, multiEnum, multiEnumWithLabelAndDesc, enumI18n, enumInArray, readonly, listWithDetailPrimitives, conditionalSchemaComposition, additionalErrors, additionalProperties, login, mixed, mixedObject, issue_1884, arrayWithDefaults, string, prependAppendSlots, };
|