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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (767) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/README.md +3 -0
  3. package/dist/UNSTABLE_Hooks.d.ts +1 -1
  4. package/dist/UNSTABLE_Hooks.js +34 -38
  5. package/dist/UNSTABLE_Hooks.js.map +1 -1
  6. package/dist/assets/icons/filter-funnel.svg.js +10 -0
  7. package/dist/assets/icons/filter-funnel.svg.js.map +1 -0
  8. package/dist/components/Base/Base.js +2 -3
  9. package/dist/components/Base/Base.js.map +1 -1
  10. package/dist/components/Base/createCompoundContext.js.map +1 -1
  11. package/dist/components/Common/DataView/DataCards/DataCards.js +42 -36
  12. package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
  13. package/dist/components/Common/DataView/DataTable/DataTable.d.ts +2 -1
  14. package/dist/components/Common/DataView/DataTable/DataTable.js +77 -68
  15. package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
  16. package/dist/components/Common/DateRangeFilter/DateRangeFilter.d.ts +17 -0
  17. package/dist/components/Common/DateRangeFilter/DateRangeFilter.js +100 -0
  18. package/dist/components/Common/DateRangeFilter/DateRangeFilter.js.map +1 -0
  19. package/dist/components/Common/DateRangeFilter/DateRangeFilter.module.scss.js +10 -0
  20. package/dist/components/Common/DateRangeFilter/DateRangeFilter.module.scss.js.map +1 -0
  21. package/dist/components/Common/DetailViewLayout/DetailViewLayout.d.ts +2 -0
  22. package/dist/components/Common/DetailViewLayout/DetailViewLayoutTypes.d.ts +40 -0
  23. package/dist/components/Common/DetailViewLayout/index.d.ts +3 -0
  24. package/dist/components/Common/EmptyData/EmptyData.d.ts +2 -1
  25. package/dist/components/Common/EmptyData/EmptyData.js +15 -13
  26. package/dist/components/Common/EmptyData/EmptyData.js.map +1 -1
  27. package/dist/components/Common/EmptyData/EmptyData.module.scss.js +6 -4
  28. package/dist/components/Common/EmptyData/EmptyData.module.scss.js.map +1 -1
  29. package/dist/components/Common/Fields/CheckboxField/CheckboxField.js +26 -24
  30. package/dist/components/Common/Fields/CheckboxField/CheckboxField.js.map +1 -1
  31. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.d.ts +1 -1
  32. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js +32 -30
  33. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js.map +1 -1
  34. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.d.ts +1 -1
  35. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js +36 -34
  36. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js.map +1 -1
  37. package/dist/components/Common/Fields/DatePickerField/DatePickerField.d.ts +1 -1
  38. package/dist/components/Common/Fields/DatePickerField/DatePickerField.js +40 -38
  39. package/dist/components/Common/Fields/DatePickerField/DatePickerField.js.map +1 -1
  40. package/dist/components/Common/Fields/FileInputField/FileInputField.js +24 -22
  41. package/dist/components/Common/Fields/FileInputField/FileInputField.js.map +1 -1
  42. package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.js +24 -22
  43. package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.js.map +1 -1
  44. package/dist/components/Common/Fields/NumberInputField/NumberInputField.js +27 -25
  45. package/dist/components/Common/Fields/NumberInputField/NumberInputField.js.map +1 -1
  46. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.d.ts +1 -1
  47. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js +34 -32
  48. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js.map +1 -1
  49. package/dist/components/Common/Fields/SelectField/SelectField.d.ts +1 -1
  50. package/dist/components/Common/Fields/SelectField/SelectField.js +34 -32
  51. package/dist/components/Common/Fields/SelectField/SelectField.js.map +1 -1
  52. package/dist/components/Common/Fields/SwitchField/SwitchField.js +26 -24
  53. package/dist/components/Common/Fields/SwitchField/SwitchField.js.map +1 -1
  54. package/dist/components/Common/Fields/TextAreaField/TextAreaField.js +24 -22
  55. package/dist/components/Common/Fields/TextAreaField/TextAreaField.js.map +1 -1
  56. package/dist/components/Common/Fields/TextInputField/TextInputField.js +26 -24
  57. package/dist/components/Common/Fields/TextInputField/TextInputField.js.map +1 -1
  58. package/dist/components/Common/Fields/hooks/useField.d.ts +3 -2
  59. package/dist/components/Common/Fields/hooks/useField.js +37 -33
  60. package/dist/components/Common/Fields/hooks/useField.js.map +1 -1
  61. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js +21 -20
  62. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js.map +1 -1
  63. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbsTypes.d.ts +5 -0
  64. package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.d.ts +1 -1
  65. package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.js +10 -8
  66. package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.js.map +1 -1
  67. package/dist/components/Common/ReorderableList/ReorderableList.js.map +1 -1
  68. package/dist/components/Common/SignatureForm/SignatureForm.js +10 -15
  69. package/dist/components/Common/SignatureForm/SignatureForm.js.map +1 -1
  70. package/dist/components/Common/SignatureForm/SignatureFormActions.js +10 -14
  71. package/dist/components/Common/SignatureForm/SignatureFormActions.js.map +1 -1
  72. package/dist/components/Common/SignatureForm/SignatureFormFields.js +14 -19
  73. package/dist/components/Common/SignatureForm/SignatureFormFields.js.map +1 -1
  74. package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js +17 -17
  75. package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js.map +1 -1
  76. package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.d.ts +5 -0
  77. package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.js.map +1 -1
  78. package/dist/components/Common/UI/Button/Button.js +33 -29
  79. package/dist/components/Common/UI/Button/Button.js.map +1 -1
  80. package/dist/components/Common/UI/Button/Button.module.scss.js +5 -3
  81. package/dist/components/Common/UI/Button/Button.module.scss.js.map +1 -1
  82. package/dist/components/Common/UI/Button/ButtonTypes.d.ts +4 -0
  83. package/dist/components/Common/UI/Button/ButtonTypes.js.map +1 -1
  84. package/dist/components/Common/UI/DatePicker/DatePicker.d.ts +1 -1
  85. package/dist/components/Common/UI/DatePicker/DatePicker.js +88 -69
  86. package/dist/components/Common/UI/DatePicker/DatePicker.js.map +1 -1
  87. package/dist/components/Common/UI/DatePicker/DatePickerTypes.d.ts +13 -0
  88. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.d.ts +2 -0
  89. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js +74 -0
  90. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js.map +1 -0
  91. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.module.scss.js +30 -0
  92. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.module.scss.js.map +1 -0
  93. package/dist/components/Common/UI/DateRangePicker/DateRangePickerTypes.d.ts +14 -0
  94. package/dist/components/Common/UI/DateRangePicker/index.d.ts +2 -0
  95. package/dist/components/Common/UI/DescriptionList/DescriptionList.module.scss.js +2 -2
  96. package/dist/components/Common/UI/Heading/Heading.d.ts +1 -1
  97. package/dist/components/Common/UI/Heading/Heading.js +11 -9
  98. package/dist/components/Common/UI/Heading/Heading.js.map +1 -1
  99. package/dist/components/Common/UI/Heading/HeadingTypes.d.ts +1 -1
  100. package/dist/components/Common/UI/Menu/Menu.module.scss.js +5 -5
  101. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js +94 -80
  102. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js.map +1 -1
  103. package/dist/components/Common/UI/NumberInput/NumberInput.js +1 -1
  104. package/dist/components/Common/UI/NumberInput/NumberInput.js.map +1 -1
  105. package/dist/components/Common/index.d.ts +2 -0
  106. package/dist/components/Company/AssignSignatory/AssignSignatory.js +7 -11
  107. package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
  108. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +6 -10
  109. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
  110. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +8 -11
  111. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
  112. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +6 -9
  113. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
  114. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js +13 -14
  115. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.js.map +1 -1
  116. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +3 -5
  117. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  118. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +6 -9
  119. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
  120. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +5 -8
  121. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
  122. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js +13 -14
  123. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.js.map +1 -1
  124. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +3 -5
  125. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  126. package/dist/components/Company/AssignSignatory/TitleSelect.js +2 -5
  127. package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
  128. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +5 -7
  129. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  130. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +9 -11
  131. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
  132. package/dist/components/Company/BankAccount/BankAccountForm/Form.js +9 -13
  133. package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
  134. package/dist/components/Company/BankAccount/BankAccountForm/context.js +3 -5
  135. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  136. package/dist/components/Company/BankAccount/BankAccountList/Actions.js +10 -13
  137. package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
  138. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +12 -15
  139. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
  140. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +4 -8
  141. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
  142. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +5 -8
  143. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
  144. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +11 -15
  145. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  146. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +3 -5
  147. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  148. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +11 -15
  149. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  150. package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js +3 -5
  151. package/dist/components/Company/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
  152. package/dist/components/Company/FederalTaxes/Actions.js +8 -11
  153. package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
  154. package/dist/components/Company/FederalTaxes/FederalTaxes.js +15 -19
  155. package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
  156. package/dist/components/Company/FederalTaxes/Form.js +6 -8
  157. package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
  158. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +8 -10
  159. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  160. package/dist/components/Company/Industry/Actions.js +8 -11
  161. package/dist/components/Company/Industry/Actions.js.map +1 -1
  162. package/dist/components/Company/Industry/Context.js +6 -8
  163. package/dist/components/Company/Industry/Context.js.map +1 -1
  164. package/dist/components/Company/Industry/Edit.js +10 -14
  165. package/dist/components/Company/Industry/Edit.js.map +1 -1
  166. package/dist/components/Company/Locations/LocationForm/Actions.js +8 -11
  167. package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
  168. package/dist/components/Company/Locations/LocationForm/Form.js +5 -7
  169. package/dist/components/Company/Locations/LocationForm/Form.js.map +1 -1
  170. package/dist/components/Company/Locations/LocationForm/LocationForm.js +15 -19
  171. package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
  172. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +3 -5
  173. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  174. package/dist/components/Company/Locations/LocationsList/Actions.js +6 -9
  175. package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
  176. package/dist/components/Company/Locations/LocationsList/List.js +17 -19
  177. package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
  178. package/dist/components/Company/Locations/LocationsList/LocationsList.js +6 -10
  179. package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
  180. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +3 -5
  181. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  182. package/dist/components/Company/OnboardingOverview/Completed.js +12 -15
  183. package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
  184. package/dist/components/Company/OnboardingOverview/MissingRequirements.js +9 -12
  185. package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
  186. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +6 -10
  187. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
  188. package/dist/components/Company/OnboardingOverview/context.js +3 -5
  189. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  190. package/dist/components/Company/PaySchedule/PaySchedule.js +59 -59
  191. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  192. package/dist/components/Company/PaySchedule/_parts/Actions.js +16 -19
  193. package/dist/components/Company/PaySchedule/_parts/Actions.js.map +1 -1
  194. package/dist/components/Company/PaySchedule/_parts/Edit.js +36 -33
  195. package/dist/components/Company/PaySchedule/_parts/Edit.js.map +1 -1
  196. package/dist/components/Company/PaySchedule/_parts/Head.js +11 -14
  197. package/dist/components/Company/PaySchedule/_parts/Head.js.map +1 -1
  198. package/dist/components/Company/PaySchedule/_parts/List.js +19 -21
  199. package/dist/components/Company/PaySchedule/_parts/List.js.map +1 -1
  200. package/dist/components/Company/PaySchedule/usePaySchedule.d.ts +2 -0
  201. package/dist/components/Company/PaySchedule/usePaySchedule.js +5 -7
  202. package/dist/components/Company/PaySchedule/usePaySchedule.js.map +1 -1
  203. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +5 -8
  204. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
  205. package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js.map +1 -1
  206. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +3 -5
  207. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  208. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +6 -9
  209. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
  210. package/dist/components/Company/StateTaxes/StateTaxesList/List.js +5 -8
  211. package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
  212. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +3 -5
  213. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  214. package/dist/components/Contractor/Address/Address.js +3 -7
  215. package/dist/components/Contractor/Address/Address.js.map +1 -1
  216. package/dist/components/Contractor/Address/Form.js +6 -8
  217. package/dist/components/Contractor/Address/Form.js.map +1 -1
  218. package/dist/components/Contractor/Address/useAddress.js +5 -7
  219. package/dist/components/Contractor/Address/useAddress.js.map +1 -1
  220. package/dist/components/Contractor/ContractorList/index.js +33 -34
  221. package/dist/components/Contractor/ContractorList/index.js.map +1 -1
  222. package/dist/components/Contractor/NewHireReport/NewHireReport.js +2 -3
  223. package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
  224. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +10 -14
  225. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
  226. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +2 -3
  227. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
  228. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +2 -5
  229. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
  230. package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js +135 -126
  231. package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js.map +1 -1
  232. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.d.ts +2 -1
  233. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js +31 -30
  234. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js.map +1 -1
  235. package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentPresentation.js +10 -10
  236. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.d.ts +2 -1
  237. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js +18 -21
  238. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js.map +1 -1
  239. package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.d.ts +2 -1
  240. package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js +3 -4
  241. package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js.map +1 -1
  242. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js +17 -19
  243. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js.map +1 -1
  244. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +6 -8
  245. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
  246. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js +2 -4
  247. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js.map +1 -1
  248. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js +2 -5
  249. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
  250. package/dist/components/Contractor/Profile/ContractorProfileForm.js +13 -13
  251. package/dist/components/Contractor/Profile/useContractorProfile.js +31 -31
  252. package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
  253. package/dist/components/Contractor/Submit/Submit.d.ts +2 -2
  254. package/dist/components/Contractor/Submit/Submit.js +44 -46
  255. package/dist/components/Contractor/Submit/Submit.js.map +1 -1
  256. package/dist/components/Employee/Compensation/Actions.js +12 -14
  257. package/dist/components/Employee/Compensation/Actions.js.map +1 -1
  258. package/dist/components/Employee/Compensation/Compensation.js +49 -49
  259. package/dist/components/Employee/Compensation/Compensation.js.map +1 -1
  260. package/dist/components/Employee/Compensation/Edit.js +27 -28
  261. package/dist/components/Employee/Compensation/Edit.js.map +1 -1
  262. package/dist/components/Employee/Compensation/List.js +23 -25
  263. package/dist/components/Employee/Compensation/List.js.map +1 -1
  264. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js +57 -54
  265. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportForm.js.map +1 -1
  266. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js +17 -19
  267. package/dist/components/Employee/Deductions/DeductionsForm/CustomDeductionForm.js.map +1 -1
  268. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +1 -1
  269. package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js +11 -13
  270. package/dist/components/Employee/Deductions/DeductionsForm/GarnishmentForm.js.map +1 -1
  271. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js +18 -19
  272. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +1 -1
  273. package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js +6 -7
  274. package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js.map +1 -1
  275. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js +6 -9
  276. package/dist/components/Employee/DocumentSigner/DocumentList/Actions.js.map +1 -1
  277. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js +10 -14
  278. package/dist/components/Employee/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  279. package/dist/components/Employee/DocumentSigner/DocumentList/List.js +2 -6
  280. package/dist/components/Employee/DocumentSigner/DocumentList/List.js.map +1 -1
  281. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js +3 -5
  282. package/dist/components/Employee/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  283. package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +24 -26
  284. package/dist/components/Employee/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js.map +1 -1
  285. package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js +9 -11
  286. package/dist/components/Employee/DocumentSigner/I9SignatureForm/I9SignatureForm.js.map +1 -1
  287. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js +11 -15
  288. package/dist/components/Employee/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  289. package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js +3 -5
  290. package/dist/components/Employee/DocumentSigner/SignatureForm/useSignatureForm.js.map +1 -1
  291. package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js +6 -9
  292. package/dist/components/Employee/EmployeeDocuments/EmployeeDocumentsPresentation.js.map +1 -1
  293. package/dist/components/Employee/EmployeeList/EmployeeList.d.ts +2 -5
  294. package/dist/components/Employee/EmployeeList/EmployeeList.js +45 -95
  295. package/dist/components/Employee/EmployeeList/EmployeeList.js.map +1 -1
  296. package/dist/components/Employee/EmployeeList/EmployeeListView.d.ts +15 -0
  297. package/dist/components/Employee/EmployeeList/EmployeeListView.js +130 -0
  298. package/dist/components/Employee/EmployeeList/EmployeeListView.js.map +1 -0
  299. package/dist/components/Employee/EmployeeList/ManagementEmployeeList.d.ts +9 -0
  300. package/dist/components/Employee/EmployeeList/ManagementEmployeeList.js +81 -0
  301. package/dist/components/Employee/EmployeeList/ManagementEmployeeList.js.map +1 -0
  302. package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.d.ts +17 -0
  303. package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.js +193 -0
  304. package/dist/components/Employee/EmployeeList/ManagementEmployeeListView.js.map +1 -0
  305. package/dist/components/Employee/EmployeeList/index.d.ts +3 -0
  306. package/dist/components/Employee/EmployeeList/useEmployeeList.d.ts +36 -23
  307. package/dist/components/Employee/EmployeeList/useEmployeeList.js +114 -19
  308. package/dist/components/Employee/EmployeeList/useEmployeeList.js.map +1 -1
  309. package/dist/components/Employee/FederalTaxes/Actions.js +7 -10
  310. package/dist/components/Employee/FederalTaxes/Actions.js.map +1 -1
  311. package/dist/components/Employee/FederalTaxes/FederalForm.js +10 -13
  312. package/dist/components/Employee/FederalTaxes/FederalForm.js.map +1 -1
  313. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js +3 -5
  314. package/dist/components/Employee/FederalTaxes/useFederalTaxes.js.map +1 -1
  315. package/dist/components/Employee/Landing/Landing.js +14 -15
  316. package/dist/components/Employee/Landing/Landing.js.map +1 -1
  317. package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js +4 -4
  318. package/dist/components/Employee/OnboardingFlow/OnboardingFlow.js.map +1 -1
  319. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.d.ts +1 -0
  320. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js +14 -8
  321. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
  322. package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js +10 -11
  323. package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js.map +1 -1
  324. package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +7 -7
  325. package/dist/components/Employee/PaymentMethod/Actions.js +8 -11
  326. package/dist/components/Employee/PaymentMethod/Actions.js.map +1 -1
  327. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js +5 -8
  328. package/dist/components/Employee/PaymentMethod/BankAccountEdit.js.map +1 -1
  329. package/dist/components/Employee/PaymentMethod/BankAccountsList.js +13 -14
  330. package/dist/components/Employee/PaymentMethod/BankAccountsList.js.map +1 -1
  331. package/dist/components/Employee/PaymentMethod/PaymentMethod.js +44 -43
  332. package/dist/components/Employee/PaymentMethod/PaymentMethod.js.map +1 -1
  333. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js +7 -10
  334. package/dist/components/Employee/PaymentMethod/PaymentTypeForm.js.map +1 -1
  335. package/dist/components/Employee/PaymentMethod/Split.js +9 -10
  336. package/dist/components/Employee/PaymentMethod/Split.js.map +1 -1
  337. package/dist/components/Employee/PaymentMethod/usePaymentMethod.d.ts +1 -0
  338. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js +5 -7
  339. package/dist/components/Employee/PaymentMethod/usePaymentMethod.js.map +1 -1
  340. package/dist/components/Employee/Profile/Actions.js +8 -11
  341. package/dist/components/Employee/Profile/Actions.js.map +1 -1
  342. package/dist/components/Employee/Profile/AdminPersonalDetails.js +14 -17
  343. package/dist/components/Employee/Profile/AdminPersonalDetails.js.map +1 -1
  344. package/dist/components/Employee/Profile/HomeAddress.js +9 -10
  345. package/dist/components/Employee/Profile/HomeAddress.js.map +1 -1
  346. package/dist/components/Employee/Profile/PersonalDetailsInputs.js +10 -13
  347. package/dist/components/Employee/Profile/PersonalDetailsInputs.js.map +1 -1
  348. package/dist/components/Employee/Profile/Profile.js.map +1 -1
  349. package/dist/components/Employee/Profile/useProfile.js +3 -5
  350. package/dist/components/Employee/Profile/useProfile.js.map +1 -1
  351. package/dist/components/Employee/StateTaxes/Actions.js +8 -11
  352. package/dist/components/Employee/StateTaxes/Actions.js.map +1 -1
  353. package/dist/components/Employee/StateTaxes/useStateTaxes.js +3 -5
  354. package/dist/components/Employee/StateTaxes/useStateTaxes.js.map +1 -1
  355. package/dist/components/Employee/Taxes/Actions.js +8 -11
  356. package/dist/components/Employee/Taxes/Actions.js.map +1 -1
  357. package/dist/components/Employee/Taxes/FederalForm.js +10 -13
  358. package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
  359. package/dist/components/Employee/Taxes/useTaxes.js +3 -5
  360. package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
  361. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js +48 -48
  362. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js.map +1 -1
  363. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +14 -17
  364. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js.map +1 -1
  365. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.d.ts +1 -0
  366. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js +37 -33
  367. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js.map +1 -1
  368. package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.d.ts +1 -0
  369. package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.js +57 -45
  370. package/dist/components/Employee/Terminations/TerminationFlow/terminationStateMachine.js.map +1 -1
  371. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js +8 -11
  372. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js.map +1 -1
  373. package/dist/components/Employee/index.d.ts +1 -0
  374. package/dist/components/Employee/index.js +38 -36
  375. package/dist/components/Employee/index.js.map +1 -1
  376. package/dist/components/Flow/Flow.js +20 -23
  377. package/dist/components/Flow/Flow.js.map +1 -1
  378. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js +16 -18
  379. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js.map +1 -1
  380. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +18 -20
  381. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
  382. package/dist/components/InformationRequests/InformationRequests.js +3 -4
  383. package/dist/components/InformationRequests/InformationRequests.js.map +1 -1
  384. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js.map +1 -1
  385. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +8 -10
  386. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js.map +1 -1
  387. package/dist/components/Payroll/Dismissal/DismissalFlow.js +14 -14
  388. package/dist/components/Payroll/Dismissal/DismissalFlow.js.map +1 -1
  389. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.d.ts +2 -2
  390. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js +21 -20
  391. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js.map +1 -1
  392. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.d.ts +2 -1
  393. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js +57 -55
  394. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -1
  395. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js +8 -11
  396. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js.map +1 -1
  397. package/dist/components/Payroll/GrossUpModal/GrossUpModal.d.ts +1 -1
  398. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +85 -75
  399. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js.map +1 -1
  400. package/dist/components/Payroll/GrossUpModal/GrossUpModal.module.scss.js +7 -7
  401. package/dist/components/Payroll/GrossUpModal/GrossUpModalTypes.d.ts +0 -1
  402. package/dist/components/Payroll/OffCycle/OffCycleFlow.d.ts +1 -1
  403. package/dist/components/Payroll/OffCycle/OffCycleFlow.js +24 -18
  404. package/dist/components/Payroll/OffCycle/OffCycleFlow.js.map +1 -1
  405. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.d.ts +2 -0
  406. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js +28 -22
  407. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js.map +1 -1
  408. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js +92 -84
  409. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
  410. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js +30 -32
  411. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js.map +1 -1
  412. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +18 -26
  413. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
  414. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.d.ts +1 -1
  415. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js +21 -21
  416. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormTypes.js.map +1 -1
  417. package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.d.ts +3 -3
  418. package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.js +13 -13
  419. package/dist/components/Payroll/OffCyclePayPeriodDateForm/useOffCyclePayPeriodDateValidation.js.map +1 -1
  420. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +6 -9
  421. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
  422. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js +12 -14
  423. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js.map +1 -1
  424. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js +11 -14
  425. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
  426. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js +12 -12
  427. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +194 -190
  428. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
  429. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js +69 -69
  430. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
  431. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +2 -1
  432. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +102 -76
  433. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
  434. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +1 -1
  435. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +235 -238
  436. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
  437. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.module.scss.js +7 -7
  438. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.d.ts +11 -0
  439. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +63 -30
  440. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
  441. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.d.ts +2 -1
  442. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js +43 -41
  443. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js.map +1 -1
  444. package/dist/components/Payroll/PayrollExecutionFlow/index.d.ts +1 -1
  445. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.d.ts +1 -1
  446. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js +62 -51
  447. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
  448. package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.js +13 -6
  449. package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.js.map +1 -1
  450. package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js +22 -20
  451. package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js.map +1 -1
  452. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +1 -0
  453. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
  454. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js +35 -14
  455. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js.map +1 -1
  456. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js +80 -69
  457. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -1
  458. package/dist/components/Payroll/PayrollHistory/PayrollHistory.d.ts +0 -1
  459. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +59 -66
  460. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
  461. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +5 -4
  462. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +96 -105
  463. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
  464. package/dist/components/Payroll/PayrollList/PayrollList.js +98 -64
  465. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  466. package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +9 -1
  467. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +223 -123
  468. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
  469. package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js +16 -12
  470. package/dist/components/Payroll/PayrollList/PayrollListPresentation.module.scss.js.map +1 -1
  471. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +106 -105
  472. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
  473. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +2 -1
  474. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +231 -222
  475. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
  476. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.d.ts +2 -1
  477. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js +7 -10
  478. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js.map +1 -1
  479. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +2 -3
  480. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
  481. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +2 -4
  482. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
  483. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js +11 -13
  484. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
  485. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js +2 -5
  486. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js.map +1 -1
  487. package/dist/components/Payroll/Transition/TransitionFlow.d.ts +1 -1
  488. package/dist/components/Payroll/Transition/TransitionFlow.js +29 -27
  489. package/dist/components/Payroll/Transition/TransitionFlow.js.map +1 -1
  490. package/dist/components/Payroll/Transition/TransitionFlowComponents.d.ts +1 -0
  491. package/dist/components/Payroll/Transition/TransitionFlowComponents.js.map +1 -1
  492. package/dist/components/Payroll/TransitionCreation/TransitionCreation.js +67 -63
  493. package/dist/components/Payroll/TransitionCreation/TransitionCreation.js.map +1 -1
  494. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +12 -14
  495. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js.map +1 -1
  496. package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.d.ts +1 -1
  497. package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js +5 -5
  498. package/dist/components/Payroll/TransitionCreation/TransitionCreationTypes.js.map +1 -1
  499. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js +44 -55
  500. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js.map +1 -1
  501. package/dist/components/Payroll/helpers.d.ts +5 -0
  502. package/dist/components/Payroll/helpers.js +81 -74
  503. package/dist/components/Payroll/helpers.js.map +1 -1
  504. package/dist/components/Payroll/usePreparedPayrollData.js +2 -4
  505. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
  506. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.d.ts +2 -2
  507. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.js +6 -9
  508. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataContext.js.map +1 -1
  509. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.d.ts +1 -1
  510. package/dist/components/UNSTABLE_Hooks/form/FormFieldsMetadataProvider.js.map +1 -1
  511. package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.d.ts +1 -2
  512. package/dist/components/UNSTABLE_Hooks/form/SDKFormProvider.js.map +1 -1
  513. package/dist/components/UNSTABLE_Hooks/form/buildFormSchema.d.ts +48 -0
  514. package/dist/components/UNSTABLE_Hooks/form/buildFormSchema.js +94 -0
  515. package/dist/components/UNSTABLE_Hooks/form/buildFormSchema.js.map +1 -0
  516. package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.d.ts +2 -2
  517. package/dist/components/UNSTABLE_Hooks/form/deriveFieldsMetadata.js.map +1 -1
  518. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.d.ts +3 -2
  519. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js +24 -24
  520. package/dist/components/UNSTABLE_Hooks/form/fields/CheckboxHookField.js.map +1 -1
  521. package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.d.ts +3 -2
  522. package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.js +22 -17
  523. package/dist/components/UNSTABLE_Hooks/form/fields/DatePickerHookField.js.map +1 -1
  524. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.d.ts +3 -2
  525. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js +31 -31
  526. package/dist/components/UNSTABLE_Hooks/form/fields/NumberInputHookField.js.map +1 -1
  527. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.d.ts +3 -2
  528. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js +27 -27
  529. package/dist/components/UNSTABLE_Hooks/form/fields/RadioGroupHookField.js.map +1 -1
  530. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.d.ts +3 -2
  531. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js +28 -28
  532. package/dist/components/UNSTABLE_Hooks/form/fields/SelectHookField.js.map +1 -1
  533. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.d.ts +3 -2
  534. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js +24 -24
  535. package/dist/components/UNSTABLE_Hooks/form/fields/SwitchHookField.js.map +1 -1
  536. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.d.ts +5 -4
  537. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js +30 -30
  538. package/dist/components/UNSTABLE_Hooks/form/fields/TextInputHookField.js.map +1 -1
  539. package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.d.ts +1 -1
  540. package/dist/components/UNSTABLE_Hooks/form/getFieldWithOptions.js.map +1 -1
  541. package/dist/components/UNSTABLE_Hooks/form/index.d.ts +5 -2
  542. package/dist/components/UNSTABLE_Hooks/form/preprocessors.d.ts +3 -0
  543. package/dist/components/UNSTABLE_Hooks/form/preprocessors.js +15 -0
  544. package/dist/components/UNSTABLE_Hooks/form/preprocessors.js.map +1 -0
  545. package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.d.ts +4 -0
  546. package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js +13 -0
  547. package/dist/components/UNSTABLE_Hooks/form/resolveFieldError.js.map +1 -0
  548. package/dist/components/UNSTABLE_Hooks/form/useDeriveFieldsMetadata.d.ts +17 -0
  549. package/dist/components/UNSTABLE_Hooks/form/useDeriveFieldsMetadata.js +21 -0
  550. package/dist/components/UNSTABLE_Hooks/form/useDeriveFieldsMetadata.js.map +1 -0
  551. package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.d.ts +1 -1
  552. package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js +6 -6
  553. package/dist/components/UNSTABLE_Hooks/form/useFieldErrorMessage.js.map +1 -1
  554. package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.d.ts +22 -0
  555. package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.js +11 -0
  556. package/dist/components/UNSTABLE_Hooks/form/useHookFieldResolution.js.map +1 -0
  557. package/dist/components/UNSTABLE_Hooks/form/withOptions.d.ts +1 -1
  558. package/dist/components/UNSTABLE_Hooks/form/withOptions.js.map +1 -1
  559. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js +7 -9
  560. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/CompensationForm.js.map +1 -1
  561. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.d.ts +48 -42
  562. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js +48 -79
  563. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchema.js.map +1 -1
  564. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/compensationSchemaParity.test.d.ts +1 -0
  565. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.d.ts +2 -2
  566. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/fields.js.map +1 -1
  567. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/index.d.ts +2 -2
  568. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.d.ts +13 -15
  569. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js +109 -110
  570. package/dist/components/UNSTABLE_Hooks/hooks/useCompensationForm/useCompensationForm.js.map +1 -1
  571. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js +17 -19
  572. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/EmployeeDetailsForm.js.map +1 -1
  573. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/employeeDetailsSchema.d.ts +13 -4
  574. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/employeeDetailsSchema.js +31 -25
  575. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/employeeDetailsSchema.js.map +1 -1
  576. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.d.ts +5 -4
  577. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.js +27 -27
  578. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/fields.js.map +1 -1
  579. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/index.d.ts +1 -1
  580. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.d.ts +8 -22
  581. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js +81 -84
  582. package/dist/components/UNSTABLE_Hooks/hooks/useEmployeeDetailsForm/useEmployeeDetailsForm.js.map +1 -1
  583. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js +16 -18
  584. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/WorkAddressForm.js.map +1 -1
  585. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.d.ts +1 -1
  586. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/fields.js.map +1 -1
  587. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/index.d.ts +1 -1
  588. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.d.ts +9 -10
  589. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js +85 -83
  590. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/useWorkAddressForm.js.map +1 -1
  591. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/workAddressSchema.d.ts +8 -4
  592. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/workAddressSchema.js +18 -17
  593. package/dist/components/UNSTABLE_Hooks/hooks/useWorkAddressForm/workAddressSchema.js.map +1 -1
  594. package/dist/components/UNSTABLE_Hooks/index.d.ts +7 -7
  595. package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.d.ts +5 -0
  596. package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js +46 -0
  597. package/dist/components/UNSTABLE_TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.js.map +1 -0
  598. package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.d.ts +5 -0
  599. package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js +46 -0
  600. package/dist/components/UNSTABLE_TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.js.map +1 -0
  601. package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.d.ts +5 -0
  602. package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js +88 -0
  603. package/dist/components/UNSTABLE_TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +1 -0
  604. package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.d.ts +6 -0
  605. package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.js +50 -0
  606. package/dist/components/UNSTABLE_TimeOff/PolicyDetailsForm/PolicyDetailsForm.js.map +1 -0
  607. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.d.ts +5 -0
  608. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js +73 -0
  609. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyList.js.map +1 -0
  610. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.d.ts +2 -0
  611. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.js +122 -0
  612. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.js.map +1 -0
  613. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.module.scss.js +8 -0
  614. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListPresentation.module.scss.js.map +1 -0
  615. package/dist/components/UNSTABLE_TimeOff/PolicyList/PolicyListTypes.d.ts +17 -0
  616. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.d.ts +5 -0
  617. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.js +46 -0
  618. package/dist/components/UNSTABLE_TimeOff/PolicySettings/PolicySettings.js.map +1 -0
  619. package/dist/components/UNSTABLE_TimeOff/PolicyTypeSelector/PolicyTypeSelector.d.ts +5 -0
  620. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.d.ts +2 -0
  621. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.js +25 -0
  622. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlow.js.map +1 -0
  623. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +29 -0
  624. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js +103 -0
  625. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -0
  626. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/index.d.ts +3 -0
  627. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.d.ts +14 -0
  628. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js +290 -0
  629. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.js.map +1 -0
  630. package/dist/components/UNSTABLE_TimeOff/TimeOffFlow/timeOffStateMachine.test.d.ts +1 -0
  631. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectHolidays/SelectHolidaysPresentation.d.ts +2 -0
  632. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectHolidays/SelectHolidaysPresentation.js +55 -0
  633. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectHolidays/SelectHolidaysPresentation.js.map +1 -0
  634. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectHolidays/SelectHolidaysTypes.d.ts +25 -0
  635. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectHolidays/index.d.ts +3 -0
  636. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectPolicyType/SelectPolicyType.d.ts +7 -0
  637. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectPolicyType/SelectPolicyType.js +27 -0
  638. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectPolicyType/SelectPolicyType.js.map +1 -0
  639. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectPolicyType/SelectPolicyTypePresentation.d.ts +2 -0
  640. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectPolicyType/SelectPolicyTypePresentation.js +66 -0
  641. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectPolicyType/SelectPolicyTypePresentation.js.map +1 -0
  642. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectPolicyType/SelectPolicyTypeTypes.d.ts +6 -0
  643. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/SelectPolicyType/index.d.ts +5 -0
  644. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/EmployeeTable.d.ts +2 -0
  645. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/EmployeeTableTypes.d.ts +26 -0
  646. package/dist/components/UNSTABLE_TimeOff/TimeOffManagement/shared/EmployeeTable/index.d.ts +4 -0
  647. package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.d.ts +5 -0
  648. package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js +35 -0
  649. package/dist/components/UNSTABLE_TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.js.map +1 -0
  650. package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.d.ts +5 -0
  651. package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js +35 -0
  652. package/dist/components/UNSTABLE_TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.js.map +1 -0
  653. package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.d.ts +5 -0
  654. package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.js +35 -0
  655. package/dist/components/UNSTABLE_TimeOff/ViewPolicyDetails/ViewPolicyDetails.js.map +1 -0
  656. package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.d.ts +5 -0
  657. package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.js +35 -0
  658. package/dist/components/UNSTABLE_TimeOff/ViewPolicyEmployees/ViewPolicyEmployees.js.map +1 -0
  659. package/dist/components/UNSTABLE_TimeOff/index.d.ts +25 -0
  660. package/dist/components/UNSTABLE_TimeOff/index.js +27 -0
  661. package/dist/components/UNSTABLE_TimeOff/index.js.map +1 -0
  662. package/dist/components/index.d.ts +1 -0
  663. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js +48 -46
  664. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -1
  665. package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +2 -0
  666. package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
  667. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +10 -13
  668. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  669. package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.d.ts +10 -2
  670. package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.js.map +1 -1
  671. package/dist/contexts/ThemeProvider/useTheme.js.map +1 -1
  672. package/dist/helpers/breadcrumbHelpers.d.ts +14 -0
  673. package/dist/helpers/breadcrumbHelpers.js +35 -26
  674. package/dist/helpers/breadcrumbHelpers.js.map +1 -1
  675. package/dist/{components/UNSTABLE_Hooks → helpers}/collectErrors.d.ts +1 -1
  676. package/dist/{components/UNSTABLE_Hooks → helpers}/collectErrors.js +1 -1
  677. package/dist/helpers/collectErrors.js.map +1 -0
  678. package/dist/hooks/useCompanyPaymentSpeed.d.ts +6 -0
  679. package/dist/hooks/useCompanyPaymentSpeed.js +19 -0
  680. package/dist/hooks/useCompanyPaymentSpeed.js.map +1 -0
  681. package/dist/hooks/useCompanyPaymentSpeed.test.d.ts +1 -0
  682. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.d.ts +20 -0
  683. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.js +38 -0
  684. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.js.map +1 -0
  685. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.test.d.ts +1 -0
  686. package/dist/{components/UNSTABLE_Hooks → hooks}/useErrorHandling.d.ts +2 -2
  687. package/dist/{components/UNSTABLE_Hooks → hooks}/useErrorHandling.js +1 -1
  688. package/dist/hooks/useErrorHandling.js.map +1 -0
  689. package/dist/hooks/useErrorHandling.test.d.ts +1 -0
  690. package/dist/hooks/usePagination/usePagination.d.ts +2 -0
  691. package/dist/hooks/usePagination/usePagination.js +32 -29
  692. package/dist/hooks/usePagination/usePagination.js.map +1 -1
  693. package/dist/i18n/I18n.js +24 -24
  694. package/dist/i18n/I18n.js.map +1 -1
  695. package/dist/i18n/en/Company.PaySchedule.json.js +6 -6
  696. package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js +24 -0
  697. package/dist/i18n/en/Company.TimeOff.CreateTimeOffPolicy.json.js.map +1 -0
  698. package/dist/i18n/en/Company.TimeOff.EmployeeTable.json.js +32 -0
  699. package/dist/i18n/en/Company.TimeOff.EmployeeTable.json.js.map +1 -0
  700. package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js +26 -0
  701. package/dist/i18n/en/Company.TimeOff.HolidayPolicy.json.js.map +1 -0
  702. package/dist/i18n/en/Company.TimeOff.SelectPolicyType.json.js +28 -0
  703. package/dist/i18n/en/Company.TimeOff.SelectPolicyType.json.js.map +1 -0
  704. package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js +38 -0
  705. package/dist/i18n/en/Company.TimeOff.TimeOffPolicies.json.js.map +1 -0
  706. package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js +52 -0
  707. package/dist/i18n/en/Company.TimeOff.TimeOffPolicyDetails.json.js.map +1 -0
  708. package/dist/i18n/en/Company.TimeOff.TimeOffRequests.json.js +21 -0
  709. package/dist/i18n/en/Company.TimeOff.TimeOffRequests.json.js.map +1 -0
  710. package/dist/i18n/en/Contractor.Payments.CreatePayment.json.js +36 -34
  711. package/dist/i18n/en/Contractor.Payments.CreatePayment.json.js.map +1 -1
  712. package/dist/i18n/en/Employee.EmployeeList.json.js +22 -20
  713. package/dist/i18n/en/Employee.EmployeeList.json.js.map +1 -1
  714. package/dist/i18n/en/Employee.ManagementEmployeeList.json.js +40 -0
  715. package/dist/i18n/en/Employee.ManagementEmployeeList.json.js.map +1 -0
  716. package/dist/i18n/en/Payroll.GrossUpModal.json.js +16 -14
  717. package/dist/i18n/en/Payroll.GrossUpModal.json.js.map +1 -1
  718. package/dist/i18n/en/Payroll.OffCycle.json.js +1 -1
  719. package/dist/i18n/en/Payroll.OffCyclePayPeriodDateForm.json.js +5 -5
  720. package/dist/i18n/en/Payroll.OffCycleTaxWithholding.json.js +5 -5
  721. package/dist/i18n/en/Payroll.PayrollConfiguration.json.js +38 -34
  722. package/dist/i18n/en/Payroll.PayrollConfiguration.json.js.map +1 -1
  723. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js +29 -25
  724. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js.map +1 -1
  725. package/dist/i18n/en/Payroll.PayrollHistory.json.js +12 -12
  726. package/dist/i18n/en/Payroll.PayrollList.json.js +28 -20
  727. package/dist/i18n/en/Payroll.PayrollList.json.js.map +1 -1
  728. package/dist/i18n/en/Payroll.PayrollOverview.json.js +64 -58
  729. package/dist/i18n/en/Payroll.PayrollOverview.json.js.map +1 -1
  730. package/dist/i18n/en/Payroll.TransitionCreation.json.js +9 -9
  731. package/dist/i18n/en/Payroll.TransitionPayrollAlert.json.js +8 -8
  732. package/dist/index.js +18 -16
  733. package/dist/index.js.map +1 -1
  734. package/dist/shared/constants.d.ts +46 -0
  735. package/dist/shared/constants.js +99 -74
  736. package/dist/shared/constants.js.map +1 -1
  737. package/dist/style.css +1 -1
  738. package/dist/types/i18next.d.ts +508 -12
  739. package/dist/{components/UNSTABLE_Hooks/types.d.ts → types/sdkHooks.d.ts} +28 -2
  740. package/docs/reference/endpoint-inventory.json +608 -418
  741. package/package.json +29 -20
  742. package/dist/components/Employee/EmployeeList/Actions.d.ts +0 -1
  743. package/dist/components/Employee/EmployeeList/Actions.js +0 -16
  744. package/dist/components/Employee/EmployeeList/Actions.js.map +0 -1
  745. package/dist/components/Employee/EmployeeList/Head.d.ts +0 -1
  746. package/dist/components/Employee/EmployeeList/Head.js +0 -15
  747. package/dist/components/Employee/EmployeeList/Head.js.map +0 -1
  748. package/dist/components/Employee/EmployeeList/List.d.ts +0 -2
  749. package/dist/components/Employee/EmployeeList/List.js +0 -125
  750. package/dist/components/Employee/EmployeeList/List.js.map +0 -1
  751. package/dist/components/Employee/EmployeeList/List.module.scss.js +0 -8
  752. package/dist/components/Employee/EmployeeList/List.module.scss.js.map +0 -1
  753. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.module.scss.js +0 -8
  754. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.module.scss.js.map +0 -1
  755. package/dist/components/UNSTABLE_Hooks/collectErrors.js.map +0 -1
  756. package/dist/components/UNSTABLE_Hooks/form/composeFormSchema.js +0 -24
  757. package/dist/components/UNSTABLE_Hooks/form/composeFormSchema.js.map +0 -1
  758. package/dist/components/UNSTABLE_Hooks/form/resolveRequiredFields.js +0 -14
  759. package/dist/components/UNSTABLE_Hooks/form/resolveRequiredFields.js.map +0 -1
  760. package/dist/components/UNSTABLE_Hooks/form/types.d.ts +0 -27
  761. package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.d.ts +0 -4
  762. package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.js +0 -9
  763. package/dist/components/UNSTABLE_Hooks/form/useFieldsMetadata.js.map +0 -1
  764. package/dist/components/UNSTABLE_Hooks/useErrorHandling.js.map +0 -1
  765. package/dist/helpers/requiredIf.js +0 -8
  766. package/dist/helpers/requiredIf.js.map +0 -1
  767. /package/dist/components/UNSTABLE_Hooks/{useErrorHandling.test.d.ts → form/buildFormSchema.test.d.ts} +0 -0
@@ -1,176 +1,179 @@
1
- import { jsx as r, jsxs as s, Fragment as N } from "react/jsx-runtime";
2
- import { useTranslation as De, Trans as Pe } from "react-i18next";
3
- import { useState as ae, useRef as Ce } from "react";
4
- import { getPayrollTypeLabel as ke, calculateTotalPayroll as xe } 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 re from "./PayrollOverviewPresentation.module.scss.js";
7
- import { Flex as d } from "../../Common/Flex/Flex.js";
8
- import { Grid as Ne } from "../../Common/Grid/Grid.js";
9
- import { useComponentContext as Se } from "../../../contexts/ComponentAdapter/useComponentContext.js";
10
- import we from "../../../hooks/useContainerBreakpoints/useContainerBreakpoints.js";
11
- import { useI18n as _e } from "../../../i18n/I18n.js";
12
- import { useDateFormatter as ve } from "../../../hooks/useDateFormatter.js";
13
- import Le 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 Ee, FlsaStatus as ne, compensationTypeLabels as S, PAYROLL_RESOLVABLE_SUBMISSION_BLOCKER_TYPES as le } from "../../../shared/constants.js";
16
- import ie from "../../../assets/icons/download-cloud.svg.js";
17
- import { PayrollLoading as oe } from "../../Common/PayrollLoading/PayrollLoading.js";
18
- import { FastAchSubmissionBlockerBanner as Oe } from "./SubmissionBlockers/FastAchSubmissionBlockerBanner.js";
19
- import { GenericBlocker as Ae } from "./SubmissionBlockers/GenericBlocker.js";
20
- import { DataView as c } from "../../Common/DataView/DataView.js";
21
- const Me = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate, p.endDate) : { startDate: "", endDate: "" }, rt = ({
22
- onEdit: p,
23
- onSubmit: w,
24
- onCancel: se,
25
- onPayrollReceipt: de,
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
+ import { FastAchSubmissionBlockerBanner as We } from "./SubmissionBlockers/FastAchSubmissionBlockerBanner.js";
19
+ import { GenericBlocker as Ue } from "./SubmissionBlockers/GenericBlocker.js";
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
+ onPayrollReceipt: me,
26
26
  onPaystubDownload: V,
27
- employeeDetails: me,
28
- payrollData: i,
27
+ employeeDetails: ue,
28
+ payrollData: n,
29
29
  bankAccount: Y,
30
30
  taxes: _,
31
31
  status: g = h.Viewing,
32
32
  isProcessed: T,
33
- canCancel: ce = !1,
34
- alerts: B = [],
33
+ canCancel: be = !1,
34
+ alerts: I = [],
35
35
  submissionBlockers: f = [],
36
36
  selectedUnblockOptions: v = {},
37
- onUnblockOptionChange: I,
38
- wireInConfirmationRequest: ue,
39
- withReimbursements: H = !0,
40
- paymentSpeed: be
37
+ onUnblockOptionChange: R,
38
+ wireInConfirmationRequest: pe,
39
+ withReimbursements: D = !0,
40
+ paymentSpeed: ye
41
41
  }) => {
42
- const { Alert: L, Button: D, ButtonIcon: R, Dialog: ye, Heading: F, Text: m, Tabs: pe } = Se();
43
- _e("Payroll.PayrollOverview");
44
- const o = ve(), { t } = De("Payroll.PayrollOverview"), n = Le("currency"), [fe, he] = ae("companyPays"), [j, G] = ae(!1), E = Ce(null), P = we({ ref: E }).includes("small"), C = g === h.Submitting || g === h.Cancelling, $ = /* @__PURE__ */ r(F, { as: "h1", children: t(T ? "summaryTitle" : "overviewTitle") }), z = /* @__PURE__ */ r(m, { children: /* @__PURE__ */ r(
45
- Pe,
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: "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
- ...Me(i.payPeriod, o),
52
- payrollType: ke(i)
51
+ ...Ve(n.payPeriod, d),
52
+ payrollType: Se(n)
53
53
  }
54
54
  }
55
55
  ) });
56
56
  if (g === h.Cancelled)
57
- return /* @__PURE__ */ r("div", { ref: E, className: re.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
- z
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 = xe(i), ge = i.payrollStatusMeta?.expectedDebitTime ?? i.payrollDeadline, K = (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, X = (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() === S.REIMBURSEMENT_NAME.toLowerCase()
72
+ (r) => r.name?.toLowerCase() === S.REIMBURSEMENT_NAME.toLowerCase()
73
73
  )?.amount || 0
74
- ) : 0, Te = (e) => e.grossPay + O(e) + K(e) + X(e), u = new Map(me.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
- ), q = M === "wire_in", J = 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
- ) || {}, Q = (e) => e.paidTimeOff?.reduce((a, l) => a + Number(l.hours || 0), 0) ?? 0, Z = i.employeeCompensations?.reduce(
87
- (e, a) => !a.excluded && a.paymentMethod === Ee.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, ee = [
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",
100
103
  title: t("tableHeaders.grossPay"),
101
- render: (e) => n(e.grossPay)
104
+ render: (e) => i(e.grossPay)
102
105
  },
103
- ...H ? [
106
+ ...D ? [
104
107
  {
105
108
  key: "reimbursements",
106
109
  title: t("tableHeaders.reimbursements"),
107
- render: (e) => n(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) => n(K(e))
116
+ render: (e) => i(q(e))
114
117
  },
115
118
  {
116
119
  key: "companyBenefits",
117
120
  title: t("tableHeaders.companyBenefits"),
118
- render: (e) => n(X(e))
121
+ render: (e) => i(J(e))
119
122
  },
120
123
  {
121
124
  key: "companyPays",
122
125
  title: t("tableHeaders.companyPays"),
123
- render: (e) => n(Te(e))
126
+ render: (e) => i(He(e))
124
127
  }
125
128
  ];
126
- T && P && ee.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(ie, {})
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: ee,
150
- data: i.employeeCompensations,
151
- itemMenu: T && !P ? (e) => /* @__PURE__ */ r(
152
- R,
152
+ columns: ae,
153
+ data: n.employeeCompensations,
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(ie, {})
162
+ children: /* @__PURE__ */ a(se, {})
160
163
  }
161
164
  ) : void 0,
162
165
  footer: () => ({
163
- employeeName: /* @__PURE__ */ s(N, { 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
- grossPay: n(Number(i.totals?.grossPay ?? 0)),
168
- ...H ? {
169
- reimbursements: n(Number(i.totals?.reimbursements ?? 0))
170
+ grossPay: i(Number(n.totals?.grossPay ?? 0)),
171
+ ...D ? {
172
+ reimbursements: i(Number(n.totals?.reimbursements ?? 0))
170
173
  } : {},
171
- companyTaxes: n(Number(i.totals?.employerTaxes ?? 0)),
172
- companyBenefits: n(Number(i.totals?.benefits ?? 0)),
173
- companyPays: n(k)
174
+ companyTaxes: i(Number(n.totals?.employerTaxes ?? 0)),
175
+ companyBenefits: i(Number(n.totals?.benefits ?? 0)),
176
+ companyPays: i(k)
174
177
  })
175
178
  }
176
179
  )
@@ -178,79 +181,85 @@ const Me = (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 ne.EXEMPT:
206
+ switch (p) {
207
+ case le.EXEMPT:
202
208
  return t("compensationTypeLabels.exempt");
203
- case ne.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)[S.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)[S.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)[S.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) => Q(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
- ) + Q(e)
239
+ ) + ee(e)
234
240
  }
235
241
  ],
236
- data: i.employeeCompensations
242
+ data: n.employeeCompensations
237
243
  }
238
244
  )
239
245
  },
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"),
@@ -258,56 +267,56 @@ const Me = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
258
267
  },
259
268
  {
260
269
  title: t("tableHeaders.grossPay"),
261
- render: (e) => n(e.grossPay ?? 0)
270
+ render: (e) => i(e.grossPay ?? 0)
262
271
  },
263
272
  {
264
273
  title: t("tableHeaders.deductions"),
265
- render: (e) => n(
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
  )
271
280
  },
272
- ...H ? [
281
+ ...D ? [
273
282
  {
274
283
  title: t("tableHeaders.reimbursements"),
275
- render: (e) => n(O(e))
284
+ render: (e) => i(A(e))
276
285
  }
277
286
  ] : [],
278
287
  {
279
288
  title: t("tableHeaders.employeeTaxes"),
280
- render: (e) => n(
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
  )
286
295
  },
287
296
  {
288
297
  title: t("tableHeaders.employeeBenefits"),
289
- render: (e) => n(
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
  )
295
304
  },
296
305
  {
297
306
  title: t("tableHeaders.payment"),
298
- render: (e) => n(e.netPay ?? 0)
307
+ render: (e) => i(e.netPay ?? 0)
299
308
  }
300
309
  ],
301
- data: i.employeeCompensations
310
+ data: n.employeeCompensations
302
311
  }
303
312
  )
304
313
  },
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: [
@@ -319,24 +328,24 @@ const Me = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
319
328
  {
320
329
  key: "byYourEmployees",
321
330
  title: t("tableHeaders.byYourEmployees"),
322
- render: (e) => n(_[e]?.employee ?? 0)
331
+ render: (e) => i(_[e]?.employee ?? 0)
323
332
  },
324
333
  {
325
334
  key: "byYourCompany",
326
335
  title: t("tableHeaders.byYourCompany"),
327
- render: (e) => n(_[e]?.employer ?? 0)
336
+ render: (e) => i(_[e]?.employer ?? 0)
328
337
  }
329
338
  ],
330
339
  footer: () => ({
331
- taxDescription: /* @__PURE__ */ r(m, { weight: "semibold", size: "sm", children: t("totalsLabel") }),
332
- byYourEmployees: n(Number(i.totals?.employeeTaxes ?? 0)),
333
- byYourCompany: n(Number(i.totals?.employerTaxes ?? 0))
340
+ taxDescription: /* @__PURE__ */ a(c, { weight: "semibold", size: "sm", children: t("totalsLabel") }),
341
+ byYourEmployees: i(Number(n.totals?.employeeTaxes ?? 0)),
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: [
@@ -346,48 +355,48 @@ const Me = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
346
355
  },
347
356
  {
348
357
  title: t("tableHeaders.taxesTotal"),
349
- render: ({ value: e }) => n(Number(e))
358
+ render: ({ value: e }) => i(Number(e))
350
359
  }
351
360
  ],
352
361
  data: [
353
- { label: t("directDepositLabel"), value: i.totals?.netPayDebit || "0" },
354
- ...H ? [
362
+ { label: t("directDepositLabel"), value: n.totals?.netPayDebit || "0" },
363
+ ...D ? [
355
364
  {
356
365
  label: t("reimbursementLabel"),
357
- value: i.totals?.reimbursementDebit || "0"
366
+ value: n.totals?.reimbursementDebit || "0"
358
367
  }
359
368
  ] : [],
360
369
  {
361
370
  label: t("garnishmentsLabel"),
362
- value: i.totals?.childSupportDebit || "0"
371
+ value: n.totals?.childSupportDebit || "0"
363
372
  },
364
- { label: t("taxesLabel"), value: i.totals?.taxDebit || "0" }
373
+ { label: t("taxesLabel"), value: n.totals?.taxDebit || "0" }
365
374
  ]
366
375
  }
367
376
  )
368
377
  ] })
369
378
  }
370
- ], te = T ? /* @__PURE__ */ s(N, { children: [
371
- /* @__PURE__ */ r(D, { onClick: de, variant: "secondary", isDisabled: C, children: t("payrollReceiptCta") }),
372
- ce && /* @__PURE__ */ r(
373
- D,
379
+ ], re = T ? /* @__PURE__ */ o(w, { children: [
380
+ /* @__PURE__ */ a(H, { onClick: me, variant: "secondary", isDisabled: P, children: t("payrollReceiptCta") }),
381
+ be && /* @__PURE__ */ a(
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(N, { children: [
384
- /* @__PURE__ */ r(D, { onClick: p, variant: "secondary", isDisabled: C, children: t("editCta") }),
385
- /* @__PURE__ */ r(
386
- D,
392
+ ] }) : /* @__PURE__ */ o(w, { children: [
393
+ /* @__PURE__ */ a(H, { onClick: y, variant: "secondary", isDisabled: P, children: t("editCta") }),
394
+ /* @__PURE__ */ a(
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 Me = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
395
404
  }
396
405
  )
397
406
  ] });
398
- return /* @__PURE__ */ r("div", { ref: E, className: re.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
- z
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: te })
413
+ x && /* @__PURE__ */ a(s, { gap: 8, justifyContent: "flex-end", children: re })
405
414
  ] }),
406
- !P && /* @__PURE__ */ r(Ne, { gridTemplateColumns: "1fr", gap: 8, children: te }),
407
- g === h.Cancelling ? /* @__PURE__ */ r(oe, { title: t("cancellingTitle") }) : g === h.Submitting ? /* @__PURE__ */ r(oe, { title: t("loadingTitle"), description: t("loadingDescription") }) : /* @__PURE__ */ s(N, { children: [
408
- ue,
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,64 +425,64 @@ const Me = (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(
422
- Oe,
428
+ f.length > 0 && R && f.map((e) => {
429
+ const r = e.blockerType || "";
430
+ return oe.includes(r) ? /* @__PURE__ */ a(
431
+ We,
423
432
  {
424
433
  blocker: e,
425
- selectedValue: v[a],
426
- onUnblockOptionChange: I,
427
- paymentSpeed: be
434
+ selectedValue: v[r],
435
+ onUnblockOptionChange: R,
436
+ paymentSpeed: ye
428
437
  },
429
- a
430
- ) : /* @__PURE__ */ r(Ae, { blocker: e }, a);
438
+ r
439
+ ) : /* @__PURE__ */ a(Ue, { blocker: e }, r);
431
440
  }),
432
- /* @__PURE__ */ r(F, { as: "h3", children: t(q ? "payrollSummaryTitleWire" : J ? "payrollSummaryTitleFourDay" : "payrollSummaryTitle") }),
433
- q ? /* @__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: [
438
447
  {
439
448
  title: t("tableHeaders.totalPayroll"),
440
- render: () => n(k)
449
+ render: () => i(k)
441
450
  },
442
451
  {
443
452
  title: t("tableHeaders.wireAmount"),
444
453
  render: () => {
445
- const a = b?.metadata?.wire_in_amount;
446
- return a ? n(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
- ) : J ? /* @__PURE__ */ r(
464
- c,
472
+ ) : Z ? /* @__PURE__ */ a(
473
+ m,
465
474
  {
466
475
  label: t("payrollSummaryLabel"),
467
476
  columns: [
468
477
  {
469
478
  title: t("tableHeaders.totalPayroll"),
470
- render: () => n(k)
479
+ render: () => i(k)
471
480
  },
472
481
  {
473
482
  title: t("tableHeaders.debitAmount"),
474
483
  render: () => {
475
- const e = i.totals?.companyDebit;
476
- return n(Number(e ?? 0));
484
+ const e = n.totals?.companyDebit;
485
+ return i(Number(e ?? 0));
477
486
  }
478
487
  },
479
488
  {
@@ -483,29 +492,29 @@ const Me = (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: [
502
511
  {
503
512
  title: t("tableHeaders.totalPayroll"),
504
- render: () => n(k)
513
+ render: () => i(k)
505
514
  },
506
515
  {
507
516
  title: t("tableHeaders.debitAmount"),
508
- render: () => n(Number(i.totals?.companyDebit ?? 0))
517
+ render: () => i(Number(n.totals?.companyDebit ?? 0))
509
518
  },
510
519
  {
511
520
  title: t("tableHeaders.debitAccount"),
@@ -513,53 +522,53 @@ const Me = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
513
522
  },
514
523
  {
515
524
  title: t("tableHeaders.debitDate"),
516
- render: () => o.formatShortWithYear(ge)
525
+ render: () => d.formatShortWithYear(De)
517
526
  },
518
527
  {
519
528
  title: t("tableHeaders.employeePayDate"),
520
- render: () => o.formatShortWithYear(i.checkDate)
529
+ render: () => d.formatShortWithYear(n.checkDate)
521
530
  }
522
531
  ],
523
532
  data: [{}]
524
533
  }
525
534
  ),
526
- Z > 0 && /* @__PURE__ */ r(
535
+ te > 0 && /* @__PURE__ */ a(
527
536
  L,
528
537
  {
529
538
  status: "warning",
530
- label: t("alerts.checkPaymentWarning", { count: Z }),
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
- pe,
543
+ /* @__PURE__ */ a(
544
+ he,
536
545
  {
537
- onSelectionChange: he,
538
- selectedId: fe,
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
- ye,
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: se,
559
+ onPrimaryActionClick: ce,
551
560
  shouldCloseOnBackdropClick: !0,
552
561
  primaryActionLabel: t("confirmCancelCta"),
553
562
  isDestructive: !0,
554
563
  closeActionLabel: t("declineCancelCta"),
555
- title: t("cancelDialogTitle", {
556
- startDate: o.formatLong(i.payPeriod?.startDate),
557
- endDate: o.formatLongWithYear(i.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
- /* @__PURE__ */ r(m, { children: t("cancelDialogDescriptionDeadline", {
562
- deadline: o.formatWithTime(i.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 Me = (p, w) => p?.startDate && p.endDate ? w.formatPayPeriod(p.startDate,
568
577
  ] }) });
569
578
  };
570
579
  export {
571
- rt as PayrollOverviewPresentation
580
+ ot as PayrollOverviewPresentation
572
581
  };
573
582
  //# sourceMappingURL=PayrollOverviewPresentation.js.map