@gusto/embedded-react-sdk 0.46.3 → 0.47.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 (1751) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/dist/components/Base/Base.d.ts +92 -3
  3. package/dist/components/Base/Base.js +2 -3
  4. package/dist/components/Base/Base.js.map +1 -1
  5. package/dist/components/Base/createCompoundContext.d.ts +14 -0
  6. package/dist/components/Base/createCompoundContext.js.map +1 -1
  7. package/dist/components/Base/index.d.ts +1 -1
  8. package/dist/components/Base/useBase.d.ts +25 -0
  9. package/dist/components/Base/useBase.js.map +1 -1
  10. package/dist/components/Base/useBaseSubmit.d.ts +15 -0
  11. package/dist/components/Base/useBaseSubmit.js +4 -4
  12. package/dist/components/Base/useBaseSubmit.js.map +1 -1
  13. package/dist/components/Common/ActionsLayout/ActionsLayout.d.ts +2 -1
  14. package/dist/components/Common/ActionsLayout/ActionsLayout.js.map +1 -1
  15. package/dist/components/Common/Alert/Alert.d.ts +3 -1
  16. package/dist/components/Common/DataView/DataCards/DataCards.d.ts +3 -1
  17. package/dist/components/Common/DataView/DataCards/DataCards.js.map +1 -1
  18. package/dist/components/Common/DataView/DataTable/DataTable.d.ts +3 -1
  19. package/dist/components/Common/DataView/DataTable/DataTable.js.map +1 -1
  20. package/dist/components/Common/DataView/DataView.d.ts +3 -1
  21. package/dist/components/Common/DataView/DataView.js.map +1 -1
  22. package/dist/components/Common/DataView/useDataView.d.ts +4 -0
  23. package/dist/components/Common/DataView/useDataView.js.map +1 -1
  24. package/dist/components/Common/DataView/useSelectionState.d.ts +1 -0
  25. package/dist/components/Common/DataView/useSelectionState.js.map +1 -1
  26. package/dist/components/Common/DateRangeFilter/DateRangeFilter.d.ts +2 -1
  27. package/dist/components/Common/DateRangeFilter/DateRangeFilter.js.map +1 -1
  28. package/dist/components/Common/DetailViewLayout/DetailViewLayout.d.ts +2 -1
  29. package/dist/components/Common/DetailViewLayout/DetailViewLayout.js.map +1 -1
  30. package/dist/components/Common/DetailViewLayout/DetailViewLayoutTypes.d.ts +1 -0
  31. package/dist/components/Common/DocumentList/DocumentList.d.ts +7 -1
  32. package/dist/components/Common/DocumentList/DocumentList.js.map +1 -1
  33. package/dist/components/Common/DocumentViewer/DocumentViewer.d.ts +2 -1
  34. package/dist/components/Common/DocumentViewer/DocumentViewer.js.map +1 -1
  35. package/dist/components/Common/EmptyData/EmptyData.d.ts +2 -1
  36. package/dist/components/Common/EmptyData/EmptyData.js.map +1 -1
  37. package/dist/components/Common/FadeIn/FadeIn.d.ts +1 -0
  38. package/dist/components/Common/FadeIn/FadeIn.js.map +1 -1
  39. package/dist/components/Common/FieldCaption/FieldCaption.d.ts +8 -0
  40. package/dist/components/Common/FieldCaption/FieldCaption.js.map +1 -1
  41. package/dist/components/Common/FieldDescription/FieldDescription.d.ts +5 -0
  42. package/dist/components/Common/FieldDescription/FieldDescription.js.map +1 -1
  43. package/dist/components/Common/FieldErrorMessage/FieldErrorMessage.d.ts +6 -1
  44. package/dist/components/Common/FieldErrorMessage/FieldErrorMessage.js.map +1 -1
  45. package/dist/components/Common/FieldLayout/FieldLayout.d.ts +5 -0
  46. package/dist/components/Common/FieldLayout/FieldLayout.js.map +1 -1
  47. package/dist/components/Common/FieldLayout/FieldLayoutTypes.d.ts +15 -0
  48. package/dist/components/Common/Fields/CheckboxField/CheckboxField.d.ts +2 -0
  49. package/dist/components/Common/Fields/CheckboxField/CheckboxField.js.map +1 -1
  50. package/dist/components/Common/Fields/CheckboxField/index.d.ts +1 -1
  51. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.d.ts +3 -1
  52. package/dist/components/Common/Fields/CheckboxGroupField/CheckboxGroupField.js.map +1 -1
  53. package/dist/components/Common/Fields/CheckboxGroupField/index.d.ts +1 -1
  54. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.d.ts +3 -1
  55. package/dist/components/Common/Fields/ComboBoxField/ComboBoxField.js.map +1 -1
  56. package/dist/components/Common/Fields/ComboBoxField/index.d.ts +0 -1
  57. package/dist/components/Common/Fields/DatePickerField/DatePickerField.d.ts +4 -2
  58. package/dist/components/Common/Fields/DatePickerField/DatePickerField.js.map +1 -1
  59. package/dist/components/Common/Fields/FileInputField/FileInputField.d.ts +2 -0
  60. package/dist/components/Common/Fields/FileInputField/FileInputField.js.map +1 -1
  61. package/dist/components/Common/Fields/FileInputField/index.d.ts +1 -1
  62. package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.d.ts +2 -0
  63. package/dist/components/Common/Fields/MultiSelectComboBoxField/MultiSelectComboBoxField.js.map +1 -1
  64. package/dist/components/Common/Fields/MultiSelectComboBoxField/index.d.ts +1 -1
  65. package/dist/components/Common/Fields/NumberInputField/NumberInputField.d.ts +2 -0
  66. package/dist/components/Common/Fields/NumberInputField/NumberInputField.js.map +1 -1
  67. package/dist/components/Common/Fields/NumberInputField/index.d.ts +1 -1
  68. package/dist/components/Common/Fields/PercentageField/PercentageField.d.ts +3 -1
  69. package/dist/components/Common/Fields/PercentageField/PercentageField.js.map +1 -1
  70. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.d.ts +3 -1
  71. package/dist/components/Common/Fields/RadioGroupField/RadioGroupField.js.map +1 -1
  72. package/dist/components/Common/Fields/RadioGroupField/index.d.ts +0 -1
  73. package/dist/components/Common/Fields/SelectField/SelectField.d.ts +3 -1
  74. package/dist/components/Common/Fields/SelectField/SelectField.js.map +1 -1
  75. package/dist/components/Common/Fields/SelectField/index.d.ts +0 -1
  76. package/dist/components/Common/Fields/SwitchField/SwitchField.d.ts +2 -0
  77. package/dist/components/Common/Fields/SwitchField/SwitchField.js.map +1 -1
  78. package/dist/components/Common/Fields/TextAreaField/TextAreaField.d.ts +2 -0
  79. package/dist/components/Common/Fields/TextAreaField/TextAreaField.js.map +1 -1
  80. package/dist/components/Common/Fields/TextAreaField/index.d.ts +0 -1
  81. package/dist/components/Common/Fields/TextInputField/TextInputField.d.ts +2 -0
  82. package/dist/components/Common/Fields/TextInputField/TextInputField.js.map +1 -1
  83. package/dist/components/Common/Fields/TextInputField/index.d.ts +1 -1
  84. package/dist/components/Common/Fields/hooks/FieldElementRegistryProvider.d.ts +3 -1
  85. package/dist/components/Common/Fields/hooks/FieldElementRegistryProvider.js.map +1 -1
  86. package/dist/components/Common/Fields/hooks/fieldElementRegistry.d.ts +6 -0
  87. package/dist/components/Common/Fields/hooks/fieldElementRegistry.js.map +1 -1
  88. package/dist/components/Common/Fields/hooks/useField.d.ts +3 -0
  89. package/dist/components/Common/Fields/hooks/useField.js.map +1 -1
  90. package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.d.ts +4 -0
  91. package/dist/components/Common/Fields/hooks/useStringifyGenericFieldValue.js.map +1 -1
  92. package/dist/components/Common/Fieldset/Fieldset.d.ts +2 -0
  93. package/dist/components/Common/Fieldset/Fieldset.js.map +1 -1
  94. package/dist/components/Common/Flex/Flex.d.ts +6 -2
  95. package/dist/components/Common/Flex/Flex.js.map +1 -1
  96. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.d.ts +21 -1
  97. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbs.js.map +1 -1
  98. package/dist/components/Common/FlowBreadcrumbs/FlowBreadcrumbsTypes.d.ts +33 -7
  99. package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.d.ts +16 -0
  100. package/dist/components/Common/FlowBreadcrumbs/breadcrumbTransitionHelpers.js.map +1 -1
  101. package/dist/components/Common/Form/Form.d.ts +3 -1
  102. package/dist/components/Common/Form/Form.js.map +1 -1
  103. package/dist/components/Common/Grid/Grid.d.ts +3 -1
  104. package/dist/components/Common/Grid/Grid.js.map +1 -1
  105. package/dist/components/Common/HamburgerMenu/HamburgerMenu.d.ts +8 -1
  106. package/dist/components/Common/HamburgerMenu/HamburgerMenu.js.map +1 -1
  107. package/dist/components/Common/HamburgerMenu/HamburgerMenuTypes.d.ts +11 -0
  108. package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayout.d.ts +7 -0
  109. package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayout.js.map +1 -1
  110. package/dist/components/Common/HorizontalFieldLayout/HorizontalFieldLayoutTypes.d.ts +14 -0
  111. package/dist/components/Common/InlineSpinner/InlineSpinner.d.ts +2 -1
  112. package/dist/components/Common/InlineSpinner/InlineSpinner.js.map +1 -1
  113. package/dist/components/Common/InternalError/InternalError.d.ts +2 -1
  114. package/dist/components/Common/InternalError/InternalError.js.map +1 -1
  115. package/dist/components/Common/Loading/Loading.d.ts +3 -1
  116. package/dist/components/Common/Loading/Loading.js.map +1 -1
  117. package/dist/components/Common/OnboardingStatusBadge/index.d.ts +8 -5
  118. package/dist/components/Common/OnboardingStatusBadge/index.js.map +1 -1
  119. package/dist/components/Common/PaginationControl/PaginationControl.d.ts +2 -1
  120. package/dist/components/Common/PaginationControl/PaginationControl.js.map +1 -1
  121. package/dist/components/Common/PaginationControl/PaginationControlTypes.d.ts +17 -0
  122. package/dist/components/Common/PayrollLoading/PayrollLoading.d.ts +2 -1
  123. package/dist/components/Common/PayrollLoading/PayrollLoading.js.map +1 -1
  124. package/dist/components/Common/PayrollLoading/PayrollLoadingTypes.d.ts +8 -0
  125. package/dist/components/Common/ReorderableList/DropZone.d.ts +1 -0
  126. package/dist/components/Common/ReorderableList/DropZone.js.map +1 -1
  127. package/dist/components/Common/ReorderableList/ReorderableItem.d.ts +1 -3
  128. package/dist/components/Common/ReorderableList/ReorderableItem.js.map +1 -1
  129. package/dist/components/Common/ReorderableList/ReorderableList.d.ts +2 -1
  130. package/dist/components/Common/ReorderableList/ReorderableList.js.map +1 -1
  131. package/dist/components/Common/ReorderableList/ReorderableListTypes.d.ts +4 -0
  132. package/dist/components/Common/ReorderableList/constants.d.ts +1 -3
  133. package/dist/components/Common/ReorderableList/constants.js.map +1 -1
  134. package/dist/components/Common/RequirementsList/RequirementsList.d.ts +2 -1
  135. package/dist/components/Common/RequirementsList/RequirementsList.js.map +1 -1
  136. package/dist/components/Common/TaxInputs/TaxInputs.d.ts +16 -9
  137. package/dist/components/Common/TaxInputs/TaxInputs.js.map +1 -1
  138. package/dist/components/Common/Toast/Toast.d.ts +2 -1
  139. package/dist/components/Common/UI/Alert/Alert.d.ts +11 -1
  140. package/dist/components/Common/UI/Alert/Alert.js.map +1 -1
  141. package/dist/components/Common/UI/Alert/AlertTypes.d.ts +10 -0
  142. package/dist/components/Common/UI/Alert/AlertTypes.js.map +1 -1
  143. package/dist/components/Common/UI/Badge/Badge.d.ts +7 -0
  144. package/dist/components/Common/UI/Badge/Badge.js.map +1 -1
  145. package/dist/components/Common/UI/Badge/BadgeTypes.d.ts +10 -0
  146. package/dist/components/Common/UI/Badge/BadgeTypes.js.map +1 -1
  147. package/dist/components/Common/UI/Banner/Banner.d.ts +7 -0
  148. package/dist/components/Common/UI/Banner/Banner.js.map +1 -1
  149. package/dist/components/Common/UI/Banner/BannerTypes.d.ts +10 -0
  150. package/dist/components/Common/UI/Banner/BannerTypes.js.map +1 -1
  151. package/dist/components/Common/UI/Box/Box.d.ts +8 -1
  152. package/dist/components/Common/UI/Box/Box.js.map +1 -1
  153. package/dist/components/Common/UI/Box/BoxTypes.d.ts +21 -0
  154. package/dist/components/Common/UI/BoxHeader/BoxHeader.d.ts +8 -1
  155. package/dist/components/Common/UI/BoxHeader/BoxHeader.js.map +1 -1
  156. package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.d.ts +25 -0
  157. package/dist/components/Common/UI/BoxHeader/BoxHeaderTypes.js.map +1 -1
  158. package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.d.ts +8 -1
  159. package/dist/components/Common/UI/Breadcrumbs/Breadcrumbs.js.map +1 -1
  160. package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.d.ts +23 -0
  161. package/dist/components/Common/UI/Breadcrumbs/BreadcrumbsTypes.js.map +1 -1
  162. package/dist/components/Common/UI/Breadcrumbs/index.d.ts +1 -1
  163. package/dist/components/Common/UI/Button/Button.d.ts +8 -1
  164. package/dist/components/Common/UI/Button/Button.js.map +1 -1
  165. package/dist/components/Common/UI/Button/ButtonIcon.d.ts +8 -1
  166. package/dist/components/Common/UI/Button/ButtonIcon.js.map +1 -1
  167. package/dist/components/Common/UI/Button/ButtonTypes.d.ts +22 -0
  168. package/dist/components/Common/UI/Button/ButtonTypes.js.map +1 -1
  169. package/dist/components/Common/UI/Button/index.d.ts +0 -2
  170. package/dist/components/Common/UI/CalendarPreview/CalendarLegend.d.ts +13 -1
  171. package/dist/components/Common/UI/CalendarPreview/CalendarLegend.js.map +1 -1
  172. package/dist/components/Common/UI/CalendarPreview/CalendarPreview.d.ts +8 -1
  173. package/dist/components/Common/UI/CalendarPreview/CalendarPreview.js.map +1 -1
  174. package/dist/components/Common/UI/CalendarPreview/CalendarPreviewTypes.d.ts +6 -0
  175. package/dist/components/Common/UI/CalendarPreview/index.d.ts +0 -2
  176. package/dist/components/Common/UI/Card/Card.d.ts +8 -1
  177. package/dist/components/Common/UI/Card/Card.js.map +1 -1
  178. package/dist/components/Common/UI/Card/CardTypes.d.ts +6 -0
  179. package/dist/components/Common/UI/Checkbox/Checkbox.d.ts +8 -1
  180. package/dist/components/Common/UI/Checkbox/Checkbox.js.map +1 -1
  181. package/dist/components/Common/UI/Checkbox/CheckboxTypes.d.ts +12 -0
  182. package/dist/components/Common/UI/Checkbox/CheckboxTypes.js.map +1 -1
  183. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.d.ts +9 -1
  184. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroup.js.map +1 -1
  185. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.d.ts +18 -1
  186. package/dist/components/Common/UI/CheckboxGroup/CheckboxGroupTypes.js.map +1 -1
  187. package/dist/components/Common/UI/ComboBox/ComboBox.d.ts +8 -1
  188. package/dist/components/Common/UI/ComboBox/ComboBox.js.map +1 -1
  189. package/dist/components/Common/UI/ComboBox/ComboBoxTypes.d.ts +12 -0
  190. package/dist/components/Common/UI/DatePicker/DatePicker.d.ts +8 -1
  191. package/dist/components/Common/UI/DatePicker/DatePicker.js.map +1 -1
  192. package/dist/components/Common/UI/DatePicker/DatePickerTypes.d.ts +6 -0
  193. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.d.ts +8 -1
  194. package/dist/components/Common/UI/DateRangePicker/DateRangePicker.js.map +1 -1
  195. package/dist/components/Common/UI/DateRangePicker/DateRangePickerTypes.d.ts +41 -0
  196. package/dist/components/Common/UI/DescriptionList/DescriptionList.d.ts +8 -1
  197. package/dist/components/Common/UI/DescriptionList/DescriptionList.js.map +1 -1
  198. package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.d.ts +38 -0
  199. package/dist/components/Common/UI/DescriptionList/DescriptionListTypes.js.map +1 -1
  200. package/dist/components/Common/UI/DescriptionList/index.d.ts +0 -1
  201. package/dist/components/Common/UI/Dialog/Dialog.d.ts +12 -1
  202. package/dist/components/Common/UI/Dialog/Dialog.js.map +1 -1
  203. package/dist/components/Common/UI/Dialog/DialogTypes.d.ts +13 -1
  204. package/dist/components/Common/UI/Dialog/DialogTypes.js.map +1 -1
  205. package/dist/components/Common/UI/Dialog/index.d.ts +0 -2
  206. package/dist/components/Common/UI/FileInput/FileInput.d.ts +13 -1
  207. package/dist/components/Common/UI/FileInput/FileInput.js.map +1 -1
  208. package/dist/components/Common/UI/FileInput/FileInputTypes.d.ts +13 -0
  209. package/dist/components/Common/UI/FileInput/FileInputTypes.js.map +1 -1
  210. package/dist/components/Common/UI/FileInput/index.d.ts +0 -2
  211. package/dist/components/Common/UI/Heading/Heading.d.ts +14 -1
  212. package/dist/components/Common/UI/Heading/Heading.js.map +1 -1
  213. package/dist/components/Common/UI/Heading/HeadingTypes.d.ts +6 -0
  214. package/dist/components/Common/UI/Heading/index.d.ts +0 -1
  215. package/dist/components/Common/UI/Input/Input.d.ts +10 -1
  216. package/dist/components/Common/UI/Input/Input.js.map +1 -1
  217. package/dist/components/Common/UI/Input/InputTypes.d.ts +13 -2
  218. package/dist/components/Common/UI/Input/InputTypes.js.map +1 -1
  219. package/dist/components/Common/UI/Input/index.d.ts +0 -1
  220. package/dist/components/Common/UI/Link/Link.d.ts +8 -1
  221. package/dist/components/Common/UI/Link/Link.js.map +1 -1
  222. package/dist/components/Common/UI/Link/LinkTypes.d.ts +6 -0
  223. package/dist/components/Common/UI/List/ListTypes.d.ts +14 -1
  224. package/dist/components/Common/UI/List/OrderedList.d.ts +8 -1
  225. package/dist/components/Common/UI/List/OrderedList.js.map +1 -1
  226. package/dist/components/Common/UI/List/UnorderedList.d.ts +8 -1
  227. package/dist/components/Common/UI/List/UnorderedList.js.map +1 -1
  228. package/dist/components/Common/UI/List/index.d.ts +1 -1
  229. package/dist/components/Common/UI/LoadingSpinner/LoadingSpinner.d.ts +7 -0
  230. package/dist/components/Common/UI/LoadingSpinner/LoadingSpinner.js.map +1 -1
  231. package/dist/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes.d.ts +13 -1
  232. package/dist/components/Common/UI/LoadingSpinner/LoadingSpinnerTypes.js.map +1 -1
  233. package/dist/components/Common/UI/LoadingSpinner/index.d.ts +0 -2
  234. package/dist/components/Common/UI/Menu/Menu.d.ts +8 -1
  235. package/dist/components/Common/UI/Menu/Menu.js.map +1 -1
  236. package/dist/components/Common/UI/Menu/MenuTypes.d.ts +19 -1
  237. package/dist/components/Common/UI/Menu/MenuTypes.js.map +1 -1
  238. package/dist/components/Common/UI/Modal/Modal.d.ts +11 -1
  239. package/dist/components/Common/UI/Modal/Modal.js.map +1 -1
  240. package/dist/components/Common/UI/Modal/ModalTypes.d.ts +13 -1
  241. package/dist/components/Common/UI/Modal/ModalTypes.js.map +1 -1
  242. package/dist/components/Common/UI/Modal/index.d.ts +0 -1
  243. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.d.ts +8 -1
  244. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBox.js.map +1 -1
  245. package/dist/components/Common/UI/MultiSelectComboBox/MultiSelectComboBoxTypes.d.ts +45 -0
  246. package/dist/components/Common/UI/NumberInput/NumberInput.d.ts +8 -1
  247. package/dist/components/Common/UI/NumberInput/NumberInput.js.map +1 -1
  248. package/dist/components/Common/UI/NumberInput/NumberInputTypes.d.ts +6 -0
  249. package/dist/components/Common/UI/ProgressBar/ProgressBar.d.ts +8 -1
  250. package/dist/components/Common/UI/ProgressBar/ProgressBar.js.map +1 -1
  251. package/dist/components/Common/UI/ProgressBar/ProgressBarTypes.d.ts +6 -0
  252. package/dist/components/Common/UI/Radio/Radio.d.ts +12 -1
  253. package/dist/components/Common/UI/Radio/Radio.js.map +1 -1
  254. package/dist/components/Common/UI/Radio/RadioTypes.d.ts +13 -1
  255. package/dist/components/Common/UI/Radio/RadioTypes.js.map +1 -1
  256. package/dist/components/Common/UI/RadioGroup/RadioGroup.d.ts +9 -1
  257. package/dist/components/Common/UI/RadioGroup/RadioGroup.js.map +1 -1
  258. package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.d.ts +18 -1
  259. package/dist/components/Common/UI/RadioGroup/RadioGroupTypes.js.map +1 -1
  260. package/dist/components/Common/UI/Select/Select.d.ts +8 -1
  261. package/dist/components/Common/UI/Select/Select.js.map +1 -1
  262. package/dist/components/Common/UI/Select/SelectTypes.d.ts +11 -0
  263. package/dist/components/Common/UI/Switch/Switch.d.ts +8 -1
  264. package/dist/components/Common/UI/Switch/Switch.js.map +1 -1
  265. package/dist/components/Common/UI/Switch/SwitchTypes.d.ts +13 -1
  266. package/dist/components/Common/UI/Switch/SwitchTypes.js.map +1 -1
  267. package/dist/components/Common/UI/Table/Table.d.ts +8 -1
  268. package/dist/components/Common/UI/Table/Table.js.map +1 -1
  269. package/dist/components/Common/UI/Table/TableTypes.d.ts +23 -1
  270. package/dist/components/Common/UI/Table/TableTypes.js.map +1 -1
  271. package/dist/components/Common/UI/Tabs/Tabs.d.ts +13 -1
  272. package/dist/components/Common/UI/Tabs/Tabs.js.map +1 -1
  273. package/dist/components/Common/UI/Tabs/TabsTypes.d.ts +6 -8
  274. package/dist/components/Common/UI/Tabs/index.d.ts +0 -1
  275. package/dist/components/Common/UI/Text/Text.d.ts +8 -1
  276. package/dist/components/Common/UI/Text/Text.js.map +1 -1
  277. package/dist/components/Common/UI/Text/TextTypes.d.ts +13 -1
  278. package/dist/components/Common/UI/Text/TextTypes.js.map +1 -1
  279. package/dist/components/Common/UI/Text/index.d.ts +0 -1
  280. package/dist/components/Common/UI/TextArea/TextArea.d.ts +8 -1
  281. package/dist/components/Common/UI/TextArea/TextArea.js.map +1 -1
  282. package/dist/components/Common/UI/TextArea/TextAreaTypes.d.ts +20 -3
  283. package/dist/components/Common/UI/TextArea/TextAreaTypes.js.map +1 -1
  284. package/dist/components/Common/UI/TextArea/index.d.ts +0 -2
  285. package/dist/components/Common/UI/TextInput/TextInput.d.ts +8 -1
  286. package/dist/components/Common/UI/TextInput/TextInput.js.map +1 -1
  287. package/dist/components/Common/UI/TextInput/TextInputTypes.d.ts +13 -2
  288. package/dist/components/Common/UI/TextInput/TextInputTypes.js.map +1 -1
  289. package/dist/components/Common/UI/hooks/useFieldIds.d.ts +1 -0
  290. package/dist/components/Common/UI/hooks/useFieldIds.js.map +1 -1
  291. package/dist/components/Common/VisuallyHidden/VisuallyHidden.d.ts +3 -1
  292. package/dist/components/Common/VisuallyHidden/VisuallyHidden.js.map +1 -1
  293. package/dist/components/Company/AssignSignatory/AssignSignatory.d.ts +1 -1
  294. package/dist/components/Company/AssignSignatory/AssignSignatory.js +2 -3
  295. package/dist/components/Company/AssignSignatory/AssignSignatory.js.map +1 -1
  296. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.d.ts +1 -1
  297. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js +6 -8
  298. package/dist/components/Company/AssignSignatory/AssignSignatorySelection.js.map +1 -1
  299. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.d.ts +1 -1
  300. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js +8 -10
  301. package/dist/components/Company/AssignSignatory/CreateSignatory/Actions.js.map +1 -1
  302. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.d.ts +1 -1
  303. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js +5 -5
  304. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatory.js.map +1 -1
  305. package/dist/components/Company/AssignSignatory/CreateSignatory/CreateSignatoryForm.d.ts +1 -1
  306. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.d.ts +1 -1
  307. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js +9 -11
  308. package/dist/components/Company/AssignSignatory/CreateSignatory/useCreateSignatory.js.map +1 -1
  309. package/dist/components/Company/AssignSignatory/Head.d.ts +1 -1
  310. package/dist/components/Company/AssignSignatory/Head.js +8 -10
  311. package/dist/components/Company/AssignSignatory/Head.js.map +1 -1
  312. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.d.ts +1 -1
  313. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js +6 -8
  314. package/dist/components/Company/AssignSignatory/InviteSignatory/Actions.js.map +1 -1
  315. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.d.ts +1 -1
  316. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js +3 -3
  317. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatory.js.map +1 -1
  318. package/dist/components/Company/AssignSignatory/InviteSignatory/InviteSignatoryForm.d.ts +1 -1
  319. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.d.ts +1 -1
  320. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js +9 -11
  321. package/dist/components/Company/AssignSignatory/InviteSignatory/useInviteSignatory.js.map +1 -1
  322. package/dist/components/Company/AssignSignatory/SignatoryForm.d.ts +1 -1
  323. package/dist/components/Company/AssignSignatory/TitleSelect.d.ts +1 -1
  324. package/dist/components/Company/AssignSignatory/TitleSelect.js +2 -3
  325. package/dist/components/Company/AssignSignatory/TitleSelect.js.map +1 -1
  326. package/dist/components/Company/AssignSignatory/useAssignSignatory.js +11 -13
  327. package/dist/components/Company/AssignSignatory/useAssignSignatory.js.map +1 -1
  328. package/dist/components/Company/BankAccount/BankAccount.d.ts +1 -1
  329. package/dist/components/Company/BankAccount/BankAccount.js +1 -1
  330. package/dist/components/Company/BankAccount/BankAccount.js.map +1 -1
  331. package/dist/components/Company/BankAccount/BankAccountComponents.d.ts +4 -4
  332. package/dist/components/Company/BankAccount/BankAccountComponents.js.map +1 -1
  333. package/dist/components/Company/BankAccount/BankAccountForm/Actions.d.ts +1 -1
  334. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js +8 -9
  335. package/dist/components/Company/BankAccount/BankAccountForm/Actions.js.map +1 -1
  336. package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.d.ts +1 -1
  337. package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.js +1 -1
  338. package/dist/components/Company/BankAccount/BankAccountForm/BankAccountForm.js.map +1 -1
  339. package/dist/components/Company/BankAccount/BankAccountForm/Form.d.ts +1 -1
  340. package/dist/components/Company/BankAccount/BankAccountForm/Form.js +9 -11
  341. package/dist/components/Company/BankAccount/BankAccountForm/Form.js.map +1 -1
  342. package/dist/components/Company/BankAccount/BankAccountForm/Head.d.ts +1 -1
  343. package/dist/components/Company/BankAccount/BankAccountForm/Head.js +5 -7
  344. package/dist/components/Company/BankAccount/BankAccountForm/Head.js.map +1 -1
  345. package/dist/components/Company/BankAccount/BankAccountForm/context.js +9 -11
  346. package/dist/components/Company/BankAccount/BankAccountForm/context.js.map +1 -1
  347. package/dist/components/Company/BankAccount/BankAccountList/AccountView.d.ts +1 -1
  348. package/dist/components/Company/BankAccount/BankAccountList/Actions.d.ts +1 -1
  349. package/dist/components/Company/BankAccount/BankAccountList/Actions.js +10 -12
  350. package/dist/components/Company/BankAccount/BankAccountList/Actions.js.map +1 -1
  351. package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.d.ts +1 -1
  352. package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.js +1 -1
  353. package/dist/components/Company/BankAccount/BankAccountList/BankAccountList.js.map +1 -1
  354. package/dist/components/Company/BankAccount/BankAccountList/Head.d.ts +1 -1
  355. package/dist/components/Company/BankAccount/BankAccountList/context.d.ts +1 -1
  356. package/dist/components/Company/BankAccount/BankAccountList/context.js.map +1 -1
  357. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.d.ts +1 -1
  358. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js +11 -13
  359. package/dist/components/Company/BankAccount/BankAccountVerify/Actions.js.map +1 -1
  360. package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.d.ts +1 -1
  361. package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.js +1 -1
  362. package/dist/components/Company/BankAccount/BankAccountVerify/BankAccountVerify.js.map +1 -1
  363. package/dist/components/Company/BankAccount/BankAccountVerify/Form.d.ts +1 -1
  364. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js +4 -6
  365. package/dist/components/Company/BankAccount/BankAccountVerify/Form.js.map +1 -1
  366. package/dist/components/Company/BankAccount/BankAccountVerify/Head.d.ts +1 -1
  367. package/dist/components/Company/DocumentSigner/DocumentList/Actions.d.ts +1 -1
  368. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js +5 -7
  369. package/dist/components/Company/DocumentSigner/DocumentList/Actions.js.map +1 -1
  370. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.d.ts +1 -1
  371. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js +10 -11
  372. package/dist/components/Company/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  373. package/dist/components/Company/DocumentSigner/DocumentList/Head.d.ts +1 -1
  374. package/dist/components/Company/DocumentSigner/DocumentList/List.d.ts +1 -1
  375. package/dist/components/Company/DocumentSigner/DocumentList/ManageSignatories.d.ts +1 -1
  376. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.d.ts +2 -2
  377. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js +9 -11
  378. package/dist/components/Company/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  379. package/dist/components/Company/DocumentSigner/DocumentSigner.d.ts +1 -1
  380. package/dist/components/Company/DocumentSigner/DocumentSigner.js +1 -1
  381. package/dist/components/Company/DocumentSigner/DocumentSigner.js.map +1 -1
  382. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.d.ts +1 -1
  383. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js +10 -11
  384. package/dist/components/Company/DocumentSigner/SignatureForm/SignatureForm.js.map +1 -1
  385. package/dist/components/Company/DocumentSigner/documentSignerStateMachine.d.ts +5 -5
  386. package/dist/components/Company/DocumentSigner/documentSignerStateMachine.js.map +1 -1
  387. package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/fields.d.ts +2 -2
  388. package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.d.ts +1 -1
  389. package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.js +3 -3
  390. package/dist/components/Company/DocumentSigner/shared/useSignCompanyForm/useSignCompanyForm.js.map +1 -1
  391. package/dist/components/Company/FederalTaxes/Actions.d.ts +1 -1
  392. package/dist/components/Company/FederalTaxes/Actions.js +7 -9
  393. package/dist/components/Company/FederalTaxes/Actions.js.map +1 -1
  394. package/dist/components/Company/FederalTaxes/FederalTaxes.d.ts +1 -1
  395. package/dist/components/Company/FederalTaxes/FederalTaxes.js +8 -9
  396. package/dist/components/Company/FederalTaxes/FederalTaxes.js.map +1 -1
  397. package/dist/components/Company/FederalTaxes/Form.d.ts +1 -1
  398. package/dist/components/Company/FederalTaxes/Form.js +4 -6
  399. package/dist/components/Company/FederalTaxes/Form.js.map +1 -1
  400. package/dist/components/Company/FederalTaxes/Head.d.ts +1 -1
  401. package/dist/components/Company/FederalTaxes/useFederalTaxes.d.ts +1 -1
  402. package/dist/components/Company/FederalTaxes/useFederalTaxes.js +14 -16
  403. package/dist/components/Company/FederalTaxes/useFederalTaxes.js.map +1 -1
  404. package/dist/components/Company/Industry/Actions.d.ts +1 -1
  405. package/dist/components/Company/Industry/Actions.js +5 -7
  406. package/dist/components/Company/Industry/Actions.js.map +1 -1
  407. package/dist/components/Company/Industry/Context.js +12 -14
  408. package/dist/components/Company/Industry/Context.js.map +1 -1
  409. package/dist/components/Company/Industry/Edit.d.ts +1 -1
  410. package/dist/components/Company/Industry/Edit.js +10 -12
  411. package/dist/components/Company/Industry/Edit.js.map +1 -1
  412. package/dist/components/Company/Industry/Head.d.ts +1 -1
  413. package/dist/components/Company/Industry/Industry.d.ts +1 -1
  414. package/dist/components/Company/Industry/Industry.js +2 -2
  415. package/dist/components/Company/Industry/Industry.js.map +1 -1
  416. package/dist/components/Company/Industry/IndustrySelect.d.ts +1 -1
  417. package/dist/components/Company/Industry/IndustrySelect.js +6 -8
  418. package/dist/components/Company/Industry/IndustrySelect.js.map +1 -1
  419. package/dist/components/Company/Locations/LocationForm/Actions.d.ts +1 -1
  420. package/dist/components/Company/Locations/LocationForm/Actions.js +6 -8
  421. package/dist/components/Company/Locations/LocationForm/Actions.js.map +1 -1
  422. package/dist/components/Company/Locations/LocationForm/Form.d.ts +1 -1
  423. package/dist/components/Company/Locations/LocationForm/Head.d.ts +1 -1
  424. package/dist/components/Company/Locations/LocationForm/LocationForm.d.ts +1 -1
  425. package/dist/components/Company/Locations/LocationForm/LocationForm.js +13 -14
  426. package/dist/components/Company/Locations/LocationForm/LocationForm.js.map +1 -1
  427. package/dist/components/Company/Locations/LocationForm/useLocationForm.js +9 -11
  428. package/dist/components/Company/Locations/LocationForm/useLocationForm.js.map +1 -1
  429. package/dist/components/Company/Locations/Locations.d.ts +1 -1
  430. package/dist/components/Company/Locations/LocationsList/Actions.d.ts +1 -1
  431. package/dist/components/Company/Locations/LocationsList/Actions.js +6 -8
  432. package/dist/components/Company/Locations/LocationsList/Actions.js.map +1 -1
  433. package/dist/components/Company/Locations/LocationsList/Head.d.ts +1 -1
  434. package/dist/components/Company/Locations/LocationsList/List.d.ts +1 -1
  435. package/dist/components/Company/Locations/LocationsList/List.js +7 -9
  436. package/dist/components/Company/Locations/LocationsList/List.js.map +1 -1
  437. package/dist/components/Company/Locations/LocationsList/LocationsList.d.ts +1 -1
  438. package/dist/components/Company/Locations/LocationsList/LocationsList.js +6 -7
  439. package/dist/components/Company/Locations/LocationsList/LocationsList.js.map +1 -1
  440. package/dist/components/Company/Locations/LocationsList/useLocationsList.d.ts +1 -1
  441. package/dist/components/Company/Locations/LocationsList/useLocationsList.js +9 -11
  442. package/dist/components/Company/Locations/LocationsList/useLocationsList.js.map +1 -1
  443. package/dist/components/Company/Locations/locationsStateMachine.d.ts +2 -2
  444. package/dist/components/Company/OnboardingFlow/OnboardingFlow.d.ts +1 -1
  445. package/dist/components/Company/OnboardingFlow/OnboardingFlowComponents.d.ts +9 -9
  446. package/dist/components/Company/OnboardingOverview/Completed.d.ts +1 -1
  447. package/dist/components/Company/OnboardingOverview/Completed.js +12 -14
  448. package/dist/components/Company/OnboardingOverview/Completed.js.map +1 -1
  449. package/dist/components/Company/OnboardingOverview/MissingRequirements.d.ts +1 -1
  450. package/dist/components/Company/OnboardingOverview/MissingRequirements.js +5 -7
  451. package/dist/components/Company/OnboardingOverview/MissingRequirements.js.map +1 -1
  452. package/dist/components/Company/OnboardingOverview/OnboardingOverview.d.ts +1 -1
  453. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js +3 -4
  454. package/dist/components/Company/OnboardingOverview/OnboardingOverview.js.map +1 -1
  455. package/dist/components/Company/OnboardingOverview/context.d.ts +1 -1
  456. package/dist/components/Company/OnboardingOverview/context.js +9 -11
  457. package/dist/components/Company/OnboardingOverview/context.js.map +1 -1
  458. package/dist/components/Company/PaySchedule/PaySchedule.d.ts +1 -1
  459. package/dist/components/Company/PaySchedule/PaySchedule.js +1 -1
  460. package/dist/components/Company/PaySchedule/PaySchedule.js.map +1 -1
  461. package/dist/components/Company/PaySchedule/PayScheduleComponents.d.ts +2 -2
  462. package/dist/components/Company/PaySchedule/PayScheduleForm.d.ts +1 -1
  463. package/dist/components/Company/PaySchedule/PayScheduleList.d.ts +1 -1
  464. package/dist/components/Company/PaySchedule/PayScheduleList.js +4 -5
  465. package/dist/components/Company/PaySchedule/PayScheduleList.js.map +1 -1
  466. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/fields.d.ts +7 -7
  467. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.d.ts +2 -2
  468. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js +6 -6
  469. package/dist/components/Company/PaySchedule/shared/usePayScheduleForm/usePayScheduleForm.js.map +1 -1
  470. package/dist/components/Company/StateTaxes/StateTaxes.d.ts +1 -1
  471. package/dist/components/Company/StateTaxes/StateTaxesComponents.d.ts +2 -2
  472. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.d.ts +1 -1
  473. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js +5 -7
  474. package/dist/components/Company/StateTaxes/StateTaxesForm/Actions.js.map +1 -1
  475. package/dist/components/Company/StateTaxes/StateTaxesForm/Form.d.ts +1 -1
  476. package/dist/components/Company/StateTaxes/StateTaxesForm/Head.d.ts +1 -1
  477. package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.d.ts +1 -1
  478. package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js +2 -2
  479. package/dist/components/Company/StateTaxes/StateTaxesForm/StateTaxesForm.js.map +1 -1
  480. package/dist/components/Company/StateTaxes/StateTaxesForm/context.d.ts +1 -1
  481. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js +9 -11
  482. package/dist/components/Company/StateTaxes/StateTaxesForm/context.js.map +1 -1
  483. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.d.ts +1 -1
  484. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js +6 -8
  485. package/dist/components/Company/StateTaxes/StateTaxesList/Actions.js.map +1 -1
  486. package/dist/components/Company/StateTaxes/StateTaxesList/Head.d.ts +1 -1
  487. package/dist/components/Company/StateTaxes/StateTaxesList/List.d.ts +1 -1
  488. package/dist/components/Company/StateTaxes/StateTaxesList/List.js +3 -5
  489. package/dist/components/Company/StateTaxes/StateTaxesList/List.js.map +1 -1
  490. package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.d.ts +1 -1
  491. package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.js +1 -1
  492. package/dist/components/Company/StateTaxes/StateTaxesList/StateTaxesList.js.map +1 -1
  493. package/dist/components/Company/StateTaxes/StateTaxesList/context.d.ts +1 -1
  494. package/dist/components/Company/StateTaxes/StateTaxesList/context.js +9 -11
  495. package/dist/components/Company/StateTaxes/StateTaxesList/context.js.map +1 -1
  496. package/dist/components/Contractor/Address/Actions.d.ts +1 -1
  497. package/dist/components/Contractor/Address/Address.d.ts +1 -1
  498. package/dist/components/Contractor/Address/Address.js +6 -7
  499. package/dist/components/Contractor/Address/Address.js.map +1 -1
  500. package/dist/components/Contractor/Address/Form.d.ts +1 -1
  501. package/dist/components/Contractor/Address/Head.d.ts +1 -1
  502. package/dist/components/Contractor/Address/Head.js +7 -9
  503. package/dist/components/Contractor/Address/Head.js.map +1 -1
  504. package/dist/components/Contractor/Address/useAddress.d.ts +2 -2
  505. package/dist/components/Contractor/Address/useAddress.js +11 -13
  506. package/dist/components/Contractor/Address/useAddress.js.map +1 -1
  507. package/dist/components/Contractor/ContractorList/index.d.ts +3 -3
  508. package/dist/components/Contractor/ContractorList/index.js +20 -21
  509. package/dist/components/Contractor/ContractorList/index.js.map +1 -1
  510. package/dist/components/Contractor/ContractorList/useContractorList.d.ts +1 -1
  511. package/dist/components/Contractor/ContractorList/useContractorList.js +1 -1
  512. package/dist/components/Contractor/ContractorList/useContractorList.js.map +1 -1
  513. package/dist/components/Contractor/NewHireReport/NewHireReport.d.ts +1 -1
  514. package/dist/components/Contractor/NewHireReport/NewHireReport.js +4 -5
  515. package/dist/components/Contractor/NewHireReport/NewHireReport.js.map +1 -1
  516. package/dist/components/Contractor/OnboardingFlow/OnboardingFlow.d.ts +1 -1
  517. package/dist/components/Contractor/OnboardingFlow/OnboardingFlowComponents.d.ts +7 -7
  518. package/dist/components/Contractor/PaymentMethod/BankAccountForm.d.ts +1 -1
  519. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js +2 -4
  520. package/dist/components/Contractor/PaymentMethod/BankAccountForm.js.map +1 -1
  521. package/dist/components/Contractor/PaymentMethod/PaymentMethod.d.ts +1 -1
  522. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js +7 -8
  523. package/dist/components/Contractor/PaymentMethod/PaymentMethod.js.map +1 -1
  524. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.d.ts +1 -1
  525. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js +2 -3
  526. package/dist/components/Contractor/PaymentMethod/PaymentTypeForm.js.map +1 -1
  527. package/dist/components/Contractor/PaymentMethod/types.d.ts +1 -1
  528. package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.d.ts +2 -2
  529. package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js +5 -5
  530. package/dist/components/Contractor/Payments/CreatePayment/CreatePayment.js.map +1 -1
  531. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.d.ts +3 -3
  532. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js +2 -4
  533. package/dist/components/Contractor/Payments/CreatePayment/CreatePaymentPresentation.js.map +1 -1
  534. package/dist/components/Contractor/Payments/CreatePayment/EditContractorPaymentPresentation.d.ts +1 -1
  535. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.d.ts +3 -3
  536. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js +5 -7
  537. package/dist/components/Contractor/Payments/CreatePayment/FastAchSubmissionBlockerBanner.js.map +1 -1
  538. package/dist/components/Contractor/Payments/CreatePayment/GenericBlocker.d.ts +2 -2
  539. package/dist/components/Contractor/Payments/CreatePayment/GenericBlocker.js.map +1 -1
  540. package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.d.ts +5 -5
  541. package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js +3 -4
  542. package/dist/components/Contractor/Payments/CreatePayment/PreviewPresentation.js.map +1 -1
  543. package/dist/components/Contractor/Payments/CreatePayment/helpers.d.ts +1 -1
  544. package/dist/components/Contractor/Payments/CreatePayment/helpers.js.map +1 -1
  545. package/dist/components/Contractor/Payments/PaymentFlow/PaymentFlow.d.ts +1 -1
  546. package/dist/components/Contractor/Payments/PaymentFlow/PaymentFlowComponents.d.ts +6 -6
  547. package/dist/components/Contractor/Payments/PaymentFlow/paymentStateMachine.js.map +1 -1
  548. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.d.ts +2 -2
  549. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js +3 -3
  550. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistory.js.map +1 -1
  551. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.d.ts +3 -3
  552. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js +2 -4
  553. package/dist/components/Contractor/Payments/PaymentHistory/PaymentHistoryPresentation.js.map +1 -1
  554. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.d.ts +2 -2
  555. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js +4 -4
  556. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatement.js.map +1 -1
  557. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.d.ts +4 -4
  558. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js +13 -15
  559. package/dist/components/Contractor/Payments/PaymentStatement/PaymentStatementPresentation.js.map +1 -1
  560. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummary.d.ts +1 -1
  561. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummary.js +3 -3
  562. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummary.js.map +1 -1
  563. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.d.ts +4 -4
  564. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js +2 -4
  565. package/dist/components/Contractor/Payments/PaymentSummary/PaymentSummaryPresentation.js.map +1 -1
  566. package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.d.ts +2 -2
  567. package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js +3 -3
  568. package/dist/components/Contractor/Payments/PaymentsList/PaymentsList.js.map +1 -1
  569. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.d.ts +2 -2
  570. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js +7 -9
  571. package/dist/components/Contractor/Payments/PaymentsList/PaymentsListPresentation.js.map +1 -1
  572. package/dist/components/Contractor/Payments/types.d.ts +2 -2
  573. package/dist/components/Contractor/Profile/ContractorProfile.d.ts +1 -1
  574. package/dist/components/Contractor/Profile/ContractorProfile.js +1 -1
  575. package/dist/components/Contractor/Profile/ContractorProfile.js.map +1 -1
  576. package/dist/components/Contractor/Profile/ContractorProfileForm.d.ts +2 -2
  577. package/dist/components/Contractor/Profile/ContractorProfileForm.js.map +1 -1
  578. package/dist/components/Contractor/Profile/useContractorProfile.d.ts +1 -1
  579. package/dist/components/Contractor/Profile/useContractorProfile.js +42 -42
  580. package/dist/components/Contractor/Profile/useContractorProfile.js.map +1 -1
  581. package/dist/components/Contractor/Submit/Submit.d.ts +2 -2
  582. package/dist/components/Contractor/Submit/Submit.js +6 -7
  583. package/dist/components/Contractor/Submit/Submit.js.map +1 -1
  584. package/dist/components/Contractor/Submit/SubmitDone.d.ts +1 -1
  585. package/dist/components/Employee/Compensation/management/Compensation.d.ts +8 -0
  586. package/dist/components/Employee/Compensation/management/Compensation.js +40 -0
  587. package/dist/components/Employee/Compensation/management/Compensation.js.map +1 -0
  588. package/dist/components/Employee/Compensation/management/CompensationAddAnotherJobForm/CompensationAddAnotherJobForm.d.ts +11 -0
  589. package/dist/components/Employee/Compensation/management/CompensationAddAnotherJobForm/CompensationAddAnotherJobForm.js +86 -0
  590. package/dist/components/Employee/Compensation/management/CompensationAddAnotherJobForm/CompensationAddAnotherJobForm.js.map +1 -0
  591. package/dist/components/Employee/Compensation/management/{EditCompensation/EditCompensation.module.scss.js → CompensationAddAnotherJobForm/CompensationAddAnotherJobForm.module.scss.js} +1 -1
  592. package/dist/components/Employee/Compensation/management/CompensationAddAnotherJobForm/CompensationAddAnotherJobForm.module.scss.js.map +1 -0
  593. package/dist/components/Employee/Compensation/management/CompensationAddJobForm/CompensationAddJobForm.d.ts +20 -0
  594. package/dist/components/Employee/Compensation/management/CompensationAddJobForm/CompensationAddJobForm.js +34 -0
  595. package/dist/components/Employee/Compensation/management/CompensationAddJobForm/CompensationAddJobForm.js.map +1 -0
  596. package/dist/components/Employee/Compensation/management/CompensationAddJobForm/index.d.ts +3 -0
  597. package/dist/components/Employee/Compensation/management/CompensationCard/CompensationCard.d.ts +16 -0
  598. package/dist/components/Employee/Compensation/management/CompensationCard/CompensationCard.js +324 -0
  599. package/dist/components/Employee/Compensation/management/CompensationCard/CompensationCard.js.map +1 -0
  600. package/dist/components/Employee/{Dashboard/JobAndPayView.module.scss.js → Compensation/management/CompensationCard/CompensationCard.module.scss.js} +1 -1
  601. package/dist/components/Employee/Compensation/management/CompensationCard/CompensationCard.module.scss.js.map +1 -0
  602. package/dist/components/Employee/Compensation/management/CompensationCard/index.d.ts +3 -0
  603. package/dist/components/Employee/Compensation/management/CompensationComponents.d.ts +13 -0
  604. package/dist/components/Employee/Compensation/management/CompensationComponents.js +53 -0
  605. package/dist/components/Employee/Compensation/management/CompensationComponents.js.map +1 -0
  606. package/dist/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.d.ts +26 -0
  607. package/dist/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.js +45 -0
  608. package/dist/components/Employee/Compensation/management/CompensationEditForm/CompensationEditForm.js.map +1 -0
  609. package/dist/components/Employee/Compensation/management/CompensationEditForm/index.d.ts +3 -0
  610. package/dist/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.d.ts +12 -0
  611. package/dist/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.js +91 -0
  612. package/dist/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.js.map +1 -0
  613. package/dist/components/Employee/Compensation/management/{AddAnotherJob/AddAnotherJob.module.scss.js → CompensationEditJobForm/CompensationEditJobForm.module.scss.js} +1 -1
  614. package/dist/components/Employee/Compensation/management/CompensationEditJobForm/CompensationEditJobForm.module.scss.js.map +1 -0
  615. package/dist/components/Employee/Compensation/management/CompensationEditJobForm/index.d.ts +3 -0
  616. package/dist/components/Employee/Compensation/management/{EditPendingCompensation/EditPendingCompensation.d.ts → CompensationEditPendingJobForm/CompensationEditPendingJobForm.d.ts} +5 -5
  617. package/dist/components/Employee/Compensation/management/CompensationEditPendingJobForm/CompensationEditPendingJobForm.js +85 -0
  618. package/dist/components/Employee/Compensation/management/CompensationEditPendingJobForm/CompensationEditPendingJobForm.js.map +1 -0
  619. package/dist/components/Employee/Compensation/management/{EditPendingCompensation/EditPendingCompensation.module.scss.js → CompensationEditPendingJobForm/CompensationEditPendingJobForm.module.scss.js} +1 -1
  620. package/dist/components/Employee/Compensation/management/CompensationEditPendingJobForm/CompensationEditPendingJobForm.module.scss.js.map +1 -0
  621. package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.d.ts +1 -1
  622. package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.js +203 -155
  623. package/dist/components/Employee/Compensation/management/ManagementCompensationFormBody.js.map +1 -1
  624. package/dist/components/Employee/Compensation/management/compensationStateMachine.d.ts +6 -0
  625. package/dist/components/Employee/Compensation/management/compensationStateMachine.js +102 -0
  626. package/dist/components/Employee/Compensation/management/compensationStateMachine.js.map +1 -0
  627. package/dist/components/Employee/Compensation/management/index.d.ts +10 -5
  628. package/dist/components/Employee/Compensation/management/useManagementCompensationDictionary.d.ts +11 -0
  629. package/dist/components/Employee/Compensation/management/useManagementCompensationDictionary.js +81 -0
  630. package/dist/components/Employee/Compensation/management/useManagementCompensationDictionary.js.map +1 -0
  631. package/dist/components/Employee/Compensation/onboarding/Compensation.d.ts +4 -4
  632. package/dist/components/Employee/Compensation/onboarding/Compensation.js +1 -1
  633. package/dist/components/Employee/Compensation/onboarding/Compensation.js.map +1 -1
  634. package/dist/components/Employee/Compensation/onboarding/CompensationFlowComponents.d.ts +5 -5
  635. package/dist/components/Employee/Compensation/onboarding/CompensationFlowComponents.js.map +1 -1
  636. package/dist/components/Employee/Compensation/onboarding/EditCompensation/EditCompensation.d.ts +1 -1
  637. package/dist/components/Employee/Compensation/onboarding/JobsList/JobsList.d.ts +1 -1
  638. package/dist/components/Employee/Compensation/onboarding/JobsList/JobsList.js +2 -2
  639. package/dist/components/Employee/Compensation/onboarding/JobsList/JobsList.js.map +1 -1
  640. package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.d.ts +2 -2
  641. package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.js +9 -10
  642. package/dist/components/Employee/Compensation/onboarding/JobsList/JobsListPresentation.js.map +1 -1
  643. package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.d.ts +17 -2
  644. package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.js +204 -153
  645. package/dist/components/Employee/Compensation/shared/AddCompensationFormBody.js.map +1 -1
  646. package/dist/components/Employee/{Dashboard → Compensation/shared}/PendingChangesReviewModal.d.ts +1 -1
  647. package/dist/components/Employee/Compensation/shared/PendingChangesReviewModal.js +64 -0
  648. package/dist/components/Employee/Compensation/shared/PendingChangesReviewModal.js.map +1 -0
  649. package/dist/components/Employee/Compensation/shared/derivePrimaryFlsaStatus.d.ts +1 -1
  650. package/dist/components/Employee/Compensation/shared/derivePrimaryFlsaStatus.js.map +1 -1
  651. package/dist/components/Employee/{Dashboard → Compensation/shared}/getPendingCompensationChanges.d.ts +2 -2
  652. package/dist/components/Employee/{Dashboard → Compensation/shared}/getPendingCompensationChanges.js +1 -1
  653. package/dist/components/Employee/Compensation/shared/getPendingCompensationChanges.js.map +1 -0
  654. package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.d.ts +10 -10
  655. package/dist/components/Employee/Compensation/shared/useCompensationForm/fields.js.map +1 -1
  656. package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.d.ts +28 -5
  657. package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js +140 -137
  658. package/dist/components/Employee/Compensation/shared/useCompensationForm/useCompensationForm.js.map +1 -1
  659. package/dist/components/Employee/Compensation/shared/useCompensationManagement/index.d.ts +3 -0
  660. package/dist/components/Employee/Compensation/shared/useCompensationManagement/useCompensationManagement.d.ts +31 -0
  661. package/dist/components/Employee/Compensation/shared/useCompensationManagement/useCompensationManagement.js +57 -0
  662. package/dist/components/Employee/Compensation/shared/useCompensationManagement/useCompensationManagement.js.map +1 -0
  663. package/dist/components/Employee/Compensation/shared/useJobForm/fields.d.ts +5 -5
  664. package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.d.ts +3 -3
  665. package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js +7 -7
  666. package/dist/components/Employee/Compensation/shared/useJobForm/useJobForm.js.map +1 -1
  667. package/dist/components/Employee/{Dashboard → Compensation/shared}/usePendingChangeDetailRenderer.d.ts +3 -2
  668. package/dist/components/Employee/Compensation/shared/usePendingChangeDetailRenderer.js +61 -0
  669. package/dist/components/Employee/Compensation/shared/usePendingChangeDetailRenderer.js.map +1 -0
  670. package/dist/components/Employee/Dashboard/BasicDetailsView.d.ts +8 -26
  671. package/dist/components/Employee/Dashboard/BasicDetailsView.js +11 -136
  672. package/dist/components/Employee/Dashboard/BasicDetailsView.js.map +1 -1
  673. package/dist/components/Employee/Dashboard/Dashboard.d.ts +1 -1
  674. package/dist/components/Employee/Dashboard/Dashboard.js +53 -113
  675. package/dist/components/Employee/Dashboard/Dashboard.js.map +1 -1
  676. package/dist/components/Employee/Dashboard/DashboardComponents.d.ts +17 -18
  677. package/dist/components/Employee/Dashboard/DashboardComponents.js +76 -126
  678. package/dist/components/Employee/Dashboard/DashboardComponents.js.map +1 -1
  679. package/dist/components/Employee/Dashboard/DashboardFlow.d.ts +1 -1
  680. package/dist/components/Employee/Dashboard/JobAndPayView.d.ts +1 -8
  681. package/dist/components/Employee/Dashboard/JobAndPayView.js +14 -656
  682. package/dist/components/Employee/Dashboard/JobAndPayView.js.map +1 -1
  683. package/dist/components/Employee/Dashboard/TaxesView.d.ts +9 -26
  684. package/dist/components/Employee/Dashboard/TaxesView.js +12 -142
  685. package/dist/components/Employee/Dashboard/TaxesView.js.map +1 -1
  686. package/dist/components/Employee/Dashboard/dashboardStateMachine.d.ts +1 -1
  687. package/dist/components/Employee/Dashboard/dashboardStateMachine.js +232 -164
  688. package/dist/components/Employee/Dashboard/dashboardStateMachine.js.map +1 -1
  689. package/dist/components/Employee/Dashboard/dashboardStateMachine.test.d.ts +1 -0
  690. package/dist/components/Employee/Dashboard/index.d.ts +0 -3
  691. package/dist/components/Employee/Deductions/index.d.ts +1 -1
  692. package/dist/components/Employee/Deductions/management/Deductions.d.ts +8 -0
  693. package/dist/components/Employee/Deductions/management/Deductions.js +40 -0
  694. package/dist/components/Employee/Deductions/management/Deductions.js.map +1 -0
  695. package/dist/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.d.ts +17 -0
  696. package/dist/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.js +124 -0
  697. package/dist/components/Employee/Deductions/management/DeductionsCard/DeductionsCard.js.map +1 -0
  698. package/dist/components/Employee/Deductions/management/DeductionsCard/index.d.ts +3 -0
  699. package/dist/components/Employee/Deductions/management/DeductionsComponents.d.ts +12 -0
  700. package/dist/components/Employee/Deductions/management/DeductionsComponents.js +41 -0
  701. package/dist/components/Employee/Deductions/management/DeductionsComponents.js.map +1 -0
  702. package/dist/components/Employee/Deductions/management/DeductionsEditForm/DeductionsEditForm.d.ts +18 -0
  703. package/dist/components/Employee/Deductions/management/DeductionsEditForm/DeductionsEditForm.js +54 -0
  704. package/dist/components/Employee/Deductions/management/DeductionsEditForm/DeductionsEditForm.js.map +1 -0
  705. package/dist/components/Employee/Deductions/management/DeductionsEditForm/index.d.ts +2 -0
  706. package/dist/components/Employee/Deductions/management/DeductionsEditForm/useFormDictionary.d.ts +9 -0
  707. package/dist/components/Employee/Deductions/management/DeductionsEditForm/useFormDictionary.js +92 -0
  708. package/dist/components/Employee/Deductions/management/DeductionsEditForm/useFormDictionary.js.map +1 -0
  709. package/dist/components/Employee/Deductions/management/deductionsStateMachine.d.ts +4 -0
  710. package/dist/components/Employee/Deductions/management/deductionsStateMachine.js +76 -0
  711. package/dist/components/Employee/Deductions/management/deductionsStateMachine.js.map +1 -0
  712. package/dist/components/Employee/Deductions/management/index.d.ts +7 -0
  713. package/dist/components/Employee/Deductions/{Deductions.d.ts → onboarding/Deductions.d.ts} +2 -2
  714. package/dist/components/Employee/Deductions/{Deductions.js → onboarding/Deductions.js} +4 -4
  715. package/dist/components/Employee/Deductions/onboarding/Deductions.js.map +1 -0
  716. package/dist/components/Employee/Deductions/{DeductionsList → onboarding/DeductionsList}/DeductionsList.d.ts +3 -3
  717. package/dist/components/Employee/Deductions/{DeductionsList → onboarding/DeductionsList}/DeductionsList.js +24 -26
  718. package/dist/components/Employee/Deductions/onboarding/DeductionsList/DeductionsList.js.map +1 -0
  719. package/dist/components/Employee/Deductions/{IncludeDeductions → onboarding/IncludeDeductions}/IncludeDeductions.d.ts +1 -1
  720. package/dist/components/Employee/Deductions/{IncludeDeductions → onboarding/IncludeDeductions}/IncludeDeductions.js +7 -7
  721. package/dist/components/Employee/Deductions/onboarding/IncludeDeductions/IncludeDeductions.js.map +1 -0
  722. package/dist/components/Employee/Deductions/{deductionsContextualComponents.d.ts → onboarding/deductionsContextualComponents.d.ts} +6 -6
  723. package/dist/components/Employee/Deductions/onboarding/deductionsContextualComponents.js +76 -0
  724. package/dist/components/Employee/Deductions/onboarding/deductionsContextualComponents.js.map +1 -0
  725. package/dist/components/{Common/UI/Badge → Employee/Deductions/onboarding}/index.d.ts +1 -1
  726. package/dist/components/Employee/Deductions/{stateMachine.js → onboarding/stateMachine.js} +1 -1
  727. package/dist/components/Employee/Deductions/onboarding/stateMachine.js.map +1 -0
  728. package/dist/components/Employee/Deductions/onboarding/useFormDictionary.d.ts +13 -0
  729. package/dist/components/Employee/Deductions/onboarding/useFormDictionary.js +92 -0
  730. package/dist/components/Employee/Deductions/onboarding/useFormDictionary.js.map +1 -0
  731. package/dist/components/Employee/Deductions/{DeductionsForm → shared/DeductionsForm}/ChildSupportFormView.d.ts +2 -2
  732. package/dist/components/Employee/Deductions/shared/DeductionsForm/ChildSupportFormView.js +143 -0
  733. package/dist/components/Employee/Deductions/shared/DeductionsForm/ChildSupportFormView.js.map +1 -0
  734. package/dist/components/Employee/Deductions/shared/DeductionsForm/DeductionsForm.d.ts +19 -0
  735. package/dist/components/Employee/Deductions/shared/DeductionsForm/DeductionsForm.js +138 -0
  736. package/dist/components/Employee/Deductions/shared/DeductionsForm/DeductionsForm.js.map +1 -0
  737. package/dist/components/Employee/Deductions/{DeductionsForm → shared/DeductionsForm}/StandardDeductionForm.d.ts +2 -2
  738. package/dist/components/Employee/Deductions/shared/DeductionsForm/StandardDeductionForm.js +135 -0
  739. package/dist/components/Employee/Deductions/shared/DeductionsForm/StandardDeductionForm.js.map +1 -0
  740. package/dist/components/Employee/Deductions/shared/DeductionsForm/index.d.ts +2 -0
  741. package/dist/components/Employee/Deductions/shared/DeleteDeductionDialog.d.ts +13 -3
  742. package/dist/components/Employee/Deductions/shared/DeleteDeductionDialog.js +19 -18
  743. package/dist/components/Employee/Deductions/shared/DeleteDeductionDialog.js.map +1 -1
  744. package/dist/components/Employee/Deductions/shared/formatDeductionAmount.d.ts +2 -2
  745. package/dist/components/Employee/Deductions/shared/formatDeductionAmount.js +14 -6
  746. package/dist/components/Employee/Deductions/shared/formatDeductionAmount.js.map +1 -1
  747. package/dist/components/Employee/Deductions/shared/index.d.ts +1 -0
  748. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.d.ts +1 -1
  749. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.js +1 -1
  750. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/childSupportGarnishmentFormSchema.js.map +1 -1
  751. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.d.ts +9 -9
  752. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.js.map +1 -1
  753. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.d.ts +2 -2
  754. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.js +5 -5
  755. package/dist/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.js.map +1 -1
  756. package/dist/components/Employee/Deductions/shared/useDeductionForm/deductionFormSchema.js +1 -1
  757. package/dist/components/Employee/Deductions/shared/useDeductionForm/deductionFormSchema.js.map +1 -1
  758. package/dist/components/Employee/Deductions/shared/useDeductionForm/fields.d.ts +8 -8
  759. package/dist/components/Employee/Deductions/shared/useDeductionForm/fields.js.map +1 -1
  760. package/dist/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.d.ts +1 -1
  761. package/dist/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.js +65 -65
  762. package/dist/components/Employee/Deductions/shared/useDeductionForm/useDeductionForm.js.map +1 -1
  763. package/dist/components/Employee/Deductions/shared/useDeductionsList.d.ts +1 -1
  764. package/dist/components/Employee/Deductions/shared/useDeductionsList.js +2 -2
  765. package/dist/components/Employee/Deductions/shared/useDeductionsList.js.map +1 -1
  766. package/dist/components/Employee/Deductions/shared/useDeleteDeduction.d.ts +1 -1
  767. package/dist/components/Employee/Deductions/shared/useDeleteDeduction.js.map +1 -1
  768. package/dist/components/Employee/Documents/management/DocumentManager.d.ts +7 -1
  769. package/dist/components/Employee/Documents/management/DocumentManager.js +23 -25
  770. package/dist/components/Employee/Documents/management/DocumentManager.js.map +1 -1
  771. package/dist/components/Employee/Documents/management/Documents.d.ts +8 -0
  772. package/dist/components/Employee/Documents/management/Documents.js +39 -0
  773. package/dist/components/Employee/Documents/management/Documents.js.map +1 -0
  774. package/dist/components/Employee/Documents/management/DocumentsCard/DocumentsCard.d.ts +18 -0
  775. package/dist/components/Employee/Documents/management/DocumentsCard/DocumentsCard.js +61 -0
  776. package/dist/components/Employee/Documents/management/DocumentsCard/DocumentsCard.js.map +1 -0
  777. package/dist/components/Employee/Documents/management/DocumentsCard/index.d.ts +3 -0
  778. package/dist/components/Employee/Documents/management/DocumentsComponents.d.ts +9 -0
  779. package/dist/components/Employee/Documents/management/DocumentsComponents.js +25 -0
  780. package/dist/components/Employee/Documents/management/DocumentsComponents.js.map +1 -0
  781. package/dist/components/Employee/Documents/management/documentsStateMachine.d.ts +4 -0
  782. package/dist/components/Employee/Documents/management/documentsStateMachine.js +29 -0
  783. package/dist/components/Employee/Documents/management/documentsStateMachine.js.map +1 -0
  784. package/dist/components/Employee/Documents/management/index.d.ts +4 -0
  785. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/Actions.d.ts +1 -1
  786. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/Actions.js +6 -8
  787. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/Actions.js.map +1 -1
  788. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.d.ts +1 -1
  789. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.js +6 -7
  790. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/DocumentList.js.map +1 -1
  791. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/Head.d.ts +1 -1
  792. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/List.d.ts +1 -1
  793. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/List.js +2 -4
  794. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/List.js.map +1 -1
  795. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.d.ts +1 -1
  796. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js +9 -11
  797. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentList/useDocumentList.js.map +1 -1
  798. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.d.ts +1 -1
  799. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.js +2 -2
  800. package/dist/components/Employee/Documents/onboarding/DocumentSigner/DocumentSigner.js.map +1 -1
  801. package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.d.ts +1 -1
  802. package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js +3 -3
  803. package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibility.js.map +1 -1
  804. package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.d.ts +1 -1
  805. package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js +15 -17
  806. package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilityPresentation.js.map +1 -1
  807. package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilitySchema.js +1 -1
  808. package/dist/components/Employee/Documents/onboarding/DocumentSigner/EmploymentEligibility/EmploymentEligibilitySchema.js.map +1 -1
  809. package/dist/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.d.ts +1 -1
  810. package/dist/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.js +8 -9
  811. package/dist/components/Employee/Documents/onboarding/DocumentSigner/I9SignatureForm/I9SignatureForm.js.map +1 -1
  812. package/dist/components/Employee/Documents/onboarding/DocumentSigner/documentSignerStateMachine.d.ts +5 -5
  813. package/dist/components/Employee/Documents/onboarding/DocumentSigner/documentSignerStateMachine.js.map +1 -1
  814. package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.d.ts +2 -2
  815. package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.js +2 -2
  816. package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocuments.js.map +1 -1
  817. package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.d.ts +1 -1
  818. package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.js +2 -4
  819. package/dist/components/Employee/Documents/onboarding/EmployeeDocuments/EmployeeDocumentsPresentation.js.map +1 -1
  820. package/dist/components/Employee/Documents/shared/SignatureForm/SignatureForm.d.ts +1 -1
  821. package/dist/components/Employee/Documents/shared/SignatureForm/SignatureForm.js +12 -13
  822. package/dist/components/Employee/Documents/shared/SignatureForm/SignatureForm.js.map +1 -1
  823. package/dist/components/Employee/Documents/shared/index.d.ts +3 -0
  824. package/dist/components/Employee/Documents/shared/useDocumentsList/index.d.ts +3 -0
  825. package/dist/components/Employee/Documents/shared/useDocumentsList/useDocumentsList.d.ts +19 -0
  826. package/dist/components/Employee/Documents/shared/useDocumentsList/useDocumentsList.js +15 -0
  827. package/dist/components/Employee/Documents/shared/useDocumentsList/useDocumentsList.js.map +1 -0
  828. package/dist/components/Employee/Documents/shared/useSignEmployeeForm/fields.d.ts +39 -39
  829. package/dist/components/Employee/Documents/shared/useSignEmployeeForm/useSignEmployeeForm.d.ts +1 -1
  830. package/dist/components/Employee/Documents/shared/useSignEmployeeForm/useSignEmployeeForm.js +4 -4
  831. package/dist/components/Employee/Documents/shared/useSignEmployeeForm/useSignEmployeeForm.js.map +1 -1
  832. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeList.d.ts +1 -1
  833. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.d.ts +1 -1
  834. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js +35 -35
  835. package/dist/components/Employee/EmployeeList/management/ManagementEmployeeListView.js.map +1 -1
  836. package/dist/components/Employee/EmployeeList/onboarding/EmployeeList.d.ts +1 -1
  837. package/dist/components/Employee/EmployeeList/onboarding/EmployeeList.js.map +1 -1
  838. package/dist/components/Employee/EmployeeList/onboarding/EmployeeListView.d.ts +2 -2
  839. package/dist/components/Employee/EmployeeList/onboarding/EmployeeListView.js +40 -42
  840. package/dist/components/Employee/EmployeeList/onboarding/EmployeeListView.js.map +1 -1
  841. package/dist/components/Employee/EmployeeList/shared/useEmployeeList.d.ts +2 -2
  842. package/dist/components/Employee/EmployeeList/shared/useEmployeeList.js +3 -3
  843. package/dist/components/Employee/EmployeeList/shared/useEmployeeList.js.map +1 -1
  844. package/dist/components/Employee/EmployeeListFlow/EmployeeListFlow.d.ts +1 -1
  845. package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.d.ts +4 -4
  846. package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.js +13 -13
  847. package/dist/components/Employee/EmployeeListFlow/EmployeeListFlowComponents.js.map +1 -1
  848. package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.js +39 -37
  849. package/dist/components/Employee/EmployeeListFlow/employeeListStateMachine.js.map +1 -1
  850. package/dist/components/Employee/FederalTaxes/index.d.ts +3 -1
  851. package/dist/components/Employee/FederalTaxes/management/FederalTaxes.d.ts +5 -5
  852. package/dist/components/Employee/FederalTaxes/management/FederalTaxes.js +30 -61
  853. package/dist/components/Employee/FederalTaxes/management/FederalTaxes.js.map +1 -1
  854. package/dist/components/Employee/FederalTaxes/management/FederalTaxesCard/FederalTaxesCard.d.ts +14 -0
  855. package/dist/components/Employee/FederalTaxes/management/FederalTaxesCard/FederalTaxesCard.js +61 -0
  856. package/dist/components/Employee/FederalTaxes/management/FederalTaxesCard/FederalTaxesCard.js.map +1 -0
  857. package/dist/components/Employee/FederalTaxes/management/FederalTaxesCard/index.d.ts +3 -0
  858. package/dist/components/Employee/FederalTaxes/management/FederalTaxesComponents.d.ts +8 -0
  859. package/dist/components/Employee/FederalTaxes/management/FederalTaxesComponents.js +34 -0
  860. package/dist/components/Employee/FederalTaxes/management/FederalTaxesComponents.js.map +1 -0
  861. package/dist/components/Employee/FederalTaxes/management/FederalTaxesEditForm.d.ts +8 -0
  862. package/dist/components/Employee/FederalTaxes/management/FederalTaxesEditForm.js +67 -0
  863. package/dist/components/Employee/FederalTaxes/management/FederalTaxesEditForm.js.map +1 -0
  864. package/dist/components/Employee/FederalTaxes/management/federalTaxesStateMachine.d.ts +4 -0
  865. package/dist/components/Employee/FederalTaxes/management/federalTaxesStateMachine.js +51 -0
  866. package/dist/components/Employee/FederalTaxes/management/federalTaxesStateMachine.js.map +1 -0
  867. package/dist/components/Employee/FederalTaxes/management/index.d.ts +6 -1
  868. package/dist/components/Employee/FederalTaxes/management/useViewDictionary.d.ts +8 -0
  869. package/dist/components/Employee/FederalTaxes/management/useViewDictionary.js +38 -0
  870. package/dist/components/Employee/FederalTaxes/management/useViewDictionary.js.map +1 -0
  871. package/dist/components/Employee/FederalTaxes/onboarding/FederalTaxes.d.ts +1 -1
  872. package/dist/components/Employee/FederalTaxes/onboarding/FederalTaxes.js +23 -22
  873. package/dist/components/Employee/FederalTaxes/onboarding/FederalTaxes.js.map +1 -1
  874. package/dist/components/Employee/FederalTaxes/onboarding/useViewDictionary.d.ts +8 -0
  875. package/dist/components/Employee/FederalTaxes/onboarding/useViewDictionary.js +38 -0
  876. package/dist/components/Employee/FederalTaxes/onboarding/useViewDictionary.js.map +1 -0
  877. package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.d.ts +20 -1
  878. package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.js +29 -26
  879. package/dist/components/Employee/FederalTaxes/shared/FederalTaxesView.js.map +1 -1
  880. package/dist/components/Employee/FederalTaxes/shared/index.d.ts +2 -1
  881. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.js +1 -1
  882. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/federalTaxesSchema.js.map +1 -1
  883. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/fields.d.ts +6 -6
  884. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.d.ts +1 -1
  885. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.js +2 -2
  886. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesForm/useFederalTaxesForm.js.map +1 -1
  887. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesSummary/index.d.ts +3 -0
  888. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesSummary/useFederalTaxesSummary.d.ts +20 -0
  889. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesSummary/useFederalTaxesSummary.js +23 -0
  890. package/dist/components/Employee/FederalTaxes/shared/useFederalTaxesSummary/useFederalTaxesSummary.js.map +1 -0
  891. package/dist/components/Employee/HomeAddress/management/HomeAddress.d.ts +6 -4
  892. package/dist/components/Employee/HomeAddress/management/HomeAddress.js +29 -41
  893. package/dist/components/Employee/HomeAddress/management/HomeAddress.js.map +1 -1
  894. package/dist/components/Employee/HomeAddress/management/HomeAddressCard/HomeAddressCard.d.ts +14 -0
  895. package/dist/components/Employee/HomeAddress/management/HomeAddressCard/HomeAddressCard.js +39 -0
  896. package/dist/components/Employee/HomeAddress/management/HomeAddressCard/HomeAddressCard.js.map +1 -0
  897. package/dist/components/Employee/HomeAddress/management/HomeAddressCard/index.d.ts +3 -0
  898. package/dist/components/Employee/HomeAddress/management/HomeAddressComponents.d.ts +6 -0
  899. package/dist/components/Employee/HomeAddress/management/HomeAddressComponents.js +18 -0
  900. package/dist/components/Employee/HomeAddress/management/HomeAddressComponents.js.map +1 -0
  901. package/dist/components/Employee/HomeAddress/management/HomeAddressEditForm.d.ts +6 -0
  902. package/dist/components/Employee/HomeAddress/management/HomeAddressEditForm.js +51 -0
  903. package/dist/components/Employee/HomeAddress/management/HomeAddressEditForm.js.map +1 -0
  904. package/dist/components/Employee/HomeAddress/management/HomeAddressView.d.ts +2 -2
  905. package/dist/components/Employee/HomeAddress/management/HomeAddressView.js +289 -269
  906. package/dist/components/Employee/HomeAddress/management/HomeAddressView.js.map +1 -1
  907. package/dist/components/Employee/HomeAddress/management/getPendingFutureHomeAddress.d.ts +1 -1
  908. package/dist/components/Employee/HomeAddress/management/getPendingFutureHomeAddress.js.map +1 -1
  909. package/dist/components/Employee/HomeAddress/management/homeAddressStateMachine.d.ts +4 -0
  910. package/dist/components/Employee/HomeAddress/management/homeAddressStateMachine.js +33 -0
  911. package/dist/components/Employee/HomeAddress/management/homeAddressStateMachine.js.map +1 -0
  912. package/dist/components/Employee/HomeAddress/management/index.d.ts +7 -0
  913. package/dist/components/Employee/HomeAddress/management/useHomeAddressManagement.d.ts +1 -1
  914. package/dist/components/Employee/HomeAddress/management/useHomeAddressManagement.js +38 -38
  915. package/dist/components/Employee/HomeAddress/management/useHomeAddressManagement.js.map +1 -1
  916. package/dist/components/Employee/HomeAddress/shared/index.d.ts +3 -0
  917. package/dist/components/Employee/HomeAddress/shared/useHomeAddressSummary/index.d.ts +3 -0
  918. package/dist/components/Employee/HomeAddress/shared/useHomeAddressSummary/useHomeAddressSummary.d.ts +21 -0
  919. package/dist/components/Employee/HomeAddress/shared/useHomeAddressSummary/useHomeAddressSummary.js +23 -0
  920. package/dist/components/Employee/HomeAddress/shared/useHomeAddressSummary/useHomeAddressSummary.js.map +1 -0
  921. package/dist/components/Employee/Landing/Landing.d.ts +1 -1
  922. package/dist/components/Employee/Landing/Landing.js +16 -17
  923. package/dist/components/Employee/Landing/Landing.js.map +1 -1
  924. package/dist/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlow.d.ts +16 -0
  925. package/dist/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlow.js +49 -0
  926. package/dist/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlow.js.map +1 -0
  927. package/dist/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlowComponents.d.ts +24 -0
  928. package/dist/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlowComponents.js +24 -0
  929. package/dist/components/Employee/OnboardingExecutionFlow/OnboardingExecutionFlowComponents.js.map +1 -0
  930. package/dist/components/Employee/OnboardingExecutionFlow/index.d.ts +4 -0
  931. package/dist/components/Employee/OnboardingExecutionFlow/onboardingExecutionStateMachine.d.ts +14 -0
  932. package/dist/components/Employee/OnboardingExecutionFlow/onboardingExecutionStateMachine.js +98 -0
  933. package/dist/components/Employee/OnboardingExecutionFlow/onboardingExecutionStateMachine.js.map +1 -0
  934. package/dist/components/Employee/OnboardingFlow/OnboardingFlow.d.ts +1 -1
  935. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.d.ts +4 -25
  936. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js +33 -24
  937. package/dist/components/Employee/OnboardingFlow/OnboardingFlowComponents.js.map +1 -1
  938. package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.d.ts +1 -8
  939. package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js +34 -120
  940. package/dist/components/Employee/OnboardingFlow/onboardingStateMachine.js.map +1 -1
  941. package/dist/components/Employee/OnboardingSummary/OnboardingSummary.d.ts +2 -2
  942. package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js +8 -8
  943. package/dist/components/Employee/OnboardingSummary/OnboardingSummary.js.map +1 -1
  944. package/dist/components/Employee/PaymentMethod/management/PaymentMethod.d.ts +2 -2
  945. package/dist/components/Employee/PaymentMethod/management/PaymentMethod.js +31 -30
  946. package/dist/components/Employee/PaymentMethod/management/PaymentMethod.js.map +1 -1
  947. package/dist/components/Employee/PaymentMethod/management/PaymentMethodBankForm.d.ts +16 -0
  948. package/dist/components/Employee/PaymentMethod/management/PaymentMethodBankForm.js +29 -0
  949. package/dist/components/Employee/PaymentMethod/management/PaymentMethodBankForm.js.map +1 -0
  950. package/dist/components/Employee/PaymentMethod/management/PaymentMethodCard.d.ts +16 -0
  951. package/dist/components/Employee/PaymentMethod/management/PaymentMethodCard.js +151 -0
  952. package/dist/components/Employee/PaymentMethod/management/PaymentMethodCard.js.map +1 -0
  953. package/dist/components/Employee/PaymentMethod/management/PaymentMethodCard.module.scss.js +8 -0
  954. package/dist/components/Employee/PaymentMethod/management/PaymentMethodCard.module.scss.js.map +1 -0
  955. package/dist/components/Employee/PaymentMethod/management/PaymentMethodComponents.d.ts +5 -3
  956. package/dist/components/Employee/PaymentMethod/management/PaymentMethodComponents.js +30 -14
  957. package/dist/components/Employee/PaymentMethod/management/PaymentMethodComponents.js.map +1 -1
  958. package/dist/components/Employee/PaymentMethod/management/PaymentMethodSplitForm.d.ts +16 -0
  959. package/dist/components/Employee/PaymentMethod/management/PaymentMethodSplitForm.js +29 -0
  960. package/dist/components/Employee/PaymentMethod/management/PaymentMethodSplitForm.js.map +1 -0
  961. package/dist/components/Employee/PaymentMethod/management/index.d.ts +6 -1
  962. package/dist/components/Employee/PaymentMethod/management/paymentMethodStateMachine.js +56 -52
  963. package/dist/components/Employee/PaymentMethod/management/paymentMethodStateMachine.js.map +1 -1
  964. package/dist/components/Employee/PaymentMethod/management/useFormDictionary.d.ts +17 -0
  965. package/dist/components/Employee/PaymentMethod/management/useFormDictionary.js +60 -0
  966. package/dist/components/Employee/PaymentMethod/management/useFormDictionary.js.map +1 -0
  967. package/dist/components/Employee/PaymentMethod/onboarding/BankForm.d.ts +1 -1
  968. package/dist/components/Employee/PaymentMethod/onboarding/BankForm.js +21 -62
  969. package/dist/components/Employee/PaymentMethod/onboarding/BankForm.js.map +1 -1
  970. package/dist/components/Employee/PaymentMethod/onboarding/ListView.d.ts +1 -1
  971. package/dist/components/Employee/PaymentMethod/onboarding/ListView.js +58 -53
  972. package/dist/components/Employee/PaymentMethod/onboarding/ListView.js.map +1 -1
  973. package/dist/components/Employee/PaymentMethod/onboarding/PaymentMethod.d.ts +2 -2
  974. package/dist/components/Employee/PaymentMethod/onboarding/PaymentMethodComponents.d.ts +3 -3
  975. package/dist/components/Employee/PaymentMethod/onboarding/SplitView.d.ts +1 -1
  976. package/dist/components/Employee/PaymentMethod/onboarding/SplitView.js +19 -91
  977. package/dist/components/Employee/PaymentMethod/onboarding/SplitView.js.map +1 -1
  978. package/dist/components/Employee/PaymentMethod/onboarding/useFormDictionary.d.ts +18 -0
  979. package/dist/components/Employee/PaymentMethod/onboarding/useFormDictionary.js +60 -0
  980. package/dist/components/Employee/PaymentMethod/onboarding/useFormDictionary.js.map +1 -0
  981. package/dist/components/Employee/PaymentMethod/shared/BankFormBody/BankFormBody.d.ts +24 -0
  982. package/dist/components/Employee/PaymentMethod/shared/BankFormBody/BankFormBody.js +70 -0
  983. package/dist/components/Employee/PaymentMethod/shared/BankFormBody/BankFormBody.js.map +1 -0
  984. package/dist/components/Employee/PaymentMethod/shared/BankFormBody/index.d.ts +2 -0
  985. package/dist/components/Employee/PaymentMethod/shared/DeleteBankAccountDialog.d.ts +12 -2
  986. package/dist/components/Employee/PaymentMethod/shared/DeleteBankAccountDialog.js +18 -17
  987. package/dist/components/Employee/PaymentMethod/shared/DeleteBankAccountDialog.js.map +1 -1
  988. package/dist/components/Employee/PaymentMethod/shared/SplitPaymentsFormBody/SplitPaymentsFormBody.d.ts +23 -0
  989. package/dist/components/Employee/PaymentMethod/shared/SplitPaymentsFormBody/SplitPaymentsFormBody.js +105 -0
  990. package/dist/components/Employee/PaymentMethod/shared/SplitPaymentsFormBody/SplitPaymentsFormBody.js.map +1 -0
  991. package/dist/components/Employee/PaymentMethod/shared/SplitPaymentsFormBody/index.d.ts +2 -0
  992. package/dist/components/Employee/PaymentMethod/shared/index.d.ts +2 -0
  993. package/dist/components/Employee/PaymentMethod/shared/useBankForm/fields.d.ts +4 -4
  994. package/dist/components/Employee/PaymentMethod/shared/useBankForm/useBankForm.d.ts +1 -1
  995. package/dist/components/Employee/PaymentMethod/shared/useBankForm/useBankForm.js +1 -1
  996. package/dist/components/Employee/PaymentMethod/shared/useBankForm/useBankForm.js.map +1 -1
  997. package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodForm/fields.d.ts +1 -1
  998. package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodForm/usePaymentMethodForm.d.ts +1 -1
  999. package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodForm/usePaymentMethodForm.js +2 -2
  1000. package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodForm/usePaymentMethodForm.js.map +1 -1
  1001. package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodList.d.ts +2 -2
  1002. package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodList.js +4 -4
  1003. package/dist/components/Employee/PaymentMethod/shared/usePaymentMethodList.js.map +1 -1
  1004. package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/fields.d.ts +1 -1
  1005. package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/useSplitPaymentsForm.d.ts +2 -2
  1006. package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/useSplitPaymentsForm.js +3 -3
  1007. package/dist/components/Employee/PaymentMethod/shared/useSplitPaymentsForm/useSplitPaymentsForm.js.map +1 -1
  1008. package/dist/components/Employee/Paystubs/management/PaystubsCard/PaystubsCard.d.ts +16 -0
  1009. package/dist/components/Employee/Paystubs/management/PaystubsCard/PaystubsCard.js +153 -0
  1010. package/dist/components/Employee/Paystubs/management/PaystubsCard/PaystubsCard.js.map +1 -0
  1011. package/dist/components/Employee/Paystubs/management/PaystubsCard/index.d.ts +3 -0
  1012. package/dist/components/Employee/Paystubs/management/index.d.ts +3 -0
  1013. package/dist/components/Employee/Paystubs/shared/index.d.ts +3 -0
  1014. package/dist/components/Employee/Paystubs/shared/usePaystubsList/index.d.ts +3 -0
  1015. package/dist/components/Employee/Paystubs/shared/usePaystubsList/usePaystubsList.d.ts +33 -0
  1016. package/dist/components/Employee/Paystubs/shared/usePaystubsList/usePaystubsList.js +55 -0
  1017. package/dist/components/Employee/Paystubs/shared/usePaystubsList/usePaystubsList.js.map +1 -0
  1018. package/dist/components/Employee/Profile/management/Profile.d.ts +5 -3
  1019. package/dist/components/Employee/Profile/management/Profile.js +31 -113
  1020. package/dist/components/Employee/Profile/management/Profile.js.map +1 -1
  1021. package/dist/components/Employee/Profile/management/ProfileCard/ProfileCard.d.ts +15 -0
  1022. package/dist/components/Employee/Profile/management/ProfileCard/ProfileCard.js +50 -0
  1023. package/dist/components/Employee/Profile/management/ProfileCard/ProfileCard.js.map +1 -0
  1024. package/dist/components/Employee/Profile/management/ProfileCard/index.d.ts +3 -0
  1025. package/dist/components/Employee/Profile/management/ProfileComponents.d.ts +8 -0
  1026. package/dist/components/Employee/Profile/management/ProfileComponents.js +34 -0
  1027. package/dist/components/Employee/Profile/management/ProfileComponents.js.map +1 -0
  1028. package/dist/components/Employee/Profile/management/ProfileEditForm.d.ts +6 -0
  1029. package/dist/components/Employee/Profile/management/ProfileEditForm.js +129 -0
  1030. package/dist/components/Employee/Profile/management/ProfileEditForm.js.map +1 -0
  1031. package/dist/components/Employee/Profile/management/index.d.ts +7 -0
  1032. package/dist/components/Employee/Profile/management/profileStateMachine.d.ts +4 -0
  1033. package/dist/components/Employee/Profile/management/profileStateMachine.js +43 -0
  1034. package/dist/components/Employee/Profile/management/profileStateMachine.js.map +1 -0
  1035. package/dist/components/Employee/Profile/onboarding/AdminProfile.d.ts +1 -1
  1036. package/dist/components/Employee/Profile/onboarding/AdminProfile.js.map +1 -1
  1037. package/dist/components/Employee/Profile/onboarding/EmployeeProfile.d.ts +1 -1
  1038. package/dist/components/Employee/Profile/onboarding/EmployeeProfile.js +1 -1
  1039. package/dist/components/Employee/Profile/onboarding/EmployeeProfile.js.map +1 -1
  1040. package/dist/components/Employee/Profile/onboarding/Profile.d.ts +2 -2
  1041. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/fields.d.ts +7 -7
  1042. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.d.ts +1 -1
  1043. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.js +5 -5
  1044. package/dist/components/Employee/Profile/shared/useEmployeeDetailsForm/useEmployeeDetailsForm.js.map +1 -1
  1045. package/dist/components/Employee/Profile/shared/useEmployeeProfileSummary/index.d.ts +3 -0
  1046. package/dist/components/Employee/Profile/shared/useEmployeeProfileSummary/useEmployeeProfileSummary.d.ts +18 -0
  1047. package/dist/components/Employee/Profile/shared/useEmployeeProfileSummary/useEmployeeProfileSummary.js +20 -0
  1048. package/dist/components/Employee/Profile/shared/useEmployeeProfileSummary/useEmployeeProfileSummary.js.map +1 -0
  1049. package/dist/components/Employee/Profile/shared/useHomeAddressForm/fields.d.ts +7 -7
  1050. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useCurrentHomeAddressForm.js +1 -1
  1051. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useCurrentHomeAddressForm.js.map +1 -1
  1052. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.d.ts +1 -1
  1053. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js +4 -4
  1054. package/dist/components/Employee/Profile/shared/useHomeAddressForm/useHomeAddressForm.js.map +1 -1
  1055. package/dist/components/Employee/Profile/shared/useWorkAddressForm/fields.d.ts +3 -3
  1056. package/dist/components/Employee/Profile/shared/useWorkAddressForm/fields.js.map +1 -1
  1057. package/dist/components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.js +1 -1
  1058. package/dist/components/Employee/Profile/shared/useWorkAddressForm/useCurrentWorkAddressForm.js.map +1 -1
  1059. package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.d.ts +2 -2
  1060. package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.js +5 -5
  1061. package/dist/components/Employee/Profile/shared/useWorkAddressForm/useWorkAddressForm.js.map +1 -1
  1062. package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.d.ts +8 -8
  1063. package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingComponents.js.map +1 -1
  1064. package/dist/components/Employee/SelfOnboardingFlow/SelfOnboardingFlow.d.ts +1 -1
  1065. package/dist/components/Employee/StateTaxes/index.d.ts +1 -1
  1066. package/dist/components/Employee/StateTaxes/management/StateTaxes.d.ts +6 -4
  1067. package/dist/components/Employee/StateTaxes/management/StateTaxes.js +30 -50
  1068. package/dist/components/Employee/StateTaxes/management/StateTaxes.js.map +1 -1
  1069. package/dist/components/Employee/StateTaxes/management/StateTaxesCard/StateTaxesCard.d.ts +15 -0
  1070. package/dist/components/Employee/StateTaxes/management/StateTaxesCard/StateTaxesCard.js +66 -0
  1071. package/dist/components/Employee/StateTaxes/management/StateTaxesCard/StateTaxesCard.js.map +1 -0
  1072. package/dist/components/Employee/StateTaxes/management/StateTaxesCard/index.d.ts +3 -0
  1073. package/dist/components/Employee/StateTaxes/management/StateTaxesComponents.d.ts +8 -0
  1074. package/dist/components/Employee/StateTaxes/management/StateTaxesComponents.js +34 -0
  1075. package/dist/components/Employee/StateTaxes/management/StateTaxesComponents.js.map +1 -0
  1076. package/dist/components/Employee/StateTaxes/management/StateTaxesEditForm.d.ts +17 -0
  1077. package/dist/components/Employee/StateTaxes/management/StateTaxesEditForm.js +60 -0
  1078. package/dist/components/Employee/StateTaxes/management/StateTaxesEditForm.js.map +1 -0
  1079. package/dist/components/Employee/StateTaxes/management/index.d.ts +6 -1
  1080. package/dist/components/Employee/StateTaxes/management/stateTaxesStateMachine.d.ts +4 -0
  1081. package/dist/components/Employee/StateTaxes/management/stateTaxesStateMachine.js +51 -0
  1082. package/dist/components/Employee/StateTaxes/management/stateTaxesStateMachine.js.map +1 -0
  1083. package/dist/components/Employee/StateTaxes/management/useViewDictionary.d.ts +8 -0
  1084. package/dist/components/Employee/StateTaxes/management/useViewDictionary.js +21 -0
  1085. package/dist/components/Employee/StateTaxes/management/useViewDictionary.js.map +1 -0
  1086. package/dist/components/Employee/StateTaxes/onboarding/StateTaxes.d.ts +1 -1
  1087. package/dist/components/Employee/StateTaxes/onboarding/StateTaxes.js +25 -24
  1088. package/dist/components/Employee/StateTaxes/onboarding/StateTaxes.js.map +1 -1
  1089. package/dist/components/Employee/StateTaxes/onboarding/useViewDictionary.d.ts +8 -0
  1090. package/dist/components/Employee/StateTaxes/onboarding/useViewDictionary.js +21 -0
  1091. package/dist/components/Employee/StateTaxes/onboarding/useViewDictionary.js.map +1 -0
  1092. package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.d.ts +20 -1
  1093. package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.js +22 -19
  1094. package/dist/components/Employee/StateTaxes/shared/EmployeeStateTaxesView.js.map +1 -1
  1095. package/dist/components/Employee/StateTaxes/shared/index.d.ts +2 -1
  1096. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/stateTaxesFixtures.d.ts +1 -1
  1097. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/__fixtures__/toWireFormat.d.ts +1 -1
  1098. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/employeeStateTaxesSchema.d.ts +2 -2
  1099. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/employeeStateTaxesSchema.js.map +1 -1
  1100. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.d.ts +6 -6
  1101. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.js +1 -1
  1102. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldComponents.js.map +1 -1
  1103. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldMapping.d.ts +1 -1
  1104. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fieldMapping.js.map +1 -1
  1105. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.d.ts +1 -1
  1106. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/fields.js.map +1 -1
  1107. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.d.ts +1 -1
  1108. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.js +2 -2
  1109. package/dist/components/Employee/StateTaxes/shared/useEmployeeStateTaxesForm/useEmployeeStateTaxesForm.js.map +1 -1
  1110. package/dist/components/Employee/StateTaxes/shared/useStateTaxesSummary/index.d.ts +3 -0
  1111. package/dist/components/Employee/StateTaxes/shared/useStateTaxesSummary/useStateTaxesSummary.d.ts +20 -0
  1112. package/dist/components/Employee/StateTaxes/shared/useStateTaxesSummary/useStateTaxesSummary.js +23 -0
  1113. package/dist/components/Employee/StateTaxes/shared/useStateTaxesSummary/useStateTaxesSummary.js.map +1 -0
  1114. package/dist/components/Employee/Taxes/Actions.d.ts +1 -1
  1115. package/dist/components/Employee/Taxes/Actions.js +8 -10
  1116. package/dist/components/Employee/Taxes/Actions.js.map +1 -1
  1117. package/dist/components/Employee/Taxes/FederalForm.d.ts +1 -1
  1118. package/dist/components/Employee/Taxes/FederalForm.js +5 -7
  1119. package/dist/components/Employee/Taxes/FederalForm.js.map +1 -1
  1120. package/dist/components/Employee/Taxes/FederalHead.d.ts +1 -1
  1121. package/dist/components/Employee/Taxes/FederalHead.js +2 -4
  1122. package/dist/components/Employee/Taxes/FederalHead.js.map +1 -1
  1123. package/dist/components/Employee/Taxes/StateForm.d.ts +1 -1
  1124. package/dist/components/Employee/Taxes/StateForm.js +8 -10
  1125. package/dist/components/Employee/Taxes/StateForm.js.map +1 -1
  1126. package/dist/components/Employee/Taxes/Taxes.d.ts +2 -2
  1127. package/dist/components/Employee/Taxes/Taxes.js +7 -8
  1128. package/dist/components/Employee/Taxes/Taxes.js.map +1 -1
  1129. package/dist/components/Employee/Taxes/useTaxes.d.ts +1 -1
  1130. package/dist/components/Employee/Taxes/useTaxes.js +9 -11
  1131. package/dist/components/Employee/Taxes/useTaxes.js.map +1 -1
  1132. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.d.ts +1 -1
  1133. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js +9 -9
  1134. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployee.js.map +1 -1
  1135. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.d.ts +2 -2
  1136. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js +2 -4
  1137. package/dist/components/Employee/Terminations/TerminateEmployee/TerminateEmployeePresentation.js.map +1 -1
  1138. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlow.d.ts +1 -1
  1139. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.d.ts +4 -4
  1140. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js +12 -13
  1141. package/dist/components/Employee/Terminations/TerminationFlow/TerminationFlowComponents.js.map +1 -1
  1142. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.d.ts +1 -1
  1143. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js +4 -4
  1144. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummary.js.map +1 -1
  1145. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.d.ts +1 -1
  1146. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js +2 -4
  1147. package/dist/components/Employee/Terminations/TerminationSummary/TerminationSummaryPresentation.js.map +1 -1
  1148. package/dist/components/Employee/Terminations/TerminationsData.d.ts +1 -1
  1149. package/dist/components/Employee/WorkAddress/management/WorkAddress.d.ts +6 -4
  1150. package/dist/components/Employee/WorkAddress/management/WorkAddress.js +30 -42
  1151. package/dist/components/Employee/WorkAddress/management/WorkAddress.js.map +1 -1
  1152. package/dist/components/Employee/WorkAddress/management/WorkAddressCard/WorkAddressCard.d.ts +15 -0
  1153. package/dist/components/Employee/WorkAddress/management/WorkAddressCard/WorkAddressCard.js +47 -0
  1154. package/dist/components/Employee/WorkAddress/management/WorkAddressCard/WorkAddressCard.js.map +1 -0
  1155. package/dist/components/Employee/WorkAddress/management/WorkAddressCard/index.d.ts +3 -0
  1156. package/dist/components/Employee/WorkAddress/management/WorkAddressComponents.d.ts +6 -0
  1157. package/dist/components/Employee/WorkAddress/management/WorkAddressComponents.js +18 -0
  1158. package/dist/components/Employee/WorkAddress/management/WorkAddressComponents.js.map +1 -0
  1159. package/dist/components/Employee/WorkAddress/management/WorkAddressEditForm.d.ts +6 -0
  1160. package/dist/components/Employee/WorkAddress/management/WorkAddressEditForm.js +51 -0
  1161. package/dist/components/Employee/WorkAddress/management/WorkAddressEditForm.js.map +1 -0
  1162. package/dist/components/Employee/WorkAddress/management/WorkAddressView.d.ts +2 -2
  1163. package/dist/components/Employee/WorkAddress/management/WorkAddressView.js +1 -1
  1164. package/dist/components/Employee/WorkAddress/management/WorkAddressView.js.map +1 -1
  1165. package/dist/components/Employee/WorkAddress/management/getPendingFutureWorkAddress.d.ts +2 -2
  1166. package/dist/components/Employee/WorkAddress/management/getPendingFutureWorkAddress.js.map +1 -1
  1167. package/dist/components/Employee/WorkAddress/management/index.d.ts +7 -0
  1168. package/dist/components/Employee/WorkAddress/management/useWorkAddressManagement.d.ts +1 -1
  1169. package/dist/components/Employee/WorkAddress/management/useWorkAddressManagement.js +27 -27
  1170. package/dist/components/Employee/WorkAddress/management/useWorkAddressManagement.js.map +1 -1
  1171. package/dist/components/Employee/WorkAddress/management/workAddressStateMachine.d.ts +4 -0
  1172. package/dist/components/Employee/WorkAddress/management/workAddressStateMachine.js +36 -0
  1173. package/dist/components/Employee/WorkAddress/management/workAddressStateMachine.js.map +1 -0
  1174. package/dist/components/Employee/WorkAddress/shared/index.d.ts +3 -0
  1175. package/dist/components/Employee/WorkAddress/shared/useEmployeeWorkAddressSummary/index.d.ts +3 -0
  1176. package/dist/components/Employee/WorkAddress/shared/useEmployeeWorkAddressSummary/useEmployeeWorkAddressSummary.d.ts +18 -0
  1177. package/dist/components/Employee/WorkAddress/shared/useEmployeeWorkAddressSummary/useEmployeeWorkAddressSummary.js +23 -0
  1178. package/dist/components/Employee/WorkAddress/shared/useEmployeeWorkAddressSummary/useEmployeeWorkAddressSummary.js.map +1 -0
  1179. package/dist/components/Employee/exports/employeeManagement.d.ts +19 -9
  1180. package/dist/components/Employee/exports/employeeManagement.js +74 -26
  1181. package/dist/components/Employee/exports/employeeManagement.js.map +1 -1
  1182. package/dist/components/Employee/exports/employeeOnboarding.d.ts +2 -0
  1183. package/dist/components/Employee/exports/employeeOnboarding.js +19 -15
  1184. package/dist/components/Employee/exports/employeeOnboarding.js.map +1 -1
  1185. package/dist/components/Employee/index.d.ts +3 -2
  1186. package/dist/components/Employee/index.js +36 -34
  1187. package/dist/components/Employee/index.js.map +1 -1
  1188. package/dist/components/Flow/Flow.d.ts +18 -1
  1189. package/dist/components/Flow/Flow.js.map +1 -1
  1190. package/dist/components/Flow/FlowHeader.d.ts +16 -12
  1191. package/dist/components/Flow/FlowHeader.js +3 -4
  1192. package/dist/components/Flow/FlowHeader.js.map +1 -1
  1193. package/dist/components/Flow/useFlow.d.ts +46 -13
  1194. package/dist/components/Flow/useFlow.js.map +1 -1
  1195. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.d.ts +2 -2
  1196. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js +29 -30
  1197. package/dist/components/InformationRequests/InformationRequestForm/InformationRequestForm.js.map +1 -1
  1198. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.d.ts +1 -1
  1199. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js +13 -14
  1200. package/dist/components/InformationRequests/InformationRequestList/InformationRequestList.js.map +1 -1
  1201. package/dist/components/InformationRequests/InformationRequests.d.ts +1 -1
  1202. package/dist/components/InformationRequests/InformationRequests.js +3 -4
  1203. package/dist/components/InformationRequests/InformationRequests.js.map +1 -1
  1204. package/dist/components/InformationRequests/InformationRequestsComponents.d.ts +2 -2
  1205. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.d.ts +1 -1
  1206. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js +1 -1
  1207. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetails.js.map +1 -1
  1208. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.d.ts +1 -1
  1209. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js +2 -2
  1210. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsBanner/ConfirmWireDetailsBanner.js.map +1 -1
  1211. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsComponents.d.ts +4 -4
  1212. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.d.ts +2 -2
  1213. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js +3 -4
  1214. package/dist/components/Payroll/ConfirmWireDetails/ConfirmWireDetailsForm/ConfirmWireDetailsForm.js.map +1 -1
  1215. package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.d.ts +3 -3
  1216. package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.js +2 -2
  1217. package/dist/components/Payroll/ConfirmWireDetails/WireInstructions/WireInstructions.js.map +1 -1
  1218. package/dist/components/Payroll/Dismissal/DismissalFlow.d.ts +1 -1
  1219. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.d.ts +2 -2
  1220. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js +1 -1
  1221. package/dist/components/Payroll/Dismissal/DismissalFlowComponents.js.map +1 -1
  1222. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.d.ts +1 -1
  1223. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js +4 -4
  1224. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelection.js.map +1 -1
  1225. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.d.ts +1 -1
  1226. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js +8 -10
  1227. package/dist/components/Payroll/Dismissal/DismissalPayPeriodSelection/DismissalPayPeriodSelectionPresentation.js.map +1 -1
  1228. package/dist/components/Payroll/GrossUpModal/GrossUpModal.d.ts +1 -1
  1229. package/dist/components/Payroll/GrossUpModal/GrossUpModal.js +7 -7
  1230. package/dist/components/Payroll/OffCycle/OffCycleFlow.d.ts +1 -1
  1231. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.d.ts +2 -2
  1232. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js +1 -1
  1233. package/dist/components/Payroll/OffCycle/OffCycleFlowComponents.js.map +1 -1
  1234. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.d.ts +1 -1
  1235. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js +4 -4
  1236. package/dist/components/Payroll/OffCycleCreation/OffCycleCreation.js.map +1 -1
  1237. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.d.ts +1 -1
  1238. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js +18 -20
  1239. package/dist/components/Payroll/OffCycleCreation/OffCycleCreationPresentation.js.map +1 -1
  1240. package/dist/components/Payroll/OffCycleDeductionsSetting/OffCycleDeductionsSetting.d.ts +1 -1
  1241. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.d.ts +1 -1
  1242. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js +10 -12
  1243. package/dist/components/Payroll/OffCyclePayPeriodDateForm/OffCyclePayPeriodDateFormPresentation.js.map +1 -1
  1244. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelection.d.ts +1 -1
  1245. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.d.ts +1 -1
  1246. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js +6 -8
  1247. package/dist/components/Payroll/OffCycleReasonSelection/OffCycleReasonSelectionPresentation.js.map +1 -1
  1248. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.d.ts +1 -1
  1249. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js +3 -5
  1250. package/dist/components/Payroll/OffCycleTaxWithholdingModal/OffCycleTaxWithholdingModal.js.map +1 -1
  1251. package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTable.d.ts +1 -1
  1252. package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.d.ts +1 -1
  1253. package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.js +1 -1
  1254. package/dist/components/Payroll/OffCycleTaxWithholdingTable/OffCycleTaxWithholdingTableTypes.js.map +1 -1
  1255. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.d.ts +1 -1
  1256. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js +11 -13
  1257. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerAlerts.js.map +1 -1
  1258. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.d.ts +1 -1
  1259. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js +16 -16
  1260. package/dist/components/Payroll/PayrollBlocker/components/PayrollBlockerList.js.map +1 -1
  1261. package/dist/components/Payroll/PayrollBlocker/payrollHelpers.d.ts +2 -2
  1262. package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js +2 -2
  1263. package/dist/components/Payroll/PayrollBlocker/payrollHelpers.js.map +1 -1
  1264. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.d.ts +2 -2
  1265. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js +7 -7
  1266. package/dist/components/Payroll/PayrollConfiguration/PayrollConfiguration.js.map +1 -1
  1267. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.d.ts +6 -6
  1268. package/dist/components/Payroll/PayrollConfiguration/PayrollConfigurationPresentation.js.map +1 -1
  1269. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.d.ts +4 -4
  1270. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js +5 -5
  1271. package/dist/components/Payroll/PayrollConfiguration/usePayrollConfigurationData.js.map +1 -1
  1272. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.d.ts +2 -2
  1273. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js +63 -57
  1274. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployee.js.map +1 -1
  1275. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.d.ts +11 -5
  1276. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js +360 -220
  1277. package/dist/components/Payroll/PayrollEditEmployee/PayrollEditEmployeePresentation.js.map +1 -1
  1278. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.d.ts +5 -5
  1279. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js +16 -18
  1280. package/dist/components/Payroll/PayrollEditEmployee/TimeOffField.js.map +1 -1
  1281. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.d.ts +2 -2
  1282. package/dist/components/Payroll/PayrollExecutionFlow/PayrollExecutionFlow.js.map +1 -1
  1283. package/dist/components/Payroll/PayrollExecutionFlow/payrollExecutionMachine.js.map +1 -1
  1284. package/dist/components/Payroll/PayrollFlow/OffCycleFlowContextual.d.ts +1 -1
  1285. package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.d.ts +1 -1
  1286. package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js +1 -1
  1287. package/dist/components/Payroll/PayrollFlow/PayrollExecutionFlowContextual.js.map +1 -1
  1288. package/dist/components/Payroll/PayrollFlow/PayrollFlow.d.ts +1 -1
  1289. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.d.ts +8 -8
  1290. package/dist/components/Payroll/PayrollFlow/PayrollFlowComponents.js.map +1 -1
  1291. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.d.ts +1 -1
  1292. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js +2 -2
  1293. package/dist/components/Payroll/PayrollFlow/TransitionFlowContextual.js.map +1 -1
  1294. package/dist/components/Payroll/PayrollFlow/payrollStateMachine.js.map +1 -1
  1295. package/dist/components/Payroll/PayrollHistory/PayrollHistory.d.ts +2 -2
  1296. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js +4 -4
  1297. package/dist/components/Payroll/PayrollHistory/PayrollHistory.js.map +1 -1
  1298. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.d.ts +3 -3
  1299. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js +2 -4
  1300. package/dist/components/Payroll/PayrollHistory/PayrollHistoryPresentation.js.map +1 -1
  1301. package/dist/components/Payroll/PayrollLanding/PayrollLanding.d.ts +2 -2
  1302. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.d.ts +3 -3
  1303. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js +2 -2
  1304. package/dist/components/Payroll/PayrollLanding/PayrollLandingFlowComponents.js.map +1 -1
  1305. package/dist/components/Payroll/PayrollList/PayrollList.d.ts +17 -1
  1306. package/dist/components/Payroll/PayrollList/PayrollList.js +39 -37
  1307. package/dist/components/Payroll/PayrollList/PayrollList.js.map +1 -1
  1308. package/dist/components/Payroll/PayrollList/PayrollListPresentation.d.ts +5 -4
  1309. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js +113 -112
  1310. package/dist/components/Payroll/PayrollList/PayrollListPresentation.js.map +1 -1
  1311. package/dist/components/Payroll/PayrollOverview/PayrollOverview.d.ts +2 -2
  1312. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js +36 -37
  1313. package/dist/components/Payroll/PayrollOverview/PayrollOverview.js.map +1 -1
  1314. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.d.ts +6 -6
  1315. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js +113 -117
  1316. package/dist/components/Payroll/PayrollOverview/PayrollOverviewPresentation.js.map +1 -1
  1317. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.d.ts +3 -3
  1318. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js +2 -4
  1319. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/FastAchSubmissionBlockerBanner.js.map +1 -1
  1320. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.d.ts +2 -2
  1321. package/dist/components/Payroll/PayrollOverview/SubmissionBlockers/GenericBlocker.js.map +1 -1
  1322. package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.d.ts +2 -2
  1323. package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js +1 -1
  1324. package/dist/components/Payroll/PayrollReceipts/PayrollReceipts.js.map +1 -1
  1325. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.d.ts +2 -2
  1326. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js +2 -3
  1327. package/dist/components/Payroll/PayrollReceipts/PayrollReceiptsPresentation.js.map +1 -1
  1328. package/dist/components/Payroll/PayrollStatusBadges/PayrollStatusBadges.d.ts +1 -1
  1329. package/dist/components/Payroll/PayrollStatusBadges/payrollStatusConfig.d.ts +1 -1
  1330. package/dist/components/Payroll/PayrollStatusBadges/payrollStatusConfig.js +2 -2
  1331. package/dist/components/Payroll/PayrollStatusBadges/payrollStatusConfig.js.map +1 -1
  1332. package/dist/components/Payroll/RecoveryCases/RecoveryCases.d.ts +1 -1
  1333. package/dist/components/Payroll/RecoveryCases/RecoveryCasesComponents.d.ts +2 -2
  1334. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.d.ts +1 -1
  1335. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js +7 -8
  1336. package/dist/components/Payroll/RecoveryCases/RecoveryCasesList/RecoveryCasesList.js.map +1 -1
  1337. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.d.ts +2 -2
  1338. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js +8 -9
  1339. package/dist/components/Payroll/RecoveryCases/RecoveryCasesResubmit/RecoveryCasesResubmit.js.map +1 -1
  1340. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js +2 -4
  1341. package/dist/components/Payroll/RecoveryCases/useRecoveryCaseErrorCode.js.map +1 -1
  1342. package/dist/components/Payroll/Transition/TransitionFlow.d.ts +1 -1
  1343. package/dist/components/Payroll/Transition/TransitionFlowComponents.d.ts +2 -2
  1344. package/dist/components/Payroll/Transition/TransitionFlowComponents.js +1 -1
  1345. package/dist/components/Payroll/Transition/TransitionFlowComponents.js.map +1 -1
  1346. package/dist/components/Payroll/TransitionCreation/TransitionCreation.d.ts +1 -1
  1347. package/dist/components/Payroll/TransitionCreation/TransitionCreation.js +4 -4
  1348. package/dist/components/Payroll/TransitionCreation/TransitionCreation.js.map +1 -1
  1349. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.d.ts +1 -1
  1350. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js +2 -4
  1351. package/dist/components/Payroll/TransitionCreation/TransitionCreationPresentation.js.map +1 -1
  1352. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.d.ts +1 -1
  1353. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js +55 -67
  1354. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlert.js.map +1 -1
  1355. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.d.ts +2 -2
  1356. package/dist/components/Payroll/TransitionPayrollAlert/TransitionPayrollAlertPresentation.js.map +1 -1
  1357. package/dist/components/Payroll/helpers.d.ts +25 -8
  1358. package/dist/components/Payroll/helpers.js +92 -81
  1359. package/dist/components/Payroll/helpers.js.map +1 -1
  1360. package/dist/components/Payroll/payrollTypes.js +1 -1
  1361. package/dist/components/Payroll/payrollTypes.js.map +1 -1
  1362. package/dist/components/Payroll/usePreparedPayrollData.d.ts +3 -3
  1363. package/dist/components/Payroll/usePreparedPayrollData.js +16 -18
  1364. package/dist/components/Payroll/usePreparedPayrollData.js.map +1 -1
  1365. package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.d.ts +7 -0
  1366. package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.js +26 -0
  1367. package/dist/components/Payroll/useUnprocessedTransitionPayPeriods.js.map +1 -0
  1368. package/dist/components/TimeOff/AddEmployeesHoliday/AddEmployeesHoliday.d.ts +1 -1
  1369. package/dist/components/TimeOff/AddEmployeesToPolicy/AddEmployeesToPolicy.d.ts +1 -1
  1370. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.d.ts +1 -1
  1371. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.js +3 -3
  1372. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetail.js.map +1 -1
  1373. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.d.ts +1 -1
  1374. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js +2 -4
  1375. package/dist/components/TimeOff/HolidayPolicyDetail/HolidayPolicyDetailPresentation.js.map +1 -1
  1376. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.d.ts +1 -1
  1377. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.js +3 -3
  1378. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionForm.js.map +1 -1
  1379. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.d.ts +1 -1
  1380. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js +14 -16
  1381. package/dist/components/TimeOff/HolidaySelectionForm/HolidaySelectionFormPresentation.js.map +1 -1
  1382. package/dist/components/TimeOff/PolicyList/PolicyList.d.ts +1 -1
  1383. package/dist/components/TimeOff/PolicyList/PolicyList.js +6 -6
  1384. package/dist/components/TimeOff/PolicyList/PolicyList.js.map +1 -1
  1385. package/dist/components/TimeOff/PolicyList/PolicyListPresentation.d.ts +1 -1
  1386. package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js +8 -10
  1387. package/dist/components/TimeOff/PolicyList/PolicyListPresentation.js.map +1 -1
  1388. package/dist/components/TimeOff/PolicySettings/PolicySettings.d.ts +1 -1
  1389. package/dist/components/TimeOff/PolicySettings/PolicySettings.js +8 -8
  1390. package/dist/components/TimeOff/PolicySettings/PolicySettings.js.map +1 -1
  1391. package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.d.ts +1 -1
  1392. package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js +45 -47
  1393. package/dist/components/TimeOff/PolicySettings/PolicySettingsPresentation.js.map +1 -1
  1394. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.d.ts +1 -1
  1395. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.js +1 -1
  1396. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelector.js.map +1 -1
  1397. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.d.ts +1 -1
  1398. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js +2 -4
  1399. package/dist/components/TimeOff/PolicyTypeSelector/PolicyTypeSelectorPresentation.js.map +1 -1
  1400. package/dist/components/TimeOff/TimeOffFlow/TimeOffFlow.d.ts +1 -1
  1401. package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.d.ts +12 -12
  1402. package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.js +33 -35
  1403. package/dist/components/TimeOff/TimeOffFlow/TimeOffFlowComponents.js.map +1 -1
  1404. package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.d.ts +1 -1
  1405. package/dist/components/TimeOff/TimeOffFlow/timeOffPolicyTypes.js.map +1 -1
  1406. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.d.ts +1 -1
  1407. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js +4 -4
  1408. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationForm.js.map +1 -1
  1409. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.d.ts +1 -1
  1410. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js +2 -4
  1411. package/dist/components/TimeOff/TimeOffManagement/PolicyConfigurationForm/PolicyConfigurationFormPresentation.js.map +1 -1
  1412. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.d.ts +1 -1
  1413. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js +2 -2
  1414. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesHoliday.js.map +1 -1
  1415. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.d.ts +1 -1
  1416. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js +13 -15
  1417. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentation.js.map +1 -1
  1418. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesPresentationTypes.d.ts +1 -1
  1419. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.d.ts +1 -1
  1420. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js +13 -13
  1421. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/SelectEmployeesTimeOff.js.map +1 -1
  1422. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js +3 -3
  1423. package/dist/components/TimeOff/TimeOffManagement/SelectEmployees/useSelectEmployeesData.js.map +1 -1
  1424. package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.d.ts +1 -1
  1425. package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js +5 -7
  1426. package/dist/components/TimeOff/TimeOffPolicyDetail/EditEmployeeBalanceModal.js.map +1 -1
  1427. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.d.ts +1 -1
  1428. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js +28 -28
  1429. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetail.js.map +1 -1
  1430. package/dist/components/TimeOff/TimeOffPolicyDetail/TimeOffPolicyDetailPresentation.d.ts +1 -1
  1431. package/dist/components/TimeOff/ViewHolidayEmployees/ViewHolidayEmployees.d.ts +1 -1
  1432. package/dist/components/TimeOff/ViewHolidayPolicyDetails/ViewHolidayPolicyDetails.d.ts +1 -1
  1433. package/dist/components/TimeOff/ViewHolidaySchedule/ViewHolidaySchedule.d.ts +1 -1
  1434. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.d.ts +1 -1
  1435. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js +8 -10
  1436. package/dist/components/TimeOff/shared/EmployeeTable/EmployeeTable.js.map +1 -1
  1437. package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.d.ts +1 -1
  1438. package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js +28 -30
  1439. package/dist/components/TimeOff/shared/PolicyDetailLayout/PolicyDetailLayout.js.map +1 -1
  1440. package/dist/contexts/ApiProvider/ApiProvider.d.ts +29 -1
  1441. package/dist/contexts/ApiProvider/ApiProvider.js +3 -3
  1442. package/dist/contexts/ApiProvider/ApiProvider.js.map +1 -1
  1443. package/dist/contexts/ApiProvider/apiVersionHook.d.ts +1 -0
  1444. package/dist/contexts/ApiProvider/apiVersionHook.js +1 -1
  1445. package/dist/contexts/ApiProvider/apiVersionHook.js.map +1 -1
  1446. package/dist/contexts/ApiProvider/createSdkQueryClient.d.ts +9 -9
  1447. package/dist/contexts/ApiProvider/createSdkQueryClient.js +2 -2
  1448. package/dist/contexts/ApiProvider/createSdkQueryClient.js.map +1 -1
  1449. package/dist/contexts/ComponentAdapter/ComponentsProvider.d.ts +3 -1
  1450. package/dist/contexts/ComponentAdapter/ComponentsProvider.js.map +1 -1
  1451. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.d.ts +1 -0
  1452. package/dist/contexts/ComponentAdapter/adapters/defaultComponentAdapter.js.map +1 -1
  1453. package/dist/contexts/ComponentAdapter/componentAdapterTypes.d.ts +2 -0
  1454. package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.d.ts +3 -0
  1455. package/dist/contexts/ComponentAdapter/createComponentsWithDefaults.js.map +1 -1
  1456. package/dist/contexts/ComponentAdapter/useComponentContext.d.ts +114 -18
  1457. package/dist/contexts/ComponentAdapter/useComponentContext.js.map +1 -1
  1458. package/dist/contexts/GustoProvider/GustoProvider.d.ts +34 -1
  1459. package/dist/contexts/GustoProvider/GustoProvider.js.map +1 -1
  1460. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.d.ts +42 -2
  1461. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js +10 -12
  1462. package/dist/contexts/GustoProvider/GustoProviderCustomUIAdapter.js.map +1 -1
  1463. package/dist/contexts/GustoProvider/SDKI18next.d.ts +1 -1
  1464. package/dist/contexts/GustoProvider/SDKI18next.js.map +1 -1
  1465. package/dist/contexts/GustoProvider/index.d.ts +0 -2
  1466. package/dist/contexts/LoadingIndicatorProvider/LoadingIndicatorProvider.d.ts +13 -1
  1467. package/dist/contexts/LoadingIndicatorProvider/LoadingIndicatorProvider.js.map +1 -1
  1468. package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.d.ts +18 -2
  1469. package/dist/contexts/LoadingIndicatorProvider/useLoadingIndicator.js.map +1 -1
  1470. package/dist/contexts/LocaleProvider/LocaleProvider.d.ts +17 -1
  1471. package/dist/contexts/LocaleProvider/LocaleProvider.js.map +1 -1
  1472. package/dist/contexts/LocaleProvider/index.d.ts +1 -1
  1473. package/dist/contexts/LocaleProvider/useLocale.d.ts +39 -0
  1474. package/dist/contexts/LocaleProvider/useLocale.js.map +1 -1
  1475. package/dist/contexts/ObservabilityProvider/ObservabilityContext.d.ts +11 -0
  1476. package/dist/contexts/ObservabilityProvider/ObservabilityContext.js.map +1 -1
  1477. package/dist/contexts/ObservabilityProvider/ObservabilityProvider.d.ts +18 -1
  1478. package/dist/contexts/ObservabilityProvider/ObservabilityProvider.js.map +1 -1
  1479. package/dist/contexts/ObservabilityProvider/index.d.ts +1 -1
  1480. package/dist/contexts/ObservabilityProvider/sanitization.d.ts +49 -0
  1481. package/dist/contexts/ObservabilityProvider/sanitization.js.map +1 -1
  1482. package/dist/contexts/ObservabilityProvider/useObservability.d.ts +14 -0
  1483. package/dist/contexts/ObservabilityProvider/useObservability.js.map +1 -1
  1484. package/dist/contexts/ObservabilityProvider/useSanitizedObservability.d.ts +14 -0
  1485. package/dist/contexts/ObservabilityProvider/useSanitizedObservability.js.map +1 -1
  1486. package/dist/contexts/ThemeProvider/ThemeProvider.d.ts +5 -1
  1487. package/dist/contexts/ThemeProvider/ThemeProvider.js.map +1 -1
  1488. package/dist/contexts/ThemeProvider/customRender.d.ts +1 -0
  1489. package/dist/contexts/ThemeProvider/index.d.ts +0 -1
  1490. package/dist/contexts/ThemeProvider/test-utils.d.ts +1 -1
  1491. package/dist/contexts/ThemeProvider/theme.d.ts +7 -101
  1492. package/dist/contexts/ThemeProvider/theme.js +58 -64
  1493. package/dist/contexts/ThemeProvider/theme.js.map +1 -1
  1494. package/dist/contexts/ThemeProvider/types.d.ts +181 -0
  1495. package/dist/contexts/ThemeProvider/useTheme.d.ts +4 -0
  1496. package/dist/contexts/ThemeProvider/useTheme.js.map +1 -1
  1497. package/dist/contexts/index.d.ts +2 -1
  1498. package/dist/helpers/LRUCache.d.ts +9 -0
  1499. package/dist/helpers/LRUCache.js.map +1 -1
  1500. package/dist/helpers/apiErrorToList.d.ts +20 -4
  1501. package/dist/helpers/apiErrorToList.js.map +1 -1
  1502. package/dist/helpers/applyMissingDefaults.d.ts +11 -2
  1503. package/dist/helpers/applyMissingDefaults.js.map +1 -1
  1504. package/dist/helpers/breadcrumbHelpers.d.ts +66 -25
  1505. package/dist/helpers/breadcrumbHelpers.js.map +1 -1
  1506. package/dist/helpers/currencyHelpers.d.ts +14 -0
  1507. package/dist/helpers/currencyHelpers.js.map +1 -1
  1508. package/dist/helpers/dateFormatting.d.ts +149 -14
  1509. package/dist/helpers/dateFormatting.js +0 -1
  1510. package/dist/helpers/dateFormatting.js.map +1 -1
  1511. package/dist/helpers/ensureRequired.d.ts +12 -0
  1512. package/dist/helpers/ensureRequired.js.map +1 -1
  1513. package/dist/helpers/federalEin.d.ts +15 -4
  1514. package/dist/helpers/federalEin.js +0 -1
  1515. package/dist/helpers/federalEin.js.map +1 -1
  1516. package/dist/helpers/formattedStrings.d.ts +148 -11
  1517. package/dist/helpers/formattedStrings.js +0 -1
  1518. package/dist/helpers/formattedStrings.js.map +1 -1
  1519. package/dist/helpers/getDataProps.d.ts +11 -0
  1520. package/dist/helpers/getDataProps.js.map +1 -1
  1521. package/dist/helpers/mask.d.ts +29 -12
  1522. package/dist/helpers/mask.js.map +1 -1
  1523. package/dist/helpers/payRateCalculator.d.ts +9 -1
  1524. package/dist/helpers/payRateCalculator.js +0 -1
  1525. package/dist/helpers/payRateCalculator.js.map +1 -1
  1526. package/dist/helpers/percentageConversion.d.ts +36 -0
  1527. package/dist/helpers/percentageConversion.js.map +1 -1
  1528. package/dist/helpers/readableStreamToBlob.d.ts +13 -0
  1529. package/dist/helpers/readableStreamToBlob.js.map +1 -1
  1530. package/dist/helpers/rem.d.ts +25 -4
  1531. package/dist/helpers/rem.js.map +1 -1
  1532. package/dist/helpers/responsive.d.ts +55 -0
  1533. package/dist/helpers/responsive.js.map +1 -1
  1534. package/dist/helpers/retryAsync.d.ts +14 -0
  1535. package/dist/helpers/retryAsync.js.map +1 -1
  1536. package/dist/helpers/ssn.d.ts +16 -1
  1537. package/dist/helpers/ssn.js +0 -1
  1538. package/dist/helpers/ssn.js.map +1 -1
  1539. package/dist/helpers/validations.d.ts +38 -0
  1540. package/dist/helpers/validations.js.map +1 -1
  1541. package/dist/hooks/useAsyncError.d.ts +11 -2
  1542. package/dist/hooks/useAsyncError.js.map +1 -1
  1543. package/dist/hooks/useClientPagination/useClientPagination.d.ts +21 -1
  1544. package/dist/hooks/useClientPagination/useClientPagination.js.map +1 -1
  1545. package/dist/hooks/useCompanyPaymentSpeed.d.ts +18 -1
  1546. package/dist/hooks/useCompanyPaymentSpeed.js +1 -1
  1547. package/dist/hooks/useCompanyPaymentSpeed.js.map +1 -1
  1548. package/dist/hooks/useContainerBreakpoints/useContainerBreakpoints.d.ts +20 -2
  1549. package/dist/hooks/useContainerBreakpoints/useContainerBreakpoints.js.map +1 -1
  1550. package/dist/hooks/useDateFormatter.d.ts +19 -0
  1551. package/dist/hooks/useDateFormatter.js.map +1 -1
  1552. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.d.ts +18 -0
  1553. package/dist/hooks/useDateRangeFilter/useDateRangeFilter.js.map +1 -1
  1554. package/dist/hooks/useForkRef/useForkRef.d.ts +5 -3
  1555. package/dist/hooks/useForkRef/useForkRef.js.map +1 -1
  1556. package/dist/hooks/useMenu.d.ts +13 -0
  1557. package/dist/hooks/useMenu.js.map +1 -1
  1558. package/dist/hooks/useNumberFormatter.d.ts +13 -1
  1559. package/dist/hooks/useNumberFormatter.js.map +1 -1
  1560. package/dist/hooks/useOverflowDetection/useOverflowDetection.d.ts +13 -1
  1561. package/dist/hooks/useOverflowDetection/useOverflowDetection.js.map +1 -1
  1562. package/dist/hooks/usePagination/usePagination.d.ts +13 -0
  1563. package/dist/hooks/usePagination/usePagination.js.map +1 -1
  1564. package/dist/i18n/I18n.js +23 -8
  1565. package/dist/i18n/I18n.js.map +1 -1
  1566. package/dist/i18n/en/Employee.BankFormBody.json.js +26 -0
  1567. package/dist/i18n/en/Employee.BankFormBody.json.js.map +1 -0
  1568. package/dist/i18n/en/Employee.Compensation.json.js +48 -48
  1569. package/dist/i18n/en/Employee.Dashboard.json.js +10 -30
  1570. package/dist/i18n/en/Employee.Dashboard.json.js.map +1 -1
  1571. package/dist/i18n/en/Employee.DeductionsForm.json.js +30 -0
  1572. package/dist/i18n/en/Employee.DeductionsForm.json.js.map +1 -0
  1573. package/dist/i18n/en/Employee.FederalTaxesView.json.js +44 -0
  1574. package/dist/i18n/en/Employee.FederalTaxesView.json.js.map +1 -0
  1575. package/dist/i18n/en/Employee.Management.Compensation.json.js +76 -0
  1576. package/dist/i18n/en/Employee.Management.Compensation.json.js.map +1 -0
  1577. package/dist/i18n/en/Employee.Management.Deductions.json.js +34 -0
  1578. package/dist/i18n/en/Employee.Management.Deductions.json.js.map +1 -0
  1579. package/dist/i18n/en/Employee.Management.Documents.json.js +20 -0
  1580. package/dist/i18n/en/Employee.Management.Documents.json.js.map +1 -0
  1581. package/dist/i18n/en/Employee.Management.FederalTaxes.json.js +54 -0
  1582. package/dist/i18n/en/Employee.Management.FederalTaxes.json.js.map +1 -0
  1583. package/dist/i18n/en/Employee.Management.HomeAddress.json.js +70 -0
  1584. package/dist/i18n/en/Employee.Management.HomeAddress.json.js.map +1 -0
  1585. package/dist/i18n/en/Employee.Management.PaymentMethod.json.js +36 -0
  1586. package/dist/i18n/en/Employee.Management.PaymentMethod.json.js.map +1 -0
  1587. package/dist/i18n/en/Employee.Management.PaymentMethodBankForm.json.js +26 -0
  1588. package/dist/i18n/en/Employee.Management.PaymentMethodBankForm.json.js.map +1 -0
  1589. package/dist/i18n/en/Employee.Management.PaymentMethodSplitForm.json.js +28 -0
  1590. package/dist/i18n/en/Employee.Management.PaymentMethodSplitForm.json.js.map +1 -0
  1591. package/dist/i18n/en/Employee.Management.Paystubs.json.js +30 -0
  1592. package/dist/i18n/en/Employee.Management.Paystubs.json.js.map +1 -0
  1593. package/dist/i18n/en/Employee.Management.Profile.json.js +26 -0
  1594. package/dist/i18n/en/Employee.Management.Profile.json.js.map +1 -0
  1595. package/dist/i18n/en/Employee.Management.StateTaxes.json.js +20 -0
  1596. package/dist/i18n/en/Employee.Management.StateTaxes.json.js.map +1 -0
  1597. package/dist/i18n/en/Employee.Management.WorkAddress.json.js +70 -0
  1598. package/dist/i18n/en/Employee.Management.WorkAddress.json.js.map +1 -0
  1599. package/dist/i18n/en/Employee.SplitPaymentsFormBody.json.js +28 -0
  1600. package/dist/i18n/en/Employee.SplitPaymentsFormBody.json.js.map +1 -0
  1601. package/dist/i18n/en/Employee.StateTaxesView.json.js +12 -0
  1602. package/dist/i18n/en/Employee.StateTaxesView.json.js.map +1 -0
  1603. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js +52 -32
  1604. package/dist/i18n/en/Payroll.PayrollEditEmployee.json.js.map +1 -1
  1605. package/dist/i18n/en/Payroll.TransitionPayrollAlert.json.js +8 -8
  1606. package/dist/index.d.ts +3 -2
  1607. package/dist/index.js +145 -141
  1608. package/dist/models/NAICSCodes.d.ts +6 -0
  1609. package/dist/models/NAICSCodes.js.map +1 -1
  1610. package/dist/models/NAICSValues.d.ts +5 -0
  1611. package/dist/models/NAICSValues.js.map +1 -1
  1612. package/dist/models/WA_RISK_CODES.d.ts +11 -0
  1613. package/dist/models/WA_RISK_CODES.js.map +1 -1
  1614. package/dist/partner-hook-utils/collectErrors.d.ts +1 -0
  1615. package/dist/partner-hook-utils/collectErrors.js.map +1 -1
  1616. package/dist/partner-hook-utils/composeErrorHandler.d.ts +63 -6
  1617. package/dist/partner-hook-utils/composeErrorHandler.js.map +1 -1
  1618. package/dist/partner-hook-utils/form/FormFieldsMetadataContext.d.ts +18 -0
  1619. package/dist/partner-hook-utils/form/FormFieldsMetadataContext.js.map +1 -1
  1620. package/dist/partner-hook-utils/form/FormFieldsMetadataProvider.d.ts +8 -1
  1621. package/dist/partner-hook-utils/form/FormFieldsMetadataProvider.js.map +1 -1
  1622. package/dist/partner-hook-utils/form/SDKFormProvider.d.ts +29 -1
  1623. package/dist/partner-hook-utils/form/SDKFormProvider.js.map +1 -1
  1624. package/dist/partner-hook-utils/form/buildFormSchema.d.ts +70 -2
  1625. package/dist/partner-hook-utils/form/buildFormSchema.js.map +1 -1
  1626. package/dist/partner-hook-utils/form/composeSubmitHandler.d.ts +23 -8
  1627. package/dist/partner-hook-utils/form/composeSubmitHandler.js.map +1 -1
  1628. package/dist/partner-hook-utils/form/fields/CheckboxHookField.d.ts +20 -0
  1629. package/dist/partner-hook-utils/form/fields/CheckboxHookField.js +8 -10
  1630. package/dist/partner-hook-utils/form/fields/CheckboxHookField.js.map +1 -1
  1631. package/dist/partner-hook-utils/form/fields/DatePickerHookField.d.ts +22 -0
  1632. package/dist/partner-hook-utils/form/fields/DatePickerHookField.js.map +1 -1
  1633. package/dist/partner-hook-utils/form/fields/NumberInputHookField.d.ts +25 -0
  1634. package/dist/partner-hook-utils/form/fields/NumberInputHookField.js +12 -14
  1635. package/dist/partner-hook-utils/form/fields/NumberInputHookField.js.map +1 -1
  1636. package/dist/partner-hook-utils/form/fields/RadioGroupHookField.d.ts +24 -0
  1637. package/dist/partner-hook-utils/form/fields/RadioGroupHookField.js +13 -15
  1638. package/dist/partner-hook-utils/form/fields/RadioGroupHookField.js.map +1 -1
  1639. package/dist/partner-hook-utils/form/fields/SelectHookField.d.ts +27 -1
  1640. package/dist/partner-hook-utils/form/fields/SelectHookField.js +10 -12
  1641. package/dist/partner-hook-utils/form/fields/SelectHookField.js.map +1 -1
  1642. package/dist/partner-hook-utils/form/fields/SwitchHookField.d.ts +20 -0
  1643. package/dist/partner-hook-utils/form/fields/SwitchHookField.js +14 -16
  1644. package/dist/partner-hook-utils/form/fields/SwitchHookField.js.map +1 -1
  1645. package/dist/partner-hook-utils/form/fields/TextInputHookField.d.ts +25 -0
  1646. package/dist/partner-hook-utils/form/fields/TextInputHookField.js +8 -10
  1647. package/dist/partner-hook-utils/form/fields/TextInputHookField.js.map +1 -1
  1648. package/dist/partner-hook-utils/form/fields/index.d.ts +2 -0
  1649. package/dist/partner-hook-utils/form/fields/withFieldElementRegistry.d.ts +13 -5
  1650. package/dist/partner-hook-utils/form/fields/withFieldElementRegistry.js.map +1 -1
  1651. package/dist/partner-hook-utils/form/getFieldWithOptions.d.ts +11 -0
  1652. package/dist/partner-hook-utils/form/getFieldWithOptions.js.map +1 -1
  1653. package/dist/partner-hook-utils/form/getFormSubmissionValues.d.ts +10 -1
  1654. package/dist/partner-hook-utils/form/getFormSubmissionValues.js.map +1 -1
  1655. package/dist/partner-hook-utils/form/index.d.ts +2 -9
  1656. package/dist/partner-hook-utils/form/preprocessors.d.ts +28 -0
  1657. package/dist/partner-hook-utils/form/preprocessors.js.map +1 -1
  1658. package/dist/partner-hook-utils/form/resolveFieldError.d.ts +22 -0
  1659. package/dist/partner-hook-utils/form/resolveFieldError.js.map +1 -1
  1660. package/dist/partner-hook-utils/form/useDeriveFieldsMetadata.d.ts +17 -7
  1661. package/dist/partner-hook-utils/form/useDeriveFieldsMetadata.js.map +1 -1
  1662. package/dist/partner-hook-utils/form/useFieldErrorMessage.d.ts +39 -0
  1663. package/dist/partner-hook-utils/form/useFieldErrorMessage.js.map +1 -1
  1664. package/dist/partner-hook-utils/form/useHookFieldResolution.d.ts +10 -2
  1665. package/dist/partner-hook-utils/form/useHookFieldResolution.js.map +1 -1
  1666. package/dist/partner-hook-utils/form/useHookFormInternals.d.ts +11 -4
  1667. package/dist/partner-hook-utils/form/useHookFormInternals.js.map +1 -1
  1668. package/dist/partner-hook-utils/form/withOptions.d.ts +25 -0
  1669. package/dist/partner-hook-utils/form/withOptions.js.map +1 -1
  1670. package/dist/partner-hook-utils/types.d.ts +173 -20
  1671. package/dist/shared/constants.d.ts +352 -17
  1672. package/dist/shared/constants.js +112 -67
  1673. package/dist/shared/constants.js.map +1 -1
  1674. package/dist/style.css +1 -1
  1675. package/dist/types/hooks.d.ts +30 -16
  1676. package/dist/types/i18next.d.ts +859 -402
  1677. package/dist/types/observability.d.ts +58 -32
  1678. package/dist/types/sdkError.d.ts +45 -13
  1679. package/dist/types/sdkError.js +3 -3
  1680. package/dist/types/sdkError.js.map +1 -1
  1681. package/docs/reference/endpoint-inventory.json +103 -117
  1682. package/package.json +26 -22
  1683. package/dist/components/Common/Fields/PercentageField/index.d.ts +0 -2
  1684. package/dist/components/Common/UI/Alert/index.d.ts +0 -2
  1685. package/dist/components/Common/UI/Banner/index.d.ts +0 -4
  1686. package/dist/components/Common/UI/Box/index.d.ts +0 -2
  1687. package/dist/components/Common/UI/MultiSelectComboBox/index.d.ts +0 -3
  1688. package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.d.ts +0 -9
  1689. package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.js +0 -76
  1690. package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.js.map +0 -1
  1691. package/dist/components/Employee/Compensation/management/AddAnotherJob/AddAnotherJob.module.scss.js.map +0 -1
  1692. package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.d.ts +0 -11
  1693. package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.js +0 -88
  1694. package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.js.map +0 -1
  1695. package/dist/components/Employee/Compensation/management/EditCompensation/EditCompensation.module.scss.js.map +0 -1
  1696. package/dist/components/Employee/Compensation/management/EditCompensation/index.d.ts +0 -3
  1697. package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.js +0 -79
  1698. package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.js.map +0 -1
  1699. package/dist/components/Employee/Compensation/management/EditPendingCompensation/EditPendingCompensation.module.scss.js.map +0 -1
  1700. package/dist/components/Employee/Dashboard/DocumentsView.d.ts +0 -18
  1701. package/dist/components/Employee/Dashboard/DocumentsView.js +0 -71
  1702. package/dist/components/Employee/Dashboard/DocumentsView.js.map +0 -1
  1703. package/dist/components/Employee/Dashboard/JobAndPayView.module.scss.js.map +0 -1
  1704. package/dist/components/Employee/Dashboard/PendingChangesReviewModal.js +0 -64
  1705. package/dist/components/Employee/Dashboard/PendingChangesReviewModal.js.map +0 -1
  1706. package/dist/components/Employee/Dashboard/getPendingCompensationChanges.js.map +0 -1
  1707. package/dist/components/Employee/Dashboard/hooks/index.d.ts +0 -9
  1708. package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.d.ts +0 -24
  1709. package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.js +0 -32
  1710. package/dist/components/Employee/Dashboard/hooks/useEmployeeBasicDetails.js.map +0 -1
  1711. package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.d.ts +0 -44
  1712. package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js +0 -74
  1713. package/dist/components/Employee/Dashboard/hooks/useEmployeeCompensation.js.map +0 -1
  1714. package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.d.ts +0 -19
  1715. package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js +0 -20
  1716. package/dist/components/Employee/Dashboard/hooks/useEmployeeForms.js.map +0 -1
  1717. package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.d.ts +0 -24
  1718. package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.js +0 -29
  1719. package/dist/components/Employee/Dashboard/hooks/useEmployeeTaxes.js.map +0 -1
  1720. package/dist/components/Employee/Dashboard/usePendingChangeDetailRenderer.js +0 -61
  1721. package/dist/components/Employee/Dashboard/usePendingChangeDetailRenderer.js.map +0 -1
  1722. package/dist/components/Employee/Deductions/Deductions.js.map +0 -1
  1723. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportFormView.js +0 -137
  1724. package/dist/components/Employee/Deductions/DeductionsForm/ChildSupportFormView.js.map +0 -1
  1725. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.d.ts +0 -11
  1726. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js +0 -137
  1727. package/dist/components/Employee/Deductions/DeductionsForm/DeductionsForm.js.map +0 -1
  1728. package/dist/components/Employee/Deductions/DeductionsForm/StandardDeductionForm.js +0 -137
  1729. package/dist/components/Employee/Deductions/DeductionsForm/StandardDeductionForm.js.map +0 -1
  1730. package/dist/components/Employee/Deductions/DeductionsList/DeductionsList.js.map +0 -1
  1731. package/dist/components/Employee/Deductions/IncludeDeductions/IncludeDeductions.js.map +0 -1
  1732. package/dist/components/Employee/Deductions/deductionsContextualComponents.js +0 -74
  1733. package/dist/components/Employee/Deductions/deductionsContextualComponents.js.map +0 -1
  1734. package/dist/components/Employee/Deductions/stateMachine.js.map +0 -1
  1735. package/dist/components/Employee/PaymentMethod/management/ListView.d.ts +0 -8
  1736. package/dist/components/Employee/PaymentMethod/management/ListView.js +0 -138
  1737. package/dist/components/Employee/PaymentMethod/management/ListView.js.map +0 -1
  1738. package/dist/hooks/useDebounce/useDebounce.d.ts +0 -2
  1739. package/dist/hooks/useForkRef/index.d.ts +0 -2
  1740. package/dist/hooks/useOverflowDetection/index.d.ts +0 -3
  1741. package/dist/i18n/en/Employee.HomeAddress.Management.json.js +0 -62
  1742. package/dist/i18n/en/Employee.HomeAddress.Management.json.js.map +0 -1
  1743. package/dist/i18n/en/Employee.WorkAddress.Management.json.js +0 -64
  1744. package/dist/i18n/en/Employee.WorkAddress.Management.json.js.map +0 -1
  1745. package/dist/models/PayPeriod.d.ts +0 -18
  1746. package/dist/models/Payroll.d.ts +0 -40
  1747. package/dist/models/PayrollTotals.d.ts +0 -24
  1748. /package/dist/components/Employee/{Dashboard → Compensation/shared}/getPendingCompensationChanges.test.d.ts +0 -0
  1749. /package/dist/components/Employee/Deductions/{IncludeDeductions → onboarding/IncludeDeductions}/IncludeDeductions.module.scss.js +0 -0
  1750. /package/dist/components/Employee/Deductions/{IncludeDeductions → onboarding/IncludeDeductions}/IncludeDeductions.module.scss.js.map +0 -0
  1751. /package/dist/components/Employee/Deductions/{stateMachine.d.ts → onboarding/stateMachine.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import { PaymentPeriod } from '@gusto/embedded-api/models/components/garnishmentchildsupport';
1
+ import { PaymentPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishmentchildsupport';
2
2
  import { ChildSupportGarnishmentFormErrorCodes } from './childSupportGarnishmentFormSchema';
3
3
  import { TextInputHookFieldProps } from '../../../../../partner-hook-utils/form/fields/TextInputHookField';
4
4
  import { NumberInputHookFieldProps } from '../../../../../partner-hook-utils/form/fields/NumberInputHookField';
@@ -15,22 +15,22 @@ export type StateFieldEntry = {
15
15
  manualPaymentRequired?: boolean;
16
16
  };
17
17
  export type StateFieldProps = HookFieldProps<SelectHookFieldProps<RequiredValidation, StateFieldEntry>>;
18
- export declare function StateField(props: StateFieldProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function StateField(props: StateFieldProps): import("react").JSX.Element;
19
19
  export type CountyEntry = {
20
20
  fipsCode: string;
21
21
  county: string | null;
22
22
  };
23
23
  export type FipsCodeFieldProps = HookFieldProps<SelectHookFieldProps<RequiredValidation, CountyEntry>>;
24
- export declare function FipsCodeField(props: FipsCodeFieldProps): import("react/jsx-runtime").JSX.Element;
24
+ export declare function FipsCodeField(props: FipsCodeFieldProps): import("react").JSX.Element;
25
25
  export type CaseNumberFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>;
26
- export declare function CaseNumberField(props: CaseNumberFieldProps): import("react/jsx-runtime").JSX.Element;
26
+ export declare function CaseNumberField(props: CaseNumberFieldProps): import("react").JSX.Element;
27
27
  export type OrderNumberFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>;
28
- export declare function OrderNumberField(props: OrderNumberFieldProps): import("react/jsx-runtime").JSX.Element;
28
+ export declare function OrderNumberField(props: OrderNumberFieldProps): import("react").JSX.Element;
29
29
  export type RemittanceNumberFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>;
30
- export declare function RemittanceNumberField(props: RemittanceNumberFieldProps): import("react/jsx-runtime").JSX.Element;
30
+ export declare function RemittanceNumberField(props: RemittanceNumberFieldProps): import("react").JSX.Element;
31
31
  export type PayPeriodMaximumFieldProps = HookFieldProps<NumberInputHookFieldProps<PayPeriodMaximumValidation>>;
32
- export declare function PayPeriodMaximumField(props: PayPeriodMaximumFieldProps): import("react/jsx-runtime").JSX.Element;
32
+ export declare function PayPeriodMaximumField(props: PayPeriodMaximumFieldProps): import("react").JSX.Element;
33
33
  export type AmountFieldProps = HookFieldProps<NumberInputHookFieldProps<AmountValidation>>;
34
- export declare function AmountField(props: AmountFieldProps): import("react/jsx-runtime").JSX.Element;
34
+ export declare function AmountField(props: AmountFieldProps): import("react").JSX.Element;
35
35
  export type PaymentPeriodFieldProps = HookFieldProps<SelectHookFieldProps<RequiredValidation, PaymentPeriod>>;
36
- export declare function PaymentPeriodField(props: PaymentPeriodFieldProps): import("react/jsx-runtime").JSX.Element;
36
+ export declare function PaymentPeriodField(props: PaymentPeriodFieldProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"fields.js","sources":["../../../../../../src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.tsx"],"sourcesContent":["import type { PaymentPeriod } from '@gusto/embedded-api/models/components/garnishmentchildsupport'\nimport type { ChildSupportGarnishmentFormErrorCodes } from './childSupportGarnishmentFormSchema'\nimport type { TextInputHookFieldProps } from '@/partner-hook-utils/form/fields/TextInputHookField'\nimport type { NumberInputHookFieldProps } from '@/partner-hook-utils/form/fields/NumberInputHookField'\nimport type { SelectHookFieldProps } from '@/partner-hook-utils/form/fields/SelectHookField'\nimport {\n TextInputHookField,\n NumberInputHookField,\n SelectHookField,\n} from '@/partner-hook-utils/form/fields'\nimport type { HookFieldProps } from '@/partner-hook-utils/types'\n\nexport type RequiredValidation = typeof ChildSupportGarnishmentFormErrorCodes.REQUIRED\nexport type NegativeAmountValidation = typeof ChildSupportGarnishmentFormErrorCodes.NEGATIVE_AMOUNT\nexport type PercentValidation = typeof ChildSupportGarnishmentFormErrorCodes.PERCENT_OUT_OF_RANGE\n\nexport type PayPeriodMaximumValidation = RequiredValidation | NegativeAmountValidation\nexport type AmountValidation = RequiredValidation | PercentValidation\n\n// ── State (agency) ─────────────────────────────────────────────────────\n//\n// The select carries the raw agency record as `entries`; the consumer can\n// supply `getOptionLabel` to translate the agency name into a localized\n// label (the SDK's option-label fallback is the agency state code).\n\nexport type StateFieldEntry = {\n state: string\n name: string\n manualPaymentRequired?: boolean\n}\n\nexport type StateFieldProps = HookFieldProps<\n SelectHookFieldProps<RequiredValidation, StateFieldEntry>\n>\n\nexport function StateField(props: StateFieldProps) {\n return <SelectHookField {...props} name=\"state\" />\n}\n\n// ── FipsCode (county) ──────────────────────────────────────────────────\n\nexport type CountyEntry = {\n fipsCode: string\n county: string | null\n}\n\nexport type FipsCodeFieldProps = HookFieldProps<\n SelectHookFieldProps<RequiredValidation, CountyEntry>\n>\n\nexport function FipsCodeField(props: FipsCodeFieldProps) {\n return <SelectHookField {...props} name=\"fipsCode\" />\n}\n\n// ── Required agency-attribute text inputs ──────────────────────────────\n\nexport type CaseNumberFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>\n\nexport function CaseNumberField(props: CaseNumberFieldProps) {\n return <TextInputHookField {...props} name=\"caseNumber\" />\n}\n\nexport type OrderNumberFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>\n\nexport function OrderNumberField(props: OrderNumberFieldProps) {\n return <TextInputHookField {...props} name=\"orderNumber\" />\n}\n\nexport type RemittanceNumberFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>\n\nexport function RemittanceNumberField(props: RemittanceNumberFieldProps) {\n return <TextInputHookField {...props} name=\"remittanceNumber\" />\n}\n\n// ── Pay-period maximum (currency) ──────────────────────────────────────\n\nexport type PayPeriodMaximumFieldProps = HookFieldProps<\n NumberInputHookFieldProps<PayPeriodMaximumValidation>\n>\n\nexport function PayPeriodMaximumField(props: PayPeriodMaximumFieldProps) {\n return <NumberInputHookField {...props} name=\"payPeriodMaximum\" />\n}\n\n// ── Amount (percent of paycheck, 0-100) ────────────────────────────────\n\nexport type AmountFieldProps = HookFieldProps<NumberInputHookFieldProps<AmountValidation>>\n\nexport function AmountField(props: AmountFieldProps) {\n return <NumberInputHookField {...props} name=\"amount\" />\n}\n\n// ── Payment period (select) ────────────────────────────────────────────\n\nexport type PaymentPeriodFieldProps = HookFieldProps<\n SelectHookFieldProps<RequiredValidation, PaymentPeriod>\n>\n\nexport function PaymentPeriodField(props: PaymentPeriodFieldProps) {\n return <SelectHookField {...props} name=\"paymentPeriod\" />\n}\n"],"names":["StateField","props","jsx","SelectHookField","FipsCodeField","CaseNumberField","TextInputHookField","OrderNumberField","RemittanceNumberField","PayPeriodMaximumField","NumberInputHookField","AmountField","PaymentPeriodField"],"mappings":";;;;AAmCO,SAASA,EAAWC,GAAwB;AACjD,SAAO,gBAAAC,EAACC,GAAA,EAAiB,GAAGF,GAAO,MAAK,SAAQ;AAClD;AAaO,SAASG,EAAcH,GAA2B;AACvD,SAAO,gBAAAC,EAACC,GAAA,EAAiB,GAAGF,GAAO,MAAK,YAAW;AACrD;AAMO,SAASI,EAAgBJ,GAA6B;AAC3D,SAAO,gBAAAC,EAACI,GAAA,EAAoB,GAAGL,GAAO,MAAK,cAAa;AAC1D;AAIO,SAASM,EAAiBN,GAA8B;AAC7D,SAAO,gBAAAC,EAACI,GAAA,EAAoB,GAAGL,GAAO,MAAK,eAAc;AAC3D;AAIO,SAASO,EAAsBP,GAAmC;AACvE,SAAO,gBAAAC,EAACI,GAAA,EAAoB,GAAGL,GAAO,MAAK,oBAAmB;AAChE;AAQO,SAASQ,EAAsBR,GAAmC;AACvE,SAAO,gBAAAC,EAACQ,GAAA,EAAsB,GAAGT,GAAO,MAAK,oBAAmB;AAClE;AAMO,SAASU,EAAYV,GAAyB;AACnD,SAAO,gBAAAC,EAACQ,GAAA,EAAsB,GAAGT,GAAO,MAAK,UAAS;AACxD;AAQO,SAASW,EAAmBX,GAAgC;AACjE,SAAO,gBAAAC,EAACC,GAAA,EAAiB,GAAGF,GAAO,MAAK,iBAAgB;AAC1D;"}
1
+ {"version":3,"file":"fields.js","sources":["../../../../../../src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/fields.tsx"],"sourcesContent":["import type { PaymentPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishmentchildsupport'\nimport type { ChildSupportGarnishmentFormErrorCodes } from './childSupportGarnishmentFormSchema'\nimport type { TextInputHookFieldProps } from '@/partner-hook-utils/form/fields/TextInputHookField'\nimport type { NumberInputHookFieldProps } from '@/partner-hook-utils/form/fields/NumberInputHookField'\nimport type { SelectHookFieldProps } from '@/partner-hook-utils/form/fields/SelectHookField'\nimport {\n TextInputHookField,\n NumberInputHookField,\n SelectHookField,\n} from '@/partner-hook-utils/form/fields'\nimport type { HookFieldProps } from '@/partner-hook-utils/types'\n\nexport type RequiredValidation = typeof ChildSupportGarnishmentFormErrorCodes.REQUIRED\nexport type NegativeAmountValidation = typeof ChildSupportGarnishmentFormErrorCodes.NEGATIVE_AMOUNT\nexport type PercentValidation = typeof ChildSupportGarnishmentFormErrorCodes.PERCENT_OUT_OF_RANGE\n\nexport type PayPeriodMaximumValidation = RequiredValidation | NegativeAmountValidation\nexport type AmountValidation = RequiredValidation | PercentValidation\n\n// ── State (agency) ─────────────────────────────────────────────────────\n//\n// The select carries the raw agency record as `entries`; the consumer can\n// supply `getOptionLabel` to translate the agency name into a localized\n// label (the SDK's option-label fallback is the agency state code).\n\nexport type StateFieldEntry = {\n state: string\n name: string\n manualPaymentRequired?: boolean\n}\n\nexport type StateFieldProps = HookFieldProps<\n SelectHookFieldProps<RequiredValidation, StateFieldEntry>\n>\n\nexport function StateField(props: StateFieldProps) {\n return <SelectHookField {...props} name=\"state\" />\n}\n\n// ── FipsCode (county) ──────────────────────────────────────────────────\n\nexport type CountyEntry = {\n fipsCode: string\n county: string | null\n}\n\nexport type FipsCodeFieldProps = HookFieldProps<\n SelectHookFieldProps<RequiredValidation, CountyEntry>\n>\n\nexport function FipsCodeField(props: FipsCodeFieldProps) {\n return <SelectHookField {...props} name=\"fipsCode\" />\n}\n\n// ── Required agency-attribute text inputs ──────────────────────────────\n\nexport type CaseNumberFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>\n\nexport function CaseNumberField(props: CaseNumberFieldProps) {\n return <TextInputHookField {...props} name=\"caseNumber\" />\n}\n\nexport type OrderNumberFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>\n\nexport function OrderNumberField(props: OrderNumberFieldProps) {\n return <TextInputHookField {...props} name=\"orderNumber\" />\n}\n\nexport type RemittanceNumberFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>\n\nexport function RemittanceNumberField(props: RemittanceNumberFieldProps) {\n return <TextInputHookField {...props} name=\"remittanceNumber\" />\n}\n\n// ── Pay-period maximum (currency) ──────────────────────────────────────\n\nexport type PayPeriodMaximumFieldProps = HookFieldProps<\n NumberInputHookFieldProps<PayPeriodMaximumValidation>\n>\n\nexport function PayPeriodMaximumField(props: PayPeriodMaximumFieldProps) {\n return <NumberInputHookField {...props} name=\"payPeriodMaximum\" />\n}\n\n// ── Amount (percent of paycheck, 0-100) ────────────────────────────────\n\nexport type AmountFieldProps = HookFieldProps<NumberInputHookFieldProps<AmountValidation>>\n\nexport function AmountField(props: AmountFieldProps) {\n return <NumberInputHookField {...props} name=\"amount\" />\n}\n\n// ── Payment period (select) ────────────────────────────────────────────\n\nexport type PaymentPeriodFieldProps = HookFieldProps<\n SelectHookFieldProps<RequiredValidation, PaymentPeriod>\n>\n\nexport function PaymentPeriodField(props: PaymentPeriodFieldProps) {\n return <SelectHookField {...props} name=\"paymentPeriod\" />\n}\n"],"names":["StateField","props","jsx","SelectHookField","FipsCodeField","CaseNumberField","TextInputHookField","OrderNumberField","RemittanceNumberField","PayPeriodMaximumField","NumberInputHookField","AmountField","PaymentPeriodField"],"mappings":";;;;AAmCO,SAASA,EAAWC,GAAwB;AACjD,SAAO,gBAAAC,EAACC,GAAA,EAAiB,GAAGF,GAAO,MAAK,SAAQ;AAClD;AAaO,SAASG,EAAcH,GAA2B;AACvD,SAAO,gBAAAC,EAACC,GAAA,EAAiB,GAAGF,GAAO,MAAK,YAAW;AACrD;AAMO,SAASI,EAAgBJ,GAA6B;AAC3D,SAAO,gBAAAC,EAACI,GAAA,EAAoB,GAAGL,GAAO,MAAK,cAAa;AAC1D;AAIO,SAASM,EAAiBN,GAA8B;AAC7D,SAAO,gBAAAC,EAACI,GAAA,EAAoB,GAAGL,GAAO,MAAK,eAAc;AAC3D;AAIO,SAASO,EAAsBP,GAAmC;AACvE,SAAO,gBAAAC,EAACI,GAAA,EAAoB,GAAGL,GAAO,MAAK,oBAAmB;AAChE;AAQO,SAASQ,EAAsBR,GAAmC;AACvE,SAAO,gBAAAC,EAACQ,GAAA,EAAsB,GAAGT,GAAO,MAAK,oBAAmB;AAClE;AAMO,SAASU,EAAYV,GAAyB;AACnD,SAAO,gBAAAC,EAACQ,GAAA,EAAsB,GAAGT,GAAO,MAAK,UAAS;AACxD;AAQO,SAASW,EAAmBX,GAAgC;AACjE,SAAO,gBAAAC,EAACC,GAAA,EAAiB,GAAGF,GAAO,MAAK,iBAAgB;AAC1D;"}
@@ -1,6 +1,6 @@
1
1
  import { UseFormProps } from 'react-hook-form';
2
- import { Garnishment } from '@gusto/embedded-api/models/components/garnishment';
3
- import { Agencies } from '@gusto/embedded-api/models/components/childsupportdata';
2
+ import { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment';
3
+ import { Agencies } from '@gusto/embedded-api-v-2025-11-15/models/components/childsupportdata';
4
4
  import { ChildSupportGarnishmentFormData, SupportedRequiredAttrKey } from './childSupportGarnishmentFormSchema';
5
5
  import { StateField, FipsCodeField, CaseNumberField, OrderNumberField, RemittanceNumberField, PayPeriodMaximumField, AmountField, PaymentPeriodField, CountyEntry, StateFieldEntry } from './fields';
6
6
  import { BaseFormHookReady, FieldsMetadata, HookLoadingResult, HookSubmitResult } from '../../../../../partner-hook-utils/types';
@@ -1,11 +1,11 @@
1
1
  import { useMemo as u, useRef as Z, useEffect as q } from "react";
2
2
  import { useForm as ee, useWatch as te } from "react-hook-form";
3
3
  import { zodResolver as re } from "@hookform/resolvers/zod";
4
- import { PaymentPeriod as r } from "@gusto/embedded-api/models/components/garnishmentchildsupport";
5
- import { useGarnishmentsCreateMutation as oe } from "@gusto/embedded-api/react-query/garnishmentsCreate";
6
- import { useGarnishmentsUpdateMutation as ie } from "@gusto/embedded-api/react-query/garnishmentsUpdate";
7
- import { useGarnishmentsList as ne } from "@gusto/embedded-api/react-query/garnishmentsList";
8
- import { useGarnishmentsGetChildSupportData as ae } from "@gusto/embedded-api/react-query/garnishmentsGetChildSupportData";
4
+ import { PaymentPeriod as r } from "@gusto/embedded-api-v-2025-11-15/models/components/garnishmentchildsupport";
5
+ import { useGarnishmentsCreateMutation as oe } from "@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsCreate";
6
+ import { useGarnishmentsUpdateMutation as ie } from "@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsUpdate";
7
+ import { useGarnishmentsList as ne } from "@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsList";
8
+ import { useGarnishmentsGetChildSupportData as ae } from "@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsGetChildSupportData";
9
9
  import { createChildSupportGarnishmentFormSchema as se, getRequiredAttrKeys as ue } from "./childSupportGarnishmentFormSchema.js";
10
10
  import { PaymentPeriodField as me, AmountField as de, PayPeriodMaximumField as ce, RemittanceNumberField as le, OrderNumberField as pe, CaseNumberField as he, FipsCodeField as be, StateField as fe } from "./fields.js";
11
11
  import { useDeriveFieldsMetadata as ye } from "../../../../../partner-hook-utils/form/useDeriveFieldsMetadata.js";
@@ -1 +1 @@
1
- {"version":3,"file":"useChildSupportGarnishmentForm.js","sources":["../../../../../../src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.tsx"],"sourcesContent":["import { useEffect, useMemo, useRef } from 'react'\nimport { useForm, useWatch } from 'react-hook-form'\nimport type { UseFormProps } from 'react-hook-form'\nimport { zodResolver } from '@hookform/resolvers/zod'\nimport {\n type Garnishment,\n type GarnishmentType,\n} from '@gusto/embedded-api/models/components/garnishment'\nimport type { Agencies } from '@gusto/embedded-api/models/components/childsupportdata'\nimport { PaymentPeriod } from '@gusto/embedded-api/models/components/garnishmentchildsupport'\nimport { useGarnishmentsCreateMutation } from '@gusto/embedded-api/react-query/garnishmentsCreate'\nimport { useGarnishmentsUpdateMutation } from '@gusto/embedded-api/react-query/garnishmentsUpdate'\nimport { useGarnishmentsList } from '@gusto/embedded-api/react-query/garnishmentsList'\nimport { useGarnishmentsGetChildSupportData } from '@gusto/embedded-api/react-query/garnishmentsGetChildSupportData'\nimport {\n createChildSupportGarnishmentFormSchema,\n getRequiredAttrKeys,\n type ChildSupportGarnishmentFormData,\n type ChildSupportGarnishmentFormOutputs,\n type SupportedRequiredAttrKey,\n} from './childSupportGarnishmentFormSchema'\nimport {\n StateField,\n FipsCodeField,\n CaseNumberField,\n OrderNumberField,\n RemittanceNumberField,\n PayPeriodMaximumField,\n AmountField,\n PaymentPeriodField,\n type CountyEntry,\n type StateFieldEntry,\n} from './fields'\nimport { useDeriveFieldsMetadata } from '@/partner-hook-utils/form/useDeriveFieldsMetadata'\nimport { useHookFormInternals } from '@/partner-hook-utils/form/useHookFormInternals'\nimport { createGetFormSubmissionValues } from '@/partner-hook-utils/form/getFormSubmissionValues'\nimport { withOptions } from '@/partner-hook-utils/form/withOptions'\nimport { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler'\nimport type {\n BaseFormHookReady,\n FieldsMetadata,\n HookLoadingResult,\n HookSubmitResult,\n} from '@/partner-hook-utils/types'\nimport { useBaseSubmit } from '@/components/Base/useBaseSubmit'\nimport { SDKInternalError } from '@/types/sdkError'\n\nconst PAYMENT_PERIOD_OPTIONS = [\n { value: PaymentPeriod.EveryWeek, label: PaymentPeriod.EveryWeek },\n { value: PaymentPeriod.EveryOtherWeek, label: PaymentPeriod.EveryOtherWeek },\n { value: PaymentPeriod.TwicePerMonth, label: PaymentPeriod.TwicePerMonth },\n { value: PaymentPeriod.Monthly, label: PaymentPeriod.Monthly },\n] as const\n\nconst PAYMENT_PERIOD_ENTRIES = [\n PaymentPeriod.EveryWeek,\n PaymentPeriod.EveryOtherWeek,\n PaymentPeriod.TwicePerMonth,\n PaymentPeriod.Monthly,\n] as const\n\nexport interface UseChildSupportGarnishmentFormProps {\n employeeId: string\n /**\n * When set, loads that garnishment via the list query and updates it (PUT).\n * When omitted, the form is in create mode (POST).\n */\n garnishmentId?: string\n defaultValues?: Partial<ChildSupportGarnishmentFormData>\n validationMode?: UseFormProps['mode']\n shouldFocusError?: boolean\n}\n\nexport interface ChildSupportGarnishmentFormFields {\n State: typeof StateField\n /** Only available when the selected agency has more than one fips code, or the\n * sole code is county-scoped (not an \"all counties\" auto-pick). */\n FipsCode: typeof FipsCodeField | undefined\n /** Only available when the selected agency requires `case_number`. */\n CaseNumber: typeof CaseNumberField | undefined\n /** Only available when the selected agency requires `order_number`. */\n OrderNumber: typeof OrderNumberField | undefined\n /** Only available when the selected agency requires `remittance_number`. */\n RemittanceNumber: typeof RemittanceNumberField | undefined\n PayPeriodMaximum: typeof PayPeriodMaximumField\n Amount: typeof AmountField\n PaymentPeriod: typeof PaymentPeriodField\n}\n\nexport interface UseChildSupportGarnishmentFormReady extends BaseFormHookReady<\n FieldsMetadata,\n ChildSupportGarnishmentFormData,\n ChildSupportGarnishmentFormFields\n> {\n data: {\n /** Agencies offered as `State` options; raw entries the consumer can use\n * with `getOptionLabel` for translated names. */\n agencies: StateFieldEntry[]\n /** Counties for the currently selected state. Empty array when no state\n * is selected. */\n counties: CountyEntry[]\n /** The garnishment loaded for update; `null` in create mode. */\n deduction: Garnishment | null\n }\n status: {\n isPending: boolean\n mode: 'create' | 'update'\n /** The agency record matching the currently selected `state`. */\n selectedAgency: Agencies | null\n /** Mirrors `selectedAgency.manualPaymentRequired`; convenient for showing\n * a warning alert. */\n isManualPaymentRequired: boolean\n /** Which `required_attributes` keys the selected agency declares. */\n requiredAttrKeys: ReadonlySet<SupportedRequiredAttrKey>\n }\n actions: {\n onSubmit: () => Promise<HookSubmitResult<Garnishment> | undefined>\n }\n}\n\nexport type UseChildSupportGarnishmentFormResult =\n | HookLoadingResult\n | UseChildSupportGarnishmentFormReady\n\nexport function useChildSupportGarnishmentForm({\n employeeId,\n garnishmentId,\n defaultValues: partnerDefaults,\n validationMode = 'onSubmit',\n shouldFocusError = true,\n}: UseChildSupportGarnishmentFormProps): UseChildSupportGarnishmentFormResult {\n const isCreateMode = !garnishmentId\n const schemaMode = isCreateMode ? 'create' : 'update'\n\n // Agencies + their required-attributes / fips codes come from a single GET.\n const agencyDataQuery = useGarnishmentsGetChildSupportData({})\n const agencyList = useMemo(\n () => agencyDataQuery.data?.childSupportData?.agencies ?? [],\n [agencyDataQuery.data],\n )\n\n // Update mode reads the row from the list endpoint (the garnishments API\n // has no single-row GET).\n const garnishmentsListQuery = useGarnishmentsList({ employeeId }, { enabled: !isCreateMode })\n const fetchedDeduction = useMemo(() => {\n if (isCreateMode) return null\n return garnishmentsListQuery.data?.garnishments?.find(g => g.uuid === garnishmentId) ?? null\n }, [isCreateMode, garnishmentId, garnishmentsListQuery.data])\n\n const resolvedDefaults: ChildSupportGarnishmentFormData = useMemo(\n () => ({\n state: fetchedDeduction?.childSupport?.state ?? partnerDefaults?.state ?? '',\n fipsCode: fetchedDeduction?.childSupport?.fipsCode ?? partnerDefaults?.fipsCode ?? '',\n caseNumber: fetchedDeduction?.childSupport?.caseNumber ?? partnerDefaults?.caseNumber ?? '',\n orderNumber:\n fetchedDeduction?.childSupport?.orderNumber ?? partnerDefaults?.orderNumber ?? '',\n remittanceNumber:\n fetchedDeduction?.childSupport?.remittanceNumber ?? partnerDefaults?.remittanceNumber ?? '',\n amount: fetchedDeduction?.amount\n ? Number(fetchedDeduction.amount)\n : (partnerDefaults?.amount ?? 0),\n payPeriodMaximum: fetchedDeduction?.payPeriodMaximum\n ? Number(fetchedDeduction.payPeriodMaximum)\n : (partnerDefaults?.payPeriodMaximum ?? 0),\n paymentPeriod:\n (fetchedDeduction?.childSupport?.paymentPeriod as PaymentPeriod | undefined) ??\n partnerDefaults?.paymentPeriod ??\n PaymentPeriod.Monthly,\n }),\n [fetchedDeduction, partnerDefaults],\n )\n\n // Pass the full agency list so requiredness for the agency-attribute fields\n // (`caseNumber`, `orderNumber`, `remittanceNumber`) is derived dynamically\n // from the form's `state` value. The schema doesn't need to rebuild when the\n // user changes states — the predicate runs at validation time and via\n // `useDeriveFieldsMetadata` for the (optional) label.\n const [schema, metadataConfig] = useMemo(\n () => createChildSupportGarnishmentFormSchema({ mode: schemaMode, agencyList }),\n [schemaMode, agencyList],\n )\n\n const formMethods = useForm<\n ChildSupportGarnishmentFormData,\n unknown,\n ChildSupportGarnishmentFormOutputs\n >({\n resolver: zodResolver(schema),\n mode: validationMode,\n shouldFocusError,\n defaultValues: resolvedDefaults,\n values: resolvedDefaults,\n resetOptions: { keepDirtyValues: true },\n })\n\n const liveWatchedState = useWatch({ control: formMethods.control, name: 'state' })\n const liveSelectedAgency = useMemo(\n () => agencyList.find(a => a.state === liveWatchedState) ?? null,\n [agencyList, liveWatchedState],\n )\n\n // The agency-attribute fields stay in sync with the chosen state: when the\n // user switches states, the previous attribute values would otherwise carry\n // over and potentially submit alongside the wrong agency. The ref tracks\n // the previous value so the wipe only fires on user-driven transitions —\n // NOT on the initial sync when an existing garnishment loads (state moves\n // from '' to e.g. 'AK' as a side effect of `values` updating, which would\n // otherwise clobber the loaded case/order/remittance values).\n const previousWatchedStateRef = useRef<string | null>(null)\n useEffect(() => {\n const previous = previousWatchedStateRef.current\n previousWatchedStateRef.current = liveWatchedState\n // First render (no previous value) → skip the wipe.\n if (previous === null) return\n // Server-side load: previous was '' (initial defaults before the row\n // arrived), now it's the loaded state. That's a sync, not a user toggle.\n if (previous === '') return\n if (previous === liveWatchedState) return\n formMethods.setValue('caseNumber', '')\n formMethods.setValue('orderNumber', '')\n formMethods.setValue('remittanceNumber', '')\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [liveWatchedState])\n\n // When the selected agency has a single \"all counties\" fips code, auto-fill\n // the field so the consumer doesn't have to render the county select.\n const fipsCodes = liveSelectedAgency?.fipsCodes ?? []\n const singleAllCountiesFipsCode =\n fipsCodes.length === 1 && !fipsCodes[0]?.county?.length ? (fipsCodes[0]?.code ?? null) : null\n useEffect(() => {\n if (singleAllCountiesFipsCode) {\n formMethods.setValue('fipsCode', singleAllCountiesFipsCode)\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [singleAllCountiesFipsCode])\n\n const createGarnishmentMutation = useGarnishmentsCreateMutation()\n const updateGarnishmentMutation = useGarnishmentsUpdateMutation()\n const isPending = createGarnishmentMutation.isPending || updateGarnishmentMutation.isPending\n\n const {\n baseSubmitHandler,\n error: submitError,\n setError: setSubmitError,\n } = useBaseSubmit('ChildSupportGarnishmentForm')\n\n const errorHandling = composeErrorHandler(\n isCreateMode ? [agencyDataQuery] : [agencyDataQuery, garnishmentsListQuery],\n { submitError, setSubmitError },\n )\n\n // ── Derived data exposed on the ready branch ─────────────────────────\n\n const agencies: StateFieldEntry[] = useMemo(\n () =>\n agencyList.map(a => ({\n state: a.state ?? '',\n name: a.name ?? a.state ?? '',\n manualPaymentRequired: a.manualPaymentRequired ?? false,\n })),\n [agencyList],\n )\n\n const counties: CountyEntry[] = useMemo(\n () =>\n (liveSelectedAgency?.fipsCodes ?? [])\n .filter(f => typeof f.code === 'string')\n .map(f => ({ fipsCode: f.code as string, county: f.county ?? null })),\n [liveSelectedAgency],\n )\n\n const requiredAttrKeys = useMemo(\n () => getRequiredAttrKeys(liveSelectedAgency),\n [liveSelectedAgency],\n )\n\n const hasSelectableCounties =\n counties.length > 1 || (counties.length === 1 && singleAllCountiesFipsCode == null)\n\n // ── Metadata + field-options wiring ─────────────────────────────────\n\n const baseMetadata = useDeriveFieldsMetadata(metadataConfig, formMethods.control)\n const stateOptions = agencies.map(a => ({ value: a.state, label: a.name }))\n const countyOptions = counties.map(c => ({\n value: c.fipsCode,\n label: c.county ?? c.fipsCode,\n }))\n\n const fieldsMetadata = {\n state: withOptions(baseMetadata.state, stateOptions, agencies),\n fipsCode: withOptions(baseMetadata.fipsCode, countyOptions, counties),\n caseNumber: baseMetadata.caseNumber,\n orderNumber: baseMetadata.orderNumber,\n remittanceNumber: baseMetadata.remittanceNumber,\n payPeriodMaximum: baseMetadata.payPeriodMaximum,\n amount: baseMetadata.amount,\n paymentPeriod: withOptions(\n baseMetadata.paymentPeriod,\n [...PAYMENT_PERIOD_OPTIONS],\n [...PAYMENT_PERIOD_ENTRIES],\n ),\n }\n\n // ── Submit ───────────────────────────────────────────────────────────\n\n const onSubmit = async (): Promise<HookSubmitResult<Garnishment> | undefined> => {\n let submitResult: HookSubmitResult<Garnishment> | undefined\n\n await new Promise<void>(resolve => {\n void formMethods.handleSubmit(\n async (data: ChildSupportGarnishmentFormOutputs) => {\n await baseSubmitHandler(data, async payload => {\n const childSupport = {\n state: payload.state,\n paymentPeriod: payload.paymentPeriod,\n fipsCode: payload.fipsCode,\n // Empty strings collapse to null so the API persists \"no value\n // declared\" rather than an empty case number.\n caseNumber: payload.caseNumber || null,\n orderNumber: payload.orderNumber || null,\n remittanceNumber: payload.remittanceNumber || null,\n }\n\n const description = `Child Support - ${childSupport.caseNumber ?? ''}`\n const amountStr = String(payload.amount)\n const payPeriodMaximumStr =\n payload.payPeriodMaximum > 0 ? String(payload.payPeriodMaximum) : null\n\n const requestBody = {\n active: true,\n amount: amountStr,\n description,\n courtOrdered: true,\n garnishmentType: 'child_support' as GarnishmentType,\n times: null,\n deductAsPercentage: true,\n payPeriodMaximum: payPeriodMaximumStr,\n recurring: true,\n childSupport,\n }\n\n let updated: Garnishment | undefined\n\n if (isCreateMode) {\n const result = await createGarnishmentMutation.mutateAsync({\n request: { employeeId, garnishmentRequest: requestBody },\n })\n updated = result.garnishment\n } else {\n if (!fetchedDeduction) {\n throw new SDKInternalError(\n 'Cannot update child-support deduction: no matching garnishment on file',\n )\n }\n const result = await updateGarnishmentMutation.mutateAsync({\n request: {\n garnishmentId: fetchedDeduction.uuid,\n updateGarnishmentRequest: {\n ...requestBody,\n version: fetchedDeduction.version as string,\n },\n },\n })\n updated = result.garnishment\n }\n\n if (!updated) {\n throw new SDKInternalError(\n isCreateMode\n ? 'Child-support deduction creation failed'\n : 'Child-support deduction update failed',\n )\n }\n\n submitResult = {\n mode: isCreateMode ? 'create' : 'update',\n data: updated,\n }\n })\n resolve()\n },\n () => {\n resolve()\n },\n )()\n })\n\n return submitResult\n }\n\n const hookFormInternals = useHookFormInternals(formMethods)\n\n if (agencyDataQuery.isLoading) {\n return { isLoading: true as const, errorHandling }\n }\n if (!isCreateMode && garnishmentsListQuery.isLoading) {\n return { isLoading: true as const, errorHandling }\n }\n\n return {\n isLoading: false as const,\n data: {\n agencies,\n counties,\n deduction: fetchedDeduction,\n },\n status: {\n isPending,\n mode: isCreateMode ? 'create' : 'update',\n selectedAgency: liveSelectedAgency,\n isManualPaymentRequired: liveSelectedAgency?.manualPaymentRequired ?? false,\n requiredAttrKeys,\n },\n actions: { onSubmit },\n errorHandling,\n form: {\n Fields: {\n State: StateField,\n FipsCode: hasSelectableCounties ? FipsCodeField : undefined,\n CaseNumber: requiredAttrKeys.has('case_number') ? CaseNumberField : undefined,\n OrderNumber: requiredAttrKeys.has('order_number') ? OrderNumberField : undefined,\n RemittanceNumber: requiredAttrKeys.has('remittance_number')\n ? RemittanceNumberField\n : undefined,\n PayPeriodMaximum: PayPeriodMaximumField,\n Amount: AmountField,\n PaymentPeriod: PaymentPeriodField,\n },\n fieldsMetadata,\n hookFormInternals,\n getFormSubmissionValues: createGetFormSubmissionValues(formMethods, schema),\n },\n }\n}\n\nexport type ChildSupportGarnishmentFormFieldsMetadata =\n UseChildSupportGarnishmentFormReady['form']['fieldsMetadata']\nexport type ChildSupportGarnishmentFormFieldsType =\n UseChildSupportGarnishmentFormReady['form']['Fields']\n"],"names":["PAYMENT_PERIOD_OPTIONS","PaymentPeriod","PAYMENT_PERIOD_ENTRIES","useChildSupportGarnishmentForm","employeeId","garnishmentId","partnerDefaults","validationMode","shouldFocusError","isCreateMode","schemaMode","agencyDataQuery","useGarnishmentsGetChildSupportData","agencyList","useMemo","garnishmentsListQuery","useGarnishmentsList","fetchedDeduction","g","resolvedDefaults","schema","metadataConfig","createChildSupportGarnishmentFormSchema","formMethods","useForm","zodResolver","liveWatchedState","useWatch","liveSelectedAgency","a","previousWatchedStateRef","useRef","useEffect","previous","fipsCodes","singleAllCountiesFipsCode","createGarnishmentMutation","useGarnishmentsCreateMutation","updateGarnishmentMutation","useGarnishmentsUpdateMutation","isPending","baseSubmitHandler","submitError","setSubmitError","useBaseSubmit","errorHandling","composeErrorHandler","agencies","counties","f","requiredAttrKeys","getRequiredAttrKeys","hasSelectableCounties","baseMetadata","useDeriveFieldsMetadata","stateOptions","countyOptions","c","fieldsMetadata","withOptions","onSubmit","submitResult","resolve","data","payload","childSupport","description","amountStr","payPeriodMaximumStr","requestBody","updated","SDKInternalError","hookFormInternals","useHookFormInternals","StateField","FipsCodeField","CaseNumberField","OrderNumberField","RemittanceNumberField","PayPeriodMaximumField","AmountField","PaymentPeriodField","createGetFormSubmissionValues"],"mappings":";;;;;;;;;;;;;;;;;AA+CA,MAAMA,KAAyB;AAAA,EAC7B,EAAE,OAAOC,EAAc,WAAW,OAAOA,EAAc,UAAA;AAAA,EACvD,EAAE,OAAOA,EAAc,gBAAgB,OAAOA,EAAc,eAAA;AAAA,EAC5D,EAAE,OAAOA,EAAc,eAAe,OAAOA,EAAc,cAAA;AAAA,EAC3D,EAAE,OAAOA,EAAc,SAAS,OAAOA,EAAc,QAAA;AACvD,GAEMC,KAAyB;AAAA,EAC7BD,EAAc;AAAA,EACdA,EAAc;AAAA,EACdA,EAAc;AAAA,EACdA,EAAc;AAChB;AAiEO,SAASE,GAA+B;AAAA,EAC7C,YAAAC;AAAA,EACA,eAAAC;AAAA,EACA,eAAeC;AAAA,EACf,gBAAAC,IAAiB;AAAA,EACjB,kBAAAC,IAAmB;AACrB,GAA8E;AAC5E,QAAMC,IAAe,CAACJ,GAChBK,IAAaD,IAAe,WAAW,UAGvCE,IAAkBC,GAAmC,EAAE,GACvDC,IAAaC;AAAA,IACjB,MAAMH,EAAgB,MAAM,kBAAkB,YAAY,CAAA;AAAA,IAC1D,CAACA,EAAgB,IAAI;AAAA,EAAA,GAKjBI,IAAwBC,GAAoB,EAAE,YAAAZ,EAAA,GAAc,EAAE,SAAS,CAACK,GAAc,GACtFQ,IAAmBH,EAAQ,MAC3BL,IAAqB,OAClBM,EAAsB,MAAM,cAAc,KAAK,OAAKG,EAAE,SAASb,CAAa,KAAK,MACvF,CAACI,GAAcJ,GAAeU,EAAsB,IAAI,CAAC,GAEtDI,IAAoDL;AAAA,IACxD,OAAO;AAAA,MACL,OAAOG,GAAkB,cAAc,SAASX,GAAiB,SAAS;AAAA,MAC1E,UAAUW,GAAkB,cAAc,YAAYX,GAAiB,YAAY;AAAA,MACnF,YAAYW,GAAkB,cAAc,cAAcX,GAAiB,cAAc;AAAA,MACzF,aACEW,GAAkB,cAAc,eAAeX,GAAiB,eAAe;AAAA,MACjF,kBACEW,GAAkB,cAAc,oBAAoBX,GAAiB,oBAAoB;AAAA,MAC3F,QAAQW,GAAkB,SACtB,OAAOA,EAAiB,MAAM,IAC7BX,GAAiB,UAAU;AAAA,MAChC,kBAAkBW,GAAkB,mBAChC,OAAOA,EAAiB,gBAAgB,IACvCX,GAAiB,oBAAoB;AAAA,MAC1C,eACGW,GAAkB,cAAc,iBACjCX,GAAiB,iBACjBL,EAAc;AAAA,IAAA;AAAA,IAElB,CAACgB,GAAkBX,CAAe;AAAA,EAAA,GAQ9B,CAACc,GAAQC,CAAc,IAAIP;AAAA,IAC/B,MAAMQ,GAAwC,EAAE,MAAMZ,GAAY,YAAAG,GAAY;AAAA,IAC9E,CAACH,GAAYG,CAAU;AAAA,EAAA,GAGnBU,IAAcC,GAIlB;AAAA,IACA,UAAUC,GAAYL,CAAM;AAAA,IAC5B,MAAMb;AAAA,IACN,kBAAAC;AAAA,IACA,eAAeW;AAAA,IACf,QAAQA;AAAA,IACR,cAAc,EAAE,iBAAiB,GAAA;AAAA,EAAK,CACvC,GAEKO,IAAmBC,GAAS,EAAE,SAASJ,EAAY,SAAS,MAAM,SAAS,GAC3EK,IAAqBd;AAAA,IACzB,MAAMD,EAAW,KAAK,OAAKgB,EAAE,UAAUH,CAAgB,KAAK;AAAA,IAC5D,CAACb,GAAYa,CAAgB;AAAA,EAAA,GAUzBI,IAA0BC,EAAsB,IAAI;AAC1D,EAAAC,EAAU,MAAM;AACd,UAAMC,IAAWH,EAAwB;AAGzC,IAFAA,EAAwB,UAAUJ,GAE9BO,MAAa,QAGbA,MAAa,MACbA,MAAaP,MACjBH,EAAY,SAAS,cAAc,EAAE,GACrCA,EAAY,SAAS,eAAe,EAAE,GACtCA,EAAY,SAAS,oBAAoB,EAAE;AAAA,EAE7C,GAAG,CAACG,CAAgB,CAAC;AAIrB,QAAMQ,IAAYN,GAAoB,aAAa,CAAA,GAC7CO,IACJD,EAAU,WAAW,KAAK,CAACA,EAAU,CAAC,GAAG,QAAQ,SAAUA,EAAU,CAAC,GAAG,QAAQ,OAAQ;AAC3F,EAAAF,EAAU,MAAM;AACd,IAAIG,KACFZ,EAAY,SAAS,YAAYY,CAAyB;AAAA,EAG9D,GAAG,CAACA,CAAyB,CAAC;AAE9B,QAAMC,IAA4BC,GAAA,GAC5BC,IAA4BC,GAAA,GAC5BC,IAAYJ,EAA0B,aAAaE,EAA0B,WAE7E;AAAA,IACJ,mBAAAG;AAAA,IACA,OAAOC;AAAA,IACP,UAAUC;AAAA,EAAA,IACRC,GAAc,6BAA6B,GAEzCC,IAAgBC;AAAA,IACpBrC,IAAe,CAACE,CAAe,IAAI,CAACA,GAAiBI,CAAqB;AAAA,IAC1E,EAAE,aAAA2B,GAAa,gBAAAC,EAAA;AAAA,EAAe,GAK1BI,IAA8BjC;AAAA,IAClC,MACED,EAAW,IAAI,CAAAgB,OAAM;AAAA,MACnB,OAAOA,EAAE,SAAS;AAAA,MAClB,MAAMA,EAAE,QAAQA,EAAE,SAAS;AAAA,MAC3B,uBAAuBA,EAAE,yBAAyB;AAAA,IAAA,EAClD;AAAA,IACJ,CAAChB,CAAU;AAAA,EAAA,GAGPmC,IAA0BlC;AAAA,IAC9B,OACGc,GAAoB,aAAa,IAC/B,OAAO,CAAAqB,MAAK,OAAOA,EAAE,QAAS,QAAQ,EACtC,IAAI,CAAAA,OAAM,EAAE,UAAUA,EAAE,MAAgB,QAAQA,EAAE,UAAU,KAAA,EAAO;AAAA,IACxE,CAACrB,CAAkB;AAAA,EAAA,GAGfsB,IAAmBpC;AAAA,IACvB,MAAMqC,GAAoBvB,CAAkB;AAAA,IAC5C,CAACA,CAAkB;AAAA,EAAA,GAGfwB,IACJJ,EAAS,SAAS,KAAMA,EAAS,WAAW,KAAKb,KAA6B,MAI1EkB,IAAeC,GAAwBjC,GAAgBE,EAAY,OAAO,GAC1EgC,IAAeR,EAAS,IAAI,CAAAlB,OAAM,EAAE,OAAOA,EAAE,OAAO,OAAOA,EAAE,KAAA,EAAO,GACpE2B,IAAgBR,EAAS,IAAI,CAAAS,OAAM;AAAA,IACvC,OAAOA,EAAE;AAAA,IACT,OAAOA,EAAE,UAAUA,EAAE;AAAA,EAAA,EACrB,GAEIC,IAAiB;AAAA,IACrB,OAAOC,EAAYN,EAAa,OAAOE,GAAcR,CAAQ;AAAA,IAC7D,UAAUY,EAAYN,EAAa,UAAUG,GAAeR,CAAQ;AAAA,IACpE,YAAYK,EAAa;AAAA,IACzB,aAAaA,EAAa;AAAA,IAC1B,kBAAkBA,EAAa;AAAA,IAC/B,kBAAkBA,EAAa;AAAA,IAC/B,QAAQA,EAAa;AAAA,IACrB,eAAeM;AAAA,MACbN,EAAa;AAAA,MACb,CAAC,GAAGrD,EAAsB;AAAA,MAC1B,CAAC,GAAGE,EAAsB;AAAA,IAAA;AAAA,EAC5B,GAKI0D,IAAW,YAAgE;AAC/E,QAAIC;AAEJ,iBAAM,IAAI,QAAc,CAAAC,MAAW;AACjC,MAAKvC,EAAY;AAAA,QACf,OAAOwC,MAA6C;AAClD,gBAAMtB,EAAkBsB,GAAM,OAAMC,MAAW;AAC7C,kBAAMC,IAAe;AAAA,cACnB,OAAOD,EAAQ;AAAA,cACf,eAAeA,EAAQ;AAAA,cACvB,UAAUA,EAAQ;AAAA;AAAA;AAAA,cAGlB,YAAYA,EAAQ,cAAc;AAAA,cAClC,aAAaA,EAAQ,eAAe;AAAA,cACpC,kBAAkBA,EAAQ,oBAAoB;AAAA,YAAA,GAG1CE,IAAc,mBAAmBD,EAAa,cAAc,EAAE,IAC9DE,IAAY,OAAOH,EAAQ,MAAM,GACjCI,IACJJ,EAAQ,mBAAmB,IAAI,OAAOA,EAAQ,gBAAgB,IAAI,MAE9DK,IAAc;AAAA,cAClB,QAAQ;AAAA,cACR,QAAQF;AAAA,cACR,aAAAD;AAAA,cACA,cAAc;AAAA,cACd,iBAAiB;AAAA,cACjB,OAAO;AAAA,cACP,oBAAoB;AAAA,cACpB,kBAAkBE;AAAA,cAClB,WAAW;AAAA,cACX,cAAAH;AAAA,YAAA;AAGF,gBAAIK;AAEJ,gBAAI7D;AAIF,cAAA6D,KAHe,MAAMlC,EAA0B,YAAY;AAAA,gBACzD,SAAS,EAAE,YAAAhC,GAAY,oBAAoBiE,EAAA;AAAA,cAAY,CACxD,GACgB;AAAA,iBACZ;AACL,kBAAI,CAACpD;AACH,sBAAM,IAAIsD;AAAA,kBACR;AAAA,gBAAA;AAYJ,cAAAD,KATe,MAAMhC,EAA0B,YAAY;AAAA,gBACzD,SAAS;AAAA,kBACP,eAAerB,EAAiB;AAAA,kBAChC,0BAA0B;AAAA,oBACxB,GAAGoD;AAAA,oBACH,SAASpD,EAAiB;AAAA,kBAAA;AAAA,gBAC5B;AAAA,cACF,CACD,GACgB;AAAA,YACnB;AAEA,gBAAI,CAACqD;AACH,oBAAM,IAAIC;AAAA,gBACR9D,IACI,4CACA;AAAA,cAAA;AAIR,YAAAoD,IAAe;AAAA,cACb,MAAMpD,IAAe,WAAW;AAAA,cAChC,MAAM6D;AAAA,YAAA;AAAA,UAEV,CAAC,GACDR,EAAA;AAAA,QACF;AAAA,QACA,MAAM;AACJ,UAAAA,EAAA;AAAA,QACF;AAAA,MAAA,EACF;AAAA,IACF,CAAC,GAEMD;AAAA,EACT,GAEMW,IAAoBC,GAAqBlD,CAAW;AAE1D,SAAIZ,EAAgB,YACX,EAAE,WAAW,IAAe,eAAAkC,EAAA,IAEjC,CAACpC,KAAgBM,EAAsB,YAClC,EAAE,WAAW,IAAe,eAAA8B,EAAA,IAG9B;AAAA,IACL,WAAW;AAAA,IACX,MAAM;AAAA,MACJ,UAAAE;AAAA,MACA,UAAAC;AAAA,MACA,WAAW/B;AAAA,IAAA;AAAA,IAEb,QAAQ;AAAA,MACN,WAAAuB;AAAA,MACA,MAAM/B,IAAe,WAAW;AAAA,MAChC,gBAAgBmB;AAAA,MAChB,yBAAyBA,GAAoB,yBAAyB;AAAA,MACtE,kBAAAsB;AAAA,IAAA;AAAA,IAEF,SAAS,EAAE,UAAAU,EAAA;AAAA,IACX,eAAAf;AAAA,IACA,MAAM;AAAA,MACJ,QAAQ;AAAA,QACN,OAAO6B;AAAA,QACP,UAAUtB,IAAwBuB,KAAgB;AAAA,QAClD,YAAYzB,EAAiB,IAAI,aAAa,IAAI0B,KAAkB;AAAA,QACpE,aAAa1B,EAAiB,IAAI,cAAc,IAAI2B,KAAmB;AAAA,QACvE,kBAAkB3B,EAAiB,IAAI,mBAAmB,IACtD4B,KACA;AAAA,QACJ,kBAAkBC;AAAA,QAClB,QAAQC;AAAA,QACR,eAAeC;AAAA,MAAA;AAAA,MAEjB,gBAAAvB;AAAA,MACA,mBAAAc;AAAA,MACA,yBAAyBU,GAA8B3D,GAAaH,CAAM;AAAA,IAAA;AAAA,EAC5E;AAEJ;"}
1
+ {"version":3,"file":"useChildSupportGarnishmentForm.js","sources":["../../../../../../src/components/Employee/Deductions/shared/useChildSupportGarnishmentForm/useChildSupportGarnishmentForm.tsx"],"sourcesContent":["import { useEffect, useMemo, useRef } from 'react'\nimport { useForm, useWatch } from 'react-hook-form'\nimport type { UseFormProps } from 'react-hook-form'\nimport { zodResolver } from '@hookform/resolvers/zod'\nimport {\n type Garnishment,\n type GarnishmentType,\n} from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment'\nimport type { Agencies } from '@gusto/embedded-api-v-2025-11-15/models/components/childsupportdata'\nimport { PaymentPeriod } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishmentchildsupport'\nimport { useGarnishmentsCreateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsCreate'\nimport { useGarnishmentsUpdateMutation } from '@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsUpdate'\nimport { useGarnishmentsList } from '@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsList'\nimport { useGarnishmentsGetChildSupportData } from '@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsGetChildSupportData'\nimport {\n createChildSupportGarnishmentFormSchema,\n getRequiredAttrKeys,\n type ChildSupportGarnishmentFormData,\n type ChildSupportGarnishmentFormOutputs,\n type SupportedRequiredAttrKey,\n} from './childSupportGarnishmentFormSchema'\nimport {\n StateField,\n FipsCodeField,\n CaseNumberField,\n OrderNumberField,\n RemittanceNumberField,\n PayPeriodMaximumField,\n AmountField,\n PaymentPeriodField,\n type CountyEntry,\n type StateFieldEntry,\n} from './fields'\nimport { useDeriveFieldsMetadata } from '@/partner-hook-utils/form/useDeriveFieldsMetadata'\nimport { useHookFormInternals } from '@/partner-hook-utils/form/useHookFormInternals'\nimport { createGetFormSubmissionValues } from '@/partner-hook-utils/form/getFormSubmissionValues'\nimport { withOptions } from '@/partner-hook-utils/form/withOptions'\nimport { composeErrorHandler } from '@/partner-hook-utils/composeErrorHandler'\nimport type {\n BaseFormHookReady,\n FieldsMetadata,\n HookLoadingResult,\n HookSubmitResult,\n} from '@/partner-hook-utils/types'\nimport { useBaseSubmit } from '@/components/Base/useBaseSubmit'\nimport { SDKInternalError } from '@/types/sdkError'\n\nconst PAYMENT_PERIOD_OPTIONS = [\n { value: PaymentPeriod.EveryWeek, label: PaymentPeriod.EveryWeek },\n { value: PaymentPeriod.EveryOtherWeek, label: PaymentPeriod.EveryOtherWeek },\n { value: PaymentPeriod.TwicePerMonth, label: PaymentPeriod.TwicePerMonth },\n { value: PaymentPeriod.Monthly, label: PaymentPeriod.Monthly },\n] as const\n\nconst PAYMENT_PERIOD_ENTRIES = [\n PaymentPeriod.EveryWeek,\n PaymentPeriod.EveryOtherWeek,\n PaymentPeriod.TwicePerMonth,\n PaymentPeriod.Monthly,\n] as const\n\nexport interface UseChildSupportGarnishmentFormProps {\n employeeId: string\n /**\n * When set, loads that garnishment via the list query and updates it (PUT).\n * When omitted, the form is in create mode (POST).\n */\n garnishmentId?: string\n defaultValues?: Partial<ChildSupportGarnishmentFormData>\n validationMode?: UseFormProps['mode']\n shouldFocusError?: boolean\n}\n\nexport interface ChildSupportGarnishmentFormFields {\n State: typeof StateField\n /** Only available when the selected agency has more than one fips code, or the\n * sole code is county-scoped (not an \"all counties\" auto-pick). */\n FipsCode: typeof FipsCodeField | undefined\n /** Only available when the selected agency requires `case_number`. */\n CaseNumber: typeof CaseNumberField | undefined\n /** Only available when the selected agency requires `order_number`. */\n OrderNumber: typeof OrderNumberField | undefined\n /** Only available when the selected agency requires `remittance_number`. */\n RemittanceNumber: typeof RemittanceNumberField | undefined\n PayPeriodMaximum: typeof PayPeriodMaximumField\n Amount: typeof AmountField\n PaymentPeriod: typeof PaymentPeriodField\n}\n\nexport interface UseChildSupportGarnishmentFormReady extends BaseFormHookReady<\n FieldsMetadata,\n ChildSupportGarnishmentFormData,\n ChildSupportGarnishmentFormFields\n> {\n data: {\n /** Agencies offered as `State` options; raw entries the consumer can use\n * with `getOptionLabel` for translated names. */\n agencies: StateFieldEntry[]\n /** Counties for the currently selected state. Empty array when no state\n * is selected. */\n counties: CountyEntry[]\n /** The garnishment loaded for update; `null` in create mode. */\n deduction: Garnishment | null\n }\n status: {\n isPending: boolean\n mode: 'create' | 'update'\n /** The agency record matching the currently selected `state`. */\n selectedAgency: Agencies | null\n /** Mirrors `selectedAgency.manualPaymentRequired`; convenient for showing\n * a warning alert. */\n isManualPaymentRequired: boolean\n /** Which `required_attributes` keys the selected agency declares. */\n requiredAttrKeys: ReadonlySet<SupportedRequiredAttrKey>\n }\n actions: {\n onSubmit: () => Promise<HookSubmitResult<Garnishment> | undefined>\n }\n}\n\nexport type UseChildSupportGarnishmentFormResult =\n | HookLoadingResult\n | UseChildSupportGarnishmentFormReady\n\nexport function useChildSupportGarnishmentForm({\n employeeId,\n garnishmentId,\n defaultValues: partnerDefaults,\n validationMode = 'onSubmit',\n shouldFocusError = true,\n}: UseChildSupportGarnishmentFormProps): UseChildSupportGarnishmentFormResult {\n const isCreateMode = !garnishmentId\n const schemaMode = isCreateMode ? 'create' : 'update'\n\n // Agencies + their required-attributes / fips codes come from a single GET.\n const agencyDataQuery = useGarnishmentsGetChildSupportData({})\n const agencyList = useMemo(\n () => agencyDataQuery.data?.childSupportData?.agencies ?? [],\n [agencyDataQuery.data],\n )\n\n // Update mode reads the row from the list endpoint (the garnishments API\n // has no single-row GET).\n const garnishmentsListQuery = useGarnishmentsList({ employeeId }, { enabled: !isCreateMode })\n const fetchedDeduction = useMemo(() => {\n if (isCreateMode) return null\n return garnishmentsListQuery.data?.garnishments?.find(g => g.uuid === garnishmentId) ?? null\n }, [isCreateMode, garnishmentId, garnishmentsListQuery.data])\n\n const resolvedDefaults: ChildSupportGarnishmentFormData = useMemo(\n () => ({\n state: fetchedDeduction?.childSupport?.state ?? partnerDefaults?.state ?? '',\n fipsCode: fetchedDeduction?.childSupport?.fipsCode ?? partnerDefaults?.fipsCode ?? '',\n caseNumber: fetchedDeduction?.childSupport?.caseNumber ?? partnerDefaults?.caseNumber ?? '',\n orderNumber:\n fetchedDeduction?.childSupport?.orderNumber ?? partnerDefaults?.orderNumber ?? '',\n remittanceNumber:\n fetchedDeduction?.childSupport?.remittanceNumber ?? partnerDefaults?.remittanceNumber ?? '',\n amount: fetchedDeduction?.amount\n ? Number(fetchedDeduction.amount)\n : (partnerDefaults?.amount ?? 0),\n payPeriodMaximum: fetchedDeduction?.payPeriodMaximum\n ? Number(fetchedDeduction.payPeriodMaximum)\n : (partnerDefaults?.payPeriodMaximum ?? 0),\n paymentPeriod:\n (fetchedDeduction?.childSupport?.paymentPeriod as PaymentPeriod | undefined) ??\n partnerDefaults?.paymentPeriod ??\n PaymentPeriod.Monthly,\n }),\n [fetchedDeduction, partnerDefaults],\n )\n\n // Pass the full agency list so requiredness for the agency-attribute fields\n // (`caseNumber`, `orderNumber`, `remittanceNumber`) is derived dynamically\n // from the form's `state` value. The schema doesn't need to rebuild when the\n // user changes states — the predicate runs at validation time and via\n // `useDeriveFieldsMetadata` for the (optional) label.\n const [schema, metadataConfig] = useMemo(\n () => createChildSupportGarnishmentFormSchema({ mode: schemaMode, agencyList }),\n [schemaMode, agencyList],\n )\n\n const formMethods = useForm<\n ChildSupportGarnishmentFormData,\n unknown,\n ChildSupportGarnishmentFormOutputs\n >({\n resolver: zodResolver(schema),\n mode: validationMode,\n shouldFocusError,\n defaultValues: resolvedDefaults,\n values: resolvedDefaults,\n resetOptions: { keepDirtyValues: true },\n })\n\n const liveWatchedState = useWatch({ control: formMethods.control, name: 'state' })\n const liveSelectedAgency = useMemo(\n () => agencyList.find(a => a.state === liveWatchedState) ?? null,\n [agencyList, liveWatchedState],\n )\n\n // The agency-attribute fields stay in sync with the chosen state: when the\n // user switches states, the previous attribute values would otherwise carry\n // over and potentially submit alongside the wrong agency. The ref tracks\n // the previous value so the wipe only fires on user-driven transitions —\n // NOT on the initial sync when an existing garnishment loads (state moves\n // from '' to e.g. 'AK' as a side effect of `values` updating, which would\n // otherwise clobber the loaded case/order/remittance values).\n const previousWatchedStateRef = useRef<string | null>(null)\n useEffect(() => {\n const previous = previousWatchedStateRef.current\n previousWatchedStateRef.current = liveWatchedState\n // First render (no previous value) → skip the wipe.\n if (previous === null) return\n // Server-side load: previous was '' (initial defaults before the row\n // arrived), now it's the loaded state. That's a sync, not a user toggle.\n if (previous === '') return\n if (previous === liveWatchedState) return\n formMethods.setValue('caseNumber', '')\n formMethods.setValue('orderNumber', '')\n formMethods.setValue('remittanceNumber', '')\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [liveWatchedState])\n\n // When the selected agency has a single \"all counties\" fips code, auto-fill\n // the field so the consumer doesn't have to render the county select.\n const fipsCodes = liveSelectedAgency?.fipsCodes ?? []\n const singleAllCountiesFipsCode =\n fipsCodes.length === 1 && !fipsCodes[0]?.county?.length ? (fipsCodes[0]?.code ?? null) : null\n useEffect(() => {\n if (singleAllCountiesFipsCode) {\n formMethods.setValue('fipsCode', singleAllCountiesFipsCode)\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [singleAllCountiesFipsCode])\n\n const createGarnishmentMutation = useGarnishmentsCreateMutation()\n const updateGarnishmentMutation = useGarnishmentsUpdateMutation()\n const isPending = createGarnishmentMutation.isPending || updateGarnishmentMutation.isPending\n\n const {\n baseSubmitHandler,\n error: submitError,\n setError: setSubmitError,\n } = useBaseSubmit('ChildSupportGarnishmentForm')\n\n const errorHandling = composeErrorHandler(\n isCreateMode ? [agencyDataQuery] : [agencyDataQuery, garnishmentsListQuery],\n { submitError, setSubmitError },\n )\n\n // ── Derived data exposed on the ready branch ─────────────────────────\n\n const agencies: StateFieldEntry[] = useMemo(\n () =>\n agencyList.map(a => ({\n state: a.state ?? '',\n name: a.name ?? a.state ?? '',\n manualPaymentRequired: a.manualPaymentRequired ?? false,\n })),\n [agencyList],\n )\n\n const counties: CountyEntry[] = useMemo(\n () =>\n (liveSelectedAgency?.fipsCodes ?? [])\n .filter(f => typeof f.code === 'string')\n .map(f => ({ fipsCode: f.code as string, county: f.county ?? null })),\n [liveSelectedAgency],\n )\n\n const requiredAttrKeys = useMemo(\n () => getRequiredAttrKeys(liveSelectedAgency),\n [liveSelectedAgency],\n )\n\n const hasSelectableCounties =\n counties.length > 1 || (counties.length === 1 && singleAllCountiesFipsCode == null)\n\n // ── Metadata + field-options wiring ─────────────────────────────────\n\n const baseMetadata = useDeriveFieldsMetadata(metadataConfig, formMethods.control)\n const stateOptions = agencies.map(a => ({ value: a.state, label: a.name }))\n const countyOptions = counties.map(c => ({\n value: c.fipsCode,\n label: c.county ?? c.fipsCode,\n }))\n\n const fieldsMetadata = {\n state: withOptions(baseMetadata.state, stateOptions, agencies),\n fipsCode: withOptions(baseMetadata.fipsCode, countyOptions, counties),\n caseNumber: baseMetadata.caseNumber,\n orderNumber: baseMetadata.orderNumber,\n remittanceNumber: baseMetadata.remittanceNumber,\n payPeriodMaximum: baseMetadata.payPeriodMaximum,\n amount: baseMetadata.amount,\n paymentPeriod: withOptions(\n baseMetadata.paymentPeriod,\n [...PAYMENT_PERIOD_OPTIONS],\n [...PAYMENT_PERIOD_ENTRIES],\n ),\n }\n\n // ── Submit ───────────────────────────────────────────────────────────\n\n const onSubmit = async (): Promise<HookSubmitResult<Garnishment> | undefined> => {\n let submitResult: HookSubmitResult<Garnishment> | undefined\n\n await new Promise<void>(resolve => {\n void formMethods.handleSubmit(\n async (data: ChildSupportGarnishmentFormOutputs) => {\n await baseSubmitHandler(data, async payload => {\n const childSupport = {\n state: payload.state,\n paymentPeriod: payload.paymentPeriod,\n fipsCode: payload.fipsCode,\n // Empty strings collapse to null so the API persists \"no value\n // declared\" rather than an empty case number.\n caseNumber: payload.caseNumber || null,\n orderNumber: payload.orderNumber || null,\n remittanceNumber: payload.remittanceNumber || null,\n }\n\n const description = `Child Support - ${childSupport.caseNumber ?? ''}`\n const amountStr = String(payload.amount)\n const payPeriodMaximumStr =\n payload.payPeriodMaximum > 0 ? String(payload.payPeriodMaximum) : null\n\n const requestBody = {\n active: true,\n amount: amountStr,\n description,\n courtOrdered: true,\n garnishmentType: 'child_support' as GarnishmentType,\n times: null,\n deductAsPercentage: true,\n payPeriodMaximum: payPeriodMaximumStr,\n recurring: true,\n childSupport,\n }\n\n let updated: Garnishment | undefined\n\n if (isCreateMode) {\n const result = await createGarnishmentMutation.mutateAsync({\n request: { employeeId, garnishmentRequest: requestBody },\n })\n updated = result.garnishment\n } else {\n if (!fetchedDeduction) {\n throw new SDKInternalError(\n 'Cannot update child-support deduction: no matching garnishment on file',\n )\n }\n const result = await updateGarnishmentMutation.mutateAsync({\n request: {\n garnishmentId: fetchedDeduction.uuid,\n updateGarnishmentRequest: {\n ...requestBody,\n version: fetchedDeduction.version as string,\n },\n },\n })\n updated = result.garnishment\n }\n\n if (!updated) {\n throw new SDKInternalError(\n isCreateMode\n ? 'Child-support deduction creation failed'\n : 'Child-support deduction update failed',\n )\n }\n\n submitResult = {\n mode: isCreateMode ? 'create' : 'update',\n data: updated,\n }\n })\n resolve()\n },\n () => {\n resolve()\n },\n )()\n })\n\n return submitResult\n }\n\n const hookFormInternals = useHookFormInternals(formMethods)\n\n if (agencyDataQuery.isLoading) {\n return { isLoading: true as const, errorHandling }\n }\n if (!isCreateMode && garnishmentsListQuery.isLoading) {\n return { isLoading: true as const, errorHandling }\n }\n\n return {\n isLoading: false as const,\n data: {\n agencies,\n counties,\n deduction: fetchedDeduction,\n },\n status: {\n isPending,\n mode: isCreateMode ? 'create' : 'update',\n selectedAgency: liveSelectedAgency,\n isManualPaymentRequired: liveSelectedAgency?.manualPaymentRequired ?? false,\n requiredAttrKeys,\n },\n actions: { onSubmit },\n errorHandling,\n form: {\n Fields: {\n State: StateField,\n FipsCode: hasSelectableCounties ? FipsCodeField : undefined,\n CaseNumber: requiredAttrKeys.has('case_number') ? CaseNumberField : undefined,\n OrderNumber: requiredAttrKeys.has('order_number') ? OrderNumberField : undefined,\n RemittanceNumber: requiredAttrKeys.has('remittance_number')\n ? RemittanceNumberField\n : undefined,\n PayPeriodMaximum: PayPeriodMaximumField,\n Amount: AmountField,\n PaymentPeriod: PaymentPeriodField,\n },\n fieldsMetadata,\n hookFormInternals,\n getFormSubmissionValues: createGetFormSubmissionValues(formMethods, schema),\n },\n }\n}\n\nexport type ChildSupportGarnishmentFormFieldsMetadata =\n UseChildSupportGarnishmentFormReady['form']['fieldsMetadata']\nexport type ChildSupportGarnishmentFormFieldsType =\n UseChildSupportGarnishmentFormReady['form']['Fields']\n"],"names":["PAYMENT_PERIOD_OPTIONS","PaymentPeriod","PAYMENT_PERIOD_ENTRIES","useChildSupportGarnishmentForm","employeeId","garnishmentId","partnerDefaults","validationMode","shouldFocusError","isCreateMode","schemaMode","agencyDataQuery","useGarnishmentsGetChildSupportData","agencyList","useMemo","garnishmentsListQuery","useGarnishmentsList","fetchedDeduction","g","resolvedDefaults","schema","metadataConfig","createChildSupportGarnishmentFormSchema","formMethods","useForm","zodResolver","liveWatchedState","useWatch","liveSelectedAgency","a","previousWatchedStateRef","useRef","useEffect","previous","fipsCodes","singleAllCountiesFipsCode","createGarnishmentMutation","useGarnishmentsCreateMutation","updateGarnishmentMutation","useGarnishmentsUpdateMutation","isPending","baseSubmitHandler","submitError","setSubmitError","useBaseSubmit","errorHandling","composeErrorHandler","agencies","counties","f","requiredAttrKeys","getRequiredAttrKeys","hasSelectableCounties","baseMetadata","useDeriveFieldsMetadata","stateOptions","countyOptions","c","fieldsMetadata","withOptions","onSubmit","submitResult","resolve","data","payload","childSupport","description","amountStr","payPeriodMaximumStr","requestBody","updated","SDKInternalError","hookFormInternals","useHookFormInternals","StateField","FipsCodeField","CaseNumberField","OrderNumberField","RemittanceNumberField","PayPeriodMaximumField","AmountField","PaymentPeriodField","createGetFormSubmissionValues"],"mappings":"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"}
@@ -1,5 +1,5 @@
1
1
  import { z as e } from "zod";
2
- import { GarnishmentType as a } from "@gusto/embedded-api/models/components/garnishment";
2
+ import { GarnishmentType as a } from "@gusto/embedded-api-v-2025-11-15/models/components/garnishment";
3
3
  import { buildFormSchema as c } from "../../../../../partner-hook-utils/form/buildFormSchema.js";
4
4
  import { coerceNaN as o, coerceStringBoolean as n } from "../../../../../partner-hook-utils/form/preprocessors.js";
5
5
  const r = {
@@ -1 +1 @@
1
- {"version":3,"file":"deductionFormSchema.js","sources":["../../../../../../src/components/Employee/Deductions/shared/useDeductionForm/deductionFormSchema.ts"],"sourcesContent":["import { z } from 'zod'\nimport { GarnishmentType } from '@gusto/embedded-api/models/components/garnishment'\nimport {\n buildFormSchema,\n type RequiredFieldConfig,\n type OptionalFieldsToRequire,\n} from '@/partner-hook-utils/form/buildFormSchema'\nimport { coerceNaN, coerceStringBoolean } from '@/partner-hook-utils/form/preprocessors'\n\n// ── Error codes ────────────────────────────────────────────────────────\n\nexport const DeductionFormErrorCodes = {\n REQUIRED: 'REQUIRED',\n NEGATIVE_AMOUNT: 'NEGATIVE_AMOUNT',\n} as const\n\nexport type DeductionFormErrorCode =\n (typeof DeductionFormErrorCodes)[keyof typeof DeductionFormErrorCodes]\n\n// ── Field validators ───────────────────────────────────────────────────\n\nconst fieldValidators = {\n description: z.string(),\n // Radio groups deliver `'true'`/`'false'` strings; coerce to boolean for the\n // submit payload. Matches the useJobForm pattern.\n recurring: z.preprocess(coerceStringBoolean, z.boolean()),\n deductAsPercentage: z.preprocess(coerceStringBoolean, z.boolean()),\n // Currency / percent input. NumberInputField writes `number | undefined`;\n // coerce to a numeric so .min(0) runs reliably. The number-to-string\n // conversion the garnishment API expects happens inside the hook's onSubmit,\n // so the form value stays a number end-to-end (input === output).\n amount: z.preprocess(\n coerceNaN(0),\n z.number().min(0, { message: DeductionFormErrorCodes.NEGATIVE_AMOUNT }),\n ),\n // Optional caps. The hook drops them to `null` on the wire when 0 — matches\n // the legacy DeductionSchema's \"0 means no cap\" behavior.\n totalAmount: z.preprocess(\n coerceNaN(0),\n z.number().min(0, { message: DeductionFormErrorCodes.NEGATIVE_AMOUNT }),\n ),\n annualMaximum: z.preprocess(\n coerceNaN(0),\n z.number().min(0, { message: DeductionFormErrorCodes.NEGATIVE_AMOUNT }),\n ),\n // Only used when `courtOrdered: true` — see `excludeFields` below.\n garnishmentType: z.enum(GarnishmentType),\n}\n\nexport type DeductionFormField = keyof typeof fieldValidators\n\nexport type DeductionFormData = {\n [K in keyof typeof fieldValidators]: z.infer<(typeof fieldValidators)[K]>\n}\n\nexport type DeductionFormOutputs = DeductionFormData\n\n// ── Required fields config ─────────────────────────────────────────────\n//\n// `description`, `recurring`, `deductAsPercentage`, `amount` are required by\n// default. `garnishmentType` is required only when present in the shape\n// (court-ordered branch). `totalAmount` and `annualMaximum` are caps the\n// partner can leave blank.\n\nconst requiredFieldsConfig = {\n totalAmount: 'never',\n annualMaximum: 'never',\n} satisfies RequiredFieldConfig<typeof fieldValidators>\n\nexport type DeductionFormOptionalFieldsToRequire = OptionalFieldsToRequire<\n typeof requiredFieldsConfig\n>\n\ninterface DeductionFormSchemaOptions {\n mode?: 'create' | 'update'\n /**\n * Court-ordered garnishments require `garnishmentType` (Federal Tax Lien,\n * Student Loan, etc.). Non-court-ordered \"custom\" deductions don't carry a\n * type — the field is excluded from the schema entirely, matching the legacy\n * GarnishmentForm vs CustomDeductionForm split.\n */\n courtOrdered: boolean\n optionalFieldsToRequire?: DeductionFormOptionalFieldsToRequire\n}\n\nexport function createDeductionFormSchema(options: DeductionFormSchemaOptions) {\n const { mode = 'create', courtOrdered, optionalFieldsToRequire } = options\n\n return buildFormSchema(fieldValidators, {\n requiredFieldsConfig,\n requiredErrorCode: DeductionFormErrorCodes.REQUIRED,\n mode,\n optionalFieldsToRequire,\n excludeFields: courtOrdered ? [] : ['garnishmentType'],\n })\n}\n"],"names":["DeductionFormErrorCodes","fieldValidators","z","coerceStringBoolean","coerceNaN","GarnishmentType","requiredFieldsConfig","createDeductionFormSchema","options","mode","courtOrdered","optionalFieldsToRequire","buildFormSchema"],"mappings":";;;;AAWO,MAAMA,IAA0B;AAAA,EACrC,UAAU;AAAA,EACV,iBAAiB;AACnB,GAOMC,IAAkB;AAAA,EACtB,aAAaC,EAAE,OAAA;AAAA;AAAA;AAAA,EAGf,WAAWA,EAAE,WAAWC,GAAqBD,EAAE,SAAS;AAAA,EACxD,oBAAoBA,EAAE,WAAWC,GAAqBD,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA,EAKjE,QAAQA,EAAE;AAAA,IACRE,EAAU,CAAC;AAAA,IACXF,EAAE,SAAS,IAAI,GAAG,EAAE,SAASF,EAAwB,gBAAA,CAAiB;AAAA,EAAA;AAAA;AAAA;AAAA,EAIxE,aAAaE,EAAE;AAAA,IACbE,EAAU,CAAC;AAAA,IACXF,EAAE,SAAS,IAAI,GAAG,EAAE,SAASF,EAAwB,gBAAA,CAAiB;AAAA,EAAA;AAAA,EAExE,eAAeE,EAAE;AAAA,IACfE,EAAU,CAAC;AAAA,IACXF,EAAE,SAAS,IAAI,GAAG,EAAE,SAASF,EAAwB,gBAAA,CAAiB;AAAA,EAAA;AAAA;AAAA,EAGxE,iBAAiBE,EAAE,KAAKG,CAAe;AACzC,GAiBMC,IAAuB;AAAA,EAC3B,aAAa;AAAA,EACb,eAAe;AACjB;AAkBO,SAASC,EAA0BC,GAAqC;AAC7E,QAAM,EAAE,MAAAC,IAAO,UAAU,cAAAC,GAAc,yBAAAC,MAA4BH;AAEnE,SAAOI,EAAgBX,GAAiB;AAAA,IACtC,sBAAAK;AAAA,IACA,mBAAmBN,EAAwB;AAAA,IAC3C,MAAAS;AAAA,IACA,yBAAAE;AAAA,IACA,eAAeD,IAAe,CAAA,IAAK,CAAC,iBAAiB;AAAA,EAAA,CACtD;AACH;"}
1
+ {"version":3,"file":"deductionFormSchema.js","sources":["../../../../../../src/components/Employee/Deductions/shared/useDeductionForm/deductionFormSchema.ts"],"sourcesContent":["import { z } from 'zod'\nimport { GarnishmentType } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment'\nimport {\n buildFormSchema,\n type RequiredFieldConfig,\n type OptionalFieldsToRequire,\n} from '@/partner-hook-utils/form/buildFormSchema'\nimport { coerceNaN, coerceStringBoolean } from '@/partner-hook-utils/form/preprocessors'\n\n// ── Error codes ────────────────────────────────────────────────────────\n\nexport const DeductionFormErrorCodes = {\n REQUIRED: 'REQUIRED',\n NEGATIVE_AMOUNT: 'NEGATIVE_AMOUNT',\n} as const\n\nexport type DeductionFormErrorCode =\n (typeof DeductionFormErrorCodes)[keyof typeof DeductionFormErrorCodes]\n\n// ── Field validators ───────────────────────────────────────────────────\n\nconst fieldValidators = {\n description: z.string(),\n // Radio groups deliver `'true'`/`'false'` strings; coerce to boolean for the\n // submit payload. Matches the useJobForm pattern.\n recurring: z.preprocess(coerceStringBoolean, z.boolean()),\n deductAsPercentage: z.preprocess(coerceStringBoolean, z.boolean()),\n // Currency / percent input. NumberInputField writes `number | undefined`;\n // coerce to a numeric so .min(0) runs reliably. The number-to-string\n // conversion the garnishment API expects happens inside the hook's onSubmit,\n // so the form value stays a number end-to-end (input === output).\n amount: z.preprocess(\n coerceNaN(0),\n z.number().min(0, { message: DeductionFormErrorCodes.NEGATIVE_AMOUNT }),\n ),\n // Optional caps. The hook drops them to `null` on the wire when 0 — matches\n // the legacy DeductionSchema's \"0 means no cap\" behavior.\n totalAmount: z.preprocess(\n coerceNaN(0),\n z.number().min(0, { message: DeductionFormErrorCodes.NEGATIVE_AMOUNT }),\n ),\n annualMaximum: z.preprocess(\n coerceNaN(0),\n z.number().min(0, { message: DeductionFormErrorCodes.NEGATIVE_AMOUNT }),\n ),\n // Only used when `courtOrdered: true` — see `excludeFields` below.\n garnishmentType: z.enum(GarnishmentType),\n}\n\nexport type DeductionFormField = keyof typeof fieldValidators\n\nexport type DeductionFormData = {\n [K in keyof typeof fieldValidators]: z.infer<(typeof fieldValidators)[K]>\n}\n\nexport type DeductionFormOutputs = DeductionFormData\n\n// ── Required fields config ─────────────────────────────────────────────\n//\n// `description`, `recurring`, `deductAsPercentage`, `amount` are required by\n// default. `garnishmentType` is required only when present in the shape\n// (court-ordered branch). `totalAmount` and `annualMaximum` are caps the\n// partner can leave blank.\n\nconst requiredFieldsConfig = {\n totalAmount: 'never',\n annualMaximum: 'never',\n} satisfies RequiredFieldConfig<typeof fieldValidators>\n\nexport type DeductionFormOptionalFieldsToRequire = OptionalFieldsToRequire<\n typeof requiredFieldsConfig\n>\n\ninterface DeductionFormSchemaOptions {\n mode?: 'create' | 'update'\n /**\n * Court-ordered garnishments require `garnishmentType` (Federal Tax Lien,\n * Student Loan, etc.). Non-court-ordered \"custom\" deductions don't carry a\n * type — the field is excluded from the schema entirely, matching the legacy\n * GarnishmentForm vs CustomDeductionForm split.\n */\n courtOrdered: boolean\n optionalFieldsToRequire?: DeductionFormOptionalFieldsToRequire\n}\n\nexport function createDeductionFormSchema(options: DeductionFormSchemaOptions) {\n const { mode = 'create', courtOrdered, optionalFieldsToRequire } = options\n\n return buildFormSchema(fieldValidators, {\n requiredFieldsConfig,\n requiredErrorCode: DeductionFormErrorCodes.REQUIRED,\n mode,\n optionalFieldsToRequire,\n excludeFields: courtOrdered ? [] : ['garnishmentType'],\n })\n}\n"],"names":["DeductionFormErrorCodes","fieldValidators","z","coerceStringBoolean","coerceNaN","GarnishmentType","requiredFieldsConfig","createDeductionFormSchema","options","mode","courtOrdered","optionalFieldsToRequire","buildFormSchema"],"mappings":";;;;AAWO,MAAMA,IAA0B;AAAA,EACrC,UAAU;AAAA,EACV,iBAAiB;AACnB,GAOMC,IAAkB;AAAA,EACtB,aAAaC,EAAE,OAAA;AAAA;AAAA;AAAA,EAGf,WAAWA,EAAE,WAAWC,GAAqBD,EAAE,SAAS;AAAA,EACxD,oBAAoBA,EAAE,WAAWC,GAAqBD,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA,EAKjE,QAAQA,EAAE;AAAA,IACRE,EAAU,CAAC;AAAA,IACXF,EAAE,SAAS,IAAI,GAAG,EAAE,SAASF,EAAwB,gBAAA,CAAiB;AAAA,EAAA;AAAA;AAAA;AAAA,EAIxE,aAAaE,EAAE;AAAA,IACbE,EAAU,CAAC;AAAA,IACXF,EAAE,SAAS,IAAI,GAAG,EAAE,SAASF,EAAwB,gBAAA,CAAiB;AAAA,EAAA;AAAA,EAExE,eAAeE,EAAE;AAAA,IACfE,EAAU,CAAC;AAAA,IACXF,EAAE,SAAS,IAAI,GAAG,EAAE,SAASF,EAAwB,gBAAA,CAAiB;AAAA,EAAA;AAAA;AAAA,EAGxE,iBAAiBE,EAAE,KAAKG,CAAe;AACzC,GAiBMC,IAAuB;AAAA,EAC3B,aAAa;AAAA,EACb,eAAe;AACjB;AAkBO,SAASC,EAA0BC,GAAqC;AAC7E,QAAM,EAAE,MAAAC,IAAO,UAAU,cAAAC,GAAc,yBAAAC,MAA4BH;AAEnE,SAAOI,EAAgBX,GAAiB;AAAA,IACtC,sBAAAK;AAAA,IACA,mBAAmBN,EAAwB;AAAA,IAC3C,MAAAS;AAAA,IACA,yBAAAE;AAAA,IACA,eAAeD,IAAe,CAAA,IAAK,CAAC,iBAAiB;AAAA,EAAA,CACtD;AACH;"}
@@ -1,4 +1,4 @@
1
- import { GarnishmentType } from '@gusto/embedded-api/models/components/garnishment';
1
+ import { GarnishmentType } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment';
2
2
  import { DeductionFormErrorCodes } from './deductionFormSchema';
3
3
  import { TextInputHookFieldProps } from '../../../../../partner-hook-utils/form/fields/TextInputHookField';
4
4
  import { NumberInputHookFieldProps } from '../../../../../partner-hook-utils/form/fields/NumberInputHookField';
@@ -10,16 +10,16 @@ export type NegativeAmountValidation = typeof DeductionFormErrorCodes.NEGATIVE_A
10
10
  export type AmountValidation = RequiredValidation | NegativeAmountValidation;
11
11
  export type CapValidation = NegativeAmountValidation;
12
12
  export type DescriptionFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>;
13
- export declare function DescriptionField(props: DescriptionFieldProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function DescriptionField(props: DescriptionFieldProps): import("react").JSX.Element;
14
14
  export type RecurringFieldProps = HookFieldProps<RadioGroupHookFieldProps<RequiredValidation, boolean>>;
15
- export declare function RecurringField(props: RecurringFieldProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function RecurringField(props: RecurringFieldProps): import("react").JSX.Element;
16
16
  export type DeductAsPercentageFieldProps = HookFieldProps<RadioGroupHookFieldProps<RequiredValidation, boolean>>;
17
- export declare function DeductAsPercentageField(props: DeductAsPercentageFieldProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function DeductAsPercentageField(props: DeductAsPercentageFieldProps): import("react").JSX.Element;
18
18
  export type AmountFieldProps = HookFieldProps<NumberInputHookFieldProps<AmountValidation>>;
19
- export declare function AmountField(props: AmountFieldProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function AmountField(props: AmountFieldProps): import("react").JSX.Element;
20
20
  export type TotalAmountFieldProps = HookFieldProps<NumberInputHookFieldProps<CapValidation>>;
21
- export declare function TotalAmountField(props: TotalAmountFieldProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function TotalAmountField(props: TotalAmountFieldProps): import("react").JSX.Element;
22
22
  export type AnnualMaximumFieldProps = HookFieldProps<NumberInputHookFieldProps<CapValidation>>;
23
- export declare function AnnualMaximumField(props: AnnualMaximumFieldProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function AnnualMaximumField(props: AnnualMaximumFieldProps): import("react").JSX.Element;
24
24
  export type GarnishmentTypeFieldProps = HookFieldProps<SelectHookFieldProps<RequiredValidation, GarnishmentType>>;
25
- export declare function GarnishmentTypeField(props: GarnishmentTypeFieldProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function GarnishmentTypeField(props: GarnishmentTypeFieldProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"fields.js","sources":["../../../../../../src/components/Employee/Deductions/shared/useDeductionForm/fields.tsx"],"sourcesContent":["import type { GarnishmentType } from '@gusto/embedded-api/models/components/garnishment'\nimport type { DeductionFormErrorCodes } from './deductionFormSchema'\nimport type { TextInputHookFieldProps } from '@/partner-hook-utils/form/fields/TextInputHookField'\nimport type { NumberInputHookFieldProps } from '@/partner-hook-utils/form/fields/NumberInputHookField'\nimport type { RadioGroupHookFieldProps } from '@/partner-hook-utils/form/fields/RadioGroupHookField'\nimport type { SelectHookFieldProps } from '@/partner-hook-utils/form/fields/SelectHookField'\nimport {\n TextInputHookField,\n NumberInputHookField,\n RadioGroupHookField,\n SelectHookField,\n} from '@/partner-hook-utils/form/fields'\nimport type { HookFieldProps } from '@/partner-hook-utils/types'\n\nexport type RequiredValidation = typeof DeductionFormErrorCodes.REQUIRED\nexport type NegativeAmountValidation = typeof DeductionFormErrorCodes.NEGATIVE_AMOUNT\n\nexport type AmountValidation = RequiredValidation | NegativeAmountValidation\nexport type CapValidation = NegativeAmountValidation\n\n// ── Description ────────────────────────────────────────────────────────\n\nexport type DescriptionFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>\n\nexport function DescriptionField(props: DescriptionFieldProps) {\n return <TextInputHookField {...props} name=\"description\" />\n}\n\n// ── Recurring (radio: boolean) ─────────────────────────────────────────\n\nexport type RecurringFieldProps = HookFieldProps<\n RadioGroupHookFieldProps<RequiredValidation, boolean>\n>\n\nexport function RecurringField(props: RecurringFieldProps) {\n return <RadioGroupHookField {...props} name=\"recurring\" />\n}\n\n// ── DeductAsPercentage (radio: boolean) ────────────────────────────────\n\nexport type DeductAsPercentageFieldProps = HookFieldProps<\n RadioGroupHookFieldProps<RequiredValidation, boolean>\n>\n\nexport function DeductAsPercentageField(props: DeductAsPercentageFieldProps) {\n return <RadioGroupHookField {...props} name=\"deductAsPercentage\" />\n}\n\n// ── Amount (currency or percent depending on deductAsPercentage) ───────\n\nexport type AmountFieldProps = HookFieldProps<NumberInputHookFieldProps<AmountValidation>>\n\nexport function AmountField(props: AmountFieldProps) {\n return <NumberInputHookField {...props} name=\"amount\" />\n}\n\n// ── TotalAmount (optional cap — only meaningful when recurring) ────────\n\nexport type TotalAmountFieldProps = HookFieldProps<NumberInputHookFieldProps<CapValidation>>\n\nexport function TotalAmountField(props: TotalAmountFieldProps) {\n return <NumberInputHookField {...props} name=\"totalAmount\" />\n}\n\n// ── AnnualMaximum (optional annual cap — only meaningful when recurring) ─\n\nexport type AnnualMaximumFieldProps = HookFieldProps<NumberInputHookFieldProps<CapValidation>>\n\nexport function AnnualMaximumField(props: AnnualMaximumFieldProps) {\n return <NumberInputHookField {...props} name=\"annualMaximum\" />\n}\n\n// ── GarnishmentType (court-ordered only) ───────────────────────────────\n\nexport type GarnishmentTypeFieldProps = HookFieldProps<\n SelectHookFieldProps<RequiredValidation, GarnishmentType>\n>\n\nexport function GarnishmentTypeField(props: GarnishmentTypeFieldProps) {\n return <SelectHookField {...props} name=\"garnishmentType\" />\n}\n"],"names":["DescriptionField","props","jsx","TextInputHookField","RecurringField","RadioGroupHookField","DeductAsPercentageField","AmountField","NumberInputHookField","TotalAmountField","AnnualMaximumField","GarnishmentTypeField","SelectHookField"],"mappings":";;;;;AAwBO,SAASA,EAAiBC,GAA8B;AAC7D,SAAO,gBAAAC,EAACC,GAAA,EAAoB,GAAGF,GAAO,MAAK,eAAc;AAC3D;AAQO,SAASG,EAAeH,GAA4B;AACzD,SAAO,gBAAAC,EAACG,GAAA,EAAqB,GAAGJ,GAAO,MAAK,aAAY;AAC1D;AAQO,SAASK,EAAwBL,GAAqC;AAC3E,SAAO,gBAAAC,EAACG,GAAA,EAAqB,GAAGJ,GAAO,MAAK,sBAAqB;AACnE;AAMO,SAASM,EAAYN,GAAyB;AACnD,SAAO,gBAAAC,EAACM,GAAA,EAAsB,GAAGP,GAAO,MAAK,UAAS;AACxD;AAMO,SAASQ,EAAiBR,GAA8B;AAC7D,SAAO,gBAAAC,EAACM,GAAA,EAAsB,GAAGP,GAAO,MAAK,eAAc;AAC7D;AAMO,SAASS,EAAmBT,GAAgC;AACjE,SAAO,gBAAAC,EAACM,GAAA,EAAsB,GAAGP,GAAO,MAAK,iBAAgB;AAC/D;AAQO,SAASU,EAAqBV,GAAkC;AACrE,SAAO,gBAAAC,EAACU,GAAA,EAAiB,GAAGX,GAAO,MAAK,mBAAkB;AAC5D;"}
1
+ {"version":3,"file":"fields.js","sources":["../../../../../../src/components/Employee/Deductions/shared/useDeductionForm/fields.tsx"],"sourcesContent":["import type { GarnishmentType } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment'\nimport type { DeductionFormErrorCodes } from './deductionFormSchema'\nimport type { TextInputHookFieldProps } from '@/partner-hook-utils/form/fields/TextInputHookField'\nimport type { NumberInputHookFieldProps } from '@/partner-hook-utils/form/fields/NumberInputHookField'\nimport type { RadioGroupHookFieldProps } from '@/partner-hook-utils/form/fields/RadioGroupHookField'\nimport type { SelectHookFieldProps } from '@/partner-hook-utils/form/fields/SelectHookField'\nimport {\n TextInputHookField,\n NumberInputHookField,\n RadioGroupHookField,\n SelectHookField,\n} from '@/partner-hook-utils/form/fields'\nimport type { HookFieldProps } from '@/partner-hook-utils/types'\n\nexport type RequiredValidation = typeof DeductionFormErrorCodes.REQUIRED\nexport type NegativeAmountValidation = typeof DeductionFormErrorCodes.NEGATIVE_AMOUNT\n\nexport type AmountValidation = RequiredValidation | NegativeAmountValidation\nexport type CapValidation = NegativeAmountValidation\n\n// ── Description ────────────────────────────────────────────────────────\n\nexport type DescriptionFieldProps = HookFieldProps<TextInputHookFieldProps<RequiredValidation>>\n\nexport function DescriptionField(props: DescriptionFieldProps) {\n return <TextInputHookField {...props} name=\"description\" />\n}\n\n// ── Recurring (radio: boolean) ─────────────────────────────────────────\n\nexport type RecurringFieldProps = HookFieldProps<\n RadioGroupHookFieldProps<RequiredValidation, boolean>\n>\n\nexport function RecurringField(props: RecurringFieldProps) {\n return <RadioGroupHookField {...props} name=\"recurring\" />\n}\n\n// ── DeductAsPercentage (radio: boolean) ────────────────────────────────\n\nexport type DeductAsPercentageFieldProps = HookFieldProps<\n RadioGroupHookFieldProps<RequiredValidation, boolean>\n>\n\nexport function DeductAsPercentageField(props: DeductAsPercentageFieldProps) {\n return <RadioGroupHookField {...props} name=\"deductAsPercentage\" />\n}\n\n// ── Amount (currency or percent depending on deductAsPercentage) ───────\n\nexport type AmountFieldProps = HookFieldProps<NumberInputHookFieldProps<AmountValidation>>\n\nexport function AmountField(props: AmountFieldProps) {\n return <NumberInputHookField {...props} name=\"amount\" />\n}\n\n// ── TotalAmount (optional cap — only meaningful when recurring) ────────\n\nexport type TotalAmountFieldProps = HookFieldProps<NumberInputHookFieldProps<CapValidation>>\n\nexport function TotalAmountField(props: TotalAmountFieldProps) {\n return <NumberInputHookField {...props} name=\"totalAmount\" />\n}\n\n// ── AnnualMaximum (optional annual cap — only meaningful when recurring) ─\n\nexport type AnnualMaximumFieldProps = HookFieldProps<NumberInputHookFieldProps<CapValidation>>\n\nexport function AnnualMaximumField(props: AnnualMaximumFieldProps) {\n return <NumberInputHookField {...props} name=\"annualMaximum\" />\n}\n\n// ── GarnishmentType (court-ordered only) ───────────────────────────────\n\nexport type GarnishmentTypeFieldProps = HookFieldProps<\n SelectHookFieldProps<RequiredValidation, GarnishmentType>\n>\n\nexport function GarnishmentTypeField(props: GarnishmentTypeFieldProps) {\n return <SelectHookField {...props} name=\"garnishmentType\" />\n}\n"],"names":["DescriptionField","props","jsx","TextInputHookField","RecurringField","RadioGroupHookField","DeductAsPercentageField","AmountField","NumberInputHookField","TotalAmountField","AnnualMaximumField","GarnishmentTypeField","SelectHookField"],"mappings":";;;;;AAwBO,SAASA,EAAiBC,GAA8B;AAC7D,SAAO,gBAAAC,EAACC,GAAA,EAAoB,GAAGF,GAAO,MAAK,eAAc;AAC3D;AAQO,SAASG,EAAeH,GAA4B;AACzD,SAAO,gBAAAC,EAACG,GAAA,EAAqB,GAAGJ,GAAO,MAAK,aAAY;AAC1D;AAQO,SAASK,EAAwBL,GAAqC;AAC3E,SAAO,gBAAAC,EAACG,GAAA,EAAqB,GAAGJ,GAAO,MAAK,sBAAqB;AACnE;AAMO,SAASM,EAAYN,GAAyB;AACnD,SAAO,gBAAAC,EAACM,GAAA,EAAsB,GAAGP,GAAO,MAAK,UAAS;AACxD;AAMO,SAASQ,EAAiBR,GAA8B;AAC7D,SAAO,gBAAAC,EAACM,GAAA,EAAsB,GAAGP,GAAO,MAAK,eAAc;AAC7D;AAMO,SAASS,EAAmBT,GAAgC;AACjE,SAAO,gBAAAC,EAACM,GAAA,EAAsB,GAAGP,GAAO,MAAK,iBAAgB;AAC/D;AAQO,SAASU,EAAqBV,GAAkC;AACrE,SAAO,gBAAAC,EAACU,GAAA,EAAiB,GAAGX,GAAO,MAAK,mBAAkB;AAC5D;"}
@@ -1,5 +1,5 @@
1
1
  import { UseFormProps } from 'react-hook-form';
2
- import { Garnishment } from '@gusto/embedded-api/models/components/garnishment';
2
+ import { Garnishment } from '@gusto/embedded-api-v-2025-11-15/models/components/garnishment';
3
3
  import { DeductionFormData, DeductionFormOptionalFieldsToRequire } from './deductionFormSchema';
4
4
  import { DescriptionField, RecurringField, DeductAsPercentageField, AmountField, TotalAmountField, AnnualMaximumField, GarnishmentTypeField } from './fields';
5
5
  import { BaseFormHookReady, FieldsMetadata, HookLoadingResult, HookSubmitResult } from '../../../../../partner-hook-utils/types';
@@ -1,19 +1,19 @@
1
1
  import { useMemo as g } from "react";
2
- import { useForm as B, useWatch as K } from "react-hook-form";
3
- import { zodResolver as Q } from "@hookform/resolvers/zod";
4
- import { useGarnishmentsCreateMutation as U } from "@gusto/embedded-api/react-query/garnishmentsCreate";
5
- import { useGarnishmentsUpdateMutation as W } from "@gusto/embedded-api/react-query/garnishmentsUpdate";
6
- import { useGarnishmentsList as Y } from "@gusto/embedded-api/react-query/garnishmentsList";
7
- import { createDeductionFormSchema as j } from "./deductionFormSchema.js";
8
- import { GarnishmentTypeField as J, AnnualMaximumField as X, TotalAmountField as Z, AmountField as $, DeductAsPercentageField as O, RecurringField as ee, DescriptionField as te } from "./fields.js";
9
- import { useDeriveFieldsMetadata as ne } from "../../../../../partner-hook-utils/form/useDeriveFieldsMetadata.js";
10
- import { useHookFormInternals as re } from "../../../../../partner-hook-utils/form/useHookFormInternals.js";
11
- import { createGetFormSubmissionValues as ie } from "../../../../../partner-hook-utils/form/getFormSubmissionValues.js";
2
+ import { useForm as K, useWatch as Q } from "react-hook-form";
3
+ import { zodResolver as U } from "@hookform/resolvers/zod";
4
+ import { useGarnishmentsCreateMutation as W } from "@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsCreate";
5
+ import { useGarnishmentsUpdateMutation as Y } from "@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsUpdate";
6
+ import { useGarnishmentsList as j } from "@gusto/embedded-api-v-2025-11-15/react-query/garnishmentsList";
7
+ import { createDeductionFormSchema as J } from "./deductionFormSchema.js";
8
+ import { GarnishmentTypeField as X, AnnualMaximumField as Z, TotalAmountField as $, AmountField as O, DeductAsPercentageField as ee, RecurringField as te, DescriptionField as ne } from "./fields.js";
9
+ import { useDeriveFieldsMetadata as re } from "../../../../../partner-hook-utils/form/useDeriveFieldsMetadata.js";
10
+ import { useHookFormInternals as ie } from "../../../../../partner-hook-utils/form/useHookFormInternals.js";
11
+ import { createGetFormSubmissionValues as ae } from "../../../../../partner-hook-utils/form/getFormSubmissionValues.js";
12
12
  import { withOptions as h } from "../../../../../partner-hook-utils/form/withOptions.js";
13
- import { composeErrorHandler as ae } from "../../../../../partner-hook-utils/composeErrorHandler.js";
14
- import { useBaseSubmit as oe } from "../../../../Base/useBaseSubmit.js";
15
- import { SDKInternalError as G } from "../../../../../types/sdkError.js";
16
- const _ = [
13
+ import { composeErrorHandler as oe } from "../../../../../partner-hook-utils/composeErrorHandler.js";
14
+ import { useBaseSubmit as se } from "../../../../Base/useBaseSubmit.js";
15
+ import { SDKInternalError as _ } from "../../../../../types/sdkError.js";
16
+ const L = [
17
17
  "federal_tax_lien",
18
18
  "state_tax_lien",
19
19
  "student_loan",
@@ -27,14 +27,14 @@ function Te({
27
27
  courtOrdered: n,
28
28
  optionalFieldsToRequire: f,
29
29
  defaultValues: i,
30
- validationMode: L = "onSubmit",
31
- shouldFocusError: E = !0
30
+ validationMode: E = "onSubmit",
31
+ shouldFocusError: R = !0
32
32
  }) {
33
- const r = !s, p = r ? "create" : "update", c = se({
33
+ const r = !s, p = r ? "create" : "update", c = ue({
34
34
  employeeId: m,
35
35
  enabled: !r
36
- }), e = g(() => r ? null : c.data?.find((o) => o.uuid === s) ?? null, [r, s, c.data]), [A, R] = g(
37
- () => j({
36
+ }), e = g(() => r ? null : c.data?.find((o) => o.uuid === s) ?? null, [r, s, c.data]), [A, y] = g(
37
+ () => J({
38
38
  mode: p,
39
39
  courtOrdered: n,
40
40
  optionalFieldsToRequire: f
@@ -55,18 +55,18 @@ function Te({
55
55
  "federal_tax_lien"
56
56
  }),
57
57
  [e, i]
58
- ), u = B({
59
- resolver: Q(A),
60
- mode: L,
61
- shouldFocusError: E,
58
+ ), u = K({
59
+ resolver: U(A),
60
+ mode: E,
61
+ shouldFocusError: R,
62
62
  defaultValues: M,
63
63
  values: M,
64
64
  resetOptions: { keepDirtyValues: !0 }
65
- }), l = K({ control: u.control, name: "recurring" }), b = U(), v = W(), y = b.isPending || v.isPending, {
66
- baseSubmitHandler: D,
67
- error: q,
68
- setError: H
69
- } = oe("DeductionForm"), F = ae(r ? [] : [c], { submitError: q, setSubmitError: H }), N = _.map((o) => ({ value: o, label: o })), a = ne(R, u.control), V = {
65
+ }), b = Q({ control: u.control, name: "recurring" }), l = b === !0 || b === "true", v = W(), F = Y(), D = v.isPending || F.isPending, {
66
+ baseSubmitHandler: q,
67
+ error: H,
68
+ setError: N
69
+ } = se("DeductionForm"), S = oe(r ? [] : [c], { submitError: H, setSubmitError: N }), V = L.map((o) => ({ value: o, label: o })), a = re(y, u.control), k = {
70
70
  description: a.description,
71
71
  recurring: h(
72
72
  a.recurring,
@@ -87,17 +87,17 @@ function Te({
87
87
  amount: a.amount,
88
88
  totalAmount: a.totalAmount,
89
89
  annualMaximum: a.annualMaximum,
90
- garnishmentType: n ? h(a.garnishmentType, N, _) : a.garnishmentType
91
- }, k = async () => {
90
+ garnishmentType: n ? h(a.garnishmentType, V, L) : a.garnishmentType
91
+ }, C = async () => {
92
92
  let o;
93
- return await new Promise((S) => {
93
+ return await new Promise((x) => {
94
94
  u.handleSubmit(
95
- async (I) => {
96
- await D(I, async (t) => {
97
- const x = t.recurring ? null : 1, P = String(t.amount), T = t.totalAmount > 0 ? String(t.totalAmount) : void 0, w = t.annualMaximum > 0 ? String(t.annualMaximum) : void 0;
95
+ async (z) => {
96
+ await q(z, async (t) => {
97
+ const P = t.recurring ? null : 1, T = String(t.amount), w = t.totalAmount > 0 ? String(t.totalAmount) : void 0, G = t.annualMaximum > 0 ? String(t.annualMaximum) : void 0;
98
98
  let d;
99
99
  if (r)
100
- d = (await b.mutateAsync({
100
+ d = (await v.mutateAsync({
101
101
  request: {
102
102
  employeeId: m,
103
103
  garnishmentRequest: {
@@ -105,21 +105,21 @@ function Te({
105
105
  description: t.description,
106
106
  recurring: t.recurring,
107
107
  deductAsPercentage: t.deductAsPercentage,
108
- amount: P,
109
- totalAmount: T,
110
- annualMaximum: w,
108
+ amount: T,
109
+ totalAmount: w,
110
+ annualMaximum: G,
111
111
  courtOrdered: n,
112
112
  garnishmentType: n ? t.garnishmentType : void 0,
113
- times: x
113
+ times: P
114
114
  }
115
115
  }
116
116
  })).garnishment;
117
117
  else {
118
118
  if (!e)
119
- throw new G(
119
+ throw new _(
120
120
  "Cannot update deduction: no matching garnishment on file"
121
121
  );
122
- d = (await v.mutateAsync({
122
+ d = (await F.mutateAsync({
123
123
  request: {
124
124
  garnishmentId: e.uuid,
125
125
  updateGarnishmentRequest: {
@@ -128,68 +128,68 @@ function Te({
128
128
  description: t.description,
129
129
  recurring: t.recurring,
130
130
  deductAsPercentage: t.deductAsPercentage,
131
- amount: P,
132
- totalAmount: T,
133
- annualMaximum: w,
131
+ amount: T,
132
+ totalAmount: w,
133
+ annualMaximum: G,
134
134
  courtOrdered: n,
135
135
  // The API rejects garnishment_type changes on update — only
136
136
  // include when court-ordered AND when matching the loaded
137
137
  // row's type (no-op pass-through).
138
138
  garnishmentType: n ? t.garnishmentType : void 0,
139
- times: x
139
+ times: P
140
140
  }
141
141
  }
142
142
  })).garnishment;
143
143
  }
144
144
  if (!d)
145
- throw new G(
145
+ throw new _(
146
146
  r ? "Deduction creation failed" : "Deduction update failed"
147
147
  );
148
148
  o = {
149
149
  mode: r ? "create" : "update",
150
150
  data: d
151
151
  };
152
- }), S();
152
+ }), x();
153
153
  },
154
154
  () => {
155
- S();
155
+ x();
156
156
  }
157
157
  )();
158
158
  }), o;
159
- }, C = re(u);
160
- return !r && c.isLoading ? { isLoading: !0, errorHandling: F } : {
159
+ }, I = ie(u);
160
+ return !r && c.isLoading ? { isLoading: !0, errorHandling: S } : {
161
161
  isLoading: !1,
162
162
  data: {
163
163
  deduction: e
164
164
  },
165
165
  status: {
166
- isPending: y,
166
+ isPending: D,
167
167
  mode: r ? "create" : "update",
168
168
  isRecurring: l
169
169
  },
170
- actions: { onSubmit: k },
171
- errorHandling: F,
170
+ actions: { onSubmit: C },
171
+ errorHandling: S,
172
172
  form: {
173
173
  Fields: {
174
- Description: te,
175
- Recurring: ee,
176
- DeductAsPercentage: O,
177
- Amount: $,
178
- TotalAmount: l ? Z : void 0,
179
- AnnualMaximum: l ? X : void 0,
180
- GarnishmentType: n ? J : void 0
174
+ Description: ne,
175
+ Recurring: te,
176
+ DeductAsPercentage: ee,
177
+ Amount: O,
178
+ TotalAmount: l ? $ : void 0,
179
+ AnnualMaximum: l ? Z : void 0,
180
+ GarnishmentType: n ? X : void 0
181
181
  },
182
- fieldsMetadata: V,
183
- hookFormInternals: C,
184
- getFormSubmissionValues: ie(u, A)
182
+ fieldsMetadata: k,
183
+ hookFormInternals: I,
184
+ getFormSubmissionValues: ae(u, A)
185
185
  }
186
186
  };
187
187
  }
188
- function se({
188
+ function ue({
189
189
  employeeId: m,
190
190
  enabled: s
191
191
  }) {
192
- const n = Y({ employeeId: m }, { enabled: s });
192
+ const n = j({ employeeId: m }, { enabled: s });
193
193
  return {
194
194
  data: n.data?.garnishments,
195
195
  isLoading: n.isLoading,