@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": "Categorization",
|
|
3
|
+
"elements": [
|
|
4
|
+
{
|
|
5
|
+
"type": "Category",
|
|
6
|
+
"label": "Interpolation",
|
|
7
|
+
"elements": [
|
|
8
|
+
{
|
|
9
|
+
"type": "Label",
|
|
10
|
+
"i18n": "product",
|
|
11
|
+
"text": "You are subscribed to {product}.",
|
|
12
|
+
"options": {
|
|
13
|
+
"interpolate": true,
|
|
14
|
+
"textParams": {
|
|
15
|
+
"product": "Atlas"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "Label",
|
|
21
|
+
"i18n": "seats",
|
|
22
|
+
"text": "Your plan includes {seats} {seats == 1 ? \"seat\" : \"seats\"}.",
|
|
23
|
+
"options": {
|
|
24
|
+
"interpolate": true,
|
|
25
|
+
"textParams": {
|
|
26
|
+
"seats": "{data.seats}"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"type": "Label",
|
|
32
|
+
"i18n": "promo",
|
|
33
|
+
"text": "Promotional code: {code}",
|
|
34
|
+
"options": {
|
|
35
|
+
"interpolate": true,
|
|
36
|
+
"textParams": {
|
|
37
|
+
"code": "{data.promoCode}"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "Label",
|
|
43
|
+
"i18n": "literal",
|
|
44
|
+
"text": "Write {{seats}} to show a placeholder without resolving it.",
|
|
45
|
+
"options": {
|
|
46
|
+
"interpolate": true
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "Separator"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"type": "HorizontalLayout",
|
|
54
|
+
"elements": [
|
|
55
|
+
{
|
|
56
|
+
"type": "Control",
|
|
57
|
+
"scope": "#/properties/seats"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "Control",
|
|
61
|
+
"scope": "#/properties/promoCode"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "Category",
|
|
69
|
+
"label": "Markdown",
|
|
70
|
+
"elements": [
|
|
71
|
+
{
|
|
72
|
+
"type": "Label",
|
|
73
|
+
"i18n": "renewal",
|
|
74
|
+
"text": "Invoices are issued on the **first working day** of each month. See the [billing terms](https://example.com/billing).",
|
|
75
|
+
"options": {
|
|
76
|
+
"markup": "markdown"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "Category",
|
|
83
|
+
"label": "Both together",
|
|
84
|
+
"elements": [
|
|
85
|
+
{
|
|
86
|
+
"type": "Label",
|
|
87
|
+
"i18n": "summary",
|
|
88
|
+
"text": "**{account}** is on the {plan} plan, and the next invoice is {amount}.",
|
|
89
|
+
"options": {
|
|
90
|
+
"interpolate": true,
|
|
91
|
+
"markup": "markdown",
|
|
92
|
+
"textParams": {
|
|
93
|
+
"account": "{data.customerName}",
|
|
94
|
+
"plan": "{translate(\"plan.\" + data.plan)}",
|
|
95
|
+
"amount": "{currency(data.amountDue, \"EUR\")}"
|
|
96
|
+
},
|
|
97
|
+
"part": "membership-summary prominent",
|
|
98
|
+
"textParamSpans": true
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"type": "Label",
|
|
103
|
+
"i18n": "holder",
|
|
104
|
+
"text": "Account holder: {holder}",
|
|
105
|
+
"options": {
|
|
106
|
+
"interpolate": true,
|
|
107
|
+
"markup": "markdown",
|
|
108
|
+
"textParams": {
|
|
109
|
+
"holder": "{data.displayName}"
|
|
110
|
+
},
|
|
111
|
+
"part": "account-holder",
|
|
112
|
+
"textParamSpans": false
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": "Separator"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"type": "HorizontalLayout",
|
|
120
|
+
"elements": [
|
|
121
|
+
{
|
|
122
|
+
"type": "Control",
|
|
123
|
+
"scope": "#/properties/customerName"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "Control",
|
|
127
|
+
"scope": "#/properties/plan"
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"type": "HorizontalLayout",
|
|
133
|
+
"elements": [
|
|
134
|
+
{
|
|
135
|
+
"type": "Control",
|
|
136
|
+
"scope": "#/properties/amountDue"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"type": "Control",
|
|
140
|
+
"scope": "#/properties/displayName"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"type": "Category",
|
|
148
|
+
"label": "Locale and translation",
|
|
149
|
+
"elements": [
|
|
150
|
+
{
|
|
151
|
+
"type": "Label",
|
|
152
|
+
"i18n": "planName",
|
|
153
|
+
"text": "Your plan is {plan}.",
|
|
154
|
+
"options": {
|
|
155
|
+
"interpolate": true,
|
|
156
|
+
"textParams": {
|
|
157
|
+
"plan": "{translate(\"plan.\" + data.plan)}"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"type": "Label",
|
|
163
|
+
"i18n": "renews",
|
|
164
|
+
"text": "It renews on {renewal}.",
|
|
165
|
+
"options": {
|
|
166
|
+
"interpolate": true,
|
|
167
|
+
"textParams": {
|
|
168
|
+
"renewal": "{date(data.renewalDate)}"
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"type": "Label",
|
|
174
|
+
"i18n": "price",
|
|
175
|
+
"text": "Seat price {price}, or {beforeTax} before tax.",
|
|
176
|
+
"options": {
|
|
177
|
+
"interpolate": true,
|
|
178
|
+
"textParams": {
|
|
179
|
+
"price": "{currency(data.seatPrice, \"EUR\")}",
|
|
180
|
+
"beforeTax": "{number(data.seatPrice, 2)}"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"type": "Label",
|
|
186
|
+
"i18n": "reference",
|
|
187
|
+
"text": "Reference {ref} is not a quantity, so it is not formatted.",
|
|
188
|
+
"options": {
|
|
189
|
+
"interpolate": true,
|
|
190
|
+
"textParams": {
|
|
191
|
+
"ref": "{data.reference}"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"type": "Separator"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"type": "HorizontalLayout",
|
|
200
|
+
"elements": [
|
|
201
|
+
{
|
|
202
|
+
"type": "Control",
|
|
203
|
+
"scope": "#/properties/plan"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "Control",
|
|
207
|
+
"scope": "#/properties/renewalDate"
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"type": "HorizontalLayout",
|
|
213
|
+
"elements": [
|
|
214
|
+
{
|
|
215
|
+
"type": "Control",
|
|
216
|
+
"scope": "#/properties/seatPrice"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "Control",
|
|
220
|
+
"scope": "#/properties/reference"
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": "Category",
|
|
228
|
+
"label": "Interpolation off",
|
|
229
|
+
"elements": [
|
|
230
|
+
{
|
|
231
|
+
"type": "Label",
|
|
232
|
+
"i18n": "offPlain",
|
|
233
|
+
"text": "Without interpolate, {product} and {data.customerName} are just characters."
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"type": "Label",
|
|
237
|
+
"i18n": "offParams",
|
|
238
|
+
"text": "Declared parameters are inert too: {product}.",
|
|
239
|
+
"options": {
|
|
240
|
+
"textParams": {
|
|
241
|
+
"product": "Atlas"
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"type": "Separator"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"type": "Control",
|
|
250
|
+
"scope": "#/properties/customerName"
|
|
251
|
+
}
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"type": "Category",
|
|
256
|
+
"label": "JavaScript names",
|
|
257
|
+
"elements": [
|
|
258
|
+
{
|
|
259
|
+
"type": "Label",
|
|
260
|
+
"i18n": "ctor",
|
|
261
|
+
"text": "A property called constructor: \"{ctor}\".",
|
|
262
|
+
"options": {
|
|
263
|
+
"interpolate": true,
|
|
264
|
+
"textParams": {
|
|
265
|
+
"ctor": "{data.constructor}"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"type": "Label",
|
|
271
|
+
"i18n": "ctorSibling",
|
|
272
|
+
"text": "Its siblings are still readable: \"{account}\".",
|
|
273
|
+
"options": {
|
|
274
|
+
"interpolate": true,
|
|
275
|
+
"textParams": {
|
|
276
|
+
"account": "{data.customerName}"
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"type": "Label",
|
|
282
|
+
"i18n": "tostring",
|
|
283
|
+
"text": "And a property called toString: \"{ts}\".",
|
|
284
|
+
"options": {
|
|
285
|
+
"interpolate": true,
|
|
286
|
+
"textParams": {
|
|
287
|
+
"ts": "{data.toString}"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"type": "Separator"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"type": "HorizontalLayout",
|
|
296
|
+
"elements": [
|
|
297
|
+
{
|
|
298
|
+
"type": "Control",
|
|
299
|
+
"scope": "#/properties/constructor"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"type": "Control",
|
|
303
|
+
"scope": "#/properties/toString"
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"type": "Control",
|
|
309
|
+
"scope": "#/properties/customerName"
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"type": "Category",
|
|
315
|
+
"label": "Incorrect usage",
|
|
316
|
+
"elements": [
|
|
317
|
+
{
|
|
318
|
+
"type": "Label",
|
|
319
|
+
"i18n": "direct",
|
|
320
|
+
"text": "A data path in the text: \"{data.customerName}\".",
|
|
321
|
+
"options": {
|
|
322
|
+
"interpolate": true
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"type": "Label",
|
|
327
|
+
"i18n": "undeclared",
|
|
328
|
+
"text": "A parameter that was never declared: \"{customer}\".",
|
|
329
|
+
"options": {
|
|
330
|
+
"interpolate": true,
|
|
331
|
+
"textParams": {
|
|
332
|
+
"account": "{data.customerName}"
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"type": "Label",
|
|
338
|
+
"i18n": "unknownFn",
|
|
339
|
+
"text": "A function that does not exist: \"{shout(account)}\".",
|
|
340
|
+
"options": {
|
|
341
|
+
"interpolate": true,
|
|
342
|
+
"textParams": {
|
|
343
|
+
"account": "{data.customerName}"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"type": "Label",
|
|
349
|
+
"i18n": "badNamespace",
|
|
350
|
+
"text": "A namespace that does not exist: \"{who}\".",
|
|
351
|
+
"options": {
|
|
352
|
+
"interpolate": true,
|
|
353
|
+
"textParams": {
|
|
354
|
+
"who": "{nowhere.name}"
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"type": "Label",
|
|
360
|
+
"i18n": "reserved",
|
|
361
|
+
"text": "A parameter named after a reserved name: \"{locale}\".",
|
|
362
|
+
"options": {
|
|
363
|
+
"interpolate": true,
|
|
364
|
+
"textParams": {
|
|
365
|
+
"locale": "{data.plan}"
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"type": "Separator"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"type": "Control",
|
|
374
|
+
"scope": "#/properties/customerName"
|
|
375
|
+
}
|
|
376
|
+
]
|
|
377
|
+
}
|
|
378
|
+
]
|
|
379
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# Example: layout sizing
|
|
2
|
+
|
|
3
|
+
**Example ID:** `layout-sizing`\
|
|
4
|
+
**Demo entry:** **Spec: Layout sizing** (`#spec-layout-sizing`)\
|
|
5
|
+
**Domain:** order intake\
|
|
6
|
+
**Specs covered:**
|
|
7
|
+
|
|
8
|
+
- [Layout types and semantics](../../docs/spec.md#6-layout-types-and-sizing)
|
|
9
|
+
- [Wrap, defaults, splitter and Spacer](../../docs/spec.md#6-layout-types-and-sizing)
|
|
10
|
+
- [The layout sizing model](../../docs/spec.md#6-layout-types-and-sizing)
|
|
11
|
+
- [configuration namespacing](../../docs/spec.md#6-layout-types-and-sizing)
|
|
12
|
+
|
|
13
|
+
Sizing lives on **two different elements**, and telling them apart is most of
|
|
14
|
+
the model:
|
|
15
|
+
|
|
16
|
+
| Where | What it configures | Example |
|
|
17
|
+
| --- | --- | --- |
|
|
18
|
+
| `options.layout` on a **child** | how that child participates in its parent | `{ "layout": { "span": 4 } }` |
|
|
19
|
+
| flat `options` on the **layout** | the container itself | `{ "gap": "1rem", "wrap": true }` |
|
|
20
|
+
|
|
21
|
+
"Flat layout options configure immediate children. `options.layout` configures
|
|
22
|
+
child participation."
|
|
23
|
+
|
|
24
|
+
## Files
|
|
25
|
+
|
|
26
|
+
| File | Role |
|
|
27
|
+
| --- | --- |
|
|
28
|
+
| `schema.json` | Thirteen plain properties; the schema is deliberately dull, because the example is about arrangement. |
|
|
29
|
+
| `uischema.json` | Eight rows: span, weight, precedence, a hidden child, a Spacer, wrapping, and the same three children sized twice to contrast span with weight. |
|
|
30
|
+
| `data.json` | Valid throughout — nothing here is about validation. |
|
|
31
|
+
| `config.json` | `jsonformsExtended.layoutDefaults` with `gridColumns`, `gap` and `wrap`. |
|
|
32
|
+
| `translations.json` | English and Bulgarian. |
|
|
33
|
+
|
|
34
|
+
## Expected behaviour
|
|
35
|
+
|
|
36
|
+
### Span, against a grid
|
|
37
|
+
|
|
38
|
+
The first row is 4 / 8 / 4 of a 16-column grid. Widths follow the formula, with
|
|
39
|
+
the gap taken into account:
|
|
40
|
+
|
|
41
|
+
```text
|
|
42
|
+
c = (W - (G - 1) * g) / G
|
|
43
|
+
spanWidth(n) = n * c + (n - 1) * g
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
so a span of 4 with a 1rem gap resolves to `calc(25% - 0.75 * 1rem)`.
|
|
47
|
+
|
|
48
|
+
**Change `gridColumns`.** `config.json` sets 16; an individual layout may
|
|
49
|
+
override it. The resolution order is explicit → `layoutDefaults.gridColumns` →
|
|
50
|
+
renderer default → 16.
|
|
51
|
+
|
|
52
|
+
### Weight, of what is left
|
|
53
|
+
|
|
54
|
+
The second row asks for 2 / 2 / 1, so Origin and Destination each take twice
|
|
55
|
+
Priority's share. **Auto is weight 1** in a horizontal layout, which is why a
|
|
56
|
+
row of plain controls divides evenly — equal shares are a result, not a rule.
|
|
57
|
+
|
|
58
|
+
In a vertical layout Auto means natural height instead, and weight only
|
|
59
|
+
distributes when the parent's height is definite.
|
|
60
|
+
|
|
61
|
+
### Precedence, and constraints
|
|
62
|
+
|
|
63
|
+
**Fixed > Span > Weight > Auto.** The third row pins Priority at 180px and lets
|
|
64
|
+
Notes take the rest, up to `maxWidth: "32rem"`. Min and max are constraints on
|
|
65
|
+
whichever mode won, never modes themselves — a child with both `weight` and
|
|
66
|
+
`maxWidth` still flexes, it just stops growing at the maximum.
|
|
67
|
+
|
|
68
|
+
`minItemWidth` on the row is a **default** minimum, which a child's own
|
|
69
|
+
`minWidth` overrides.
|
|
70
|
+
|
|
71
|
+
### A hidden child leaves layout
|
|
72
|
+
|
|
73
|
+
Tick **Needs approval**. The Approval code control appears — and before it does, it
|
|
74
|
+
consumes nothing: no share, and no gap. "Only effective visible UI-schema
|
|
75
|
+
children participate. Hidden children leave layout."
|
|
76
|
+
|
|
77
|
+
This is worth trying with the box unticked and the row inspected: there are two
|
|
78
|
+
slots, not three-with-one-empty. The previous implementation divided the row by
|
|
79
|
+
`elements.length`, so a hidden child still reserved a column.
|
|
80
|
+
|
|
81
|
+
### Span is absolute; weight is relative
|
|
82
|
+
|
|
83
|
+
The clearest way to see the difference is to take one child away. **Booked by /
|
|
84
|
+
Team / Approved by** appear twice — once at `span` 4 / 8 / 4, once at `weight`
|
|
85
|
+
1 / 2 / 1 — with **Show team** hiding the middle of each.
|
|
86
|
+
|
|
87
|
+
Untick it:
|
|
88
|
+
|
|
89
|
+
| | Before | After |
|
|
90
|
+
| --- | --- | --- |
|
|
91
|
+
| `span` 4 / 8 / 4 | 25% · 50% · 25% | 25% · 25%, **and half the row empty** |
|
|
92
|
+
| `weight` 1 / 2 / 1 | ¼ · ½ · ¼ | ½ · ½ |
|
|
93
|
+
|
|
94
|
+
Both are correct, and the reason is in the wording. Span resolves "against the
|
|
95
|
+
complete logical grid" — the grid stays sixteen columns wide whoever is in it,
|
|
96
|
+
so the survivors keep the four they asked for and the freed eight are simply
|
|
97
|
+
not used. Weight is a share of what is actually there, so it redivides.
|
|
98
|
+
|
|
99
|
+
The hidden child itself leaves entirely either way: no slot, and no gap. What
|
|
100
|
+
differs is whether the space it held is reclaimed.
|
|
101
|
+
|
|
102
|
+
**Which to reach for.** If a row must stay aligned with the rows above and
|
|
103
|
+
below it, use span — a control keeps its column whatever else is showing. If it
|
|
104
|
+
should always fill the width, use weight.
|
|
105
|
+
|
|
106
|
+
### Spacer follows the parent's axis
|
|
107
|
+
|
|
108
|
+
The fifth row separates two controls with `{ "type": "Spacer", "size": 48 }`.
|
|
109
|
+
In a row that is 48px of **width**; the same element in a vertical layout is
|
|
110
|
+
48px of height. `size` is a top-level field, not an option.
|
|
111
|
+
|
|
112
|
+
A Spacer may flex instead: `options.layout.weight` makes it the flexible push
|
|
113
|
+
that drives its neighbours apart.
|
|
114
|
+
|
|
115
|
+
### Wrap
|
|
116
|
+
|
|
117
|
+
The last row sets `wrap: true` with `minItemWidth: "14rem"`. Narrow the window:
|
|
118
|
+
children that no longer fit move to the next line rather than shrinking past
|
|
119
|
+
their minimum. Without `wrap` they would shrink to the minimum and then
|
|
120
|
+
overflow.
|
|
121
|
+
|
|
122
|
+
`justify` is the main axis, `align` the cross axis.
|
|
123
|
+
|
|
124
|
+
## Fallback behaviour
|
|
125
|
+
|
|
126
|
+
| Situation | Result |
|
|
127
|
+
| --- | --- |
|
|
128
|
+
| No `options.layout` on a child | Auto — weight 1 horizontally, natural height vertically. |
|
|
129
|
+
| `gridColumns` unset | `layoutDefaults.gridColumns`, then 16. |
|
|
130
|
+
| `wrap` unset | `layoutDefaults.wrap`, then false. |
|
|
131
|
+
| `gap` unset | `layoutDefaults.gap`, then 0. |
|
|
132
|
+
| `span` above `gridColumns` | Clamped, with a diagnostic. |
|
|
133
|
+
| `span` in a vertical layout | Ignored, with a diagnostic — it does not create a horizontal grid. |
|
|
134
|
+
| `span` not a positive integer, `weight` not finite and positive, a negative dimension | Ignored, with a diagnostic. |
|
|
135
|
+
|
|
136
|
+
## Conformance scope
|
|
137
|
+
|
|
138
|
+
This walkthrough describes the portable contract. Renderer support must be checked
|
|
139
|
+
by a host adapter; the package validates the authored assets, not live UI behavior.
|
|
140
|
+
|
|
141
|
+
## Fixed and automatic widths
|
|
142
|
+
|
|
143
|
+
The final groups collect the older sizing demonstrations: a single quarter,
|
|
144
|
+
a quarter with one or two Auto children, two fixed quarters leaving half the
|
|
145
|
+
row free, an overflowing 12/8/Auto row, and three equally sized Auto children.
|
|
146
|
+
They reuse the same order fields, so changing layout does not change the data
|
|
147
|
+
or its validation. Labels have matching English and Bulgarian translations.
|
|
148
|
+
|
|
149
|
+
## Standalone host setup
|
|
150
|
+
|
|
151
|
+
Load the JSON assets listed in [the catalog](../catalog.json) into a host
|
|
152
|
+
with the relevant renderer capabilities. No framework registration module is
|
|
153
|
+
required by this package.
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
## Feature navigation
|
|
157
|
+
|
|
158
|
+
Explore one feature at a time using the tabs: **Span**, **Weight**, **Sizing precedence**, **Hidden children**, **Spacer**, **Wrapping**, **Conditional columns**, **Fixed and automatic widths**. Tab titles are localized in English and Bulgarian. The tabs share the existing form data.
|
|
159
|
+
|
|
160
|
+
## Consolidated demo coverage
|
|
161
|
+
|
|
162
|
+
Nested presentation applies spans to a Label and a Group as well as ordinary controls.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"reference": "CN-88213",
|
|
3
|
+
"supplier": "Cascade Supplies",
|
|
4
|
+
"weightKg": 1240,
|
|
5
|
+
"origin": "Portland",
|
|
6
|
+
"destination": "Salem",
|
|
7
|
+
"priority": "Standard",
|
|
8
|
+
"notes": "Check in at reception.",
|
|
9
|
+
"needsApproval": false,
|
|
10
|
+
"showTeam": true,
|
|
11
|
+
"bookedBy": "A. Ferreira",
|
|
12
|
+
"teamName": "PLAN-REVIEW nightly",
|
|
13
|
+
"approvedBy": "M. Todorova"
|
|
14
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"title": "Order intake",
|
|
4
|
+
"properties": {
|
|
5
|
+
"reference": {
|
|
6
|
+
"type": "string",
|
|
7
|
+
"title": "Reference"
|
|
8
|
+
},
|
|
9
|
+
"supplier": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"title": "Supplier"
|
|
12
|
+
},
|
|
13
|
+
"weightKg": {
|
|
14
|
+
"type": "number",
|
|
15
|
+
"title": "Weight (kg)"
|
|
16
|
+
},
|
|
17
|
+
"origin": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"title": "Origin"
|
|
20
|
+
},
|
|
21
|
+
"destination": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"title": "Destination"
|
|
24
|
+
},
|
|
25
|
+
"priority": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"title": "Priority"
|
|
28
|
+
},
|
|
29
|
+
"notes": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"title": "Notes"
|
|
32
|
+
},
|
|
33
|
+
"needsApproval": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"title": "Needs approval"
|
|
36
|
+
},
|
|
37
|
+
"approvalCode": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"title": "Approval code"
|
|
40
|
+
},
|
|
41
|
+
"showTeam": {
|
|
42
|
+
"type": "boolean",
|
|
43
|
+
"title": "Show team"
|
|
44
|
+
},
|
|
45
|
+
"bookedBy": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"title": "Booked by"
|
|
48
|
+
},
|
|
49
|
+
"teamName": {
|
|
50
|
+
"type": "string",
|
|
51
|
+
"title": "Team"
|
|
52
|
+
},
|
|
53
|
+
"approvedBy": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"title": "Approved by"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"control.clearValue": "Clear value",
|
|
4
|
+
"quarterOnly.label": "One quarter, unused space",
|
|
5
|
+
"quarterAuto.label": "Fixed plus Auto",
|
|
6
|
+
"quarterTwoAuto.label": "Fixed plus two Auto",
|
|
7
|
+
"unusedHalf.label": "Fixed widths leave unused space",
|
|
8
|
+
"overflow.label": "Overflow wraps in order",
|
|
9
|
+
"equalThirds.label": "All Auto, equal thirds",
|
|
10
|
+
"featureNavigation.section1.label": "Span",
|
|
11
|
+
"featureNavigation.section2.label": "Weight",
|
|
12
|
+
"featureNavigation.section3.label": "Sizing precedence",
|
|
13
|
+
"featureNavigation.section4.label": "Hidden children",
|
|
14
|
+
"featureNavigation.section5.label": "Spacer",
|
|
15
|
+
"featureNavigation.section6.label": "Wrapping",
|
|
16
|
+
"featureNavigation.section7.label": "Conditional columns",
|
|
17
|
+
"featureNavigation.section8.label": "Fixed and automatic widths",
|
|
18
|
+
"nestedSizing.tab.label": "Nested presentation",
|
|
19
|
+
"nestedSizing.label.text": "Quarter-width label",
|
|
20
|
+
"nestedSizing.group.label": "Nested group"
|
|
21
|
+
},
|
|
22
|
+
"bg": {
|
|
23
|
+
"control.clearValue": "Изчистване на стойността",
|
|
24
|
+
"quarterOnly.label": "Една четвърт, свободно място",
|
|
25
|
+
"quarterAuto.label": "Фиксирана и автоматична ширина",
|
|
26
|
+
"quarterTwoAuto.label": "Фиксирана и две автоматични ширини",
|
|
27
|
+
"unusedHalf.label": "Фиксираните ширини оставят свободно място",
|
|
28
|
+
"overflow.label": "Пренасяне на следващ ред",
|
|
29
|
+
"equalThirds.label": "Автоматични равни третини",
|
|
30
|
+
"featureNavigation.section1.label": "Обхват",
|
|
31
|
+
"featureNavigation.section2.label": "Тегло",
|
|
32
|
+
"featureNavigation.section3.label": "Приоритет на размерите",
|
|
33
|
+
"featureNavigation.section4.label": "Скрити елементи",
|
|
34
|
+
"featureNavigation.section5.label": "Отстояние",
|
|
35
|
+
"featureNavigation.section6.label": "Пренасяне",
|
|
36
|
+
"featureNavigation.section7.label": "Условни колони",
|
|
37
|
+
"featureNavigation.section8.label": "Фиксирани и автоматични ширини",
|
|
38
|
+
"nestedSizing.tab.label": "Вложено представяне",
|
|
39
|
+
"nestedSizing.label.text": "Етикет с четвърт ширина",
|
|
40
|
+
"nestedSizing.group.label": "Вложена група"
|
|
41
|
+
}
|
|
42
|
+
}
|