@taxbit/react-sdk 0.0.15 → 0.1.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/README.md +309 -10
- package/dist/basic.css +52 -7
- package/dist/components/Notification/Notification.d.ts +5 -0
- package/dist/components/Notification/index.d.ts +1 -0
- package/dist/components/Page/Page.d.ts +3 -1
- package/dist/components/Section/Section.d.ts +2 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/contexts/FormUI/useFormUI.d.ts +11 -3
- package/dist/contexts/FormUI/useFormUIContext.d.ts +20 -4
- package/dist/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +3 -3
- package/dist/contexts/TaxDocumentation/useTaxDocumentation.d.ts +6 -5
- package/dist/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +114 -12
- package/dist/entry/index.d.ts +3 -3
- package/dist/i18n/i18n.d.ts +1 -1
- package/dist/i18n/index.d.ts +1 -2
- package/dist/i18n/locales/bg-bg.d.ts +2 -0
- package/dist/i18n/locales/cs-cz.d.ts +2 -0
- package/dist/i18n/locales/el-gr.d.ts +2 -0
- package/dist/i18n/locales/et-ee.d.ts +2 -0
- package/dist/i18n/locales/hu-hu.d.ts +2 -0
- package/dist/i18n/locales/index.d.ts +10 -0
- package/dist/i18n/locales/mt-mt.d.ts +2 -0
- package/dist/i18n/locales/pt-pt.d.ts +2 -0
- package/dist/i18n/locales/ro-ro.d.ts +2 -0
- package/dist/i18n/locales/sk-sk.d.ts +2 -0
- package/dist/i18n/locales/sl-si.d.ts +2 -0
- package/dist/i18n/types/LocalizationKey.d.ts +9 -6
- package/dist/i18n/types/PropertyFile.d.ts +16 -2
- package/dist/i18n/types/index.d.ts +0 -1
- package/dist/i18n/utils/getText.d.ts +17 -13
- package/dist/index.css +4 -0
- package/dist/inline.css +53 -8
- package/dist/lookups/dayOptions.d.ts +3 -0
- package/dist/lookups/foreignAccountHolderAccountTypeOptions.d.ts +2 -0
- package/dist/lookups/foreignOtherClassificationOptions.d.ts +17 -0
- package/dist/lookups/foreignTrustClassificationOptions.d.ts +9 -0
- package/dist/lookups/index.d.ts +6 -2
- package/dist/lookups/localeOptions.d.ts +4 -0
- package/dist/lookups/monthOptions.d.ts +4 -0
- package/dist/lookups/usAccountHolderAccountTypeOptions.d.ts +2 -0
- package/dist/lookups/usLlcAccountTypeOptions.d.ts +2 -0
- package/dist/lookups/yearOptions.d.ts +4 -0
- package/dist/minimal.css +3 -1
- package/dist/taxbit-react-sdk.es.js +13131 -6599
- package/dist/taxbit-react-sdk.umd.js +10 -10
- package/dist/types/AccountType.d.ts +3 -3
- package/dist/types/Locale.d.ts +1 -0
- package/dist/types/MonthCode.d.ts +1 -0
- package/dist/types/TaxDocumentation.d.ts +1 -0
- package/dist/types/external/ComprehensiveTaxDocumentation.d.ts +78 -65
- package/dist/types/index.d.ts +2 -0
- package/dist/ui/ActionButton/ActionButton.d.ts +7 -0
- package/dist/ui/ActionButton/index.d.ts +1 -0
- package/dist/ui/CheckBox/CheckBox.d.ts +2 -1
- package/dist/ui/DateOfBirthInput/DateOfBirthInput.d.ts +9 -0
- package/dist/ui/DateOfBirthInput/index.d.ts +1 -0
- package/dist/ui/HideShowButton/HideShowButton.d.ts +5 -0
- package/dist/ui/HideShowButton/index.d.ts +1 -0
- package/dist/ui/MaskedContent/MaskedContent.d.ts +4 -0
- package/dist/ui/MaskedContent/index.d.ts +1 -0
- package/dist/ui/MaskedInput/MaskedInput.d.ts +10 -0
- package/dist/ui/MaskedInput/index.d.ts +1 -0
- package/dist/ui/Password/Password.d.ts +11 -0
- package/dist/ui/Password/index.d.ts +1 -0
- package/dist/ui/TextInput/TextInput.d.ts +4 -1
- package/dist/ui/index.d.ts +4 -0
- package/dist/utils/getForeignAccountType.d.ts +2 -0
- package/dist/utils/getForeignOtherClassification.d.ts +2 -0
- package/dist/utils/getForeignTrustClassification.d.ts +2 -0
- package/dist/utils/getHintKeyMap.d.ts +1 -0
- package/dist/utils/getLLCClassification.d.ts +2 -0
- package/dist/utils/getMonthlyDayCount.d.ts +1 -0
- package/dist/utils/getNotifications.d.ts +10 -0
- package/dist/utils/getPromptKeyMap.d.ts +1 -0
- package/dist/utils/getRequiredFields.d.ts +103 -0
- package/dist/utils/getUsAccountType.d.ts +2 -0
- package/dist/utils/getValidationMessages.d.ts +104 -0
- package/dist/utils/index.d.ts +8 -2
- package/dist/utils/isBlank.d.ts +2 -2
- package/dist/utils/transformInbound.d.ts +2 -1
- package/dist/utils/transformOutbound/convertYesNoToBoolean.d.ts +2 -0
- package/dist/utils/transformOutbound/transformOutbound.d.ts +3 -0
- package/dist/utils/transformOutbound/transformToOutboundAccoutHolder.d.ts +3 -0
- package/dist/utils/transformOutbound/transformToOutboundAddress.d.ts +6 -0
- package/dist/utils/transformOutbound/transformToOutboundRegardedOwner.d.ts +3 -0
- package/dist/utils/transformOutbound/transformToOutboundTaxResidenceFields.d.ts +4 -0
- package/dist/validations/index.d.ts +1 -0
- package/dist/validations/requiredFields.d.ts +7 -0
- package/dist/widgets/TaxBitForm/TaxBitDAC7Form.d.ts +3 -3
- package/dist/widgets/TaxBitForm/TaxBitForm.d.ts +3 -3
- package/dist/wizard/LanguageSelector/LanguageSelector.d.ts +2 -0
- package/dist/wizard/LanguageSelector/index.d.ts +1 -0
- package/dist/{paths → wizard}/ResidenceInput/ResidenceInput.d.ts +5 -2
- package/dist/wizard/RowInput/CheckBoxRow/CheckBoxRow.d.ts +8 -0
- package/dist/wizard/RowInput/DateOfBirthRow/DateOfBirthRow.d.ts +10 -0
- package/dist/wizard/RowInput/DateOfBirthRow/index.d.ts +1 -0
- package/dist/wizard/RowInput/MaskedInputRow/MaskedInputRow.d.ts +10 -0
- package/dist/wizard/RowInput/MaskedInputRow/index.d.ts +1 -0
- package/dist/{paths → wizard}/RowInput/TextInputRow/TextInputRow.d.ts +3 -1
- package/dist/{paths → wizard}/RowInput/VisibleRow/VisibleRow.d.ts +2 -1
- package/dist/{paths → wizard}/RowInput/index.d.ts +1 -1
- package/dist/{paths → wizard}/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +3 -3
- package/dist/{paths → wizard}/TaxBitFormUI/TaxBitFormUI.d.ts +3 -3
- package/package.json +4 -2
- package/dist/components/Title/Title.d.ts +0 -5
- package/dist/components/Title/index.d.ts +0 -1
- package/dist/i18n/types/Locale.d.ts +0 -1
- package/dist/lookups/foreignOtherAccountTypeOptions.d.ts +0 -15
- package/dist/lookups/foreignTrustAccountTypeOptions.d.ts +0 -7
- package/dist/paths/FinancialAccountInput/FinancialAccountInput.d.ts +0 -6
- package/dist/paths/FinancialAccountInput/index.d.ts +0 -1
- package/dist/paths/RowInput/CheckBoxRow/CheckBoxRow.d.ts +0 -8
- package/dist/paths/RowInput/ErrorRow/ErrorRow.d.ts +0 -2
- package/dist/paths/RowInput/ErrorRow/index.d.ts +0 -1
- package/dist/paths/VatInput/VatInput.d.ts +0 -8
- package/dist/paths/VatInput/index.d.ts +0 -1
- package/dist/utils/transformOutbound.d.ts +0 -3
- /package/dist/{paths → wizard}/AddressInput/AddressInput.d.ts +0 -0
- /package/dist/{paths → wizard}/AddressInput/index.d.ts +0 -0
- /package/dist/{paths → wizard}/PlaceOfBirthInput/PlaceOfBirthInput.d.ts +0 -0
- /package/dist/{paths → wizard}/PlaceOfBirthInput/index.d.ts +0 -0
- /package/dist/{paths → wizard}/ResidenceInput/index.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/CheckBoxRow/index.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/RadioButtonRow/RadioButtonRow.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/RadioButtonRow/index.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/SelectRow/SelectRow.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/SelectRow/index.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/TextInputRow/index.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/ToggleButtonRow/ToggleButtonRow.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/ToggleButtonRow/index.d.ts +0 -0
- /package/dist/{paths → wizard}/RowInput/VisibleRow/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderClassification/AccountHolderClassification.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderClassification/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderContact/AccountHolderContact.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderContact/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderTax/AccountHolderTax.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderTax/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/AccountHolderTaxClarification/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/Exemptions/Exemptions.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/Exemptions/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/RegardedOwnerClassification/RegardedOwnerClassification.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/RegardedOwnerClassification/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/RegardedOwnerContact/RegardedOwnerContact.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/RegardedOwnerContact/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/RegardedOwnerTax/RegardedOwnerTax.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/RegardedOwnerTax/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/Summary/Recap.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/Summary/Summary.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/Summary/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/index.d.ts +0 -0
- /package/dist/{paths → wizard}/TaxBitFormUI/steps.d.ts +0 -0
- /package/dist/{paths → wizard}/index.d.ts +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { TaxForm, TaxDocumentation } from "types";
|
|
3
|
-
import { Locale } from "
|
|
3
|
+
import { Locale } from "types";
|
|
4
|
+
import { ClientTaxDocumentation } from "../../types/external";
|
|
4
5
|
type InputStep = "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "Exemptions" | "RegardedOwnerClassification" | "RegardedOwnerContact" | "RegardedOwnerTax" | "Summary";
|
|
5
6
|
type UseTaxDocumentationProps = {
|
|
6
|
-
data:
|
|
7
|
+
data: ClientTaxDocumentation;
|
|
7
8
|
onSubmit: (transformedData: TaxDocumentation) => void;
|
|
8
9
|
language?: Locale;
|
|
9
10
|
taxForms?: TaxForm[];
|
|
@@ -17,7 +18,7 @@ export declare const useTaxDocumentation: ({ data: initialData, onSubmit, langua
|
|
|
17
18
|
onPersistAccountHolderData: (newData: TaxDocumentation) => void;
|
|
18
19
|
onPersistCollectedData: (newData: TaxDocumentation) => void;
|
|
19
20
|
onSubmitTaxDocumentation: (newData: TaxDocumentation) => void;
|
|
20
|
-
onResetTaxDocumentation: () => void;
|
|
21
|
+
onResetTaxDocumentation: (data: ClientTaxDocumentation) => void;
|
|
21
22
|
editTo: (form: InputStep) => void;
|
|
22
23
|
onCancel: (() => void) | undefined;
|
|
23
24
|
goTo: (form: InputStep) => void;
|
|
@@ -25,8 +26,8 @@ export declare const useTaxDocumentation: ({ data: initialData, onSubmit, langua
|
|
|
25
26
|
goToNext: (data: TaxDocumentation) => void;
|
|
26
27
|
stepName: InputStep;
|
|
27
28
|
data: TaxDocumentation;
|
|
28
|
-
setLanguage: import("react").Dispatch<import("react").SetStateAction<"
|
|
29
|
-
language: "
|
|
29
|
+
setLanguage: import("react").Dispatch<import("react").SetStateAction<"bg-bg" | "cs-cz" | "de-de" | "el-gr" | "en-gb" | "en-us" | "es-es" | "et-ee" | "fr-fr" | "hu-hu" | "it-it" | "mt-mt" | "nl-nl" | "no-no" | "pt-pt" | "ro-ro" | "sk-sk" | "sl-si" | "sv-se">>;
|
|
30
|
+
language: "bg-bg" | "cs-cz" | "de-de" | "el-gr" | "en-gb" | "en-us" | "es-es" | "et-ee" | "fr-fr" | "hu-hu" | "it-it" | "mt-mt" | "nl-nl" | "no-no" | "pt-pt" | "ro-ro" | "sk-sk" | "sl-si" | "sv-se";
|
|
30
31
|
supportedForms: TaxForm[];
|
|
31
32
|
setSupportedForms: import("react").Dispatch<import("react").SetStateAction<TaxForm[]>>;
|
|
32
33
|
};
|
|
@@ -8,16 +8,67 @@ export declare const useTaxDocumentationContext: () => {
|
|
|
8
8
|
onPersistAccountHolderData: (newData: import("../../types").TaxDocumentation) => void;
|
|
9
9
|
onPersistCollectedData: (newData: import("../../types").TaxDocumentation) => void;
|
|
10
10
|
onSubmitTaxDocumentation: (newData: import("../../types").TaxDocumentation) => void;
|
|
11
|
-
onResetTaxDocumentation: (
|
|
12
|
-
|
|
11
|
+
onResetTaxDocumentation: (data: {
|
|
12
|
+
address?: {
|
|
13
|
+
city?: string | undefined;
|
|
14
|
+
country?: string | undefined;
|
|
15
|
+
stateOrProvince?: string | undefined;
|
|
16
|
+
firstLine?: string | undefined;
|
|
17
|
+
secondLine?: string | undefined;
|
|
18
|
+
postalCode?: string | undefined;
|
|
19
|
+
} | undefined;
|
|
20
|
+
countryOfCitizenship?: string | undefined;
|
|
21
|
+
dateOfBirth?: string | undefined;
|
|
22
|
+
dbaName?: string | undefined;
|
|
23
|
+
mailingAddress?: {
|
|
24
|
+
city?: string | undefined;
|
|
25
|
+
country?: string | undefined;
|
|
26
|
+
stateOrProvince?: string | undefined;
|
|
27
|
+
firstLine?: string | undefined;
|
|
28
|
+
secondLine?: string | undefined;
|
|
29
|
+
postalCode?: string | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
mailingAddressIsDifferent?: boolean | undefined;
|
|
32
|
+
name?: string | undefined;
|
|
33
|
+
cityOfBirth?: string | undefined;
|
|
34
|
+
countryOfBirth?: string | undefined;
|
|
35
|
+
financialAccountIdentifier?: string | undefined;
|
|
36
|
+
financialAccountName?: string | undefined;
|
|
37
|
+
ftin?: string | undefined;
|
|
38
|
+
ftinNotLegallyRequired?: boolean | undefined;
|
|
39
|
+
taxResidences?: {
|
|
40
|
+
country?: string | undefined;
|
|
41
|
+
tin?: string | undefined;
|
|
42
|
+
tinNotRequired?: boolean | undefined;
|
|
43
|
+
}[] | undefined;
|
|
44
|
+
showTaxResidence?: boolean[] | undefined;
|
|
45
|
+
tin?: string | undefined;
|
|
46
|
+
vatin?: string | undefined;
|
|
47
|
+
vatinCountry?: string | undefined;
|
|
48
|
+
vatinNotRequired?: boolean | undefined;
|
|
49
|
+
exemptFatcaCode?: string | undefined;
|
|
50
|
+
exemptPayeeCode?: string | undefined;
|
|
51
|
+
isIndividual?: boolean | undefined;
|
|
52
|
+
isEuResident?: boolean | undefined;
|
|
53
|
+
isUsPerson?: boolean | undefined;
|
|
54
|
+
usAccountType?: string | undefined;
|
|
55
|
+
usSmllcElection?: boolean | undefined;
|
|
56
|
+
usLlcClassification?: string | undefined;
|
|
57
|
+
usOtherClassification?: string | undefined;
|
|
58
|
+
usTrustEstateEin?: boolean | undefined;
|
|
59
|
+
foreignAccountType?: string | undefined;
|
|
60
|
+
foreignTrustClassification?: string | undefined;
|
|
61
|
+
foreignOtherClassification?: string | undefined;
|
|
62
|
+
}) => void;
|
|
63
|
+
editTo: (form: "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "Exemptions" | "RegardedOwnerClassification" | "RegardedOwnerContact" | "RegardedOwnerTax" | "Summary") => void;
|
|
13
64
|
onCancel: (() => void) | undefined;
|
|
14
|
-
goTo: (form: "
|
|
65
|
+
goTo: (form: "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "Exemptions" | "RegardedOwnerClassification" | "RegardedOwnerContact" | "RegardedOwnerTax" | "Summary") => void;
|
|
15
66
|
goBack: (() => void) | undefined;
|
|
16
67
|
goToNext: (data: import("../../types").TaxDocumentation) => void;
|
|
17
|
-
stepName: "
|
|
68
|
+
stepName: "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "Exemptions" | "RegardedOwnerClassification" | "RegardedOwnerContact" | "RegardedOwnerTax" | "Summary";
|
|
18
69
|
data: import("../../types").TaxDocumentation;
|
|
19
|
-
setLanguage: import("react").Dispatch<import("react").SetStateAction<"
|
|
20
|
-
language: "
|
|
70
|
+
setLanguage: import("react").Dispatch<import("react").SetStateAction<"bg-bg" | "cs-cz" | "de-de" | "el-gr" | "en-gb" | "en-us" | "es-es" | "et-ee" | "fr-fr" | "hu-hu" | "it-it" | "mt-mt" | "nl-nl" | "no-no" | "pt-pt" | "ro-ro" | "sk-sk" | "sl-si" | "sv-se">>;
|
|
71
|
+
language: "bg-bg" | "cs-cz" | "de-de" | "el-gr" | "en-gb" | "en-us" | "es-es" | "et-ee" | "fr-fr" | "hu-hu" | "it-it" | "mt-mt" | "nl-nl" | "no-no" | "pt-pt" | "ro-ro" | "sk-sk" | "sl-si" | "sv-se";
|
|
21
72
|
supportedForms: import("../../types").TaxForm[];
|
|
22
73
|
setSupportedForms: import("react").Dispatch<import("react").SetStateAction<import("../../types").TaxForm[]>>;
|
|
23
74
|
}, TaxDocumentationContextProvider: import("react").Provider<{
|
|
@@ -29,16 +80,67 @@ export declare const useTaxDocumentationContext: () => {
|
|
|
29
80
|
onPersistAccountHolderData: (newData: import("../../types").TaxDocumentation) => void;
|
|
30
81
|
onPersistCollectedData: (newData: import("../../types").TaxDocumentation) => void;
|
|
31
82
|
onSubmitTaxDocumentation: (newData: import("../../types").TaxDocumentation) => void;
|
|
32
|
-
onResetTaxDocumentation: (
|
|
33
|
-
|
|
83
|
+
onResetTaxDocumentation: (data: {
|
|
84
|
+
address?: {
|
|
85
|
+
city?: string | undefined;
|
|
86
|
+
country?: string | undefined;
|
|
87
|
+
stateOrProvince?: string | undefined;
|
|
88
|
+
firstLine?: string | undefined;
|
|
89
|
+
secondLine?: string | undefined;
|
|
90
|
+
postalCode?: string | undefined;
|
|
91
|
+
} | undefined;
|
|
92
|
+
countryOfCitizenship?: string | undefined;
|
|
93
|
+
dateOfBirth?: string | undefined;
|
|
94
|
+
dbaName?: string | undefined;
|
|
95
|
+
mailingAddress?: {
|
|
96
|
+
city?: string | undefined;
|
|
97
|
+
country?: string | undefined;
|
|
98
|
+
stateOrProvince?: string | undefined;
|
|
99
|
+
firstLine?: string | undefined;
|
|
100
|
+
secondLine?: string | undefined;
|
|
101
|
+
postalCode?: string | undefined;
|
|
102
|
+
} | undefined;
|
|
103
|
+
mailingAddressIsDifferent?: boolean | undefined;
|
|
104
|
+
name?: string | undefined;
|
|
105
|
+
cityOfBirth?: string | undefined;
|
|
106
|
+
countryOfBirth?: string | undefined;
|
|
107
|
+
financialAccountIdentifier?: string | undefined;
|
|
108
|
+
financialAccountName?: string | undefined;
|
|
109
|
+
ftin?: string | undefined;
|
|
110
|
+
ftinNotLegallyRequired?: boolean | undefined;
|
|
111
|
+
taxResidences?: {
|
|
112
|
+
country?: string | undefined;
|
|
113
|
+
tin?: string | undefined;
|
|
114
|
+
tinNotRequired?: boolean | undefined;
|
|
115
|
+
}[] | undefined;
|
|
116
|
+
showTaxResidence?: boolean[] | undefined;
|
|
117
|
+
tin?: string | undefined;
|
|
118
|
+
vatin?: string | undefined;
|
|
119
|
+
vatinCountry?: string | undefined;
|
|
120
|
+
vatinNotRequired?: boolean | undefined;
|
|
121
|
+
exemptFatcaCode?: string | undefined;
|
|
122
|
+
exemptPayeeCode?: string | undefined;
|
|
123
|
+
isIndividual?: boolean | undefined;
|
|
124
|
+
isEuResident?: boolean | undefined;
|
|
125
|
+
isUsPerson?: boolean | undefined;
|
|
126
|
+
usAccountType?: string | undefined;
|
|
127
|
+
usSmllcElection?: boolean | undefined;
|
|
128
|
+
usLlcClassification?: string | undefined;
|
|
129
|
+
usOtherClassification?: string | undefined;
|
|
130
|
+
usTrustEstateEin?: boolean | undefined;
|
|
131
|
+
foreignAccountType?: string | undefined;
|
|
132
|
+
foreignTrustClassification?: string | undefined;
|
|
133
|
+
foreignOtherClassification?: string | undefined;
|
|
134
|
+
}) => void;
|
|
135
|
+
editTo: (form: "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "Exemptions" | "RegardedOwnerClassification" | "RegardedOwnerContact" | "RegardedOwnerTax" | "Summary") => void;
|
|
34
136
|
onCancel: (() => void) | undefined;
|
|
35
|
-
goTo: (form: "
|
|
137
|
+
goTo: (form: "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "Exemptions" | "RegardedOwnerClassification" | "RegardedOwnerContact" | "RegardedOwnerTax" | "Summary") => void;
|
|
36
138
|
goBack: (() => void) | undefined;
|
|
37
139
|
goToNext: (data: import("../../types").TaxDocumentation) => void;
|
|
38
|
-
stepName: "
|
|
140
|
+
stepName: "AccountHolderClassification" | "AccountHolderContact" | "AccountHolderTax" | "AccountHolderTaxClarification" | "Exemptions" | "RegardedOwnerClassification" | "RegardedOwnerContact" | "RegardedOwnerTax" | "Summary";
|
|
39
141
|
data: import("../../types").TaxDocumentation;
|
|
40
|
-
setLanguage: import("react").Dispatch<import("react").SetStateAction<"
|
|
41
|
-
language: "
|
|
142
|
+
setLanguage: import("react").Dispatch<import("react").SetStateAction<"bg-bg" | "cs-cz" | "de-de" | "el-gr" | "en-gb" | "en-us" | "es-es" | "et-ee" | "fr-fr" | "hu-hu" | "it-it" | "mt-mt" | "nl-nl" | "no-no" | "pt-pt" | "ro-ro" | "sk-sk" | "sl-si" | "sv-se">>;
|
|
143
|
+
language: "bg-bg" | "cs-cz" | "de-de" | "el-gr" | "en-gb" | "en-us" | "es-es" | "et-ee" | "fr-fr" | "hu-hu" | "it-it" | "mt-mt" | "nl-nl" | "no-no" | "pt-pt" | "ro-ro" | "sk-sk" | "sl-si" | "sv-se";
|
|
42
144
|
supportedForms: import("../../types").TaxForm[];
|
|
43
145
|
setSupportedForms: import("react").Dispatch<import("react").SetStateAction<import("../../types").TaxForm[]>>;
|
|
44
146
|
} | undefined>;
|
package/dist/entry/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "../
|
|
1
|
+
export * from "../wizard/TaxBitFormUI";
|
|
2
2
|
export * from "../widgets/TaxBitForm";
|
|
3
3
|
export * from "../hooks/useTaxBit";
|
|
4
|
-
export { type TaxForm } from "../types";
|
|
5
|
-
export { type
|
|
4
|
+
export { type TaxForm, type Locale } from "../types";
|
|
5
|
+
export { type ClientTaxDocumentation } from "../types/external";
|
package/dist/i18n/i18n.d.ts
CHANGED
package/dist/i18n/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { getButtonText, getCaProvinceText, getCountryText, getErrorText, getHintText, getOptionText, getPromptText, getSubPromptText, getTitleText, getUsStateText, } from "./utils";
|
|
2
|
-
export type { Locale } from "./types/Locale";
|
|
1
|
+
export { getButtonText, getCaProvinceText, getCountryText, getErrorText, getHintText, getLocaleText, getMonthText, getNotificationText, getOptionText, getPromptText, getSubPromptText, getTitleText, getUsStateText, } from "./utils";
|
|
@@ -7,3 +7,13 @@ export * from "./it-it";
|
|
|
7
7
|
export * from "./nl-nl";
|
|
8
8
|
export * from "./no-no";
|
|
9
9
|
export * from "./sv-se";
|
|
10
|
+
export * from "./pt-pt";
|
|
11
|
+
export * from "./bg-bg";
|
|
12
|
+
export * from "./cs-cz";
|
|
13
|
+
export * from "./el-gr";
|
|
14
|
+
export * from "./et-ee";
|
|
15
|
+
export * from "./hu-hu";
|
|
16
|
+
export * from "./mt-mt";
|
|
17
|
+
export * from "./ro-ro";
|
|
18
|
+
export * from "./sk-sk";
|
|
19
|
+
export * from "./sl-si";
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
export type ButtonKey = "edit" | "back" | "next" | "reset" | "submit" | "cancel";
|
|
2
|
-
export type ErrorKey = "required" | "invalid" | "invalidDate" | "mustBeSixCharacters" | "mustBeNineDigits" | "mustBeFiveOrNineDigits" | "mustMatchName" | "mustBeInDateFormat" | "mustBeValidBirthDate";
|
|
1
|
+
export type ButtonKey = "edit" | "back" | "next" | "reset" | "submit" | "cancel" | "hide" | "show";
|
|
2
|
+
export type ErrorKey = "required" | "invalid" | "invalidDate" | "mustBeSixCharacters" | "mustBeNineDigits" | "mustBeFiveOrNineDigits" | "mustMatchName" | "mustBeInDateFormat" | "mustBeValidBirthDate" | "mustBeAResidenceCountry" | "mustNotMatchVatin";
|
|
3
|
+
export type NotificationKey = "vatUnexpectedFormat";
|
|
3
4
|
export type OptionKey = "usPerson_yes" | "usPerson_no" | "regardedOwnerUsPerson_yes" | "regardedOwnerUsPerson_no" | "isIndividual_yes" | "isIndividual_no" | "cCorporation" | "centralBankOfIssue" | "complexTrust" | "corporation" | "disregardedEntity" | "estate" | "foreignGovernmentControlledEntity" | "foreignGovernmentIntegralPart" | "grantorTrust" | "individual" | "internationalOrganization" | "llc" | "no" | "other" | "partnership" | "privateFoundation" | "sCorporation" | "simpleTrust" | "smllc" | "soleProprietor" | "taxExemptOrganization" | "trust" | "trustEstate" | "yes";
|
|
4
|
-
export type PromptKey = "addAdditional" | "address" | "businessRegistrationNumber" | "city" | "cityOfBirth" | "country" | "countryOfBirth" | "countryOfCitizenship" | "dateOfBirth" | "dbaName" | "exemptPayeeCode" | "exemptFatcaCode" | "financialAccountIdentifier" | "financialAccountName" | "foreignAccountType" | "foreignOtherClassification" | "foreignTin" | "foreignTinIsNotRequired" | "foreignTrustClassification" | "isEuResident" | "isIndividual" | "iAcknowlegeESignIsOk" | "iAmACitizenOfTheUs" | "iAmExemptFromFatcaReporting" | "iAmNotSubjectToBackupWithholding" | "iAuthorizeWithholdingAgent" | "iCertifyToAll" | "iConfirmIncomeIsNonUs" | "iConfirmTheBeneficialOwnerIsExempt" | "iConfirmTheEntityIsNotAUsPerson" | "iConfirmTheEntityIsTheBeneficialOwner" | "iConfirmTheTaxIdIsCorrect" | "iHaveLegalCapacityToSign" | "mailingAddress" | "mailingAddressIsDifferent" | "name" | "nameOfBusiness" | "nameOfCCorporation" | "nameOfCorporation" | "nameOfIndividual" | "nameOfLlc" | "nameOfOrganization" | "nameOfPartnership" | "nameOfSCorporation" | "nameOfSoleProprietor" | "nameOfTrustEstate" | "nameOfTrust" | "province" | "regardedOwnerUsPerson" | "removeAdditional" | "signature" | "smllcElection" | "state" | "stateProvince" | "street" | "street2" | "taxIdNumber" | "taxIdNumberIsNotRequired" | "tin" | "usAccountType" | "usLlcClassification" | "usOtherClassification" | "usPerson" | "usEin" | "usSsn" | "usTin" | "usTrustEstateEin" | "vatIdentificationNumber" | "vatCountry" | "zip";
|
|
5
|
-
export type SubPromptKey = "smllcElection" | "iConfirmIncomeIsNonUs";
|
|
6
|
-
export type TitleKey = "accountHolder" | "accountHolderClassification" | "accountHolderContactInformation" | "accountHolderTaxInformation" | "address" | "mailingAddress" | "
|
|
7
|
-
export type
|
|
5
|
+
export type PromptKey = "addAdditional" | "address" | "businessRegistrationNumber" | "businessRegistrationNumberIsNotRequired" | "city" | "cityOfBirth" | "country" | "countryOfBirth" | "countryOfCitizenship" | "dateOfBirth" | "day" | "dbaName" | "exemptPayeeCode" | "exemptFatcaCode" | "financialAccountIdentifier" | "financialAccountName" | "foreignAccountType" | "foreignOtherClassification" | "foreignTin" | "foreignTinIsNotRequired" | "foreignTrustClassification" | "isEuResident" | "isIndividual" | "iAcknowlegeESignIsOk" | "iAmACitizenOfTheUs" | "iAmExemptFromFatcaReporting" | "iAmNotSubjectToBackupWithholding" | "iAuthorizeWithholdingAgent" | "iCertifyToAll" | "iConfirmIncomeIsNonUs" | "iConfirmTheBeneficialOwnerIsExempt" | "iConfirmTheEntityIsNotAUsPerson" | "iConfirmTheEntityIsTheBeneficialOwner" | "iConfirmTheTaxIdIsCorrect" | "iHaveLegalCapacityToSign" | "mailingAddress" | "mailingAddressIsDifferent" | "month" | "name" | "nameOfBusiness" | "nameOfCCorporation" | "nameOfCorporation" | "nameOfIndividual" | "nameOfLlc" | "nameOfOrganization" | "nameOfPartnership" | "nameOfSCorporation" | "nameOfSoleProprietor" | "nameOfTrustEstate" | "nameOfTrust" | "province" | "regardedOwnerUsPerson" | "removeAdditional" | "signature" | "smllcElection" | "state" | "stateProvince" | "street" | "street2" | "taxIdNumber" | "taxIdNumberIsNotRequired" | "tin" | "usAccountType" | "usLlcClassification" | "usOtherClassification" | "usPerson" | "usEin" | "usSsn" | "usTin" | "usTrustEstateEin" | "vatIdentificationNumber" | "vatIdentificationNumberIsNotRequired" | "vatCountry" | "year" | "zip";
|
|
6
|
+
export type SubPromptKey = "smllcElection" | "iConfirmIncomeIsNonUs" | "isEuResident" | "financialAccountIdentifier" | "financialAccountName" | "vatIdentificationNumber" | "placeOfBirth";
|
|
7
|
+
export type TitleKey = "accountHolder" | "accountHolderClassification" | "accountHolderContactInformation" | "accountHolderTaxInformation" | "address" | "mailingAddress" | "primaryAddress" | "placeOfBirth" | "regardedOwner" | "regardedOwnerClassification" | "regardedOwnerContactInformation" | "regardedOwnerTaxInformation" | "signature" | "summary" | "taxResidences" | "taxResidence1" | "taxResidence2" | "taxResidence3" | "taxResidence4" | "taxResidence5";
|
|
8
|
+
export type SubTitleKey = "taxResidence1";
|
|
9
|
+
export type TextKey = "eSignActReference" | "notRequired" | "interviewIsComplete" | "retrievingInterviewStatus";
|
|
8
10
|
export type HintKey = "dateOfBirth";
|
|
11
|
+
export type LocaleKey = "en-us" | "de-de" | "en-gb" | "it-it" | "nl-nl" | "no-no" | "sv-se" | "fr-fr" | "es-es" | "pt-pt";
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { ButtonKey, ErrorKey, HintKey, OptionKey, PromptKey, SubPromptKey, TextKey, TitleKey } from "./LocalizationKey";
|
|
1
|
+
import { ButtonKey, ErrorKey, HintKey, NotificationKey, OptionKey, PromptKey, SubPromptKey, SubTitleKey, TextKey, TitleKey } from "./LocalizationKey";
|
|
2
|
+
import { CaProvinceCode } from "types/CaProvinceCode";
|
|
2
3
|
import { CountryCode } from "types/CountryCode";
|
|
4
|
+
import { Locale } from "types/Locale";
|
|
5
|
+
import { MonthCode } from "types/MonthCode";
|
|
3
6
|
import { UsStateCode } from "types/UsStateCode";
|
|
4
|
-
import { CaProvinceCode } from "types/CaProvinceCode";
|
|
5
7
|
export type PropertyFile = {
|
|
6
8
|
button: {
|
|
7
9
|
[key in ButtonKey]: string;
|
|
@@ -18,9 +20,15 @@ export type PropertyFile = {
|
|
|
18
20
|
title: {
|
|
19
21
|
[key in TitleKey]: string;
|
|
20
22
|
};
|
|
23
|
+
subTitle: {
|
|
24
|
+
[key in SubTitleKey]: string;
|
|
25
|
+
};
|
|
21
26
|
option: {
|
|
22
27
|
[key in OptionKey]: string;
|
|
23
28
|
};
|
|
29
|
+
notification: {
|
|
30
|
+
[key in NotificationKey]: string;
|
|
31
|
+
};
|
|
24
32
|
country: {
|
|
25
33
|
[key in CountryCode]: string;
|
|
26
34
|
};
|
|
@@ -36,4 +44,10 @@ export type PropertyFile = {
|
|
|
36
44
|
hint: {
|
|
37
45
|
[key in HintKey]: string;
|
|
38
46
|
};
|
|
47
|
+
month: {
|
|
48
|
+
[key in MonthCode]: string;
|
|
49
|
+
};
|
|
50
|
+
locale: {
|
|
51
|
+
[key in Locale]: string;
|
|
52
|
+
};
|
|
39
53
|
};
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { ButtonKey, ErrorKey, OptionKey, PromptKey, SubPromptKey, TextKey, TitleKey } from "../types";
|
|
1
|
+
import { ButtonKey, ErrorKey, NotificationKey, OptionKey, PromptKey, SubPromptKey, TextKey, TitleKey } from "../types";
|
|
2
2
|
import { CountryCode } from "types/CountryCode";
|
|
3
3
|
import { UsStateCode } from "types/UsStateCode";
|
|
4
4
|
import { CaProvinceCode } from "types/CaProvinceCode";
|
|
5
|
-
import { Locale } from "
|
|
6
|
-
export declare const getPromptText: (key: PromptKey, locale
|
|
7
|
-
export declare const getSubPromptText: (key: SubPromptKey, locale
|
|
8
|
-
export declare const getErrorText: (key: ErrorKey, locale
|
|
9
|
-
export declare const getHintText: (key: string | undefined, locale
|
|
10
|
-
export declare const getTextText: (key: TextKey, locale
|
|
11
|
-
export declare const getTitleText: (key: TitleKey, locale
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
5
|
+
import { Locale } from "../../types";
|
|
6
|
+
export declare const getPromptText: (key: PromptKey, locale: Locale | undefined) => string;
|
|
7
|
+
export declare const getSubPromptText: (key: SubPromptKey, locale: Locale | undefined) => string;
|
|
8
|
+
export declare const getErrorText: (key: ErrorKey, locale: Locale | undefined) => string;
|
|
9
|
+
export declare const getHintText: (key: string | undefined, locale: Locale | undefined) => string | undefined;
|
|
10
|
+
export declare const getTextText: (key: TextKey, locale: Locale | undefined) => string;
|
|
11
|
+
export declare const getTitleText: (key: TitleKey, locale: Locale | undefined) => string;
|
|
12
|
+
export declare const getSubTitleText: (key: string, locale: Locale | undefined) => string;
|
|
13
|
+
export declare const getButtonText: (key: ButtonKey, locale: Locale | undefined) => string;
|
|
14
|
+
export declare const getOptionText: (key: OptionKey | undefined, locale: Locale | undefined) => string;
|
|
15
|
+
export declare const getNotificationText: (key: NotificationKey | undefined, locale: Locale | undefined) => string;
|
|
16
|
+
export declare const getCountryText: (key: CountryCode, locale: Locale | undefined) => string;
|
|
17
|
+
export declare const getUsStateText: (key: UsStateCode, locale: Locale | undefined) => string;
|
|
18
|
+
export declare const getCaProvinceText: (key: CaProvinceCode, locale: Locale | undefined) => string;
|
|
19
|
+
export declare const getMonthText: (key: string, locale: Locale | undefined) => string;
|
|
20
|
+
export declare const getLocaleText: (key: string, locale: Locale | undefined) => string;
|
package/dist/index.css
CHANGED
package/dist/inline.css
CHANGED
|
@@ -29,19 +29,26 @@ button:focus-visible {
|
|
|
29
29
|
.taxbit-page {
|
|
30
30
|
max-width: 600px;
|
|
31
31
|
padding: 12px;
|
|
32
|
-
margin-bottom: 100px;
|
|
33
32
|
}
|
|
34
33
|
|
|
35
|
-
.taxbit-
|
|
34
|
+
.taxbit-page-header {
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
padding-bottom: 8px;
|
|
38
|
+
border-bottom: solid 1px #E4EBF6;
|
|
39
|
+
margin-bottom: 20px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.taxbit-page-title {
|
|
43
|
+
margin: 0;
|
|
36
44
|
font-size: 1.2em;
|
|
37
45
|
line-height: 1.1;
|
|
38
46
|
font-weight: 600;
|
|
39
|
-
padding-bottom: 8px;
|
|
40
|
-
border-bottom: solid 1px #E4EBF6;
|
|
41
|
-
margin-bottom: 8px;
|
|
42
47
|
color: #12263F;
|
|
48
|
+
flex: 1 1 auto;
|
|
43
49
|
}
|
|
44
50
|
|
|
51
|
+
|
|
45
52
|
.taxbit-section {
|
|
46
53
|
margin: 20px 0;
|
|
47
54
|
.taxbit-section-title {
|
|
@@ -50,6 +57,11 @@ button:focus-visible {
|
|
|
50
57
|
margin-bottom: 8px;
|
|
51
58
|
opacity: .8;
|
|
52
59
|
}
|
|
60
|
+
.taxbit-section-sub-title {
|
|
61
|
+
font-size: .8em;
|
|
62
|
+
opacity: .7;
|
|
63
|
+
font-weight: 400;
|
|
64
|
+
}
|
|
53
65
|
}
|
|
54
66
|
|
|
55
67
|
.taxbit-row {
|
|
@@ -66,6 +78,10 @@ button:focus-visible {
|
|
|
66
78
|
color: red;
|
|
67
79
|
font-size: .8em;
|
|
68
80
|
}
|
|
81
|
+
.taxbit-notification {
|
|
82
|
+
color: blue;
|
|
83
|
+
font-size: .8em;
|
|
84
|
+
}
|
|
69
85
|
.taxbit-hint {
|
|
70
86
|
font-size: .8em;
|
|
71
87
|
opacity: .7;
|
|
@@ -74,19 +90,34 @@ button:focus-visible {
|
|
|
74
90
|
|
|
75
91
|
.taxbit-row-actions {
|
|
76
92
|
flex: 0 0 10%;
|
|
93
|
+
display: flex;
|
|
94
|
+
align-items: center;
|
|
77
95
|
}
|
|
78
|
-
.taxbit-row-action-button
|
|
96
|
+
.taxbit-row-action-button {
|
|
79
97
|
font-size: .8em;
|
|
80
98
|
padding: 0.2em 1em;
|
|
81
99
|
}
|
|
82
100
|
|
|
101
|
+
.taxbit-select-language {
|
|
102
|
+
border: 0;
|
|
103
|
+
outline: none;
|
|
104
|
+
opacity: 0.6;
|
|
105
|
+
width: 100px;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.taxbit-select-language:focus {
|
|
109
|
+
border-bottom: solid 1px #E4EBF6;
|
|
110
|
+
opacity: 1;
|
|
111
|
+
}
|
|
112
|
+
|
|
83
113
|
.taxbit-label {
|
|
84
114
|
flex: 0 0 40%;
|
|
85
115
|
font-weight: 500;
|
|
86
|
-
.
|
|
87
|
-
font-size: 0.
|
|
116
|
+
.taxbit-sub-label {
|
|
117
|
+
font-size: 0.8em;
|
|
88
118
|
opacity: 0.7;
|
|
89
119
|
font-weight: 400;
|
|
120
|
+
line-height: 1.25em;
|
|
90
121
|
}
|
|
91
122
|
}
|
|
92
123
|
.taxbit-input, .taxbit-select {
|
|
@@ -99,6 +130,12 @@ button:focus-visible {
|
|
|
99
130
|
color: rgb(18, 38, 63);
|
|
100
131
|
}
|
|
101
132
|
|
|
133
|
+
@media only screen and (max-width: 600px) {
|
|
134
|
+
.taxbit-input, .taxbit-select {
|
|
135
|
+
font-size: 100%;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
102
139
|
.taxbit-check-box {
|
|
103
140
|
margin: 5px;
|
|
104
141
|
}
|
|
@@ -118,6 +155,14 @@ button:focus-visible {
|
|
|
118
155
|
width: 100%;
|
|
119
156
|
}
|
|
120
157
|
|
|
158
|
+
.taxbit-placeholder {
|
|
159
|
+
color: #aaa;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.taxbit-input-status-footer {
|
|
163
|
+
margin-top: 5px
|
|
164
|
+
}
|
|
165
|
+
|
|
121
166
|
.taxbit-row-value {
|
|
122
167
|
display: flex;
|
|
123
168
|
flex: 1;
|
|
@@ -11,3 +11,5 @@ export declare const foreignAccountHolderAccountTypeOptions: readonly [{
|
|
|
11
11
|
}, {
|
|
12
12
|
readonly value: "disregardedEntity";
|
|
13
13
|
}];
|
|
14
|
+
export declare const foreignAccountHolderAccountTypes: ("individual" | "corporation" | "partnership" | "trust" | "other" | "disregardedEntity")[];
|
|
15
|
+
export type ForeignAccountHolderAccountType = (typeof foreignAccountHolderAccountTypeOptions)[number]["value"];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const foreignOtherClassificationOptions: readonly [{
|
|
2
|
+
readonly value: "taxExemptOrganization";
|
|
3
|
+
}, {
|
|
4
|
+
readonly value: "privateFoundation";
|
|
5
|
+
}, {
|
|
6
|
+
readonly value: "internationalOrganization";
|
|
7
|
+
}, {
|
|
8
|
+
readonly value: "centralBankOfIssue";
|
|
9
|
+
}, {
|
|
10
|
+
readonly value: "foreignGovernmentControlledEntity";
|
|
11
|
+
}, {
|
|
12
|
+
readonly value: "foreignGovernmentIntegralPart";
|
|
13
|
+
}, {
|
|
14
|
+
readonly value: "estate";
|
|
15
|
+
}];
|
|
16
|
+
export declare const foreignOtherClassifications: ("taxExemptOrganization" | "privateFoundation" | "internationalOrganization" | "centralBankOfIssue" | "foreignGovernmentControlledEntity" | "foreignGovernmentIntegralPart" | "estate")[];
|
|
17
|
+
export type ForeignOtherClassification = (typeof foreignOtherClassificationOptions)[number]["value"];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const foreignTrustClassificationOptions: readonly [{
|
|
2
|
+
readonly value: "simpleTrust";
|
|
3
|
+
}, {
|
|
4
|
+
readonly value: "complexTrust";
|
|
5
|
+
}, {
|
|
6
|
+
readonly value: "grantorTrust";
|
|
7
|
+
}];
|
|
8
|
+
export declare const foreignTrustClassifications: ("simpleTrust" | "complexTrust" | "grantorTrust")[];
|
|
9
|
+
export type ForeignTrustClassification = (typeof foreignTrustClassificationOptions)[number]["value"];
|
package/dist/lookups/index.d.ts
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
export * from "./caProvinceOptions";
|
|
2
2
|
export * from "./countryOptions";
|
|
3
|
+
export * from "./dayOptions";
|
|
3
4
|
export * from "./fatcaCodeOptions";
|
|
4
5
|
export * from "./foreignAccountHolderAccountTypeOptions";
|
|
5
|
-
export * from "./
|
|
6
|
+
export * from "./foreignOtherClassificationOptions";
|
|
6
7
|
export * from "./foreignRegardedOwnerAccountTypeOptions";
|
|
7
|
-
export * from "./
|
|
8
|
+
export * from "./foreignTrustClassificationOptions";
|
|
9
|
+
export * from "./localeOptions";
|
|
10
|
+
export * from "./monthOptions";
|
|
8
11
|
export * from "./payeeCodeOptions";
|
|
9
12
|
export * from "./usAccountHolderAccountTypeOptions";
|
|
10
13
|
export * from "./usLlcAccountTypeOptions";
|
|
11
14
|
export * from "./usRegardedOwnerAccountTypeOptions";
|
|
12
15
|
export * from "./usStateOptions";
|
|
16
|
+
export * from "./yearOptions";
|
|
@@ -19,3 +19,5 @@ export declare const usAccountHolderAccountTypeOptions: readonly [{
|
|
|
19
19
|
}, {
|
|
20
20
|
readonly value: "disregardedEntity";
|
|
21
21
|
}];
|
|
22
|
+
export declare const usAccountHolderAccountTypes: ("individual" | "partnership" | "other" | "disregardedEntity" | "soleProprietor" | "llc" | "smllc" | "cCorporation" | "sCorporation" | "trustEstate")[];
|
|
23
|
+
export type UsAccountHolderAccountType = (typeof usAccountHolderAccountTypeOptions)[number]["value"];
|
|
@@ -5,3 +5,5 @@ export declare const usLlcAccountTypeOptions: readonly [{
|
|
|
5
5
|
}, {
|
|
6
6
|
readonly value: "partnership";
|
|
7
7
|
}];
|
|
8
|
+
export declare const usLlcAccountTypes: ("partnership" | "cCorporation" | "sCorporation")[];
|
|
9
|
+
export type UsLLCAccountType = (typeof usLlcAccountTypeOptions)[number]["value"];
|
package/dist/minimal.css
CHANGED
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
.taxbit-page {
|
|
15
15
|
max-width: 600px;
|
|
16
16
|
padding: 12px;
|
|
17
|
-
margin-bottom: 100px;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
.taxbit-row {
|
|
@@ -24,6 +23,9 @@
|
|
|
24
23
|
.taxbit-error-message {
|
|
25
24
|
color: red;
|
|
26
25
|
}
|
|
26
|
+
.taxbit-notification {
|
|
27
|
+
color: blue;
|
|
28
|
+
}
|
|
27
29
|
|
|
28
30
|
.taxbit-step-actions {
|
|
29
31
|
display: flex;
|