@gusto/embedded-react-sdk 0.48.1 → 0.48.2

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 (494) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/components/Common/DocumentList/DocumentList.js +12 -12
  3. package/dist/components/Common/DocumentList/DocumentList.js.map +1 -1
  4. package/dist/components/Common/DocumentList/DocumentList.module.scss.js +3 -5
  5. package/dist/components/Common/DocumentList/DocumentList.module.scss.js.map +1 -1
  6. package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes.d.ts +1 -0
  7. package/dist/components/Common/PaginationControl/PaginationControlTypes.d.ts +7 -3
  8. package/dist/components/Common/PayrollLoading/PayrollLoadingTypes.d.ts +1 -0
  9. package/dist/components/Common/UI/Alert/AlertTypes.d.ts +1 -0
  10. package/dist/components/Common/UI/Alert/AlertTypes.js.map +1 -1
  11. package/dist/components/Common/UI/Badge/BadgeTypes.d.ts +1 -0
  12. package/dist/components/Common/UI/Badge/BadgeTypes.js.map +1 -1
  13. package/dist/components/Common/UI/Banner/BannerTypes.d.ts +1 -0
  14. package/dist/components/Common/UI/Banner/BannerTypes.js.map +1 -1
  15. package/dist/components/Common/UI/Box/BoxTypes.d.ts +1 -0
  16. package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.d.ts +1 -0
  17. package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.js.map +1 -1
  18. package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.d.ts +2 -0
  19. package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.js.map +1 -1
  20. package/dist/components/Common/UI/Button/ButtonTypes.d.ts +4 -2
  21. package/dist/components/Common/UI/Button/ButtonTypes.js.map +1 -1
  22. package/dist/components/Common/UI/CalendarPreview/CalendarPreviewTypes.d.ts +3 -2
  23. package/dist/components/Common/UI/Card/CardTypes.d.ts +1 -0
  24. package/dist/components/Common/UI/Checkbox/CheckboxTypes.d.ts +1 -0
  25. package/dist/components/Common/UI/Checkbox/CheckboxTypes.js.map +1 -1
  26. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.d.ts +2 -0
  27. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.js.map +1 -1
  28. package/dist/components/Common/UI/ComboBox/ComboBoxTypes.d.ts +2 -0
  29. package/dist/components/Common/UI/DatePicker/DatePickerTypes.d.ts +1 -0
  30. package/dist/components/Common/UI/DateRangePicker/DateRangePickerTypes.d.ts +2 -0
  31. package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.d.ts +2 -0
  32. package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.js.map +1 -1
  33. package/dist/components/Common/UI/Dialog/DialogTypes.d.ts +1 -0
  34. package/dist/components/Common/UI/Dialog/DialogTypes.js.map +1 -1
  35. package/dist/components/Common/UI/FileInput/FileInputTypes.d.ts +1 -0
  36. package/dist/components/Common/UI/FileInput/FileInputTypes.js.map +1 -1
  37. package/dist/components/Common/UI/Heading/HeadingTypes.d.ts +1 -0
  38. package/dist/components/Common/UI/Link/LinkTypes.d.ts +4 -3
  39. package/dist/components/Common/UI/List/ListTypes.d.ts +13 -4
  40. package/dist/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes.d.ts +1 -0
  41. package/dist/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes.js.map +1 -1
  42. package/dist/components/Common/UI/Menu/MenuTypes.d.ts +2 -0
  43. package/dist/components/Common/UI/Menu/MenuTypes.js.map +1 -1
  44. package/dist/components/Common/UI/Modal/ModalTypes.d.ts +1 -0
  45. package/dist/components/Common/UI/Modal/ModalTypes.js.map +1 -1
  46. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes.d.ts +2 -0
  47. package/dist/components/Common/UI/NumberInput/NumberInputTypes.d.ts +1 -0
  48. package/dist/components/Common/UI/ProgressBar/ProgressBarTypes.d.ts +1 -0
  49. package/dist/components/Common/UI/Radio/RadioTypes.d.ts +1 -0
  50. package/dist/components/Common/UI/Radio/RadioTypes.js.map +1 -1
  51. package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.d.ts +2 -0
  52. package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js.map +1 -1
  53. package/dist/components/Common/UI/Select/SelectTypes.d.ts +2 -0
  54. package/dist/components/Common/UI/Switch/SwitchTypes.d.ts +1 -0
  55. package/dist/components/Common/UI/Switch/SwitchTypes.js.map +1 -1
  56. package/dist/components/Common/UI/Table/TableTypes.d.ts +3 -0
  57. package/dist/components/Common/UI/Table/TableTypes.js.map +1 -1
  58. package/dist/components/Common/UI/Tabs/TabsTypes.d.ts +2 -0
  59. package/dist/components/Common/UI/Text/TextTypes.d.ts +1 -0
  60. package/dist/components/Common/UI/Text/TextTypes.js.map +1 -1
  61. package/dist/components/Common/UI/TextArea/TextAreaTypes.d.ts +1 -0
  62. package/dist/components/Common/UI/TextArea/TextAreaTypes.js.map +1 -1
  63. package/dist/components/Common/UI/TextInput/TextInputTypes.d.ts +1 -0
  64. package/dist/components/Common/UI/TextInput/TextInputTypes.js.map +1 -1
  65. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +13 -13
  66. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +18 -3
  67. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  68. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +18 -3
  69. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  70. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +20 -5
  71. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  72. package/dist/components/Company/BankAccount/BankAccount.js +7 -6
  73. package/dist/components/Company/BankAccount/BankAccount.js.map +1 -1
  74. package/dist/components/Company/BankAccount/BankAccountForm/context.js +18 -3
  75. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  76. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +18 -3
  77. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  78. package/dist/components/Company/DocumentSigner/DocumentSigner.js +3 -2
  79. package/dist/components/Company/DocumentSigner/DocumentSigner.js.map +1 -1
  80. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +27 -12
  81. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  82. package/dist/components/Company/Industry/Context.js +21 -6
  83. package/dist/components/Company/Industry/Context.js.map +1 -1
  84. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +18 -3
  85. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  86. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +18 -3
  87. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  88. package/dist/components/Company/OnboardingOverview/context.js +19 -4
  89. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  90. package/dist/components/Company/PaySchedule/PayScheduleForm.js +3 -2
  91. package/dist/components/Company/PaySchedule/PayScheduleForm.js.map +1 -1
  92. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +18 -3
  93. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  94. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +18 -3
  95. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  96. package/dist/components/Contractor/Address/useAddress.js +20 -5
  97. package/dist/components/Contractor/Address/useAddress.js.map +1 -1
  98. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js +3 -2
  99. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js.map +1 -1
  100. package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js +3 -2
  101. package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js.map +1 -1
  102. package/dist/components/Contractor/Profile/ContractorProfileForm.js +13 -13
  103. package/dist/components/Contractor/Profile/useContractorProfile.js +29 -21
  104. package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
  105. package/dist/components/Employee/Compensation/management/Compensation.js +3 -2
  106. package/dist/components/Employee/Compensation/management/Compensation.js.map +1 -1
  107. package/dist/components/Employee/Compensation/management/CompensationAddAnotherJobForm/CompensationAddAnotherJobForm.js +9 -8
  108. package/dist/components/Employee/Compensation/management/CompensationAddAnotherJobForm/CompensationAddAnotherJobForm.js.map +1 -1
  109. package/dist/components/Employee/Compensation/management/CompensationAddJobForm/CompensationAddJobForm.js +3 -2
  110. package/dist/components/Employee/Compensation/management/CompensationAddJobForm/CompensationAddJobForm.js.map +1 -1
  111. package/dist/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.js +3 -2
  112. package/dist/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.js.map +1 -1
  113. package/dist/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.js +3 -2
  114. package/dist/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.js.map +1 -1
  115. package/dist/components/Employee/Compensation/management/CompensationEditPendingJobForm/CompensationEditPendingJobForm.js +3 -2
  116. package/dist/components/Employee/Compensation/management/CompensationEditPendingJobForm/CompensationEditPendingJobForm.js.map +1 -1
  117. package/dist/components/Employee/Compensation/onboarding/Compensation.js +3 -2
  118. package/dist/components/Employee/Compensation/onboarding/Compensation.js.map +1 -1
  119. package/dist/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.js +3 -2
  120. package/dist/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.js.map +1 -1
  121. package/dist/components/Employee/Deductions/management/Deductions.js +3 -2
  122. package/dist/components/Employee/Deductions/management/Deductions.js.map +1 -1
  123. package/dist/components/Employee/Deductions/management/DeductionsEditForm/DeductionsEditForm.js +3 -2
  124. package/dist/components/Employee/Deductions/management/DeductionsEditForm/DeductionsEditForm.js.map +1 -1
  125. package/dist/components/Employee/Documents/management/Documents.js +3 -2
  126. package/dist/components/Employee/Documents/management/Documents.js.map +1 -1
  127. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.d.ts +25 -5
  128. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  129. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/index.d.ts +3 -0
  130. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +18 -3
  131. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  132. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.js +12 -11
  133. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.js.map +1 -1
  134. package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +16 -16
  135. package/dist/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.d.ts +28 -5
  136. package/dist/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.js.map +1 -1
  137. package/dist/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/index.d.ts +3 -0
  138. package/dist/components/Employee/Documents/shared/SignatureForm/SignatureForm.d.ts +26 -5
  139. package/dist/components/Employee/Documents/shared/SignatureForm/SignatureForm.js.map +1 -1
  140. package/dist/components/Employee/Documents/shared/SignatureForm/index.d.ts +3 -0
  141. package/dist/components/Employee/FederalTaxes/management/FederalTaxes.js +10 -9
  142. package/dist/components/Employee/FederalTaxes/management/FederalTaxes.js.map +1 -1
  143. package/dist/components/Employee/FederalTaxes/management/FederalTaxesEditForm.js +3 -2
  144. package/dist/components/Employee/FederalTaxes/management/FederalTaxesEditForm.js.map +1 -1
  145. package/dist/components/Employee/FederalTaxes/onboarding/FederalTaxes.js +9 -8
  146. package/dist/components/Employee/FederalTaxes/onboarding/FederalTaxes.js.map +1 -1
  147. package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.js +14 -13
  148. package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.js.map +1 -1
  149. package/dist/components/Employee/HomeAddress/management/HomeAddress.js +3 -2
  150. package/dist/components/Employee/HomeAddress/management/HomeAddress.js.map +1 -1
  151. package/dist/components/Employee/PaymentMethod/management/PaymentMethod.js +7 -6
  152. package/dist/components/Employee/PaymentMethod/management/PaymentMethod.js.map +1 -1
  153. package/dist/components/Employee/PaymentMethod/onboarding/PaymentMethod.js +7 -6
  154. package/dist/components/Employee/PaymentMethod/onboarding/PaymentMethod.js.map +1 -1
  155. package/dist/components/Employee/Profile/management/Profile.js +12 -11
  156. package/dist/components/Employee/Profile/management/Profile.js.map +1 -1
  157. package/dist/components/Employee/Profile/management/ProfileEditForm.js +13 -12
  158. package/dist/components/Employee/Profile/management/ProfileEditForm.js.map +1 -1
  159. package/dist/components/Employee/Profile/onboarding/AdminProfile.js +11 -10
  160. package/dist/components/Employee/Profile/onboarding/AdminProfile.js.map +1 -1
  161. package/dist/components/Employee/Profile/onboarding/EmployeeProfile.js +3 -2
  162. package/dist/components/Employee/Profile/onboarding/EmployeeProfile.js.map +1 -1
  163. package/dist/components/Employee/Profile/onboarding/Profile.js +12 -11
  164. package/dist/components/Employee/Profile/onboarding/Profile.js.map +1 -1
  165. package/dist/components/Employee/StateTaxes/management/StateTaxes.js +10 -9
  166. package/dist/components/Employee/StateTaxes/management/StateTaxes.js.map +1 -1
  167. package/dist/components/Employee/StateTaxes/management/StateTaxesEditForm.js +7 -6
  168. package/dist/components/Employee/StateTaxes/management/StateTaxesEditForm.js.map +1 -1
  169. package/dist/components/Employee/StateTaxes/onboarding/StateTaxes.js +3 -2
  170. package/dist/components/Employee/StateTaxes/onboarding/StateTaxes.js.map +1 -1
  171. package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.js +3 -2
  172. package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.js.map +1 -1
  173. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +10 -10
  174. package/dist/components/Employee/WorkAddress/management/WorkAddress.js +7 -6
  175. package/dist/components/Employee/WorkAddress/management/WorkAddress.js.map +1 -1
  176. package/dist/components/Employee/exports/employeeOnboarding.d.ts +3 -0
  177. package/dist/components/Employee/exports/employeeOnboarding.js +28 -22
  178. package/dist/components/Employee/exports/employeeOnboarding.js.map +1 -1
  179. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.d.ts +36 -2
  180. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js.map +1 -1
  181. package/dist/components/InformationRequests/InformationRequestForm/index.d.ts +1 -1
  182. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.d.ts +22 -2
  183. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +8 -7
  184. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
  185. package/dist/components/InformationRequests/InformationRequestList/index.d.ts +1 -1
  186. package/dist/components/InformationRequests/InformationRequests.d.ts +29 -2
  187. package/dist/components/InformationRequests/InformationRequests.js +8 -7
  188. package/dist/components/InformationRequests/InformationRequests.js.map +1 -1
  189. package/dist/components/InformationRequests/InformationRequestsComponents.d.ts +2 -0
  190. package/dist/components/InformationRequests/InformationRequestsComponents.js.map +1 -1
  191. package/dist/components/InformationRequests/index.d.ts +3 -3
  192. package/dist/components/InformationRequests/informationRequestsStateMachine.d.ts +2 -0
  193. package/dist/components/InformationRequests/informationRequestsStateMachine.js.map +1 -1
  194. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.d.ts +36 -3
  195. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js +22 -17
  196. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js.map +1 -1
  197. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.d.ts +1 -0
  198. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js +3 -2
  199. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js.map +1 -1
  200. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsComponents.d.ts +14 -0
  201. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsComponents.js.map +1 -1
  202. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.d.ts +1 -8
  203. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +9 -10
  204. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js.map +1 -1
  205. package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.d.ts +1 -1
  206. package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.js +1 -1
  207. package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.js.map +1 -1
  208. package/dist/components/Payroll/ConfirmWireDetails/confirmWireDetailsStateMachine.d.ts +11 -0
  209. package/dist/components/Payroll/ConfirmWireDetails/confirmWireDetailsStateMachine.js.map +1 -1
  210. package/dist/components/Payroll/ConfirmWireDetails/index.d.ts +1 -2
  211. package/dist/components/Payroll/ConfirmWireDetails/types.d.ts +23 -0
  212. package/dist/components/Payroll/Dismissal/DismissalFlow.d.ts +18 -0
  213. package/dist/components/Payroll/Dismissal/DismissalFlow.js.map +1 -1
  214. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.d.ts +15 -0
  215. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js.map +1 -1
  216. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.d.ts +24 -0
  217. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -1
  218. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.d.ts +7 -0
  219. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js.map +1 -1
  220. package/dist/components/Payroll/Dismissal/dismissalStateMachine.d.ts +2 -0
  221. package/dist/components/Payroll/Dismissal/dismissalStateMachine.js.map +1 -1
  222. package/dist/components/Payroll/Dismissal/index.d.ts +1 -1
  223. package/dist/components/Payroll/GrossUpModal/GrossUpModal.d.ts +1 -0
  224. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +33 -25
  225. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
  226. package/dist/components/Payroll/GrossUpModal/GrossUpModalTypes.d.ts +5 -0
  227. package/dist/components/Payroll/GrossUpModal/index.d.ts +0 -1
  228. package/dist/components/Payroll/OffCycle/OffCycleFlow.d.ts +31 -0
  229. package/dist/components/Payroll/OffCycle/OffCycleFlow.js.map +1 -1
  230. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.d.ts +20 -0
  231. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js.map +1 -1
  232. package/dist/components/Payroll/OffCycle/offCycleStateMachine.d.ts +2 -0
  233. package/dist/components/Payroll/OffCycle/offCycleStateMachine.js.map +1 -1
  234. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.d.ts +20 -0
  235. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
  236. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.d.ts +1 -0
  237. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js.map +1 -1
  238. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationTypes.d.ts +24 -0
  239. package/dist/components/Payroll/OffCycleCreation/index.d.ts +1 -1
  240. package/dist/components/Payroll/OffCycleDeductionsSetting/OffCycleDeductionsSetting.d.ts +16 -0
  241. package/dist/components/Payroll/OffCycleDeductionsSetting/OffCycleDeductionsSetting.js.map +1 -1
  242. package/dist/components/Payroll/OffCycleDeductionsSetting/types.d.ts +13 -0
  243. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.d.ts +1 -0
  244. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +1 -1
  245. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
  246. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.d.ts +18 -1
  247. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js.map +1 -1
  248. package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.d.ts +1 -1
  249. package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.js +0 -1
  250. package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.js.map +1 -1
  251. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelection.d.ts +15 -0
  252. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelection.js.map +1 -1
  253. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.d.ts +1 -0
  254. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
  255. package/dist/components/Payroll/OffCycleReasonSelection/types.d.ts +43 -0
  256. package/dist/components/Payroll/OffCycleReasonSelection/types.js.map +1 -1
  257. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.d.ts +1 -0
  258. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js.map +1 -1
  259. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModalTypes.d.ts +5 -1
  260. package/dist/components/Payroll/OffCycleTaxWithholdingModal/index.d.ts +0 -1
  261. package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.d.ts +1 -0
  262. package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.js.map +1 -1
  263. package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.d.ts +14 -0
  264. package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.js.map +1 -1
  265. package/dist/components/Payroll/OffCycleTaxWithholdingTable/index.d.ts +0 -2
  266. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.d.ts +3 -0
  267. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
  268. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.d.ts +19 -5
  269. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js +3 -2
  270. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js.map +1 -1
  271. package/dist/components/Payroll/PayrollBlocker/index.d.ts +0 -1
  272. package/dist/components/Payroll/PayrollBlocker/payrollHelpers.d.ts +17 -11
  273. package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js +0 -2
  274. package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js.map +1 -1
  275. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.d.ts +31 -3
  276. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +1 -2
  277. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
  278. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +1 -0
  279. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
  280. package/dist/components/Payroll/PayrollConfiguration/grossUpHelpers.d.ts +2 -0
  281. package/dist/components/Payroll/PayrollConfiguration/grossUpHelpers.js.map +1 -1
  282. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +2 -0
  283. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
  284. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.d.ts +42 -3
  285. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +1 -2
  286. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
  287. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +3 -1
  288. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +0 -1
  289. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
  290. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.d.ts +8 -6
  291. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +0 -1
  292. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
  293. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.d.ts +65 -0
  294. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js.map +1 -1
  295. package/dist/components/Payroll/PayrollExecutionFlow/index.d.ts +0 -1
  296. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.d.ts +2 -0
  297. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
  298. package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.d.ts +1 -0
  299. package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.js.map +1 -1
  300. package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.d.ts +1 -0
  301. package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js.map +1 -1
  302. package/dist/components/Payroll/PayrollFlow/PayrollFlow.d.ts +38 -0
  303. package/dist/components/Payroll/PayrollFlow/PayrollFlow.js.map +1 -1
  304. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +27 -0
  305. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
  306. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.d.ts +1 -0
  307. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js.map +1 -1
  308. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.d.ts +2 -0
  309. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -1
  310. package/dist/components/Payroll/PayrollHistory/PayrollHistory.d.ts +25 -1
  311. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +1 -2
  312. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
  313. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +1 -0
  314. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
  315. package/dist/components/Payroll/PayrollLanding/PayrollLanding.d.ts +33 -4
  316. package/dist/components/Payroll/PayrollLanding/PayrollLanding.js +1 -2
  317. package/dist/components/Payroll/PayrollLanding/PayrollLanding.js.map +1 -1
  318. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.d.ts +19 -0
  319. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js.map +1 -1
  320. package/dist/components/Payroll/PayrollLanding/payrollLandingStateMachine.d.ts +2 -0
  321. package/dist/components/Payroll/PayrollLanding/payrollLandingStateMachine.js.map +1 -1
  322. package/dist/components/Payroll/PayrollList/PayrollList.d.ts +32 -13
  323. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  324. package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +1 -0
  325. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +65 -68
  326. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
  327. package/dist/components/Payroll/PayrollList/types.d.ts +1 -0
  328. package/dist/components/Payroll/PayrollOverview/PayrollOverview.d.ts +39 -3
  329. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +1 -2
  330. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
  331. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +1 -0
  332. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
  333. package/dist/components/Payroll/PayrollOverview/PayrollOverviewTypes.d.ts +1 -0
  334. package/dist/components/Payroll/PayrollOverview/PayrollOverviewTypes.js.map +1 -1
  335. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.d.ts +1 -0
  336. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js.map +1 -1
  337. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.d.ts +1 -0
  338. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.js.map +1 -1
  339. package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.d.ts +26 -3
  340. package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js +8 -12
  341. package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js.map +1 -1
  342. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.d.ts +1 -0
  343. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
  344. package/dist/components/Payroll/PayrollStatusBadges/PayrollStatusBadges.d.ts +1 -0
  345. package/dist/components/Payroll/PayrollStatusBadges/PayrollStatusBadges.js.map +1 -1
  346. package/dist/components/Payroll/PayrollStatusBadges/index.d.ts +0 -2
  347. package/dist/components/Payroll/PayrollStatusBadges/payrollStatusConfig.d.ts +26 -0
  348. package/dist/components/Payroll/PayrollStatusBadges/payrollStatusConfig.js.map +1 -1
  349. package/dist/components/Payroll/PayrollStatusBadges/usePayrollStatusBadges.d.ts +2 -0
  350. package/dist/components/Payroll/PayrollStatusBadges/usePayrollStatusBadges.js.map +1 -1
  351. package/dist/components/Payroll/RecoveryCases/RecoveryCases.d.ts +21 -1
  352. package/dist/components/Payroll/RecoveryCases/RecoveryCases.js +7 -6
  353. package/dist/components/Payroll/RecoveryCases/RecoveryCases.js.map +1 -1
  354. package/dist/components/Payroll/RecoveryCases/RecoveryCasesComponents.d.ts +5 -0
  355. package/dist/components/Payroll/RecoveryCases/RecoveryCasesComponents.js.map +1 -1
  356. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.d.ts +1 -0
  357. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +3 -2
  358. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
  359. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.d.ts +1 -0
  360. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
  361. package/dist/components/Payroll/RecoveryCases/index.d.ts +0 -1
  362. package/dist/components/Payroll/RecoveryCases/recoveryCasesStateMachine.d.ts +5 -0
  363. package/dist/components/Payroll/RecoveryCases/recoveryCasesStateMachine.js.map +1 -1
  364. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.d.ts +5 -0
  365. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js.map +1 -1
  366. package/dist/components/Payroll/Transition/TransitionFlow.d.ts +21 -0
  367. package/dist/components/Payroll/Transition/TransitionFlow.js.map +1 -1
  368. package/dist/components/Payroll/Transition/TransitionFlowComponents.d.ts +23 -0
  369. package/dist/components/Payroll/Transition/TransitionFlowComponents.js.map +1 -1
  370. package/dist/components/Payroll/Transition/transitionStateMachine.d.ts +2 -0
  371. package/dist/components/Payroll/Transition/transitionStateMachine.js.map +1 -1
  372. package/dist/components/Payroll/TransitionCreation/TransitionCreation.d.ts +20 -0
  373. package/dist/components/Payroll/TransitionCreation/TransitionCreation.js.map +1 -1
  374. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.d.ts +7 -0
  375. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +10 -10
  376. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js.map +1 -1
  377. package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.d.ts +27 -0
  378. package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js.map +1 -1
  379. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.d.ts +1 -0
  380. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js.map +1 -1
  381. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.d.ts +5 -0
  382. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js.map +1 -1
  383. package/dist/components/Payroll/helpers.d.ts +157 -26
  384. package/dist/components/Payroll/helpers.js +0 -1
  385. package/dist/components/Payroll/helpers.js.map +1 -1
  386. package/dist/components/Payroll/index.d.ts +11 -2
  387. package/dist/components/Payroll/payrollTypes.d.ts +24 -0
  388. package/dist/components/Payroll/payrollTypes.js.map +1 -1
  389. package/dist/components/Payroll/usePreparedPayrollData.d.ts +12 -0
  390. package/dist/components/Payroll/usePreparedPayrollData.js +34 -22
  391. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
  392. package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.d.ts +7 -0
  393. package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.js.map +1 -1
  394. package/dist/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.d.ts +19 -0
  395. package/dist/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js +3 -2
  396. package/dist/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js.map +1 -1
  397. package/dist/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.d.ts +44 -0
  398. package/dist/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js +3 -2
  399. package/dist/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js.map +1 -1
  400. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.d.ts +4 -0
  401. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.js.map +1 -1
  402. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.d.ts +1 -0
  403. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js.map +1 -1
  404. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailTypes.d.ts +28 -2
  405. package/dist/components/TimeOff/HolidayPolicyDetail/index.d.ts +0 -2
  406. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.d.ts +26 -0
  407. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +1 -1
  408. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.d.ts +1 -0
  409. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js.map +1 -1
  410. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormTypes.d.ts +10 -0
  411. package/dist/components/TimeOff/PolicyList/PolicyList.d.ts +25 -0
  412. package/dist/components/TimeOff/PolicyList/PolicyList.js +3 -2
  413. package/dist/components/TimeOff/PolicyList/PolicyList.js.map +1 -1
  414. package/dist/components/TimeOff/PolicyList/PolicyListPresentation.d.ts +1 -0
  415. package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js.map +1 -1
  416. package/dist/components/TimeOff/PolicyList/PolicyListTypes.d.ts +17 -0
  417. package/dist/components/TimeOff/PolicySettings/PolicySettings.d.ts +22 -0
  418. package/dist/components/TimeOff/PolicySettings/PolicySettings.js.map +1 -1
  419. package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.d.ts +14 -0
  420. package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js.map +1 -1
  421. package/dist/components/TimeOff/PolicySettings/PolicySettingsTypes.d.ts +31 -0
  422. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.d.ts +23 -0
  423. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.js.map +1 -1
  424. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.d.ts +1 -0
  425. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js.map +1 -1
  426. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorTypes.d.ts +10 -0
  427. package/dist/components/TimeOff/TimeOffFlow/TimeOffFlow.d.ts +42 -0
  428. package/dist/components/TimeOff/TimeOffFlow/TimeOffFlow.js.map +1 -1
  429. package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +26 -0
  430. package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -1
  431. package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.d.ts +15 -2
  432. package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.js +1 -6
  433. package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.js.map +1 -1
  434. package/dist/components/TimeOff/TimeOffFlow/timeOffStateMachine.d.ts +1 -0
  435. package/dist/components/TimeOff/TimeOffFlow/timeOffStateMachine.js.map +1 -1
  436. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.d.ts +29 -0
  437. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js.map +1 -1
  438. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.d.ts +1 -0
  439. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js.map +1 -1
  440. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormTypes.d.ts +59 -1
  441. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/index.d.ts +0 -3
  442. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.d.ts +1 -0
  443. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js.map +1 -1
  444. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.d.ts +1 -0
  445. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js +43 -42
  446. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js.map +1 -1
  447. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.d.ts +2 -0
  448. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.d.ts +1 -0
  449. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js.map +1 -1
  450. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.d.ts +3 -0
  451. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js.map +1 -1
  452. package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.d.ts +9 -0
  453. package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js.map +1 -1
  454. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.d.ts +25 -0
  455. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js.map +1 -1
  456. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.d.ts +14 -0
  457. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.js.map +1 -1
  458. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailTypes.d.ts +97 -6
  459. package/dist/components/TimeOff/TimeOffPolicyDetail/index.d.ts +1 -5
  460. package/dist/components/TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.d.ts +23 -0
  461. package/dist/components/TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js.map +1 -1
  462. package/dist/components/TimeOff/ViewHolidayPolicyDetails/ViewHolidayPolicyDetails.d.ts +22 -0
  463. package/dist/components/TimeOff/ViewHolidayPolicyDetails/ViewHolidayPolicyDetails.js.map +1 -1
  464. package/dist/components/TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.d.ts +22 -0
  465. package/dist/components/TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js.map +1 -1
  466. package/dist/components/TimeOff/index.d.ts +8 -2
  467. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.d.ts +1 -0
  468. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js +48 -49
  469. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js.map +1 -1
  470. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTableTypes.d.ts +66 -0
  471. package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.d.ts +1 -0
  472. package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js.map +1 -1
  473. package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayoutTypes.d.ts +28 -0
  474. package/dist/components/TimeOff/shared/PolicyDetailLayout/index.d.ts +0 -1
  475. package/dist/components/TimeOff/shared/holidayHelpers.d.ts +5 -0
  476. package/dist/components/TimeOff/shared/holidayHelpers.js.map +1 -1
  477. package/dist/contexts/ComponentAdapter/componentAdapterTypes.d.ts +4 -4
  478. package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.d.ts +39 -39
  479. package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js.map +1 -1
  480. package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +42 -42
  481. package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
  482. package/dist/index.d.ts +1 -1
  483. package/dist/index.js +206 -205
  484. package/dist/partner-hook-utils/form/fields/DatePickerHookField.js +1 -1
  485. package/dist/shared/constants.d.ts +12 -1
  486. package/dist/shared/constants.js.map +1 -1
  487. package/docs/reference/endpoint-inventory.json +55 -0
  488. package/package.json +6 -5
  489. package/dist/assets/icons/feature-icon-check.svg.js +0 -10
  490. package/dist/assets/icons/feature-icon-check.svg.js.map +0 -1
  491. package/dist/components/Payroll/PayrollEditEmployee/index.d.ts +0 -4
  492. package/dist/components/Payroll/PayrollFlow/index.d.ts +0 -3
  493. package/dist/components/TimeOff/TimeOffFlow/index.d.ts +0 -3
  494. package/dist/components/TimeOff/shared/EmployeeTable/index.d.ts +0 -4
@@ -4,6 +4,7 @@ import { HTMLAttributes } from 'react';
4
4
  * Renders a spinner indicating that content is loading.
5
5
  *
6
6
  * @public
7
+ * @group Component Props
7
8
  */
8
9
  export interface LoadingSpinnerProps extends Pick<HTMLAttributes<HTMLDivElement>, 'className' | 'id' | 'aria-label'> {
9
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingSpinnerTypes.js","sources":["../../../../../src/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes.ts"],"sourcesContent":["import type { HTMLAttributes } from 'react'\n\n/**\n * Props your `LoadingSpinner` implementation must accept from the component adapter.\n * Renders a spinner indicating that content is loading.\n *\n * @public\n */\nexport interface LoadingSpinnerProps extends Pick<\n HTMLAttributes<HTMLDivElement>,\n 'className' | 'id' | 'aria-label'\n> {\n /**\n * Size of the spinner\n *\n * @defaultValue `'lg'`\n */\n size?: 'lg' | 'sm'\n /**\n * Display style of the spinner\n *\n * @defaultValue `'block'`\n */\n style?: 'inline' | 'block'\n}\n\n/**\n * Default prop values for the {@link LoadingSpinner} component.\n *\n * @internal\n */\nexport const LoadingSpinnerDefaults = {\n size: 'lg',\n style: 'block',\n} as const satisfies Partial<LoadingSpinnerProps>\n"],"names":["LoadingSpinnerDefaults"],"mappings":"AA+BO,MAAMA,IAAyB;AAAA,EACpC,MAAM;AAAA,EACN,OAAO;AACT;"}
1
+ {"version":3,"file":"LoadingSpinnerTypes.js","sources":["../../../../../src/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes.ts"],"sourcesContent":["import type { HTMLAttributes } from 'react'\n\n/**\n * Props your `LoadingSpinner` implementation must accept from the component adapter.\n * Renders a spinner indicating that content is loading.\n *\n * @public\n * @group Component Props\n */\nexport interface LoadingSpinnerProps extends Pick<\n HTMLAttributes<HTMLDivElement>,\n 'className' | 'id' | 'aria-label'\n> {\n /**\n * Size of the spinner\n *\n * @defaultValue `'lg'`\n */\n size?: 'lg' | 'sm'\n /**\n * Display style of the spinner\n *\n * @defaultValue `'block'`\n */\n style?: 'inline' | 'block'\n}\n\n/**\n * Default prop values for the {@link LoadingSpinner} component.\n *\n * @internal\n */\nexport const LoadingSpinnerDefaults = {\n size: 'lg',\n style: 'block',\n} as const satisfies Partial<LoadingSpinnerProps>\n"],"names":["LoadingSpinnerDefaults"],"mappings":"AAgCO,MAAMA,IAAyB;AAAA,EACpC,MAAM;AAAA,EACN,OAAO;AACT;"}
@@ -5,6 +5,7 @@ import { DataAttributes } from '../../../../types/Helpers';
5
5
  * from the component adapter.
6
6
  *
7
7
  * @public
8
+ * @group Utility Types
8
9
  */
9
10
  export interface MenuItem extends DataAttributes {
10
11
  /**
@@ -33,6 +34,7 @@ export interface MenuItem extends DataAttributes {
33
34
  * Renders a popover menu of actions anchored to a trigger element.
34
35
  *
35
36
  * @public
37
+ * @group Component Props
36
38
  */
37
39
  export interface MenuProps extends DataAttributes {
38
40
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"MenuTypes.js","sources":["../../../../../src/components/Common/UI/Menu/MenuTypes.ts"],"sourcesContent":["import type { ReactNode, RefObject } from 'react'\nimport type { DataAttributes } from '@/types/Helpers'\n\n/**\n * Action entry your `Menu` implementation must accept for each entry in its `items` array\n * from the component adapter.\n *\n * @public\n */\nexport interface MenuItem extends DataAttributes {\n /**\n * Text label for the menu item\n */\n label: string\n /**\n * Optional icon to display before the label\n */\n icon?: ReactNode\n /**\n * Callback function when the menu item is clicked\n */\n onClick: () => void\n /**\n * Disables the menu item and prevents interaction\n */\n isDisabled?: boolean\n /**\n * Optional URL to navigate to when clicked\n */\n href?: string\n}\n\n/**\n * Props your `Menu` implementation must accept from the component adapter.\n * Renders a popover menu of actions anchored to a trigger element.\n *\n * @public\n */\nexport interface MenuProps extends DataAttributes {\n /**\n * Reference to the element that triggers the menu\n */\n triggerRef?: RefObject<Element | null>\n /**\n * Array of menu items to display\n */\n items?: MenuItem[]\n /**\n * Controls whether the menu is currently open\n *\n * @defaultValue `false`\n */\n isOpen?: boolean\n /**\n * Callback when the menu is closed\n */\n onClose?: () => void\n /**\n * Accessible label describing the menu's purpose\n */\n 'aria-label': string\n /**\n * Element to use as the portal container for the menu popover.\n * Overrides the default SDK root container from context.\n */\n portalContainer?: HTMLElement\n /**\n * Controls the placement of the menu popover relative to the trigger\n *\n * @defaultValue `'bottom start'`\n */\n placement?:\n | 'top'\n | 'top start'\n | 'top end'\n | 'bottom'\n | 'bottom start'\n | 'bottom end'\n | 'left'\n | 'right'\n}\n\n/**\n * Default prop values for the {@link Menu} component.\n *\n * @internal\n */\nexport const MenuDefaults = {\n isOpen: false,\n placement: 'bottom start',\n} as const satisfies Partial<MenuProps>\n"],"names":["MenuDefaults"],"mappings":"AAuFO,MAAMA,IAAe;AAAA,EAC1B,QAAQ;AAAA,EACR,WAAW;AACb;"}
1
+ {"version":3,"file":"MenuTypes.js","sources":["../../../../../src/components/Common/UI/Menu/MenuTypes.ts"],"sourcesContent":["import type { ReactNode, RefObject } from 'react'\nimport type { DataAttributes } from '@/types/Helpers'\n\n/**\n * Action entry your `Menu` implementation must accept for each entry in its `items` array\n * from the component adapter.\n *\n * @public\n * @group Utility Types\n */\nexport interface MenuItem extends DataAttributes {\n /**\n * Text label for the menu item\n */\n label: string\n /**\n * Optional icon to display before the label\n */\n icon?: ReactNode\n /**\n * Callback function when the menu item is clicked\n */\n onClick: () => void\n /**\n * Disables the menu item and prevents interaction\n */\n isDisabled?: boolean\n /**\n * Optional URL to navigate to when clicked\n */\n href?: string\n}\n\n/**\n * Props your `Menu` implementation must accept from the component adapter.\n * Renders a popover menu of actions anchored to a trigger element.\n *\n * @public\n * @group Component Props\n */\nexport interface MenuProps extends DataAttributes {\n /**\n * Reference to the element that triggers the menu\n */\n triggerRef?: RefObject<Element | null>\n /**\n * Array of menu items to display\n */\n items?: MenuItem[]\n /**\n * Controls whether the menu is currently open\n *\n * @defaultValue `false`\n */\n isOpen?: boolean\n /**\n * Callback when the menu is closed\n */\n onClose?: () => void\n /**\n * Accessible label describing the menu's purpose\n */\n 'aria-label': string\n /**\n * Element to use as the portal container for the menu popover.\n * Overrides the default SDK root container from context.\n */\n portalContainer?: HTMLElement\n /**\n * Controls the placement of the menu popover relative to the trigger\n *\n * @defaultValue `'bottom start'`\n */\n placement?:\n | 'top'\n | 'top start'\n | 'top end'\n | 'bottom'\n | 'bottom start'\n | 'bottom end'\n | 'left'\n | 'right'\n}\n\n/**\n * Default prop values for the {@link Menu} component.\n *\n * @internal\n */\nexport const MenuDefaults = {\n isOpen: false,\n placement: 'bottom start',\n} as const satisfies Partial<MenuProps>\n"],"names":["MenuDefaults"],"mappings":"AAyFO,MAAMA,IAAe;AAAA,EAC1B,QAAQ;AAAA,EACR,WAAW;AACb;"}
@@ -4,6 +4,7 @@ import { ReactNode } from 'react';
4
4
  * Renders a modal overlay with body and footer content.
5
5
  *
6
6
  * @public
7
+ * @group Component Props
7
8
  */
8
9
  export interface ModalProps {
9
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ModalTypes.js","sources":["../../../../../src/components/Common/UI/Modal/ModalTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Props your `Modal` implementation must accept from the component adapter.\n * Renders a modal overlay with body and footer content.\n *\n * @public\n */\nexport interface ModalProps {\n /**\n * Controls whether the modal is open or closed\n *\n * @defaultValue `false`\n */\n isOpen?: boolean\n /**\n * Callback function called when the modal should be closed\n */\n onClose?: () => void\n /**\n * Whether clicking the backdrop should close the modal\n *\n * @defaultValue `false`\n */\n shouldCloseOnBackdropClick?: boolean\n /**\n * Main content to be rendered in the modal body\n */\n children?: ReactNode\n /**\n * Footer content to be rendered at the bottom of the modal\n */\n footer?: ReactNode\n /**\n * Optional ref to the backdrop container\n */\n containerRef?: React.RefObject<HTMLDivElement | null>\n}\n\n/**\n * Default prop values for the {@link Modal} component.\n *\n * @internal\n */\nexport const ModalDefaults = {\n isOpen: false,\n shouldCloseOnBackdropClick: false,\n} as const satisfies Partial<ModalProps>\n"],"names":["ModalDefaults"],"mappings":"AA4CO,MAAMA,IAAgB;AAAA,EAC3B,QAAQ;AAAA,EACR,4BAA4B;AAC9B;"}
1
+ {"version":3,"file":"ModalTypes.js","sources":["../../../../../src/components/Common/UI/Modal/ModalTypes.ts"],"sourcesContent":["import type { ReactNode } from 'react'\n\n/**\n * Props your `Modal` implementation must accept from the component adapter.\n * Renders a modal overlay with body and footer content.\n *\n * @public\n * @group Component Props\n */\nexport interface ModalProps {\n /**\n * Controls whether the modal is open or closed\n *\n * @defaultValue `false`\n */\n isOpen?: boolean\n /**\n * Callback function called when the modal should be closed\n */\n onClose?: () => void\n /**\n * Whether clicking the backdrop should close the modal\n *\n * @defaultValue `false`\n */\n shouldCloseOnBackdropClick?: boolean\n /**\n * Main content to be rendered in the modal body\n */\n children?: ReactNode\n /**\n * Footer content to be rendered at the bottom of the modal\n */\n footer?: ReactNode\n /**\n * Optional ref to the backdrop container\n */\n containerRef?: React.RefObject<HTMLDivElement | null>\n}\n\n/**\n * Default prop values for the {@link Modal} component.\n *\n * @internal\n */\nexport const ModalDefaults = {\n isOpen: false,\n shouldCloseOnBackdropClick: false,\n} as const satisfies Partial<ModalProps>\n"],"names":["ModalDefaults"],"mappings":"AA6CO,MAAMA,IAAgB;AAAA,EAC3B,QAAQ;AAAA,EACR,4BAA4B;AAC9B;"}
@@ -4,6 +4,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
4
4
  * Option entry for a `MultiSelectComboBox` dropdown list.
5
5
  *
6
6
  * @public
7
+ * @group Utility Types
7
8
  */
8
9
  export interface MultiSelectComboBoxOption {
9
10
  /**
@@ -20,6 +21,7 @@ export interface MultiSelectComboBoxOption {
20
21
  * Renders a form field wrapping a typeahead input for multi-option selection.
21
22
  *
22
23
  * @public
24
+ * @group Component Props
23
25
  * @see {@link ComboBoxProps}
24
26
  */
25
27
  export interface MultiSelectComboBoxProps extends SharedFieldLayoutProps, Pick<InputHTMLAttributes<HTMLInputElement>, 'className' | 'id' | 'name' | 'placeholder'> {
@@ -6,6 +6,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
6
6
  * Renders a form field wrapping a numeric `<input />` for currency, decimal, or percent values, with optional start/end adornments.
7
7
  *
8
8
  * @public
9
+ * @group Component Props
9
10
  */
10
11
  export interface NumberInputProps extends SharedFieldLayoutProps, Pick<InputHTMLAttributes<HTMLInputElement>, 'min' | 'max' | 'name' | 'id' | 'placeholder' | 'className'> {
11
12
  /**
@@ -3,6 +3,7 @@
3
3
  * Renders a step-based progress indicator for multi-step flows.
4
4
  *
5
5
  * @public
6
+ * @group Component Props
6
7
  */
7
8
  export interface ProgressBarProps {
8
9
  /**
@@ -5,6 +5,7 @@ import { SharedHorizontalFieldLayoutProps } from '../../HorizontalFieldLayout/Ho
5
5
  * Renders a form field wrapping an `<input type="radio" />` with a label, optional description, and error message.
6
6
  *
7
7
  * @public
8
+ * @group Component Props
8
9
  */
9
10
  export interface RadioProps extends SharedHorizontalFieldLayoutProps, Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id' | 'className' | 'onBlur'> {
10
11
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"RadioTypes.js","sources":["../../../../../src/components/Common/UI/Radio/RadioTypes.ts"],"sourcesContent":["import type { InputHTMLAttributes, Ref } from 'react'\nimport type { SharedHorizontalFieldLayoutProps } from '@/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes'\n\n/**\n * Props your `Radio` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input type=\"radio\" />` with a label, optional description, and error message.\n *\n * @public\n */\nexport interface RadioProps\n extends\n SharedHorizontalFieldLayoutProps,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id' | 'className' | 'onBlur'> {\n /**\n * Current checked state of the radio button\n */\n value?: boolean\n /**\n * Callback when radio button state changes\n */\n onChange?: (checked: boolean) => void\n /**\n * React ref for the radio input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the radio button and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n}\n\n/**\n * Default prop values for the Radio component.\n *\n * @internal\n */\nexport const RadioDefaults = {\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<RadioProps>\n"],"names":["RadioDefaults"],"mappings":"AA4CO,MAAMA,IAAgB;AAAA,EAC3B,WAAW;AAAA,EACX,YAAY;AACd;"}
1
+ {"version":3,"file":"RadioTypes.js","sources":["../../../../../src/components/Common/UI/Radio/RadioTypes.ts"],"sourcesContent":["import type { InputHTMLAttributes, Ref } from 'react'\nimport type { SharedHorizontalFieldLayoutProps } from '@/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes'\n\n/**\n * Props your `Radio` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input type=\"radio\" />` with a label, optional description, and error message.\n *\n * @public\n * @group Component Props\n */\nexport interface RadioProps\n extends\n SharedHorizontalFieldLayoutProps,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id' | 'className' | 'onBlur'> {\n /**\n * Current checked state of the radio button\n */\n value?: boolean\n /**\n * Callback when radio button state changes\n */\n onChange?: (checked: boolean) => void\n /**\n * React ref for the radio input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the radio button and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n}\n\n/**\n * Default prop values for the Radio component.\n *\n * @internal\n */\nexport const RadioDefaults = {\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<RadioProps>\n"],"names":["RadioDefaults"],"mappings":"AA6CO,MAAMA,IAAgB;AAAA,EAC3B,WAAW;AAAA,EACX,YAAY;AACd;"}
@@ -4,6 +4,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
4
4
  * Option entry your `RadioGroup` implementation receives in the `options` array when rendering each radio button.
5
5
  *
6
6
  * @public
7
+ * @group Utility Types
7
8
  */
8
9
  export interface RadioGroupOption {
9
10
  /**
@@ -28,6 +29,7 @@ export interface RadioGroupOption {
28
29
  * Renders a form field wrapping multiple `<input type="radio" />` elements with a label, optional description, and error message.
29
30
  *
30
31
  * @public
32
+ * @group Component Props
31
33
  */
32
34
  export interface RadioGroupProps extends SharedFieldLayoutProps, Pick<FieldsetHTMLAttributes<HTMLFieldSetElement>, 'className'> {
33
35
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroupTypes.js","sources":["../../../../../src/components/Common/UI/RadioGroup/RadioGroupTypes.ts"],"sourcesContent":["import type { FieldsetHTMLAttributes, Ref } from 'react'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Option entry your `RadioGroup` implementation receives in the `options` array when rendering each radio button.\n *\n * @public\n */\nexport interface RadioGroupOption {\n /**\n * Label text or content for the radio option\n */\n label: React.ReactNode\n /**\n * Value of the option that will be passed to onChange\n */\n value: string\n /**\n * Disables this specific radio option\n */\n isDisabled?: boolean\n /**\n * Optional description text for the radio option\n */\n description?: React.ReactNode\n}\n\n/**\n * Props your `RadioGroup` implementation must accept from the component adapter.\n * Renders a form field wrapping multiple `<input type=\"radio\" />` elements with a label, optional description, and error message.\n *\n * @public\n */\nexport interface RadioGroupProps\n extends SharedFieldLayoutProps, Pick<FieldsetHTMLAttributes<HTMLFieldSetElement>, 'className'> {\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables all radio options in the group\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Array of radio options to display\n */\n options: Array<RadioGroupOption>\n /**\n * Currently selected value\n */\n value?: string | null\n /**\n * Initially selected value\n */\n defaultValue?: string\n /**\n * Callback when selection changes\n */\n onChange?: (value: string) => void\n /**\n * React ref for the first radio input element\n */\n inputRef?: Ref<HTMLInputElement>\n}\n\n/**\n * Default prop values for the RadioGroup component.\n *\n * @internal\n */\nexport const RadioGroupDefaults = {\n isRequired: false,\n isInvalid: false,\n isDisabled: false,\n shouldVisuallyHideLabel: false,\n} as const satisfies Partial<RadioGroupProps>\n"],"names":["RadioGroupDefaults"],"mappings":"AA0EO,MAAMA,IAAqB;AAAA,EAChC,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,yBAAyB;AAC3B;"}
1
+ {"version":3,"file":"RadioGroupTypes.js","sources":["../../../../../src/components/Common/UI/RadioGroup/RadioGroupTypes.ts"],"sourcesContent":["import type { FieldsetHTMLAttributes, Ref } from 'react'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Option entry your `RadioGroup` implementation receives in the `options` array when rendering each radio button.\n *\n * @public\n * @group Utility Types\n */\nexport interface RadioGroupOption {\n /**\n * Label text or content for the radio option\n */\n label: React.ReactNode\n /**\n * Value of the option that will be passed to onChange\n */\n value: string\n /**\n * Disables this specific radio option\n */\n isDisabled?: boolean\n /**\n * Optional description text for the radio option\n */\n description?: React.ReactNode\n}\n\n/**\n * Props your `RadioGroup` implementation must accept from the component adapter.\n * Renders a form field wrapping multiple `<input type=\"radio\" />` elements with a label, optional description, and error message.\n *\n * @public\n * @group Component Props\n */\nexport interface RadioGroupProps\n extends SharedFieldLayoutProps, Pick<FieldsetHTMLAttributes<HTMLFieldSetElement>, 'className'> {\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables all radio options in the group\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Array of radio options to display\n */\n options: Array<RadioGroupOption>\n /**\n * Currently selected value\n */\n value?: string | null\n /**\n * Initially selected value\n */\n defaultValue?: string\n /**\n * Callback when selection changes\n */\n onChange?: (value: string) => void\n /**\n * React ref for the first radio input element\n */\n inputRef?: Ref<HTMLInputElement>\n}\n\n/**\n * Default prop values for the RadioGroup component.\n *\n * @internal\n */\nexport const RadioGroupDefaults = {\n isRequired: false,\n isInvalid: false,\n isDisabled: false,\n shouldVisuallyHideLabel: false,\n} as const satisfies Partial<RadioGroupProps>\n"],"names":["RadioGroupDefaults"],"mappings":"AA4EO,MAAMA,IAAqB;AAAA,EAChC,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,yBAAyB;AAC3B;"}
@@ -4,6 +4,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
4
4
  * Option entry your `Select` implementation receives in the `options` array when rendering each item in the dropdown.
5
5
  *
6
6
  * @public
7
+ * @group Utility Types
7
8
  */
8
9
  export interface SelectOption {
9
10
  /**
@@ -20,6 +21,7 @@ export interface SelectOption {
20
21
  * Renders a form field wrapping a single-select dropdown with a label, description, and error message.
21
22
  *
22
23
  * @public
24
+ * @group Component Props
23
25
  */
24
26
  export interface SelectProps extends SharedFieldLayoutProps, Pick<SelectHTMLAttributes<HTMLSelectElement>, 'id' | 'name' | 'className'> {
25
27
  /**
@@ -5,6 +5,7 @@ import { SharedHorizontalFieldLayoutProps } from '../../HorizontalFieldLayout/Ho
5
5
  * Renders a form field wrapping an `<input type="checkbox" />` styled as a boolean on/off toggle.
6
6
  *
7
7
  * @public
8
+ * @group Component Props
8
9
  */
9
10
  export interface SwitchProps extends SharedHorizontalFieldLayoutProps, Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id'>, Pick<AriaAttributes, 'aria-controls'> {
10
11
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"SwitchTypes.js","sources":["../../../../../src/components/Common/UI/Switch/SwitchTypes.ts"],"sourcesContent":["import type { AriaAttributes, InputHTMLAttributes, Ref } from 'react'\nimport type { SharedHorizontalFieldLayoutProps } from '@/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes'\n\n/**\n * Props your `Switch` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input type=\"checkbox\" />` styled as a boolean on/off toggle.\n *\n * @public\n */\nexport interface SwitchProps\n extends\n SharedHorizontalFieldLayoutProps,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id'>,\n Pick<AriaAttributes, 'aria-controls'> {\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Callback when switch state changes\n */\n onChange?: (checked: boolean) => void\n /**\n * Current checked state of the switch\n */\n value?: boolean\n /**\n * React ref for the switch input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the switch and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Additional CSS class name for the switch container\n */\n className?: string\n /**\n * Label text for the switch\n */\n label: string\n}\n\n/**\n * Default prop values for the Switch component.\n *\n * @internal\n */\nexport const SwitchDefaults = {\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<SwitchProps>\n"],"names":["SwitchDefaults"],"mappings":"AAyDO,MAAMA,IAAiB;AAAA,EAC5B,WAAW;AAAA,EACX,YAAY;AACd;"}
1
+ {"version":3,"file":"SwitchTypes.js","sources":["../../../../../src/components/Common/UI/Switch/SwitchTypes.ts"],"sourcesContent":["import type { AriaAttributes, InputHTMLAttributes, Ref } from 'react'\nimport type { SharedHorizontalFieldLayoutProps } from '@/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes'\n\n/**\n * Props your `Switch` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input type=\"checkbox\" />` styled as a boolean on/off toggle.\n *\n * @public\n * @group Component Props\n */\nexport interface SwitchProps\n extends\n SharedHorizontalFieldLayoutProps,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id'>,\n Pick<AriaAttributes, 'aria-controls'> {\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Callback when switch state changes\n */\n onChange?: (checked: boolean) => void\n /**\n * Current checked state of the switch\n */\n value?: boolean\n /**\n * React ref for the switch input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the switch and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Additional CSS class name for the switch container\n */\n className?: string\n /**\n * Label text for the switch\n */\n label: string\n}\n\n/**\n * Default prop values for the Switch component.\n *\n * @internal\n */\nexport const SwitchDefaults = {\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<SwitchProps>\n"],"names":["SwitchDefaults"],"mappings":"AA0DO,MAAMA,IAAiB;AAAA,EAC5B,WAAW;AAAA,EACX,YAAY;AACd;"}
@@ -3,6 +3,7 @@ import { ReactNode, TableHTMLAttributes } from 'react';
3
3
  * Shape of a single cell your `Table` implementation receives for headers, rows, and footers.
4
4
  *
5
5
  * @public
6
+ * @group Utility Types
6
7
  */
7
8
  export interface TableData {
8
9
  /**
@@ -18,6 +19,7 @@ export interface TableData {
18
19
  * Shape of a single row your `Table` implementation receives, containing an ordered list of cells.
19
20
  *
20
21
  * @public
22
+ * @group Utility Types
21
23
  */
22
24
  export interface TableRow {
23
25
  /**
@@ -34,6 +36,7 @@ export interface TableRow {
34
36
  * Renders a table with column headers, body rows, an optional footer row, and an optional empty state.
35
37
  *
36
38
  * @public
39
+ * @group Component Props
37
40
  */
38
41
  export interface TableProps extends Pick<TableHTMLAttributes<HTMLTableElement>, 'className' | 'aria-label' | 'id' | 'role' | 'aria-labelledby' | 'aria-describedby'> {
39
42
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"TableTypes.js","sources":["../../../../../src/components/Common/UI/Table/TableTypes.ts"],"sourcesContent":["import type { ReactNode, TableHTMLAttributes } from 'react'\n\n/**\n * Shape of a single cell your `Table` implementation receives for headers, rows, and footers.\n *\n * @public\n */\nexport interface TableData {\n /**\n * Unique identifier for the table cell\n */\n key: string\n /**\n * Content to be displayed in the table cell\n */\n content: ReactNode\n}\n\n/**\n * Shape of a single row your `Table` implementation receives, containing an ordered list of cells.\n *\n * @public\n */\nexport interface TableRow {\n /**\n * Unique identifier for the table row\n */\n key: string\n /**\n * Array of cells to be displayed in the row\n */\n data: TableData[]\n}\n\n/**\n * Props your `Table` implementation must accept from the component adapter.\n * Renders a table with column headers, body rows, an optional footer row, and an optional empty state.\n *\n * @public\n */\nexport interface TableProps extends Pick<\n TableHTMLAttributes<HTMLTableElement>,\n 'className' | 'aria-label' | 'id' | 'role' | 'aria-labelledby' | 'aria-describedby'\n> {\n /**\n * Array of header cells for the table\n */\n headers: TableData[]\n /**\n * Array of rows to be displayed in the table\n */\n rows: TableRow[]\n /**\n * Array of footer cells for the table\n */\n footer?: TableData[]\n /**\n * Content to display when the table has no rows\n */\n emptyState?: ReactNode\n /**\n * Removes borders and background for use inside a Box component\n *\n * @defaultValue `false`\n */\n isWithinBox?: boolean\n /**\n * Whether the first column contains checkboxes (affects which column gets leading variant)\n *\n * @defaultValue `false`\n */\n hasCheckboxColumn?: boolean\n}\n\n/**\n * Default prop values for the Table component.\n *\n * @internal\n */\nexport const TableDefaults = {\n isWithinBox: false,\n hasCheckboxColumn: false,\n} as const satisfies Partial<TableProps>\n"],"names":["TableDefaults"],"mappings":"AA+EO,MAAMA,IAAgB;AAAA,EAC3B,aAAa;AAAA,EACb,mBAAmB;AACrB;"}
1
+ {"version":3,"file":"TableTypes.js","sources":["../../../../../src/components/Common/UI/Table/TableTypes.ts"],"sourcesContent":["import type { ReactNode, TableHTMLAttributes } from 'react'\n\n/**\n * Shape of a single cell your `Table` implementation receives for headers, rows, and footers.\n *\n * @public\n * @group Utility Types\n */\nexport interface TableData {\n /**\n * Unique identifier for the table cell\n */\n key: string\n /**\n * Content to be displayed in the table cell\n */\n content: ReactNode\n}\n\n/**\n * Shape of a single row your `Table` implementation receives, containing an ordered list of cells.\n *\n * @public\n * @group Utility Types\n */\nexport interface TableRow {\n /**\n * Unique identifier for the table row\n */\n key: string\n /**\n * Array of cells to be displayed in the row\n */\n data: TableData[]\n}\n\n/**\n * Props your `Table` implementation must accept from the component adapter.\n * Renders a table with column headers, body rows, an optional footer row, and an optional empty state.\n *\n * @public\n * @group Component Props\n */\nexport interface TableProps extends Pick<\n TableHTMLAttributes<HTMLTableElement>,\n 'className' | 'aria-label' | 'id' | 'role' | 'aria-labelledby' | 'aria-describedby'\n> {\n /**\n * Array of header cells for the table\n */\n headers: TableData[]\n /**\n * Array of rows to be displayed in the table\n */\n rows: TableRow[]\n /**\n * Array of footer cells for the table\n */\n footer?: TableData[]\n /**\n * Content to display when the table has no rows\n */\n emptyState?: ReactNode\n /**\n * Removes borders and background for use inside a Box component\n *\n * @defaultValue `false`\n */\n isWithinBox?: boolean\n /**\n * Whether the first column contains checkboxes (affects which column gets leading variant)\n *\n * @defaultValue `false`\n */\n hasCheckboxColumn?: boolean\n}\n\n/**\n * Default prop values for the Table component.\n *\n * @internal\n */\nexport const TableDefaults = {\n isWithinBox: false,\n hasCheckboxColumn: false,\n} as const satisfies Partial<TableProps>\n"],"names":["TableDefaults"],"mappings":"AAkFO,MAAMA,IAAgB;AAAA,EAC3B,aAAa;AAAA,EACb,mBAAmB;AACrB;"}
@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
3
3
  * Shape of a single tab configuration your `Tabs` implementation receives in its `tabs` prop.
4
4
  *
5
5
  * @public
6
+ * @group Utility Types
6
7
  */
7
8
  export interface TabProps {
8
9
  /**
@@ -27,6 +28,7 @@ export interface TabProps {
27
28
  * Renders tabbed navigation with associated content panels.
28
29
  *
29
30
  * @public
31
+ * @group Component Props
30
32
  */
31
33
  export interface TabsProps {
32
34
  /**
@@ -4,6 +4,7 @@ import { HTMLAttributes, ReactNode } from 'react';
4
4
  * Renders body text as `<p>`, `<span>`, `<div>`, or `<pre>`, with size, weight, alignment, and variant options.
5
5
  *
6
6
  * @public
7
+ * @group Component Props
7
8
  */
8
9
  export interface TextProps extends Pick<HTMLAttributes<HTMLParagraphElement>, 'className' | 'id'> {
9
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"TextTypes.js","sources":["../../../../../src/components/Common/UI/Text/TextTypes.ts"],"sourcesContent":["import type { HTMLAttributes, ReactNode } from 'react'\n\n/**\n * Props your `Text` implementation must accept from the component adapter.\n * Renders body text as `<p>`, `<span>`, `<div>`, or `<pre>`, with size, weight, alignment, and variant options.\n *\n * @public\n */\nexport interface TextProps extends Pick<HTMLAttributes<HTMLParagraphElement>, 'className' | 'id'> {\n /**\n * HTML element to render the text as\n *\n * @defaultValue `'p'`\n */\n as?: 'p' | 'span' | 'div' | 'pre'\n /**\n * Size variant of the text\n *\n * @defaultValue `'md'`\n */\n size?: 'xs' | 'sm' | 'md' | 'lg'\n /**\n * Text alignment within the container\n */\n textAlign?: 'start' | 'center' | 'end'\n /**\n * Font weight of the text\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold'\n /**\n * Content to be displayed\n */\n children?: ReactNode\n /**\n * Visual style variant of the text\n */\n variant?: 'supporting' | 'leading'\n}\n\n/**\n * Default prop values for the Text component.\n *\n * @internal\n */\nexport const TextDefaults = {\n as: 'p',\n size: 'md',\n} as const satisfies Partial<TextProps>\n"],"names":["TextDefaults"],"mappings":"AA4CO,MAAMA,IAAe;AAAA,EAC1B,IAAI;AAAA,EACJ,MAAM;AACR;"}
1
+ {"version":3,"file":"TextTypes.js","sources":["../../../../../src/components/Common/UI/Text/TextTypes.ts"],"sourcesContent":["import type { HTMLAttributes, ReactNode } from 'react'\n\n/**\n * Props your `Text` implementation must accept from the component adapter.\n * Renders body text as `<p>`, `<span>`, `<div>`, or `<pre>`, with size, weight, alignment, and variant options.\n *\n * @public\n * @group Component Props\n */\nexport interface TextProps extends Pick<HTMLAttributes<HTMLParagraphElement>, 'className' | 'id'> {\n /**\n * HTML element to render the text as\n *\n * @defaultValue `'p'`\n */\n as?: 'p' | 'span' | 'div' | 'pre'\n /**\n * Size variant of the text\n *\n * @defaultValue `'md'`\n */\n size?: 'xs' | 'sm' | 'md' | 'lg'\n /**\n * Text alignment within the container\n */\n textAlign?: 'start' | 'center' | 'end'\n /**\n * Font weight of the text\n */\n weight?: 'regular' | 'medium' | 'semibold' | 'bold'\n /**\n * Content to be displayed\n */\n children?: ReactNode\n /**\n * Visual style variant of the text\n */\n variant?: 'supporting' | 'leading'\n}\n\n/**\n * Default prop values for the Text component.\n *\n * @internal\n */\nexport const TextDefaults = {\n as: 'p',\n size: 'md',\n} as const satisfies Partial<TextProps>\n"],"names":["TextDefaults"],"mappings":"AA6CO,MAAMA,IAAe;AAAA,EAC1B,IAAI;AAAA,EACJ,MAAM;AACR;"}
@@ -5,6 +5,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
5
5
  * Renders a form field wrapping a `<textarea>` with a label, description, and error message.
6
6
  *
7
7
  * @public
8
+ * @group Component Props
8
9
  */
9
10
  export interface TextAreaProps extends SharedFieldLayoutProps, Pick<TextareaHTMLAttributes<HTMLTextAreaElement>, 'name' | 'id' | 'placeholder' | 'className' | 'cols'>, Pick<TextareaHTMLAttributes<HTMLTextAreaElement>, 'aria-describedby'> {
10
11
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"TextAreaTypes.js","sources":["../../../../../src/components/Common/UI/TextArea/TextAreaTypes.ts"],"sourcesContent":["import type { Ref, TextareaHTMLAttributes } from 'react'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Props your `TextArea` implementation must accept from the component adapter.\n * Renders a form field wrapping a `<textarea>` with a label, description, and error message.\n *\n * @public\n */\nexport interface TextAreaProps\n extends\n SharedFieldLayoutProps,\n Pick<\n TextareaHTMLAttributes<HTMLTextAreaElement>,\n 'name' | 'id' | 'placeholder' | 'className' | 'cols'\n >,\n Pick<TextareaHTMLAttributes<HTMLTextAreaElement>, 'aria-describedby'> {\n /**\n * React ref for the textarea element\n */\n inputRef?: Ref<HTMLTextAreaElement>\n /**\n * Current value of the textarea\n */\n value?: string\n /**\n * Callback when textarea value changes\n */\n onChange?: (value: string) => void\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the textarea and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Number of visible text rows\n *\n * @defaultValue `4`\n */\n rows?: number\n}\n\n/**\n * Default prop values for the TextArea component.\n *\n * @internal\n */\nexport const TextAreaDefaults = {\n isInvalid: false,\n isDisabled: false,\n rows: 4,\n} as const satisfies Partial<TextAreaProps>\n"],"names":["TextAreaDefaults"],"mappings":"AA0DO,MAAMA,IAAmB;AAAA,EAC9B,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,MAAM;AACR;"}
1
+ {"version":3,"file":"TextAreaTypes.js","sources":["../../../../../src/components/Common/UI/TextArea/TextAreaTypes.ts"],"sourcesContent":["import type { Ref, TextareaHTMLAttributes } from 'react'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Props your `TextArea` implementation must accept from the component adapter.\n * Renders a form field wrapping a `<textarea>` with a label, description, and error message.\n *\n * @public\n * @group Component Props\n */\nexport interface TextAreaProps\n extends\n SharedFieldLayoutProps,\n Pick<\n TextareaHTMLAttributes<HTMLTextAreaElement>,\n 'name' | 'id' | 'placeholder' | 'className' | 'cols'\n >,\n Pick<TextareaHTMLAttributes<HTMLTextAreaElement>, 'aria-describedby'> {\n /**\n * React ref for the textarea element\n */\n inputRef?: Ref<HTMLTextAreaElement>\n /**\n * Current value of the textarea\n */\n value?: string\n /**\n * Callback when textarea value changes\n */\n onChange?: (value: string) => void\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the textarea and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Number of visible text rows\n *\n * @defaultValue `4`\n */\n rows?: number\n}\n\n/**\n * Default prop values for the TextArea component.\n *\n * @internal\n */\nexport const TextAreaDefaults = {\n isInvalid: false,\n isDisabled: false,\n rows: 4,\n} as const satisfies Partial<TextAreaProps>\n"],"names":["TextAreaDefaults"],"mappings":"AA2DO,MAAMA,IAAmB;AAAA,EAC9B,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,MAAM;AACR;"}
@@ -6,6 +6,7 @@ import { SharedFieldLayoutProps } from '../../FieldLayout/FieldLayoutTypes';
6
6
  * Renders a form field wrapping an `<input />` with a label, description, error message, and start/end adornment slots.
7
7
  *
8
8
  * @public
9
+ * @group Component Props
9
10
  */
10
11
  export interface TextInputProps extends SharedFieldLayoutProps, Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'id' | 'placeholder' | 'className' | 'type' | 'min' | 'max' | 'maxLength'>, Pick<InputHTMLAttributes<HTMLInputElement>, 'aria-describedby' | 'aria-labelledby'> {
11
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"TextInputTypes.js","sources":["../../../../../src/components/Common/UI/TextInput/TextInputTypes.ts"],"sourcesContent":["import type { Ref, InputHTMLAttributes } from 'react'\nimport type { InputProps } from '../Input/InputTypes'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Props your `TextInput` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input />` with a label, description, error message, and start/end adornment slots.\n *\n * @public\n */\nexport interface TextInputProps\n extends\n SharedFieldLayoutProps,\n Pick<\n InputHTMLAttributes<HTMLInputElement>,\n 'name' | 'id' | 'placeholder' | 'className' | 'type' | 'min' | 'max' | 'maxLength'\n >,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'aria-describedby' | 'aria-labelledby'> {\n /**\n * React ref for the input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Current value of the input\n */\n value?: string\n /**\n * Callback when input value changes\n */\n onChange?: (value: string) => void\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the input and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Element to display at the start of the input\n */\n adornmentStart?: InputProps['adornmentStart']\n /**\n * Element to display at the end of the input\n */\n adornmentEnd?: InputProps['adornmentEnd']\n}\n\n/**\n * Default prop values for the TextInput component.\n *\n * @internal\n */\nexport const TextInputDefaults = {\n type: 'text',\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<TextInputProps>\n"],"names":["TextInputDefaults"],"mappings":"AA6DO,MAAMA,IAAoB;AAAA,EAC/B,MAAM;AAAA,EACN,WAAW;AAAA,EACX,YAAY;AACd;"}
1
+ {"version":3,"file":"TextInputTypes.js","sources":["../../../../../src/components/Common/UI/TextInput/TextInputTypes.ts"],"sourcesContent":["import type { Ref, InputHTMLAttributes } from 'react'\nimport type { InputProps } from '../Input/InputTypes'\nimport type { SharedFieldLayoutProps } from '@/components/Common/FieldLayout/FieldLayoutTypes'\n\n/**\n * Props your `TextInput` implementation must accept from the component adapter.\n * Renders a form field wrapping an `<input />` with a label, description, error message, and start/end adornment slots.\n *\n * @public\n * @group Component Props\n */\nexport interface TextInputProps\n extends\n SharedFieldLayoutProps,\n Pick<\n InputHTMLAttributes<HTMLInputElement>,\n 'name' | 'id' | 'placeholder' | 'className' | 'type' | 'min' | 'max' | 'maxLength'\n >,\n Pick<InputHTMLAttributes<HTMLInputElement>, 'aria-describedby' | 'aria-labelledby'> {\n /**\n * React ref for the input element\n */\n inputRef?: Ref<HTMLInputElement>\n /**\n * Current value of the input\n */\n value?: string\n /**\n * Callback when input value changes\n */\n onChange?: (value: string) => void\n /**\n * Indicates that the field has an error\n *\n * @defaultValue `false`\n */\n isInvalid?: boolean\n /**\n * Disables the input and prevents interaction\n *\n * @defaultValue `false`\n */\n isDisabled?: boolean\n /**\n * Handler for blur events\n */\n onBlur?: () => void\n /**\n * Element to display at the start of the input\n */\n adornmentStart?: InputProps['adornmentStart']\n /**\n * Element to display at the end of the input\n */\n adornmentEnd?: InputProps['adornmentEnd']\n}\n\n/**\n * Default prop values for the TextInput component.\n *\n * @internal\n */\nexport const TextInputDefaults = {\n type: 'text',\n isInvalid: false,\n isDisabled: false,\n} as const satisfies Partial<TextInputProps>\n"],"names":["TextInputDefaults"],"mappings":"AA8DO,MAAMA,IAAoB;AAAA,EAC/B,MAAM;AAAA,EACN,WAAW;AAAA,EACX,YAAY;AACd;"}
@@ -3,17 +3,17 @@ import { useTranslation as c } from "react-i18next";
3
3
  import { useCreateSignatory as p } from "./useCreateSignatory.js";
4
4
  import { Flex as i } from "../../../Common/Flex/Flex.js";
5
5
  import { Grid as l } from "../../../Common/Grid/Grid.js";
6
- import { DatePickerField as g } from "../../../Common/Fields/DatePickerField/DatePickerField.js";
7
- import { useComponentContext as u } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
6
+ import { useComponentContext as g } from "../../../../contexts/ComponentAdapter/useComponentContext.js";
8
7
  import "react";
9
- import { STATES_ABBR as h } from "../../../../shared/constants.js";
10
- import { usePlaceholderSSN as f, normalizeSSN as y } from "../../../../helpers/ssn.js";
11
- import { TitleSelect as b } from "../TitleSelect.js";
12
- import { useMaskedTransform as S, commonMasks as D } from "../../../../helpers/mask.js";
8
+ import { STATES_ABBR as u } from "../../../../shared/constants.js";
9
+ import { usePlaceholderSSN as h, normalizeSSN as f } from "../../../../helpers/ssn.js";
10
+ import { TitleSelect as y } from "../TitleSelect.js";
11
+ import { useMaskedTransform as b, commonMasks as S } from "../../../../helpers/mask.js";
13
12
  import { TextInputField as a } from "../../../Common/Fields/TextInputField/TextInputField.js";
14
- import { SelectField as v } from "../../../Common/Fields/SelectField/SelectField.js";
13
+ import { SelectField as D } from "../../../Common/Fields/SelectField/SelectField.js";
14
+ import { DatePickerField as v } from "../../../Common/Fields/DatePickerField/DatePickerField.js";
15
15
  const j = () => {
16
- const t = u(), { currentSignatory: o } = p(), { t: e } = c("Company.AssignSignatory"), d = f(o?.hasSsn), m = S(D.phoneMask);
16
+ const t = g(), { currentSignatory: o } = p(), { t: e } = c("Company.AssignSignatory"), d = h(o?.hasSsn), m = b(S.phoneMask);
17
17
  return /* @__PURE__ */ s(i, { flexDirection: "column", gap: 32, children: [
18
18
  /* @__PURE__ */ s(i, { flexDirection: "column", gap: 32, alignItems: "stretch", children: [
19
19
  /* @__PURE__ */ r("header", { children: /* @__PURE__ */ s(i, { flexDirection: "column", gap: 4, children: [
@@ -49,7 +49,7 @@ const j = () => {
49
49
  isDisabled: !!o
50
50
  }
51
51
  ),
52
- /* @__PURE__ */ r(b, {}),
52
+ /* @__PURE__ */ r(y, {}),
53
53
  /* @__PURE__ */ r(
54
54
  a,
55
55
  {
@@ -67,12 +67,12 @@ const j = () => {
67
67
  label: e("signatoryDetails.ssn"),
68
68
  errorMessage: e("validations.ssn", { ns: "common" }),
69
69
  isRequired: !o?.hasSsn,
70
- transform: y,
70
+ transform: f,
71
71
  placeholder: d
72
72
  }
73
73
  ),
74
74
  /* @__PURE__ */ r(
75
- g,
75
+ v,
76
76
  {
77
77
  name: "birthday",
78
78
  label: e("signatoryDetails.birthday"),
@@ -108,10 +108,10 @@ const j = () => {
108
108
  }
109
109
  ),
110
110
  /* @__PURE__ */ r(
111
- v,
111
+ D,
112
112
  {
113
113
  name: "state",
114
- options: h.map((n) => ({
114
+ options: u.map((n) => ({
115
115
  label: e(`statesHash.${n}`, { ns: "common" }),
116
116
  value: n
117
117
  })),
@@ -1,7 +1,22 @@
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "react-error-boundary";
4
+ import "react-i18next";
5
+ import "@tanstack/react-query";
6
+ import "../../../Base/useBase.js";
7
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/apierror";
8
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/gustoembeddederror";
9
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/sdkvalidationerror";
10
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror";
11
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/httpclienterrors";
12
+ import "dompurify";
13
+ import "../../../../contexts/LocaleProvider/useLocale.js";
14
+ import "../../../../shared/constants.js";
15
+ import "../../../../contexts/ComponentAdapter/useComponentContext.js";
1
16
  import { createCompoundContext as t } from "../../../Base/createCompoundContext.js";
2
- const [o, r] = t("CreateSignatoryContext");
17
+ const [u, f] = t("CreateSignatoryContext");
3
18
  export {
4
- r as CreateSignatoryProvider,
5
- o as useCreateSignatory
19
+ f as CreateSignatoryProvider,
20
+ u as useCreateSignatory
6
21
  };
7
22
  //# sourceMappingURL=useCreateSignatory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCreateSignatory.js","sources":["../../../../../src/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.ts"],"sourcesContent":["import { type Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory'\nimport { createCompoundContext } from '@/components/Base'\nimport type { RequireAtLeastOne } from '@/types/Helpers'\n\nexport type CreateSignatoryDefaultValues = RequireAtLeastOne<\n Pick<Signatory, 'firstName' | 'lastName' | 'email' | 'title' | 'phone' | 'birthday'> &\n Pick<\n NonNullable<Signatory['homeAddress']>,\n 'street1' | 'street2' | 'city' | 'state' | 'zip'\n > & {\n ssn?: string\n }\n>\ntype CreateSignatoryContextType = {\n isPending: boolean\n currentSignatory?: Signatory\n}\n\nconst [useCreateSignatory, CreateSignatoryProvider] =\n createCompoundContext<CreateSignatoryContextType>('CreateSignatoryContext')\n\nexport { useCreateSignatory, CreateSignatoryProvider }\n"],"names":["useCreateSignatory","CreateSignatoryProvider","createCompoundContext"],"mappings":";AAkBA,MAAM,CAACA,GAAoBC,CAAuB,IAChDC,EAAkD,wBAAwB;"}
1
+ {"version":3,"file":"useCreateSignatory.js","sources":["../../../../../src/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.ts"],"sourcesContent":["import { type Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory'\nimport { createCompoundContext } from '@/components/Base'\nimport type { RequireAtLeastOne } from '@/types/Helpers'\n\nexport type CreateSignatoryDefaultValues = RequireAtLeastOne<\n Pick<Signatory, 'firstName' | 'lastName' | 'email' | 'title' | 'phone' | 'birthday'> &\n Pick<\n NonNullable<Signatory['homeAddress']>,\n 'street1' | 'street2' | 'city' | 'state' | 'zip'\n > & {\n ssn?: string\n }\n>\ntype CreateSignatoryContextType = {\n isPending: boolean\n currentSignatory?: Signatory\n}\n\nconst [useCreateSignatory, CreateSignatoryProvider] =\n createCompoundContext<CreateSignatoryContextType>('CreateSignatoryContext')\n\nexport { useCreateSignatory, CreateSignatoryProvider }\n"],"names":["useCreateSignatory","CreateSignatoryProvider","createCompoundContext"],"mappings":";;;;;;;;;;;;;;;;AAkBA,MAAM,CAACA,GAAoBC,CAAuB,IAChDC,EAAkD,wBAAwB;"}
@@ -1,7 +1,22 @@
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "react-error-boundary";
4
+ import "react-i18next";
5
+ import "@tanstack/react-query";
6
+ import "../../../Base/useBase.js";
7
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/apierror";
8
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/gustoembeddederror";
9
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/sdkvalidationerror";
10
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror";
11
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/httpclienterrors";
12
+ import "dompurify";
13
+ import "../../../../contexts/LocaleProvider/useLocale.js";
14
+ import "../../../../shared/constants.js";
15
+ import "../../../../contexts/ComponentAdapter/useComponentContext.js";
1
16
  import { createCompoundContext as t } from "../../../Base/createCompoundContext.js";
2
- const [e, n] = t("InviteSignatoryContext");
17
+ const [d, s] = t("InviteSignatoryContext");
3
18
  export {
4
- n as InviteSignatoryProvider,
5
- e as useInviteSignatory
19
+ s as InviteSignatoryProvider,
20
+ d as useInviteSignatory
6
21
  };
7
22
  //# sourceMappingURL=useInviteSignatory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useInviteSignatory.js","sources":["../../../../../src/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.ts"],"sourcesContent":["import { type Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory'\nimport { createCompoundContext } from '@/components/Base'\nimport type { RequireAtLeastOne } from '@/types/Helpers'\n\ntype InviteSignatoryContextType = {\n isPending: boolean\n}\n\nexport type InviteSignatoryDefaultValues = RequireAtLeastOne<\n Pick<Signatory, 'firstName' | 'lastName' | 'email' | 'title'> & {\n confirmEmail: string\n }\n>\n\nconst [useInviteSignatory, InviteSignatoryProvider] =\n createCompoundContext<InviteSignatoryContextType>('InviteSignatoryContext')\n\nexport { useInviteSignatory, InviteSignatoryProvider }\n"],"names":["useInviteSignatory","InviteSignatoryProvider","createCompoundContext"],"mappings":";AAcA,MAAM,CAACA,GAAoBC,CAAuB,IAChDC,EAAkD,wBAAwB;"}
1
+ {"version":3,"file":"useInviteSignatory.js","sources":["../../../../../src/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.ts"],"sourcesContent":["import { type Signatory } from '@gusto/embedded-api-v-2025-11-15/models/components/signatory'\nimport { createCompoundContext } from '@/components/Base'\nimport type { RequireAtLeastOne } from '@/types/Helpers'\n\ntype InviteSignatoryContextType = {\n isPending: boolean\n}\n\nexport type InviteSignatoryDefaultValues = RequireAtLeastOne<\n Pick<Signatory, 'firstName' | 'lastName' | 'email' | 'title'> & {\n confirmEmail: string\n }\n>\n\nconst [useInviteSignatory, InviteSignatoryProvider] =\n createCompoundContext<InviteSignatoryContextType>('InviteSignatoryContext')\n\nexport { useInviteSignatory, InviteSignatoryProvider }\n"],"names":["useInviteSignatory","InviteSignatoryProvider","createCompoundContext"],"mappings":";;;;;;;;;;;;;;;;AAcA,MAAM,CAACA,GAAoBC,CAAuB,IAChDC,EAAkD,wBAAwB;"}
@@ -1,11 +1,26 @@
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "react-error-boundary";
4
+ import "react-i18next";
5
+ import "@tanstack/react-query";
6
+ import "../../Base/useBase.js";
7
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/apierror";
8
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/gustoembeddederror";
9
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/sdkvalidationerror";
10
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror";
11
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/httpclienterrors";
12
+ import "dompurify";
13
+ import "../../../contexts/LocaleProvider/useLocale.js";
14
+ import "../../../shared/constants.js";
15
+ import "../../../contexts/ComponentAdapter/useComponentContext.js";
1
16
  import { createCompoundContext as t } from "../../Base/createCompoundContext.js";
2
- const o = {
17
+ const x = {
3
18
  createSignatory: "createSignatory",
4
19
  inviteSignatory: "inviteSignatory"
5
- }, [i, r] = t("AssignSignatoryContext");
20
+ }, [C, u] = t("AssignSignatoryContext");
6
21
  export {
7
- r as AssignSignatoryProvider,
8
- o as SignatoryAssignmentMode,
9
- i as useAssignSignatory
22
+ u as AssignSignatoryProvider,
23
+ x as SignatoryAssignmentMode,
24
+ C as useAssignSignatory
10
25
  };
11
26
  //# sourceMappingURL=useAssignSignatory.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useAssignSignatory.js","sources":["../../../../src/components/Company/AssignSignatory/useAssignSignatory.ts"],"sourcesContent":["import { type CreateSignatoryDefaultValues } from './CreateSignatory'\nimport { type InviteSignatoryDefaultValues } from './InviteSignatory'\nimport type { BaseComponentInterface } from '@/components/Base'\nimport { createCompoundContext } from '@/components/Base'\nimport type { RequireAtLeastOne } from '@/types/Helpers'\n\nexport const SignatoryAssignmentMode = {\n createSignatory: 'createSignatory',\n inviteSignatory: 'inviteSignatory',\n} as const\n\nexport type AssignSignatoryDefaultValues = RequireAtLeastOne<{\n create?: CreateSignatoryDefaultValues\n invite?: InviteSignatoryDefaultValues\n}>\n\ntype AssignSignatoryContextType = {\n companyId: string\n signatoryId?: string\n defaultValues?: AssignSignatoryDefaultValues\n onSignatoryAssignmentModeChange: (mode: string) => void\n onSignatoryFormEvent: BaseComponentInterface['onEvent']\n}\n\nconst [useAssignSignatory, AssignSignatoryProvider] =\n createCompoundContext<AssignSignatoryContextType>('AssignSignatoryContext')\n\nexport { useAssignSignatory, AssignSignatoryProvider }\n"],"names":["SignatoryAssignmentMode","useAssignSignatory","AssignSignatoryProvider","createCompoundContext"],"mappings":";AAMO,MAAMA,IAA0B;AAAA,EACrC,iBAAiB;AAAA,EACjB,iBAAiB;AACnB,GAeM,CAACC,GAAoBC,CAAuB,IAChDC,EAAkD,wBAAwB;"}
1
+ {"version":3,"file":"useAssignSignatory.js","sources":["../../../../src/components/Company/AssignSignatory/useAssignSignatory.ts"],"sourcesContent":["import { type CreateSignatoryDefaultValues } from './CreateSignatory'\nimport { type InviteSignatoryDefaultValues } from './InviteSignatory'\nimport type { BaseComponentInterface } from '@/components/Base'\nimport { createCompoundContext } from '@/components/Base'\nimport type { RequireAtLeastOne } from '@/types/Helpers'\n\nexport const SignatoryAssignmentMode = {\n createSignatory: 'createSignatory',\n inviteSignatory: 'inviteSignatory',\n} as const\n\nexport type AssignSignatoryDefaultValues = RequireAtLeastOne<{\n create?: CreateSignatoryDefaultValues\n invite?: InviteSignatoryDefaultValues\n}>\n\ntype AssignSignatoryContextType = {\n companyId: string\n signatoryId?: string\n defaultValues?: AssignSignatoryDefaultValues\n onSignatoryAssignmentModeChange: (mode: string) => void\n onSignatoryFormEvent: BaseComponentInterface['onEvent']\n}\n\nconst [useAssignSignatory, AssignSignatoryProvider] =\n createCompoundContext<AssignSignatoryContextType>('AssignSignatoryContext')\n\nexport { useAssignSignatory, AssignSignatoryProvider }\n"],"names":["SignatoryAssignmentMode","useAssignSignatory","AssignSignatoryProvider","createCompoundContext"],"mappings":";;;;;;;;;;;;;;;;AAMO,MAAMA,IAA0B;AAAA,EACrC,iBAAiB;AAAA,EACjB,iBAAiB;AACnB,GAeM,CAACC,GAAoBC,CAAuB,IAChDC,EAAkD,wBAAwB;"}
@@ -1,21 +1,22 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { createMachine as i } from "robot3";
3
3
  import { useMemo as s } from "react";
4
- import { useBankAccountsGetSuspense as f } from "@gusto/embedded-api-v-2025-11-15/react-query/bankAccountsGet";
5
- import { BankAccountListContextual as k, BankAccountFormContextual as p } from "./BankAccountComponents.js";
4
+ import { useBankAccountsGetSuspense as p } from "@gusto/embedded-api-v-2025-11-15/react-query/bankAccountsGet";
5
+ import { BankAccountListContextual as f, BankAccountFormContextual as k } from "./BankAccountComponents.js";
6
6
  import { bankAccountStateMachine as A } from "./stateMachine.js";
7
7
  import { Flow as B } from "../../Flow/Flow.js";
8
8
  import { BaseComponent as l } from "../../Base/Base.js";
9
+ import "../../Base/useBase.js";
9
10
  import { useComponentDictionary as h } from "../../../i18n/I18n.js";
10
11
  function C({ companyId: n, onEvent: e, dictionary: a }) {
11
12
  h("Company.BankAccount", a);
12
- const { data: r } = f({ companyId: n }), c = r.companyBankAccounts, o = c.length > 0 ? c[0] : null, m = s(
13
+ const { data: r } = p({ companyId: n }), c = r.companyBankAccounts, o = c.length > 0 ? c[0] : null, m = s(
13
14
  () => i(
14
15
  o ? "viewBankAccount" : "addBankAccount",
15
16
  A,
16
17
  (u) => ({
17
18
  ...u,
18
- component: o ? k : p,
19
+ component: o ? f : k,
19
20
  companyId: n,
20
21
  bankAccount: o,
21
22
  showVerifiedMessage: !1
@@ -25,10 +26,10 @@ function C({ companyId: n, onEvent: e, dictionary: a }) {
25
26
  );
26
27
  return /* @__PURE__ */ t(B, { machine: m, onEvent: e });
27
28
  }
28
- function S(n) {
29
+ function j(n) {
29
30
  return /* @__PURE__ */ t(l, { ...n, children: /* @__PURE__ */ t(C, { ...n }) });
30
31
  }
31
32
  export {
32
- S as BankAccount
33
+ j as BankAccount
33
34
  };
34
35
  //# sourceMappingURL=BankAccount.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BankAccount.js","sources":["../../../../src/components/Company/BankAccount/BankAccount.tsx"],"sourcesContent":["import { createMachine } from 'robot3'\nimport { useMemo } from 'react'\nimport { useBankAccountsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/bankAccountsGet'\nimport {\n BankAccountFormContextual,\n type BankAccountContextInterface,\n} from './BankAccountComponents'\nimport { bankAccountStateMachine } from './stateMachine'\nimport { BankAccountListContextual } from './BankAccountComponents'\nimport { Flow } from '@/components/Flow/Flow'\nimport { BaseComponent, type BaseComponentInterface } from '@/components/Base'\nimport { useComponentDictionary } from '@/i18n/I18n'\n\nexport interface BankAccountProps extends BaseComponentInterface<'Company.BankAccount'> {\n companyId: string\n}\n\nfunction BankAccountFlow({ companyId, onEvent, dictionary }: BankAccountProps) {\n useComponentDictionary('Company.BankAccount', dictionary)\n const { data } = useBankAccountsGetSuspense({ companyId })\n const companyBankAccountList = data.companyBankAccounts!\n //Currently, we only support a single default bank account per company.\n const bankAccount = companyBankAccountList.length > 0 ? companyBankAccountList[0]! : null\n\n const manageBankAccount = useMemo(\n () =>\n createMachine(\n bankAccount ? 'viewBankAccount' : 'addBankAccount',\n bankAccountStateMachine,\n (initialContext: BankAccountContextInterface) => ({\n ...initialContext,\n component: bankAccount ? BankAccountListContextual : BankAccountFormContextual,\n companyId,\n bankAccount,\n showVerifiedMessage: false,\n }),\n ),\n [companyId, bankAccount],\n )\n return <Flow machine={manageBankAccount} onEvent={onEvent} />\n}\n\nexport function BankAccount(props: BankAccountProps) {\n return (\n <BaseComponent {...props}>\n <BankAccountFlow {...props} />\n </BaseComponent>\n )\n}\n"],"names":["BankAccountFlow","companyId","onEvent","dictionary","useComponentDictionary","data","useBankAccountsGetSuspense","companyBankAccountList","bankAccount","manageBankAccount","useMemo","createMachine","bankAccountStateMachine","initialContext","BankAccountListContextual","BankAccountFormContextual","jsx","Flow","BankAccount","props","BaseComponent"],"mappings":";;;;;;;;;AAiBA,SAASA,EAAgB,EAAE,WAAAC,GAAW,SAAAC,GAAS,YAAAC,KAAgC;AAC7E,EAAAC,EAAuB,uBAAuBD,CAAU;AACxD,QAAM,EAAE,MAAAE,EAAA,IAASC,EAA2B,EAAE,WAAAL,GAAW,GACnDM,IAAyBF,EAAK,qBAE9BG,IAAcD,EAAuB,SAAS,IAAIA,EAAuB,CAAC,IAAK,MAE/EE,IAAoBC;AAAA,IACxB,MACEC;AAAA,MACEH,IAAc,oBAAoB;AAAA,MAClCI;AAAA,MACA,CAACC,OAAiD;AAAA,QAChD,GAAGA;AAAA,QACH,WAAWL,IAAcM,IAA4BC;AAAA,QACrD,WAAAd;AAAA,QACA,aAAAO;AAAA,QACA,qBAAqB;AAAA,MAAA;AAAA,IACvB;AAAA,IAEJ,CAACP,GAAWO,CAAW;AAAA,EAAA;AAEzB,SAAO,gBAAAQ,EAACC,GAAA,EAAK,SAASR,GAAmB,SAAAP,EAAA,CAAkB;AAC7D;AAEO,SAASgB,EAAYC,GAAyB;AACnD,SACE,gBAAAH,EAACI,KAAe,GAAGD,GACjB,4BAACnB,GAAA,EAAiB,GAAGmB,GAAO,EAAA,CAC9B;AAEJ;"}
1
+ {"version":3,"file":"BankAccount.js","sources":["../../../../src/components/Company/BankAccount/BankAccount.tsx"],"sourcesContent":["import { createMachine } from 'robot3'\nimport { useMemo } from 'react'\nimport { useBankAccountsGetSuspense } from '@gusto/embedded-api-v-2025-11-15/react-query/bankAccountsGet'\nimport {\n BankAccountFormContextual,\n type BankAccountContextInterface,\n} from './BankAccountComponents'\nimport { bankAccountStateMachine } from './stateMachine'\nimport { BankAccountListContextual } from './BankAccountComponents'\nimport { Flow } from '@/components/Flow/Flow'\nimport { BaseComponent, type BaseComponentInterface } from '@/components/Base'\nimport { useComponentDictionary } from '@/i18n/I18n'\n\nexport interface BankAccountProps extends BaseComponentInterface<'Company.BankAccount'> {\n companyId: string\n}\n\nfunction BankAccountFlow({ companyId, onEvent, dictionary }: BankAccountProps) {\n useComponentDictionary('Company.BankAccount', dictionary)\n const { data } = useBankAccountsGetSuspense({ companyId })\n const companyBankAccountList = data.companyBankAccounts!\n //Currently, we only support a single default bank account per company.\n const bankAccount = companyBankAccountList.length > 0 ? companyBankAccountList[0]! : null\n\n const manageBankAccount = useMemo(\n () =>\n createMachine(\n bankAccount ? 'viewBankAccount' : 'addBankAccount',\n bankAccountStateMachine,\n (initialContext: BankAccountContextInterface) => ({\n ...initialContext,\n component: bankAccount ? BankAccountListContextual : BankAccountFormContextual,\n companyId,\n bankAccount,\n showVerifiedMessage: false,\n }),\n ),\n [companyId, bankAccount],\n )\n return <Flow machine={manageBankAccount} onEvent={onEvent} />\n}\n\nexport function BankAccount(props: BankAccountProps) {\n return (\n <BaseComponent {...props}>\n <BankAccountFlow {...props} />\n </BaseComponent>\n )\n}\n"],"names":["BankAccountFlow","companyId","onEvent","dictionary","useComponentDictionary","data","useBankAccountsGetSuspense","companyBankAccountList","bankAccount","manageBankAccount","useMemo","createMachine","bankAccountStateMachine","initialContext","BankAccountListContextual","BankAccountFormContextual","jsx","Flow","BankAccount","props","BaseComponent"],"mappings":";;;;;;;;;;AAiBA,SAASA,EAAgB,EAAE,WAAAC,GAAW,SAAAC,GAAS,YAAAC,KAAgC;AAC7E,EAAAC,EAAuB,uBAAuBD,CAAU;AACxD,QAAM,EAAE,MAAAE,EAAA,IAASC,EAA2B,EAAE,WAAAL,GAAW,GACnDM,IAAyBF,EAAK,qBAE9BG,IAAcD,EAAuB,SAAS,IAAIA,EAAuB,CAAC,IAAK,MAE/EE,IAAoBC;AAAA,IACxB,MACEC;AAAA,MACEH,IAAc,oBAAoB;AAAA,MAClCI;AAAA,MACA,CAACC,OAAiD;AAAA,QAChD,GAAGA;AAAA,QACH,WAAWL,IAAcM,IAA4BC;AAAA,QACrD,WAAAd;AAAA,QACA,aAAAO;AAAA,QACA,qBAAqB;AAAA,MAAA;AAAA,IACvB;AAAA,IAEJ,CAACP,GAAWO,CAAW;AAAA,EAAA;AAEzB,SAAO,gBAAAQ,EAACC,GAAA,EAAK,SAASR,GAAmB,SAAAP,EAAA,CAAkB;AAC7D;AAEO,SAASgB,EAAYC,GAAyB;AACnD,SACE,gBAAAH,EAACI,KAAe,GAAGD,GACjB,4BAACnB,GAAA,EAAiB,GAAGmB,GAAO,EAAA,CAC9B;AAEJ;"}
@@ -1,7 +1,22 @@
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "react-error-boundary";
4
+ import "react-i18next";
5
+ import "@tanstack/react-query";
6
+ import "../../../Base/useBase.js";
7
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/apierror";
8
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/gustoembeddederror";
9
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/sdkvalidationerror";
10
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/unprocessableentityerror";
11
+ import "@gusto/embedded-api-v-2025-11-15/models/errors/httpclienterrors";
12
+ import "dompurify";
13
+ import "../../../../contexts/LocaleProvider/useLocale.js";
14
+ import "../../../../shared/constants.js";
15
+ import "../../../../contexts/ComponentAdapter/useComponentContext.js";
1
16
  import { createCompoundContext as o } from "../../../Base/createCompoundContext.js";
2
- const [n, c] = o("BankAccountContext");
17
+ const [s, F] = o("BankAccountContext");
3
18
  export {
4
- c as BankAccountFormProvider,
5
- n as useBankAccountForm
19
+ F as BankAccountFormProvider,
20
+ s as useBankAccountForm
6
21
  };
7
22
  //# sourceMappingURL=context.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","sources":["../../../../../src/components/Company/BankAccount/BankAccountForm/context.ts"],"sourcesContent":["import { createCompoundContext } from '@/components/Base'\nimport { type OnEventType } from '@/components/Base/useBase'\nimport { type EventType } from '@/shared/constants'\n\ntype BankAccountFormContextType = {\n isPending: boolean\n isEditing: boolean\n onEvent: OnEventType<EventType, unknown>\n}\n\nconst [useBankAccountForm, BankAccountFormProvider] =\n createCompoundContext<BankAccountFormContextType>('BankAccountContext')\n\nexport { useBankAccountForm, BankAccountFormProvider }\n"],"names":["useBankAccountForm","BankAccountFormProvider","createCompoundContext"],"mappings":";AAUA,MAAM,CAACA,GAAoBC,CAAuB,IAChDC,EAAkD,oBAAoB;"}
1
+ {"version":3,"file":"context.js","sources":["../../../../../src/components/Company/BankAccount/BankAccountForm/context.ts"],"sourcesContent":["import { createCompoundContext } from '@/components/Base'\nimport { type OnEventType } from '@/components/Base/useBase'\nimport { type EventType } from '@/shared/constants'\n\ntype BankAccountFormContextType = {\n isPending: boolean\n isEditing: boolean\n onEvent: OnEventType<EventType, unknown>\n}\n\nconst [useBankAccountForm, BankAccountFormProvider] =\n createCompoundContext<BankAccountFormContextType>('BankAccountContext')\n\nexport { useBankAccountForm, BankAccountFormProvider }\n"],"names":["useBankAccountForm","BankAccountFormProvider","createCompoundContext"],"mappings":";;;;;;;;;;;;;;;;AAUA,MAAM,CAACA,GAAoBC,CAAuB,IAChDC,EAAkD,oBAAoB;"}