@jsonforms/examples 3.7.0-alpha.3 → 3.7.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/prepend-append-slots.d.ts +66 -0
- package/lib/index.d.ts +2 -1
- package/lib/jsonforms-examples.cjs.js +580 -474
- package/lib/jsonforms-examples.cjs.js.map +1 -1
- package/lib/jsonforms-examples.esm.js +581 -476
- package/lib/jsonforms-examples.esm.js.map +1 -1
- package/package.json +4 -4
- package/src/examples/prepend-append-slots.ts +148 -0
- package/src/index.ts +2 -0
- package/stats.html +1 -1
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prepend and Append Slots
|
|
3
|
+
*
|
|
4
|
+
* Prepend Only:
|
|
5
|
+
* - Display Name: Static decorative icon
|
|
6
|
+
* - Password: Dynamic strength meter
|
|
7
|
+
*
|
|
8
|
+
* Append Only:
|
|
9
|
+
* - Username: Async availability checker
|
|
10
|
+
* - Email: Copy to clipboard button
|
|
11
|
+
*
|
|
12
|
+
* Both:
|
|
13
|
+
* - Temperature: Dynamic icon + unit indicator
|
|
14
|
+
*/
|
|
15
|
+
export declare const schema: {
|
|
16
|
+
type: string;
|
|
17
|
+
properties: {
|
|
18
|
+
displayName: {
|
|
19
|
+
type: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
password: {
|
|
23
|
+
type: string;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
username: {
|
|
27
|
+
type: string;
|
|
28
|
+
maxLength: number;
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
email: {
|
|
32
|
+
type: string;
|
|
33
|
+
format: string;
|
|
34
|
+
description: string;
|
|
35
|
+
};
|
|
36
|
+
temperature: {
|
|
37
|
+
type: string;
|
|
38
|
+
minimum: number;
|
|
39
|
+
maximum: number;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export declare const uischema: {
|
|
45
|
+
type: string;
|
|
46
|
+
elements: ({
|
|
47
|
+
type: string;
|
|
48
|
+
text: string;
|
|
49
|
+
scope?: undefined;
|
|
50
|
+
options?: undefined;
|
|
51
|
+
} | {
|
|
52
|
+
type: string;
|
|
53
|
+
scope: string;
|
|
54
|
+
options: {
|
|
55
|
+
clearable: boolean;
|
|
56
|
+
};
|
|
57
|
+
text?: undefined;
|
|
58
|
+
})[];
|
|
59
|
+
};
|
|
60
|
+
export declare const data: {
|
|
61
|
+
displayName: string;
|
|
62
|
+
password: string;
|
|
63
|
+
username: string;
|
|
64
|
+
email: string;
|
|
65
|
+
temperature: number;
|
|
66
|
+
};
|
package/lib/index.d.ts
CHANGED
|
@@ -54,9 +54,10 @@ import * as login from './examples/login';
|
|
|
54
54
|
import * as mixed from './examples/mixed';
|
|
55
55
|
import * as mixedObject from './examples/mixed-object';
|
|
56
56
|
import * as string from './examples/string';
|
|
57
|
+
import * as prependAppendSlots from './examples/prepend-append-slots';
|
|
57
58
|
export * from './register';
|
|
58
59
|
export * from './example';
|
|
59
60
|
import * as ifThenElse from './examples/if_then_else';
|
|
60
61
|
import * as jsonschema from './examples/jsonschema';
|
|
61
62
|
import * as jsoneditor from './examples/json-editor';
|
|
62
|
-
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, };
|
|
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, };
|