@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.
Files changed (250) hide show
  1. package/README.md +65 -61
  2. package/dist/src/components/Address/Address.d.ts +1 -2
  3. package/dist/src/components/ErrorMessage/ErrorMessage.d.ts +1 -2
  4. package/dist/src/components/Form/Form.d.ts +2 -1
  5. package/dist/src/components/Form/index.d.ts +1 -1
  6. package/dist/src/contexts/QuestionnaireUI/QuestionnaireUIProvider.d.ts +6 -0
  7. package/dist/src/contexts/QuestionnaireUI/getLocal.d.ts +19 -0
  8. package/dist/src/contexts/{FormUI → QuestionnaireUI}/index.d.ts +3 -3
  9. package/dist/src/contexts/{FormUI/useFormUI.d.ts → QuestionnaireUI/useQuestionnaireUI.d.ts} +6 -6
  10. package/dist/src/contexts/{FormUI/useFormUIContext.d.ts → QuestionnaireUI/useQuestionnaireUIContext.d.ts} +18 -18
  11. package/dist/src/contexts/TaxDocumentation/TaxbitQuestionnaireProvider.d.ts +7 -0
  12. package/dist/src/contexts/TaxDocumentation/index.d.ts +1 -1
  13. package/dist/src/contexts/TaxDocumentation/useTaxDocumentation.d.ts +13 -15
  14. package/dist/src/contexts/TaxDocumentation/useTaxDocumentationContext.d.ts +24 -30
  15. package/dist/src/contexts/index.d.ts +2 -2
  16. package/dist/src/entry/TaxbitQuestionnaire/TaxbitQuestionnaire.d.ts +9 -0
  17. package/dist/src/entry/TaxbitQuestionnaire/index.d.ts +1 -0
  18. package/dist/src/entry/index.d.ts +4 -6
  19. package/dist/src/hooks/index.d.ts +1 -1
  20. package/dist/src/hooks/useTaxbit/__tests__/clientTaxDocumentation.d.ts +2 -0
  21. package/dist/src/hooks/{useTaxBit → useTaxbit}/__tests__/serverTaxDocumentation.d.ts +1 -1
  22. package/dist/src/hooks/useTaxbit/index.d.ts +1 -0
  23. package/dist/src/hooks/useTaxbit/useTaxbit.d.ts +9 -0
  24. package/dist/src/hooks/useTaxbit/useTaxbitConnect.d.ts +8 -0
  25. package/dist/src/hooks/useTaxbit/useTaxbitStatus.d.ts +8 -0
  26. package/dist/src/i18n/index.d.ts +1 -1
  27. package/dist/src/i18n/locales/bg.d.ts +1 -0
  28. package/dist/src/i18n/locales/cs.d.ts +1 -0
  29. package/dist/src/i18n/locales/da.d.ts +1 -0
  30. package/dist/src/i18n/locales/de-at.d.ts +1 -2
  31. package/dist/src/i18n/locales/de.d.ts +3 -0
  32. package/dist/src/i18n/locales/el-cy.d.ts +3 -2
  33. package/dist/src/i18n/locales/el.d.ts +3 -0
  34. package/dist/src/i18n/locales/{bg-bg.d.ts → en-nz.d.ts} +1 -1
  35. package/dist/src/i18n/locales/{cs-cz.d.ts → en.d.ts} +1 -1
  36. package/dist/src/i18n/locales/{da-dk.d.ts → es.d.ts} +1 -1
  37. package/dist/src/i18n/locales/et.d.ts +1 -0
  38. package/dist/src/i18n/locales/fi.d.ts +1 -0
  39. package/dist/src/i18n/locales/{de-de.d.ts → fr-ca.d.ts} +1 -1
  40. package/dist/src/i18n/locales/fr-lu.d.ts +1 -2
  41. package/dist/src/i18n/locales/fr.d.ts +2 -0
  42. package/dist/src/i18n/locales/ga.d.ts +2 -0
  43. package/dist/src/i18n/locales/hr.d.ts +1 -0
  44. package/dist/src/i18n/locales/hu.d.ts +1 -0
  45. package/dist/src/i18n/locales/index.d.ts +33 -30
  46. package/dist/src/i18n/locales/it.d.ts +1 -0
  47. package/dist/src/i18n/locales/lt.d.ts +3 -0
  48. package/dist/src/i18n/locales/lv.d.ts +1 -0
  49. package/dist/src/i18n/locales/mergePropertyFiles.d.ts +6 -0
  50. package/dist/src/i18n/locales/mt.d.ts +1 -0
  51. package/dist/src/i18n/locales/nl-be.d.ts +3 -2
  52. package/dist/src/i18n/locales/nl.d.ts +1 -0
  53. package/dist/src/i18n/locales/no.d.ts +1 -0
  54. package/dist/src/i18n/locales/pl.d.ts +3 -0
  55. package/dist/src/i18n/locales/pt.d.ts +1 -0
  56. package/dist/src/i18n/locales/ro.d.ts +1 -0
  57. package/dist/src/i18n/locales/sk.d.ts +1 -0
  58. package/dist/src/i18n/locales/sl.d.ts +1 -0
  59. package/dist/src/i18n/locales/sv.d.ts +1 -0
  60. package/dist/src/i18n/locales/translation-missing.d.ts +5 -0
  61. package/dist/src/i18n/localizationFileMap.d.ts +7 -0
  62. package/dist/src/i18n/types/LocalizationKey.d.ts +8 -8
  63. package/dist/src/i18n/types/PropertyFile.d.ts +23 -19
  64. package/dist/src/i18n/utils/getText.d.ts +2 -9
  65. package/dist/src/lookups/countryOptions.d.ts +1 -7
  66. package/dist/src/lookups/dayOptions.d.ts +1 -1
  67. package/dist/src/lookups/fatcaCodeOptions.d.ts +2 -2
  68. package/dist/src/lookups/foreignAccountHolderAccountTypeOptions.d.ts +3 -15
  69. package/dist/src/lookups/foreignOtherClassificationOptions.d.ts +3 -17
  70. package/dist/src/lookups/foreignRegardedOwnerAccountTypeOptions.d.ts +3 -11
  71. package/dist/src/lookups/foreignTrustClassificationOptions.d.ts +3 -9
  72. package/dist/src/lookups/index.d.ts +13 -16
  73. package/dist/src/lookups/localeOptions.d.ts +5 -1
  74. package/dist/src/lookups/payeeCodeOptions.d.ts +2 -2
  75. package/dist/src/lookups/toOptions.d.ts +1 -1
  76. package/dist/src/lookups/usAccountHolderAccountTypeOptions.d.ts +3 -23
  77. package/dist/src/lookups/usLlcAccountTypeOptions.d.ts +3 -9
  78. package/dist/src/lookups/usRegardedOwnerAccountTypeOptions.d.ts +3 -15
  79. package/dist/src/services/api.d.ts +7 -2
  80. package/dist/src/test/Wrapper.d.ts +3 -3
  81. package/dist/src/test/getWrapper.d.ts +3 -3
  82. package/dist/src/test/utils/helpers.d.ts +7 -2
  83. package/dist/src/types/InputStep.d.ts +2 -2
  84. package/dist/src/types/Locale.d.ts +1 -1
  85. package/dist/src/types/Questionnaire.d.ts +1 -0
  86. package/dist/src/types/StepId.d.ts +1 -1
  87. package/dist/src/types/TaxDocumentation.d.ts +30 -30
  88. package/dist/src/types/client/ClientTaxDocumentationStatus.d.ts +12 -3
  89. package/dist/src/types/client/index.d.ts +0 -1
  90. package/dist/src/types/index.d.ts +1 -6
  91. package/dist/src/types/server/TaxDocumentationStatus.d.ts +12 -3
  92. package/dist/src/types/server/index.d.ts +0 -1
  93. package/dist/src/ui/ActionButton/index.d.ts +1 -1
  94. package/dist/src/ui/CheckBox/CheckBox.d.ts +2 -1
  95. package/dist/src/ui/DateOfBirthInput/DateOfBirthInput.d.ts +1 -2
  96. package/dist/src/ui/DateOfBirthInput/index.d.ts +1 -1
  97. package/dist/src/ui/DateOfBirthInput/useDateOfBirthInput.d.ts +2 -2
  98. package/dist/src/ui/FormattedInput/FormattedInput.d.ts +11 -0
  99. package/dist/src/ui/FormattedInput/index.d.ts +1 -0
  100. package/dist/src/ui/PasswordInput/PasswordInput.d.ts +9 -0
  101. package/dist/src/ui/PasswordInput/index.d.ts +1 -0
  102. package/dist/src/ui/RadioButtons/index.d.ts +1 -1
  103. package/dist/src/ui/Select/index.d.ts +1 -1
  104. package/dist/src/ui/{MaskedInput/MaskedInput.d.ts → ShowHideInput/ShowHideInput.d.ts} +2 -3
  105. package/dist/src/ui/ShowHideInput/index.d.ts +1 -0
  106. package/dist/src/ui/TextInput/TextInput.d.ts +1 -2
  107. package/dist/src/ui/TextInput/index.d.ts +1 -1
  108. package/dist/src/ui/index.d.ts +3 -1
  109. package/dist/src/utils/formatUsTin.d.ts +5 -0
  110. package/dist/src/utils/getFieldsState.d.ts +16 -10
  111. package/dist/src/utils/getMaskedContent.d.ts +1 -0
  112. package/dist/src/utils/getPromptKeyMap.d.ts +22 -22
  113. package/dist/src/utils/index.d.ts +3 -2
  114. package/dist/src/utils/mergeClientTaxDocumentationData.d.ts +1 -1
  115. package/dist/src/utils/transformForClient/convertYesNoToBoolean.d.ts +1 -1
  116. package/dist/src/utils/transformForClient/convertYesNoToBooleanOrUndefined.d.ts +2 -0
  117. package/dist/src/utils/transformForClient/index.d.ts +1 -1
  118. package/dist/src/utils/transformForClient/transformForClient.d.ts +3 -2
  119. package/dist/src/utils/transformForClient/transformForClientAccoutHolder.d.ts +1 -53
  120. package/dist/src/utils/transformForClient/transformForClientRegardedOwner.d.ts +1 -36
  121. package/dist/src/utils/transformInbound/getForeignAccountType.d.ts +1 -1
  122. package/dist/src/utils/transformInbound/getForeignOtherClassification.d.ts +1 -1
  123. package/dist/src/utils/transformInbound/getForeignTrustClassification.d.ts +1 -1
  124. package/dist/src/utils/transformInbound/getLLCClassification.d.ts +1 -1
  125. package/dist/src/utils/transformInbound/getUsAccountType.d.ts +1 -1
  126. package/dist/src/utils/transformInbound/transformInbound.d.ts +3 -3
  127. package/dist/src/utils/uppercase.d.ts +1 -0
  128. package/dist/src/validations/getInvalidFields.d.ts +2 -2
  129. package/dist/src/validations/getRequiredFields.d.ts +2 -2
  130. package/dist/src/validations/getSupportedFields.d.ts +2 -2
  131. package/dist/src/validations/getVisibleFields.d.ts +2 -2
  132. package/dist/src/widgets/TaxbitQuestionnairePersist/TaxbitQuestionnairePersist.d.ts +5 -0
  133. package/dist/src/widgets/TaxbitQuestionnairePersist/index.d.ts +2 -0
  134. package/dist/src/widgets/TaxbitQuestionnairePersist/useTaxbitPersist.d.ts +25 -0
  135. package/dist/src/widgets/index.d.ts +1 -1
  136. package/dist/src/wizard/AddressInput/AddressInput.d.ts +2 -1
  137. package/dist/src/wizard/LanguageSelector/LanguageSelector.d.ts +4 -1
  138. package/dist/src/wizard/ResidenceInput/ResidenceInput.d.ts +1 -2
  139. package/dist/src/wizard/RowInput/AddressRow/AddressRow.d.ts +2 -1
  140. package/dist/src/wizard/RowInput/CheckBoxRow/CheckBoxRow.d.ts +4 -3
  141. package/dist/src/wizard/RowInput/DateOfBirthRow/index.d.ts +1 -1
  142. package/dist/src/wizard/RowInput/ErrorRow/index.d.ts +1 -1
  143. package/dist/src/wizard/RowInput/RadioButtonRow/RadioButtonRow.d.ts +2 -2
  144. package/dist/src/wizard/RowInput/ShowHideInputRow/ShowHideInputRow.d.ts +11 -0
  145. package/dist/src/wizard/RowInput/ShowHideInputRow/index.d.ts +1 -0
  146. package/dist/src/wizard/RowInput/TextInputRow/TextInputRow.d.ts +3 -4
  147. package/dist/src/wizard/RowInput/index.d.ts +1 -1
  148. package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderClassification/index.d.ts +1 -0
  149. package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderContact/index.d.ts +1 -0
  150. package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTax/index.d.ts +1 -0
  151. package/dist/src/wizard/TaxbitQuestionnaireUI/AccountHolderTaxClarification/index.d.ts +1 -0
  152. package/dist/src/wizard/TaxbitQuestionnaireUI/AppError/index.d.ts +1 -0
  153. package/dist/src/wizard/TaxbitQuestionnaireUI/Exemptions/index.d.ts +1 -0
  154. package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerContact/index.d.ts +1 -0
  155. package/dist/src/wizard/TaxbitQuestionnaireUI/RegardedOwnerTax/index.d.ts +1 -0
  156. package/dist/src/wizard/TaxbitQuestionnaireUI/Summary/index.d.ts +1 -0
  157. package/dist/src/wizard/TaxbitQuestionnaireUI/TaxbitQuestionnaireUI.d.ts +6 -0
  158. package/dist/src/wizard/TaxbitQuestionnaireUI/index.d.ts +1 -0
  159. package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/steps.d.ts +0 -1
  160. package/dist/src/wizard/index.d.ts +1 -1
  161. package/dist/taxbit-react-sdk.js +6557 -16802
  162. package/dist/taxbit-react-sdk.umd.cjs +10 -10
  163. package/package.json +10 -18
  164. package/style/basic.css +32 -13
  165. package/style/inline.css +32 -13
  166. package/dist/src/contexts/FormUI/FormUIProvider.d.ts +0 -6
  167. package/dist/src/contexts/FormUI/getLocal.d.ts +0 -20
  168. package/dist/src/contexts/TaxDocumentation/TaxBitFormProvider.d.ts +0 -7
  169. package/dist/src/hooks/useTaxBit/__tests__/clientTaxDocumentation.d.ts +0 -2
  170. package/dist/src/hooks/useTaxBit/index.d.ts +0 -1
  171. package/dist/src/hooks/useTaxBit/useTaxBit.d.ts +0 -7
  172. package/dist/src/i18n/i18n.d.ts +0 -7
  173. package/dist/src/i18n/locales/el-gr.d.ts +0 -2
  174. package/dist/src/i18n/locales/es-es.d.ts +0 -2
  175. package/dist/src/i18n/locales/et-ee.d.ts +0 -2
  176. package/dist/src/i18n/locales/fi-fi.d.ts +0 -2
  177. package/dist/src/i18n/locales/fr-fr.d.ts +0 -2
  178. package/dist/src/i18n/locales/ga-ie.d.ts +0 -2
  179. package/dist/src/i18n/locales/hr-hr.d.ts +0 -2
  180. package/dist/src/i18n/locales/hu-hu.d.ts +0 -2
  181. package/dist/src/i18n/locales/it-it.d.ts +0 -2
  182. package/dist/src/i18n/locales/lt-lt.d.ts +0 -2
  183. package/dist/src/i18n/locales/lv-lv.d.ts +0 -2
  184. package/dist/src/i18n/locales/mt-mt.d.ts +0 -2
  185. package/dist/src/i18n/locales/nl-nl.d.ts +0 -2
  186. package/dist/src/i18n/locales/no-no.d.ts +0 -2
  187. package/dist/src/i18n/locales/pl-pl.d.ts +0 -2
  188. package/dist/src/i18n/locales/pt-pt.d.ts +0 -2
  189. package/dist/src/i18n/locales/ro-ro.d.ts +0 -2
  190. package/dist/src/i18n/locales/sk-sk.d.ts +0 -2
  191. package/dist/src/i18n/locales/sl-si.d.ts +0 -2
  192. package/dist/src/i18n/locales/sv-se.d.ts +0 -2
  193. package/dist/src/lookups/caProvinceOptions.d.ts +0 -4
  194. package/dist/src/lookups/monthOptions.d.ts +0 -4
  195. package/dist/src/lookups/usStateOptions.d.ts +0 -4
  196. package/dist/src/types/AccountType.d.ts +0 -6
  197. package/dist/src/types/CaProvinceCode.d.ts +0 -1
  198. package/dist/src/types/CountryCode.d.ts +0 -3
  199. package/dist/src/types/MonthCode.d.ts +0 -1
  200. package/dist/src/types/TaxForm.d.ts +0 -1
  201. package/dist/src/types/UsStateCode.d.ts +0 -1
  202. package/dist/src/types/client/ClientTaxDocumentation.d.ts +0 -84
  203. package/dist/src/types/server/ComprehensiveTaxDocumentation.d.ts +0 -84
  204. package/dist/src/ui/MaskedInput/index.d.ts +0 -1
  205. package/dist/src/ui/Password/Password.d.ts +0 -12
  206. package/dist/src/ui/Password/index.d.ts +0 -1
  207. package/dist/src/utils/date.d.ts +0 -4
  208. package/dist/src/utils/getHintKeyMap.d.ts +0 -113
  209. package/dist/src/utils/getVerboseDate.d.ts +0 -1
  210. package/dist/src/widgets/TaxBitForm/TaxBitDAC7Form.d.ts +0 -4
  211. package/dist/src/widgets/TaxBitForm/TaxBitForm.d.ts +0 -5
  212. package/dist/src/widgets/TaxBitForm/index.d.ts +0 -2
  213. package/dist/src/widgets/TaxBitForm/useTaxBitForm.d.ts +0 -22
  214. package/dist/src/wizard/PlaceOfBirthInput/PlaceOfBirthInput.d.ts +0 -2
  215. package/dist/src/wizard/PlaceOfBirthInput/index.d.ts +0 -1
  216. package/dist/src/wizard/RowInput/MaskedInputRow/MaskedInputRow.d.ts +0 -11
  217. package/dist/src/wizard/RowInput/MaskedInputRow/index.d.ts +0 -1
  218. package/dist/src/wizard/TaxBitFormUI/AccountHolderClassification/index.d.ts +0 -1
  219. package/dist/src/wizard/TaxBitFormUI/AccountHolderContact/index.d.ts +0 -1
  220. package/dist/src/wizard/TaxBitFormUI/AccountHolderTax/index.d.ts +0 -1
  221. package/dist/src/wizard/TaxBitFormUI/AccountHolderTaxClarification/index.d.ts +0 -1
  222. package/dist/src/wizard/TaxBitFormUI/AppError/index.d.ts +0 -1
  223. package/dist/src/wizard/TaxBitFormUI/Exemptions/index.d.ts +0 -1
  224. package/dist/src/wizard/TaxBitFormUI/RegardedOwnerClassification/RegardedOwnerClassification.d.ts +0 -2
  225. package/dist/src/wizard/TaxBitFormUI/RegardedOwnerClassification/index.d.ts +0 -1
  226. package/dist/src/wizard/TaxBitFormUI/RegardedOwnerContact/index.d.ts +0 -1
  227. package/dist/src/wizard/TaxBitFormUI/RegardedOwnerTax/index.d.ts +0 -1
  228. package/dist/src/wizard/TaxBitFormUI/Summary/index.d.ts +0 -1
  229. package/dist/src/wizard/TaxBitFormUI/TaxBitDAC7FormUI.d.ts +0 -4
  230. package/dist/src/wizard/TaxBitFormUI/TaxBitFormUI.d.ts +0 -6
  231. package/dist/src/wizard/TaxBitFormUI/index.d.ts +0 -2
  232. /package/dist/src/contexts/{FormUI → QuestionnaireUI}/shiftResidence.d.ts +0 -0
  233. /package/dist/src/widgets/{TaxBitForm/__tests__/TaxBitDAC7Form.loaded.test.d.ts → TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.complete.test.d.ts} +0 -0
  234. /package/dist/src/widgets/{TaxBitForm/__tests__/TaxBitForm.complete.test.d.ts → TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.loaded.test.d.ts} +0 -0
  235. /package/dist/src/widgets/{TaxBitForm/__tests__/TaxBitForm.loaded.test.d.ts → TaxbitQuestionnairePersist/__tests__/TaxbitQuestionnairePersist.loading.test.d.ts} +0 -0
  236. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderClassification/AccountHolderClassification.d.ts +0 -0
  237. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderContact/AccountHolderContact.d.ts +0 -0
  238. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderTax/AccountHolderTax.d.ts +0 -0
  239. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AccountHolderTaxClarification/AccountHolderTaxClarification.d.ts +0 -0
  240. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/AppError/AppError.d.ts +0 -0
  241. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Confirmation/Confirmation.d.ts +0 -0
  242. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Confirmation/index.d.ts +0 -0
  243. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Exemptions/Exemptions.d.ts +0 -0
  244. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/RegardedOwnerContact/RegardedOwnerContact.d.ts +0 -0
  245. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/RegardedOwnerTax/RegardedOwnerTax.d.ts +0 -0
  246. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Summary/Recap.d.ts +0 -0
  247. /package/dist/src/wizard/{TaxBitFormUI → TaxbitQuestionnaireUI}/Summary/Summary.d.ts +0 -0
  248. /package/dist/src/{widgets/TaxBitForm/__tests__/TaxBitForm.loading.test.d.ts → wizard/TaxbitQuestionnaireUI/__tests__/TaxbitDPSQuestionnaireUI.test.d.ts} +0 -0
  249. /package/dist/src/wizard/{TaxBitFormUI/__tests__/TaxBitDAC7FormUI.test.d.ts → TaxbitQuestionnaireUI/__tests__/TaxbitQuestionnaireUI.test.d.ts} +0 -0
  250. /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
- iAcknowlegeESignIsOk?: PromptKey | undefined;
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
- iConfirmTheEntityIsNotAUsPerson?: PromptKey | undefined;
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
- accountHolderTaxResidenceForeignTin1?: PromptKey | undefined;
47
- accountHolderTaxResidenceForeignTin1IsNotRequired?: PromptKey | undefined;
44
+ accountHolderTaxResidenceTin1?: PromptKey | undefined;
45
+ accountHolderTaxResidenceTin1IsNotRequired?: PromptKey | undefined;
48
46
  accountHolderTaxResidenceCountry2?: PromptKey | undefined;
49
- accountHolderTaxResidenceForeignTin2?: PromptKey | undefined;
50
- accountHolderTaxResidenceForeignTin2IsNotRequired?: PromptKey | undefined;
47
+ accountHolderTaxResidenceTin2?: PromptKey | undefined;
48
+ accountHolderTaxResidenceTin2IsNotRequired?: PromptKey | undefined;
51
49
  accountHolderTaxResidenceCountry3?: PromptKey | undefined;
52
- accountHolderTaxResidenceForeignTin3?: PromptKey | undefined;
53
- accountHolderTaxResidenceForeignTin3IsNotRequired?: PromptKey | undefined;
50
+ accountHolderTaxResidenceTin3?: PromptKey | undefined;
51
+ accountHolderTaxResidenceTin3IsNotRequired?: PromptKey | undefined;
54
52
  accountHolderTaxResidenceCountry4?: PromptKey | undefined;
55
- accountHolderTaxResidenceForeignTin4?: PromptKey | undefined;
56
- accountHolderTaxResidenceForeignTin4IsNotRequired?: PromptKey | undefined;
53
+ accountHolderTaxResidenceTin4?: PromptKey | undefined;
54
+ accountHolderTaxResidenceTin4IsNotRequired?: PromptKey | undefined;
57
55
  accountHolderTaxResidenceCountry5?: PromptKey | undefined;
58
- accountHolderTaxResidenceForeignTin5?: PromptKey | undefined;
59
- accountHolderTaxResidenceForeignTin5IsNotRequired?: PromptKey | undefined;
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 './date';
3
+ export * from './formatUsTin';
4
4
  export * from './getFieldsState';
5
- export * from './getHintKeyMap';
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 '../types/client';
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 | undefined;
2
+ export declare const convertYesNoToBoolean: (val: YesNo | undefined) => boolean;
@@ -0,0 +1,2 @@
1
+ import { YesNo } from 'types';
2
+ export declare const convertYesNoToBooleanOrUndefined: (val: YesNo | undefined) => boolean | undefined;
@@ -1 +1 @@
1
- export * from './transformForClient.ts';
1
+ export * from './transformForClient';
@@ -1,3 +1,4 @@
1
- import { TaxDocumentation } from '../../types';
2
- import { ClientTaxDocumentation } from '../../types/client';
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 'lookups';
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 'lookups';
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 'lookups';
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 'lookups';
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 'lookups';
1
+ import { type UsAccountHolderAccountType } from '@taxbit/utilities';
2
2
  export declare const getUsAccountType: (accountType: string | undefined) => UsAccountHolderAccountType | undefined;
@@ -1,3 +1,3 @@
1
- import { TaxDocumentation, TaxForm } from 'types';
2
- import { ClientTaxDocumentation } from '../../types/client';
3
- export declare const transformInbound: (data: ClientTaxDocumentation, forms: TaxForm[]) => TaxDocumentation;
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 { TaxDocumentationKey, TaxForm } from 'types';
1
+ import type { Questionnaire, TaxDocumentationKey } from 'types';
2
2
  type TaxDocumentationPropertyFile = {
3
3
  [key in TaxDocumentationKey]: boolean;
4
4
  };
5
- export declare const getSupportedFields: (taxForms: Array<TaxForm>) => TaxDocumentationPropertyFile;
5
+ export declare const getSupportedFields: (questionnaire: Questionnaire) => TaxDocumentationPropertyFile;
6
6
  export {};
@@ -1,3 +1,3 @@
1
- import type { TaxDocumentation, TaxForm } from 'types';
1
+ import type { Questionnaire, TaxDocumentation } from 'types';
2
2
  import { TaxDocumentationPropertyFile } from '../contexts';
3
- export declare const getVisibleFields: (fields: TaxDocumentation | undefined, supportedForms: TaxForm[]) => TaxDocumentationPropertyFile;
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,2 @@
1
+ export * from './TaxbitQuestionnairePersist';
2
+ export * from './useTaxbitPersist';
@@ -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 "./TaxBitForm";
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,2 +1,5 @@
1
1
  import React from 'react';
2
- export declare const LanguageSelector: () => React.JSX.Element;
2
+ import type { Questionnaire } from 'types';
3
+ export declare const LanguageSelector: ({ questionnaire, }: {
4
+ questionnaire: Questionnaire;
5
+ }) => React.JSX.Element | null;
@@ -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: CountryCode;
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 "react";
2
- import { CheckBoxProps } from "ui";
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 "./DateOfBirthRow.tsx";
1
+ export * from './DateOfBirthRow';
@@ -1 +1 @@
1
- export * from './ErrorRow.tsx';
1
+ export * from './ErrorRow';
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { RadioButtonsProps } from "ui";
1
+ import React from 'react';
2
+ import { RadioButtonsProps } from 'ui';
3
3
  type RadioButtonRowProps = {
4
4
  label?: true;
5
5
  subLabel?: true;
@@ -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?: true;
5
- subLabel?: true;
6
- hint?: true;
4
+ label?: boolean;
5
+ subLabel?: boolean;
7
6
  onChange?: (val: string) => string;
8
7
  };
9
- export declare const TextInputRow: ({ name, label, hint, subLabel, onChange, disabled, defaultValue, }: TextInputProps & TextInputRowProps) => React.JSX.Element;
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 "./TaxBitFormUI";
1
+ export * from './TaxbitQuestionnaireUI';