@gusto/embedded-react-sdk 0.39.0 → 0.40.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.
Files changed (464) hide show
  1. package/CHANGELOG.md +118 -0
  2. package/dist/components/Common/Fields/hooks/useField.js.map +1 -1
  3. package/dist/components/Common/SignatureForm/SignatureFormActions.js +7 -8
  4. package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
  5. package/dist/components/Common/SignatureForm/SignatureFormFields.js +4 -5
  6. package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
  7. package/dist/components/Common/UI/Alert/Alert.module.scss.js +12 -12
  8. package/dist/components/Common/UI/Box/Box.module.scss.js +4 -4
  9. package/dist/components/Common/UI/DescriptionList/DescriptionList.module.scss.js +1 -1
  10. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +6 -7
  11. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
  12. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +8 -9
  13. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
  14. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +11 -11
  15. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +6 -7
  16. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
  17. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +6 -6
  18. package/dist/components/Company/BankAccount/BankAccountList/Actions.js +6 -7
  19. package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
  20. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +7 -8
  21. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
  22. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +5 -6
  23. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
  24. package/dist/components/{UNSTABLE_Hooks/hooks → Company/DocumentSigner/shared}/useSignCompanyForm/fields.d.ts +3 -3
  25. package/dist/components/{UNSTABLE_Hooks/hooks → Company/DocumentSigner/shared}/useSignCompanyForm/fields.js +2 -2
  26. package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/fields.js.map +1 -0
  27. package/dist/components/{UNSTABLE_Hooks/hooks → Company/DocumentSigner/shared}/useSignCompanyForm/index.d.ts +0 -2
  28. package/dist/components/{UNSTABLE_Hooks/hooks → Company/DocumentSigner/shared}/useSignCompanyForm/signCompanyFormSchema.d.ts +2 -2
  29. package/dist/components/{UNSTABLE_Hooks/hooks → Company/DocumentSigner/shared}/useSignCompanyForm/signCompanyFormSchema.js +1 -1
  30. package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/signCompanyFormSchema.js.map +1 -0
  31. package/dist/components/{UNSTABLE_Hooks/hooks → Company/DocumentSigner/shared}/useSignCompanyForm/useSignCompanyForm.d.ts +6 -31
  32. package/dist/components/{UNSTABLE_Hooks/hooks → Company/DocumentSigner/shared}/useSignCompanyForm/useSignCompanyForm.js +24 -19
  33. package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.js.map +1 -0
  34. package/dist/components/Company/FederalTaxes/Actions.js +6 -7
  35. package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
  36. package/dist/components/Company/Industry/Actions.js +5 -6
  37. package/dist/components/Company/Industry/Actions.js.map +1 -1
  38. package/dist/components/Company/Industry/Edit.js +10 -11
  39. package/dist/components/Company/Industry/Edit.js.map +1 -1
  40. package/dist/components/Company/Locations/LocationForm/Actions.js +2 -3
  41. package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
  42. package/dist/components/Company/Locations/LocationsList/Actions.js +2 -3
  43. package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
  44. package/dist/components/Company/Locations/LocationsList/List.js +6 -7
  45. package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
  46. package/dist/components/Company/PaySchedule/_parts/Actions.js +2 -3
  47. package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
  48. package/dist/components/Company/PaySchedule/_parts/Edit.js +6 -6
  49. package/dist/components/{UNSTABLE_Hooks/hooks → Company/PaySchedule/shared}/usePayScheduleForm/fields.d.ts +6 -6
  50. package/dist/components/{UNSTABLE_Hooks/hooks → Company/PaySchedule/shared}/usePayScheduleForm/fields.js +5 -5
  51. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.js.map +1 -0
  52. package/dist/components/{UNSTABLE_Hooks/hooks → Company/PaySchedule/shared}/usePayScheduleForm/index.d.ts +0 -2
  53. package/dist/components/{UNSTABLE_Hooks/hooks → Company/PaySchedule/shared}/usePayScheduleForm/payScheduleSchema.d.ts +2 -2
  54. package/dist/components/{UNSTABLE_Hooks/hooks → Company/PaySchedule/shared}/usePayScheduleForm/payScheduleSchema.js +2 -2
  55. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/payScheduleSchema.js.map +1 -0
  56. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.d.ts +33 -0
  57. package/dist/components/{UNSTABLE_Hooks/hooks → Company/PaySchedule/shared}/usePayScheduleForm/usePayScheduleForm.js +30 -26
  58. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js.map +1 -0
  59. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +5 -6
  60. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
  61. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +6 -7
  62. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
  63. package/dist/components/Company/StateTaxes/StateTaxesList/List.js +2 -3
  64. package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
  65. package/dist/components/Company/exports/companyOnboarding.d.ts +14 -0
  66. package/dist/components/Company/exports/companyOnboarding.js +31 -0
  67. package/dist/components/Company/exports/companyOnboarding.js.map +1 -0
  68. package/dist/components/Contractor/Address/Form.js +4 -4
  69. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +2 -3
  70. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
  71. package/dist/components/Contractor/Profile/ContractorProfileForm.js +15 -15
  72. package/dist/components/Contractor/Submit/Submit.js +73 -50
  73. package/dist/components/Contractor/Submit/Submit.js.map +1 -1
  74. package/dist/components/Contractor/exports/contractorOnboarding.d.ts +7 -0
  75. package/dist/components/Contractor/exports/contractorOnboarding.js +17 -0
  76. package/dist/components/Contractor/exports/contractorOnboarding.js.map +1 -0
  77. package/dist/components/Employee/Compensation/Actions.js +1 -1
  78. package/dist/components/Employee/Compensation/List.js +5 -6
  79. package/dist/components/Employee/Compensation/List.js.map +1 -1
  80. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Compensation/shared}/useCompensationForm/compensationSchema.d.ts +2 -2
  81. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Compensation/shared}/useCompensationForm/compensationSchema.js +4 -4
  82. package/dist/components/Employee/Compensation/shared/useCompensationForm/compensationSchema.js.map +1 -0
  83. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Compensation/shared}/useCompensationForm/fields.d.ts +8 -8
  84. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Compensation/shared}/useCompensationForm/fields.js +6 -6
  85. package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js.map +1 -0
  86. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Compensation/shared}/useCompensationForm/index.d.ts +0 -2
  87. package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.d.ts +43 -0
  88. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Compensation/shared}/useCompensationForm/useCompensationForm.js +28 -24
  89. package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js.map +1 -0
  90. package/dist/components/Employee/Dashboard/Dashboard.js +79 -79
  91. package/dist/components/Employee/Dashboard/Dashboard.js.map +1 -1
  92. package/dist/components/Employee/Dashboard/DocumentsView.js +2 -5
  93. package/dist/components/Employee/Dashboard/DocumentsView.js.map +1 -1
  94. package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.d.ts +8 -11
  95. package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.js +8 -8
  96. package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.js.map +1 -1
  97. package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.d.ts +10 -12
  98. package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js +11 -11
  99. package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js.map +1 -1
  100. package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.d.ts +6 -9
  101. package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js +10 -10
  102. package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js.map +1 -1
  103. package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.d.ts +7 -10
  104. package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.js +8 -8
  105. package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.js.map +1 -1
  106. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +4 -5
  107. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
  108. package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +16 -16
  109. package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js +8 -8
  110. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/DocumentSigner/shared}/useSignEmployeeForm/fields.d.ts +5 -5
  111. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/DocumentSigner/shared}/useSignEmployeeForm/fields.js +4 -4
  112. package/dist/components/Employee/DocumentSigner/shared/useSignEmployeeForm/fields.js.map +1 -0
  113. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/DocumentSigner/shared}/useSignEmployeeForm/index.d.ts +0 -4
  114. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/DocumentSigner/shared}/useSignEmployeeForm/signEmployeeFormSchema.d.ts +1 -1
  115. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/DocumentSigner/shared}/useSignEmployeeForm/signEmployeeFormSchema.js +1 -1
  116. package/dist/components/Employee/DocumentSigner/shared/useSignEmployeeForm/signEmployeeFormSchema.js.map +1 -0
  117. package/dist/components/Employee/DocumentSigner/shared/useSignEmployeeForm/useSignEmployeeForm.d.ts +47 -0
  118. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/DocumentSigner/shared}/useSignEmployeeForm/useSignEmployeeForm.js +66 -59
  119. package/dist/components/Employee/DocumentSigner/shared/useSignEmployeeForm/useSignEmployeeForm.js.map +1 -0
  120. package/dist/components/Employee/FederalTaxes/Actions.js +2 -3
  121. package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
  122. package/dist/components/Employee/FederalTaxes/FederalForm.js +4 -5
  123. package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
  124. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js +1 -1
  125. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
  126. package/dist/components/Employee/PaymentMethod/Actions.js +5 -6
  127. package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
  128. package/dist/components/Employee/PaymentMethod/BankAccountsList.js +4 -4
  129. package/dist/components/Employee/PaymentMethod/Split.js +1 -1
  130. package/dist/components/Employee/Profile/AdminProfile.d.ts +2 -0
  131. package/dist/components/Employee/Profile/AdminProfile.js +360 -0
  132. package/dist/components/Employee/Profile/AdminProfile.js.map +1 -0
  133. package/dist/components/Employee/Profile/AdminProfile.module.scss.js +10 -0
  134. package/dist/components/Employee/Profile/AdminProfile.module.scss.js.map +1 -0
  135. package/dist/components/Employee/Profile/EmployeeProfile.d.ts +2 -0
  136. package/dist/components/Employee/Profile/EmployeeProfile.js +211 -0
  137. package/dist/components/Employee/Profile/EmployeeProfile.js.map +1 -0
  138. package/dist/components/Employee/Profile/EmployeeProfile.module.scss.js +10 -0
  139. package/dist/components/Employee/Profile/EmployeeProfile.module.scss.js.map +1 -0
  140. package/dist/components/Employee/Profile/Profile.d.ts +3 -3
  141. package/dist/components/Employee/Profile/Profile.js +25 -261
  142. package/dist/components/Employee/Profile/Profile.js.map +1 -1
  143. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useEmployeeDetailsForm/employeeDetailsSchema.d.ts +2 -2
  144. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useEmployeeDetailsForm/employeeDetailsSchema.js +2 -2
  145. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/employeeDetailsSchema.js.map +1 -0
  146. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useEmployeeDetailsForm/fields.d.ts +4 -4
  147. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useEmployeeDetailsForm/fields.js +5 -5
  148. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/fields.js.map +1 -0
  149. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useEmployeeDetailsForm/index.d.ts +0 -2
  150. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useEmployeeDetailsForm/useEmployeeDetailsForm.d.ts +15 -33
  151. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useEmployeeDetailsForm/useEmployeeDetailsForm.js +31 -27
  152. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.js.map +1 -0
  153. package/dist/components/Employee/Profile/shared/useHomeAddressForm/fields.d.ts +22 -0
  154. package/dist/components/Employee/Profile/shared/useHomeAddressForm/fields.js +36 -0
  155. package/dist/components/Employee/Profile/shared/useHomeAddressForm/fields.js.map +1 -0
  156. package/dist/components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.d.ts +41 -0
  157. package/dist/components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.js +32 -0
  158. package/dist/components/Employee/Profile/shared/useHomeAddressForm/homeAddressSchema.js.map +1 -0
  159. package/dist/components/Employee/Profile/shared/useHomeAddressForm/index.d.ts +5 -0
  160. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.d.ts +44 -0
  161. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js +161 -0
  162. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js.map +1 -0
  163. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useWorkAddressForm/fields.d.ts +3 -3
  164. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useWorkAddressForm/fields.js +2 -2
  165. package/dist/components/Employee/Profile/shared/useWorkAddressForm/fields.js.map +1 -0
  166. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useWorkAddressForm/index.d.ts +0 -2
  167. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useWorkAddressForm/useWorkAddressForm.d.ts +11 -32
  168. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useWorkAddressForm/useWorkAddressForm.js +34 -30
  169. package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.js.map +1 -0
  170. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useWorkAddressForm/workAddressSchema.d.ts +3 -5
  171. package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Profile/shared}/useWorkAddressForm/workAddressSchema.js +7 -9
  172. package/dist/components/Employee/Profile/shared/useWorkAddressForm/workAddressSchema.js.map +1 -0
  173. package/dist/components/Employee/StateTaxes/Actions.js +6 -7
  174. package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
  175. package/dist/components/Employee/Taxes/Actions.js +7 -8
  176. package/dist/components/Employee/Taxes/Actions.js.map +1 -1
  177. package/dist/components/Employee/Taxes/FederalForm.js +4 -5
  178. package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
  179. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js +5 -5
  180. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js.map +1 -1
  181. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +10 -10
  182. package/dist/components/Employee/{EmployeeList → employee-list/management}/ManagementEmployeeList.d.ts +1 -1
  183. package/dist/components/Employee/{EmployeeList → employee-list/management}/ManagementEmployeeList.js +7 -7
  184. package/dist/components/Employee/employee-list/management/ManagementEmployeeList.js.map +1 -0
  185. package/dist/components/Employee/{EmployeeList → employee-list/management}/ManagementEmployeeListView.d.ts +1 -1
  186. package/dist/components/Employee/{EmployeeList → employee-list/management}/ManagementEmployeeListView.js +12 -12
  187. package/dist/components/Employee/employee-list/management/ManagementEmployeeListView.js.map +1 -0
  188. package/dist/components/Employee/{EmployeeList → employee-list/onboarding}/EmployeeList.d.ts +1 -1
  189. package/dist/components/Employee/{EmployeeList → employee-list/onboarding}/EmployeeList.js +7 -7
  190. package/dist/components/Employee/employee-list/onboarding/EmployeeList.js.map +1 -0
  191. package/dist/components/Employee/{EmployeeList → employee-list/onboarding}/EmployeeListView.d.ts +1 -1
  192. package/dist/components/Employee/{EmployeeList → employee-list/onboarding}/EmployeeListView.js +12 -12
  193. package/dist/components/Employee/employee-list/onboarding/EmployeeListView.js.map +1 -0
  194. package/dist/components/Employee/employee-list/shared/index.d.ts +2 -0
  195. package/dist/components/Employee/{EmployeeList → employee-list/shared}/useEmployeeList.d.ts +8 -10
  196. package/dist/components/Employee/{EmployeeList → employee-list/shared}/useEmployeeList.js +32 -28
  197. package/dist/components/Employee/employee-list/shared/useEmployeeList.js.map +1 -0
  198. package/dist/components/Employee/exports/employeeManagement.d.ts +6 -0
  199. package/dist/components/Employee/exports/employeeManagement.js +15 -0
  200. package/dist/components/Employee/exports/employeeManagement.js.map +1 -0
  201. package/dist/components/Employee/exports/employeeOnboarding.d.ts +14 -0
  202. package/dist/components/Employee/exports/employeeOnboarding.js +31 -0
  203. package/dist/components/Employee/exports/employeeOnboarding.js.map +1 -0
  204. package/dist/components/Employee/index.d.ts +1 -2
  205. package/dist/components/Employee/index.js +35 -37
  206. package/dist/components/Employee/index.js.map +1 -1
  207. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +10 -10
  208. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +11 -12
  209. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
  210. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +0 -1
  211. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
  212. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js +2 -3
  213. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js.map +1 -1
  214. package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js +17 -17
  215. package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js.map +1 -1
  216. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +106 -108
  217. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
  218. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +10 -10
  219. package/dist/components/Payroll/usePreparedPayrollData.js +4 -4
  220. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
  221. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.d.ts +1 -1
  222. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js +96 -62
  223. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js.map +1 -1
  224. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.d.ts +1 -1
  225. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.js +47 -45
  226. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.js.map +1 -1
  227. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListTypes.d.ts +2 -0
  228. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.module.scss.js +18 -0
  229. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.module.scss.js.map +1 -0
  230. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettingsPresentation.d.ts +2 -0
  231. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettingsPresentation.js +166 -0
  232. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettingsPresentation.js.map +1 -0
  233. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettingsTypes.d.ts +18 -0
  234. package/dist/components/UNSTABLE_TimeOff/index.d.ts +2 -0
  235. package/dist/components/UNSTABLE_TimeOff/index.js +24 -22
  236. package/dist/components/UNSTABLE_TimeOff/index.js.map +1 -1
  237. package/dist/components/index.d.ts +7 -0
  238. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +2 -3
  239. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  240. package/dist/contexts/ObservabilityProvider/useObservability.js +6 -6
  241. package/dist/contexts/ObservabilityProvider/useObservability.js.map +1 -1
  242. package/dist/i18n/I18n.js +9 -9
  243. package/dist/i18n/I18n.js.map +1 -1
  244. package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js +1 -1
  245. package/dist/i18n/en/Contractor.Submit.json.js +16 -12
  246. package/dist/i18n/en/Contractor.Submit.json.js.map +1 -1
  247. package/dist/i18n/en/common.json.d.ts +1 -0
  248. package/dist/i18n/en/common.json.js +1 -1
  249. package/dist/index.d.ts +16 -0
  250. package/dist/index.js +102 -26
  251. package/dist/index.js.map +1 -1
  252. package/dist/partner-hook-utils/collectErrors.js.map +1 -0
  253. package/dist/partner-hook-utils/composeErrorHandler.d.ts +24 -0
  254. package/dist/partner-hook-utils/composeErrorHandler.js +30 -0
  255. package/dist/partner-hook-utils/composeErrorHandler.js.map +1 -0
  256. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/FormFieldsMetadataContext.d.ts +2 -2
  257. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/FormFieldsMetadataContext.js +3 -3
  258. package/dist/partner-hook-utils/form/FormFieldsMetadataContext.js.map +1 -0
  259. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/FormFieldsMetadataProvider.d.ts +2 -2
  260. package/dist/partner-hook-utils/form/FormFieldsMetadataProvider.js.map +1 -0
  261. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/SDKFormProvider.d.ts +2 -2
  262. package/dist/partner-hook-utils/form/SDKFormProvider.js.map +1 -0
  263. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/buildFormSchema.d.ts +1 -1
  264. package/dist/partner-hook-utils/form/buildFormSchema.js.map +1 -0
  265. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/composeSubmitHandler.d.ts +29 -3
  266. package/dist/partner-hook-utils/form/composeSubmitHandler.js +40 -0
  267. package/dist/partner-hook-utils/form/composeSubmitHandler.js.map +1 -0
  268. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/CheckboxHookField.d.ts +3 -3
  269. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/CheckboxHookField.js +8 -9
  270. package/dist/partner-hook-utils/form/fields/CheckboxHookField.js.map +1 -0
  271. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/DatePickerHookField.d.ts +3 -3
  272. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/DatePickerHookField.js +1 -1
  273. package/dist/partner-hook-utils/form/fields/DatePickerHookField.js.map +1 -0
  274. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/NumberInputHookField.d.ts +3 -3
  275. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/NumberInputHookField.js +12 -13
  276. package/dist/partner-hook-utils/form/fields/NumberInputHookField.js.map +1 -0
  277. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/RadioGroupHookField.d.ts +3 -3
  278. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/RadioGroupHookField.js +3 -4
  279. package/dist/partner-hook-utils/form/fields/RadioGroupHookField.js.map +1 -0
  280. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/SelectHookField.d.ts +3 -3
  281. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/SelectHookField.js +8 -9
  282. package/dist/partner-hook-utils/form/fields/SelectHookField.js.map +1 -0
  283. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/SwitchHookField.d.ts +3 -3
  284. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/SwitchHookField.js +8 -9
  285. package/dist/partner-hook-utils/form/fields/SwitchHookField.js.map +1 -0
  286. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/TextInputHookField.d.ts +3 -3
  287. package/dist/partner-hook-utils/form/fields/TextInputHookField.js +38 -0
  288. package/dist/partner-hook-utils/form/fields/TextInputHookField.js.map +1 -0
  289. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/fields/index.d.ts +7 -7
  290. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/getFieldWithOptions.d.ts +1 -1
  291. package/dist/partner-hook-utils/form/getFieldWithOptions.js.map +1 -0
  292. package/dist/partner-hook-utils/form/getFormSubmissionValues.js.map +1 -0
  293. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/index.d.ts +2 -2
  294. package/dist/partner-hook-utils/form/preprocessors.js.map +1 -0
  295. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/resolveFieldError.d.ts +2 -2
  296. package/dist/partner-hook-utils/form/resolveFieldError.js.map +1 -0
  297. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/useDeriveFieldsMetadata.d.ts +1 -1
  298. package/dist/partner-hook-utils/form/useDeriveFieldsMetadata.js +21 -0
  299. package/dist/partner-hook-utils/form/useDeriveFieldsMetadata.js.map +1 -0
  300. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/useFieldErrorMessage.d.ts +1 -1
  301. package/dist/partner-hook-utils/form/useFieldErrorMessage.js.map +1 -0
  302. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/useHookFieldResolution.d.ts +2 -2
  303. package/dist/partner-hook-utils/form/useHookFieldResolution.js.map +1 -0
  304. package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/withOptions.d.ts +1 -1
  305. package/dist/partner-hook-utils/form/withOptions.js.map +1 -0
  306. package/dist/partner-hook-utils/index.d.ts +5 -0
  307. package/dist/{types/sdkHooks.d.ts → partner-hook-utils/types.d.ts} +37 -9
  308. package/dist/shared/constants.d.ts +1 -1
  309. package/dist/shared/constants.js +15 -16
  310. package/dist/shared/constants.js.map +1 -1
  311. package/dist/style.css +1 -1
  312. package/dist/types/i18next.d.ts +15 -252
  313. package/dist/types/sdkError.js.map +1 -1
  314. package/docs/reference/endpoint-inventory.json +542 -162
  315. package/package.json +13 -17
  316. package/dist/UNSTABLE_Hooks.d.ts +0 -1
  317. package/dist/UNSTABLE_Hooks.js +0 -71
  318. package/dist/UNSTABLE_Hooks.js.map +0 -1
  319. package/dist/components/Employee/EmployeeList/EmployeeList.js.map +0 -1
  320. package/dist/components/Employee/EmployeeList/EmployeeListView.js.map +0 -1
  321. package/dist/components/Employee/EmployeeList/ManagementEmployeeList.js.map +0 -1
  322. package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.js.map +0 -1
  323. package/dist/components/Employee/EmployeeList/index.d.ts +0 -3
  324. package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +0 -1
  325. package/dist/components/Employee/Profile/Actions.d.ts +0 -1
  326. package/dist/components/Employee/Profile/Actions.js +0 -14
  327. package/dist/components/Employee/Profile/Actions.js.map +0 -1
  328. package/dist/components/Employee/Profile/AdminPersonalDetails.d.ts +0 -33
  329. package/dist/components/Employee/Profile/AdminPersonalDetails.js +0 -59
  330. package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +0 -1
  331. package/dist/components/Employee/Profile/AdminPersonalDetails.module.scss.js +0 -8
  332. package/dist/components/Employee/Profile/AdminPersonalDetails.module.scss.js.map +0 -1
  333. package/dist/components/Employee/Profile/Head.d.ts +0 -1
  334. package/dist/components/Employee/Profile/Head.js +0 -14
  335. package/dist/components/Employee/Profile/Head.js.map +0 -1
  336. package/dist/components/Employee/Profile/HomeAddress.d.ts +0 -31
  337. package/dist/components/Employee/Profile/HomeAddress.js +0 -128
  338. package/dist/components/Employee/Profile/HomeAddress.js.map +0 -1
  339. package/dist/components/Employee/Profile/PersonalDetailsInputs.d.ts +0 -49
  340. package/dist/components/Employee/Profile/PersonalDetailsInputs.js +0 -146
  341. package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +0 -1
  342. package/dist/components/Employee/Profile/SelfPersonalDetails.d.ts +0 -16
  343. package/dist/components/Employee/Profile/SelfPersonalDetails.js +0 -29
  344. package/dist/components/Employee/Profile/SelfPersonalDetails.js.map +0 -1
  345. package/dist/components/Employee/Profile/WorkAddress.d.ts +0 -1
  346. package/dist/components/Employee/Profile/WorkAddress.js +0 -21
  347. package/dist/components/Employee/Profile/WorkAddress.js.map +0 -1
  348. package/dist/components/Employee/Profile/WorkAddress.module.scss.js +0 -8
  349. package/dist/components/Employee/Profile/WorkAddress.module.scss.js.map +0 -1
  350. package/dist/components/Employee/Profile/getEmployeeAddressForProfile.d.ts +0 -2
  351. package/dist/components/Employee/Profile/getEmployeeAddressForProfile.js +0 -8
  352. package/dist/components/Employee/Profile/getEmployeeAddressForProfile.js.map +0 -1
  353. package/dist/components/Employee/Profile/useProfile.d.ts +0 -16
  354. package/dist/components/Employee/Profile/useProfile.js +0 -20
  355. package/dist/components/Employee/Profile/useProfile.js.map +0 -1
  356. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.js.map +0 -1
  357. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.js.map +0 -1
  358. package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.js.map +0 -1
  359. package/dist/components/UNSTABLE_Hooks/form/buildFormSchema.js.map +0 -1
  360. package/dist/components/UNSTABLE_Hooks/form/composeSubmitHandler.js +0 -34
  361. package/dist/components/UNSTABLE_Hooks/form/composeSubmitHandler.js.map +0 -1
  362. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js.map +0 -1
  363. package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.js.map +0 -1
  364. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js.map +0 -1
  365. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js.map +0 -1
  366. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js.map +0 -1
  367. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js.map +0 -1
  368. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js +0 -39
  369. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js.map +0 -1
  370. package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.js.map +0 -1
  371. package/dist/components/UNSTABLE_Hooks/form/getFormSubmissionValues.js.map +0 -1
  372. package/dist/components/UNSTABLE_Hooks/form/preprocessors.js.map +0 -1
  373. package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js.map +0 -1
  374. package/dist/components/UNSTABLE_Hooks/form/useDeriveFieldsMetadata.js +0 -21
  375. package/dist/components/UNSTABLE_Hooks/form/useDeriveFieldsMetadata.js.map +0 -1
  376. package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js.map +0 -1
  377. package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.js.map +0 -1
  378. package/dist/components/UNSTABLE_Hooks/form/withOptions.js.map +0 -1
  379. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.d.ts +0 -5
  380. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js +0 -149
  381. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js.map +0 -1
  382. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js.map +0 -1
  383. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.js.map +0 -1
  384. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.d.ts +0 -102
  385. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js.map +0 -1
  386. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.d.ts +0 -5
  387. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js +0 -112
  388. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js.map +0 -1
  389. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/employeeDetailsSchema.js.map +0 -1
  390. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.js.map +0 -1
  391. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js.map +0 -1
  392. package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.d.ts +0 -5
  393. package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.js +0 -172
  394. package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.js.map +0 -1
  395. package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.module.scss.js +0 -14
  396. package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/PayScheduleForm.module.scss.js.map +0 -1
  397. package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/fields.js.map +0 -1
  398. package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/payScheduleSchema.js.map +0 -1
  399. package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/usePayScheduleForm.d.ts +0 -69
  400. package/dist/components/UNSTABLE_Hooks/hooks/usePayScheduleForm/usePayScheduleForm.js.map +0 -1
  401. package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/SignCompanyForm.d.ts +0 -5
  402. package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/SignCompanyForm.js +0 -69
  403. package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/SignCompanyForm.js.map +0 -1
  404. package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/fields.js.map +0 -1
  405. package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/signCompanyFormSchema.js.map +0 -1
  406. package/dist/components/UNSTABLE_Hooks/hooks/useSignCompanyForm/useSignCompanyForm.js.map +0 -1
  407. package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeForm.d.ts +0 -5
  408. package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeForm.js +0 -71
  409. package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeForm.js.map +0 -1
  410. package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeI9Form.d.ts +0 -5
  411. package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeI9Form.js +0 -179
  412. package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/SignEmployeeI9Form.js.map +0 -1
  413. package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/fields.js.map +0 -1
  414. package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/signEmployeeFormSchema.js.map +0 -1
  415. package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/useSignEmployeeForm.d.ts +0 -151
  416. package/dist/components/UNSTABLE_Hooks/hooks/useSignEmployeeForm/useSignEmployeeForm.js.map +0 -1
  417. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.d.ts +0 -5
  418. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js +0 -69
  419. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js.map +0 -1
  420. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.js.map +0 -1
  421. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js.map +0 -1
  422. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/workAddressSchema.js.map +0 -1
  423. package/dist/components/UNSTABLE_Hooks/index.d.ts +0 -12
  424. package/dist/helpers/buildQueryErrorHandling.d.ts +0 -22
  425. package/dist/helpers/buildQueryErrorHandling.js +0 -11
  426. package/dist/helpers/buildQueryErrorHandling.js.map +0 -1
  427. package/dist/helpers/collectErrors.js.map +0 -1
  428. package/dist/hooks/useErrorHandling.d.ts +0 -9
  429. package/dist/hooks/useErrorHandling.js +0 -12
  430. package/dist/hooks/useErrorHandling.js.map +0 -1
  431. package/dist/hooks/useErrorHandling.test.d.ts +0 -1
  432. package/dist/i18n/en/UNSTABLE.CompensationForm.json.js +0 -58
  433. package/dist/i18n/en/UNSTABLE.CompensationForm.json.js.map +0 -1
  434. package/dist/i18n/en/UNSTABLE.EmployeeDetailsForm.json.js +0 -34
  435. package/dist/i18n/en/UNSTABLE.EmployeeDetailsForm.json.js.map +0 -1
  436. package/dist/i18n/en/UNSTABLE.PayScheduleForm.json.js +0 -24
  437. package/dist/i18n/en/UNSTABLE.PayScheduleForm.json.js.map +0 -1
  438. package/dist/i18n/en/UNSTABLE.SignCompanyForm.json.js +0 -20
  439. package/dist/i18n/en/UNSTABLE.SignCompanyForm.json.js.map +0 -1
  440. package/dist/i18n/en/UNSTABLE.SignEmployeeForm.json.js +0 -22
  441. package/dist/i18n/en/UNSTABLE.SignEmployeeForm.json.js.map +0 -1
  442. package/dist/i18n/en/UNSTABLE.SignEmployeeI9Form.json.js +0 -70
  443. package/dist/i18n/en/UNSTABLE.SignEmployeeI9Form.json.js.map +0 -1
  444. package/dist/i18n/en/UNSTABLE.WorkAddressForm.json.js +0 -24
  445. package/dist/i18n/en/UNSTABLE.WorkAddressForm.json.js.map +0 -1
  446. /package/dist/components/{UNSTABLE_Hooks/hooks → Employee/Compensation/shared}/useCompensationForm/compensationSchemaParity.test.d.ts +0 -0
  447. /package/dist/{helpers → partner-hook-utils}/collectErrors.d.ts +0 -0
  448. /package/dist/{helpers → partner-hook-utils}/collectErrors.js +0 -0
  449. /package/dist/{components/Employee/Profile/getEmployeeAddressForProfile.test.d.ts → partner-hook-utils/composeErrorHandler.test.d.ts} +0 -0
  450. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/FormFieldsMetadataProvider.js +0 -0
  451. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/SDKFormProvider.js +0 -0
  452. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/buildFormSchema.js +0 -0
  453. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/buildFormSchema.test.d.ts +0 -0
  454. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/composeSubmitHandler.test.d.ts +0 -0
  455. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/getFieldWithOptions.js +0 -0
  456. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/getFormSubmissionValues.d.ts +0 -0
  457. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/getFormSubmissionValues.js +0 -0
  458. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/getFormSubmissionValues.test.d.ts +0 -0
  459. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/preprocessors.d.ts +0 -0
  460. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/preprocessors.js +0 -0
  461. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/resolveFieldError.js +0 -0
  462. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/useFieldErrorMessage.js +0 -0
  463. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/useHookFieldResolution.js +0 -0
  464. /package/dist/{components/UNSTABLE_Hooks → partner-hook-utils}/form/withOptions.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,123 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.40.0
4
+
5
+ ### Breaking Changes
6
+
7
+ #### `composeSubmitHandler` now returns `{ handleSubmit, errorHandling }`
8
+
9
+ `composeSubmitHandler` now returns an object with both the submit event handler
10
+ and an aggregated `errorHandling` bag built from the forms it receives, instead
11
+ of returning the submit handler directly. Partners who only need one shared error
12
+ surface across multiple forms no longer have to call `composeErrorHandler`
13
+ themselves.
14
+
15
+ - **Before**: `const handleSubmit = composeSubmitHandler([formA, formB], onAllValid)`
16
+ - **After**: `const { handleSubmit, errorHandling } = composeSubmitHandler([formA, formB], onAllValid)`
17
+
18
+ For screens that also need to combine extra `@gusto/embedded-api` queries into
19
+ the same error surface, pass the `composeSubmitHandler` result into
20
+ `composeErrorHandler` alongside those queries:
21
+
22
+ ```tsx
23
+ const submitResult = composeSubmitHandler([formA, formB], onAllValid)
24
+ const errorHandling = composeErrorHandler([submitResult, extraQuery])
25
+ ```
26
+
27
+ #### Hooks now exported from main entry point
28
+
29
+ All form hooks have graduated from experimental to stable. They are now available
30
+ directly from the main package entry:
31
+
32
+ - **Before**: `import { useCompensationForm } from '@gusto/embedded-react-sdk/UNSTABLE_Hooks'`
33
+ - **After**: `import { useCompensationForm } from '@gusto/embedded-react-sdk'`
34
+
35
+ The `@gusto/embedded-react-sdk/UNSTABLE_Hooks` entry point has been removed. All hook
36
+ exports are now available from the main package entry.
37
+
38
+ **Find and replace**: Search your codebase for
39
+ `from '@gusto/embedded-react-sdk/UNSTABLE_Hooks'`
40
+ and replace with `from '@gusto/embedded-react-sdk'`.
41
+
42
+ #### Prebuilt hook form components removed
43
+
44
+ The following prebuilt components have been removed: `CompensationForm`,
45
+ `EmployeeDetailsForm`, `WorkAddressForm`, `HomeAddressForm`, `PayScheduleForm`,
46
+ `SignCompanyForm`, `SignEmployeeForm`, `SignEmployeeI9Form`. These were internal
47
+ testing artifacts. Use the corresponding hooks directly (e.g., `useCompensationForm`)
48
+ to build custom form UI.
49
+
50
+ ### Features & Enhancements
51
+
52
+ #### Journey-based export namespaces
53
+
54
+ Components are now organized into **journey-based namespaces** that group everything a partner needs for a specific integration use case. Three new namespaces are available:
55
+
56
+ - **`EmployeeOnboarding`** -- all components for onboarding employees (flows, employee list, profile, compensation, taxes, payment method, deductions, documents, etc.)
57
+ - **`EmployeeManagement`** -- components for steady-state employee management (employee list, dashboard, terminations, employee documents)
58
+ - **`CompanyOnboarding`** -- all components for onboarding a company (flow, overview, document signing, bank account, locations, pay schedule, taxes, signatory management)
59
+ - **`ContractorOnboarding`** -- all components for onboarding contractors (flow, contractor list, profile, address, payment method, new hire report, submit)
60
+
61
+ ```tsx
62
+ // Recommended (journey namespace)
63
+ import { EmployeeOnboarding } from '@gusto/embedded-react-sdk'
64
+ ;<EmployeeOnboarding.OnboardingFlow companyId={companyId} onEvent={handleEvent} />
65
+
66
+ // Also works (journey namespace, management)
67
+ import { EmployeeManagement } from '@gusto/embedded-react-sdk'
68
+ ;<EmployeeManagement.DashboardFlow employeeId={employeeId} onEvent={handleEvent} />
69
+
70
+ // Also works (journey namespace, company)
71
+ import { CompanyOnboarding } from '@gusto/embedded-react-sdk'
72
+ ;<CompanyOnboarding.OnboardingFlow companyId={companyId} onEvent={handleEvent} />
73
+
74
+ // Also works (journey namespace, contractor)
75
+ import { ContractorOnboarding } from '@gusto/embedded-react-sdk'
76
+ ;<ContractorOnboarding.OnboardingFlow companyId={companyId} onEvent={handleEvent} />
77
+ ```
78
+
79
+ Each journey namespace is self-contained -- partners should not need to import from multiple namespaces to complete a single integration.
80
+
81
+ ### Deprecations
82
+
83
+ #### `Employee.*`, `Company.*`, and `Contractor.*` umbrella namespaces
84
+
85
+ The flat `Employee`, `Company`, and `Contractor` namespace exports are now **deprecated** in favor of the journey-based namespaces above. Existing imports continue to work without changes, but partners should migrate at their convenience:
86
+
87
+ ```tsx
88
+ // Deprecated (still works)
89
+ import { Employee } from '@gusto/embedded-react-sdk'
90
+ ;<Employee.OnboardingFlow companyId={companyId} onEvent={handleEvent} />
91
+
92
+ // Recommended
93
+ import { EmployeeOnboarding } from '@gusto/embedded-react-sdk'
94
+ ;<EmployeeOnboarding.OnboardingFlow companyId={companyId} onEvent={handleEvent} />
95
+ ```
96
+
97
+ The `Employee`, `Company`, and `Contractor` umbrella namespaces will be removed in a future major version. The `Payroll` and `InformationRequests` namespaces are unaffected and remain the primary import path for those domains.
98
+
99
+ #### `Employee.ManagementEmployeeList` removed
100
+
101
+ `ManagementEmployeeList` is no longer exported from the `Employee` umbrella namespace. Use `EmployeeManagement.EmployeeList` instead:
102
+
103
+ ```tsx
104
+ // Before
105
+ import { Employee } from '@gusto/embedded-react-sdk'
106
+ ;<Employee.ManagementEmployeeList companyId={companyId} onEvent={handleEvent} />
107
+
108
+ // After
109
+ import { EmployeeManagement } from '@gusto/embedded-react-sdk'
110
+ ;<EmployeeManagement.EmployeeList companyId={companyId} onEvent={handleEvent} />
111
+ ```
112
+
113
+ #### Internal restructuring: `EmployeeList` feature module
114
+
115
+ The `Employee/EmployeeList/` directory has been restructured into a feature module layout (`Employee/employee-list/`) with `shared/`, `onboarding/`, and `management/` subdirectories. This is an internal change -- all public exports remain the same and no partner action is required.
116
+
117
+ ### Chores & Maintenance
118
+
119
+ - Migrate Employee Profile to hook-based architecture
120
+
3
121
  ## 0.39.0
4
122
 
5
123
  ### Breaking Changes
@@ -1 +1 @@
1
- {"version":3,"file":"useField.js","sources":["../../../../../src/components/Common/Fields/hooks/useField.ts"],"sourcesContent":["import type { Control, RegisterOptions } from 'react-hook-form'\nimport { useController, useFormContext } from 'react-hook-form'\nimport React, { useMemo, type Ref } from 'react'\nimport { createMarkup } from '@/helpers/formattedStrings'\nimport { useForkRef } from '@/hooks/useForkRef/useForkRef'\n\nexport type Transform<TValue> = (value: TValue) => TValue\n\nexport interface UseFieldProps<TValue = string, TRef = HTMLInputElement> {\n name: string\n control?: Control\n rules?: RegisterOptions\n defaultValue?: TValue\n errorMessage?: string\n isRequired?: boolean\n onChange?: (value: TValue) => void\n onBlur?: () => void\n transform?: Transform<TValue>\n description?: React.ReactNode\n inputRef?: Ref<TRef>\n}\n\nconst processDescription = (description: React.ReactNode): React.ReactNode => {\n if (!description || typeof description !== 'string') {\n return description\n }\n\n // Use DOMPurify to sanitize the string and return a React element\n return React.createElement('div', {\n dangerouslySetInnerHTML: createMarkup(description),\n })\n}\n\nexport function useField<TValue = string, TRef = HTMLInputElement>({\n name,\n control: controlProp,\n rules = {},\n defaultValue,\n errorMessage,\n isRequired = false,\n onChange,\n onBlur,\n transform,\n description,\n inputRef,\n}: UseFieldProps<TValue, TRef>) {\n // useFormContext returns null outside FormProvider at runtime despite its non-null type signature\n const formContext = useFormContext() as ReturnType<typeof useFormContext> | null\n const resolvedControl = controlProp ?? formContext?.control\n\n if (!resolvedControl) {\n throw new Error('useField requires either a `control` prop or a FormProvider ancestor.')\n }\n\n const { field, fieldState } = useController({\n name,\n control: resolvedControl,\n rules: {\n required: isRequired,\n ...rules,\n },\n defaultValue,\n })\n\n const { value } = field\n\n const ref = useForkRef(field.ref, inputRef)\n\n const handleChange = (updatedValue: TValue) => {\n const value = transform ? transform(updatedValue) : updatedValue\n field.onChange(value)\n onChange?.(value)\n }\n\n const handleBlur = () => {\n field.onBlur()\n onBlur?.()\n }\n\n // When control is explicitly provided (UNSTABLE_Hooks prop-based path),\n // errorMessage is a resolved error and is authoritative.\n // When control comes from context (legacy pre-built path),\n // errorMessage is a static i18n template — only display it when RHF has an error.\n const isInvalid = controlProp ? !!fieldState.error || !!errorMessage : !!fieldState.error\n\n const processedDescription = useMemo(() => processDescription(description), [description])\n\n return {\n name: field.name,\n value: value as TValue,\n inputRef: ref,\n isInvalid,\n errorMessage: isInvalid ? (errorMessage ?? fieldState.error?.message) : undefined,\n onChange: handleChange,\n onBlur: handleBlur,\n isRequired,\n description: processedDescription,\n }\n}\n"],"names":["processDescription","description","React","createMarkup","useField","name","controlProp","rules","defaultValue","errorMessage","isRequired","onChange","onBlur","transform","inputRef","formContext","useFormContext","resolvedControl","field","fieldState","useController","value","ref","useForkRef","handleChange","updatedValue","handleBlur","isInvalid","processedDescription","useMemo"],"mappings":";;;;AAsBA,MAAMA,IAAqB,CAACC,MACtB,CAACA,KAAe,OAAOA,KAAgB,WAClCA,IAIFC,EAAM,cAAc,OAAO;AAAA,EAChC,yBAAyBC,EAAaF,CAAW;AAAA,CAClD;AAGI,SAASG,EAAmD;AAAA,EACjE,MAAAC;AAAA,EACA,SAASC;AAAA,EACT,OAAAC,IAAQ,CAAA;AAAA,EACR,cAAAC;AAAA,EACA,cAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,WAAAC;AAAA,EACA,aAAAZ;AAAA,EACA,UAAAa;AACF,GAAgC;AAE9B,QAAMC,IAAcC,EAAA,GACdC,IAAkBX,KAAeS,GAAa;AAEpD,MAAI,CAACE;AACH,UAAM,IAAI,MAAM,uEAAuE;AAGzF,QAAM,EAAE,OAAAC,GAAO,YAAAC,EAAA,IAAeC,EAAc;AAAA,IAC1C,MAAAf;AAAA,IACA,SAASY;AAAA,IACT,OAAO;AAAA,MACL,UAAUP;AAAA,MACV,GAAGH;AAAA,IAAA;AAAA,IAEL,cAAAC;AAAA,EAAA,CACD,GAEK,EAAE,OAAAa,MAAUH,GAEZI,IAAMC,EAAWL,EAAM,KAAKJ,CAAQ,GAEpCU,IAAe,CAACC,MAAyB;AAC7C,UAAMJ,IAAQR,IAAYA,EAAUY,CAAY,IAAIA;AACpD,IAAAP,EAAM,SAASG,CAAK,GACpBV,IAAWU,CAAK;AAAA,EAClB,GAEMK,IAAa,MAAM;AACvB,IAAAR,EAAM,OAAA,GACNN,IAAA;AAAA,EACF,GAMMe,IAAYrB,IAAc,CAAC,CAACa,EAAW,SAAS,CAAC,CAACV,IAAe,CAAC,CAACU,EAAW,OAE9ES,IAAuBC,EAAQ,MAAM7B,EAAmBC,CAAW,GAAG,CAACA,CAAW,CAAC;AAEzF,SAAO;AAAA,IACL,MAAMiB,EAAM;AAAA,IACZ,OAAAG;AAAA,IACA,UAAUC;AAAA,IACV,WAAAK;AAAA,IACA,cAAcA,IAAalB,KAAgBU,EAAW,OAAO,UAAW;AAAA,IACxE,UAAUK;AAAA,IACV,QAAQE;AAAA,IACR,YAAAhB;AAAA,IACA,aAAakB;AAAA,EAAA;AAEjB;"}
1
+ {"version":3,"file":"useField.js","sources":["../../../../../src/components/Common/Fields/hooks/useField.ts"],"sourcesContent":["import type { Control, RegisterOptions } from 'react-hook-form'\nimport { useController, useFormContext } from 'react-hook-form'\nimport React, { useMemo, type Ref } from 'react'\nimport { createMarkup } from '@/helpers/formattedStrings'\nimport { useForkRef } from '@/hooks/useForkRef/useForkRef'\n\nexport type Transform<TValue> = (value: TValue) => TValue\n\nexport interface UseFieldProps<TValue = string, TRef = HTMLInputElement> {\n name: string\n control?: Control\n rules?: RegisterOptions\n defaultValue?: TValue\n errorMessage?: string\n isRequired?: boolean\n onChange?: (value: TValue) => void\n onBlur?: () => void\n transform?: Transform<TValue>\n description?: React.ReactNode\n inputRef?: Ref<TRef>\n}\n\nconst processDescription = (description: React.ReactNode): React.ReactNode => {\n if (!description || typeof description !== 'string') {\n return description\n }\n\n // Use DOMPurify to sanitize the string and return a React element\n return React.createElement('div', {\n dangerouslySetInnerHTML: createMarkup(description),\n })\n}\n\nexport function useField<TValue = string, TRef = HTMLInputElement>({\n name,\n control: controlProp,\n rules = {},\n defaultValue,\n errorMessage,\n isRequired = false,\n onChange,\n onBlur,\n transform,\n description,\n inputRef,\n}: UseFieldProps<TValue, TRef>) {\n // useFormContext returns null outside FormProvider at runtime despite its non-null type signature\n const formContext = useFormContext() as ReturnType<typeof useFormContext> | null\n const resolvedControl = controlProp ?? formContext?.control\n\n if (!resolvedControl) {\n throw new Error('useField requires either a `control` prop or a FormProvider ancestor.')\n }\n\n const { field, fieldState } = useController({\n name,\n control: resolvedControl,\n rules: {\n required: isRequired,\n ...rules,\n },\n defaultValue,\n })\n\n const { value } = field\n\n const ref = useForkRef(field.ref, inputRef)\n\n const handleChange = (updatedValue: TValue) => {\n const value = transform ? transform(updatedValue) : updatedValue\n field.onChange(value)\n onChange?.(value)\n }\n\n const handleBlur = () => {\n field.onBlur()\n onBlur?.()\n }\n\n // When control is explicitly provided (hook-based path),\n // errorMessage is a resolved error and is authoritative.\n // When control comes from context (legacy pre-built path),\n // errorMessage is a static i18n template — only display it when RHF has an error.\n const isInvalid = controlProp ? !!fieldState.error || !!errorMessage : !!fieldState.error\n\n const processedDescription = useMemo(() => processDescription(description), [description])\n\n return {\n name: field.name,\n value: value as TValue,\n inputRef: ref,\n isInvalid,\n errorMessage: isInvalid ? (errorMessage ?? fieldState.error?.message) : undefined,\n onChange: handleChange,\n onBlur: handleBlur,\n isRequired,\n description: processedDescription,\n }\n}\n"],"names":["processDescription","description","React","createMarkup","useField","name","controlProp","rules","defaultValue","errorMessage","isRequired","onChange","onBlur","transform","inputRef","formContext","useFormContext","resolvedControl","field","fieldState","useController","value","ref","useForkRef","handleChange","updatedValue","handleBlur","isInvalid","processedDescription","useMemo"],"mappings":";;;;AAsBA,MAAMA,IAAqB,CAACC,MACtB,CAACA,KAAe,OAAOA,KAAgB,WAClCA,IAIFC,EAAM,cAAc,OAAO;AAAA,EAChC,yBAAyBC,EAAaF,CAAW;AAAA,CAClD;AAGI,SAASG,EAAmD;AAAA,EACjE,MAAAC;AAAA,EACA,SAASC;AAAA,EACT,OAAAC,IAAQ,CAAA;AAAA,EACR,cAAAC;AAAA,EACA,cAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,WAAAC;AAAA,EACA,aAAAZ;AAAA,EACA,UAAAa;AACF,GAAgC;AAE9B,QAAMC,IAAcC,EAAA,GACdC,IAAkBX,KAAeS,GAAa;AAEpD,MAAI,CAACE;AACH,UAAM,IAAI,MAAM,uEAAuE;AAGzF,QAAM,EAAE,OAAAC,GAAO,YAAAC,EAAA,IAAeC,EAAc;AAAA,IAC1C,MAAAf;AAAA,IACA,SAASY;AAAA,IACT,OAAO;AAAA,MACL,UAAUP;AAAA,MACV,GAAGH;AAAA,IAAA;AAAA,IAEL,cAAAC;AAAA,EAAA,CACD,GAEK,EAAE,OAAAa,MAAUH,GAEZI,IAAMC,EAAWL,EAAM,KAAKJ,CAAQ,GAEpCU,IAAe,CAACC,MAAyB;AAC7C,UAAMJ,IAAQR,IAAYA,EAAUY,CAAY,IAAIA;AACpD,IAAAP,EAAM,SAASG,CAAK,GACpBV,IAAWU,CAAK;AAAA,EAClB,GAEMK,IAAa,MAAM;AACvB,IAAAR,EAAM,OAAA,GACNN,IAAA;AAAA,EACF,GAMMe,IAAYrB,IAAc,CAAC,CAACa,EAAW,SAAS,CAAC,CAACV,IAAe,CAAC,CAACU,EAAW,OAE9ES,IAAuBC,EAAQ,MAAM7B,EAAmBC,CAAW,GAAG,CAACA,CAAW,CAAC;AAEzF,SAAO;AAAA,IACL,MAAMiB,EAAM;AAAA,IACZ,OAAAG;AAAA,IACA,UAAUC;AAAA,IACV,WAAAK;AAAA,IACA,cAAcA,IAAalB,KAAgBU,EAAW,OAAO,UAAW;AAAA,IACxE,UAAUK;AAAA,IACV,QAAQE;AAAA,IACR,YAAAhB;AAAA,IACA,aAAakB;AAAA,EAAA;AAEjB;"}
@@ -1,20 +1,19 @@
1
- import { jsxs as m, jsx as n } from "react/jsx-runtime";
2
- import "../../../shared/constants.js";
3
- import { ActionsLayout as s } from "../ActionsLayout/ActionsLayout.js";
4
- import { useComponentContext as p } from "../../../contexts/ComponentAdapter/useComponentContext.js";
5
- function l({
1
+ import { jsxs as s, jsx as n } from "react/jsx-runtime";
2
+ import { ActionsLayout as m } from "../ActionsLayout/ActionsLayout.js";
3
+ import { useComponentContext as u } from "../../../contexts/ComponentAdapter/useComponentContext.js";
4
+ function f({
6
5
  onBack: t,
7
6
  backLabel: r,
8
7
  submitLabel: e,
9
8
  isLoading: i = !1
10
9
  }) {
11
- const o = p();
12
- return /* @__PURE__ */ m(s, { children: [
10
+ const o = u();
11
+ return /* @__PURE__ */ s(m, { children: [
13
12
  t && /* @__PURE__ */ n(o.Button, { variant: "secondary", type: "button", onClick: t, children: r }),
14
13
  /* @__PURE__ */ n(o.Button, { type: "submit", isLoading: i, children: e })
15
14
  ] });
16
15
  }
17
16
  export {
18
- l as SignatureFormActions
17
+ f as SignatureFormActions
19
18
  };
20
19
  //# sourceMappingURL=SignatureFormActions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignatureFormActions.js","sources":["../../../../src/components/Common/SignatureForm/SignatureFormActions.tsx"],"sourcesContent":["import { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\ninterface SignatureFormActionsProps {\n onBack?: () => void\n backLabel: string\n submitLabel: string\n isLoading?: boolean\n}\n\nexport function SignatureFormActions({\n onBack,\n backLabel,\n submitLabel,\n isLoading = false,\n}: SignatureFormActionsProps) {\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n {onBack && (\n <Components.Button variant=\"secondary\" type=\"button\" onClick={onBack}>\n {backLabel}\n </Components.Button>\n )}\n <Components.Button type=\"submit\" isLoading={isLoading}>\n {submitLabel}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["SignatureFormActions","onBack","backLabel","submitLabel","isLoading","Components","useComponentContext","ActionsLayout","jsx"],"mappings":";;;;AAUO,SAASA,EAAqB;AAAA,EACnC,QAAAC;AAAA,EACA,WAAAC;AAAA,EACA,aAAAC;AAAA,EACA,WAAAC,IAAY;AACd,GAA8B;AAC5B,QAAMC,IAAaC,EAAA;AAEnB,2BACGC,GAAA,EACE,UAAA;AAAA,IAAAN,KACC,gBAAAO,EAACH,EAAW,QAAX,EAAkB,SAAQ,aAAY,MAAK,UAAS,SAASJ,GAC3D,UAAAC,EAAA,CACH;AAAA,sBAEDG,EAAW,QAAX,EAAkB,MAAK,UAAS,WAAAD,GAC9B,UAAAD,EAAA,CACH;AAAA,EAAA,GACF;AAEJ;"}
1
+ {"version":3,"file":"SignatureFormActions.js","sources":["../../../../src/components/Common/SignatureForm/SignatureFormActions.tsx"],"sourcesContent":["import { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\ninterface SignatureFormActionsProps {\n onBack?: () => void\n backLabel: string\n submitLabel: string\n isLoading?: boolean\n}\n\nexport function SignatureFormActions({\n onBack,\n backLabel,\n submitLabel,\n isLoading = false,\n}: SignatureFormActionsProps) {\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n {onBack && (\n <Components.Button variant=\"secondary\" type=\"button\" onClick={onBack}>\n {backLabel}\n </Components.Button>\n )}\n <Components.Button type=\"submit\" isLoading={isLoading}>\n {submitLabel}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["SignatureFormActions","onBack","backLabel","submitLabel","isLoading","Components","useComponentContext","ActionsLayout","jsx"],"mappings":";;;AAUO,SAASA,EAAqB;AAAA,EACnC,QAAAC;AAAA,EACA,WAAAC;AAAA,EACA,aAAAC;AAAA,EACA,WAAAC,IAAY;AACd,GAA8B;AAC5B,QAAMC,IAAaC,EAAA;AAEnB,2BACGC,GAAA,EACE,UAAA;AAAA,IAAAN,KACC,gBAAAO,EAACH,EAAW,QAAX,EAAkB,SAAQ,aAAY,MAAK,UAAS,SAASJ,GAC3D,UAAAC,EAAA,CACH;AAAA,sBAEDG,EAAW,QAAX,EAAkB,MAAK,UAAS,WAAAD,GAC9B,UAAAD,EAAA,CACH;AAAA,EAAA,GACF;AAEJ;"}
@@ -1,15 +1,14 @@
1
- import { jsxs as m, Fragment as s, jsx as e } from "react/jsx-runtime";
2
- import "../../../shared/constants.js";
1
+ import { jsxs as s, Fragment as m, jsx as e } from "react/jsx-runtime";
3
2
  import { TextInputField as a } from "../Fields/TextInputField/TextInputField.js";
4
3
  import { CheckboxField as u } from "../Fields/CheckboxField/CheckboxField.js";
5
- function c({
4
+ function p({
6
5
  signatureLabel: r,
7
6
  signatureDescription: i = "",
8
7
  signatureError: t = "",
9
8
  confirmationLabel: o,
10
9
  confirmationError: n = ""
11
10
  }) {
12
- return /* @__PURE__ */ m(s, { children: [
11
+ return /* @__PURE__ */ s(m, { children: [
13
12
  /* @__PURE__ */ e(
14
13
  a,
15
14
  {
@@ -32,6 +31,6 @@ function c({
32
31
  ] });
33
32
  }
34
33
  export {
35
- c as SignatureFormFields
34
+ p as SignatureFormFields
36
35
  };
37
36
  //# sourceMappingURL=SignatureFormFields.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignatureFormFields.js","sources":["../../../../src/components/Common/SignatureForm/SignatureFormFields.tsx"],"sourcesContent":["import { TextInputField, CheckboxField } from '@/components/Common'\n\ninterface SignatureFormFieldsProps {\n signatureLabel: string\n signatureDescription?: string\n signatureError?: string\n confirmationLabel: string\n confirmationError?: string\n}\n\nexport function SignatureFormFields({\n signatureLabel,\n signatureDescription = '',\n signatureError = '',\n confirmationLabel,\n confirmationError = '',\n}: SignatureFormFieldsProps) {\n return (\n <>\n <TextInputField\n name=\"signature\"\n label={signatureLabel}\n description={signatureDescription}\n errorMessage={signatureError}\n isRequired\n />\n <CheckboxField\n name=\"confirmSignature\"\n isRequired\n label={confirmationLabel}\n errorMessage={confirmationError}\n />\n </>\n )\n}\n"],"names":["SignatureFormFields","signatureLabel","signatureDescription","signatureError","confirmationLabel","confirmationError","jsxs","Fragment","jsx","TextInputField","CheckboxField"],"mappings":";;;;AAUO,SAASA,EAAoB;AAAA,EAClC,gBAAAC;AAAA,EACA,sBAAAC,IAAuB;AAAA,EACvB,gBAAAC,IAAiB;AAAA,EACjB,mBAAAC;AAAA,EACA,mBAAAC,IAAoB;AACtB,GAA6B;AAC3B,SACE,gBAAAC,EAAAC,GAAA,EACE,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,OAAOR;AAAA,QACP,aAAaC;AAAA,QACb,cAAcC;AAAA,QACd,YAAU;AAAA,MAAA;AAAA,IAAA;AAAA,IAEZ,gBAAAK;AAAA,MAACE;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,YAAU;AAAA,QACV,OAAON;AAAA,QACP,cAAcC;AAAA,MAAA;AAAA,IAAA;AAAA,EAChB,GACF;AAEJ;"}
1
+ {"version":3,"file":"SignatureFormFields.js","sources":["../../../../src/components/Common/SignatureForm/SignatureFormFields.tsx"],"sourcesContent":["import { TextInputField, CheckboxField } from '@/components/Common'\n\ninterface SignatureFormFieldsProps {\n signatureLabel: string\n signatureDescription?: string\n signatureError?: string\n confirmationLabel: string\n confirmationError?: string\n}\n\nexport function SignatureFormFields({\n signatureLabel,\n signatureDescription = '',\n signatureError = '',\n confirmationLabel,\n confirmationError = '',\n}: SignatureFormFieldsProps) {\n return (\n <>\n <TextInputField\n name=\"signature\"\n label={signatureLabel}\n description={signatureDescription}\n errorMessage={signatureError}\n isRequired\n />\n <CheckboxField\n name=\"confirmSignature\"\n isRequired\n label={confirmationLabel}\n errorMessage={confirmationError}\n />\n </>\n )\n}\n"],"names":["SignatureFormFields","signatureLabel","signatureDescription","signatureError","confirmationLabel","confirmationError","jsxs","Fragment","jsx","TextInputField","CheckboxField"],"mappings":";;;AAUO,SAASA,EAAoB;AAAA,EAClC,gBAAAC;AAAA,EACA,sBAAAC,IAAuB;AAAA,EACvB,gBAAAC,IAAiB;AAAA,EACjB,mBAAAC;AAAA,EACA,mBAAAC,IAAoB;AACtB,GAA6B;AAC3B,SACE,gBAAAC,EAAAC,GAAA,EACE,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,OAAOR;AAAA,QACP,aAAaC;AAAA,QACb,cAAcC;AAAA,QACd,YAAU;AAAA,MAAA;AAAA,IAAA;AAAA,IAEZ,gBAAAK;AAAA,MAACE;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,YAAU;AAAA,QACV,OAAON;AAAA,QACP,cAAcC;AAAA,MAAA;AAAA,IAAA;AAAA,EAChB,GACF;AAEJ;"}
@@ -1,20 +1,20 @@
1
- const o = "_root_s8mkw_1", s = "_alert_s8mkw_4", n = "_header_s8mkw_18", t = "_iconLabelContainer_s8mkw_23", e = "_icon_s8mkw_23", _ = "_content_s8mkw_44", c = "_dismiss_s8mkw_51", i = {
2
- root: o,
3
- alert: s,
1
+ const e = "_root_elr84_1", o = "_alert_elr84_4", n = "_header_elr84_18", t = "_iconLabelContainer_elr84_23", _ = "_icon_elr84_23", r = "_content_elr84_44", s = "_dismiss_elr84_51", c = {
2
+ root: e,
3
+ alert: o,
4
4
  header: n,
5
5
  iconLabelContainer: t,
6
- icon: e,
7
- content: _,
8
- dismiss: c
6
+ icon: _,
7
+ content: r,
8
+ dismiss: s
9
9
  };
10
10
  export {
11
- s as alert,
12
- _ as content,
13
- i as default,
14
- c as dismiss,
11
+ o as alert,
12
+ r as content,
13
+ c as default,
14
+ s as dismiss,
15
15
  n as header,
16
- e as icon,
16
+ _ as icon,
17
17
  t as iconLabelContainer,
18
- o as root
18
+ e as root
19
19
  };
20
20
  //# sourceMappingURL=Alert.module.scss.js.map
@@ -1,15 +1,15 @@
1
- const t = "_root_2c0z0_1", o = "_header_2c0z0_9", e = "_content_2c0z0_14", n = "_contentFlush_2c0z0_18", c = "_footer_2c0z0_22", _ = {
1
+ const t = "_root_af76v_1", o = "_header_af76v_11", e = "_content_af76v_16", n = "_contentFlush_af76v_21", _ = "_footer_af76v_26", c = {
2
2
  root: t,
3
3
  header: o,
4
4
  content: e,
5
5
  contentFlush: n,
6
- footer: c
6
+ footer: _
7
7
  };
8
8
  export {
9
9
  e as content,
10
10
  n as contentFlush,
11
- _ as default,
12
- c as footer,
11
+ c as default,
12
+ _ as footer,
13
13
  o as header,
14
14
  t as root
15
15
  };
@@ -1,4 +1,4 @@
1
- const t = "_root_vzxpv_1", o = "_item_vzxpv_13", r = "_withSeparators_vzxpv_26", s = {
1
+ const t = "_root_1jqpk_1", o = "_item_1jqpk_4", r = "_withSeparators_1jqpk_29", s = {
2
2
  root: t,
3
3
  item: o,
4
4
  withSeparators: r
@@ -1,13 +1,12 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import { useTranslation as e } from "react-i18next";
3
3
  import { useAssignSignatory as s, SignatoryAssignmentMode as o } from "./useAssignSignatory.js";
4
- import r from "./AssignSignatorySelection.module.scss.js";
5
- import "../../../shared/constants.js";
6
- import { RadioGroupField as a } from "../../Common/Fields/RadioGroupField/RadioGroupField.js";
7
- const u = () => {
4
+ import a from "./AssignSignatorySelection.module.scss.js";
5
+ import { RadioGroupField as r } from "../../Common/Fields/RadioGroupField/RadioGroupField.js";
6
+ const c = () => {
8
7
  const { t: n } = e("Company.AssignSignatory"), { onSignatoryAssignmentModeChange: t } = s();
9
- return /* @__PURE__ */ i("section", { className: r.container, children: /* @__PURE__ */ i(
10
- a,
8
+ return /* @__PURE__ */ i("section", { className: a.container, children: /* @__PURE__ */ i(
9
+ r,
11
10
  {
12
11
  onChange: t,
13
12
  label: n("signingOptions.label"),
@@ -27,6 +26,6 @@ const u = () => {
27
26
  ) });
28
27
  };
29
28
  export {
30
- u as AssignSignatorySelection
29
+ c as AssignSignatorySelection
31
30
  };
32
31
  //# sourceMappingURL=AssignSignatorySelection.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AssignSignatorySelection.js","sources":["../../../../src/components/Company/AssignSignatory/AssignSignatorySelection.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { SignatoryAssignmentMode, useAssignSignatory } from './useAssignSignatory'\nimport styles from './AssignSignatorySelection.module.scss'\nimport { RadioGroupField } from '@/components/Common'\n\nexport const AssignSignatorySelection = () => {\n const { t } = useTranslation('Company.AssignSignatory')\n const { onSignatoryAssignmentModeChange } = useAssignSignatory()\n\n return (\n <section className={styles.container}>\n <RadioGroupField\n onChange={onSignatoryAssignmentModeChange}\n label={t('signingOptions.label')}\n shouldVisuallyHideLabel\n name=\"signatoryAssignmentMode\"\n options={[\n {\n label: t('signingOptions.selfSign'),\n value: SignatoryAssignmentMode.createSignatory,\n },\n {\n label: t('signingOptions.appointOther'),\n value: SignatoryAssignmentMode.inviteSignatory,\n },\n ]}\n />\n </section>\n )\n}\n"],"names":["AssignSignatorySelection","t","useTranslation","onSignatoryAssignmentModeChange","useAssignSignatory","jsx","styles","RadioGroupField","SignatoryAssignmentMode"],"mappings":";;;;;;AAKO,MAAMA,IAA2B,MAAM;AAC5C,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAe,yBAAyB,GAChD,EAAE,iCAAAC,EAAA,IAAoCC,EAAA;AAE5C,SACE,gBAAAC,EAAC,WAAA,EAAQ,WAAWC,EAAO,WACzB,UAAA,gBAAAD;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,UAAUJ;AAAA,MACV,OAAOF,EAAE,sBAAsB;AAAA,MAC/B,yBAAuB;AAAA,MACvB,MAAK;AAAA,MACL,SAAS;AAAA,QACP;AAAA,UACE,OAAOA,EAAE,yBAAyB;AAAA,UAClC,OAAOO,EAAwB;AAAA,QAAA;AAAA,QAEjC;AAAA,UACE,OAAOP,EAAE,6BAA6B;AAAA,UACtC,OAAOO,EAAwB;AAAA,QAAA;AAAA,MACjC;AAAA,IACF;AAAA,EAAA,GAEJ;AAEJ;"}
1
+ {"version":3,"file":"AssignSignatorySelection.js","sources":["../../../../src/components/Company/AssignSignatory/AssignSignatorySelection.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { SignatoryAssignmentMode, useAssignSignatory } from './useAssignSignatory'\nimport styles from './AssignSignatorySelection.module.scss'\nimport { RadioGroupField } from '@/components/Common'\n\nexport const AssignSignatorySelection = () => {\n const { t } = useTranslation('Company.AssignSignatory')\n const { onSignatoryAssignmentModeChange } = useAssignSignatory()\n\n return (\n <section className={styles.container}>\n <RadioGroupField\n onChange={onSignatoryAssignmentModeChange}\n label={t('signingOptions.label')}\n shouldVisuallyHideLabel\n name=\"signatoryAssignmentMode\"\n options={[\n {\n label: t('signingOptions.selfSign'),\n value: SignatoryAssignmentMode.createSignatory,\n },\n {\n label: t('signingOptions.appointOther'),\n value: SignatoryAssignmentMode.inviteSignatory,\n },\n ]}\n />\n </section>\n )\n}\n"],"names":["AssignSignatorySelection","t","useTranslation","onSignatoryAssignmentModeChange","useAssignSignatory","jsx","styles","RadioGroupField","SignatoryAssignmentMode"],"mappings":";;;;;AAKO,MAAMA,IAA2B,MAAM;AAC5C,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAe,yBAAyB,GAChD,EAAE,iCAAAC,EAAA,IAAoCC,EAAA;AAE5C,SACE,gBAAAC,EAAC,WAAA,EAAQ,WAAWC,EAAO,WACzB,UAAA,gBAAAD;AAAA,IAACE;AAAA,IAAA;AAAA,MACC,UAAUJ;AAAA,MACV,OAAOF,EAAE,sBAAsB;AAAA,MAC/B,yBAAuB;AAAA,MACvB,MAAK;AAAA,MACL,SAAS;AAAA,QACP;AAAA,UACE,OAAOA,EAAE,yBAAyB;AAAA,UAClC,OAAOO,EAAwB;AAAA,QAAA;AAAA,QAEjC;AAAA,UACE,OAAOP,EAAE,6BAA6B;AAAA,UACtC,OAAOO,EAAwB;AAAA,QAAA;AAAA,MACjC;AAAA,IACF;AAAA,EAAA,GAEJ;AAEJ;"}
@@ -1,14 +1,13 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { useTranslation as r } from "react-i18next";
3
- import { useCreateSignatory as s } from "./useCreateSignatory.js";
4
- import "../../../../shared/constants.js";
5
- import { ActionsLayout as m } from "../../../Common/ActionsLayout/ActionsLayout.js";
6
- import { useComponentContext as e } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
7
- const y = () => {
8
- const { t } = r("Company.AssignSignatory"), { isPending: n } = s(), i = e();
9
- return /* @__PURE__ */ o(m, { children: /* @__PURE__ */ o(i.Button, { type: "submit", isLoading: n, children: t("buttons.signDocuments") }) });
2
+ import { useTranslation as i } from "react-i18next";
3
+ import { useCreateSignatory as r } from "./useCreateSignatory.js";
4
+ import { ActionsLayout as e } from "../../../Common/ActionsLayout/ActionsLayout.js";
5
+ import { useComponentContext as m } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
6
+ const f = () => {
7
+ const { t } = i("Company.AssignSignatory"), { isPending: n } = r(), s = m();
8
+ return /* @__PURE__ */ o(e, { children: /* @__PURE__ */ o(s.Button, { type: "submit", isLoading: n, children: t("buttons.signDocuments") }) });
10
9
  };
11
10
  export {
12
- y as Actions
11
+ f as Actions
13
12
  };
14
13
  //# sourceMappingURL=Actions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Actions.js","sources":["../../../../../src/components/Company/AssignSignatory/CreateSignatory/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useCreateSignatory } from './useCreateSignatory'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport const Actions = () => {\n const { t } = useTranslation('Company.AssignSignatory')\n const { isPending } = useCreateSignatory()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button type=\"submit\" isLoading={isPending}>\n {t('buttons.signDocuments')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","useTranslation","isPending","useCreateSignatory","Components","useComponentContext","jsx","ActionsLayout"],"mappings":";;;;;;AAKO,MAAMA,IAAU,MAAM;AAC3B,QAAM,EAAE,EAAA,IAAMC,EAAe,yBAAyB,GAChD,EAAE,WAAAC,EAAA,IAAcC,EAAA,GAChBC,IAAaC,EAAA;AAEnB,SACE,gBAAAC,EAACC,GAAA,EACC,UAAA,gBAAAD,EAACF,EAAW,QAAX,EAAkB,MAAK,UAAS,WAAWF,GACzC,UAAA,EAAE,uBAAuB,GAC5B,GACF;AAEJ;"}
1
+ {"version":3,"file":"Actions.js","sources":["../../../../../src/components/Company/AssignSignatory/CreateSignatory/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useCreateSignatory } from './useCreateSignatory'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport const Actions = () => {\n const { t } = useTranslation('Company.AssignSignatory')\n const { isPending } = useCreateSignatory()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button type=\"submit\" isLoading={isPending}>\n {t('buttons.signDocuments')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","useTranslation","isPending","useCreateSignatory","Components","useComponentContext","jsx","ActionsLayout"],"mappings":";;;;;AAKO,MAAMA,IAAU,MAAM;AAC3B,QAAM,EAAE,EAAA,IAAMC,EAAe,yBAAyB,GAChD,EAAE,WAAAC,EAAA,IAAcC,EAAA,GAChBC,IAAaC,EAAA;AAEnB,SACE,gBAAAC,EAACC,GAAA,EACC,UAAA,gBAAAD,EAACF,EAAW,QAAX,EAAkB,MAAK,UAAS,WAAWF,GACzC,UAAA,EAAE,uBAAuB,GAC5B,GACF;AAEJ;"}
@@ -3,16 +3,16 @@ import { useTranslation as c } from "react-i18next";
3
3
  import { useCreateSignatory as p } from "./useCreateSignatory.js";
4
4
  import { Flex as o } from "../../../Common/Flex/Flex.js";
5
5
  import { Grid as n } from "../../../Common/Grid/Grid.js";
6
- import { DatePickerField as u } from "../../../Common/Fields/DatePickerField/DatePickerField.js";
7
- import { STATES_ABBR as g } from "../../../../shared/constants.js";
8
- import { usePlaceholderSSN as h, normalizeSSN as f } from "../../../../helpers/ssn.js";
9
- import { TitleSelect as y } from "../TitleSelect.js";
10
- import { useMaskedTransform as b, commonMasks as S } from "../../../../helpers/mask.js";
11
- import { useComponentContext as D } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
6
+ import { STATES_ABBR as u } from "../../../../shared/constants.js";
7
+ import { usePlaceholderSSN as g, normalizeSSN as h } from "../../../../helpers/ssn.js";
8
+ import { TitleSelect as f } from "../TitleSelect.js";
9
+ import { useMaskedTransform as y, commonMasks as b } from "../../../../helpers/mask.js";
10
+ import { useComponentContext as S } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
12
11
  import { TextInputField as s } from "../../../Common/Fields/TextInputField/TextInputField.js";
12
+ import { DatePickerField as D } from "../../../Common/Fields/DatePickerField/DatePickerField.js";
13
13
  import { SelectField as M } from "../../../Common/Fields/SelectField/SelectField.js";
14
14
  const j = () => {
15
- const i = D(), { currentSignatory: t } = p(), { t: e } = c("Company.AssignSignatory"), d = h(t?.hasSsn), m = b(S.phoneMask);
15
+ const i = S(), { currentSignatory: t } = p(), { t: e } = c("Company.AssignSignatory"), d = g(t?.hasSsn), m = y(b.phoneMask);
16
16
  return /* @__PURE__ */ a(o, { flexDirection: "column", gap: 32, children: [
17
17
  /* @__PURE__ */ a(o, { flexDirection: "column", gap: 12, children: [
18
18
  /* @__PURE__ */ a("header", { children: [
@@ -48,7 +48,7 @@ const j = () => {
48
48
  isDisabled: !!t
49
49
  }
50
50
  ),
51
- /* @__PURE__ */ r(y, {}),
51
+ /* @__PURE__ */ r(f, {}),
52
52
  /* @__PURE__ */ r(
53
53
  s,
54
54
  {
@@ -66,12 +66,12 @@ const j = () => {
66
66
  label: e("signatoryDetails.ssn"),
67
67
  errorMessage: e("validations.ssn", { ns: "common" }),
68
68
  isRequired: !t?.hasSsn,
69
- transform: f,
69
+ transform: h,
70
70
  placeholder: d
71
71
  }
72
72
  ),
73
73
  /* @__PURE__ */ r(
74
- u,
74
+ D,
75
75
  {
76
76
  name: "birthday",
77
77
  label: e("signatoryDetails.birthday"),
@@ -110,7 +110,7 @@ const j = () => {
110
110
  M,
111
111
  {
112
112
  name: "state",
113
- options: g.map((l) => ({
113
+ options: u.map((l) => ({
114
114
  label: e(`statesHash.${l}`, { ns: "common" }),
115
115
  value: l
116
116
  })),
@@ -1,14 +1,13 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { useTranslation as r } from "react-i18next";
3
3
  import { useInviteSignatory as s } from "./useInviteSignatory.js";
4
- import "../../../../shared/constants.js";
5
- import { ActionsLayout as m } from "../../../Common/ActionsLayout/ActionsLayout.js";
6
- import { useComponentContext as e } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
7
- const f = () => {
8
- const { t } = r("Company.AssignSignatory"), { isPending: n } = s(), i = e();
9
- return /* @__PURE__ */ o(m, { children: /* @__PURE__ */ o(i.Button, { type: "submit", isLoading: n, children: t("buttons.inviteSignatory") }) });
4
+ import { ActionsLayout as e } from "../../../Common/ActionsLayout/ActionsLayout.js";
5
+ import { useComponentContext as m } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
6
+ const y = () => {
7
+ const { t } = r("Company.AssignSignatory"), { isPending: n } = s(), i = m();
8
+ return /* @__PURE__ */ o(e, { children: /* @__PURE__ */ o(i.Button, { type: "submit", isLoading: n, children: t("buttons.inviteSignatory") }) });
10
9
  };
11
10
  export {
12
- f as Actions
11
+ y as Actions
13
12
  };
14
13
  //# sourceMappingURL=Actions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Actions.js","sources":["../../../../../src/components/Company/AssignSignatory/InviteSignatory/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useInviteSignatory } from './useInviteSignatory'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport const Actions = () => {\n const { t } = useTranslation('Company.AssignSignatory')\n const { isPending } = useInviteSignatory()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button type=\"submit\" isLoading={isPending}>\n {t('buttons.inviteSignatory')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","useTranslation","isPending","useInviteSignatory","Components","useComponentContext","jsx","ActionsLayout"],"mappings":";;;;;;AAKO,MAAMA,IAAU,MAAM;AAC3B,QAAM,EAAE,EAAA,IAAMC,EAAe,yBAAyB,GAChD,EAAE,WAAAC,EAAA,IAAcC,EAAA,GAChBC,IAAaC,EAAA;AAEnB,SACE,gBAAAC,EAACC,GAAA,EACC,UAAA,gBAAAD,EAACF,EAAW,QAAX,EAAkB,MAAK,UAAS,WAAWF,GACzC,UAAA,EAAE,yBAAyB,GAC9B,GACF;AAEJ;"}
1
+ {"version":3,"file":"Actions.js","sources":["../../../../../src/components/Company/AssignSignatory/InviteSignatory/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useInviteSignatory } from './useInviteSignatory'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport const Actions = () => {\n const { t } = useTranslation('Company.AssignSignatory')\n const { isPending } = useInviteSignatory()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button type=\"submit\" isLoading={isPending}>\n {t('buttons.inviteSignatory')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","useTranslation","isPending","useInviteSignatory","Components","useComponentContext","jsx","ActionsLayout"],"mappings":";;;;;AAKO,MAAMA,IAAU,MAAM;AAC3B,QAAM,EAAE,EAAA,IAAMC,EAAe,yBAAyB,GAChD,EAAE,WAAAC,EAAA,IAAcC,EAAA,GAChBC,IAAaC,EAAA;AAEnB,SACE,gBAAAC,EAACC,GAAA,EACC,UAAA,gBAAAD,EAACF,EAAW,QAAX,EAAkB,MAAK,UAAS,WAAWF,GACzC,UAAA,EAAE,yBAAyB,GAC9B,GACF;AAEJ;"}
@@ -1,19 +1,19 @@
1
1
  import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
2
  import { useTranslation as s } from "react-i18next";
3
3
  import { useBankAccountForm as m } from "./context.js";
4
- import { componentEvents as a } from "../../../../shared/constants.js";
5
- import { ActionsLayout as u } from "../../../Common/ActionsLayout/ActionsLayout.js";
6
- import { useComponentContext as p } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
4
+ import { ActionsLayout as a } from "../../../Common/ActionsLayout/ActionsLayout.js";
5
+ import { useComponentContext as u } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
6
+ import { componentEvents as p } from "../../../../shared/constants.js";
7
7
  function B() {
8
- const { t } = s("Company.BankAccount"), { isPending: i, isEditing: r, onEvent: c } = m(), n = p();
9
- return /* @__PURE__ */ e(u, { children: [
8
+ const { t } = s("Company.BankAccount"), { isPending: i, isEditing: r, onEvent: c } = m(), n = u();
9
+ return /* @__PURE__ */ e(a, { children: [
10
10
  r && /* @__PURE__ */ o(
11
11
  n.Button,
12
12
  {
13
13
  type: "button",
14
14
  variant: "secondary",
15
15
  onClick: () => {
16
- c(a.COMPANY_BANK_ACCOUNT_CANCEL);
16
+ c(p.COMPANY_BANK_ACCOUNT_CANCEL);
17
17
  },
18
18
  children: t("cancelCta")
19
19
  }
@@ -1,17 +1,16 @@
1
1
  import { jsxs as e, jsx as t } from "react/jsx-runtime";
2
2
  import { useTranslation as i } from "react-i18next";
3
3
  import { useBankAccount as a } from "./context.js";
4
- import "../../../../shared/constants.js";
5
- import { ActionsLayout as m } from "../../../Common/ActionsLayout/ActionsLayout.js";
6
- import { useComponentContext as s } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
7
- function f() {
8
- const { handleContinue: c, handleChange: r } = a(), { t: n } = i("Company.BankAccount"), o = s();
9
- return /* @__PURE__ */ e(m, { children: [
4
+ import { ActionsLayout as s } from "../../../Common/ActionsLayout/ActionsLayout.js";
5
+ import { useComponentContext as m } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
6
+ function d() {
7
+ const { handleContinue: c, handleChange: r } = a(), { t: n } = i("Company.BankAccount"), o = m();
8
+ return /* @__PURE__ */ e(s, { children: [
10
9
  /* @__PURE__ */ t(o.Button, { variant: "secondary", onClick: r, children: n("changeBankAccountCta") }),
11
10
  /* @__PURE__ */ t(o.Button, { onClick: c, children: n("continueCta") })
12
11
  ] });
13
12
  }
14
13
  export {
15
- f as Actions
14
+ d as Actions
16
15
  };
17
16
  //# sourceMappingURL=Actions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Actions.js","sources":["../../../../../src/components/Company/BankAccount/BankAccountList/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useBankAccount } from './context'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport function Actions() {\n const { handleContinue, handleChange } = useBankAccount()\n const { t } = useTranslation('Company.BankAccount')\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button variant=\"secondary\" onClick={handleChange}>\n {t('changeBankAccountCta')}\n </Components.Button>\n <Components.Button onClick={handleContinue}>{t('continueCta')}</Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","handleContinue","handleChange","useBankAccount","t","useTranslation","Components","useComponentContext","ActionsLayout","jsx"],"mappings":";;;;;;AAKO,SAASA,IAAU;AACxB,QAAM,EAAE,gBAAAC,GAAgB,cAAAC,EAAA,IAAiBC,EAAA,GACnC,EAAE,GAAAC,EAAA,IAAMC,EAAe,qBAAqB,GAC5CC,IAAaC,EAAA;AAEnB,2BACGC,GAAA,EACC,UAAA;AAAA,IAAA,gBAAAC,EAACH,EAAW,QAAX,EAAkB,SAAQ,aAAY,SAASJ,GAC7C,UAAAE,EAAE,sBAAsB,EAAA,CAC3B;AAAA,IACA,gBAAAK,EAACH,EAAW,QAAX,EAAkB,SAASL,GAAiB,UAAAG,EAAE,aAAa,EAAA,CAAE;AAAA,EAAA,GAChE;AAEJ;"}
1
+ {"version":3,"file":"Actions.js","sources":["../../../../../src/components/Company/BankAccount/BankAccountList/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useBankAccount } from './context'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport function Actions() {\n const { handleContinue, handleChange } = useBankAccount()\n const { t } = useTranslation('Company.BankAccount')\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button variant=\"secondary\" onClick={handleChange}>\n {t('changeBankAccountCta')}\n </Components.Button>\n <Components.Button onClick={handleContinue}>{t('continueCta')}</Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","handleContinue","handleChange","useBankAccount","t","useTranslation","Components","useComponentContext","ActionsLayout","jsx"],"mappings":";;;;;AAKO,SAASA,IAAU;AACxB,QAAM,EAAE,gBAAAC,GAAgB,cAAAC,EAAA,IAAiBC,EAAA,GACnC,EAAE,GAAAC,EAAA,IAAMC,EAAe,qBAAqB,GAC5CC,IAAaC,EAAA;AAEnB,2BACGC,GAAA,EACC,UAAA;AAAA,IAAA,gBAAAC,EAACH,EAAW,QAAX,EAAkB,SAAQ,aAAY,SAASJ,GAC7C,UAAAE,EAAE,sBAAsB,EAAA,CAC3B;AAAA,IACA,gBAAAK,EAACH,EAAW,QAAX,EAAkB,SAASL,GAAiB,UAAAG,EAAE,aAAa,EAAA,CAAE;AAAA,EAAA,GAChE;AAEJ;"}
@@ -1,34 +1,33 @@
1
1
  import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
2
  import { useTranslation as e } from "react-i18next";
3
3
  import { useBankAccountVerify as r } from "./context.js";
4
- import "../../../../shared/constants.js";
5
4
  import { ActionsLayout as s } from "../../../Common/ActionsLayout/ActionsLayout.js";
6
5
  import { useComponentContext as m } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
7
- function C() {
8
- const { t } = e("Company.BankAccount"), { isPending: n, handleCancel: a } = r(), o = m();
6
+ function y() {
7
+ const { t: n } = e("Company.BankAccount"), { isPending: t, handleCancel: a } = r(), o = m();
9
8
  return /* @__PURE__ */ c(s, { children: [
10
9
  /* @__PURE__ */ i(
11
10
  o.Button,
12
11
  {
13
12
  variant: "secondary",
14
- isLoading: n,
13
+ isLoading: t,
15
14
  onClick: a,
16
15
  "data-testid": "bank-account-verify-cancel",
17
- children: t("cancelCta")
16
+ children: n("cancelCta")
18
17
  }
19
18
  ),
20
19
  /* @__PURE__ */ i(
21
20
  o.Button,
22
21
  {
23
22
  type: "submit",
24
- isLoading: n,
23
+ isLoading: t,
25
24
  "data-testid": "bank-account-verify-submit",
26
- children: t("verifyCta")
25
+ children: n("verifyCta")
27
26
  }
28
27
  )
29
28
  ] });
30
29
  }
31
30
  export {
32
- C as Actions
31
+ y as Actions
33
32
  };
34
33
  //# sourceMappingURL=Actions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Actions.js","sources":["../../../../../src/components/Company/BankAccount/BankAccountVerify/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useBankAccountVerify } from './context'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport function Actions() {\n const { t } = useTranslation('Company.BankAccount')\n const { isPending, handleCancel } = useBankAccountVerify()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button\n variant=\"secondary\"\n isLoading={isPending}\n onClick={handleCancel}\n data-testid=\"bank-account-verify-cancel\"\n >\n {t('cancelCta')}\n </Components.Button>\n <Components.Button\n type=\"submit\"\n isLoading={isPending}\n data-testid=\"bank-account-verify-submit\"\n >\n {t('verifyCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","useTranslation","isPending","handleCancel","useBankAccountVerify","Components","useComponentContext","ActionsLayout","jsx"],"mappings":";;;;;;AAKO,SAASA,IAAU;AACxB,QAAM,EAAE,EAAA,IAAMC,EAAe,qBAAqB,GAC5C,EAAE,WAAAC,GAAW,cAAAC,EAAA,IAAiBC,EAAA,GAC9BC,IAAaC,EAAA;AAEnB,2BACGC,GAAA,EACC,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACH,EAAW;AAAA,MAAX;AAAA,QACC,SAAQ;AAAA,QACR,WAAWH;AAAA,QACX,SAASC;AAAA,QACT,eAAY;AAAA,QAEX,YAAE,WAAW;AAAA,MAAA;AAAA,IAAA;AAAA,IAEhB,gBAAAK;AAAA,MAACH,EAAW;AAAA,MAAX;AAAA,QACC,MAAK;AAAA,QACL,WAAWH;AAAA,QACX,eAAY;AAAA,QAEX,YAAE,WAAW;AAAA,MAAA;AAAA,IAAA;AAAA,EAChB,GACF;AAEJ;"}
1
+ {"version":3,"file":"Actions.js","sources":["../../../../../src/components/Company/BankAccount/BankAccountVerify/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useBankAccountVerify } from './context'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\nexport function Actions() {\n const { t } = useTranslation('Company.BankAccount')\n const { isPending, handleCancel } = useBankAccountVerify()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button\n variant=\"secondary\"\n isLoading={isPending}\n onClick={handleCancel}\n data-testid=\"bank-account-verify-cancel\"\n >\n {t('cancelCta')}\n </Components.Button>\n <Components.Button\n type=\"submit\"\n isLoading={isPending}\n data-testid=\"bank-account-verify-submit\"\n >\n {t('verifyCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","t","useTranslation","isPending","handleCancel","useBankAccountVerify","Components","useComponentContext","ActionsLayout","jsx"],"mappings":";;;;;AAKO,SAASA,IAAU;AACxB,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAe,qBAAqB,GAC5C,EAAE,WAAAC,GAAW,cAAAC,EAAA,IAAiBC,EAAA,GAC9BC,IAAaC,EAAA;AAEnB,2BACGC,GAAA,EACC,UAAA;AAAA,IAAA,gBAAAC;AAAA,MAACH,EAAW;AAAA,MAAX;AAAA,QACC,SAAQ;AAAA,QACR,WAAWH;AAAA,QACX,SAASC;AAAA,QACT,eAAY;AAAA,QAEX,YAAE,WAAW;AAAA,MAAA;AAAA,IAAA;AAAA,IAEhB,gBAAAK;AAAA,MAACH,EAAW;AAAA,MAAX;AAAA,QACC,MAAK;AAAA,QACL,WAAWH;AAAA,QACX,eAAY;AAAA,QAEX,YAAE,WAAW;AAAA,MAAA;AAAA,IAAA;AAAA,EAChB,GACF;AAEJ;"}
@@ -1,14 +1,13 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { useTranslation as m } from "react-i18next";
3
- import { useDocumentList as e } from "./useDocumentList.js";
4
- import "../../../../shared/constants.js";
2
+ import { useTranslation as e } from "react-i18next";
3
+ import { useDocumentList as m } from "./useDocumentList.js";
5
4
  import { ActionsLayout as s } from "../../../Common/ActionsLayout/ActionsLayout.js";
6
5
  import { useComponentContext as c } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
7
- function d({ continueCtaLabel: t }) {
8
- const { t: n } = m("Company.DocumentList"), { handleContinue: i } = e(), r = c();
6
+ function l({ continueCtaLabel: t }) {
7
+ const { t: n } = e("Company.DocumentList"), { handleContinue: i } = m(), r = c();
9
8
  return /* @__PURE__ */ o(s, { children: /* @__PURE__ */ o(r.Button, { onClick: i, children: t || n("continueCta") }) });
10
9
  }
11
10
  export {
12
- d as Actions
11
+ l as Actions
13
12
  };
14
13
  //# sourceMappingURL=Actions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Actions.js","sources":["../../../../../src/components/Company/DocumentSigner/DocumentList/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useDocumentList } from './useDocumentList'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\ninterface ActionsProps {\n continueCtaLabel?: string\n}\n\nexport function Actions({ continueCtaLabel }: ActionsProps) {\n const { t } = useTranslation('Company.DocumentList')\n const { handleContinue } = useDocumentList()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button onClick={handleContinue}>\n {continueCtaLabel || t('continueCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","continueCtaLabel","t","useTranslation","handleContinue","useDocumentList","Components","useComponentContext","jsx","ActionsLayout"],"mappings":";;;;;;AASO,SAASA,EAAQ,EAAE,kBAAAC,KAAkC;AAC1D,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAe,sBAAsB,GAC7C,EAAE,gBAAAC,EAAA,IAAmBC,EAAA,GACrBC,IAAaC,EAAA;AAEnB,SACE,gBAAAC,EAACC,GAAA,EACC,UAAA,gBAAAD,EAACF,EAAW,QAAX,EAAkB,SAASF,GACzB,UAAAH,KAAoBC,EAAE,aAAa,EAAA,CACtC,GACF;AAEJ;"}
1
+ {"version":3,"file":"Actions.js","sources":["../../../../../src/components/Company/DocumentSigner/DocumentList/Actions.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next'\nimport { useDocumentList } from './useDocumentList'\nimport { ActionsLayout } from '@/components/Common'\nimport { useComponentContext } from '@/contexts/ComponentAdapter/useComponentContext'\n\ninterface ActionsProps {\n continueCtaLabel?: string\n}\n\nexport function Actions({ continueCtaLabel }: ActionsProps) {\n const { t } = useTranslation('Company.DocumentList')\n const { handleContinue } = useDocumentList()\n const Components = useComponentContext()\n\n return (\n <ActionsLayout>\n <Components.Button onClick={handleContinue}>\n {continueCtaLabel || t('continueCta')}\n </Components.Button>\n </ActionsLayout>\n )\n}\n"],"names":["Actions","continueCtaLabel","t","useTranslation","handleContinue","useDocumentList","Components","useComponentContext","jsx","ActionsLayout"],"mappings":";;;;;AASO,SAASA,EAAQ,EAAE,kBAAAC,KAAkC;AAC1D,QAAM,EAAE,GAAAC,EAAA,IAAMC,EAAe,sBAAsB,GAC7C,EAAE,gBAAAC,EAAA,IAAmBC,EAAA,GACrBC,IAAaC,EAAA;AAEnB,SACE,gBAAAC,EAACC,GAAA,EACC,UAAA,gBAAAD,EAACF,EAAW,QAAX,EAAkB,SAASF,GACzB,UAAAH,KAAoBC,EAAE,aAAa,EAAA,CACtC,GACF;AAEJ;"}