@chobantonov/jsonforms-extended-spec 0.0.0-stage → 0.3.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/LICENSE +21 -0
- package/README.md +126 -2
- package/conformance/authoring.json +2680 -0
- package/conformance/behavior.json +1602 -0
- package/conformance/config-consumption.json +1542 -0
- package/conformance/expected-invalid.json +20 -0
- package/docs/audit.md +150 -0
- package/docs/conditional-fields.md +122 -0
- package/docs/draft-07-visual-support.md +43 -0
- package/docs/external-resources-proposal.md +536 -0
- package/docs/implementation-guide.md +233 -0
- package/docs/implementation-pitfalls.md +968 -0
- package/docs/implementation-web-typescript.md +41 -0
- package/docs/renderer-and-demo.md +1347 -0
- package/docs/renderer-selection.md +99 -0
- package/docs/spec.md +8470 -0
- package/docs/todo.md +166 -0
- package/examples/README.md +127 -0
- package/examples/additional-errors/README.md +176 -0
- package/examples/additional-errors/config.json +3 -0
- package/examples/additional-errors/data.json +11 -0
- package/examples/additional-errors/schema.json +56 -0
- package/examples/additional-errors/translations.json +64 -0
- package/examples/additional-errors/uischema.json +158 -0
- package/examples/additional-items-pagination/README.md +8 -0
- package/examples/additional-items-pagination/config.json +10 -0
- package/examples/additional-items-pagination/data.json +22 -0
- package/examples/additional-items-pagination/schema.json +30 -0
- package/examples/additional-items-pagination/translations.json +16 -0
- package/examples/additional-items-pagination/uischema.json +39 -0
- package/examples/additional-properties/README.md +203 -0
- package/examples/additional-properties/config.json +5 -0
- package/examples/additional-properties/data.json +31 -0
- package/examples/additional-properties/schema.json +78 -0
- package/examples/additional-properties/translations.json +80 -0
- package/examples/additional-properties/uischema.json +104 -0
- package/examples/ag-grid/README.md +62 -0
- package/examples/ag-grid/config.json +14 -0
- package/examples/ag-grid/data.json +124 -0
- package/examples/ag-grid/schema.json +48 -0
- package/examples/ag-grid/translations.json +58 -0
- package/examples/ag-grid/uischema.json +671 -0
- package/examples/array-choices/README.md +150 -0
- package/examples/array-choices/config.json +4 -0
- package/examples/array-choices/data.json +10 -0
- package/examples/array-choices/schema.json +68 -0
- package/examples/array-choices/translations.json +64 -0
- package/examples/array-choices/uischema.json +97 -0
- package/examples/array-controls/README.md +237 -0
- package/examples/array-controls/config.json +4 -0
- package/examples/array-controls/data.json +147 -0
- package/examples/array-controls/schema.json +374 -0
- package/examples/array-controls/translations.json +186 -0
- package/examples/array-controls/uischema.json +685 -0
- package/examples/array-detail-modes/README.md +11 -0
- package/examples/array-detail-modes/data.json +38 -0
- package/examples/array-detail-modes/schema.json +89 -0
- package/examples/array-detail-modes/translations.json +36 -0
- package/examples/array-detail-modes/uischema.json +73 -0
- package/examples/array-detail-modes/uischemas.d.mts +2 -0
- package/examples/array-detail-modes/uischemas.json +15 -0
- package/examples/boolean-controls/README.md +109 -0
- package/examples/boolean-controls/config.json +3 -0
- package/examples/boolean-controls/data.json +27 -0
- package/examples/boolean-controls/schema.json +98 -0
- package/examples/boolean-controls/translations.json +94 -0
- package/examples/boolean-controls/uischema.json +126 -0
- package/examples/button-actions/README.md +259 -0
- package/examples/button-actions/config.json +7 -0
- package/examples/button-actions/data.json +5 -0
- package/examples/button-actions/host.mjs +14 -0
- package/examples/button-actions/schema.json +20 -0
- package/examples/button-actions/translations.json +60 -0
- package/examples/button-actions/uischema.json +179 -0
- package/examples/catalog.json +634 -0
- package/examples/categorization/README.md +132 -0
- package/examples/categorization/config.json +7 -0
- package/examples/categorization/data.json +8 -0
- package/examples/categorization/schema.json +29 -0
- package/examples/categorization/translations.json +72 -0
- package/examples/categorization/uischema.json +288 -0
- package/examples/choice-controls/README.md +136 -0
- package/examples/choice-controls/config.json +10 -0
- package/examples/choice-controls/data.json +61 -0
- package/examples/choice-controls/schema.json +406 -0
- package/examples/choice-controls/translations.json +154 -0
- package/examples/choice-controls/uischema.json +575 -0
- package/examples/choice-controls/uischemas.d.mts +2 -0
- package/examples/choice-controls/uischemas.json +16 -0
- package/examples/code-editor/README.md +74 -0
- package/examples/code-editor/data.json +8 -0
- package/examples/code-editor/schema.json +28 -0
- package/examples/code-editor/translations.json +20 -0
- package/examples/code-editor/uischema.json +77 -0
- package/examples/collection-pagination/README.md +5 -0
- package/examples/collection-pagination/config.json +1 -0
- package/examples/collection-pagination/data.json +64 -0
- package/examples/collection-pagination/schema.json +23 -0
- package/examples/collection-pagination/translations.json +14 -0
- package/examples/collection-pagination/uischema.json +14 -0
- package/examples/color-control/README.md +154 -0
- package/examples/color-control/config.json +7 -0
- package/examples/color-control/data.json +11 -0
- package/examples/color-control/schema.json +61 -0
- package/examples/color-control/translations.json +76 -0
- package/examples/color-control/uischema.json +106 -0
- package/examples/combinators/README.md +223 -0
- package/examples/combinators/config.json +9 -0
- package/examples/combinators/data.json +23 -0
- package/examples/combinators/schema.json +232 -0
- package/examples/combinators/translations.json +178 -0
- package/examples/combinators/uischema.json +158 -0
- package/examples/conditional-fields/README.md +27 -0
- package/examples/conditional-fields/config.json +5 -0
- package/examples/conditional-fields/data.json +7 -0
- package/examples/conditional-fields/schema.json +59 -0
- package/examples/conditional-fields/translations.json +32 -0
- package/examples/conditional-fields/uischema.json +131 -0
- package/examples/container-validation-indicator/README.md +187 -0
- package/examples/container-validation-indicator/config.json +9 -0
- package/examples/container-validation-indicator/data.json +68 -0
- package/examples/container-validation-indicator/schema.json +222 -0
- package/examples/container-validation-indicator/translations.json +120 -0
- package/examples/container-validation-indicator/uischema.json +98 -0
- package/examples/cron-control/README.md +155 -0
- package/examples/cron-control/data.json +15 -0
- package/examples/cron-control/schema.json +72 -0
- package/examples/cron-control/translations.json +80 -0
- package/examples/cron-control/uischema.json +91 -0
- package/examples/destructive-confirmation/README.md +210 -0
- package/examples/destructive-confirmation/config.json +17 -0
- package/examples/destructive-confirmation/data.json +86 -0
- package/examples/destructive-confirmation/schema.json +204 -0
- package/examples/destructive-confirmation/translations.json +112 -0
- package/examples/destructive-confirmation/uischema.json +105 -0
- package/examples/draft-07-metaschema/README.md +11 -0
- package/examples/draft-07-metaschema/config.json +3 -0
- package/examples/draft-07-metaschema/data.json +25 -0
- package/examples/draft-07-metaschema/schema.json +172 -0
- package/examples/draft-07-metaschema/translations.json +10 -0
- package/examples/draft-07-metaschema/uischema.json +14 -0
- package/examples/dynamic-playground/README.md +95 -0
- package/examples/dynamic-playground/config.json +8 -0
- package/examples/dynamic-playground/configuration.json +152 -0
- package/examples/dynamic-playground/data.json +15 -0
- package/examples/dynamic-playground/dynamic-uischema.json +379 -0
- package/examples/dynamic-playground/host.mjs +37 -0
- package/examples/dynamic-playground/schema.json +48 -0
- package/examples/dynamic-playground/translations.json +76 -0
- package/examples/dynamic-playground/uischema.json +36 -0
- package/examples/editor-details/README.md +10 -0
- package/examples/editor-details/data.json +18 -0
- package/examples/editor-details/schema.json +49 -0
- package/examples/editor-details/translations.json +28 -0
- package/examples/editor-details/uischema.json +53 -0
- package/examples/editor-details/uischemas.d.mts +2 -0
- package/examples/editor-details/uischemas.json +14 -0
- package/examples/file-control/README.md +108 -0
- package/examples/file-control/data.json +28 -0
- package/examples/file-control/schema.json +89 -0
- package/examples/file-control/translations.json +46 -0
- package/examples/file-control/uischema.json +152 -0
- package/examples/group-layout/README.md +149 -0
- package/examples/group-layout/config.json +10 -0
- package/examples/group-layout/data.json +9 -0
- package/examples/group-layout/schema.json +51 -0
- package/examples/group-layout/translations.json +62 -0
- package/examples/group-layout/uischema.json +249 -0
- package/examples/index.d.ts +17 -0
- package/examples/index.js +69 -0
- package/examples/input-adornments/README.md +68 -0
- package/examples/input-adornments/data.json +41 -0
- package/examples/input-adornments/schema.json +207 -0
- package/examples/input-adornments/translations.json +106 -0
- package/examples/input-adornments/uischema.json +695 -0
- package/examples/job-application/README.md +23 -0
- package/examples/job-application/config.json +10 -0
- package/examples/job-application/data.json +68 -0
- package/examples/job-application/schema.json +196 -0
- package/examples/job-application/translations.json +388 -0
- package/examples/job-application/uischema.json +218 -0
- package/examples/job-application/uischemas.json +153 -0
- package/examples/json-editor/README.md +28 -0
- package/examples/json-editor/schema.json +1 -0
- package/examples/json-editor/translations.json +10 -0
- package/examples/json-editor/uischema.json +16 -0
- package/examples/json-inference/README.md +33 -0
- package/examples/json-inference/translations.json +10 -0
- package/examples/json-inference/uischema.json +16 -0
- package/examples/kitchen-sink/README.md +86 -0
- package/examples/kitchen-sink/config.json +14 -0
- package/examples/kitchen-sink/data.json +263 -0
- package/examples/kitchen-sink/invalid-data.json +263 -0
- package/examples/kitchen-sink/schema.json +515 -0
- package/examples/kitchen-sink/translations.json +270 -0
- package/examples/kitchen-sink/uischema.json +722 -0
- package/examples/label-interpolation/README.md +241 -0
- package/examples/label-interpolation/config.json +14 -0
- package/examples/label-interpolation/data.json +13 -0
- package/examples/label-interpolation/schema.json +64 -0
- package/examples/label-interpolation/translations.json +94 -0
- package/examples/label-interpolation/uischema.json +379 -0
- package/examples/layout-sizing/README.md +162 -0
- package/examples/layout-sizing/config.json +10 -0
- package/examples/layout-sizing/data.json +14 -0
- package/examples/layout-sizing/schema.json +58 -0
- package/examples/layout-sizing/translations.json +42 -0
- package/examples/layout-sizing/uischema.json +558 -0
- package/examples/markup-label/README.md +109 -0
- package/examples/markup-label/config.json +16 -0
- package/examples/markup-label/data.json +5 -0
- package/examples/markup-label/schema.json +24 -0
- package/examples/markup-label/translations.json +40 -0
- package/examples/markup-label/uischema.json +149 -0
- package/examples/mixed-control/README.md +164 -0
- package/examples/mixed-control/config.json +11 -0
- package/examples/mixed-control/data.json +70 -0
- package/examples/mixed-control/schema.json +221 -0
- package/examples/mixed-control/translations.json +158 -0
- package/examples/mixed-control/uischema.json +211 -0
- package/examples/null-control/README.md +111 -0
- package/examples/null-control/config.json +4 -0
- package/examples/null-control/data.json +6 -0
- package/examples/null-control/schema.json +36 -0
- package/examples/null-control/translations.json +42 -0
- package/examples/null-control/uischema.json +56 -0
- package/examples/numeric-controls/README.md +94 -0
- package/examples/numeric-controls/config.json +4 -0
- package/examples/numeric-controls/data.json +8 -0
- package/examples/numeric-controls/schema.json +52 -0
- package/examples/numeric-controls/translations.json +56 -0
- package/examples/numeric-controls/uischema.json +77 -0
- package/examples/object-control/README.md +220 -0
- package/examples/object-control/config.json +4 -0
- package/examples/object-control/data.json +62 -0
- package/examples/object-control/schema.json +252 -0
- package/examples/object-control/translations.json +160 -0
- package/examples/object-control/uischema.json +275 -0
- package/examples/object-control/uischemas.d.mts +2 -0
- package/examples/object-control/uischemas.json +59 -0
- package/examples/password-control/README.md +119 -0
- package/examples/password-control/config.json +3 -0
- package/examples/password-control/data.json +18 -0
- package/examples/password-control/schema.json +65 -0
- package/examples/password-control/translations.json +64 -0
- package/examples/password-control/uischema.json +94 -0
- package/examples/pre-touch-errors/README.md +176 -0
- package/examples/pre-touch-errors/config.json +4 -0
- package/examples/pre-touch-errors/data.json +5 -0
- package/examples/pre-touch-errors/schema.json +56 -0
- package/examples/pre-touch-errors/translations.json +68 -0
- package/examples/pre-touch-errors/uischema.json +85 -0
- package/examples/presentation/README.md +148 -0
- package/examples/presentation/config.json +9 -0
- package/examples/presentation/data.json +6 -0
- package/examples/presentation/schema.json +21 -0
- package/examples/presentation/translations.json +64 -0
- package/examples/presentation/uischema.json +210 -0
- package/examples/property-pagination/README.md +5 -0
- package/examples/property-pagination/config.json +1 -0
- package/examples/property-pagination/data.json +17 -0
- package/examples/property-pagination/schema.json +14 -0
- package/examples/property-pagination/translations.json +10 -0
- package/examples/property-pagination/uischema.json +24 -0
- package/examples/recursive-tree/README.md +49 -0
- package/examples/recursive-tree/config.json +1 -0
- package/examples/recursive-tree/data.json +40 -0
- package/examples/recursive-tree/schema.json +89 -0
- package/examples/recursive-tree/translations.json +42 -0
- package/examples/recursive-tree/uischema.json +84 -0
- package/examples/recursive-tree/uischemas.d.mts +2 -0
- package/examples/recursive-tree/uischemas.json +51 -0
- package/examples/split-layout/README.md +123 -0
- package/examples/split-layout/config.json +3 -0
- package/examples/split-layout/data.json +13 -0
- package/examples/split-layout/schema.json +50 -0
- package/examples/split-layout/translations.json +50 -0
- package/examples/split-layout/uischema.json +204 -0
- package/examples/string-controls/README.md +159 -0
- package/examples/string-controls/config.json +5 -0
- package/examples/string-controls/data.json +13 -0
- package/examples/string-controls/schema.json +70 -0
- package/examples/string-controls/translations.json +76 -0
- package/examples/string-controls/uischema.json +148 -0
- package/examples/table-row-details/README.md +69 -0
- package/examples/table-row-details/config.json +7 -0
- package/examples/table-row-details/data.json +280 -0
- package/examples/table-row-details/schema.json +61 -0
- package/examples/table-row-details/translations.json +56 -0
- package/examples/table-row-details/uischema.json +1303 -0
- package/examples/template-layout/README.md +250 -0
- package/examples/template-layout/config.json +9 -0
- package/examples/template-layout/data.json +20 -0
- package/examples/template-layout/host.mjs +13 -0
- package/examples/template-layout/schema.json +48 -0
- package/examples/template-layout/translations.json +70 -0
- package/examples/template-layout/uischema.json +177 -0
- package/examples/template-slots/README.md +19 -0
- package/examples/template-slots/data.json +4 -0
- package/examples/template-slots/schema.json +11 -0
- package/examples/template-slots/translations.json +26 -0
- package/examples/template-slots/uischema.json +47 -0
- package/examples/template-slots/uischemas.d.mts +2 -0
- package/examples/template-slots/uischemas.json +56 -0
- package/examples/temporal-controls/README.md +325 -0
- package/examples/temporal-controls/data.json +44 -0
- package/examples/temporal-controls/schema.json +208 -0
- package/examples/temporal-controls/translations.json +156 -0
- package/examples/temporal-controls/uischema.json +297 -0
- package/examples/tree-max-depth/README.md +5 -0
- package/examples/tree-max-depth/config.json +3 -0
- package/examples/tree-max-depth/data.json +31 -0
- package/examples/tree-max-depth/schema.json +258 -0
- package/examples/tree-max-depth/translations.json +42 -0
- package/examples/tree-max-depth/uischema.json +16 -0
- package/examples/tree-max-depth/uischemas.d.mts +2 -0
- package/examples/tree-max-depth/uischemas.json +50 -0
- package/examples/tuple-control/README.md +335 -0
- package/examples/tuple-control/config.json +4 -0
- package/examples/tuple-control/data.json +61 -0
- package/examples/tuple-control/schema.json +218 -0
- package/examples/tuple-control/translations.json +142 -0
- package/examples/tuple-control/uischema.json +128 -0
- package/examples/tuple-control/uischemas.d.mts +2 -0
- package/examples/tuple-control/uischemas.json +125 -0
- package/examples/validator-profile/README.md +197 -0
- package/examples/validator-profile/config.json +9 -0
- package/examples/validator-profile/data.json +16 -0
- package/examples/validator-profile/schema.json +139 -0
- package/examples/validator-profile/translations.json +34 -0
- package/examples/validator-profile/uischema.json +59 -0
- package/package.json +83 -3
- package/provenance.json +140 -0
- package/schemas/README.md +82 -0
- package/schemas/example.schema.json +37 -0
- package/schemas/jsonforms-config.schema.json +427 -0
- package/schemas/jsonforms-dynamic-uischema.schema.json +220 -0
- package/schemas/jsonforms-extended-config.schema.json +332 -0
- package/schemas/jsonforms-extended-uischema.schema.json +1932 -0
- package/schemas/jsonforms-rule.schema.json +104 -0
- package/schemas/jsonforms-uischema.schema.json +1434 -0
- package/typescript/README.md +546 -0
- package/typescript/lib/authoring/cssLength.d.ts +33 -0
- package/typescript/lib/authoring/cssLength.js +25 -0
- package/typescript/lib/authoring/dynamic.d.ts +73 -0
- package/typescript/lib/authoring/dynamic.js +8 -0
- package/typescript/lib/authoring/forSchema.d.ts +385 -0
- package/typescript/lib/authoring/forSchema.js +84 -0
- package/typescript/lib/authoring/schemaTypes.d.ts +111 -0
- package/typescript/lib/authoring/schemaTypes.js +15 -0
- package/typescript/lib/index.d.ts +4 -0
- package/typescript/lib/index.js +20 -0
- package/typescript/package.json +1 -0
- package/typescript/src/authoring/cssLength.ts +79 -0
- package/typescript/src/authoring/dynamic.ts +96 -0
- package/typescript/src/authoring/forSchema.ts +428 -0
- package/typescript/src/authoring/schemaTypes.ts +143 -0
- package/typescript/src/index.ts +4 -0
- package/typescript/test/schemaContract.test.ts +638 -0
- package/typescript/test/tsconfig.json +10 -0
- package/typescript/test/typedAuthoring.test.ts +151 -0
- package/typescript/test/typedAuthoringCoverage.test.ts +178 -0
- package/typescript/test/typedAuthoringCssLength.test.ts +81 -0
- package/typescript/test/typedAuthoringNames.test.ts +90 -0
- package/typescript/test/typedDynamic.test.ts +88 -0
- package/typescript/tsconfig.json +15 -0
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "VerticalLayout",
|
|
3
|
+
"options": {
|
|
4
|
+
"gap": 24
|
|
5
|
+
},
|
|
6
|
+
"$dynamic": {
|
|
7
|
+
"options": {
|
|
8
|
+
"gap": {
|
|
9
|
+
"expression": "external.settings.compact ? 8 : 24"
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"elements": [
|
|
14
|
+
{
|
|
15
|
+
"type": "Control",
|
|
16
|
+
"scope": "#/properties/name",
|
|
17
|
+
"label": "Name",
|
|
18
|
+
"$dynamic": [
|
|
19
|
+
{
|
|
20
|
+
"overlay": {
|
|
21
|
+
"i18n": {
|
|
22
|
+
"expression": "value == '' ? 'dynamicAdvanced.emptyName' : 'dynamicAdvanced.name'"
|
|
23
|
+
},
|
|
24
|
+
"label": {
|
|
25
|
+
"expression": "value == '' ? 'Name (empty)' : 'Name'"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"when": {
|
|
29
|
+
"expression": "has(data.name)"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"when": {
|
|
34
|
+
"expression": "!has(data.name)"
|
|
35
|
+
},
|
|
36
|
+
"overlay": {
|
|
37
|
+
"i18n": "dynamicAdvanced.emptyName",
|
|
38
|
+
"label": "Name (empty)"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"when": {
|
|
43
|
+
"expression": "external.settings.hideNameInHideMode"
|
|
44
|
+
},
|
|
45
|
+
"overlay": {
|
|
46
|
+
"rule": {
|
|
47
|
+
"effect": "HIDE",
|
|
48
|
+
"condition": {
|
|
49
|
+
"scope": "#/properties/mode",
|
|
50
|
+
"schema": {
|
|
51
|
+
"const": "hide"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"i18n": "dynamicAdvanced.name"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "Control",
|
|
62
|
+
"scope": "#/properties/plan",
|
|
63
|
+
"label": "Plan",
|
|
64
|
+
"i18n": "dynamicPlayground.plan",
|
|
65
|
+
"$dynamic": [
|
|
66
|
+
{
|
|
67
|
+
"overlay": {
|
|
68
|
+
"options": {
|
|
69
|
+
"readonly": {
|
|
70
|
+
"bind": "external.settings.readonly"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"when": {
|
|
77
|
+
"expression": "has(external.settings.label) && external.settings.label != null && external.settings.label != ''"
|
|
78
|
+
},
|
|
79
|
+
"overlay": {
|
|
80
|
+
"label": {
|
|
81
|
+
"bind": "external.settings.label"
|
|
82
|
+
},
|
|
83
|
+
"i18n": "dynamicPlayground.boundPlanText"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"when": {
|
|
88
|
+
"expression": "external.settings.presentation == 'radio'"
|
|
89
|
+
},
|
|
90
|
+
"overlay": {
|
|
91
|
+
"options": {
|
|
92
|
+
"format": "radio"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "Label",
|
|
100
|
+
"text": "Configuration",
|
|
101
|
+
"i18n": "dynamicAdvanced.configuration"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"type": "Label",
|
|
105
|
+
"text": "Restrictions not specified",
|
|
106
|
+
"i18n": "dynamicAdvanced.restrictions.unspecified",
|
|
107
|
+
"$dynamic": [
|
|
108
|
+
{
|
|
109
|
+
"when": {
|
|
110
|
+
"expression": "has(config.restrict) && config.restrict != null"
|
|
111
|
+
},
|
|
112
|
+
"overlay": {
|
|
113
|
+
"i18n": {
|
|
114
|
+
"expression": "config.restrict == true ? 'dynamicAdvanced.restrictions.enabled' : 'dynamicAdvanced.restrictions.disabled'"
|
|
115
|
+
},
|
|
116
|
+
"text": {
|
|
117
|
+
"expression": "config.restrict == true ? 'Restrictions enabled' : 'Restrictions disabled'"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"type": "Label",
|
|
125
|
+
"text": "No core errors",
|
|
126
|
+
"i18n": "dynamicAdvanced.status.noErrors",
|
|
127
|
+
"$dynamic": {
|
|
128
|
+
"i18n": {
|
|
129
|
+
"expression": "size(errors) > 0 ? 'dynamicAdvanced.status.hasErrors' : 'dynamicAdvanced.status.noErrors'"
|
|
130
|
+
},
|
|
131
|
+
"text": {
|
|
132
|
+
"expression": "size(errors) > 0 ? 'Core errors present' : 'No core errors'"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"type": "Control",
|
|
138
|
+
"scope": "#/properties/name",
|
|
139
|
+
"label": "Edit name",
|
|
140
|
+
"$dynamic": [
|
|
141
|
+
{
|
|
142
|
+
"when": {
|
|
143
|
+
"expression": "external.settings.useAlternate"
|
|
144
|
+
},
|
|
145
|
+
"overlay": {
|
|
146
|
+
"scope": "#/properties/alternate",
|
|
147
|
+
"label": "Edit alternate name",
|
|
148
|
+
"i18n": "dynamicAdvanced.editAlternate"
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"i18n": "dynamicAdvanced.editName"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"type": "Control",
|
|
156
|
+
"scope": "#/properties/amount",
|
|
157
|
+
"label": "Amount",
|
|
158
|
+
"i18n": "dynamicAdvanced.amount",
|
|
159
|
+
"$dynamic": [
|
|
160
|
+
{
|
|
161
|
+
"overlay": {
|
|
162
|
+
"label": {
|
|
163
|
+
"bind": "external.settings.amountLabel"
|
|
164
|
+
},
|
|
165
|
+
"i18n": "dynamicAdvanced.amountLabelValue"
|
|
166
|
+
},
|
|
167
|
+
"when": {
|
|
168
|
+
"expression": "has(external.settings.amountLabel) && external.settings.amountLabel != null && external.settings.amountLabel != ''"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"when": {
|
|
173
|
+
"expression": "external.settings.invalidLabel"
|
|
174
|
+
},
|
|
175
|
+
"overlay": {
|
|
176
|
+
"label": {
|
|
177
|
+
"bind": "external.settings.missingLabel"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"when": {
|
|
183
|
+
"expression": "external.settings.slider"
|
|
184
|
+
},
|
|
185
|
+
"overlay": {
|
|
186
|
+
"options": {
|
|
187
|
+
"slider": true
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"type": "Control",
|
|
195
|
+
"scope": "#/properties/mode",
|
|
196
|
+
"label": "Mode",
|
|
197
|
+
"i18n": "dynamicAdvanced.mode"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"type": "Control",
|
|
201
|
+
"scope": "#/properties/members",
|
|
202
|
+
"label": "Members",
|
|
203
|
+
"options": {
|
|
204
|
+
"collapsed": false,
|
|
205
|
+
"detail": {
|
|
206
|
+
"type": "Group",
|
|
207
|
+
"elements": [
|
|
208
|
+
{
|
|
209
|
+
"type": "Control",
|
|
210
|
+
"scope": "#/properties/name",
|
|
211
|
+
"label": "Member name",
|
|
212
|
+
"i18n": "dynamicAdvanced.memberName"
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"label": "Member detail",
|
|
216
|
+
"i18n": "dynamicAdvanced.memberDetail"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"i18n": "dynamicAdvanced.members",
|
|
220
|
+
"$dynamic": [
|
|
221
|
+
{
|
|
222
|
+
"overlay": {
|
|
223
|
+
"options": {
|
|
224
|
+
"detail": {
|
|
225
|
+
"elements": [
|
|
226
|
+
{
|
|
227
|
+
"type": "Control",
|
|
228
|
+
"scope": "#/properties/name",
|
|
229
|
+
"label": "Member name",
|
|
230
|
+
"i18n": "dynamicAdvanced.memberName"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"type": "Label",
|
|
234
|
+
"text": "Ada",
|
|
235
|
+
"$dynamic": {
|
|
236
|
+
"text": {
|
|
237
|
+
"template": "{item.name}"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"i18n": "dynamicAdvanced.memberNameValue"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"type": "Label",
|
|
244
|
+
"text": "Renderer path",
|
|
245
|
+
"i18n": "dynamicAdvanced.rendererPath"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"type": "Label",
|
|
249
|
+
"text": "/",
|
|
250
|
+
"$dynamic": {
|
|
251
|
+
"text": {
|
|
252
|
+
"bind": "path"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"i18n": "dynamicAdvanced.pathValue"
|
|
256
|
+
}
|
|
257
|
+
]
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"when": {
|
|
264
|
+
"expression": "external.settings.wholeMemberDetail == true"
|
|
265
|
+
},
|
|
266
|
+
"overlay": {
|
|
267
|
+
"options": {
|
|
268
|
+
"detail": {
|
|
269
|
+
"literal": {
|
|
270
|
+
"type": "VerticalLayout",
|
|
271
|
+
"elements": [
|
|
272
|
+
{
|
|
273
|
+
"type": "Control",
|
|
274
|
+
"scope": "#/properties/name",
|
|
275
|
+
"label": "Member name",
|
|
276
|
+
"i18n": "dynamicAdvanced.memberName"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"type": "Label",
|
|
280
|
+
"text": "Ada",
|
|
281
|
+
"$dynamic": {
|
|
282
|
+
"text": {
|
|
283
|
+
"template": "{item.name}"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"i18n": "dynamicAdvanced.memberNameValue"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"type": "Label",
|
|
290
|
+
"text": "Renderer path",
|
|
291
|
+
"i18n": "dynamicAdvanced.rendererPath"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"type": "Label",
|
|
295
|
+
"text": "/",
|
|
296
|
+
"$dynamic": {
|
|
297
|
+
"text": {
|
|
298
|
+
"bind": "path"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"i18n": "dynamicAdvanced.pathValue"
|
|
302
|
+
}
|
|
303
|
+
]
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
]
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"type": "Group",
|
|
313
|
+
"label": "Extra fields",
|
|
314
|
+
"elements": [
|
|
315
|
+
{
|
|
316
|
+
"type": "Label",
|
|
317
|
+
"text": "Turn on Show extra field",
|
|
318
|
+
"i18n": "dynamicAdvanced.extraPrompt"
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"$dynamic": [
|
|
322
|
+
{
|
|
323
|
+
"when": {
|
|
324
|
+
"expression": "external.settings.flatLayout"
|
|
325
|
+
},
|
|
326
|
+
"overlay": {
|
|
327
|
+
"type": "VerticalLayout"
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"when": {
|
|
332
|
+
"expression": "external.settings.showExtra"
|
|
333
|
+
},
|
|
334
|
+
"overlay": {
|
|
335
|
+
"elements": [
|
|
336
|
+
{
|
|
337
|
+
"type": "Label",
|
|
338
|
+
"text": "Extra field is available",
|
|
339
|
+
"i18n": "dynamicAdvanced.extraAvailable"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"type": "Control",
|
|
343
|
+
"scope": "#/properties/alternate",
|
|
344
|
+
"label": "Extra name",
|
|
345
|
+
"i18n": "dynamicAdvanced.extraName"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"type": "Label",
|
|
349
|
+
"text": "Ada",
|
|
350
|
+
"$dynamic": {
|
|
351
|
+
"text": {
|
|
352
|
+
"template": "{data.name}"
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"i18n": "dynamicAdvanced.documentNameValue"
|
|
356
|
+
}
|
|
357
|
+
]
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
],
|
|
361
|
+
"i18n": "dynamicAdvanced.extraFields"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"type": "Label",
|
|
365
|
+
"text": "Locale",
|
|
366
|
+
"i18n": "dynamicAdvanced.locale"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"type": "Label",
|
|
370
|
+
"text": "en",
|
|
371
|
+
"$dynamic": {
|
|
372
|
+
"text": {
|
|
373
|
+
"bind": "locale"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
"i18n": "dynamicAdvanced.localeValue"
|
|
377
|
+
}
|
|
378
|
+
]
|
|
379
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// Ordinary UI-schema alternative for this fixture only; not a $dynamic resolver.
|
|
2
|
+
// Call once per mounted preview. Pass immutable authored UI and settings snapshots.
|
|
3
|
+
export function createPreviewUiSchema(authored) {
|
|
4
|
+
let previous = authored;
|
|
5
|
+
let previousLabel;
|
|
6
|
+
let previousCustomLabel;
|
|
7
|
+
let previousReadonly;
|
|
8
|
+
let previousRadio;
|
|
9
|
+
let previousCompact;
|
|
10
|
+
let initialized = false;
|
|
11
|
+
return (settings) => {
|
|
12
|
+
const base = authored.elements[1];
|
|
13
|
+
const customLabel = typeof settings?.label === 'string' && settings.label.length > 0;
|
|
14
|
+
const label = customLabel ? settings.label : base.label;
|
|
15
|
+
const readonly = typeof settings?.readonly === 'boolean' ? settings.readonly : undefined;
|
|
16
|
+
const radio = settings?.presentation === 'radio';
|
|
17
|
+
const compact = settings?.compact === true;
|
|
18
|
+
if (initialized && customLabel === previousCustomLabel && label === previousLabel && readonly === previousReadonly && radio === previousRadio && compact === previousCompact) return previous;
|
|
19
|
+
const options = { ...base.options };
|
|
20
|
+
if (readonly !== undefined) options.readonly = readonly;
|
|
21
|
+
if (radio) options.format = 'radio';
|
|
22
|
+
const control = { ...base, label, i18n: customLabel ? 'dynamicPlayground.boundPlanText' : base.i18n };
|
|
23
|
+
if (Object.keys(options).length) control.options = options;
|
|
24
|
+
previous = {
|
|
25
|
+
...authored,
|
|
26
|
+
options: { ...authored.options, gap: compact ? 8 : 24 },
|
|
27
|
+
elements: authored.elements.map((element, index) => index === 1 ? control : element),
|
|
28
|
+
};
|
|
29
|
+
previousLabel = label;
|
|
30
|
+
previousCustomLabel = customLabel;
|
|
31
|
+
previousReadonly = readonly;
|
|
32
|
+
previousRadio = radio;
|
|
33
|
+
previousCompact = compact;
|
|
34
|
+
initialized = true;
|
|
35
|
+
return previous;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"name": {
|
|
5
|
+
"type": "string",
|
|
6
|
+
"minLength": 2
|
|
7
|
+
},
|
|
8
|
+
"plan": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"enum": [
|
|
11
|
+
"basic",
|
|
12
|
+
"pro"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"alternate": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"amount": {
|
|
19
|
+
"type": "number",
|
|
20
|
+
"minimum": 0,
|
|
21
|
+
"maximum": 100,
|
|
22
|
+
"default": 10
|
|
23
|
+
},
|
|
24
|
+
"mode": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"enum": [
|
|
27
|
+
"normal",
|
|
28
|
+
"hide"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"members": {
|
|
32
|
+
"type": "array",
|
|
33
|
+
"items": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"name": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"name",
|
|
45
|
+
"plan",
|
|
46
|
+
"amount"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"dynamicPlayground.name.label": "Name",
|
|
4
|
+
"dynamicPlayground.plan.label": "Plan",
|
|
5
|
+
"dynamicPlayground.previewLabel.label": "Preview label",
|
|
6
|
+
"dynamicPlayground.previewReadonly.label": "Preview readonly",
|
|
7
|
+
"dynamicPlayground.previewPresentation.label": "Preview presentation",
|
|
8
|
+
"dynamicPlayground.compactSpacing.label": "Compact preview spacing",
|
|
9
|
+
"dynamicAdvanced.configuration.text": "Configuration",
|
|
10
|
+
"dynamicAdvanced.status.noErrors.text": "No core errors",
|
|
11
|
+
"dynamicAdvanced.status.hasErrors.text": "Core errors present",
|
|
12
|
+
"dynamicAdvanced.name.label": "Name",
|
|
13
|
+
"dynamicAdvanced.editName.label": "Edit name",
|
|
14
|
+
"dynamicAdvanced.editAlternate.label": "Edit alternate name",
|
|
15
|
+
"dynamicAdvanced.mode.label": "Mode",
|
|
16
|
+
"dynamicAdvanced.members.label": "Members",
|
|
17
|
+
"dynamicAdvanced.memberName.label": "Member name",
|
|
18
|
+
"dynamicAdvanced.extraFields.label": "Extra fields",
|
|
19
|
+
"dynamicAdvanced.extraPrompt.text": "Turn on Show extra field",
|
|
20
|
+
"dynamicAdvanced.extraAvailable.text": "Extra field is available",
|
|
21
|
+
"dynamicAdvanced.extraName.label": "Extra name",
|
|
22
|
+
"dynamicAdvanced.useSlider.label": "Use slider editor",
|
|
23
|
+
"dynamicAdvanced.flatLayout.label": "Use flat extra layout",
|
|
24
|
+
"dynamicAdvanced.showExtra.label": "Show extra field",
|
|
25
|
+
"dynamicAdvanced.hideName.label": "Hide name when mode is hide",
|
|
26
|
+
"dynamicAdvanced.amountLabel.label": "Amount label",
|
|
27
|
+
"dynamicAdvanced.invalidLabel.label": "Try invalid label binding",
|
|
28
|
+
"dynamicAdvanced.restrictions.enabled.text": "Restrictions enabled",
|
|
29
|
+
"dynamicAdvanced.restrictions.disabled.text": "Restrictions disabled",
|
|
30
|
+
"dynamicAdvanced.rendererPath.text": "Renderer path",
|
|
31
|
+
"dynamicAdvanced.advanced.label": "Advanced",
|
|
32
|
+
"dynamicAdvanced.emptyName.label": "Name (empty)",
|
|
33
|
+
"dynamicAdvanced.locale.text": "Locale",
|
|
34
|
+
"dynamicAdvanced.wholeMemberDetail.label": "Replace whole member detail",
|
|
35
|
+
"dynamicAdvanced.memberDetail.label": "Member detail",
|
|
36
|
+
"dynamicAdvanced.restrictions.unspecified.text": "Restrictions not specified",
|
|
37
|
+
"dynamicAdvanced.amount.label": "Amount"
|
|
38
|
+
},
|
|
39
|
+
"bg": {
|
|
40
|
+
"dynamicPlayground.name.label": "Име",
|
|
41
|
+
"dynamicPlayground.plan.label": "План",
|
|
42
|
+
"dynamicPlayground.previewLabel.label": "Етикет на прегледа",
|
|
43
|
+
"dynamicPlayground.previewReadonly.label": "Преглед само за четене",
|
|
44
|
+
"dynamicPlayground.previewPresentation.label": "Представяне на прегледа",
|
|
45
|
+
"dynamicPlayground.compactSpacing.label": "Компактно разстояние в прегледа",
|
|
46
|
+
"dynamicAdvanced.configuration.text": "Настройки",
|
|
47
|
+
"dynamicAdvanced.status.noErrors.text": "Няма грешки в схемата",
|
|
48
|
+
"dynamicAdvanced.status.hasErrors.text": "Има грешки в схемата",
|
|
49
|
+
"dynamicAdvanced.name.label": "Име",
|
|
50
|
+
"dynamicAdvanced.editName.label": "Редактиране на име",
|
|
51
|
+
"dynamicAdvanced.editAlternate.label": "Редактиране на друго име",
|
|
52
|
+
"dynamicAdvanced.mode.label": "Режим",
|
|
53
|
+
"dynamicAdvanced.members.label": "Членове",
|
|
54
|
+
"dynamicAdvanced.memberName.label": "Име на член",
|
|
55
|
+
"dynamicAdvanced.extraFields.label": "Допълнителни полета",
|
|
56
|
+
"dynamicAdvanced.extraPrompt.text": "Включете допълнителното поле",
|
|
57
|
+
"dynamicAdvanced.extraAvailable.text": "Допълнителното поле е налично",
|
|
58
|
+
"dynamicAdvanced.extraName.label": "Допълнително име",
|
|
59
|
+
"dynamicAdvanced.useSlider.label": "Използвай плъзгач",
|
|
60
|
+
"dynamicAdvanced.flatLayout.label": "Използвай плоско оформление",
|
|
61
|
+
"dynamicAdvanced.showExtra.label": "Покажи допълнително поле",
|
|
62
|
+
"dynamicAdvanced.hideName.label": "Скрий името в режим скриване",
|
|
63
|
+
"dynamicAdvanced.amountLabel.label": "Етикет за сумата",
|
|
64
|
+
"dynamicAdvanced.invalidLabel.label": "Опитай невалидно свързване на етикет",
|
|
65
|
+
"dynamicAdvanced.restrictions.enabled.text": "Ограниченията са включени",
|
|
66
|
+
"dynamicAdvanced.restrictions.disabled.text": "Ограниченията са изключени",
|
|
67
|
+
"dynamicAdvanced.rendererPath.text": "Път на визуализатора",
|
|
68
|
+
"dynamicAdvanced.advanced.label": "Разширени настройки",
|
|
69
|
+
"dynamicAdvanced.emptyName.label": "Име (празно)",
|
|
70
|
+
"dynamicAdvanced.locale.text": "Език",
|
|
71
|
+
"dynamicAdvanced.wholeMemberDetail.label": "Замени всички настройки на детайла",
|
|
72
|
+
"dynamicAdvanced.memberDetail.label": "Детайли за члена",
|
|
73
|
+
"dynamicAdvanced.restrictions.unspecified.text": "Ограниченията не са зададени",
|
|
74
|
+
"dynamicAdvanced.amount.label": "Сума"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "VerticalLayout",
|
|
3
|
+
"options": {
|
|
4
|
+
"gap": 24
|
|
5
|
+
},
|
|
6
|
+
"elements": [
|
|
7
|
+
{
|
|
8
|
+
"type": "Control",
|
|
9
|
+
"scope": "#/properties/name",
|
|
10
|
+
"label": "Name",
|
|
11
|
+
"i18n": "dynamicPlayground.name"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"type": "Control",
|
|
15
|
+
"scope": "#/properties/plan",
|
|
16
|
+
"label": "Plan",
|
|
17
|
+
"i18n": "dynamicPlayground.plan"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "Control",
|
|
21
|
+
"scope": "#/properties/alternate"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "Control",
|
|
25
|
+
"scope": "#/properties/amount"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "Control",
|
|
29
|
+
"scope": "#/properties/mode"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "Control",
|
|
33
|
+
"scope": "#/properties/members"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Editor details
|
|
2
|
+
|
|
3
|
+
Register uischemas.json as trusted host code.
|
|
4
|
+
The generated object shows both fields despite a matching registry entry.
|
|
5
|
+
The mixed object uses its object-detail override to show the note. Switch it to
|
|
6
|
+
String to use string-detail. The layout changes; omitted fields are not deleted.
|
|
7
|
+
Open a table cell to see its REGISTERED editor show only Registered name.
|
|
8
|
+
|
|
9
|
+
These layouts are relative to the value being edited. They do not select tree,
|
|
10
|
+
nested, or code presentation; that is structuredLayout.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"object": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"name": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"note": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"mixed": {
|
|
16
|
+
"type": [
|
|
17
|
+
"object",
|
|
18
|
+
"string"
|
|
19
|
+
],
|
|
20
|
+
"properties": {
|
|
21
|
+
"name": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"note": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"rows": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"properties": {
|
|
34
|
+
"value": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"name": {
|
|
38
|
+
"type": "string"
|
|
39
|
+
},
|
|
40
|
+
"note": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"detailExample.name.label": "Name",
|
|
4
|
+
"detailExample.note.label": "Note",
|
|
5
|
+
"detailExample.value.label": "Value",
|
|
6
|
+
"detailExample.rows.label": "Rows",
|
|
7
|
+
"detailExample.object.label": "Object",
|
|
8
|
+
"detailExample.mixed.label": "Mixed",
|
|
9
|
+
"detailExample.registeredName.label": "Registered name",
|
|
10
|
+
"editorDetail.object.label": "Generated object",
|
|
11
|
+
"editorDetail.mixed.label": "Mixed type layouts",
|
|
12
|
+
"editorDetail.note.label": "Object-specific note",
|
|
13
|
+
"editorDetail.string.text": "String-specific editor"
|
|
14
|
+
},
|
|
15
|
+
"bg": {
|
|
16
|
+
"detailExample.name.label": "Име",
|
|
17
|
+
"detailExample.note.label": "Бележка",
|
|
18
|
+
"detailExample.value.label": "Стойност",
|
|
19
|
+
"detailExample.rows.label": "Редове",
|
|
20
|
+
"detailExample.object.label": "Обект",
|
|
21
|
+
"detailExample.mixed.label": "Смесена стойност",
|
|
22
|
+
"detailExample.registeredName.label": "Регистрирано име",
|
|
23
|
+
"editorDetail.object.label": "Генериран обект",
|
|
24
|
+
"editorDetail.mixed.label": "Изгледи според типа",
|
|
25
|
+
"editorDetail.note.label": "Бележка за обект",
|
|
26
|
+
"editorDetail.string.text": "Редактор за низ"
|
|
27
|
+
}
|
|
28
|
+
}
|