@chobantonov/jsonforms-extended-spec 0.0.0-stage → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +126 -2
- package/conformance/authoring.json +2680 -0
- package/conformance/behavior.json +1602 -0
- package/conformance/config-consumption.json +1542 -0
- package/conformance/expected-invalid.json +20 -0
- package/docs/audit.md +150 -0
- package/docs/conditional-fields.md +122 -0
- package/docs/draft-07-visual-support.md +43 -0
- package/docs/external-resources-proposal.md +536 -0
- package/docs/implementation-guide.md +233 -0
- package/docs/implementation-pitfalls.md +968 -0
- package/docs/implementation-web-typescript.md +41 -0
- package/docs/renderer-and-demo.md +1347 -0
- package/docs/renderer-selection.md +99 -0
- package/docs/spec.md +8470 -0
- package/docs/todo.md +166 -0
- package/examples/README.md +127 -0
- package/examples/additional-errors/README.md +176 -0
- package/examples/additional-errors/config.json +3 -0
- package/examples/additional-errors/data.json +11 -0
- package/examples/additional-errors/schema.json +56 -0
- package/examples/additional-errors/translations.json +64 -0
- package/examples/additional-errors/uischema.json +158 -0
- package/examples/additional-items-pagination/README.md +8 -0
- package/examples/additional-items-pagination/config.json +10 -0
- package/examples/additional-items-pagination/data.json +22 -0
- package/examples/additional-items-pagination/schema.json +30 -0
- package/examples/additional-items-pagination/translations.json +16 -0
- package/examples/additional-items-pagination/uischema.json +39 -0
- package/examples/additional-properties/README.md +203 -0
- package/examples/additional-properties/config.json +5 -0
- package/examples/additional-properties/data.json +31 -0
- package/examples/additional-properties/schema.json +78 -0
- package/examples/additional-properties/translations.json +80 -0
- package/examples/additional-properties/uischema.json +104 -0
- package/examples/ag-grid/README.md +62 -0
- package/examples/ag-grid/config.json +14 -0
- package/examples/ag-grid/data.json +124 -0
- package/examples/ag-grid/schema.json +48 -0
- package/examples/ag-grid/translations.json +58 -0
- package/examples/ag-grid/uischema.json +671 -0
- package/examples/array-choices/README.md +150 -0
- package/examples/array-choices/config.json +4 -0
- package/examples/array-choices/data.json +10 -0
- package/examples/array-choices/schema.json +68 -0
- package/examples/array-choices/translations.json +64 -0
- package/examples/array-choices/uischema.json +97 -0
- package/examples/array-controls/README.md +237 -0
- package/examples/array-controls/config.json +4 -0
- package/examples/array-controls/data.json +147 -0
- package/examples/array-controls/schema.json +374 -0
- package/examples/array-controls/translations.json +186 -0
- package/examples/array-controls/uischema.json +685 -0
- package/examples/array-detail-modes/README.md +11 -0
- package/examples/array-detail-modes/data.json +38 -0
- package/examples/array-detail-modes/schema.json +89 -0
- package/examples/array-detail-modes/translations.json +36 -0
- package/examples/array-detail-modes/uischema.json +73 -0
- package/examples/array-detail-modes/uischemas.d.mts +2 -0
- package/examples/array-detail-modes/uischemas.json +15 -0
- package/examples/boolean-controls/README.md +109 -0
- package/examples/boolean-controls/config.json +3 -0
- package/examples/boolean-controls/data.json +27 -0
- package/examples/boolean-controls/schema.json +98 -0
- package/examples/boolean-controls/translations.json +94 -0
- package/examples/boolean-controls/uischema.json +126 -0
- package/examples/button-actions/README.md +259 -0
- package/examples/button-actions/config.json +7 -0
- package/examples/button-actions/data.json +5 -0
- package/examples/button-actions/host.mjs +14 -0
- package/examples/button-actions/schema.json +20 -0
- package/examples/button-actions/translations.json +60 -0
- package/examples/button-actions/uischema.json +179 -0
- package/examples/catalog.json +634 -0
- package/examples/categorization/README.md +132 -0
- package/examples/categorization/config.json +7 -0
- package/examples/categorization/data.json +8 -0
- package/examples/categorization/schema.json +29 -0
- package/examples/categorization/translations.json +72 -0
- package/examples/categorization/uischema.json +288 -0
- package/examples/choice-controls/README.md +136 -0
- package/examples/choice-controls/config.json +10 -0
- package/examples/choice-controls/data.json +61 -0
- package/examples/choice-controls/schema.json +406 -0
- package/examples/choice-controls/translations.json +154 -0
- package/examples/choice-controls/uischema.json +575 -0
- package/examples/choice-controls/uischemas.d.mts +2 -0
- package/examples/choice-controls/uischemas.json +16 -0
- package/examples/code-editor/README.md +74 -0
- package/examples/code-editor/data.json +8 -0
- package/examples/code-editor/schema.json +28 -0
- package/examples/code-editor/translations.json +20 -0
- package/examples/code-editor/uischema.json +77 -0
- package/examples/collection-pagination/README.md +5 -0
- package/examples/collection-pagination/config.json +1 -0
- package/examples/collection-pagination/data.json +64 -0
- package/examples/collection-pagination/schema.json +23 -0
- package/examples/collection-pagination/translations.json +14 -0
- package/examples/collection-pagination/uischema.json +14 -0
- package/examples/color-control/README.md +154 -0
- package/examples/color-control/config.json +7 -0
- package/examples/color-control/data.json +11 -0
- package/examples/color-control/schema.json +61 -0
- package/examples/color-control/translations.json +76 -0
- package/examples/color-control/uischema.json +106 -0
- package/examples/combinators/README.md +223 -0
- package/examples/combinators/config.json +9 -0
- package/examples/combinators/data.json +23 -0
- package/examples/combinators/schema.json +232 -0
- package/examples/combinators/translations.json +178 -0
- package/examples/combinators/uischema.json +158 -0
- package/examples/conditional-fields/README.md +27 -0
- package/examples/conditional-fields/config.json +5 -0
- package/examples/conditional-fields/data.json +7 -0
- package/examples/conditional-fields/schema.json +59 -0
- package/examples/conditional-fields/translations.json +32 -0
- package/examples/conditional-fields/uischema.json +131 -0
- package/examples/container-validation-indicator/README.md +187 -0
- package/examples/container-validation-indicator/config.json +9 -0
- package/examples/container-validation-indicator/data.json +68 -0
- package/examples/container-validation-indicator/schema.json +222 -0
- package/examples/container-validation-indicator/translations.json +120 -0
- package/examples/container-validation-indicator/uischema.json +98 -0
- package/examples/cron-control/README.md +155 -0
- package/examples/cron-control/data.json +15 -0
- package/examples/cron-control/schema.json +72 -0
- package/examples/cron-control/translations.json +80 -0
- package/examples/cron-control/uischema.json +91 -0
- package/examples/destructive-confirmation/README.md +210 -0
- package/examples/destructive-confirmation/config.json +17 -0
- package/examples/destructive-confirmation/data.json +86 -0
- package/examples/destructive-confirmation/schema.json +204 -0
- package/examples/destructive-confirmation/translations.json +112 -0
- package/examples/destructive-confirmation/uischema.json +105 -0
- package/examples/draft-07-metaschema/README.md +11 -0
- package/examples/draft-07-metaschema/config.json +3 -0
- package/examples/draft-07-metaschema/data.json +25 -0
- package/examples/draft-07-metaschema/schema.json +172 -0
- package/examples/draft-07-metaschema/translations.json +10 -0
- package/examples/draft-07-metaschema/uischema.json +14 -0
- package/examples/dynamic-playground/README.md +95 -0
- package/examples/dynamic-playground/config.json +8 -0
- package/examples/dynamic-playground/configuration.json +152 -0
- package/examples/dynamic-playground/data.json +15 -0
- package/examples/dynamic-playground/dynamic-uischema.json +379 -0
- package/examples/dynamic-playground/host.mjs +37 -0
- package/examples/dynamic-playground/schema.json +48 -0
- package/examples/dynamic-playground/translations.json +76 -0
- package/examples/dynamic-playground/uischema.json +36 -0
- package/examples/editor-details/README.md +10 -0
- package/examples/editor-details/data.json +18 -0
- package/examples/editor-details/schema.json +49 -0
- package/examples/editor-details/translations.json +28 -0
- package/examples/editor-details/uischema.json +53 -0
- package/examples/editor-details/uischemas.d.mts +2 -0
- package/examples/editor-details/uischemas.json +14 -0
- package/examples/file-control/README.md +108 -0
- package/examples/file-control/data.json +28 -0
- package/examples/file-control/schema.json +89 -0
- package/examples/file-control/translations.json +46 -0
- package/examples/file-control/uischema.json +152 -0
- package/examples/group-layout/README.md +149 -0
- package/examples/group-layout/config.json +10 -0
- package/examples/group-layout/data.json +9 -0
- package/examples/group-layout/schema.json +51 -0
- package/examples/group-layout/translations.json +62 -0
- package/examples/group-layout/uischema.json +249 -0
- package/examples/index.d.ts +17 -0
- package/examples/index.js +69 -0
- package/examples/input-adornments/README.md +68 -0
- package/examples/input-adornments/data.json +41 -0
- package/examples/input-adornments/schema.json +207 -0
- package/examples/input-adornments/translations.json +106 -0
- package/examples/input-adornments/uischema.json +695 -0
- package/examples/job-application/README.md +23 -0
- package/examples/job-application/config.json +10 -0
- package/examples/job-application/data.json +68 -0
- package/examples/job-application/schema.json +196 -0
- package/examples/job-application/translations.json +388 -0
- package/examples/job-application/uischema.json +218 -0
- package/examples/job-application/uischemas.json +153 -0
- package/examples/json-editor/README.md +28 -0
- package/examples/json-editor/schema.json +1 -0
- package/examples/json-editor/translations.json +10 -0
- package/examples/json-editor/uischema.json +16 -0
- package/examples/json-inference/README.md +33 -0
- package/examples/json-inference/translations.json +10 -0
- package/examples/json-inference/uischema.json +16 -0
- package/examples/kitchen-sink/README.md +86 -0
- package/examples/kitchen-sink/config.json +14 -0
- package/examples/kitchen-sink/data.json +263 -0
- package/examples/kitchen-sink/invalid-data.json +263 -0
- package/examples/kitchen-sink/schema.json +515 -0
- package/examples/kitchen-sink/translations.json +270 -0
- package/examples/kitchen-sink/uischema.json +722 -0
- package/examples/label-interpolation/README.md +241 -0
- package/examples/label-interpolation/config.json +14 -0
- package/examples/label-interpolation/data.json +13 -0
- package/examples/label-interpolation/schema.json +64 -0
- package/examples/label-interpolation/translations.json +94 -0
- package/examples/label-interpolation/uischema.json +379 -0
- package/examples/layout-sizing/README.md +162 -0
- package/examples/layout-sizing/config.json +10 -0
- package/examples/layout-sizing/data.json +14 -0
- package/examples/layout-sizing/schema.json +58 -0
- package/examples/layout-sizing/translations.json +42 -0
- package/examples/layout-sizing/uischema.json +558 -0
- package/examples/markup-label/README.md +109 -0
- package/examples/markup-label/config.json +16 -0
- package/examples/markup-label/data.json +5 -0
- package/examples/markup-label/schema.json +24 -0
- package/examples/markup-label/translations.json +40 -0
- package/examples/markup-label/uischema.json +149 -0
- package/examples/mixed-control/README.md +164 -0
- package/examples/mixed-control/config.json +11 -0
- package/examples/mixed-control/data.json +70 -0
- package/examples/mixed-control/schema.json +221 -0
- package/examples/mixed-control/translations.json +158 -0
- package/examples/mixed-control/uischema.json +211 -0
- package/examples/null-control/README.md +111 -0
- package/examples/null-control/config.json +4 -0
- package/examples/null-control/data.json +6 -0
- package/examples/null-control/schema.json +36 -0
- package/examples/null-control/translations.json +42 -0
- package/examples/null-control/uischema.json +56 -0
- package/examples/numeric-controls/README.md +94 -0
- package/examples/numeric-controls/config.json +4 -0
- package/examples/numeric-controls/data.json +8 -0
- package/examples/numeric-controls/schema.json +52 -0
- package/examples/numeric-controls/translations.json +56 -0
- package/examples/numeric-controls/uischema.json +77 -0
- package/examples/object-control/README.md +220 -0
- package/examples/object-control/config.json +4 -0
- package/examples/object-control/data.json +62 -0
- package/examples/object-control/schema.json +252 -0
- package/examples/object-control/translations.json +160 -0
- package/examples/object-control/uischema.json +275 -0
- package/examples/object-control/uischemas.d.mts +2 -0
- package/examples/object-control/uischemas.json +59 -0
- package/examples/password-control/README.md +119 -0
- package/examples/password-control/config.json +3 -0
- package/examples/password-control/data.json +18 -0
- package/examples/password-control/schema.json +65 -0
- package/examples/password-control/translations.json +64 -0
- package/examples/password-control/uischema.json +94 -0
- package/examples/pre-touch-errors/README.md +176 -0
- package/examples/pre-touch-errors/config.json +4 -0
- package/examples/pre-touch-errors/data.json +5 -0
- package/examples/pre-touch-errors/schema.json +56 -0
- package/examples/pre-touch-errors/translations.json +68 -0
- package/examples/pre-touch-errors/uischema.json +85 -0
- package/examples/presentation/README.md +148 -0
- package/examples/presentation/config.json +9 -0
- package/examples/presentation/data.json +6 -0
- package/examples/presentation/schema.json +21 -0
- package/examples/presentation/translations.json +64 -0
- package/examples/presentation/uischema.json +210 -0
- package/examples/property-pagination/README.md +5 -0
- package/examples/property-pagination/config.json +1 -0
- package/examples/property-pagination/data.json +17 -0
- package/examples/property-pagination/schema.json +14 -0
- package/examples/property-pagination/translations.json +10 -0
- package/examples/property-pagination/uischema.json +24 -0
- package/examples/recursive-tree/README.md +49 -0
- package/examples/recursive-tree/config.json +1 -0
- package/examples/recursive-tree/data.json +40 -0
- package/examples/recursive-tree/schema.json +89 -0
- package/examples/recursive-tree/translations.json +42 -0
- package/examples/recursive-tree/uischema.json +84 -0
- package/examples/recursive-tree/uischemas.d.mts +2 -0
- package/examples/recursive-tree/uischemas.json +51 -0
- package/examples/split-layout/README.md +123 -0
- package/examples/split-layout/config.json +3 -0
- package/examples/split-layout/data.json +13 -0
- package/examples/split-layout/schema.json +50 -0
- package/examples/split-layout/translations.json +50 -0
- package/examples/split-layout/uischema.json +204 -0
- package/examples/string-controls/README.md +159 -0
- package/examples/string-controls/config.json +5 -0
- package/examples/string-controls/data.json +13 -0
- package/examples/string-controls/schema.json +70 -0
- package/examples/string-controls/translations.json +76 -0
- package/examples/string-controls/uischema.json +148 -0
- package/examples/table-row-details/README.md +69 -0
- package/examples/table-row-details/config.json +7 -0
- package/examples/table-row-details/data.json +280 -0
- package/examples/table-row-details/schema.json +61 -0
- package/examples/table-row-details/translations.json +56 -0
- package/examples/table-row-details/uischema.json +1303 -0
- package/examples/template-layout/README.md +250 -0
- package/examples/template-layout/config.json +9 -0
- package/examples/template-layout/data.json +20 -0
- package/examples/template-layout/host.mjs +13 -0
- package/examples/template-layout/schema.json +48 -0
- package/examples/template-layout/translations.json +70 -0
- package/examples/template-layout/uischema.json +177 -0
- package/examples/template-slots/README.md +19 -0
- package/examples/template-slots/data.json +4 -0
- package/examples/template-slots/schema.json +11 -0
- package/examples/template-slots/translations.json +26 -0
- package/examples/template-slots/uischema.json +47 -0
- package/examples/template-slots/uischemas.d.mts +2 -0
- package/examples/template-slots/uischemas.json +56 -0
- package/examples/temporal-controls/README.md +325 -0
- package/examples/temporal-controls/data.json +44 -0
- package/examples/temporal-controls/schema.json +208 -0
- package/examples/temporal-controls/translations.json +156 -0
- package/examples/temporal-controls/uischema.json +297 -0
- package/examples/tree-max-depth/README.md +5 -0
- package/examples/tree-max-depth/config.json +3 -0
- package/examples/tree-max-depth/data.json +31 -0
- package/examples/tree-max-depth/schema.json +258 -0
- package/examples/tree-max-depth/translations.json +42 -0
- package/examples/tree-max-depth/uischema.json +16 -0
- package/examples/tree-max-depth/uischemas.d.mts +2 -0
- package/examples/tree-max-depth/uischemas.json +50 -0
- package/examples/tuple-control/README.md +335 -0
- package/examples/tuple-control/config.json +4 -0
- package/examples/tuple-control/data.json +61 -0
- package/examples/tuple-control/schema.json +218 -0
- package/examples/tuple-control/translations.json +142 -0
- package/examples/tuple-control/uischema.json +128 -0
- package/examples/tuple-control/uischemas.d.mts +2 -0
- package/examples/tuple-control/uischemas.json +125 -0
- package/examples/validator-profile/README.md +197 -0
- package/examples/validator-profile/config.json +9 -0
- package/examples/validator-profile/data.json +16 -0
- package/examples/validator-profile/schema.json +139 -0
- package/examples/validator-profile/translations.json +34 -0
- package/examples/validator-profile/uischema.json +59 -0
- package/package.json +83 -3
- package/provenance.json +140 -0
- package/schemas/README.md +82 -0
- package/schemas/example.schema.json +37 -0
- package/schemas/jsonforms-config.schema.json +427 -0
- package/schemas/jsonforms-dynamic-uischema.schema.json +220 -0
- package/schemas/jsonforms-extended-config.schema.json +332 -0
- package/schemas/jsonforms-extended-uischema.schema.json +1932 -0
- package/schemas/jsonforms-rule.schema.json +104 -0
- package/schemas/jsonforms-uischema.schema.json +1434 -0
- package/typescript/README.md +546 -0
- package/typescript/lib/authoring/cssLength.d.ts +33 -0
- package/typescript/lib/authoring/cssLength.js +25 -0
- package/typescript/lib/authoring/dynamic.d.ts +73 -0
- package/typescript/lib/authoring/dynamic.js +8 -0
- package/typescript/lib/authoring/forSchema.d.ts +385 -0
- package/typescript/lib/authoring/forSchema.js +84 -0
- package/typescript/lib/authoring/schemaTypes.d.ts +111 -0
- package/typescript/lib/authoring/schemaTypes.js +15 -0
- package/typescript/lib/index.d.ts +4 -0
- package/typescript/lib/index.js +20 -0
- package/typescript/package.json +1 -0
- package/typescript/src/authoring/cssLength.ts +79 -0
- package/typescript/src/authoring/dynamic.ts +96 -0
- package/typescript/src/authoring/forSchema.ts +428 -0
- package/typescript/src/authoring/schemaTypes.ts +143 -0
- package/typescript/src/index.ts +4 -0
- package/typescript/test/schemaContract.test.ts +638 -0
- package/typescript/test/tsconfig.json +10 -0
- package/typescript/test/typedAuthoring.test.ts +151 -0
- package/typescript/test/typedAuthoringCoverage.test.ts +178 -0
- package/typescript/test/typedAuthoringCssLength.test.ts +81 -0
- package/typescript/test/typedAuthoringNames.test.ts +90 -0
- package/typescript/test/typedDynamic.test.ts +88 -0
- package/typescript/tsconfig.json +15 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Input adornments
|
|
2
|
+
|
|
3
|
+
**Example ID:** `input-adornments`\
|
|
4
|
+
**Demo entry:** **Spec: Input adornments** (`#spec-input-adornments`)\
|
|
5
|
+
**Spec:** [§18.3a](../../docs/spec.md#183a-input-adornments)
|
|
6
|
+
|
|
7
|
+
The single page groups String, Multiline, Masked, Number, Integer, Choice, Password,
|
|
8
|
+
Date, Date-time, Time, Duration, Cron, and Color. Each group shows three
|
|
9
|
+
independent fields side by side: start adornment only, end adornment only,
|
|
10
|
+
and both adornments. Scroll the page to compare every supported input type
|
|
11
|
+
without switching tabs.
|
|
12
|
+
|
|
13
|
+
This authoring fixture shows a literal currency prefix, a translated unit and
|
|
14
|
+
help icon in one suffix, single icon objects on both sides of a field, a
|
|
15
|
+
translated text tooltip, and a select suffix that must coexist with its arrow.
|
|
16
|
+
Date, date-time, time, duration, cron, and color fields exercise start
|
|
17
|
+
placement beside picker icons; the end-only and both fields exercise suffix
|
|
18
|
+
placement beside clear, dropdown, picker, and reveal controls.
|
|
19
|
+
The semantic `information`, `account`, `schedule`, and `lock` IDs require a
|
|
20
|
+
renderer/host icon map;
|
|
21
|
+
no particular icon library is part of the UI model.
|
|
22
|
+
|
|
23
|
+
## Files
|
|
24
|
+
|
|
25
|
+
`schema.json` defines numeric, text and choice values. `data.json` contains
|
|
26
|
+
ordinary editable data without adornment text. `uischema.json` exercises all
|
|
27
|
+
three placements on one page. `translations.json` provides matching English
|
|
28
|
+
and Bulgarian keys with authored English fallbacks.
|
|
29
|
+
|
|
30
|
+
## Adapter checks
|
|
31
|
+
|
|
32
|
+
1. Render all fields, then switch between English and Bulgarian. Text, icon
|
|
33
|
+
names and tooltips update; data stays byte-for-byte equal. The literal `€`
|
|
34
|
+
and `#` remain unchanged. Verify that each group shows start only, end
|
|
35
|
+
only, and both placements at the same time.
|
|
36
|
+
2. Focus the help icon with a keyboard and read its localized tooltip and
|
|
37
|
+
accessible label. Hover works too. With a missing icon mapping, show the
|
|
38
|
+
localized label as text.
|
|
39
|
+
3. Edit and clear weight. The stored value remains numeric and never contains
|
|
40
|
+
`kg`; existing clear controls and validation remain usable. Where the
|
|
41
|
+
browser provides a number stepper, hover to reveal it, increment and
|
|
42
|
+
decrement, then clear. The stepper, clear button, and end adornment remain
|
|
43
|
+
separate and clickable.
|
|
44
|
+
4. Check Date, Date-time, Time, Duration, Cron, and Color. Start adornments
|
|
45
|
+
appear before native picker icons, swatches, or triggers. Type into the
|
|
46
|
+
text-entry surfaces and open each picker without losing focus or caret state.
|
|
47
|
+
The adornment must not cover the Color swatch or the Cron and Duration
|
|
48
|
+
triggers.
|
|
49
|
+
5. Clear a String field and open Choice. Clear and dropdown icons remain visible
|
|
50
|
+
and operable before end adornments. Toggle the password reveal icon without
|
|
51
|
+
changing stored data; its reveal and clear controls remain distinct from the
|
|
52
|
+
informational suffix. Cron and Duration picker actions remain usable. A
|
|
53
|
+
conditional clear button appears before the persistent password reveal
|
|
54
|
+
button without moving it, and neither action covers the suffix.
|
|
55
|
+
6. Follow a library's established slot order when it defines one; document
|
|
56
|
+
that convention. Check narrow widths and right-to-left layout.
|
|
57
|
+
7. On a renderer/variant without adornment support, report the capability gap.
|
|
58
|
+
8. At rest, on hover, while focused, and while editing, compare the position
|
|
59
|
+
of values, adornments, picker triggers, steppers, and clear buttons. No
|
|
60
|
+
element should jump, disappear, or overlap. On Date, Date-time, and Time,
|
|
61
|
+
preserve the renderer's usual clear visibility policy; when clear normally
|
|
62
|
+
appears on hover or focus, it is hidden at rest. Hovering a tooltip must
|
|
63
|
+
not change document width or horizontal scroll.
|
|
64
|
+
|
|
65
|
+
The spec package validates the authored fixture and behavior vectors. Focused
|
|
66
|
+
renderer tests exercise adornment composition and placement. The remaining
|
|
67
|
+
visual and interaction checks above should be repeated per renderer family
|
|
68
|
+
and host.
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"price": 12.5,
|
|
3
|
+
"weight": 2.4,
|
|
4
|
+
"accountNumber": "4821",
|
|
5
|
+
"reference": "AB-42",
|
|
6
|
+
"category": "standard",
|
|
7
|
+
"deliveryDate": "2026-11-24",
|
|
8
|
+
"appointment": "2026-11-24T15:30:00Z",
|
|
9
|
+
"highlight": "#2255aa",
|
|
10
|
+
"startTime": "09:30:00Z",
|
|
11
|
+
"runSchedule": "0 0 9 * * *",
|
|
12
|
+
"retention": "PT1H30M",
|
|
13
|
+
"secret": "example-only-123",
|
|
14
|
+
"stringBoth": "AB-42",
|
|
15
|
+
"multilineStart": "Notes for the shipment",
|
|
16
|
+
"multilineEnd": "Notes for the shipment",
|
|
17
|
+
"multilineBoth": "Notes for the shipment",
|
|
18
|
+
"numberBoth": 12.5,
|
|
19
|
+
"integerStart": 12,
|
|
20
|
+
"integerEnd": 12,
|
|
21
|
+
"integerBoth": 12,
|
|
22
|
+
"choiceStart": "standard",
|
|
23
|
+
"choiceBoth": "standard",
|
|
24
|
+
"passwordStart": "example-only-123",
|
|
25
|
+
"passwordEnd": "example-only-123",
|
|
26
|
+
"dateEnd": "2026-11-24",
|
|
27
|
+
"dateBoth": "2026-11-24",
|
|
28
|
+
"dateTimeEnd": "2026-11-24T15:30:00Z",
|
|
29
|
+
"dateTimeBoth": "2026-11-24T15:30:00Z",
|
|
30
|
+
"timeEnd": "09:30:00Z",
|
|
31
|
+
"timeBoth": "09:30:00Z",
|
|
32
|
+
"durationStart": "PT1H30M",
|
|
33
|
+
"durationEnd": "PT1H30M",
|
|
34
|
+
"cronStart": "0 0 9 * * *",
|
|
35
|
+
"cronEnd": "0 0 9 * * *",
|
|
36
|
+
"colorEnd": "#2255aa",
|
|
37
|
+
"colorBoth": "#2255aa",
|
|
38
|
+
"maskedStart": "482913",
|
|
39
|
+
"maskedEnd": "482913",
|
|
40
|
+
"maskedBoth": "482913"
|
|
41
|
+
}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"title": "Portable input adornments",
|
|
5
|
+
"properties": {
|
|
6
|
+
"price": {
|
|
7
|
+
"type": "number",
|
|
8
|
+
"title": "Number — Start only",
|
|
9
|
+
"minimum": 0
|
|
10
|
+
},
|
|
11
|
+
"weight": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"title": "Number — End only",
|
|
14
|
+
"minimum": 0
|
|
15
|
+
},
|
|
16
|
+
"accountNumber": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"title": "String — End only"
|
|
19
|
+
},
|
|
20
|
+
"reference": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"title": "String — Start only"
|
|
23
|
+
},
|
|
24
|
+
"category": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"title": "Choice — End only",
|
|
27
|
+
"enum": [
|
|
28
|
+
"standard",
|
|
29
|
+
"express"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"deliveryDate": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": "date",
|
|
35
|
+
"title": "Date — Start only"
|
|
36
|
+
},
|
|
37
|
+
"appointment": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"format": "date-time",
|
|
40
|
+
"title": "Date-time — Start only"
|
|
41
|
+
},
|
|
42
|
+
"highlight": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"format": "color",
|
|
45
|
+
"title": "Color — Start only"
|
|
46
|
+
},
|
|
47
|
+
"startTime": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"format": "time",
|
|
50
|
+
"title": "Time — Start only"
|
|
51
|
+
},
|
|
52
|
+
"runSchedule": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"format": "cron",
|
|
55
|
+
"title": "Cron — Both"
|
|
56
|
+
},
|
|
57
|
+
"retention": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"format": "duration",
|
|
60
|
+
"title": "Duration — Both"
|
|
61
|
+
},
|
|
62
|
+
"secret": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"format": "password",
|
|
65
|
+
"title": "Password — Both"
|
|
66
|
+
},
|
|
67
|
+
"stringBoth": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"title": "String — Both"
|
|
70
|
+
},
|
|
71
|
+
"multilineStart": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"title": "Multiline — Start only"
|
|
74
|
+
},
|
|
75
|
+
"multilineEnd": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"title": "Multiline — End only"
|
|
78
|
+
},
|
|
79
|
+
"multilineBoth": {
|
|
80
|
+
"type": "string",
|
|
81
|
+
"title": "Multiline — Both"
|
|
82
|
+
},
|
|
83
|
+
"numberBoth": {
|
|
84
|
+
"type": "number",
|
|
85
|
+
"title": "Number — Both",
|
|
86
|
+
"minimum": 0
|
|
87
|
+
},
|
|
88
|
+
"integerStart": {
|
|
89
|
+
"type": "integer",
|
|
90
|
+
"title": "Integer — Start only",
|
|
91
|
+
"minimum": 0
|
|
92
|
+
},
|
|
93
|
+
"integerEnd": {
|
|
94
|
+
"type": "integer",
|
|
95
|
+
"title": "Integer — End only",
|
|
96
|
+
"minimum": 0
|
|
97
|
+
},
|
|
98
|
+
"integerBoth": {
|
|
99
|
+
"type": "integer",
|
|
100
|
+
"title": "Integer — Both",
|
|
101
|
+
"minimum": 0
|
|
102
|
+
},
|
|
103
|
+
"choiceStart": {
|
|
104
|
+
"type": "string",
|
|
105
|
+
"title": "Choice — Start only",
|
|
106
|
+
"enum": [
|
|
107
|
+
"standard",
|
|
108
|
+
"express"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"choiceBoth": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"title": "Choice — Both",
|
|
114
|
+
"enum": [
|
|
115
|
+
"standard",
|
|
116
|
+
"express"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"passwordStart": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"format": "password",
|
|
122
|
+
"title": "Password — Start only"
|
|
123
|
+
},
|
|
124
|
+
"passwordEnd": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"format": "password",
|
|
127
|
+
"title": "Password — End only"
|
|
128
|
+
},
|
|
129
|
+
"dateEnd": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"format": "date",
|
|
132
|
+
"title": "Date — End only"
|
|
133
|
+
},
|
|
134
|
+
"dateBoth": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"format": "date",
|
|
137
|
+
"title": "Date — Both"
|
|
138
|
+
},
|
|
139
|
+
"dateTimeEnd": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"format": "date-time",
|
|
142
|
+
"title": "Date-time — End only"
|
|
143
|
+
},
|
|
144
|
+
"dateTimeBoth": {
|
|
145
|
+
"type": "string",
|
|
146
|
+
"format": "date-time",
|
|
147
|
+
"title": "Date-time — Both"
|
|
148
|
+
},
|
|
149
|
+
"timeEnd": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"format": "time",
|
|
152
|
+
"title": "Time — End only"
|
|
153
|
+
},
|
|
154
|
+
"timeBoth": {
|
|
155
|
+
"type": "string",
|
|
156
|
+
"format": "time",
|
|
157
|
+
"title": "Time — Both"
|
|
158
|
+
},
|
|
159
|
+
"durationStart": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"format": "duration",
|
|
162
|
+
"title": "Duration — Start only"
|
|
163
|
+
},
|
|
164
|
+
"durationEnd": {
|
|
165
|
+
"type": "string",
|
|
166
|
+
"format": "duration",
|
|
167
|
+
"title": "Duration — End only"
|
|
168
|
+
},
|
|
169
|
+
"cronStart": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"format": "cron",
|
|
172
|
+
"title": "Cron — Start only"
|
|
173
|
+
},
|
|
174
|
+
"cronEnd": {
|
|
175
|
+
"type": "string",
|
|
176
|
+
"format": "cron",
|
|
177
|
+
"title": "Cron — End only"
|
|
178
|
+
},
|
|
179
|
+
"colorEnd": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"format": "color",
|
|
182
|
+
"title": "Color — End only"
|
|
183
|
+
},
|
|
184
|
+
"colorBoth": {
|
|
185
|
+
"type": "string",
|
|
186
|
+
"format": "color",
|
|
187
|
+
"title": "Color — Both"
|
|
188
|
+
},
|
|
189
|
+
"maskedStart": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"title": "Masked — Start only"
|
|
192
|
+
},
|
|
193
|
+
"maskedEnd": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"title": "Masked — End only"
|
|
196
|
+
},
|
|
197
|
+
"maskedBoth": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"title": "Masked — Both"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
"required": [
|
|
203
|
+
"price",
|
|
204
|
+
"weight",
|
|
205
|
+
"accountNumber"
|
|
206
|
+
]
|
|
207
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"adornments.weight.unit.text": "kg",
|
|
4
|
+
"adornments.weight.help.label": "About weight",
|
|
5
|
+
"adornments.weight.help.tooltip": "Enter unpackaged weight.",
|
|
6
|
+
"adornments.account.icon.label": "Account",
|
|
7
|
+
"adornments.account.help.label": "Account number information",
|
|
8
|
+
"adornments.account.help.tooltip": "Find this number on your statement.",
|
|
9
|
+
"adornments.reference.suffix.text": "internal",
|
|
10
|
+
"adornments.reference.suffix.tooltip": "This reference is used within the company.",
|
|
11
|
+
"adornments.category.help.label": "About category",
|
|
12
|
+
"adornments.category.help.tooltip": "Choose the shipping category.",
|
|
13
|
+
"adornments.deliveryDate.start.text": "Due",
|
|
14
|
+
"adornments.appointment.start.label": "Appointment",
|
|
15
|
+
"adornments.highlight.start.text": "Color",
|
|
16
|
+
"adornments.startTime.start.text": "At",
|
|
17
|
+
"adornments.runSchedule.start.text": "Run",
|
|
18
|
+
"adornments.runSchedule.help.label": "About schedule",
|
|
19
|
+
"adornments.runSchedule.help.tooltip": "Use a six-field schedule.",
|
|
20
|
+
"adornments.retention.start.text": "Keep",
|
|
21
|
+
"adornments.retention.help.label": "About duration",
|
|
22
|
+
"adornments.retention.help.tooltip": "Enter an ISO 8601 duration.",
|
|
23
|
+
"adornments.secret.start.label": "Secret",
|
|
24
|
+
"adornments.secret.help.label": "About secret",
|
|
25
|
+
"adornments.secret.help.tooltip": "Keep this value private.",
|
|
26
|
+
"adornments.tabs.string.label": "String",
|
|
27
|
+
"adornments.tabs.number.label": "Number",
|
|
28
|
+
"adornments.tabs.choice.label": "Choice",
|
|
29
|
+
"adornments.tabs.password.label": "Password",
|
|
30
|
+
"adornments.tabs.date.label": "Date",
|
|
31
|
+
"adornments.tabs.dateTime.label": "Date-time",
|
|
32
|
+
"adornments.tabs.time.label": "Time",
|
|
33
|
+
"adornments.tabs.duration.label": "Duration",
|
|
34
|
+
"adornments.tabs.cron.label": "Cron",
|
|
35
|
+
"adornments.tabs.color.label": "Color",
|
|
36
|
+
"adornments.integer.help.label": "About integer",
|
|
37
|
+
"adornments.integer.help.tooltip": "Help for the integer field.",
|
|
38
|
+
"adornments.choice.start.text": "Choice",
|
|
39
|
+
"adornments.date.help.label": "About date",
|
|
40
|
+
"adornments.date.help.tooltip": "Help for the date field.",
|
|
41
|
+
"adornments.dateTime.help.label": "About date-time",
|
|
42
|
+
"adornments.dateTime.help.tooltip": "Help for the date-time field.",
|
|
43
|
+
"adornments.time.help.label": "About time",
|
|
44
|
+
"adornments.time.help.tooltip": "Help for the time field.",
|
|
45
|
+
"adornments.color.help.label": "About color",
|
|
46
|
+
"adornments.color.help.tooltip": "Help for the color field.",
|
|
47
|
+
"adornments.tabs.multiline.label": "Multiline",
|
|
48
|
+
"adornments.tabs.integer.label": "Integer",
|
|
49
|
+
"adornments.tabs.masked.label": "Masked",
|
|
50
|
+
"adornments.masked.start.text": "ID",
|
|
51
|
+
"adornments.masked.help.label": "About masked text",
|
|
52
|
+
"adornments.masked.help.tooltip": "Enter six digits."
|
|
53
|
+
},
|
|
54
|
+
"bg": {
|
|
55
|
+
"adornments.weight.unit.text": "кг",
|
|
56
|
+
"adornments.weight.help.label": "За теглото",
|
|
57
|
+
"adornments.weight.help.tooltip": "Въведете теглото без опаковката.",
|
|
58
|
+
"adornments.account.icon.label": "Сметка",
|
|
59
|
+
"adornments.account.help.label": "Информация за номера на сметката",
|
|
60
|
+
"adornments.account.help.tooltip": "Намерете този номер в извлечението си.",
|
|
61
|
+
"adornments.reference.suffix.text": "вътрешен",
|
|
62
|
+
"adornments.reference.suffix.tooltip": "Този номер се използва вътрешно във фирмата.",
|
|
63
|
+
"adornments.category.help.label": "За категорията",
|
|
64
|
+
"adornments.category.help.tooltip": "Изберете категорията за доставка.",
|
|
65
|
+
"adornments.deliveryDate.start.text": "До",
|
|
66
|
+
"adornments.appointment.start.label": "Среща",
|
|
67
|
+
"adornments.highlight.start.text": "Цвят",
|
|
68
|
+
"adornments.startTime.start.text": "В",
|
|
69
|
+
"adornments.runSchedule.start.text": "Изпълни",
|
|
70
|
+
"adornments.runSchedule.help.label": "За графика",
|
|
71
|
+
"adornments.runSchedule.help.tooltip": "Използвайте график с шест полета.",
|
|
72
|
+
"adornments.retention.start.text": "Запази",
|
|
73
|
+
"adornments.retention.help.label": "За продължителността",
|
|
74
|
+
"adornments.retention.help.tooltip": "Въведете продължителност по ISO 8601.",
|
|
75
|
+
"adornments.secret.start.label": "Тайна",
|
|
76
|
+
"adornments.secret.help.label": "За тайната",
|
|
77
|
+
"adornments.secret.help.tooltip": "Пазете тази стойност поверителна.",
|
|
78
|
+
"adornments.tabs.string.label": "Низ",
|
|
79
|
+
"adornments.tabs.number.label": "Число",
|
|
80
|
+
"adornments.tabs.choice.label": "Избор",
|
|
81
|
+
"adornments.tabs.password.label": "Парола",
|
|
82
|
+
"adornments.tabs.date.label": "Дата",
|
|
83
|
+
"adornments.tabs.dateTime.label": "Дата и час",
|
|
84
|
+
"adornments.tabs.time.label": "Час",
|
|
85
|
+
"adornments.tabs.duration.label": "Продължителност",
|
|
86
|
+
"adornments.tabs.cron.label": "Cron",
|
|
87
|
+
"adornments.tabs.color.label": "Цвят",
|
|
88
|
+
"adornments.integer.help.label": "За цяло число",
|
|
89
|
+
"adornments.integer.help.tooltip": "Помощ за поле цяло число.",
|
|
90
|
+
"adornments.choice.start.text": "Избор",
|
|
91
|
+
"adornments.date.help.label": "За дата",
|
|
92
|
+
"adornments.date.help.tooltip": "Помощ за поле дата.",
|
|
93
|
+
"adornments.dateTime.help.label": "За дата и час",
|
|
94
|
+
"adornments.dateTime.help.tooltip": "Помощ за поле дата и час.",
|
|
95
|
+
"adornments.time.help.label": "За час",
|
|
96
|
+
"adornments.time.help.tooltip": "Помощ за поле час.",
|
|
97
|
+
"adornments.color.help.label": "За цвят",
|
|
98
|
+
"adornments.color.help.tooltip": "Помощ за поле цвят.",
|
|
99
|
+
"adornments.tabs.multiline.label": "Многоредов текст",
|
|
100
|
+
"adornments.tabs.integer.label": "Цяло число",
|
|
101
|
+
"adornments.tabs.masked.label": "Маскиран текст",
|
|
102
|
+
"adornments.masked.start.text": "ИД",
|
|
103
|
+
"adornments.masked.help.label": "За маскирания текст",
|
|
104
|
+
"adornments.masked.help.tooltip": "Въведете шест цифри."
|
|
105
|
+
}
|
|
106
|
+
}
|