@chobantonov/jsonforms-extended-spec 0.0.0-stage → 0.2.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 +2169 -0
- package/conformance/behavior.json +731 -0
- package/conformance/config-consumption.json +1531 -0
- package/conformance/expected-invalid.json +20 -0
- package/docs/audit.md +150 -0
- package/docs/conditional-fields.md +80 -0
- package/docs/draft-07-visual-support.md +43 -0
- package/docs/external-resources-proposal.md +536 -0
- package/docs/implementation-guide.md +180 -0
- package/docs/implementation-pitfalls.md +802 -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 +8321 -0
- package/docs/todo.md +149 -0
- package/examples/README.md +121 -0
- package/examples/additional-errors/README.md +169 -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 +188 -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 +151 -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 +19 -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 +30 -0
- package/examples/conditional-fields/uischema.json +71 -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 +200 -0
- package/examples/label-interpolation/config.json +8 -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 +375 -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 +77 -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 +327 -0
- package/schemas/jsonforms-extended-uischema.schema.json +1923 -0
- package/schemas/jsonforms-rule.schema.json +104 -0
- package/schemas/jsonforms-uischema.schema.json +1421 -0
- package/typescript/README.md +540 -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 +376 -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 +419 -0
- package/typescript/src/authoring/schemaTypes.ts +143 -0
- package/typescript/src/index.ts +4 -0
- package/typescript/test/schemaContract.test.ts +626 -0
- package/typescript/test/tsconfig.json +10 -0
- package/typescript/test/typedAuthoring.test.ts +140 -0
- package/typescript/test/typedAuthoringCoverage.test.ts +145 -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,575 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "VerticalLayout",
|
|
3
|
+
"elements": [
|
|
4
|
+
{
|
|
5
|
+
"type": "Categorization",
|
|
6
|
+
"elements": [
|
|
7
|
+
{
|
|
8
|
+
"type": "Category",
|
|
9
|
+
"label": "Horizontal radio",
|
|
10
|
+
"i18n": "featureNavigation.section1",
|
|
11
|
+
"elements": [
|
|
12
|
+
{
|
|
13
|
+
"type": "Label",
|
|
14
|
+
"text": "Radio group: horizontal by default, wrapping when it runs out of room"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"type": "Control",
|
|
18
|
+
"scope": "#/properties/processing",
|
|
19
|
+
"options": {
|
|
20
|
+
"format": "radio"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"type": "Category",
|
|
27
|
+
"label": "Vertical radio",
|
|
28
|
+
"i18n": "featureNavigation.section2",
|
|
29
|
+
"elements": [
|
|
30
|
+
{
|
|
31
|
+
"type": "Label",
|
|
32
|
+
"text": "The same control with options.vertical: true"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "Control",
|
|
36
|
+
"scope": "#/properties/workspace",
|
|
37
|
+
"options": {
|
|
38
|
+
"format": "radio",
|
|
39
|
+
"vertical": true
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"type": "Category",
|
|
46
|
+
"label": "Constant choices",
|
|
47
|
+
"i18n": "featureNavigation.section3",
|
|
48
|
+
"elements": [
|
|
49
|
+
{
|
|
50
|
+
"type": "Label",
|
|
51
|
+
"text": "Constant-based oneOf choices, stacked"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"type": "Control",
|
|
55
|
+
"scope": "#/properties/department",
|
|
56
|
+
"options": {
|
|
57
|
+
"format": "radio",
|
|
58
|
+
"vertical": true
|
|
59
|
+
},
|
|
60
|
+
"i18n": "department"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"type": "Category",
|
|
66
|
+
"label": "Value identity",
|
|
67
|
+
"i18n": "featureNavigation.section4",
|
|
68
|
+
"elements": [
|
|
69
|
+
{
|
|
70
|
+
"type": "Label",
|
|
71
|
+
"text": "Value identity and the unselected state"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"type": "Control",
|
|
75
|
+
"scope": "#/properties/priority",
|
|
76
|
+
"options": {
|
|
77
|
+
"format": "radio"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"type": "Control",
|
|
82
|
+
"scope": "#/properties/region",
|
|
83
|
+
"options": {
|
|
84
|
+
"format": "radio"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "Control",
|
|
89
|
+
"scope": "#/properties/supplier",
|
|
90
|
+
"options": {
|
|
91
|
+
"format": "radio"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "Category",
|
|
98
|
+
"label": "Searchable choices",
|
|
99
|
+
"i18n": "featureNavigation.section5",
|
|
100
|
+
"elements": [
|
|
101
|
+
{
|
|
102
|
+
"type": "Label",
|
|
103
|
+
"text": "Searchable finite choices: options.autocomplete"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "Control",
|
|
107
|
+
"scope": "#/properties/origin",
|
|
108
|
+
"options": {
|
|
109
|
+
"autocomplete": true
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"type": "Control",
|
|
114
|
+
"scope": "#/properties/handler",
|
|
115
|
+
"options": {
|
|
116
|
+
"autocomplete": true
|
|
117
|
+
},
|
|
118
|
+
"i18n": "handler"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "Label",
|
|
122
|
+
"text": "The same choices without it, which is this family's default"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "Control",
|
|
126
|
+
"scope": "#/properties/origin"
|
|
127
|
+
}
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"type": "Category",
|
|
132
|
+
"label": "Choice cards",
|
|
133
|
+
"i18n": "cards.navigation",
|
|
134
|
+
"elements": [
|
|
135
|
+
{
|
|
136
|
+
"type": "VerticalLayout",
|
|
137
|
+
"elements": [
|
|
138
|
+
{
|
|
139
|
+
"type": "Label",
|
|
140
|
+
"text": "Select the whole card. Images and rich labels use the existing presentation policy.",
|
|
141
|
+
"i18n": "cards.intro"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"type": "Control",
|
|
145
|
+
"scope": "#/properties/cardDecision",
|
|
146
|
+
"options": {
|
|
147
|
+
"format": "cards",
|
|
148
|
+
"choices": [
|
|
149
|
+
{
|
|
150
|
+
"value": "approve",
|
|
151
|
+
"label": "Approve",
|
|
152
|
+
"i18n": "cards.approve",
|
|
153
|
+
"content": {
|
|
154
|
+
"type": "ImageView",
|
|
155
|
+
"src": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5NiIgaGVpZ2h0PSI3MiIgdmlld0JveD0iMCAwIDk2IDcyIj48cmVjdCB3aWR0aD0iOTYiIGhlaWdodD0iNzIiIHJ4PSIxMiIgZmlsbD0iIzIzNzgwNCIvPjx0ZXh0IHg9IjQ4IiB5PSI1MCIgZm9udC1zaXplPSI0NCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZmlsbD0id2hpdGUiPuKckzwvdGV4dD48L3N2Zz4=",
|
|
156
|
+
"alt": ""
|
|
157
|
+
},
|
|
158
|
+
"selectedContent": {
|
|
159
|
+
"type": "VerticalLayout",
|
|
160
|
+
"elements": [
|
|
161
|
+
{
|
|
162
|
+
"type": "ImageView",
|
|
163
|
+
"src": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5NiIgaGVpZ2h0PSI3MiIgdmlld0JveD0iMCAwIDk2IDcyIj48cmVjdCB3aWR0aD0iOTYiIGhlaWdodD0iNzIiIHJ4PSIxMiIgZmlsbD0iIzEzNTIwMCIvPjx0ZXh0IHg9IjQ4IiB5PSI1MCIgZm9udC1zaXplPSI0NCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZmlsbD0id2hpdGUiPuKckzwvdGV4dD48L3N2Zz4=",
|
|
164
|
+
"alt": ""
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"type": "Label",
|
|
168
|
+
"text": "**Approved** — ready to proceed",
|
|
169
|
+
"i18n": "cards.selected",
|
|
170
|
+
"options": {
|
|
171
|
+
"markup": "markdown"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"value": "decline",
|
|
179
|
+
"label": "Decline",
|
|
180
|
+
"i18n": "cards.decline",
|
|
181
|
+
"content": {
|
|
182
|
+
"type": "ImageView",
|
|
183
|
+
"src": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5NiIgaGVpZ2h0PSI3MiIgdmlld0JveD0iMCAwIDk2IDcyIj48cmVjdCB3aWR0aD0iOTYiIGhlaWdodD0iNzIiIHJ4PSIxMiIgZmlsbD0iI2E4MDcxYSIvPjx0ZXh0IHg9IjQ4IiB5PSI1MCIgZm9udC1zaXplPSI0NCIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZmlsbD0id2hpdGUiPsOXPC90ZXh0Pjwvc3ZnPg==",
|
|
184
|
+
"alt": ""
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"type": "Control",
|
|
192
|
+
"scope": "#/properties/cardLevel",
|
|
193
|
+
"options": {
|
|
194
|
+
"format": "cards",
|
|
195
|
+
"choices": [
|
|
196
|
+
{
|
|
197
|
+
"value": false,
|
|
198
|
+
"label": "Off (boolean false)",
|
|
199
|
+
"i18n": "cards.off",
|
|
200
|
+
"content": {
|
|
201
|
+
"type": "Label",
|
|
202
|
+
"text": "**Off**\n\nNo processing",
|
|
203
|
+
"i18n": "cards.offBody",
|
|
204
|
+
"options": {
|
|
205
|
+
"markup": "markdown"
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"value": 1,
|
|
211
|
+
"label": "One (number)",
|
|
212
|
+
"i18n": "cards.one",
|
|
213
|
+
"selectedContent": {
|
|
214
|
+
"type": "Label",
|
|
215
|
+
"text": "One unit of processing",
|
|
216
|
+
"i18n": "cards.oneBody"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"value": 2,
|
|
221
|
+
"label": "Two — unavailable",
|
|
222
|
+
"i18n": "cards.two",
|
|
223
|
+
"disabled": true
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"type": "Control",
|
|
230
|
+
"scope": "#/properties/cardAutomatic",
|
|
231
|
+
"options": {
|
|
232
|
+
"format": "cards",
|
|
233
|
+
"showRadio": true
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"type": "Category",
|
|
242
|
+
"label": "Card branch forms",
|
|
243
|
+
"i18n": "cards.branches",
|
|
244
|
+
"elements": [
|
|
245
|
+
{
|
|
246
|
+
"type": "VerticalLayout",
|
|
247
|
+
"elements": [
|
|
248
|
+
{
|
|
249
|
+
"type": "Label",
|
|
250
|
+
"text": "Choose a contact method, then complete its form. Email has explicit detail; postal mail uses generated detail.",
|
|
251
|
+
"i18n": "cards.branchIntro"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"type": "Control",
|
|
255
|
+
"scope": "#/properties/cardContact",
|
|
256
|
+
"options": {
|
|
257
|
+
"format": "cards",
|
|
258
|
+
"choices": [
|
|
259
|
+
{
|
|
260
|
+
"label": "Email",
|
|
261
|
+
"i18n": "cards.contact0",
|
|
262
|
+
"content": {
|
|
263
|
+
"type": "Label",
|
|
264
|
+
"text": "Send electronically",
|
|
265
|
+
"i18n": "cards.contactBody0"
|
|
266
|
+
},
|
|
267
|
+
"branch": 0,
|
|
268
|
+
"detail": {
|
|
269
|
+
"type": "VerticalLayout",
|
|
270
|
+
"elements": [
|
|
271
|
+
{
|
|
272
|
+
"type": "Control",
|
|
273
|
+
"scope": "#/properties/address",
|
|
274
|
+
"i18n": "cards.address"
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"label": "Postal mail",
|
|
281
|
+
"i18n": "cards.contact1",
|
|
282
|
+
"content": {
|
|
283
|
+
"type": "Label",
|
|
284
|
+
"text": "Deliver to a street address",
|
|
285
|
+
"i18n": "cards.contactBody1"
|
|
286
|
+
},
|
|
287
|
+
"branch": 1
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"confirmation": {
|
|
291
|
+
"branchChange": "complex"
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
]
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"type": "Category",
|
|
301
|
+
"label": "Card detail modes",
|
|
302
|
+
"i18n": "cards.detailModes",
|
|
303
|
+
"elements": [
|
|
304
|
+
{
|
|
305
|
+
"type": "Label",
|
|
306
|
+
"text": "Compare the same contact using generated and registered details. Email has a matching registry layout; postal mail demonstrates registry fallback. Both controls edit the same value.",
|
|
307
|
+
"i18n": "cards.detailModesIntro"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"type": "Group",
|
|
311
|
+
"label": "Generated contact details",
|
|
312
|
+
"i18n": "cards.detailGENERATE",
|
|
313
|
+
"elements": [
|
|
314
|
+
{
|
|
315
|
+
"type": "Control",
|
|
316
|
+
"scope": "#/properties/cardContact",
|
|
317
|
+
"options": {
|
|
318
|
+
"format": "cards",
|
|
319
|
+
"confirmation": {
|
|
320
|
+
"branchChange": "complex"
|
|
321
|
+
},
|
|
322
|
+
"choices": [
|
|
323
|
+
{
|
|
324
|
+
"branch": 0,
|
|
325
|
+
"detail": "GENERATE"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"branch": 1,
|
|
329
|
+
"detail": "GENERATE"
|
|
330
|
+
}
|
|
331
|
+
]
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
]
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"type": "Group",
|
|
338
|
+
"label": "Registered contact details",
|
|
339
|
+
"i18n": "cards.detailREGISTERED",
|
|
340
|
+
"elements": [
|
|
341
|
+
{
|
|
342
|
+
"type": "Control",
|
|
343
|
+
"scope": "#/properties/cardContact",
|
|
344
|
+
"options": {
|
|
345
|
+
"format": "cards",
|
|
346
|
+
"confirmation": {
|
|
347
|
+
"branchChange": "complex"
|
|
348
|
+
},
|
|
349
|
+
"choices": [
|
|
350
|
+
{
|
|
351
|
+
"branch": 0,
|
|
352
|
+
"detail": "REGISTERED"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"branch": 1,
|
|
356
|
+
"detail": "REGISTERED"
|
|
357
|
+
}
|
|
358
|
+
]
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
]
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"type": "Category",
|
|
367
|
+
"label": "Branch switch without prompt",
|
|
368
|
+
"i18n": "cards.noPrompt",
|
|
369
|
+
"elements": [
|
|
370
|
+
{
|
|
371
|
+
"type": "VerticalLayout",
|
|
372
|
+
"elements": [
|
|
373
|
+
{
|
|
374
|
+
"type": "Label",
|
|
375
|
+
"text": "Switching replaces branch data immediately. This control overrides the confirmation policy.",
|
|
376
|
+
"i18n": "cards.noPromptIntro"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"type": "Control",
|
|
380
|
+
"scope": "#/properties/cardContact",
|
|
381
|
+
"options": {
|
|
382
|
+
"format": "cards",
|
|
383
|
+
"choices": [
|
|
384
|
+
{
|
|
385
|
+
"label": "Email",
|
|
386
|
+
"i18n": "cards.contact0",
|
|
387
|
+
"content": {
|
|
388
|
+
"type": "Label",
|
|
389
|
+
"text": "Send electronically",
|
|
390
|
+
"i18n": "cards.contactBody0"
|
|
391
|
+
},
|
|
392
|
+
"branch": 0,
|
|
393
|
+
"detail": {
|
|
394
|
+
"type": "VerticalLayout",
|
|
395
|
+
"elements": [
|
|
396
|
+
{
|
|
397
|
+
"type": "Control",
|
|
398
|
+
"scope": "#/properties/address",
|
|
399
|
+
"i18n": "cards.address"
|
|
400
|
+
}
|
|
401
|
+
]
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"label": "Postal mail",
|
|
406
|
+
"i18n": "cards.contact1",
|
|
407
|
+
"content": {
|
|
408
|
+
"type": "Label",
|
|
409
|
+
"text": "Deliver to a street address",
|
|
410
|
+
"i18n": "cards.contactBody1"
|
|
411
|
+
},
|
|
412
|
+
"branch": 1
|
|
413
|
+
}
|
|
414
|
+
],
|
|
415
|
+
"confirmation": {
|
|
416
|
+
"branchChange": "never"
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
}
|
|
422
|
+
]
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"type": "Category",
|
|
426
|
+
"label": "Card validation",
|
|
427
|
+
"i18n": "cards.validation",
|
|
428
|
+
"elements": [
|
|
429
|
+
{
|
|
430
|
+
"type": "VerticalLayout",
|
|
431
|
+
"elements": [
|
|
432
|
+
{
|
|
433
|
+
"type": "Label",
|
|
434
|
+
"text": "Choose a required value, correct an imported choice, and fix an invalid email in the selected branch.",
|
|
435
|
+
"i18n": "cards.validationIntro"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"type": "Control",
|
|
439
|
+
"scope": "#/properties/requiredCardDecision",
|
|
440
|
+
"i18n": "cards.requiredDecision",
|
|
441
|
+
"options": {
|
|
442
|
+
"format": "cards",
|
|
443
|
+
"choices": [
|
|
444
|
+
{
|
|
445
|
+
"value": "approve",
|
|
446
|
+
"label": "Approve",
|
|
447
|
+
"i18n": "cards.approve"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"value": "decline",
|
|
451
|
+
"label": "Decline",
|
|
452
|
+
"i18n": "cards.decline"
|
|
453
|
+
}
|
|
454
|
+
]
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"type": "Control",
|
|
459
|
+
"scope": "#/properties/invalidCardDecision",
|
|
460
|
+
"i18n": "cards.invalidDecision",
|
|
461
|
+
"options": {
|
|
462
|
+
"format": "cards",
|
|
463
|
+
"choices": [
|
|
464
|
+
{
|
|
465
|
+
"value": "approve",
|
|
466
|
+
"label": "Approve",
|
|
467
|
+
"i18n": "cards.approve"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"value": "decline",
|
|
471
|
+
"label": "Decline",
|
|
472
|
+
"i18n": "cards.decline"
|
|
473
|
+
}
|
|
474
|
+
]
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"type": "Control",
|
|
479
|
+
"scope": "#/properties/invalidCardContact",
|
|
480
|
+
"options": {
|
|
481
|
+
"format": "cards",
|
|
482
|
+
"choices": [
|
|
483
|
+
{
|
|
484
|
+
"label": "Email",
|
|
485
|
+
"i18n": "cards.contact0",
|
|
486
|
+
"content": {
|
|
487
|
+
"type": "Label",
|
|
488
|
+
"text": "Send electronically",
|
|
489
|
+
"i18n": "cards.contactBody0"
|
|
490
|
+
},
|
|
491
|
+
"branch": 0,
|
|
492
|
+
"detail": {
|
|
493
|
+
"type": "VerticalLayout",
|
|
494
|
+
"elements": [
|
|
495
|
+
{
|
|
496
|
+
"type": "Control",
|
|
497
|
+
"scope": "#/properties/address",
|
|
498
|
+
"i18n": "cards.invalidAddress"
|
|
499
|
+
}
|
|
500
|
+
]
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"label": "Postal mail",
|
|
505
|
+
"i18n": "cards.contact1",
|
|
506
|
+
"content": {
|
|
507
|
+
"type": "Label",
|
|
508
|
+
"text": "Deliver to a street address",
|
|
509
|
+
"i18n": "cards.contactBody1"
|
|
510
|
+
},
|
|
511
|
+
"branch": 1
|
|
512
|
+
}
|
|
513
|
+
],
|
|
514
|
+
"confirmation": {
|
|
515
|
+
"branchChange": "complex"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
"i18n": "cards.invalidContact"
|
|
519
|
+
}
|
|
520
|
+
]
|
|
521
|
+
}
|
|
522
|
+
]
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"type": "Category",
|
|
526
|
+
"label": "Object and array choices",
|
|
527
|
+
"i18n": "compositeChoices.navigation",
|
|
528
|
+
"elements": [
|
|
529
|
+
{
|
|
530
|
+
"type": "VerticalLayout",
|
|
531
|
+
"elements": [
|
|
532
|
+
{
|
|
533
|
+
"type": "Label",
|
|
534
|
+
"text": "These choices store complete objects and arrays. Initial JSON values must appear selected. Edit, save, and reload the data: matching uses content rather than JavaScript object identity.",
|
|
535
|
+
"i18n": "compositeChoices.intro"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"type": "Control",
|
|
539
|
+
"scope": "#/properties/objectDropdown",
|
|
540
|
+
"i18n": "compositeChoices.objectDropdown"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"type": "Control",
|
|
544
|
+
"scope": "#/properties/objectRadio",
|
|
545
|
+
"i18n": "compositeChoices.objectRadio",
|
|
546
|
+
"options": {
|
|
547
|
+
"format": "radio"
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"type": "Control",
|
|
552
|
+
"scope": "#/properties/arrayDropdown",
|
|
553
|
+
"i18n": "compositeChoices.arrayDropdown"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"type": "Control",
|
|
557
|
+
"scope": "#/properties/arrayRadio",
|
|
558
|
+
"i18n": "compositeChoices.arrayRadio",
|
|
559
|
+
"options": {
|
|
560
|
+
"format": "radio"
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"type": "Control",
|
|
565
|
+
"scope": "#/properties/compositeRows",
|
|
566
|
+
"i18n": "compositeChoices.rows"
|
|
567
|
+
}
|
|
568
|
+
]
|
|
569
|
+
}
|
|
570
|
+
]
|
|
571
|
+
}
|
|
572
|
+
]
|
|
573
|
+
}
|
|
574
|
+
]
|
|
575
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"match": {
|
|
4
|
+
"rank": 10,
|
|
5
|
+
"schemaPath": "#/properties/cardContact",
|
|
6
|
+
"schemaPointer": "/properties/address/format",
|
|
7
|
+
"equals": "email"
|
|
8
|
+
},
|
|
9
|
+
"uischema": {
|
|
10
|
+
"type": "Control",
|
|
11
|
+
"scope": "#/properties/address",
|
|
12
|
+
"label": "Registered email address",
|
|
13
|
+
"i18n": "cards.registeredAddress"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
]
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Code editor
|
|
2
|
+
|
|
3
|
+
**Example ID:** `code-editor` · **Domain:** Deployment assets
|
|
4
|
+
|
|
5
|
+
Covers the [portable UI model, the renderer contract — Monaco](../../docs/spec.md#1826-code-editor-profile): language selection, editor dimensions, initialization actions and JSON conversion.
|
|
6
|
+
|
|
7
|
+
## Files
|
|
8
|
+
|
|
9
|
+
| File | Purpose |
|
|
10
|
+
| ------------------- | ---------------------------------------------------------------- |
|
|
11
|
+
| `schema.json` | Two strings and a structured deployment object. |
|
|
12
|
+
| `uischema.json` | Growing and fixed editors, formatting actions and `convertJson`. |
|
|
13
|
+
| `data.json` | Valid script, markup and deployment settings. |
|
|
14
|
+
| `translations.json` | English and Bulgarian labels and guidance. |
|
|
15
|
+
| the host registration | Registers the example. |
|
|
16
|
+
|
|
17
|
+
No global config or detail UI schema is required.
|
|
18
|
+
|
|
19
|
+
## What the form contains
|
|
20
|
+
|
|
21
|
+
```text
|
|
22
|
+
Startup script JavaScript, grows from 2 to 10 rows
|
|
23
|
+
Status page HTML, fixed 10 rows
|
|
24
|
+
Deployment settings JSON, fixed 8 rows, stored as an object
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
`monaco.initActions` requests `editor.action.formatDocument` on editor mount.
|
|
28
|
+
An action can run only when the editor and its language service provide it.
|
|
29
|
+
|
|
30
|
+
## Validation state
|
|
31
|
+
|
|
32
|
+
The initial data has **no schema errors** under the demo validator. Schema
|
|
33
|
+
validation does not parse the JavaScript or HTML strings. Deployment settings
|
|
34
|
+
require `service` and `replicas`, with at least one replica.
|
|
35
|
+
|
|
36
|
+
## Expected behavior
|
|
37
|
+
|
|
38
|
+
Add lines to the startup script: `autoGrow`, `minRows` and `maxRows` control
|
|
39
|
+
its height. The status page keeps its configured row count. Formatting changes
|
|
40
|
+
the editor presentation without changing the chosen storage type.
|
|
41
|
+
|
|
42
|
+
Edit deployment settings and inspect the data pane: with `language: "json"`
|
|
43
|
+
and `convertJson: true`, valid JSON commits a structured value. Invalid JSON
|
|
44
|
+
remains an editor draft and must not replace the last committed object. A
|
|
45
|
+
syntactically valid object with `replicas: 0` commits and produces a schema
|
|
46
|
+
error; syntax validity and schema validity are separate.
|
|
47
|
+
|
|
48
|
+
See [Additional errors](../additional-errors) for dynamic `:language`,
|
|
49
|
+
`propagateErrors`, editor diagnostics and coexistence with server errors.
|
|
50
|
+
Those cases stay together because they demonstrate error ownership.
|
|
51
|
+
|
|
52
|
+
## Fallback behavior
|
|
53
|
+
|
|
54
|
+
Without `convertJson`, string editors store text. Without `autoGrow`, row
|
|
55
|
+
sizing is fixed. Unknown initialization actions cannot be assumed to run.
|
|
56
|
+
Without an editor renderer, a fallback form cannot demonstrate Monaco sizing
|
|
57
|
+
or diagnostics. Schema validation modes affect displayed schema errors, not
|
|
58
|
+
whether JSON can be parsed.
|
|
59
|
+
|
|
60
|
+
## Conformance scope
|
|
61
|
+
|
|
62
|
+
This walkthrough describes the portable contract. Renderer support must be checked
|
|
63
|
+
by a host adapter; the package validates the authored assets, not live UI behavior.
|
|
64
|
+
|
|
65
|
+
## Standalone host setup
|
|
66
|
+
|
|
67
|
+
Load the JSON assets listed in [the catalog](../catalog.json) into a host
|
|
68
|
+
with the relevant renderer capabilities. No framework registration module is
|
|
69
|
+
required by this package.
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
## Feature navigation
|
|
73
|
+
|
|
74
|
+
Explore one feature at a time using the tabs: **Script**, **Markup**, **Structured document**. Tab titles are localized in English and Bulgarian. The tabs share the existing form data.
|