commit 332cdc06e587e2317ec17130ee1ce967aac35870
parent 1e46f88f5813559eb95cf7e27b1ddb6f03158715
Author: Sebastian <sebasjm@gmail.com>
Date: Sun, 23 Feb 2025 15:01:02 -0300
adding missing labels
Diffstat:
7 files changed, 193 insertions(+), 211 deletions(-)
diff --git a/packages/web-util/src/forms/gana/VQF_902_11.ts b/packages/web-util/src/forms/gana/VQF_902_11.ts
@@ -51,7 +51,7 @@ export function VQF_902_11(
fields: [
{
id: "CONTROLLING_ENTITY_LEVEL" satisfies keyof TalerFormAttributes.VQF_902_11 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Level`,
// gana_type: "'25_MORE_RIGHTS' | 'OTHER_WAY' | 'DIRECTOR'",
type: "choiceStacked",
choices: [
@@ -78,14 +78,14 @@ export function VQF_902_11(
},
{
id: "CONTROLLING_ENTITY_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_11 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Full name`,
// gana_type: "String",
type: "text",
required: true,
},
{
id: "CONTROLLING_ENTITY_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_11 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Domicile`,
// gana_type: "ResidentialAddress",
type: "textArea",
required: true,
diff --git a/packages/web-util/src/forms/gana/VQF_902_12.ts b/packages/web-util/src/forms/gana/VQF_902_12.ts
@@ -99,7 +99,6 @@ export function VQF_902_12(
{
id: "FOUNDATION_FOUNDER_LIST" satisfies keyof TalerFormAttributes.VQF_902_12 as UIHandlerId,
label: i18n.str`Founders`,
- help: i18n.str``,
// gana_type: "Form<VQF_902_12_founder>[]",
type: "array",
labelFieldId:
@@ -138,12 +137,11 @@ export function VQF_902_12(
},
{
id: "FOUNDATION_FOUNDER_DEATHDATE" satisfies keyof TalerFormAttributes.VQF_902_12_founder as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Date of death`,
// gana_type: "AbsoluteDate",
type: "absoluteTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
- required: true,
},
{
id: "FOUNDATION_FOUNDER_RIGHT_TO_REVOKE" satisfies keyof TalerFormAttributes.VQF_902_12_founder as UIHandlerId,
@@ -163,19 +161,24 @@ export function VQF_902_12(
fields: [
{
id: "FOUNDATION_PRE_LIST" satisfies keyof TalerFormAttributes.VQF_902_12 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Persons`,
// gana_type: "Form<VQF_902_12_pre>[]",
type: "array",
labelFieldId:
"FOUNDATION_PRE_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_12_pre as UIHandlerId,
fields: [
{
- id: "FOUNDATION_PRE_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_12_pre as UIHandlerId,
- label: i18n.str``,
- // gana_type: "AbsoluteDate",
- type: "absoluteTimeText",
- placeholder: "dd/MM/yyyy",
- pattern: "dd/MM/yyyy",
+ id: "FOUNDATION_PRE_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_12_pre as UIHandlerId,
+ label: i18n.str`Full name`,
+ // gana_type: "String",
+ type: "text",
+ required: true,
+ },
+ {
+ id: "FOUNDATION_PRE_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_12_pre as UIHandlerId,
+ label: i18n.str`Domicile`,
+ // gana_type: "ResidentialAddress",
+ type: "textArea",
required: true,
},
{
@@ -187,8 +190,8 @@ export function VQF_902_12(
required: true,
},
{
- id: "FOUNDATION_PRE_DEATHDATE" satisfies keyof TalerFormAttributes.VQF_902_12_pre as UIHandlerId,
- label: i18n.str``,
+ id: "FOUNDATION_PRE_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_12_pre as UIHandlerId,
+ label: i18n.str`Birthdate`,
// gana_type: "AbsoluteDate",
type: "absoluteTimeText",
placeholder: "dd/MM/yyyy",
@@ -196,20 +199,6 @@ export function VQF_902_12(
required: true,
},
{
- id: "FOUNDATION_PRE_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_12_pre as UIHandlerId,
- label: i18n.str``,
- // gana_type: "ResidentialAddress",
- type: "textArea",
- required: true,
- },
- {
- id: "FOUNDATION_PRE_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_12_pre as UIHandlerId,
- label: i18n.str`Full name`,
- // gana_type: "String",
- type: "text",
- required: true,
- },
- {
id: "FOUNDATION_PRE_NATIONALITY" satisfies keyof TalerFormAttributes.VQF_902_12_pre as UIHandlerId,
label: i18n.str`Nationality`,
// gana_type: "CountryCode",
@@ -217,6 +206,14 @@ export function VQF_902_12(
choices: countryNationalityList(i18n),
required: true,
},
+ {
+ id: "FOUNDATION_PRE_DEATHDATE" satisfies keyof TalerFormAttributes.VQF_902_12_pre as UIHandlerId,
+ label: i18n.str`Date of death`,
+ // gana_type: "AbsoluteDate",
+ type: "absoluteTimeText",
+ placeholder: "dd/MM/yyyy",
+ pattern: "dd/MM/yyyy",
+ },
],
required: true,
},
@@ -224,7 +221,6 @@ export function VQF_902_12(
},
{
title: i18n.str`Beneficiaries`,
- description: i18n.str``,
fields: [
{
id: "FOUNDATION_BENEFICIARY_LIST" satisfies keyof TalerFormAttributes.VQF_902_12 as UIHandlerId,
@@ -235,46 +231,46 @@ export function VQF_902_12(
"FOUNDATION_BENEFICIARY_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_12_beneficiary as UIHandlerId,
fields: [
{
- id: "FOUNDATION_BENEFICIARY_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_12_beneficiary as UIHandlerId,
- label: i18n.str``,
- // gana_type: "AbsoluteDate",
- type: "absoluteTimeText",
- placeholder: "dd/MM/yyyy",
- pattern: "dd/MM/yyyy",
- required: false,
+ id: "FOUNDATION_BENEFICIARY_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_12_beneficiary as UIHandlerId,
+ label: i18n.str`Full name`,
+ // gana_type: "String",
+ type: "text",
+ required: true,
+ },
+ {
+ id: "FOUNDATION_BENEFICIARY_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_12_beneficiary as UIHandlerId,
+ label: i18n.str`Domicile`,
+ // gana_type: "ResidentialAddress",
+ type: "textArea",
+ required: true,
},
{
id: "FOUNDATION_BENEFICIARY_COUNTRY" satisfies keyof TalerFormAttributes.VQF_902_12_beneficiary as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Country`,
// gana_type: "CountryCode",
type: "selectOne",
choices: countryNameList(i18n),
required: false,
},
{
- id: "FOUNDATION_BENEFICIARY_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_12_beneficiary as UIHandlerId,
- label: i18n.str``,
- // gana_type: "ResidentialAddress",
- type: "textArea",
- required: false,
- },
- {
- id: "FOUNDATION_BENEFICIARY_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_12_beneficiary as UIHandlerId,
- label: i18n.str``,
- // gana_type: "String",
- type: "text",
+ id: "FOUNDATION_BENEFICIARY_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_12_beneficiary as UIHandlerId,
+ label: i18n.str`Full name`,
+ // gana_type: "AbsoluteDate",
+ type: "absoluteTimeText",
+ placeholder: "dd/MM/yyyy",
+ pattern: "dd/MM/yyyy",
required: false,
},
{
id: "FOUNDATION_BENEFICIARY_NATIONALITY" satisfies keyof TalerFormAttributes.VQF_902_12_beneficiary as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Nationality`,
type: "selectOne",
choices: countryNationalityList(i18n),
required: false,
},
{
id: "FOUNDATION_BENEFICIARY_RIGHT_TO_CLAIM" satisfies keyof TalerFormAttributes.VQF_902_12_beneficiary as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Right to claim`,
// gana_type: "Boolean",
type: "toggle",
required: false,
@@ -304,12 +300,17 @@ export function VQF_902_12(
"FOUNDATION_REPRESENTATIVE_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_12_representative as UIHandlerId,
fields: [
{
- id: "FOUNDATION_REPRESENTATIVE_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_12_representative as UIHandlerId,
- label: i18n.str``,
- // gana_type: "AbsoluteDate",
- type: "absoluteTimeText",
- placeholder: "dd/MM/yyyy",
- pattern: "dd/MM/yyyy",
+ id: "FOUNDATION_REPRESENTATIVE_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_12_representative as UIHandlerId,
+ label: i18n.str`Full name`,
+ // gana_type: "String",
+ type: "text",
+ required: true,
+ },
+ {
+ id: "FOUNDATION_REPRESENTATIVE_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_12_representative as UIHandlerId,
+ label: i18n.str`Domcile`,
+ // gana_type: "ResidentialAddress",
+ type: "textArea",
required: true,
},
{
@@ -321,22 +322,17 @@ export function VQF_902_12(
required: true,
},
{
- id: "FOUNDATION_REPRESENTATIVE_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_12_representative as UIHandlerId,
- label: i18n.str``,
- // gana_type: "ResidentialAddress",
- type: "textArea",
- required: true,
- },
- {
- id: "FOUNDATION_REPRESENTATIVE_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_12_representative as UIHandlerId,
- label: i18n.str``,
- // gana_type: "String",
- type: "text",
+ id: "FOUNDATION_REPRESENTATIVE_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_12_representative as UIHandlerId,
+ label: i18n.str`Birthdate`,
+ // gana_type: "AbsoluteDate",
+ type: "absoluteTimeText",
+ placeholder: "dd/MM/yyyy",
+ pattern: "dd/MM/yyyy",
required: true,
},
{
id: "FOUNDATION_REPRESENTATIVE_NATIONALITY" satisfies keyof TalerFormAttributes.VQF_902_12_representative as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Naitonality`,
// gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
@@ -344,10 +340,9 @@ export function VQF_902_12(
},
{
id: "FOUNDATION_REPRESENTATIVE_RIGHT_TO_REVOKE" satisfies keyof TalerFormAttributes.VQF_902_12_representative as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Right to revoke`,
// gana_type: "Boolean",
type: "toggle",
- required: true,
},
],
required: true,
diff --git a/packages/web-util/src/forms/gana/VQF_902_13.ts b/packages/web-util/src/forms/gana/VQF_902_13.ts
@@ -43,14 +43,14 @@ export function VQF_902_13(
fields: [
{
id: "TRUST_CONTRACTING_PARTNER" satisfies keyof TalerFormAttributes.VQF_902_13 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Contracting partner`,
// gana_type: "Paragraph",
type: "textArea",
required: true,
},
{
id: "TRUST_KNOWN_AS" satisfies keyof TalerFormAttributes.VQF_902_13 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Known as`,
// gana_type: "String",
type: "text",
required: true,
@@ -62,21 +62,21 @@ export function VQF_902_13(
fields: [
{
id: "TRUST_DISCRETIONARY" satisfies keyof TalerFormAttributes.VQF_902_13 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Discretionary`,
// gana_type: "Boolean",
type: "toggle",
required: true,
},
{
id: "TRUST_NAME" satisfies keyof TalerFormAttributes.VQF_902_13 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Name`,
// gana_type: "String",
type: "text",
required: true,
},
{
id: "TRUST_REVOCABLE" satisfies keyof TalerFormAttributes.VQF_902_13 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Revocable`,
// gana_type: "Boolean",
type: "toggle",
required: true,
@@ -89,60 +89,57 @@ export function VQF_902_13(
fields: [
{
id: "TRUST_SETTLOR_LIST" satisfies keyof TalerFormAttributes.VQF_902_13 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Persons`,
// gana_type: "Form<VQF_902_13_settlor>[]",
type: "array",
labelFieldId:
"TRUST_SETTLOR_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_13_settlor as UIHandlerId,
fields: [
{
- id: "TRUST_SETTLOR_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_13_settlor as UIHandlerId,
- label: i18n.str``,
- // gana_type: "AbsoluteDate",
- type: "absoluteTimeText",
- placeholder: "dd/MM/yyyy",
- pattern: "dd/MM/yyyy",
- required: true,
- },
- {
- id: "TRUST_SETTLOR_DEATHDATE" satisfies keyof TalerFormAttributes.VQF_902_13_settlor as UIHandlerId,
- label: i18n.str``,
- // gana_type: "AbsoluteDate",
- type: "absoluteTimeText",
- placeholder: "dd/MM/yyyy",
- pattern: "dd/MM/yyyy",
+ id: "TRUST_SETTLOR_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_13_settlor as UIHandlerId,
+ label: i18n.str`Full name`,
+ // gana_type: "String",
+ type: "text",
+
required: true,
},
{
id: "TRUST_SETTLOR_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_13_settlor as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Domicile`,
// gana_type: "ResidentialAddress",
type: "textArea",
required: true,
},
{
- id: "TRUST_SETTLOR_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_13_settlor as UIHandlerId,
- label: i18n.str``,
- // gana_type: "String",
- type: "text",
-
+ id: "TRUST_SETTLOR_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_13_settlor as UIHandlerId,
+ label: i18n.str`Full name`,
+ // gana_type: "AbsoluteDate",
+ type: "absoluteTimeText",
+ placeholder: "dd/MM/yyyy",
+ pattern: "dd/MM/yyyy",
required: true,
},
{
id: "TRUST_SETTLOR_NATIONALITY" satisfies keyof TalerFormAttributes.VQF_902_13_settlor as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Nationality`,
// gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
-
required: true,
},
{
+ id: "TRUST_SETTLOR_DEATHDATE" satisfies keyof TalerFormAttributes.VQF_902_13_settlor as UIHandlerId,
+ label: i18n.str`Date of death`,
+ // gana_type: "AbsoluteDate",
+ type: "absoluteTimeText",
+ placeholder: "dd/MM/yyyy",
+ pattern: "dd/MM/yyyy",
+ },
+ {
id: "TRUST_SETTLOR_RIGHT_TO_REVOKE" satisfies keyof TalerFormAttributes.VQF_902_13_settlor as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Right to revoke`,
// gana_type: "Boolean",
type: "toggle",
- required: true,
},
],
required: true,
@@ -155,24 +152,29 @@ export function VQF_902_13(
fields: [
{
id: "TRUST_PRE_LIST" satisfies keyof TalerFormAttributes.VQF_902_13 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Persons`,
// gana_type: "Form<VQF_902_13_pre>[]",
type: "array",
labelFieldId:
"TRUST_PRE_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_13_pre as UIHandlerId,
fields: [
{
- id: "TRUST_PRE_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_13_pre as UIHandlerId,
- label: i18n.str``,
- // gana_type: "AbsoluteDate",
- type: "absoluteTimeText",
- placeholder: "dd/MM/yyyy",
- pattern: "dd/MM/yyyy",
+ id: "TRUST_PRE_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_13_pre as UIHandlerId,
+ label: i18n.str`Full name`,
+ // gana_type: "String",
+ type: "text",
+ required: false,
+ },
+ {
+ id: "TRUST_PRE_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_13_pre as UIHandlerId,
+ label: i18n.str`Domicile`,
+ // gana_type: "ResidentialAddress",
+ type: "textArea",
required: false,
},
{
id: "TRUST_PRE_COUNTRY" satisfies keyof TalerFormAttributes.VQF_902_13_pre as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Country`,
// gana_type: "CountryCode",
type: "selectOne",
choices: countryNameList(i18n),
@@ -180,38 +182,31 @@ export function VQF_902_13(
required: false,
},
{
- id: "TRUST_PRE_DEATHDATE" satisfies keyof TalerFormAttributes.VQF_902_13_pre as UIHandlerId,
- label: i18n.str``,
+ id: "TRUST_PRE_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_13_pre as UIHandlerId,
+ label: i18n.str`Birthdate`,
// gana_type: "AbsoluteDate",
type: "absoluteTimeText",
placeholder: "dd/MM/yyyy",
pattern: "dd/MM/yyyy",
-
- required: false,
- },
- {
- id: "TRUST_PRE_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_13_pre as UIHandlerId,
- label: i18n.str``,
- // gana_type: "ResidentialAddress",
- type: "textArea",
- required: false,
- },
- {
- id: "TRUST_PRE_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_13_pre as UIHandlerId,
- label: i18n.str``,
- // gana_type: "String",
- type: "text",
required: false,
},
{
id: "TRUST_PRE_NATIONALITY" satisfies keyof TalerFormAttributes.VQF_902_13_pre as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Nationality`,
// gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: false,
},
+ {
+ id: "TRUST_PRE_DEATHDATE" satisfies keyof TalerFormAttributes.VQF_902_13_pre as UIHandlerId,
+ label: i18n.str`Date of death`,
+ // gana_type: "AbsoluteDate",
+ type: "absoluteTimeText",
+ placeholder: "dd/MM/yyyy",
+ pattern: "dd/MM/yyyy",
+ },
],
required: true,
@@ -220,36 +215,32 @@ export function VQF_902_13(
},
{
title: i18n.str`Beneficiaries`,
- description: i18n.str``,
fields: [
{
id: "TRUST_BENEFICIARY_LIST" satisfies keyof TalerFormAttributes.VQF_902_13 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Persons`,
// gana_type: "Form<VQF_902_13_beneficiary>[]",
type: "array",
labelFieldId:
"TRUST_BENEFICIARY_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_13_beneficiary as UIHandlerId,
fields: [
{
- id: "TRUST_BENEFICIARY_ADDITION" satisfies keyof TalerFormAttributes.VQF_902_13_beneficiary as UIHandlerId,
- label: i18n.str``,
- // gana_type: "Paragraph",
- type: "textArea",
- required: false,
+ id: "TRUST_BENEFICIARY_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_13_beneficiary as UIHandlerId,
+ label: i18n.str`Full name`,
+ // gana_type: "String",
+ type: "text",
+ required: true,
},
{
- id: "TRUST_BENEFICIARY_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_13_beneficiary as UIHandlerId,
- label: i18n.str``,
- // gana_type: "AbsoluteDate",
- type: "absoluteTimeText",
- placeholder: "dd/MM/yyyy",
- pattern: "dd/MM/yyyy",
-
+ id: "TRUST_BENEFICIARY_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_13_beneficiary as UIHandlerId,
+ label: i18n.str`Domicile`,
+ // gana_type: "ResidentialAddress",
+ type: "textArea",
required: false,
},
{
id: "TRUST_BENEFICIARY_COUNTRY" satisfies keyof TalerFormAttributes.VQF_902_13_beneficiary as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Country`,
// gana_type: "CountryCode",
type: "selectOne",
choices: countryNameList(i18n),
@@ -257,60 +248,66 @@ export function VQF_902_13(
required: false,
},
{
- id: "TRUST_BENEFICIARY_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_13_beneficiary as UIHandlerId,
- label: i18n.str``,
- // gana_type: "ResidentialAddress",
- type: "textArea",
- required: false,
- },
- {
- id: "TRUST_BENEFICIARY_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_13_beneficiary as UIHandlerId,
- label: i18n.str``,
- // gana_type: "String",
- type: "text",
+ id: "TRUST_BENEFICIARY_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_13_beneficiary as UIHandlerId,
+ label: i18n.str`Birthdate`,
+ // gana_type: "AbsoluteDate",
+ type: "absoluteTimeText",
+ placeholder: "dd/MM/yyyy",
+ pattern: "dd/MM/yyyy",
+
required: false,
},
{
id: "TRUST_BENEFICIARY_NATIONALITY" satisfies keyof TalerFormAttributes.VQF_902_13_beneficiary as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Nationality`,
// gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
-
required: false,
},
{
id: "TRUST_BENEFICIARY_RIGHT_TO_CLAIM" satisfies keyof TalerFormAttributes.VQF_902_13_beneficiary as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Right to claim`,
// gana_type: "Boolean",
type: "toggle",
required: false,
},
+ // {
+ // id: "TRUST_BENEFICIARY_ADDITION" satisfies keyof TalerFormAttributes.VQF_902_13_beneficiary as UIHandlerId,
+ // label: i18n.str`and in addition to certain beneficiaries or if no beneficiary/-ies has/have been determined, pertaining to (a) group(s) of beneficiaries (e.g. descendants of the settlor) known at the time of the signing of this form`,
+ // // gana_type: "Paragraph",
+ // type: "textArea",
+ // required: false,
+ // },
],
required: true,
},
{
id: "TRUST_PROTECTOR_LIST" satisfies keyof TalerFormAttributes.VQF_902_13 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Persons`,
// gana_type: "Form<VQF_902_13_protector>[]",
type: "array",
labelFieldId:
"TRUST_PROTECTOR_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_13_protector as UIHandlerId,
fields: [
{
- id: "TRUST_PROTECTOR_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_13_protector as UIHandlerId,
- label: i18n.str``,
- // gana_type: "AbsoluteDate",
- type: "absoluteTimeText",
- placeholder: "dd/MM/yyyy",
- pattern: "dd/MM/yyyy",
-
+ id: "TRUST_PROTECTOR_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_13_protector as UIHandlerId,
+ label: i18n.str`Full name`,
+ // gana_type: "String",
+ type: "text",
+ required: false,
+ },
+ {
+ id: "TRUST_PROTECTOR_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_13_protector as UIHandlerId,
+ label: i18n.str`Domicile`,
+ // gana_type: "ResidentialAddress",
+ type: "textArea",
required: false,
},
{
id: "TRUST_PROTECTOR_COUNTRY" satisfies keyof TalerFormAttributes.VQF_902_13_protector as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Country`,
// gana_type: "CountryCode",
type: "selectOne",
choices: countryNameList(i18n),
@@ -318,22 +315,18 @@ export function VQF_902_13(
required: false,
},
{
- id: "TRUST_PROTECTOR_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_13_protector as UIHandlerId,
- label: i18n.str``,
- // gana_type: "ResidentialAddress",
- type: "textArea",
- required: false,
- },
- {
- id: "TRUST_PROTECTOR_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_13_protector as UIHandlerId,
- label: i18n.str``,
- // gana_type: "String",
- type: "text",
+ id: "TRUST_PROTECTOR_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_13_protector as UIHandlerId,
+ label: i18n.str`Birthdate`,
+ // gana_type: "AbsoluteDate",
+ type: "absoluteTimeText",
+ placeholder: "dd/MM/yyyy",
+ pattern: "dd/MM/yyyy",
+
required: false,
},
{
id: "TRUST_PROTECTOR_NATIONALITY" satisfies keyof TalerFormAttributes.VQF_902_13_protector as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Nationality`,
// gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
@@ -342,7 +335,7 @@ export function VQF_902_13(
},
{
id: "TRUST_PROTECTOR_RIGHT_TO_REVOKE" satisfies keyof TalerFormAttributes.VQF_902_13_protector as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Right to revoke`,
// gana_type: "Boolean",
type: "toggle",
required: false,
diff --git a/packages/web-util/src/forms/gana/VQF_902_14.ts b/packages/web-util/src/forms/gana/VQF_902_14.ts
@@ -52,7 +52,7 @@ export function VQF_902_14(
fields: [
{
id: "INCRISK_MEANS" satisfies keyof TalerFormAttributes.VQF_902_14 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Means`,
// gana_type: "'GATHERING' | 'CONSULTATION' | 'ENQUIRIES' | String",
type: "choiceStacked",
choices: [
diff --git a/packages/web-util/src/forms/gana/VQF_902_15.ts b/packages/web-util/src/forms/gana/VQF_902_15.ts
@@ -75,31 +75,31 @@ export function VQF_902_15(
title: i18n.str`Policy holder`,
fields: [
{
- id: "INSURANCE_HOLDER_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_15 as UIHandlerId,
- label: i18n.str`Birthdate`,
- // gana_type: "AbsoluteDate",
- type: "absoluteTimeText",
- placeholder: "dd/MM/yyyy",
- pattern: "dd/MM/yyyy",
- required: true,
+ id: "INSURANCE_HOLDER_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_15 as UIHandlerId,
+ label: i18n.str`Full name`,
+ // gana_type: "String",
+ type: "text",
+ required: false,
},
{
id: "INSURANCE_HOLDER_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_15 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Domcile`,
// gana_type: "ResidentialAddress",
type: "textArea",
required: true,
},
{
- id: "INSURANCE_HOLDER_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_15 as UIHandlerId,
- label: i18n.str``,
- // gana_type: "String",
- type: "text",
- required: false,
+ id: "INSURANCE_HOLDER_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_15 as UIHandlerId,
+ label: i18n.str`Birthdate`,
+ // gana_type: "AbsoluteDate",
+ type: "absoluteTimeText",
+ placeholder: "dd/MM/yyyy",
+ pattern: "dd/MM/yyyy",
+ required: true,
},
{
id: "INSURANCE_HOLDER_NATIONALITY" satisfies keyof TalerFormAttributes.VQF_902_15 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Nationality`,
// gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
diff --git a/packages/web-util/src/forms/gana/VQF_902_4.ts b/packages/web-util/src/forms/gana/VQF_902_4.ts
@@ -105,7 +105,6 @@ export function VQF_902_4(
{
id: "COUNTRY_RISK_NATIONALITY_TYPE" satisfies keyof TalerFormAttributes.VQF_902_4 as UIHandlerId,
label: i18n.str`Country risk type (nationality)`,
- help: i18n.str``,
// gana_type: "'LOW' | 'MEDIUM' | 'HIGH'",
choices: [
{
@@ -132,7 +131,6 @@ export function VQF_902_4(
{
id: "COUNTRY_RISK_NATIONALITY_LEVEL" satisfies keyof TalerFormAttributes.VQF_902_4 as UIHandlerId,
label: i18n.str`Country risk level (nationality)`,
- help: i18n.str``,
// gana_type:
// "'NATIONALITY_CUSTOMER' | 'NATIONALITY_OWNER' | 'DOMICILE_CUSTOMER' | 'DOMICILE_OWNER' | 'DOMICILE_CONTROLLING' | 'BUSINESS_ACTIVITY' | 'PAYMENTS'",
choices: [
@@ -170,7 +168,6 @@ export function VQF_902_4(
{
id: "COUNTRY_RISK_BUSINESS_TYPE" satisfies keyof TalerFormAttributes.VQF_902_4 as UIHandlerId,
label: i18n.str`Country risk type (business activity)`,
- help: i18n.str``,
// gana_type: "'LOW' | 'MEDIUM' | 'HIGH'",
choices: [
{
@@ -188,7 +185,6 @@ export function VQF_902_4(
{
id: "COUNTRY_RISK_BUSINESS_LEVEL" satisfies keyof TalerFormAttributes.VQF_902_4 as UIHandlerId,
label: i18n.str`Country risk level (business activity)`,
- help: i18n.str``,
// gana_type:
// "'NATIONALITY_CUSTOMER' | 'NATIONALITY_OWNER' | 'DOMICILE_CUSTOMER' | 'DOMICILE_OWNER' | 'DOMICILE_CONTROLLING' | 'BUSINESS_ACTIVITY' | 'PAYMENTS'",
choices: [
@@ -329,7 +325,6 @@ export function VQF_902_4(
{
id: "EXTRA_CRITERA_1_RISK_LEVEL" satisfies keyof TalerFormAttributes.VQF_902_4 as UIHandlerId,
label: i18n.str`1. Extra criteria level`,
- help: i18n.str``,
// gana_type: "'LOW' | 'MEDIUM' | 'HIGH'",
choices: [
{ label: i18n.str`Low`, value: "LOW" },
@@ -350,7 +345,6 @@ export function VQF_902_4(
{
id: "EXTRA_CRITERA_2_RISK_LEVEL" satisfies keyof TalerFormAttributes.VQF_902_4 as UIHandlerId,
label: i18n.str`2. Extra criteria level`,
- help: i18n.str``,
// gana_type: "'LOW' | 'MEDIUM' | 'HIGH'",
choices: [
{ label: i18n.str`Low`, value: "LOW" },
diff --git a/packages/web-util/src/forms/gana/VQF_902_9.ts b/packages/web-util/src/forms/gana/VQF_902_9.ts
@@ -53,21 +53,28 @@ export function VQF_902_9(
fields: [
{
id: "IDENTITY_LIST" satisfies keyof TalerFormAttributes.VQF_902_9 as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Persons`,
// gana_type: "Form<VQF_902_9_identity>[]",
type: "array",
labelFieldId: "" as UIHandlerId,
fields: [
{
id: "IDENTITY_FULL_NAME" satisfies keyof TalerFormAttributes.VQF_902_9_identity as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Full name`,
// gana_type: "String",
type: "text",
required: true,
},
{
+ id: "IDENTITY_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_9_identity as UIHandlerId,
+ label: i18n.str`Domicile`,
+ // gana_type: "ResidentialAddress",
+ type: "textArea",
+ required: true,
+ },
+ {
id: "IDENTITY_BIRTHDATE" satisfies keyof TalerFormAttributes.VQF_902_9_identity as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Birhtdate`,
// gana_type: "AbsoluteDate",
type: "absoluteTimeText",
placeholder: "dd/MM/yyyy",
@@ -76,19 +83,12 @@ export function VQF_902_9(
},
{
id: "IDENTITY_NATIONALITY" satisfies keyof TalerFormAttributes.VQF_902_9_identity as UIHandlerId,
- label: i18n.str``,
+ label: i18n.str`Nationality`,
// gana_type: "CountryCode",
type: "selectOne",
choices: countryNationalityList(i18n),
required: true,
},
- {
- id: "IDENTITY_DOMICILE" satisfies keyof TalerFormAttributes.VQF_902_9_identity as UIHandlerId,
- label: i18n.str``,
- // gana_type: "ResidentialAddress",
- type: "textArea",
- required: true,
- },
],
required: false,
},