@uides/stepwise 2.0.0-a402a664 → 2.0.0-a64dc016
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 +0 -0
- package/generators/componentExtractor.d.mts +1 -0
- package/generators/componentReducer.d.mts +1 -0
- package/generators/templateGenerator.d.mts +1 -0
- package/index.d.ts +2 -0
- package/index.js +7 -0
- package/package.json +6 -21
- package/schemas/action.d.ts +2366 -0
- package/schemas/action.js +196 -0
- package/schemas/application.d.ts +19 -0
- package/schemas/application.js +14 -0
- package/schemas/attributes.d.ts +16 -0
- package/schemas/attributes.js +14 -0
- package/schemas/common.d.ts +25 -0
- package/schemas/common.js +41 -0
- package/schemas/document.d.ts +395 -0
- package/schemas/document.js +79 -0
- package/schemas/edupass-healthstate.d.ts +77 -0
- package/schemas/edupass-healthstate.js +76 -0
- package/schemas/field/afm/index.d.ts +52 -0
- package/schemas/field/afm/index.js +20 -0
- package/schemas/field/amka/index.d.ts +60 -0
- package/schemas/field/amka/index.js +21 -0
- package/schemas/field/attachment/index.d.ts +68 -0
- package/schemas/field/attachment/index.js +38 -0
- package/schemas/field/captcha/index.d.ts +48 -0
- package/schemas/field/captcha/index.js +15 -0
- package/schemas/field/choice/index.d.ts +73 -0
- package/schemas/field/choice/index.js +32 -0
- package/schemas/field/common.d.ts +82 -0
- package/schemas/field/common.js +63 -0
- package/schemas/field/consent-content/index.d.ts +68 -0
- package/schemas/field/consent-content/index.js +19 -0
- package/schemas/field/date/index.d.ts +90 -0
- package/schemas/field/date/index.js +42 -0
- package/schemas/field/doc_subtitle/index.d.ts +51 -0
- package/schemas/field/doc_subtitle/index.js +14 -0
- package/schemas/field/doc_title/index.d.ts +60 -0
- package/schemas/field/doc_title/index.js +21 -0
- package/schemas/field/dynamically-filled-text/index.d.ts +85 -0
- package/schemas/field/dynamically-filled-text/index.js +36 -0
- package/schemas/field/email/index.d.ts +60 -0
- package/schemas/field/email/index.js +21 -0
- package/schemas/field/fillable-string/index.d.ts +64 -0
- package/schemas/field/fillable-string/index.js +25 -0
- package/schemas/field/five-block-date/index.d.ts +48 -0
- package/schemas/field/five-block-date/index.js +15 -0
- package/schemas/field/hidden/index.d.ts +59 -0
- package/schemas/field/hidden/index.js +25 -0
- package/schemas/field/hierarchical-selector/index.d.ts +89 -0
- package/schemas/field/hierarchical-selector/index.js +35 -0
- package/schemas/field/iban/index.d.ts +58 -0
- package/schemas/field/iban/index.js +19 -0
- package/schemas/field/image/index.d.ts +68 -0
- package/schemas/field/image/index.js +36 -0
- package/schemas/field/image-crop/index.d.ts +59 -0
- package/schemas/field/image-crop/index.js +19 -0
- package/schemas/field/index.d.ts +48 -0
- package/schemas/field/index.js +167 -0
- package/schemas/field/int/index.d.ts +60 -0
- package/schemas/field/int/index.js +21 -0
- package/schemas/field/intl_mobile_phone/index.d.ts +49 -0
- package/schemas/field/intl_mobile_phone/index.js +15 -0
- package/schemas/field/lab-results/index.d.ts +49 -0
- package/schemas/field/lab-results/index.js +12 -0
- package/schemas/field/landline_phone/index.d.ts +48 -0
- package/schemas/field/landline_phone/index.js +14 -0
- package/schemas/field/link/index.d.ts +50 -0
- package/schemas/field/link/index.js +16 -0
- package/schemas/field/mobile_phone/index.d.ts +51 -0
- package/schemas/field/mobile_phone/index.js +18 -0
- package/schemas/field/multiple-choice/index.d.ts +70 -0
- package/schemas/field/multiple-choice/index.js +31 -0
- package/schemas/field/password/index.d.ts +48 -0
- package/schemas/field/password/index.js +15 -0
- package/schemas/field/pdf-image/index.d.ts +66 -0
- package/schemas/field/pdf-image/index.js +27 -0
- package/schemas/field/phone/index.d.ts +48 -0
- package/schemas/field/phone/index.js +14 -0
- package/schemas/field/postal_code/index.d.ts +50 -0
- package/schemas/field/postal_code/index.js +17 -0
- package/schemas/field/preference-multiple-choice/index.d.ts +90 -0
- package/schemas/field/preference-multiple-choice/index.js +31 -0
- package/schemas/field/qrcode/index.d.ts +71 -0
- package/schemas/field/qrcode/index.js +30 -0
- package/schemas/field/quote/index.d.ts +63 -0
- package/schemas/field/quote/index.js +30 -0
- package/schemas/field/radio-choice/index.d.ts +67 -0
- package/schemas/field/radio-choice/index.js +31 -0
- package/schemas/field/rate/index.d.ts +60 -0
- package/schemas/field/rate/index.js +18 -0
- package/schemas/field/recipient/index.d.ts +51 -0
- package/schemas/field/recipient/index.js +20 -0
- package/schemas/field/redirect/index.d.ts +52 -0
- package/schemas/field/redirect/index.js +15 -0
- package/schemas/field/refcode/index.d.ts +68 -0
- package/schemas/field/refcode/index.js +29 -0
- package/schemas/field/string/index.d.ts +135 -0
- package/schemas/field/string/index.js +80 -0
- package/schemas/field/text/index.d.ts +85 -0
- package/schemas/field/text/index.js +45 -0
- package/schemas/field/three-block-date/index.d.ts +64 -0
- package/schemas/field/three-block-date/index.js +26 -0
- package/schemas/field/url-param/index.d.ts +57 -0
- package/schemas/field/url-param/index.js +14 -0
- package/schemas/fieldset/component-params.d.ts +102 -0
- package/schemas/fieldset/component-params.js +63 -0
- package/schemas/fieldset/display-components.d.ts +353 -0
- package/schemas/fieldset/display-components.js +36 -0
- package/schemas/fieldset/enums.d.ts +32 -0
- package/schemas/fieldset/enums.js +21 -0
- package/schemas/fieldset/index.d.ts +180 -0
- package/schemas/fieldset/index.js +11 -0
- package/schemas/index.d.ts +15 -0
- package/schemas/index.js +15 -0
- package/schemas/layout.d.ts +91 -0
- package/schemas/layout.js +43 -0
- package/schemas/outputs.d.ts +44 -0
- package/schemas/outputs.js +15 -0
- package/schemas/resolve.d.ts +5 -0
- package/schemas/resolve.js +13 -0
- package/schemas/resource/enums.d.ts +58 -0
- package/schemas/resource/enums.js +41 -0
- package/schemas/resource/field.d.ts +15 -0
- package/schemas/resource/field.js +12 -0
- package/schemas/resource/index.d.ts +5 -0
- package/schemas/resource/index.js +5 -0
- package/schemas/resource/object-action.d.ts +30 -0
- package/schemas/resource/object-action.js +24 -0
- package/schemas/resource/resource-action.d.ts +35 -0
- package/schemas/resource/resource-action.js +29 -0
- package/schemas/resource/resource.d.ts +133 -0
- package/schemas/resource/resource.js +31 -0
- package/schemas/step.d.ts +592 -0
- package/schemas/step.js +115 -0
- package/schemas/template/index.d.ts +2 -0
- package/schemas/template/index.js +2 -0
- package/schemas/template/template-base.d.ts +53 -0
- package/schemas/template/template-base.js +15 -0
- package/schemas/template/template-source.d.ts +50 -0
- package/schemas/template/template-source.js +14 -0
- package/schemas/template/template.d.ts +54 -0
- package/schemas/template/template.js +22 -0
- package/schemas/validation-context/enums.d.ts +10 -0
- package/schemas/validation-context/enums.js +7 -0
- package/schemas/validation-context/index.d.ts +2 -0
- package/schemas/validation-context/index.js +2 -0
- package/schemas/validation-context/validation-context.d.ts +131 -0
- package/schemas/validation-context/validation-context.js +55 -0
- package/src/schemas/action.ts +15 -0
- package/src/schemas/common.ts +16 -0
- package/src/schemas/field/afm/index.ts +2 -18
- package/src/schemas/field/amka/index.ts +7 -2
- package/src/schemas/field/attachment/index.ts +12 -24
- package/src/schemas/field/choice/index.ts +2 -13
- package/src/schemas/field/common.ts +75 -51
- package/src/schemas/field/consent-content/index.ts +28 -0
- package/src/schemas/field/date/index.ts +5 -32
- package/src/schemas/field/doc_subtitle/index.ts +1 -0
- package/src/schemas/field/doc_title/index.ts +9 -16
- package/src/schemas/field/dynamically-filled-text/index.ts +4 -5
- package/src/schemas/field/email/index.ts +6 -9
- package/src/schemas/field/fillable-string/index.ts +1 -1
- package/src/schemas/field/hidden/index.ts +4 -43
- package/src/schemas/field/hierarchical-selector/index.ts +3 -9
- package/src/schemas/field/image/index.ts +5 -24
- package/src/schemas/field/image-crop/index.ts +25 -0
- package/src/schemas/field/index.spec.ts +0 -42
- package/src/schemas/field/index.ts +64 -12
- package/src/schemas/field/int/index.ts +2 -0
- package/src/schemas/field/intl_mobile_phone/index.ts +19 -0
- package/src/schemas/field/lab-results/index.ts +1 -2
- package/src/schemas/field/link/index.ts +20 -0
- package/src/schemas/field/mobile_phone/index.ts +1 -12
- package/src/schemas/field/multiple-choice/index.ts +4 -3
- package/src/schemas/field/password/index.ts +18 -0
- package/src/schemas/field/pdf-image/index.ts +3 -15
- package/src/schemas/field/phone/index.ts +18 -0
- package/src/schemas/field/postal_code/index.ts +1 -1
- package/src/schemas/field/preference-multiple-choice/index.ts +41 -0
- package/src/schemas/field/qrcode/index.ts +1 -0
- package/src/schemas/field/quote/index.ts +2 -19
- package/src/schemas/field/radio-choice/index.ts +1 -7
- package/src/schemas/field/rate/index.ts +1 -9
- package/src/schemas/field/recipient/index.ts +2 -2
- package/src/schemas/field/redirect/index.ts +4 -13
- package/src/schemas/field/refcode/index.ts +10 -15
- package/src/schemas/field/string/index.ts +13 -0
- package/src/schemas/field/text/index.ts +4 -18
- package/src/schemas/field/url-param/index.ts +23 -0
- package/src/schemas/resolve.ts +3 -0
- package/src/schemas/step.ts +2 -0
- package/src/schemas/template/index.ts +0 -1
- package/src/schemas/template/template-base.ts +0 -10
- package/src/schemas/template/template.ts +1 -2
- package/src/schemas/validation-context/enums.ts +0 -16
- package/src/schemas/validation-context/validation-context.ts +2 -4
- package/src/utils/index.ts +10 -1
- package/utils/index.d.ts +6 -0
- package/utils/index.js +55 -0
- package/.prettierrc.js +0 -1
- package/.rush/temp/chunked-rush-logs/stepwise.build.chunks.jsonl +0 -6
- package/.rush/temp/package-deps_build.json +0 -185
- package/.rush/temp/shrinkwrap-deps.json +0 -303
- package/eslint.config.mjs +0 -3
- package/rush-logs/stepwise.build.log +0 -6
- package/src/schemas/field/green-pass-qrcode/index.ts +0 -27
- package/src/schemas/template/enums.ts +0 -22
- package/tsconfig.json +0 -25
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { array, boolean as external_valibot_boolean, nullable, nullish, number, optional, picklist, strictObject, string } from "valibot";
|
|
2
|
+
const MultiplicityLabelsSchema = strictObject({
|
|
3
|
+
addTitle: nullish(string()),
|
|
4
|
+
editTitle: nullish(string()),
|
|
5
|
+
addItem: nullish(string()),
|
|
6
|
+
removeItem: nullish(string()),
|
|
7
|
+
editItem: nullish(string()),
|
|
8
|
+
submitAdd: nullish(string()),
|
|
9
|
+
submitEdit: nullish(string()),
|
|
10
|
+
cancel: nullish(string()),
|
|
11
|
+
empty: nullish(string()),
|
|
12
|
+
emptyValueDisplay: nullish(string())
|
|
13
|
+
});
|
|
14
|
+
const OtherComponentParamsSchema = strictObject({
|
|
15
|
+
page_break: nullish(external_valibot_boolean()),
|
|
16
|
+
sticky_title: nullish(external_valibot_boolean()),
|
|
17
|
+
multiplicity: nullish(number()),
|
|
18
|
+
multiplicityLabels: nullish(MultiplicityLabelsSchema),
|
|
19
|
+
required: nullish(external_valibot_boolean()),
|
|
20
|
+
fixed: nullish(external_valibot_boolean()),
|
|
21
|
+
layout: nullish(picklist([
|
|
22
|
+
'entry',
|
|
23
|
+
'card'
|
|
24
|
+
]))
|
|
25
|
+
});
|
|
26
|
+
const TableComponentParamsSchema = strictObject({
|
|
27
|
+
lines: optional(nullable(picklist([
|
|
28
|
+
'no',
|
|
29
|
+
'grid',
|
|
30
|
+
'outer',
|
|
31
|
+
'grid-round',
|
|
32
|
+
'outer-round'
|
|
33
|
+
]))),
|
|
34
|
+
table_halign: optional(nullable(picklist([
|
|
35
|
+
'LEFT',
|
|
36
|
+
'CENTER',
|
|
37
|
+
'RIGHT'
|
|
38
|
+
]))),
|
|
39
|
+
table_width_ratio: nullish(number()),
|
|
40
|
+
cell_halign: optional(nullable(picklist([
|
|
41
|
+
'left',
|
|
42
|
+
'center',
|
|
43
|
+
'right'
|
|
44
|
+
]))),
|
|
45
|
+
cell_valign: optional(nullable(picklist([
|
|
46
|
+
'BOTTOM',
|
|
47
|
+
'MIDDLE',
|
|
48
|
+
'TOP'
|
|
49
|
+
]))),
|
|
50
|
+
cell_height: nullish(number()),
|
|
51
|
+
auto_columns: nullish(external_valibot_boolean()),
|
|
52
|
+
fontSize: nullish(number()),
|
|
53
|
+
no_split: nullish(external_valibot_boolean()),
|
|
54
|
+
spaceBefore: nullish(number()),
|
|
55
|
+
spaceAfter: nullish(number()),
|
|
56
|
+
omit_empty_values: nullish(external_valibot_boolean()),
|
|
57
|
+
background: nullish(string()),
|
|
58
|
+
coordinates: nullish(array(number())),
|
|
59
|
+
mirrored: nullish(external_valibot_boolean()),
|
|
60
|
+
handler: nullish(string()),
|
|
61
|
+
...OtherComponentParamsSchema.entries
|
|
62
|
+
});
|
|
63
|
+
export { MultiplicityLabelsSchema, OtherComponentParamsSchema, TableComponentParamsSchema };
|
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare const FieldsetWebDisplaySchema: v.StrictObjectSchema<{
|
|
3
|
+
/** The explanatory title of the fieldset */
|
|
4
|
+
readonly title: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
5
|
+
readonly component: v.PicklistSchema<["values-list", "hidden", "form"], undefined>;
|
|
6
|
+
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
7
|
+
readonly page_break: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
8
|
+
readonly sticky_title: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
9
|
+
readonly multiplicity: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
10
|
+
readonly multiplicityLabels: v.NullishSchema<v.StrictObjectSchema<{
|
|
11
|
+
readonly addTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
12
|
+
readonly editTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
13
|
+
readonly addItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
+
readonly removeItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
15
|
+
readonly editItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
16
|
+
readonly submitAdd: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
17
|
+
readonly submitEdit: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
18
|
+
readonly cancel: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
19
|
+
readonly empty: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
20
|
+
readonly emptyValueDisplay: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
21
|
+
}, undefined>, undefined>;
|
|
22
|
+
readonly required: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
23
|
+
readonly fixed: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
24
|
+
readonly layout: v.NullishSchema<v.PicklistSchema<["entry", "card"], undefined>, undefined>;
|
|
25
|
+
readonly lines: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["no", "grid", "outer", "grid-round", "outer-round"], undefined>, undefined>, undefined>;
|
|
26
|
+
readonly table_halign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "CENTER", "RIGHT"], undefined>, undefined>, undefined>;
|
|
27
|
+
readonly table_width_ratio: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
28
|
+
readonly cell_halign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["left", "center", "right"], undefined>, undefined>, undefined>;
|
|
29
|
+
readonly cell_valign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["BOTTOM", "MIDDLE", "TOP"], undefined>, undefined>, undefined>;
|
|
30
|
+
readonly cell_height: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
31
|
+
readonly auto_columns: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
32
|
+
readonly fontSize: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
33
|
+
readonly no_split: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
34
|
+
readonly spaceBefore: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
35
|
+
readonly spaceAfter: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
36
|
+
readonly omit_empty_values: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
37
|
+
readonly background: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
38
|
+
readonly coordinates: v.NullishSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
39
|
+
readonly mirrored: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
40
|
+
readonly handler: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
41
|
+
}, undefined>, undefined>;
|
|
42
|
+
readonly layout: v.NullishSchema<v.StrictObjectSchema<{
|
|
43
|
+
readonly grid: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
44
|
+
readonly xs: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
45
|
+
readonly sm: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
46
|
+
readonly md: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
47
|
+
readonly lg: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
48
|
+
readonly xl: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
49
|
+
}, undefined>, undefined>;
|
|
50
|
+
}, undefined>;
|
|
51
|
+
export type FieldsetWebDisplay = v.InferOutput<typeof FieldsetWebDisplaySchema>;
|
|
52
|
+
export declare const FieldsetPdfDisplayTableSchema: v.StrictObjectSchema<{
|
|
53
|
+
/** The explanatory title of the fieldset */
|
|
54
|
+
readonly title: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
55
|
+
readonly component: v.PicklistSchema<["values-list", "table", "one-liner-table", "signature", "footnotes", "hidden", "custom"], undefined>;
|
|
56
|
+
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
57
|
+
readonly page_break: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
58
|
+
readonly sticky_title: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
59
|
+
readonly multiplicity: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
60
|
+
readonly multiplicityLabels: v.NullishSchema<v.StrictObjectSchema<{
|
|
61
|
+
readonly addTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
62
|
+
readonly editTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
63
|
+
readonly addItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
64
|
+
readonly removeItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
65
|
+
readonly editItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
66
|
+
readonly submitAdd: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
67
|
+
readonly submitEdit: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
68
|
+
readonly cancel: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
69
|
+
readonly empty: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
70
|
+
readonly emptyValueDisplay: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
71
|
+
}, undefined>, undefined>;
|
|
72
|
+
readonly required: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
73
|
+
readonly fixed: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
74
|
+
readonly layout: v.NullishSchema<v.PicklistSchema<["entry", "card"], undefined>, undefined>;
|
|
75
|
+
readonly lines: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["no", "grid", "outer", "grid-round", "outer-round"], undefined>, undefined>, undefined>;
|
|
76
|
+
readonly table_halign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "CENTER", "RIGHT"], undefined>, undefined>, undefined>;
|
|
77
|
+
readonly table_width_ratio: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
78
|
+
readonly cell_halign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["left", "center", "right"], undefined>, undefined>, undefined>;
|
|
79
|
+
readonly cell_valign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["BOTTOM", "MIDDLE", "TOP"], undefined>, undefined>, undefined>;
|
|
80
|
+
readonly cell_height: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
81
|
+
readonly auto_columns: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
82
|
+
readonly fontSize: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
83
|
+
readonly no_split: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
84
|
+
readonly spaceBefore: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
85
|
+
readonly spaceAfter: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
86
|
+
readonly omit_empty_values: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
87
|
+
readonly background: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
88
|
+
readonly coordinates: v.NullishSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
89
|
+
readonly mirrored: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
90
|
+
readonly handler: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
91
|
+
}, undefined>, undefined>;
|
|
92
|
+
}, undefined>;
|
|
93
|
+
export type FieldsetPdfDisplayTable = v.InferOutput<typeof FieldsetPdfDisplayTableSchema>;
|
|
94
|
+
export declare const FieldsetPdfDisplayOtherSchema: v.StrictObjectSchema<{
|
|
95
|
+
/** The explanatory title of the fieldset */
|
|
96
|
+
readonly title: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
97
|
+
readonly component: v.PicklistSchema<["header", "common", "plain-text"], undefined>;
|
|
98
|
+
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
99
|
+
readonly page_break: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
100
|
+
readonly sticky_title: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
101
|
+
readonly multiplicity: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
102
|
+
readonly multiplicityLabels: v.NullishSchema<v.StrictObjectSchema<{
|
|
103
|
+
readonly addTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
104
|
+
readonly editTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
105
|
+
readonly addItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
106
|
+
readonly removeItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
107
|
+
readonly editItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
108
|
+
readonly submitAdd: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
109
|
+
readonly submitEdit: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
110
|
+
readonly cancel: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
111
|
+
readonly empty: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
112
|
+
readonly emptyValueDisplay: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
113
|
+
}, undefined>, undefined>;
|
|
114
|
+
readonly required: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
115
|
+
readonly fixed: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
116
|
+
readonly layout: v.NullishSchema<v.PicklistSchema<["entry", "card"], undefined>, undefined>;
|
|
117
|
+
}, undefined>, undefined>;
|
|
118
|
+
}, undefined>;
|
|
119
|
+
export type FieldsetPdfDisplayOther = v.InferOutput<typeof FieldsetPdfDisplayOtherSchema>;
|
|
120
|
+
export declare const FieldsetPdfDisplaySchema: v.VariantSchema<"component", [v.StrictObjectSchema<{
|
|
121
|
+
/** The explanatory title of the fieldset */
|
|
122
|
+
readonly title: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
123
|
+
readonly component: v.PicklistSchema<["values-list", "table", "one-liner-table", "signature", "footnotes", "hidden", "custom"], undefined>;
|
|
124
|
+
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
125
|
+
readonly page_break: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
126
|
+
readonly sticky_title: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
127
|
+
readonly multiplicity: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
128
|
+
readonly multiplicityLabels: v.NullishSchema<v.StrictObjectSchema<{
|
|
129
|
+
readonly addTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
130
|
+
readonly editTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
131
|
+
readonly addItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
132
|
+
readonly removeItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
133
|
+
readonly editItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
134
|
+
readonly submitAdd: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
135
|
+
readonly submitEdit: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
136
|
+
readonly cancel: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
137
|
+
readonly empty: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
138
|
+
readonly emptyValueDisplay: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
139
|
+
}, undefined>, undefined>;
|
|
140
|
+
readonly required: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
141
|
+
readonly fixed: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
142
|
+
readonly layout: v.NullishSchema<v.PicklistSchema<["entry", "card"], undefined>, undefined>;
|
|
143
|
+
readonly lines: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["no", "grid", "outer", "grid-round", "outer-round"], undefined>, undefined>, undefined>;
|
|
144
|
+
readonly table_halign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "CENTER", "RIGHT"], undefined>, undefined>, undefined>;
|
|
145
|
+
readonly table_width_ratio: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
146
|
+
readonly cell_halign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["left", "center", "right"], undefined>, undefined>, undefined>;
|
|
147
|
+
readonly cell_valign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["BOTTOM", "MIDDLE", "TOP"], undefined>, undefined>, undefined>;
|
|
148
|
+
readonly cell_height: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
149
|
+
readonly auto_columns: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
150
|
+
readonly fontSize: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
151
|
+
readonly no_split: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
152
|
+
readonly spaceBefore: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
153
|
+
readonly spaceAfter: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
154
|
+
readonly omit_empty_values: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
155
|
+
readonly background: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
156
|
+
readonly coordinates: v.NullishSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
157
|
+
readonly mirrored: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
158
|
+
readonly handler: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
159
|
+
}, undefined>, undefined>;
|
|
160
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
161
|
+
/** The explanatory title of the fieldset */
|
|
162
|
+
readonly title: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
163
|
+
readonly component: v.PicklistSchema<["header", "common", "plain-text"], undefined>;
|
|
164
|
+
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
165
|
+
readonly page_break: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
166
|
+
readonly sticky_title: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
167
|
+
readonly multiplicity: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
168
|
+
readonly multiplicityLabels: v.NullishSchema<v.StrictObjectSchema<{
|
|
169
|
+
readonly addTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
170
|
+
readonly editTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
171
|
+
readonly addItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
172
|
+
readonly removeItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
173
|
+
readonly editItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
174
|
+
readonly submitAdd: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
175
|
+
readonly submitEdit: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
176
|
+
readonly cancel: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
177
|
+
readonly empty: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
178
|
+
readonly emptyValueDisplay: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
179
|
+
}, undefined>, undefined>;
|
|
180
|
+
readonly required: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
181
|
+
readonly fixed: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
182
|
+
readonly layout: v.NullishSchema<v.PicklistSchema<["entry", "card"], undefined>, undefined>;
|
|
183
|
+
}, undefined>, undefined>;
|
|
184
|
+
}, undefined>], undefined>;
|
|
185
|
+
export type FieldsetPdfDisplay = v.InferOutput<typeof FieldsetPdfDisplaySchema>;
|
|
186
|
+
export declare const FieldsetDisplaySchema: v.UnionSchema<[v.LooseObjectSchema<{
|
|
187
|
+
readonly default: v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.StrictObjectSchema<{
|
|
188
|
+
/** The explanatory title of the fieldset */
|
|
189
|
+
readonly title: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
190
|
+
readonly component: v.PicklistSchema<["values-list", "hidden", "form"], undefined>;
|
|
191
|
+
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
192
|
+
readonly page_break: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
193
|
+
readonly sticky_title: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
194
|
+
readonly multiplicity: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
195
|
+
readonly multiplicityLabels: v.NullishSchema<v.StrictObjectSchema<{
|
|
196
|
+
readonly addTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
197
|
+
readonly editTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
198
|
+
readonly addItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
199
|
+
readonly removeItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
200
|
+
readonly editItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
201
|
+
readonly submitAdd: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
202
|
+
readonly submitEdit: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
203
|
+
readonly cancel: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
204
|
+
readonly empty: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
205
|
+
readonly emptyValueDisplay: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
206
|
+
}, undefined>, undefined>;
|
|
207
|
+
readonly required: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
208
|
+
readonly fixed: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
209
|
+
readonly layout: v.NullishSchema<v.PicklistSchema<["entry", "card"], undefined>, undefined>;
|
|
210
|
+
readonly lines: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["no", "grid", "outer", "grid-round", "outer-round"], undefined>, undefined>, undefined>;
|
|
211
|
+
readonly table_halign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "CENTER", "RIGHT"], undefined>, undefined>, undefined>;
|
|
212
|
+
readonly table_width_ratio: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
213
|
+
readonly cell_halign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["left", "center", "right"], undefined>, undefined>, undefined>;
|
|
214
|
+
readonly cell_valign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["BOTTOM", "MIDDLE", "TOP"], undefined>, undefined>, undefined>;
|
|
215
|
+
readonly cell_height: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
216
|
+
readonly auto_columns: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
217
|
+
readonly fontSize: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
218
|
+
readonly no_split: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
219
|
+
readonly spaceBefore: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
220
|
+
readonly spaceAfter: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
221
|
+
readonly omit_empty_values: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
222
|
+
readonly background: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
223
|
+
readonly coordinates: v.NullishSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
224
|
+
readonly mirrored: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
225
|
+
readonly handler: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
226
|
+
}, undefined>, undefined>;
|
|
227
|
+
readonly layout: v.NullishSchema<v.StrictObjectSchema<{
|
|
228
|
+
readonly grid: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
229
|
+
readonly xs: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
230
|
+
readonly sm: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
231
|
+
readonly md: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
232
|
+
readonly lg: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
233
|
+
readonly xl: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
234
|
+
}, undefined>, undefined>;
|
|
235
|
+
}, undefined>, undefined>;
|
|
236
|
+
}, undefined>, v.LooseObjectSchema<{
|
|
237
|
+
readonly web: v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.StrictObjectSchema<{
|
|
238
|
+
/** The explanatory title of the fieldset */
|
|
239
|
+
readonly title: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
240
|
+
readonly component: v.PicklistSchema<["values-list", "hidden", "form"], undefined>;
|
|
241
|
+
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
242
|
+
readonly page_break: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
243
|
+
readonly sticky_title: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
244
|
+
readonly multiplicity: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
245
|
+
readonly multiplicityLabels: v.NullishSchema<v.StrictObjectSchema<{
|
|
246
|
+
readonly addTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
247
|
+
readonly editTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
248
|
+
readonly addItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
249
|
+
readonly removeItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
250
|
+
readonly editItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
251
|
+
readonly submitAdd: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
252
|
+
readonly submitEdit: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
253
|
+
readonly cancel: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
254
|
+
readonly empty: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
255
|
+
readonly emptyValueDisplay: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
256
|
+
}, undefined>, undefined>;
|
|
257
|
+
readonly required: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
258
|
+
readonly fixed: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
259
|
+
readonly layout: v.NullishSchema<v.PicklistSchema<["entry", "card"], undefined>, undefined>;
|
|
260
|
+
readonly lines: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["no", "grid", "outer", "grid-round", "outer-round"], undefined>, undefined>, undefined>;
|
|
261
|
+
readonly table_halign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "CENTER", "RIGHT"], undefined>, undefined>, undefined>;
|
|
262
|
+
readonly table_width_ratio: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
263
|
+
readonly cell_halign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["left", "center", "right"], undefined>, undefined>, undefined>;
|
|
264
|
+
readonly cell_valign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["BOTTOM", "MIDDLE", "TOP"], undefined>, undefined>, undefined>;
|
|
265
|
+
readonly cell_height: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
266
|
+
readonly auto_columns: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
267
|
+
readonly fontSize: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
268
|
+
readonly no_split: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
269
|
+
readonly spaceBefore: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
270
|
+
readonly spaceAfter: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
271
|
+
readonly omit_empty_values: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
272
|
+
readonly background: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
273
|
+
readonly coordinates: v.NullishSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
274
|
+
readonly mirrored: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
275
|
+
readonly handler: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
276
|
+
}, undefined>, undefined>;
|
|
277
|
+
readonly layout: v.NullishSchema<v.StrictObjectSchema<{
|
|
278
|
+
readonly grid: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
279
|
+
readonly xs: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
280
|
+
readonly sm: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
281
|
+
readonly md: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
282
|
+
readonly lg: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
283
|
+
readonly xl: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
284
|
+
}, undefined>, undefined>;
|
|
285
|
+
}, undefined>, undefined>;
|
|
286
|
+
}, undefined>, v.LooseObjectSchema<{
|
|
287
|
+
readonly pdf: v.RecordSchema<v.PicklistSchema<["default", "el", "en", "fr"], undefined>, v.VariantSchema<"component", [v.StrictObjectSchema<{
|
|
288
|
+
/** The explanatory title of the fieldset */
|
|
289
|
+
readonly title: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
290
|
+
readonly component: v.PicklistSchema<["values-list", "table", "one-liner-table", "signature", "footnotes", "hidden", "custom"], undefined>;
|
|
291
|
+
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
292
|
+
readonly page_break: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
293
|
+
readonly sticky_title: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
294
|
+
readonly multiplicity: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
295
|
+
readonly multiplicityLabels: v.NullishSchema<v.StrictObjectSchema<{
|
|
296
|
+
readonly addTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
297
|
+
readonly editTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
298
|
+
readonly addItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
299
|
+
readonly removeItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
300
|
+
readonly editItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
301
|
+
readonly submitAdd: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
302
|
+
readonly submitEdit: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
303
|
+
readonly cancel: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
304
|
+
readonly empty: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
305
|
+
readonly emptyValueDisplay: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
306
|
+
}, undefined>, undefined>;
|
|
307
|
+
readonly required: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
308
|
+
readonly fixed: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
309
|
+
readonly layout: v.NullishSchema<v.PicklistSchema<["entry", "card"], undefined>, undefined>;
|
|
310
|
+
readonly lines: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["no", "grid", "outer", "grid-round", "outer-round"], undefined>, undefined>, undefined>;
|
|
311
|
+
readonly table_halign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "CENTER", "RIGHT"], undefined>, undefined>, undefined>;
|
|
312
|
+
readonly table_width_ratio: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
313
|
+
readonly cell_halign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["left", "center", "right"], undefined>, undefined>, undefined>;
|
|
314
|
+
readonly cell_valign: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["BOTTOM", "MIDDLE", "TOP"], undefined>, undefined>, undefined>;
|
|
315
|
+
readonly cell_height: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
316
|
+
readonly auto_columns: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
317
|
+
readonly fontSize: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
318
|
+
readonly no_split: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
319
|
+
readonly spaceBefore: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
320
|
+
readonly spaceAfter: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
321
|
+
readonly omit_empty_values: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
322
|
+
readonly background: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
323
|
+
readonly coordinates: v.NullishSchema<v.ArraySchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
324
|
+
readonly mirrored: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
325
|
+
readonly handler: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
326
|
+
}, undefined>, undefined>;
|
|
327
|
+
}, undefined>, v.StrictObjectSchema<{
|
|
328
|
+
/** The explanatory title of the fieldset */
|
|
329
|
+
readonly title: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
330
|
+
readonly component: v.PicklistSchema<["header", "common", "plain-text"], undefined>;
|
|
331
|
+
readonly 'component-params': v.NullishSchema<v.StrictObjectSchema<{
|
|
332
|
+
readonly page_break: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
333
|
+
readonly sticky_title: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
334
|
+
readonly multiplicity: v.NullishSchema<v.NumberSchema<undefined>, undefined>;
|
|
335
|
+
readonly multiplicityLabels: v.NullishSchema<v.StrictObjectSchema<{
|
|
336
|
+
readonly addTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
337
|
+
readonly editTitle: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
338
|
+
readonly addItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
339
|
+
readonly removeItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
340
|
+
readonly editItem: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
341
|
+
readonly submitAdd: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
342
|
+
readonly submitEdit: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
343
|
+
readonly cancel: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
344
|
+
readonly empty: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
345
|
+
readonly emptyValueDisplay: v.NullishSchema<v.StringSchema<undefined>, undefined>;
|
|
346
|
+
}, undefined>, undefined>;
|
|
347
|
+
readonly required: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
348
|
+
readonly fixed: v.NullishSchema<v.BooleanSchema<undefined>, undefined>;
|
|
349
|
+
readonly layout: v.NullishSchema<v.PicklistSchema<["entry", "card"], undefined>, undefined>;
|
|
350
|
+
}, undefined>, undefined>;
|
|
351
|
+
}, undefined>], undefined>, undefined>;
|
|
352
|
+
}, undefined>], undefined>;
|
|
353
|
+
export type FieldsetDisplay = v.InferOutput<typeof FieldsetDisplaySchema>;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { looseObject, nullish, record, strictObject, string, union, variant } from "valibot";
|
|
2
|
+
import { ComponentLayoutSchema, DisplayLangSchema } from "../common.js";
|
|
3
|
+
import { OtherComponentParamsSchema, TableComponentParamsSchema } from "./component-params.js";
|
|
4
|
+
import { PdfOtherComponentSchema, PdfTableBasedComponentSchema, WebComponentSchema } from "./enums.js";
|
|
5
|
+
const FieldsetWebDisplaySchema = strictObject({
|
|
6
|
+
title: nullish(string()),
|
|
7
|
+
component: WebComponentSchema,
|
|
8
|
+
'component-params': nullish(TableComponentParamsSchema),
|
|
9
|
+
layout: nullish(ComponentLayoutSchema)
|
|
10
|
+
});
|
|
11
|
+
const FieldsetPdfDisplayTableSchema = strictObject({
|
|
12
|
+
title: nullish(string()),
|
|
13
|
+
component: PdfTableBasedComponentSchema,
|
|
14
|
+
'component-params': nullish(TableComponentParamsSchema)
|
|
15
|
+
});
|
|
16
|
+
const FieldsetPdfDisplayOtherSchema = strictObject({
|
|
17
|
+
title: nullish(string()),
|
|
18
|
+
component: PdfOtherComponentSchema,
|
|
19
|
+
'component-params': nullish(OtherComponentParamsSchema)
|
|
20
|
+
});
|
|
21
|
+
const FieldsetPdfDisplaySchema = variant('component', [
|
|
22
|
+
FieldsetPdfDisplayTableSchema,
|
|
23
|
+
FieldsetPdfDisplayOtherSchema
|
|
24
|
+
]);
|
|
25
|
+
const FieldsetDisplaySchema = union([
|
|
26
|
+
looseObject({
|
|
27
|
+
default: record(DisplayLangSchema, FieldsetWebDisplaySchema)
|
|
28
|
+
}),
|
|
29
|
+
looseObject({
|
|
30
|
+
web: record(DisplayLangSchema, FieldsetWebDisplaySchema)
|
|
31
|
+
}),
|
|
32
|
+
looseObject({
|
|
33
|
+
pdf: record(DisplayLangSchema, FieldsetPdfDisplaySchema)
|
|
34
|
+
})
|
|
35
|
+
]);
|
|
36
|
+
export { FieldsetDisplaySchema, FieldsetPdfDisplayOtherSchema, FieldsetPdfDisplaySchema, FieldsetPdfDisplayTableSchema, FieldsetWebDisplaySchema };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
/**
|
|
3
|
+
* WebComponent type.
|
|
4
|
+
*
|
|
5
|
+
* @value 'values-list' Used for displaying values.
|
|
6
|
+
* @value 'hidden' Hidden.
|
|
7
|
+
* @value 'form' Form.
|
|
8
|
+
*/
|
|
9
|
+
export declare const WebComponentSchema: v.PicklistSchema<["values-list", "hidden", "form"], undefined>;
|
|
10
|
+
export type WebComponent = v.InferOutput<typeof WebComponentSchema>;
|
|
11
|
+
/**
|
|
12
|
+
* Pdf table-based component type.
|
|
13
|
+
*
|
|
14
|
+
* @value 'values-list' Used for displaying values.
|
|
15
|
+
* @value 'table' Table. Ideal for displaying multiple fields, by showing both the field title and value. By using the field attributes 'title_md' and 'value_md', it is possible to align the fields in a custom way.
|
|
16
|
+
* @value 'one-liner-table' One-liner table. Ideal for displaying a single row per value.
|
|
17
|
+
* @value 'signature' Signature.
|
|
18
|
+
* @value 'footnotes' Footnotes.
|
|
19
|
+
* @value 'hidden' Hidden.
|
|
20
|
+
* @value 'custom' Custom.
|
|
21
|
+
*/
|
|
22
|
+
export declare const PdfTableBasedComponentSchema: v.PicklistSchema<["values-list", "table", "one-liner-table", "signature", "footnotes", "hidden", "custom"], undefined>;
|
|
23
|
+
export type PdfTableBasedComponent = v.InferOutput<typeof PdfTableBasedComponentSchema>;
|
|
24
|
+
/**
|
|
25
|
+
* Pdf component type.
|
|
26
|
+
*
|
|
27
|
+
* @value 'header' Header.
|
|
28
|
+
* @value 'common' Common.
|
|
29
|
+
* @value 'plain-text' Plain text. Ideal for displaying fields with values that are large texts. It helps in displaying the text across multiple pages.
|
|
30
|
+
*/
|
|
31
|
+
export declare const PdfOtherComponentSchema: v.PicklistSchema<["header", "common", "plain-text"], undefined>;
|
|
32
|
+
export type PdfOtherComponent = v.InferOutput<typeof PdfOtherComponentSchema>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { picklist } from "valibot";
|
|
2
|
+
const WebComponentSchema = picklist([
|
|
3
|
+
'values-list',
|
|
4
|
+
'hidden',
|
|
5
|
+
'form'
|
|
6
|
+
]);
|
|
7
|
+
const PdfTableBasedComponentSchema = picklist([
|
|
8
|
+
'values-list',
|
|
9
|
+
'table',
|
|
10
|
+
'one-liner-table',
|
|
11
|
+
'signature',
|
|
12
|
+
'footnotes',
|
|
13
|
+
'hidden',
|
|
14
|
+
'custom'
|
|
15
|
+
]);
|
|
16
|
+
const PdfOtherComponentSchema = picklist([
|
|
17
|
+
'header',
|
|
18
|
+
'common',
|
|
19
|
+
'plain-text'
|
|
20
|
+
]);
|
|
21
|
+
export { PdfOtherComponentSchema, PdfTableBasedComponentSchema, WebComponentSchema };
|