@taxbit/react-sdk 0.6.2 → 1.0.0-beta.1
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 +65 -61
- package/dist/src/components/Address/Address.d.ts +1 -2
- package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +1 -2
- package/dist/src/components/Form/Form.d.ts +2 -1
- package/dist/src/components/Form/index.d.ts +1 -1
- package/dist/src/contexts/QuestionnaireUI/QuestionnaireUIProvider.d.ts +6 -0
- package/dist/src/contexts/QuestionnaireUI/getLocal.d.ts +19 -0
- package/dist/src/contexts/{FormUI → QuestionnaireUI}/index.d.ts +3 -3
- package/dist/src/contexts/{FormUI/useFormUI.d.ts → QuestionnaireUI/useQuestionnaireUI.d.ts} +6 -6
- package/dist/src/contexts/{FormUI/useFormUIContext.d.ts → QuestionnaireUI/useQuestionnaireUIContext.d.ts} +18 -18
- package/dist/src/contexts/TaxDocumentation/TaxbitQuestionnaireProvider.d.ts +7 -0
- package/dist/src/contexts/TaxDocumentation/index.d.ts +1 -1
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +13 -15
- package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +24 -30
- package/dist/src/contexts/index.d.ts +2 -2
- package/dist/src/entry/TaxbitQuestionnaire/TaxbitQuestionnaire.d.ts +9 -0
- package/dist/src/entry/TaxbitQuestionnaire/index.d.ts +1 -0
- package/dist/src/entry/index.d.ts +4 -6
- package/dist/src/hooks/index.d.ts +1 -1
- package/dist/src/hooks/useTaxbit/__tests__/clientTaxDocumentation.d.ts +2 -0
- package/dist/src/hooks/{useTaxBit → useTaxbit}/__tests__/serverTaxDocumentation.d.ts +1 -1
- package/dist/src/hooks/useTaxbit/index.d.ts +1 -0
- package/dist/src/hooks/useTaxbit/useTaxbit.d.ts +9 -0
- package/dist/src/hooks/useTaxbit/useTaxbitConnect.d.ts +8 -0
- package/dist/src/hooks/useTaxbit/useTaxbitStatus.d.ts +8 -0
- package/dist/src/i18n/index.d.ts +1 -1
- package/dist/src/i18n/locales/bg.d.ts +1 -0
- package/dist/src/i18n/locales/cs.d.ts +1 -0
- package/dist/src/i18n/locales/da.d.ts +1 -0
- package/dist/src/i18n/locales/de-at.d.ts +1 -2
- package/dist/src/i18n/locales/de.d.ts +3 -0
- package/dist/src/i18n/locales/el-cy.d.ts +3 -2
- package/dist/src/i18n/locales/el.d.ts +3 -0
- package/dist/src/i18n/locales/{bg-bg.d.ts → en-nz.d.ts} +1 -1
- package/dist/src/i18n/locales/{cs-cz.d.ts → en.d.ts} +1 -1
- package/dist/src/i18n/locales/{da-dk.d.ts → es.d.ts} +1 -1
- package/dist/src/i18n/locales/et.d.ts +1 -0
- package/dist/src/i18n/locales/fi.d.ts +1 -0
- package/dist/src/i18n/locales/{de-de.d.ts → fr-ca.d.ts} +1 -1
- package/dist/src/i18n/locales/fr-lu.d.ts +1 -2
- package/dist/src/i18n/locales/fr.d.ts +2 -0
- package/dist/src/i18n/locales/ga.d.ts +2 -0
- package/dist/src/i18n/locales/hr.d.ts +1 -0
- package/dist/src/i18n/locales/hu.d.ts +1 -0
- package/dist/src/i18n/locales/index.d.ts +33 -30
- package/dist/src/i18n/locales/it.d.ts +1 -0
- package/dist/src/i18n/locales/lt.d.ts +3 -0
- package/dist/src/i18n/locales/lv.d.ts +1 -0
- package/dist/src/i18n/locales/mergePropertyFiles.d.ts +6 -0
- package/dist/src/i18n/locales/mt.d.ts +1 -0
- package/dist/src/i18n/locales/nl-be.d.ts +3 -2
- package/dist/src/i18n/locales/nl.d.ts +1 -0
- package/dist/src/i18n/locales/no.d.ts +1 -0
- package/dist/src/i18n/locales/pl.d.ts +3 -0
- package/dist/src/i18n/locales/pt.d.ts +1 -0
- package/dist/src/i18n/locales/ro.d.ts +1 -0
- package/dist/src/i18n/locales/sk.d.ts +1 -0
- package/dist/src/i18n/locales/sl.d.ts +1 -0
- package/dist/src/i18n/locales/sv.d.ts +1 -0
- package/dist/src/i18n/locales/translation-missing.d.ts +5 -0
- package/dist/src/i18n/localizationFileMap.d.ts +7 -0
- package/dist/src/i18n/types/LocalizationKey.d.ts +8 -8
- package/dist/src/i18n/types/PropertyFile.d.ts +23 -19
- package/dist/src/i18n/utils/getText.d.ts +2 -9
- package/dist/src/lookups/countryOptions.d.ts +1 -7
- package/dist/src/lookups/dayOptions.d.ts +1 -1
- package/dist/src/lookups/fatcaCodeOptions.d.ts +2 -2
- package/dist/src/lookups/foreignAccountHolderAccountTypeOptions.d.ts +3 -15
- package/dist/src/lookups/foreignOtherClassificationOptions.d.ts +3 -17
- package/dist/src/lookups/foreignRegardedOwnerAccountTypeOptions.d.ts +3 -11
- package/dist/src/lookups/foreignTrustClassificationOptions.d.ts +3 -9
- package/dist/src/lookups/index.d.ts +13 -16
- package/dist/src/lookups/localeOptions.d.ts +5 -1
- package/dist/src/lookups/payeeCodeOptions.d.ts +2 -2
- package/dist/src/lookups/toOptions.d.ts +1 -1
- package/dist/src/lookups/usAccountHolderAccountTypeOptions.d.ts +3 -23
- package/dist/src/lookups/usLlcAccountTypeOptions.d.ts +3 -9
- package/dist/src/lookups/usRegardedOwnerAccountTypeOptions.d.ts +3 -15
- package/dist/src/services/api.d.ts +7 -2
- package/dist/src/test/Wrapper.d.ts +3 -3
- package/dist/src/test/getWrapper.d.ts +3 -3
- package/dist/src/test/utils/helpers.d.ts +7 -2
- package/dist/src/types/InputStep.d.ts +2 -2
- package/dist/src/types/Locale.d.ts +1 -1
- package/dist/src/types/Questionnaire.d.ts +1 -0
- package/dist/src/types/StepId.d.ts +1 -1
- package/dist/src/types/TaxDocumentation.d.ts +30 -30
- package/dist/src/types/client/ClientTaxDocumentationStatus.d.ts +12 -3
- package/dist/src/types/client/index.d.ts +0 -1
- package/dist/src/types/index.d.ts +1 -6
- package/dist/src/types/server/TaxDocumentationStatus.d.ts +12 -3
- package/dist/src/types/server/index.d.ts +0 -1
- package/dist/src/ui/ActionButton/index.d.ts +1 -1
- package/dist/src/ui/CheckBox/CheckBox.d.ts +2 -1
- package/dist/src/ui/DateOfBirthInput/DateOfBirthInput.d.ts +1 -2
- package/dist/src/ui/DateOfBirthInput/index.d.ts +1 -1
- package/dist/src/ui/DateOfBirthInput/useDateOfBirthInput.d.ts +2 -2
- package/dist/src/ui/FormattedInput/FormattedInput.d.ts +11 -0
- package/dist/src/ui/FormattedInput/index.d.ts +1 -0
- package/dist/src/ui/PasswordInput/PasswordInput.d.ts +9 -0
- package/dist/src/ui/PasswordInput/index.d.ts +1 -0
- package/dist/src/ui/RadioButtons/index.d.ts +1 -1
- package/dist/src/ui/Select/index.d.ts +1 -1
- package/dist/src/ui/{MaskedInput/MaskedInput.d.ts → ShowHideInput/ShowHideInput.d.ts} +2 -3
- package/dist/src/ui/ShowHideInput/index.d.ts +1 -0
- package/dist/src/ui/TextInput/TextInput.d.ts +1 -2
- package/dist/src/ui/TextInput/index.d.ts +1 -1
- package/dist/src/ui/index.d.ts +3 -1
- package/dist/src/utils/formatUsTin.d.ts +5 -0
- package/dist/src/utils/getFieldsState.d.ts +16 -10
- package/dist/src/utils/getMaskedContent.d.ts +1 -0
- package/dist/src/utils/getPromptKeyMap.d.ts +22 -22
- package/dist/src/utils/index.d.ts +3 -2
- package/dist/src/utils/mergeClientTaxDocumentationData.d.ts +1 -1
- package/dist/src/utils/transformForClient/convertYesNoToBoolean.d.ts +1 -1
- package/dist/src/utils/transformForClient/convertYesNoToBooleanOrUndefined.d.ts +2 -0
- package/dist/src/utils/transformForClient/index.d.ts +1 -1
- package/dist/src/utils/transformForClient/transformForClient.d.ts +3 -2
- package/dist/src/utils/transformForClient/transformForClientAccoutHolder.d.ts +1 -53
- package/dist/src/utils/transformForClient/transformForClientRegardedOwner.d.ts +1 -36
- package/dist/src/utils/transformInbound/getForeignAccountType.d.ts +1 -1
- package/dist/src/utils/transformInbound/getForeignOtherClassification.d.ts +1 -1
- package/dist/src/utils/transformInbound/getForeignTrustClassification.d.ts +1 -1
- package/dist/src/utils/transformInbound/getLLCClassification.d.ts +1 -1
- package/dist/src/utils/transformInbound/getUsAccountType.d.ts +1 -1
- package/dist/src/utils/transformInbound/transformInbound.d.ts +3 -3
- package/dist/src/utils/uppercase.d.ts +1 -0
- package/dist/src/validations/getInvalidFields.d.ts +2 -2
- package/dist/src/validations/getRequiredFields.d.ts +2 -2
- package/dist/src/validations/getSupportedFields.d.ts +2 -2
- package/dist/src/validations/getVisibleFields.d.ts +2 -2
- package/dist/src/widgets/TaxbitQuestionnairePersist/TaxbitQuestionnairePersist.d.ts +5 -0
- package/dist/src/widgets/TaxbitQuestionnairePersist/index.d.ts +2 -0
- package/dist/src/widgets/TaxbitQuestionnairePersist/useTaxbitPersist.d.ts +25 -0
- package/dist/src/widgets/index.d.ts +1 -1
- package/dist/src/wizard/AddressInput/AddressInput.d.ts +2 -1
- package/dist/src/wizard/LanguageSelector/LanguageSelector.d.ts +4 -1
- package/dist/src/wizard/ResidenceInput/ResidenceInput.d.ts +1 -2
- package/dist/src/wizard/RowInput/AddressRow/AddressRow.d.ts +2 -1
- package/dist/src/wizard/RowInput/CheckBoxRow/CheckBoxRow.d.ts +4 -3
- package/dist/src/wizard/RowInput/DateOfBirthRow/index.d.ts +1 -1
- package/dist/src/wizard/RowInput/ErrorRow/index.d.ts +1 -1
- package/dist/src/wizard/RowInput/RadioButtonRow/RadioButtonRow.d.ts +2 -2
- package/dist/src/wizard/RowInput/ShowHideInputRow/ShowHideInputRow.d.ts +11 -0
- package/dist/src/wizard/RowInput/ShowHideInputRow/index.d.ts +1 -0
- package/dist/src/wizard/RowInput/TextInputRow/TextInputRow.d.ts +3 -4
- package/dist/src/wizard/RowInput/index.d.ts +1 -1
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderClassification/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderContact/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTax/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTaxClarification/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/AppError/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Exemptions/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerContact/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerTax/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/index.d.ts +1 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/TaxbitQuestionnaireUI.d.ts +6 -0
- package/dist/src/wizard/TaxbitQuestionnaireUI/index.d.ts +1 -0
- package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/steps.d.ts +0 -1
- package/dist/src/wizard/index.d.ts +1 -1
- package/dist/taxbit-react-sdk.js +6557 -16802
- package/dist/taxbit-react-sdk.umd.cjs +10 -10
- package/package.json +10 -18
- package/style/basic.css +32 -13
- package/style/inline.css +32 -13
- package/dist/src/contexts/FormUI/FormUIProvider.d.ts +0 -6
- package/dist/src/contexts/FormUI/getLocal.d.ts +0 -20
- package/dist/src/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +0 -7
- package/dist/src/hooks/useTaxBit/__tests__/clientTaxDocumentation.d.ts +0 -2
- package/dist/src/hooks/useTaxBit/index.d.ts +0 -1
- package/dist/src/hooks/useTaxBit/useTaxBit.d.ts +0 -7
- package/dist/src/i18n/i18n.d.ts +0 -7
- package/dist/src/i18n/locales/el-gr.d.ts +0 -2
- package/dist/src/i18n/locales/es-es.d.ts +0 -2
- package/dist/src/i18n/locales/et-ee.d.ts +0 -2
- package/dist/src/i18n/locales/fi-fi.d.ts +0 -2
- package/dist/src/i18n/locales/fr-fr.d.ts +0 -2
- package/dist/src/i18n/locales/ga-ie.d.ts +0 -2
- package/dist/src/i18n/locales/hr-hr.d.ts +0 -2
- package/dist/src/i18n/locales/hu-hu.d.ts +0 -2
- package/dist/src/i18n/locales/it-it.d.ts +0 -2
- package/dist/src/i18n/locales/lt-lt.d.ts +0 -2
- package/dist/src/i18n/locales/lv-lv.d.ts +0 -2
- package/dist/src/i18n/locales/mt-mt.d.ts +0 -2
- package/dist/src/i18n/locales/nl-nl.d.ts +0 -2
- package/dist/src/i18n/locales/no-no.d.ts +0 -2
- package/dist/src/i18n/locales/pl-pl.d.ts +0 -2
- package/dist/src/i18n/locales/pt-pt.d.ts +0 -2
- package/dist/src/i18n/locales/ro-ro.d.ts +0 -2
- package/dist/src/i18n/locales/sk-sk.d.ts +0 -2
- package/dist/src/i18n/locales/sl-si.d.ts +0 -2
- package/dist/src/i18n/locales/sv-se.d.ts +0 -2
- package/dist/src/lookups/caProvinceOptions.d.ts +0 -4
- package/dist/src/lookups/monthOptions.d.ts +0 -4
- package/dist/src/lookups/usStateOptions.d.ts +0 -4
- package/dist/src/types/AccountType.d.ts +0 -6
- package/dist/src/types/CaProvinceCode.d.ts +0 -1
- package/dist/src/types/CountryCode.d.ts +0 -3
- package/dist/src/types/MonthCode.d.ts +0 -1
- package/dist/src/types/TaxForm.d.ts +0 -1
- package/dist/src/types/UsStateCode.d.ts +0 -1
- package/dist/src/types/client/ClientTaxDocumentation.d.ts +0 -84
- package/dist/src/types/server/ComprehensiveTaxDocumentation.d.ts +0 -84
- package/dist/src/ui/MaskedInput/index.d.ts +0 -1
- package/dist/src/ui/Password/Password.d.ts +0 -12
- package/dist/src/ui/Password/index.d.ts +0 -1
- package/dist/src/utils/date.d.ts +0 -4
- package/dist/src/utils/getHintKeyMap.d.ts +0 -113
- package/dist/src/utils/getVerboseDate.d.ts +0 -1
- package/dist/src/widgets/TaxBitForm/TaxBitDAC7Form.d.ts +0 -4
- package/dist/src/widgets/TaxBitForm/TaxBitForm.d.ts +0 -5
- package/dist/src/widgets/TaxBitForm/index.d.ts +0 -2
- package/dist/src/widgets/TaxBitForm/useTaxBitForm.d.ts +0 -22
- package/dist/src/wizard/PlaceOfBirthInput/PlaceOfBirthInput.d.ts +0 -2
- package/dist/src/wizard/PlaceOfBirthInput/index.d.ts +0 -1
- package/dist/src/wizard/RowInput/MaskedInputRow/MaskedInputRow.d.ts +0 -11
- package/dist/src/wizard/RowInput/MaskedInputRow/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/AccountHolderClassification/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/AccountHolderContact/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/AccountHolderTax/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/AccountHolderTaxClarification/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/AppError/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/Exemptions/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/RegardedOwnerClassification/RegardedOwnerClassification.d.ts +0 -2
- package/dist/src/wizard/TaxBitFormUI/RegardedOwnerClassification/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/RegardedOwnerContact/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/RegardedOwnerTax/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/Summary/index.d.ts +0 -1
- package/dist/src/wizard/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +0 -4
- package/dist/src/wizard/TaxBitFormUI/TaxBitFormUI.d.ts +0 -6
- package/dist/src/wizard/TaxBitFormUI/index.d.ts +0 -2
- /package/dist/src/contexts/{FormUI → QuestionnaireUI}/shiftResidence.d.ts +0 -0
- /package/dist/src/widgets/{TaxBitForm/__tests__/TaxBitDAC7Form.loaded.test.d.ts → TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.complete.test.d.ts} +0 -0
- /package/dist/src/widgets/{TaxBitForm/__tests__/TaxBitForm.complete.test.d.ts → TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.loaded.test.d.ts} +0 -0
- /package/dist/src/widgets/{TaxBitForm/__tests__/TaxBitForm.loaded.test.d.ts → TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.loading.test.d.ts} +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderClassification/AccountHolderClassification.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderContact/AccountHolderContact.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderTax/AccountHolderTax.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AppError/AppError.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Confirmation/Confirmation.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Confirmation/index.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Exemptions/Exemptions.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/RegardedOwnerContact/RegardedOwnerContact.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/RegardedOwnerTax/RegardedOwnerTax.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Summary/Recap.d.ts +0 -0
- /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Summary/Summary.d.ts +0 -0
- /package/dist/src/{widgets/TaxBitForm/__tests__/TaxBitForm.loading.test.d.ts → wizard/TaxbitQuestionnaireUI/__tests__/TaxbitDPSQuestionnaireUI.test.d.ts} +0 -0
- /package/dist/src/wizard/{TaxBitFormUI/__tests__/TaxBitDAC7FormUI.test.d.ts → TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.test.d.ts} +0 -0
- /package/dist/src/wizard/{TaxBitFormUI/__tests__/TaxBitFormUI.test.d.ts → TaxbitQuestionnaireUI/__tests__/TaxbitWFormQuestionnaireUI.test.d.ts} +0 -0
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { PromptKey } from 'i18n/types';
|
|
2
2
|
import { TaxDocumentation, TaxDocumentationKey } from 'types/TaxDocumentation';
|
|
3
3
|
export declare const getPromptKeyMap: (data: TaxDocumentation) => {
|
|
4
|
-
signature?: PromptKey | undefined;
|
|
5
|
-
source?: PromptKey | undefined;
|
|
6
|
-
exemptFatcaCode?: PromptKey | undefined;
|
|
7
4
|
exemptPayeeCode?: PromptKey | undefined;
|
|
8
|
-
|
|
5
|
+
exemptFatcaCode?: PromptKey | undefined;
|
|
6
|
+
iAcknowledgeESignIsOk?: PromptKey | undefined;
|
|
9
7
|
iAmACitizenOfTheUs?: PromptKey | undefined;
|
|
10
8
|
iAmExemptFromFatcaReporting?: PromptKey | undefined;
|
|
11
9
|
iAmNotSubjectToBackupWithholding?: PromptKey | undefined;
|
|
@@ -14,11 +12,10 @@ export declare const getPromptKeyMap: (data: TaxDocumentation) => {
|
|
|
14
12
|
iConfirmIncomeIsNonUs?: PromptKey | undefined;
|
|
15
13
|
iConfirmTheBeneficialOwnerIsExempt?: PromptKey | undefined;
|
|
16
14
|
iConfirmTheInformationIsCorrectComplete?: PromptKey | undefined;
|
|
17
|
-
|
|
18
|
-
iConfirmTheEntityIsTheBeneficialOwner?: PromptKey | undefined;
|
|
15
|
+
iConfirmTheIndividualIsResidentOfTreatyCountry?: PromptKey | undefined;
|
|
19
16
|
iConfirmTheTaxIdIsCorrect?: PromptKey | undefined;
|
|
20
|
-
iHaveLegalCapacityToSign?: PromptKey | undefined;
|
|
21
17
|
regardedOwnerUsPerson?: PromptKey | undefined;
|
|
18
|
+
signature?: PromptKey | undefined;
|
|
22
19
|
accountHolderAddressCity?: PromptKey | undefined;
|
|
23
20
|
accountHolderAddressCountry?: PromptKey | undefined;
|
|
24
21
|
accountHolderAddressState?: PromptKey | undefined;
|
|
@@ -38,43 +35,43 @@ export declare const getPromptKeyMap: (data: TaxDocumentation) => {
|
|
|
38
35
|
accountHolderMailingAddressStreet?: PromptKey | undefined;
|
|
39
36
|
accountHolderMailingAddressZip?: PromptKey | undefined;
|
|
40
37
|
accountHolderName?: PromptKey | undefined;
|
|
41
|
-
accountHolderFinancialAccountIdentifier?: PromptKey | undefined;
|
|
42
|
-
accountHolderFinancialAccountName?: PromptKey | undefined;
|
|
43
38
|
accountHolderForeignTin?: PromptKey | undefined;
|
|
44
39
|
accountHolderForeignTinIsNotRequired?: PromptKey | undefined;
|
|
40
|
+
accountHolderUsTin?: PromptKey | undefined;
|
|
41
|
+
accountHolderFinancialAccountIdentifier?: PromptKey | undefined;
|
|
42
|
+
accountHolderFinancialAccountName?: PromptKey | undefined;
|
|
45
43
|
accountHolderTaxResidenceCountry1?: PromptKey | undefined;
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
accountHolderTaxResidenceTin1?: PromptKey | undefined;
|
|
45
|
+
accountHolderTaxResidenceTin1IsNotRequired?: PromptKey | undefined;
|
|
48
46
|
accountHolderTaxResidenceCountry2?: PromptKey | undefined;
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
accountHolderTaxResidenceTin2?: PromptKey | undefined;
|
|
48
|
+
accountHolderTaxResidenceTin2IsNotRequired?: PromptKey | undefined;
|
|
51
49
|
accountHolderTaxResidenceCountry3?: PromptKey | undefined;
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
accountHolderTaxResidenceTin3?: PromptKey | undefined;
|
|
51
|
+
accountHolderTaxResidenceTin3IsNotRequired?: PromptKey | undefined;
|
|
54
52
|
accountHolderTaxResidenceCountry4?: PromptKey | undefined;
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
accountHolderTaxResidenceTin4?: PromptKey | undefined;
|
|
54
|
+
accountHolderTaxResidenceTin4IsNotRequired?: PromptKey | undefined;
|
|
57
55
|
accountHolderTaxResidenceCountry5?: PromptKey | undefined;
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
accountHolderTaxResidenceTin5?: PromptKey | undefined;
|
|
57
|
+
accountHolderTaxResidenceTin5IsNotRequired?: PromptKey | undefined;
|
|
60
58
|
accountHolderShowTaxResidence2?: PromptKey | undefined;
|
|
61
59
|
accountHolderShowTaxResidence3?: PromptKey | undefined;
|
|
62
60
|
accountHolderShowTaxResidence4?: PromptKey | undefined;
|
|
63
61
|
accountHolderShowTaxResidence5?: PromptKey | undefined;
|
|
64
|
-
accountHolderUsTin?: PromptKey | undefined;
|
|
65
62
|
accountHolderVatIdentificationNumber?: PromptKey | undefined;
|
|
66
63
|
accountHolderVatIsNotRequired?: PromptKey | undefined;
|
|
67
64
|
accountHolderVatCountry?: PromptKey | undefined;
|
|
68
65
|
accountHolderBusinessRegistrationNumber?: PromptKey | undefined;
|
|
69
66
|
accountHolderBusinessRegistrationCountry?: PromptKey | undefined;
|
|
70
67
|
accountHolderIsIndividual?: PromptKey | undefined;
|
|
71
|
-
accountHolderIsEuResident?: PromptKey | undefined;
|
|
72
68
|
accountHolderUsPerson?: PromptKey | undefined;
|
|
73
69
|
accountHolderUsAccountType?: PromptKey | undefined;
|
|
74
70
|
accountHolderUsSmllcElection?: PromptKey | undefined;
|
|
75
71
|
accountHolderUsLlcClassification?: PromptKey | undefined;
|
|
76
72
|
accountHolderUsOtherClassification?: PromptKey | undefined;
|
|
77
73
|
accountHolderUsTrustEstateEin?: PromptKey | undefined;
|
|
74
|
+
accountHolderUsSoleProprietorEin?: PromptKey | undefined;
|
|
78
75
|
accountHolderForeignAccountType?: PromptKey | undefined;
|
|
79
76
|
accountHolderForeignTrustClassification?: PromptKey | undefined;
|
|
80
77
|
accountHolderForeignOtherClassification?: PromptKey | undefined;
|
|
@@ -98,13 +95,16 @@ export declare const getPromptKeyMap: (data: TaxDocumentation) => {
|
|
|
98
95
|
regardedOwnerUsAccountType?: PromptKey | undefined;
|
|
99
96
|
regardedOwnerUsLlcClassification?: PromptKey | undefined;
|
|
100
97
|
regardedOwnerUsOtherClassification?: PromptKey | undefined;
|
|
101
|
-
regardedOwnerUsTrustEstateEin?: PromptKey | undefined;
|
|
102
98
|
regardedOwnerForeignAccountType?: PromptKey | undefined;
|
|
103
99
|
regardedOwnerForeignTrustClassification?: PromptKey | undefined;
|
|
104
100
|
regardedOwnerForeignOtherClassification?: PromptKey | undefined;
|
|
105
101
|
regardedOwnerForeignTin?: PromptKey | undefined;
|
|
106
102
|
regardedOwnerForeignTinIsNotRequired?: PromptKey | undefined;
|
|
107
103
|
regardedOwnerUsTin?: PromptKey | undefined;
|
|
104
|
+
iConfirmNotAUsPerson?: PromptKey | undefined;
|
|
105
|
+
iConfirmTheBeneficialOwner?: PromptKey | undefined;
|
|
106
|
+
iHaveCapacityToSign?: PromptKey | undefined;
|
|
107
|
+
source?: PromptKey | undefined;
|
|
108
108
|
accountHolderTaxResidences?: PromptKey | undefined;
|
|
109
109
|
accountHolderAddress?: PromptKey | undefined;
|
|
110
110
|
accountHolderMailingAddress?: PromptKey | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './camelCaseKeys';
|
|
2
2
|
export * from './cx';
|
|
3
|
-
export * from './
|
|
3
|
+
export * from './formatUsTin';
|
|
4
4
|
export * from './getFieldsState';
|
|
5
|
-
export * from './
|
|
5
|
+
export * from './getMaskedContent';
|
|
6
6
|
export * from './getMonthlyDayCount';
|
|
7
7
|
export * from './getPromptKeyMap';
|
|
8
8
|
export * from './isBlank';
|
|
@@ -11,3 +11,4 @@ export * from './mergeClientTaxDocumentationData';
|
|
|
11
11
|
export * from './snakeCaseKeys';
|
|
12
12
|
export * from './transformForClient';
|
|
13
13
|
export * from './transformInbound';
|
|
14
|
+
export * from './uppercase';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ClientTaxDocumentation } from '
|
|
1
|
+
import { ClientTaxDocumentation } from '@taxbit/utilities';
|
|
2
2
|
export declare const mergeClientTaxDocumentationData: (serverData: ClientTaxDocumentation | undefined, clientData: ClientTaxDocumentation | undefined) => ClientTaxDocumentation;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { YesNo } from 'types';
|
|
2
|
-
export declare const convertYesNoToBoolean: (val: YesNo | undefined) => boolean
|
|
2
|
+
export declare const convertYesNoToBoolean: (val: YesNo | undefined) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './transformForClient
|
|
1
|
+
export * from './transformForClient';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ClientTaxDocumentation, SignedClientTaxDocumentation } from '@taxbit/utilities';
|
|
2
|
+
import { Questionnaire, TaxDocumentation } from '../../types';
|
|
3
3
|
export declare const transformForClient: (data: TaxDocumentation) => ClientTaxDocumentation;
|
|
4
|
+
export declare const transformForSignedClient: (data: TaxDocumentation, questionnaire: Questionnaire) => SignedClientTaxDocumentation;
|
|
@@ -1,54 +1,2 @@
|
|
|
1
1
|
import { TaxDocumentation } from 'types';
|
|
2
|
-
export declare const transformForClientAccountHolder: (data: TaxDocumentation) =>
|
|
3
|
-
address?: {
|
|
4
|
-
city?: string | undefined;
|
|
5
|
-
country?: string | undefined;
|
|
6
|
-
stateOrProvince?: string | undefined;
|
|
7
|
-
firstLine?: string | undefined;
|
|
8
|
-
secondLine?: string | undefined;
|
|
9
|
-
postalCode?: string | undefined;
|
|
10
|
-
} | undefined;
|
|
11
|
-
countryOfCitizenship?: string | undefined;
|
|
12
|
-
dateOfBirth?: string | undefined;
|
|
13
|
-
dbaName?: string | undefined;
|
|
14
|
-
mailingAddress?: {
|
|
15
|
-
city?: string | undefined;
|
|
16
|
-
country?: string | undefined;
|
|
17
|
-
stateOrProvince?: string | undefined;
|
|
18
|
-
firstLine?: string | undefined;
|
|
19
|
-
secondLine?: string | undefined;
|
|
20
|
-
postalCode?: string | undefined;
|
|
21
|
-
} | undefined;
|
|
22
|
-
mailingAddressIsDifferent?: boolean | undefined;
|
|
23
|
-
name?: string | undefined;
|
|
24
|
-
cityOfBirth?: string | undefined;
|
|
25
|
-
countryOfBirth?: string | undefined;
|
|
26
|
-
financialAccountIdentifier?: string | undefined;
|
|
27
|
-
financialAccountName?: string | undefined;
|
|
28
|
-
ftin?: string | undefined;
|
|
29
|
-
ftinNotLegallyRequired?: boolean | undefined;
|
|
30
|
-
taxResidences?: {
|
|
31
|
-
country?: string | undefined;
|
|
32
|
-
tin?: string | undefined;
|
|
33
|
-
tinNotRequired?: boolean | undefined;
|
|
34
|
-
}[] | undefined;
|
|
35
|
-
tin?: string | undefined;
|
|
36
|
-
vatin?: string | undefined;
|
|
37
|
-
vatinCountry?: string | undefined;
|
|
38
|
-
vatinNotRequired?: boolean | undefined;
|
|
39
|
-
businessRegistrationNumber?: string | undefined;
|
|
40
|
-
businessRegistrationCountry?: string | undefined;
|
|
41
|
-
exemptFatcaCode?: string | undefined;
|
|
42
|
-
exemptPayeeCode?: string | undefined;
|
|
43
|
-
isIndividual?: boolean | undefined;
|
|
44
|
-
isEuResident?: boolean | undefined;
|
|
45
|
-
isUsPerson?: boolean | undefined;
|
|
46
|
-
usAccountType?: string | undefined;
|
|
47
|
-
usSmllcElection?: boolean | undefined;
|
|
48
|
-
usLlcClassification?: string | undefined;
|
|
49
|
-
usOtherClassification?: string | undefined;
|
|
50
|
-
usTrustEstateEin?: boolean | undefined;
|
|
51
|
-
foreignAccountType?: string | undefined;
|
|
52
|
-
foreignTrustClassification?: string | undefined;
|
|
53
|
-
foreignOtherClassification?: string | undefined;
|
|
54
|
-
} | undefined;
|
|
2
|
+
export declare const transformForClientAccountHolder: (data: TaxDocumentation) => import("@taxbit/utilities").ClientAccountHolderTaxDocumentation | undefined;
|
|
@@ -1,37 +1,2 @@
|
|
|
1
1
|
import { TaxDocumentation } from 'types';
|
|
2
|
-
export declare const transformForClientRegardedOwner: (data: TaxDocumentation) =>
|
|
3
|
-
address?: {
|
|
4
|
-
city?: string | undefined;
|
|
5
|
-
country?: string | undefined;
|
|
6
|
-
stateOrProvince?: string | undefined;
|
|
7
|
-
firstLine?: string | undefined;
|
|
8
|
-
secondLine?: string | undefined;
|
|
9
|
-
postalCode?: string | undefined;
|
|
10
|
-
} | undefined;
|
|
11
|
-
countryOfCitizenship?: string | undefined;
|
|
12
|
-
dateOfBirth?: string | undefined;
|
|
13
|
-
dbaName?: string | undefined;
|
|
14
|
-
mailingAddress?: {
|
|
15
|
-
city?: string | undefined;
|
|
16
|
-
country?: string | undefined;
|
|
17
|
-
stateOrProvince?: string | undefined;
|
|
18
|
-
firstLine?: string | undefined;
|
|
19
|
-
secondLine?: string | undefined;
|
|
20
|
-
postalCode?: string | undefined;
|
|
21
|
-
} | undefined;
|
|
22
|
-
mailingAddressIsDifferent?: boolean | undefined;
|
|
23
|
-
name?: string | undefined;
|
|
24
|
-
ftin?: string | undefined;
|
|
25
|
-
ftinNotLegallyRequired?: boolean | undefined;
|
|
26
|
-
tin?: string | undefined;
|
|
27
|
-
exemptFatcaCode?: string | undefined;
|
|
28
|
-
exemptPayeeCode?: string | undefined;
|
|
29
|
-
isUsPerson?: boolean | undefined;
|
|
30
|
-
usAccountType?: string | undefined;
|
|
31
|
-
usLlcClassification?: string | undefined;
|
|
32
|
-
usOtherClassification?: string | undefined;
|
|
33
|
-
usTrustEstateEin?: boolean | undefined;
|
|
34
|
-
foreignAccountType?: string | undefined;
|
|
35
|
-
foreignTrustClassification?: string | undefined;
|
|
36
|
-
foreignOtherClassification?: string | undefined;
|
|
37
|
-
} | undefined;
|
|
2
|
+
export declare const transformForClientRegardedOwner: (data: TaxDocumentation) => import("@taxbit/utilities").ClientRegardedOwnerTaxDocumentation | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ForeignAccountHolderAccountType } from '
|
|
1
|
+
import { type ForeignAccountHolderAccountType } from '@taxbit/utilities';
|
|
2
2
|
export declare const getForeignAccountType: (accountType: string | undefined) => ForeignAccountHolderAccountType | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ForeignOtherClassification } from '
|
|
1
|
+
import { type ForeignOtherClassification } from '@taxbit/utilities';
|
|
2
2
|
export declare const getForeignOtherClassification: (classification: string | undefined) => ForeignOtherClassification | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type ForeignTrustClassification } from '
|
|
1
|
+
import { type ForeignTrustClassification } from '@taxbit/utilities';
|
|
2
2
|
export declare const getForeignTrustClassification: (classification: string | undefined) => ForeignTrustClassification | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { UsLLCAccountType } from '
|
|
1
|
+
import type { UsLLCAccountType } from '@taxbit/utilities';
|
|
2
2
|
export declare const getLLCClassification: (accountType: string | undefined) => UsLLCAccountType | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { type UsAccountHolderAccountType } from '
|
|
1
|
+
import { type UsAccountHolderAccountType } from '@taxbit/utilities';
|
|
2
2
|
export declare const getUsAccountType: (accountType: string | undefined) => UsAccountHolderAccountType | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ClientTaxDocumentation } from '
|
|
3
|
-
export declare const transformInbound: (data: ClientTaxDocumentation,
|
|
1
|
+
import { Questionnaire, TaxDocumentation } from 'types';
|
|
2
|
+
import { ClientTaxDocumentation } from '@taxbit/utilities';
|
|
3
|
+
export declare const transformInbound: (data: ClientTaxDocumentation, questionnaire: Questionnaire) => TaxDocumentation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const uppercase: (v: string) => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TaxDocumentationErrorFile } from '../contexts';
|
|
2
|
-
import { TaxDocumentation } from '../types';
|
|
2
|
+
import { Questionnaire, TaxDocumentation } from '../types';
|
|
3
3
|
import { ExternalValidations } from '../types/client';
|
|
4
|
-
export declare const getInvalidFields: (fields: TaxDocumentation, externalValidations?: ExternalValidations) => TaxDocumentationErrorFile;
|
|
4
|
+
export declare const getInvalidFields: (fields: TaxDocumentation, questionnaire: Questionnaire, externalValidations?: ExternalValidations) => TaxDocumentationErrorFile;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { TaxDocumentationPropertyFile } from '../contexts';
|
|
2
|
-
import { TaxDocumentation } from '../types';
|
|
3
|
-
export declare const getRequiredFields: (fields: TaxDocumentation) => TaxDocumentationPropertyFile;
|
|
2
|
+
import { Questionnaire, TaxDocumentation } from '../types';
|
|
3
|
+
export declare const getRequiredFields: (fields: TaxDocumentation, questionnaire: Questionnaire) => TaxDocumentationPropertyFile;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Questionnaire, TaxDocumentationKey } from 'types';
|
|
2
2
|
type TaxDocumentationPropertyFile = {
|
|
3
3
|
[key in TaxDocumentationKey]: boolean;
|
|
4
4
|
};
|
|
5
|
-
export declare const getSupportedFields: (
|
|
5
|
+
export declare const getSupportedFields: (questionnaire: Questionnaire) => TaxDocumentationPropertyFile;
|
|
6
6
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Questionnaire, TaxDocumentation } from 'types';
|
|
2
2
|
import { TaxDocumentationPropertyFile } from '../contexts';
|
|
3
|
-
export declare const getVisibleFields: (fields: TaxDocumentation | undefined,
|
|
3
|
+
export declare const getVisibleFields: (fields: TaxDocumentation | undefined, questionnaire: Questionnaire) => TaxDocumentationPropertyFile;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UseTaxDocumentationProps } from 'contexts';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { UseTaxbitPersistProps } from './useTaxbitPersist';
|
|
4
|
+
export type TaxbitQuestionnairePersistProps = Omit<UseTaxDocumentationProps, 'onSubmit'> & UseTaxbitPersistProps;
|
|
5
|
+
export declare const TaxbitQuestionnairePersist: ({ staging, data, bearerToken, language, questionnaire, onProgress, onSubmit, onSettled, onSuccess, onError, }: TaxbitQuestionnairePersistProps) => React.JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ClientTaxDocumentation, SignedClientTaxDocumentation } from '@taxbit/utilities';
|
|
2
|
+
import { Questionnaire } from 'types';
|
|
3
|
+
import { ExternalValidations } from 'types/client';
|
|
4
|
+
type TaxbitResponseError = {
|
|
5
|
+
message: string;
|
|
6
|
+
response: Response;
|
|
7
|
+
};
|
|
8
|
+
export type UseTaxbitPersistProps = {
|
|
9
|
+
data?: ClientTaxDocumentation;
|
|
10
|
+
staging?: boolean;
|
|
11
|
+
bearerToken: string;
|
|
12
|
+
questionnaire?: Questionnaire;
|
|
13
|
+
onSuccess?: (data?: ClientTaxDocumentation) => void | Promise<void>;
|
|
14
|
+
onSettled?: (data?: ClientTaxDocumentation) => void | Promise<void>;
|
|
15
|
+
onError?: (error?: TaxbitResponseError) => void | Promise<void>;
|
|
16
|
+
onSubmit?: (data?: ClientTaxDocumentation) => void | Promise<void>;
|
|
17
|
+
};
|
|
18
|
+
export declare const useTaxbitPersist: ({ bearerToken, data, onSubmit, onSuccess, onSettled, onError, staging, questionnaire, }: UseTaxbitPersistProps) => {
|
|
19
|
+
handleOnSubmit: (data: SignedClientTaxDocumentation) => Promise<void>;
|
|
20
|
+
externalValidations: ExternalValidations;
|
|
21
|
+
formData: ClientTaxDocumentation;
|
|
22
|
+
isComplete: boolean;
|
|
23
|
+
isLoading: boolean;
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './TaxbitQuestionnairePersist';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type AddressProps = {
|
|
3
3
|
prompt: string;
|
|
4
|
+
subPrompt?: string;
|
|
4
5
|
showIf?: boolean;
|
|
5
6
|
prefix: 'accountHolderAddress' | 'accountHolderMailingAddress' | 'regardedOwnerAddress' | 'regardedOwnerMailingAddress';
|
|
6
7
|
};
|
|
7
|
-
export declare const AddressInput: ({ prompt, prefix, showIf, }: AddressProps) => React.JSX.Element;
|
|
8
|
+
export declare const AddressInput: ({ prompt, subPrompt, prefix, showIf, }: AddressProps) => React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { CountryCode } from 'types';
|
|
3
2
|
type ResidenceInputProps = {
|
|
4
3
|
index: 1 | 2 | 3 | 4 | 5;
|
|
5
4
|
showIf?: boolean;
|
|
@@ -7,7 +6,7 @@ type ResidenceInputProps = {
|
|
|
7
6
|
remove?: boolean;
|
|
8
7
|
onShow?: () => void;
|
|
9
8
|
countryOptions: ReadonlyArray<{
|
|
10
|
-
value:
|
|
9
|
+
value: string;
|
|
11
10
|
label: string;
|
|
12
11
|
}>;
|
|
13
12
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
type AddressRowProps = {
|
|
3
3
|
onEdit?: () => void;
|
|
4
|
+
prompt?: string;
|
|
4
5
|
name: 'accountHolderAddress' | 'accountHolderMailingAddress' | 'regardedOwnerAddress' | 'regardedOwnerMailingAddress';
|
|
5
6
|
};
|
|
6
|
-
export declare const AddressRow: ({ onEdit, name }: AddressRowProps) => React.JSX.Element | null;
|
|
7
|
+
export declare const AddressRow: ({ onEdit, name, prompt }: AddressRowProps) => React.JSX.Element | null;
|
|
7
8
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { CheckBoxProps } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CheckBoxProps } from 'ui';
|
|
3
3
|
type CheckBoxRowProps = {
|
|
4
4
|
label?: boolean;
|
|
5
5
|
subLabel?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
6
7
|
};
|
|
7
|
-
export declare const CheckBoxRow: ({ name, label, subLabel, onClick, }: CheckBoxProps & CheckBoxRowProps) => React.JSX.Element;
|
|
8
|
+
export declare const CheckBoxRow: ({ name, label, subLabel, onClick, disabled, }: CheckBoxProps & CheckBoxRowProps) => React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './DateOfBirthRow';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './ErrorRow
|
|
1
|
+
export * from './ErrorRow';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ShowHideInputProps } from 'ui';
|
|
3
|
+
type ShowHideInputRowProps = {
|
|
4
|
+
label?: true;
|
|
5
|
+
subLabel?: true;
|
|
6
|
+
onChange?: (val: string) => string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
};
|
|
10
|
+
export declare const ShowHideInputRow: ({ name, label, subLabel, onChange, disabled, children, }: ShowHideInputProps & ShowHideInputRowProps) => React.JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ShowHideInputRow';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextInputProps } from 'ui';
|
|
3
3
|
type TextInputRowProps = {
|
|
4
|
-
label?:
|
|
5
|
-
subLabel?:
|
|
6
|
-
hint?: true;
|
|
4
|
+
label?: boolean;
|
|
5
|
+
subLabel?: boolean;
|
|
7
6
|
onChange?: (val: string) => string;
|
|
8
7
|
};
|
|
9
|
-
export declare const TextInputRow: ({ name, label,
|
|
8
|
+
export declare const TextInputRow: ({ name, label, subLabel, onChange, disabled, defaultValue, }: TextInputProps & TextInputRowProps) => React.JSX.Element;
|
|
10
9
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './AddressRow';
|
|
2
2
|
export * from './CheckBoxRow';
|
|
3
3
|
export * from './ErrorRow';
|
|
4
|
-
export * from './MaskedInputRow';
|
|
5
4
|
export * from './RadioButtonRow';
|
|
6
5
|
export * from './SelectRow';
|
|
6
|
+
export * from './ShowHideInputRow';
|
|
7
7
|
export * from './TextInputRow';
|
|
8
8
|
export * from './ToggleButtonRow';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AccountHolderClassification';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AccountHolderContact';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AccountHolderTax';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AccountHolderTaxClarification';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AppError';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Exemptions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RegardedOwnerContact';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RegardedOwnerTax';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Summary';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UseTaxDocumentationProps } from 'contexts';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export type TaxbitQuestionnaireUIProps = Omit<UseTaxDocumentationProps, 'step' | 'config'> & {
|
|
4
|
+
isComplete?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare const TaxbitQuestionnaireUI: ({ data, onSubmit, language, questionnaire, isComplete, onProgress, externalValidations, }: TaxbitQuestionnaireUIProps) => React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TaxbitQuestionnaireUI';
|
|
@@ -4,7 +4,6 @@ export * from './AccountHolderTax';
|
|
|
4
4
|
export * from './AccountHolderTaxClarification';
|
|
5
5
|
export * from './Confirmation';
|
|
6
6
|
export * from './Exemptions';
|
|
7
|
-
export * from './RegardedOwnerClassification';
|
|
8
7
|
export * from './RegardedOwnerContact';
|
|
9
8
|
export * from './RegardedOwnerTax';
|
|
10
9
|
export * from './Summary';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './TaxbitQuestionnaireUI';
|