@gusto/embedded-react-sdk 0.37.0-rc.5 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (549) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist/UNSTABLE_Hooks.js +2 -2
  3. package/dist/assets/icons/filter-funnel.svg.js +10 -0
  4. package/dist/assets/icons/filter-funnel.svg.js.map +1 -0
  5. package/dist/components/Base/Base.js +3 -2
  6. package/dist/components/Base/Base.js.map +1 -1
  7. package/dist/components/Common/DateRangeFilter/DateRangeFilter.d.ts +17 -0
  8. package/dist/components/Common/DateRangeFilter/DateRangeFilter.js +100 -0
  9. package/dist/components/Common/DateRangeFilter/DateRangeFilter.js.map +1 -0
  10. package/dist/components/Common/DateRangeFilter/DateRangeFilter.module.scss.js +10 -0
  11. package/dist/components/Common/DateRangeFilter/DateRangeFilter.module.scss.js.map +1 -0
  12. package/dist/components/Common/DetailViewLayout/DetailViewLayout.d.ts +2 -0
  13. package/dist/components/Common/DetailViewLayout/DetailViewLayoutTypes.d.ts +40 -0
  14. package/dist/components/Common/DetailViewLayout/index.d.ts +3 -0
  15. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js +21 -20
  16. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js.map +1 -1
  17. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbsTypes.d.ts +5 -0
  18. package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.d.ts +1 -1
  19. package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.js +10 -8
  20. package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.js.map +1 -1
  21. package/dist/components/Common/SignatureForm/SignatureForm.js +6 -4
  22. package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -1
  23. package/dist/components/Common/SignatureForm/SignatureFormActions.js +6 -5
  24. package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
  25. package/dist/components/Common/SignatureForm/SignatureFormFields.js +7 -6
  26. package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
  27. package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js +18 -18
  28. package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js.map +1 -1
  29. package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.d.ts +5 -0
  30. package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.js.map +1 -1
  31. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.d.ts +2 -0
  32. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js +74 -0
  33. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js.map +1 -0
  34. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.module.scss.js +30 -0
  35. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.module.scss.js.map +1 -0
  36. package/dist/components/Common/UI/DateRangePicker/DateRangePickerTypes.d.ts +14 -0
  37. package/dist/components/Common/UI/DateRangePicker/index.d.ts +2 -0
  38. package/dist/components/Common/UI/FileInput/FileInput.js +1 -1
  39. package/dist/components/Common/UI/Heading/Heading.d.ts +1 -1
  40. package/dist/components/Common/UI/Heading/Heading.js +11 -9
  41. package/dist/components/Common/UI/Heading/Heading.js.map +1 -1
  42. package/dist/components/Common/UI/Heading/HeadingTypes.d.ts +1 -1
  43. package/dist/components/Common/UI/ProgressBar/ProgressBar.js +4 -4
  44. package/dist/components/Common/index.d.ts +2 -0
  45. package/dist/components/Company/AssignSignatory/AssignSignatory.js +3 -2
  46. package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
  47. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +3 -2
  48. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
  49. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +3 -2
  50. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
  51. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +11 -11
  52. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +5 -3
  53. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  54. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +3 -2
  55. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
  56. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +1 -1
  57. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +5 -3
  58. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  59. package/dist/components/Company/AssignSignatory/TitleSelect.js +3 -2
  60. package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
  61. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +7 -5
  62. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  63. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +3 -2
  64. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
  65. package/dist/components/Company/BankAccount/BankAccountForm/Form.js +11 -9
  66. package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
  67. package/dist/components/Company/BankAccount/BankAccountForm/context.js +5 -3
  68. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  69. package/dist/components/Company/BankAccount/BankAccountList/Actions.js +9 -8
  70. package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
  71. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +8 -7
  72. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
  73. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +6 -4
  74. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
  75. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +3 -2
  76. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
  77. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +9 -8
  78. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  79. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +5 -3
  80. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  81. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +3 -2
  82. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  83. package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js +5 -3
  84. package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
  85. package/dist/components/Company/FederalTaxes/Actions.js +6 -5
  86. package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
  87. package/dist/components/Company/FederalTaxes/FederalTaxes.js +7 -6
  88. package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
  89. package/dist/components/Company/FederalTaxes/Form.js +5 -3
  90. package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
  91. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +10 -8
  92. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  93. package/dist/components/Company/Industry/Actions.js +3 -2
  94. package/dist/components/Company/Industry/Actions.js.map +1 -1
  95. package/dist/components/Company/Industry/Context.js +8 -6
  96. package/dist/components/Company/Industry/Context.js.map +1 -1
  97. package/dist/components/Company/Industry/Edit.js +5 -4
  98. package/dist/components/Company/Industry/Edit.js.map +1 -1
  99. package/dist/components/Company/Locations/LocationForm/Actions.js +7 -6
  100. package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
  101. package/dist/components/Company/Locations/LocationForm/Form.js +1 -1
  102. package/dist/components/Company/Locations/LocationForm/LocationForm.js +4 -3
  103. package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
  104. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +5 -3
  105. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  106. package/dist/components/Company/Locations/LocationsList/Actions.js +7 -6
  107. package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
  108. package/dist/components/Company/Locations/LocationsList/List.js +7 -6
  109. package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
  110. package/dist/components/Company/Locations/LocationsList/LocationsList.js +3 -2
  111. package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
  112. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +5 -3
  113. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  114. package/dist/components/Company/OnboardingOverview/Completed.js +14 -12
  115. package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
  116. package/dist/components/Company/OnboardingOverview/MissingRequirements.js +7 -5
  117. package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
  118. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +3 -2
  119. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
  120. package/dist/components/Company/OnboardingOverview/context.js +5 -3
  121. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  122. package/dist/components/Company/PaySchedule/PaySchedule.js +23 -21
  123. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  124. package/dist/components/Company/PaySchedule/_parts/Actions.js +17 -16
  125. package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
  126. package/dist/components/Company/PaySchedule/_parts/Edit.js +15 -15
  127. package/dist/components/Company/PaySchedule/_parts/Head.js +10 -8
  128. package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
  129. package/dist/components/Company/PaySchedule/_parts/List.js +15 -13
  130. package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -1
  131. package/dist/components/Company/PaySchedule/usePaySchedule.d.ts +1 -0
  132. package/dist/components/Company/PaySchedule/usePaySchedule.js +7 -5
  133. package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
  134. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +3 -2
  135. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
  136. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +5 -3
  137. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  138. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +3 -2
  139. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
  140. package/dist/components/Company/StateTaxes/StateTaxesList/List.js +3 -2
  141. package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
  142. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +5 -3
  143. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  144. package/dist/components/Contractor/Address/Address.js +4 -3
  145. package/dist/components/Contractor/Address/Address.js.map +1 -1
  146. package/dist/components/Contractor/Address/useAddress.js +7 -5
  147. package/dist/components/Contractor/Address/useAddress.js.map +1 -1
  148. package/dist/components/Contractor/ContractorList/index.js +51 -50
  149. package/dist/components/Contractor/ContractorList/index.js.map +1 -1
  150. package/dist/components/Contractor/NewHireReport/NewHireReport.js +3 -2
  151. package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
  152. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +6 -5
  153. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
  154. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +3 -2
  155. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
  156. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +3 -2
  157. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
  158. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js +4 -2
  159. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js.map +1 -1
  160. package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentPresentation.js +10 -10
  161. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js +7 -5
  162. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js.map +1 -1
  163. package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js +4 -3
  164. package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js.map +1 -1
  165. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js +4 -2
  166. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js.map +1 -1
  167. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +8 -6
  168. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
  169. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js +4 -2
  170. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js.map +1 -1
  171. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js +4 -2
  172. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
  173. package/dist/components/Contractor/Profile/ContractorProfileForm.js +15 -15
  174. package/dist/components/Contractor/Profile/useContractorProfile.js +53 -49
  175. package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
  176. package/dist/components/Contractor/Submit/Submit.d.ts +2 -2
  177. package/dist/components/Contractor/Submit/Submit.js +46 -45
  178. package/dist/components/Contractor/Submit/Submit.js.map +1 -1
  179. package/dist/components/Employee/Compensation/Actions.js +5 -4
  180. package/dist/components/Employee/Compensation/Actions.js.map +1 -1
  181. package/dist/components/Employee/Compensation/Edit.js +28 -27
  182. package/dist/components/Employee/Compensation/Edit.js.map +1 -1
  183. package/dist/components/Employee/Compensation/List.js +23 -22
  184. package/dist/components/Employee/Compensation/List.js.map +1 -1
  185. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js +12 -10
  186. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js.map +1 -1
  187. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js +19 -17
  188. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js.map +1 -1
  189. package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js +13 -11
  190. package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js.map +1 -1
  191. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +8 -7
  192. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +1 -1
  193. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +7 -6
  194. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
  195. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +6 -5
  196. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  197. package/dist/components/Employee/DocumentSigner/DocumentList/List.js +4 -2
  198. package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
  199. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js +5 -3
  200. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  201. package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +26 -24
  202. package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js.map +1 -1
  203. package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js +10 -9
  204. package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js.map +1 -1
  205. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +8 -7
  206. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  207. package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js +5 -3
  208. package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
  209. package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js +4 -2
  210. package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js.map +1 -1
  211. package/dist/components/Employee/EmployeeList/EmployeeList.d.ts +2 -5
  212. package/dist/components/Employee/EmployeeList/EmployeeList.js +45 -91
  213. package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
  214. package/dist/components/Employee/EmployeeList/EmployeeListView.d.ts +15 -0
  215. package/dist/components/Employee/EmployeeList/EmployeeListView.js +132 -0
  216. package/dist/components/Employee/EmployeeList/EmployeeListView.js.map +1 -0
  217. package/dist/components/Employee/EmployeeList/ManagementEmployeeList.d.ts +9 -0
  218. package/dist/components/Employee/EmployeeList/ManagementEmployeeList.js +81 -0
  219. package/dist/components/Employee/EmployeeList/ManagementEmployeeList.js.map +1 -0
  220. package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.d.ts +17 -0
  221. package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.js +195 -0
  222. package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.js.map +1 -0
  223. package/dist/components/Employee/EmployeeList/index.d.ts +3 -0
  224. package/dist/components/Employee/EmployeeList/useEmployeeList.d.ts +36 -23
  225. package/dist/components/Employee/EmployeeList/useEmployeeList.js +114 -17
  226. package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +1 -1
  227. package/dist/components/Employee/FederalTaxes/Actions.js +7 -6
  228. package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
  229. package/dist/components/Employee/FederalTaxes/FederalForm.js +11 -10
  230. package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
  231. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js +5 -3
  232. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js.map +1 -1
  233. package/dist/components/Employee/Landing/Landing.js +15 -14
  234. package/dist/components/Employee/Landing/Landing.js.map +1 -1
  235. package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js +4 -4
  236. package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js.map +1 -1
  237. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.d.ts +1 -0
  238. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js +14 -8
  239. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
  240. package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js +10 -11
  241. package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js.map +1 -1
  242. package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +7 -7
  243. package/dist/components/Employee/PaymentMethod/Actions.js +6 -5
  244. package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
  245. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +6 -5
  246. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -1
  247. package/dist/components/Employee/PaymentMethod/BankAccountsList.js +9 -8
  248. package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
  249. package/dist/components/Employee/PaymentMethod/PaymentMethod.js +44 -43
  250. package/dist/components/Employee/PaymentMethod/PaymentMethod.js.map +1 -1
  251. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +7 -6
  252. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
  253. package/dist/components/Employee/PaymentMethod/Split.js +11 -10
  254. package/dist/components/Employee/PaymentMethod/Split.js.map +1 -1
  255. package/dist/components/Employee/PaymentMethod/usePaymentMethod.d.ts +1 -0
  256. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +7 -5
  257. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
  258. package/dist/components/Employee/Profile/Actions.js +7 -6
  259. package/dist/components/Employee/Profile/Actions.js.map +1 -1
  260. package/dist/components/Employee/Profile/AdminPersonalDetails.js +5 -4
  261. package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
  262. package/dist/components/Employee/Profile/HomeAddress.js +1 -1
  263. package/dist/components/Employee/Profile/PersonalDetailsInputs.js +2 -2
  264. package/dist/components/Employee/Profile/useProfile.js +5 -3
  265. package/dist/components/Employee/Profile/useProfile.js.map +1 -1
  266. package/dist/components/Employee/StateTaxes/Actions.js +8 -7
  267. package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
  268. package/dist/components/Employee/StateTaxes/useStateTaxes.js +5 -3
  269. package/dist/components/Employee/StateTaxes/useStateTaxes.js.map +1 -1
  270. package/dist/components/Employee/Taxes/Actions.js +9 -8
  271. package/dist/components/Employee/Taxes/Actions.js.map +1 -1
  272. package/dist/components/Employee/Taxes/FederalForm.js +11 -10
  273. package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
  274. package/dist/components/Employee/Taxes/useTaxes.js +5 -3
  275. package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
  276. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +16 -14
  277. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js.map +1 -1
  278. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js +13 -12
  279. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js.map +1 -1
  280. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js +4 -2
  281. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js.map +1 -1
  282. package/dist/components/Employee/index.d.ts +1 -0
  283. package/dist/components/Employee/index.js +38 -36
  284. package/dist/components/Employee/index.js.map +1 -1
  285. package/dist/components/Flow/Flow.js +18 -16
  286. package/dist/components/Flow/Flow.js.map +1 -1
  287. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js +17 -16
  288. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js.map +1 -1
  289. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +12 -11
  290. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
  291. package/dist/components/InformationRequests/InformationRequests.js +4 -3
  292. package/dist/components/InformationRequests/InformationRequests.js.map +1 -1
  293. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +9 -8
  294. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js.map +1 -1
  295. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js +10 -8
  296. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js.map +1 -1
  297. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +14 -12
  298. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
  299. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js +30 -25
  300. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js.map +1 -1
  301. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js +32 -30
  302. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js.map +1 -1
  303. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +2 -1
  304. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
  305. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +7 -6
  306. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
  307. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js +13 -12
  308. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js.map +1 -1
  309. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js +13 -11
  310. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
  311. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js +12 -12
  312. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +192 -186
  313. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
  314. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +2 -1
  315. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +102 -76
  316. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
  317. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +158 -159
  318. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
  319. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.module.scss.js +7 -7
  320. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.d.ts +11 -0
  321. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +55 -18
  322. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
  323. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js +40 -40
  324. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js.map +1 -1
  325. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js +65 -54
  326. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
  327. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +1 -0
  328. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
  329. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js +35 -14
  330. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js.map +1 -1
  331. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js +80 -69
  332. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -1
  333. package/dist/components/Payroll/PayrollHistory/PayrollHistory.d.ts +0 -1
  334. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +59 -66
  335. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
  336. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +5 -4
  337. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +95 -100
  338. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
  339. package/dist/components/Payroll/PayrollList/PayrollList.js +98 -68
  340. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  341. package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +9 -1
  342. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +213 -132
  343. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
  344. package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js +8 -6
  345. package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js.map +1 -1
  346. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +49 -47
  347. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
  348. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +187 -178
  349. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
  350. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js +4 -2
  351. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js.map +1 -1
  352. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +3 -2
  353. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
  354. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +3 -2
  355. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
  356. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js +7 -6
  357. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
  358. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js +4 -2
  359. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js.map +1 -1
  360. package/dist/components/Payroll/Transition/TransitionFlow.d.ts +1 -1
  361. package/dist/components/Payroll/Transition/TransitionFlow.js +29 -27
  362. package/dist/components/Payroll/Transition/TransitionFlow.js.map +1 -1
  363. package/dist/components/Payroll/Transition/TransitionFlowComponents.d.ts +1 -0
  364. package/dist/components/Payroll/Transition/TransitionFlowComponents.js.map +1 -1
  365. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +14 -12
  366. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js.map +1 -1
  367. package/dist/components/Payroll/usePreparedPayrollData.js +4 -2
  368. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
  369. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.d.ts +1 -1
  370. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.js.map +1 -1
  371. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.d.ts +1 -1
  372. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.js.map +1 -1
  373. package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.d.ts +1 -2
  374. package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.js.map +1 -1
  375. package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.d.ts +1 -1
  376. package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.js.map +1 -1
  377. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.d.ts +1 -2
  378. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js +10 -9
  379. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js.map +1 -1
  380. package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.d.ts +1 -2
  381. package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.js.map +1 -1
  382. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.d.ts +1 -2
  383. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js +11 -10
  384. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js.map +1 -1
  385. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.d.ts +1 -2
  386. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js +10 -9
  387. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js.map +1 -1
  388. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.d.ts +1 -2
  389. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js +13 -12
  390. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js.map +1 -1
  391. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.d.ts +1 -2
  392. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js +14 -13
  393. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js.map +1 -1
  394. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.d.ts +1 -2
  395. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js +15 -14
  396. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js.map +1 -1
  397. package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.d.ts +1 -1
  398. package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.js.map +1 -1
  399. package/dist/components/UNSTABLE_Hooks/form/index.d.ts +1 -1
  400. package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.d.ts +1 -1
  401. package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js.map +1 -1
  402. package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.d.ts +1 -1
  403. package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js.map +1 -1
  404. package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.d.ts +1 -1
  405. package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.js.map +1 -1
  406. package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.d.ts +1 -2
  407. package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.js.map +1 -1
  408. package/dist/components/UNSTABLE_Hooks/form/withOptions.d.ts +1 -1
  409. package/dist/components/UNSTABLE_Hooks/form/withOptions.js.map +1 -1
  410. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js +3 -2
  411. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js.map +1 -1
  412. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.d.ts +1 -1
  413. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.js.map +1 -1
  414. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.d.ts +10 -10
  415. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js +19 -19
  416. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js.map +1 -1
  417. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js +3 -2
  418. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js.map +1 -1
  419. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.d.ts +1 -1
  420. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.js.map +1 -1
  421. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.d.ts +9 -9
  422. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js +15 -15
  423. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js.map +1 -1
  424. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js +7 -6
  425. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js.map +1 -1
  426. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.d.ts +1 -1
  427. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.js.map +1 -1
  428. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.d.ts +5 -5
  429. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js +13 -13
  430. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js.map +1 -1
  431. package/dist/components/UNSTABLE_Hooks/index.d.ts +3 -3
  432. package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.d.ts +5 -0
  433. package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js +46 -0
  434. package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js.map +1 -0
  435. package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.d.ts +5 -0
  436. package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js +46 -0
  437. package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js.map +1 -0
  438. package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.d.ts +5 -0
  439. package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js +46 -0
  440. package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +1 -0
  441. package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.d.ts +6 -0
  442. package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.js +50 -0
  443. package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.js.map +1 -0
  444. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.d.ts +5 -0
  445. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js +50 -0
  446. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js.map +1 -0
  447. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.d.ts +5 -0
  448. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.js +46 -0
  449. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.js.map +1 -0
  450. package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.d.ts +5 -0
  451. package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.js +59 -0
  452. package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.js.map +1 -0
  453. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.d.ts +2 -0
  454. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.js +25 -0
  455. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.js.map +1 -0
  456. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +29 -0
  457. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js +98 -0
  458. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -0
  459. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/index.d.ts +3 -0
  460. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.d.ts +14 -0
  461. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js +290 -0
  462. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js.map +1 -0
  463. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/EmployeeTable.d.ts +2 -0
  464. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/EmployeeTableTypes.d.ts +26 -0
  465. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/index.d.ts +4 -0
  466. package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.d.ts +5 -0
  467. package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js +35 -0
  468. package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js.map +1 -0
  469. package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.d.ts +5 -0
  470. package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js +35 -0
  471. package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js.map +1 -0
  472. package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.d.ts +5 -0
  473. package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.js +35 -0
  474. package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.js.map +1 -0
  475. package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.d.ts +5 -0
  476. package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.js +35 -0
  477. package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.js.map +1 -0
  478. package/dist/components/UNSTABLE_TimeOff/index.d.ts +25 -0
  479. package/dist/components/UNSTABLE_TimeOff/index.js +27 -0
  480. package/dist/components/UNSTABLE_TimeOff/index.js.map +1 -0
  481. package/dist/components/index.d.ts +1 -0
  482. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js +48 -46
  483. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -1
  484. package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +2 -0
  485. package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
  486. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +11 -10
  487. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  488. package/dist/helpers/breadcrumbHelpers.d.ts +14 -0
  489. package/dist/helpers/breadcrumbHelpers.js +35 -26
  490. package/dist/helpers/breadcrumbHelpers.js.map +1 -1
  491. package/dist/{components/UNSTABLE_Hooks → helpers}/collectErrors.d.ts +1 -1
  492. package/dist/{components/UNSTABLE_Hooks → helpers}/collectErrors.js +1 -1
  493. package/dist/helpers/collectErrors.js.map +1 -0
  494. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.d.ts +20 -0
  495. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.js +38 -0
  496. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.js.map +1 -0
  497. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.test.d.ts +1 -0
  498. package/dist/{components/UNSTABLE_Hooks → hooks}/useErrorHandling.d.ts +2 -2
  499. package/dist/{components/UNSTABLE_Hooks → hooks}/useErrorHandling.js +1 -1
  500. package/dist/hooks/useErrorHandling.js.map +1 -0
  501. package/dist/hooks/useErrorHandling.test.d.ts +1 -0
  502. package/dist/hooks/usePagination/usePagination.d.ts +2 -0
  503. package/dist/hooks/usePagination/usePagination.js +32 -29
  504. package/dist/hooks/usePagination/usePagination.js.map +1 -1
  505. package/dist/i18n/I18n.js +15 -15
  506. package/dist/i18n/I18n.js.map +1 -1
  507. package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js +10 -12
  508. package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js.map +1 -1
  509. package/dist/i18n/en/Company.TimeOff.EmployeeTable.json.js +32 -0
  510. package/dist/i18n/en/Company.TimeOff.EmployeeTable.json.js.map +1 -0
  511. package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js +11 -13
  512. package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js.map +1 -1
  513. package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js +10 -10
  514. package/dist/i18n/en/Employee.EmployeeList.json.js +22 -20
  515. package/dist/i18n/en/Employee.EmployeeList.json.js.map +1 -1
  516. package/dist/i18n/en/Employee.ManagementEmployeeList.json.js +40 -0
  517. package/dist/i18n/en/Employee.ManagementEmployeeList.json.js.map +1 -0
  518. package/dist/i18n/en/Payroll.PayrollHistory.json.js +12 -12
  519. package/dist/i18n/en/Payroll.PayrollList.json.js +28 -20
  520. package/dist/i18n/en/Payroll.PayrollList.json.js.map +1 -1
  521. package/dist/i18n/en/Payroll.PayrollOverview.json.js +30 -28
  522. package/dist/i18n/en/Payroll.PayrollOverview.json.js.map +1 -1
  523. package/dist/index.js +18 -16
  524. package/dist/index.js.map +1 -1
  525. package/dist/shared/constants.d.ts +46 -0
  526. package/dist/shared/constants.js +99 -74
  527. package/dist/shared/constants.js.map +1 -1
  528. package/dist/style.css +1 -1
  529. package/dist/types/i18next.d.ts +85 -32
  530. package/dist/{components/UNSTABLE_Hooks/types.d.ts → types/sdkHooks.d.ts} +28 -2
  531. package/docs/reference/endpoint-inventory.json +554 -385
  532. package/package.json +25 -16
  533. package/dist/components/Employee/EmployeeList/Actions.d.ts +0 -1
  534. package/dist/components/Employee/EmployeeList/Actions.js +0 -14
  535. package/dist/components/Employee/EmployeeList/Actions.js.map +0 -1
  536. package/dist/components/Employee/EmployeeList/Head.d.ts +0 -1
  537. package/dist/components/Employee/EmployeeList/Head.js +0 -12
  538. package/dist/components/Employee/EmployeeList/Head.js.map +0 -1
  539. package/dist/components/Employee/EmployeeList/List.d.ts +0 -2
  540. package/dist/components/Employee/EmployeeList/List.js +0 -124
  541. package/dist/components/Employee/EmployeeList/List.js.map +0 -1
  542. package/dist/components/Employee/EmployeeList/List.module.scss.js +0 -8
  543. package/dist/components/Employee/EmployeeList/List.module.scss.js.map +0 -1
  544. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.module.scss.js +0 -8
  545. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.module.scss.js.map +0 -1
  546. package/dist/components/UNSTABLE_Hooks/collectErrors.js.map +0 -1
  547. package/dist/components/UNSTABLE_Hooks/form/types.d.ts +0 -27
  548. package/dist/components/UNSTABLE_Hooks/useErrorHandling.js.map +0 -1
  549. /package/dist/components/{UNSTABLE_Hooks/useErrorHandling.test.d.ts → UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.test.d.ts} +0 -0
@@ -1,99 +1,102 @@
1
- import { jsx as r, jsxs as s, Fragment as S } from "react/jsx-runtime";
2
- import { useTranslation as Pe, Trans as Ce } from "react-i18next";
3
- import { useState as re, useRef as ke } from "react";
4
- import { isDismissalPayroll as xe, getPayrollTypeLabel as Se, calculateTotalPayroll as Ne, hasDirectDepositEmployees as we } from "../helpers.js";
1
+ import { jsx as a, jsxs as o, Fragment as w } from "react/jsx-runtime";
2
+ import { useTranslation as Pe, Trans as ke } from "react-i18next";
3
+ import { useState as ne, useRef as Ce } from "react";
4
+ import { isDismissalPayroll as we, getPayrollTypeLabel as Se, calculateTotalPayroll as Ne, hasDirectDepositEmployees as _e } from "../helpers.js";
5
5
  import { PayrollOverviewStatus as h } from "./PayrollOverviewTypes.js";
6
- import ne from "./PayrollOverviewPresentation.module.scss.js";
7
- import { Flex as d } from "../../Common/Flex/Flex.js";
8
- import { Grid as _e } from "../../Common/Grid/Grid.js";
9
- import ve from "../../../hooks/useContainerBreakpoints/useContainerBreakpoints.js";
10
- import { useComponentContext as Le } from "../../../contexts/ComponentAdapter/useComponentContext.js";
11
- import { useI18n as Ee } from "../../../i18n/I18n.js";
12
- import { useDateFormatter as Oe } from "../../../hooks/useDateFormatter.js";
13
- import Ae from "../../../hooks/useNumberFormatter.js";
6
+ import ie from "./PayrollOverviewPresentation.module.scss.js";
7
+ import { Flex as s } from "../../Common/Flex/Flex.js";
8
+ import { Grid as ve } from "../../Common/Grid/Grid.js";
9
+ import Le from "../../../hooks/useContainerBreakpoints/useContainerBreakpoints.js";
10
+ import { useComponentContext as Ee } from "../../../contexts/ComponentAdapter/useComponentContext.js";
11
+ import { useI18n as Oe } from "../../../i18n/I18n.js";
12
+ import { useDateFormatter as Ae } from "../../../hooks/useDateFormatter.js";
13
+ import Me from "../../../hooks/useNumberFormatter.js";
14
14
  import { firstLastName as U } from "../../../helpers/formattedStrings.js";
15
- import { PAYMENT_METHODS as Me, FlsaStatus as ie, compensationTypeLabels as N, PAYROLL_RESOLVABLE_SUBMISSION_BLOCKER_TYPES as le } from "../../../shared/constants.js";
16
- import oe from "../../../assets/icons/download-cloud.svg.js";
17
- import { PayrollLoading as se } from "../../Common/PayrollLoading/PayrollLoading.js";
15
+ import { PAYMENT_METHODS as Be, FlsaStatus as le, compensationTypeLabels as S, PAYROLL_RESOLVABLE_SUBMISSION_BLOCKER_TYPES as oe } from "../../../shared/constants.js";
16
+ import se from "../../../assets/icons/download-cloud.svg.js";
17
+ import { PayrollLoading as de } from "../../Common/PayrollLoading/PayrollLoading.js";
18
18
  import { FastAchSubmissionBlockerBanner as We } from "./SubmissionBlockers/FastAchSubmissionBlockerBanner.js";
19
19
  import { GenericBlocker as Ue } from "./SubmissionBlockers/GenericBlocker.js";
20
- import { DataView as c } from "../../Common/DataView/DataView.js";
21
- const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate, p.endDate) : { startDate: "", endDate: "" }, lt = ({
22
- onEdit: p,
23
- onSubmit: w,
24
- onCancel: de,
20
+ import { DataView as m } from "../../Common/DataView/DataView.js";
21
+ const Ve = (y, N) => y?.startDate && y.endDate ? N.formatPayPeriod(y.startDate, y.endDate) : { startDate: "", endDate: "" }, ot = ({
22
+ onEdit: y,
23
+ onSubmit: N,
24
+ onCancel: ce,
25
25
  onPayrollReceipt: me,
26
26
  onPaystubDownload: V,
27
- employeeDetails: ce,
27
+ employeeDetails: ue,
28
28
  payrollData: n,
29
29
  bankAccount: Y,
30
30
  taxes: _,
31
31
  status: g = h.Viewing,
32
32
  isProcessed: T,
33
- canCancel: ue = !1,
34
- alerts: B = [],
33
+ canCancel: be = !1,
34
+ alerts: I = [],
35
35
  submissionBlockers: f = [],
36
36
  selectedUnblockOptions: v = {},
37
- onUnblockOptionChange: I,
38
- wireInConfirmationRequest: be,
37
+ onUnblockOptionChange: R,
38
+ wireInConfirmationRequest: pe,
39
39
  withReimbursements: D = !0,
40
40
  paymentSpeed: ye
41
41
  }) => {
42
- const { Alert: L, Button: H, ButtonIcon: R, Dialog: pe, Heading: F, Text: m, Tabs: fe } = Le();
43
- Ee("Payroll.PayrollOverview");
44
- const o = Oe(), { t } = Pe("Payroll.PayrollOverview"), i = Ae("currency"), [he, ge] = re("companyPays"), [j, G] = re(!1), E = ke(null), P = ve({ ref: E }).includes("small"), C = g === h.Submitting || g === h.Cancelling, $ = /* @__PURE__ */ r(F, { as: "h1", children: t(T ? "summaryTitle" : "overviewTitle") }), z = xe(n.offCycleReason), K = /* @__PURE__ */ r(m, { children: /* @__PURE__ */ r(
45
- Ce,
42
+ const { Alert: L, Badge: E, Button: H, ButtonIcon: F, Dialog: fe, Heading: j, Text: c, Tabs: he } = Ee();
43
+ Oe("Payroll.PayrollOverview");
44
+ const d = Ae(), { t } = Pe("Payroll.PayrollOverview"), i = Me("currency"), [ge, Te] = ne("companyPays"), [G, $] = ne(!1), O = Ce(null), x = Le({ ref: O }).includes("small"), P = g === h.Submitting || g === h.Cancelling, z = /* @__PURE__ */ a(j, { as: "h1", children: t(T ? "summaryTitle" : "overviewTitle") }), K = we(n.offCycleReason), X = /* @__PURE__ */ a(c, { children: /* @__PURE__ */ a(
45
+ ke,
46
46
  {
47
- i18nKey: z ? "pageSubtitleDismissal" : "pageSubtitle",
47
+ i18nKey: K ? "pageSubtitleDismissal" : "pageSubtitle",
48
48
  t,
49
- components: { dateWrapper: /* @__PURE__ */ r(m, { weight: "bold", as: "span" }) },
49
+ components: { dateWrapper: /* @__PURE__ */ a(c, { weight: "bold", as: "span" }) },
50
50
  values: {
51
- ...Ve(n.payPeriod, o),
51
+ ...Ve(n.payPeriod, d),
52
52
  payrollType: Se(n)
53
53
  }
54
54
  }
55
55
  ) });
56
56
  if (g === h.Cancelled)
57
- return /* @__PURE__ */ r("div", { ref: E, className: ne.container, children: /* @__PURE__ */ s(d, { flexDirection: "column", alignItems: "stretch", children: [
58
- /* @__PURE__ */ r(d, { justifyContent: "space-between", alignItems: "flex-start", gap: 16, children: /* @__PURE__ */ s(d, { flexDirection: "column", gap: 4, children: [
59
- $,
60
- K
57
+ return /* @__PURE__ */ a("div", { ref: O, className: ie.container, children: /* @__PURE__ */ o(s, { flexDirection: "column", alignItems: "stretch", children: [
58
+ /* @__PURE__ */ a(s, { justifyContent: "space-between", alignItems: "flex-start", gap: 16, children: /* @__PURE__ */ o(s, { flexDirection: "column", gap: 4, children: [
59
+ z,
60
+ X
61
61
  ] }) }),
62
- /* @__PURE__ */ r(L, { status: "info", label: t("cancelledEmptyState") })
62
+ /* @__PURE__ */ a(L, { status: "info", label: t("cancelledEmptyState") })
63
63
  ] }) });
64
- const k = Ne(n), Te = n.payrollStatusMeta?.expectedDebitTime ?? n.payrollDeadline, X = (e) => e.taxes?.reduce(
65
- (a, l) => l.employer ? a + l.amount : a,
64
+ const k = Ne(n), De = n.payrollStatusMeta?.expectedDebitTime ?? n.payrollDeadline, q = (e) => e.taxes?.reduce(
65
+ (r, l) => l.employer ? r + l.amount : r,
66
66
  0
67
- ) ?? 0, q = (e) => e.benefits?.reduce(
68
- (a, l) => l.companyContribution ? a + l.companyContribution : a,
67
+ ) ?? 0, J = (e) => e.benefits?.reduce(
68
+ (r, l) => l.companyContribution ? r + l.companyContribution : r,
69
69
  0
70
- ) ?? 0, O = (e) => e.fixedCompensations?.length ? Number(
70
+ ) ?? 0, A = (e) => e.fixedCompensations?.length ? Number(
71
71
  e.fixedCompensations.find(
72
- (a) => a.name?.toLowerCase() === N.REIMBURSEMENT_NAME.toLowerCase()
72
+ (r) => r.name?.toLowerCase() === S.REIMBURSEMENT_NAME.toLowerCase()
73
73
  )?.amount || 0
74
- ) : 0, De = (e) => e.grossPay + O(e) + X(e) + q(e), u = new Map(ce.map((e) => [e.uuid, e])), A = f.find(
74
+ ) : 0, He = (e) => e.grossPay + A(e) + q(e) + J(e), u = new Map(ue.map((e) => [e.uuid, e])), M = f.find(
75
75
  (e) => e.blockerType === "fast_ach_threshold_exceeded" || e.blockerType === "needs_earned_access_for_fast_ach"
76
- ), M = A ? v[A.blockerType || ""] : void 0, b = A?.unblockOptions?.find(
77
- (e) => e.unblockType === M
78
- ), J = M === "wire_in", Q = M === "move_to_four_day", x = (e) => e.hourlyCompensations?.reduce(
79
- (a, l) => {
76
+ ), B = M ? v[M.blockerType || ""] : void 0, b = M?.unblockOptions?.find(
77
+ (e) => e.unblockType === B
78
+ ), Q = B === "wire_in", Z = B === "move_to_four_day", C = (e) => e.hourlyCompensations?.reduce(
79
+ (r, l) => {
80
80
  if (typeof l.name > "u")
81
- return a;
82
- const y = l.name.toLowerCase(), W = a[y] ?? 0;
83
- return a[y] = W + Number(l.hours || 0), a;
81
+ return r;
82
+ const p = l.name.toLowerCase(), W = r[p] ?? 0;
83
+ return r[p] = W + Number(l.hours || 0), r;
84
84
  },
85
85
  {}
86
- ) || {}, Z = (e) => e.paidTimeOff?.reduce((a, l) => a + Number(l.hours || 0), 0) ?? 0, ee = n.employeeCompensations?.reduce(
87
- (e, a) => !a.excluded && a.paymentMethod === Me.check ? e + 1 : e,
86
+ ) || {}, ee = (e) => e.paidTimeOff?.reduce((r, l) => r + Number(l.hours || 0), 0) ?? 0, te = n.employeeCompensations?.reduce(
87
+ (e, r) => !r.excluded && r.paymentMethod === Be.check ? e + 1 : e,
88
88
  0
89
- ) ?? 0, te = [
89
+ ) ?? 0, ae = [
90
90
  {
91
91
  key: "employeeName",
92
92
  title: t("tableHeaders.employees"),
93
- render: (e) => U({
94
- first_name: u.get(e.employeeUuid)?.firstName,
95
- last_name: u.get(e.employeeUuid)?.lastName
96
- })
93
+ render: (e) => /* @__PURE__ */ o(s, { flexDirection: "column", gap: 0, children: [
94
+ U({
95
+ first_name: u.get(e.employeeUuid)?.firstName,
96
+ last_name: u.get(e.employeeUuid)?.lastName
97
+ }),
98
+ e.excluded && /* @__PURE__ */ a(E, { status: "warning", children: t("skippedBadge") })
99
+ ] })
97
100
  },
98
101
  {
99
102
  key: "grossPay",
@@ -104,65 +107,65 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
104
107
  {
105
108
  key: "reimbursements",
106
109
  title: t("tableHeaders.reimbursements"),
107
- render: (e) => i(O(e))
110
+ render: (e) => i(A(e))
108
111
  }
109
112
  ] : [],
110
113
  {
111
114
  key: "companyTaxes",
112
115
  title: t("tableHeaders.companyTaxes"),
113
- render: (e) => i(X(e))
116
+ render: (e) => i(q(e))
114
117
  },
115
118
  {
116
119
  key: "companyBenefits",
117
120
  title: t("tableHeaders.companyBenefits"),
118
- render: (e) => i(q(e))
121
+ render: (e) => i(J(e))
119
122
  },
120
123
  {
121
124
  key: "companyPays",
122
125
  title: t("tableHeaders.companyPays"),
123
- render: (e) => i(De(e))
126
+ render: (e) => i(He(e))
124
127
  }
125
128
  ];
126
- T && P && te.push({
129
+ T && x && ae.push({
127
130
  key: "paystubs",
128
131
  title: t("tableHeaders.paystub"),
129
- render: (e) => /* @__PURE__ */ r(d, { justifyContent: "flex-end", children: /* @__PURE__ */ r(
130
- R,
132
+ render: (e) => /* @__PURE__ */ a(s, { justifyContent: "flex-end", children: /* @__PURE__ */ a(
133
+ F,
131
134
  {
132
135
  "aria-label": t("downloadPaystubLabel"),
133
136
  variant: "tertiary",
134
137
  onClick: () => {
135
138
  e.employeeUuid && V(e.employeeUuid);
136
139
  },
137
- children: /* @__PURE__ */ r(oe, {})
140
+ children: /* @__PURE__ */ a(se, {})
138
141
  }
139
142
  ) })
140
143
  });
141
- const He = [
144
+ const xe = [
142
145
  {
143
146
  id: "companyPays",
144
147
  label: t("dataViews.companyPaysTab"),
145
- content: /* @__PURE__ */ r(
146
- c,
148
+ content: /* @__PURE__ */ a(
149
+ m,
147
150
  {
148
151
  label: t("dataViews.companyPaysTable"),
149
- columns: te,
152
+ columns: ae,
150
153
  data: n.employeeCompensations,
151
- itemMenu: T && !P ? (e) => /* @__PURE__ */ r(
152
- R,
154
+ itemMenu: T && !x ? (e) => /* @__PURE__ */ a(
155
+ F,
153
156
  {
154
157
  "aria-label": t("downloadPaystubLabel"),
155
158
  variant: "tertiary",
156
159
  onClick: () => {
157
160
  e.employeeUuid && V(e.employeeUuid);
158
161
  },
159
- children: /* @__PURE__ */ r(oe, {})
162
+ children: /* @__PURE__ */ a(se, {})
160
163
  }
161
164
  ) : void 0,
162
165
  footer: () => ({
163
- employeeName: /* @__PURE__ */ s(S, { children: [
164
- /* @__PURE__ */ r(m, { weight: "semibold", size: "sm", children: t("tableHeaders.footerTotalsLabel") }),
165
- /* @__PURE__ */ r(m, { variant: "supporting", size: "sm", children: t("tableHeaders.footerTotalsDescription") })
166
+ employeeName: /* @__PURE__ */ o(w, { children: [
167
+ /* @__PURE__ */ a(c, { weight: "semibold", size: "sm", children: t("tableHeaders.footerTotalsLabel") }),
168
+ /* @__PURE__ */ a(c, { variant: "supporting", size: "sm", children: t("tableHeaders.footerTotalsDescription") })
166
169
  ] }),
167
170
  grossPay: i(Number(n.totals?.grossPay ?? 0)),
168
171
  ...D ? {
@@ -178,59 +181,62 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
178
181
  {
179
182
  id: "hoursWorked",
180
183
  label: t("dataViews.hoursWorkedTab"),
181
- content: /* @__PURE__ */ r(
182
- c,
184
+ content: /* @__PURE__ */ a(
185
+ m,
183
186
  {
184
187
  label: t("dataViews.hoursWorkedTable"),
185
188
  columns: [
186
189
  {
187
190
  title: t("tableHeaders.employees"),
188
- render: (e) => U({
189
- first_name: u.get(e.employeeUuid)?.firstName,
190
- last_name: u.get(e.employeeUuid)?.lastName
191
- })
191
+ render: (e) => /* @__PURE__ */ o(s, { flexDirection: "column", gap: 0, children: [
192
+ U({
193
+ first_name: u.get(e.employeeUuid)?.firstName,
194
+ last_name: u.get(e.employeeUuid)?.lastName
195
+ }),
196
+ e.excluded && /* @__PURE__ */ a(E, { status: "warning", children: t("skippedBadge") })
197
+ ] })
192
198
  },
193
199
  {
194
200
  title: t("tableHeaders.compensationType"),
195
- render: (e) => u.get(e.employeeUuid)?.jobs?.reduce((a, l) => {
201
+ render: (e) => u.get(e.employeeUuid)?.jobs?.reduce((r, l) => {
196
202
  if (l.primary) {
197
- const y = l.compensations?.find(
203
+ const p = l.compensations?.find(
198
204
  (W) => W.uuid === l.currentCompensationUuid
199
205
  )?.flsaStatus;
200
- switch (y) {
201
- case ie.EXEMPT:
206
+ switch (p) {
207
+ case le.EXEMPT:
202
208
  return t("compensationTypeLabels.exempt");
203
- case ie.NONEXEMPT:
209
+ case le.NONEXEMPT:
204
210
  return t("compensationTypeLabels.nonexempt");
205
211
  default:
206
- return y ?? "";
212
+ return p ?? "";
207
213
  }
208
214
  }
209
- return a;
215
+ return r;
210
216
  }, "")
211
217
  },
212
218
  {
213
219
  title: t("tableHeaders.regular"),
214
- render: (e) => x(e)[N.REGULAR_HOURS_NAME] || 0
220
+ render: (e) => C(e)[S.REGULAR_HOURS_NAME] || 0
215
221
  },
216
222
  {
217
223
  title: t("tableHeaders.overtime"),
218
- render: (e) => x(e)[N.OVERTIME_NAME] || 0
224
+ render: (e) => C(e)[S.OVERTIME_NAME] || 0
219
225
  },
220
226
  {
221
227
  title: t("tableHeaders.doubleOT"),
222
- render: (e) => x(e)[N.DOUBLE_OVERTIME_NAME] || 0
228
+ render: (e) => C(e)[S.DOUBLE_OVERTIME_NAME] || 0
223
229
  },
224
230
  {
225
231
  title: t("tableHeaders.timeOff"),
226
- render: (e) => Z(e)
232
+ render: (e) => ee(e)
227
233
  },
228
234
  {
229
235
  title: t("tableHeaders.totalHours"),
230
- render: (e) => Object.values(x(e)).reduce(
231
- (a, l) => a + l,
236
+ render: (e) => Object.values(C(e)).reduce(
237
+ (r, l) => r + l,
232
238
  0
233
- ) + Z(e)
239
+ ) + ee(e)
234
240
  }
235
241
  ],
236
242
  data: n.employeeCompensations
@@ -240,17 +246,20 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
240
246
  {
241
247
  id: "employeeTakeHome",
242
248
  label: t("dataViews.employeeTakeHomeTab"),
243
- content: /* @__PURE__ */ r(
244
- c,
249
+ content: /* @__PURE__ */ a(
250
+ m,
245
251
  {
246
252
  label: t("dataViews.employeeTakeHomeTable"),
247
253
  columns: [
248
254
  {
249
255
  title: t("tableHeaders.employees"),
250
- render: (e) => U({
251
- first_name: u.get(e.employeeUuid)?.firstName,
252
- last_name: u.get(e.employeeUuid)?.lastName
253
- })
256
+ render: (e) => /* @__PURE__ */ o(s, { flexDirection: "column", gap: 0, children: [
257
+ U({
258
+ first_name: u.get(e.employeeUuid)?.firstName,
259
+ last_name: u.get(e.employeeUuid)?.lastName
260
+ }),
261
+ e.excluded && /* @__PURE__ */ a(E, { status: "warning", children: t("skippedBadge") })
262
+ ] })
254
263
  },
255
264
  {
256
265
  title: t("tableHeaders.paymentType"),
@@ -264,7 +273,7 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
264
273
  title: t("tableHeaders.deductions"),
265
274
  render: (e) => i(
266
275
  e.deductions?.reduce(
267
- (a, l) => a + l.amount,
276
+ (r, l) => r + l.amount,
268
277
  0
269
278
  ) ?? 0
270
279
  )
@@ -272,14 +281,14 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
272
281
  ...D ? [
273
282
  {
274
283
  title: t("tableHeaders.reimbursements"),
275
- render: (e) => i(O(e))
284
+ render: (e) => i(A(e))
276
285
  }
277
286
  ] : [],
278
287
  {
279
288
  title: t("tableHeaders.employeeTaxes"),
280
289
  render: (e) => i(
281
290
  e.taxes?.reduce(
282
- (a, l) => l.employer ? a : a + l.amount,
291
+ (r, l) => l.employer ? r : r + l.amount,
283
292
  0
284
293
  ) ?? 0
285
294
  )
@@ -288,7 +297,7 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
288
297
  title: t("tableHeaders.employeeBenefits"),
289
298
  render: (e) => i(
290
299
  e.benefits?.reduce(
291
- (a, l) => a + (l.employeeDeduction ?? 0),
300
+ (r, l) => r + (l.employeeDeduction ?? 0),
292
301
  0
293
302
  ) ?? 0
294
303
  )
@@ -305,9 +314,9 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
305
314
  {
306
315
  id: "taxes",
307
316
  label: t("dataViews.taxesTab"),
308
- content: /* @__PURE__ */ s(d, { flexDirection: "column", gap: 32, children: [
309
- /* @__PURE__ */ r(
310
- c,
317
+ content: /* @__PURE__ */ o(s, { flexDirection: "column", gap: 32, children: [
318
+ /* @__PURE__ */ a(
319
+ m,
311
320
  {
312
321
  label: t("dataViews.taxesTable"),
313
322
  columns: [
@@ -328,15 +337,15 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
328
337
  }
329
338
  ],
330
339
  footer: () => ({
331
- taxDescription: /* @__PURE__ */ r(m, { weight: "semibold", size: "sm", children: t("totalsLabel") }),
340
+ taxDescription: /* @__PURE__ */ a(c, { weight: "semibold", size: "sm", children: t("totalsLabel") }),
332
341
  byYourEmployees: i(Number(n.totals?.employeeTaxes ?? 0)),
333
342
  byYourCompany: i(Number(n.totals?.employerTaxes ?? 0))
334
343
  }),
335
344
  data: Object.keys(_)
336
345
  }
337
346
  ),
338
- /* @__PURE__ */ r(
339
- c,
347
+ /* @__PURE__ */ a(
348
+ m,
340
349
  {
341
350
  label: t("dataViews.debitedTable"),
342
351
  columns: [
@@ -367,27 +376,27 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
367
376
  )
368
377
  ] })
369
378
  }
370
- ], ae = T ? /* @__PURE__ */ s(S, { children: [
371
- /* @__PURE__ */ r(H, { onClick: me, variant: "secondary", isDisabled: C, children: t("payrollReceiptCta") }),
372
- ue && /* @__PURE__ */ r(
379
+ ], re = T ? /* @__PURE__ */ o(w, { children: [
380
+ /* @__PURE__ */ a(H, { onClick: me, variant: "secondary", isDisabled: P, children: t("payrollReceiptCta") }),
381
+ be && /* @__PURE__ */ a(
373
382
  H,
374
383
  {
375
384
  onClick: () => {
376
- G(!0);
385
+ $(!0);
377
386
  },
378
387
  variant: "error",
379
- isDisabled: C,
388
+ isDisabled: P,
380
389
  children: t("cancelCta")
381
390
  }
382
391
  )
383
- ] }) : /* @__PURE__ */ s(S, { children: [
384
- /* @__PURE__ */ r(H, { onClick: p, variant: "secondary", isDisabled: C, children: t("editCta") }),
385
- /* @__PURE__ */ r(
392
+ ] }) : /* @__PURE__ */ o(w, { children: [
393
+ /* @__PURE__ */ a(H, { onClick: y, variant: "secondary", isDisabled: P, children: t("editCta") }),
394
+ /* @__PURE__ */ a(
386
395
  H,
387
396
  {
388
- onClick: w,
389
- isDisabled: C || f.length > 0 && (f.some(
390
- (e) => !le.includes(e.blockerType || "")
397
+ onClick: N,
398
+ isDisabled: P || f.length > 0 && (f.some(
399
+ (e) => !oe.includes(e.blockerType || "")
391
400
  ) || f.some(
392
401
  (e) => !v[e.blockerType || ""]
393
402
  )),
@@ -395,18 +404,18 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
395
404
  }
396
405
  )
397
406
  ] });
398
- return /* @__PURE__ */ r("div", { ref: E, className: ne.container, children: /* @__PURE__ */ s(d, { flexDirection: "column", alignItems: "stretch", children: [
399
- /* @__PURE__ */ s(d, { justifyContent: "space-between", alignItems: "flex-start", gap: 16, children: [
400
- /* @__PURE__ */ s(d, { flexDirection: "column", gap: 4, children: [
401
- $,
402
- K
407
+ return /* @__PURE__ */ a("div", { ref: O, className: ie.container, children: /* @__PURE__ */ o(s, { flexDirection: "column", alignItems: "stretch", children: [
408
+ /* @__PURE__ */ o(s, { justifyContent: "space-between", alignItems: "flex-start", gap: 16, children: [
409
+ /* @__PURE__ */ o(s, { flexDirection: "column", gap: 4, children: [
410
+ z,
411
+ X
403
412
  ] }),
404
- P && /* @__PURE__ */ r(d, { gap: 8, justifyContent: "flex-end", children: ae })
413
+ x && /* @__PURE__ */ a(s, { gap: 8, justifyContent: "flex-end", children: re })
405
414
  ] }),
406
- !P && /* @__PURE__ */ r(_e, { gridTemplateColumns: "1fr", gap: 8, children: ae }),
407
- g === h.Cancelling ? /* @__PURE__ */ r(se, { title: t("cancellingTitle") }) : g === h.Submitting ? /* @__PURE__ */ r(se, { title: t("loadingTitle"), description: t("loadingDescription") }) : /* @__PURE__ */ s(S, { children: [
408
- be,
409
- B.length > 0 && /* @__PURE__ */ r(d, { flexDirection: "column", gap: 16, children: B.map((e, a) => /* @__PURE__ */ r(
415
+ !x && /* @__PURE__ */ a(ve, { gridTemplateColumns: "1fr", gap: 8, children: re }),
416
+ g === h.Cancelling ? /* @__PURE__ */ a(de, { title: t("cancellingTitle") }) : g === h.Submitting ? /* @__PURE__ */ a(de, { title: t("loadingTitle"), description: t("loadingDescription") }) : /* @__PURE__ */ o(w, { children: [
417
+ pe,
418
+ I.length > 0 && /* @__PURE__ */ a(s, { flexDirection: "column", gap: 16, children: I.map((e, r) => /* @__PURE__ */ a(
410
419
  L,
411
420
  {
412
421
  label: e.title,
@@ -416,22 +425,22 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
416
425
  },
417
426
  `${e.type}-${e.title}`
418
427
  )) }),
419
- f.length > 0 && I && f.map((e) => {
420
- const a = e.blockerType || "";
421
- return le.includes(a) ? /* @__PURE__ */ r(
428
+ f.length > 0 && R && f.map((e) => {
429
+ const r = e.blockerType || "";
430
+ return oe.includes(r) ? /* @__PURE__ */ a(
422
431
  We,
423
432
  {
424
433
  blocker: e,
425
- selectedValue: v[a],
426
- onUnblockOptionChange: I,
434
+ selectedValue: v[r],
435
+ onUnblockOptionChange: R,
427
436
  paymentSpeed: ye
428
437
  },
429
- a
430
- ) : /* @__PURE__ */ r(Ue, { blocker: e }, a);
438
+ r
439
+ ) : /* @__PURE__ */ a(Ue, { blocker: e }, r);
431
440
  }),
432
- /* @__PURE__ */ r(F, { as: "h3", children: t(J ? "payrollSummaryTitleWire" : Q ? "payrollSummaryTitleFourDay" : "payrollSummaryTitle") }),
433
- J ? /* @__PURE__ */ r(
434
- c,
441
+ /* @__PURE__ */ a(j, { as: "h3", children: t(Q ? "payrollSummaryTitleWire" : Z ? "payrollSummaryTitleFourDay" : "payrollSummaryTitle") }),
442
+ Q ? /* @__PURE__ */ a(
443
+ m,
435
444
  {
436
445
  label: t("payrollSummaryLabel"),
437
446
  columns: [
@@ -442,26 +451,26 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
442
451
  {
443
452
  title: t("tableHeaders.wireAmount"),
444
453
  render: () => {
445
- const a = b?.metadata?.wire_in_amount;
446
- return a ? i(Number(a)) : "-";
454
+ const r = b?.metadata?.wire_in_amount;
455
+ return r ? i(Number(r)) : "-";
447
456
  }
448
457
  },
449
458
  {
450
459
  title: t("tableHeaders.wireTransferDeadline"),
451
460
  render: () => {
452
- const a = b?.metadata?.wire_in_deadline, l = o.formatWithTime(a), y = o.formatShortWithYear(a);
453
- return a ? `${l.time} on ${y}` : "-";
461
+ const r = b?.metadata?.wire_in_deadline, l = d.formatWithTime(r), p = d.formatShortWithYear(r);
462
+ return r ? `${l.time} on ${p}` : "-";
454
463
  }
455
464
  },
456
465
  {
457
466
  title: t("tableHeaders.employeePayDate"),
458
- render: () => b?.checkDate ? o.formatShortWithYear(b.checkDate) : "-"
467
+ render: () => b?.checkDate ? d.formatShortWithYear(b.checkDate) : "-"
459
468
  }
460
469
  ],
461
470
  data: [{}]
462
471
  }
463
- ) : Q ? /* @__PURE__ */ r(
464
- c,
472
+ ) : Z ? /* @__PURE__ */ a(
473
+ m,
465
474
  {
466
475
  label: t("payrollSummaryLabel"),
467
476
  columns: [
@@ -483,19 +492,19 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
483
492
  {
484
493
  title: t("tableHeaders.debitDate"),
485
494
  render: () => {
486
- const a = b?.metadata?.debit_date;
487
- return o.formatShortWithYear(a);
495
+ const r = b?.metadata?.debit_date;
496
+ return d.formatShortWithYear(r);
488
497
  }
489
498
  },
490
499
  {
491
500
  title: t("tableHeaders.employeePayDate"),
492
- render: () => b?.checkDate ? o.formatShortWithYear(b.checkDate) : "-"
501
+ render: () => b?.checkDate ? d.formatShortWithYear(b.checkDate) : "-"
493
502
  }
494
503
  ],
495
504
  data: [{}]
496
505
  }
497
- ) : /* @__PURE__ */ r(
498
- c,
506
+ ) : /* @__PURE__ */ a(
507
+ m,
499
508
  {
500
509
  label: t("payrollSummaryLabel"),
501
510
  columns: [
@@ -513,53 +522,53 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
513
522
  },
514
523
  {
515
524
  title: t("tableHeaders.debitDate"),
516
- render: () => o.formatShortWithYear(Te)
525
+ render: () => d.formatShortWithYear(De)
517
526
  },
518
527
  {
519
528
  title: t("tableHeaders.employeePayDate"),
520
- render: () => o.formatShortWithYear(n.checkDate)
529
+ render: () => d.formatShortWithYear(n.checkDate)
521
530
  }
522
531
  ],
523
532
  data: [{}]
524
533
  }
525
534
  ),
526
- ee > 0 && /* @__PURE__ */ r(
535
+ te > 0 && /* @__PURE__ */ a(
527
536
  L,
528
537
  {
529
538
  status: "warning",
530
- label: t("alerts.checkPaymentWarning", { count: ee }),
531
- children: /* @__PURE__ */ r(m, { children: t("alerts.checkPaymentWarningDescription") })
539
+ label: t("alerts.checkPaymentWarning", { count: te }),
540
+ children: /* @__PURE__ */ a(c, { children: t("alerts.checkPaymentWarningDescription") })
532
541
  }
533
542
  ),
534
- /* @__PURE__ */ r(
535
- fe,
543
+ /* @__PURE__ */ a(
544
+ he,
536
545
  {
537
- onSelectionChange: ge,
538
- selectedId: he,
546
+ onSelectionChange: Te,
547
+ selectedId: ge,
539
548
  "aria-label": t("dataViews.label"),
540
- tabs: He
549
+ tabs: xe
541
550
  }
542
551
  ),
543
- j && /* @__PURE__ */ r(
544
- pe,
552
+ G && /* @__PURE__ */ a(
553
+ fe,
545
554
  {
546
- isOpen: j,
555
+ isOpen: G,
547
556
  onClose: () => {
548
- G(!1);
557
+ $(!1);
549
558
  },
550
- onPrimaryActionClick: de,
559
+ onPrimaryActionClick: ce,
551
560
  shouldCloseOnBackdropClick: !0,
552
561
  primaryActionLabel: t("confirmCancelCta"),
553
562
  isDestructive: !0,
554
563
  closeActionLabel: t("declineCancelCta"),
555
- title: t(z ? "cancelDialogTitleDismissal" : "cancelDialogTitle", {
556
- startDate: o.formatLong(n.payPeriod?.startDate),
557
- endDate: o.formatLongWithYear(n.payPeriod?.endDate)
564
+ title: t(K ? "cancelDialogTitleDismissal" : "cancelDialogTitle", {
565
+ startDate: d.formatLong(n.payPeriod?.startDate),
566
+ endDate: d.formatLongWithYear(n.payPeriod?.endDate)
558
567
  }),
559
- children: /* @__PURE__ */ s(d, { gap: 14, flexDirection: "column", children: [
560
- /* @__PURE__ */ r(m, { children: t("cancelDialogDescription") }),
561
- we(n.employeeCompensations) && /* @__PURE__ */ r(m, { children: t("cancelDialogDescriptionDeadline", {
562
- deadline: o.formatWithTime(n.payrollDeadline).time
568
+ children: /* @__PURE__ */ o(s, { gap: 14, flexDirection: "column", children: [
569
+ /* @__PURE__ */ a(c, { children: t("cancelDialogDescription") }),
570
+ _e(n.employeeCompensations) && /* @__PURE__ */ a(c, { children: t("cancelDialogDescriptionDeadline", {
571
+ deadline: d.formatWithTime(n.payrollDeadline).time
563
572
  }) })
564
573
  ] })
565
574
  }
@@ -568,6 +577,6 @@ const Ve = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
568
577
  ] }) });
569
578
  };
570
579
  export {
571
- lt as PayrollOverviewPresentation
580
+ ot as PayrollOverviewPresentation
572
581
  };
573
582
  //# sourceMappingURL=PayrollOverviewPresentation.js.map