@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,210 @@
|
|
|
1
|
+
# Example: destructive-change confirmation
|
|
2
|
+
|
|
3
|
+
**Example ID:** `destructive-confirmation`\
|
|
4
|
+
**Demo entry:** **Spec: Destructive-change confirmation** (`#spec-destructive-confirmation`)\
|
|
5
|
+
**Domain:** project cleanup\
|
|
6
|
+
**Specs covered:**
|
|
7
|
+
|
|
8
|
+
- [Shared destructive-change confirmation](../../docs/spec.md#143-shared-destructive-change-confirmation)
|
|
9
|
+
- [Readonly, restrict and mutation constraints](../../docs/spec.md#143-shared-destructive-change-confirmation)
|
|
10
|
+
- [The confirmation policy](../../docs/spec.md#143-shared-destructive-change-confirmation)
|
|
11
|
+
- [configuration namespacing](../../docs/spec.md#143-shared-destructive-change-confirmation)
|
|
12
|
+
|
|
13
|
+
**Every** renderer that discards data, under **one** policy. The point of the
|
|
14
|
+
example is that confirmation is not a property of a widget: the same `always`
|
|
15
|
+
applies to a table row, a grid selection, a tree node and a dynamic property,
|
|
16
|
+
and one config entry changes all of them.
|
|
17
|
+
|
|
18
|
+
## Files
|
|
19
|
+
|
|
20
|
+
| File | Role |
|
|
21
|
+
| --- | --- |
|
|
22
|
+
| `schema.json` | A dynamic-property object, four array shapes, two mixed values and a `oneOf`. |
|
|
23
|
+
| `uischema.json` | Picks the array renderer per property, and carries one element-level `confirmation` override to show it beating config. |
|
|
24
|
+
| `data.json` | Every control holds something, so every prompt is reachable without building a value first. |
|
|
25
|
+
| `config.json` | `jsonformsExtended.confirmation` — a global `always` with `complex` restored for mixed type changes, which is §14's own worked example. |
|
|
26
|
+
| `translations.json` | English and Bulgarian for all three dialogs. |
|
|
27
|
+
|
|
28
|
+
No `uischemas.json`: the array layout and the list with detail generate their
|
|
29
|
+
own detail forms.
|
|
30
|
+
|
|
31
|
+
## Every covered operation, and where to find it
|
|
32
|
+
|
|
33
|
+
| Operation | Catalog id | Control | Fallback |
|
|
34
|
+
| --- | --- | --- | --- |
|
|
35
|
+
| Dynamic property delete | `additionalProperties` | **Project notes** | `always` |
|
|
36
|
+
| Array table row delete | `arrayTable` | **Order lines** | `always` |
|
|
37
|
+
| Array layout item delete | `arrayLayout` | **Project milestones** | `always` |
|
|
38
|
+
| List-with-detail item delete | `listWithDetail` | **Coordinators** | `always` |
|
|
39
|
+
| AG Grid selected-row delete | `agGrid` | **Charges** | `always` |
|
|
40
|
+
| Mixed tree node delete | `mixed` | **Payload**, in the structure tree | `always` |
|
|
41
|
+
| Mixed type change | `mixed` | **Payload** / **Reference** | `complex` |
|
|
42
|
+
| `oneOf` branch change | `oneOf` | **Contact** | `always` |
|
|
43
|
+
| `oneOf` clear | `oneOf` | **Contact** | `always` |
|
|
44
|
+
|
|
45
|
+
**Scratch lines** is the tenth control: the same table as Order lines, with
|
|
46
|
+
`options.confirmation: { delete: "never" }` on the element.
|
|
47
|
+
|
|
48
|
+
That is the whole of §14's list. The only thing deliberately absent is the
|
|
49
|
+
`anyOf` tab change, which the gap review says should not mutate data at all;
|
|
50
|
+
fixing that is a separate change rather than a confirmation.
|
|
51
|
+
|
|
52
|
+
## What the form contains
|
|
53
|
+
|
|
54
|
+
```text
|
|
55
|
+
Project cleanup config: default "always", mixed.typeChange "complex"
|
|
56
|
+
Project notes additionalProperties -> delete asks
|
|
57
|
+
Order lines array table -> row delete asks
|
|
58
|
+
Scratch lines array table -> options.confirmation.delete "never"
|
|
59
|
+
---
|
|
60
|
+
Project milestones array layout -> item delete asks
|
|
61
|
+
Coordinators list with detail -> item delete asks
|
|
62
|
+
Charges AG Grid -> removing the selection asks, once
|
|
63
|
+
---
|
|
64
|
+
Payload mixed, nested object -> type change asks (complex)
|
|
65
|
+
-> tree Delete asks (always)
|
|
66
|
+
Reference mixed, holds a string -> type change does not ask
|
|
67
|
+
---
|
|
68
|
+
Contact oneOf, branch chosen -> branch change asks, clearing asks
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Validation state
|
|
72
|
+
|
|
73
|
+
Validated with Ajv (`allErrors`, `strict: false`), the supplied data is
|
|
74
|
+
**valid** — no errors.
|
|
75
|
+
|
|
76
|
+
That is deliberate. This example is about an interaction, not about validation,
|
|
77
|
+
and confirmation is "separate from mutation permission and validation". Invalid
|
|
78
|
+
data here would suggest the two are connected.
|
|
79
|
+
|
|
80
|
+
## Expected behaviour
|
|
81
|
+
|
|
82
|
+
### The policy is shared
|
|
83
|
+
|
|
84
|
+
**Delete a project note, then a row of Order lines, then a Project milestone, then a
|
|
85
|
+
Coordinator.** All four ask, because all four fall under the same `always`. Before
|
|
86
|
+
this policy existed only the table asked — not by design, but because each
|
|
87
|
+
renderer had decided on its own.
|
|
88
|
+
|
|
89
|
+
**Cancel one.** Nothing changes: not the data, not the selection, not which
|
|
90
|
+
sections are open. Confirming performs the action once.
|
|
91
|
+
|
|
92
|
+
**Select one Coordinator, then press Delete on the other.** The detail pane keeps
|
|
93
|
+
showing the coordinator you were reading — pressing a row's action does not select
|
|
94
|
+
that row. Cancel, and you are still on the same one. The same applies to Project
|
|
95
|
+
milestones, where a panel's Delete does not expand or collapse it. This is easy to
|
|
96
|
+
get wrong, because the *data* ends up correct either way; only the selection
|
|
97
|
+
differs, and only when the row being deleted is not the row being read. See
|
|
98
|
+
|
|
99
|
+
### One operation asks once
|
|
100
|
+
|
|
101
|
+
**Select two or three rows of Charges and remove them.** One prompt covers the
|
|
102
|
+
batch, not one per row. Under `complex` it would appear if *any* selected row
|
|
103
|
+
held something complex.
|
|
104
|
+
|
|
105
|
+
**Delete `assignment` in the Payload tree** — a node that has children. One prompt.
|
|
106
|
+
The tree used to raise its own "and all of its nested content?" modal here *as
|
|
107
|
+
well as* the shared one, and that second modal could not be switched off by any
|
|
108
|
+
policy.
|
|
109
|
+
|
|
110
|
+
### Config sets it, an element overrides it
|
|
111
|
+
|
|
112
|
+
**Scratch lines deletes without asking.** Its control carries
|
|
113
|
+
`options.confirmation: { delete: "never" }`, which beats the global `always`.
|
|
114
|
+
That is the first step of §14's resolution order, and the only way to make one
|
|
115
|
+
control quieter than the rest.
|
|
116
|
+
|
|
117
|
+
**Switch the global default.** In the Config tab, change
|
|
118
|
+
`jsonformsExtended.confirmation.default` to `"never"` and every prompt goes —
|
|
119
|
+
except that Payload's *type change* keeps its own entry, because
|
|
120
|
+
`renderers.mixed.typeChange` is a more specific step. Its tree Delete does go
|
|
121
|
+
quiet, since that operation is `delete`, not `typeChange`.
|
|
122
|
+
|
|
123
|
+
### `complex` asks about the old value
|
|
124
|
+
|
|
125
|
+
Payload is prepopulated with one of each kind, so this can be tried without
|
|
126
|
+
building anything first:
|
|
127
|
+
|
|
128
|
+
| Child | Value | Type change asks? |
|
|
129
|
+
| --- | --- | --- |
|
|
130
|
+
| `supplier` | `"Cascade Supplies"` | No — a string is not complex |
|
|
131
|
+
| `assignment` | `{ origin, destination }` | Yes — a nonempty object |
|
|
132
|
+
| `phases` | `["PLAN-REVIEW", "REVIEW-DONE"]` | Yes — a nonempty array |
|
|
133
|
+
| `blank` | `{}` | No — an empty container is a value, but not a complex one |
|
|
134
|
+
|
|
135
|
+
**Change Payload's own type.** It holds an object with properties, so the
|
|
136
|
+
prompt appears. **Change Reference's type.** It holds a string, so it does not
|
|
137
|
+
— even though the destination might be an object.
|
|
138
|
+
|
|
139
|
+
That asymmetry is the rule: "inspect the old value, not the destination type".
|
|
140
|
+
`complex` is about what would be *lost*.
|
|
141
|
+
|
|
142
|
+
**Tree Delete does not follow `complex`.** Deleting `blank` asks, even though
|
|
143
|
+
`{}` is not complex, because Delete falls back to `always`. `complex` is the
|
|
144
|
+
mixed *type change* exception only.
|
|
145
|
+
|
|
146
|
+
### The mixed payload takes objects and arrays
|
|
147
|
+
|
|
148
|
+
Payload's `additionalProperties` and `items` are themselves the full type
|
|
149
|
+
union, so **Add property** offers every JSON type, not just text. Add an object,
|
|
150
|
+
give it a property, then change its type — that is the `complex` path
|
|
151
|
+
end-to-end. Add an empty one and change its type and nothing asks.
|
|
152
|
+
|
|
153
|
+
### Clearing counts
|
|
154
|
+
|
|
155
|
+
**Clear Contact's branch.** It asks, because "clearing a oneOf selection follows
|
|
156
|
+
branchChange". Clearing a mixed type follows `typeChange` the same way.
|
|
157
|
+
|
|
158
|
+
**Re-select the branch already in use.** Nothing happens and nothing asks:
|
|
159
|
+
"selecting the already selected type/branch" is not a change. The same is true
|
|
160
|
+
of re-selecting Payload's current type.
|
|
161
|
+
|
|
162
|
+
### What confirmation is not
|
|
163
|
+
|
|
164
|
+
**It never grants permission.** Turn on Read-Only in the settings panel and no
|
|
165
|
+
delete is offered at all — there is nothing to confirm. `restrict`,
|
|
166
|
+
`minItems`, `readonly` and schema constraints all still apply, and a prompt
|
|
167
|
+
never appears for an action the form would refuse anyway.
|
|
168
|
+
|
|
169
|
+
**Ordinary editing never prompts.** Clearing a text field follows the shared
|
|
170
|
+
clear-value contract, not this policy.
|
|
171
|
+
|
|
172
|
+
**Switch the demo to Bulgarian.** All three dialogs and both buttons translate.
|
|
173
|
+
|
|
174
|
+
## Fallback behaviour
|
|
175
|
+
|
|
176
|
+
| Situation | Result |
|
|
177
|
+
| --- | --- |
|
|
178
|
+
| Nothing configured, any delete or branch change | `always`. |
|
|
179
|
+
| Nothing configured, a mixed type change | `complex` — the one documented exception. |
|
|
180
|
+
| A global `default` is set | It replaces that exception too, unless `renderers.mixed.typeChange` restores it. |
|
|
181
|
+
| `options.confirmation[operation]` | Wins over everything. |
|
|
182
|
+
| An unrecognized policy value | Ignored, and resolution continues — a typo cannot silently disable confirmation. |
|
|
183
|
+
| Nothing to discard (the value is absent) | No prompt, whatever the policy. |
|
|
184
|
+
| `false`, `0`, `""`, `{}`, `[]` | Existing values: `always` prompts for them. |
|
|
185
|
+
| A batch, such as several selected grid rows | One prompt; under `complex`, shown if any one row qualifies. |
|
|
186
|
+
|
|
187
|
+
## Conformance scope
|
|
188
|
+
|
|
189
|
+
This walkthrough describes the portable contract. Renderer support must be checked
|
|
190
|
+
by a host adapter; the package validates the authored assets, not live UI behavior.
|
|
191
|
+
|
|
192
|
+
## Standalone host setup
|
|
193
|
+
|
|
194
|
+
Load the JSON assets listed in [the catalog](../catalog.json) into a host
|
|
195
|
+
with the relevant renderer capabilities. No framework registration module is
|
|
196
|
+
required by this package.
|
|
197
|
+
|
|
198
|
+
## Composite cell removal
|
|
199
|
+
|
|
200
|
+
The Composite cell removal table has populated and empty object/array cells.
|
|
201
|
+
Its `compositeCell.delete` policy is `complex`: removing a populated cell asks
|
|
202
|
+
for confirmation; Cancel preserves it, while confirmation removes the value.
|
|
203
|
+
Empty `{}` and `[]` values clear immediately. Change the policy to `always` to
|
|
204
|
+
confirm empty containers too, or `never` to clear populated values immediately.
|
|
205
|
+
Cell `confirmation.delete` overrides the renderer and global policy.
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
## Feature navigation
|
|
209
|
+
|
|
210
|
+
Explore one feature at a time using the tabs: **Delete policy**, **Array presentations**, **Type changes**, **Branch changes**. Tab titles are localized in English and Bulgarian. The tabs share the existing form data.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"showUnfocusedDescription": true,
|
|
3
|
+
"restrict": true,
|
|
4
|
+
"jsonformsExtended": {
|
|
5
|
+
"confirmation": {
|
|
6
|
+
"default": "always",
|
|
7
|
+
"renderers": {
|
|
8
|
+
"mixed": {
|
|
9
|
+
"typeChange": "complex"
|
|
10
|
+
},
|
|
11
|
+
"compositeCell": {
|
|
12
|
+
"delete": "complex"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"notes": {
|
|
3
|
+
"gate": "Closes at 18:00"
|
|
4
|
+
},
|
|
5
|
+
"lines": [
|
|
6
|
+
{
|
|
7
|
+
"code": "A-01",
|
|
8
|
+
"quantity": 3
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"quietLines": [
|
|
12
|
+
{
|
|
13
|
+
"code": "TMP-1"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"milestones": [
|
|
17
|
+
{
|
|
18
|
+
"name": "Portland",
|
|
19
|
+
"window": {
|
|
20
|
+
"from": "08:00",
|
|
21
|
+
"to": "10:00"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "Salem",
|
|
26
|
+
"window": {
|
|
27
|
+
"from": "11:30",
|
|
28
|
+
"to": "12:15"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"coordinators": [
|
|
33
|
+
{
|
|
34
|
+
"name": "A. Ferreira",
|
|
35
|
+
"registration": "OR-44812"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "M. Todorova",
|
|
39
|
+
"registration": "OR-51907"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"charges": [
|
|
43
|
+
{
|
|
44
|
+
"label": "Consulting",
|
|
45
|
+
"amount": 1240
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"label": "Support fee",
|
|
49
|
+
"amount": 185.5
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"label": "Additional support",
|
|
53
|
+
"amount": 0
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"payload": {
|
|
57
|
+
"supplier": "Cascade Supplies",
|
|
58
|
+
"assignment": {
|
|
59
|
+
"origin": "Portland",
|
|
60
|
+
"destination": "Salem"
|
|
61
|
+
},
|
|
62
|
+
"phases": [
|
|
63
|
+
"PLAN-REVIEW",
|
|
64
|
+
"REVIEW-DONE"
|
|
65
|
+
],
|
|
66
|
+
"blank": {}
|
|
67
|
+
},
|
|
68
|
+
"scalar": "TASK-14",
|
|
69
|
+
"contact": {
|
|
70
|
+
"email": "support@example.test"
|
|
71
|
+
},
|
|
72
|
+
"compositeRows": [
|
|
73
|
+
{
|
|
74
|
+
"object": {
|
|
75
|
+
"note": "Keep until confirmed"
|
|
76
|
+
},
|
|
77
|
+
"array": [
|
|
78
|
+
"Keep until confirmed"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"object": {},
|
|
83
|
+
"array": []
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "object",
|
|
3
|
+
"properties": {
|
|
4
|
+
"notes": {
|
|
5
|
+
"type": "object",
|
|
6
|
+
"title": "Project notes",
|
|
7
|
+
"description": "Dynamic properties. Delete asks, because the fallback is always.",
|
|
8
|
+
"additionalProperties": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"lines": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"title": "Order lines",
|
|
15
|
+
"description": "An array table. Row delete asks.",
|
|
16
|
+
"items": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"properties": {
|
|
19
|
+
"code": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"title": "Code"
|
|
22
|
+
},
|
|
23
|
+
"quantity": {
|
|
24
|
+
"type": "integer",
|
|
25
|
+
"title": "Quantity"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"quietLines": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"title": "Scratch lines",
|
|
33
|
+
"description": "The same table with confirmation turned off for delete.",
|
|
34
|
+
"items": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"properties": {
|
|
37
|
+
"code": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"title": "Code"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"milestones": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"title": "Project milestones",
|
|
47
|
+
"description": "Nested items, so the expandable array layout renders. Item delete asks.",
|
|
48
|
+
"items": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"properties": {
|
|
51
|
+
"name": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"title": "Milestone"
|
|
54
|
+
},
|
|
55
|
+
"window": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"title": "Window",
|
|
58
|
+
"properties": {
|
|
59
|
+
"from": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"title": "From"
|
|
62
|
+
},
|
|
63
|
+
"to": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"title": "To"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"coordinators": {
|
|
73
|
+
"type": "array",
|
|
74
|
+
"title": "Coordinators",
|
|
75
|
+
"description": "A list with detail. Removing the selected entry asks.",
|
|
76
|
+
"items": {
|
|
77
|
+
"type": "object",
|
|
78
|
+
"properties": {
|
|
79
|
+
"name": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"title": "Name"
|
|
82
|
+
},
|
|
83
|
+
"registration": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"title": "Registration"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"charges": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"title": "Charges",
|
|
93
|
+
"description": "An AG Grid. Select several rows and remove them: one prompt covers the batch.",
|
|
94
|
+
"items": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"label": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"title": "Charge"
|
|
100
|
+
},
|
|
101
|
+
"amount": {
|
|
102
|
+
"type": "number",
|
|
103
|
+
"title": "Amount"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"payload": {
|
|
109
|
+
"type": [
|
|
110
|
+
"object",
|
|
111
|
+
"array",
|
|
112
|
+
"string",
|
|
113
|
+
"number",
|
|
114
|
+
"boolean",
|
|
115
|
+
"null"
|
|
116
|
+
],
|
|
117
|
+
"title": "Payload",
|
|
118
|
+
"description": "A mixed value holding nested structures. Type changes use complex; tree Delete uses always.",
|
|
119
|
+
"additionalProperties": {
|
|
120
|
+
"type": [
|
|
121
|
+
"object",
|
|
122
|
+
"array",
|
|
123
|
+
"string",
|
|
124
|
+
"number",
|
|
125
|
+
"boolean",
|
|
126
|
+
"null"
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"items": {
|
|
130
|
+
"type": [
|
|
131
|
+
"object",
|
|
132
|
+
"array",
|
|
133
|
+
"string",
|
|
134
|
+
"number",
|
|
135
|
+
"boolean",
|
|
136
|
+
"null"
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"scalar": {
|
|
141
|
+
"type": [
|
|
142
|
+
"string",
|
|
143
|
+
"number",
|
|
144
|
+
"null"
|
|
145
|
+
],
|
|
146
|
+
"title": "Reference",
|
|
147
|
+
"description": "Also mixed, but holding a simple value: complex does not ask."
|
|
148
|
+
},
|
|
149
|
+
"contact": {
|
|
150
|
+
"type": "object",
|
|
151
|
+
"title": "Contact",
|
|
152
|
+
"description": "A oneOf. Changing branch asks; so does clearing it.",
|
|
153
|
+
"oneOf": [
|
|
154
|
+
{
|
|
155
|
+
"title": "By email",
|
|
156
|
+
"properties": {
|
|
157
|
+
"email": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"title": "Email"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": [
|
|
163
|
+
"email"
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"title": "By phone",
|
|
168
|
+
"properties": {
|
|
169
|
+
"phone": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"title": "Phone"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"required": [
|
|
175
|
+
"phone"
|
|
176
|
+
]
|
|
177
|
+
}
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
"compositeRows": {
|
|
181
|
+
"type": "array",
|
|
182
|
+
"title": "Composite cell removal",
|
|
183
|
+
"items": {
|
|
184
|
+
"type": "object",
|
|
185
|
+
"properties": {
|
|
186
|
+
"object": {
|
|
187
|
+
"type": "object",
|
|
188
|
+
"properties": {
|
|
189
|
+
"note": {
|
|
190
|
+
"type": "string"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"array": {
|
|
195
|
+
"type": "array",
|
|
196
|
+
"items": {
|
|
197
|
+
"type": "string"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"confirm.delete.title": "Delete this value?",
|
|
4
|
+
"confirm.delete.message": "The value will be removed. This cannot be undone from here.",
|
|
5
|
+
"confirm.typeChange.title": "Change the type?",
|
|
6
|
+
"confirm.typeChange.message": "The current value does not fit the new type and will be discarded.",
|
|
7
|
+
"confirm.branchChange.title": "Change the selection?",
|
|
8
|
+
"confirm.branchChange.message": "Data that the new selection does not describe will be discarded.",
|
|
9
|
+
"confirm.accept": "Yes",
|
|
10
|
+
"confirm.decline": "No",
|
|
11
|
+
"additionalProperties.deleteNamed": "Delete {name}",
|
|
12
|
+
"featureNavigation.section1.label": "Delete policy",
|
|
13
|
+
"featureNavigation.section2.label": "Array presentations",
|
|
14
|
+
"featureNavigation.section3.label": "Type changes",
|
|
15
|
+
"featureNavigation.section4.label": "Branch changes",
|
|
16
|
+
"specDestructiveConfirmation.schema.properties.notes.label": "Project notes",
|
|
17
|
+
"specDestructiveConfirmation.schema.properties.notes.description": "Dynamic properties. Delete asks, because the fallback is always.",
|
|
18
|
+
"specDestructiveConfirmation.schema.properties.lines.label": "Order lines",
|
|
19
|
+
"specDestructiveConfirmation.schema.properties.lines.description": "An array table. Row delete asks.",
|
|
20
|
+
"specDestructiveConfirmation.schema.properties.lines.items.properties.code.label": "Code",
|
|
21
|
+
"specDestructiveConfirmation.schema.properties.lines.items.properties.quantity.label": "Quantity",
|
|
22
|
+
"specDestructiveConfirmation.schema.properties.quietLines.label": "Scratch lines",
|
|
23
|
+
"specDestructiveConfirmation.schema.properties.quietLines.description": "The same table with confirmation turned off for delete.",
|
|
24
|
+
"specDestructiveConfirmation.schema.properties.quietLines.items.properties.code.label": "Code",
|
|
25
|
+
"specDestructiveConfirmation.schema.properties.milestones.label": "Project milestones",
|
|
26
|
+
"specDestructiveConfirmation.schema.properties.milestones.description": "Nested items, so the expandable array layout renders. Item delete asks.",
|
|
27
|
+
"specDestructiveConfirmation.schema.properties.milestones.items.properties.name.label": "Milestone",
|
|
28
|
+
"specDestructiveConfirmation.schema.properties.milestones.items.properties.window.label": "Window",
|
|
29
|
+
"specDestructiveConfirmation.schema.properties.milestones.items.properties.window.properties.from.label": "From",
|
|
30
|
+
"specDestructiveConfirmation.schema.properties.milestones.items.properties.window.properties.to.label": "To",
|
|
31
|
+
"specDestructiveConfirmation.schema.properties.coordinators.label": "Coordinators",
|
|
32
|
+
"specDestructiveConfirmation.schema.properties.coordinators.description": "A list with detail. Removing the selected entry asks.",
|
|
33
|
+
"specDestructiveConfirmation.schema.properties.coordinators.items.properties.name.label": "Name",
|
|
34
|
+
"specDestructiveConfirmation.schema.properties.coordinators.items.properties.registration.label": "Registration",
|
|
35
|
+
"specDestructiveConfirmation.schema.properties.charges.label": "Charges",
|
|
36
|
+
"specDestructiveConfirmation.schema.properties.charges.description": "An AG Grid. Select several rows and remove them: one prompt covers the batch.",
|
|
37
|
+
"specDestructiveConfirmation.schema.properties.charges.items.properties.label.label": "Charge",
|
|
38
|
+
"specDestructiveConfirmation.schema.properties.charges.items.properties.amount.label": "Amount",
|
|
39
|
+
"specDestructiveConfirmation.schema.properties.payload.label": "Payload",
|
|
40
|
+
"specDestructiveConfirmation.schema.properties.payload.description": "A mixed value holding nested structures. Type changes use complex; tree Delete uses always.",
|
|
41
|
+
"specDestructiveConfirmation.schema.properties.scalar.label": "Reference",
|
|
42
|
+
"specDestructiveConfirmation.schema.properties.scalar.description": "Also mixed, but holding a simple value: complex does not ask.",
|
|
43
|
+
"specDestructiveConfirmation.schema.properties.contact.label": "Contact",
|
|
44
|
+
"specDestructiveConfirmation.schema.properties.contact.description": "A oneOf. Changing branch asks; so does clearing it.",
|
|
45
|
+
"specDestructiveConfirmation.schema.properties.contact.oneOf.0.label": "By email",
|
|
46
|
+
"specDestructiveConfirmation.schema.properties.contact.oneOf.0.properties.email.label": "Email",
|
|
47
|
+
"specDestructiveConfirmation.schema.properties.contact.oneOf.1.label": "By phone",
|
|
48
|
+
"specDestructiveConfirmation.schema.properties.contact.oneOf.1.properties.phone.label": "Phone",
|
|
49
|
+
"specDestructiveConfirmation.schema.properties.compositeRows.label": "Composite cell removal",
|
|
50
|
+
"specDestructiveConfirmation.ui.elements.0.elements.0.elements.0.text": "One policy, every renderer. Config sets it; an element may override it.",
|
|
51
|
+
"specDestructiveConfirmation.ui.elements.0.elements.1.elements.0.text": "The same delete, in the other array renderers",
|
|
52
|
+
"specDestructiveConfirmation.ui.elements.0.elements.2.elements.0.text": "Type changes: complex asks only for a nonempty container. Tree Delete always asks.",
|
|
53
|
+
"specDestructiveConfirmation.ui.elements.0.elements.3.elements.0.text": "Branch changes",
|
|
54
|
+
"specDestructiveConfirmation.schema.properties.compositeRows.items.properties.object.label": "Object",
|
|
55
|
+
"specDestructiveConfirmation.schema.properties.compositeRows.items.properties.array.label": "Array"
|
|
56
|
+
},
|
|
57
|
+
"bg": {
|
|
58
|
+
"confirm.delete.title": "Да се изтрие ли стойността?",
|
|
59
|
+
"confirm.delete.message": "Стойността ще бъде премахната. Това не може да се отмени оттук.",
|
|
60
|
+
"confirm.typeChange.title": "Да се промени ли типът?",
|
|
61
|
+
"confirm.typeChange.message": "Текущата стойност не отговаря на новия тип и ще бъде отхвърлена.",
|
|
62
|
+
"confirm.branchChange.title": "Да се промени ли изборът?",
|
|
63
|
+
"confirm.branchChange.message": "Данните, които новият избор не описва, ще бъдат отхвърлени.",
|
|
64
|
+
"confirm.accept": "Да",
|
|
65
|
+
"confirm.decline": "Не",
|
|
66
|
+
"additionalProperties.deleteNamed": "Изтриване на {name}",
|
|
67
|
+
"featureNavigation.section1.label": "Правила за изтриване",
|
|
68
|
+
"featureNavigation.section2.label": "Представяне на масиви",
|
|
69
|
+
"featureNavigation.section3.label": "Промяна на тип",
|
|
70
|
+
"featureNavigation.section4.label": "Промяна на вариант",
|
|
71
|
+
"specDestructiveConfirmation.schema.properties.notes.label": "Бележки по проекта",
|
|
72
|
+
"specDestructiveConfirmation.schema.properties.notes.description": "Динамични свойства. Изтриването изисква потвърждение според зададеното правило always.",
|
|
73
|
+
"specDestructiveConfirmation.schema.properties.lines.label": "Редове на поръчката",
|
|
74
|
+
"specDestructiveConfirmation.schema.properties.lines.description": "Табличен масив. Изтриването на ред изисква потвърждение.",
|
|
75
|
+
"specDestructiveConfirmation.schema.properties.lines.items.properties.code.label": "Код",
|
|
76
|
+
"specDestructiveConfirmation.schema.properties.lines.items.properties.quantity.label": "Количество",
|
|
77
|
+
"specDestructiveConfirmation.schema.properties.quietLines.label": "Временни редове",
|
|
78
|
+
"specDestructiveConfirmation.schema.properties.quietLines.description": "Същата таблица с изключено потвърждение при изтриване.",
|
|
79
|
+
"specDestructiveConfirmation.schema.properties.quietLines.items.properties.code.label": "Код",
|
|
80
|
+
"specDestructiveConfirmation.schema.properties.milestones.label": "Етапи на проекта",
|
|
81
|
+
"specDestructiveConfirmation.schema.properties.milestones.description": "Вложени елементи в разгъваема подредба на масив. Изтриването изисква потвърждение.",
|
|
82
|
+
"specDestructiveConfirmation.schema.properties.milestones.items.properties.name.label": "Етап",
|
|
83
|
+
"specDestructiveConfirmation.schema.properties.milestones.items.properties.window.label": "Период",
|
|
84
|
+
"specDestructiveConfirmation.schema.properties.milestones.items.properties.window.properties.from.label": "От",
|
|
85
|
+
"specDestructiveConfirmation.schema.properties.milestones.items.properties.window.properties.to.label": "До",
|
|
86
|
+
"specDestructiveConfirmation.schema.properties.coordinators.label": "Координатори",
|
|
87
|
+
"specDestructiveConfirmation.schema.properties.coordinators.description": "Списък с детайли. Премахването на избрания запис изисква потвърждение.",
|
|
88
|
+
"specDestructiveConfirmation.schema.properties.coordinators.items.properties.name.label": "Име",
|
|
89
|
+
"specDestructiveConfirmation.schema.properties.coordinators.items.properties.registration.label": "Регистрация",
|
|
90
|
+
"specDestructiveConfirmation.schema.properties.charges.label": "Такси",
|
|
91
|
+
"specDestructiveConfirmation.schema.properties.charges.description": "AG Grid. Изберете няколко реда и ги премахнете: едно потвърждение обхваща цялата група.",
|
|
92
|
+
"specDestructiveConfirmation.schema.properties.charges.items.properties.label.label": "Такса",
|
|
93
|
+
"specDestructiveConfirmation.schema.properties.charges.items.properties.amount.label": "Сума",
|
|
94
|
+
"specDestructiveConfirmation.schema.properties.payload.label": "Данни",
|
|
95
|
+
"specDestructiveConfirmation.schema.properties.payload.description": "Смесена стойност с вложени структури. Промяната на типа използва complex, а изтриването в дървото — always.",
|
|
96
|
+
"specDestructiveConfirmation.schema.properties.scalar.label": "Референция",
|
|
97
|
+
"specDestructiveConfirmation.schema.properties.scalar.description": "Също смесена стойност, но проста: complex не изисква потвърждение.",
|
|
98
|
+
"specDestructiveConfirmation.schema.properties.contact.label": "Контакт",
|
|
99
|
+
"specDestructiveConfirmation.schema.properties.contact.description": "oneOf. Смяната на варианта и изчистването изискват потвърждение.",
|
|
100
|
+
"specDestructiveConfirmation.schema.properties.contact.oneOf.0.label": "По имейл",
|
|
101
|
+
"specDestructiveConfirmation.schema.properties.contact.oneOf.0.properties.email.label": "Имейл",
|
|
102
|
+
"specDestructiveConfirmation.schema.properties.contact.oneOf.1.label": "По телефон",
|
|
103
|
+
"specDestructiveConfirmation.schema.properties.contact.oneOf.1.properties.phone.label": "Телефон",
|
|
104
|
+
"specDestructiveConfirmation.schema.properties.compositeRows.label": "Премахване на съставни клетки",
|
|
105
|
+
"specDestructiveConfirmation.ui.elements.0.elements.0.elements.0.text": "Едно правило за всички визуализатори. Задава се чрез конфигурацията и може да се замени за отделен елемент.",
|
|
106
|
+
"specDestructiveConfirmation.ui.elements.0.elements.1.elements.0.text": "Същото изтриване в останалите визуализатори на масиви",
|
|
107
|
+
"specDestructiveConfirmation.ui.elements.0.elements.2.elements.0.text": "Промяна на типа: complex изисква потвърждение само за непразен контейнер. Изтриването в дървото винаги изисква потвърждение.",
|
|
108
|
+
"specDestructiveConfirmation.ui.elements.0.elements.3.elements.0.text": "Смяна на вариант",
|
|
109
|
+
"specDestructiveConfirmation.schema.properties.compositeRows.items.properties.object.label": "Обект",
|
|
110
|
+
"specDestructiveConfirmation.schema.properties.compositeRows.items.properties.array.label": "Масив"
|
|
111
|
+
}
|
|
112
|
+
}
|