@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,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"additionalProperties.title": "Additional properties",
|
|
4
|
+
"additionalProperties.namePlaceholder": "Property name",
|
|
5
|
+
"additionalProperties.add": "Add property",
|
|
6
|
+
"additionalProperties.addTo": "Add property to {label}",
|
|
7
|
+
"additionalProperties.rename": "Rename property",
|
|
8
|
+
"additionalProperties.renameNamed": "Rename {name}",
|
|
9
|
+
"additionalProperties.renameTitle": "Rename property",
|
|
10
|
+
"additionalProperties.renameConfirm": "Rename",
|
|
11
|
+
"additionalProperties.delete": "Delete property",
|
|
12
|
+
"additionalProperties.deleteNamed": "Delete {name}",
|
|
13
|
+
"additionalProperties.deleteBlocked": "The schema requires this property to remain.",
|
|
14
|
+
"additionalProperties.nameRequired": "Enter a property name.",
|
|
15
|
+
"additionalProperties.nameTaken": "'{name}' is already defined.",
|
|
16
|
+
"additionalProperties.nameInvalid": "'{name}' is not a permitted property name here.",
|
|
17
|
+
"error.minLength": "Use at least {limit} characters.",
|
|
18
|
+
"error.propertyNames": "This key is not permitted here.",
|
|
19
|
+
"featureNavigation.section1.label": "Dynamic properties",
|
|
20
|
+
"featureNavigation.section2.label": "Imported keys",
|
|
21
|
+
"featureNavigation.section3.label": "Option overrides",
|
|
22
|
+
"featureNavigation.staticAndDynamic.label": "Static and dynamic properties",
|
|
23
|
+
"detailExample.labels.label": "Inventory labels",
|
|
24
|
+
"detailExample.labels.description": "Free-form key/value labels attached to the inventory.",
|
|
25
|
+
"detailExample.telemetry.label": "Telemetry readings",
|
|
26
|
+
"detailExample.telemetry.description": "Sensor identifiers are constrained by propertyNames.",
|
|
27
|
+
"detailExample.headers.label": "Supplier headers",
|
|
28
|
+
"detailExample.headers.description": "Only the names the patterns admit; nothing else is allowed.",
|
|
29
|
+
"detailExample.annotations.label": "Imported annotations",
|
|
30
|
+
"detailExample.annotations.description": "Keys as the upstream system wrote them.",
|
|
31
|
+
"detailExample.quota.label": "Required quota entries",
|
|
32
|
+
"detailExample.quota.description": "minProperties keeps at least two entries under restrict.",
|
|
33
|
+
"detailExample.inventory.label": "Inventory details",
|
|
34
|
+
"detailExample.reference.label": "Reference",
|
|
35
|
+
"detailExample.quantity.label": "Quantity",
|
|
36
|
+
"Dynamic properties: what a key may be called, and how each one is edited.": "Dynamic properties: what a key may be called, and how each one is edited.",
|
|
37
|
+
"Keys that arrived from elsewhere": "Keys that arrived from elsewhere",
|
|
38
|
+
"An element option overriding the global default": "An element option overriding the global default",
|
|
39
|
+
"Reference and quantity are defined in the schema. Warehouse and handling are additional properties that can be renamed or removed.": "Reference and quantity are defined in the schema. Warehouse and handling are additional properties that can be renamed or removed."
|
|
40
|
+
},
|
|
41
|
+
"bg": {
|
|
42
|
+
"additionalProperties.title": "Допълнителни свойства",
|
|
43
|
+
"additionalProperties.namePlaceholder": "Име на свойство",
|
|
44
|
+
"additionalProperties.add": "Добавяне на свойство",
|
|
45
|
+
"additionalProperties.addTo": "Добавяне на свойство към {label}",
|
|
46
|
+
"additionalProperties.rename": "Преименуване на свойство",
|
|
47
|
+
"additionalProperties.renameNamed": "Преименуване на {name}",
|
|
48
|
+
"additionalProperties.renameTitle": "Преименуване на свойство",
|
|
49
|
+
"additionalProperties.renameConfirm": "Преименуване",
|
|
50
|
+
"additionalProperties.delete": "Изтриване на свойство",
|
|
51
|
+
"additionalProperties.deleteNamed": "Изтриване на {name}",
|
|
52
|
+
"additionalProperties.deleteBlocked": "Схемата изисква това свойство да остане.",
|
|
53
|
+
"additionalProperties.nameRequired": "Въведете име на свойство.",
|
|
54
|
+
"additionalProperties.nameTaken": "„{name}“ вече е дефинирано.",
|
|
55
|
+
"additionalProperties.nameInvalid": "„{name}“ не е позволено име на свойство тук.",
|
|
56
|
+
"error.minLength": "Използвайте поне {limit} знака.",
|
|
57
|
+
"error.propertyNames": "Този ключ не е позволен тук.",
|
|
58
|
+
"featureNavigation.section1.label": "Динамични свойства",
|
|
59
|
+
"featureNavigation.section2.label": "Импортирани ключове",
|
|
60
|
+
"featureNavigation.section3.label": "Замяна на настройки",
|
|
61
|
+
"featureNavigation.staticAndDynamic.label": "Статични и динамични свойства",
|
|
62
|
+
"detailExample.labels.label": "Етикети на наличностите",
|
|
63
|
+
"detailExample.labels.description": "Свободно зададени имена и стойности за наличностите.",
|
|
64
|
+
"detailExample.telemetry.label": "Телеметрични показания",
|
|
65
|
+
"detailExample.telemetry.description": "Идентификаторите на датчиците са ограничени чрез propertyNames.",
|
|
66
|
+
"detailExample.headers.label": "Заглавки на доставчика",
|
|
67
|
+
"detailExample.headers.description": "Разрешени са само имена, които отговарят на шаблоните.",
|
|
68
|
+
"detailExample.annotations.label": "Импортирани бележки",
|
|
69
|
+
"detailExample.annotations.description": "Имена, записани от външната система.",
|
|
70
|
+
"detailExample.quota.label": "Задължителни записи за квоти",
|
|
71
|
+
"detailExample.quota.description": "При включен restrict minProperties запазва поне два записа.",
|
|
72
|
+
"detailExample.inventory.label": "Данни за наличностите",
|
|
73
|
+
"detailExample.reference.label": "Референция",
|
|
74
|
+
"detailExample.quantity.label": "Количество",
|
|
75
|
+
"Dynamic properties: what a key may be called, and how each one is edited.": "Динамични свойства: допустими имена и редактиране на стойностите.",
|
|
76
|
+
"Keys that arrived from elsewhere": "Имена, получени от външна система",
|
|
77
|
+
"An element option overriding the global default": "Настройка на елемента, която заменя общата стойност по подразбиране",
|
|
78
|
+
"Reference and quantity are defined in the schema. Warehouse and handling are additional properties that can be renamed or removed.": "Референцията и количеството са зададени в схемата. Складът и обработката са допълнителни свойства, които могат да бъдат преименувани или изтрити."
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "VerticalLayout",
|
|
3
|
+
"elements": [
|
|
4
|
+
{
|
|
5
|
+
"type": "Categorization",
|
|
6
|
+
"elements": [
|
|
7
|
+
{
|
|
8
|
+
"type": "Category",
|
|
9
|
+
"label": "Dynamic properties",
|
|
10
|
+
"i18n": "featureNavigation.section1",
|
|
11
|
+
"elements": [
|
|
12
|
+
{
|
|
13
|
+
"type": "VerticalLayout",
|
|
14
|
+
"elements": [
|
|
15
|
+
{
|
|
16
|
+
"type": "Label",
|
|
17
|
+
"text": "Dynamic properties: what a key may be called, and how each one is edited."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "Control",
|
|
21
|
+
"scope": "#/properties/labels",
|
|
22
|
+
"options": {
|
|
23
|
+
"allowEmptyPropertyNames": true
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"type": "Control",
|
|
28
|
+
"scope": "#/properties/telemetry"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"type": "Control",
|
|
32
|
+
"scope": "#/properties/headers"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"type": "Category",
|
|
40
|
+
"label": "Imported keys",
|
|
41
|
+
"i18n": "featureNavigation.section2",
|
|
42
|
+
"elements": [
|
|
43
|
+
{
|
|
44
|
+
"type": "VerticalLayout",
|
|
45
|
+
"elements": [
|
|
46
|
+
{
|
|
47
|
+
"type": "Label",
|
|
48
|
+
"text": "Keys that arrived from elsewhere"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "Control",
|
|
52
|
+
"scope": "#/properties/annotations"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"type": "Category",
|
|
60
|
+
"label": "Option overrides",
|
|
61
|
+
"i18n": "featureNavigation.section3",
|
|
62
|
+
"elements": [
|
|
63
|
+
{
|
|
64
|
+
"type": "VerticalLayout",
|
|
65
|
+
"elements": [
|
|
66
|
+
{
|
|
67
|
+
"type": "Label",
|
|
68
|
+
"text": "An element option overriding the global default"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"type": "Control",
|
|
72
|
+
"scope": "#/properties/quota",
|
|
73
|
+
"options": {
|
|
74
|
+
"allowEmptyPropertyNames": false
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"type": "Category",
|
|
83
|
+
"label": "Static and dynamic properties",
|
|
84
|
+
"i18n": "featureNavigation.staticAndDynamic",
|
|
85
|
+
"elements": [
|
|
86
|
+
{
|
|
87
|
+
"type": "VerticalLayout",
|
|
88
|
+
"elements": [
|
|
89
|
+
{
|
|
90
|
+
"type": "Label",
|
|
91
|
+
"text": "Reference and quantity are defined in the schema. Warehouse and handling are additional properties that can be renamed or removed."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "Control",
|
|
95
|
+
"scope": "#/properties/inventory"
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# AG Grid: portable options and native overrides
|
|
2
|
+
|
|
3
|
+
Twelve applicants demonstrate the same portable collection options in normal tables and AG Grid.
|
|
4
|
+
|
|
5
|
+
| Tab | What to try |
|
|
6
|
+
| --- | --- |
|
|
7
|
+
| Normal table / AG Grid: portable | Compare identical columns, three rows per page from portable options, and the same custom row form. Only renderer selection differs. |
|
|
8
|
+
| Side panel | Select a row, edit immediately, resize the divider, and hide/reopen details. Deletion checkboxes are independent. |
|
|
9
|
+
| Bottom panel | Start collapsed and use Edit details to reveal the bottom pane. |
|
|
10
|
+
| Local pagination | Six rows per page override the config's three. |
|
|
11
|
+
| Native overrides win | Grouped columns reorder Email before Name; experience starts sorted descending. Two rows per page override portable six. |
|
|
12
|
+
| Native pagination off | Explicit native false displays all twelve rows. |
|
|
13
|
+
|
|
14
|
+
`options.columnDefs` controls portable column order and widths. Explicit `agGridOptions.columnDefs` replaces that list as a whole and supports native grouping, sorting and filtering settings. Native pagination properties override their corresponding portable settings individually.
|
|
15
|
+
|
|
16
|
+
`options.rowDetail.detail` specifies the whole applicant form, including Notes, which is omitted from the columns. Dialog edits use Apply/Cancel; panel edits update immediately. Sort or filter the grid and verify details still target the selected applicant.
|
|
17
|
+
|
|
18
|
+
`options.cells.contact.summary` displays the city; `options.cells.contact.detail` edits city and phone in a separate cell dialog. These remain independent of whole-row details.
|
|
19
|
+
|
|
20
|
+
The fixtures use JSON configuration only and require no host callbacks. See docs/spec.md §18.21.1.
|
|
21
|
+
|
|
22
|
+
## Portable settings versus native overrides
|
|
23
|
+
|
|
24
|
+
An AG Grid control accepts the portable settings directly:
|
|
25
|
+
|
|
26
|
+
```json
|
|
27
|
+
{
|
|
28
|
+
"type": "Control",
|
|
29
|
+
"scope": "#/properties/applicants",
|
|
30
|
+
"options": {
|
|
31
|
+
"variant": "ag-grid",
|
|
32
|
+
"pagination": { "pageSize": 6, "pageSizeOptions": [6, 12] },
|
|
33
|
+
"columnDefs": [
|
|
34
|
+
{ "field": "name", "width": 180 },
|
|
35
|
+
{ "field": "email", "width": 240 }
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
This shows six applicants per page, with Name before Email. To override those
|
|
42
|
+
settings, keep them and add this object inside `options`:
|
|
43
|
+
|
|
44
|
+
```json
|
|
45
|
+
{
|
|
46
|
+
"agGridOptions": {
|
|
47
|
+
"paginationPageSize": 2,
|
|
48
|
+
"paginationPageSizeSelector": [2, 4, 12],
|
|
49
|
+
"columnDefs": [
|
|
50
|
+
{ "field": "email", "width": 260 },
|
|
51
|
+
{ "field": "name", "width": 190, "sort": "asc" }
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
The result is **two applicants per page, Email before Name, and native widths**.
|
|
58
|
+
The native list replaces the entire portable column list. The runnable
|
|
59
|
+
**Native overrides win** tab also demonstrates native grouped headers.
|
|
60
|
+
`agGridOptions.pagination: false` overrides portable `pagination: true`, as shown
|
|
61
|
+
in **Native pagination off**. Unspecified native pagination settings retain their
|
|
62
|
+
portable values. Neither override changes `options.rowDetail` or per-cell details.
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
{
|
|
2
|
+
"applicants": [
|
|
3
|
+
{
|
|
4
|
+
"name": "Alex Rivera",
|
|
5
|
+
"email": "alex.rivera@example.com",
|
|
6
|
+
"experience": 1,
|
|
7
|
+
"contact": {
|
|
8
|
+
"city": "Boston",
|
|
9
|
+
"phone": "555-01000"
|
|
10
|
+
},
|
|
11
|
+
"notes": "Available next week."
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "Blair Chen",
|
|
15
|
+
"email": "blair.chen@example.com",
|
|
16
|
+
"experience": 2,
|
|
17
|
+
"contact": {
|
|
18
|
+
"city": "Seattle",
|
|
19
|
+
"phone": "555-01001"
|
|
20
|
+
},
|
|
21
|
+
"notes": "Prefers afternoon interviews."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "Casey Patel",
|
|
25
|
+
"email": "casey.patel@example.com",
|
|
26
|
+
"experience": 3,
|
|
27
|
+
"contact": {
|
|
28
|
+
"city": "Austin",
|
|
29
|
+
"phone": "555-01002"
|
|
30
|
+
},
|
|
31
|
+
"notes": "Portfolio review pending."
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "Drew Morgan",
|
|
35
|
+
"email": "drew.morgan@example.com",
|
|
36
|
+
"experience": 4,
|
|
37
|
+
"contact": {
|
|
38
|
+
"city": "Boston",
|
|
39
|
+
"phone": "555-01003"
|
|
40
|
+
},
|
|
41
|
+
"notes": "Available next week."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "Ellis Kim",
|
|
45
|
+
"email": "ellis.kim@example.com",
|
|
46
|
+
"experience": 5,
|
|
47
|
+
"contact": {
|
|
48
|
+
"city": "Seattle",
|
|
49
|
+
"phone": "555-01004"
|
|
50
|
+
},
|
|
51
|
+
"notes": "Prefers afternoon interviews."
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "Frankie Silva",
|
|
55
|
+
"email": "frankie.silva@example.com",
|
|
56
|
+
"experience": 6,
|
|
57
|
+
"contact": {
|
|
58
|
+
"city": "Austin",
|
|
59
|
+
"phone": "555-01005"
|
|
60
|
+
},
|
|
61
|
+
"notes": "Portfolio review pending."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "Gale Wilson",
|
|
65
|
+
"email": "gale.wilson@example.com",
|
|
66
|
+
"experience": 7,
|
|
67
|
+
"contact": {
|
|
68
|
+
"city": "Boston",
|
|
69
|
+
"phone": "555-01006"
|
|
70
|
+
},
|
|
71
|
+
"notes": "Available next week."
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "Harper Ali",
|
|
75
|
+
"email": "harper.ali@example.com",
|
|
76
|
+
"experience": 8,
|
|
77
|
+
"contact": {
|
|
78
|
+
"city": "Seattle",
|
|
79
|
+
"phone": "555-01007"
|
|
80
|
+
},
|
|
81
|
+
"notes": "Prefers afternoon interviews."
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "Indigo Park",
|
|
85
|
+
"email": "indigo.park@example.com",
|
|
86
|
+
"experience": 1,
|
|
87
|
+
"contact": {
|
|
88
|
+
"city": "Austin",
|
|
89
|
+
"phone": "555-01008"
|
|
90
|
+
},
|
|
91
|
+
"notes": "Portfolio review pending."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "Jordan Reed",
|
|
95
|
+
"email": "jordan.reed@example.com",
|
|
96
|
+
"experience": 2,
|
|
97
|
+
"contact": {
|
|
98
|
+
"city": "Boston",
|
|
99
|
+
"phone": "555-01009"
|
|
100
|
+
},
|
|
101
|
+
"notes": "Available next week."
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "Kai Torres",
|
|
105
|
+
"email": "kai.torres@example.com",
|
|
106
|
+
"experience": 3,
|
|
107
|
+
"contact": {
|
|
108
|
+
"city": "Seattle",
|
|
109
|
+
"phone": "555-01010"
|
|
110
|
+
},
|
|
111
|
+
"notes": "Prefers afternoon interviews."
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "Lane Brooks",
|
|
115
|
+
"email": "lane.brooks@example.com",
|
|
116
|
+
"experience": 4,
|
|
117
|
+
"contact": {
|
|
118
|
+
"city": "Austin",
|
|
119
|
+
"phone": "555-01011"
|
|
120
|
+
},
|
|
121
|
+
"notes": "Portfolio review pending."
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"applicants": {
|
|
5
|
+
"type": "array",
|
|
6
|
+
"title": "Applicants",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"required": [
|
|
10
|
+
"name",
|
|
11
|
+
"email"
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"name": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "Name"
|
|
17
|
+
},
|
|
18
|
+
"email": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"format": "email",
|
|
21
|
+
"title": "Email"
|
|
22
|
+
},
|
|
23
|
+
"experience": {
|
|
24
|
+
"type": "integer",
|
|
25
|
+
"minimum": 0,
|
|
26
|
+
"title": "Years of experience"
|
|
27
|
+
},
|
|
28
|
+
"contact": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"title": "Contact",
|
|
31
|
+
"properties": {
|
|
32
|
+
"city": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"phone": {
|
|
36
|
+
"type": "string"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"notes": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"title": "Interview notes"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"specAgGrid.schema.properties.applicants.label": "Applicants",
|
|
4
|
+
"specAgGrid.schema.properties.applicants.items.properties.name.label": "Name",
|
|
5
|
+
"specAgGrid.schema.properties.applicants.items.properties.email.label": "Email",
|
|
6
|
+
"specAgGrid.schema.properties.applicants.items.properties.experience.label": "Years of experience",
|
|
7
|
+
"specAgGrid.schema.properties.applicants.items.properties.contact.label": "Contact",
|
|
8
|
+
"specAgGrid.schema.properties.applicants.items.properties.notes.label": "Interview notes",
|
|
9
|
+
"specAgGrid.ui.elements.0.label": "Normal table",
|
|
10
|
+
"specAgGrid.ui.elements.0.elements.0.text": "Portable options.pagination shows three applicants per page. Contact has its own cell dialog; Edit details opens the whole applicant, including notes.",
|
|
11
|
+
"specAgGrid.ui.elements.1.label": "AG Grid: portable",
|
|
12
|
+
"specAgGrid.ui.elements.1.elements.0.text": "Portable options.columnDefs and options.pagination specify the same columns and three rows per page as the normal table; no agGridOptions are needed. Only the renderer selection changes. Sort or filter, then open Edit details to inspect the original applicant.",
|
|
13
|
+
"specAgGrid.ui.elements.2.label": "Side panel",
|
|
14
|
+
"specAgGrid.ui.elements.2.elements.0.text": "Select a row to edit it immediately. Resize the divider or hide and reopen the pane. Checkboxes select applicants for deletion independently of the active details.",
|
|
15
|
+
"specAgGrid.ui.elements.3.label": "Bottom panel",
|
|
16
|
+
"specAgGrid.ui.elements.3.elements.0.text": "The pane starts hidden. Edit details opens it below the grid. The form includes notes even though notes are not a grid column.",
|
|
17
|
+
"specAgGrid.ui.elements.4.label": "Local pagination",
|
|
18
|
+
"specAgGrid.ui.elements.4.elements.0.text": "Portable options.pagination overrides the shared config: six applicants per page instead of three.",
|
|
19
|
+
"specAgGrid.ui.elements.5.label": "Native overrides win",
|
|
20
|
+
"specAgGrid.ui.elements.5.elements.0.text": "Native options replace the portable column list with grouped columns and a different order. Native page size is two, overriding portable six and config three. The same row and contact detail forms still apply.",
|
|
21
|
+
"specAgGrid.ui.elements.5.elements.1.options.agGridOptions.columnDefs.0.headerName": "Applicant",
|
|
22
|
+
"specAgGrid.ui.elements.5.elements.1.options.agGridOptions.columnDefs.1.headerName": "Experience (years)",
|
|
23
|
+
"specAgGrid.ui.elements.6.label": "Native pagination off",
|
|
24
|
+
"specAgGrid.ui.elements.6.elements.0.text": "Native pagination:false overrides the configured portable pagination. All twelve applicants appear; portable columns and row details still apply.",
|
|
25
|
+
"city.label": "City",
|
|
26
|
+
"phone.label": "Phone",
|
|
27
|
+
"applicants.contact.city.label": "City",
|
|
28
|
+
"applicants.contact.phone.label": "Phone"
|
|
29
|
+
},
|
|
30
|
+
"bg": {
|
|
31
|
+
"specAgGrid.schema.properties.applicants.label": "Кандидати",
|
|
32
|
+
"specAgGrid.schema.properties.applicants.items.properties.name.label": "Име",
|
|
33
|
+
"specAgGrid.schema.properties.applicants.items.properties.email.label": "Имейл",
|
|
34
|
+
"specAgGrid.schema.properties.applicants.items.properties.experience.label": "Години опит",
|
|
35
|
+
"specAgGrid.schema.properties.applicants.items.properties.contact.label": "Контакт",
|
|
36
|
+
"specAgGrid.schema.properties.applicants.items.properties.notes.label": "Бележки от интервюто",
|
|
37
|
+
"specAgGrid.ui.elements.0.label": "Обикновена таблица",
|
|
38
|
+
"specAgGrid.ui.elements.0.elements.0.text": "Преносимата настройка options.pagination показва трима кандидати на страница. Контактът има собствен диалог за клетката; редактирането на детайли отваря целия кандидат, включително бележките.",
|
|
39
|
+
"specAgGrid.ui.elements.1.label": "AG Grid: преносими настройки",
|
|
40
|
+
"specAgGrid.ui.elements.1.elements.0.text": "Преносимите настройки options.columnDefs и options.pagination задават същите колони и три реда на страница като обикновената таблица; agGridOptions не са необходими. Променя се само изборът на визуализатор. Сортирайте или филтрирайте и отворете детайлите, за да разгледате съответния кандидат.",
|
|
41
|
+
"specAgGrid.ui.elements.2.label": "Страничен панел",
|
|
42
|
+
"specAgGrid.ui.elements.2.elements.0.text": "Изберете ред за незабавно редактиране. Преместете разделителя или скрийте и отворете панела. Полетата за отметка избират кандидати за изтриване независимо от активните детайли.",
|
|
43
|
+
"specAgGrid.ui.elements.3.label": "Долен панел",
|
|
44
|
+
"specAgGrid.ui.elements.3.elements.0.text": "Панелът е скрит в началото. Редактирането на детайли го отваря под таблицата. Формулярът включва бележки, въпреки че те не са колона в таблицата.",
|
|
45
|
+
"specAgGrid.ui.elements.4.label": "Локално странициране",
|
|
46
|
+
"specAgGrid.ui.elements.4.elements.0.text": "Преносимата настройка options.pagination има предимство пред общата конфигурация: шестима кандидати на страница вместо трима.",
|
|
47
|
+
"specAgGrid.ui.elements.5.label": "Настройките на AG Grid имат предимство",
|
|
48
|
+
"specAgGrid.ui.elements.5.elements.0.text": "Настройките на AG Grid заменят преносимия списък с групирани колони в различен ред. Размерът на страницата е два вместо шест от преносимите настройки и три от конфигурацията. Формулярите за детайли на реда и контакта остават същите.",
|
|
49
|
+
"specAgGrid.ui.elements.5.elements.1.options.agGridOptions.columnDefs.0.headerName": "Кандидат",
|
|
50
|
+
"specAgGrid.ui.elements.5.elements.1.options.agGridOptions.columnDefs.1.headerName": "Опит (години)",
|
|
51
|
+
"specAgGrid.ui.elements.6.label": "Страницирането на AG Grid е изключено",
|
|
52
|
+
"specAgGrid.ui.elements.6.elements.0.text": "Настройката pagination:false на AG Grid има предимство пред преносимото странициране. Показват се всички дванадесет кандидати; преносимите колони и детайлите на реда остават приложими.",
|
|
53
|
+
"city.label": "Град",
|
|
54
|
+
"phone.label": "Телефон",
|
|
55
|
+
"applicants.contact.city.label": "Град",
|
|
56
|
+
"applicants.contact.phone.label": "Телефон"
|
|
57
|
+
}
|
|
58
|
+
}
|